Skip to content

chore: update browserslist-generator to support Node v22 #230

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

christiankozalla
Copy link

Hello Frederik,

this PR updates the packages "browserslist" and "browserslist-generator" to their latest version. The version of "browserslist-generator" currently used in this packages includes an import statement that makes use of the import attribute "assert" as in import foo from "bar" assert { type: "json" }; which has been deprecated in favor of "with". The current LTS version of Node.js (v22) is not processing such deprecated statements.

I've checked whether the test suite still passes with the upgraded deps. Especially, Will apply @babel/preset-env if a Browserslist is provided or discovered. #1 et al. from babel.test.ts

Is there anything else I can do to support you?

…ibute "assert" is deprecated and replaced by "with")
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 this pull request may close these issues.

1 participant