Skip to content

Commit 37960ff

Browse files
authored
src: replace deprecated GetImportAssertions V8 API
Use `GetImportAttributes` instead. PR-URL: #52997 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent eaa839e commit 37960ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/module_wrap.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,9 @@ static Local<Array> createModuleRequestsContainer(
423423

424424
Local<String> specifier = module_request->GetSpecifier();
425425

426-
// Contains the import assertions for this request in the form:
426+
// Contains the import attributes for this request in the form:
427427
// [key1, value1, source_offset1, key2, value2, source_offset2, ...].
428-
Local<FixedArray> raw_attributes = module_request->GetImportAssertions();
428+
Local<FixedArray> raw_attributes = module_request->GetImportAttributes();
429429
Local<Object> attributes =
430430
createImportAttributesContainer(realm, isolate, raw_attributes, 3);
431431

0 commit comments

Comments
 (0)