extensionless
Advanced tools
Comparing version 1.4.5 to 1.5.0
{ | ||
"name": "extensionless", | ||
"version": "1.4.5", | ||
"version": "1.5.0", | ||
"type": "module", | ||
"main": "src/index.js", | ||
"exports": { | ||
".": "./src/index.js", | ||
"./register": "./src/register.js" | ||
}, | ||
"license": "MIT", | ||
@@ -20,4 +23,4 @@ "description": "Node.js loader for import specifiers as file paths without extensions or as directory paths", | ||
"scripts": { | ||
"test": "node --experimental-loader=./src/index.js test" | ||
"test": "cd test; node --import=../src/register.js ." | ||
} | ||
} |
@@ -13,3 +13,3 @@ Node.js loader for import specifiers as file paths without extensions or as directory paths | ||
Start `node` with the following flag added: | ||
Start `node` with one of the following flags added. If you're running on a version of node older than `20.7.0`, use: | ||
@@ -20,2 +20,8 @@ ``` | ||
or else, use the newer one instead: | ||
``` | ||
--import=extensionless/register | ||
``` | ||
| ||
@@ -22,0 +28,0 @@ |
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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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
6058
6
49
102
2