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 {
19
19
apply ( content : string ) : string {
20
20
var json = this . parse ( content ) ;
21
21
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 ) ;
23
23
if ( result ) {
24
24
return this . stringify ( json ) ;
25
25
} else {
Original file line number Diff line number Diff line change 3
3
"private" : true ,
4
4
"version" : " 0.1.0" ,
5
5
"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 "
13
13
}
14
14
}
Original file line number Diff line number Diff line change 3
3
"private" : true ,
4
4
"version" : " 0.1.0" ,
5
5
"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 "
13
13
}
14
14
}
Original file line number Diff line number Diff line change 3
3
"private" : true ,
4
4
"version" : " 0.1.0" ,
5
5
"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 "
13
13
}
14
14
}
Original file line number Diff line number Diff line change 35
35
},
36
36
"homepage" : " https://github.com/geeklearningio/gl-vsts-tasks-azure/vsts-tasks" ,
37
37
"devDependencies" : {
38
- "async" : " 2.0.1 " ,
38
+ "async" : " 2.5.0 " ,
39
39
"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 " ,
42
42
"modclean" : " 2.1.0"
43
43
}
44
44
}
You can’t perform that action at this time.
0 commit comments