From a007acd04b474e711a5d4548ac2fc9d9ba0724ae Mon Sep 17 00:00:00 2001 From: jake champion Date: Fri, 30 Jan 2026 09:35:21 +0000 Subject: [PATCH 1/2] fix: update node version to 22 in CI workflow --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9661cc9..1d67a4e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 22 cache: npm - run: npm install netlify-cli -g - run: npm install From 69cfac7047d7d5f97775810c5374f1bbb37870eb Mon Sep 17 00:00:00 2001 From: jake champion Date: Thu, 29 Jan 2026 11:40:42 +0000 Subject: [PATCH 2/2] fix: update csp_nonce_html_transformer to v2.4.0 --- src/__csp-nonce.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__csp-nonce.ts b/src/__csp-nonce.ts index 8472705..35a2597 100644 --- a/src/__csp-nonce.ts +++ b/src/__csp-nonce.ts @@ -1,7 +1,7 @@ // @ts-ignore cannot find module import type { Config, Context } from "netlify:edge"; // @ts-ignore cannot find module -import { csp } from "https://deno.land/x/csp_nonce_html_transformer@v2.3.0/src/index-embedded-wasm.ts"; +import { csp } from "https://deno.land/x/csp_nonce_html_transformer@v2.4.0/src/index-embedded-wasm.ts"; // Using `import ... with ...` syntax directly fails due to the node 18 type-checking we're running on this file, // but this syntax works fine in deno 1.46.3 and 2.x which is what the functions are bundled and run with.