lodash.sortedindexby
Advanced tools
Comparing version 4.5.0 to 4.5.1
16
index.js
@@ -64,3 +64,4 @@ /** | ||
reIsPlainProp = /^\w*$/, | ||
rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g; | ||
reLeadingDot = /^\./, | ||
rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; | ||
@@ -108,6 +109,6 @@ /** | ||
/** Detect free variable `exports`. */ | ||
var freeExports = freeGlobal && typeof exports == 'object' && exports; | ||
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; | ||
/** Detect free variable `module`. */ | ||
var freeModule = freeExports && typeof module == 'object' && module; | ||
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; | ||
@@ -1268,2 +1269,3 @@ /** Detect the popular CommonJS extension `module.exports`. */ | ||
stack['delete'](array); | ||
stack['delete'](other); | ||
return result; | ||
@@ -1429,2 +1431,3 @@ } | ||
stack['delete'](object); | ||
stack['delete'](other); | ||
return result; | ||
@@ -1699,4 +1702,9 @@ } | ||
var stringToPath = memoize(function(string) { | ||
string = toString(string); | ||
var result = []; | ||
toString(string).replace(rePropName, function(match, number, quote, string) { | ||
if (reLeadingDot.test(string)) { | ||
result.push(''); | ||
} | ||
string.replace(rePropName, function(match, number, quote, string) { | ||
result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match)); | ||
@@ -1703,0 +1711,0 @@ }); |
{ | ||
"name": "lodash.sortedindexby", | ||
"version": "4.5.0", | ||
"version": "4.5.1", | ||
"description": "The lodash method `_.sortedIndexBy` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.sortedindexby v4.5.0 | ||
# lodash.sortedindexby v4.5.1 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.sortedIndexBy` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#sortedIndexBy) or [package source](https://github.com/lodash/lodash/blob/4.5.0-npm-packages/lodash.sortedindexby) for more details. | ||
See the [documentation](https://lodash.com/docs#sortedIndexBy) or [package source](https://github.com/lodash/lodash/blob/4.5.1-npm-packages/lodash.sortedindexby) 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
66835
2155
0