-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update node to 20, make sbvr-types a peer dependency, update dependencies & tests to match #255
Conversation
8b6f93b
to
dae9f0e
Compare
@@ -57,8 +59,8 @@ | |||
] | |||
}, | |||
"engines": { | |||
"node": ">=16.13.0", | |||
"npm": ">=8.1.0" | |||
"node": ">=20.14.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update tsconfig to es2023 to match this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good reminder!
@Page- TS wiki mentions target es2022 & lib es2023 for node 20, so I guess we should go with that, right?
https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#node-20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's outdated since it talks about using node.green and node.green says that target es2023 should be fine for nodejs 20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also move to "module": "Node16", ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
package.json
Outdated
"@types/common-tags": "^1.8.4", | ||
"@types/lodash": "^4.17.10", | ||
"@types/mocha": "^10.0.8", | ||
"@types/node": "^22.7.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should still be nodejs 20 since that's what is targeted
Update @balena/lf-to-abstract-sql from 5.0.0 to 5.0.2 Update @balena/odata-parser from 3.0.0 to 3.1.0 Update @balena/odata-to-abstract-sql from 6.0.1 to 6.4.0 Update @balena/sbvr-parser from 1.4.3 to 1.4.6 Update @balena/sbvr-types from 7.0.1 to 9.0.2 Change-type: patch
Change-type: patch
Change-type: major
Change-type: major
Change-type: major
b0828b5
to
9fa6236
Compare
Change-type: patch
Update @balena/lf-to-abstract-sql from 5.0.0 to 5.0.2
Update @balena/odata-parser from 3.0.0 to 3.1.0
Update @balena/odata-to-abstract-sql from 6.0.1 to 6.4.0
Update @balena/sbvr-parser from 1.4.3 to 1.4.6
Update @balena/sbvr-types from 7.0.1 to 9.0.2
Change-type: major