plain-object-merge
Advanced tools
Comparing version 2.0.0 to 2.0.1
/* 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 @@ |
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
7931
1
14
204
- Removedis@npm:@fabiospampinato/is@^2.0.0
- Removed@fabiospampinato/is@2.8.0(transitive)