diff --git a/src/async-wrap.cc b/src/async-wrap.cc index 8129500a922..79631b1ec14 100644 --- a/src/async-wrap.cc +++ b/src/async-wrap.cc @@ -8,7 +8,6 @@ #include "v8.h" #include "v8-profiler.h" -using v8::Array; using v8::Boolean; using v8::Context; using v8::Function; diff --git a/src/env.cc b/src/env.cc index ea0ab51cfe9..12be4866aac 100644 --- a/src/env.cc +++ b/src/env.cc @@ -17,7 +17,6 @@ using v8::Local; using v8::Message; using v8::StackFrame; using v8::StackTrace; -using v8::TryCatch; using v8::Value; void Environment::PrintSyncTrace() const { diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc index 41c42caa3cc..7a7ce8ae262 100644 --- a/src/handle_wrap.cc +++ b/src/handle_wrap.cc @@ -9,7 +9,6 @@ namespace node { -using v8::Boolean; using v8::Context; using v8::FunctionCallbackInfo; using v8::HandleScope; diff --git a/src/node.cc b/src/node.cc index e7836fe0a6b..2cfb2866b89 100644 --- a/src/node.cc +++ b/src/node.cc @@ -127,8 +127,6 @@ using v8::PromiseRejectMessage; using v8::PropertyCallbackInfo; using v8::ScriptOrigin; using v8::SealHandleScope; -using v8::StackFrame; -using v8::StackTrace; using v8::String; using v8::TryCatch; using v8::Uint32; diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 322cc5f57ce..ea62dc92943 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -71,7 +71,6 @@ using v8::Context; using v8::EscapableHandleScope; using v8::Function; using v8::FunctionCallbackInfo; -using v8::FunctionTemplate; using v8::HandleScope; using v8::Integer; using v8::Isolate; diff --git a/src/node_config.cc b/src/node_config.cc index 408f1d20a3e..84917397744 100644 --- a/src/node_config.cc +++ b/src/node_config.cc @@ -11,8 +11,8 @@ namespace node { using v8::Context; using v8::Local; using v8::Object; -using v8::Value; using v8::ReadOnly; +using v8::Value; // The config binding is used to provide an internal view of compile or runtime // config options that are required internally by lib/*.js code. This is an diff --git a/src/node_contextify.cc b/src/node_contextify.cc index 6586f79bfed..db83660308c 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -11,7 +11,6 @@ namespace node { -using v8::AccessType; using v8::Array; using v8::ArrayBuffer; using v8::Boolean; @@ -30,7 +29,6 @@ using v8::Maybe; using v8::MaybeLocal; using v8::Name; using v8::NamedPropertyHandlerConfiguration; -using v8::None; using v8::Object; using v8::ObjectTemplate; using v8::Persistent; diff --git a/src/node_v8.cc b/src/node_v8.cc index a1122e57f13..04da61677dc 100644 --- a/src/node_v8.cc +++ b/src/node_v8.cc @@ -20,7 +20,6 @@ using v8::NewStringType; using v8::Object; using v8::String; using v8::Uint32; -using v8::Uint32Array; using v8::V8; using v8::Value; diff --git a/src/node_watchdog.cc b/src/node_watchdog.cc index ac9f304926b..dfa7debd9a7 100644 --- a/src/node_watchdog.cc +++ b/src/node_watchdog.cc @@ -4,9 +4,6 @@ namespace node { -using v8::V8; - - Watchdog::Watchdog(v8::Isolate* isolate, uint64_t ms) : isolate_(isolate), destroyed_(false) { int rc; diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc index ec6ef32b08a..25080041c27 100644 --- a/src/pipe_wrap.cc +++ b/src/pipe_wrap.cc @@ -26,7 +26,6 @@ using v8::HandleScope; using v8::Integer; using v8::Local; using v8::Object; -using v8::PropertyAttribute; using v8::String; using v8::Undefined; using v8::Value; diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc index e6236a6e529..695e917e027 100644 --- a/src/stream_wrap.cc +++ b/src/stream_wrap.cc @@ -22,7 +22,6 @@ namespace node { -using v8::Array; using v8::Context; using v8::EscapableHandleScope; using v8::FunctionCallbackInfo; @@ -30,12 +29,8 @@ using v8::FunctionTemplate; using v8::HandleScope; using v8::Integer; using v8::Local; -using v8::Number; using v8::Object; -using v8::PropertyCallbackInfo; -using v8::String; using v8::True; -using v8::Undefined; using v8::Value; diff --git a/src/string_bytes.cc b/src/string_bytes.cc index b8d7d3b42f1..5bd3a21176a 100644 --- a/src/string_bytes.cc +++ b/src/string_bytes.cc @@ -19,10 +19,10 @@ using v8::EscapableHandleScope; using v8::HandleScope; using v8::Isolate; using v8::Local; +using v8::MaybeLocal; using v8::Object; using v8::String; using v8::Value; -using v8::MaybeLocal; template class ExternString: public ResourceType { diff --git a/src/tcp_wrap.cc b/src/tcp_wrap.cc index 4bfe9dd0d83..4e8617af2d0 100644 --- a/src/tcp_wrap.cc +++ b/src/tcp_wrap.cc @@ -27,7 +27,6 @@ using v8::HandleScope; using v8::Integer; using v8::Local; using v8::Object; -using v8::PropertyAttribute; using v8::String; using v8::Undefined; using v8::Value; diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc index ba8f760194d..d4214ed7c3e 100644 --- a/src/tls_wrap.cc +++ b/src/tls_wrap.cc @@ -15,8 +15,8 @@ namespace node { -using crypto::SSLWrap; using crypto::SecureContext; +using crypto::SSLWrap; using v8::Boolean; using v8::Context; using v8::EscapableHandleScope; @@ -24,9 +24,7 @@ using v8::Exception; using v8::Function; using v8::FunctionCallbackInfo; using v8::FunctionTemplate; -using v8::Integer; using v8::Local; -using v8::Null; using v8::Object; using v8::String; using v8::Value; diff --git a/src/tty_wrap.cc b/src/tty_wrap.cc index 567a504276a..5a1d333c3d2 100644 --- a/src/tty_wrap.cc +++ b/src/tty_wrap.cc @@ -21,7 +21,6 @@ using v8::FunctionTemplate; using v8::Integer; using v8::Local; using v8::Object; -using v8::PropertyAttribute; using v8::String; using v8::Value; diff --git a/src/util.cc b/src/util.cc index 20325d0bedb..0de8321e3f5 100644 --- a/src/util.cc +++ b/src/util.cc @@ -6,8 +6,8 @@ namespace node { using v8::Isolate; -using v8::String; using v8::Local; +using v8::String; using v8::Value; static int MakeUtf8String(Isolate* isolate, diff --git a/src/uv.cc b/src/uv.cc index d03e7750083..21520f5cb87 100644 --- a/src/uv.cc +++ b/src/uv.cc @@ -9,8 +9,8 @@ namespace uv { using v8::Context; using v8::FunctionCallbackInfo; using v8::FunctionTemplate; -using v8::Local; using v8::Integer; +using v8::Local; using v8::Object; using v8::String; using v8::Value;