Home
last modified time | relevance | path

Searched refs:builtinModules (Results 1 – 22 of 22) sorted by relevance

/third_party/node/test/parallel/
Dtest-module-builtin.js4 const { builtinModules } = require('module');
7 assert(builtinModules.includes('http'));
8 assert(builtinModules.includes('sys'));
12 builtinModules.filter((mod) => mod.startsWith('internal/')),
Dtest-internal-module-require.js98 new Set(require('module').builtinModules)
107 const { builtinModules } = require('module');
110 const message = { allBuiltins: builtinModules };
Dtest-repl-tab-complete-import.js7 const { builtinModules } = require('module');
8 const publicModules = builtinModules.filter(
43 assert(!builtinModules.includes(newModule));
44 repl.builtinModules.push(newModule);
Dtest-global.js30 const { builtinModules } = require('module');
33 builtinModules.forEach((moduleName) => {
Dtest-require-resolve.js26 const { builtinModules } = require('module');
62 builtinModules.forEach((mod) => {
Dtest-repl-tab-complete.js33 const { builtinModules } = require('module');
34 const publicModules = builtinModules.filter(
253 assert(!builtinModules.includes(newModule));
254 repl.builtinModules.push(newModule);
/third_party/node/test/fixtures/es-module-loaders/
Dexample-loader.mjs4 import { builtinModules } from 'module';
12 if (builtinModules.includes(specifier)) {
30 if (url.startsWith('node:') && builtinModules.includes(url.slice(5))) {
/third_party/node/benchmark/module/
Dmodule-loader.js4 const { builtinModules } = require('module');
11 const otherModules = builtinModules.filter((name) => !/\/|^_|^sys/.test(name));
/third_party/node/lib/internal/modules/cjs/
Dhelpers.js143 const { builtinModules } = require('internal/modules/cjs/loader').Module;
144 ArrayPrototypeForEach(builtinModules, (name) => {
Dloader.js174 const builtinModules = []; variable
177 ArrayPrototypePush(builtinModules, id);
181 ObjectFreeze(builtinModules);
182 Module.builtinModules = builtinModules;
/third_party/node/doc/api/
Dmodule.md16 ### `module.builtinModules`
35 import { builtinModules as builtin } from 'module';
41 const builtin = require('module').builtinModules;
Drepl.md557 ## `repl.builtinModules`
Dmodules.md991 …_module_builtinmodules" href="module.html#module_module_builtinmodules">`module.builtinModules`</a>
Ddeprecations.md2570 `require('module').builtinModules`.
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/
Dcore.js56 var libs = require('module').builtinModules;
/third_party/node/lib/
Drepl.js127 CJSModule.builtinModules,
/third_party/node/doc/changelogs/
DCHANGELOG_V9.md1192 …github.com/nodejs/node/commit/cb127de634)] - **doc**: improve module.builtinModules text (Rich Tro…
1202 …github.com/nodejs/node/commit/c328e580d1)] - **doc**: improve module.builtinModules documentation …
1390 …* module.builtinModules will return a list of built in modules (Jon Moss) [#16386](https://github.…
1455 …s/node/commit/b015747156)] - **doc**: esm loader example with module.builtinModules (Guy Bedford) …
1559 …nodejs/node/commit/7ae7124039)] - **(SEMVER-MINOR)** **module**: add builtinModules (Jon Moss) [#1…
DCHANGELOG_V8.md1250 * add builtinModules (Jon Moss) [#16386](https://github.com/nodejs/node/pull/16386)
1433 …nodejs/node/commit/c5093fceb5)] - **(SEMVER-MINOR)** **module**: add builtinModules (Jon Moss) [#1…
1585 …s/node/commit/f36ba1adca)] - **doc**: esm loader example with module.builtinModules (Guy Bedford) …
DCHANGELOG_V13.md1343 …ommit/40b762177f)] - **doc**: add missing 'added' versions to module.builtinModules (Thomas Watson…
DCHANGELOG_V6.md606 …* add builtinModules api that provides list of all builtin modules in Node (Jon Moss) [#16386](htt…
673 …nodejs/node/commit/cdf4a9c394)] - **(SEMVER-MINOR)** **module**: add builtinModules (Jon Moss) [#1…
DCHANGELOG_V12.md1307 …ommit/42cb92f116)] - **doc**: add missing 'added' versions to module.builtinModules (Thomas Watson…
DCHANGELOG_V14.md3600 * [[`011fe1d443`](https://github.com/nodejs/node/commit/011fe1d443)] - **repl**: add builtinModules