Skip to content

Commit ca35aae

Browse files
committed
update json patch version
1 parent 961bb38 commit ca35aae

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

Common/Node/jsonPatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class JsonPatcher implements patch.IPatcher {
1919
apply(content: string): string {
2020
var json = this.parse(content);
2121
var prevalidate = jsonPatch.validate(this.patches, json);
22-
var result = jsonPatch.apply(json, this.patches, false);
22+
var result = jsonPatch.applyPatch(json, this.patches, false);
2323
if (result) {
2424
return this.stringify(json);
2525
} else {

Tasks/JsonPatch/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"private": true,
44
"version": "0.1.0",
55
"dependencies": {
6-
"fs-extra": "0.30.0",
7-
"micromatch": "2.3.11",
8-
"fast-json-patch": "1.0.0",
9-
"xregexp": "3.1.1",
10-
"vsts-task-lib": "1.1.0",
11-
"json5" : "0.5.0",
12-
"shelljs": "0.7.7"
6+
"fs-extra": "4.0.1",
7+
"micromatch": "3.0.4",
8+
"fast-json-patch": "2.0.4",
9+
"xregexp": "3.2.0",
10+
"vsts-task-lib": "2.0.6",
11+
"json5" : "0.5.1",
12+
"shelljs": "0.7.8"
1313
}
1414
}

Tasks/PlistPatch/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"private": true,
44
"version": "0.1.0",
55
"dependencies": {
6-
"fs-extra": "0.30.0",
7-
"micromatch": "2.3.11",
8-
"fast-json-patch": "1.0.0",
9-
"xregexp": "3.1.1",
10-
"vsts-task-lib": "1.1.0",
11-
"plist": "2.0.1",
12-
"shelljs": "0.7.7"
6+
"fs-extra": "4.0.1",
7+
"micromatch": "3.0.4",
8+
"fast-json-patch": "2.0.4",
9+
"xregexp": "3.2.0",
10+
"vsts-task-lib": "2.0.6",
11+
"plist": "2.1.0",
12+
"shelljs": "0.7.8"
1313
}
1414
}

Tasks/YamlPatch/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"private": true,
44
"version": "0.1.0",
55
"dependencies": {
6-
"fs-extra": "0.30.0",
7-
"micromatch": "2.3.11",
8-
"fast-json-patch": "1.0.0",
9-
"xregexp": "3.1.1",
10-
"vsts-task-lib": "1.1.0",
11-
"js-yaml": "3.6.1",
12-
"shelljs": "0.7.7"
6+
"fs-extra": "4.0.1",
7+
"micromatch": "3.0.4",
8+
"fast-json-patch": "2.0.4",
9+
"xregexp": "3.2.0",
10+
"vsts-task-lib": "2.0.6",
11+
"js-yaml": "3.9.1",
12+
"shelljs": "0.7.8"
1313
}
1414
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
},
3636
"homepage": "https://github.com/geeklearningio/gl-vsts-tasks-azure/vsts-tasks",
3737
"devDependencies": {
38-
"async": "2.0.1",
38+
"async": "2.5.0",
3939
"karma": "^1.1.2",
40-
"npm-run-all": "2.3.0",
41-
"gl-vsts-tasks-build-scripts": "0.2.0-alpha.9",
40+
"npm-run-all": "4.0.2",
41+
"gl-vsts-tasks-build-scripts": "0.3.1",
4242
"modclean": "2.1.0"
4343
}
4444
}

0 commit comments

Comments
 (0)