diff --git a/common.gypi b/common.gypi index 76ec9228ac0002..fe7d76503f48ce 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.3', + 'v8_embedder_string': '-node.4', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/include/v8-message.h b/deps/v8/include/v8-message.h index 195ca79bd91d1d..566d830e0da94f 100644 --- a/deps/v8/include/v8-message.h +++ b/deps/v8/include/v8-message.h @@ -58,7 +58,9 @@ class ScriptOriginOptions { */ class V8_EXPORT ScriptOrigin { public: + #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */ V8_DEPRECATE_SOON("Use constructor with primitive C++ types") + #endif ScriptOrigin( Local resource_name, Local resource_line_offset, Local resource_column_offset, @@ -69,7 +71,9 @@ class V8_EXPORT ScriptOrigin { Local is_wasm = Local(), Local is_module = Local(), Local host_defined_options = Local()); + #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */ V8_DEPRECATE_SOON("Use constructor that takes an isolate") + #endif explicit ScriptOrigin( Local resource_name, int resource_line_offset = 0, int resource_column_offset = 0,