0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 03:07:54 +01:00
Cross-platform JavaScript runtime environment https://nodejs.org/
Go to file
Joyee Cheung 94156e35df
test: skip test-diagnostics-channel-memory-leak.js
There is currently no reliable way to detect this leak because:

1. We cannot reliably get a reference to the channel from the
  API to detect finalization without creating another strong reference.
2. This test does gc() and then checks memory usage - however the
  use of gc() disables code aging which can actually lead to increased
  memory usage overall, as it is not intended to be used to lower
  memory usage in the first place.
3. The implementation of diagnostics channels relies on ephemeron gc
  which is inefficient, it's not reliable to use the typical "create
  a lot of objects and see if it crashes" trick to check leaks.

Skip the test for now until we find a way to test it reliably.

To avoid flakiness in the CI, it's better to remove an unreliable
test altogether.

PR-URL: https://github.com/nodejs/node/pull/50327
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2023-11-03 21:50:03 +00:00
.devcontainer build: add devcontainer configuration 2023-04-22 09:02:28 -07:00
.github meta: add web-standards as web api visibility owner 2023-10-28 18:11:48 +00:00
android-patches
benchmark esm: add import.meta.dirname and import.meta.filename 2023-10-31 21:11:15 +00:00
deps deps: upgrade npm to 10.2.3 2023-11-03 14:03:57 +00:00
doc lib: add navigator.platform 2023-11-02 20:21:21 +00:00
lib lib: add navigator.platform 2023-11-02 20:21:21 +00:00
src src: print more information in C++ assertions 2023-11-01 16:20:18 +00:00
test test: skip test-diagnostics-channel-memory-leak.js 2023-11-03 21:50:03 +00:00
tools tools: update lint-md-dependencies to rollup@4.2.0 2023-11-03 08:24:55 +00:00
typings fs: improve error performance for readSync 2023-10-21 02:00:00 +00:00
.clang-format
.cpplint
.editorconfig
.eslintignore esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
.eslintrc.js esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
.gitattributes
.gitignore build: add devcontainer configuration 2023-04-22 09:02:28 -07:00
.gitpod.yml doc,tools: switch to @node-core/utils 2023-09-25 11:48:03 +00:00
.mailmap meta: add ethan.arrowood@vercel.com to mailmap 2023-10-31 19:49:14 +00:00
.nycrc
.yamllint.yaml
android_configure.py zlib: fix discovery of cpu-features.h for android 2023-09-29 11:52:46 -04:00
android-configure
BSDmakefile
BUILDING.md doc: recommend supported Python versions 2023-11-01 13:41:03 +00:00
CHANGELOG.md 2023-10-24, Version 20.9.0 'Iron' (LTS) 2023-10-24 10:12:56 -04:00
CODE_OF_CONDUCT.md
codecov.yml
common.gypi deps: V8: cherry-pick f7d000a7ae7b 2023-10-23 15:27:33 +00:00
configure
configure.py build: fix building when there is only python3 2023-10-25 02:43:37 +00:00
CONTRIBUTING.md
glossary.md
GOVERNANCE.md
LICENSE deps: update c-ares to 1.20.0 2023-10-20 23:39:25 +00:00
Makefile build: run embedtest using node executable 2023-09-18 00:06:20 +02:00
node.gyp build: fix building when there is only python3 2023-10-25 02:43:37 +00:00
node.gypi
onboarding.md doc,tools: switch to @node-core/utils 2023-09-25 11:48:03 +00:00
pyproject.toml tools: skip ruff on tools/gyp 2023-10-31 12:44:37 +00:00
README.md doc: add Ethan-Arrowood as a collaborator 2023-10-25 10:51:22 -06:00
SECURITY.md doc: include experimental features assessment 2023-07-21 13:51:55 +00:00
tsconfig.json lib: fix internalBinding typings 2023-09-23 10:48:34 +00:00
vcbuild.bat build: drop support for Visual Studio 2019 2023-10-09 16:25:32 +00:00

Node.js

Node.js is an open-source, cross-platform JavaScript runtime environment.

For information on using Node.js, see the Node.js website.

The Node.js project uses an open governance model. The OpenJS Foundation provides support for the project.

Contributors are expected to act in a collaborative manner to move the project forward. We encourage the constructive exchange of contrary opinions and compromise. The TSC reserves the right to limit or block contributors who repeatedly act in ways that discourage, exhaust, or otherwise negatively affect other participants.

This project has a Code of Conduct.

Table of contents

Support

Looking for help? Check out the instructions for getting support.

Release types

  • Current: Under active development. Code for the Current release is in the branch for its major version number (for example, v19.x). Node.js releases a new major version every 6 months, allowing for breaking changes. This happens in April and October every year. Releases appearing each October have a support life of 8 months. Releases appearing each April convert to LTS (see below) each October.
  • LTS: Releases that receive Long Term Support, with a focus on stability and security. Every even-numbered major version will become an LTS release. LTS releases receive 12 months of Active LTS support and a further 18 months of Maintenance. LTS release lines have alphabetically-ordered code names, beginning with v4 Argon. There are no breaking changes or feature additions, except in some special circumstances.
  • Nightly: Code from the Current branch built every 24-hours when there are changes. Use with caution.

Current and LTS releases follow semantic versioning. A member of the Release Team signs each Current and LTS release. For more information, see the Release README.

Download

Binaries, installers, and source tarballs are available at https://nodejs.org/en/download/.

Current and LTS releases

https://nodejs.org/download/release/

The latest directory is an alias for the latest Current release. The latest-codename directory is an alias for the latest release from an LTS line. For example, the latest-hydrogen directory contains the latest Hydrogen (Node.js 18) release.

Nightly releases

https://nodejs.org/download/nightly/

Each directory name and filename contains a date (in UTC) and the commit SHA at the HEAD of the release.

API documentation

Documentation for the latest Current release is at https://nodejs.org/api/. Version-specific documentation is available in each release directory in the docs subdirectory. Version-specific documentation is also at https://nodejs.org/download/docs/.

Verifying binaries

Download directories contain a SHASUMS256.txt file with SHA checksums for the files.

To download SHASUMS256.txt using curl:

curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt

To check that a downloaded file matches the checksum, run it through sha256sum with a command such as:

grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c -

For Current and LTS, the GPG detached signature of SHASUMS256.txt is in SHASUMS256.txt.sig. You can use it with gpg to verify the integrity of SHASUMS256.txt. You will first need to import the GPG keys of individuals authorized to create releases. To import the keys:

gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C

See Release keys for a script to import active release keys.

Next, download the SHASUMS256.txt.sig for the release:

curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt.sig

Then use gpg --verify SHASUMS256.txt.sig SHASUMS256.txt to verify the file's signature.

Building Node.js

See BUILDING.md for instructions on how to build Node.js from source and a list of supported platforms.

Security

For information on reporting security vulnerabilities in Node.js, see SECURITY.md.

Contributing to Node.js

Current project team members

For information about the governance of the Node.js project, see GOVERNANCE.md.

TSC (Technical Steering Committee)

TSC voting members

TSC regular members

TSC emeriti members

TSC emeriti members

Collaborators

Emeriti

Collaborator emeriti

Collaborators follow the Collaborator Guide in maintaining the Node.js project.

Triagers

Triagers follow the Triage Guide when responding to new issues.

Release keys

Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):

To import the full set of trusted release keys (including subkeys possibly used to sign releases):

gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
gpg --keyserver hkps://keys.openpgp.org --recv-keys 141F07595B7B3FFE74309A937405533BE57C7D57
gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201
gpg --keyserver hkps://keys.openpgp.org --recv-keys DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7
gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
gpg --keyserver hkps://keys.openpgp.org --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8
gpg --keyserver hkps://keys.openpgp.org --recv-keys 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4
gpg --keyserver hkps://keys.openpgp.org --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C
gpg --keyserver hkps://keys.openpgp.org --recv-keys 108F52B48DB57BB0CC439B2997B01419BD92F80A
gpg --keyserver hkps://keys.openpgp.org --recv-keys A363A499291CBBC940DD62E41F10027AF002F8B0

See Verifying binaries for how to use these keys to verify a downloaded file.

Other keys used to sign some previous releases

Security release stewards

When possible, the commitment to take slots in the security release steward rotation is made by companies in order to ensure individuals who act as security stewards have the support and recognition from their employer to be able to prioritize security releases. Security release stewards manage security releases on a rotation basis as outlined in the security release process.

License

Node.js is available under the MIT license. Node.js also includes external libraries that are available under a variety of licenses. See LICENSE for the full license text.