markdown-link-check
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "markdown-link-check", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "checks the all of the hyperlinks in a markdown text to determine if they are alive or dead", | ||
@@ -36,4 +36,4 @@ "bin": { | ||
"commander": "^2.9.0", | ||
"link-check": "^2.0.1", | ||
"markdown-link-extractor": "^1.0.0", | ||
"link-check": "^2.0.2", | ||
"markdown-link-extractor": "^1.1.0", | ||
"request": "^2.72.0", | ||
@@ -46,3 +46,3 @@ "lodash": "^4.13.1" | ||
"jshint": "^2.9.2", | ||
"express": "^4.13.4" | ||
"express": "^4.14.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "jshintConfig": { |
@@ -30,2 +30,9 @@ 'use strict'; | ||
}); | ||
app.get('/hello.jpg', function (req, res) { | ||
res.sendFile('hello.jpg', { | ||
root: __dirname, | ||
dotfiles: 'deny' | ||
}); | ||
}); | ||
@@ -47,3 +54,3 @@ var server = http.createServer(app); | ||
expect(results).to.be.an('array'); | ||
expect(results.length).to.be(5); | ||
expect(results.length).to.be(6); | ||
@@ -65,2 +72,5 @@ expect(results[0].statusCode).to.be(200); | ||
expect(results[5].statusCode).to.be(200); | ||
expect(results[5].status).to.be('alive'); | ||
done(); | ||
@@ -67,0 +77,0 @@ }); |
@@ -10,1 +10,3 @@ # Sample | ||
* [redirect](%%BASE_URL%%/foo/redirect) (alive) | ||
![img](%%BASE_URL%%/hello.jpg) (alive) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28022
11
68
7
Updatedlink-check@^2.0.2