Skip to content

Commit

Permalink
fixup! deps: V8: cherry-pick ae5a4db8ad86
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Nov 17, 2024
1 parent c11a0f7 commit 5b2909a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/parallel/test-vm-module-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 5b2909a

Please sign in to comment.