2018-03-14 05:51:53 +01:00
|
|
|
'use strict';
|
|
|
|
|
2020-01-05 04:17:42 +01:00
|
|
|
const { findSourceMap } = require('internal/source_map/source_map_cache');
|
|
|
|
const { Module } = require('internal/modules/cjs/loader');
|
2023-06-12 02:00:46 +02:00
|
|
|
const { register } = require('internal/modules/esm/loader');
|
2020-01-05 04:17:42 +01:00
|
|
|
const { SourceMap } = require('internal/source_map/source_map');
|
2024-08-29 01:22:57 +02:00
|
|
|
const {
|
|
|
|
constants,
|
|
|
|
enableCompileCache,
|
2024-09-04 20:18:12 +02:00
|
|
|
flushCompileCache,
|
2024-08-29 01:22:57 +02:00
|
|
|
getCompileCacheDir,
|
|
|
|
} = require('internal/modules/helpers');
|
2024-10-25 22:40:54 +02:00
|
|
|
const {
|
|
|
|
findPackageJSON,
|
|
|
|
} = require('internal/modules/package_json_reader');
|
2024-10-24 20:27:58 +02:00
|
|
|
const { stripTypeScriptTypes } = require('internal/modules/typescript');
|
2020-01-05 04:17:42 +01:00
|
|
|
|
|
|
|
Module.findSourceMap = findSourceMap;
|
2023-06-12 02:00:46 +02:00
|
|
|
Module.register = register;
|
2020-01-05 04:17:42 +01:00
|
|
|
Module.SourceMap = SourceMap;
|
2024-08-29 01:22:57 +02:00
|
|
|
Module.constants = constants;
|
|
|
|
Module.enableCompileCache = enableCompileCache;
|
2024-10-25 22:40:54 +02:00
|
|
|
Module.findPackageJSON = findPackageJSON;
|
2024-09-04 20:18:12 +02:00
|
|
|
Module.flushCompileCache = flushCompileCache;
|
2024-08-29 01:22:57 +02:00
|
|
|
Module.getCompileCacheDir = getCompileCacheDir;
|
2024-10-25 22:40:54 +02:00
|
|
|
Module.stripTypeScriptTypes = stripTypeScriptTypes;
|
|
|
|
|
2020-01-05 04:17:42 +01:00
|
|
|
module.exports = Module;
|