Merge pull request #1037 from lightpanda-io/upgrade_v8
Some checks failed
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled

Upgrade v8
This commit is contained in:
Karl Seguin
2025-09-12 08:29:20 +08:00
committed by GitHub
4 changed files with 9 additions and 9 deletions

View File

@@ -17,11 +17,11 @@ inputs:
zig-v8: zig-v8:
description: 'zig v8 version to install' description: 'zig v8 version to install'
required: false required: false
default: 'v0.1.28' default: 'v0.1.30'
v8: v8:
description: 'v8 version to install' description: 'v8 version to install'
required: false required: false
default: '13.6.233.8' default: '14.0.365.4'
cache-dir: cache-dir:
description: 'cache dir to use' description: 'cache dir to use'
required: false required: false

View File

@@ -3,8 +3,8 @@ FROM debian:stable
ARG MINISIG=0.12 ARG MINISIG=0.12
ARG ZIG=0.15.1 ARG ZIG=0.15.1
ARG ZIG_MINISIG=RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U ARG ZIG_MINISIG=RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U
ARG V8=13.6.233.8 ARG V8=14.0.365.4
ARG ZIG_V8=v0.1.28 ARG ZIG_V8=v0.1.30
ARG TARGETPLATFORM ARG TARGETPLATFORM
RUN apt-get update -yq && \ RUN apt-get update -yq && \

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/7177ee1ae267a44751a0e7e012e257177699a375.tar.gz",
.hash = "v8-0.0.0-xddH6w_EAwA8vK0NAxfxfI7IcbnpkUAcXKNujn7qwnmY", .hash = "v8-0.0.0-xddH63TCAwC1D1hEiOtbEnLBbtz9ZPHrdiGWLcBcYQB7",
}, },
//.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 },