@netlify/plugin-csp-nonce 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@netlify/plugin-csp-nonce",
4
- "version": "1.5.1",
4
+ "version": "1.5.2",
5
5
  "description": "Use a nonce for the script-src and style-src directives of your Content Security Policy.",
6
6
  "main": "index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  // @ts-ignore cannot find module
2
2
  import type { Config, Context } from "netlify:edge";
3
3
  // @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";
5
5
 
6
6
  // Using `import ... with ...` syntax directly fails due to the node 18 type-checking we're running on this file,
7
7
  // but this syntax works fine in deno 1.46.3 and 2.x which is what the functions are bundled and run with.