-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace node-fetch dependency with undici #7705
Merged
Merged
Changes from 26 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
6f959f7
update node-fetch to 3.2.0
DellaBitta dca8b45
repo scripts build fixes
DellaBitta 8bd20e7
upgrade to node fetch 3.3.2
DellaBitta 3e19c06
attempt to template reponse as Object
DellaBitta b0b57d4
emulator list as any
DellaBitta 170d8b8
convert changelog generator from type module to commonjs due to node-…
DellaBitta c7cb29a
URL to string
DellaBitta 36030be
formatting
DellaBitta 915d6d9
formatting2
DellaBitta 87f7aee
yarn.lock file
DellaBitta 1e5315d
functions -> node-fetch-cjs, rulesunittesting -> node-fetch
DellaBitta 8a32b0d
auth, firestore, storage -> node-fetch-cjs
DellaBitta 2de208f
node-fetch-cjs package.json
DellaBitta 5943873
webpack config
DellaBitta 61778a4
update to emulator_rest_helpers import of undici
DellaBitta 0a2f3d2
update auth-compat
DellaBitta 1b0a813
lint fixes
DellaBitta 197de53
revert messaging integration test changes
DellaBitta c4411bc
yarn.lock push
DellaBitta 187ff43
replaced node-fetch-cjs with undici
DellaBitta c50be9b
narrow scoped imports
DellaBitta e852caa
pushed undici-specific code to an else block within emulator_rest_hel…
DellaBitta a439ac9
format and functions changes
DellaBitta 60dd788
firestore lint fix
DellaBitta a9f1f90
Changeset
DellaBitta 4caec8d
Merge branch 'master' into ddb-upgrade-node-fetch
DellaBitta 24d8c2a
Merge branch 'master' into ddb-upgrade-node-fetch
DellaBitta 194ad81
Update changeset from patch to minor
DellaBitta 4a48807
add comments to karma.conf.js files regarding why we're suppressing t…
DellaBitta 1750136
mangle undici fetch imports as undiciFetch
DellaBitta 8a29288
migrate node-fetch to undici in repo_scripts
DellaBitta 2f8bfd8
removed errant , in repo-scripts package.json
DellaBitta 140d686
revert undici upgrade of repo-scripts
DellaBitta 02c4922
lint fix
DellaBitta 272ea2a
generated new changeset with minor patch levels
DellaBitta 632e2da
add firebase minor version entry to changeset file
DellaBitta 083ebaa
add firebase minor version entry to changeset file
DellaBitta e93d827
Update to changeset conflict
DellaBitta 395c420
migrate changelog-generator to undici
DellaBitta 8ff801b
replace node-fetch in testing support for RUT, messaging and emulators
DellaBitta a95a38d
format and fetch rename fixes
DellaBitta 3febc4c
revert undici changes in tests
DellaBitta b41fcde
Update remaining test targets to use undici (#7761)
DellaBitta fcb842c
revert changes from RUT to be implemented later
DellaBitta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'@firebase/rules-unit-testing': patch | ||
'@firebase/auth-compat': patch | ||
'@firebase/firestore': patch | ||
'@firebase/functions': patch | ||
'@firebase/storage': patch | ||
'@firebase/auth': patch | ||
--- | ||
|
||
Replaced node-fetch v2.6.7 dependency with the latest version of undici (v5.26.5) in Node.js builds. |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a minor version or is it a transparent change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be invisible from the user's perspective but it is a big change under the hood, so I am leaning towards minor. If users notice any bugs or incompatibilities with the upgrade (we have tested this pretty thoroughly so it would be in an environment or use case we haven't thought of) it's feels like it makes more sense to point to this happening with a minor bump.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the changeset to
minor
updates for all of these SDKs.