Socket
Socket
Sign inDemoInstall

load-from-cwd-or-npm

Package Overview
Dependencies
14
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.1.0

5

index.js

@@ -86,2 +86,7 @@ /*!

err.code = 'MODULE_NOT_FOUND';
err.id = moduleId;
err.triedPaths = {
cwd,
npm: npmCliDirPath
};

@@ -88,0 +93,0 @@ return Promise.reject(err);

4

package.json
{
"name": "load-from-cwd-or-npm",
"version": "2.0.1",
"version": "2.1.0",
"description": "Load a module from either CWD or npm CLI directory",

@@ -40,3 +40,3 @@ "repository": "shinnn/load-from-cwd-or-npm",

"eslint": "^3.19.0",
"nyc": "^11.0.1",
"nyc": "^11.0.2",
"osenv": "0.0.2",

@@ -43,0 +43,0 @@ "request": "*",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc