Skip to content

Commit 785acef

Browse files
committed
Update dev-dependencies
1 parent cf8f9c7 commit 785acef

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function diff() {
103103
function parse(data) {
104104
var lines = data.lines;
105105
var line = lines[0];
106-
var re = /^@@ -([0-9]+),?([0-9]+)? \+([0-9]+),?([0-9]+)? @@/;
106+
var re = /^@@ -(\d+),?(\d+)? \+(\d+),?(\d+)? @@/;
107107
var match = line.match(re);
108108
var result = {path: data.bPath};
109109
var ranges = [];

package.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@
2525
"vfile-find-up": "^2.0.0"
2626
},
2727
"devDependencies": {
28-
"execa": "^0.8.0",
28+
"execa": "^0.10.0",
2929
"nlcst-to-string": "^2.0.0",
3030
"nyc": "^11.1.0",
31-
"remark-cli": "^4.0.0",
32-
"remark-preset-wooorm": "^3.0.0",
31+
"remark-cli": "^5.0.0",
32+
"remark-preset-wooorm": "^4.0.0",
3333
"retext": "^5.0.0",
3434
"rimraf": "^2.5.4",
3535
"tape": "^4.0.0",
36-
"to-vfile": "^2.0.0",
36+
"to-vfile": "^4.0.0",
3737
"trough": "^1.0.0",
3838
"unist-util-visit": "^1.1.0",
39-
"xo": "^0.18.0"
39+
"xo": "^0.21.0"
4040
},
4141
"scripts": {
4242
"build-md": "remark . -qfo",
@@ -54,7 +54,12 @@
5454
},
5555
"xo": {
5656
"space": true,
57-
"esnext": false
57+
"esnext": false,
58+
"rules": {
59+
"no-var": "off",
60+
"prefer-arrow-callback": "off",
61+
"object-shorthand": "off"
62+
}
5863
},
5964
"remarkConfig": {
6065
"plugins": [

0 commit comments

Comments
 (0)