From 77784800b252ce1b03d6a5fda3c8bfde31bf7b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 29 Aug 2025 12:59:47 +0200 Subject: [PATCH] src: use non-deprecated Get/SetPrototype methods Refs: https://github.com/v8/v8/commit/5e139e98d1e4d8bbcccf7b15cd8e7d08b28e4a81 --- src/node_sqlite.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node_sqlite.cc b/src/node_sqlite.cc index d941ccca998c09..2a214ad8d3b135 100644 --- a/src/node_sqlite.cc +++ b/src/node_sqlite.cc @@ -2111,9 +2111,9 @@ void StatementSync::Iterate(const FunctionCallbackInfo& args) { StatementSyncIterator::Create(env, BaseObjectPtr(stmt)); if (iter->object() - ->GetPrototype() + ->GetPrototypeV2() .As() - ->SetPrototype(context, js_iterator_prototype) + ->SetPrototypeV2(context, js_iterator_prototype) .IsNothing()) { return; }