lodash.set
Advanced tools
Comparing version 4.1.0 to 4.2.0
/** | ||
* 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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4527
+ Addedlodash._baseset@4.3.0(transitive)
+ Addedlodash._basetostring@4.12.0(transitive)
+ Addedlodash._stringtopath@4.8.0(transitive)
- Removedlodash._baseset@4.2.1(transitive)
- Removedlodash._stringtopath@4.7.1(transitive)
Updatedlodash._baseset@~4.3.0