@magento/upward-security-headers 1.0.6 → 1.0.7-alpha.1

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/package.json +3 -3
  2. package/upward.yml +20 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magento/upward-security-headers",
3
- "version": "1.0.6",
3
+ "version": "1.0.7-alpha.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -13,8 +13,8 @@
13
13
  "author": "Magento Commerce",
14
14
  "license": "(OSL-3.0 OR AFL-3.0)",
15
15
  "peerDependencies": {
16
- "@magento/pwa-buildpack": "~11.1.0",
17
- "@magento/venia-ui": "~9.2.0",
16
+ "@magento/pwa-buildpack": "11.2.0-alpha.1",
17
+ "@magento/venia-ui": "9.3.0-alpha.1",
18
18
  "webpack": "~4.46.0"
19
19
  },
20
20
  "pwa-studio": {
package/upward.yml CHANGED
@@ -17,9 +17,27 @@ veniaSecurityHeaders:
17
17
  - matches: env.SCRIPT_NAME
18
18
  pattern: '.*\.php$'
19
19
  use:
20
- inline: "script-src http: https: {{ backend }}{{#pageTypeNonce}} 'nonce-{{ pageTypeNonce }}'{{/pageTypeNonce}}; style-src 'self' blob: https: 'unsafe-inline' {{ backend }}; img-src data: http: https:; object-src 'none'; base-uri 'none'; child-src 'self'; font-src 'self' fonts.gstatic.com; frame-src assets.braintreegateway.com *.youtube.com *.youtu.be *.vimeo.com"
20
+ inline: "
21
+ script-src http: https: {{ backend }}{{#pageTypeNonce}} 'nonce-{{ pageTypeNonce }}'{{/pageTypeNonce}};
22
+ style-src 'self' blob: https: 'unsafe-inline' {{ backend }};
23
+ img-src data: http: https:;
24
+ object-src 'none';
25
+ base-uri 'none';
26
+ child-src 'self';
27
+ font-src 'self' fonts.gstatic.com;
28
+ frame-src assets.braintreegateway.com *.google.com *.youtube.com *.youtu.be *.vimeo.com
29
+ "
21
30
  default:
22
- inline: "script-src http: https: {{ backend }}; style-src 'self' blob: https: 'unsafe-inline' {{ backend }}; img-src data: http: https:; object-src 'none'; base-uri 'none'; child-src 'self'; font-src 'self' fonts.gstatic.com; frame-src assets.braintreegateway.com *.youtube.com *.youtu.be *.vimeo.com"
31
+ inline: "
32
+ script-src http: https: {{ backend }};
33
+ style-src 'self' blob: https: 'unsafe-inline' {{ backend }};
34
+ img-src data: http: https:;
35
+ object-src 'none';
36
+ base-uri 'none';
37
+ child-src 'self';
38
+ font-src 'self' fonts.gstatic.com;
39
+ frame-src assets.braintreegateway.com *.google.com *.youtube.com *.youtu.be *.vimeo.com
40
+ "
23
41
  strict-transport-security:
24
42
  inline: max-age=31536000
25
43
  x-content-type-options: