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

Deprecation of Punycode Module in MJML 4 #133

Open
Thinley24 opened this issue Feb 13, 2025 · 1 comment
Open

Deprecation of Punycode Module in MJML 4 #133

Thinley24 opened this issue Feb 13, 2025 · 1 comment

Comments

@Thinley24
Copy link

Thinley24 commented Feb 13, 2025

Description

Hi,

I'm currently using mjml-rails v4, which relies on MJML v4, and I've encountered a deprecation warning related to the punycode module in Node.js.

Issue

MJML 4 uses the deprecated punycode module, which leads to the following warning during execution

WARN -- Mjml: (node:46643) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.

This issue has been previously reported in MJML's repository (#2930), but since MJML 4 is no longer receiving updates, this deprecation warning will persist for projects that rely on mjml-rails v4.

Would it be possible to provide an update or a workaround for mjml-rails users relying on MJML 4?
Any guidance on handling this issue would be appreciated.

Thanks!

@sighmon
Copy link
Owner

sighmon commented Feb 16, 2025

@Thinley24 Which specific versions of Node/mjml/mjml-rails are you seeing the warning?

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

No branches or pull requests

2 participants