lodash._createcache
Advanced tools
Comparing version 3.0.1 to 3.1.0
12
index.js
/** | ||
* lodash 3.0.1 (Custom Build) <https://lodash.com/> | ||
* lodash 3.1.0 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE> | ||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | ||
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
* Available under MIT license <https://lodash.com/license> | ||
*/ | ||
var isNative = require('lodash.isnative'); | ||
var getNative = require('lodash._getnative'); | ||
/** Native method references. */ | ||
var Set = isNative(Set = global.Set) && Set; | ||
var Set = getNative(root, 'Set'); | ||
/* Native method references for those with the same name as other `lodash` methods. */ | ||
var nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate; | ||
var nativeCreate = getNative(Object, 'create'); | ||
@@ -85,3 +85,3 @@ /** | ||
var type = typeof value; | ||
return type == 'function' || (!!value && type == 'object'); | ||
return !!value && (type == 'object' || type == 'function'); | ||
} | ||
@@ -88,0 +88,0 @@ |
{ | ||
"name": "lodash._createcache", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "The modern build of lodash’s internal `createCache` as a module.", | ||
@@ -19,4 +19,4 @@ "homepage": "https://lodash.com/", | ||
"dependencies": { | ||
"lodash.isnative": "^3.0.0" | ||
"lodash._getnative": "^3.0.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# lodash._createcache v3.0.1 | ||
# lodash._createcache v3.1.0 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createCache` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._createcache) for more details. | ||
See the [package source](https://github.com/lodash/lodash/blob/3.1.0-npm-packages/lodash._createcache) 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
5555
+ Addedlodash._getnative@^3.0.0
+ Addedlodash._getnative@3.9.1(transitive)
- Removedlodash.isnative@^3.0.0
- Removedlodash.isnative@3.0.7(transitive)