markdown-link-check
Advanced tools
Comparing version 3.5.1 to 3.5.2
# Changes | ||
## Version 3.5.2 | ||
* support for parentheses in URLs | ||
## Version 3.5.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "markdown-link-check", | ||
"version": "3.5.1", | ||
"version": "3.5.2", | ||
"description": "checks the all of the hyperlinks in a markdown text to determine if they are alive or dead", | ||
@@ -37,3 +37,3 @@ "bin": { | ||
"link-check": "^4.4.1", | ||
"markdown-link-extractor": "^1.1.1", | ||
"markdown-link-extractor": "^1.1.2", | ||
"request": "^2.87.0", | ||
@@ -40,0 +40,0 @@ "lodash": "^4.17.10", |
@@ -51,2 +51,6 @@ 'use strict'; | ||
app.get('/foo\\(a=b.42\\).aspx', function (req, res) { | ||
res.json({a:'b'}); | ||
}); | ||
var server = http.createServer(app); | ||
@@ -159,2 +163,13 @@ server.listen(0 /* random open port */, 'localhost', function serverListen(err) { | ||
}); | ||
it('should handle links with parens', function (done) { | ||
markdownLinkCheck('[test](' + baseUrl + '/foo\(a=b.42\).aspx)', function (err, results) { | ||
expect(err).to.be(null); | ||
expect(results).to.be.an('array'); | ||
expect(results).to.have.length(1); | ||
expect(results[0].statusCode).to.be(200); | ||
expect(results[0].status).to.be('alive'); | ||
done(); | ||
}); | ||
}); | ||
}); |
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
39460
195