diff --git a/package.json b/package.json index 926f093..3084d2c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "mdast" ], "dependencies": { - "github-url-to-object": "^1.5.2", + "github-url-to-object": "^2.1.0", "mdast-slug": "^2.0.0", "mdast-util-definitions": "^1.0.0", "unist-util-visit": "^1.0.0", @@ -27,10 +27,10 @@ "devDependencies": { "cept": "^1.0.0", "eslint": "^1.0.0", - "istanbul": "^0.3.0", + "istanbul": "^0.4.0", "jscs": "^2.0.0", "jscs-jsdoc": "^1.0.0", - "mdast": "^1.0.0", + "mdast": "^2.2.2", "mdast-comment-config": "^1.0.0", "mdast-github": "^1.0.0", "mdast-toc": "^1.0.0", diff --git a/test/index.js b/test/index.js index a7d6aba..f7f4439 100644 --- a/test/index.js +++ b/test/index.js @@ -143,12 +143,12 @@ describe('mdast-validate-links', function () { equal(res.out, ''); equal(res.err, [ - 'definitions.md', - ' 5:12-5:21 warning Link to unknown heading: `world`', - '', 'FOOOO', ' 1:1 error No such file or directory', '', + 'definitions.md', + ' 5:12-5:21 warning Link to unknown heading: `world`', + '', '2 messages (✖ 1 error, ⚠ 1 warning)' ].join('\n'));