Socket
Socket
Sign inDemoInstall

eslint-import-resolver-node

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-import-resolver-node - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

6

index.js

@@ -32,10 +32,10 @@ 'use strict';

function opts(file, config, packageFilter) {
return { // more closely matches Node (#333)
return Object.assign({ // more closely matches Node (#333)
// plus 'mjs' for native modules! (#939)
extensions: ['.mjs', '.js', '.json', '.node'],
...config,
}, config, {
// path.resolve will handle paths relative to CWD
basedir: path.dirname(path.resolve(file)),
packageFilter,
};
});
}

@@ -42,0 +42,0 @@

{
"name": "eslint-import-resolver-node",
"version": "0.3.8",
"version": "0.3.9",
"description": "Node default behavior import resolution plugin for eslint-plugin-import.",

@@ -5,0 +5,0 @@ "main": "index.js",

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