Skip to content

Commit c2c8fcd

Browse files
authored
Merge branch 'main' into android-configure
2 parents b5ce960 + beb0520 commit c2c8fcd

File tree

1,735 files changed

+23247
-12152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,735 files changed

+23247
-12152
lines changed

.github/label-pr-config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ subSystemLabels:
2121
/^src\/tty_/: c++, tty
2222
/^src\/node_url/: c++, whatwg-url
2323
/^src\/node_util/: c++, util
24-
/^src\/(?:node_v8|v8abbr)/: c++, v8 engine
24+
/^src\/node_v8/: c++, v8 engine
2525
/^src\/node_contextify/: c++, vm
2626
/^src\/.*win32.*/: c++, windows
2727
/^src\/node_zlib/: c++, zlib
@@ -101,6 +101,7 @@ subSystemLabels:
101101
/^lib\/worker_threads.js$/: worker
102102
/^lib\/internal\/url\.js$/: whatwg-url
103103
/^lib\/internal\/modules\/esm/: esm
104+
/^lib\/internal\/webstreams/: web streams
104105

105106
# All other lib/ files map directly
106107
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
@@ -123,6 +124,7 @@ exlusiveLabels:
123124
/^test\/report\//: test, report
124125
/^test\/fixtures\/es-module/: test, esm
125126
/^test\/es-module\//: test, esm
127+
/^test\/fixtures\/wpt\/streams//: test, web streams
126128

127129
/^test\//: test
128130

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ Hannes Magnusson <[email protected]> <[email protected]>
200200
201201
Hendrik Schwalm <[email protected]>
202202
Henry Chin <[email protected]>
203+
203204
Herbert Vojčík <[email protected]>
204205
Hitesh Kanwathirtha <[email protected]> <[email protected]>
205206

AUTHORS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3503,5 +3503,16 @@ NicoNekoru <[email protected]>
35033503
SADIK KUZU <[email protected]>
35043504
35053505
Saurabh Daware <[email protected]>
3506+
3507+
3508+
Basit Chonka <[email protected]>
3509+
Jeremiah Gowdy <[email protected]>
3510+
Matthew Peveler <[email protected]>
3511+
3512+
3513+
Jeff Dickey <[email protected]>
3514+
Matías Zúñiga <[email protected]>
3515+
3516+
Brian Evans <[email protected]>
35063517

35073518
# Generated by tools/update-authors.mjs

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ release.
3535
</tr>
3636
<tr>
3737
<td valign="top">
38-
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.7.0">18.7.0</a></b><br/>
38+
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.8.0">18.8.0</a></b><br/>
39+
<a href="doc/changelogs/CHANGELOG_V18.md#18.7.0">18.7.0</a><br/>
3940
<a href="doc/changelogs/CHANGELOG_V18.md#18.6.0">18.6.0</a><br/>
4041
<a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a><br/>
4142
<a href="doc/changelogs/CHANGELOG_V18.md#18.4.0">18.4.0</a><br/>
@@ -62,7 +63,8 @@ release.
6263
<a href="doc/changelogs/CHANGELOG_V17.md#17.0.0">17.0.0</a><br/>
6364
</td>
6465
<td valign="top">
65-
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.16.0">16.16.0</a></b><br/>
66+
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.17.0">16.17.0</a></b><br/>
67+
<a href="doc/changelogs/CHANGELOG_V16.md#16.16.0">16.16.0</a><br/>
6668
<a href="doc/changelogs/CHANGELOG_V16.md#16.15.1">16.15.1</a><br/>
6769
<a href="doc/changelogs/CHANGELOG_V16.md#16.15.0">16.15.0</a><br/>
6870
<a href="doc/changelogs/CHANGELOG_V16.md#16.14.2">16.14.2</a><br/>

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The externally maintained libraries used by Node.js are:
5555
"""
5656
MIT License
5757

58-
Copyright (C) 2012-2020 by various contributors (see AUTHORS)
58+
Copyright (C) 2012-2022 by various contributors (see AUTHORS)
5959

6060
Permission is hereby granted, free of charge, to any person obtaining a copy
6161
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ $(NODE_EXE) $(NODE_G_EXE): config.gypi out/Makefile
115115
ln -fs out/${build_type}/$(NODE_EXE) $@; fi
116116
else
117117
ifeq ($(BUILD_WITH), ninja)
118+
NINJA ?= ninja
118119
ifeq ($(V),1)
119120
NINJA_ARGS := $(NINJA_ARGS) -v
120121
endif
@@ -124,11 +125,11 @@ else
124125
NINJA_ARGS := $(NINJA_ARGS) $(filter -j%,$(MAKEFLAGS))
125126
endif
126127
$(NODE_EXE): config.gypi out/Release/build.ninja
127-
ninja -C out/Release $(NINJA_ARGS)
128+
$(NINJA) -C out/Release $(NINJA_ARGS)
128129
if [ ! -r $@ ] || [ ! -L $@ ]; then ln -fs out/Release/$(NODE_EXE) $@; fi
129130

130131
$(NODE_G_EXE): config.gypi out/Debug/build.ninja
131-
ninja -C out/Debug $(NINJA_ARGS)
132+
$(NINJA) -C out/Debug $(NINJA_ARGS)
132133
if [ ! -r $@ ] || [ ! -L $@ ]; then ln -fs out/Debug/$(NODE_EXE) $@; fi
133134
else
134135
$(NODE_EXE) $(NODE_G_EXE):

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ For information about the governance of the Node.js project, see
296296
**Colin Ihrig** <<[email protected]>> (he/him)
297297
* [codebytere](https://github.com/codebytere) -
298298
**Shelley Vohr** <<[email protected]>> (she/her)
299+
* [cola119](https://github.com/cola119) -
300+
**Kohei Ueno** <<[email protected]>> (he/him)
301+
* [daeyeon](https://github.com/daeyeon) -
302+
**Daeyeon Jeong** <<[email protected]>> (he/him)
299303
* [danbev](https://github.com/danbev) -
300304
**Daniel Bevenius** <<[email protected]>> (he/him)
301305
* [danielleadams](https://github.com/danielleadams) -
@@ -382,6 +386,8 @@ For information about the governance of the Node.js project, see
382386
**Milad Fa** <<[email protected]>> (he/him)
383387
* [mildsunrise](https://github.com/mildsunrise) -
384388
**Alba Mendez** <<[email protected]>> (she/her)
389+
* [MoLow](https://github.com/MoLow) -
390+
**Moshe Atlow** <<[email protected]>> (he/him)
385391
* [mscdex](https://github.com/mscdex) -
386392
**Brian White** <<[email protected]>>
387393
* [MylesBorins](https://github.com/MylesBorins) -

benchmark/fs/readfile-partitioned.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ const zlib = require('zlib');
1717
const assert = require('assert');
1818

1919
const bench = common.createBenchmark(main, {
20-
dur: [5],
20+
duration: [5],
21+
encoding: ['', 'utf-8'],
2122
len: [1024, 16 * 1024 * 1024],
2223
concurrent: [1, 10]
2324
});
2425

25-
function main({ len, dur, concurrent }) {
26+
function main({ len, duration, concurrent, encoding }) {
2627
try {
2728
fs.unlinkSync(filename);
2829
} catch {
@@ -47,10 +48,10 @@ function main({ len, dur, concurrent }) {
4748
} catch {
4849
// Continue regardless of error.
4950
}
50-
}, dur * 1000);
51+
}, duration * 1000);
5152

5253
function read() {
53-
fs.readFile(filename, afterRead);
54+
fs.readFile(filename, encoding, afterRead);
5455
}
5556

5657
function afterRead(er, data) {

benchmark/fs/readfile-promises.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ const filename = path.resolve(tmpdir.path,
1515

1616
const bench = common.createBenchmark(main, {
1717
duration: [5],
18+
encoding: ['', 'utf-8'],
1819
len: [1024, 16 * 1024 * 1024],
1920
concurrent: [1, 10]
2021
});
2122

22-
function main({ len, duration, concurrent }) {
23+
function main({ len, duration, concurrent, encoding }) {
2324
try {
2425
fs.unlinkSync(filename);
2526
} catch {
@@ -44,7 +45,7 @@ function main({ len, duration, concurrent }) {
4445
}, duration * 1000);
4546

4647
function read() {
47-
fs.promises.readFile(filename)
48+
fs.promises.readFile(filename, encoding)
4849
.then((res) => afterRead(undefined, res))
4950
.catch((err) => afterRead(err));
5051
}

benchmark/fs/readfile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ const filename = path.resolve(tmpdir.path,
1515

1616
const bench = common.createBenchmark(main, {
1717
duration: [5],
18+
encoding: ['', 'utf-8'],
1819
len: [1024, 16 * 1024 * 1024],
1920
concurrent: [1, 10]
2021
});
2122

22-
function main({ len, duration, concurrent }) {
23+
function main({ len, duration, concurrent, encoding }) {
2324
try {
2425
fs.unlinkSync(filename);
2526
} catch {
@@ -44,7 +45,7 @@ function main({ len, duration, concurrent }) {
4445
}, duration * 1000);
4546

4647
function read() {
47-
fs.readFile(filename, afterRead);
48+
fs.readFile(filename, encoding, afterRead);
4849
}
4950

5051
function afterRead(er, data) {

0 commit comments

Comments
 (0)