From 9071e1f5fd60172779f12254b70e7e9a93e2b1c1 Mon Sep 17 00:00:00 2001
From: Peter Marshall
Date: Tue, 6 Nov 2018 18:18:09 +0100
Subject: [PATCH] deps: partially revert 'increase V8 deprecation levels'
---
common.gypi | 2 +-
deps/v8/include/v8.h | 44 ++++++++++++++++++++++----------------------
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/common.gypi b/common.gypi
index 14c6b5ae9f8463..d1492ac9f996c9 100644
--- a/common.gypi
+++ b/common.gypi
@@ -33,7 +33,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.36',
+ 'v8_embedder_string': '-node.37',
# Enable disassembler for `--print-code` v8 options
'v8_enable_disassembler': 1,
diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h
index 55ad7c8cf220cc..a5aaf2d6842dde 100644
--- a/deps/v8/include/v8.h
+++ b/deps/v8/include/v8.h
@@ -1019,9 +1019,9 @@ class V8_EXPORT PrimitiveArray {
public:
static Local New(Isolate* isolate, int length);
int Length() const;
- V8_DEPRECATED("Use Isolate* version",
+ V8_DEPRECATE_SOON("Use Isolate* version",
void Set(int index, Local item));
- V8_DEPRECATED("Use Isolate* version",
+ V8_DEPRECATE_SOON("Use Isolate* version",
Local Get(int index));
void Set(Isolate* isolate, int index, Local item);
Local Get(Isolate* isolate, int index);
@@ -1739,8 +1739,8 @@ class V8_EXPORT StackTrace {
/**
* Returns a StackFrame at a particular index.
*/
- V8_DEPRECATED("Use Isolate version",
- Local GetFrame(uint32_t index) const);
+ V8_DEPRECATE_SOON("Use Isolate version",
+ Local GetFrame(uint32_t index) const);
Local GetFrame(Isolate* isolate, uint32_t index) const;
/**
@@ -2451,7 +2451,7 @@ class V8_EXPORT Value : public Data {
inline V8_DEPRECATED("Use maybe version",
Local ToBoolean() const);
- inline V8_DEPRECATED("Use maybe version", Local ToString() const);
+ inline V8_DEPRECATE_SOON("Use maybe version", Local ToString() const);
inline V8_DEPRECATED("Use maybe version", Local