This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch chore/build-maintenance in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 9d957c71f8664c3c96b8e9e5294976091afad862 Author: Claus Ibsen <[email protected]> AuthorDate: Sun Nov 29 13:38:05 2026 +0100 chore: upgrade Hugo from 0.121.2 to 0.169.0 - getJSON was removed: fetch the GitHub and Jira APIs through a new partials/remote-json.html, built on resources.GetRemote and try. A 404 still yields nothing; any other failure (a rate limit) fails the build with a message pointing at GITHUB_TOKEN. The Authorization header is only sent when a token is configured, so a build without one gets the anonymous limit instead of a 403 for empty Basic credentials. - caches.getjson/getcsv no longer exist; use caches.getresource. - languageCode -> locale, .Site.Data -> hugo.Data, .Param "date" -> .Date. - Taxonomy .Name is now the normalised lower-case term, which broke the blog rail's category links (/categories/ai/ vs the generated /categories/AI/). Use the term page's RelPermalink and Title. - Hugo now decodes images by extension: rename four featured images whose content did not match (a WebP and three PNGs named .jpg). Refs #1882 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y4dDj46SB6GniXf8mX2U6 --- config.toml | 10 +- .../{featured.jpg => featured.png} | Bin .../{featured.jpg => featured.png} | Bin .../{featured.jpg => featured.png} | Bin .../12/camel-k-2-9/{featured.jpg => featured.webp} | Bin layouts/blog/post.html | 8 +- layouts/blog/summary.html | 8 +- layouts/community/list.html | 2 +- layouts/docs/list.html | 4 +- layouts/download/list.html | 2 +- layouts/index.html | 6 +- layouts/partials/blog-rail.html | 9 +- layouts/partials/download/rows.html | 4 +- layouts/partials/footer.html | 14 +- layouts/partials/header.html | 8 +- layouts/partials/releases/camel-k-runtime.html | 10 +- layouts/partials/releases/camel-k.html | 10 +- .../partials/releases/camel-kafka-connector.html | 10 +- layouts/partials/releases/camel-kamelets.html | 2 +- layouts/partials/releases/camel-karaf.html | 10 +- layouts/partials/releases/camel-quarkus.html | 10 +- .../partials/releases/camel-upgrade-recipes.html | 2 +- layouts/partials/releases/camel.html | 4 +- layouts/partials/remote-json.html | 39 ++++ layouts/projects/list.html | 6 +- layouts/releases/list.html | 4 +- layouts/shortcodes/icon.html | 2 +- layouts/tooling/list.html | 2 +- package.json | 2 +- yarn.lock | 259 ++------------------- 30 files changed, 115 insertions(+), 332 deletions(-) diff --git a/config.toml b/config.toml index d2c3f0bd..922b9eab 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ baseURL = "https://camel.apache.org/" -languageCode = "en-us" +locale = "en-us" title = "Apache Camel" relativeURLs = true disablePathToLower = true @@ -29,11 +29,9 @@ defaultMarkdownHandler = "goldmark" [caches] - [caches.getjson] - dir = ":cacheDir/:project" - maxAge = "12h" - - [caches.getcsv] + # Responses of resources.GetRemote (GitHub and Jira APIs used by the + # blog author names and the release notes). + [caches.getresource] dir = ":cacheDir/:project" maxAge = "12h" diff --git a/content/blog/2020/07/ApacheCon-2020-at-home/featured.jpg b/content/blog/2020/07/ApacheCon-2020-at-home/featured.png similarity index 100% rename from content/blog/2020/07/ApacheCon-2020-at-home/featured.jpg rename to content/blog/2020/07/ApacheCon-2020-at-home/featured.png diff --git a/content/blog/2020/09/ApacheCon-at-Home-starts/featured.jpg b/content/blog/2020/09/ApacheCon-at-Home-starts/featured.png similarity index 100% rename from content/blog/2020/09/ApacheCon-at-Home-starts/featured.jpg rename to content/blog/2020/09/ApacheCon-at-Home-starts/featured.png diff --git a/content/blog/2020/10/ApacheCon-at-Home-videos/featured.jpg b/content/blog/2020/10/ApacheCon-at-Home-videos/featured.png similarity index 100% rename from content/blog/2020/10/ApacheCon-at-Home-videos/featured.jpg rename to content/blog/2020/10/ApacheCon-at-Home-videos/featured.png diff --git a/content/blog/2025/12/camel-k-2-9/featured.jpg b/content/blog/2025/12/camel-k-2-9/featured.webp similarity index 100% rename from content/blog/2025/12/camel-k-2-9/featured.jpg rename to content/blog/2025/12/camel-k-2-9/featured.webp diff --git a/layouts/blog/post.html b/layouts/blog/post.html index 2555479d..5774aa4f 100644 --- a/layouts/blog/post.html +++ b/layouts/blog/post.html @@ -16,13 +16,7 @@ <aside class="post-rail" aria-label="Post details"> <div class="post-authors"> {{ range $author := .Params.authors }} - {{ $headers := dict }} - {{ with os.Getenv "GITHUB_TOKEN" }} - {{ $headers = dict "Authorization" (printf "Bearer %s" .) }} - {{ else }} - {{ $headers = dict "Authorization" (printf "Basic %s" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} - {{ end }} - {{ with getJSON "https://api.github.com/users/" $author $headers }} + {{ with partial "remote-json.html" (print "https://api.github.com/users/" $author) }} <div class="post-author"> <img class="post-avatar" src="{{ .avatar_url }}" alt=""> <div class="post-author-name">{{ .name | default .login }}</div> diff --git a/layouts/blog/summary.html b/layouts/blog/summary.html index 89020faa..62f1c903 100644 --- a/layouts/blog/summary.html +++ b/layouts/blog/summary.html @@ -16,13 +16,7 @@ <p class="blog-post-summary">{{ with .Params.preview }}{{ . | truncate 180 }}{{ else }}{{ $.Summary | plainify | truncate 180 }}{{ end }}</p> <div class="blog-post-meta"> <span>by - {{ $headers := dict }} - {{ with os.Getenv "GITHUB_TOKEN" }} - {{ $headers = dict "Authorization" (printf "Bearer %s" .) }} - {{ else }} - {{ $headers = dict "Authorization" (printf "Basic %s" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} - {{ end }} - {{ range $idx, $author := .Params.authors }}{{ if gt $idx 0 }}, {{ end }}<span rel="author">{{ with getJSON "https://api.github.com/users/" $author $headers }}{{ .name | default .login }}{{ end }}</span>{{ end }}</span> + {{ range $idx, $author := .Params.authors }}{{ if gt $idx 0 }}, {{ end }}<span rel="author">{{ with partial "remote-json.html" (print "https://api.github.com/users/" $author) }}{{ .name | default .login }}{{ end }}</span>{{ end }}</span> {{/* Show the length up front so readers can pick a post that fits their time (#1870). */}} <span>{{ .ReadingTime }} min read</span> </div> diff --git a/layouts/community/list.html b/layouts/community/list.html index c92b318a..4367ca83 100644 --- a/layouts/community/list.html +++ b/layouts/community/list.html @@ -1,5 +1,5 @@ {{ partial "header.html" . }} -{{- $data := .Site.Data.community }} +{{- $data := hugo.Data.community }} <div class="body"> <main> diff --git a/layouts/docs/list.html b/layouts/docs/list.html index aa74eb7f..afacca1f 100644 --- a/layouts/docs/list.html +++ b/layouts/docs/list.html @@ -1,5 +1,5 @@ {{ partial "header.html" . }} -{{- $data := index site.Data "docs-projects" }} +{{- $data := index hugo.Data "docs-projects" }} <div class="body"> <main> @@ -48,7 +48,7 @@ {{- $p := . }} <li class="card docs-project-card"> <div class="docs-project-card-head"> - <img class="docs-project-card-icon" alt="" src="{{ path.Join "_" (index site.Data "rev-manifest" (printf "img/%s.svg" .icon)) | relURL }}"> + <img class="docs-project-card-icon" alt="" src="{{ path.Join "_" (index hugo.Data "rev-manifest" (printf "img/%s.svg" .icon)) | relURL }}"> <h3 class="docs-project-card-title">{{ .name }}</h3> </div> <p class="docs-project-card-desc">{{ .desc }}</p> diff --git a/layouts/download/list.html b/layouts/download/list.html index 8c02ff4c..72d9d48d 100644 --- a/layouts/download/list.html +++ b/layouts/download/list.html @@ -25,7 +25,7 @@ <h2 class="section-label">Supported releases</h2> - {{ range sort (index site.Data "release-categories") "order" }} + {{ range sort (index hugo.Data "release-categories") "order" }} {{ partial "download/rows.html" (dict "Category" . "Pages" site.Pages) }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html index ae7aeb5a..699dd9d8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ {{ partial "header.html" . }} -{{- $home := .Site.Data.home }} +{{- $home := hugo.Data.home }} <main class="home"> @@ -10,7 +10,7 @@ the h1 already names the page. */}} {{- with $home.hero }} <div class="home-lead"> - <img class="home-hero-art" src="{{ path.Join "_" (index site.Data "rev-manifest" "img/logo-d.svg") | relURL }}" alt="" aria-hidden="true"> + <img class="home-hero-art" src="{{ path.Join "_" (index hugo.Data "rev-manifest" "img/logo-d.svg") | relURL }}" alt="" aria-hidden="true"> <section class="home-hero" aria-label="Apache Camel"> <p class="home-hero-badge">{{ .eyebrow }}</p> <h1>{{ .title }}</h1> @@ -196,7 +196,7 @@ <li class="home-card home-tile"> <div class="home-tile-head"> <img class="home-tile-icon" alt="" - src="{{ path.Join "_" (index site.Data "rev-manifest" (printf "img/%s.svg" .icon)) | relURL }}"> + src="{{ path.Join "_" (index hugo.Data "rev-manifest" (printf "img/%s.svg" .icon)) | relURL }}"> <h3>{{ .name }}</h3> </div> <p>{{ .description }}</p> diff --git a/layouts/partials/blog-rail.html b/layouts/partials/blog-rail.html index ee04721c..e2ccf4f0 100644 --- a/layouts/partials/blog-rail.html +++ b/layouts/partials/blog-rail.html @@ -2,7 +2,7 @@ from data/blog-picks.yaml, categories (marking the current one on a category page) and the RSS link. Called with the page as context. */ -}} <aside class="blog-rail" aria-label="Blog navigation"> - {{ with (index .Site.Data "blog-picks").picks }} + {{ with (index hugo.Data "blog-picks").picks }} <div class="blog-rail-eyebrow">Start here</div> <div class="blog-picks"> {{ range . }} @@ -17,13 +17,14 @@ {{ end }} <div class="blog-rail-eyebrow">Categories</div> <div class="blog-categories"> + {{/* .Page, not .Name: since Hugo 0.123 .Name is the normalised (lower-case) term, while the term pages keep their case (disablePathToLower). */}} {{ range .Site.Taxonomies.categories.Alphabetical }} - <a class="blog-category{{ if eq .Page.RelPermalink $.RelPermalink }} is-current{{ end }}" href="{{ "/categories/" | relURL }}{{ .Name | urlize }}/"> - <span>{{ .Name }}</span><span class="blog-category-count">{{ .Count }}</span> + <a class="blog-category{{ if eq .Page.RelPermalink $.RelPermalink }} is-current{{ end }}" href="{{ .Page.RelPermalink }}"> + <span>{{ .Page.Title }}</span><span class="blog-category-count">{{ .Count }}</span> </a> {{ end }} </div> <a class="blog-rss" href="{{ "blog/index.xml" | relURL }}" title="Subscribe to RSS Feed"> - <svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#rss" /></svg> RSS feed → + <svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index hugo.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#rss" /></svg> RSS feed → </a> </aside> diff --git a/layouts/partials/download/rows.html b/layouts/partials/download/rows.html index 9bec0881..baa542db 100644 --- a/layouts/partials/download/rows.html +++ b/layouts/partials/download/rows.html @@ -11,7 +11,7 @@ screen emit a completely different row shape (flat rows, no <table>, no rowspan) around the same underlying data. - Params: Category (a value from site.Data.release-categories), Pages (site.Pages) + Params: Category (a value from hugo.Data.release-categories), Pages (site.Pages) */}} {{ $category := .Category }} {{ $pages := .Pages }} @@ -111,7 +111,7 @@ <div class="download-row"> <div> <div class="download-row-project">{{ $category.name }}</div> - <div class="download-row-date">{{ ($release_note.Param "date").Format "Jan 2006" }}</div> + <div class="download-row-date">{{ $release_note.Date.Format "Jan 2006" }}</div> </div> <div class="download-row-version"> <span class="download-row-version-num">{{ $v }}</span> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c46c0886..ffe29ed9 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -14,9 +14,9 @@ <a href="#top" title="Reach the top of the page">Back to top</a> </div> <div class="footer"> - {{ $chrome := .Site.Data.chrome }} + {{ $chrome := hugo.Data.chrome }} <div class="footer-brand"> - <img class="footer-logo" src="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/logo-d.svg") | relURL }}" alt="Apache Camel Logo" + <img class="footer-logo" src="{{ path.Join "_" (index hugo.Data "rev-manifest" "img/logo-d.svg") | relURL }}" alt="Apache Camel Logo" aria-label="white silhouette of a camel in front of a sand dune"> <span class="footer-wordmark">{{ $chrome.brand.name }}</span> <p class="footer-blurb">{{ $chrome.brand.blurb }}</p> @@ -51,15 +51,15 @@ </div> <div class="footer-icons"> {{ range $chrome.social }} - <a href="{{ .url | relURL }}"{{ if .external }} rel="noopener noreferrer nofollow"{{ end }} title="{{ .title }}"><svg class="brand-icon" focusable="false"><use href="{{ path.Join "_" (index $.Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#{{ .icon }}" /></svg></a> + <a href="{{ .url | relURL }}"{{ if .external }} rel="noopener noreferrer nofollow"{{ end }} title="{{ .title }}"><svg class="brand-icon" focusable="false"><use href="{{ path.Join "_" (index hugo.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#{{ .icon }}" /></svg></a> {{ end }} </div> </div> </footer> - <script src="{{ path.Join "_" (index .Site.Data "rev-manifest" "js/vendor/docsearch.js") | relURL }}"></script> - <script src="{{ path.Join "_" (index .Site.Data "rev-manifest" "js/site.js") | relURL }}"></script> - <script async src="{{ path.Join "_" (index .Site.Data "rev-manifest" "js/vendor/highlight.js") | relURL }}"></script> - <script async src="{{ path.Join "_" (index .Site.Data "rev-manifest" "js/vendor/svg4everybody.js") | relURL }}"></script> + <script src="{{ path.Join "_" (index hugo.Data "rev-manifest" "js/vendor/docsearch.js") | relURL }}"></script> + <script src="{{ path.Join "_" (index hugo.Data "rev-manifest" "js/site.js") | relURL }}"></script> + <script async src="{{ path.Join "_" (index hugo.Data "rev-manifest" "js/vendor/highlight.js") | relURL }}"></script> + <script async src="{{ path.Join "_" (index hugo.Data "rev-manifest" "js/vendor/svg4everybody.js") | relURL }}"></script> {{ partial "seo/main" . }} </body> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index b0ca1d67..c6227de2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -50,8 +50,8 @@ {{ if .Keywords}} <meta name="keywords" content="{{ delimit .Keywords "," }}"> {{ end }} - <link rel="stylesheet" href="{{ path.Join "_" (index .Site.Data "rev-manifest" "css/vendor/docsearch.css") | relURL }}"> - <link rel="stylesheet" href="{{ path.Join "_" (index .Site.Data "rev-manifest" "css/site.css") | relURL }}"> + <link rel="stylesheet" href="{{ path.Join "_" (index hugo.Data "rev-manifest" "css/vendor/docsearch.css") | relURL }}"> + <link rel="stylesheet" href="{{ path.Join "_" (index hugo.Data "rev-manifest" "css/site.css") | relURL }}"> </head> <body class="{{ if .Page.IsHome }}homepage {{ end }}article"> @@ -61,7 +61,7 @@ <nav class="navbar" aria-label="Main menu"> <div class="navbar-inner"> <a class="navbar-brand" href="{{ .Site.BaseURL | relURL }}" title="{{ .Site.Title }}"> - <img class="navbar-logo" src="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/logo-d.svg") | relURL }}" alt=""> + <img class="navbar-logo" src="{{ path.Join "_" (index hugo.Data "rev-manifest" "img/logo-d.svg") | relURL }}" alt=""> <span class="navbar-wordmark">Apache Camel</span> </a> <div id="topbar-nav" class="navbar-menu"> @@ -73,7 +73,7 @@ <div class="navbar-search"> <div id="docsearch"></div> </div> - <a class="navbar-github" rel="noopener noreferrer nofollow" href="https://github.com/apache/camel/" title="Collaborate on GitHub"><svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index .Site.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#github" /></svg></a> + <a class="navbar-github" rel="noopener noreferrer nofollow" href="https://github.com/apache/camel/" title="Collaborate on GitHub"><svg focusable="false" class="brand-icon"><use href="{{ path.Join "_" (index hugo.Data "rev-manifest" "img/brand-logos.svg") | relURL }}#github" /></svg></a> <a class="button dark navbar-cta" href="{{ $ctaURL | relURL }}">{{ $ctaLabel }}</a> </div> <button class="navbar-burger" data-target="topbar-nav" type="button" aria-label="Menu"> diff --git a/layouts/partials/releases/camel-k-runtime.html b/layouts/partials/releases/camel-k-runtime.html index 42215530..024e2df6 100644 --- a/layouts/partials/releases/camel-k-runtime.html +++ b/layouts/partials/releases/camel-k-runtime.html @@ -1,4 +1,4 @@ -{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-k-runtime") "Pages" $.Site.Pages "Version" .Params.version) }} +{{ partial "releases/downloads.html" (dict "Category" (index (index hugo.Data "release-categories") "camel-k-runtime") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p> @@ -11,13 +11,7 @@ git checkout camel-k-runtime-parent-{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $headers := dict }} -{{ with os.Getenv "GITHUB_TOKEN" }} - {{ $headers = dict "Authorization" (printf "Bearer %s" .) }} -{{ else }} - {{ $headers = dict "Authorization" (printf "Basic %s" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} -{{ end }} -{{ $issues := getJSON "https://api.github.com/repos/apache/camel-k-runtime/issues?state=closed&milestone=" (string .Params.milestone ) $headers }} +{{ $issues := partial "remote-json.html" (print "https://api.github.com/repos/apache/camel-k-runtime/issues?state=closed&milestone=" (string .Params.milestone )) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/layouts/partials/releases/camel-k.html b/layouts/partials/releases/camel-k.html index 61da4a3e..b20d6130 100644 --- a/layouts/partials/releases/camel-k.html +++ b/layouts/partials/releases/camel-k.html @@ -1,4 +1,4 @@ -{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-k") "Pages" $.Site.Pages "Version" .Params.version) }} +{{ partial "releases/downloads.html" (dict "Category" (index (index hugo.Data "release-categories") "camel-k") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p> @@ -11,13 +11,7 @@ git checkout v{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $headers := dict }} -{{ with os.Getenv "GITHUB_TOKEN" }} - {{ $headers = dict "Authorization" (printf "Bearer %s" .) }} -{{ else }} - {{ $headers = dict "Authorization" (printf "Basic %s" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} -{{ end }} -{{ $issues := getJSON "https://api.github.com/repos/apache/camel-k/issues?state=closed&milestone=" (string .Params.milestone) $headers }} +{{ $issues := partial "remote-json.html" (print "https://api.github.com/repos/apache/camel-k/issues?state=closed&milestone=" (string .Params.milestone)) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/layouts/partials/releases/camel-kafka-connector.html b/layouts/partials/releases/camel-kafka-connector.html index 1f3d9516..2b62c955 100644 --- a/layouts/partials/releases/camel-kafka-connector.html +++ b/layouts/partials/releases/camel-kafka-connector.html @@ -11,7 +11,7 @@ distributes in source form </p> -{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-kafka-connector") "Pages" $.Site.Pages "Version" .Params.version) }} +{{ partial "releases/downloads.html" (dict "Category" (index (index hugo.Data "release-categories") "camel-kafka-connector") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p> @@ -26,13 +26,7 @@ git checkout camel-kafka-connector-{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $headers := dict }} -{{ with os.Getenv "GITHUB_TOKEN" }} - {{ $headers = dict "Authorization" (printf "Bearer %s" .) }} -{{ else }} - {{ $headers = dict "Authorization" (printf "Basic %s" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} -{{ end }} -{{ $issues := getJSON "https://api.github.com/repos/apache/camel-kafka-connector/issues?state=closed&labels=" (string .Params.version) $headers }} +{{ $issues := partial "remote-json.html" (print "https://api.github.com/repos/apache/camel-kafka-connector/issues?state=closed&labels=" (string .Params.version)) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/layouts/partials/releases/camel-kamelets.html b/layouts/partials/releases/camel-kamelets.html index 71ba3f48..6c25e5e9 100644 --- a/layouts/partials/releases/camel-kamelets.html +++ b/layouts/partials/releases/camel-kamelets.html @@ -1,4 +1,4 @@ -{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-kamelets") "Pages" $.Site.Pages "Version" .Params.version) }} +{{ partial "releases/downloads.html" (dict "Category" (index (index hugo.Data "release-categories") "camel-kamelets") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p> diff --git a/layouts/partials/releases/camel-karaf.html b/layouts/partials/releases/camel-karaf.html index aa583dff..12831410 100644 --- a/layouts/partials/releases/camel-karaf.html +++ b/layouts/partials/releases/camel-karaf.html @@ -1,4 +1,4 @@ -{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-karaf") "Pages" $.Site.Pages "Version" .Params.version) }} +{{ partial "releases/downloads.html" (dict "Category" (index (index hugo.Data "release-categories") "camel-karaf") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p> @@ -11,13 +11,7 @@ git checkout camel-karaf-{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $headers := dict }} -{{ with os.Getenv "GITHUB_TOKEN" }} - {{ $headers = dict "Authorization" (printf "Bearer %s" .) }} -{{ else }} - {{ $headers = dict "Authorization" (printf "Basic %s" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} -{{ end }} -{{ $issues := getJSON "https://api.github.com/repos/apache/camel-karaf/issues?state=closed&milestone=" (string .Params.milestone ) $headers }} +{{ $issues := partial "remote-json.html" (print "https://api.github.com/repos/apache/camel-karaf/issues?state=closed&milestone=" (string .Params.milestone )) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/layouts/partials/releases/camel-quarkus.html b/layouts/partials/releases/camel-quarkus.html index 074b8873..cc203ae9 100644 --- a/layouts/partials/releases/camel-quarkus.html +++ b/layouts/partials/releases/camel-quarkus.html @@ -1,4 +1,4 @@ -{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-quarkus") "Pages" $.Site.Pages "Version" .Params.version) }} +{{ partial "releases/downloads.html" (dict "Category" (index (index hugo.Data "release-categories") "camel-quarkus") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p> @@ -11,13 +11,7 @@ git checkout {{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $headers := dict }} -{{ with os.Getenv "GITHUB_TOKEN" }} - {{ $headers = dict "Authorization" (printf "Bearer %s" .) }} -{{ else }} - {{ $headers = dict "Authorization" (printf "Basic %s" (printf "%s:%s" $.Site.Params.GitHubUsername $.Site.Params.GitHubToken | base64Encode)) }} -{{ end }} -{{ $issues := getJSON "https://api.github.com/repos/apache/camel-quarkus/issues?state=closed&milestone=" (string .Params.milestone) $headers }} +{{ $issues := partial "remote-json.html" (print "https://api.github.com/repos/apache/camel-quarkus/issues?state=closed&milestone=" (string .Params.milestone)) }} <dl> {{ range $issues }} <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd> diff --git a/layouts/partials/releases/camel-upgrade-recipes.html b/layouts/partials/releases/camel-upgrade-recipes.html index 0cf6fd41..279d8c67 100644 --- a/layouts/partials/releases/camel-upgrade-recipes.html +++ b/layouts/partials/releases/camel-upgrade-recipes.html @@ -1,4 +1,4 @@ -{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-upgrade-recipes") "Pages" $.Site.Pages "Version" .Params.version) }} +{{ partial "releases/downloads.html" (dict "Category" (index (index hugo.Data "release-categories") "camel-upgrade-recipes") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p> diff --git a/layouts/partials/releases/camel.html b/layouts/partials/releases/camel.html index dd9c33f3..667b7cb1 100644 --- a/layouts/partials/releases/camel.html +++ b/layouts/partials/releases/camel.html @@ -57,7 +57,7 @@ </dependencies> ` .Params.version) }}</code></pre> -{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel") "Pages" $.Site.Pages "Version" .Params.version) }} +{{ partial "releases/downloads.html" (dict "Category" (index (index hugo.Data "release-categories") "camel") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p>Release is tagged with <code>camel-{{ .Params.version }}</code> in the Git, to fetch it use:</p> @@ -67,7 +67,7 @@ git checkout camel-{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> -{{ $issues_json := getJSON "https://issues.apache.org/jira/rest/api/latest/search?jql=fixVersion=" (string .Params.jiraVersionId) "&fields=issuetype,summary&maxResults=1000" }} +{{ $issues_json := partial "remote-json.html" (print "https://issues.apache.org/jira/rest/api/latest/search?jql=fixVersion=" (string .Params.jiraVersionId) "&fields=issuetype,summary&maxResults=1000") }} {{ $issues := dict }} {{ range $issues_json.issues }} {{ $issues_by_type := (or (index $issues .fields.issuetype.name) slice) | append (dict "issue" .key "summary" .fields.summary) }} diff --git a/layouts/partials/remote-json.html b/layouts/partials/remote-json.html new file mode 100644 index 00000000..38581863 --- /dev/null +++ b/layouts/partials/remote-json.html @@ -0,0 +1,39 @@ +{{/* + Fetches a JSON document and returns it decoded. Used by the blog author + names (GitHub users API) and the release notes (GitHub issues and Jira + search APIs). + + Usage: {{ $data := partial "remote-json.html" "https://api.github.com/users/octocat" }} + + - GitHub API requests are authenticated with GITHUB_TOKEN, or with the + HUGO_PARAMS_GitHubUsername / HUGO_PARAMS_GitHubToken pair, see README.md. + Without either the requests are anonymous, limited to 60 per hour, which + a full build exceeds. + - Responses are cached in the getresource file cache (config.toml). + - A resource that does not exist (404) returns an empty dict, so callers can + use `with` / `range` on the result. Any other failure, such as a rate + limit, fails the build: a release note without its issue list or a post + without its authors must not be published silently. +*/}} +{{ $url := . }} +{{ $opts := dict }} +{{ if hasPrefix $url "https://api.github.com/" }} + {{ with os.Getenv "GITHUB_TOKEN" }} + {{ $opts = dict "headers" (dict "Authorization" (printf "Bearer %s" .)) }} + {{ else with site.Params.GitHubToken }} + {{ $opts = dict "headers" (dict "Authorization" (printf "Basic %s" (printf "%s:%s" site.Params.GitHubUsername . | base64Encode))) }} + {{ end }} +{{ end }} +{{ $data := dict }} +{{ with try (resources.GetRemote $url $opts) }} + {{ with .Err }} + {{ if hasPrefix $url "https://api.github.com/" }} + {{ errorf "Unable to fetch %s: %s. Set GITHUB_TOKEN to a GitHub token for a higher API rate limit, see README.md." $url . }} + {{ else }} + {{ errorf "Unable to fetch %s: %s" $url . }} + {{ end }} + {{ else with .Value }} + {{ $data = . | transform.Unmarshal }} + {{ end }} +{{ end }} +{{ return $data }} diff --git a/layouts/projects/list.html b/layouts/projects/list.html index afa918b8..43035fa4 100644 --- a/layouts/projects/list.html +++ b/layouts/projects/list.html @@ -1,5 +1,5 @@ {{ partial "header.html" . }} -{{- $data := .Site.Data.projects }} +{{- $data := hugo.Data.projects }} <div class="body"> <main> @@ -18,7 +18,7 @@ {{- range $data.primary }} {{- $project := . }} <li class="project-card"> - <img class="project-card-icon" alt="" src="{{ path.Join "_" (index site.Data "rev-manifest" (printf "img/%s.svg" .icon)) | relURL }}"> + <img class="project-card-icon" alt="" src="{{ path.Join "_" (index hugo.Data "rev-manifest" (printf "img/%s.svg" .icon)) | relURL }}"> <h3 class="project-card-title">{{ .name }}</h3> <p class="project-card-desc">{{ .description }}</p> <p class="project-card-stats">{{ .stats }}</p> @@ -37,7 +37,7 @@ {{- range $data.specialized }} {{- $project := . }} <li class="project-card project-card--row"> - <img class="project-card-icon project-card-icon--lg" alt="" src="{{ path.Join "_" (index site.Data "rev-manifest" (printf "img/%s.svg" .icon)) | relURL }}"> + <img class="project-card-icon project-card-icon--lg" alt="" src="{{ path.Join "_" (index hugo.Data "rev-manifest" (printf "img/%s.svg" .icon)) | relURL }}"> <div class="project-card-body"> <h3 class="project-card-title">{{ .name }}</h3> <p class="project-card-desc">{{ .description }}</p> diff --git a/layouts/releases/list.html b/layouts/releases/list.html index 0f41401c..dd836cd6 100644 --- a/layouts/releases/list.html +++ b/layouts/releases/list.html @@ -6,7 +6,7 @@ <aside class="releases-rail"> <div class="releases-rail-heading">Projects</div> <nav class="releases-rail-links" aria-label="Projects"> - {{ range $category := sort (index site.Data "release-categories") ".order" }} + {{ range $category := sort (index hugo.Data "release-categories") ".order" }} <a class="releases-rail-link" href="#{{ $category.id }}">{{ $category.name }}</a> {{ end }} </nav> @@ -19,7 +19,7 @@ Supported releases are on the <a href="{{ "download/" | relURL }}">Download</a> page.</p> </div> - {{ range $category := sort (index site.Data "release-categories") ".order" }} + {{ range $category := sort (index hugo.Data "release-categories") ".order" }} <section id="{{ $category.id }}" class="releases-group"> <h2 class="releases-group-title">Releases of {{ $category.name }}</h2> {{ partial "releases/release-table.html" (where (where site.Pages "Section" "releases") ".Params.category" $category.id) }} diff --git a/layouts/shortcodes/icon.html b/layouts/shortcodes/icon.html index a1db7ebd..7d9f38a1 100644 --- a/layouts/shortcodes/icon.html +++ b/layouts/shortcodes/icon.html @@ -1 +1 @@ -{{- range $idx := (seq 0 2 (sub (len .Params) 1)) }}<img src="{{ path.Join "_" (index site.Data "rev-manifest" (printf "img/%s.svg" (index $.Params $idx))) | relURL }}" alt="{{ index $.Params (add $idx 1) }}"/>{{- end }} +{{- range $idx := (seq 0 2 (sub (len .Params) 1)) }}<img src="{{ path.Join "_" (index hugo.Data "rev-manifest" (printf "img/%s.svg" (index $.Params $idx))) | relURL }}" alt="{{ index $.Params (add $idx 1) }}"/>{{- end }} diff --git a/layouts/tooling/list.html b/layouts/tooling/list.html index 7ad40cbc..b282393c 100644 --- a/layouts/tooling/list.html +++ b/layouts/tooling/list.html @@ -1,5 +1,5 @@ {{ partial "header.html" . }} -{{- $data := site.Data.tooling }} +{{- $data := hugo.Data.tooling }} {{- $tui := .Resources.GetMatch "camel-tui-overview.png" }} <div class="body"> diff --git a/package.json b/package.json index 0191b25b..6d60c88d 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "gulp-htmlmin": "~5.0", "gulp-inject": "^5.0.2", "html-validate": "^8.9.1", - "hugo-extended": "^0.121.2", + "hugo-extended": "^0.169.0", "js-yaml": "^4.3.1", "jsdom": "^27.1.0", "netlify-cli": "^26.1.0", diff --git a/yarn.lock b/yarn.lock index b0aec64d..686451f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2931,13 +2931,6 @@ __metadata: languageName: node linkType: hard -"@sindresorhus/is@npm:^5.2.0": - version: 5.6.0 - resolution: "@sindresorhus/is@npm:5.6.0" - checksum: 10/b077c325acec98e30f7d86df158aaba2e7af2acb9bb6a00fda4b91578539fbff4ecebe9b934e24fec0e6950de3089d89d79ec02d9062476b20ce185be0e01bd6 - languageName: node - linkType: hard - "@sindresorhus/is@npm:^6.3.0": version: 6.3.1 resolution: "@sindresorhus/is@npm:6.3.1" @@ -3051,15 +3044,6 @@ __metadata: languageName: node linkType: hard -"@szmarczak/http-timer@npm:^5.0.1": - version: 5.0.1 - resolution: "@szmarczak/http-timer@npm:5.0.1" - dependencies: - defer-to-connect: "npm:^2.0.1" - checksum: 10/fc9cb993e808806692e4a3337c90ece0ec00c89f4b67e3652a356b89730da98bc824273a6d67ca84d5f33cd85f317dcd5ce39d8cc0a2f060145a608a7cb8ce92 - languageName: node - linkType: hard - "@tokenizer/token@npm:^0.3.0": version: 0.3.0 resolution: "@tokenizer/token@npm:0.3.0" @@ -3137,7 +3121,7 @@ __metadata: languageName: node linkType: hard -"@types/http-cache-semantics@npm:*, @types/http-cache-semantics@npm:^4.0.2": +"@types/http-cache-semantics@npm:*": version: 4.2.0 resolution: "@types/http-cache-semantics@npm:4.2.0" checksum: 10/01ea0dc9c1852267f5f9a0190846ac158707994b8e325bca190385ec97aa773d4a99cd333e22e838bde3c9aba59e2b5a6ac399b494c203587c6d8f28d21d6326 @@ -3192,7 +3176,7 @@ __metadata: languageName: node linkType: hard -"@types/normalize-package-data@npm:^2.4.0, @types/normalize-package-data@npm:^2.4.1, @types/normalize-package-data@npm:^2.4.3, @types/normalize-package-data@npm:^2.4.4": +"@types/normalize-package-data@npm:^2.4.0, @types/normalize-package-data@npm:^2.4.3, @types/normalize-package-data@npm:^2.4.4": version: 2.4.4 resolution: "@types/normalize-package-data@npm:2.4.4" checksum: 10/65dff72b543997b7be8b0265eca7ace0e34b75c3e5fee31de11179d08fa7124a7a5587265d53d0409532ecb7f7fba662c2012807963e1f9b059653ec2c83ee05 @@ -3685,6 +3669,13 @@ __metadata: languageName: node linkType: hard +"adm-zip@npm:^0.5.17": + version: 0.5.18 + resolution: "adm-zip@npm:0.5.18" + checksum: 10/6eaa298828b92e543241fa24d01af774ad8709b80539b3fa60d4ba6f69fd5a15a19d8177e6d739f18f4e0933610ed555215dc6553b51c532534414702c255167 + languageName: node + linkType: hard + "agent-base@npm:6": version: 6.0.2 resolution: "agent-base@npm:6.0.2" @@ -4039,7 +4030,7 @@ __metadata: gulp-htmlmin: "npm:~5.0" gulp-inject: "npm:^5.0.2" html-validate: "npm:^8.9.1" - hugo-extended: "npm:^0.121.2" + hugo-extended: "npm:^0.169.0" js-yaml: "npm:^4.3.1" jsdom: "npm:^27.1.0" netlify-cli: "npm:^26.1.0" @@ -5308,28 +5299,6 @@ __metadata: languageName: node linkType: hard -"cacheable-lookup@npm:^7.0.0": - version: 7.0.0 - resolution: "cacheable-lookup@npm:7.0.0" - checksum: 10/69ea78cd9f16ad38120372e71ba98b64acecd95bbcbcdad811f857dc192bad81ace021f8def012ce19178583db8d46afd1a00b3e8c88527e978e049edbc23252 - languageName: node - linkType: hard - -"cacheable-request@npm:^10.2.8": - version: 10.2.14 - resolution: "cacheable-request@npm:10.2.14" - dependencies: - "@types/http-cache-semantics": "npm:^4.0.2" - get-stream: "npm:^6.0.1" - http-cache-semantics: "npm:^4.1.1" - keyv: "npm:^4.5.3" - mimic-response: "npm:^4.0.0" - normalize-url: "npm:^8.0.0" - responselike: "npm:^3.0.0" - checksum: 10/102f454ac68eb66f99a709c5cf65e90ed89f1b9269752578d5a08590b3986c3ea47a5d9dff208fe7b65855a29da129a2f23321b88490106898e0ba70b807c912 - languageName: node - linkType: hard - "cacheable-request@npm:^2.1.1": version: 2.1.4 resolution: "cacheable-request@npm:2.1.4" @@ -5504,20 +5473,6 @@ __metadata: languageName: node linkType: hard -"careful-downloader@npm:^3.0.0": - version: 3.0.0 - resolution: "careful-downloader@npm:3.0.0" - dependencies: - debug: "npm:^4.3.4" - decompress: "npm:^4.2.1" - fs-extra: "npm:^11.1.1" - got: "npm:^12.6.0" - is-path-inside: "npm:^4.0.0" - tempy: "npm:^3.0.0" - checksum: 10/10eaf8c7cf1097d1c80017641551f7c6eeb57b774164aea10bb0f229fc26543245c3044eb8526238c5a1881d81c23623b7ee2f6322cf878ca0ab19b4fba9455e - languageName: node - linkType: hard - "caw@npm:^2.0.0, caw@npm:^2.0.1": version: 2.0.1 resolution: "caw@npm:2.0.1" @@ -6541,15 +6496,6 @@ __metadata: languageName: node linkType: hard -"crypto-random-string@npm:^4.0.0": - version: 4.0.0 - resolution: "crypto-random-string@npm:4.0.0" - dependencies: - type-fest: "npm:^1.0.1" - checksum: 10/cd5d7ae13803de53680aaed4c732f67209af5988cbeec5f6b29082020347c2d8849ca921b2008be7d6bd1d9d198c3c3697e7441d6d0d3da1bf51e9e4d2032149 - languageName: node - linkType: hard - "css-functions-list@npm:^3.2.1": version: 3.3.3 resolution: "css-functions-list@npm:3.3.3" @@ -7031,7 +6977,7 @@ __metadata: languageName: node linkType: hard -"decompress@npm:4.2.1, decompress@npm:^4.0.0, decompress@npm:^4.2.0, decompress@npm:^4.2.1": +"decompress@npm:4.2.1, decompress@npm:^4.0.0, decompress@npm:^4.2.0": version: 4.2.1 resolution: "decompress@npm:4.2.1" dependencies: @@ -7101,7 +7047,7 @@ __metadata: languageName: node linkType: hard -"defer-to-connect@npm:^2.0.0, defer-to-connect@npm:^2.0.1": +"defer-to-connect@npm:^2.0.0": version: 2.0.1 resolution: "defer-to-connect@npm:2.0.1" checksum: 10/8a9b50d2f25446c0bfefb55a48e90afd58f85b21bcf78e9207cd7b804354f6409032a1705c2491686e202e64fc05f147aa5aa45f9aa82627563f045937f5791b @@ -9607,16 +9553,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^6.3.0": - version: 6.3.0 - resolution: "find-up@npm:6.3.0" - dependencies: - locate-path: "npm:^7.1.0" - path-exists: "npm:^5.0.0" - checksum: 10/4f3bdc30d41778c647e53f4923e72de5e5fb055157031f34501c5b36c2eb59f77b997edf9cb00165c6060cda7eaa2e3da82cb6be2e61d68ad3e07c4bc4cce67e - languageName: node - linkType: hard - "find-up@npm:^7.0.0": version: 7.0.0 resolution: "find-up@npm:7.0.0" @@ -9788,13 +9724,6 @@ __metadata: languageName: node linkType: hard -"form-data-encoder@npm:^2.1.2": - version: 2.1.4 - resolution: "form-data-encoder@npm:2.1.4" - checksum: 10/3778e7db3c21457296e6fdbc4200642a6c01e8be9297256e845ee275f9ddaecb5f49bfb0364690ad216898c114ec59bf85f01ec823a70670b8067273415d62f6 - languageName: node - linkType: hard - "form-data@npm:^4.0.6": version: 4.0.6 resolution: "form-data@npm:4.0.6" @@ -9873,7 +9802,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.1.1, fs-extra@npm:^11.4.0": +"fs-extra@npm:^11.4.0": version: 11.4.0 resolution: "fs-extra@npm:11.4.0" dependencies: @@ -10447,25 +10376,6 @@ __metadata: languageName: node linkType: hard -"got@npm:^12.6.0": - version: 12.6.1 - resolution: "got@npm:12.6.1" - dependencies: - "@sindresorhus/is": "npm:^5.2.0" - "@szmarczak/http-timer": "npm:^5.0.1" - cacheable-lookup: "npm:^7.0.0" - cacheable-request: "npm:^10.2.8" - decompress-response: "npm:^6.0.0" - form-data-encoder: "npm:^2.1.2" - get-stream: "npm:^6.0.1" - http2-wrapper: "npm:^2.1.10" - lowercase-keys: "npm:^3.0.0" - p-cancelable: "npm:^3.0.0" - responselike: "npm:^3.0.0" - checksum: 10/6c22f1449f4574d79a38e0eba0b753ce2f9030d61838a1ae1e25d3ff5b0db7916aa21023ac369c67d39d17f87bba9283a0b0cb88590de77926c968630aacae75 - languageName: node - linkType: hard - "got@npm:^7.0.0": version: 7.1.0 resolution: "got@npm:7.1.0" @@ -11304,16 +11214,6 @@ __metadata: languageName: node linkType: hard -"http2-wrapper@npm:^2.1.10": - version: 2.2.1 - resolution: "http2-wrapper@npm:2.2.1" - dependencies: - quick-lru: "npm:^5.1.1" - resolve-alpn: "npm:^1.2.0" - checksum: 10/e7a5ac6548318e83fc0399cd832cdff6bbf902b165d211cad47a56ee732922e0aa1107246dd884b12532a1c4649d27c4d44f2480911c65202e93c90bde8fa29d - languageName: node - linkType: hard - "https-browserify@npm:^1.0.0": version: 1.0.0 resolution: "https-browserify@npm:1.0.0" @@ -11351,17 +11251,16 @@ __metadata: languageName: node linkType: hard -"hugo-extended@npm:^0.121.2": - version: 0.121.2 - resolution: "hugo-extended@npm:0.121.2" +"hugo-extended@npm:^0.169.0": + version: 0.169.0 + resolution: "hugo-extended@npm:0.169.0" dependencies: - careful-downloader: "npm:^3.0.0" - log-symbols: "npm:^5.1.0" - read-pkg-up: "npm:^9.1.0" + adm-zip: "npm:^0.5.17" + tar: "npm:^7.5.15" bin: - hugo: lib/cli.js - hugo-extended: lib/cli.js - checksum: 10/6ba61dc03fede2e38118a65774facfa2fb9e781eeb967fe082545777cc7faf763716942b6a3a3324a0932cc980b38b4fe529dd339cfacaf2ec3e4751eb65fbfe + hugo: dist/cli.mjs + hugo-extended: dist/cli.mjs + checksum: 10/75d5f4bbf8254c56d18cfe857e67e5410f74977091488571613affd25799220f3101bb56dfc5bb32778a5b1546235881da0888adf4879880aa40196484f4936e languageName: node linkType: hard @@ -12420,13 +12319,6 @@ __metadata: languageName: node linkType: hard -"is-unicode-supported@npm:^1.1.0": - version: 1.3.0 - resolution: "is-unicode-supported@npm:1.3.0" - checksum: 10/20a1fc161afafaf49243551a5ac33b6c4cf0bbcce369fcd8f2951fbdd000c30698ce320de3ee6830497310a8f41880f8066d440aa3eb0a853e2aa4836dd89abc - languageName: node - linkType: hard - "is-unicode-supported@npm:^2.0.0": version: 2.1.0 resolution: "is-unicode-supported@npm:2.1.0" @@ -13198,7 +13090,7 @@ __metadata: languageName: node linkType: hard -"locate-path@npm:^7.0.0, locate-path@npm:^7.1.0, locate-path@npm:^7.2.0": +"locate-path@npm:^7.0.0, locate-path@npm:^7.2.0": version: 7.2.0 resolution: "locate-path@npm:7.2.0" dependencies: @@ -13434,16 +13326,6 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:^5.1.0": - version: 5.1.0 - resolution: "log-symbols@npm:5.1.0" - dependencies: - chalk: "npm:^5.0.0" - is-unicode-supported: "npm:^1.1.0" - checksum: 10/7291b6e7f1b3df6865bdaeb9b59605c832668ac2fa0965c63b1e7dd3700349aec09c1d7d40c368d5041ff58b7f89461a56e4009471921301af7b3609cbff9a29 - languageName: node - linkType: hard - "log-update@npm:^7.2.0": version: 7.2.0 resolution: "log-update@npm:7.2.0" @@ -13516,13 +13398,6 @@ __metadata: languageName: node linkType: hard -"lowercase-keys@npm:^3.0.0": - version: 3.0.0 - resolution: "lowercase-keys@npm:3.0.0" - checksum: 10/67a3f81409af969bc0c4ca0e76cd7d16adb1e25aa1c197229587eaf8671275c8c067cd421795dbca4c81be0098e4c426a086a05e30de8a9c587b7a13c0c7ccc5 - languageName: node - linkType: hard - "lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": version: 10.4.3 resolution: "lru-cache@npm:10.4.3" @@ -13934,13 +13809,6 @@ __metadata: languageName: node linkType: hard -"mimic-response@npm:^4.0.0": - version: 4.0.0 - resolution: "mimic-response@npm:4.0.0" - checksum: 10/33b804cc961efe206efdb1fca6a22540decdcfce6c14eb5c0c50e5ae9022267ab22ce8f5568b1f7247ba67500fe20d523d81e0e9f009b321ccd9d472e78d1850 - languageName: node - linkType: hard - "minimalistic-assert@npm:^1.0.0, minimalistic-assert@npm:^1.0.1": version: 1.0.1 resolution: "minimalistic-assert@npm:1.0.1" @@ -14683,13 +14551,6 @@ __metadata: languageName: node linkType: hard -"normalize-url@npm:^8.0.0": - version: 8.1.1 - resolution: "normalize-url@npm:8.1.1" - checksum: 10/a96519b53692f33d5de19a8aa04fe9de4b8de1c126da89f1c47a24e48d457008867193cd9c19218810426ffabe190034249e1b82f0751c8992f2a9f716304ce0 - languageName: node - linkType: hard - "now-and-later@npm:^3.0.0": version: 3.0.0 resolution: "now-and-later@npm:3.0.0" @@ -15161,13 +15022,6 @@ __metadata: languageName: node linkType: hard -"p-cancelable@npm:^3.0.0": - version: 3.0.0 - resolution: "p-cancelable@npm:3.0.0" - checksum: 10/a5eab7cf5ac5de83222a014eccdbfde65ecfb22005ee9bc242041f0b4441e07fac7629432c82f48868aa0f8413fe0df6c6067c16f76bf9217cd8dc651923c93d - languageName: node - linkType: hard - "p-event@npm:^1.0.0": version: 1.3.0 resolution: "p-event@npm:1.3.0" @@ -16976,17 +16830,6 @@ __metadata: languageName: node linkType: hard -"read-pkg-up@npm:^9.1.0": - version: 9.1.0 - resolution: "read-pkg-up@npm:9.1.0" - dependencies: - find-up: "npm:^6.3.0" - read-pkg: "npm:^7.1.0" - type-fest: "npm:^2.5.0" - checksum: 10/41b8ba4bdb7c1e914aa6ce2d36a7c1651e9086938977fa12f058f6fca51ee15315634af648ca4ef70dd074e575e854616b39032ad0b376e9e97d61a9d0867afe - languageName: node - linkType: hard - "read-pkg@npm:^10.0.0": version: 10.1.0 resolution: "read-pkg@npm:10.1.0" @@ -17023,18 +16866,6 @@ __metadata: languageName: node linkType: hard -"read-pkg@npm:^7.1.0": - version: 7.1.0 - resolution: "read-pkg@npm:7.1.0" - dependencies: - "@types/normalize-package-data": "npm:^2.4.1" - normalize-package-data: "npm:^3.0.2" - parse-json: "npm:^5.2.0" - type-fest: "npm:^2.0.0" - checksum: 10/20d11c59be3ae1fc79d4b9c8594dabeaec58105f9dfd710570ef9690ec2ac929247006e79ca114257683228663199735d60f149948dbc5f34fcd2d28883ab5f7 - languageName: node - linkType: hard - "read-pkg@npm:^9.0.0": version: 9.0.1 resolution: "read-pkg@npm:9.0.1" @@ -17322,7 +17153,7 @@ __metadata: languageName: node linkType: hard -"resolve-alpn@npm:^1.0.0, resolve-alpn@npm:^1.2.0": +"resolve-alpn@npm:^1.0.0": version: 1.2.1 resolution: "resolve-alpn@npm:1.2.1" checksum: 10/744e87888f0b6fa0b256ab454ca0b9c0b80808715e2ef1f3672773665c92a941f6181194e30ccae4a8cd0adbe0d955d3f133102636d2ee0cca0119fec0bc9aec @@ -17450,15 +17281,6 @@ __metadata: languageName: node linkType: hard -"responselike@npm:^3.0.0": - version: 3.0.0 - resolution: "responselike@npm:3.0.0" - dependencies: - lowercase-keys: "npm:^3.0.0" - checksum: 10/e0cc9be30df4f415d6d83cdede3c5c887cd4a73e7cc1708bcaab1d50a28d15acb68460ac5b02bcc55a42f3d493729c8856427dcf6e57e6e128ad05cba4cfb95e - languageName: node - linkType: hard - "restore-cursor@npm:^2.0.0": version: 2.0.0 resolution: "restore-cursor@npm:2.0.0" @@ -19323,13 +19145,6 @@ __metadata: languageName: node linkType: hard -"temp-dir@npm:^3.0.0": - version: 3.0.0 - resolution: "temp-dir@npm:3.0.0" - checksum: 10/577211e995d1d584dd60f1469351d45e8a5b4524e4a9e42d3bdd12cfde1d0bb8f5898311bef24e02aaafb69514c1feb58c7b4c33dcec7129da3b0861a4ca935b - languageName: node - linkType: hard - "tempfile@npm:^2.0.0": version: 2.0.0 resolution: "tempfile@npm:2.0.0" @@ -19340,18 +19155,6 @@ __metadata: languageName: node linkType: hard -"tempy@npm:^3.0.0": - version: 3.2.0 - resolution: "tempy@npm:3.2.0" - dependencies: - is-stream: "npm:^3.0.0" - temp-dir: "npm:^3.0.0" - type-fest: "npm:^2.12.2" - unique-string: "npm:^3.0.0" - checksum: 10/02ed53acb75719924c83bdd04e99ceb5bbae009b68ab24934750f5bcf26d8da251d4ee19f24cea749206af4051a0fd1cab060f63264f384dc0aaae150bf72bf4 - languageName: node - linkType: hard - "terminal-link@npm:^4.0.0": version: 4.0.0 resolution: "terminal-link@npm:4.0.0" @@ -19850,13 +19653,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.0.0, type-fest@npm:^2.12.2, type-fest@npm:^2.5.0": - version: 2.19.0 - resolution: "type-fest@npm:2.19.0" - checksum: 10/7bf9e8fdf34f92c8bb364c0af14ca875fac7e0183f2985498b77be129dc1b3b1ad0a6b3281580f19e48c6105c037fb966ad9934520c69c6434d17fd0af4eed78 - languageName: node - linkType: hard - "type-fest@npm:^3.8.0": version: 3.13.1 resolution: "type-fest@npm:3.13.1" @@ -20200,15 +19996,6 @@ __metadata: languageName: node linkType: hard -"unique-string@npm:^3.0.0": - version: 3.0.0 - resolution: "unique-string@npm:3.0.0" - dependencies: - crypto-random-string: "npm:^4.0.0" - checksum: 10/1a1e2e7d02eab1bb10f720475da735e1990c8a5ff34edd1a3b6bc31590cb4210b7a1233d779360cc622ce11c211e43afa1628dd658f35d3e6a89964b622940df - languageName: node - linkType: hard - "universal-user-agent@npm:^7.0.0, universal-user-agent@npm:^7.0.2": version: 7.0.3 resolution: "universal-user-agent@npm:7.0.3"
