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>
PR-URL: https://github.com/nodejs/node/pull/52465
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
Michaël Zasso
2024-03-11 10:30:53 +00:00
committed by Node.js GitHub Bot
parent c046e0785e
commit 84aeeff06a
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.6',
'v8_embedder_string': '-node.7',
##### 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;