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

deepmerge-ts

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deepmerge-ts - npm Package Compare versions

Comparing version 3.0.0-beta.6 to 3.0.0-beta.7

7

CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
# [3.0.0-beta.7](https://github.com/RebeccaStevens/deepmerge-ts/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2022-02-18)
### Features
* lone values will now be passed to mergeOthers rather than just returned ([#57](https://github.com/RebeccaStevens/deepmerge-ts/issues/57)) ([14a09ca](https://github.com/RebeccaStevens/deepmerge-ts/commit/14a09ca2d67ffbb5341719c633873e91a5565d89))
# [3.0.0-beta.6](https://github.com/RebeccaStevens/deepmerge-ts/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2022-02-17)

@@ -5,0 +12,0 @@

4

package.json
{
"name": "deepmerge-ts",
"version": "3.0.0-beta.6",
"version": "3.0.0-beta.7",
"description": "Deeply merge 2 or more objects respecting type information.",

@@ -102,2 +102,3 @@ "keywords": [

"@semantic-release/release-notes-generator": "^10.0.3",
"@types/lodash": "^4.14.178",
"@types/node": "^17.0.16",

@@ -132,2 +133,3 @@ "@types/rollup-plugin-auto-external": "^2.0.2",

"lint-staged": "^12.3.3",
"lodash": "^4.17.21",
"markdownlint-cli": "^0.31.1",

@@ -134,0 +136,0 @@ "marked": "^4.0.12",

@@ -96,18 +96,20 @@ <div align="center">

//
// {
// record: {
// prop1: "changed",
// prop2: "value2",
// prop3: "value3"
// }
// array: (6) [1, 2, 3, 2, 3, 4]
// set: Set(4) {1, 2, 3, 4}
// map: Map(3) {
// "key1" => "value1",
// "key2" => "changed",
// "key3" => "value3"
// }
// Object {
// "record": Object {
// "prop1": "changed",
// "prop2": "value2",
// "prop3": "value3",
// },
// "array": Array [1, 2, 3, 2, 3, 4],
// "set": Set { 1, 2, 3, 4 },
// "map": Map {
// "key1" => "value1",
// "key2" => "changed",
// "key3" => "value3",
// },
// }
```
You can try out this example at [codesandbox.io](https://codesandbox.io/s/deepmerge-ts-example-iltxby?file=/src/example.ts).
### Using customized config

@@ -114,0 +116,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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