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-require-resolve.js26 const { builtinModules } = require('module');
62 builtinModules.forEach((mod) => {
66 builtinModules.forEach((mod) => {
Dtest-repl-tab-complete-import.js7 const { builtinModules } = require('module');
8 const publicModules = builtinModules.filter((lib) => !lib.startsWith('_'));
41 assert(!builtinModules.includes(newModule));
42 repl.builtinModules.push(newModule);
Dtest-global.js30 const { builtinModules } = require('module');
33 builtinModules.forEach((moduleName) => {
Dtest-repl-tab-complete.js33 const { builtinModules } = require('module');
34 const publicModules = builtinModules.filter((lib) => !lib.startsWith('_'));
283 assert(!builtinModules.includes(newModule));
284 repl.builtinModules.push(newModule);
/third_party/node/test/fixtures/es-module-loaders/
Dexample-loader.mjs4 import { builtinModules } from 'module';
12 if (builtinModules.includes(specifier)) {
32 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.js162 const { builtinModules } = Module;
169 ArrayPrototypeForEach(builtinModules, (name) => {
Dloader.js246 const builtinModules = []; variable
250 ArrayPrototypePush(builtinModules, id);
255 ArrayPrototypeFlatMap(builtinModules, (bm) => [bm, `node:${bm}`]),
259 ObjectFreeze(builtinModules);
260 Module.builtinModules = builtinModules;
/third_party/node/doc/api/
Dmodule.md17 ### `module.builtinModules`
37 import { builtinModules as builtin } from 'node:module';
43 const builtin = require('node:module').builtinModules;
Dmodules.md340 as [`module.builtinModules`][].
1064 …"modules_module_builtinmodules" href="module.html#modulebuiltinmodules">`module.builtinModules`</a>
1092 [`module.builtinModules`]: module.md#modulebuiltinmodules
Drepl.md570 ## `repl.builtinModules`
Ddeprecations.md2756 upon `require('node:module').builtinModules`.
/third_party/node/deps/npm/node_modules/is-core-module/test/
Dindex.js75 var libs = require('module').builtinModules;
/third_party/node/lib/
Drepl.js128 CJSModule.builtinModules,
/third_party/node/doc/changelogs/
DCHANGELOG_V9.md1216 …github.com/nodejs/node/commit/cb127de634)] - **doc**: improve module.builtinModules text (Rich Tro…
1226 …github.com/nodejs/node/commit/c328e580d1)] - **doc**: improve module.builtinModules documentation …
1415 …* module.builtinModules will return a list of built in modules (Jon Moss) [#16386](https://github.…
1480 …s/node/commit/b015747156)] - **doc**: esm loader example with module.builtinModules (Guy Bedford) …
1584 …nodejs/node/commit/7ae7124039)] - **(SEMVER-MINOR)** **module**: add builtinModules (Jon Moss) [#1…
DCHANGELOG_V8.md1268 * add builtinModules (Jon Moss) [#16386](https://github.com/nodejs/node/pull/16386)
1451 …nodejs/node/commit/c5093fceb5)] - **(SEMVER-MINOR)** **module**: add builtinModules (Jon Moss) [#1…
1604 …s/node/commit/f36ba1adca)] - **doc**: esm loader example with module.builtinModules (Guy Bedford) …
DCHANGELOG_V13.md1716 …ommit/40b762177f)] - **doc**: add missing 'added' versions to module.builtinModules (Thomas Watson…
DCHANGELOG_V6.md620 …* add builtinModules api that provides list of all builtin modules in Node (Jon Moss) [#16386](htt…
687 …nodejs/node/commit/cdf4a9c394)] - **(SEMVER-MINOR)** **module**: add builtinModules (Jon Moss) [#1…
DCHANGELOG_V14.md3525 …](https://github.com/nodejs/node/commit/011fe1d443)] - **repl**: add builtinModules (Ruben Bridgew…
DCHANGELOG_V12.md3720 …ommit/42cb92f116)] - **doc**: add missing 'added' versions to module.builtinModules (Thomas Watson…