Skip to content

Commit e7626dc

Browse files
committed
2025-02-11, Version 22.14.0 'Jod' (LTS)
Notable changes: crypto: * update root certificates to NSS 3.107 (Node.js GitHub Bot) #56566 fs: * (SEMVER-MINOR) allow `exclude` option in globs to accept glob patterns (Daeyeon Jeong) #56489 lib: * (SEMVER-MINOR) add typescript support to STDIN eval (Marco Ippolito) #56359 module: * (SEMVER-MINOR) add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX (Marco Ippolito) #56610 * (SEMVER-MINOR) add `findPackageJSON` util (Jacob Smith) #55412 process: * (SEMVER-MINOR) add process.ref() and process.unref() methods (James M Snell) #56400 sqlite: * (SEMVER-MINOR) support TypedArray and DataView in `StatementSync` (Alex Yang) #56385 src: * (SEMVER-MINOR) add --disable-sigusr1 to prevent signal i/o thread (Rafael Gonzaga) #56441 src,worker: * (SEMVER-MINOR) add isInternalWorker (Carlos Espa) #56469 test_runner: * (SEMVER-MINOR) add TestContext.prototype.waitFor() (Colin Ihrig) #56595 * (SEMVER-MINOR) add t.assert.fileSnapshot() (Colin Ihrig) #56459 * (SEMVER-MINOR) add assert.register() API (Colin Ihrig) #56434 worker: * (SEMVER-MINOR) add eval ts input (Marco Ippolito) #56394 PR-URL: #56910
1 parent 3186468 commit e7626dc

11 files changed

+296
-23
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ release.
5050
<a href="doc/changelogs/CHANGELOG_V23.md#23.0.0">23.0.0</a><br/>
5151
</td>
5252
<td valign="top">
53-
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.13.1">22.13.1</a></b><br/>
53+
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.14.0">22.14.0</a></b><br/>
54+
<a href="doc/changelogs/CHANGELOG_V22.md#22.13.1">22.13.1</a><br/>
5455
<a href="doc/changelogs/CHANGELOG_V22.md#22.13.0">22.13.0</a><br/>
5556
<a href="doc/changelogs/CHANGELOG_V22.md#22.12.0">22.12.0</a><br/>
5657
<a href="doc/changelogs/CHANGELOG_V22.md#22.11.0">22.11.0</a><br/>

doc/api/cli.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,9 @@ property throw an exception with the code `ERR_PROTO_ACCESS`.
580580
### `--disable-sigusr1`
581581

582582
<!-- YAML
583-
added: v23.7.0
583+
added:
584+
- v23.7.0
585+
- v22.14.0
584586
-->
585587

586588
> Stability: 1.2 - Release candidate

doc/api/errors.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -2096,7 +2096,9 @@ added:
20962096
- v23.0.0
20972097
- v22.10.0
20982098
changes:
2099-
- version: v23.7.0
2099+
- version:
2100+
- v23.7.0
2101+
- v22.14.0
21002102
pr-url: https://github.com/nodejs/node/pull/56610
21012103
description: This error is no longer thrown on valid yet unsupported syntax.
21022104
-->
@@ -3130,7 +3132,9 @@ try {
31303132
### `ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX`
31313133

31323134
<!-- YAML
3133-
added: v23.7.0
3135+
added:
3136+
- v23.7.0
3137+
- v22.14.0
31343138
-->
31353139

31363140
The provided TypeScript syntax is unsupported.

doc/api/fs.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,9 @@ behavior is similar to `cp dir1/ dir2/`.
10741074
<!-- YAML
10751075
added: v22.0.0
10761076
changes:
1077-
- version: v23.7.0
1077+
- version:
1078+
- v23.7.0
1079+
- v22.14.0
10781080
pr-url: https://github.com/nodejs/node/pull/56489
10791081
description: Add support for `exclude` option to accept glob patterns.
10801082
- version: v22.2.0
@@ -3124,7 +3126,9 @@ descriptor. See [`fs.utimes()`][].
31243126
<!-- YAML
31253127
added: v22.0.0
31263128
changes:
3127-
- version: v23.7.0
3129+
- version:
3130+
- v23.7.0
3131+
- v22.14.0
31283132
pr-url: https://github.com/nodejs/node/pull/56489
31293133
description: Add support for `exclude` option to accept glob patterns.
31303134
- version: v22.2.0
@@ -5664,7 +5668,9 @@ Synchronous version of [`fs.futimes()`][]. Returns `undefined`.
56645668
<!-- YAML
56655669
added: v22.0.0
56665670
changes:
5667-
- version: v23.7.0
5671+
- version:
5672+
- v23.7.0
5673+
- v22.14.0
56685674
pr-url: https://github.com/nodejs/node/pull/56489
56695675
description: Add support for `exclude` option to accept glob patterns.
56705676
- version: v22.2.0

doc/api/module.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ const siblingModule = require('./sibling-module');
6969
### `module.findPackageJSON(specifier[, base])`
7070
7171
<!-- YAML
72-
added: v23.2.0
72+
added:
73+
- v23.2.0
74+
- v22.14.0
7375
-->
7476
7577
> Stability: 1.1 - Active Development
@@ -1599,7 +1601,9 @@ const { findSourceMap, SourceMap } = require('node:module');
15991601
### `module.getSourceMapsSupport()`
16001602
16011603
<!-- YAML
1602-
added: v23.7.0
1604+
added:
1605+
- v23.7.0
1606+
- v22.14.0
16031607
-->
16041608
16051609
* Returns: {Object}
@@ -1632,7 +1636,9 @@ should be fetched.
16321636
### `module.setSourceMapsSupport(enabled[, options])`
16331637
16341638
<!-- YAML
1635-
added: v23.7.0
1639+
added:
1640+
- v23.7.0
1641+
- v22.14.0
16361642
-->
16371643
16381644
* `enabled` {boolean} Enable the source map support.

doc/api/process.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -3251,7 +3251,9 @@ console.log(`The parent process is pid ${ppid}`);
32513251
## `process.ref(maybeRefable)`
32523252
32533253
<!-- YAML
3254-
added: v23.6.0
3254+
added:
3255+
- v23.6.0
3256+
- v22.14.0
32553257
-->
32563258
32573259
> Stability: 1 - Experimental
@@ -4315,7 +4317,9 @@ In [`Worker`][] threads, `process.umask(mask)` will throw an exception.
43154317
## `process.unref(maybeRefable)`
43164318
43174319
<!-- YAML
4318-
added: v23.6.0
4320+
added:
4321+
- v23.6.0
4322+
- v22.14.0
43194323
-->
43204324
43214325
> Stability: 1 - Experimental

doc/api/sqlite.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,9 @@ over hand-crafted SQL strings when handling user input.
349349
<!-- YAML
350350
added: v22.5.0
351351
changes:
352-
- version: v23.7.0
352+
- version:
353+
- v23.7.0
354+
- v22.14.0
353355
pr-url: https://github.com/nodejs/node/pull/56385
354356
description: Add support for `DataView` and typed array objects for `anonymousParameters`.
355357
-->
@@ -385,7 +387,9 @@ execution of this prepared statement. This property is a wrapper around
385387
<!-- YAML
386388
added: v22.5.0
387389
changes:
388-
- version: v23.7.0
390+
- version:
391+
- v23.7.0
392+
- v22.14.0
389393
pr-url: https://github.com/nodejs/node/pull/56385
390394
description: Add support for `DataView` and typed array objects for `anonymousParameters`.
391395
-->
@@ -411,7 +415,9 @@ added:
411415
- v23.4.0
412416
- v22.13.0
413417
changes:
414-
- version: v23.7.0
418+
- version:
419+
- v23.7.0
420+
- v22.14.0
415421
pr-url: https://github.com/nodejs/node/pull/56385
416422
description: Add support for `DataView` and typed array objects for `anonymousParameters`.
417423
-->
@@ -434,7 +440,9 @@ the values in `namedParameters` and `anonymousParameters`.
434440
<!-- YAML
435441
added: v22.5.0
436442
changes:
437-
- version: v23.7.0
443+
- version:
444+
- v23.7.0
445+
- v22.14.0
438446
pr-url: https://github.com/nodejs/node/pull/56385
439447
description: Add support for `DataView` and typed array objects for `anonymousParameters`.
440448
-->

doc/api/test.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,9 @@ describe('tests', async () => {
17341734
## `assert`
17351735

17361736
<!-- YAML
1737-
added: v23.7.0
1737+
added:
1738+
- v23.7.0
1739+
- v22.14.0
17381740
-->
17391741

17401742
An object whose methods are used to configure available assertions on the
@@ -1748,7 +1750,9 @@ preloaded with `--require` or `--import`.
17481750
### `assert.register(name, fn)`
17491751

17501752
<!-- YAML
1751-
added: v23.7.0
1753+
added:
1754+
- v23.7.0
1755+
- v22.14.0
17521756
-->
17531757

17541758
Defines a new assertion function with the provided name and function. If an
@@ -3258,7 +3262,9 @@ test('test', (t) => {
32583262
#### `context.assert.fileSnapshot(value, path[, options])`
32593263

32603264
<!-- YAML
3261-
added: v23.7.0
3265+
added:
3266+
- v23.7.0
3267+
- v22.14.0
32623268
-->
32633269

32643270
* `value` {any} A value to serialize to a string. If Node.js was started with
@@ -3587,7 +3593,9 @@ test('top level test', async (t) => {
35873593
### `context.waitFor(condition[, options])`
35883594

35893595
<!-- YAML
3590-
added: v23.7.0
3596+
added:
3597+
- v23.7.0
3598+
- v22.14.0
35913599
-->
35923600

35933601
* `condition` {Function|AsyncFunction} An assertion function that is invoked

doc/api/util.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,14 @@ util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 });
371371
<!-- YAML
372372
added: v22.9.0
373373
changes:
374-
- version: v23.7.0
374+
- version:
375+
- v23.7.0
376+
- v22.14.0
375377
pr-url: https://github.com/nodejs/node/pull/56584
376378
description: Property `column` is deprecated in favor of `columnNumber`.
377-
- version: v23.7.0
379+
- version:
380+
- v23.7.0
381+
- v22.14.0
378382
pr-url: https://github.com/nodejs/node/pull/56551
379383
description: Property `CallSite.scriptId` is exposed.
380384
- version:

doc/api/worker_threads.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ if (isMainThread) {
103103
## `worker.isInternalThread`
104104

105105
<!-- YAML
106-
added: v23.7.0
106+
added:
107+
- v23.7.0
108+
- v22.14.0
107109
-->
108110

109111
* {boolean}

0 commit comments

Comments
 (0)