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

plain-object-merge

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plain-object-merge - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

dist/utils.d.ts

2

dist/index.js
/* IMPORT */
import { isArray, isPrimitive } from 'is';
import clone from 'plain-object-clone';
import { isArray, isPrimitive } from './utils.js';
/* MAIN */

@@ -5,0 +5,0 @@ const mergeObjects = (target, source) => {

@@ -5,3 +5,3 @@ {

"description": "Extremely fast function optimized for deep merging json-serializable plain objects.",
"version": "2.0.0",
"version": "2.0.1",
"type": "module",

@@ -19,3 +19,3 @@ "main": "dist/index.js",

"test:watch": "tsex test --watch",
"prepublishOnly": "npm run clean && npm run compile && npm run test"
"prepublishOnly": "tsex prepare"
},

@@ -30,11 +30,10 @@ "keywords": [

"dependencies": {
"is": "npm:@fabiospampinato/is@^2.0.0",
"plain-object-clone": "^2.0.0"
},
"devDependencies": {
"benchloop": "^1.3.2",
"fava": "^0.0.6",
"tsex": "^1.1.1",
"typescript": "^4.6.3"
"benchloop": "^2.1.1",
"fava": "^0.2.1",
"tsex": "^3.0.1",
"typescript": "^5.1.6"
}
}
/* IMPORT */
import {isArray, isPrimitive} from 'is';
import clone from 'plain-object-clone';
import {isArray, isPrimitive} from './utils';

@@ -7,0 +7,0 @@ /* MAIN */

@@ -10,5 +10,4 @@

benchmark.defaultOptions = Object.assign ( benchmark.defaultOptions, {
iterations: 100000,
log: 'compact'
benchmark.config ({
iterations: 100_000
});

@@ -15,0 +14,0 @@

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