-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
build : add Node.js@19.7 #5028
build : add Node.js@19.7 #5028
Conversation
Node.js 19.0 has updated V8 version, which had changed Relevant Node.js commit: nodejs/node@71c193e |
Are any further works expected in this direction? @abenhamdine |
Just in case, this is how I improved the test in my project to support Node 19, @abenhamdine : expect.stringMatching(
// the 2nd option is for Node 19
/(Unexpected end of JSON input|Unterminated string in JSON at position)/
) |
Thx I will give a look when I have some time |
So there was a change in v8 for how it returns json errors. I have a test change in body-parser to account for this, which is more than a test change. We'll need to wait for that to be finished and released in body-parser before we can then add node 19 to the build of express. Perhaps then this pr can just be limited to node 18 to get it landed, otherwise just waiting for that dependency update is all the is needed. |
Ok I will open a separate PR for node 18.12 update and keep this one for node 19. |
FI the node 19 error is fixed upstream in https://github.com/expressjs/body-parser/releases/tag/1.20.2 |
I have rebased the branch on top of master, and have updated nodejs versions with last 16 and 18 versions available in GH and appveyor. I will give a look. |
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.
thank you!
for nodejs version available in Github Actions, see https://github.com/actions/node-versions/releases
nodejs versions available in appveyor are slightly different, see https://www.appveyor.com/docs/linux-images-software/#node-js