From 1bd1f123a3a9aa7549faae5f86cf52e51680ff2b Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Wed, 10 Sep 2025 16:25:58 +0800 Subject: [PATCH] Upgrade v8 Depends on https://github.com/lightpanda-io/zig-v8-fork/pull/93 --- build.zig.zon | 6 +++--- src/runtime/test_object_types.zig | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index 5acbf006..396c8ce9 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -5,9 +5,9 @@ .fingerprint = 0xda130f3af836cea0, .dependencies = .{ .v8 = .{ - .url = "https://github.com/lightpanda-io/zig-v8-fork/archive/d3040a953e5a37290dae20e7ddf138b7aeb5e67d.tar.gz", - .hash = "v8-0.0.0-xddH6w_EAwA8vK0NAxfxfI7IcbnpkUAcXKNujn7qwnmY", + .url = "https://github.com/lightpanda-io/zig-v8-fork/archive/bad207becebbf3760b80714277002f6fc2ac2d7b.tar.gz", + .hash = "v8-0.0.0-xddH6-PBAwD-PIIBTMgUv9ZfAMyCfGeXg61moiNN4qwV", }, - //.v8 = .{ .path = "../zig-v8-fork" } + // .v8 = .{ .path = "../zig-v8-fork" } }, } diff --git a/src/runtime/test_object_types.zig b/src/runtime/test_object_types.zig index ebf750f4..a1b6a474 100644 --- a/src/runtime/test_object_types.zig +++ b/src/runtime/test_object_types.zig @@ -210,8 +210,8 @@ test "JS: object types" { defer runner.deinit(); - // v8 has 5 default "own" properties - const own_base = "5"; + // v8 has 3 default "own" properties + const own_base = "3"; try runner.testCases(&.{ .{ "Object.getOwnPropertyNames(MyObject).length;", own_base },