We are trying to upgrade node-fetch to v3.X.X, but the firebase-functions package has pinned as a dependency v2.X.X.
As far as I can see, you only use node-fetch for tests.
Could you please move the node-fetch dependency as a devDependency so it does not prevent packages that depend on firebase-functions from upgrading.
[REQUIRED] Steps to reproduce
Add firebase-functions as a dependency to a project which depends on node-fetch v3.X.X
[REQUIRED] Expected behavior
The project cannot use node-fetch v3.X.X
[REQUIRED] Actual behavior
If you put node-fetch v2.X.X in devDependencies of firebase-functions, it will still be used in tests, but it will not prevent other projects from upgrading.
Were you able to successfully deploy your functions?
Related issues
[REQUIRED] Version info
node:
v18.18.0
firebase-functions:
v4.8.1
firebase-tools:
13.5.2
firebase-admin:
11.11.1
[REQUIRED] Test case
We are trying to upgrade
node-fetch
to v3.X.X, but thefirebase-functions
package has pinned as a dependency v2.X.X. As far as I can see, you only usenode-fetch
for tests. Could you please move thenode-fetch
dependency as adevDependency
so it does not prevent packages that depend onfirebase-functions
from upgrading.[REQUIRED] Steps to reproduce
Add
firebase-functions
as a dependency to a project which depends onnode-fetch
v3.X.X[REQUIRED] Expected behavior
The project cannot use
node-fetch
v3.X.X[REQUIRED] Actual behavior
If you put
node-fetch
v2.X.X indevDependencies
offirebase-functions
, it will still be used in tests, but it will not prevent other projects from upgrading.Were you able to successfully deploy your functions?