@netlify/plugin-csp-nonce 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/manifest.yml +11 -0
  2. package/package.json +2 -2
package/manifest.yml ADDED
@@ -0,0 +1,11 @@
1
+ name: netlify-build-plugin-csp-nonce
2
+ inputs:
3
+ - name: reportOnly
4
+ description: When true, uses the Content-Security-Policy-Report-Only header instead of the Content-Security-Policy header.
5
+ default: true
6
+ - name: path
7
+ description: The glob expressions of path(s) that should invoke the CSP nonce edge function. Can be a string or array of strings.
8
+ default: "/*"
9
+ - name: excludedPath
10
+ description: The glob expressions of path(s) that *should not* invoke the CSP nonce edge function. Must be an array of strings. This value gets spread with common non-html filetype extensions (*.css, *.js, *.svg, etc)
11
+ default: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/plugin-csp-nonce",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Use a nonce for the script-src and style-src directives of your Content Security Policy.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -12,7 +12,7 @@
12
12
  "type": "module",
13
13
  "files": [
14
14
  "index.js",
15
- "manifest.yaml",
15
+ "manifest.yml",
16
16
  "src/*"
17
17
  ],
18
18
  "devDependencies": {