lodash.takerightwhile
Advanced tools
+12
-4
@@ -60,3 +60,4 @@ /** | ||
| reIsPlainProp = /^\w*$/, | ||
| rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g; | ||
| reLeadingDot = /^\./, | ||
| rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; | ||
@@ -104,6 +105,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; | ||
@@ -1262,2 +1263,3 @@ /** Detect the popular CommonJS extension `module.exports`. */ | ||
| stack['delete'](array); | ||
| stack['delete'](other); | ||
| return result; | ||
@@ -1423,2 +1425,3 @@ } | ||
| stack['delete'](object); | ||
| stack['delete'](other); | ||
| return result; | ||
@@ -1693,4 +1696,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)); | ||
@@ -1697,0 +1705,0 @@ }); |
+1
-1
| { | ||
| "name": "lodash.takerightwhile", | ||
| "version": "4.5.0", | ||
| "version": "4.5.1", | ||
| "description": "The lodash method `_.takeRightWhile` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
+2
-2
@@ -1,2 +0,2 @@ | ||
| # lodash.takerightwhile v4.5.0 | ||
| # lodash.takerightwhile v4.5.1 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.takeRightWhile` exported as a [Node.js](https://nodejs.org/) module. | ||
| See the [documentation](https://lodash.com/docs#takeRightWhile) or [package source](https://github.com/lodash/lodash/blob/4.5.0-npm-packages/lodash.takerightwhile) for more details. | ||
| See the [documentation](https://lodash.com/docs#takeRightWhile) or [package source](https://github.com/lodash/lodash/blob/4.5.1-npm-packages/lodash.takerightwhile) for more details. |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
66720
0.32%2160
0.33%1
-50%