
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
@sanity/diff
Advanced tools
The `diff` package is a popular library for computing differences between two strings or objects. It provides a variety of diff algorithms and can be used for text, JSON, and other data structures. Compared to @sanity/diff, it offers more flexibility in terms of diff algorithms but may require more configuration.
The `deep-diff` package is another library for comparing the differences between two JavaScript objects. It provides a simple API for finding differences and applying patches. While it is similar to @sanity/diff in functionality, it may not offer the same level of integration with Sanity's ecosystem.
The `jsondiffpatch` package is designed specifically for comparing JSON documents and applying patches. It offers a rich set of features, including visual diffing and patching. Compared to @sanity/diff, it provides more advanced features for JSON-specific use cases but may be more complex to use.
FAQs
Generates diffs between documents and primitive types
The npm package @sanity/diff receives a total of 612,810 weekly downloads. As such, @sanity/diff popularity was classified as popular.
We found that @sanity/diff 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.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.