lodash-webpack-plugin
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -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 @@ } |
{ | ||
"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`. | |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
9881
12
82
2
Updatedlodash@^4.12.0