Socket
Socket
Sign inDemoInstall

@rollup/plugin-node-resolve

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/plugin-node-resolve - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

8

CHANGELOG.md
# @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 @@

6

dist/index.es.js

@@ -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",

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