Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extensionless

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extensionless - npm Package Compare versions

Comparing version 1.4.5 to 1.5.0

src/register.js

9

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc