home
This commit is contained in:
parent
a71a3b5593
commit
cb52890889
16657 changed files with 1483086 additions and 1 deletions
11
home/ags/node_modules/builtin-modules/index.js
generated
vendored
Normal file
11
home/ags/node_modules/builtin-modules/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
const {builtinModules} = require('module');
|
||||
|
||||
const ignoreList = [
|
||||
'sys'
|
||||
];
|
||||
|
||||
// eslint-disable-next-line node/no-deprecated-api
|
||||
module.exports = (builtinModules || (process.binding ? Object.keys(process.binding('natives')) : []) || [])
|
||||
.filter(x => !/^_|^(internal|v8|node-inspect)\/|\//.test(x) && !ignoreList.includes(x))
|
||||
.sort();
|
||||
Loading…
Add table
Add a link
Reference in a new issue