
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@hckrnews/deep-merge
Advanced tools
Deep merge objects.
Zero dependencies.
npm install @hckrnews/deep-merge
or
yarn add @hckrnews/deep-merge
npm run test
or
yarn test
npm i @hckrnews/deep-merge
import { deepMerge } from '@hcklrnews/deep-merge';
const obj1 = {
a: 1,
b: 1,
c: { x: 1, y: 1 },
d: [1, 1]
}
const obj2 = {
b: 2,
c: { y: 2, z: 2 },
d: [2, 2],
e: 2
}
const result = deepMerge(obj1, obj2)
const expectedResult = {
a: 1,
b: 2,
c: { x: 1, y: 2, z: 2 },
d: [1, 1, 2, 2],
e: 2
}
FAQs
Object deep merge
The npm package @hckrnews/deep-merge receives a total of 0 weekly downloads. As such, @hckrnews/deep-merge popularity was classified as not popular.
We found that @hckrnews/deep-merge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.