Skip to content
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

[Bug] (node:14952) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. #15

Open
sixareen opened this issue Dec 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sixareen
Copy link

Describe the bug
I see the warning in the Title when I start my app.

To Reproduce

  1. Click the Office Add-ins development kit icon
  2. Click View Samples
  3. Select the "Get Started with the Office Add-ins Development Kit in Word" (it's the one that inserts "Hello World" and colours it blue
  4. A new VS Code window opens. I close the old one.
  5. I Select Word Desktop (Edge Chromium)
  6. I see the warning in the Title.

Expected behavior
OK, it's only a warning, but what effect does it have on the code? Think this module was deprecated several years ago already!

Screenshots or logs/output in Terminal
Some surrounding output...

office-addin-taskpane-js@1.0.0 start:desktop
office-addin-debugging start manifest.xml desktop word

(node:14952) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Debugging is being started...
App type: desktop

Environment(please complete the following information):
OS: Windows
Version: 11 Pro, 24H2, Windows Feature Experience Pack 1000.26100.36.0
VS Code Version 1.96.2
Extension Version 1.0.1
Node Version 20.18.1
Version info from VS Code Help->About
Version: 1.96.2 (user setup)
Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f
Date: 2024-12-19T10:22:47.216Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26100

@sixareen sixareen added the bug Something isn't working label Dec 21, 2024
@hermanwenhe
Copy link
Contributor

This punycode package is a sub-dependency of our debugging support tool package office-addin-cli. Since this package is just for local testing purpose, the effect is limited and seems not a blocker of your development. It's a good suggestion though, We'll plan to remove this deprecated dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants