Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 5, 2024
1 parent 541ba08 commit 4582b85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static v8::MaybeLocal<v8::Promise> dynamic_module_loader(v8::Local<v8::Context>
return promise;
}

#if V8_VERSION_TOTAL >= 905
#if V8_VERSION_TOTAL >= 908

static v8::MaybeLocal<v8::Promise> ResolveDynamicModuleCallback(
v8::Local<v8::Context> context,
Expand All @@ -120,7 +120,8 @@ static v8::MaybeLocal<v8::Promise> ResolveDynamicModuleCallback(
static v8::MaybeLocal<v8::Promise> ResolveDynamicModuleCallback(
v8::Local<v8::Context> context,
v8::Local<v8::ScriptOrModule> referrer,
v8::Local<v8::String> specifier) {
v8::Local<v8::String> specifier,
v8::Local<v8::FixedArray> import_assertions) {
return dynamic_module_loader(context, specifier);
}

Expand Down

0 comments on commit 4582b85

Please sign in to comment.