-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary node-abort-controller polyfill
Summary: The builtin `AbortController`/`AbortSignal` is now sufficient in Metro's minimum Node.js version (18.18) that we don't need this polyfill. In particular: - `AbortSignal.abort(reason)`: https://nodejs.org/api/globals.html#static-method-abortsignalabortreason - `AbortSignal.throwIfAborted()`: https://nodejs.org/api/globals.html#abortsignalthrowifaborted Have both been supported since Node 17.3.0. At the time we introduced `node-abort-controller`, Metro's minimum was Node 16.0. Changelog: Internal Reviewed By: huntie Differential Revision: D67829632 fbshipit-source-id: 994f7f52203671704a503db43359f504f36dd326
- Loading branch information
1 parent
b7b3cf4
commit d631f45
Showing
9 changed files
with
2 additions
and
89 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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