-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Upgrade to
node-fetch
v3 (#617)
* feat!: Upgrade to `node-fetch` v3 * refactor: Use native `FormData` in testing * feat!: Improve spec compliance * test(temp): Run 18+ * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Improve types, streamline, and standardize * test: Adopt `Headers` type from merge * feat: Introduce `GaxiosOptionsPrepared` for improved type guarantees * feat: Ensure `GaxiosOptionsPrepared.url` is always a `URL` * refactor: Clean-up Types & Resolve lint warnings * refactor: streamline `.data` for `Response` * docs: Simplify example * refactor: streamline, no error case * feat: Basic `GET` Support for `Request` objects `node-fetch` does not yet support webstreams, which is required for `.body` node-fetch/node-fetch#387 * test: remove `.only` * refactor: simplify `httpMethodsToRetry` * chore: update `nock` * test: cleanup * fix: `File` in Node 18 * docs: clarification for node-fetch `.data` * chore: fix webpack for node-fetch v3 * docs: clarifications * fix: Types for Node.js-only environments --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4409086
commit 33702e6
Showing
14 changed files
with
582 additions
and
452 deletions.
There are no files selected for viewing
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
Oops, something went wrong.