You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running a real Firebase deploy for a TypeScript Cloud Functions project still prints:
(node:82935) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
[REQUIRED] Steps to reproduce
Install firebase-tools@15.15.0
Use Node.js 22.22.1
In a Firebase project with Cloud Functions configured, run a deploy such as:
firebase deploy --only functions
In my case the project has standard predeploy hooks for functions:
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
[REQUIRED] Expected behavior
No DEP0040 warning should be printed during deploy on a current firebase-tools release.
[REQUIRED] Actual behavior
The deploy prints the punycode deprecation warning under Node.js 22.
Additional notes
I upgraded specifically to check whether this was already fixed in a newer CLI release, but it still appears on 15.15.0.
In the same environment, these commands do not print the warning:
firebase --version
firebase deploy --help
local function lint / build commands
That makes it look like the warning is coming from a dependency that is only loaded on the actual deploy path.
I found the older closed report here: punycode deprecation #7476. This new report is to note that the warning still appears on firebase-tools 15.15.0 with Node.js 22.22.1.
If helpful, I can provide a minimal reproduction repository as a follow-up.
[REQUIRED] Environment info
firebase-tools:15.15.0v22.22.110.9.426.4.1(arm64)[REQUIRED] Test case
Running a real Firebase deploy for a TypeScript Cloud Functions project still prints:
[REQUIRED] Steps to reproduce
firebase-tools@15.15.022.22.1In my case the project has standard predeploy hooks for functions:
[REQUIRED] Expected behavior
No
DEP0040warning should be printed during deploy on a currentfirebase-toolsrelease.[REQUIRED] Actual behavior
The deploy prints the
punycodedeprecation warning under Node.js 22.Additional notes
15.15.0.firebase --versionfirebase deploy --helplint/buildcommandsfirebase-tools 15.15.0with Node.js 22.22.1.If helpful, I can provide a minimal reproduction repository as a follow-up.