deps: silence internal V8 deprecation warning

PR-URL: https://github.com/nodejs/node/pull/52293
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
pull/52505/head
Michaël Zasso 2024-03-11 10:30:53 +00:00 committed by marco-ippolito
parent c563a1c4e4
commit 681aaf85c7
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.7',
'v8_embedder_string': '-node.8',
##### V8 defaults for Node.js #####

View File

@ -16,7 +16,7 @@ namespace base {
// These aliases are deprecated, use std::optional directly.
template <typename T>
using Optional [[deprecated]] = std::optional<T>;
using Optional = std::optional<T>;
using std::in_place;
using std::make_optional;