akamai / cli-property-manager

Use this Property Manager CLI to automate Akamai property changes and deployments across many environments.
Apache License 2.0
29 stars 22 forks source link

DeprecationWarning for punycode #87

Open fkieling opened 9 months ago

fkieling commented 9 months ago

Hi there,

CLI Version

~ akamai --version
akamai version 1.5.5
~ akamai pl --version
0.7.8-RELEASE

Expected Behavior

Don't get deprecation warning then using akamai pm or akamai pl

Actual Behavior

Command print correct information and a deprecation warning:

~ akamai pl --format json lg
(node:82499) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[
    {

Steps to Reproduce

  1. akamai pl --format json lg (or other subcommands from pl or pm)
aweingarten commented 3 months ago

This issue is going to come up more and more with customers working with Next.js and other JS frameworks.