lodash.without
Advanced tools
Comparing version 2.2.1 to 2.3.0
18
index.js
/** | ||
* Lo-Dash 2.2.1 (Custom Build) <http://lodash.com/> | ||
* Lo-Dash 2.3.0 (Custom Build) <http://lodash.com/> | ||
* Build: `lodash modularize modern exports="npm" -o ./npm/` | ||
@@ -9,16 +9,6 @@ * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> | ||
*/ | ||
var difference = require('lodash.difference'); | ||
var baseDifference = require('lodash._basedifference'), | ||
slice = require('lodash._slice'); | ||
/** | ||
* Used for `Array` method references. | ||
* | ||
* Normally `Array.prototype` would suffice, however, using an array literal | ||
* avoids issues in Narwhal. | ||
*/ | ||
var arrayRef = []; | ||
/* Native method shortcuts for methods with the same name as other `lodash` methods */ | ||
var nativeSlice = arrayRef.slice; | ||
/** | ||
* Creates an array excluding all provided values using strict equality for | ||
@@ -39,5 +29,5 @@ * comparisons, i.e. `===`. | ||
function without(array) { | ||
return difference(array, nativeSlice.call(arguments, 1)); | ||
return baseDifference(array, slice(arguments, 1)); | ||
} | ||
module.exports = without; |
{ | ||
"name": "lodash.without", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "The Lo-Dash function `_.without` as a Node.js module generated by lodash-cli.", | ||
@@ -11,3 +11,3 @@ "homepage": "http://lodash.com/custom-builds", | ||
"John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
"Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)", | ||
"Blaine Bublitz <blaine@iceddev.com> (http://www.iceddev.com/)", | ||
"Kit Cambridge <github@kitcambridge.be> (http://kitcambridge.be/)", | ||
@@ -19,4 +19,5 @@ "Mathias Bynens <mathias@qiwi.be> (http://mathiasbynens.be/)" | ||
"dependencies": { | ||
"lodash.difference": "~2.2.1" | ||
"lodash._basedifference": "~2.3.0", | ||
"lodash._slice": "~2.3.0" | ||
} | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# lodash.without v2.2.1 | ||
# lodash.without v2.3.0 | ||
@@ -7,3 +7,3 @@ The [Lo-Dash](http://lodash.com/) function [`_.without`](http://lodash.com/docs#without) as a [Node.js](http://nodejs.org/) module generated by [lodash-cli](https://npmjs.org/package/lodash-cli). | ||
| [![twitter/jdalton](http://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](http://twitter.com/jdalton "Follow @jdalton on Twitter") | | ||
| [![twitter/jdalton](http://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](https://twitter.com/jdalton "Follow @jdalton on Twitter") | | ||
|---| | ||
@@ -14,4 +14,4 @@ | [John-David Dalton](http://allyoucanleet.com/) | | ||
| [![twitter/blainebublitz](http://gravatar.com/avatar/ac1c67fd906c9fecd823ce302283b4c1?s=70)](http://twitter.com/blainebublitz "Follow @BlaineBublitz on Twitter") | [![twitter/kitcambridge](http://gravatar.com/avatar/6662a1d02f351b5ef2f8b4d815804661?s=70)](https://twitter.com/kitcambridge "Follow @kitcambridge on Twitter") | [![twitter/mathias](http://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](http://twitter.com/mathias "Follow @mathias on Twitter") | | ||
| [![twitter/blainebublitz](http://gravatar.com/avatar/ac1c67fd906c9fecd823ce302283b4c1?s=70)](https://twitter.com/blainebublitz "Follow @BlaineBublitz on Twitter") | [![twitter/kitcambridge](http://gravatar.com/avatar/6662a1d02f351b5ef2f8b4d815804661?s=70)](https://twitter.com/kitcambridge "Follow @kitcambridge on Twitter") | [![twitter/mathias](http://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") | | ||
|---|---|---| | ||
| [Blaine Bublitz](http://iceddev.com/) | [Kit Cambridge](http://kitcambridge.github.io/) | [Mathias Bynens](http://mathiasbynens.be/) | | ||
| [Blaine Bublitz](http://www.iceddev.com/) | [Kit Cambridge](http://kitcambridge.be/) | [Mathias Bynens](http://mathiasbynens.be/) | |
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
4267
2
29
+ Addedlodash._slice@~2.3.0
+ Addedlodash._basedifference@2.3.0(transitive)
+ Addedlodash._baseindexof@2.3.0(transitive)
+ Addedlodash._cacheindexof@2.3.0(transitive)
+ Addedlodash._cachepush@2.3.0(transitive)
+ Addedlodash._createcache@2.3.0(transitive)
+ Addedlodash._getobject@2.3.0(transitive)
+ Addedlodash._keyprefix@2.3.0(transitive)
+ Addedlodash._largearraysize@2.3.0(transitive)
+ Addedlodash._maxpoolsize@2.3.0(transitive)
+ Addedlodash._objectpool@2.3.0(transitive)
+ Addedlodash._releaseobject@2.3.0(transitive)
+ Addedlodash._slice@2.3.0(transitive)
- Removedlodash.difference@~2.2.1
- Removedlodash._baseflatten@2.2.1(transitive)
- Removedlodash._baseindexof@2.2.1(transitive)
- Removedlodash._cacheindexof@2.2.1(transitive)
- Removedlodash._cachepush@2.2.1(transitive)
- Removedlodash._createcache@2.2.1(transitive)
- Removedlodash._getobject@2.2.1(transitive)
- Removedlodash._keyprefix@2.2.1(transitive)
- Removedlodash._largearraysize@2.2.1(transitive)
- Removedlodash._maxpoolsize@2.2.1(transitive)
- Removedlodash._objectpool@2.2.1(transitive)
- Removedlodash._releaseobject@2.2.1(transitive)
- Removedlodash._renative@2.2.1(transitive)
- Removedlodash.difference@2.2.1(transitive)
- Removedlodash.isarguments@2.2.1(transitive)
- Removedlodash.isarray@2.2.1(transitive)