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

smob

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smob - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "smob",
"version": "1.1.0",
"version": "1.1.1",
"description": "Zero dependency library to safe merge objects.",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs",

@@ -37,3 +37,3 @@ # SMOB 🧪

Merge source and target arrays by priority order.
- **arrayDistinct**: `false` Remove duplicates, when merging array properties.
- **arrayDistinct**: `false` Remove duplicates, when merging array elements.

@@ -49,4 +49,4 @@ The merge behaviour can be changed by creating a custom [merger](#merger).

console.log(merge({ a: 1 }, { a: 2 }, { a: 3 }));
// => { a: 1 }
console.log(merge({ a: 1 }, { b: 2 }, { c: 3 }));
// => { a: 1, b: 2, c: 3 }
```

@@ -53,0 +53,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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