
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.
ts-deepmerge
Advanced tools
A deep merge function that automatically infers the return type based on your input, without mutating the source objects.
import merge from "ts-deepmerge";
const obj1 = {
a: {
a: 1
}
};
const obj2 = {
b: {
a: 2,
b: 2
}
};
const obj3 = {
a: {
b: 3
},
b: {
c: 3
},
c: 3
};
const result = merge(obj1, obj2, obj3);
The value of the above result
is:
{
"a": {
"a": 1,
"b": 3
},
"b": {
"a": 2,
"b": 2,
"c": 3
},
"c": 3
}
FAQs
A TypeScript deep merge function.
The npm package ts-deepmerge receives a total of 551,144 weekly downloads. As such, ts-deepmerge popularity was classified as popular.
We found that ts-deepmerge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.