fast-json-patch
Advanced tools
Comparing version 1.1.6 to 1.1.7
/*! | ||
* https://github.com/Starcounter-Jack/JSON-Patch | ||
* json-patch-duplex.js version: 1.1.6 | ||
* json-patch-duplex.js version: 1.1.7 | ||
* (c) 2013 Joachim Wester | ||
@@ -5,0 +5,0 @@ * MIT license |
/*! | ||
* https://github.com/Starcounter-Jack/JSON-Patch | ||
* json-patch-duplex.js version: 1.1.6 | ||
* json-patch-duplex.js version: 1.1.7 | ||
* (c) 2013 Joachim Wester | ||
@@ -5,0 +5,0 @@ * MIT license |
{ | ||
"name": "fast-json-patch", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Fast implementation of JSON-Patch (RFC-6902) with duplex (observe changes) capabilities", | ||
@@ -51,4 +51,5 @@ "homepage": "https://github.com/Starcounter-Jack/JSON-Patch", | ||
"bench-core": "node test/spec/coreBenchmark.js", | ||
"bench-duplex": "node test/spec/coreBenchmark.js DUPLEX=yes && node test/spec/duplexBenchmark.js" | ||
"bench-duplex": "node test/spec/coreBenchmark.js DUPLEX=yes && node test/spec/duplexBenchmark.js", | ||
"bench-duplex-only": "node test/spec/duplexBenchmark.js" | ||
} | ||
} |
/*! | ||
* https://github.com/Starcounter-Jack/JSON-Patch | ||
* json-patch-duplex.js version: 1.1.6 | ||
* json-patch-duplex.js version: 1.1.7 | ||
* (c) 2013 Joachim Wester | ||
@@ -344,2 +344,6 @@ * MIT license | ||
function _generate(mirror, obj, patches, path) { | ||
if (obj === mirror) { | ||
return; | ||
} | ||
if (typeof obj.toJSON === "function") { | ||
@@ -346,0 +350,0 @@ obj = obj.toJSON(); |
/*! | ||
* https://github.com/Starcounter-Jack/JSON-Patch | ||
* json-patch-duplex.js version: 1.1.6 | ||
* json-patch-duplex.js version: 1.1.7 | ||
* (c) 2013 Joachim Wester | ||
@@ -5,0 +5,0 @@ * MIT license |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72175
1069