From f12005bc4b0ed0b0e2f0a9ffdde2dc7fbe67d63e Mon Sep 17 00:00:00 2001 From: Clemens Backes Date: Wed, 26 Nov 2025 12:06:55 +0100 Subject: [PATCH] [node][wasm] Avoid deprecated API Use the new API which gets a `ModuleCachingCallback` parameter. The old API is deprecated and will soon be removed, see https://crrev.com/c/7078551. --- src/node_wasm_web_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_wasm_web_api.cc b/src/node_wasm_web_api.cc index 365edbe3c2e1b4..a1e52726f3a7d0 100644 --- a/src/node_wasm_web_api.cc +++ b/src/node_wasm_web_api.cc @@ -132,7 +132,7 @@ void WasmStreamingObject::Finish(const FunctionCallbackInfo& args) { CHECK(obj->streaming_); CHECK_EQ(args.Length(), 0); - obj->streaming_->Finish(); + obj->streaming_->Finish(WasmStreaming::ModuleCachingCallback{}); } void WasmStreamingObject::Abort(const FunctionCallbackInfo& args) {