Repository navigation
fix: bump non-breaking dependencies to latest - #631
Merged
Merged
Conversation
fastify@5.11.2 added `http2?: false` to `FastifyHttpOptions` and `FastifyHttpsOptions` to discriminate its constructor overloads. The static-server options object declares `http2?: boolean`, which no longer matches any overload, so `tsc` failed with TS2769 and broke the build. Type the object as `FastifyServerOptions` plus the http2/https extras and pass it through the plain HTTP signature - the overload it has always resolved to - so the instance type and runtime behavior are unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016bnTX3dzc8eVeb6Qfm51hv
Merged
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.
Automated non-major dependency bump (deps-train).
package.json
packages/static-server/package.json
What changed
pnpm11.19.0 → 11.20.0pnpm 11.20
Minor Changes
Security fix. Affects projects using
namedRegistrieson pnpm 11.1.0–11.19.x. It is semi-breaking for those projects — see "If you use named registries" below.The lockfile recorded no marker for which registry a package came from. Packages were keyed by
name@versionalone, and entry lookup went throughrefToRelative(ref, name), so a dependency you declared against one registry could be satisfied by an entry that was actually resolved from another. When two registries served the same name and version, both collapsed onto a singlepackages:entry and whichever resolved first decided the tarball every consumer got.That is a package-substitution risk: a package you expect from your private registry could be installed from a different registry that publishes the same name and version, and the lockfile recorded nothing that would let you tell.
Packages resolved from a named registry are now recorded under registry-qualified keys (
<name>@<registryName>:<version>, e.g.foo@work:1.0.0), so each registry gets its own entry and the lockfile pins which one a dependency came from.The lockfile format version is unchanged. Registry-qualified keys appear only for packages resolved from a named registry, so a project that does not use
namedRegistriessees no difference, and older pnpm versions keep reading the file.If you use named registries
Your next non-frozen install re-keys those entries, which shows up as a
…notes truncated.
compare 11.19.0…11.20.0 · npm
fastify5.11.0 → 5.11.2v5.11.2
Full Changelog: fastify/fastify@v5.11.1...v5.11.2
v5.11.1
What's Changed
@jean-micheletin fix: add http method override warning fastify/fastify#6879@Tony133in fix(types): allow explicit http2: false in server options fastify/fastify#6888@basteezin docs: clarify what attachValidation exposes on request.validationError fastify/fastify#6891@aquie00tin fix: do not force close in-flight connections when forceCloseConnections is 'idle' fastify/fastify#6889New Contributors
@basteezmade their first contribution in docs: clarify what attachValidation exposes on request.validationError fastify/fastify#6891Full Changelog: fastify/fastify@v5.11.0...v5.11.1
compare 5.11.0…5.11.2 · npm