Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: use non-deprecated Get/SetPrototype methods
  • Loading branch information
targos committed Aug 29, 2025
commit 77784800b252ce1b03d6a5fda3c8bfde31bf7b68
4 changes: 2 additions & 2 deletions src/node_sqlite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2111,9 +2111,9 @@ void StatementSync::Iterate(const FunctionCallbackInfo<Value>& args) {
StatementSyncIterator::Create(env, BaseObjectPtr<StatementSync>(stmt));

if (iter->object()
->GetPrototype()
->GetPrototypeV2()
.As<Object>()
->SetPrototype(context, js_iterator_prototype)
->SetPrototypeV2(context, js_iterator_prototype)
.IsNothing()) {
return;
}
Expand Down