@nutin/cli 1.2.2 → 1.2.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## V1.2.3
4
+
5
+ - `nginx.conf` : fixed multi-line CSP map warning (single line map)
6
+
3
7
  ## V1.2.2
4
8
 
5
9
  - Fixed Nginx security headers in child location blocks.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutin/cli",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Build SPAs by understanding SPAs. A minimal frontend toolkit crafted for learning and lean applications.",
5
5
  "preferGlobal": true,
6
6
  "main": "lib/index.mjs",
@@ -22,16 +22,7 @@ map $uri $permissions_policy {
22
22
  }
23
23
 
24
24
  map $uri $csp_policy {
25
- default "default-src 'self'; \
26
- script-src 'self'; \
27
- style-src 'self' 'unsafe-inline'; \
28
- img-src 'self' data: https:; \
29
- font-src 'self'; \
30
- connect-src 'self'; \
31
- object-src 'none'; \
32
- base-uri 'self'; \
33
- form-action 'self'; \
34
- frame-ancestors 'none';";
25
+ default "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self'; connect-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none';";
35
26
  }
36
27
 
37
28
  server {