Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2021-01-30 15:30:19 +0300
committerMichaël Zasso <targos@protonmail.com>2021-02-25 02:16:41 +0300
commit001dc16cf173a5dc52903f5178c00335eba9fd25 (patch)
treeae1bce6472b301d2b433c5ac67a51ef2109aa327 /src/module_wrap.h
parent43cc8e4b2e87ca48c981d1c66496885e57e44d68 (diff)
src: use non-deprecated V8 module and script APIs
PR-URL: https://github.com/nodejs/node/pull/37330 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/module_wrap.h')
-rw-r--r--src/module_wrap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/module_wrap.h b/src/module_wrap.h
index dc7726f11d9..58b233d0365 100644
--- a/src/module_wrap.h
+++ b/src/module_wrap.h
@@ -93,9 +93,10 @@ class ModuleWrap : public BaseObject {
const v8::FunctionCallbackInfo<v8::Value>& args);
static void CreateCachedData(const v8::FunctionCallbackInfo<v8::Value>& args);
- static v8::MaybeLocal<v8::Module> ResolveCallback(
+ static v8::MaybeLocal<v8::Module> ResolveModuleCallback(
v8::Local<v8::Context> context,
v8::Local<v8::String> specifier,
+ v8::Local<v8::FixedArray> import_assertions,
v8::Local<v8::Module> referrer);
static ModuleWrap* GetFromModule(node::Environment*, v8::Local<v8::Module>);