Compare commits

...

33 Commits

Author SHA1 Message Date
Mark Dumay
3db2b1f734 Merge pull request #313 from gethinode/develop
Finalize versioned docs support
2023-06-26 17:34:24 +02:00
mark
6802524aac Fix typo 2023-06-26 17:24:44 +02:00
mark
71cdad17d3 Add versioned-documentation feature 2023-06-26 17:16:38 +02:00
mark
626b82a619 Disable version check by default 2023-06-26 17:07:24 +02:00
Mark Dumay
fbb60a0622 Merge branch 'main' into develop 2023-06-26 16:54:47 +02:00
mark
a0684a8a49 Bump package release 2023-06-26 16:53:20 +02:00
mark
55516602e5 Enable versioning for single docs sites 2023-06-26 16:47:21 +02:00
github-actions[bot]
fcab852216 Merge pull request #312 from gethinode/dependabot/npm_and_yarn/eslint-plugin-n-16.0.1
Bump eslint-plugin-n from 16.0.0 to 16.0.1
2023-06-26 14:11:18 +00:00
dependabot[bot]
cb714201bc Bump eslint-plugin-n from 16.0.0 to 16.0.1
Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 16.0.0 to 16.0.1.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.0.0...16.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-n
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 14:08:20 +00:00
github-actions[bot]
c8de62f46b Merge pull request #310 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.110.1
Bump hugo-bin from 0.110.0 to 0.110.1
2023-06-23 14:09:09 +00:00
dependabot[bot]
53ab00357e Bump hugo-bin from 0.110.0 to 0.110.1
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.110.0 to 0.110.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.110.0...v0.110.1)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-23 14:02:52 +00:00
github-actions[bot]
0cc246a79a Merge pull request #309 from gethinode/dependabot/npm_and_yarn/stylelint-15.9.0
Bump stylelint from 15.8.0 to 15.9.0
2023-06-23 13:15:04 +00:00
dependabot[bot]
21541b9f80 Bump stylelint from 15.8.0 to 15.9.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.8.0 to 15.9.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.8.0...15.9.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-23 13:11:28 +00:00
github-actions[bot]
e3d4339730 Merge pull request #308 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.110.0
Bump hugo-bin from 0.109.0 to 0.110.0
2023-06-22 14:08:55 +00:00
dependabot[bot]
710efd0caa Bump hugo-bin from 0.109.0 to 0.110.0
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.109.0 to 0.110.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.109.0...v0.110.0)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-22 14:03:55 +00:00
github-actions[bot]
493ff64be0 Merge pull request #307 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.109.0
Bump hugo-bin from 0.108.0 to 0.109.0
2023-06-21 14:14:36 +00:00
dependabot[bot]
f2e35074c2 Bump hugo-bin from 0.108.0 to 0.109.0
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.108.0 to 0.109.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.108.0...v0.109.0)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 14:11:13 +00:00
mark
7597710980 Add netlify.app to CSP config 2023-06-21 06:07:45 +02:00
Mark Dumay
c44340ef9e Merge pull request #306 from gethinode/develop
Bump release version
2023-06-20 09:51:06 +02:00
Mark Dumay
8dfe0cb9d4 Merge branch 'main' into develop 2023-06-20 09:20:08 +02:00
mark
fdb8287951 Bump release version 2023-06-20 09:19:32 +02:00
Mark Dumay
f4f9b7c754 Merge pull request #305 from gethinode/develop
Exclude 'latest' label from version check
2023-06-20 09:18:26 +02:00
Mark Dumay
4bb5ba728a Merge branch 'main' into develop 2023-06-20 09:08:34 +02:00
mark
bdb8c43fb9 Remove unused code 2023-06-20 09:07:26 +02:00
mark
63e51006ed Exclude 'latest' label from version check 2023-06-20 09:07:02 +02:00
Mark Dumay
37b623e48c Merge pull request #304 from gethinode/develop
Add optional alert when version is outdated
2023-06-20 08:33:55 +02:00
Mark Dumay
27019594ca Merge branch 'main' into develop 2023-06-20 08:17:18 +02:00
mark
d4ee11b7a5 Bump release version 2023-06-20 08:16:48 +02:00
mark
009314943b Add optional alert when version is outdated 2023-06-20 08:16:18 +02:00
github-actions[bot]
826b5f58d8 Merge pull request #303 from gethinode/dependabot/npm_and_yarn/eslint-8.43.0
Bump eslint from 8.42.0 to 8.43.0
2023-06-19 14:16:51 +00:00
dependabot[bot]
f6fb80d690 Bump eslint from 8.42.0 to 8.43.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:12:40 +00:00
github-actions[bot]
8ed98bc5b4 Merge pull request #302 from gethinode/dependabot/npm_and_yarn/stylelint-15.8.0
Bump stylelint from 15.7.0 to 15.8.0
2023-06-19 14:12:10 +00:00
dependabot[bot]
0cc3775370 Bump stylelint from 15.7.0 to 15.8.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.7.0 to 15.8.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.7.0...15.8.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:09:11 +00:00
16 changed files with 410 additions and 359 deletions

14
assets/js/alert.js Normal file
View File

@@ -0,0 +1,14 @@
const alert = document.getElementById('page-alert')
const closeBtn = document.getElementById('page-alert-btn-close')
if (alert !== null && closeBtn !== null) {
const version = alert.getAttribute('data-page-alert-version') || 'unknown'
const hideAlert = sessionStorage.getItem(`page-alert-${version}`) !== null
if (hideAlert) {
alert.classList.add('d-none')
}
closeBtn.addEventListener('click', () => {
sessionStorage.setItem(`page-alert-${version}`, 'seen')
alert.classList.add('d-none')
})
}

View File

@@ -62,6 +62,7 @@
// scss-docs-end awesome // scss-docs-end awesome
// Import Hinode theme styles // Import Hinode theme styles
@import "components/alert.scss";
@import "components/blockquote.scss"; @import "components/blockquote.scss";
@import "components/buttons.scss"; @import "components/buttons.scss";
@import "components/card.scss"; @import "components/card.scss";

View File

@@ -0,0 +1,3 @@
.alert-no-decoration {
--bs-alert-border-radius: none;
}

View File

@@ -8,10 +8,9 @@
# toml-docs-start docs # toml-docs-start docs
[docs] [docs]
version = "0.8"
basePath = ""
github = "https://github.com/gethinode/hinode" github = "https://github.com/gethinode/hinode"
release = "https://github.com/gethinode/hinode/releases/tag/" release = "https://github.com/gethinode/hinode/releases/tag/"
checkVersion = false
# toml-docs-end docs # toml-docs-end docs
# toml-docs-start home # toml-docs-start home

View File

@@ -2,7 +2,7 @@
title: About title: About
description: Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5. description: Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5.
date: 2022-04-11 date: 2022-04-11
updated: 2023-02-11 updated: 2023-06-26
showComments: false showComments: false
--- ---
@@ -35,8 +35,8 @@ Additional features include:
* Switching between light mode and dark mode * Switching between light mode and dark mode
* Support for multiple languages * Support for multiple languages
* Reusable Bootstrap components through configurable shortcodes and partials * Reusable Bootstrap components through configurable shortcodes and partials
* Versioned documentation, including sidebar navigation and version switcher
* Embedded comments through light-weight integration with GitHub via [utteranc.es]({{< param "links.utterances" >}}) * Embedded comments through light-weight integration with GitHub via [utteranc.es]({{< param "links.utterances" >}})
* Integrated sidebar navigation for content-heavy sections, such as documentation pages
* Reponsive image handling for multiple screen sizes and resolutions * Reponsive image handling for multiple screen sizes and resolutions
* Optimized search results, scoring 100 points for SEO on [PageSpeed Insights]({{< param "links.pagespeed" >}}) * Optimized search results, scoring 100 points for SEO on [PageSpeed Insights]({{< param "links.pagespeed" >}})
* Secure by default, scoring A+ on [Mozilla Observatory test]({{< param "links.observatory" >}}) * Secure by default, scoring A+ on [Mozilla Observatory test]({{< param "links.observatory" >}})

View File

@@ -3,6 +3,7 @@ slug: over-mij
title: Over mij title: Over mij
description: Een blog en documentatie thema voor Hugo gebaseerd op Bootstrap 5. description: Een blog en documentatie thema voor Hugo gebaseerd op Bootstrap 5.
date: 2023-02-17 date: 2023-02-17
updated: 2023-06-26
showComments: false showComments: false
--- ---
@@ -36,8 +37,8 @@ Overige functies:
* Omschakelen tussen donkere en lichte modus * Omschakelen tussen donkere en lichte modus
* Ondersteuning voor meerdere talen * Ondersteuning voor meerdere talen
* Herbruikbare Bootstrap componenten via shortcodes en partials * Herbruikbare Bootstrap componenten via shortcodes en partials
* Versiebeheer van documentatiepagina's, inclusief secundaire navigatie en selectie van versies
* Integreren van commentaar via [utteranc.es]({{< param "links.utterances" >}}) * Integreren van commentaar via [utteranc.es]({{< param "links.utterances" >}})
* Secundaire navigatie voor bijvoorbeeld documentatie
* Optimalisering van foto's voor meerdere schermafmetingen en resoluties * Optimalisering van foto's voor meerdere schermafmetingen en resoluties
* Optimale zoekresultaten, met 100 punten voor SEO volgens [PageSpeed Insights]({{< param "links.pagespeed" >}}) * Optimale zoekresultaten, met 100 punten voor SEO volgens [PageSpeed Insights]({{< param "links.pagespeed" >}})
* Veilige communicatie, met een score van A+ volgens [Mozilla Observatory]({{< param "links.observatory" >}}) * Veilige communicatie, met een score van A+ volgens [Mozilla Observatory]({{< param "links.observatory" >}})

View File

@@ -93,6 +93,8 @@
translation: "latest" translation: "latest"
- id: allVersions - id: allVersions
translation: "All versions" translation: "All versions"
- id: newerVersionAlert
translation: "There is a newer version of {{ . }}!"
# 404 page # 404 page
- id: pageNotFound - id: pageNotFound

View File

@@ -83,6 +83,8 @@
translation: "meest recente" translation: "meest recente"
- id: allVersions - id: allVersions
translation: "Alle versies" translation: "Alle versies"
- id: newerVersionAlert
translation: "Er is een nieuwere versie van {{ . }}!"
# 404 page # 404 page
- id: pageNotFound - id: pageNotFound

View File

@@ -3,6 +3,15 @@
{{- $.Scratch.Set "version" $version -}} {{- $.Scratch.Set "version" $version -}}
{{ with partial "utilities/GetMenu" (dict "page" . "version" $version) }}{{ $.Scratch.Set "sidebar" . }}{{ end }} {{ with partial "utilities/GetMenu" (dict "page" . "version" $version) }}{{ $.Scratch.Set "sidebar" . }}{{ end }}
{{- if and site.Params.docs.checkVersion $version -}}
{{- if ne $version "latest" -}}
{{- if partial "utilities/IsOlder" (dict "current" $version) -}}
{{- $.Scratch.Set "pageAlertMsg" (T "newerVersionAlert" site.Title) -}}
{{- $.Scratch.Set "pageAlertURL" (or site.Params.docs.latestURL site.baseURL) -}}
{{- end -}}
{{- end -}}
{{- end -}}
<!doctype html> <!doctype html>
<html lang="{{ .Site.Language.Lang }}" class="no-js"> <html lang="{{ .Site.Language.Lang }}" class="no-js">
<head> <head>

View File

@@ -181,110 +181,113 @@
{{- if eq $color "black" }}{{ $theme = "dark" }}{{ end -}} {{- if eq $color "black" }}{{ $theme = "dark" }}{{ end -}}
{{- if eq $color "white" }}{{ $theme = "light" }}{{ end -}} {{- if eq $color "white" }}{{ $theme = "light" }}{{ end -}}
<nav class="navbar navbar-expand-{{ $size }} {{ with $color }}bg-{{ . }}{{ end }} {{ if $fixed }}fixed-top{{ end }} p-4"{{ with $theme }} data-bs-theme="{{ . }}"{{ end }}> <div class="container-fluid {{ if $fixed }}fixed-top{{ end }} p-0"{{ with $theme }} data-bs-theme="{{ . }}"{{ end }}>
<div class="container-xxl p-0"> {{- partial "assets/page-alert.html" (dict "page" $page) -}}
<!-- Insert sidebar toggler when applicable --> <nav class="navbar navbar-expand-{{ $size }} {{ with $color }}bg-{{ . }}{{ end }} p-4"{{ with $theme }} data-bs-theme="{{ . }}"{{ end }}>
<div class="d-flex"> <div class="container-xxl p-0">
{{- if $page.Scratch.Get "sidebar" -}} <!-- Insert sidebar toggler when applicable -->
<button class="navbar-toggler fw-30 collapsed p-0 mx-auto" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvass-sidebar" aria-controls="offcanvass-sidebar" aria-label="{{ T "toggleSidebar" }}"> <div class="d-flex">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis") -}} {{- if $page.Scratch.Get "sidebar" -}}
<button class="navbar-toggler fw-30 collapsed p-0 mx-auto" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvass-sidebar" aria-controls="offcanvass-sidebar" aria-label="{{ T "toggleSidebar" }}">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis") -}}
</button>
{{- else -}}
<!-- Insert invisible sidebar toggler to center logo correctly on smaller screens -->
<button class="navbar-toggler fw-30 collapsed p-0 mx-auto invisible" type="button">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis") -}}
</button>
{{- end -}}
</div>
<!-- Insert the brand logo or name -->
<a class="navbar-brand mx-auto" href="{{ site.Home.RelPermalink }}">
{{- if $logo -}}
<img src="{{ $logo }}" alt="{{ $title }} logo" height="30">
{{- else -}}
<span class="fw-bold">{{ $title }}</span>
{{- end -}}
</a>
<!-- Insert main navigation toggler -->
<div class="d-flex fw-30">
<button id="main-nav-toggler" class="navbar-toggler collapsed p-0" type="button" data-bs-toggle="collapse" data-bs-target="#{{ $id }}"
aria-controls="{{ $id }}" aria-expanded="false" aria-label="{{ T "toggleMainNav" }}">
<span class="toggler-icon top-bar emphasis"></span>
<span class="toggler-icon middle-bar emphasis"></span>
<span class="toggler-icon bottom-bar emphasis"></span>
</button> </button>
{{- else -}} </div>
<!-- Insert invisible sidebar toggler to center logo correctly on smaller screens -->
<button class="navbar-toggler fw-30 collapsed p-0 mx-auto invisible" type="button">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis") -}}
</button>
{{- end -}}
</div>
<!-- Insert the brand logo or name --> <div class="navbar-collapse collapse" id="{{ $id }}">
<a class="navbar-brand mx-auto" href="{{ site.Home.RelPermalink }}"> <!-- Insert search input -->
{{- if $logo -}} {{- if $search }}{{ partial "assets/search-input.html" -}}{{ end -}}
<img src="{{ $logo }}" alt="{{ $title }} logo" height="30">
{{- else -}}
<span class="fw-bold">{{ $title }}</span>
{{- end -}}
</a>
<!-- Insert main navigation toggler --> <!-- Render top-menu items (maximum depth of 2) -->
<div class="d-flex fw-30"> <ul class="navbar-nav ms-auto">
<button id="main-nav-toggler" class="navbar-toggler collapsed p-0" type="button" data-bs-toggle="collapse" data-bs-target="#{{ $id }}" {{- range $menu := $menus -}}
aria-controls="{{ $id }}" aria-expanded="false" aria-label="{{ T "toggleMainNav" }}"> <li class="nav-item{{ if .HasChildren }} dropdown{{ end }}">
<span class="toggler-icon top-bar emphasis"></span> {{- partial "assets/navbar-item.html" (dict "menu" $menu "page" $page) -}}
<span class="toggler-icon middle-bar emphasis"></span> {{- if .HasChildren -}}
<span class="toggler-icon bottom-bar emphasis"></span> <ul class="dropdown-menu dropdown-menu-end">
</button> {{- range .Children -}}
</div> {{- partial "assets/navbar-item.html" (dict "menu" . "parent" $menu "page" $page) -}}
{{- end -}}
</ul>
{{- end -}}
</li>
{{- end -}}
<div class="navbar-collapse collapse" id="{{ $id }}"> <!-- Insert divider if applicable -->
<!-- Insert search input --> {{- if or $enableLanguage $enableVersions -}}
{{- if $search }}{{ partial "assets/search-input.html" -}}{{ end -}} <li class="nav-item py-2 py-md-1 col-12 col-md-auto d-none d-{{ $size }}-block">
<div class="vr d-none d-md-flex h-100 mx-md-2"></div>
</li>
<li><hr class="dropdown-divider-bg"></li>
{{- end -}}
<!-- Render top-menu items (maximum depth of 2) --> <!-- Insert language switcher if applicable -->
<ul class="navbar-nav ms-auto"> {{- if $enableLanguage -}}
{{- range $menu := $menus -}} {{- $currentLang := $page.Language.Lang -}}
<li class="nav-item{{ if .HasChildren }} dropdown{{ end }}"> <li class="nav-item dropdown">
{{- partial "assets/navbar-item.html" (dict "menu" $menu "page" $page) -}} <a class="nav-link dropdown-toggle d-{{ $size }}-none" href="#!" role="button" data-bs-toggle="dropdown" aria-expanded="false">
{{- if .HasChildren -}} {{- partial "assets/icon.html" (dict "icon" "fas globe") }} {{ T "languageSwitcherLabel" }}
<ul class="dropdown-menu dropdown-menu-end"> </a>
{{- range .Children -}} <a class="nav-link dropdown-toggle d-none d-{{ $size }}-block" href="#!" role="button" data-bs-toggle="dropdown" aria-expanded="false">
{{- partial "assets/navbar-item.html" (dict "menu" . "parent" $menu "page" $page) -}} {{- partial "assets/icon.html" (dict "icon" "fas globe") }}
</a>
<ul class="dropdown-menu dropdown-menu-end ">
{{- if $page.IsTranslated -}}
{{- range $page.AllTranslations -}}
<li><a class="dropdown-item {{ if eq .Language.Lang $currentLang }}active{{ end }}" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{- end -}}
{{- else -}}
{{- range site.Languages -}}
<li><a class="dropdown-item" href="/{{ .Lang }}">{{ default .Lang .LanguageName }}</a></li>
{{- end -}}
{{- end -}} {{- end -}}
</ul> </ul>
{{- end -}} </li>
</li> {{- end -}}
{{- end -}}
<!-- Insert divider if applicable --> <!-- Insert version switcher -->
{{- if or $enableLanguage $enableVersions -}} {{- if $enableVersions -}}
<li class="nav-item py-2 py-md-1 col-12 col-md-auto d-none d-{{ $size }}-block"> {{- partial "partials/navbar-versions.html" (dict "page" $page "size" $size "collapsed" true ) -}}
<div class="vr d-none d-md-flex h-100 mx-md-2"></div> {{- partial "partials/navbar-versions.html" (dict "page" $page "size" $size "collapsed" false) -}}
</li> {{- end -}}
<li><hr class="dropdown-divider-bg"></li>
{{- end -}}
<!-- Insert language switcher if applicable --> <!-- Insert color mode switcher -->
{{- if $enableLanguage -}} {{- if $enableDarkMode -}}
{{- $currentLang := $page.Language.Lang -}} <!-- Insert divider -->
<li class="nav-item dropdown"> <li class="nav-item py-2 py-md-1 col-12 col-md-auto d-none d-{{ $size }}-block">
<a class="nav-link dropdown-toggle d-{{ $size }}-none" href="#!" role="button" data-bs-toggle="dropdown" aria-expanded="false"> <div class="vr d-none d-md-flex h-100 mx-md-2"></div>
{{- partial "assets/icon.html" (dict "icon" "fas globe") }} {{ T "languageSwitcherLabel" }} </li>
</a> <li><hr class="dropdown-divider-bg"></li>
<a class="nav-link dropdown-toggle d-none d-{{ $size }}-block" href="#!" role="button" data-bs-toggle="dropdown" aria-expanded="false">
{{- partial "assets/icon.html" (dict "icon" "fas globe") }}
</a>
<ul class="dropdown-menu dropdown-menu-end ">
{{- if $page.IsTranslated -}}
{{- range $page.AllTranslations -}}
<li><a class="dropdown-item {{ if eq .Language.Lang $currentLang }}active{{ end }}" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{- end -}}
{{- else -}}
{{- range site.Languages -}}
<li><a class="dropdown-item" href="/{{ .Lang }}">{{ default .Lang .LanguageName }}</a></li>
{{- end -}}
{{- end -}}
</ul>
</li>
{{- end -}}
<!-- Insert version switcher --> {{- partial "partials/navbar-mode.html" (dict "size" $size "collapsed" true) -}}
{{- if $enableVersions -}} {{- partial "partials/navbar-mode.html" (dict "size" $size "collapsed" false) -}}
{{- partial "partials/navbar-versions.html" (dict "page" $page "size" $size "collapsed" true ) -}} {{- end -}}
{{- partial "partials/navbar-versions.html" (dict "page" $page "size" $size "collapsed" false) -}} </ul>
{{- end -}} </div>
<!-- Insert color mode switcher -->
{{- if $enableDarkMode -}}
<!-- Insert divider -->
<li class="nav-item py-2 py-md-1 col-12 col-md-auto d-none d-{{ $size }}-block">
<div class="vr d-none d-md-flex h-100 mx-md-2"></div>
</li>
<li><hr class="dropdown-divider-bg"></li>
{{- partial "partials/navbar-mode.html" (dict "size" $size "collapsed" true) -}}
{{- partial "partials/navbar-mode.html" (dict "size" $size "collapsed" false) -}}
{{- end -}}
</ul>
</div> </div>
</div> </nav>
</nav> </div>

View File

@@ -0,0 +1,15 @@
{{- $page := .page -}}
{{- if not $page -}}
{{- errorf "partial [assets/page-alert.html] - Missing value for param 'page'" -}}
{{- end -}}
{{- $pageAlertMsg := $page.Scratch.Get "pageAlertMsg" -}}
{{- $pageAlertURL := $page.Scratch.Get "pageAlertURL" -}}
{{- $version := $page.Scratch.Get "version" -}}
{{- if $pageAlertMsg -}}
<div id="page-alert" class="alert alert-primary alert-no-decoration fade show d-flex align-items-center small m-0 py-1" data-page-alert-version="{{ $version }}">
<a href="{{ with $pageAlertURL }}{{ . }}{{ else }}#!{{ end }}" class="text-decoration-none flex-grow-1 text-center">{{ $pageAlertMsg }}</a>
<button id="page-alert-btn-close" type="button" class="btn-close" data-bs-dismiss="alert"></button>
</div>
{{- end -}}

View File

@@ -7,28 +7,32 @@
{{- $base := .base -}} {{- $base := .base -}}
{{- $version := "" -}} {{- $version := "" -}}
{{- $docsPath := strings.TrimPrefix "/" site.Params.docs.contentPath -}} {{- if and site.Params.docs.releases site.Params.docs.contentPath -}}
{{- if and $page.File (strings.HasPrefix $page.File.Dir $docsPath) -}} {{- $docsPath := strings.TrimPrefix "/" site.Params.docs.contentPath -}}
{{- $currentPath := strings.TrimPrefix $docsPath $page.File.Dir -}} {{- if and $page.File (strings.HasPrefix $page.File.Dir $docsPath) -}}
{{- $currentVersion := index (split $currentPath "/") 0 -}} {{- $currentPath := strings.TrimPrefix $docsPath $page.File.Dir -}}
{{- $versionPath := path.Join site.Params.docs.contentPath $currentVersion -}} {{- $currentVersion := index (split $currentPath "/") 0 -}}
{{- $versionPath := path.Join site.Params.docs.contentPath $currentVersion -}}
{{- $list := site.Params.docs.releases -}} {{- $list := site.Params.docs.releases -}}
{{- range $index, $item := $list -}} {{- range $index, $item := $list -}}
{{- $url := strings.TrimSuffix "/" $item.url -}} {{- $url := strings.TrimSuffix "/" $item.url -}}
{{- if eq $url $versionPath -}} {{- if eq $url $versionPath -}}
{{- if $base }}{{ $version = path.Base $item.url }}{{ else }}{{ $version = $item.label }}{{ end -}} {{- if $base }}{{ $version = path.Base $item.url }}{{ else }}{{ $version = $item.label }}{{ end -}}
{{- end -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- end -}}
{{- if not $version -}} {{- if not $version -}}
{{- $list := site.Params.docs.releases -}} {{- $list := site.Params.docs.releases -}}
{{- range $item := $list -}} {{- range $item := $list -}}
{{- if $item.latest -}} {{- if $item.latest -}}
{{- if $base }}{{ $version = path.Base $item.url }}{{ else }}{{ $version = $item.label }}{{ end -}} {{- if $base }}{{ $version = path.Base $item.url }}{{ else }}{{ $version = $item.label }}{{ end -}}
{{- end -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- else -}}
{{- $version = site.Params.docs.version -}}
{{- end -}} {{- end -}}
{{- return $version -}} {{- return $version -}}

View File

@@ -0,0 +1,32 @@
<!--
Returns true if the current version is older than the latest version defined in the docs section of the site
parameters. The verification supports semver patterns MAJOR.MINOR.PATCH with an optional suffix.
Original code by solus on https://discourse.gohugo.io/t/sorting-semantic-version-numbers/40838/6.
-->
{{ $current := .current }}
{{ $latest := site.Params.docs.latest }}
{{- define "partials/padZeroPrefix.html" -}}
{{- $padSize := 6 }}
{{- $paddedString := replaceRE "(\\d+)" (print (strings.Repeat (sub $padSize 1) "0") "$1") . }}
{{- $trimmedString := replaceRE (print "0+(\\d{" $padSize "})") "$1" $paddedString }}
{{- return $trimmedString }}
{{- end -}}
{{- define "partials/trimZeroPrefix.html" -}}
{{- return replaceRE "0+(\\d+)" "$1" . }}
{{- end -}}
{{- $isOlder := false -}}
{{- if and $current $latest }}
{{- $versions := slice $current $latest }}
{{- $paddedVersions := apply $versions "partial" "padZeroPrefix" "." }}
{{- $sortedVersions := (sort $paddedVersions "value" "desc") }}
{{- $sortedVersions = apply $sortedVersions "partial" "trimZeroPrefix" "." }}
{{ $isOlder = ne (index $sortedVersions 0) $current }}
{{- end -}}
{{- return $isOlder -}}

View File

@@ -26,18 +26,18 @@
default-src 'self'; \ default-src 'self'; \
child-src 'self' app.netlify.com; \ child-src 'self' app.netlify.com; \
script-src 'self' \ script-src 'self' \
app.netlify.com netlify-cdp-loader.netlify.app \ https://*.netlify.app app.netlify.com netlify-cdp-loader.netlify.app \
https://utteranc.es/client.js https://*.google-analytics.com https://*.googletagmanager.com; \ https://utteranc.es/client.js https://*.google-analytics.com https://*.googletagmanager.com; \
style-src 'self' \ style-src 'self' \
netlify.app https://utteranc.es https://fonts.googleapis.com https://www.youtube.com; \ https://*.netlify.app https://utteranc.es https://fonts.googleapis.com https://www.youtube.com; \
object-src 'none'; \ object-src 'none'; \
base-uri 'self'; \ base-uri 'self'; \
connect-src 'self' connect-src 'self'
https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com; \ https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com; \
font-src 'self' https://fonts.gstatic.com; \ font-src 'self' https://*.netlify.app https://fonts.gstatic.com; \
frame-src 'self' https://utteranc.es https://www.youtube-nocookie.com https://www.youtube.com \ frame-src 'self' https://utteranc.es https://www.youtube-nocookie.com https://www.youtube.com \
app.netlify.com; \ app.netlify.com; \
img-src 'self' https://i.vimeocdn.com https://i.ytimg.com https://*.google-analytics.com https://*.googletagmanager.com; \ img-src 'self' https://*.netlify.app https://i.vimeocdn.com https://i.ytimg.com https://*.google-analytics.com https://*.googletagmanager.com; \
manifest-src 'self'; \ manifest-src 'self'; \
media-src 'self' \ media-src 'self' \
""" """

422
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.15.0-beta3", "version": "0.15.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.15.0-beta3", "version": "0.15.0",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@fortawesome/fontawesome-free": "^6.4.0", "@fortawesome/fontawesome-free": "^6.4.0",
@@ -21,7 +21,7 @@
"eslint-plugin-n": "^16.0.0", "eslint-plugin-n": "^16.0.0",
"eslint-plugin-promise": "^6.1.1", "eslint-plugin-promise": "^6.1.1",
"flexsearch": "^0.7.31", "flexsearch": "^0.7.31",
"hugo-bin": "^0.108.0", "hugo-bin": "^0.110.0",
"markdownlint-cli2": "^0.8.1", "markdownlint-cli2": "^0.8.1",
"postcss-cli": "^10.1.0", "postcss-cli": "^10.1.0",
"purgecss-whitelister": "^2.4.0", "purgecss-whitelister": "^2.4.0",
@@ -259,9 +259,9 @@
} }
}, },
"node_modules/@eslint/js": { "node_modules/@eslint/js": {
"version": "8.42.0", "version": "8.43.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz",
"integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==", "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0" "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -563,13 +563,13 @@
} }
}, },
"node_modules/@xhmikosr/bin-wrapper": { "node_modules/@xhmikosr/bin-wrapper": {
"version": "10.0.0", "version": "11.0.1",
"resolved": "https://registry.npmjs.org/@xhmikosr/bin-wrapper/-/bin-wrapper-10.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/bin-wrapper/-/bin-wrapper-11.0.1.tgz",
"integrity": "sha512-3M7OqK2XCEMs36q96TCcm0dOg2492nbnlU4L5rzuJcpNzGptRv4UUXhyK//ER9WqxTwHb1mu3zen7UuDqcQ9Fg==", "integrity": "sha512-xA/GpW4sqgjA0DJvDsAsd14KFZw6q+LvqEMKMOYjC8Ld3bFTQzA8mDsZETk4y9anhj9VTVqmuPqHg31Bvzn4Mg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@xhmikosr/bin-check": "^6.0.0", "@xhmikosr/bin-check": "^6.0.0",
"@xhmikosr/downloader": "^12.0.0", "@xhmikosr/downloader": "^13.0.1",
"bin-version-check": "^5.0.0", "bin-version-check": "^5.0.0",
"os-filter-obj": "^2.0.0" "os-filter-obj": "^2.0.0"
}, },
@@ -578,17 +578,17 @@
} }
}, },
"node_modules/@xhmikosr/decompress": { "node_modules/@xhmikosr/decompress": {
"version": "8.0.0", "version": "9.0.1",
"resolved": "https://registry.npmjs.org/@xhmikosr/decompress/-/decompress-8.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/decompress/-/decompress-9.0.1.tgz",
"integrity": "sha512-7zI+6/9cmIzc8Ss2y3QanSq7uI4NF8d2W6P3rkOlVtfAJUOa7OhWZQVV4SqCheQylnblGdKDGPyrHdawawIjyw==", "integrity": "sha512-9Lvlt6Qdpo9SaRQyRIXCo3lgU++eMZ68lzgjcTwtuKDrlwT635+5zsHZ1yrSx/Blc5IDuVLlPkBPj5CZkx+2+Q==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@xhmikosr/decompress-tar": "^6.0.1", "@xhmikosr/decompress-tar": "^7.0.0",
"@xhmikosr/decompress-tarbz2": "^6.0.0", "@xhmikosr/decompress-tarbz2": "^7.0.0",
"@xhmikosr/decompress-targz": "^6.0.0", "@xhmikosr/decompress-targz": "^7.0.0",
"@xhmikosr/decompress-unzip": "^6.0.0", "@xhmikosr/decompress-unzip": "^6.0.0",
"graceful-fs": "^4.2.11", "graceful-fs": "^4.2.11",
"make-dir": "^3.1.0", "make-dir": "^4.0.0",
"strip-dirs": "^3.0.0" "strip-dirs": "^3.0.0"
}, },
"engines": { "engines": {
@@ -596,26 +596,26 @@
} }
}, },
"node_modules/@xhmikosr/decompress-tar": { "node_modules/@xhmikosr/decompress-tar": {
"version": "6.0.1", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tar/-/decompress-tar-6.0.1.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tar/-/decompress-tar-7.0.0.tgz",
"integrity": "sha512-v6flE2nQf8hLuVAzfdjw70SBurm/6jcIyXiZNw2kuj7dQ/Df6P4RgaH/dS8UHh9cN548Xnf0QRhlKNfPJsBpAw==", "integrity": "sha512-kyWf2hybtQVbWtB+FdRyOT+jyR5jxCNZPLqvQGB7djZj75lrpLUPEmRbyo86AtJ5OEtivpYaNWjCkqSJ8xtRWw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"file-type": "^18.5.0", "file-type": "^18.5.0",
"is-stream": "^3.0.0", "is-stream": "^3.0.0",
"tar-stream": "^2.2.0" "tar-stream": "^3.1.4"
}, },
"engines": { "engines": {
"node": "^14.14.0 || >=16.0.0" "node": "^14.14.0 || >=16.0.0"
} }
}, },
"node_modules/@xhmikosr/decompress-tarbz2": { "node_modules/@xhmikosr/decompress-tarbz2": {
"version": "6.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tarbz2/-/decompress-tarbz2-6.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tarbz2/-/decompress-tarbz2-7.0.0.tgz",
"integrity": "sha512-Y8BuayMiDX3nHKIXKRhcDBoc5OWfYbemdjDv8zX1w4x+mIjg7S0+QnfVm1fQXnNEwPaViLMFKZ4c6/2k43xe4A==", "integrity": "sha512-3QnjipYkRgh3Dee1MWDgKmANWxOQBVN4e1IwiGNe2fHYfMYTeSkVvWREt87UIoSucKUh3E95v8uGFttgTknZcA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@xhmikosr/decompress-tar": "^6.0.1", "@xhmikosr/decompress-tar": "^7.0.0",
"file-type": "^18.5.0", "file-type": "^18.5.0",
"is-stream": "^3.0.0", "is-stream": "^3.0.0",
"seek-bzip": "^1.0.6", "seek-bzip": "^1.0.6",
@@ -626,12 +626,12 @@
} }
}, },
"node_modules/@xhmikosr/decompress-targz": { "node_modules/@xhmikosr/decompress-targz": {
"version": "6.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/@xhmikosr/decompress-targz/-/decompress-targz-6.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-targz/-/decompress-targz-7.0.0.tgz",
"integrity": "sha512-Qb6KTG2xUiU5CgkJ8hRA/tRnSpcFr4WywGN4wCZ+PBLVYyYIkhzGBU3G8g80NEkVCfoKJUGyPEriupV5btxIbA==", "integrity": "sha512-7BNHJl92g9OLhw89zqcFS67V1LAtm4Ex02j6OiQzuE8P7Yy9lQcyBuEL3x6v436grLdL+BcFjgbmhWxnem4GHw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@xhmikosr/decompress-tar": "^6.0.1", "@xhmikosr/decompress-tar": "^7.0.0",
"file-type": "^18.5.0", "file-type": "^18.5.0",
"is-stream": "^3.0.0" "is-stream": "^3.0.0"
}, },
@@ -654,13 +654,13 @@
} }
}, },
"node_modules/@xhmikosr/downloader": { "node_modules/@xhmikosr/downloader": {
"version": "12.0.0", "version": "13.0.1",
"resolved": "https://registry.npmjs.org/@xhmikosr/downloader/-/downloader-12.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/downloader/-/downloader-13.0.1.tgz",
"integrity": "sha512-V6qT4iE31EakUb49FaPlvckE4OfjTHDqotuEF3eonMoGQetjIr1Zm9d4EHpBK/q1oBKv0n0K3h1GpKQszwvWvA==", "integrity": "sha512-mBvWew1kZJHfNQVVfVllMjUDwCGN9apPa0t4/z1zaUJ9MzpXjRL3w8fsfJKB8gHN/h4rik9HneKfDbh2fErN+w==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@xhmikosr/archive-type": "^6.0.1", "@xhmikosr/archive-type": "^6.0.1",
"@xhmikosr/decompress": "^8.0.0", "@xhmikosr/decompress": "^9.0.1",
"content-disposition": "^0.5.4", "content-disposition": "^0.5.4",
"ext-name": "^5.0.0", "ext-name": "^5.0.0",
"file-type": "^18.5.0", "file-type": "^18.5.0",
@@ -889,6 +889,12 @@
"postcss": "^8.1.0" "postcss": "^8.1.0"
} }
}, },
"node_modules/b4a": {
"version": "1.6.4",
"resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz",
"integrity": "sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==",
"dev": true
},
"node_modules/balanced-match": { "node_modules/balanced-match": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
@@ -957,17 +963,6 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/bl": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
"integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
"dev": true,
"dependencies": {
"buffer": "^5.5.0",
"inherits": "^2.0.4",
"readable-stream": "^3.4.0"
}
},
"node_modules/boolbase": { "node_modules/boolbase": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
@@ -1095,9 +1090,9 @@
} }
}, },
"node_modules/cacheable-request": { "node_modules/cacheable-request": {
"version": "10.2.10", "version": "10.2.12",
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.10.tgz", "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.12.tgz",
"integrity": "sha512-v6WB+Epm/qO4Hdlio/sfUn69r5Shgh39SsE9DSd4bIezP0mblOlObI+I0kUEM7J0JFc+I7pSeMeYaOYtX1N/VQ==", "integrity": "sha512-qtWGB5kn2OLjx47pYUkWicyOpK1vy9XZhq8yRTXOy+KAmjjESSRLx6SiExnnaGGUP1NM6/vmygMu0fGylNh9tw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@types/http-cache-semantics": "^4.0.1", "@types/http-cache-semantics": "^4.0.1",
@@ -1781,15 +1776,6 @@
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true "dev": true
}, },
"node_modules/end-of-stream": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"dev": true,
"dependencies": {
"once": "^1.4.0"
}
},
"node_modules/entities": { "node_modules/entities": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz",
@@ -1897,15 +1883,15 @@
} }
}, },
"node_modules/eslint": { "node_modules/eslint": {
"version": "8.42.0", "version": "8.43.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz",
"integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==", "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0", "@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.3", "@eslint/eslintrc": "^2.0.3",
"@eslint/js": "8.42.0", "@eslint/js": "8.43.0",
"@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8", "@nodelib/fs.walk": "^1.2.8",
@@ -2028,9 +2014,9 @@
} }
}, },
"node_modules/eslint-plugin-es-x": { "node_modules/eslint-plugin-es-x": {
"version": "6.2.1", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-6.2.1.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.1.0.tgz",
"integrity": "sha512-uR34zUhZ9EBoiSD2DdV5kHLpydVEvwWqjteUr9sXRgJknwbKZJZhdJ7uFnaTtd+Nr/2G3ceJHnHXrFhJ67n3Tw==", "integrity": "sha512-AhiaF31syh4CCQ+C5ccJA0VG6+kJK8+5mXKKE7Qs1xcPRg02CDPOj3mWlQxuWS/AYtg7kxrDNgW9YW3vc0Q+Mw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.1.2", "@eslint-community/eslint-utils": "^4.1.2",
@@ -2106,19 +2092,19 @@
} }
}, },
"node_modules/eslint-plugin-n": { "node_modules/eslint-plugin-n": {
"version": "16.0.0", "version": "16.0.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.0.0.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.0.1.tgz",
"integrity": "sha512-akkZTE3hsHBrq6CwmGuYCzQREbVUrA855kzcHqe6i0FLBkeY7Y/6tThCVkjUnjhvRBAlc+8lILcSe5QvvDpeZQ==", "integrity": "sha512-CDmHegJN0OF3L5cz5tATH84RPQm9kG+Yx39wIqIwPR2C0uhBGMWfbbOtetR83PQjjidA5aXMu+LEFw1jaSwvTA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.4.0", "@eslint-community/eslint-utils": "^4.4.0",
"builtins": "^5.0.1", "builtins": "^5.0.1",
"eslint-plugin-es-x": "^6.1.0", "eslint-plugin-es-x": "^7.1.0",
"ignore": "^5.1.1", "ignore": "^5.2.4",
"is-core-module": "^2.12.0", "is-core-module": "^2.12.1",
"minimatch": "^3.1.2", "minimatch": "^3.1.2",
"resolve": "^1.22.2", "resolve": "^1.22.2",
"semver": "^7.5.0" "semver": "^7.5.3"
}, },
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.0.0"
@@ -2295,6 +2281,12 @@
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"dev": true "dev": true
}, },
"node_modules/fast-fifo": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.2.0.tgz",
"integrity": "sha512-NcvQXt7Cky1cNau15FWy64IjuO8X0JijhTBBrJj1YlxlDfRkJXNaK9RFUjwpfDPzMdv7wB38jr53l9tkNLxnWg==",
"dev": true
},
"node_modules/fast-glob": { "node_modules/fast-glob": {
"version": "3.2.12", "version": "3.2.12",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz",
@@ -2573,12 +2565,6 @@
"url": "https://www.patreon.com/infusion" "url": "https://www.patreon.com/infusion"
} }
}, },
"node_modules/fs-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
"integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
"dev": true
},
"node_modules/fs-extra": { "node_modules/fs-extra": {
"version": "11.1.0", "version": "11.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
@@ -3164,9 +3150,9 @@
} }
}, },
"node_modules/hugo-bin": { "node_modules/hugo-bin": {
"version": "0.108.0", "version": "0.110.1",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.108.0.tgz", "resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.110.1.tgz",
"integrity": "sha512-3L+NRt+DQ41Gr44nh72t075EDqaI+w8IVaS9zMXamAjj8a/iKWrYEX3vshy8lcpibKVIuc65miwPxxAAR42K6A==", "integrity": "sha512-Yp7L0sJU1Xv6uv0zAXG1b2TGdAuu58uwJpsplOZphsFXM0av46gQeSKSo7dkGe7/NXTdnG/Uxxn+vlUsKsEJew==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -3176,7 +3162,7 @@
], ],
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@xhmikosr/bin-wrapper": "^10.0.0", "@xhmikosr/bin-wrapper": "^11.0.1",
"pkg-conf": "^4.0.0" "pkg-conf": "^4.0.0"
}, },
"bin": { "bin": {
@@ -3826,29 +3812,20 @@
} }
}, },
"node_modules/make-dir": { "node_modules/make-dir": {
"version": "3.1.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
"integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"semver": "^6.0.0" "semver": "^7.5.3"
}, },
"engines": { "engines": {
"node": ">=8" "node": ">=10"
}, },
"funding": { "funding": {
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
}, },
"node_modules/make-dir/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"dev": true,
"bin": {
"semver": "bin/semver.js"
}
},
"node_modules/map-obj": { "node_modules/map-obj": {
"version": "4.3.0", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz",
@@ -5386,6 +5363,12 @@
} }
] ]
}, },
"node_modules/queue-tick": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
"integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==",
"dev": true
},
"node_modules/quick-lru": { "node_modules/quick-lru": {
"version": "5.1.1", "version": "5.1.1",
"resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",
@@ -5864,9 +5847,9 @@
"dev": true "dev": true
}, },
"node_modules/semver": { "node_modules/semver": {
"version": "7.5.1", "version": "7.5.3",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz",
"integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"lru-cache": "^6.0.0" "lru-cache": "^6.0.0"
@@ -6105,6 +6088,16 @@
"integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==",
"dev": true "dev": true
}, },
"node_modules/streamx": {
"version": "2.15.0",
"resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.0.tgz",
"integrity": "sha512-HcxY6ncGjjklGs1xsP1aR71INYcsXFJet5CU1CHqihQ2J5nOsbd4OjgjHO42w/4QNv9gZb3BueV+Vxok5pLEXg==",
"dev": true,
"dependencies": {
"fast-fifo": "^1.1.0",
"queue-tick": "^1.0.1"
}
},
"node_modules/string_decoder": { "node_modules/string_decoder": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
@@ -6300,9 +6293,9 @@
} }
}, },
"node_modules/stylelint": { "node_modules/stylelint": {
"version": "15.7.0", "version": "15.9.0",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.7.0.tgz", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.9.0.tgz",
"integrity": "sha512-fQRwHwWuZsDn4ENyE9AsKkOkV9WlD2CmYiVDbdZPdS3iZh0ceypOn1EuwTNuZ8xTrHF+jVeIEzLtFFSlD/nJHg==", "integrity": "sha512-sXtAZi64CllWr6A+8ymDWnlIaYwuAa7XRmGnJxLQXFNnLjd3Izm4HAD+loKVaZ7cpK6SLxhAUX1lwPJKGCn0mg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@csstools/css-parser-algorithms": "^2.2.0", "@csstools/css-parser-algorithms": "^2.2.0",
@@ -6345,7 +6338,6 @@
"supports-hyperlinks": "^3.0.0", "supports-hyperlinks": "^3.0.0",
"svg-tags": "^1.0.0", "svg-tags": "^1.0.0",
"table": "^6.8.1", "table": "^6.8.1",
"v8-compile-cache": "^2.3.0",
"write-file-atomic": "^5.0.1" "write-file-atomic": "^5.0.1"
}, },
"bin": { "bin": {
@@ -6594,19 +6586,14 @@
"dev": true "dev": true
}, },
"node_modules/tar-stream": { "node_modules/tar-stream": {
"version": "2.2.0", "version": "3.1.4",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.4.tgz",
"integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "integrity": "sha512-IlHr7ZOW6XaVBCrSCokUJG4IqUuRcWW76B8XbrtCotbaDh6zVGE7WPCzaSz1CN+acFmWiwoa+cE4RZsom0RzXg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"bl": "^4.0.3", "b4a": "^1.6.4",
"end-of-stream": "^1.4.1", "fast-fifo": "^1.2.0",
"fs-constants": "^1.0.0", "streamx": "^2.15.0"
"inherits": "^2.0.3",
"readable-stream": "^3.1.1"
},
"engines": {
"node": ">=6"
} }
}, },
"node_modules/text-table": { "node_modules/text-table": {
@@ -6806,12 +6793,6 @@
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
"dev": true "dev": true
}, },
"node_modules/v8-compile-cache": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
"integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
"dev": true
},
"node_modules/validate-npm-package-license": { "node_modules/validate-npm-package-license": {
"version": "3.0.4", "version": "3.0.4",
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
@@ -7162,9 +7143,9 @@
} }
}, },
"@eslint/js": { "@eslint/js": {
"version": "8.42.0", "version": "8.43.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz",
"integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==", "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==",
"dev": true "dev": true
}, },
"@fortawesome/fontawesome-free": { "@fortawesome/fontawesome-free": {
@@ -7381,50 +7362,50 @@
} }
}, },
"@xhmikosr/bin-wrapper": { "@xhmikosr/bin-wrapper": {
"version": "10.0.0", "version": "11.0.1",
"resolved": "https://registry.npmjs.org/@xhmikosr/bin-wrapper/-/bin-wrapper-10.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/bin-wrapper/-/bin-wrapper-11.0.1.tgz",
"integrity": "sha512-3M7OqK2XCEMs36q96TCcm0dOg2492nbnlU4L5rzuJcpNzGptRv4UUXhyK//ER9WqxTwHb1mu3zen7UuDqcQ9Fg==", "integrity": "sha512-xA/GpW4sqgjA0DJvDsAsd14KFZw6q+LvqEMKMOYjC8Ld3bFTQzA8mDsZETk4y9anhj9VTVqmuPqHg31Bvzn4Mg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@xhmikosr/bin-check": "^6.0.0", "@xhmikosr/bin-check": "^6.0.0",
"@xhmikosr/downloader": "^12.0.0", "@xhmikosr/downloader": "^13.0.1",
"bin-version-check": "^5.0.0", "bin-version-check": "^5.0.0",
"os-filter-obj": "^2.0.0" "os-filter-obj": "^2.0.0"
} }
}, },
"@xhmikosr/decompress": { "@xhmikosr/decompress": {
"version": "8.0.0", "version": "9.0.1",
"resolved": "https://registry.npmjs.org/@xhmikosr/decompress/-/decompress-8.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/decompress/-/decompress-9.0.1.tgz",
"integrity": "sha512-7zI+6/9cmIzc8Ss2y3QanSq7uI4NF8d2W6P3rkOlVtfAJUOa7OhWZQVV4SqCheQylnblGdKDGPyrHdawawIjyw==", "integrity": "sha512-9Lvlt6Qdpo9SaRQyRIXCo3lgU++eMZ68lzgjcTwtuKDrlwT635+5zsHZ1yrSx/Blc5IDuVLlPkBPj5CZkx+2+Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"@xhmikosr/decompress-tar": "^6.0.1", "@xhmikosr/decompress-tar": "^7.0.0",
"@xhmikosr/decompress-tarbz2": "^6.0.0", "@xhmikosr/decompress-tarbz2": "^7.0.0",
"@xhmikosr/decompress-targz": "^6.0.0", "@xhmikosr/decompress-targz": "^7.0.0",
"@xhmikosr/decompress-unzip": "^6.0.0", "@xhmikosr/decompress-unzip": "^6.0.0",
"graceful-fs": "^4.2.11", "graceful-fs": "^4.2.11",
"make-dir": "^3.1.0", "make-dir": "^4.0.0",
"strip-dirs": "^3.0.0" "strip-dirs": "^3.0.0"
} }
}, },
"@xhmikosr/decompress-tar": { "@xhmikosr/decompress-tar": {
"version": "6.0.1", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tar/-/decompress-tar-6.0.1.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tar/-/decompress-tar-7.0.0.tgz",
"integrity": "sha512-v6flE2nQf8hLuVAzfdjw70SBurm/6jcIyXiZNw2kuj7dQ/Df6P4RgaH/dS8UHh9cN548Xnf0QRhlKNfPJsBpAw==", "integrity": "sha512-kyWf2hybtQVbWtB+FdRyOT+jyR5jxCNZPLqvQGB7djZj75lrpLUPEmRbyo86AtJ5OEtivpYaNWjCkqSJ8xtRWw==",
"dev": true, "dev": true,
"requires": { "requires": {
"file-type": "^18.5.0", "file-type": "^18.5.0",
"is-stream": "^3.0.0", "is-stream": "^3.0.0",
"tar-stream": "^2.2.0" "tar-stream": "^3.1.4"
} }
}, },
"@xhmikosr/decompress-tarbz2": { "@xhmikosr/decompress-tarbz2": {
"version": "6.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tarbz2/-/decompress-tarbz2-6.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-tarbz2/-/decompress-tarbz2-7.0.0.tgz",
"integrity": "sha512-Y8BuayMiDX3nHKIXKRhcDBoc5OWfYbemdjDv8zX1w4x+mIjg7S0+QnfVm1fQXnNEwPaViLMFKZ4c6/2k43xe4A==", "integrity": "sha512-3QnjipYkRgh3Dee1MWDgKmANWxOQBVN4e1IwiGNe2fHYfMYTeSkVvWREt87UIoSucKUh3E95v8uGFttgTknZcA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@xhmikosr/decompress-tar": "^6.0.1", "@xhmikosr/decompress-tar": "^7.0.0",
"file-type": "^18.5.0", "file-type": "^18.5.0",
"is-stream": "^3.0.0", "is-stream": "^3.0.0",
"seek-bzip": "^1.0.6", "seek-bzip": "^1.0.6",
@@ -7432,12 +7413,12 @@
} }
}, },
"@xhmikosr/decompress-targz": { "@xhmikosr/decompress-targz": {
"version": "6.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/@xhmikosr/decompress-targz/-/decompress-targz-6.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/decompress-targz/-/decompress-targz-7.0.0.tgz",
"integrity": "sha512-Qb6KTG2xUiU5CgkJ8hRA/tRnSpcFr4WywGN4wCZ+PBLVYyYIkhzGBU3G8g80NEkVCfoKJUGyPEriupV5btxIbA==", "integrity": "sha512-7BNHJl92g9OLhw89zqcFS67V1LAtm4Ex02j6OiQzuE8P7Yy9lQcyBuEL3x6v436grLdL+BcFjgbmhWxnem4GHw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@xhmikosr/decompress-tar": "^6.0.1", "@xhmikosr/decompress-tar": "^7.0.0",
"file-type": "^18.5.0", "file-type": "^18.5.0",
"is-stream": "^3.0.0" "is-stream": "^3.0.0"
} }
@@ -7454,13 +7435,13 @@
} }
}, },
"@xhmikosr/downloader": { "@xhmikosr/downloader": {
"version": "12.0.0", "version": "13.0.1",
"resolved": "https://registry.npmjs.org/@xhmikosr/downloader/-/downloader-12.0.0.tgz", "resolved": "https://registry.npmjs.org/@xhmikosr/downloader/-/downloader-13.0.1.tgz",
"integrity": "sha512-V6qT4iE31EakUb49FaPlvckE4OfjTHDqotuEF3eonMoGQetjIr1Zm9d4EHpBK/q1oBKv0n0K3h1GpKQszwvWvA==", "integrity": "sha512-mBvWew1kZJHfNQVVfVllMjUDwCGN9apPa0t4/z1zaUJ9MzpXjRL3w8fsfJKB8gHN/h4rik9HneKfDbh2fErN+w==",
"dev": true, "dev": true,
"requires": { "requires": {
"@xhmikosr/archive-type": "^6.0.1", "@xhmikosr/archive-type": "^6.0.1",
"@xhmikosr/decompress": "^8.0.0", "@xhmikosr/decompress": "^9.0.1",
"content-disposition": "^0.5.4", "content-disposition": "^0.5.4",
"ext-name": "^5.0.0", "ext-name": "^5.0.0",
"file-type": "^18.5.0", "file-type": "^18.5.0",
@@ -7602,6 +7583,12 @@
"postcss-value-parser": "^4.2.0" "postcss-value-parser": "^4.2.0"
} }
}, },
"b4a": {
"version": "1.6.4",
"resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz",
"integrity": "sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==",
"dev": true
},
"balanced-match": { "balanced-match": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
@@ -7641,17 +7628,6 @@
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
"dev": true "dev": true
}, },
"bl": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
"integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
"dev": true,
"requires": {
"buffer": "^5.5.0",
"inherits": "^2.0.4",
"readable-stream": "^3.4.0"
}
},
"boolbase": { "boolbase": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
@@ -7728,9 +7704,9 @@
"dev": true "dev": true
}, },
"cacheable-request": { "cacheable-request": {
"version": "10.2.10", "version": "10.2.12",
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.10.tgz", "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.12.tgz",
"integrity": "sha512-v6WB+Epm/qO4Hdlio/sfUn69r5Shgh39SsE9DSd4bIezP0mblOlObI+I0kUEM7J0JFc+I7pSeMeYaOYtX1N/VQ==", "integrity": "sha512-qtWGB5kn2OLjx47pYUkWicyOpK1vy9XZhq8yRTXOy+KAmjjESSRLx6SiExnnaGGUP1NM6/vmygMu0fGylNh9tw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/http-cache-semantics": "^4.0.1", "@types/http-cache-semantics": "^4.0.1",
@@ -8222,15 +8198,6 @@
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true "dev": true
}, },
"end-of-stream": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"dev": true,
"requires": {
"once": "^1.4.0"
}
},
"entities": { "entities": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz",
@@ -8311,15 +8278,15 @@
"dev": true "dev": true
}, },
"eslint": { "eslint": {
"version": "8.42.0", "version": "8.43.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz",
"integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==", "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0", "@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.3", "@eslint/eslintrc": "^2.0.3",
"@eslint/js": "8.42.0", "@eslint/js": "8.43.0",
"@humanwhocodes/config-array": "^0.11.10", "@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8", "@nodelib/fs.walk": "^1.2.8",
@@ -8407,9 +8374,9 @@
} }
}, },
"eslint-plugin-es-x": { "eslint-plugin-es-x": {
"version": "6.2.1", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-6.2.1.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.1.0.tgz",
"integrity": "sha512-uR34zUhZ9EBoiSD2DdV5kHLpydVEvwWqjteUr9sXRgJknwbKZJZhdJ7uFnaTtd+Nr/2G3ceJHnHXrFhJ67n3Tw==", "integrity": "sha512-AhiaF31syh4CCQ+C5ccJA0VG6+kJK8+5mXKKE7Qs1xcPRg02CDPOj3mWlQxuWS/AYtg7kxrDNgW9YW3vc0Q+Mw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@eslint-community/eslint-utils": "^4.1.2", "@eslint-community/eslint-utils": "^4.1.2",
@@ -8466,19 +8433,19 @@
} }
}, },
"eslint-plugin-n": { "eslint-plugin-n": {
"version": "16.0.0", "version": "16.0.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.0.0.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.0.1.tgz",
"integrity": "sha512-akkZTE3hsHBrq6CwmGuYCzQREbVUrA855kzcHqe6i0FLBkeY7Y/6tThCVkjUnjhvRBAlc+8lILcSe5QvvDpeZQ==", "integrity": "sha512-CDmHegJN0OF3L5cz5tATH84RPQm9kG+Yx39wIqIwPR2C0uhBGMWfbbOtetR83PQjjidA5aXMu+LEFw1jaSwvTA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@eslint-community/eslint-utils": "^4.4.0", "@eslint-community/eslint-utils": "^4.4.0",
"builtins": "^5.0.1", "builtins": "^5.0.1",
"eslint-plugin-es-x": "^6.1.0", "eslint-plugin-es-x": "^7.1.0",
"ignore": "^5.1.1", "ignore": "^5.2.4",
"is-core-module": "^2.12.0", "is-core-module": "^2.12.1",
"minimatch": "^3.1.2", "minimatch": "^3.1.2",
"resolve": "^1.22.2", "resolve": "^1.22.2",
"semver": "^7.5.0" "semver": "^7.5.3"
} }
}, },
"eslint-plugin-promise": { "eslint-plugin-promise": {
@@ -8595,6 +8562,12 @@
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"dev": true "dev": true
}, },
"fast-fifo": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.2.0.tgz",
"integrity": "sha512-NcvQXt7Cky1cNau15FWy64IjuO8X0JijhTBBrJj1YlxlDfRkJXNaK9RFUjwpfDPzMdv7wB38jr53l9tkNLxnWg==",
"dev": true
},
"fast-glob": { "fast-glob": {
"version": "3.2.12", "version": "3.2.12",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz",
@@ -8797,12 +8770,6 @@
"integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==",
"dev": true "dev": true
}, },
"fs-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
"integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
"dev": true
},
"fs-extra": { "fs-extra": {
"version": "11.1.0", "version": "11.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
@@ -9234,12 +9201,12 @@
} }
}, },
"hugo-bin": { "hugo-bin": {
"version": "0.108.0", "version": "0.110.1",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.108.0.tgz", "resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.110.1.tgz",
"integrity": "sha512-3L+NRt+DQ41Gr44nh72t075EDqaI+w8IVaS9zMXamAjj8a/iKWrYEX3vshy8lcpibKVIuc65miwPxxAAR42K6A==", "integrity": "sha512-Yp7L0sJU1Xv6uv0zAXG1b2TGdAuu58uwJpsplOZphsFXM0av46gQeSKSo7dkGe7/NXTdnG/Uxxn+vlUsKsEJew==",
"dev": true, "dev": true,
"requires": { "requires": {
"@xhmikosr/bin-wrapper": "^10.0.0", "@xhmikosr/bin-wrapper": "^11.0.1",
"pkg-conf": "^4.0.0" "pkg-conf": "^4.0.0"
} }
}, },
@@ -9706,20 +9673,12 @@
} }
}, },
"make-dir": { "make-dir": {
"version": "3.1.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
"integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
"dev": true, "dev": true,
"requires": { "requires": {
"semver": "^6.0.0" "semver": "^7.5.3"
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"dev": true
}
} }
}, },
"map-obj": { "map-obj": {
@@ -10713,6 +10672,12 @@
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
"dev": true "dev": true
}, },
"queue-tick": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
"integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==",
"dev": true
},
"quick-lru": { "quick-lru": {
"version": "5.1.1", "version": "5.1.1",
"resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",
@@ -11047,9 +11012,9 @@
} }
}, },
"semver": { "semver": {
"version": "7.5.1", "version": "7.5.3",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz",
"integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"lru-cache": "^6.0.0" "lru-cache": "^6.0.0"
@@ -11226,6 +11191,16 @@
"integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==",
"dev": true "dev": true
}, },
"streamx": {
"version": "2.15.0",
"resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.0.tgz",
"integrity": "sha512-HcxY6ncGjjklGs1xsP1aR71INYcsXFJet5CU1CHqihQ2J5nOsbd4OjgjHO42w/4QNv9gZb3BueV+Vxok5pLEXg==",
"dev": true,
"requires": {
"fast-fifo": "^1.1.0",
"queue-tick": "^1.0.1"
}
},
"string_decoder": { "string_decoder": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
@@ -11367,9 +11342,9 @@
} }
}, },
"stylelint": { "stylelint": {
"version": "15.7.0", "version": "15.9.0",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.7.0.tgz", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.9.0.tgz",
"integrity": "sha512-fQRwHwWuZsDn4ENyE9AsKkOkV9WlD2CmYiVDbdZPdS3iZh0ceypOn1EuwTNuZ8xTrHF+jVeIEzLtFFSlD/nJHg==", "integrity": "sha512-sXtAZi64CllWr6A+8ymDWnlIaYwuAa7XRmGnJxLQXFNnLjd3Izm4HAD+loKVaZ7cpK6SLxhAUX1lwPJKGCn0mg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@csstools/css-parser-algorithms": "^2.2.0", "@csstools/css-parser-algorithms": "^2.2.0",
@@ -11412,7 +11387,6 @@
"supports-hyperlinks": "^3.0.0", "supports-hyperlinks": "^3.0.0",
"svg-tags": "^1.0.0", "svg-tags": "^1.0.0",
"table": "^6.8.1", "table": "^6.8.1",
"v8-compile-cache": "^2.3.0",
"write-file-atomic": "^5.0.1" "write-file-atomic": "^5.0.1"
}, },
"dependencies": { "dependencies": {
@@ -11587,16 +11561,14 @@
} }
}, },
"tar-stream": { "tar-stream": {
"version": "2.2.0", "version": "3.1.4",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.4.tgz",
"integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "integrity": "sha512-IlHr7ZOW6XaVBCrSCokUJG4IqUuRcWW76B8XbrtCotbaDh6zVGE7WPCzaSz1CN+acFmWiwoa+cE4RZsom0RzXg==",
"dev": true, "dev": true,
"requires": { "requires": {
"bl": "^4.0.3", "b4a": "^1.6.4",
"end-of-stream": "^1.4.1", "fast-fifo": "^1.2.0",
"fs-constants": "^1.0.0", "streamx": "^2.15.0"
"inherits": "^2.0.3",
"readable-stream": "^3.1.1"
} }
}, },
"text-table": { "text-table": {
@@ -11745,12 +11717,6 @@
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
"dev": true "dev": true
}, },
"v8-compile-cache": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
"integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
"dev": true
},
"validate-npm-package-license": { "validate-npm-package-license": {
"version": "3.0.4", "version": "3.0.4",
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.15.0-beta3", "version": "0.15.0",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator", "description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [ "keywords": [
"hugo", "hugo",
@@ -62,7 +62,7 @@
"eslint-plugin-n": "^16.0.0", "eslint-plugin-n": "^16.0.0",
"eslint-plugin-promise": "^6.1.1", "eslint-plugin-promise": "^6.1.1",
"flexsearch": "^0.7.31", "flexsearch": "^0.7.31",
"hugo-bin": "^0.108.0", "hugo-bin": "^0.110.0",
"markdownlint-cli2": "^0.8.1", "markdownlint-cli2": "^0.8.1",
"postcss-cli": "^10.1.0", "postcss-cli": "^10.1.0",
"purgecss-whitelister": "^2.4.0", "purgecss-whitelister": "^2.4.0",