diff --git a/common.gypi b/common.gypi index 70006682bcb..35495c82857 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,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.4', + 'v8_embedder_string': '-node.5', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/include/v8-persistent-handle.h b/deps/v8/include/v8-persistent-handle.h index 4fe79862e40..dbda4edb9ba 100644 --- a/deps/v8/include/v8-persistent-handle.h +++ b/deps/v8/include/v8-persistent-handle.h @@ -252,7 +252,7 @@ class NonCopyablePersistentTraits { * This will clone the contents of storage cell, but not any of the flags, etc. */ template -struct V8_DEPRECATED("Use v8::Global instead") CopyablePersistentTraits { +struct CopyablePersistentTraits { using CopyablePersistent = Persistent>; static const bool kResetInDestructor = true; template