Skip to content

Commit 176495f

Browse files
authored
chore(node): update node test suite to 18.12.0 (LTS) (#2814)
parallel/test-stream-writable-callback-twice.js was removed in Node in nodejs/node#44313, so it is removed here as well.
1 parent d33127d commit 176495f

File tree

561 files changed

+571
-586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

561 files changed

+571
-586
lines changed

node/_tools/config.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"nodeVersion": "18.8.0",
2+
"nodeVersion": "18.12.0",
33
"ignore": {
44
"common": ["index.js", "tmpdir.js"],
55
"fixtures": [
@@ -599,7 +599,6 @@
599599
"test-stream-unpipe-event.js",
600600
"test-stream-unshift-empty-chunk.js",
601601
"test-stream-unshift-read-race.js",
602-
"test-stream-writable-callback-twice.js",
603602
"test-stream-writable-change-default-encoding.js",
604603
"test-stream-writable-clear-buffer.js",
605604
"test-stream-writable-constructor-set-methods.js",

node/_tools/test/common/countdown.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/dns.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/duplexpair.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/fixtures.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/hijackstdio.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/index.mjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
import { createRequire } from 'module';
@@ -59,6 +59,8 @@ const {
5959
spawnPromisified,
6060
} = common;
6161

62+
const getPort = () => common.PORT;
63+
6264
export {
6365
isMainThread,
6466
isWindows,
@@ -107,4 +109,5 @@ export {
107109
runWithInvalidFD,
108110
createRequire,
109111
spawnPromisified,
112+
getPort,
110113
};

node/_tools/test/common/internet.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/fixtures/a.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Copyright Joyent, Inc. and other Node contributors.

node/_tools/test/fixtures/echo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Copyright Joyent, Inc. and other Node contributors.

node/_tools/test/fixtures/exit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Copyright Joyent, Inc. and other Node contributors.

node/_tools/test/fixtures/loop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
var t = 1;

node/_tools/test/internet/test-dgram-connect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/internet/test-dns-idna2008.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/internet/test-dns-lookup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/internet/test-dns-promises-resolve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/internet/test-dns-regress-6244.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Copyright Joyent, Inc. and other Node contributors.

node/_tools/test/internet/test-dns-setserver-in-callback-of-resolve4.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-assert-async.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-assert-fail.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-btoa-atob.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-ascii.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Copyright Joyent, Inc. and other Node contributors.

node/_tools/test/parallel/test-buffer-badhex.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-bigint64.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-compare-offset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-concat.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Copyright Joyent, Inc. and other Node contributors.

node/_tools/test/parallel/test-buffer-constants.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-copy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-equals.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-failed-alloc-typed-arrays.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-fakes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-inheritance.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-isencoding.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-iterator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-new.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-no-negative-allocation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-nopendingdep-map.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Flags: --no-warnings --pending-deprecation

node/_tools/test/parallel/test-buffer-of-no-deprecation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-over-max-length.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-parent-property.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-read.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/parallel/test-buffer-readdouble.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

0 commit comments

Comments
 (0)