
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@anyjunk/immutablediff
Advanced tools
Create RFC 6902 style patches between Immutable.JS data structures
Create RFC 6902 style patches between Immutable.JS data structures, such as Maps, Lists, and Sets.
Install immutablediff using npm or yarn:
# npm...
npm install --save immutablediff
# ...or yarn
yarn add immutablediff
You can then use it to get the diff ops between you Immutable.JS data structures.
var Immutable = require('immutable');
var diff = require('immutablediff');
var map1 = Immutable.Map({a:1, b:2, c:3});
var map2 = Immutable.Map({a:1, b:2, c:3, d: 4});
diff(map1, map2);
// List [ Map { op: "add", path: "/d", value: 4 } ]
The result of diff is an Immutable Sequence of operations
If you want to use the resulting diff to apply patches to other Immutable data structures, you can use the package immutablepatch. Source code available here
FAQs
Create RFC 6902 style patches between Immutable.JS data structures
The npm package @anyjunk/immutablediff receives a total of 279 weekly downloads. As such, @anyjunk/immutablediff popularity was classified as not popular.
We found that @anyjunk/immutablediff demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.