aboutsummaryrefslogtreecommitdiff
path: root/node_modules/resolve-dependencies/lib/node-builtins.js
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-08-24 14:41:48 +0200
committerMinteck <nekostarfan@gmail.com>2021-08-24 14:41:48 +0200
commitd25e11bee6ca5ca523884da132d18e1400e077b9 (patch)
tree8af39fde19f7ed640a60fb397c7edd647dff1c4c /node_modules/resolve-dependencies/lib/node-builtins.js
downloadkartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.tar.gz
kartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.tar.bz2
kartik-iridium-d25e11bee6ca5ca523884da132d18e1400e077b9.zip
Initial commit
Diffstat (limited to 'node_modules/resolve-dependencies/lib/node-builtins.js')
-rw-r--r--node_modules/resolve-dependencies/lib/node-builtins.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/resolve-dependencies/lib/node-builtins.js b/node_modules/resolve-dependencies/lib/node-builtins.js
new file mode 100644
index 0000000..756d0bb
--- /dev/null
+++ b/node_modules/resolve-dependencies/lib/node-builtins.js
@@ -0,0 +1,8 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+const builtins = require('module').builtinModules ||
+ Object.keys(process.binding('natives'))
+ .filter((x) => !/^_|^internal|\//.test(x))
+ .sort();
+exports.default = builtins;
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS1idWlsdGlucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9ub2RlLWJ1aWx0aW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsTUFBTSxRQUFRLEdBQ1osT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDLGNBQWM7SUFDaEMsTUFBTSxDQUFDLElBQUksQ0FBRSxPQUFlLENBQUMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDO1NBQzdDLE1BQU0sQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxpQkFBaUIsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUM7U0FDekMsSUFBSSxFQUFFLENBQUE7QUFFWCxrQkFBZSxRQUFRLENBQUEifQ== \ No newline at end of file