diff options
author | Rebecca Turner <me@re-becca.org> | 2016-02-04 04:53:08 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2016-02-04 04:54:49 +0300 |
commit | 2df342bf30efa99b98016acc8a5dc03e00b58b9c (patch) | |
tree | c495f00d200731b9912513fa9e55bbc56955b65c /node_modules/lodash.without | |
parent | 86aa91dce60f6b6a92bb3ba2bf6e6be1f6afc750 (diff) |
lodash.without@4.0.2
Browser compatibility fixes.
Credit: @jdalton
Diffstat (limited to 'node_modules/lodash.without')
9 files changed, 107 insertions, 56 deletions
diff --git a/node_modules/lodash.without/README.md b/node_modules/lodash.without/README.md index a73182288..06d47a152 100644 --- a/node_modules/lodash.without/README.md +++ b/node_modules/lodash.without/README.md @@ -1,4 +1,4 @@ -# lodash.without v4.0.1 +# lodash.without v4.0.2 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.0.1-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.0.2-npm-packages/lodash.without) for more details. diff --git a/node_modules/lodash.without/index.js b/node_modules/lodash.without/index.js index 92e420c2d..34e2da80f 100644 --- a/node_modules/lodash.without/index.js +++ b/node_modules/lodash.without/index.js @@ -1,5 +1,5 @@ /** - * lodash 4.0.0 (Custom Build) <https://lodash.com/> + * lodash 4.0.2 (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> @@ -37,7 +37,7 @@ function baseUnary(func) { } /** Used for built-in method references. */ -var objectProto = global.Object.prototype; +var objectProto = Object.prototype; /** * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) @@ -281,8 +281,6 @@ function isLength(value) { * // => false */ function isObject(value) { - // Avoid a V8 JIT bug in Chrome 19-20. - // See https://code.google.com/p/v8/issues/detail?id=2291 for more details. var type = typeof value; return !!value && (type == 'object' || type == 'function'); } diff --git a/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/README.md b/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/README.md index 5737ffe3b..e5a9fd143 100644 --- a/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/README.md +++ b/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/README.md @@ -1,4 +1,4 @@ -# lodash._mapcache v4.0.0 +# lodash._mapcache v4.0.1 The internal [lodash](https://lodash.com/) function `MapCache` exported as a [Node.js](https://nodejs.org/) module. @@ -15,4 +15,4 @@ In Node.js: var MapCache = require('lodash._mapcache'); ``` -See the [package source](https://github.com/lodash/lodash/blob/4.0.0-npm-packages/lodash._mapcache) for more details. +See the [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash._mapcache) for more details. diff --git a/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/index.js b/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/index.js index 1057c5554..415eb1fb7 100644 --- a/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/index.js +++ b/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/index.js @@ -1,5 +1,5 @@ /** - * lodash 4.0.0 (Custom Build) <https://lodash.com/> + * lodash 4.0.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> @@ -20,6 +20,49 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; /** Used to detect host constructors (Safari > 5). */ var reIsHostCtor = /^\[object .+?Constructor\]$/; +/** Used to determine if values are of the language type `Object`. */ +var objectTypes = { + 'function': true, + 'object': true +}; + +/** Detect free variable `exports`. */ +var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType) ? exports : null; + +/** Detect free variable `module`. */ +var freeModule = (objectTypes[typeof module] && module && !module.nodeType) ? module : null; + +/** Detect free variable `global` from Node.js. */ +var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global); + +/** Detect free variable `self`. */ +var freeSelf = checkGlobal(objectTypes[typeof self] && self); + +/** Detect free variable `window`. */ +var freeWindow = checkGlobal(objectTypes[typeof window] && window); + +/** Detect `this` as the global object. */ +var thisGlobal = checkGlobal(objectTypes[typeof this] && this); + +/** + * Used as a reference to the global object. + * + * The `this` value is used if it's the global object to avoid Greasemonkey's + * restricted `window` object, otherwise the `window` object is used. + */ +var root = freeGlobal || ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) || freeSelf || thisGlobal || Function('return this')(); + +/** + * Checks if `value` is a global object. + * + * @private + * @param {*} value The value to check. + * @returns {null|Object} Returns `value` if it's a global object, else `null`. + */ +function checkGlobal(value) { + return (value && value.Object === Object) ? value : null; +} + /** * Checks if `value` is a host object in IE < 9. * @@ -40,11 +83,11 @@ function isHostObject(value) { } /** Used for built-in method references. */ -var arrayProto = global.Array.prototype, - objectProto = global.Object.prototype; +var arrayProto = Array.prototype, + objectProto = Object.prototype; /** Used to resolve the decompiled source of functions. */ -var funcToString = global.Function.prototype.toString; +var funcToString = Function.prototype.toString; /** Used to check objects for own properties. */ var hasOwnProperty = objectProto.hasOwnProperty; @@ -65,7 +108,7 @@ var reIsNative = RegExp('^' + var splice = arrayProto.splice; /* Built-in method references that are verified to be native. */ -var Map = getNative(global, 'Map'), +var Map = getNative(root, 'Map'), nativeCreate = getNative(Object, 'create'); /** @@ -420,8 +463,6 @@ function isFunction(value) { * // => false */ function isObject(value) { - // Avoid a V8 JIT bug in Chrome 19-20. - // See https://code.google.com/p/v8/issues/detail?id=2291 for more details. var type = typeof value; return !!value && (type == 'object' || type == 'function'); } diff --git a/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/package.json b/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/package.json index f16514890..67c024b12 100644 --- a/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/package.json +++ b/node_modules/lodash.without/node_modules/lodash._setcache/node_modules/lodash._mapcache/package.json @@ -6,11 +6,15 @@ ] ], "_from": "lodash._mapcache@>=4.0.0 <5.0.0", - "_id": "lodash._mapcache@4.0.0", + "_id": "lodash._mapcache@4.0.1", "_inCache": true, "_installable": true, "_location": "/lodash.without/lodash._setcache/lodash._mapcache", "_nodeVersion": "5.4.0", + "_npmOperationalInternal": { + "host": "packages-9-west.internal.npmjs.com", + "tmp": "tmp/lodash._mapcache-4.0.1.tgz_1454484290388_0.2519109307322651" + }, "_npmUser": { "email": "john.david.dalton@gmail.com", "name": "jdalton" @@ -28,8 +32,8 @@ "_requiredBy": [ "/lodash.without/lodash._setcache" ], - "_resolved": "https://registry.npmjs.org/lodash._mapcache/-/lodash._mapcache-4.0.0.tgz", - "_shasum": "1ddb7171850b4cf6b8d8329f9c6123b43b7565ad", + "_resolved": "https://registry.npmjs.org/lodash._mapcache/-/lodash._mapcache-4.0.1.tgz", + "_shasum": "f9815450d837741c827e20389075d6ac10678535", "_shrinkwrap": null, "_spec": "lodash._mapcache@^4.0.0", "_where": "/Users/rebecca/code/npm/node_modules/lodash.without/node_modules/lodash._setcache", @@ -63,8 +67,8 @@ "devDependencies": {}, "directories": {}, "dist": { - "shasum": "1ddb7171850b4cf6b8d8329f9c6123b43b7565ad", - "tarball": "http://registry.npmjs.org/lodash._mapcache/-/lodash._mapcache-4.0.0.tgz" + "shasum": "f9815450d837741c827e20389075d6ac10678535", + "tarball": "http://registry.npmjs.org/lodash._mapcache/-/lodash._mapcache-4.0.1.tgz" }, "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", @@ -73,6 +77,14 @@ { "name": "jdalton", "email": "john.david.dalton@gmail.com" + }, + { + "name": "mathias", + "email": "mathias@qiwi.be" + }, + { + "name": "phated", + "email": "blaine.bublitz@gmail.com" } ], "name": "lodash._mapcache", @@ -85,5 +97,5 @@ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }, - "version": "4.0.0" + "version": "4.0.1" } diff --git a/node_modules/lodash.without/node_modules/lodash.rest/README.md b/node_modules/lodash.without/node_modules/lodash.rest/README.md index ef7ffc65e..8924e9d7f 100644 --- a/node_modules/lodash.without/node_modules/lodash.rest/README.md +++ b/node_modules/lodash.without/node_modules/lodash.rest/README.md @@ -1,4 +1,4 @@ -# lodash.rest v4.0.0 +# lodash.rest v4.0.1 The [lodash](https://lodash.com/) method `_.rest` exported as a [Node.js](https://nodejs.org/) module. @@ -15,4 +15,4 @@ In Node.js: var rest = require('lodash.rest'); ``` -See the [documentation](https://lodash.com/docs#rest) or [package source](https://github.com/lodash/lodash/blob/4.0.0-npm-packages/lodash.rest) for more details. +See the [documentation](https://lodash.com/docs#rest) or [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash.rest) for more details. diff --git a/node_modules/lodash.without/node_modules/lodash.rest/index.js b/node_modules/lodash.without/node_modules/lodash.rest/index.js index d77ef5f12..289de3172 100644 --- a/node_modules/lodash.without/node_modules/lodash.rest/index.js +++ b/node_modules/lodash.without/node_modules/lodash.rest/index.js @@ -1,5 +1,5 @@ /** - * lodash 4.0.0 (Custom Build) <https://lodash.com/> + * lodash 4.0.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> @@ -31,7 +31,7 @@ var reIsBinary = /^0b[01]+$/i; /** Used to detect octal string values. */ var reIsOctal = /^0o[0-7]+$/i; -/** Built-in method references without a dependency on `global`. */ +/** Built-in method references without a dependency on `root`. */ var freeParseInt = parseInt; /** @@ -41,11 +41,11 @@ var freeParseInt = parseInt; * @private * @param {Function} func The function to invoke. * @param {*} thisArg The `this` binding of `func`. - * @param {...*} [args] The arguments to invoke `func` with. + * @param {...*} args The arguments to invoke `func` with. * @returns {*} Returns the result of `func`. */ function apply(func, thisArg, args) { - var length = args ? args.length : 0; + var length = args.length; switch (length) { case 0: return func.call(thisArg); case 1: return func.call(thisArg, args[0]); @@ -56,7 +56,7 @@ function apply(func, thisArg, args) { } /** Used for built-in method references. */ -var objectProto = global.Object.prototype; +var objectProto = Object.prototype; /** * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) @@ -166,8 +166,6 @@ function isFunction(value) { * // => false */ function isObject(value) { - // Avoid a V8 JIT bug in Chrome 19-20. - // See https://code.google.com/p/v8/issues/detail?id=2291 for more details. var type = typeof value; return !!value && (type == 'object' || type == 'function'); } diff --git a/node_modules/lodash.without/node_modules/lodash.rest/package.json b/node_modules/lodash.without/node_modules/lodash.rest/package.json index 1d174009d..f368b2341 100644 --- a/node_modules/lodash.without/node_modules/lodash.rest/package.json +++ b/node_modules/lodash.without/node_modules/lodash.rest/package.json @@ -6,11 +6,15 @@ ] ], "_from": "lodash.rest@>=4.0.0 <5.0.0", - "_id": "lodash.rest@4.0.0", + "_id": "lodash.rest@4.0.1", "_inCache": true, "_installable": true, "_location": "/lodash.without/lodash.rest", "_nodeVersion": "5.4.0", + "_npmOperationalInternal": { + "host": "packages-5-east.internal.npmjs.com", + "tmp": "tmp/lodash.rest-4.0.1.tgz_1454484670768_0.6682933256961405" + }, "_npmUser": { "email": "john.david.dalton@gmail.com", "name": "jdalton" @@ -28,8 +32,8 @@ "_requiredBy": [ "/lodash.without" ], - "_resolved": "https://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.0.tgz", - "_shasum": "6a767430c0f0128073cb326aa59dc244de2fe892", + "_resolved": "https://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.1.tgz", + "_shasum": "cbecbb84e68e499a1b242baf9b27bb63ef4dd980", "_shrinkwrap": null, "_spec": "lodash.rest@^4.0.0", "_where": "/Users/rebecca/code/npm/node_modules/lodash.without", @@ -63,17 +67,14 @@ "devDependencies": {}, "directories": {}, "dist": { - "shasum": "6a767430c0f0128073cb326aa59dc244de2fe892", - "tarball": "http://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.0.tgz" + "shasum": "cbecbb84e68e499a1b242baf9b27bb63ef4dd980", + "tarball": "http://registry.npmjs.org/lodash.rest/-/lodash.rest-4.0.1.tgz" }, "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", "keywords": [ - "lodash", "lodash-modularized", - "rest", - "stdlib", - "util" + "rest" ], "license": "MIT", "maintainers": [ @@ -100,5 +101,5 @@ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }, - "version": "4.0.0" + "version": "4.0.1" } diff --git a/node_modules/lodash.without/package.json b/node_modules/lodash.without/package.json index 6859f595c..7560b7a57 100644 --- a/node_modules/lodash.without/package.json +++ b/node_modules/lodash.without/package.json @@ -1,16 +1,20 @@ { "_args": [ [ - "lodash.without@latest", + "lodash.without@~4.0.1", "/Users/rebecca/code/npm" ] ], - "_from": "lodash.without@latest", - "_id": "lodash.without@4.0.1", + "_from": "lodash.without@>=4.0.1 <4.1.0", + "_id": "lodash.without@4.0.2", "_inCache": true, "_installable": true, "_location": "/lodash.without", "_nodeVersion": "5.4.0", + "_npmOperationalInternal": { + "host": "packages-9-west.internal.npmjs.com", + "tmp": "tmp/lodash.without-4.0.2.tgz_1454484814633_0.6160044688731432" + }, "_npmUser": { "email": "john.david.dalton@gmail.com", "name": "jdalton" @@ -19,19 +23,19 @@ "_phantomChildren": {}, "_requested": { "name": "lodash.without", - "raw": "lodash.without@latest", - "rawSpec": "latest", + "raw": "lodash.without@~4.0.1", + "rawSpec": "~4.0.1", "scope": null, - "spec": "latest", - "type": "tag" + "spec": ">=4.0.1 <4.1.0", + "type": "range" }, "_requiredBy": [ "/" ], - "_resolved": "https://registry.npmjs.org/lodash.without/-/lodash.without-4.0.1.tgz", - "_shasum": "b8c65653ade3968fc2194f83a19e1c755214f7ea", + "_resolved": "https://registry.npmjs.org/lodash.without/-/lodash.without-4.0.2.tgz", + "_shasum": "e44e83ca13150ff146416b4dd986f24b6dd26a9e", "_shrinkwrap": null, - "_spec": "lodash.without@latest", + "_spec": "lodash.without@~4.0.1", "_where": "/Users/rebecca/code/npm", "author": { "email": "john.david.dalton@gmail.com", @@ -70,16 +74,13 @@ "devDependencies": {}, "directories": {}, "dist": { - "shasum": "b8c65653ade3968fc2194f83a19e1c755214f7ea", - "tarball": "http://registry.npmjs.org/lodash.without/-/lodash.without-4.0.1.tgz" + "shasum": "e44e83ca13150ff146416b4dd986f24b6dd26a9e", + "tarball": "http://registry.npmjs.org/lodash.without/-/lodash.without-4.0.2.tgz" }, "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", "keywords": [ - "lodash", "lodash-modularized", - "stdlib", - "util", "without" ], "license": "MIT", @@ -107,5 +108,5 @@ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }, - "version": "4.0.1" + "version": "4.0.2" } |