refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
11
home/ags/node_modules/builtin-modules/index.js
generated
vendored
11
home/ags/node_modules/builtin-modules/index.js
generated
vendored
|
|
@ -1,11 +0,0 @@
|
|||
'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