mirror of
https://github.com/nodejs/node.git
synced 2025-04-29 06:19:07 +00:00

PR-URL: https://github.com/nodejs/node/pull/55282 Fixes: https://github.com/nodejs/node/issues/54300 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
24 lines
821 B
JavaScript
24 lines
821 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 { stripTypeScriptTypes } = require('internal/modules/typescript');
|
|
|
|
Module.findSourceMap = findSourceMap;
|
|
Module.register = register;
|
|
Module.SourceMap = SourceMap;
|
|
Module.constants = constants;
|
|
Module.enableCompileCache = enableCompileCache;
|
|
Module.flushCompileCache = flushCompileCache;
|
|
Module.stripTypeScriptTypes = stripTypeScriptTypes;
|
|
Module.getCompileCacheDir = getCompileCacheDir;
|
|
module.exports = Module;
|