mirror of
https://github.com/tcort/markdown-link-check.git
synced 2024-09-11 06:45:29 +03:00
chore(package): upgrade dependencies
This commit is contained in:
parent
7e159ea350
commit
2eb21a170f
4
index.js
4
index.js
@ -61,7 +61,7 @@ module.exports = function markdownLinkCheck(markdown, opts, callback) {
|
||||
}, markdown);
|
||||
}
|
||||
|
||||
const { links, anchors } = markdownLinkExtractor(markdown);
|
||||
const links = markdownLinkExtractor(markdown);
|
||||
const linksCollection = _.uniq(links);
|
||||
const bar = (opts.showProgressBar) ?
|
||||
new ProgressBar('Checking... [:bar] :percent', {
|
||||
@ -71,8 +71,6 @@ module.exports = function markdownLinkCheck(markdown, opts, callback) {
|
||||
total: linksCollection.length
|
||||
}) : undefined;
|
||||
|
||||
opts.anchors = anchors;
|
||||
|
||||
async.mapLimit(linksCollection, 2, function (link, callback) {
|
||||
if (opts.ignorePatterns) {
|
||||
const shouldIgnore = opts.ignorePatterns.some(function(ignorePattern) {
|
||||
|
859
package-lock.json
generated
859
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@ -33,20 +33,20 @@
|
||||
"markdown-link-check"
|
||||
],
|
||||
"dependencies": {
|
||||
"async": "^3.2.4",
|
||||
"async": "^3.2.5",
|
||||
"chalk": "^5.2.0",
|
||||
"commander": "^10.0.1",
|
||||
"link-check": "^5.2.0",
|
||||
"link-check": "^5.3.0",
|
||||
"lodash": "^4.17.21",
|
||||
"markdown-link-extractor": "^3.1.0",
|
||||
"markdown-link-extractor": "^4.0.2",
|
||||
"needle": "^3.3.1",
|
||||
"progress": "^2.0.3",
|
||||
"proxy-agent": "^6.3.1"
|
||||
"proxy-agent": "^6.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.39.0",
|
||||
"eslint": "^8.57.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"express": "^4.18.2",
|
||||
"mocha": "^10.2.0"
|
||||
"express": "^4.18.3",
|
||||
"mocha": "^10.3.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user