2018-03-14 12:51:53 +08:00
|
|
|
'use strict';
|
|
|
|
|
2020-01-04 19:17:42 -08:00
|
|
|
const { findSourceMap } = require('internal/source_map/source_map_cache');
|
|
|
|
const { Module } = require('internal/modules/cjs/loader');
|
2023-06-11 21:00:46 -03:00
|
|
|
const { register } = require('internal/modules/esm/loader');
|
2020-01-04 19:17:42 -08: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');
|
2020-01-04 19:17:42 -08:00
|
|
|
|
|
|
|
Module.findSourceMap = findSourceMap;
|
2023-06-11 21:00:46 -03:00
|
|
|
Module.register = register;
|
2020-01-04 19:17:42 -08:00
|
|
|
Module.SourceMap = SourceMap;
|
2024-08-29 01:22:57 +02:00
|
|
|
Module.constants = constants;
|
|
|
|
Module.enableCompileCache = enableCompileCache;
|
2024-09-04 20:18:12 +02:00
|
|
|
Module.flushCompileCache = flushCompileCache;
|
|
|
|
|
2024-08-29 01:22:57 +02:00
|
|
|
Module.getCompileCacheDir = getCompileCacheDir;
|
2020-01-04 19:17:42 -08:00
|
|
|
module.exports = Module;
|