| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -296,7 +296,7 @@ added: | |||
| 296 | 296 | ||
| 297 | 297 | * `fn` {Function} **Default:** A no-op function. | |
| 298 | 298 | * `exact` {number} **Default:** `1`. | |
| 299 | - * Returns: {Function} that wraps `fn`. | ||
| 299 | + * Returns: {Function} A function that wraps `fn`. | ||
| 300 | 300 | ||
| 301 | 301 | The wrapper function is expected to be called exactly `exact` times. If the | |
| 302 | 302 | function has not been called exactly `exact` times when | |
@@ -337,9 +337,9 @@ added: | |||
| 337 | 337 | - v16.18.0 | |
| 338 | 338 | --> | |
| 339 | 339 | ||
| 340 | - * `fn` {Function}. | ||
| 340 | + * `fn` {Function} | ||
| 341 | 341 | ||
| 342 | - * Returns: {Array} with all the calls to a tracked function. | ||
| 342 | + * Returns: {Array} An array with all the calls to a tracked function. | ||
| 343 | 343 | ||
| 344 | 344 | * Object {Object} | |
| 345 | 345 | * `thisArg` {Object} | |
@@ -380,8 +380,8 @@ added: | |||
| 380 | 380 | - v12.19.0 | |
| 381 | 381 | --> | |
| 382 | 382 | ||
| 383 | - * Returns: {Array} of objects containing information about the wrapper functions | ||
| 384 | - returned by [`tracker.calls()`][]. | ||
| 383 | + * Returns: {Array} An array of objects containing information about the wrapper | ||
| 384 | + functions returned by [`tracker.calls()`][]. | ||
| 385 | 385 | * Object {Object} | |
| 386 | 386 | * `message` {string} | |
| 387 | 387 | * `actual` {number} The actual number of times the function was called. | |
@@ -457,7 +457,7 @@ added: | |||
| 457 | 457 | ||
| 458 | 458 | Reset calls of the call tracker. | |
| 459 | 459 | If a tracked function is passed as an argument, the calls will be reset for it. | |
| 460 | - If no arguments are passed, all tracked functions will be reset | ||
| 460 | + If no arguments are passed, all tracked functions will be reset. | ||
| 461 | 461 | ||
| 462 | 462 | ```mjs | |
| 463 | 463 | import assert from 'node:assert'; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -570,7 +570,7 @@ added: v1.0.0 | |||
| 570 | 570 | * `options` {Object} [`stream.transform` options][] | |
| 571 | 571 | * `plaintextLength` {number} | |
| 572 | 572 | * `encoding` {string} The string encoding to use when `buffer` is a string. | |
| 573 | - * Returns: {Cipher} for method chaining. | ||
| 573 | + * Returns: {Cipher} The same `Cipher` instance for method chaining. | ||
| 574 | 574 | ||
| 575 | 575 | When using an authenticated encryption mode (`GCM`, `CCM`, `OCB`, and | |
| 576 | 576 | `chacha20-poly1305` are | |
@@ -590,7 +590,7 @@ added: v0.7.1 | |||
| 590 | 590 | --> | |
| 591 | 591 | ||
| 592 | 592 | * `autoPadding` {boolean} **Default:** `true` | |
| 593 | - * Returns: {Cipher} for method chaining. | ||
| 593 | + * Returns: {Cipher} The same `Cipher` instance for method chaining. | ||
| 594 | 594 | ||
| 595 | 595 | When using block encryption algorithms, the `Cipher` class will automatically | |
| 596 | 596 | add padding to the input data to the appropriate block size. To disable the | |
@@ -870,7 +870,7 @@ changes: | |||
| 870 | 870 | * `options` {Object} [`stream.transform` options][] | |
| 871 | 871 | * `plaintextLength` {number} | |
| 872 | 872 | * `encoding` {string} String encoding to use when `buffer` is a string. | |
| 873 | - * Returns: {Decipher} for method chaining. | ||
| 873 | + * Returns: {Decipher} The same Decipher for method chaining. | ||
| 874 | 874 | ||
| 875 | 875 | When using an authenticated encryption mode (`GCM`, `CCM`, `OCB`, and | |
| 876 | 876 | `chacha20-poly1305` are | |
@@ -905,7 +905,7 @@ changes: | |||
| 905 | 905 | ||
| 906 | 906 | * `buffer` {string|Buffer|ArrayBuffer|TypedArray|DataView} | |
| 907 | 907 | * `encoding` {string} String encoding to use when `buffer` is a string. | |
| 908 | - * Returns: {Decipher} for method chaining. | ||
| 908 | + * Returns: {Decipher} The same Decipher for method chaining. | ||
| 909 | 909 | ||
| 910 | 910 | When using an authenticated encryption mode (`GCM`, `CCM`, `OCB`, and | |
| 911 | 911 | `chacha20-poly1305` are | |
@@ -931,7 +931,7 @@ added: v0.7.1 | |||
| 931 | 931 | --> | |
| 932 | 932 | ||
| 933 | 933 | * `autoPadding` {boolean} **Default:** `true` | |
| 934 | - * Returns: {Decipher} for method chaining. | ||
| 934 | + * Returns: {Decipher} The same Decipher for method chaining. | ||
| 935 | 935 | ||
| 936 | 936 | When data has been encrypted without standard block padding, calling | |
| 937 | 937 | `decipher.setAutoPadding(false)` will disable automatic padding to prevent | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1809,7 +1809,7 @@ added: v20.5.0 | |||
| 1809 | 1809 | ||
| 1810 | 1810 | * `signal` {AbortSignal} | |
| 1811 | 1811 | * `listener` {Function|EventListener} | |
| 1812 | - * Returns: {Disposable} that removes the `abort` listener. | ||
| 1812 | + * Returns: {Disposable} A Disposable that removes the `abort` listener. | ||
| 1813 | 1813 | ||
| 1814 | 1814 | Listens once to the `abort` event on the provided `signal`. | |
| 1815 | 1815 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3442,7 +3442,7 @@ added: v19.8.0 | |||
| 3442 | 3442 | * `path` {string|Buffer|URL} | |
| 3443 | 3443 | * `options` {Object} | |
| 3444 | 3444 | * `type` {string} An optional mime type for the blob. | |
| 3445 | - * Return: {Promise} containing {Blob} | ||
| 3445 | + * Returns: {Promise} Fulfills with a {Blob} upon success. | ||
| 3446 | 3446 | ||
| 3447 | 3447 | Returns a {Blob} whose data is backed by the given file. | |
| 3448 | 3448 | ||
@@ -6410,7 +6410,7 @@ The read-only path of this directory as was provided to [`fs.opendir()`][], | |||
| 6410 | 6410 | added: v12.12.0 | |
| 6411 | 6411 | --> | |
| 6412 | 6412 | ||
| 6413 | - * Returns: {Promise} containing {fs.Dirent|null} | ||
| 6413 | + * Returns: {Promise} Fulfills with a {fs.Dirent|null} | ||
| 6414 | 6414 | ||
| 6415 | 6415 | Asynchronously read the next directory entry via readdir(3) as an | |
| 6416 | 6416 | {fs.Dirent}. | |
@@ -6468,7 +6468,7 @@ included in the iteration results. | |||
| 6468 | 6468 | added: v12.12.0 | |
| 6469 | 6469 | --> | |
| 6470 | 6470 | ||
| 6471 | - * Returns: {AsyncIterator} of {fs.Dirent} | ||
| 6471 | + * Returns: {AsyncIterator} An AsyncIterator of {fs.Dirent} | ||
| 6472 | 6472 | ||
| 6473 | 6473 | Asynchronously iterates over the directory until all entries have | |
| 6474 | 6474 | been read. Refer to the POSIX readdir(3) documentation for more detail. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3090,7 +3090,7 @@ added: v0.4.0 | |||
| 3090 | 3090 | --> | |
| 3091 | 3091 | ||
| 3092 | 3092 | * `name` {string} Name of header | |
| 3093 | - * Returns {string | undefined} | ||
| 3093 | + * Returns: {string | undefined} | ||
| 3094 | 3094 | ||
| 3095 | 3095 | Gets the value of the HTTP header with the given name. If that header is not | |
| 3096 | 3096 | set, the returned value will be `undefined`. | |
@@ -3101,7 +3101,7 @@ set, the returned value will be `undefined`. | |||
| 3101 | 3101 | added: v7.7.0 | |
| 3102 | 3102 | --> | |
| 3103 | 3103 | ||
| 3104 | - * Returns {string\[]} | ||
| 3104 | + * Returns: {string\[]} | ||
| 3105 | 3105 | ||
| 3106 | 3106 | Returns an array containing the unique names of the current outgoing headers. | |
| 3107 | 3107 | All names are lowercase. | |
@@ -3140,7 +3140,7 @@ added: v7.7.0 | |||
| 3140 | 3140 | --> | |
| 3141 | 3141 | ||
| 3142 | 3142 | * `name` {string} | |
| 3143 | - * Returns {boolean} | ||
| 3143 | + * Returns: {boolean} | ||
| 3144 | 3144 | ||
| 3145 | 3145 | Returns `true` if the header identified by `name` is currently set in the | |
| 3146 | 3146 | outgoing headers. The header name is case-insensitive. | |
@@ -3360,7 +3360,7 @@ changes: | |||
| 3360 | 3360 | * `chunk` {string|Buffer|Uint8Array} | |
| 3361 | 3361 | * `encoding` {string} **Default**: `utf8` | |
| 3362 | 3362 | * `callback` {Function} | |
| 3363 | - * Returns {boolean} | ||
| 3363 | + * Returns: {boolean} | ||
| 3364 | 3364 | ||
| 3365 | 3365 | Sends a chunk of the body. This method can be called multiple times. | |
| 3366 | 3366 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -444,7 +444,7 @@ changes: | |||
| 444 | 444 | **Default:** what was specified on the CLI. | |
| 445 | 445 | * `wait` {boolean} Block until a client has connected. Optional. | |
| 446 | 446 | **Default:** `false`. | |
| 447 | - * Returns: {Disposable} that calls [`inspector.close()`][]. | ||
| 447 | + * Returns: {Disposable} A Disposable that calls [`inspector.close()`][]. | ||
| 448 | 448 | ||
| 449 | 449 | Activate inspector on host and port. Equivalent to | |
| 450 | 450 | `node --inspect=[[host:]port]`, but can be done programmatically after node has | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1082,16 +1082,16 @@ columnNumber)` | |||
| 1082 | 1082 | ||
| 1083 | 1083 | * `lineNumber` {number} The 1-indexed line number of the call | |
| 1084 | 1084 | site in the generated source | |
| 1085 | - * `columnOffset` {number} The 1-indexed column number | ||
| 1085 | + * `columnNumber` {number} The 1-indexed column number | ||
| 1086 | 1086 | of the call site in the generated source | |
| 1087 | 1087 | * Returns: {Object} | |
| 1088 | 1088 | ||
| 1089 | - Given a 1-indexed lineNumber and columnNumber from a call site in | ||
| 1089 | + Given a 1-indexed `lineNumber` and `columnNumber` from a call site in | ||
| 1090 | 1090 | the generated source, find the corresponding call site location | |
| 1091 | 1091 | in the original source. | |
| 1092 | 1092 | ||
| 1093 | - If the lineNumber and columnNumber provided are not found in any | ||
| 1094 | - source map, then an empty object is returned. Otherwise, the | ||
| 1093 | + If the `lineNumber` and `columnNumber` provided are not found in any | ||
| 1094 | + source map, then an empty object is returned. Otherwise, the | ||
| 1095 | 1095 | returned object contains the following keys: | |
| 1096 | 1096 | ||
| 1097 | 1097 | * name: {string | undefined} The name of the range in the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -250,7 +250,7 @@ added: | |||
| 250 | 250 | - v16.18.0 | |
| 251 | 251 | --> | |
| 252 | 252 | ||
| 253 | - * Returns {string} | ||
| 253 | + * Returns: {string} | ||
| 254 | 254 | ||
| 255 | 255 | Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`, | |
| 256 | 256 | `mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`. | |
@@ -483,7 +483,7 @@ added: | |||
| 483 | 483 | - v12.17.0 | |
| 484 | 484 | --> | |
| 485 | 485 | ||
| 486 | - * Returns {string} | ||
| 486 | + * Returns: {string} | ||
| 487 | 487 | ||
| 488 | 488 | Returns a string identifying the kernel version. | |
| 489 | 489 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -107,7 +107,7 @@ added: | |||
| 107 | 107 | `eventLoopUtilization()`. | |
| 108 | 108 | * `utilization2` {Object} The result of a previous call to | |
| 109 | 109 | `eventLoopUtilization()` prior to `utilization1`. | |
| 110 | - * Returns {Object} | ||
| 110 | + * Returns: {Object} | ||
| 111 | 111 | * `idle` {number} | |
| 112 | 112 | * `active` {number} | |
| 113 | 113 | * `utilization` {number} | |
@@ -1476,7 +1476,7 @@ added: | |||
| 1476 | 1476 | **Default:** `Number.MAX_SAFE_INTEGER`. | |
| 1477 | 1477 | * `figures` {number} The number of accuracy digits. Must be a number between | |
| 1478 | 1478 | `1` and `5`. **Default:** `3`. | |
| 1479 | - * Returns {RecordableHistogram} | ||
| 1479 | + * Returns: {RecordableHistogram} | ||
| 1480 | 1480 | ||
| 1481 | 1481 | Returns a {RecordableHistogram}. | |
| 1482 | 1482 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2676,10 +2676,8 @@ changes: | |||
| 2676 | 2676 | finished before the call to `finished(stream, cb)`. | |
| 2677 | 2677 | --> | |
| 2678 | 2678 | ||
| 2679 | - * `stream` {Stream|ReadableStream|WritableStream} | ||
| 2680 | - | ||
| 2681 | - A readable and/or writable stream/webstream. | ||
| 2682 | - | ||
| 2679 | + * `stream` {Stream|ReadableStream|WritableStream} A readable and/or writable | ||
| 2680 | + stream/webstream. | ||
| 2683 | 2681 | * `options` {Object} | |
| 2684 | 2682 | * `error` {boolean} If set to `false`, then a call to `emit('error', err)` is | |
| 2685 | 2683 | not treated as finished. **Default:** `true`. | |
@@ -2695,10 +2693,8 @@ A readable and/or writable stream/webstream. | |||
| 2695 | 2693 | listeners added by this function will also be removed. | |
| 2696 | 2694 | * `cleanup` {boolean} remove all registered stream listeners. | |
| 2697 | 2695 | **Default:** `false`. | |
| 2698 | - | ||
| 2699 | 2696 | * `callback` {Function} A callback function that takes an optional error | |
| 2700 | 2697 | argument. | |
| 2701 | - | ||
| 2702 | 2698 | * Returns: {Function} A cleanup function which removes all registered | |
| 2703 | 2699 | listeners. | |
| 2704 | 2700 | ||
@@ -3303,9 +3299,8 @@ changes: | |||
| 3303 | 3299 | --> | |
| 3304 | 3300 | ||
| 3305 | 3301 | * `signal` {AbortSignal} A signal representing possible cancellation | |
| 3306 | - * `stream` {Stream|ReadableStream|WritableStream} | ||
| 3307 | - | ||
| 3308 | - A stream to attach a signal to. | ||
| 3302 | + * `stream` {Stream|ReadableStream|WritableStream} A stream to attach a signal | ||
| 3303 | + to. | ||
| 3309 | 3304 | ||
| 3310 | 3305 | Attaches an AbortSignal to a readable or writeable stream. This lets code | |
| 3311 | 3306 | control stream destruction using an `AbortController`. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments