Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
Published By From Node.js News · 1 min read
ReleaseNode.js 20.13.0 (LTS)
The performance of the base64 and base64url encoding and decoding functions has been improved significantly.
Contributed by Yagiz Nizipli in #52428
This release, introduces a doc-only deprecation of using GCM authentication tags that are shorter than the cipher's block size, unless the user specified the authTagLength option.
Contributed by Tobias Nießen in #52345
From this release CustomEvent has been marked stable.
Contributed by Daeyeon Jeong in #52618
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace and re-throwing the error.
Contributed by 翠 / green in #49849
This is an excerpt. The full article is published by Node.js News.
Answers to common questions regarding this article's topic, architecture, and practical applications.
The performance of the base64 and base64url encoding and decoding functions has been improved significantly.
How It Works
The performance of the base64 and base64url encoding and decoding functions has been improved significantly. Contributed by Yagiz Nizipli in #52428
Benefits / Advantages
New option --report-exclude-network, also available as report.excludeNetwork, enables the user to exclude networking interfaces in their diagnostic report. On some systems, this can cause the report to take minutes to generate so this option can be used to optimize that. Contributed by Ethan Arrowood in #51645
General
This release, introduces a doc-only deprecation of using GCM authentication tags that are shorter than the cipher's block size, unless the user specified the authTagLength option. Contributed by Tobias Nießen in #52345
General
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace and re-throwing the error. Contributed by 翠 / green in #49849