chore: bump node to v22.16.0 (37-x-y) (#47216)

This commit is contained in:
electron-roller[bot] 2025-06-04 05:34:16 +02:00 committed by GitHub
commit bdcf09861e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 177 additions and 223 deletions

View file

@ -125,10 +125,10 @@ void ElectronSandboxedRendererClient::DidCreateScriptContext(
auto binding = v8::Object::New(isolate);
InitializeBindings(binding, context, render_frame);
std::vector<v8::Local<v8::String>> sandbox_preload_bundle_params = {
node::FIXED_ONE_BYTE_STRING(isolate, "binding")};
v8::LocalVector<v8::String> sandbox_preload_bundle_params(
isolate, {node::FIXED_ONE_BYTE_STRING(isolate, "binding")});
std::vector<v8::Local<v8::Value>> sandbox_preload_bundle_args = {binding};
v8::LocalVector<v8::Value> sandbox_preload_bundle_args(isolate, {binding});
util::CompileAndCall(
isolate->GetCurrentContext(), "electron/js2c/sandbox_bundle",