Skip to content

@tus/server: update development Node typings with a named context return type - #868

Merged
Murderlon merged 7 commits into
mainfrom
dependabot/npm_and_yarn/types/node-26.1.2
Oct 17, 2026
Merged

Murderlon merged 7 commits into
mainfrom
dependabot/npm_and_yarn/types/node-26.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Update development Node typings to version 26. Add an explicit CancellationContext return type to Server.createContext so declaration generation uses the existing exported type instead of an unnameable inferred AbortSignal type.

Runtime behavior, consumer Node requirements, and runtime and peer dependency ranges stay unchanged. Include an @tus/server patch changeset for the named declaration boundary.

The upgrade-specific compatibility script, fixture, and workflow have been removed. Existing build/lint and test CI validates the revised PR. Previous one-off packed-package comparisons found no new diagnostics on TypeScript 5.8 with Node 20 and 22; their existing srvx baseline errors were unchanged. Those historical checks are not a claim that the current head has passed CI.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2026
@changeset-bot

changeset-bot Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5758f24

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tus/server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security

socket-security Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​node@​22.13.7 ⏵ 26.6.5100 +11008196 +1100

View full report

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.7 to 26.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.1.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump @types/node from 22.13.7 to 26.1.2 Bump @types/node from 22.13.7 to 26.2.0 Aug 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/types/node-26.1.2 branch from 84e1b1f to af9e66d Compare August 14, 2026 08:13
* origin/main:
  @tus/s3-store: clean up temp part files on upload failure (#885)
  @tus/server: revert Redis lockers to unblock releases
  Add FUNDING.yml pointing to the tus Open Collective (#883)
  feat(server): implement RedisLocker and IoRedisLocker (#846)
  [ci] release (#878)
  @tus/s3-store: avoid false completion on generic 404 (#877)
  [ci] release (#874)
  @tus/server: set CORS headers before early returns (#873)
Name the protected return type with the existing CancellationContext contract. Preserve current main brace-expansion lock entries when merging the dependency branch.
Compile packed declarations with TypeScript 5.8.2 and Node 20 and 22 typings without skipLibCheck. Exercise packaged cancellation and HTTP uploads on supported Node runtimes.
Use one locked external dependency installation for both packed revisions, retain strict diagnostics and runtime evidence, and add a patch changeset for the existing context return annotation.
@Murderlon Murderlon changed the title Bump @types/node from 22.13.7 to 26.2.0 @tus/server: update development Node typings with a named context return type Oct 17, 2026
@Murderlon
Murderlon added this pull request to the merge queue Oct 17, 2026
Merged via the queue into main with commit 13486ed Oct 17, 2026
4 checks passed
@Murderlon
Murderlon deleted the dependabot/npm_and_yarn/types/node-26.1.2 branch October 17, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant