Skip to content

Upgrade Docusaurus 3.6.3 → 3.10.2, resolve 13 npm audit vulnerabilities - #511

Merged
mchaamsler merged 3 commits into
mainfrom
copilot/upgrade-application-dependencies
Aug 18, 2026
Merged

mchaamsler merged 3 commits into
mainfrom
copilot/upgrade-application-dependencies

Conversation

Copilot AI commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

37 open npm audit vulnerabilities, 13 resolvable by upgrading Docusaurus to the latest release.

Changes

  • Bump @docusaurus/core, @docusaurus/preset-classic, @docusaurus/module-type-aliases, @docusaurus/types: 3.6.3 → 3.10.2
  • Run npm audit fix to pick up fixed transitive deps (@babel/*, ajv, estree-util-value-to-estree, http-proxy-middleware, joi, minimatch, nanoid, node-forge, picomatch, prismjs, serialize-javascript)

Remaining 24 vulnerabilities

All locked inside webpack-dev-server's transitive closure (dev-only, no production impact):

Package Blocker
image-size @docusaurus/mdx-loader pins ^2.0.2; no patched release in that range
serialize-javascript @docusaurus/bundler dependency; upstream hasn't cut a fix
uuid <11.1.1 sockjs ^8.3.2 → webpack-dev-server; sockjs hard-requires uuid v8

Copilot AI and others added 2 commits August 17, 2026 06:38
…ilities

Co-authored-by: metaodi <538415+metaodi@users.noreply.github.com>
Co-authored-by: metaodi <538415+metaodi@users.noreply.github.com>
Copilot AI changed the title Upgrade Docusaurus 3.6.3 → 3.10.2 and fix npm audit vulnerabilities Upgrade Docusaurus 3.6.3 → 3.10.2, resolve 13 npm audit vulnerabilities Aug 17, 2026
Copilot AI requested a review from metaodi August 17, 2026 06:44
@metaodi

metaodi commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

@copilot the build failed, it seems we need a node upgrade.

…rn.lock

Co-authored-by: metaodi <538415+metaodi@users.noreply.github.com>

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the build failed, it seems we need a node upgrade.

Fixed in commit fix: upgrade Node.js to 20. Docusaurus 3.10.2 requires Node ≥ 20. I've updated the workflow node-version from 18 → 20, updated the engines field in package.json, and regenerated yarn.lock.

@metaodi
metaodi marked this pull request as ready for review August 17, 2026 07:10
@metaodi
metaodi requested a review from a team as a code owner August 17, 2026 07:10
@metaodi

metaodi commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

@mchaamsler Dieser PR löst die meisten der Dependabot Alerts, dies restlichen sind transitive Abhängigkeiten von webpack-dev-server und betreffen ausschliesslich die lokale Entwcklungsumgebung.

Der Production-Build ist davon nicht betroffen, die Output-Dokumentation auf http://opendatadocs.meteoswiss.ch/ entsprechend auch nicht.

@mchaamsler
mchaamsler merged commit 3d3ac95 into main Aug 18, 2026
1 check passed
@mchaamsler
mchaamsler deleted the copilot/upgrade-application-dependencies branch August 18, 2026 11:51
@mchaamsler

Copy link
Copy Markdown
Collaborator

@metaodi, hat leider nicht funktioniert. Kannst du die das nochmals anschauen? Merci, LG a

@metaodi

metaodi commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

@mchaamsler ich habs angepasst, jetzt tut es wieder. Eine Version war noch nicht angepasst. Siehe auch #512

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants