mirror of
https://github.com/nodejs/node.git
synced 2024-11-27 22:16:50 +01:00
e312d60e3f
PR-URL: https://github.com/nodejs/node/pull/55412 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
29 lines
944 B
JavaScript
29 lines
944 B
JavaScript
'use strict';
|
|
|
|
const { findSourceMap } = require('internal/source_map/source_map_cache');
|
|
const { Module } = require('internal/modules/cjs/loader');
|
|
const { register } = require('internal/modules/esm/loader');
|
|
const { SourceMap } = require('internal/source_map/source_map');
|
|
const {
|
|
constants,
|
|
enableCompileCache,
|
|
flushCompileCache,
|
|
getCompileCacheDir,
|
|
} = require('internal/modules/helpers');
|
|
const {
|
|
findPackageJSON,
|
|
} = require('internal/modules/package_json_reader');
|
|
const { stripTypeScriptTypes } = require('internal/modules/typescript');
|
|
|
|
Module.findSourceMap = findSourceMap;
|
|
Module.register = register;
|
|
Module.SourceMap = SourceMap;
|
|
Module.constants = constants;
|
|
Module.enableCompileCache = enableCompileCache;
|
|
Module.findPackageJSON = findPackageJSON;
|
|
Module.flushCompileCache = flushCompileCache;
|
|
Module.getCompileCacheDir = getCompileCacheDir;
|
|
Module.stripTypeScriptTypes = stripTypeScriptTypes;
|
|
|
|
module.exports = Module;
|