You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/fast-json-patch.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
/*! fast-json-patch, version: 3.0.0-1 */
1
+
/*! fast-json-patch, version: 3.1.0 */
2
2
varjsonpatch=
3
3
/******/(function(modules){// webpackBootstrap
4
4
/******/// The module cache
@@ -464,6 +464,9 @@ function applyOperation(document, operation, validateOperation, mutateDocument,
464
464
}
465
465
while(true){
466
466
key=keys[t];
467
+
if(key&&key.indexOf('~')!=-1){
468
+
key=helpers_js_1.unescapePathComponent(key);
469
+
}
467
470
if(banPrototypeModifications&&key=='__proto__'){
468
471
thrownewTypeError('JSON-Patch: modifying `__proto__` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README');
469
472
}
@@ -505,9 +508,6 @@ function applyOperation(document, operation, validateOperation, mutateDocument,
0 commit comments