lodash.isnative
Advanced tools
Comparing version 3.0.2 to 3.0.3
11
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 ./` | ||
@@ -25,3 +25,3 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
/** | ||
* Converts `value` to a string if it is not one. An empty string is returned | ||
* Converts `value` to a string if it's not one. An empty string is returned | ||
* for `null` or `undefined` values. | ||
@@ -57,2 +57,5 @@ * | ||
/** Used to check objects for own properties. */ | ||
var hasOwnProperty = objectProto.hasOwnProperty; | ||
/** | ||
@@ -66,4 +69,4 @@ * Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring) | ||
var reIsNative = RegExp('^' + | ||
escapeRegExp(objToString) | ||
.replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' | ||
escapeRegExp(fnToString.call(hasOwnProperty)) | ||
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' | ||
); | ||
@@ -70,0 +73,0 @@ |
{ | ||
"name": "lodash.isnative", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "The modern build of lodash’s `_.isNative` as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.isnative v3.0.2 | ||
# lodash.isnative v3.0.3 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isNative` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [documentation](https://lodash.com/docs#isNative) or [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash.isnative) for more details. | ||
See the [documentation](https://lodash.com/docs#isNative) or [package source](https://github.com/lodash/lodash/blob/3.0.3-npm-packages/lodash.isnative) 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
6106
105