Upgrade v8

Depends on https://github.com/lightpanda-io/zig-v8-fork/pull/93
This commit is contained in:
Karl Seguin
2025-09-10 16:25:58 +08:00
parent 44c072dcbb
commit 1bd1f123a3
2 changed files with 5 additions and 5 deletions

View File

@@ -5,9 +5,9 @@
.fingerprint = 0xda130f3af836cea0, .fingerprint = 0xda130f3af836cea0,
.dependencies = .{ .dependencies = .{
.v8 = .{ .v8 = .{
.url = "https://github.com/lightpanda-io/zig-v8-fork/archive/d3040a953e5a37290dae20e7ddf138b7aeb5e67d.tar.gz", .url = "https://github.com/lightpanda-io/zig-v8-fork/archive/bad207becebbf3760b80714277002f6fc2ac2d7b.tar.gz",
.hash = "v8-0.0.0-xddH6w_EAwA8vK0NAxfxfI7IcbnpkUAcXKNujn7qwnmY", .hash = "v8-0.0.0-xddH6-PBAwD-PIIBTMgUv9ZfAMyCfGeXg61moiNN4qwV",
}, },
//.v8 = .{ .path = "../zig-v8-fork" } // .v8 = .{ .path = "../zig-v8-fork" }
}, },
} }

View File

@@ -210,8 +210,8 @@ test "JS: object types" {
defer runner.deinit(); defer runner.deinit();
// v8 has 5 default "own" properties // v8 has 3 default "own" properties
const own_base = "5"; const own_base = "3";
try runner.testCases(&.{ try runner.testCases(&.{
.{ "Object.getOwnPropertyNames(MyObject).length;", own_base }, .{ "Object.getOwnPropertyNames(MyObject).length;", own_base },