Skip to content

Commit 175ea1e

Browse files
committed
fix: update to [email protected]
this version reduces the package size by ~30kb by updating to the latest lol-html package which includes significant performance improvements and code size reductions netlify/csp_nonce_html_transformer#28
1 parent 48611a1 commit 175ea1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__csp-nonce.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @ts-ignore cannot find module
22
import type { Config, Context } from "netlify:edge";
33
// @ts-ignore cannot find module
4-
import { csp } from "https://deno.land/x/csp_nonce_html_transformer@v2.2.2/src/index-embedded-wasm.ts";
4+
import { csp } from "https://deno.land/x/csp_nonce_html_transformer@v2.3.0/src/index-embedded-wasm.ts";
55

66
// Using `import ... with ...` syntax directly fails due to the node 18 type-checking we're running on this file,
77
// but this syntax works fine in deno 1.46.3 and 2.x which is what the functions are bundled and run with.

0 commit comments

Comments
 (0)