diff --git a/Tasks/JsonPatch/package.json b/Tasks/JsonPatch/package.json index c8e5d19..6a920fa 100644 --- a/Tasks/JsonPatch/package.json +++ b/Tasks/JsonPatch/package.json @@ -6,7 +6,7 @@ "q": "^1.5.1", "fs-extra": "8.0.1", "micromatch": "^4.0.2", - "fast-json-patch": "2.1.0", + "fast-json-patch": "3.1.1", "xregexp": "4.2.4", "azure-pipelines-task-lib": "^2.9.3", "json5": "2.1.0", diff --git a/Tests/JsonPatch/jsonPatcher.spec.ts b/Tests/JsonPatch/jsonPatcher.spec.ts index 0bf78b0..29fd0b6 100644 --- a/Tests/JsonPatch/jsonPatcher.spec.ts +++ b/Tests/JsonPatch/jsonPatcher.spec.ts @@ -45,7 +45,7 @@ describe('JSON Patcher', () => { var patcher = new jsonPatcher.JsonPatcher([ { - op: 'add', + op: 'replace', path: '/~1foo', value: '12' },