From 5b2909a30b27141fc45514ff50d58f0fbb3441ca Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 17 Nov 2024 23:48:25 +0100 Subject: [PATCH] fixup! deps: V8: cherry-pick ae5a4db8ad86 --- deps/v8/test/message/fail/modules-import-assertions-fail-1.out | 2 +- deps/v8/test/message/fail/modules-import-assertions-fail-2.out | 2 +- test/parallel/test-vm-module-link.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/v8/test/message/fail/modules-import-assertions-fail-1.out b/deps/v8/test/message/fail/modules-import-assertions-fail-1.out index 8b7bfbf3800989d..2ba99a283f69bc3 100644 --- a/deps/v8/test/message/fail/modules-import-assertions-fail-1.out +++ b/deps/v8/test/message/fail/modules-import-assertions-fail-1.out @@ -1,2 +1,2 @@ *%(basename)s:9: 'assert' is deprecated in import statements and support will be removed in a future version; use 'with' instead -undefined:0: Error: Invalid module type was asserted +undefined:0: Error: Invalid module type was asserted \ No newline at end of file diff --git a/deps/v8/test/message/fail/modules-import-assertions-fail-2.out b/deps/v8/test/message/fail/modules-import-assertions-fail-2.out index bf2a20504b83646..c6139cdc370f06c 100644 --- a/deps/v8/test/message/fail/modules-import-assertions-fail-2.out +++ b/deps/v8/test/message/fail/modules-import-assertions-fail-2.out @@ -2,4 +2,4 @@ undefined:1: SyntaxError: Unexpected token / in JSON at position 0 // Copyright 2021 the V8 project authors. All rights reserved. ^ -SyntaxError: Unexpected token / in JSON at position 0 +SyntaxError: Unexpected token / in JSON at position 0 \ No newline at end of file diff --git a/test/parallel/test-vm-module-link.js b/test/parallel/test-vm-module-link.js index 1edd6a0ba01bb56..54f5bcb75c2a91b 100644 --- a/test/parallel/test-vm-module-link.js +++ b/test/parallel/test-vm-module-link.js @@ -126,7 +126,7 @@ async function circular2() { async function asserts() { const m = new SourceTextModule(` - import "foo" assert { n1: 'v1', n2: 'v2' }; + import "foo" with { n1: 'v1', n2: 'v2' }; `, { identifier: 'm' }); await m.link((s, r, p) => { assert.strictEqual(s, 'foo');