Skip to content

chore(deps): update dependencies before v0.1.0 - #102

Merged
maehr merged 1 commit into
textrefs:stagingfrom
maehr:chore/deps-pre-tag
Sep 2, 2026
Merged

chore(deps): update dependencies before v0.1.0#102
maehr merged 1 commit into
textrefs:stagingfrom
maehr:chore/deps-pre-tag

Conversation

@maehr

@maehr maehr commented Aug 27, 2026

Copy link
Copy Markdown
Member

Summary

Refreshes every compatible dependency before the first tag and clears GHSA-hmw2-7cc7-3qxx with the existing form-data override.

The coordinated framework update moves Astro to 7.2.10 and Starlight to 0.42.0, together with sitemap 3.7.4, starlight-blog 0.29.0, links-validator 0.26.0, sharp 0.35.4, Zod 4.5.4, lint-staged 17.4.1, tsx 4.23.13, @astrojs/check 0.9.10, starlight-openapi 0.26.1, and current compatible transitive releases.

Deliberate exceptions

  • TypeScript stays on 6.0.3. The current @astrojs/check peer range accepts TypeScript 5 or 6, not 7. npm outdated reports this as the only remaining direct update.
  • GitHub Actions need no file changes. Every workflow already uses the current major pin: checkout v7, setup-node v7, configure-pages v6, upload-pages-artifact v5, deploy-pages v5, lychee-action v2, create-issue-from-file v6, and action-gh-release v3. Floating major tags resolve their latest patch releases.

Verification

Run under Node 24 after a clean npm ci:

  • npm audit — 0 vulnerabilities
  • astro check — 0 errors
  • tests — 118 passed
  • production build — 259,812 pages
  • internal links — all valid
  • registry compile — 86,477 records and 172,838 aliases; all dump artifacts emitted

The data/ submodule is unchanged.

Copilot AI lite review requested due to automatic review settings August 27, 2026 14:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Clears the form-data CRLF injection advisory (GHSA-hmw2-7cc7-3qxx) in the build-time OpenAPI sample rendering dependency chain by forcing an in-range patched form-data, and refreshes the lockfile to pick up already-allowed patch updates (notably Astro, sharp, and lint-staged).

Changes:

  • Add an npm overrides rule to force form-data to ^4.0.6 (resolving the advisory while staying within major v4).
  • Update package-lock.json to reflect the new form-data@4.0.6 resolution and take in-range patch updates (astro, sharp, lint-staged), plus the resulting transitive lock refresh.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Adds overrides to force patched form-data resolution.
package-lock.json Locks form-data@4.0.6 and refreshes resolved versions for in-range patch bumps (and transitives).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Clear the form-data advisory with an override.

Refresh every compatible dependency before the first tag.

Upgrade Astro to 7.2.10 and Starlight to 0.42.0 with current plugins.

Refresh all in-range transitive dependencies.

Keep TypeScript 6.0.3 because @astrojs/check does not accept TypeScript 7.

All Actions already use current major pins, so workflows need no edits.

Verified under Node 24 with npm audit, 118 tests, links, full build, and registry dump.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@maehr
maehr force-pushed the chore/deps-pre-tag branch from 33dda2f to 63b9c8b Compare September 2, 2026 17:37
@maehr maehr changed the title chore(deps): clear the form-data advisory and take the in-range patches chore(deps): update dependencies before v0.1.0 Sep 2, 2026
@maehr
maehr merged commit c41a230 into textrefs:staging Sep 2, 2026
2 checks passed
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.

2 participants