eslint-import-resolver-node
Advanced tools
Comparing version 0.3.8 to 0.3.9
@@ -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", |
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
5293