lodash.takerightwhile
Advanced tools
+2
-44
| /** | ||
| * lodash 4.0.2 (Custom Build) <https://lodash.com/> | ||
| * lodash 4.1.0 (Custom Build) <https://lodash.com/> | ||
| * Build: `lodash modularize exports="npm" -o ./` | ||
@@ -14,2 +14,3 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
| hasIn = require('lodash.hasin'), | ||
| root = require('lodash._root'), | ||
| toPairs = require('lodash.topairs'); | ||
@@ -35,45 +36,2 @@ | ||
| /** Used to determine if values are of the language type `Object`. */ | ||
| var objectTypes = { | ||
| 'function': true, | ||
| 'object': true | ||
| }; | ||
| /** Detect free variable `exports`. */ | ||
| var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType) ? exports : null; | ||
| /** Detect free variable `module`. */ | ||
| var freeModule = (objectTypes[typeof module] && module && !module.nodeType) ? module : null; | ||
| /** Detect free variable `global` from Node.js. */ | ||
| var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global); | ||
| /** Detect free variable `self`. */ | ||
| var freeSelf = checkGlobal(objectTypes[typeof self] && self); | ||
| /** Detect free variable `window`. */ | ||
| var freeWindow = checkGlobal(objectTypes[typeof window] && window); | ||
| /** Detect `this` as the global object. */ | ||
| var thisGlobal = checkGlobal(objectTypes[typeof this] && this); | ||
| /** | ||
| * Used as a reference to the global object. | ||
| * | ||
| * The `this` value is used if it's the global object to avoid Greasemonkey's | ||
| * restricted `window` object, otherwise the `window` object is used. | ||
| */ | ||
| var root = freeGlobal || ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) || freeSelf || thisGlobal || Function('return this')(); | ||
| /** | ||
| * Checks if `value` is a global object. | ||
| * | ||
| * @private | ||
| * @param {*} value The value to check. | ||
| * @returns {null|Object} Returns `value` if it's a global object, else `null`. | ||
| */ | ||
| function checkGlobal(value) { | ||
| return (value && value.Object === Object) ? value : null; | ||
| } | ||
| /** Used for built-in method references. */ | ||
@@ -80,0 +38,0 @@ var objectProto = Object.prototype; |
+2
-1
| { | ||
| "name": "lodash.takerightwhile", | ||
| "version": "4.0.2", | ||
| "version": "4.1.0", | ||
| "description": "The lodash method `_.takeRightWhile` exported as a module.", | ||
@@ -21,2 +21,3 @@ "homepage": "https://lodash.com/", | ||
| "lodash._baseslice": "^4.0.0", | ||
| "lodash._root": "^3.0.0", | ||
| "lodash.get": "^4.0.0", | ||
@@ -23,0 +24,0 @@ "lodash.hasin": "^4.0.0", |
+2
-2
@@ -1,2 +0,2 @@ | ||
| # lodash.takerightwhile v4.0.2 | ||
| # lodash.takerightwhile v4.1.0 | ||
@@ -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.0.2-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.1.0-npm-packages/lodash.takerightwhile) for more details. |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
0
-100%15463
-8.45%7
16.67%443
-6.93%+ Added