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

Suppress Fetch API Experimental warning #116

Open
epaminond opened this issue May 2, 2022 · 4 comments
Open

Suppress Fetch API Experimental warning #116

epaminond opened this issue May 2, 2022 · 4 comments

Comments

@epaminond
Copy link

epaminond commented May 2, 2022

On project start I'm getting a warning:

(node:398315) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
    at emitExperimentalWarning (node:internal/util:224:11)
    at lazyUndici (node:internal/bootstrap/pre_execution:188:5)
    at get (node:internal/bootstrap/pre_execution:204:16)
    at 556 (/home/epaminond/project/node_modules/mailgun.js/dist/mailgun.js:2:27405)
    at r (/home/epaminond/project/node_modules/mailgun.js/dist/mailgun.js:2:98812)
    at 955 (/home/epaminond/project/node_modules/mailgun.js/dist/mailgun.js:2:10905)
    at r (/home/epaminond/project/node_modules/mailgun.js/dist/mailgun.js:2:98812)
    at 765 (/home/epaminond/project/node_modules/mailgun.js/dist/mailgun.js:2:2419)
    at r (/home/epaminond/project/node_modules/mailgun.js/dist/mailgun.js:2:98812)
    at 990 (/home/epaminond/project/node_modules/mailgun.js/dist/mailgun.js:2:1871)

It's node 18.0.0 and I assume this warning is coming from mailgun.js bug fixed in version 3.5.7.

nodemailer-mailgun-transport depends on mailgun.js 3.3.0 - so possibly this could be the source. Would it be possible to upgrade dependency to at least 3.5.7 or newer?

@zacharytyhacz
Copy link

Related: mailgun/mailgun.js#275

@orliesaurus
Copy link
Owner

Feel free to open PRs to upgrade @zacharytyhacz or @epaminond

@zacharytyhacz
Copy link

Mailgun just upgraded to version 7 with a fix

https://github.com/mailgun/mailgun.js/releases/tag/v7.0.0

@markstos
Copy link

markstos commented Sep 3, 2023

Maybe this can be closed since Mailgun.js was upgraded to > 7 in September 2022:

ee9c005

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

4 participants