Socket
Socket
Sign inDemoInstall

lodash-webpack-plugin

Package Overview
Dependencies
1
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

10

lib/index.js

@@ -13,2 +13,6 @@ 'use strict';

var _fs = require('fs');
var _fs2 = _interopRequireDefault(_fs);
var _path = require('path');

@@ -58,4 +62,6 @@

var result = _path2.default.resolve(_path2.default.dirname(resource), pair[1]);
_this2.matches.push([resource, result]);
return result;
if (_fs2.default.existsSync(result)) {
_this2.matches.push([resource, result]);
return result;
}
}

@@ -62,0 +68,0 @@ }

11

package.json
{
"name": "lodash-webpack-plugin",
"version": "0.2.0",
"version": "0.2.1",
"description": "Smaller modular Lodash builds.",

@@ -16,7 +16,7 @@ "keywords": "webpack-plugin, lodash, modules",

"scripts": {
"build": "rm -rf lib && babel src --out-dir lib",
"test": "mocha --reporter min --compilers js:babel-core/register"
"build": "babel src --out-dir lib",
"test": "mocha --check-leaks --slow 1e3 --compilers js:babel-core/register"
},
"dependencies": {
"lodash": "^4.11.2"
"lodash": "^4.12.0"
},

@@ -28,6 +28,5 @@ "devDependencies": {

"babel-plugin-add-module-exports": "~0.2.0",
"babel-plugin-lodash": "^3.1.0",
"babel-plugin-lodash": "^3.1.1",
"babel-preset-es2015": "^6.6.0",
"bluebird": "^3.3.5",
"fs-extra": "^0.30.0",
"glob": "^7.0.3",

@@ -34,0 +33,0 @@ "gzip-size": "^3.0.0",

@@ -1,2 +0,2 @@

# lodash-webpack-plugin v0.2.0
# lodash-webpack-plugin v0.2.1

@@ -65,3 +65,3 @@ Create smaller Lodash builds by replacing [feature sets](#feature-sets) of modules

| `currying` | Support for `_.curry` & `_.curryRight`. |
| `caching` | Caches using `Map` & `Set` for methods like `_.cloneDeep`, `_.isEqual`, & `_.uniq`. |
| `caching` | Caches for methods like `_.cloneDeep`, `_.isEqual`, & `_.uniq`. |
| `coercions` | Coercion methods like `_.toInteger`, `_.toNumber`, & `_.toString`. |

@@ -68,0 +68,0 @@ | `paths` | Deep property path support for methods like `_.get`, `_.has`, & `_.set`. |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc