diff options
author | Rebecca Turner <me@re-becca.org> | 2016-03-04 00:28:37 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2016-03-04 00:29:45 +0300 |
commit | bb14204183dad620a6650452a26cdc64111f8136 (patch) | |
tree | 99ee2e5d29373fd937b5faef977d7437c8c562c4 /node_modules/lodash.without | |
parent | 0089059c562aee9ad0398e55d2c12c68a6150e79 (diff) |
lodash.without@4.1.1
Credit: @jdalton
Diffstat (limited to 'node_modules/lodash.without')
6 files changed, 39 insertions, 40 deletions
diff --git a/node_modules/lodash.without/README.md b/node_modules/lodash.without/README.md index 06bfa4e5b..3c2e6b98c 100644 --- a/node_modules/lodash.without/README.md +++ b/node_modules/lodash.without/README.md @@ -1,4 +1,4 @@ -# lodash.without v4.1.0 +# lodash.without v4.1.1 The [lodash](https://lodash.com/) method `_.without` exported as a [Node.js](https://nodejs.org/) module. @@ -15,4 +15,4 @@ In Node.js: var without = require('lodash.without'); ``` -See the [documentation](https://lodash.com/docs#without) or [package source](https://github.com/lodash/lodash/blob/4.1.0-npm-packages/lodash.without) for more details. +See the [documentation](https://lodash.com/docs#without) or [package source](https://github.com/lodash/lodash/blob/4.1.1-npm-packages/lodash.without) for more details. diff --git a/node_modules/lodash.without/index.js b/node_modules/lodash.without/index.js index 66f068cca..049466d2a 100644 --- a/node_modules/lodash.without/index.js +++ b/node_modules/lodash.without/index.js @@ -1,5 +1,5 @@ /** - * lodash 4.1.0 (Custom Build) <https://lodash.com/> + * lodash 4.1.1 (Custom Build) <https://lodash.com/> * Build: `lodash modularize exports="npm" -o ./` * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> @@ -97,8 +97,7 @@ var without = rest(function(array, values) { * // => false */ function isArrayLike(value) { - return value != null && - !(typeof value == 'function' && isFunction(value)) && isLength(getLength(value)); + return value != null && isLength(getLength(value)) && !isFunction(value); } /** @@ -146,8 +145,8 @@ function isArrayLikeObject(value) { */ function isFunction(value) { // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 8 which returns 'object' for typed array constructors, and - // PhantomJS 1.9 which returns 'function' for `NodeList` instances. + // in Safari 8 which returns 'object' for typed array and weak map constructors, + // and PhantomJS 1.9 which returns 'function' for `NodeList` instances. var tag = isObject(value) ? objectToString.call(value) : ''; return tag == funcTag || tag == genTag; } diff --git a/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/README.md b/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/README.md index 37f7ddfca..696e7cd13 100644 --- a/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/README.md +++ b/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/README.md @@ -1,4 +1,4 @@ -# lodash._setcache v4.1.0 +# lodash._setcache v4.1.1 The internal [lodash](https://lodash.com/) function `SetCache` exported as a [Node.js](https://nodejs.org/) module. @@ -15,4 +15,4 @@ In Node.js: var SetCache = require('lodash._setcache'); ``` -See the [package source](https://github.com/lodash/lodash/blob/4.1.0-npm-packages/lodash._setcache) for more details. +See the [package source](https://github.com/lodash/lodash/blob/4.1.1-npm-packages/lodash._setcache) for more details. diff --git a/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/index.js b/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/index.js index 4260d6390..dd96de49f 100644 --- a/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/index.js +++ b/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/index.js @@ -1,5 +1,5 @@ /** - * lodash 4.1.0 (Custom Build) <https://lodash.com/> + * lodash 4.1.1 (Custom Build) <https://lodash.com/> * Build: `lodash modularize exports="npm" -o ./` * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> @@ -415,7 +415,7 @@ function assocSet(array, key, value) { * @returns {*} Returns the function if it's native, else `undefined`. */ function getNative(object, key) { - var value = object == null ? undefined : object[key]; + var value = object[key]; return isNative(value) ? value : undefined; } @@ -484,8 +484,8 @@ function eq(value, other) { */ function isFunction(value) { // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 8 which returns 'object' for typed array constructors, and - // PhantomJS 1.9 which returns 'function' for `NodeList` instances. + // in Safari 8 which returns 'object' for typed array and weak map constructors, + // and PhantomJS 1.9 which returns 'function' for `NodeList` instances. var tag = isObject(value) ? objectToString.call(value) : ''; return tag == funcTag || tag == genTag; } diff --git a/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/package.json b/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/package.json index 28eb153b7..217a0b8d9 100644 --- a/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/package.json +++ b/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._setcache/package.json @@ -6,20 +6,20 @@ ] ], "_from": "lodash._setcache@>=4.0.0 <5.0.0", - "_id": "lodash._setcache@4.1.0", + "_id": "lodash._setcache@4.1.1", "_inCache": true, "_installable": true, "_location": "/lodash.without/lodash._basedifference/lodash._setcache", "_nodeVersion": "5.5.0", "_npmOperationalInternal": { - "host": "packages-5-east.internal.npmjs.com", - "tmp": "tmp/lodash._setcache-4.1.0.tgz_1455699934524_0.5983484762255102" + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/lodash._setcache-4.1.1.tgz_1456896443505_0.39592266851104796" }, "_npmUser": { "email": "john.david.dalton@gmail.com", "name": "jdalton" }, - "_npmVersion": "2.14.18", + "_npmVersion": "2.14.17", "_phantomChildren": {}, "_requested": { "name": "lodash._setcache", @@ -32,8 +32,8 @@ "_requiredBy": [ "/lodash.without/lodash._basedifference" ], - "_resolved": "https://registry.npmjs.org/lodash._setcache/-/lodash._setcache-4.1.0.tgz", - "_shasum": "ecc48719346faf667343b390b4572a3063f3827c", + "_resolved": "https://registry.npmjs.org/lodash._setcache/-/lodash._setcache-4.1.1.tgz", + "_shasum": "338f47e49f21ba8bb89e621e7815d781bd4dbd97", "_shrinkwrap": null, "_spec": "lodash._setcache@^4.0.0", "_where": "/Users/rebecca/code/npm/node_modules/lodash.without/node_modules/lodash._basedifference", @@ -52,7 +52,7 @@ "url": "http://allyoucanleet.com/" }, { - "email": "blaine@iceddev.com", + "email": "blaine.bublitz@gmail.com", "name": "Blaine Bublitz", "url": "https://github.com/phated" }, @@ -67,8 +67,8 @@ "devDependencies": {}, "directories": {}, "dist": { - "shasum": "ecc48719346faf667343b390b4572a3063f3827c", - "tarball": "http://registry.npmjs.org/lodash._setcache/-/lodash._setcache-4.1.0.tgz" + "shasum": "338f47e49f21ba8bb89e621e7815d781bd4dbd97", + "tarball": "http://registry.npmjs.org/lodash._setcache/-/lodash._setcache-4.1.1.tgz" }, "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", @@ -97,5 +97,5 @@ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }, - "version": "4.1.0" + "version": "4.1.1" } diff --git a/node_modules/lodash.without/package.json b/node_modules/lodash.without/package.json index e349a45e5..5077fe66a 100644 --- a/node_modules/lodash.without/package.json +++ b/node_modules/lodash.without/package.json @@ -1,41 +1,41 @@ { "_args": [ [ - "lodash.without@latest", + "lodash.without@~4.1.0", "/Users/rebecca/code/npm" ] ], - "_from": "lodash.without@latest", - "_id": "lodash.without@4.1.0", + "_from": "lodash.without@>=4.1.0 <4.2.0", + "_id": "lodash.without@4.1.1", "_inCache": true, "_installable": true, "_location": "/lodash.without", "_nodeVersion": "5.5.0", "_npmOperationalInternal": { - "host": "packages-9-west.internal.npmjs.com", - "tmp": "tmp/lodash.without-4.1.0.tgz_1455615779138_0.012924720998853445" + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/lodash.without-4.1.1.tgz_1456896882082_0.03977343044243753" }, "_npmUser": { "email": "john.david.dalton@gmail.com", "name": "jdalton" }, - "_npmVersion": "2.14.18", + "_npmVersion": "2.14.17", "_phantomChildren": {}, "_requested": { "name": "lodash.without", - "raw": "lodash.without@latest", - "rawSpec": "latest", + "raw": "lodash.without@~4.1.0", + "rawSpec": "~4.1.0", "scope": null, - "spec": "latest", - "type": "tag" + "spec": ">=4.1.0 <4.2.0", + "type": "range" }, "_requiredBy": [ "/" ], - "_resolved": "https://registry.npmjs.org/lodash.without/-/lodash.without-4.1.0.tgz", - "_shasum": "29df4dd820d40d1116c261b14078a81a804dd221", + "_resolved": "https://registry.npmjs.org/lodash.without/-/lodash.without-4.1.1.tgz", + "_shasum": "00ba28bb140083195c73a156da9668afe8ce1dbe", "_shrinkwrap": null, - "_spec": "lodash.without@latest", + "_spec": "lodash.without@~4.1.0", "_where": "/Users/rebecca/code/npm", "author": { "email": "john.david.dalton@gmail.com", @@ -52,7 +52,7 @@ "url": "http://allyoucanleet.com/" }, { - "email": "blaine@iceddev.com", + "email": "blaine.bublitz@gmail.com", "name": "Blaine Bublitz", "url": "https://github.com/phated" }, @@ -70,8 +70,8 @@ "devDependencies": {}, "directories": {}, "dist": { - "shasum": "29df4dd820d40d1116c261b14078a81a804dd221", - "tarball": "http://registry.npmjs.org/lodash.without/-/lodash.without-4.1.0.tgz" + "shasum": "00ba28bb140083195c73a156da9668afe8ce1dbe", + "tarball": "http://registry.npmjs.org/lodash.without/-/lodash.without-4.1.1.tgz" }, "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", @@ -104,5 +104,5 @@ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }, - "version": "4.1.0" + "version": "4.1.1" } |