From f7ad4a38c5ecb160a559c03ffa81f432c9aeb59f Mon Sep 17 00:00:00 2001 From: Florian Schwalm Date: Wed, 20 Dec 2023 11:58:27 +0100 Subject: [PATCH 1/2] fix: Update parseJson() for v8 11.7.72 and newer Fixes #2355 Root cause: https://chromium-review.googlesource.com/c/v8/v8/+/4652014 --- lib/runtime/parseJson.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime/parseJson.ts b/lib/runtime/parseJson.ts index 92579afeb..c26b2793b 100644 --- a/lib/runtime/parseJson.ts +++ b/lib/runtime/parseJson.ts @@ -1,4 +1,4 @@ -const rxParseJson = /position\s(\d+)$/ +const rxParseJson = /position\s(\d+)(?: \(line \d+ column \d+\))?$/ export function parseJson(s: string, pos: number): unknown { let endPos: number | undefined From 3f8b64410dbc3e8a507b64afee2c8132209ab727 Mon Sep 17 00:00:00 2001 From: Jason Ian Green Date: Fri, 16 Feb 2024 17:35:48 +0000 Subject: [PATCH 2/2] fix: #2330 fixed by removing node 14 (#2379) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45fdb2a07..8ab3775ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v2 @@ -23,7 +23,7 @@ jobs: - run: npm install - run: git submodule update --init - name: update website - if: ${{ github.event_name == 'push' && matrix.node-version == '14.x' }} + if: ${{ github.event_name == 'push' && matrix.node-version == '16.x' }} run: ./scripts/publish-site env: GH_TOKEN_PUBLIC: ${{ secrets.GH_TOKEN_PUBLIC }}