Closed diosney closed 10 years ago
Hi, 0.4.3 is the latest version. I confirmed using node and the browser that the document above does thrown an error when passed to the JSONPatch
constructor.
Ah, I just noticed is does not when it is passed to jsonpatch.compile
or jsonpatch.apply
.
Thanks! Good to know.
Released 0.5.0 with the fix
At title says, with 0.4.x (tested with .0 & .1) it fails to validate properly the example document at the end (it don't throw an error).
https://www.npmjs.org/package/jsonpatch it does throw the error, though.