Repository navigation
Take sha2 0.11 and TypeScript 7 with the fixes they need - #54
Merged
Merged
Conversation
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.9 to 0.11.0. - [Commits](RustCrypto/hashes@sha2-v0.10.9...sha2-v0.11.0) --- updated-dependencies: - dependency-name: sha2 dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> (cherry picked from commit f422c3a)
sha2 0.11 returns a hybrid-array digest that no longer implements LowerHex. Use the same per-byte formatting engine.rs already does, and pin the output with a known-digest test: restore compares against checksums stored in existing backup manifests, so the format must not drift. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ogkkoq4TrDQskE34iXVzx
TypeScript 7 rejects side-effect imports it has no declarations for, so main.ts's stylesheet import failed the typecheck. Reference Vite's client types, which declare CSS and other asset imports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ogkkoq4TrDQskE34iXVzx
Dependabot proposed @types/node 26 while the server and CI run on Node 24. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ogkkoq4TrDQskE34iXVzx
This was referenced Oct 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dependabot's #50 (TypeScript 7) and #52 (sha2 0.11) both failed CI because each major needs a small code change. This PR carries both bumps plus those fixes, and stops Dependabot proposing @types/node majors ahead of the Node runtime (#53).
Related issue
Supersedes Dependabot PRs #50, #52, #53.
Type of change
Changes made
-x.backup.rs: 0.11's digest type no longer implementsLowerHex, soformat!("{:x}", …)stopped compiling. The checksum is now formatted per byte, the same wayengine.rsalready does it."abc". Restore compares against checksums stored in existing backup manifests, so the lowercase-hex format must not change.import './styles.css'inmain.ts).src/vite-env.d.ts(/// <reference types="vite/client" />).@types/node. Typings should follow the Node major the server runs on (24), not the newest release.Testing performed
I checked for new console or build errors.
Reproduced both CI failures locally before fixing:
TS2882onstyles.css.E0277 … LowerHexinbackup.rs.cargo test --lib --locked: 63 passed (incl. new digest test), 11 ignored.cargo audit: no vulnerabilities.npm ci(clean),npm test: 478 passed,npm run build,npm run build:server,npm run validate:printers: OK.npm audit: 0.Test environment
Operating system: Linux (cloud container)
PerfectFit version or branch:
claude/busy-hamilton-z2zym0on top of currentmainSlicer and version: n/a
Printer, if relevant: n/a
Compatibility and risks
tsc --noEmittypecheck; Vite/Vitest don't use it to transpile, so bundle output is unaffected.Final checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_012ogkkoq4TrDQskE34iXVzx
Generated by Claude Code