GeezerVison is showing github.com — 2022-11-14, Version 19.1.0 (Current) · panva/node@0237cff
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/fs.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4320,7 +4320,7 @@ The `atime` and `mtime` arguments follow these rules: | 4320 | 4320 | <!-- YAML | 4321 | 4321 | added: v0.5.10 | 4322 | 4322 | changes: | 4323 | | - - version: REPLACEME | | 4323 | + - version: v19.1.0 | 4324 | 4324 | pr-url: https://github.com/nodejs/node/pull/45098 | 4325 | 4325 | description: Added recursive support for Linux, AIX and IBMi. | 4326 | 4326 | - version: | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/stream.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1684,7 +1684,7 @@ has less then 64 KiB of data because no `highWaterMark` option is provided to | 1684 | 1684 | ##### `readable.compose(stream[, options])` | 1685 | 1685 |
| 1686 | 1686 | <!-- YAML | 1687 | | -added: REPLACEME | | 1687 | +added: v19.1.0 | 1688 | 1688 | --> | 1689 | 1689 |
| 1690 | 1690 | > Stability: 1 - Experimental | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/test.md +11-11Lines changed: 11 additions & 11 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -730,7 +730,7 @@ describe('tests', async () => { | 730 | 730 | ## Class: `MockFunctionContext` | 731 | 731 |
| 732 | 732 | <!-- YAML | 733 | | -added: REPLACEME | | 733 | +added: v19.1.0 | 734 | 734 | --> | 735 | 735 |
| 736 | 736 | The `MockFunctionContext` class is used to inspect or manipulate the behavior of | @@ -739,7 +739,7 @@ mocks created via the [`MockTracker`][] APIs. | 739 | 739 | ### `ctx.calls` | 740 | 740 |
| 741 | 741 | <!-- YAML | 742 | | -added: REPLACEME | | 742 | +added: v19.1.0 | 743 | 743 | --> | 744 | 744 |
| 745 | 745 | * {Array} | @@ -761,7 +761,7 @@ mock. Each entry in the array is an object with the following properties. | 761 | 761 | ### `ctx.callCount()` | 762 | 762 |
| 763 | 763 | <!-- YAML | 764 | | -added: REPLACEME | | 764 | +added: v19.1.0 | 765 | 765 | --> | 766 | 766 |
| 767 | 767 | * Returns: {integer} The number of times that this mock has been invoked. | @@ -773,7 +773,7 @@ is a getter that creates a copy of the internal call tracking array. | 773 | 773 | ### `ctx.mockImplementation(implementation)` | 774 | 774 |
| 775 | 775 | <!-- YAML | 776 | | -added: REPLACEME | | 776 | +added: v19.1.0 | 777 | 777 | --> | 778 | 778 |
| 779 | 779 | * `implementation` {Function|AsyncFunction} The function to be used as the | @@ -810,7 +810,7 @@ test('changes a mock behavior', (t) => { | 810 | 810 | ### `ctx.mockImplementationOnce(implementation[, onCall])` | 811 | 811 |
| 812 | 812 | <!-- YAML | 813 | | -added: REPLACEME | | 813 | +added: v19.1.0 | 814 | 814 | --> | 815 | 815 |
| 816 | 816 | * `implementation` {Function|AsyncFunction} The function to be used as the | @@ -854,7 +854,7 @@ test('changes a mock behavior once', (t) => { | 854 | 854 | ### `ctx.restore()` | 855 | 855 |
| 856 | 856 | <!-- YAML | 857 | | -added: REPLACEME | | 857 | +added: v19.1.0 | 858 | 858 | --> | 859 | 859 |
| 860 | 860 | Resets the implementation of the mock function to its original behavior. The | @@ -863,7 +863,7 @@ mock can still be used after calling this function. | 863 | 863 | ## Class: `MockTracker` | 864 | 864 |
| 865 | 865 | <!-- YAML | 866 | | -added: REPLACEME | | 866 | +added: v19.1.0 | 867 | 867 | --> | 868 | 868 |
| 869 | 869 | The `MockTracker` class is used to manage mocking functionality. The test runner | @@ -874,7 +874,7 @@ Each test also provides its own `MockTracker` instance via the test context's | 874 | 874 | ### `mock.fn([original[, implementation]][, options])` | 875 | 875 |
| 876 | 876 | <!-- YAML | 877 | | -added: REPLACEME | | 877 | +added: v19.1.0 | 878 | 878 | --> | 879 | 879 |
| 880 | 880 | * `original` {Function|AsyncFunction} An optional function to create a mock on. | @@ -925,7 +925,7 @@ test('mocks a counting function', (t) => { | 925 | 925 | ### `mock.method(object, methodName[, implementation][, options])` | 926 | 926 |
| 927 | 927 | <!-- YAML | 928 | | -added: REPLACEME | | 928 | +added: v19.1.0 | 929 | 929 | --> | 930 | 930 |
| 931 | 931 | * `object` {Object} The object whose method is being mocked. | @@ -979,7 +979,7 @@ test('spies on an object method', (t) => { | 979 | 979 | ### `mock.reset()` | 980 | 980 |
| 981 | 981 | <!-- YAML | 982 | | -added: REPLACEME | | 982 | +added: v19.1.0 | 983 | 983 | --> | 984 | 984 |
| 985 | 985 | This function restores the default behavior of all mocks that were previously | @@ -995,7 +995,7 @@ function manually is recommended. | 995 | 995 | ### `mock.restoreAll()` | 996 | 996 |
| 997 | 997 | <!-- YAML | 998 | | -added: REPLACEME | | 998 | +added: v19.1.0 | 999 | 999 | --> | 1000 | 1000 |
| 1001 | 1001 | This function restores the default behavior of all mocks that were previously | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/tls.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1173,7 +1173,7 @@ certificate. | 1173 | 1173 |
| 1174 | 1174 | <!-- YAML | 1175 | 1175 | changes: | 1176 | | - - version: REPLACEME | | 1176 | + - version: v19.1.0 | 1177 | 1177 | pr-url: https://github.com/nodejs/node/pull/44935 | 1178 | 1178 | description: Add "ca" property. | 1179 | 1179 | - version: | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/util.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1027,7 +1027,7 @@ equality. | 1027 | 1027 | ## Class: `util.MIMEType` | 1028 | 1028 |
| 1029 | 1029 | <!-- YAML | 1030 | | -added: REPLACEME | | 1030 | +added: v19.1.0 | 1031 | 1031 | --> | 1032 | 1032 |
| 1033 | 1033 | > Stability: 1 - Experimental | @@ -1226,7 +1226,7 @@ console.log(JSON.stringify(myMIMES)); | 1226 | 1226 | ### Class: `util.MIMEParams` | 1227 | 1227 |
| 1228 | 1228 | <!-- YAML | 1229 | | -added: REPLACEME | | 1229 | +added: v19.1.0 | 1230 | 1230 | --> | 1231 | 1231 |
| 1232 | 1232 | The `MIMEParams` API provides read and write access to the parameters of a | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/v8.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -66,7 +66,7 @@ following properties: | 66 | 66 | <!-- YAML | 67 | 67 | added: v11.13.0 | 68 | 68 | changes: | 69 | | - - version: REPLACEME | | 69 | + - version: v19.1.0 | 70 | 70 | pr-url: https://github.com/nodejs/node/pull/44989 | 71 | 71 | description: Support options to configure the heap snapshot. | 72 | 72 | --> | @@ -304,7 +304,7 @@ disk unless [`v8.stopCoverage()`][] is invoked before the process exits. | 304 | 304 | <!-- YAML | 305 | 305 | added: v11.13.0 | 306 | 306 | changes: | 307 | | - - version: REPLACEME | | 307 | + - version: v19.1.0 | 308 | 308 | pr-url: https://github.com/nodejs/node/pull/44989 | 309 | 309 | description: Support options to configure the heap snapshot. | 310 | 310 | - version: v18.0.0 | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/vm.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -347,7 +347,7 @@ console.log(globalVar); | 347 | 347 | ### `script.sourceMapURL` | 348 | 348 |
| 349 | 349 | <!-- YAML | 350 | | -added: REPLACEME | | 350 | +added: v19.1.0 | 351 | 351 | --> | 352 | 352 |
| 353 | 353 | * {string|undefined} | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/worker_threads.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1074,7 +1074,7 @@ added: | 1074 | 1074 | - v13.9.0 | 1075 | 1075 | - v12.17.0 | 1076 | 1076 | changes: | 1077 | | - - version: REPLACEME | | 1077 | + - version: v19.1.0 | 1078 | 1078 | pr-url: https://github.com/nodejs/node/pull/44989 | 1079 | 1079 | description: Support options to configure the heap snapshot. | 1080 | 1080 | --> | |
|