Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

markdown-link-check

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-link-check - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

4

CHANGELOG.md
# Changes
## Version 3.5.2
* support for parentheses in URLs
## Version 3.5.1

@@ -4,0 +8,0 @@

4

package.json
{
"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();
});
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc