Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 069a85a

Browse files
committed
Merge tag 'v10.0.0' into v10.x
2 parents 0a9fa79 + cf41627 commit 069a85a

30 files changed

+1148
-213
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ release lines.
88

99
Select a Node.js version below to view the changelog history:
1010

11+
* [Node.js 10](doc/changelogs/CHANGELOG_V10.md)
1112
* [Node.js 9](doc/changelogs/CHANGELOG_V9.md)
1213
* [Node.js 8](doc/changelogs/CHANGELOG_V8.md)
1314
* [Node.js 7](doc/changelogs/CHANGELOG_V7.md)
@@ -24,13 +25,17 @@ release.
2425

2526
<table>
2627
<tr>
27-
<th title="Current"><a href="doc/changelogs/CHANGELOG_V9.md">9</a><sup>Current</sup></th>
28+
<th title="Current"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>Current</sup></th>
29+
<th><a href="doc/changelogs/CHANGELOG_V9.md">9</a></th>
2830
<th title="LTS Until 2019-12"><a href="doc/changelogs/CHANGELOG_V8.md">8</a><sup>LTS</sup></th>
2931
<th title="LTS Until 2019-04"><a href="doc/changelogs/CHANGELOG_V6.md">6</a><sup>LTS</sup></th>
3032
<th title="LTS Until 2018-04"><a href="doc/changelogs/CHANGELOG_V4.md">4</a><sup>LTS</sup></th>
3133
</tr>
3234
<tr>
3335
<td valign="top">
36+
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.0.0">10.0.0</a></b><br/>
37+
</td>
38+
<td valign="top">
3439
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.11.1">9.11.1</a></b><br/>
3540
<a href="doc/changelogs/CHANGELOG_V9.md#9.11.0">9.11.0</a><br/>
3641
<a href="doc/changelogs/CHANGELOG_V9.md#9.10.1">9.10.1</a><br/>

doc/api/assert.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
376376

377377
## assert.doesNotReject(block[, error][, message])
378378
<!-- YAML
379-
added: REPLACEME
379+
added: v10.0.0
380380
-->
381381
* `block` {Function|Promise}
382382
* `error` {RegExp|Function}
@@ -565,7 +565,7 @@ See below for further details.
565565
<!-- YAML
566566
added: v0.1.21
567567
changes:
568-
- version: REPLACEME
568+
- version: v10.0.0
569569
pr-url: https://github.com/nodejs/node/pull/18418
570570
description: Calling `assert.fail()` with more than one argument is
571571
deprecated and emits a warning.
@@ -627,11 +627,11 @@ suppressFrame();
627627
<!-- YAML
628628
added: v0.1.97
629629
changes:
630-
- version: REPLACEME
630+
- version: v10.0.0
631631
pr-url: https://github.com/nodejs/node/pull/18247
632632
description: Instead of throwing the original error it is now wrapped into
633633
a AssertionError that contains the full stack trace.
634-
- version: REPLACEME
634+
- version: v10.0.0
635635
pr-url: https://github.com/nodejs/node/pull/18247
636636
description: Value may now only be `undefined` or `null`. Before any truthy
637637
input was accepted.
@@ -816,7 +816,7 @@ instance of an [`Error`][] then it will be thrown instead of the
816816
<!-- YAML
817817
added: v0.1.21
818818
changes:
819-
- version: REPLACEME
819+
- version: v10.0.0
820820
pr-url: https://github.com/nodejs/node/pull/17003
821821
description: Used comparison changed from Strict Equality to `Object.is()`
822822
-->
@@ -850,7 +850,7 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
850850
<!-- YAML
851851
added: v0.1.21
852852
changes:
853-
- version: REPLACEME
853+
- version: v10.0.0
854854
pr-url: https://github.com/nodejs/node/pull/18319
855855
description: assert.ok() (no arguments) will now use a predefined error msg.
856856
-->
@@ -920,7 +920,7 @@ assert(0);
920920

921921
## assert.rejects(block[, error][, message])
922922
<!-- YAML
923-
added: REPLACEME
923+
added: v10.0.0
924924
-->
925925
* `block` {Function|Promise}
926926
* `error` {RegExp|Function|Object|Error}
@@ -980,7 +980,7 @@ argument gets considered.
980980
<!-- YAML
981981
added: v0.1.21
982982
changes:
983-
- version: REPLACEME
983+
- version: v10.0.0
984984
pr-url: https://github.com/nodejs/node/pull/17003
985985
description: Used comparison changed from Strict Equality to `Object.is()`
986986
-->

doc/api/buffer.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ It can be constructed in a variety of ways.
302302
<!-- YAML
303303
deprecated: v6.0.0
304304
changes:
305-
- version: REPLACEME
305+
- version: v10.0.0
306306
pr-url: https://github.com/nodejs/node/pull/19524
307307
description: Calling this constructor emits a deprecation warning when
308308
run from code outside the `node_modules` directory.
@@ -330,7 +330,7 @@ const buf = new Buffer([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);
330330
added: v3.0.0
331331
deprecated: v6.0.0
332332
changes:
333-
- version: REPLACEME
333+
- version: v10.0.0
334334
pr-url: https://github.com/nodejs/node/pull/19524
335335
description: Calling this constructor emits a deprecation warning when
336336
run from code outside the `node_modules` directory.
@@ -386,7 +386,7 @@ console.log(buf);
386386
<!-- YAML
387387
deprecated: v6.0.0
388388
changes:
389-
- version: REPLACEME
389+
- version: v10.0.0
390390
pr-url: https://github.com/nodejs/node/pull/19524
391391
description: Calling this constructor emits a deprecation warning when
392392
run from code outside the `node_modules` directory.
@@ -421,7 +421,7 @@ console.log(buf2.toString());
421421
<!-- YAML
422422
deprecated: v6.0.0
423423
changes:
424-
- version: REPLACEME
424+
- version: v10.0.0
425425
pr-url: https://github.com/nodejs/node/pull/19524
426426
description: Calling this constructor emits a deprecation warning when
427427
run from code outside the `node_modules` directory.
@@ -462,7 +462,7 @@ console.log(buf);
462462
<!-- YAML
463463
deprecated: v6.0.0
464464
changes:
465-
- version: REPLACEME
465+
- version: v10.0.0
466466
pr-url: https://github.com/nodejs/node/pull/19524
467467
description: Calling this constructor emits a deprecation warning when
468468
run from code outside the `node_modules` directory.
@@ -499,11 +499,11 @@ console.log(buf1.toString('ascii'));
499499
<!-- YAML
500500
added: v5.10.0
501501
changes:
502-
- version: REPLACEME
502+
- version: v10.0.0
503503
pr-url: https://github.com/nodejs/node/pull/18129
504504
description: Attempting to fill a non-zero length buffer with a zero length
505505
buffer triggers a thrown exception.
506-
- version: REPLACEME
506+
- version: v10.0.0
507507
pr-url: https://github.com/nodejs/node/pull/17427
508508
description: Specifying an invalid string for `fill` triggers a thrown
509509
exception.
@@ -1171,14 +1171,14 @@ console.log(buf1.equals(buf3));
11711171
<!-- YAML
11721172
added: v0.5.0
11731173
changes:
1174-
- version: REPLACEME
1174+
- version: v10.0.0
11751175
pr-url: https://github.com/nodejs/node/pull/18790
11761176
description: Negative `end` values throw an `ERR_INDEX_OUT_OF_RANGE` error.
1177-
- version: REPLACEME
1177+
- version: v10.0.0
11781178
pr-url: https://github.com/nodejs/node/pull/18129
11791179
description: Attempting to fill a non-zero length buffer with a zero length
11801180
buffer triggers a thrown exception.
1181-
- version: REPLACEME
1181+
- version: v10.0.0
11821182
pr-url: https://github.com/nodejs/node/pull/17427
11831183
description: Specifying an invalid string for `value` triggers a thrown
11841184
exception.
@@ -1505,7 +1505,7 @@ The `buf.parent` property is a deprecated alias for `buf.buffer`.
15051505
<!-- YAML
15061506
added: v0.11.15
15071507
changes:
1508-
- version: REPLACEME
1508+
- version: v10.0.0
15091509
pr-url: https://github.com/nodejs/node/pull/18395
15101510
description: Removed noAssert and no implicit coercion of the offset to
15111511
uint32 anymore.
@@ -1535,7 +1535,7 @@ console.log(buf.readDoubleLE(1));
15351535
<!-- YAML
15361536
added: v0.11.15
15371537
changes:
1538-
- version: REPLACEME
1538+
- version: v10.0.0
15391539
pr-url: https://github.com/nodejs/node/pull/18395
15401540
description: Removed noAssert and no implicit coercion of the offset to
15411541
uint32 anymore.
@@ -1564,7 +1564,7 @@ console.log(buf.readFloatLE(1));
15641564
<!-- YAML
15651565
added: v0.5.0
15661566
changes:
1567-
- version: REPLACEME
1567+
- version: v10.0.0
15681568
pr-url: https://github.com/nodejs/node/pull/18395
15691569
description: Removed noAssert and no implicit coercion of the offset to
15701570
uint32 anymore.
@@ -1594,7 +1594,7 @@ console.log(buf.readInt8(2));
15941594
<!-- YAML
15951595
added: v0.5.5
15961596
changes:
1597-
- version: REPLACEME
1597+
- version: v10.0.0
15981598
pr-url: https://github.com/nodejs/node/pull/18395
15991599
description: Removed noAssert and no implicit coercion of the offset to
16001600
uint32 anymore.
@@ -1626,7 +1626,7 @@ console.log(buf.readInt16LE(1));
16261626
<!-- YAML
16271627
added: v0.5.5
16281628
changes:
1629-
- version: REPLACEME
1629+
- version: v10.0.0
16301630
pr-url: https://github.com/nodejs/node/pull/18395
16311631
description: Removed noAssert and no implicit coercion of the offset to
16321632
uint32 anymore.
@@ -1658,7 +1658,7 @@ console.log(buf.readInt32LE(1));
16581658
<!-- YAML
16591659
added: v0.11.15
16601660
changes:
1661-
- version: REPLACEME
1661+
- version: v10.0.0
16621662
pr-url: https://github.com/nodejs/node/pull/18395
16631663
description: Removed noAssert and no implicit coercion of the offset and
16641664
byteLength to uint32 anymore.
@@ -1691,7 +1691,7 @@ console.log(buf.readIntBE(1, 0).toString(16));
16911691
<!-- YAML
16921692
added: v0.5.0
16931693
changes:
1694-
- version: REPLACEME
1694+
- version: v10.0.0
16951695
pr-url: https://github.com/nodejs/node/pull/18395
16961696
description: Removed noAssert and no implicit coercion of the offset to
16971697
uint32 anymore.
@@ -1719,7 +1719,7 @@ console.log(buf.readUInt8(2));
17191719
<!-- YAML
17201720
added: v0.5.5
17211721
changes:
1722-
- version: REPLACEME
1722+
- version: v10.0.0
17231723
pr-url: https://github.com/nodejs/node/pull/18395
17241724
description: Removed noAssert and no implicit coercion of the offset to
17251725
uint32 anymore.
@@ -1753,7 +1753,7 @@ console.log(buf.readUInt16LE(2).toString(16));
17531753
<!-- YAML
17541754
added: v0.5.5
17551755
changes:
1756-
- version: REPLACEME
1756+
- version: v10.0.0
17571757
pr-url: https://github.com/nodejs/node/pull/18395
17581758
description: Removed noAssert and no implicit coercion of the offset to
17591759
uint32 anymore.
@@ -1783,7 +1783,7 @@ console.log(buf.readUInt32LE(1).toString(16));
17831783
<!-- YAML
17841784
added: v0.11.15
17851785
changes:
1786-
- version: REPLACEME
1786+
- version: v10.0.0
17871787
pr-url: https://github.com/nodejs/node/pull/18395
17881788
description: Removed noAssert and no implicit coercion of the offset and
17891789
byteLength to uint32 anymore.
@@ -2100,7 +2100,7 @@ console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`);
21002100
<!-- YAML
21012101
added: v0.11.15
21022102
changes:
2103-
- version: REPLACEME
2103+
- version: v10.0.0
21042104
pr-url: https://github.com/nodejs/node/pull/18395
21052105
description: Removed noAssert and no implicit coercion of the offset to
21062106
uint32 anymore.
@@ -2135,7 +2135,7 @@ console.log(buf);
21352135
<!-- YAML
21362136
added: v0.11.15
21372137
changes:
2138-
- version: REPLACEME
2138+
- version: v10.0.0
21392139
pr-url: https://github.com/nodejs/node/pull/18395
21402140
description: Removed noAssert and no implicit coercion of the offset to
21412141
uint32 anymore.
@@ -2169,7 +2169,7 @@ console.log(buf);
21692169
<!-- YAML
21702170
added: v0.5.0
21712171
changes:
2172-
- version: REPLACEME
2172+
- version: v10.0.0
21732173
pr-url: https://github.com/nodejs/node/pull/18395
21742174
description: Removed noAssert and no implicit coercion of the offset to
21752175
uint32 anymore.
@@ -2201,7 +2201,7 @@ console.log(buf);
22012201
<!-- YAML
22022202
added: v0.5.5
22032203
changes:
2204-
- version: REPLACEME
2204+
- version: v10.0.0
22052205
pr-url: https://github.com/nodejs/node/pull/18395
22062206
description: Removed noAssert and no implicit coercion of the offset to
22072207
uint32 anymore.
@@ -2234,7 +2234,7 @@ console.log(buf);
22342234
<!-- YAML
22352235
added: v0.5.5
22362236
changes:
2237-
- version: REPLACEME
2237+
- version: v10.0.0
22382238
pr-url: https://github.com/nodejs/node/pull/18395
22392239
description: Removed noAssert and no implicit coercion of the offset to
22402240
uint32 anymore.
@@ -2267,7 +2267,7 @@ console.log(buf);
22672267
<!-- YAML
22682268
added: v0.11.15
22692269
changes:
2270-
- version: REPLACEME
2270+
- version: v10.0.0
22712271
pr-url: https://github.com/nodejs/node/pull/18395
22722272
description: Removed noAssert and no implicit coercion of the offset and
22732273
byteLength to uint32 anymore.
@@ -2302,7 +2302,7 @@ console.log(buf);
23022302
<!-- YAML
23032303
added: v0.5.0
23042304
changes:
2305-
- version: REPLACEME
2305+
- version: v10.0.0
23062306
pr-url: https://github.com/nodejs/node/pull/18395
23072307
description: Removed noAssert and no implicit coercion of the offset to
23082308
uint32 anymore.
@@ -2334,7 +2334,7 @@ console.log(buf);
23342334
<!-- YAML
23352335
added: v0.5.5
23362336
changes:
2337-
- version: REPLACEME
2337+
- version: v10.0.0
23382338
pr-url: https://github.com/nodejs/node/pull/18395
23392339
description: Removed noAssert and no implicit coercion of the offset to
23402340
uint32 anymore.
@@ -2371,7 +2371,7 @@ console.log(buf);
23712371
<!-- YAML
23722372
added: v0.5.5
23732373
changes:
2374-
- version: REPLACEME
2374+
- version: v10.0.0
23752375
pr-url: https://github.com/nodejs/node/pull/18395
23762376
description: Removed noAssert and no implicit coercion of the offset to
23772377
uint32 anymore.
@@ -2406,7 +2406,7 @@ console.log(buf);
24062406
<!-- YAML
24072407
added: v0.5.5
24082408
changes:
2409-
- version: REPLACEME
2409+
- version: v10.0.0
24102410
pr-url: https://github.com/nodejs/node/pull/18395
24112411
description: Removed noAssert and no implicit coercion of the offset and
24122412
byteLength to uint32 anymore.

doc/api/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Enable experimental ES module support and caching modules.
7676

7777
### `--experimental-repl-await`
7878
<!-- YAML
79-
added: REPLACEME
79+
added: v10.0.0
8080
-->
8181

8282
Enable experimental top-level `await` keyword support in REPL.
@@ -397,7 +397,7 @@ added:
397397
- v5.0.0
398398
- v4.2.0
399399
changes:
400-
- version: REPLACEME
400+
- version: v10.0.0
401401
pr-url: https://github.com/nodejs/node/pull/19600
402402
description: The `--require` option is now supported when checking a file.
403403
-->

doc/api/console.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ changes:
8585
- version: v8.0.0
8686
pr-url: https://github.com/nodejs/node/pull/9744
8787
description: The `ignoreErrors` option was introduced.
88-
- version: REPLACEME
88+
- version: v10.0.0
8989
pr-url: https://github.com/nodejs/node/pull/19372
9090
description: The `Console` constructor now supports an `options` argument,
9191
and the `colorMode` option was introduced.
@@ -128,7 +128,7 @@ new Console({ stdout: process.stdout, stderr: process.stderr });
128128
<!-- YAML
129129
added: v0.1.101
130130
changes:
131-
- version: REPLACEME
131+
- version: v10.0.0
132132
pr-url: https://github.com/nodejs/node/pull/17706
133133
description: The implementation is now spec compliant and does not throw
134134
anymore.
@@ -347,7 +347,7 @@ See [`util.format()`][] for more information.
347347

348348
### console.table(tabularData[, properties])
349349
<!-- YAML
350-
added: REPLACEME
350+
added: v10.0.0
351351
-->
352352

353353
* `tabularData` {any}

0 commit comments

Comments
 (0)