diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-01-30 13:29:59 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-06-10 11:10:51 +0200 |
commit | 353ee7e1aedf55ca97dfb506b890fc008aa70d46 (patch) | |
tree | c91562fbabb11f17cab3960613a06d41a85ab02f /deps/v8 | |
parent | 15800aadfc90c9827db218619db88c63dc9674ec (diff) | |
download | node-new-353ee7e1aedf55ca97dfb506b890fc008aa70d46.tar.gz |
deps: silence irrelevant V8 warnings
PR-URL: https://github.com/nodejs/node/pull/37587
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8')
-rw-r--r-- | deps/v8/include/v8.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index 0737d86bdc..6e02e2a1d7 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -1653,7 +1653,7 @@ class V8_EXPORT Module : public Data { */ int GetIdentityHash() const; - using ResolveCallback V8_DEPRECATE_SOON("Use ResolveModuleCallback") = + using ResolveCallback = MaybeLocal<Module> (*)(Local<Context> context, Local<String> specifier, Local<Module> referrer); using ResolveModuleCallback = MaybeLocal<Module> (*)( @@ -7287,8 +7287,7 @@ using CallCompletedCallback = void (*)(Isolate*); * fails (e.g. due to stack overflow), the embedder must propagate * that exception by returning an empty MaybeLocal. */ -using HostImportModuleDynamicallyCallback V8_DEPRECATE_SOON( - "Use HostImportModuleDynamicallyWithImportAssertionsCallback instead") = +using HostImportModuleDynamicallyCallback = MaybeLocal<Promise> (*)(Local<Context> context, Local<ScriptOrModule> referrer, Local<String> specifier); |