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

punycode module deprecated #12766

Open
ccd2s opened this issue Aug 31, 2024 · 1 comment
Open

punycode module deprecated #12766

ccd2s opened this issue Aug 31, 2024 · 1 comment
Labels

Comments

@ccd2s
Copy link

ccd2s commented Aug 31, 2024

NodeBB version

v3.8.4

NodeBB git hash

4833f9a

NodeJS version

v22.6.0

Installed NodeBB plugins

    * @nodebb/nodebb-plugin-user-level@2.1.2 (installed, disabled)
    * nodebb-plugin-2factor@7.5.3 (installed, disabled)
    * nodebb-plugin-composer-default@10.2.36 (installed, enabled)
    * nodebb-plugin-custom-pages@2.1.0 (installed, enabled)
    * nodebb-plugin-dbsearch@6.2.5 (installed, enabled)
    * nodebb-plugin-emoji@5.1.15 (installed, enabled)
    * nodebb-plugin-emoji-android@4.0.0 (installed, enabled)
    * nodebb-plugin-gdpr@2.0.0 (installed, enabled)
    * nodebb-plugin-href2video-bilibili@0.0.3 (installed, enabled)
    * nodebb-plugin-markdown@12.2.6 (installed, enabled)
    * nodebb-plugin-meilisearch@0.7.1 (installed, disabled)
    * nodebb-plugin-mentions@4.4.3 (installed, enabled)
    * nodebb-plugin-ntfy@1.7.4 (installed, disabled)
    * nodebb-plugin-poll@3.2.3 (installed, enabled)
    * nodebb-plugin-question-and-answer@1.2.7 (installed, enabled)
    * nodebb-plugin-spam-be-gone-fix@2.2.8 (installed, enabled)
    * nodebb-plugin-spoilers@1.0.0 (installed, enabled)
    * nodebb-rewards-essentials@1.0.0 (installed, enabled)
    * nodebb-theme-harmony@1.2.63 (installed, enabled)
    * nodebb-theme-lavender@7.1.8 (installed, disabled)
    * nodebb-theme-peace@2.2.6 (installed, disabled)
    * nodebb-theme-persona@13.3.25 (installed, disabled)
    * nodebb-widget-essentials@7.0.18 (installed, enabled)

Database type

MongoDB

Database version

v7.0.14

Per

from:
https://community.nodebb.org/topic/18251/node.js-error

Anything else

Starting NodeBB 3.8.4 in Node.js 22.6.0 gives the following error:
(node:261775) [DEP0040] DeprecationWarning: Thepunycodemodule is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...to show where the warning was created)
I would like to know if this can be resolved, or if you will fix this in a new release.

@ccd2s ccd2s added the bug label Aug 31, 2024
@julianlam julianlam changed the title Node.js Error punycode module deprecated Aug 31, 2024
@barisusakli
Copy link
Member

We don't directly use this module, it will have to be updated in the dependencies

$ npm ls punycode
nodebb@3.8.4 D:\github\NodeBB
├─┬ @apidevtools/swagger-parser@10.1.0
│ └─┬ ajv@8.12.0
│   └─┬ uri-js@4.4.1
│     └── punycode@2.3.1 deduped
├─┬ coveralls@3.1.1
│ └─┬ request@2.88.2
│   └─┬ tough-cookie@2.5.0
│     └── punycode@2.3.1 deduped
├─┬ jsdom@24.0.0
│ └─┬ whatwg-url@14.0.0
│   └─┬ tr46@5.0.0
│     └── punycode@2.3.1 deduped
├─┬ mongodb@6.6.1
│ └─┬ mongodb-connection-string-url@3.0.0
│   └─┬ whatwg-url@13.0.0
│     └─┬ tr46@4.1.1
│       └── punycode@2.3.1 deduped
├─┬ nodebb-plugin-composer-default@10.2.36 -> .\..\nodebb-plugin-composer-default
│ └─┬ eslint@7.32.0
│   └─┬ ajv@6.12.6
│     └─┬ uri-js@4.4.1
│       └── punycode@2.1.1
├─┬ nodebb-theme-harmony@1.2.64 -> .\..\nodebb-theme-harmony
│ └─┬ eslint@8.38.0 invalid: "^9.0.0" from ../nodebb-theme-harmony
│   └─┬ ajv@6.12.6
│     └─┬ uri-js@4.4.1
│       └── punycode@2.3.0
├─┬ nodebb-theme-persona@13.3.25 -> .\..\nodebb-theme-persona
│ └─┬ eslint@7.32.0
│   └─┬ ajv@6.12.6
│     └─┬ uri-js@4.4.1
│       └── punycode@2.1.1
├─┬ nodebb-widget-essentials@7.0.21 invalid: "7.0.19" from the root project -> .\..\nodebb-widget-essentials  
│ └─┬ eslint@6.7.0 invalid: "7.32.0" from ../nodebb-widget-essentials/node_modules/eslint-config-nodebb       
│   └─┬ ajv@6.11.0
│     └─┬ uri-js@4.2.2
│       └── punycode@2.1.1
├─┬ smtp-server@3.13.4
│ └── punycode@2.3.1
└─┬ tough-cookie@4.1.4
  └── punycode@2.3.1 deduped

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

No branches or pull requests

2 participants