Skip to content

Commit

Permalink
Bump dompurify and redoc (#4381)
Browse files Browse the repository at this point in the history
* Bump dompurify and redoc

Bumps [dompurify](https://github.com/cure53/DOMPurify) to 3.2.4 and updates ancestor dependency [redoc](https://github.com/Redocly/redoc). These dependencies need to be updated together.


Updates `dompurify` from 2.5.6 to 3.2.4
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](cure53/DOMPurify@2.5.6...3.2.4)

Updates `redoc` from 2.1.3 to 2.4.0
- [Release notes](https://github.com/Redocly/redoc/releases)
- [Changelog](https://github.com/Redocly/redoc/blob/main/CHANGELOG.md)
- [Commits](Redocly/redoc@v2.1.3...v2.4.0)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: indirect
- dependency-name: redoc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update docs-theme module

Signed-off-by: Ian Maddaus <[email protected]>

* Get NPM deps in Netlify build

Signed-off-by: Ian Maddaus <[email protected]>

* Update theme again

Signed-off-by: Ian Maddaus <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Ian Maddaus <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ian Maddaus <[email protected]>
  • Loading branch information
dependabot[bot] and IanMadd authored Feb 17, 2025
1 parent a1f54a5 commit 5f62c9e
Show file tree
Hide file tree
Showing 18 changed files with 598 additions and 194 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ lint: bundle

update_theme:
hugo mod get -u github.com/chef/chef-docs-theme
rm -rf _vendor
rm -rf node_modules
hugo mod tidy
hugo mod vendor
hugo mod npm pack
npm install

## See:
## - https://cspell.org/docs/getting-started/
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ The Chef Documentation website is built using:
- [Node](https://www.nodejs.com) 20.0.0 or higher
- [NPM](https://www.npmjs.com/) 10.4.0 or higher
- [Go](https://golang.org/dl/) 1.22 or higher
- [Dart Sass](https://sass-lang.com/dart-sass/) 2.7.1

To install Hugo, NPM, and Go on Windows, run:

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions _vendor/github.com/chef/chef-docs-theme/package.hugo.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions _vendor/github.com/chef/chef-docs-theme/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# github.com/chef/compliance-profiles/docs-chef-io v0.0.0-20250207053335-f11d6ce5b3c1
# github.com/chef/compliance-remediation-2022/docs-chef-io v0.0.0-20240313054833-ebbc45209efa
# github.com/chef/license-service/docs-chef-io v0.0.0-20250120051510-ae1de80f4621
# github.com/chef/chef-docs-theme v0.0.0-20250131195626-789c6c10b6b1
# github.com/chef/chef-docs-theme v0.0.0-20250217213320-727f9bce8258
# github.com/FortAwesome/Font-Awesome v0.0.0-20240108205627-a1232e345536
# github.com/cowboy/jquery-hashchange v0.0.0-20100902193700-0310f3847f90
# github.com/twitter/hogan.js v3.0.2+incompatible
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22

require (
github.com/chef/automate/components/docs-chef-io v0.0.0-20250109084654-0c4aab636f65 // indirect
github.com/chef/chef-docs-theme v0.0.0-20250131195626-789c6c10b6b1 // indirect
github.com/chef/chef-docs-theme v0.0.0-20250217213320-727f9bce8258 // indirect
github.com/chef/chef-server/docs-chef-io v0.0.0-20250122051915-0ae871a00deb // indirect
github.com/chef/chef-workstation/docs-chef-io v0.0.0-20250205062508-ee50345a4044 // indirect
github.com/chef/compliance-profiles/docs-chef-io v0.0.0-20250207053335-f11d6ce5b3c1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/chef/automate/components/docs-chef-io v0.0.0-20250109084654-0c4aab636f65 h1:9B9FOW9UjPo2jG0KkqWzzW9fDv0fVMJ/mTdiHuUfGEA=
github.com/chef/automate/components/docs-chef-io v0.0.0-20250109084654-0c4aab636f65/go.mod h1:juvLC7Rt33YOCgJ5nnfl4rWZRAbSwqjTbWmcAoA0LtU=
github.com/chef/chef-docs-theme v0.0.0-20250131195626-789c6c10b6b1 h1:ucWIwBjzeFtn6QQodVdJYsayO9xApCDs+3Mwjx80NjI=
github.com/chef/chef-docs-theme v0.0.0-20250131195626-789c6c10b6b1/go.mod h1:+Jpnv+LXE6dXu2xDcMzMc0RxRGuCPAoFxq5tJ/X6QpQ=
github.com/chef/chef-docs-theme v0.0.0-20250217213320-727f9bce8258 h1:wpWL3E4Kb6ynNEwilZiKk/clD0g9AjinDB/D+OKeKHU=
github.com/chef/chef-docs-theme v0.0.0-20250217213320-727f9bce8258/go.mod h1:+Jpnv+LXE6dXu2xDcMzMc0RxRGuCPAoFxq5tJ/X6QpQ=
github.com/chef/chef-server/docs-chef-io v0.0.0-20250122051915-0ae871a00deb h1:iDhOxNTUp7/SqANlBY9mP+/m8uQ5l74i+JqNqWKnji8=
github.com/chef/chef-server/docs-chef-io v0.0.0-20250122051915-0ae871a00deb/go.mod h1:gMSa25GUHmLimA0gjvRd3hs1buOBqkKPrdHzHvaJauY=
github.com/chef/chef-workstation/docs-chef-io v0.0.0-20250205062508-ee50345a4044 h1:9su2oorS/cjvdxUEBaTZBjiCS3WafkLgk6bwDNQ1SDk=
Expand Down
Loading

0 comments on commit 5f62c9e

Please sign in to comment.