diff --git a/.eslintignore b/.eslintignore index bf6788c..baa9853 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,3 +3,4 @@ demo/ dist/ node_modules support/demo_template/sample.js +benchmark/implementations/markdown-it-2.2.1* diff --git a/lib/rules_core/linkify.js b/lib/rules_core/linkify.js index 8112b12..386541a 100644 --- a/lib/rules_core/linkify.js +++ b/lib/rules_core/linkify.js @@ -29,7 +29,7 @@ function createLinkifier() { url: true, email: true, twitter: false, - replaceFn: function (autolinker, match) { + replaceFn: function (__, match) { // Only collect matched strings but don't change anything. switch (match.getType()) { /*eslint default-case:0*/ diff --git a/package.json b/package.json index a3881e3..cc627dc 100644 --- a/package.json +++ b/package.json @@ -23,20 +23,20 @@ "test": "make test" }, "dependencies": { - "argparse": "~ 0.1.15", - "autolinker": "~ 0.15.0" + "argparse": "~ 0.1.16", + "autolinker": "~ 0.15.2" }, "devDependencies": { - "ansi": "^0.3.0", - "autoprefixer-stylus": "^0.4.0", - "benchmark": "^1.0.0", + "ansi": "~0.3.0", + "autoprefixer-stylus": "~0.4.0", + "benchmark": "~1.0.0", "browserify": "*", - "commonmark": "0.12.0", - "coveralls": "^2.11.2", - "eslint": "0.10.2", + "commonmark": "~ 0.15.0", + "coveralls": "~2.11.2", + "eslint": "0.11.0", "eslint-plugin-nodeca": "^1.0.0", "istanbul": "*", - "jade": "^1.6.0", + "jade": "~1.8.2", "markdown-it-abbr": "~ 0.1.0", "markdown-it-deflist": "~ 0.1.0", "markdown-it-emoji": "~ 0.1.3", @@ -47,7 +47,7 @@ "markdown-it-sup": "~ 0.1.0", "markdown-it-testgen": "~ 0.1.0", "marked": "0.3.2", - "stylus": "^0.49.1", + "stylus": "~0.49.3", "mocha": "*", "uglify-js": "*" }