lodash.support
Advanced tools
Comparing version 3.0.2 to 3.0.3
29
index.js
/** | ||
* lodash 3.0.2 (Custom Build) <https://lodash.com/> | ||
* lodash 3.0.3 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
@@ -10,11 +10,5 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
/** Used for native method references. */ | ||
var objectProto = Object.prototype; | ||
/** Used to detect DOM support. */ | ||
var document = (document = global.window) && document.document; | ||
var document = (document = global.window) ? document.document : null; | ||
/** Native method references. */ | ||
var propertyIsEnumerable = objectProto.propertyIsEnumerable; | ||
/** | ||
@@ -31,3 +25,2 @@ * An object environment feature flags. | ||
var Ctor = function() { this.x = x; }, | ||
args = arguments, | ||
object = { '0': x, 'length': x }, | ||
@@ -50,22 +43,4 @@ props = []; | ||
} | ||
/** | ||
* Detect if `arguments` object indexes are non-enumerable. | ||
* | ||
* In Firefox < 4, IE < 9, PhantomJS, and Safari < 5.1 `arguments` object | ||
* indexes are non-enumerable. Chrome < 25 and Node.js < 0.11.0 treat | ||
* `arguments` object indexes as non-enumerable and fail `hasOwnProperty` | ||
* checks for indexes that exceed the number of function parameters and | ||
* whose associated argument values are `0`. | ||
* | ||
* @memberOf _.support | ||
* @type boolean | ||
*/ | ||
try { | ||
support.nonEnumArgs = !propertyIsEnumerable.call(args, 1); | ||
} catch(e) { | ||
support.nonEnumArgs = true; | ||
} | ||
}(1, 0)); | ||
module.exports = support; |
{ | ||
"name": "lodash.support", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "The modern build of lodash’s `_.support` as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.support v3.0.2 | ||
# lodash.support v3.0.3 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.support` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [documentation](https://lodash.com/docs#support) or [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash.support) for more details. | ||
See the [documentation](https://lodash.com/docs#support) or [package source](https://github.com/lodash/lodash/blob/3.0.3-npm-packages/lodash.support) for more details. |
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
3786
37