Skip to content

Commit 8ed3fae

Browse files
authored
Merge pull request #402 from benjamine/vnext
minor version bump
2 parents 4aa1729 + 854cf42 commit 8ed3fae

File tree

6 files changed

+361
-194
lines changed

6 files changed

+361
-194
lines changed

package-lock.json

+46-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/jsondiffpatch/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsondiffpatch",
3-
"version": "0.6.2",
3+
"version": "0.7.1",
44
"author": "Benjamin Eidelman <[email protected]>",
55
"description": "Diff & Patch for Javascript objects",
66
"contributors": [

packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts

-4
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,8 @@ export const applyJsonPatchRFC6902 = (
3636
result?: unknown;
3737
}[] = [];
3838

39-
console.debug('starting jsonpatch from', target);
40-
4139
patch.forEach((op) => {
4240
try {
43-
console.debug(`applying op`, op);
4441
switch (op.op) {
4542
case 'add':
4643
log.push({ result: add(target, op.path, op.value), op });
@@ -66,7 +63,6 @@ export const applyJsonPatchRFC6902 = (
6663
`operation not recognized: ${JSON.stringify(op as unknown)}`,
6764
);
6865
}
69-
console.debug(`result`, target);
7066
} catch (error) {
7167
rollback(
7268
target,

0 commit comments

Comments
 (0)