-
-
Couldn't load subscription status.
- Fork 33.6k
Closed
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
The latest canary update uncovered a few new deprecations from V8.
I didn't check, but those can probably already be fixed on master.
-
v8::Message::GetLineNumber()innode.cc:- To be replaced with
Maybe<int> GetLineNumber(Local<Context> context)
../src/node.cc:1273:40: warning: ‘int v8::Message::GetLineNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int linenum = message->GetLineNumber(); ^ - To be replaced with
-
v8::Message::GetSourceLine()innode.cc:- To be replaced with
MaybeLocal<String> GetSourceLine(Local<Context> context)
../src/node.cc:1275:69: warning: ‘v8::Local<v8::String> v8::Message::GetSourceLine() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] node::Utf8Value sourceline(env->isolate(), message->GetSourceLine()); ^ - To be replaced with
-
v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)innode.cc,node_api.cc,node_buffer.cc,node_v8.ccandnode_crypto.cc:- To be replaced with
Utf8Value(Isolate* isolate, Local<v8::Value> obj)
../src/node.cc:1423:35: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value message(er); ^../src/node_api.cc:3323:63: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] *v8::String::Utf8Value(async_resource_name)), ^../src/node_buffer.cc:990:42: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value needle_value(needle); ^../src/node_v8.cc:117:34: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value flags(args[0]); ^../src/node_crypto.cc:4176:21: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value passphrase(args[3]); ^~~~~~~~~~ - To be replaced with
-
v8::Script::Run()innode.ccandnode_contextify.cc:- To be replaced with
MaybeLocal<Value> Run(Local<Context> context)
../src/node.cc:1475:54: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Value> result = script.ToLocalChecked()->Run(); ^../src/node_contextify.cc:1079:28: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] result = script->Run(); ^../src/node_contextify.cc:1082:28: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] result = script->Run(); ^../src/node_contextify.cc:1085:28: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] result = script->Run(); ^../src/node_contextify.cc:1087:28: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] result = script->Run(); ^ - To be replaced with
-
v8::String::Value::Value(v8::Local<v8::Value>)innode_buffer.cc,string_bytes.ccandinspector_js_api.cc:- To be replaced with
Value(Isolate* isolate, Local<v8::Value> obj)
../src/node_buffer.cc:957:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Value needle_value(needle); ^../src/string_bytes.cc:372:32: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Value value(str); ^../src/string_bytes.cc:383:32: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Value value(str); ^../src/string_bytes.cc:482:30: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Value value(str); ^../src/inspector_js_api.cc:241:42: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Value task_name_value(task_name); ^ - To be replaced with
bricss and ChALkeR
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.