@rollup/plugin-node-resolve
Advanced tools
Comparing version 8.0.0 to 8.0.1
# @rollup/plugin-node-resolve ChangeLog | ||
## v8.0.1 | ||
_2020-06-05_ | ||
### Bugfixes | ||
- fix: handle nested entry modules with the resolveOnly option (#430) | ||
## v8.0.0 | ||
@@ -4,0 +12,0 @@ |
@@ -341,3 +341,3 @@ import { dirname, resolve, extname, normalize, sep } from 'path'; | ||
return input; | ||
return [input]; | ||
} // Resolve module specifiers in order. Promise resolves to the first module that resolves | ||
@@ -497,6 +497,4 @@ // successfully, or the error that resulted from the last attempted module resolution. | ||
const input = normalizeInput(rollupOptions.input); | ||
if (!isRelativeImport && resolveOnly.length && !resolveOnly.some(pattern => pattern.test(id))) { | ||
if (input.includes(id)) { | ||
if (normalizeInput(rollupOptions.input).includes(importee)) { | ||
return null; | ||
@@ -503,0 +501,0 @@ } |
@@ -348,3 +348,3 @@ 'use strict'; | ||
return input; | ||
return [input]; | ||
} // Resolve module specifiers in order. Promise resolves to the first module that resolves | ||
@@ -504,6 +504,4 @@ // successfully, or the error that resulted from the last attempted module resolution. | ||
const input = normalizeInput(rollupOptions.input); | ||
if (!isRelativeImport && resolveOnly.length && !resolveOnly.some(pattern => pattern.test(id))) { | ||
if (input.includes(id)) { | ||
if (normalizeInput(rollupOptions.input).includes(importee)) { | ||
return null; | ||
@@ -510,0 +508,0 @@ } |
{ | ||
"name": "@rollup/plugin-node-resolve", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"publishConfig": { | ||
@@ -64,3 +64,3 @@ "access": "public" | ||
"es5-ext": "^0.10.53", | ||
"rollup": "^2.0.0", | ||
"rollup": "^2.12.0", | ||
"rollup-plugin-babel": "^4.3.3", | ||
@@ -67,0 +67,0 @@ "rollup-plugin-commonjs": "^10.1.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
58872
1148