Skip to content

Commit

Permalink
2022-11-14, Version 19.1.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* deps:
  * update ICU to 72.1 (Michaël Zasso) [#45068](#45068)
* doc:
  * add lukekarrys to collaborators (Luke Karrys) [#45180](#45180)
  * add anonrig to collaborators (Yagiz Nizipli) [#45002](#45002)
* fs:
  * (SEMVER-MINOR) fs: add recursive watch to linux (Yagiz Nizipli) [#45098](#45098)
* lib:
  * drop fetch experimental warning (Matteo Collina) [#45287](#45287)
* util
  * (SEMVER-MINOR) add MIME utilities (Bradley Farias) [#21128](#21128)
  * improve textdecoder decode performance (Yagiz Nizipli) [#45294](#45294)

PR-URL: #45269
  • Loading branch information
RafaelGSS committed Nov 11, 2022
1 parent e2181e0 commit facfd90
Show file tree
Hide file tree
Showing 10 changed files with 258 additions and 24 deletions.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4320,7 +4320,7 @@ The `atime` and `mtime` arguments follow these rules:
<!-- YAML
added: v0.5.10
changes:
- version: REPLACEME
- version: v19.1.0
pr-url: https://github.com/nodejs/node/pull/45098
description: Added recursive support for Linux, AIX and IBMi.
- version:
Expand Down
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ has less then 64 KiB of data because no `highWaterMark` option is provided to
##### `readable.compose(stream[, options])`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

> Stability: 1 - Experimental
Expand Down
22 changes: 11 additions & 11 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ describe('tests', async () => {
## Class: `MockFunctionContext`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

The `MockFunctionContext` class is used to inspect or manipulate the behavior of
Expand All @@ -739,7 +739,7 @@ mocks created via the [`MockTracker`][] APIs.
### `ctx.calls`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

* {Array}
Expand All @@ -761,7 +761,7 @@ mock. Each entry in the array is an object with the following properties.
### `ctx.callCount()`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

* Returns: {integer} The number of times that this mock has been invoked.
Expand All @@ -773,7 +773,7 @@ is a getter that creates a copy of the internal call tracking array.
### `ctx.mockImplementation(implementation)`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

* `implementation` {Function|AsyncFunction} The function to be used as the
Expand Down Expand Up @@ -810,7 +810,7 @@ test('changes a mock behavior', (t) => {
### `ctx.mockImplementationOnce(implementation[, onCall])`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

* `implementation` {Function|AsyncFunction} The function to be used as the
Expand Down Expand Up @@ -854,7 +854,7 @@ test('changes a mock behavior once', (t) => {
### `ctx.restore()`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

Resets the implementation of the mock function to its original behavior. The
Expand All @@ -863,7 +863,7 @@ mock can still be used after calling this function.
## Class: `MockTracker`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

The `MockTracker` class is used to manage mocking functionality. The test runner
Expand All @@ -874,7 +874,7 @@ Each test also provides its own `MockTracker` instance via the test context's
### `mock.fn([original[, implementation]][, options])`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

* `original` {Function|AsyncFunction} An optional function to create a mock on.
Expand Down Expand Up @@ -925,7 +925,7 @@ test('mocks a counting function', (t) => {
### `mock.method(object, methodName[, implementation][, options])`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

* `object` {Object} The object whose method is being mocked.
Expand Down Expand Up @@ -979,7 +979,7 @@ test('spies on an object method', (t) => {
### `mock.reset()`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

This function restores the default behavior of all mocks that were previously
Expand All @@ -995,7 +995,7 @@ function manually is recommended.
### `mock.restoreAll()`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

This function restores the default behavior of all mocks that were previously
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ certificate.

<!-- YAML
changes:
- version: REPLACEME
- version: v19.1.0
pr-url: https://github.com/nodejs/node/pull/44935
description: Add "ca" property.
- version:
Expand Down
4 changes: 2 additions & 2 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ equality.
## Class: `util.MIMEType`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -1226,7 +1226,7 @@ console.log(JSON.stringify(myMIMES));
### Class: `util.MIMEParams`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

The `MIMEParams` API provides read and write access to the parameters of a
Expand Down
4 changes: 2 additions & 2 deletions doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ following properties:
<!-- YAML
added: v11.13.0
changes:
- version: REPLACEME
- version: v19.1.0
pr-url: https://github.com/nodejs/node/pull/44989
description: Support options to configure the heap snapshot.
-->
Expand Down Expand Up @@ -304,7 +304,7 @@ disk unless [`v8.stopCoverage()`][] is invoked before the process exits.
<!-- YAML
added: v11.13.0
changes:
- version: REPLACEME
- version: v19.1.0
pr-url: https://github.com/nodejs/node/pull/44989
description: Support options to configure the heap snapshot.
- version: v18.0.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ console.log(globalVar);
### `script.sourceMapURL`

<!-- YAML
added: REPLACEME
added: v19.1.0
-->

* {string|undefined}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ added:
- v13.9.0
- v12.17.0
changes:
- version: REPLACEME
- version: v19.1.0
pr-url: https://github.com/nodejs/node/pull/44989
description: Support options to configure the heap snapshot.
-->
Expand Down
Loading

0 comments on commit facfd90

Please sign in to comment.