Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash.set

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.set - npm Package Compare versions

Comparing version 3.7.1 to 3.7.2

10

index.js
/**
* lodash 3.7.1 (Custom Build) <https://lodash.com/>
* lodash 3.7.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`

@@ -20,3 +20,3 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>

*/
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
var MAX_SAFE_INTEGER = 9007199254740991;

@@ -32,3 +32,3 @@ /**

function isIndex(value, length) {
value = +value;
value = typeof value == 'number' ? value : parseFloat(value);
length = length == null ? MAX_SAFE_INTEGER : length;

@@ -59,3 +59,3 @@ return value > -1 && value % 1 == 0 && value < length;

/**
* Converts `value` to an object if it is not one.
* Converts `value` to an object if it's not one.
*

@@ -94,3 +94,3 @@ * @private

var type = typeof value;
return type == 'function' || (!!value && type == 'object');
return !!value && (type == 'object' || type == 'function');
}

@@ -97,0 +97,0 @@

{
"name": "lodash.set",
"version": "3.7.1",
"version": "3.7.2",
"description": "The modern build of lodash’s `_.set` as a module.",

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

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

# lodash.set v3.7.1
# lodash.set v3.7.2

@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.set` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.

See the [documentation](https://lodash.com/docs#set) or [package source](https://github.com/lodash/lodash/blob/3.7.1-npm-packages/lodash.set) for more details.
See the [documentation](https://lodash.com/docs#set) or [package source](https://github.com/lodash/lodash/blob/3.7.2-npm-packages/lodash.set) 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