Expected Behavior
Should not receive a punycode deprecation warning for running clasp push or other clasp commands that rely on punycode.
Actual Behavior
When running clasp push or other clasp commands that rely on punycode, the following deprecation error occurs:
(node:79914) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
This issue can be resolved by using the userland-provided Punycode.js instead, per the Node.js v22.9.0 documentation. Steps to resolve the issue are detailed in the provided documentation.
Steps to Reproduce the Problem
- Run
clasp push or other clasp commands that rely on punycode
- Results in the following error:
(node:79914) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Specifications
- Node version (
node -v): 22.9.0
- Version (
clasp -v): 2.4.2
- OS (Mac/Linux/Windows): Mac