Skip to content

deps: update astro to v6, starlight to v0.38, and related packages#797

Draft
Copilot wants to merge 5 commits intomainfrom
copilot/update-astro-starlight-versions
Draft

deps: update astro to v6, starlight to v0.38, and related packages#797
Copilot wants to merge 5 commits intomainfrom
copilot/update-astro-starlight-versions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 30, 2026

  • Resolve merge conflicts with main (keep Astro 6 upgrades, take @clerk/nextjs@6.39.0 from main)
  • Update all arcjet/nosecone packages from 1.3.0 to 1.3.1 (root + snippet workspaces) — fixes @arcjet/astro peer dep to support astro@^6.0.0
  • Run npm install and verify install succeeds
  • Verify no security advisories for new versions
  • .npmrc legacy-peer-deps=true still required due to @sveltejs/vite-plugin-svelte@7 requiring vite@^8 while Astro 6 uses Vite 7

Copilot AI and others added 2 commits March 30, 2026 16:41
- astro: 5.18.1 → 6.1.2
- @astrojs/starlight: 0.37.6 → 0.38.2
- @astrojs/react: 4.4.2 → 5.0.2
- @astrojs/node: 9.5.5 → 10.0.4
- @astrojs/vercel: 9.0.4 → 10.0.3
- @astrojs/check: 0.9.6 → 0.9.8
- @expressive-code/plugin-collapsible-sections: 0.41.6 → 0.41.7
- @expressive-code/plugin-line-numbers: 0.41.6 → 0.41.7
- starlight-links-validator: 0.19.2 → 0.21.0

Migrate content config to use i18nLoader() and fix SCSS
alias resolution for Vite 7 compatibility.

Agent-Logs-Url: https://github.com/arcjet/arcjet-docs/sessions/cc52be0f-7b51-4bf0-8aa6-39ad4600e750

Co-authored-by: qw-in <19194187+qw-in@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arcjet-docs Ready Ready Preview, Comment Mar 31, 2026 1:00am

Request Review

// https://docs.astro.build/en/reference/content-loader-reference/#watcher
},
name: wrappedLoader.name,
schema: wrappedLoader.schema,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why did the schema get removed?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems as though the only change is the Giscus comment box is silently removed rather than being replaced with explanation text.

…en, fix Vercel deploy

- Wrap Comments.astro in .giscus-wrapper div for reliable test targeting
- Update screenshot test to target .giscus-wrapper instead of div.giscus
- Add .npmrc with legacy-peer-deps=true for Vercel deployment
- Revert 74 unnecessary screenshot regenerations from previous commit
- Regenerate only 26 screenshots with genuine Astro 6 rendering changes
  (nosecone-* and reference-* pages)

All 163 tests pass.

Agent-Logs-Url: https://github.com/arcjet/arcjet-docs/sessions/e4690fe7-0299-4cf8-b729-44ae37e03624

Co-authored-by: qw-in <19194187+qw-in@users.noreply.github.com>
…starlight-versions

# Conflicts:
#	package-lock.json
#	package.json

Co-authored-by: qw-in <19194187+qw-in@users.noreply.github.com>
@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 30, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​arcjet/​react-router@​1.3.0 ⏵ 1.3.172 -2810010095 -5100
Updated@​arcjet/​deno@​1.3.0 ⏵ 1.3.172 -2810010096 -4100
Updated@​arcjet/​fastify@​1.3.0 ⏵ 1.3.172 -2810010095 -5100
Updated@​arcjet/​remix@​1.3.0 ⏵ 1.3.173 -2710010096 -4100
Updated@​nosecone/​sveltekit@​1.3.0 ⏵ 1.3.173 -2710098 -296 -4100
Updated@​arcjet/​sveltekit@​1.3.0 ⏵ 1.3.173 -2710010096 -4100
Updated@​arcjet/​nuxt@​1.3.0 ⏵ 1.3.173 -2710010095 -5100
Updated@​arcjet/​bun@​1.3.0 ⏵ 1.3.173 -2710010096 -4100
Updated@​arcjet/​nest@​1.3.0 ⏵ 1.3.174 -2610010096 -4100
Updated@​arcjet/​astro@​1.1.0 ⏵ 1.3.176 +1100100 +196 -1100
Updated@​arcjet/​decorate@​1.3.0 ⏵ 1.3.178 -2210010096 -4100
Updated@​astrojs/​check@​0.9.6 ⏵ 0.9.81001008093 +4100
Updated@​arcjet/​redact@​1.3.0 ⏵ 1.3.180100100 +596 +2100
Updatedstarlight-links-validator@​0.19.2 ⏵ 0.21.095 +110081 -193 +8100
Updated@​arcjet/​node@​1.3.0 ⏵ 1.3.182 -1810010096 -4100
Updated@​astrojs/​node@​9.5.5 ⏵ 10.0.4100 +1100 +282 +197 +1100
Updated@​astrojs/​react@​4.4.2 ⏵ 5.0.29910082 +196 +2100
Updated@​astrojs/​vercel@​9.0.5 ⏵ 10.0.3100100 +28397 +1100
Updated@​astrojs/​starlight@​0.37.6 ⏵ 0.38.299 +110085 +197 +1100
Updatedastro@​5.18.1 ⏵ 6.1.297 +110088 +198100
Updated@​arcjet/​inspect@​1.1.0 ⏵ 1.3.188 +1100100 +196100
Updated@​arcjet/​body@​1.1.0 ⏵ 1.3.19010010096 +1100
Updatedvue-tsc@​3.2.2 ⏵ 3.2.510010092 +2294 -1100
Updated@​arcjet/​protocol@​1.1.0 ⏵ 1.3.198 +110093 +196 +2100
Updated@​arcjet/​next@​1.3.0 ⏵ 1.3.196 -410010096 -4100
Updated@​nosecone/​next@​1.3.0 ⏵ 1.3.197 -310097 -396 -4100
Updatednosecone@​1.3.0 ⏵ 1.3.197 -310097 -396 -4100
Updated@​arcjet/​transport@​1.1.0 ⏵ 1.3.197 +110097 +1296 +2100
Updated@​arcjet/​env@​1.1.0 ⏵ 1.3.199100100 +596 +2100
Updated@​arcjet/​headers@​1.1.0 ⏵ 1.3.19810096 +1096 +2100
Updated@​arcjet/​ip@​1.1.0 ⏵ 1.3.198 +110010096 +2100
Updated@​arcjet/​logger@​1.1.0 ⏵ 1.3.198 +1100100 +1096 +2100
See 1 more rows in the dashboard

View full report

@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 30, 2026

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: npm caniuse-lite under CC-BY-4.0

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (npm metadata)

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (package/package.json)

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (package/LICENSE)

From: package-lock.jsonnpm/nuxt@4.3.1npm/next@15.5.14npm/@astrojs/react@5.0.2npm/caniuse-lite@1.0.30001782

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/caniuse-lite@1.0.30001782. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@qw-in
Copy link
Copy Markdown
Member

qw-in commented Mar 30, 2026

Waiting on Arcjet JS 1.3.1 for "official" astro@6 support here

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