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

Update node.js to latest version #504

Closed
pdawyndt opened this issue Apr 13, 2024 · 3 comments
Closed

Update node.js to latest version #504

pdawyndt opened this issue Apr 13, 2024 · 3 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@pdawyndt
Copy link
Contributor

Student asked whether JS could be updated to latest version.

@bmesuere
Copy link
Member

This is probably about node.js and not JavaScript. There are however very few language changes between node 18 (currently used) and node 20 (current stable) so it is not clear why the student would want an update. I suggest waiting till node 22 (out in 10 days) or till we update other dependencies.

- String.prototype.isWellFormed and toWellFormed: These methods are particularly useful for ensuring proper string format. This help ensure that user string input is in the correct UTF-16 format, reducing errors in the age of emojis.
- Methods that change Array and TypedArray by copy: This can be useful for creating modified copies of arrays without affecting the original data, which is especially relevant in cases where you need to preserve the original data for comparison or other purposes.
- Resizable ArrayBuffer and growable SharedArrayBuffer: provides greater flexibility, allowing for more efficient memory allocation.
- RegExp v flag with set notation and properties of strings: adds functionality for regular expressions.
- WebAssembly tail call: provides a way to optimize certain types of function calls.

@pdawyndt
Copy link
Contributor Author

pdawyndt commented Apr 13, 2024

Missing language feature observed by student: Arrays.prototype.toSorted() (supported since node.js 20.0.0).

@pdawyndt pdawyndt changed the title Update JavaScript to latest version Update node.js to latest version Apr 13, 2024
@niknetniko
Copy link
Member

Fixed by #511

@niknetniko niknetniko added the dependencies Pull requests that update a dependency file label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

3 participants