eslint-import-resolver-node
Advanced tools
Comparing version 0.3.6 to 0.3.7
'use strict'; | ||
const resolve = require('resolve'); | ||
const isCoreModule = require('is-core-module'); | ||
const path = require('path'); | ||
@@ -14,3 +15,3 @@ | ||
if (resolve.isCore(source)) { | ||
if (isCoreModule(source)) { | ||
log('resolved to core'); | ||
@@ -17,0 +18,0 @@ return { found: true, path: null }; |
{ | ||
"name": "eslint-import-resolver-node", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "Node default behavior import resolution plugin for eslint-plugin-import.", | ||
@@ -12,4 +12,3 @@ "main": "index.js", | ||
"tests-only": "nyc mocha", | ||
"test": "npm run tests-only", | ||
"coveralls": "nyc report --reporter lcovonly && cd ../.. && coveralls < ./resolvers/node/coverage/lcov.info" | ||
"test": "npm run tests-only" | ||
}, | ||
@@ -35,7 +34,7 @@ "repository": { | ||
"debug": "^3.2.7", | ||
"resolve": "^1.20.0" | ||
"is-core-module": "^2.11.0", | ||
"resolve": "^1.22.1" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"coveralls": "^3.1.0", | ||
"mocha": "^3.5.3", | ||
@@ -42,0 +41,0 @@ "nyc": "^11.9.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
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
3
60
5311
3
+ Addedis-core-module@^2.11.0
Updatedresolve@^1.22.1