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 };
7 const { builtinModules } = require('module');8 const publicModules = builtinModules.filter(43 assert(!builtinModules.includes(newModule));44 repl.builtinModules.push(newModule);
30 const { builtinModules } = require('module');33 builtinModules.forEach((moduleName) => {
26 const { builtinModules } = require('module');62 builtinModules.forEach((mod) => {
33 const { builtinModules } = require('module');34 const publicModules = builtinModules.filter(253 assert(!builtinModules.includes(newModule));254 repl.builtinModules.push(newModule);
4 import { builtinModules } from 'module';12 if (builtinModules.includes(specifier)) {30 if (url.startsWith('node:') && builtinModules.includes(url.slice(5))) {
4 const { builtinModules } = require('module');11 const otherModules = builtinModules.filter((name) => !/\/|^_|^sys/.test(name));
143 const { builtinModules } = require('internal/modules/cjs/loader').Module;144 ArrayPrototypeForEach(builtinModules, (name) => {
174 const builtinModules = []; variable177 ArrayPrototypePush(builtinModules, id);181 ObjectFreeze(builtinModules);182 Module.builtinModules = builtinModules;
16 ### `module.builtinModules`35 import { builtinModules as builtin } from 'module';41 const builtin = require('module').builtinModules;
557 ## `repl.builtinModules`
991 …_module_builtinmodules" href="module.html#module_module_builtinmodules">`module.builtinModules`</a>
2570 `require('module').builtinModules`.
56 var libs = require('module').builtinModules;
127 CJSModule.builtinModules,
1192 …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…
1250 * 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) …
1343 …ommit/40b762177f)] - **doc**: add missing 'added' versions to module.builtinModules (Thomas Watson…
606 …* 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…
1307 …ommit/42cb92f116)] - **doc**: add missing 'added' versions to module.builtinModules (Thomas Watson…
3600 * [[`011fe1d443`](https://github.com/nodejs/node/commit/011fe1d443)] - **repl**: add builtinModules…