Skip to content

[v17.x] deps: update openssl to openssl-3.0.2+quic #42354

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
934 commits
Select commit Hold shift + click to select a range
af641bd
doc: improve wording surrounding TLS 1.3 ciphers
tniessen Feb 1, 2022
ea96640
test: exclude ibm i tests until we resolve
mhdawson Feb 1, 2022
bbfa586
src: fix typo in js_native_api_v8.cc
caioagiani Feb 2, 2022
e5db136
doc: use UDPv4/UDPv6 consistently with TCPv4/TCPv6
tniessen Feb 2, 2022
4eb1938
doc: align tls port types with net port types
tniessen Feb 2, 2022
87902a7
test: avoid using Object.prototype methods directly on objects
Trott Jan 31, 2022
34dfc60
tools,test: enable no-prototype-builtins
Trott Jan 31, 2022
d726a34
doc: use example.com for examples
atesgoral Feb 3, 2022
4db343b
doc: add note about resource type in async_hooks
tony-go Feb 3, 2022
e11a079
stream: use synchronous error validation & validate abort signal option
iMoses Feb 3, 2022
6064b1d
buffer: fix atob/btoa no-arg case
benjamingr Feb 3, 2022
0844935
async_hooks: fix imports in context example
yashLadha Feb 3, 2022
49f6b97
doc: add registry numbers for Electron 19 and 20
VerteDinde Feb 1, 2022
bee4451
deps: V8: cherry-pick cc9a8a37445e
devsnek Feb 2, 2022
499171b
http2: fix no response event on continue request
ofirbarak Feb 3, 2022
e117c0f
crypto: check return code from EVP_DigestUpdate
mhdawson Jan 31, 2022
cb16fad
doc: add initial version of maintaining-http.md
mhdawson Jan 31, 2022
d3a4c62
doc: use sentence case for X509 error codes header
tniessen Feb 3, 2022
7aeaa27
doc: fix X509 CA acronym capitalization
tniessen Feb 4, 2022
72a857f
doc: add overhead hints for heap snapshot generation
Flarna Feb 4, 2022
451f333
doc: feature management proposal
mhdawson Jan 6, 2022
cbcf794
readline: improve code coverage for readline promises
ErickWendel Feb 5, 2022
32cdae7
tools: update doc to [email protected]
nodejs-github-bot Feb 5, 2022
72f02d8
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Jan 29, 2022
ad32ad6
benchmark: enable no-empty ESLint rule
Trott Feb 3, 2022
c3721fc
doc: remove empty block from console.timeEnd() example
Trott Feb 3, 2022
8a42a20
doc: add comments to empty blocks in worker_threads text
Trott Feb 3, 2022
4834be3
lib: add comments to empty catch statements
Trott Feb 3, 2022
e1ae61b
policy: revise manifest.js to avoid empty blocks
Trott Feb 3, 2022
6c82276
stream: remove empty block
Trott Feb 3, 2022
c694dae
test: enable no-empty ESLint rule
Trott Feb 3, 2022
0d471fb
tools: enable no-empty ESLint rule
Trott Feb 3, 2022
869cbb7
worker: graduate get/setEnvironmentData APIs
jasnell Dec 21, 2021
43f2aba
src: slightly simplify V8CoverageConnection::GetFilename
addaleax Jan 29, 2022
c3d3abf
src: slightly simplify URLHost::ToString
addaleax Jan 29, 2022
3676505
doc: add history information for Corepack
aduh95 Feb 1, 2022
44ca20b
benchmark: avoid input param manipulation
MrJithil Jan 29, 2022
f8d2955
stream: initial port of test262 tests
benjamingr Feb 5, 2022
1c62eb6
doc: add missing commas in cluster docs
tniessen Feb 5, 2022
0a8995d
doc: improve SSL_OP_PRIORITIZE_CHACHA description
tniessen Feb 5, 2022
bd5d158
meta: update AUTHORS
nodejs-github-bot Feb 6, 2022
5085813
doc: add stream pipelining note on Http usage
RafaelGSS Feb 6, 2022
07b6bf4
stream: resume stream on drain
ronag Feb 6, 2022
59a15e8
lib: refactor to use `validateObject()` validator
VoltrexKeyva Feb 6, 2022
0d9248f
test: remove test-worker-memory flaky designation
Trott Feb 5, 2022
f8acca8
doc: add missing space before hyphen
Mesteery Feb 6, 2022
573cafe
test: remove eslint-disable comments from fixtures
Trott Feb 5, 2022
145a3b8
doc: use sentence case in readme introduction
Mesteery Feb 6, 2022
bfddcb1
http2: fix pseudo-headers order
Jan 28, 2022
ffd1933
doc: use Oxford comma in crypto docs
tniessen Feb 6, 2022
d641eb7
doc: use the same case as the section heading
Mesteery Feb 6, 2022
1ae6485
stream: add iterator helper find
Linkgoron Feb 7, 2022
28650ec
deps: upgrade npm to 8.4.1
npm-robot Feb 7, 2022
b290a87
2022-02-10, Version 17.5.0 (Current)
ruyadorno Feb 8, 2022
e9ef9dd
Working on v17.5.1
ruyadorno Feb 10, 2022
0a6f0b4
deps: upgrade npm to 8.5.0
npm-robot Feb 11, 2022
3243701
readline: bind keystroke `ctrl`+`6` to redo
rayw000 Feb 7, 2022
182e6b9
build: improve consistency between workflows
Mesteery Feb 7, 2022
76f0f1c
test: move test-crypto-engine to addon
mhdawson Feb 2, 2022
0fff4d2
crypto: do not advertise unsupported algorithms
mscdex Feb 5, 2022
5796c3a
process: deprecate multipleResolves
benjamingr Feb 8, 2022
2b1dabf
build: revert fast-track changes
panva Feb 8, 2022
291fe63
doc: fix webstream close reject state state doc
benjamingr Feb 5, 2022
f30b5e3
tools: fix typo in prefer-primordials.js
eltociear Feb 8, 2022
ba5cb89
doc: remove unneeded ellipsis in header
Trott Feb 8, 2022
fa3a913
lib: add internal genericNodeError() function
Trott Feb 9, 2022
0de611f
doc: add joesepi to collaborators
joesepi Feb 9, 2022
c766159
repl: #41690 REPL gives wrong autocomplete on literals
meixg Feb 10, 2022
ba639d0
esm: support https remotely and http locally under flag
bmeck Nov 30, 2020
fc9d4e9
doc: edit process.config deprecation text
Trott Feb 10, 2022
aa684a7
doc: replace text with paths in toggle SVGs
mscdex Feb 10, 2022
c41e402
cluster: respect listen backlog set by workers
eladnava Jan 21, 2022
dc14bd8
test: remove lint rule for setTimeout() arguments
Trott Feb 11, 2022
b968d89
build: remove broken x32 arch support
bnoordhuis Feb 11, 2022
6076291
src: don't print interface if sin6_scope_id is 0
santigimeno Feb 11, 2022
364ec5b
src: fix query/fragment serialization in URL::SerializeURL
addaleax Jan 29, 2022
0330e2d
src: reserve string allocation space early in URL::SerializeURL
addaleax Jan 29, 2022
d91a956
src: use const reference instead of pointer in URL::SerializeURL
addaleax Jan 29, 2022
07463b3
stream: use standard for loop instead of for..of
VoltrexKeyva Feb 6, 2022
5195479
stream: refactor to use more validators
VoltrexKeyva Feb 6, 2022
3e38506
stream: avoid usage of deprecated APIs
VoltrexKeyva Feb 6, 2022
1eac0a1
debugger: remove duplicate setPauseOnException call
bavulapati Feb 11, 2022
6a7b016
doc: improve scrollbar appearance in dark mode
Aaron00101010 Feb 11, 2022
83b913c
test: improve code coverage for streams/duplexify
ErickWendel Feb 11, 2022
528c585
fs: refactor to use ES2020 syntax
xtx1130 Feb 11, 2022
77462b6
stream: revert `map` spec compliance
benjamingr Feb 11, 2022
e2a74d2
src: remove separate definitions for static constexpr members
addaleax Feb 11, 2022
3a12134
lib: move kEnumerableProperty to internal/util
Mesteery Feb 11, 2022
24b0a56
child_process: kHideConsoleWindows for spawnSync
rzhao271 Feb 11, 2022
b0e8ccb
doc: clarify `tls.Server` `'connection'` event documentation
prettydiff Feb 12, 2022
66c9565
esm: fix typo in `fetch_module`
scovetta Feb 12, 2022
dca2692
doc: emphasize security warning in vm module doc
Trott Feb 12, 2022
43a5161
doc: fix wrong indent in stream documentation
meixg Feb 12, 2022
b4db004
fs: fix writev empty array error behavior
benjamingr Feb 12, 2022
cb9dba0
doc: fix typo in readableStream.locked description
tniessen Feb 13, 2022
f80cae8
src: merge ToJsSet into ToV8Value
addaleax Feb 13, 2022
b1505a1
tls: avoid throw in onerror for bad TLSSocket obj
sigv Feb 14, 2022
8748b1e
doc: add missing `buffer` in the `stream/consumers` import example
Mesteery Feb 14, 2022
6068291
crypto: expose Web Crypto API on the global scope
aduh95 Feb 14, 2022
f5d7339
stream: add more filter tests
benjamingr Feb 11, 2022
b8cbb83
stream: add more forEach tests
benjamingr Feb 11, 2022
be5143b
fs: fix cb/sync writev empty array behavior
benjamingr Feb 11, 2022
520dcbc
test: fix intl tests on small-icu builds
aduh95 Feb 14, 2022
f4cb726
build,tools: change the quotes in YAML
Mesteery Jan 29, 2022
cd04ed1
build: extend yamllint configuration
Mesteery Jan 29, 2022
3d99811
meta: update AUTHORS and .mailmap
Trott Feb 14, 2022
06117c0
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Feb 12, 2022
4e2e2cb
build: move tool updates workflow runtime a day later
Trott Feb 15, 2022
d34ee45
doc: fix bug in `readable.unshift` code example
meixg Feb 15, 2022
1e8e8bc
build: use zoslib_include_dir provided by node-gyp
alexcfyung Feb 15, 2022
6b88595
doc: deprecate notice for process methods
yashLadha Jan 26, 2022
214d176
fs: support copy of relative links with cp and cpSync
marcosbc Feb 15, 2022
ab73bde
test: fix typographical error
Trott Feb 15, 2022
35832fe
tools: update ESLint to 8.9.0
lpinca Feb 14, 2022
90d90e3
doc: add marsonya to collaborators
marsonya Feb 15, 2022
f8e302c
test: fix names of tests marked flaky on IBM i
richardlau Feb 15, 2022
6195de5
doc: fix deprecation number
aduh95 Feb 15, 2022
06f225c
doc: capitalize valgrind
mahmoud-moursy Feb 15, 2022
09c1748
deps: update undici to 3e267ece5f
targos Feb 16, 2022
2e905a6
tools: update remark-preset-lint-node to 3.3.1
Trott Feb 16, 2022
f9bfdc3
lib: restrict usage of fetch related globals in core internals
aduh95 Feb 13, 2022
c7d590c
doc: remove extra <td>
rayw000 Feb 16, 2022
1315f1e
build: prevent concurrent CI and CQ workflow runs
targos Feb 16, 2022
68ec8d5
lib: stop installing fetch if no_browser_globals is true
RaisinTen Feb 16, 2022
0660ba3
events: set default handler value
benjamingr Feb 16, 2022
ae36276
lib: allow respondWithNewView on byob auto allocated streams
sbquinlan Feb 16, 2022
c3b0e72
lib: stop installing webcrypto if `no_browser_globals` is `true`
Mesteery Feb 17, 2022
9825ced
test: run webmessaging/broadcastchannel WPT
bnoordhuis Feb 17, 2022
2e252b3
doc: adjust a/an word usage
derekwolpert Feb 17, 2022
f51b55d
meta: use plain emojis instead of escape sequences
Mesteery Feb 17, 2022
67f1ebf
debugger: add debugger alias for exec(expr)
meixg Feb 17, 2022
69d7736
build: add action to close stale feature requests
mhdawson Feb 15, 2022
d3e6ad1
build: allow manual run of feature request action
mhdawson Feb 17, 2022
782506c
build: increase operations and test tag
mhdawson Feb 17, 2022
43c12f4
src,buffer: evaluate THROW_AND_RETURN_IF_OOB() expression only once
RaisinTen Feb 17, 2022
946ac96
crypto: rename X509_NAME_FLAGS
tniessen Feb 17, 2022
84b1e4f
crypto: check result of BIO_new in X509ToObject
tniessen Feb 17, 2022
afeed46
tools: reduce list of globals in ESLint config
Trott Feb 18, 2022
bcf53a8
test: improve vm test coverage
kuriyosh Feb 18, 2022
cfafb45
tools,lib: remove `global` and `Intl` from the list of globals
aduh95 Feb 18, 2022
47bb7dd
tools: add timers functions to the list of restricted globals
aduh95 Feb 18, 2022
ba35b6c
worker: fix typo in debug statement
aduh95 Feb 18, 2022
60bbacd
doc: use openpgp.org for keyserver examples
nschonni Feb 18, 2022
c673953
build: cancel running CI jobs when a PR is updated
targos Feb 18, 2022
fe66d2b
test: check that fetch globals are disabled by default
targos Feb 18, 2022
ec0d623
lib: add FormData global when fetch is enabled
targos Feb 18, 2022
e895e64
tools: fix bugs in prefer-primordials linter rule
aduh95 Feb 18, 2022
a95f7a0
esm: remove erroneous `context.parentURL` property passed to `load` hook
JakobJingleheimer Feb 18, 2022
d1ef43f
deps: upgrade npm to 8.5.1
npm-robot Feb 19, 2022
d900891
test: remove test-stdout-close-catch flaky designation
Trott Feb 19, 2022
c0f4289
esm: improve `fetch_module` test coverage and remove hack
aduh95 Feb 19, 2022
1b4ee6c
tools: lint deprecation codes
aduh95 Feb 19, 2022
5a807c5
fs: fix default `length` parameter for `fs.read`
wbt Feb 19, 2022
896ccc1
tools: add `console` to the list of restricted globals
aduh95 Feb 19, 2022
1e698e6
meta: update AUTHORS
nodejs-github-bot Feb 20, 2022
9c618ad
doc: make minor fixes to contributing guides
mahmoud-moursy Feb 14, 2022
fea682c
doc: fix typo in http2 endAfterHeaders description
acomanescu Feb 20, 2022
6742625
tools: enable es2022 env in ESLint config
targos Feb 20, 2022
391f4e5
perf_hooks: use arrays to store EntryBuffers
meixg Feb 20, 2022
2cdbf03
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Feb 21, 2022
972dd0a
2022-02-22, Version 17.6.0 (Current)
bengl Feb 21, 2022
4069ead
Working on v17.6.1
BethGriggs Feb 22, 2022
a4969d5
doc: add release key for Bryan English
bengl Feb 24, 2022
f7ea75f
lib: add legacy built-in functions to primordials
aduh95 Feb 21, 2022
e3347db
meta: remove collaborator
Trott Feb 21, 2022
9930146
test: increase Fibonacci argument to 40
Trott Feb 21, 2022
3789d66
doc: add missing api entries on performance
legendecas Feb 16, 2022
a2926c4
net: add new options to `net.Socket` and `net.Server`
ShogunPanda Feb 22, 2022
8b531da
doc: clarify supported versus enabled TLS ciphers
tniessen Feb 22, 2022
0ce00ca
doc: move bnoordhuis back to collaborators
bnoordhuis Feb 22, 2022
288f627
crypto: clarify `require("crypto").getRandomValues` is Node.js specific
aduh95 Feb 22, 2022
bd04fc8
doc: clarify persistent ref behavior
mhdawson Feb 17, 2022
03ebca8
build: update feature close action for testing
mhdawson Feb 22, 2022
d6b1a4a
repl: remove preview when press escape
meixg Feb 19, 2022
482b220
test: validate `EventEmitterAsyncResource` methods throw on invalid this
kuriyosh Feb 22, 2022
eb622a0
doc: add meixg to triagers
meixg Feb 23, 2022
e0448da
meta: move one or more collaborators to emeritus
nodejs-github-bot Feb 23, 2022
7ed2c19
meta: correct link to feature request document
SimenB Feb 23, 2022
7c49785
process: fix named report export
madflow Feb 4, 2022
26fe61b
doc: document change to IncomingMessage.headers enumerability
ArnoldZokas Feb 23, 2022
8431fb9
stream: port more test262 tests
benjamingr Feb 23, 2022
96510b3
module: prefer async/await in https imports
benjamingr Feb 12, 2022
86248f1
src: allow preventing InitializeInspector in env
codebytere Feb 23, 2022
8b94ea6
doc,tools: improve navigability of API docs
ShogunPanda Feb 24, 2022
f107f8b
node-api: fix typo in `node_api.cc`
austinkelleher Feb 24, 2022
d0f68a3
test: deflake test-common-expect-warning
lpinca Feb 18, 2022
a32ec98
doc: make building with ninja more discoverable
bavulapati Feb 25, 2022
53338fe
stream: allow returning null from pipeline tail
ronag Feb 25, 2022
769e2a4
deps: V8: cherry-pick b66334313c8b
luyahan Feb 21, 2022
1359f60
deps: V8: cherry-pick 77d515484864
luyahan Feb 21, 2022
ec4c0de
build: last test of the stale feature action
mhdawson Feb 22, 2022
2e1231b
errors: do not access .stack in debug
Feb 25, 2022
3fc3f52
build: add corepack to the auto-updated dependencies
arcanis Feb 25, 2022
ccacf99
deps: upgrade npm to 8.5.2
npm-robot Feb 24, 2022
c72c3f4
perf_hooks: do not return all entries with getEntriesBy[Name|Type]
meixg Feb 26, 2022
5d010bc
doc: remove repeated a word
apeltop Feb 26, 2022
384872f
lib: clean after the cancel algorithm throw error
MoonBall Feb 26, 2022
2b35422
crypto: add KeyObject.prototype.equals method
panva Feb 26, 2022
c9ea6a9
crypto: validate `this` value for `webcrypto.getRandomValues`
aduh95 Feb 26, 2022
28f6364
tools: update eslint to 8.10.0
nodejs-github-bot Feb 27, 2022
cad7dde
meta: update AUTHORS
nodejs-github-bot Feb 27, 2022
2bc136d
esm: fix relative imports for https
bmeck Feb 27, 2022
0b8efea
deps: update nghttp2 to 1.47.0
yashLadha Feb 27, 2022
576c1ae
fs: adjust default `length` for `fs.readSync` and fsPromises/`read`
LiviaMedeiros Feb 27, 2022
3366618
src: simplify GetExponentString
tniessen Feb 27, 2022
07de4ed
src: do not ignore return value of BIO_reset
tniessen Feb 27, 2022
382ffda
src: simplify arg type of AddFingerprintDigest
tniessen Feb 27, 2022
97f5ced
src: prefer bool over int in crypto_common
tniessen Feb 27, 2022
f0558d8
src: simplify TLSWrap::SetSession
tniessen Feb 27, 2022
4c9f2b5
src: combine GetCurveASN1Name and GetCurveNistName
tniessen Feb 27, 2022
0413736
http: add default argument for Agent.prototype.getName
xtx1130 Feb 27, 2022
d05758f
buffer: improve blob read performance
meixg Feb 27, 2022
41b6d9e
tools: update lint-md rollup dependencies
nodejs-github-bot Feb 27, 2022
853cbd9
build: increase max ops for stale feature action
mhdawson Feb 25, 2022
4e9fac6
build: fix usage of input in feature action
mhdawson Feb 28, 2022
ce86fc3
doc: remove reference to obsolete security program
Trott Mar 1, 2022
f21fbee
test: update V8 trace events test expectations
nickie Feb 24, 2022
ce40927
src: remove dead code in AddFingerprintDigest
tniessen Mar 1, 2022
9bc7a95
http2: close stream and session on frameError
RafaelGSS Mar 2, 2022
3df001f
doc: add JakobJingleheimer to collaborators list
JakobJingleheimer Mar 2, 2022
84859c4
doc: fix typos
apeltop Mar 2, 2022
ee02739
doc: add missing single-quotes to `http.OutgoingMessage`
juanarbol Mar 1, 2022
9aeda47
url: fix url.parse() for @hostname
Trott Feb 26, 2022
06e5c0e
stream: use .chunk when calling adapters's writev
meixg Mar 3, 2022
6a74fa9
doc: add next-10 to strategic initiatives
mhdawson Mar 1, 2022
0bbb447
build: drop shortened URL from lint-commit-message
richardlau Mar 3, 2022
04d2c74
doc: use parenthesis instead of em dash
aduh95 Mar 3, 2022
ceb47d1
test: fix test-process-env-tz.js by using RegExp
XadillaX Mar 4, 2022
8dd4878
esm: fix base URL for network imports
bmeck Feb 25, 2022
a6c1abf
doc: add note about nghttp2 hd pair size
RafaelGSS Mar 5, 2022
05c3ff5
doc: clarify that some modules don't work when compiled without ssl
aduh95 Mar 5, 2022
7f1c83e
loader: fix esm resolve for symlink file
meixg Mar 6, 2022
5b23e67
meta: update AUTHORS
nodejs-github-bot Mar 6, 2022
0abc20b
src: skip revoke_data_object if uuid is not found
meixg Mar 6, 2022
0be3c61
test: cover 32-bit sizes in generatePrime
tniessen Mar 6, 2022
c01134e
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Mar 6, 2022
555da9b
doc: remove "considered" for clarity
Trott Mar 6, 2022
1de8087
http2: add edge case to GOAWAY request
RafaelGSS Mar 6, 2022
6183749
doc: remove erroneous comma in cluster explainer
tniessen Mar 7, 2022
ecb5980
url, src: modify one `special_back_slash`
XadillaX Feb 24, 2022
98b1be0
src: return proper URLs from node_api_get_module_file_name
addaleax Jan 29, 2022
fc7d429
doc: update stale feature messages
mhdawson Mar 4, 2022
05c2520
2022-03-09, Version 17.7.0 (Current)
sxa Mar 8, 2022
ea81c5e
Working on v17.7.1
BethGriggs Mar 9, 2022
96a9e00
url: revert fix url.parse() for `@hostname`
aduh95 Mar 10, 2022
8fe7979
2022-03-10, Version 17.7.1 (Current)
sxa Mar 10, 2022
0694177
Working on v17.7.2
BethGriggs Mar 10, 2022
bddde35
deps: upgrade openssl sources to quictls/openssl-3.0.2+quic
hassaanp Mar 15, 2022
7535b0f
deps: update archs files for quictls/openssl-3.0.2+quic
hassaanp Mar 15, 2022
d0b96b8
test: fix tests affected by OpenSSL update
mhdawson Mar 15, 2022
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.
98 changes: 30 additions & 68 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ NodePlugin.RULES_DIR = path.resolve(__dirname, 'tools', 'eslint-rules');
const ModuleFindPath = Module._findPath;
const hacks = [
'eslint-plugin-node-core',
'eslint-plugin-jsdoc',
'eslint-plugin-markdown',
'@babel/eslint-parser',
'@babel/plugin-syntax-import-assertions',
Expand All @@ -34,7 +35,11 @@ Module._findPath = (request, paths, isMain) => {

module.exports = {
root: true,
plugins: ['markdown', 'node-core'],
env: {
es2022: true,
},
extends: ['eslint:recommended', 'plugin:jsdoc/recommended'],
plugins: ['jsdoc', 'markdown', 'node-core'],
parser: '@babel/eslint-parser',
parserOptions: {
babelOptions: {
Expand Down Expand Up @@ -140,17 +145,14 @@ module.exports = {
'comma-spacing': 'error',
'comma-style': 'error',
'computed-property-spacing': 'error',
'constructor-super': 'error',
'default-case-last': 'error',
'dot-location': ['error', 'property'],
'dot-notation': 'error',
'eol-last': 'error',
'eqeqeq': ['error', 'smart'],
'for-direction': 'error',
'func-call-spacing': 'error',
'func-name-matching': 'error',
'func-style': ['error', 'declaration', { allowArrowFunctions: true }],
'getter-return': 'error',
'indent': ['error', 2, {
ArrayExpression: 'first',
CallExpression: { arguments: 'first' },
Expand All @@ -164,55 +166,29 @@ module.exports = {
'keyword-spacing': 'error',
'linebreak-style': ['error', 'unix'],
'max-len': ['error', {
code: 80,
code: 120,
ignorePattern: '^// Flags:',
ignoreRegExpLiterals: true,
ignoreTemplateLiterals: true,
ignoreUrls: true,
tabWidth: 2,
}],
'new-parens': 'error',
'no-async-promise-executor': 'error',
'no-class-assign': 'error',
'no-confusing-arrow': 'error',
'no-const-assign': 'error',
'no-constant-condition': ['error', { checkLoops: false }],
'no-constructor-return': 'error',
'no-control-regex': 'error',
'no-debugger': 'error',
'no-delete-var': 'error',
'no-dupe-args': 'error',
'no-dupe-class-members': 'error',
'no-dupe-keys': 'error',
'no-dupe-else-if': 'error',
'no-duplicate-case': 'error',
'no-duplicate-imports': 'error',
'no-else-return': ['error', { allowElseIf: true }],
'no-empty-character-class': 'error',
'no-ex-assign': 'error',
'no-extra-boolean-cast': 'error',
'no-extra-parens': ['error', 'functions'],
'no-extra-semi': 'error',
'no-fallthrough': 'error',
'no-func-assign': 'error',
'no-global-assign': 'error',
'no-invalid-regexp': 'error',
'no-irregular-whitespace': 'error',
'no-lonely-if': 'error',
'no-misleading-character-class': 'error',
'no-mixed-requires': 'error',
'no-mixed-spaces-and-tabs': 'error',
'no-multi-spaces': ['error', { ignoreEOLComments: true }],
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 0, maxBOF: 0 }],
'no-new-require': 'error',
'no-new-symbol': 'error',
'no-nonoctal-decimal-escape': 'error',
'no-obj-calls': 'error',
'no-octal': 'error',
'no-path-concat': 'error',
'no-proto': 'error',
'no-redeclare': ['error', { 'builtinGlobals': false }],
'no-restricted-modules': ['error', 'sys'],
/* eslint-disable max-len */
'no-restricted-properties': [
'error',
{
Expand Down Expand Up @@ -265,42 +241,27 @@ module.exports = {
message: 'Use Number.isNaN() instead of the global isNaN() function.',
},
],
/* eslint-enable max-len */
'no-return-await': 'error',
'no-self-assign': 'error',
'no-self-compare': 'error',
'no-setter-return': 'error',
'no-shadow-restricted-names': 'error',
'no-tabs': 'error',
'no-template-curly-in-string': 'error',
'no-this-before-super': 'error',
'no-throw-literal': 'error',
'no-trailing-spaces': 'error',
'no-undef': ['error', { typeof: true }],
'no-undef-init': 'error',
'no-unexpected-multiline': 'error',
'no-unreachable': 'error',
'no-unsafe-finally': 'error',
'no-unsafe-negation': 'error',
'no-unsafe-optional-chaining': 'error',
'no-unused-expressions': ['error', { allowShortCircuit: true }],
'no-unused-labels': 'error',
'no-unused-vars': ['error', { args: 'none', caughtErrors: 'all' }],
'no-use-before-define': ['error', {
classes: true,
functions: false,
variables: false,
}],
'no-useless-backreference': 'error',
'no-useless-call': 'error',
'no-useless-catch': 'error',
'no-useless-concat': 'error',
'no-useless-constructor': 'error',
'no-useless-escape': 'error',
'no-useless-return': 'error',
'no-void': 'error',
'no-whitespace-before-property': 'error',
'no-with': 'error',
'object-curly-newline': 'error',
'object-curly-spacing': ['error', 'always'],
'one-var': ['error', { initialized: 'never' }],
Expand All @@ -311,6 +272,7 @@ module.exports = {
{ blankLine: 'always', prev: 'function', next: 'function' },
],
'prefer-const': ['error', { ignoreReadBeforeAssign: true }],
'prefer-object-has-own': 'error',
'quotes': ['error', 'single', { avoidEscape: true }],
'quote-props': ['error', 'consistent'],
'rest-spread-spacing': 'error',
Expand All @@ -333,33 +295,33 @@ module.exports = {
'symbol-description': 'error',
'template-curly-spacing': 'error',
'unicode-bom': 'error',
'use-isnan': 'error',
'valid-typeof': ['error', { requireStringLiterals: true }],

// ESLint recommended rules that we disable
'no-inner-declarations': 'off',

// JSDoc recommended rules that we disable
'jsdoc/require-jsdoc': 'off',
'jsdoc/require-param-description': 'off',
'jsdoc/newline-after-description': 'off',
'jsdoc/require-returns-description': 'off',
'jsdoc/valid-types': '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',
},
globals: {
AbortController: 'readable',
AbortSignal: 'readable',
Atomics: 'readable',
BigInt: 'readable',
BigInt64Array: 'readable',
BigUint64Array: 'readable',
DOMException: 'readable',
Event: 'readable',
EventTarget: 'readable',
MessageChannel: 'readable',
MessageEvent: 'readable',
MessagePort: 'readable',
TextEncoder: 'readable',
TextDecoder: 'readable',
queueMicrotask: 'readable',
globalThis: 'readable',
btoa: 'readable',
atob: 'readable',
performance: 'readable',
structuredClone: 'readable',
Crypto: 'readable',
CryptoKey: 'readable',
fetch: 'readable',
FormData: 'readable',
Response: 'readable',
SubtleCrypto: 'readable',
},
};
28 changes: 10 additions & 18 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,15 @@
# 3. PRs touching any code with a codeowner must be signed off by at least one
# person on the code owner team.

# tsc & commcomm
# tsc

/.github/CODEOWNERS @nodejs/tsc
/GOVERNANCE.md @nodejs/tsc
/onboarding.md @nodejs/tsc
/CODE_OF_CONDUCT.md @nodejs/tsc @nodejs/community-committee
/CONTRIBUTING.md @nodejs/tsc @nodejs/community-committee
/LICENSE @nodejs/tsc @nodejs/community-committee
/doc/guides/contributing/code-of-conduct.md @nodejs/tsc @nodejs/community-committee
# TODO(mmarchini): the bot doens't have a notion of precedence, that might
# change when move the codeowners code to an Action, at which point we can
# uncomment the line below
# /doc/guides/contributing/*.md @nodejs/tsc
/doc/guides/contributing/issues.md @nodejs/tsc
/doc/guides/contributing/pull-requests.md @nodejs/tsc
/doc/guides/collaborator-guide.md @nodejs/tsc
/doc/guides/offboarding.md @nodejs/tsc
/CODE_OF_CONDUCT.md @nodejs/tsc
/CONTRIBUTING.md @nodejs/tsc
/LICENSE @nodejs/tsc
/doc/contributing/*.md @nodejs/tsc

# streams

Expand Down Expand Up @@ -90,12 +82,12 @@
/lib/internal/bootstrap/loaders.js @nodejs/modules
/src/module_wrap* @nodejs/modules @nodejs/vm

# N-API
# Node-API

/src/node_api* @nodejs/n-api
/src/js_native_api* @nodejs/n-api
/doc/guides/adding-new-napi-api.md @nodejs/n-api
/doc/api/n-api.md @nodejs/n-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

# gyp

Expand Down
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "\U0001F41B Bug report"
name: 🐛 Bug report
description: Create a report to help us improve
body:
- type: markdown
Expand All @@ -9,7 +9,7 @@ body:
This issue tracker is for bugs and issues found within Node.js core.
If you require more general support please file an issue on our help repo. https://github.com/nodejs/help

Please fill in as much of the form below as you're able.
Please fill in as much of the following form as you're able.
- type: input
attributes:
label: Version
Expand Down Expand Up @@ -39,6 +39,8 @@ body:
attributes:
label: What do you see instead?
description: If possible please provide textual output instead of screenshots.
validations:
required: true
- type: textarea
attributes:
label: Additional information
Expand Down
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/2-feature-request.md

This file was deleted.

26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 🚀 Feature request
description: Suggest an idea for this project
labels: [feature request]
body:
- type: markdown
attributes:
value: |
Thank you for suggesting an idea to make Node.js better.

Please fill in as much of the following form as you're able.

For more information on how the project manages feature
requests, see [Feature request management](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
- type: textarea
attributes:
label: What is the problem this feature will solve?
validations:
required: true
- type: textarea
attributes:
label: What is the feature you are proposing to solve the problem?
validations:
required: true
- type: textarea
attributes:
label: What alternatives have you considered?
77 changes: 0 additions & 77 deletions .github/ISSUE_TEMPLATE/3-api-ref-docs-problem.md

This file was deleted.

Loading