GeezerVison is showing github.com — lib,tools: remove empty lines between JSDoc tags · nodejs/node@f176124
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: lib/internal/blob.js +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -123,7 +123,9 @@ function getSource(source, endings) { | 123 | 123 | class Blob { | 124 | 124 | /** | 125 | 125 | * @typedef {string|ArrayBuffer|ArrayBufferView|Blob} SourcePart | 126 | | - * | | 126 | + */ | | 127 | + | | 128 | + /** | 127 | 129 | * @param {SourcePart[]} [sources] | 128 | 130 | * @param {{ | 129 | 131 | * endings? : string, | |
Collapse file Copy file name to clipboardExpand all lines: lib/internal/webstreams/adapters.js +6-2Lines changed: 6 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -79,7 +79,9 @@ const { UV_EOF } = internalBinding('uv'); | 79 | 79 | * @typedef {import('../../stream').Readable} Readable | 80 | 80 | * @typedef {import('./writablestream').WritableStream} WritableStream | 81 | 81 | * @typedef {import('./readablestream').ReadableStream} ReadableStream | 82 | | - * | | 82 | + */ | | 83 | + | | 84 | +/** | 83 | 85 | * @typedef {import('../abort_controller').AbortSignal} AbortSignal | 84 | 86 | */ | 85 | 87 |
| @@ -525,7 +527,9 @@ function newStreamReadableFromReadableStream(readableStream, options = {}) { | 525 | 527 | * @typedef {import('./readablestream').ReadableWritablePair | 526 | 528 | * } ReadableWritablePair | 527 | 529 | * @typedef {import('../../stream').Duplex} Duplex | 528 | | - * | | 530 | + */ | | 531 | + | | 532 | +/** | 529 | 533 | * @param {Duplex} duplex | 530 | 534 | * @returns {ReadableWritablePair} | 531 | 535 | */ | |
Collapse file Copy file name to clipboardExpand all lines: lib/internal/webstreams/queuingstrategies.js +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -38,7 +38,9 @@ const isCountQueuingStrategy = | 38 | 38 | * @callback QueuingStrategySize | 39 | 39 | * @param {any} chunk | 40 | 40 | * @returns {number} | 41 | | - * | | 41 | + */ | | 42 | + | | 43 | +/** | 42 | 44 | * @typedef {{ | 43 | 45 | * highWaterMark : number, | 44 | 46 | * size? : QueuingStrategySize, | |
Collapse file Copy file name to clipboardExpand all lines: lib/internal/webstreams/readablestream.js +24-9Lines changed: 24 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -140,45 +140,60 @@ const kPull = Symbol('kPull'); | 140 | 140 | * @typedef {import('./queuingstrategies').QueuingStrategySize | 141 | 141 | * } QueuingStrategySize | 142 | 142 | * @typedef {import('./writablestream').WritableStream} WritableStream | 143 | | - * | | 143 | + */ | | 144 | + | | 145 | +/** | 144 | 146 | * @typedef {ReadableStreamDefaultController | ReadableByteStreamController | 145 | 147 | * } ReadableStreamController | 146 | | - * | | 148 | + */ | | 149 | + | | 150 | +/** | 147 | 151 | * @typedef {ReadableStreamDefaultReader | ReadableStreamBYOBReader | 148 | 152 | * } ReadableStreamReader | 149 | | - * | | 153 | + */ | | 154 | + | | 155 | +/** | 150 | 156 | * @callback UnderlyingSourceStartCallback | 151 | 157 | * @param {ReadableStreamController} controller | 152 | 158 | * @returns { any | Promise<void> } | 153 | | - * | | 159 | + */ | | 160 | + | | 161 | +/** | 154 | 162 | * @callback UnderlyingSourcePullCallback | 155 | 163 | * @param {ReadableStreamController} controller | 156 | 164 | * @returns { Promise<void> } | 157 | | - * | | 165 | + */ | | 166 | + | | 167 | +/** | 158 | 168 | * @callback UnderlyingSourceCancelCallback | 159 | 169 | * @param {any} reason | 160 | 170 | * @returns { Promise<void> } | 161 | | - * | | 171 | + */ | | 172 | + | | 173 | +/** | 162 | 174 | * @typedef {{ | 163 | 175 | * readable: ReadableStream, | 164 | 176 | * writable: WritableStream, | 165 | 177 | * }} ReadableWritablePair | 166 | | - * | | 178 | + */ | | 179 | + | | 180 | +/** | 167 | 181 | * @typedef {{ | 168 | 182 | * preventClose? : boolean, | 169 | 183 | * preventAbort? : boolean, | 170 | 184 | * preventCancel? : boolean, | 171 | 185 | * signal? : AbortSignal, | 172 | 186 | * }} StreamPipeOptions | 173 | | - * | | 187 | + */ | | 188 | + | | 189 | +/** | 174 | 190 | * @typedef {{ | 175 | 191 | * start? : UnderlyingSourceStartCallback, | 176 | 192 | * pull? : UnderlyingSourcePullCallback, | 177 | 193 | * cancel? : UnderlyingSourceCancelCallback, | 178 | 194 | * type? : "bytes", | 179 | 195 | * autoAllocateChunkSize? : number | 180 | 196 | * }} UnderlyingSource | 181 | | - * | 182 | 197 | */ | 183 | 198 |
| 184 | 199 | class ReadableStream { | |
Collapse file Copy file name to clipboardExpand all lines: lib/internal/webstreams/transformstream.js +12-4Lines changed: 12 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -70,19 +70,27 @@ const assert = require('internal/assert'); | 70 | 70 | * } QueuingStrategy | 71 | 71 | * @typedef {import('./queuingstrategies').QueuingStrategySize | 72 | 72 | * } QueuingStrategySize | 73 | | - * | | 73 | + */ | | 74 | + | | 75 | +/** | 74 | 76 | * @callback TransformerStartCallback | 75 | 77 | * @param {TransformStreamDefaultController} controller; | 76 | | - * | | 78 | + */ | | 79 | + | | 80 | +/** | 77 | 81 | * @callback TransformerFlushCallback | 78 | 82 | * @param {TransformStreamDefaultController} controller; | 79 | 83 | * @returns {Promise<void>} | 80 | | - * | | 84 | + */ | | 85 | + | | 86 | +/** | 81 | 87 | * @callback TransformerTransformCallback | 82 | 88 | * @param {any} chunk | 83 | 89 | * @param {TransformStreamDefaultController} controller | 84 | 90 | * @returns {Promise<void>} | 85 | | - * | | 91 | + */ | | 92 | + | | 93 | +/** | 86 | 94 | * @typedef {{ | 87 | 95 | * start? : TransformerStartCallback, | 88 | 96 | * transform? : TransformerTransformCallback, | |
Collapse file Copy file name to clipboardExpand all lines: lib/internal/webstreams/writablestream.js +15-5Lines changed: 15 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -83,22 +83,32 @@ const kError = Symbol('kError'); | 83 | 83 | * } QueuingStrategy | 84 | 84 | * @typedef {import('./queuingstrategies').QueuingStrategySize | 85 | 85 | * } QueuingStrategySize | 86 | | - * | | 86 | + */ | | 87 | + | | 88 | +/** | 87 | 89 | * @callback UnderlyingSinkStartCallback | 88 | 90 | * @param {WritableStreamDefaultController} controller | 89 | | - * | | 91 | + */ | | 92 | + | | 93 | +/** | 90 | 94 | * @callback UnderlyingSinkWriteCallback | 91 | 95 | * @param {any} chunk | 92 | 96 | * @param {WritableStreamDefaultController} controller | 93 | 97 | * @returns {Promise<void>} | 94 | | - * | | 98 | + */ | | 99 | + | | 100 | +/** | 95 | 101 | * @callback UnderlyingSinkCloseCallback | 96 | 102 | * @returns {Promise<void>} | 97 | | - * | | 103 | + */ | | 104 | + | | 105 | +/** | 98 | 106 | * @callback UnderlyingSinkAbortCallback | 99 | 107 | * @param {any} reason | 100 | 108 | * @returns {Promise<void>} | 101 | | - * | | 109 | + */ | | 110 | + | | 111 | +/** | 102 | 112 | * @typedef {{ | 103 | 113 | * start? : UnderlyingSinkStartCallback, | 104 | 114 | * write? : UnderlyingSinkWriteCallback, | |
Collapse file Copy file name to clipboardExpand all lines: tools/eslint-rules/crypto-check.js -3Lines changed: 0 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | /** | 2 | 2 | * @fileoverview Check that common.hasCrypto is used if crypto, tls, | 3 | 3 | * https, or http2 modules are required. | 4 | | - * | 5 | | - * This rule can be ignored using // eslint-disable-line crypto-check | 6 | | - * | 7 | 4 | | 8 | 5 | */ | 9 | 6 | 'use strict'; | |
|