lodash.pullall
Advanced tools
Comparing version 4.0.1 to 4.1.0
18
index.js
/** | ||
* lodash 4.0.0 (Custom Build) <https://lodash.com/> | ||
* lodash 4.1.0 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -9,17 +9,5 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
*/ | ||
var basePullAllBy = require('lodash._basepullallby'); | ||
var basePullAll = require('lodash._basepullall'); | ||
/** | ||
* The base implementation of `_.pullAll`. | ||
* | ||
* @private | ||
* @param {Array} array The array to modify. | ||
* @param {Array} values The values to remove. | ||
* @returns {Array} Returns `array`. | ||
*/ | ||
function basePullAll(array, values) { | ||
return basePullAllBy(array, values); | ||
} | ||
/** | ||
* This method is like `_.pull` except that it accepts an array of values to remove. | ||
@@ -39,3 +27,3 @@ * | ||
* | ||
* _.pull(array, [2, 3]); | ||
* _.pullAll(array, [2, 3]); | ||
* console.log(array); | ||
@@ -42,0 +30,0 @@ * // => [1, 1] |
{ | ||
"name": "lodash.pullall", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "The lodash method `_.pullAll` exported as a module.", | ||
@@ -8,7 +8,7 @@ "homepage": "https://lodash.com/", | ||
"license": "MIT", | ||
"keywords": "lodash, lodash-modularized, stdlib, util, pullall", | ||
"keywords": "lodash-modularized, pullall", | ||
"author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
"contributors": [ | ||
"John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
"Blaine Bublitz <blaine@iceddev.com> (https://github.com/phated)", | ||
"Blaine Bublitz <blaine.bublitz@gmail.com> (https://github.com/phated)", | ||
"Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)" | ||
@@ -19,4 +19,4 @@ ], | ||
"dependencies": { | ||
"lodash._basepullallby": "^4.0.0" | ||
"lodash._basepullall": "^4.0.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# lodash.pullall v4.0.1 | ||
# lodash.pullall v4.1.0 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.pullAll` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#pullAll) or [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash.pullall) for more details. | ||
See the [documentation](https://lodash.com/docs#pullAll) or [package source](https://github.com/lodash/lodash/blob/4.1.0-npm-packages/lodash.pullall) for more details. |
Sorry, the diff of this file is not supported yet
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
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
3603
34
+ Addedlodash._basepullall@^4.0.0
+ Addedlodash._basepullall@4.6.0(transitive)
- Removedlodash._basepullallby@^4.0.0
- Removedlodash._basepullallby@4.1.0(transitive)