New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lodash.minby

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.minby - npm Package Compare versions

Comparing version 4.5.0 to 4.5.1

16

index.js

@@ -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;

@@ -1251,2 +1252,3 @@ /** Detect the popular CommonJS extension `module.exports`. */

stack['delete'](array);
stack['delete'](other);
return result;

@@ -1412,2 +1414,3 @@ }

stack['delete'](object);
stack['delete'](other);
return result;

@@ -1682,4 +1685,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));

@@ -1686,0 +1694,0 @@ });

{
"name": "lodash.minby",
"version": "4.5.0",
"version": "4.5.1",
"description": "The lodash method `_.minBy` exported as a module.",

@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/",

@@ -1,2 +0,2 @@

# lodash.minby v4.5.0
# lodash.minby v4.5.1

@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.minBy` exported as a [Node.js](https://nodejs.org/) module.

See the [documentation](https://lodash.com/docs#minBy) or [package source](https://github.com/lodash/lodash/blob/4.5.0-npm-packages/lodash.minby) for more details.
See the [documentation](https://lodash.com/docs#minBy) or [package source](https://github.com/lodash/lodash/blob/4.5.1-npm-packages/lodash.minby) for more details.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc