Skip to content

Commit

Permalink
Merge pull request #332 from dklimpel/remove_lodash
Browse files Browse the repository at this point in the history
chore(deps): remove lodash
  • Loading branch information
tcort authored Nov 5, 2024
2 parents 4493452 + ef48fcc commit 2ae1694
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';

const _ = require('lodash');
const async = require('async');
const linkCheck = require('link-check');
const LinkCheckResult = require('link-check').LinkCheckResult;
Expand Down Expand Up @@ -108,7 +107,7 @@ module.exports = function markdownLinkCheck(markdown, opts, callback) {

const links = markdownLinkExtractor(markdown);
const sections = extractSections(markdown);
const linksCollection = _.uniq(links);
const linksCollection = [...new Set(links)]
const bar = (opts.showProgressBar) ?
new ProgressBar('Checking... [:bar] :percent', {
complete: '=',
Expand Down
11 changes: 0 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"chalk": "^5.3.0",
"commander": "^12.1.0",
"link-check": "^5.3.0",
"lodash": "^4.17.21",
"markdown-link-extractor": "^4.0.2",
"needle": "^3.3.1",
"progress": "^2.0.3",
Expand Down

0 comments on commit 2ae1694

Please sign in to comment.