| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0a47b98 commit ae372f0
10 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,7 +86,7 @@ added: v8.1.0 | |||
| 86 | 86 | * `before` {Function} The [`before` callback][]. | |
| 87 | 87 | * `after` {Function} The [`after` callback][]. | |
| 88 | 88 | * `destroy` {Function} The [`destroy` callback][]. | |
| 89 | - * Returns: `{AsyncHook}` Instance used for disabling and enabling hooks | ||
| 89 | + * Returns: {AsyncHook} Instance used for disabling and enabling hooks | ||
| 90 | 90 | ||
| 91 | 91 | Registers functions to be called for different lifetime events of each async | |
| 92 | 92 | operation. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -267,7 +267,7 @@ changes: | |||
| 267 | 267 | description: This method now returns a reference to `worker`. | |
| 268 | 268 | --> | |
| 269 | 269 | ||
| 270 | - * Returns: {Worker} A reference to `worker`. | ||
| 270 | + * Returns: {cluster.Worker} A reference to `worker`. | ||
| 271 | 271 | ||
| 272 | 272 | In a worker, this function will close all servers, wait for the `'close'` event on | |
| 273 | 273 | those servers, and then disconnect the IPC channel. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -78,8 +78,8 @@ const { Console } = console; | |||
| 78 | 78 | ``` | |
| 79 | 79 | ||
| 80 | 80 | ### new Console(stdout[, stderr]) | |
| 81 | - * `stdout` {Writable} | ||
| 82 | - * `stderr` {Writable} | ||
| 81 | + * `stdout` {stream.Writable} | ||
| 82 | + * `stderr` {stream.Writable} | ||
| 83 | 83 | ||
| 84 | 84 | Creates a new `Console` with one or two writable stream instances. `stdout` is a | |
| 85 | 85 | writable stream to print log or info output. `stderr` is used for warning or | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -799,7 +799,7 @@ changes: | |||
| 799 | 799 | ||
| 800 | 800 | * `path` {string|Buffer|URL} | |
| 801 | 801 | * `mode` {integer} **Default:** `fs.constants.F_OK` | |
| 802 | - * Returns: `undefined` | ||
| 802 | + * Returns: {undefined} | ||
| 803 | 803 | ||
| 804 | 804 | Synchronously tests a user's permissions for the file or directory specified by | |
| 805 | 805 | `path`. The `mode` argument is an optional integer that specifies the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -770,7 +770,7 @@ they respectively default to: | |||
| 770 | 770 | added: v8.4.0 | |
| 771 | 771 | --> | |
| 772 | 772 | ||
| 773 | - * Extends: {Duplex} | ||
| 773 | + * Extends: {stream.Duplex} | ||
| 774 | 774 | ||
| 775 | 775 | Each instance of the `Http2Stream` class represents a bidirectional HTTP/2 | |
| 776 | 776 | communications stream over an `Http2Session` instance. Any single `Http2Session` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -659,7 +659,7 @@ changes: | |||
| 659 | 659 | ||
| 660 | 660 | * `module` {Object} | |
| 661 | 661 | * `filename` {string} | |
| 662 | - * `flags` {os.constants.dlopen}. Defaults to `os.constants.dlopen.RTLD_LAZY`. | ||
| 662 | + * `flags` {os.constants.dlopen} Defaults to `os.constants.dlopen.RTLD_LAZY`. | ||
| 663 | 663 | ||
| 664 | 664 | The `process.dlopen()` method allows to dynamically load shared | |
| 665 | 665 | objects. It is primarily used by `require()` to load | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -323,7 +323,7 @@ Interface's `input` *as if it were provided by the user*. | |||
| 323 | 323 | added: v0.7.7 | |
| 324 | 324 | --> | |
| 325 | 325 | ||
| 326 | - * `stream` {Writable} | ||
| 326 | + * `stream` {stream.Writable} | ||
| 327 | 327 | * `dir` {number} | |
| 328 | 328 | * `-1` - to the left from cursor | |
| 329 | 329 | * `1` - to the right from cursor | |
@@ -338,7 +338,7 @@ in a specified direction identified by `dir`. | |||
| 338 | 338 | added: v0.7.7 | |
| 339 | 339 | --> | |
| 340 | 340 | ||
| 341 | - * `stream` {Writable} | ||
| 341 | + * `stream` {stream.Writable} | ||
| 342 | 342 | ||
| 343 | 343 | The `readline.clearScreenDown()` method clears the given [TTY][] stream from | |
| 344 | 344 | the current position of the cursor down. | |
@@ -362,9 +362,9 @@ changes: | |||
| 362 | 362 | --> | |
| 363 | 363 | ||
| 364 | 364 | * `options` {Object} | |
| 365 | - * `input` {Readable} The [Readable][] stream to listen to. This option is | ||
| 365 | + * `input` {stream.Readable} The [Readable][] stream to listen to. This option is | ||
| 366 | 366 | *required*. | |
| 367 | - * `output` {Writable} The [Writable][] stream to write readline data to. | ||
| 367 | + * `output` {stream.Writable} The [Writable][] stream to write readline data to. | ||
| 368 | 368 | * `completer` {Function} An optional function used for Tab autocompletion. | |
| 369 | 369 | * `terminal` {boolean} `true` if the `input` and `output` streams should be | |
| 370 | 370 | treated like a TTY, and have ANSI/VT100 escape codes written to it. | |
@@ -444,7 +444,7 @@ function completer(linePartial, callback) { | |||
| 444 | 444 | added: v0.7.7 | |
| 445 | 445 | --> | |
| 446 | 446 | ||
| 447 | - * `stream` {Writable} | ||
| 447 | + * `stream` {stream.Writable} | ||
| 448 | 448 | * `x` {number} | |
| 449 | 449 | * `y` {number} | |
| 450 | 450 | ||
@@ -456,7 +456,7 @@ given [TTY][] `stream`. | |||
| 456 | 456 | added: v0.7.7 | |
| 457 | 457 | --> | |
| 458 | 458 | ||
| 459 | - * `stream` {Readable} | ||
| 459 | + * `stream` {stream.Readable} | ||
| 460 | 460 | * `interface` {readline.Interface} | |
| 461 | 461 | ||
| 462 | 462 | The `readline.emitKeypressEvents()` method causes the given [Readable][] | |
@@ -482,7 +482,7 @@ if (process.stdin.isTTY) | |||
| 482 | 482 | added: v0.7.7 | |
| 483 | 483 | --> | |
| 484 | 484 | ||
| 485 | - * `stream` {Writable} | ||
| 485 | + * `stream` {stream.Writable} | ||
| 486 | 486 | * `dx` {number} | |
| 487 | 487 | * `dy` {number} | |
| 488 | 488 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -412,9 +412,9 @@ changes: | |||
| 412 | 412 | * `options` {Object|string} | |
| 413 | 413 | * `prompt` {string} The input prompt to display. Defaults to `> ` | |
| 414 | 414 | (with a trailing space). | |
| 415 | - * `input` {Readable} The Readable stream from which REPL input will be read. | ||
| 415 | + * `input` {stream.Readable} The Readable stream from which REPL input will be read. | ||
| 416 | 416 | Defaults to `process.stdin`. | |
| 417 | - * `output` {Writable} The Writable stream to which REPL output will be | ||
| 417 | + * `output` {stream.Writable} The Writable stream to which REPL output will be | ||
| 418 | 418 | written. Defaults to `process.stdout`. | |
| 419 | 419 | * `terminal` {boolean} If `true`, specifies that the `output` should be | |
| 420 | 420 | treated as a TTY terminal, and have ANSI/VT100 escape codes written to it. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -394,7 +394,7 @@ changes: | |||
| 394 | 394 | --> | |
| 395 | 395 | ||
| 396 | 396 | * `encoding` {string} The new default encoding | |
| 397 | - * Returns: `this` | ||
| 397 | + * Returns: {this} | ||
| 398 | 398 | ||
| 399 | 399 | The `writable.setDefaultEncoding()` method sets the default `encoding` for a | |
| 400 | 400 | [Writable][] stream. | |
@@ -533,7 +533,7 @@ A Writable stream in object mode will always ignore the `encoding` argument. | |||
| 533 | 533 | added: v8.0.0 | |
| 534 | 534 | --> | |
| 535 | 535 | ||
| 536 | - * Returns: `this` | ||
| 536 | + * Returns: {this} | ||
| 537 | 537 | ||
| 538 | 538 | Destroy the stream, and emit the passed error. After this call, the | |
| 539 | 539 | writable stream has ended. Implementors should not override this method, | |
@@ -818,7 +818,7 @@ readable.isPaused(); // === false | |||
| 818 | 818 | added: v0.9.4 | |
| 819 | 819 | --> | |
| 820 | 820 | ||
| 821 | - * Returns: `this` | ||
| 821 | + * Returns: {this} | ||
| 822 | 822 | ||
| 823 | 823 | The `readable.pause()` method will cause a stream in flowing mode to stop | |
| 824 | 824 | emitting [`'data'`][] events, switching out of flowing mode. Any data that | |
@@ -967,7 +967,7 @@ the status of the `highWaterMark`. | |||
| 967 | 967 | added: v0.9.4 | |
| 968 | 968 | --> | |
| 969 | 969 | ||
| 970 | - * Returns: `this` | ||
| 970 | + * Returns: {this} | ||
| 971 | 971 | ||
| 972 | 972 | The `readable.resume()` method causes an explicitly paused Readable stream to | |
| 973 | 973 | resume emitting [`'data'`][] events, switching the stream into flowing mode. | |
@@ -990,7 +990,7 @@ added: v0.9.4 | |||
| 990 | 990 | --> | |
| 991 | 991 | ||
| 992 | 992 | * `encoding` {string} The encoding to use. | |
| 993 | - * Returns: `this` | ||
| 993 | + * Returns: {this} | ||
| 994 | 994 | ||
| 995 | 995 | The `readable.setEncoding()` method sets the character encoding for | |
| 996 | 996 | data read from the Readable stream. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,53 +13,82 @@ const jsPrimitives = { | |||
| 13 | 13 | 'undefined': 'Undefined' | |
| 14 | 14 | }; | |
| 15 | 15 | const jsGlobalTypes = [ | |
| 16 | - 'Error', 'Object', 'Function', 'Array', 'TypedArray', 'Uint8Array', | ||
| 17 | - 'Uint16Array', 'Uint32Array', 'Int8Array', 'Int16Array', 'Int32Array', | ||
| 18 | - 'Uint8ClampedArray', 'Float32Array', 'Float64Array', 'Date', 'RegExp', | ||
| 19 | - 'ArrayBuffer', 'DataView', 'Promise', 'EvalError', 'RangeError', | ||
| 20 | - 'ReferenceError', 'SyntaxError', 'TypeError', 'URIError', 'Proxy', 'Map', | ||
| 21 | - 'Set', 'WeakMap', 'WeakSet', 'Generator', 'GeneratorFunction', | ||
| 22 | - 'AsyncFunction', 'SharedArrayBuffer' | ||
| 16 | + 'Array', 'ArrayBuffer', 'AsyncFunction', 'DataView', 'Date', 'Error', | ||
| 17 | + 'EvalError', 'Float32Array', 'Float64Array', 'Function', 'Generator', | ||
| 18 | + 'GeneratorFunction', 'Int16Array', 'Int32Array', 'Int8Array', 'Map', 'Object', | ||
| 19 | + 'Promise', 'Proxy', 'RangeError', 'ReferenceError', 'RegExp', 'Set', | ||
| 20 | + 'SharedArrayBuffer', 'SyntaxError', 'TypeError', 'TypedArray', 'URIError', | ||
| 21 | + 'Uint16Array', 'Uint32Array', 'Uint8Array', 'Uint8ClampedArray', 'WeakMap', | ||
| 22 | + 'WeakSet' | ||
| 23 | 23 | ]; | |
| 24 | 24 | const typeMap = { | |
| 25 | 25 | 'Iterable': | |
| 26 | 26 | `${jsDocPrefix}Reference/Iteration_protocols#The_iterable_protocol`, | |
| 27 | 27 | 'Iterator': | |
| 28 | 28 | `${jsDocPrefix}Reference/Iteration_protocols#The_iterator_protocol`, | |
| 29 | 29 | ||
| 30 | + 'this': `${jsDocPrefix}Reference/Operators/this`, | ||
| 31 | + | ||
| 32 | + 'AsyncHook': 'async_hooks.html#async_hooks_async_hooks_createhook_callbacks', | ||
| 33 | + | ||
| 30 | 34 | 'Buffer': 'buffer.html#buffer_class_buffer', | |
| 31 | 35 | ||
| 32 | 36 | 'ChildProcess': 'child_process.html#child_process_class_childprocess', | |
| 33 | 37 | ||
| 34 | 38 | 'cluster.Worker': 'cluster.html#cluster_class_worker', | |
| 35 | 39 | ||
| 40 | + 'crypto.constants': 'crypto.html#crypto_crypto_constants_1', | ||
| 41 | + | ||
| 36 | 42 | 'dgram.Socket': 'dgram.html#dgram_class_dgram_socket', | |
| 37 | 43 | ||
| 44 | + 'Domain': 'domain.html#domain_class_domain', | ||
| 45 | + | ||
| 38 | 46 | 'EventEmitter': 'events.html#events_class_eventemitter', | |
| 39 | 47 | ||
| 48 | + 'fs.Stats': 'fs.html#fs_class_fs_stats', | ||
| 49 | + | ||
| 40 | 50 | 'http.Agent': 'http.html#http_class_http_agent', | |
| 41 | 51 | 'http.ClientRequest': 'http.html#http_class_http_clientrequest', | |
| 42 | 52 | 'http.IncomingMessage': 'http.html#http_class_http_incomingmessage', | |
| 43 | 53 | 'http.Server': 'http.html#http_class_http_server', | |
| 44 | 54 | 'http.ServerResponse': 'http.html#http_class_http_serverresponse', | |
| 45 | 55 | ||
| 56 | + 'ClientHttp2Stream': 'http2.html#http2_class_clienthttp2stream', | ||
| 46 | 57 | 'HTTP2 Headers Object': 'http2.html#http2_headers_object', | |
| 47 | 58 | 'HTTP2 Settings Object': 'http2.html#http2_settings_object', | |
| 59 | + 'http2.Http2ServerRequest': 'http2.html#http2_class_http2_http2serverrequest', | ||
| 60 | + 'http2.Http2ServerResponse': | ||
| 61 | + 'http2.html#http2_class_http2_http2serverresponse', | ||
| 62 | + 'Http2Server': 'http2.html#http2_class_http2server', | ||
| 63 | + 'Http2Session': 'http2.html#http2_class_http2session', | ||
| 64 | + 'Http2Stream': 'http2.html#http2_class_http2stream', | ||
| 65 | + 'ServerHttp2Stream': 'http2.html#http2_class_serverhttp2stream', | ||
| 48 | 66 | ||
| 49 | 67 | 'Handle': 'net.html#net_server_listen_handle_backlog_callback', | |
| 68 | + 'net.Server': 'net.html#net_class_net_server', | ||
| 50 | 69 | 'net.Socket': 'net.html#net_class_net_socket', | |
| 51 | 70 | ||
| 52 | - 'ServerHttp2Stream': 'http2.html#http2_class_serverhttp2stream', | ||
| 71 | + 'os.constants.dlopen': 'os.html#os_dlopen_constants', | ||
| 72 | + | ||
| 73 | + 'PerformanceObserver': | ||
| 74 | + 'perf_hooks.html#perf_hooks_class_performanceobserver_callback', | ||
| 75 | + 'PerformanceObserverEntryList': | ||
| 76 | + 'perf_hooks.html#perf_hooks_class_performanceobserverentrylist', | ||
| 77 | + | ||
| 78 | + 'readline.Interface': 'readline.html#readline_class_interface', | ||
| 53 | 79 | ||
| 54 | 80 | 'Stream': 'stream.html#stream_stream', | |
| 81 | + 'stream.Duplex': 'stream.html#stream_class_stream_duplex', | ||
| 55 | 82 | 'stream.Readable': 'stream.html#stream_class_stream_readable', | |
| 56 | 83 | 'stream.Writable': 'stream.html#stream_class_stream_writable', | |
| 57 | - 'stream.Duplex': 'stream.html#stream_class_stream_duplex', | ||
| 58 | - | ||
| 59 | - 'tls.TLSSocket': 'tls.html#tls_class_tls_tlssocket', | ||
| 60 | 84 | ||
| 85 | + 'Immediate': 'timers.html#timers_class_immediate', | ||
| 86 | + 'Timeout': 'timers.html#timers_class_timeout', | ||
| 61 | 87 | 'Timer': 'timers.html#timers_timers', | |
| 62 | 88 | ||
| 89 | + 'tls.Server': 'tls.html#tls_class_tls_server', | ||
| 90 | + 'tls.TLSSocket': 'tls.html#tls_class_tls_tlssocket', | ||
| 91 | + | ||
| 63 | 92 | 'URL': 'url.html#url_the_whatwg_url_api', | |
| 64 | 93 | 'URLSearchParams': 'url.html#url_class_urlsearchparams' | |
| 65 | 94 | }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments