Socket
Socket
Sign inDemoInstall

lodash.set

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.set - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

6

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

@@ -12,3 +12,3 @@ * Copyright jQuery Foundation and other contributors <https://jquery.org/>

/**
* Sets the value at `path` of `object`. If a portion of `path` doesn't exist
* Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
* it's created. Arrays are created for missing index properties while objects

@@ -36,3 +36,3 @@ * are created for all other missing properties. Use `_.setWith` to customize

*
* _.set(object, 'x[0].y.z', 5);
* _.set(object, ['x', '0', 'y', 'z'], 5);
* console.log(object.x[0].y.z);

@@ -39,0 +39,0 @@ * // => 5

{
"name": "lodash.set",
"version": "4.1.0",
"version": "4.2.0",
"description": "The lodash method `_.set` exported as a module.",

@@ -18,4 +18,4 @@ "homepage": "https://lodash.com/",

"dependencies": {
"lodash._baseset": "~4.2.0"
"lodash._baseset": "~4.3.0"
}
}

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

# lodash.set v4.1.0
# lodash.set v4.2.0

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

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