Repository navigation
refactor(deps): remove deprecated NodeJS AbortController polyfill - #4323
Merged
robert-hebel-sb merged 2 commits intoNov 25, 2026
Merged
Conversation
Remove `node-abort-controller`, deprecated on npm. All supported Node.js versions (>=22) provide the APIs natively.
There was a problem hiding this comment.
🟢 Approval recommended
The review identifies no active issues, with the deprecated dependency, polyfill infrastructure, related metadata, and documentation references addressed across the listed changes.
No open issues 🎉
What changed in this PR
This PR removes the deprecated node-abort-controller dependency and its Node.js/browser polyfill infrastructure, relying on native AbortController support in supported runtimes.
Changes:
- Removes polyfill imports, implementations, dependency metadata, lockfile entries, and browser mappings.
- Updates cancellation documentation and project guidance to reference native support.
| File | Description |
|---|---|
| src/resolver/apidom/reference/resolve/resolvers/http-swagger-client/index.js | Removes the obsolete AbortController polyfill import. |
| src/helpers/abortcontroller-ponyfill.node.js | Deletes the Node.js AbortController ponyfill. |
| src/helpers/abortcontroller-ponyfill.browser.js | Deletes the browser AbortController ponyfill. |
| src/helpers/abortcontroller-polyfill.node.js | Deletes the Node.js global AbortController polyfill setup. |
| src/helpers/abortcontroller-polyfill.browser.js | Deletes the browser global AbortController polyfill setup. |
| package.json | Removes the deprecated dependency and browser mappings. |
| package-lock.json | Removes the locked dependency entries. |
| docs/usage/tags-interface.md | Updates cancellation guidance to document native AbortController support. |
| docs/usage/http-client.md | Updates cancellation guidance to document native AbortController support. |
| docs/usage/http-client-for-oas-operations.md | Updates cancellation guidance to document native AbortController support. |
| CLAUDE.md | Removes obsolete dependency and polyfill references. |
Review effort: Lite
kopernic-pl
approved these changes
Nov 20, 2026
robert-hebel-sb
requested review from
cka121,
glowcloud and
robert-hebel-sb
as code owners
November 24, 2026 09:14
Contributor
|
hey @AFCMS 👋 thank you for the contribution! 🖤 Approving and merging once workflows passes 🚀 |
robert-hebel-sb
approved these changes
Nov 24, 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.
Description
Remove
node-abort-controller, all abort controller polyfill/ponyfill files, and their imports and browser mappings. Update the cancellation documentation.Motivation and Context
node-abort-controlleris deprecated on npm. This package supports only Node.js >=22, which providesAbortControllerandAbortSignalnatively.How Has This Been Tested?
On Node.js 24:
Screenshots (if appropriate):
N/A
Types of changes
package.json)Checklist: