Why do some packages still target Node.js 14? #8489
TrevorBurnham
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Some were just never updated, really. Some also run in the browser and need to support different browser versions: https://vitest.dev/guide/browser/#browser-compatibility |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The vitest repo currently has a mix of Node.js engine requirements, with some packages requiring Node 18+, while others target Node 14+.
If this is intentional, I'd suggest adding comments in the various Rollup configs that specify
target: 'node14'. If this is unintentional, upgrading those packages to target Node 18 (and specifying that in theenginesfield) would be a nice performance win.Beta Was this translation helpful? Give feedback.
All reactions