Skip to content

Commit a7d8020

Browse files
committedMay 10, 2018
Update camelcase, chokidar, and json5
Closes GH-19.
1 parent ce3bbce commit a7d8020

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed
 

‎package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"lib/"
2222
],
2323
"dependencies": {
24-
"camelcase": "^4.0.0",
24+
"camelcase": "^5.0.0",
2525
"chalk": "^2.0.0",
26-
"chokidar": "^1.5.1",
27-
"json5": "^0.5.1",
26+
"chokidar": "^2.0.0",
27+
"json5": "^1.0.0",
2828
"minimist": "^1.2.0",
2929
"text-table": "^0.2.0",
3030
"unified-engine": "^5.1.0"

‎test/index.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,7 @@ test('unified-args', function (t) {
301301

302302
st.equal(
303303
stderr.slice(0, stderr.indexOf(' in ')),
304-
'Error: Cannot parse `foo:bar` as JSON: Unexpected \'b\' at line 1 ' +
305-
'column 7 of the JSON5 data. Still to read: "bar}"',
304+
'Error: Cannot parse `foo:bar` as JSON: JSON5: invalid character \'b\' at 1:6',
306305
'should report'
307306
);
308307
});
@@ -392,8 +391,7 @@ test('unified-args', function (t) {
392391

393392
st.equal(
394393
stderr.slice(0, stderr.indexOf(' in ')),
395-
'Error: Cannot parse `foo:bar` as JSON: Unexpected \'b\' at line 1 ' +
396-
'column 7 of the JSON5 data. Still to read: "bar}"',
394+
'Error: Cannot parse `foo:bar` as JSON: JSON5: invalid character \'b\' at 1:6',
397395
'should report'
398396
);
399397
});

0 commit comments

Comments
 (0)
Please sign in to comment.