jsondiffpatch icon indicating copy to clipboard operation
jsondiffpatch copied to clipboard

Diff & patch JavaScript objects

Results 118 jsondiffpatch issues
Sort by recently updated
recently updated
newest added

When I import the latest version import jsondiffpatch from 'jsondiffpatch' I get this error..... super freaking wierd I've never seen anything like this. require() of ES Module C:\\Users\\brand\\Documents\\Projects\\atlantic-dawn-monorepo\\node_modules\\.pnpm\\[email protected]\\node_modules\\jsondiffpatch\\lib\\index.js from C:\\Users\\brand\\Documents\\organization-api\\src\\api\\handlers\\handler.js...

Hi everyone, I'm following the section [Visual Diff](https://github.com/benjamine/jsondiffpatch?tab=readme-ov-file#visual-diff). I've created a standalone HTML file with the same codes. When I try to run, it does not render anything and it...

This library requires a fair bit of customizing in order to implement it into a React project. I made similar changes for my own project and thought it would be...

In typescript (angular) application had been patching version 0.5.0 to include missing jsonpatch in exported formatters and was importing like this: `import { DiffPatcher, formatters } from 'jsondiffpatch';` and all...

![image](https://user-images.githubusercontent.com/99916723/235513720-5c3838ae-9cea-46a1-b0ee-121d258de38d.png) ![image](https://user-images.githubusercontent.com/99916723/235513815-80157312-74cd-46f3-9708-4652372188e1.png) First screenshot is new latest version diffpatch : "^0.4.1", Second Screensot is the old version as it is a min file, I don't have the version name How...

Hi all, more of a question than a problem: what do you think about making this functionality https://github.com/schnerd/jsondiffpatch-arrays-by-hash part of this library ? Because the problem described there can be...

Script to reproduce: ``` const mongoose = require('mongoose'); const jsondiffpatch = require('jsondiffpatch') const id1 = new mongoose.Types.ObjectId() const id2 = new mongoose.Types.ObjectId() console.log(`jsondiffpatch ${id1} ${id2}`,jsondiffpatch.diff(id1, id2)) ``` Output: `jsondiffpatch 65703f8fe4e276a1a653d00a...

Adding a feature to omit repeated unchanged lines for console formatter. I'm wanted a way to omit large groups of unchanged lines to help keep the output concise when working...

I've received a report from my application's user that the returning data is wrong while reversing the diff by `unpatch` method. By using my whole day, I find that only...

```html Document var differ = new jsondiffpatch.DiffPatcher({ objectHash(o, i) { return o.id || '$$index:' + i }, }) var d1 = { children: [ { id: 1, children: [ {...