Socket
Socket
Sign inDemoInstall

webpack-node-externals

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-node-externals - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

2

package.json
{
"name": "webpack-node-externals",
"version": "2.5.0",
"version": "2.5.1",
"description": "Easily exclude node_modules in Webpack bundle",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -101,2 +101,3 @@ var fs = require('fs');

exports.validateOptions = function (options) {
options = options || {};
var results = [];

@@ -116,3 +117,3 @@ var mistakes = {

Object.keys(mistakes).forEach(function (correctTerm) {
if (options[correctTerm] === undefined) {
if (!options.hasOwnProperty(correctTerm)) {
mistakes[correctTerm]

@@ -119,0 +120,0 @@ .concat(correctTerm.toLowerCase())

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