Searched refs:builtinModules (Results 1 – 22 of 22) sorted by relevance
4 const { builtinModules } = require('module');7 assert(builtinModules.includes('http'));8 assert(builtinModules.includes('sys'));12 builtinModules.filter((mod) => mod.startsWith('internal/')),
98 new Set(require('module').builtinModules)107 const { builtinModules } = require('module');110 const message = { allBuiltins: builtinModules };
26 const { builtinModules } = require('module');62 builtinModules.forEach((mod) => {66 builtinModules.forEach((mod) => {
7 const { builtinModules } = require('module');8 const publicModules = builtinModules.filter((lib) => !lib.startsWith('_'));41 assert(!builtinModules.includes(newModule));42 repl.builtinModules.push(newModule);
30 const { builtinModules } = require('module');33 builtinModules.forEach((moduleName) => {
33 const { builtinModules } = require('module');34 const publicModules = builtinModules.filter((lib) => !lib.startsWith('_'));283 assert(!builtinModules.includes(newModule));284 repl.builtinModules.push(newModule);
4 import { builtinModules } from 'module';12 if (builtinModules.includes(specifier)) {32 if (url.startsWith('node:') && builtinModules.includes(url.slice(5))) {
4 const { builtinModules } = require('module');11 const otherModules = builtinModules.filter((name) => !/\/|^_|^sys/.test(name));
162 const { builtinModules } = Module;169 ArrayPrototypeForEach(builtinModules, (name) => {
246 const builtinModules = []; variable250 ArrayPrototypePush(builtinModules, id);255 ArrayPrototypeFlatMap(builtinModules, (bm) => [bm, `node:${bm}`]),259 ObjectFreeze(builtinModules);260 Module.builtinModules = builtinModules;
17 ### `module.builtinModules`37 import { builtinModules as builtin } from 'node:module';43 const builtin = require('node:module').builtinModules;
340 as [`module.builtinModules`][].1064 …"modules_module_builtinmodules" href="module.html#modulebuiltinmodules">`module.builtinModules`</a>1092 [`module.builtinModules`]: module.md#modulebuiltinmodules
570 ## `repl.builtinModules`
2756 upon `require('node:module').builtinModules`.
75 var libs = require('module').builtinModules;
128 CJSModule.builtinModules,
1216 …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…
1268 * 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) …
1716 …ommit/40b762177f)] - **doc**: add missing 'added' versions to module.builtinModules (Thomas Watson…
620 …* 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…
3525 …](https://github.com/nodejs/node/commit/011fe1d443)] - **repl**: add builtinModules (Ruben Bridgew…
3720 …ommit/42cb92f116)] - **doc**: add missing 'added' versions to module.builtinModules (Thomas Watson…