Skip to content

Commit 8dd578b

Browse files
Merge pull request #1040 from nodejs/main
Create a new pull request by comparing changes across two branches
2 parents 9c9b668 + 799d920 commit 8dd578b

31 files changed

+696
-133
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@ release.
3939
</tr>
4040
<tr>
4141
<td valign="top">
42-
<b><a href="doc/changelogs/CHANGELOG_V23.md#23.5.0">23.5.0</a></b><br/>
42+
<b><a href="doc/changelogs/CHANGELOG_V23.md#23.6.0">23.6.0</a></b><br/>
43+
<a href="doc/changelogs/CHANGELOG_V23.md#23.5.0">23.5.0</a><br/>
4344
<a href="doc/changelogs/CHANGELOG_V23.md#23.4.0">23.4.0</a><br/>
4445
<a href="doc/changelogs/CHANGELOG_V23.md#23.3.0">23.3.0</a><br/>
4546
<a href="doc/changelogs/CHANGELOG_V23.md#23.2.0">23.2.0</a><br/>
4647
<a href="doc/changelogs/CHANGELOG_V23.md#23.1.0">23.1.0</a><br/>
4748
<a href="doc/changelogs/CHANGELOG_V23.md#23.0.0">23.0.0</a><br/>
4849
</td>
4950
<td valign="top">
50-
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.12.0">22.12.0</a></b><br/>
51+
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.13.0">22.13.0</a></b><br/>
52+
<a href="doc/changelogs/CHANGELOG_V22.md#22.12.0">22.12.0</a><br/>
5153
<a href="doc/changelogs/CHANGELOG_V22.md#22.11.0">22.11.0</a><br/>
5254
<a href="doc/changelogs/CHANGELOG_V22.md#22.10.0">22.10.0</a><br/>
5355
<a href="doc/changelogs/CHANGELOG_V22.md#22.9.0">22.9.0</a><br/>

doc/api/assert.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2551,7 +2551,9 @@ argument.
25512551
## `assert.partialDeepStrictEqual(actual, expected[, message])`
25522552

25532553
<!-- YAML
2554-
added: v23.4.0
2554+
added:
2555+
- v23.4.0
2556+
- v22.13.0
25552557
-->
25562558

25572559
> Stability: 1.0 - Early development

doc/api/cli.md

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ Error: Access to this API has been restricted
192192
<!-- YAML
193193
added: v20.0.0
194194
changes:
195-
- version: v23.5.0
195+
- version:
196+
- v23.5.0
197+
- v22.13.0
196198
pr-url: https://github.com/nodejs/node/pull/56201
197199
description: Permission Model and --allow-fs flags are stable.
198200
- version: v20.7.0
@@ -237,7 +239,9 @@ node --permission --allow-fs-read=/path/to/index.js index.js
237239
<!-- YAML
238240
added: v20.0.0
239241
changes:
240-
- version: v23.5.0
242+
- version:
243+
- v23.5.0
244+
- v22.13.0
241245
pr-url: https://github.com/nodejs/node/pull/56201
242246
description: Permission Model and --allow-fs flags are stable.
243247
- version: v20.7.0
@@ -886,7 +890,7 @@ It is possible to run code containing inline types unless the
886890
### `--experimental-addon-modules`
887891

888892
<!-- YAML
889-
added: REPLACEME
893+
added: v23.6.0
890894
-->
891895

892896
> Stability: 1.0 - Early development
@@ -1653,7 +1657,9 @@ See [Loading ECMAScript modules using `require()`][].
16531657
<!-- YAML
16541658
added: v22.5.0
16551659
changes:
1656-
- version: v23.4.0
1660+
- version:
1661+
- v23.4.0
1662+
- v22.13.0
16571663
pr-url: https://github.com/nodejs/node/pull/55890
16581664
description: SQLite is unflagged but still experimental.
16591665
-->
@@ -1665,7 +1671,7 @@ Disable the experimental [`node:sqlite`][] module.
16651671
<!-- YAML
16661672
added: v22.6.0
16671673
changes:
1668-
- version: REPLACEME
1674+
- version: v23.6.0
16691675
pr-url: https://github.com/nodejs/node/pull/56350
16701676
description: Type stripping is enabled by default.
16711677
-->
@@ -1802,7 +1808,9 @@ developers may leverage to detect deprecated API usage.
18021808
<!-- YAML
18031809
added: v20.0.0
18041810
changes:
1805-
- version: v23.5.0
1811+
- version:
1812+
- v23.5.0
1813+
- v22.13.0
18061814
pr-url: https://github.com/nodejs/node/pull/56201
18071815
description: Permission Model is now stable.
18081816
-->
@@ -1960,7 +1968,9 @@ Location at which the report will be generated.
19601968
### `--report-exclude-env`
19611969

19621970
<!-- YAML
1963-
added: v23.3.0
1971+
added:
1972+
- v23.3.0
1973+
- v22.13.0
19641974
-->
19651975

19661976
When `--report-exclude-env` is passed the diagnostic report generated will not
@@ -2354,7 +2364,7 @@ finished executing even if the event loop would otherwise remain active.
23542364
<!-- YAML
23552365
added: v22.8.0
23562366
changes:
2357-
- version: REPLACEME
2367+
- version: v23.6.0
23582368
pr-url: https://github.com/nodejs/node/pull/56298
23592369
description: This flag was renamed from `--experimental-test-isolation` to
23602370
`--test-isolation`.
@@ -2481,7 +2491,9 @@ subtests inherit this value from their parent. The default value is `Infinity`.
24812491
<!-- YAML
24822492
added: v22.3.0
24832493
changes:
2484-
- version: v23.4.0
2494+
- version:
2495+
- v23.4.0
2496+
- v22.13.0
24852497
pr-url: https://github.com/nodejs/node/pull/55897
24862498
description: Snapsnot testing is no longer experimental.
24872499
-->
@@ -2599,7 +2611,9 @@ Print stack traces for deprecations.
25992611
### `--trace-env`
26002612

26012613
<!-- YAML
2602-
added: v23.4.0
2614+
added:
2615+
- v23.4.0
2616+
- v22.13.0
26032617
-->
26042618

26052619
Print information about any access to environment variables done in the current Node.js
@@ -2622,15 +2636,19 @@ To print the stack trace of the access, use `--trace-env-js-stack` and/or
26222636
### `--trace-env-js-stack`
26232637

26242638
<!-- YAML
2625-
added: v23.4.0
2639+
added:
2640+
- v23.4.0
2641+
- v22.13.0
26262642
-->
26272643

26282644
In addition to what `--trace-env` does, this prints the JavaScript stack trace of the access.
26292645

26302646
### `--trace-env-native-stack`
26312647

26322648
<!-- YAML
2633-
added: v23.4.0
2649+
added:
2650+
- v23.4.0
2651+
- v22.13.0
26342652
-->
26352653

26362654
In addition to what `--trace-env` does, this prints the native stack trace of the access.
@@ -2677,6 +2695,7 @@ i.e. invoking `process.exit()`.
26772695
<!-- YAML
26782696
added:
26792697
- v23.5.0
2698+
- v22.13.0
26802699
-->
26812700

26822701
Prints information about usage of [Loading ECMAScript modules using `require()`][].

doc/api/crypto.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3940,6 +3940,13 @@ By default, the prime is encoded as a big-endian sequence of octets
39403940
in an {ArrayBuffer}. If the `bigint` option is `true`, then a {bigint}
39413941
is provided.
39423942

3943+
The `size` of the prime will have a direct impact on how long it takes to
3944+
generate the prime. The larger the size, the longer it will take. Because
3945+
we use OpenSSL's `BN_generate_prime_ex` function, which provides only
3946+
minimal control over our ability to interrupt the generation process,
3947+
it is not recommended to generate overly large primes, as doing so may make
3948+
the process unresponsive.
3949+
39433950
### `crypto.generatePrimeSync(size[, options])`
39443951

39453952
<!-- YAML
@@ -3981,6 +3988,13 @@ By default, the prime is encoded as a big-endian sequence of octets
39813988
in an {ArrayBuffer}. If the `bigint` option is `true`, then a {bigint}
39823989
is provided.
39833990

3991+
The `size` of the prime will have a direct impact on how long it takes to
3992+
generate the prime. The larger the size, the longer it will take. Because
3993+
we use OpenSSL's `BN_generate_prime_ex` function, which provides only
3994+
minimal control over our ability to interrupt the generation process,
3995+
it is not recommended to generate overly large primes, as doing so may make
3996+
the process unresponsive.
3997+
39843998
### `crypto.getCipherInfo(nameOrNid[, options])`
39853999

39864000
<!-- YAML

doc/api/deprecations.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3779,7 +3779,9 @@ It is recommended to use the `new` qualifier instead. This applies to all REPL c
37793779

37803780
<!-- YAML
37813781
changes:
3782-
- version: v23.4.0
3782+
- version:
3783+
- v23.4.0
3784+
- v22.13.0
37833785
pr-url: https://github.com/nodejs/node/pull/55892
37843786
description: Documentation-only.
37853787
-->
@@ -3793,7 +3795,9 @@ will throw an error in a future version.
37933795

37943796
<!-- YAML
37953797
changes:
3796-
- version: v23.4.0
3798+
- version:
3799+
- v23.4.0
3800+
- v22.13.0
37973801
pr-url: https://github.com/nodejs/node/pull/55545
37983802
description: Documentation-only deprecation.
37993803
-->
@@ -3806,7 +3810,9 @@ These properties are unconditionally `true`. Any checks based on these propertie
38063810

38073811
<!-- YAML
38083812
changes:
3809-
- version: v23.4.0
3813+
- version:
3814+
- v23.4.0
3815+
- v22.13.0
38103816
pr-url: https://github.com/nodejs/node/pull/55545
38113817
description: Documentation-only deprecation.
38123818
-->

doc/api/errors.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,9 @@ signaling a short circuit.
21792179
### `ERR_LOAD_SQLITE_EXTENSION`
21802180

21812181
<!-- YAML
2182-
added: v23.5.0
2182+
added:
2183+
- v23.5.0
2184+
- v22.13.0
21832185
-->
21842186

21852187
An error occurred while loading a SQLite extension.
@@ -2459,7 +2461,9 @@ object.
24592461
### `ERR_QUIC_APPLICATION_ERROR`
24602462

24612463
<!-- YAML
2462-
added: v23.4.0
2464+
added:
2465+
- v23.4.0
2466+
- v22.13.0
24632467
-->
24642468

24652469
> Stability: 1 - Experimental
@@ -2513,7 +2517,9 @@ Opening a QUIC stream failed.
25132517
### `ERR_QUIC_TRANSPORT_ERROR`
25142518

25152519
<!-- YAML
2516-
added: v23.4.0
2520+
added:
2521+
- v23.4.0
2522+
- v22.13.0
25172523
-->
25182524

25192525
> Stability: 1 - Experimental
@@ -2525,7 +2531,9 @@ A QUIC transport error occurred.
25252531
### `ERR_QUIC_VERSION_NEGOTIATION_ERROR`
25262532

25272533
<!-- YAML
2528-
added: v23.4.0
2534+
added:
2535+
- v23.4.0
2536+
- v22.13.0
25292537
-->
25302538

25312539
> Stability: 1 - Experimental

doc/api/module.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ See [Customization hooks][].
223223
### `module.stripTypeScriptTypes(code[, options])`
224224
225225
<!-- YAML
226-
added: v23.2.0
226+
added:
227+
- v23.2.0
228+
- v22.13.0
227229
-->
228230
229231
> Stability: 1.1 - Active development

doc/api/modules.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ added:
177177
changes:
178178
- version:
179179
- v23.5.0
180+
- v22.13.0
180181
pr-url: https://github.com/nodejs/node/pull/56194
181182
description: This feature no longer emits an experimental warning by default,
182183
though the warning can still be emitted by --trace-require-module.

doc/api/net.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ The list of rules added to the blocklist.
173173
### `BlockList.isBlockList(value)`
174174

175175
<!-- YAML
176-
added: v23.4.0
176+
added:
177+
- v23.4.0
178+
- v22.13.0
177179
-->
178180

179181
* `value` {any} Any JS value
@@ -247,7 +249,9 @@ added:
247249
### `SocketAddress.parse(input)`
248250

249251
<!-- YAML
250-
added: v23.4.0
252+
added:
253+
- v23.4.0
254+
- v22.13.0
251255
-->
252256

253257
* `input` {string} An input string containing an IP address and optional port,

doc/api/process.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,9 @@ A boolean value that is `true` if the current Node.js build includes the inspect
19301930
19311931
<!-- YAML
19321932
added: v0.5.3
1933-
deprecated: v23.4.0
1933+
deprecated:
1934+
- v23.4.0
1935+
- v22.13.0
19341936
-->
19351937
19361938
> Stability: 0 - Deprecated. This property is always true, and any checks based on it are
@@ -1969,7 +1971,9 @@ A boolean value that is `true` if the current Node.js build includes support for
19691971
19701972
<!-- YAML
19711973
added: v4.8.0
1972-
deprecated: v23.4.0
1974+
deprecated:
1975+
- v23.4.0
1976+
- v22.13.0
19731977
-->
19741978
19751979
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
@@ -1985,7 +1989,9 @@ This value is therefore identical to that of `process.features.tls`.
19851989
19861990
<!-- YAML
19871991
added: v0.11.13
1988-
deprecated: v23.4.0
1992+
deprecated:
1993+
- v23.4.0
1994+
- v22.13.0
19891995
-->
19901996
19911997
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
@@ -2001,7 +2007,9 @@ This value is therefore identical to that of `process.features.tls`.
20012007
20022008
<!-- YAML
20032009
added: v0.5.3
2004-
deprecated: v23.4.0
2010+
deprecated:
2011+
- v23.4.0
2012+
- v22.13.0
20052013
-->
20062014
20072015
> Stability: 0 - Deprecated. Use `process.features.tls` instead.
@@ -2033,7 +2041,9 @@ Node.js is run with `--no-experimental-strip-types`.
20332041
20342042
<!-- YAML
20352043
added: v0.5.3
2036-
deprecated: v23.4.0
2044+
deprecated:
2045+
- v23.4.0
2046+
- v22.13.0
20372047
-->
20382048
20392049
> Stability: 0 - Deprecated. This property is always true, and any checks based on it are
@@ -3235,7 +3245,7 @@ console.log(`The parent process is pid ${ppid}`);
32353245
## `process.ref(maybeRefable)`
32363246
32373247
<!-- YAML
3238-
added: REPLACEME
3248+
added: v23.6.0
32393249
-->
32403250
32413251
* `maybeRefable` {any} An object that may be "refable".
@@ -3544,7 +3554,9 @@ console.log(`Report on exception: ${report.reportOnUncaughtException}`);
35443554
### `process.report.excludeEnv`
35453555
35463556
<!-- YAML
3547-
added: v23.3.0
3557+
added:
3558+
- v23.3.0
3559+
- v22.13.0
35483560
-->
35493561
35503562
* {boolean}
@@ -4292,7 +4304,7 @@ In [`Worker`][] threads, `process.umask(mask)` will throw an exception.
42924304
## `process.unref(maybeRefable)`
42934305
42944306
<!-- YAML
4295-
added: REPLACEME
4307+
added: v23.6.0
42964308
-->
42974309
42984310
* `maybeUnfefable` {any} An object that may be "unref'd".

0 commit comments

Comments
 (0)