Skip to content

Commit 125523b

Browse files
aduh95nodejs-github-bot
authored andcommittedOct 9, 2020
doc: harmonize version list style in YAML comments
Refs: nodejs/remark-preset-lint-node#139 PR-URL: #35454 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 6eace77 commit 125523b

13 files changed

+75
-32
lines changed
 

‎doc/api/assert.md

+33-11
Original file line numberDiff line numberDiff line change
@@ -334,13 +334,19 @@ changes:
334334
- version: v8.0.0
335335
pr-url: https://github.com/nodejs/node/pull/12142
336336
description: The `Set` and `Map` content is also compared
337-
- version: v6.4.0, v4.7.1
337+
- version:
338+
- v6.4.0
339+
- v4.7.1
338340
pr-url: https://github.com/nodejs/node/pull/8002
339341
description: Typed array slices are handled correctly now.
340-
- version: v6.1.0, v4.5.0
342+
- version:
343+
- v6.1.0
344+
- v4.5.0
341345
pr-url: https://github.com/nodejs/node/pull/6432
342346
description: Objects with circular references can be used as inputs now.
343-
- version: v5.10.1, v4.4.3
347+
- version:
348+
- v5.10.1
349+
- v4.4.3
344350
pr-url: https://github.com/nodejs/node/pull/5910
345351
description: Handle non-`Uint8Array` typed arrays correctly.
346352
-->
@@ -454,13 +460,17 @@ changes:
454460
- version: v8.0.0
455461
pr-url: https://github.com/nodejs/node/pull/12142
456462
description: The `Set` and `Map` content is also compared
457-
- version: v6.4.0, v4.7.1
463+
- version:
464+
- v6.4.0
465+
- v4.7.1
458466
pr-url: https://github.com/nodejs/node/pull/8002
459467
description: Typed array slices are handled correctly now.
460468
- version: v6.1.0
461469
pr-url: https://github.com/nodejs/node/pull/6432
462470
description: Objects with circular references can be used as inputs now.
463-
- version: v5.10.1, v4.4.3
471+
- version:
472+
- v5.10.1
473+
- v4.4.3
464474
pr-url: https://github.com/nodejs/node/pull/5910
465475
description: Handle non-`Uint8Array` typed arrays correctly.
466476
-->
@@ -682,7 +692,9 @@ assert.doesNotReject(Promise.reject(new TypeError('Wrong value')))
682692
<!-- YAML
683693
added: v0.1.21
684694
changes:
685-
- version: v5.11.0, v4.4.5
695+
- version:
696+
- v5.11.0
697+
- v4.4.5
686698
pr-url: https://github.com/nodejs/node/pull/2407
687699
description: The `message` parameter is respected now.
688700
- version: v4.2.0
@@ -991,13 +1003,19 @@ changes:
9911003
- version: v8.0.0
9921004
pr-url: https://github.com/nodejs/node/pull/12142
9931005
description: The `Set` and `Map` content is also compared
994-
- version: v6.4.0, v4.7.1
1006+
- version:
1007+
- v6.4.0
1008+
- v4.7.1
9951009
pr-url: https://github.com/nodejs/node/pull/8002
9961010
description: Typed array slices are handled correctly now.
997-
- version: v6.1.0, v4.5.0
1011+
- version:
1012+
- v6.1.0
1013+
- v4.5.0
9981014
pr-url: https://github.com/nodejs/node/pull/6432
9991015
description: Objects with circular references can be used as inputs now.
1000-
- version: v5.10.1, v4.4.3
1016+
- version:
1017+
- v5.10.1
1018+
- v4.4.3
10011019
pr-url: https://github.com/nodejs/node/pull/5910
10021020
description: Handle non-`Uint8Array` typed arrays correctly.
10031021
-->
@@ -1073,13 +1091,17 @@ changes:
10731091
- version: v8.0.0
10741092
pr-url: https://github.com/nodejs/node/pull/12142
10751093
description: The `Set` and `Map` content is also compared
1076-
- version: v6.4.0, v4.7.1
1094+
- version:
1095+
- v6.4.0
1096+
- v4.7.1
10771097
pr-url: https://github.com/nodejs/node/pull/8002
10781098
description: Typed array slices are handled correctly now.
10791099
- version: v6.1.0
10801100
pr-url: https://github.com/nodejs/node/pull/6432
10811101
description: Objects with circular references can be used as inputs now.
1082-
- version: v5.10.1, v4.4.3
1102+
- version:
1103+
- v5.10.1
1104+
- v4.4.3
10831105
pr-url: https://github.com/nodejs/node/pull/5910
10841106
description: Handle non-`Uint8Array` typed arrays correctly.
10851107
-->

‎doc/api/buffer.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,9 @@ changes:
11411141
- version: v8.0.0
11421142
pr-url: https://github.com/nodejs/node/pull/10236
11431143
description: The `value` can now be a `Uint8Array`.
1144-
- version: v5.7.0, v4.4.0
1144+
- version:
1145+
- v5.7.0
1146+
- v4.4.0
11451147
pr-url: https://github.com/nodejs/node/pull/4803
11461148
description: When `encoding` is being passed, the `byteOffset` parameter
11471149
is no longer required.
@@ -2014,7 +2016,9 @@ console.log(buf.subarray(-5, -2).toString());
20142016
<!-- YAML
20152017
added: v0.3.0
20162018
changes:
2017-
- version: v7.1.0, v6.9.2
2019+
- version:
2020+
- v7.1.0
2021+
- v6.9.2
20182022
pr-url: https://github.com/nodejs/node/pull/9341
20192023
description: Coercing the offsets to integers now handles values outside
20202024
the 32-bit integer range properly.

‎doc/api/child_process.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,9 @@ changes:
729729
- version: v8.0.0
730730
pr-url: https://github.com/nodejs/node/pull/10653
731731
description: The `input` option can now be a `Uint8Array`.
732-
- version: v6.2.1, v4.5.0
732+
- version:
733+
- v6.2.1
734+
- v4.5.0
733735
pr-url: https://github.com/nodejs/node/pull/6939
734736
description: The `encoding` option can now explicitly be set to `buffer`.
735737
-->
@@ -856,7 +858,9 @@ changes:
856858
- version: v8.0.0
857859
pr-url: https://github.com/nodejs/node/pull/10653
858860
description: The `input` option can now be a `Uint8Array`.
859-
- version: v6.2.1, v4.5.0
861+
- version:
862+
- v6.2.1
863+
- v4.5.0
860864
pr-url: https://github.com/nodejs/node/pull/6939
861865
description: The `encoding` option can now explicitly be set to `buffer`.
862866
- version: v5.7.0

‎doc/api/events.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ myEmitter.emit('event');
291291
<!-- YAML
292292
added: v0.9.3
293293
changes:
294-
- version: v6.1.0, v4.7.0
294+
- version:
295+
- v6.1.0
296+
- v4.7.0
295297
pr-url: https://github.com/nodejs/node/pull/6394
296298
description: For listeners attached using `.once()`, the `listener` argument
297299
now yields the original listener function.

‎doc/api/http.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,9 @@ changes:
18031803
pr-url: https://github.com/nodejs/node/pull/25974
18041804
description: Return `this` from `writeHead()` to allow chaining with
18051805
`end()`.
1806-
- version: v5.11.0, v4.4.5
1806+
- version:
1807+
- v5.11.0
1808+
- v4.4.5
18071809
pr-url: https://github.com/nodejs/node/pull/6291
18081810
description: A `RangeError` is thrown if `statusCode` is not a number in
18091811
the range `[100, 999]`.
@@ -2195,7 +2197,9 @@ changes:
21952197
- version: v13.3.0
21962198
pr-url: https://github.com/nodejs/node/pull/30570
21972199
description: The `maxHeaderSize` option is supported now.
2198-
- version: v9.6.0, v8.12.0
2200+
- version:
2201+
- v9.6.0
2202+
- v8.12.0
21992203
pr-url: https://github.com/nodejs/node/pull/15752
22002204
description: The `options` argument is supported now.
22012205
-->

‎doc/api/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -902,8 +902,8 @@ loading.
902902
<!-- YAML
903903
added: v0.1.16
904904
deprecated:
905-
- v12.19.0
906905
- v14.6.0
906+
- v12.19.0
907907
-->
908908

909909
> Stability: 0 - Deprecated: Please use [`require.main`][] and

‎doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5591,8 +5591,8 @@ a specific `napi_env`.
55915591
### napi_get_uv_event_loop
55925592
<!-- YAML
55935593
added:
5594-
- v8.10.0
55955594
- v9.3.0
5595+
- v8.10.0
55965596
napiVersion: 2
55975597
-->
55985598

‎doc/api/packages.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -800,12 +800,12 @@ The following fields in `package.json` files are used in Node.js:
800800
### `"name"`
801801
<!-- YAML
802802
added:
803-
- v12.16.0
804803
- v13.1.0
804+
- v12.16.0
805805
changes:
806806
- version:
807-
- v12.16.0
808807
- v13.6.0
808+
- v12.16.0
809809
pr-url: https://github.com/nodejs/node/pull/31002
810810
description: Remove the `--experimental-resolve-self` option.
811811
-->
@@ -830,8 +830,8 @@ The `"name"` field can be used in addition to the [`"exports"`][] field to
830830
added: v12.0.0
831831
changes:
832832
- version:
833-
- v12.17.0
834833
- v13.2.0
834+
- v12.17.0
835835
pr-url: https://github.com/nodejs/node/pull/29866
836836
description: Unflag `--experimental-modules`.
837837
-->
@@ -882,18 +882,18 @@ as ES modules and `.cjs` files are always treated as CommonJS.
882882
added: v12.7.0
883883
changes:
884884
- version:
885-
- v12.16.0
886885
- v13.2.0
886+
- v12.16.0
887887
pr-url: https://github.com/nodejs/node/pull/29978
888888
description: Implement conditional exports.
889889
- version:
890-
- v12.16.0
891890
- v13.7.0
891+
- v12.16.0
892892
pr-url: https://github.com/nodejs/node/pull/31001
893893
description: Remove the `--experimental-conditional-exports` option.
894894
- version:
895-
- v12.16.0
896895
- v13.7.0
896+
- v12.16.0
897897
pr-url: https://github.com/nodejs/node/pull/31008
898898
description: Implement logical conditional exports ordering.
899899
- version:

‎doc/api/process.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2450,10 +2450,9 @@ flag's behavior.
24502450
<!-- YAML
24512451
added: v0.1.19
24522452
changes:
2453-
- version: v14.0.0
24542453
- version:
2455-
- v12.19.0
24562454
- v14.0.0
2455+
- v12.19.0
24572456
pr-url: https://github.com/nodejs/node/pull/32499
24582457
description: Calling `process.umask()` with no arguments is deprecated.
24592458

‎doc/api/querystring.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ changes:
5555
- version: v6.0.0
5656
pr-url: https://github.com/nodejs/node/pull/6055
5757
description: The returned object no longer inherits from `Object.prototype`.
58-
- version: v6.0.0, v4.2.4
58+
- version:
59+
- v6.0.0
60+
- v4.2.4
5961
pr-url: https://github.com/nodejs/node/pull/3807
6062
description: The `eq` parameter may now have a length of more than `1`.
6163
-->

‎doc/api/readline.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,9 @@ changes:
471471
- version: v13.9.0
472472
pr-url: https://github.com/nodejs/node/pull/31318
473473
description: The `tabSize` option is supported now.
474-
- version: v8.3.0, 6.11.4
474+
- version:
475+
- v8.3.0
476+
- v6.11.4
475477
pr-url: https://github.com/nodejs/node/pull/13497
476478
description: Remove max limit of `crlfDelay` option.
477479
- version: v6.6.0

‎doc/api/tls.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,9 @@ changes:
13741374
pr-url: https://github.com/nodejs/node/pull/11984
13751375
description: The `ALPNProtocols` option can be a `TypedArray` or
13761376
`DataView` now.
1377-
- version: v5.3.0, v4.7.0
1377+
- version:
1378+
- v5.3.0
1379+
- v4.7.0
13781380
pr-url: https://github.com/nodejs/node/pull/4246
13791381
description: The `secureContext` option is supported now.
13801382
- version: v5.0.0

‎doc/api/url.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,9 @@ changes:
12861286
pr-url: https://github.com/nodejs/node/pull/8215
12871287
description: The `auth` fields are now kept intact when `from` and `to`
12881288
refer to the same host.
1289-
- version: v6.5.0, v4.6.2
1289+
- version:
1290+
- v6.5.0
1291+
- v4.6.2
12901292
pr-url: https://github.com/nodejs/node/pull/8214
12911293
description: The `port` field is copied correctly now.
12921294
- version: v6.0.0

0 commit comments

Comments
 (0)
Please sign in to comment.