From 4c0f0394f047bc598cdcbcd43fb7e8b8945fc369 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 14:27:13 +0000 Subject: [PATCH 1/2] Bump html-proofer from 3.19.4 to 5.0.10 Bumps [html-proofer](https://github.com/gjtorikian/html-proofer) from 3.19.4 to 5.0.10. - [Release notes](https://github.com/gjtorikian/html-proofer/releases) - [Changelog](https://github.com/gjtorikian/html-proofer/blob/main/CHANGELOG.md) - [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.19.4...v5.0.10) --- updated-dependencies: - dependency-name: html-proofer dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 46 ++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 41 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 07f3d95..3a7d245 100644 --- a/Gemfile +++ b/Gemfile @@ -2,4 +2,4 @@ source "https://rubygems.org" ruby '>= 3.1', '< 3.2' -gem "html-proofer", "~> 3.19" +gem "html-proofer", "~> 5.0" diff --git a/Gemfile.lock b/Gemfile.lock index 7bced46..8fdf7c4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,37 +1,71 @@ GEM remote: https://rubygems.org/ specs: + Ascii85 (2.0.1) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) + afm (0.2.2) + async (2.23.0) + console (~> 1.29) + fiber-annotation + io-event (~> 1.9) + metrics (~> 0.12) + traces (~> 0.15) + bigdecimal (3.1.9) + console (1.29.3) + fiber-annotation + fiber-local (~> 1.1) + json ethon (0.16.0) ffi (>= 1.15.0) ffi (1.17.1) + ffi (1.17.1-aarch64-linux-gnu) ffi (1.17.1-arm64-darwin) ffi (1.17.1-x86_64-darwin) - html-proofer (3.19.4) + fiber-annotation (0.2.0) + fiber-local (1.1.0) + fiber-storage + fiber-storage (1.0.0) + hashery (2.1.2) + html-proofer (5.0.10) addressable (~> 2.3) - mercenary (~> 0.3) + async (~> 2.1) nokogiri (~> 1.13) - parallel (~> 1.10) + pdf-reader (~> 2.11) rainbow (~> 3.0) typhoeus (~> 1.3) yell (~> 2.0) - mercenary (0.4.0) + zeitwerk (~> 2.5) + io-event (1.9.0) + json (2.10.1) + metrics (0.12.1) mini_portile2 (2.8.8) nokogiri (1.18.3) mini_portile2 (~> 2.8.2) racc (~> 1.4) + nokogiri (1.18.3-aarch64-linux-gnu) + racc (~> 1.4) nokogiri (1.18.3-arm64-darwin) racc (~> 1.4) nokogiri (1.18.3-x86_64-darwin) racc (~> 1.4) - parallel (1.26.3) + pdf-reader (2.14.1) + Ascii85 (>= 1.0, < 3.0, != 2.0.0) + afm (~> 0.2.1) + hashery (~> 2.0) + ruby-rc4 + ttfunk public_suffix (6.0.1) racc (1.8.1) rainbow (3.1.1) + ruby-rc4 (0.1.5) + traces (0.15.2) + ttfunk (1.8.0) + bigdecimal (~> 3.1) typhoeus (1.4.1) ethon (>= 0.9.0) yell (2.2.2) + zeitwerk (2.6.18) PLATFORMS aarch64-linux @@ -40,7 +74,7 @@ PLATFORMS x86_64-darwin DEPENDENCIES - html-proofer (~> 3.19) + html-proofer (~> 5.0) RUBY VERSION ruby 3.1.2p20 From b32d0d8cf27bca4bd998dd8e8a4640c44f45c396 Mon Sep 17 00:00:00 2001 From: Alessandro Lai Date: Thu, 27 Feb 2025 15:41:29 +0100 Subject: [PATCH 2/2] Update HTMLProofer invocation to v5 format --- Gemfile.lock | 4 ++-- bin/html-proofer.sh | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8fdf7c4..1db3704 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -19,7 +19,7 @@ GEM ethon (0.16.0) ffi (>= 1.15.0) ffi (1.17.1) - ffi (1.17.1-aarch64-linux-gnu) + ffi (1.17.1-aarch64-linux) ffi (1.17.1-arm64-darwin) ffi (1.17.1-x86_64-darwin) fiber-annotation (0.2.0) @@ -43,7 +43,7 @@ GEM nokogiri (1.18.3) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.3-aarch64-linux-gnu) + nokogiri (1.18.3-aarch64-linux) racc (~> 1.4) nokogiri (1.18.3-arm64-darwin) racc (~> 1.4) diff --git a/bin/html-proofer.sh b/bin/html-proofer.sh index a7d2c71..298556a 100755 --- a/bin/html-proofer.sh +++ b/bin/html-proofer.sh @@ -7,8 +7,6 @@ bundle config set path '.bundle' bundle install bundle exec htmlproofer output_dev \ - --check-html \ - --check-img-http \ - --check-opengraph \ + --checks html,images,links,opengraph,scripts \ --disable-external \ - --url-ignore 'foo-meta.md#errata-1-foo' + --ignore-urls 'foo-meta.md#errata-1-foo'