Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-node-resolve

Package Overview
Dependencies
Maintainers
4
Versions
34
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 4.2.0 to 4.2.1

4

CHANGELOG.md
# rollup-plugin-node-resolve changelog
## 4.2.1 (2019-04-06)
* Respect setting the deprecated fields "module", "main", and "jsnext" ([#204](https://github.com/rollup/rollup-plugin-node-resolve/pull/204) by @nick-woodward)
## 4.2.0 (2019-04-06)

@@ -4,0 +8,0 @@

2

dist/rollup-plugin-node-resolve.cjs.js

@@ -61,3 +61,3 @@ 'use strict';

if (options[option] === false) {
mainFields = mainFields.filter(function (mainField) { return mainField === field; });
mainFields = mainFields.filter(function (mainField) { return mainField !== field; });
} else if (options[option] === true && mainFields.indexOf(field) === -1) {

@@ -64,0 +64,0 @@ mainFields.push(field);

@@ -57,3 +57,3 @@ import { dirname, join, resolve, normalize, sep, extname } from 'path';

if (options[option] === false) {
mainFields = mainFields.filter(function (mainField) { return mainField === field; });
mainFields = mainFields.filter(function (mainField) { return mainField !== field; });
} else if (options[option] === true && mainFields.indexOf(field) === -1) {

@@ -60,0 +60,0 @@ mainFields.push(field);

{
"name": "rollup-plugin-node-resolve",
"description": "Bundle third-party dependencies in node_modules",
"version": "4.2.0",
"version": "4.2.1",
"devDependencies": {

@@ -6,0 +6,0 @@ "buble": "^0.19.7",

@@ -54,3 +54,3 @@ import {dirname, extname, normalize, resolve, sep, join} from 'path';

if (options[option] === false) {
mainFields = mainFields.filter(mainField => mainField === field);
mainFields = mainFields.filter(mainField => mainField !== field);
} else if (options[option] === true && mainFields.indexOf(field) === -1) {

@@ -57,0 +57,0 @@ mainFields.push(field);

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