create-prisma-php-app 2.3.2 → 2.3.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.
Files changed (2) hide show
  1. package/dist/.htaccess +6 -7
  2. package/package.json +1 -1
package/dist/.htaccess CHANGED
@@ -32,16 +32,15 @@ RewriteEngine On
32
32
  </FilesMatch>
33
33
  </IfModule>
34
34
 
35
- # Set Content Security Policy (CSP) headers to prevent XSS attacks
35
+ # Set Content Security Policy (CSP) headers to prevent XSS attacks while allowing CDNs
36
36
  <IfModule mod_headers.c>
37
37
  Header set Content-Security-Policy "\
38
- default-src 'self'; \
39
- script-src 'self' blob: 'unsafe-inline' 'unsafe-eval'; \
40
- style-src 'self' 'unsafe-inline'; \
41
- img-src 'self' data:; \
38
+ default-src 'self' https:; \
39
+ script-src 'self' https: 'unsafe-inline' 'unsafe-eval' blob:; \
40
+ style-src 'self' https: 'unsafe-inline'; \
41
+ img-src 'self' data: https:; \
42
42
  form-action 'self'; \
43
- object-src 'none';\
44
- "
43
+ object-src 'none';"
45
44
  </IfModule>
46
45
 
47
46
  # Add important security headers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",