module-lens
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -7,3 +7,3 @@ "use strict"; | ||
const _utils_1 = require("./@utils"); | ||
const BUILT_IN_MODULE_NAME_SET = new Set(module_1.default.builtinModules); | ||
const BUILT_IN_MODULE_NAME_SET = new Set(module_1.default.builtinModules || Object.keys(process.binding('natives'))); | ||
function resolveWithCategory(specifier, { sourceFileName, baseUrlDir, extensions = ['.js', '.jsx', '.ts', '.tsx'], }) { | ||
@@ -10,0 +10,0 @@ if (isNodeBuiltIn(specifier)) { |
{ | ||
"name": "module-lens", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Simple module specifier utilities.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10352