Skip to content

Commit f1890ab

Browse files
committed
src: replace deprecated GetImportAssertions V8 API
Use `GetImportAttributes` instead. PR-URL: #52997 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 3f7d55b commit f1890ab

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)