From 38bbdf7374f571e01f6ab8881b875cee5488df2d Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Sun, 10 Mar 2024 22:08:53 +0100 Subject: [PATCH 1/6] Bump node in CI --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24bf692a..512752b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,9 @@ jobs: fail-fast: false matrix: node-version: - - 14 - - 16 - 18 - - 19 + - 20 + - 21 steps: - uses: actions/checkout@v3 From 3d64967e2943fd212255ae17c17e5b186f56c7ee Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Sun, 10 Mar 2024 22:11:00 +0100 Subject: [PATCH 2/6] Bump node for release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5be458df..9a278121 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' registry-url: 'https://registry.npmjs.org' - run: npm install - run: npm publish From fcdbb5f9f594a1bac10357878949fd12222b538b Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Sun, 10 Mar 2024 22:16:50 +0100 Subject: [PATCH 3/6] Set `ipv4first` for tests in CI --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24bf692a..1f1538ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ jobs: - 18 - 19 + env: + NODE_OPTIONS: '--dns-result-order=ipv4first' steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} From 641b837e7d4daf7810e4fdcbed84c8b020852e22 Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Mon, 11 Mar 2024 14:27:54 +0000 Subject: [PATCH 4/6] fix: fix crash #297 --- markdown-link-check | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/markdown-link-check b/markdown-link-check index 9f0990d3..32303a7b 100755 --- a/markdown-link-check +++ b/markdown-link-check @@ -64,6 +64,8 @@ function getInputs() { } } + const { ignore } = program.opts(); + for (const filenameOrUrl of filenamesOrUrls) { filenameForOutput = filenameOrUrl; let baseUrl = ''; @@ -94,7 +96,7 @@ function getInputs() { // skip paths given if it includes a path to ignore. // todo: allow ignore paths to be glob or regex instead of just includes? - if (program.opts().ignore.some((ignorePath) => resolved.includes(ignorePath))) { + if (ignore && ignore.some((ignorePath) => resolved.includes(ignorePath))) { continue; } From a069e7d493182f9f53ca9b53565864c53369917a Mon Sep 17 00:00:00 2001 From: Thomas Cort Date: Mon, 11 Mar 2024 10:38:54 -0400 Subject: [PATCH 5/6] chore(CHANGELOG): prepare for new release --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58920b25..6a3daa3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Changes -## Version 3.12 +## Version 3.12.1 + +- fix: fix crash #297 @CanadaHonk +- Set `ipv4first` for tests in CI @dklimpel +- Bump node for release @dklimpel + +## Version 3.12.0 - feat: add basic ignore subpaths argument @CanadaHonk - feat: add global option to replacementPatterns @CanadaHonk From c8c394cb9505893d7c8b91dc3c492801824331d9 Mon Sep 17 00:00:00 2001 From: Thomas Cort Date: Mon, 11 Mar 2024 10:39:00 -0400 Subject: [PATCH 6/6] 3.12.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f0318d74..2e6d5656 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "markdown-link-check", - "version": "3.12.0", + "version": "3.12.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "markdown-link-check", - "version": "3.12.0", + "version": "3.12.1", "license": "ISC", "dependencies": { "async": "^3.2.5", diff --git a/package.json b/package.json index 37e59f5c..3e5d33c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdown-link-check", - "version": "3.12.0", + "version": "3.12.1", "description": "checks the all of the hyperlinks in a markdown text to determine if they are alive or dead", "bin": { "markdown-link-check": "markdown-link-check"