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

[DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. #930

Closed
RobbyCBennett opened this issue Jan 31, 2024 · 2 comments · May be fixed by #937

Comments

@RobbyCBennett
Copy link

This should be able to be fixed by updating the markdown-it module to 14.0.0.

Issue: markdown-it/markdown-it#967
Release commit: markdown-it/markdown-it@4949a10

@joaomoreno
Copy link
Member

This needs to be filed somewhere else:

➜  vscode-vsce git:(main) npm why punycode
punycode@2.3.0 dev
node_modules/punycode
  punycode@"^2.1.0" from uri-js@4.4.1
  node_modules/uri-js
    uri-js@"^4.2.2" from ajv@6.12.6
    node_modules/ajv
      ajv@"~6.12.6" from @microsoft/tsdoc-config@0.16.2
      node_modules/@microsoft/tsdoc-config
        @microsoft/tsdoc-config@"~0.16.1" from @microsoft/api-extractor@7.36.3
        node_modules/@microsoft/api-extractor
          dev @microsoft/api-extractor@"^7.33.7" from the root project
        @microsoft/tsdoc-config@"~0.16.1" from @microsoft/api-extractor-model@7.27.5
        node_modules/@microsoft/api-extractor-model
          @microsoft/api-extractor-model@"7.27.5" from @microsoft/api-extractor@7.36.3
          node_modules/@microsoft/api-extractor
            dev @microsoft/api-extractor@"^7.33.7" from the root project

@joaomoreno joaomoreno closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
@RobbyCBennett
Copy link
Author

No, that is a dev dependency. I'm talking about a warning that occurs during runtime (normal dependency.) I've just tested my idea and it works.

Before updating markdown-it:

node ..\vscode-vsce\vsce package

(node:20356) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 DONE  Packaged: C:\Users\RobbyBennett\Desktop\VSCodeQuickSelect\quick-select-1.0.4.vsix (8 files, 13.72KB)

After updating markdown-it:

node ..\vscode-vsce\vsce package

 DONE  Packaged: C:\Users\RobbyBennett\Desktop\VSCodeQuickSelect\quick-select-1.0.4.vsix (8 files, 13.72KB)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants