File tree Expand file tree Collapse file tree 5 files changed +25
-25
lines changed Expand file tree Collapse file tree 5 files changed +25
-25
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments