From 3792f380b803b4d6652644971ce72abd31cb22c8 Mon Sep 17 00:00:00 2001 From: nvuillam Date: Sat, 9 Nov 2024 22:51:45 +0100 Subject: [PATCH] Downgrade markdown-links-check https://github.com/tcort/markdown-link-check/issues/369 --- Dockerfile | 2 +- flavors/c_cpp/Dockerfile | 2 +- flavors/cupcake/Dockerfile | 2 +- flavors/documentation/Dockerfile | 2 +- flavors/dotnet/Dockerfile | 2 +- flavors/dotnetweb/Dockerfile | 2 +- flavors/go/Dockerfile | 2 +- flavors/java/Dockerfile | 2 +- flavors/javascript/Dockerfile | 2 +- flavors/php/Dockerfile | 2 +- flavors/python/Dockerfile | 2 +- flavors/ruby/Dockerfile | 2 +- flavors/rust/Dockerfile | 2 +- flavors/salesforce/Dockerfile | 2 +- flavors/swift/Dockerfile | 2 +- flavors/terraform/Dockerfile | 2 +- linters/markdown_markdown_link_check/Dockerfile | 2 +- megalinter/descriptors/markdown.megalinter-descriptor.yml | 4 +++- 18 files changed, 20 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index d02f879c261..f98d5b931e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -308,7 +308,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ eslint-plugin-react \ eslint-plugin-jsx-a11y \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/c_cpp/Dockerfile b/flavors/c_cpp/Dockerfile index 02ef7a6381a..8f4522c1110 100644 --- a/flavors/c_cpp/Dockerfile +++ b/flavors/c_cpp/Dockerfile @@ -193,7 +193,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/cupcake/Dockerfile b/flavors/cupcake/Dockerfile index 400ea6a8b22..43e38c8f2a6 100644 --- a/flavors/cupcake/Dockerfile +++ b/flavors/cupcake/Dockerfile @@ -257,7 +257,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ eslint-plugin-react \ eslint-plugin-jsx-a11y \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/documentation/Dockerfile b/flavors/documentation/Dockerfile index d028a7a5e92..9a4a12b0c86 100644 --- a/flavors/documentation/Dockerfile +++ b/flavors/documentation/Dockerfile @@ -190,7 +190,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/dotnet/Dockerfile b/flavors/dotnet/Dockerfile index f574cd80022..8ae63d02f36 100644 --- a/flavors/dotnet/Dockerfile +++ b/flavors/dotnet/Dockerfile @@ -204,7 +204,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ npm-package-json-lint \ npm-package-json-lint-config-default \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/dotnetweb/Dockerfile b/flavors/dotnetweb/Dockerfile index 41f8c15e2eb..1c223ed83bb 100644 --- a/flavors/dotnetweb/Dockerfile +++ b/flavors/dotnetweb/Dockerfile @@ -222,7 +222,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ eslint-plugin-react \ eslint-plugin-jsx-a11y \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/go/Dockerfile b/flavors/go/Dockerfile index 285a949c3e9..ee88f1d420c 100644 --- a/flavors/go/Dockerfile +++ b/flavors/go/Dockerfile @@ -198,7 +198,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/java/Dockerfile b/flavors/java/Dockerfile index ae2fae04cd5..5dc8ec080ad 100644 --- a/flavors/java/Dockerfile +++ b/flavors/java/Dockerfile @@ -193,7 +193,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/javascript/Dockerfile b/flavors/javascript/Dockerfile index 04e16ee03e2..cd9b9d8d666 100644 --- a/flavors/javascript/Dockerfile +++ b/flavors/javascript/Dockerfile @@ -210,7 +210,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ eslint-plugin-react \ eslint-plugin-jsx-a11y \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/php/Dockerfile b/flavors/php/Dockerfile index 8c65232e040..d787063c089 100644 --- a/flavors/php/Dockerfile +++ b/flavors/php/Dockerfile @@ -204,7 +204,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/python/Dockerfile b/flavors/python/Dockerfile index 9e0aea788a0..0ed50c3d88b 100644 --- a/flavors/python/Dockerfile +++ b/flavors/python/Dockerfile @@ -202,7 +202,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/ruby/Dockerfile b/flavors/ruby/Dockerfile index 747652a6785..7a35d02175a 100644 --- a/flavors/ruby/Dockerfile +++ b/flavors/ruby/Dockerfile @@ -194,7 +194,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/rust/Dockerfile b/flavors/rust/Dockerfile index bd7712b0738..e1150402ba8 100644 --- a/flavors/rust/Dockerfile +++ b/flavors/rust/Dockerfile @@ -190,7 +190,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/salesforce/Dockerfile b/flavors/salesforce/Dockerfile index f8d39f95c9d..7ed78e1c61f 100644 --- a/flavors/salesforce/Dockerfile +++ b/flavors/salesforce/Dockerfile @@ -203,7 +203,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ npm-package-json-lint \ npm-package-json-lint-config-default \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/swift/Dockerfile b/flavors/swift/Dockerfile index 499717f8715..1661d6f0a07 100644 --- a/flavors/swift/Dockerfile +++ b/flavors/swift/Dockerfile @@ -192,7 +192,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/flavors/terraform/Dockerfile b/flavors/terraform/Dockerfile index 4874929e2f4..83cd5fc375a 100644 --- a/flavors/terraform/Dockerfile +++ b/flavors/terraform/Dockerfile @@ -204,7 +204,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r \ prettier \ markdownlint-cli \ - markdown-link-check \ + markdown-link-check@3.12.2 \ markdown-table-formatter \ @ls-lint/ls-lint \ secretlint \ diff --git a/linters/markdown_markdown_link_check/Dockerfile b/linters/markdown_markdown_link_check/Dockerfile index 8503bcc3138..0e35e767f85 100644 --- a/linters/markdown_markdown_link_check/Dockerfile +++ b/linters/markdown_markdown_link_check/Dockerfile @@ -115,7 +115,7 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \ #NPM__START WORKDIR /node-deps RUN npm --no-cache install --ignore-scripts --omit=dev \ - markdown-link-check && \ + markdown-link-check@3.12.2 && \ echo "Cleaning npm cache…" \ && npm cache clean --force || true \ && echo "Changing owner of node_modules files…" \ diff --git a/megalinter/descriptors/markdown.megalinter-descriptor.yml b/megalinter/descriptors/markdown.megalinter-descriptor.yml index 26947e0d3ed..4788a96e4c8 100644 --- a/megalinter/descriptors/markdown.megalinter-descriptor.yml +++ b/megalinter/descriptors/markdown.megalinter-descriptor.yml @@ -116,9 +116,11 @@ linters: examples: - "markdown-link-check myfile.md" - "markdown-link-check -c .markdown-link-check.json myfile.md" + downgraded_version: true + downgraded_reason: https://github.com/tcort/markdown-link-check/issues/369 install: npm: - - markdown-link-check + - markdown-link-check@3.12.2 # Markdown table formatter - linter_name: markdown-table-formatter is_formatter: true