lodash.partialright
Advanced tools
Comparing version 4.2.0 to 4.2.1
26
index.js
@@ -54,3 +54,3 @@ /** | ||
* Used to match `RegExp` | ||
* [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns). | ||
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). | ||
*/ | ||
@@ -140,3 +140,3 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; | ||
* @private | ||
* @param {Array} [array] The array to search. | ||
* @param {Array} [array] The array to inspect. | ||
* @param {*} target The value to search for. | ||
@@ -155,3 +155,3 @@ * @returns {boolean} Returns `true` if `target` is found, else `false`. | ||
* @private | ||
* @param {Array} array The array to search. | ||
* @param {Array} array The array to inspect. | ||
* @param {Function} predicate The function invoked per iteration. | ||
@@ -178,3 +178,3 @@ * @param {number} fromIndex The index to search from. | ||
* @private | ||
* @param {Array} array The array to search. | ||
* @param {Array} array The array to inspect. | ||
* @param {*} value The value to search for. | ||
@@ -287,3 +287,4 @@ * @param {number} fromIndex The index to search from. | ||
/** Used for built-in method references. */ | ||
var objectProto = Object.prototype; | ||
var funcProto = Function.prototype, | ||
objectProto = Object.prototype; | ||
@@ -300,3 +301,3 @@ /** Used to detect overreaching core-js shims. */ | ||
/** Used to resolve the decompiled source of functions. */ | ||
var funcToString = Function.prototype.toString; | ||
var funcToString = funcProto.toString; | ||
@@ -308,3 +309,3 @@ /** Used to check objects for own properties. */ | ||
* Used to resolve the | ||
* [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) | ||
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) | ||
* of values. | ||
@@ -515,3 +516,3 @@ */ | ||
// Use a `switch` statement to work with class constructors. See | ||
// http://ecma-international.org/ecma-262/6.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist | ||
// http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist | ||
// for more details. | ||
@@ -1009,4 +1010,3 @@ var args = arguments; | ||
// The use of `Object#toString` avoids issues with the `typeof` operator | ||
// in Safari 8 which returns 'object' for typed array and weak map constructors, | ||
// and PhantomJS 1.9 which returns 'function' for `NodeList` instances. | ||
// in Safari 8-9 which returns 'object' for typed array and other constructors. | ||
var tag = isObject(value) ? objectToString.call(value) : ''; | ||
@@ -1018,3 +1018,3 @@ return tag == funcTag || tag == genTag; | ||
* Checks if `value` is the | ||
* [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types) | ||
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) | ||
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) | ||
@@ -1136,3 +1136,3 @@ * | ||
* **Note:** This method is loosely based on | ||
* [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger). | ||
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). | ||
* | ||
@@ -1197,3 +1197,3 @@ * @static | ||
if (isObject(value)) { | ||
var other = isFunction(value.valueOf) ? value.valueOf() : value; | ||
var other = typeof value.valueOf == 'function' ? value.valueOf() : value; | ||
value = isObject(other) ? (other + '') : other; | ||
@@ -1200,0 +1200,0 @@ } |
{ | ||
"name": "lodash.partialright", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "The lodash method `_.partialRight` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.partialright v4.2.0 | ||
# lodash.partialright v4.2.1 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.partialRight` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#partialRight) or [package source](https://github.com/lodash/lodash/blob/4.2.0-npm-packages/lodash.partialright) for more details. | ||
See the [documentation](https://lodash.com/docs#partialRight) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.partialright) 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
39701