
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
jsoncomparizer
Advanced tools
A lightweight npm package that takes two JSON objects and produces a human-friendly diff report
A lightweight npm package that takes two JSON objects and produces a human-friendly diff report.
npm i jsoncomparizer
npm install jsoncomparizer
const { diff } = require('jsoncomparizer');
const obj1 = { name: "Alice", age: 25 };
const obj2 = { name: "Alice", age: 26, city: "Wonderland" };
console.log(diff(obj1, obj2));
const { diff } = require('jsoncomparizer');
const chalk = require('chalk');
const obj1 = { name: "Alice", age: 25 };
const obj2 = { name: "Alice", age: 26, city: "Wonderland" };
const options = {
// the user-provided name that will be formatted with magenta
// You can override styling like this:
// added: text => chalk.bgGreen.black(text)
// removed: text => chalk.bgRed.white(text)
// changed: text => chalk.bgCyanBright.black(text)
// path: text => chalk.underline.cyan(text)
};
console.log(diff(obj1, obj2, options));
Note : Use Chalk (4.1.2) for active options.
npm i chalk@4.1.2

If you have any feedback, please reach out to us at thebradredd@gmail.com
FAQs
A lightweight npm package that takes two JSON objects and produces a human-friendly diff report
We found that jsoncomparizer demonstrated a healthy version release cadence and project activity because the last version was released less than 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.