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

Migrate SetAccessor uses to SetNativeDataProperty #163

Closed
wants to merge 2,850 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2850 commits
Select commit Hold shift + click to select a range
74e0ca3
test: use `tmpdir.resolve()` in fs tests
LiviaMedeiros Aug 15, 2023
6a68794
test: use `tmpdir.resolve()` in fs tests
LiviaMedeiros Aug 15, 2023
e738edc
test: use `tmpdir.resolve()`
LiviaMedeiros Aug 15, 2023
966e3d3
test: use `tmpdir.resolve()`
LiviaMedeiros Aug 15, 2023
9a2e6bc
doc: add print results for examples in `WebStreams`
Aug 15, 2023
89dd093
src: serialize both BaseObject slots
joyeecheung Aug 15, 2023
b3eb05b
build: fix typo `libray` -> `library` (configure.py)
michalbiesek Aug 15, 2023
3d5e7cd
report: fix recent coverity warning
mhdawson Jul 28, 2023
6f9d6f2
crypto: remove default encoding from sign/verify
tniessen Aug 15, 2023
3578bee
src: add per-realm GetBindingData() method
joyeecheung Aug 3, 2023
6391b3b
src: use per-realm GetBindingData() wherever applicable
joyeecheung Aug 3, 2023
034c801
test: add expectSyncExitWithoutError() and expectSyncExit() utils
joyeecheung Aug 4, 2023
a3f12e4
test: use expectSyncExit{WithErrors} in snapshot tests
joyeecheung Aug 4, 2023
556e95a
test: add test for effect of UV_THREADPOOL_SIZE
tniessen Aug 16, 2023
8ed4397
crypto: remove default encoding from Hash/Hmac
tniessen Aug 16, 2023
7215176
crypto: remove default encoding from DiffieHellman
tniessen Aug 16, 2023
c64c914
test: make WeakReference tests robust
joyeecheung Aug 7, 2023
8dcce52
lib: implement WeakReference on top of JS WeakRef
joyeecheung Aug 7, 2023
a49bc4b
src: remove C++ WeakReference implementation
joyeecheung Aug 7, 2023
e2d666d
tools: fix github reporter appended multiple times
MoLow Aug 16, 2023
c9b1d6c
deps: update simdutf to 3.2.17
nodejs-github-bot Aug 4, 2023
b4a2be4
vm: store MicrotaskQueue in ContextifyContext directly
joyeecheung Aug 16, 2023
6bb400f
lib: add api to detect whether source-maps are enabled
sapphi-red Aug 17, 2023
769823e
src: add built-in `.env` file support
anonrig Aug 17, 2023
4c3db74
doc: add rluvaton to collaborators
rluvaton Aug 17, 2023
fe219e0
bootstrap: do not generate code cache in an unfinalized isolate
joyeecheung Aug 17, 2023
a5567c2
test_runner: expose spec reporter as newable function
atlowChemi Aug 17, 2023
3c6a1c6
meta: add test/reporters to codeowners
atlowChemi Aug 17, 2023
413c16e
src,permission: add multiple allow-fs-* flags
Ceres6 Aug 17, 2023
c4bbf0a
doc: fix wording in napi_async_init
tniessen Aug 17, 2023
478ca18
doc: update to semver-minor releases by default
RafaelGSS Aug 17, 2023
3af6585
doc: add h1 summary to security release process
RafaelGSS Aug 17, 2023
7d5d640
doc: add notable-change label mention to PR template
RafaelGSS Aug 17, 2023
c021b27
meta: mention nodejs/tsc when changing GH templates
RafaelGSS Aug 17, 2023
7b7a68b
bootstrap: build code cache from deserialized isolate
joyeecheung Aug 18, 2023
1f2ad05
test: use gcUntil() in test-v8-serialize-leak
joyeecheung Aug 18, 2023
ecde9d9
test: make test-perf-hooks more robust and work with workers
joyeecheung Aug 18, 2023
64a5c01
test: add spawnSyncAndExit() and spawnSyncAndExitWithoutError()
joyeecheung Aug 18, 2023
78842cf
crypto: remove getDefaultEncoding()
tniessen Aug 14, 2023
cb4a6fa
doc: use same name in the doc as in the code
illusi0n7 Aug 19, 2023
41a3a1d
doc: caveat unavailability of `import.meta.resolve` in custom loaders
JakobJingleheimer Aug 19, 2023
5026293
build: expand when we run internet tests
mhdawson Aug 19, 2023
0daea96
test: reduce flakiness of `test-esm-loader-hooks`
aduh95 Aug 20, 2023
2557932
esm: align sync and async load implementations
aduh95 Aug 20, 2023
45e5ec8
src: add a condition if the argument of `DomainToUnicode` is empty
Aug 20, 2023
982e7a6
src: use ARES_SUCCESS instead of 0
Aug 20, 2023
484ad83
doc: add signature for `module.register`
GeoffreyBooth Aug 20, 2023
052434a
test: use `tmpdir.resolve()`
LiviaMedeiros Aug 21, 2023
eeddbfa
test,benchmark: use `tmpdir.fileURL()`
LiviaMedeiros Aug 21, 2023
a16b610
src: remove unused function `GetName()` in node_perf
Aug 21, 2023
62b2cf3
doc: clarify use of Uint8Array for n-api
indutny Aug 21, 2023
f6f1131
src: support snapshot deserialization in RAIIIsolate
joyeecheung Aug 18, 2023
5c9daf4
sea: generate code cache with deserialized isolate
joyeecheung Aug 18, 2023
164c57d
doc: move and rename loaders section
GeoffreyBooth Aug 22, 2023
56a2a2e
doc: update description for `percent_encode` sets in `WHATWG API`
Aug 23, 2023
0d080a2
meta: move one or more collaborators to emeritus
nodejs-github-bot Aug 23, 2023
bca14f8
worker: protect against user mutating well-known prototypes
aduh95 Aug 23, 2023
e74d1b8
doc: fix typo in `stream.finished` documentation
aduh95 Aug 23, 2023
ee1f609
test: handle EUNATCH
abmusse May 17, 2023
996f390
doc: use NODE_API_SUPPORTED_VERSION_MAX in release doc
zcbenz Aug 21, 2023
feb5b0f
fs: make sure to write entire buffer
ronag Mar 22, 2022
da197d1
deps: update zlib to 1.2.13.1-motley-f5fd0ad
nodejs-github-bot Aug 24, 2023
b0f4233
stream: add `highWaterMark` for the map operator
rluvaton Aug 24, 2023
5ff1ead
build: add symlink to `compile_commands.json` file if needed
juanarbol Aug 24, 2023
a494ef6
doc: modify param description for end(),write() in `StringDecoder`
Aug 24, 2023
6117cc3
test: fix compiler warning in NodeCryptoEnv
tniessen Aug 24, 2023
33710e7
doc: update module hooks docs
GeoffreyBooth Aug 24, 2023
c5cad08
fs: remove redundant code in readableWebStream()
deokjinkim Aug 25, 2023
460c19f
doc: avoid "not currently recommended"
tniessen Aug 25, 2023
69f7583
policy: fix path to URL conversion
aduh95 Aug 26, 2023
3d0a317
doc: add riscv64 to list of architectures
sxa Aug 26, 2023
4178683
doc: update `options.filter` description for `fs.cp`
shubham9411 Aug 26, 2023
1ca23ad
tools: update lint-md-dependencies
nodejs-github-bot Aug 20, 2023
4ba7370
stream: use Buffer.from when constructor is a Buffer
KhafraDev Aug 26, 2023
76e659a
fs: add the options param description in openAsBlob()
LEEYS96 Aug 26, 2023
fee0601
doc: use `cjs` as block code's type in `MockTimers`
deokjinkim Aug 26, 2023
56c3263
doc: update outdated reference to NIST SP 800-131A
tniessen Aug 26, 2023
5a07777
crypto: do not overwrite _writableState.defaultEncoding
tniessen Aug 27, 2023
b9153af
doc: add print results for examples in `StringDecoder`
Aug 27, 2023
0409cdd
tools: remove v8_dump_build_config action
zcbenz Aug 27, 2023
9eb84fe
doc: clarify policy expectations
RafaelGSS Aug 28, 2023
7e7aad8
tools: update lint-md-dependencies
nodejs-github-bot Aug 29, 2023
7104a71
tools: update eslint to 8.48.0
nodejs-github-bot Aug 29, 2023
9cd70f4
test: migrate message source map tests from Python to JS
Aug 29, 2023
0ebd088
crypto: update root certificates to NSS 3.93
nodejs-github-bot Aug 29, 2023
452bae1
test: rename test-crypto-modp1-error
tniessen Aug 29, 2023
43704dd
src: rename IsAnyByteSource to IsAnyBufferSource
tniessen Aug 29, 2023
eccdbe2
doc: add news issue for Diagnostics WG
mhdawson Aug 24, 2023
9848352
node-api: fix compiler warning in node_api.h
graebm Aug 30, 2023
fcf5de0
benchmark: use `tmpdir.resolve()`
LiviaMedeiros Aug 30, 2023
3a6a80a
test_runner: report covered lines, functions and branches to reporters
philnash Aug 30, 2023
c750049
test_runner: add support for setImmediate
ErickWendel Aug 31, 2023
a81d5e1
doc,test: add known path resolution issue in permission model
tniessen Aug 31, 2023
7224940
test: split test-crypto-keygen.js
joyeecheung Aug 17, 2023
b9a6ab5
test: split JWK async elliptic curve keygen tests
joyeecheung Aug 17, 2023
b781eaf
test: reduce length in crypto keygen tests
joyeecheung Aug 17, 2023
f863117
url: handle unicode hostname if empty
anonrig Aug 31, 2023
dcf6670
net: fix crash due to simultaneous close/shutdown on JS Stream Sockets
pimterry Aug 24, 2023
47add7e
net: use asserts in JS Socket Stream to catch races in future
pimterry Aug 25, 2023
57e78bc
url: validate `pathToFileURL(path)` argument as string
LiviaMedeiros Aug 14, 2023
ba61c07
deps: V8: cherry-pick eadaef581c29
AdamMajer Aug 31, 2023
f9a182c
doc: fix node-api call example
legendecas Aug 31, 2023
04a3567
test: verify dynamic import call with absolute path strings
legendecas Aug 31, 2023
92fb7dd
test: simplify test-crypto-dh-group-setters
tniessen Aug 31, 2023
048e0be
tls: ensure TLS Sockets are closed if the underlying wrap closes
pimterry Sep 1, 2023
457cedd
crypto: remove webcrypto EdDSA key checks and properties
panva Sep 1, 2023
295572e
src: remove unused PromiseWrap-related code
joyeecheung Sep 1, 2023
df16705
deps: add missing thread-common.c in uv.gyp
santigimeno Sep 1, 2023
ce11e00
src: modify code for empty string
Sep 1, 2023
12ee988
meta: remove modules team from CODEOWNERS
benjamingr Sep 1, 2023
ea32c3c
test: fix warning for comment in embedtest
Sep 2, 2023
0add7a8
tls: refactor to use validateFunction
deokjinkim Sep 2, 2023
8e82cfc
test_runner: preserve original property descriptor
ErickWendel Sep 3, 2023
b98d2e2
meta: bump actions/setup-node from 3.7.0 to 3.8.1
dependabot[bot] Sep 3, 2023
f777f3f
meta: bump actions/checkout from 3.5.3 to 3.6.0
dependabot[bot] Sep 3, 2023
8dfe424
meta: bump step-security/harden-runner from 2.5.0 to 2.5.1
dependabot[bot] Sep 3, 2023
c8628ed
tls: remove redundant code in onConnectSecure()
deokjinkim Sep 4, 2023
1235426
2023-09-04, Version 20.6.0 (Current)
UlisesGascon Aug 15, 2023
4d0f930
bootstrap: only use the isolate snapshot when compiling code cache
joyeecheung Aug 18, 2023
0028fd1
build: add --write-snapshot-as-array-literals to configure.py
joyeecheung Aug 24, 2023
47c5152
test_runner: fix typescript coverage
MoLow Sep 4, 2023
7f001c2
test: make test-worker-prof more robust
joyeecheung Sep 4, 2023
e11c7b7
doc: edit `import.meta.resolve` documentation
aduh95 Sep 5, 2023
56dfcae
deps: update corepack to 0.20.0
nodejs-github-bot Sep 5, 2023
6a5394e
esm: refactor mocking test
GeoffreyBooth Sep 5, 2023
5b31ff1
tools: update doc dependencies
nodejs-github-bot Sep 5, 2023
f139cc3
test_runner: add jsdocs to MockTimers
ErickWendel Sep 5, 2023
e79ef81
doc: updated releasers instructions for node.js website
ovflowd Sep 5, 2023
21759bd
test: add test for urlstrings usage in `node:fs`
LiviaMedeiros Sep 5, 2023
a61bc9d
test_runner: fix invalid timer call
ErickWendel Sep 5, 2023
5402185
process: add custom dir support for heapsnapshot-signal
MrJithil May 20, 2023
d8eb8d0
doc: fix documentation for fs.createWriteStream highWaterMark option
mertcanaltin Sep 6, 2023
cfe4166
lib: check SharedArrayBuffer availability in freeze_intrinsics.js
miniak Sep 6, 2023
fdc65d9
esm: fix loading of CJS modules from ESM
aduh95 Sep 6, 2023
6919d72
doc: fix missing imports in `test.run` code examples
OshriAsulin Sep 6, 2023
306de76
deps: upgrade npm to 10.0.0
npm-cli-bot Sep 6, 2023
6b135a1
doc: fix documentation for input option in child_process
ariel-weiss Sep 6, 2023
a927ade
esm: refactor test-esm-named-exports
GeoffreyBooth Sep 4, 2023
63c3846
esm: refactor test-esm-loader-resolve-type
GeoffreyBooth Sep 4, 2023
65f63d4
meta: bump rtCamp/action-slack-notify from 2.2.0 to 2.2.1
dependabot[bot] Sep 7, 2023
8024a9a
meta: bump github/codeql-action from 2.21.2 to 2.21.5
dependabot[bot] Sep 7, 2023
c9019cc
tools: configure never-stale label correctly
targos Sep 7, 2023
a33a497
doc: cast GetInternalField() return type to v8::Value in addons.md
joyeecheung Sep 7, 2023
9c7b7be
deps: update googletest to 8a6feab
nodejs-github-bot Sep 7, 2023
f0ebb77
test: make `test-dotenv-node-options` locale-independent
LiviaMedeiros Sep 7, 2023
941ad8b
src: do not rely on the internal field being default to undefined
joyeecheung Sep 7, 2023
c86e700
src: fix comment on StreamResource
ywave620 Aug 16, 2023
def014d
tools: allow passing absolute path of config.gypi in js2c
zcbenz Sep 7, 2023
e6fce82
doc: close a parenthesis
regseb Sep 7, 2023
b3c4f66
doc: add release key for Ulises Gascon
UlisesGascon Sep 7, 2023
e0fb3f7
test: split test-crypto-dh to avoid timeout on slow machines in the CI
joyeecheung Sep 7, 2023
cd49408
doc: update outdated history info
aduh95 Sep 7, 2023
0bce573
src: fix fs_type_to_name default value
0o001 Sep 7, 2023
015e27b
src: don't overwrite environment from .env file
philnash Sep 8, 2023
7db6e18
src: set ModuleWrap internal fields only once
joyeecheung Sep 8, 2023
3163f8d
gyp: put cctest filenames in variables
zcbenz Sep 8, 2023
7bf29b5
benchmark: fix webstream pipe-to
rluvaton Sep 8, 2023
8103a64
doc: rename possibly confusing variable and CSS class
aduh95 Sep 8, 2023
718981e
doc: update documentation for node:process warning
shubham9411 Sep 8, 2023
0a2ab4c
2023-09-08, Version 20.6.1 (Current)
RafaelGSS Sep 7, 2023
b64c3ee
esm: remove return value for `Module.register`
aduh95 Sep 9, 2023
5bb0cb2
typings: fix missing property in `ExportedHooks`
aduh95 Sep 9, 2023
a4d0629
deps: upgrade npm to 10.1.0
npm-cli-bot Sep 9, 2023
b500037
doc: save user preference for JS flavor
eldoy Sep 9, 2023
479a50c
test: isolate `globalPreload` tests
GeoffreyBooth Sep 9, 2023
c159b90
test: increase coverage of `Module.register` and `initialize` hook
aduh95 Sep 10, 2023
ce30b4e
src: support multiple `--env-file` declarations
anonrig Sep 10, 2023
705e623
esm: remove `globalPreload` hook (superseded by `initialize`)
JakobJingleheimer Sep 10, 2023
ae115d6
zlib: disable CRC32 SIMD optimization
lpinca Sep 10, 2023
178dff2
test: avoid copying test source files
legendecas Sep 6, 2023
c55625f
Revert "test: ignore the copied entry_point.c"
legendecas Sep 7, 2023
afea87e
lib: use internal `pathToFileURL`
LiviaMedeiros Sep 10, 2023
b3fc917
lib: use internal `fileURLToPath`
deokjinkim Sep 10, 2023
a7fe8b0
stream: improve tee perf by reduce `ReflectConstruct` usages
rluvaton Sep 11, 2023
a3020dd
src: allow embedders to override NODE_MODULE_VERSION
zcbenz Sep 11, 2023
f970087
deps: V8: backport 93b1a74cbc9b
joyeecheung Sep 11, 2023
b0edb28
test: skip test-child-process-pipe-dataflow.js on Windows
joyeecheung Sep 11, 2023
17a9bfb
src: set --rehash-snapshot explicitly
joyeecheung Sep 11, 2023
dca4d84
test: use setImmediate() in test-heapdump-shadowrealm.js
joyeecheung Sep 11, 2023
31657f7
test: use spawnSyncAndExitWithoutError in test/common/sea.js
joyeecheung Sep 7, 2023
65d396b
test: use spawnSyncAndExitWithoutError in sea tests
joyeecheung Sep 7, 2023
48fcb20
test: mark test-http-regr-gh-2928 as flaky
joyeecheung Sep 11, 2023
d8b378c
fs: fix readdir and opendir recursive with unknown file types
lux01 Sep 11, 2023
d3e0331
errors: use `determineSpecificType` in more error messages
aduh95 Sep 11, 2023
b046a11
tools: update lint-md-dependencies to rollup@3.29.0 unified@11.0.3
nodejs-github-bot Sep 12, 2023
e4d1259
tools: update eslint to 8.49.0
nodejs-github-bot Sep 12, 2023
668437c
deps: V8: cherry-pick b60a03df4ceb
joyeecheung Sep 12, 2023
60a002e
skip tests until flag is supported
victorgomes Jan 5, 2022
cb74da3
Temporarily skip FinalizationGroup tests until rename lands in V8
syg Feb 25, 2020
6406853
Skip addons/zlib-binding test
victorgomes Feb 5, 2020
969eb11
[test] Temporarily skip parallel/test-code-cache.js
victorgomes Apr 24, 2020
3421f90
Disable tests to update TypedArray size
victorgomes Jan 5, 2021
2bc423b
Update tests after increasing typed array size to 4GB
ktran Jun 19, 2020
6721fe8
[tests] Skips newly added async-cleanup-hook.
victorgomes Aug 17, 2020
a69c852
[fuchsia] Filter out resource.h in uvwasi
victorgomes Apr 24, 2020
e0ceb98
[libuv/fuchsia] Fuchsia support to libuv
victorgomes Aug 9, 2021
4b85c2d
[fuchsia] Fuchsia support to Node
victorgomes Jan 5, 2022
45704d1
skip tests
camillobruni Oct 22, 2020
f865b80
[test] Skip test-child-process-stdio-overlapped
victorgomes Jan 5, 2021
0db3881
removing js tools from gyp
victorgomes Apr 6, 2021
f4da436
[#11570] Disable Proxy test in parallel/test-v8-serdes.js
Niek Mar 16, 2021
5874250
Fix JS lint issue
Niek Mar 16, 2021
1077245
[js2c] Remove .mjs tools files
victorgomes May 22, 2023
2112aeb
[test] Skip addons/openssl-binding
victorgomes Apr 7, 2021
573413d
[test] Temproraily skip test parallel/test-fs-read until V8 roll
Jun 17, 2021
3c81f9f
[test] skip parallel/test-util-inspect until V8 roll
TimothyGu Jun 20, 2021
467d84e
[test] Temporarily skip parallel/test-repl
schuay Aug 23, 2021
bbd4753
[github] Remove unecessary CI
victorgomes May 22, 2023
16c2f4e
[test] Update and re-enable test/parallel/test-fs-read.js
Sep 6, 2021
796894e
[jinja2] Use Python2
victorgomes Oct 12, 2021
b40f74f
[test] Skip parallel/test-v8-stats
victorgomes Oct 18, 2021
d5ef753
[test] Skip parallel/test-datetime-change-notify pending merge
syg Nov 1, 2021
51fd130
[test] Re-enable parallel/test-datetime-change-notify
Nov 19, 2021
aff0246
[test] Temporary disable test/parallel/test-npm-install
Dec 9, 2021
833ab1e
Skip a test which prevents updating the ValueSerializer format
marjakh Jan 14, 2022
fd29980
Fix typo
victorgomes Jan 14, 2022
4ade031
[test] Re-enable test/parallel/test-npm-install
Feb 15, 2022
13b2a74
[test] Temporarily disable test/parallel/test-trace-events-{all,v8}
nickie Feb 24, 2022
0d34ed6
[test] Re-enable test/parallel/test-trace-events-{all,v8}
nickie Mar 9, 2022
0dce119
Reenable test/parallel/test-repl.js
victorgomes Mar 16, 2022
5e19817
Skip test/parallel/test-repl-mode.js
victorgomes Mar 24, 2022
56f7c05
Skip tests to unblock https://crrev.com/c/3565724
bmeurer Apr 4, 2022
b81354d
Skip message tests correctly.
bmeurer Apr 4, 2022
53b7f84
[test] Temproarily skip tests
victorgomes May 22, 2023
cc19493
Update jinja for Python3
Jun 14, 2022
da5759f
Skip tests asserting an exact error message (#142)
victorgomes May 22, 2023
f49a96e
Fix skipping tests
victorgomes May 22, 2023
07e075b
Fix test skipping again
victorgomes May 22, 2023
f82055d
test: Temporarily disable repl test
victorgomes Oct 21, 2022
d9e303c
Disable the test using the status file
szuend Aug 3, 2022
87c6204
Rebase + skip snapshot test
victorgomes Aug 11, 2022
d2c4198
Skip all snapshot tests (#148)
ajklein Aug 11, 2022
108abbe
Disable openssl-provider legacy tests
Sep 22, 2022
5247ee6
Skip test addons/report-api
Sep 26, 2022
11d392a
Fix zlib test template in test-process-versions.js
victorgomes Oct 21, 2022
72b7ee9
Skip tests
Feb 6, 2023
707d360
Skip test-intl test due to date formatting changes (#152)
ajklein Feb 9, 2023
a455bcf
Update test-intl to unconditionally expect a space in date formatting…
ajklein Feb 10, 2023
2dfb5ba
[test] Skip test-strace-openat-openssl
victorgomes Mar 16, 2023
134594d
Accept `step` break message (#154)
pfaffe Mar 23, 2023
b9ce253
[test] Temporarily skip debugger tests
Mar 23, 2023
4b134bc
Skip test depending on always-true removed --harmony-atomics flag (#155)
ajklein Apr 14, 2023
927a4d7
Skip test-worker-no-sab (#156)
ajklein Apr 14, 2023
cf62341
[test] Re-enable debugger tests
Apr 26, 2023
63a8127
[test] Temporarily disable test parallel/test-fs-write
May 5, 2023
8cbfe86
[test] Skip test_cannot_run_js
victorgomes May 22, 2023
ac79c25
Skip the failing tests (#159)
rmahdav Jun 27, 2023
274f4d6
Skip tests
Aug 24, 2023
b3e1523
Adapt tests for increased TypedArray sizes (#161)
backes Sep 19, 2023
98b6be6
[env] Remove lambda argument in Throw constructors
victorgomes Sep 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 19 additions & 0 deletions .devcontainer/.devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Node.js Core Developer Environment",
"extensions": [
"github.vscode-pull-request-github",
"ms-vsliveshare.vsliveshare",
"vscode-icons-team.vscode-icons",
"visualstudioexptteam.vscodeintellicode"
],
"dockerFile": "Dockerfile",
"initializeCommand": "docker system prune -f -a",
"settings": {
"terminal.integrated.profiles.linux": {
"zsh (login)": {
"path": "zsh",
"args": ["-l"]
}
}
}
}
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM nodejs/devcontainer:nightly
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ test/fixtures
test/message/esm_display_syntax_error.mjs
tools/icu
tools/lint-md/lint-md.mjs
tools/github_reporter
benchmark/tmp
benchmark/fixtures
doc/**/*.js
Expand Down
48 changes: 29 additions & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = {
files: ['**/*.md/*.cjs', '**/*.md/*.js'],
parserOptions: {
sourceType: 'script',
ecmaFeatures: { impliedStrict: true }
ecmaFeatures: { impliedStrict: true },
},
rules: { strict: 'off' },
},
Expand Down Expand Up @@ -103,45 +103,46 @@ module.exports = {
},
{
name: 'Buffer',
message: 'Import Buffer instead of using the global'
message: 'Import Buffer instead of using the global',
},
{
name: 'process',
message: 'Import process instead of using the global'
message: 'Import process instead of using the global',
},
] },
},
{
files: [
'lib/internal/test_runner/**/*.js',
],
rules: {
'node-core/set-proto-to-null-in-object': 'error',
},
},
],
rules: {
// ESLint built-in rules
// https://eslint.org/docs/rules/
'accessor-pairs': 'error',
'array-callback-return': 'error',
'arrow-parens': ['error', 'always'],
'arrow-spacing': ['error', { before: true, after: true }],
'arrow-parens': 'error',
'arrow-spacing': 'error',
'block-scoped-var': 'error',
'block-spacing': 'error',
'brace-style': ['error', '1tbs', { allowSingleLine: true }],
'capitalized-comments': ['error', 'always', {
line: {
// Ignore all lines that have less characters than 20 and all lines that
// start with something that looks like a variable name or code.
// eslint-disable-next-line max-len
ignorePattern: '.{0,20}$|[a-z]+ ?[0-9A-Z_.(/=:[#-]|std|http|ssh|ftp|(let|var|const) [a-z_A-Z0-9]+ =|[b-z] |[a-z]*[0-9].* ',
ignorePattern: '.{0,20}$|[a-z]+ ?[0-9A-Z_.(/=:[#-]|std|http|ssh|ftp',
ignoreInlineComments: true,
ignoreConsecutiveComments: true,
},
block: {
ignorePattern: '.*',
},
}],
'comma-dangle': ['error', {
arrays: 'always-multiline',
exports: 'only-multiline',
functions: 'only-multiline',
imports: 'only-multiline',
objects: 'only-multiline',
}],
'comma-dangle': ['error', 'always-multiline'],
'comma-spacing': 'error',
'comma-style': 'error',
'computed-property-spacing': 'error',
Expand All @@ -162,9 +163,9 @@ module.exports = {
ObjectExpression: 'first',
SwitchCase: 1,
}],
'key-spacing': ['error', { mode: 'strict' }],
'key-spacing': 'error',
'keyword-spacing': 'error',
'linebreak-style': ['error', 'unix'],
'linebreak-style': 'error',
'max-len': ['error', {
code: 120,
ignorePattern: '^// Flags:',
Expand All @@ -178,7 +179,7 @@ module.exports = {
'no-constant-condition': ['error', { checkLoops: false }],
'no-constructor-return': 'error',
'no-duplicate-imports': 'error',
'no-else-return': ['error', { allowElseIf: true }],
'no-else-return': 'error',
'no-extra-parens': ['error', 'functions'],
'no-lonely-if': 'error',
'no-mixed-requires': 'error',
Expand Down Expand Up @@ -240,6 +241,12 @@ module.exports = {
selector: "CallExpression[callee.name='isNaN']",
message: 'Use Number.isNaN() instead of the global isNaN() function.',
},
{
// TODO(@panva): move this to no-restricted-properties
// when https://github.com/eslint/eslint/issues/16412 is fixed
selector: "Identifier[name='webcrypto']",
message: 'Use `globalThis.crypto`.',
},
],
'no-return-await': 'error',
'no-self-compare': 'error',
Expand Down Expand Up @@ -285,7 +292,7 @@ module.exports = {
named: 'never',
asyncArrow: 'always',
}],
'space-in-parens': ['error', 'never'],
'space-in-parens': 'error',
'space-infix-ops': 'error',
'space-unary-ops': 'error',
'spaced-comment': ['error', 'always', {
Expand All @@ -307,26 +314,29 @@ module.exports = {
'jsdoc/newline-after-description': 'off',
'jsdoc/require-returns-description': 'off',
'jsdoc/valid-types': 'off',
'jsdoc/no-defaults': 'off',
'jsdoc/no-undefined-types': 'off',
'jsdoc/require-param': 'off',
'jsdoc/check-tag-names': 'off',
'jsdoc/require-returns': 'off',
'jsdoc/require-property-description': 'off',

// Custom rules from eslint-plugin-node-core
'node-core/no-unescaped-regexp-dot': 'error',
'node-core/no-duplicate-requires': 'error',
'node-core/prefer-proto': 'error',
},
globals: {
ByteLengthQueuingStrategy: 'readable',
CompressionStream: 'readable',
CountQueuingStrategy: 'readable',
CustomEvent: 'readable',
crypto: 'readable',
Crypto: 'readable',
CryptoKey: 'readable',
DecompressionStream: 'readable',
fetch: 'readable',
FormData: 'readable',
navigator: 'readable',
ReadableStream: 'readable',
ReadableStreamDefaultReader: 'readable',
ReadableStreamBYOBReader: 'readable',
Expand Down
3 changes: 0 additions & 3 deletions .flake8

This file was deleted.

108 changes: 80 additions & 28 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,56 +1,70 @@
# Node.js Project Codeowners

# 1. Codeowners must always be teams, never individuals
# 2. Each codeowner team should contain at least one TSC member
# 3. PRs touching any code with a codeowner must be signed off by at least one
# person on the code owner team.
# This file does not define any requirements for landing PRs.
# Its purpose is to allow automation of courtesy pings to the
# relevant team(s) when any of the paths listed here are modified.
# Criteria for landing PRs are defined in
# https://github.com/nodejs/node/blob/main/doc/contributing/collaborator-guide.md#code-reviews.
#
# Codeowners must always be teams, never individuals.

# tsc

/.github/CODEOWNERS @nodejs/tsc
/GOVERNANCE.md @nodejs/tsc
/onboarding.md @nodejs/tsc
/.github/PULL_REQUEST_TEMPLATE.md @nodejs/tsc
/.github/ISSUE_TEMPLATE/* @nodejs/tsc
/CODE_OF_CONDUCT.md @nodejs/tsc
/CONTRIBUTING.md @nodejs/tsc
/LICENSE @nodejs/tsc
/doc/contributing/*.md @nodejs/tsc
/GOVERNANCE.md @nodejs/tsc
/LICENSE @nodejs/tsc
/onboarding.md @nodejs/tsc

# website
/doc/api_assets @nodejs/website
/doc/template.html @nodejs/website
/tools/doc @nodejs/website

# streams

/lib/_stream* @nodejs/streams
/lib/internal/streams/* @nodejs/streams
/lib/stream.js @nodejs/streams
/lib/stream/* @nodejs/streams
/lib/internal/streams/* @nodejs/streams

# net

/deps/ada @nodejs/url
/deps/cares @nodejs/net
/doc/api/dns.md @nodejs/net
/doc/api/dgram.md @nodejs/net
/doc/api/dns.md @nodejs/net
/doc/api/net.md @nodejs/net
/lib/dgram.js @nodejs/net
/lib/dns.js @nodejs/net
/lib/net.js @nodejs/net
/lib/internal/dgram.js @nodejs/net
/lib/internal/dns/* @nodejs/net
/lib/internal/js_stream_socket.js @nodejs/net
/lib/internal/net.js @nodejs/net
/lib/internal/socket_list.js @nodejs/net
/lib/internal/js_stream_socket.js @nodejs/net
/lib/internal/url.js @nodejs/url
/lib/net.js @nodejs/net
/lib/url.js @nodejs/url
/src/cares_wrap.cc @nodejs/net
/src/connect_wrap.* @nodejs/net
/src/connection_wrap.* @nodejs/net
/src/node_sockaddr* @nodejs/net
/src/node_url.* @nodejs/url
/src/tcp_wrap.* @nodejs/net
/src/udp_wrap.* @nodejs/net

# tls/crypto

/lib/crypto.js @nodejs/crypto
/lib/internal/crypto/* @nodejs/crypto
/lib/internal/tls/* @nodejs/crypto @nodejs/net
/lib/crypto.js @nodejs/crypto
/lib/tls.js @nodejs/crypto @nodejs/net
/src/node_crypto* @nodejs/crypto
/src/crypto/* @nodejs/crypto
/src/node_crypto* @nodejs/crypto

# http

Expand All @@ -71,23 +85,25 @@
/src/node_http2* @nodejs/http2 @nodejs/net
/src/node_mem* @nodejs/http2

# modules
# modules, including loaders

/doc/api/modules.md @nodejs/modules
/doc/api/esm.md @nodejs/modules
/doc/api/module.md @nodejs/modules
/doc/api/packages.md @nodejs/modules
/lib/module.js @nodejs/modules
/lib/internal/modules/* @nodejs/modules
/lib/internal/bootstrap/loaders.js @nodejs/modules
/src/module_wrap* @nodejs/modules @nodejs/vm
/doc/api/esm.md @nodejs/loaders
/doc/api/module.md @nodejs/loaders
/doc/api/modules.md @nodejs/loaders
/doc/api/packages.md @nodejs/loaders
/lib/internal/bootstrap/realm.js @nodejs/loaders
/lib/internal/modules/* @nodejs/loaders
/lib/internal/process/esm_loader.js @nodejs/loaders
/lib/internal/process/execution.js @nodejs/loaders
/lib/module.js @nodejs/loaders
/src/module_wrap* @nodejs/loaders @nodejs/vm

# Node-API

/src/node_api* @nodejs/node-api
/src/js_native_api* @nodejs/node-api
/doc/contributing/adding-new-napi-api.md @nodejs/node-api
/doc/api/n-api.md @nodejs/node-api
/doc/contributing/adding-new-napi-api.md @nodejs/node-api
/src/js_native_api* @nodejs/node-api
/src/node_api* @nodejs/node-api

# gyp

Expand All @@ -96,27 +112,63 @@
/tools/gyp/**/* @nodejs/gyp

# WASI

/deps/uvwasi/ @nodejs/wasi
/doc/api/wasi.md @nodejs/wasi
/lib/wasi.js @nodejs/wasi
/src/node_wasi* @nodejs/wasi
/test/wasi/ @nodejs/wasi
/test/fixtures/wasi/ @nodejs/wasi
/test/wasi/ @nodejs/wasi

# Startup

/benchmark/misc/startup.js @nodejs/startup
/src/node.cc @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
/src/node_builtins* @nodejs/startup
/src/node_realm* @nodejs/startup @nodejs/realm
/src/node_snapshot* @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
/src/node.cc @nodejs/startup
/test/parallel/test-bootstrap-* @nodejs/startup
/test/parallel/test-snapshot-* @nodejs/startup
/tools/snapshot/* @nodejs/startup

# V8

/deps/v8/* @nodejs/v8-update
/tools/v8_gypfiles/* @nodejs/v8-update

# Actions

/.github/workflows/* @nodejs/actions
/tools/actions/* @nodejs/actions

# Test runner

/doc/api/test.md @nodejs/test_runner
/lib/internal/main/test_runner.js @nodejs/test_runner
/lib/internal/test_runner/* @nodejs/test_runner
/lib/test.js @nodejs/test_runner
/lib/test/reporters.js @nodejs/test_runner
/test/parallel/test-runner-* @nodejs/test_runner

# Single Executable Applications
/deps/postject @nodejs/single-executable
/doc/api/single-executable-applications.md @nodejs/single-executable
/doc/contributing/maintaining/maintaining-single-executable-application-support.md @nodejs/single-executable
/src/node_sea* @nodejs/single-executable
/test/fixtures/postject-copy @nodejs/single-executable
/test/parallel/test-single-executable-* @nodejs/single-executable
/test/sequential/test-single-executable-* @nodejs/single-executable
/tools/dep_updaters/update-postject.sh @nodejs/single-executable

# Permission Model
/doc/api/permissions.md @nodejs/security-wg
/lib/internal/process/permission.js @nodejs/security-wg
/src/permission/* @nodejs/security-wg

# Dependency Update Tools

/.github/workflows/tools.yml @nodejs/security-wg
/.github/workflows/update-openssl.yml @nodejs/security-wg
/.github/workflows/update-v8.yml @nodejs/security-wg @nodejs/v8-update
/tools/dep_updaters/* @nodejs/security-wg
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body:
label: How often does it reproduce? Is there a required condition?
- type: textarea
attributes:
label: What is the expected behavior?
label: What is the expected behavior? Why is that the expected behavior?
description: If possible please provide textual output instead of screenshots.
- type: textarea
attributes:
Expand Down
11 changes: 7 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<!--
Before submitting a pull request, please read
https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md.
Before submitting a pull request, please read:
Commit message formatting guidelines:
https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines
- the CONTRIBUTING guide at https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
- the commit message formatting guidelines at
https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines
For code changes:
1. Include tests for any bug fixes or new features.
2. Update documentation if relevant.
3. Ensure that `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes.
If you believe this PR should be highlighted in the Node.js CHANGELOG
please add the `notable-change` label.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
Expand Down
Loading