Skip to content

build(deps-dev): bump @types/node from 22.19.17 to 25.6.0#5

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/types/node-25.6.0
Closed

build(deps-dev): bump @types/node from 22.19.17 to 25.6.0#5
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/types/node-25.6.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 17, 2026

Bumps @types/node from 22.19.17 to 25.6.0.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.19.17 to 25.6.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: 25.6.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 17, 2026
@mahmoudimus
Copy link
Copy Markdown
Owner

Closing against stale main baseline — #4 (46 commits ahead) is about to merge. Dependabot will reopen the still-relevant bumps against the post-merge main on its next schedule.

@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Apr 18, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/types/node-25.6.0 branch April 18, 2026 23:18
mahmoudimus added a commit that referenced this pull request Apr 19, 2026
…n instances

TDD cycle addressing review finding #5.

Test-first: tests/reviewer-findings.test.ts::Finding #5 constructs 15
Tsadwyn instances each with an onShutdown hook and asserts the SIGTERM
listener-count delta stays ≤ 1. Before this fix, each instance called
`process.on("SIGTERM", ...)` + `process.on("SIGINT", ...)`, so 15
instances added 15 listeners per signal. Node's default
maxListeners=10 triggers MaxListenersExceededWarning at ~11, and more
subtly, a real SIGTERM would invoke all 15 handlers in parallel and each
would race to call process.exit — masking failures in test suites.

Fix: module-scoped `_tsadwynActiveInstances` Set + a single signal
handler installed exactly once via `_installTsadwynSignalHandlerOnce`.
On signal, the shared handler drains every registered instance's
onShutdown in parallel via Promise.allSettled, then calls process.exit.
Exit code is 1 if any instance's shutdown rejected, 0 otherwise.

Also adds a public `Tsadwyn#close()` method so tests (and consumers that
hot-swap instances) can unregister from the shared set. Idempotent —
calling it twice is a safe no-op.

Verified with revert-fix-rerun:
  - With per-instance process.on: 15-instance test shows 15 listeners
    added → test fails.
  - With module-scoped handler: 1 listener added total → test passes.

Second test locks in that close() is safe to call multiple times.
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