csp-header
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -5,2 +5,3 @@ export declare const NONE = "'none'"; | ||
export declare const EVAL = "'unsafe-eval'"; | ||
export declare const HASHES = "'unsafe-hashes'"; | ||
export declare const DATA = "data:"; | ||
@@ -45,3 +46,7 @@ export declare const BLOB = "blob:"; | ||
'script-src': string; | ||
'script-src-attr': string; | ||
'script-src-elem': string; | ||
'style-src': string; | ||
'style-src-elem': string; | ||
'style-src-attr': string; | ||
'worker-src': string; | ||
@@ -78,4 +83,8 @@ }; | ||
'script-src': string; | ||
'script-src-attr': string; | ||
'script-src-elem': string; | ||
'style-src': string; | ||
'style-src-elem': string; | ||
'style-src-attr': string; | ||
'worker-src': string; | ||
}; |
@@ -8,2 +8,3 @@ "use strict"; | ||
exports.EVAL = "'unsafe-eval'"; | ||
exports.HASHES = "'unsafe-hashes'"; | ||
exports.DATA = 'data:'; | ||
@@ -51,3 +52,7 @@ exports.BLOB = 'blob:'; | ||
'script-src': 'script-src', | ||
'script-src-attr': 'script-src-attr', | ||
'script-src-elem': 'script-src-elem', | ||
'style-src': 'style-src', | ||
'style-src-elem': 'style-src-elem', | ||
'style-src-attr': 'style-src-attr', | ||
'worker-src': 'worker-src' | ||
@@ -54,0 +59,0 @@ }; |
{ | ||
"name": "csp-header", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "Content-Security-Policy header generator", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -6,2 +6,3 @@ // General values | ||
export const EVAL = "'unsafe-eval'"; | ||
export const HASHES = "'unsafe-hashes'"; | ||
export const DATA = 'data:'; | ||
@@ -54,3 +55,7 @@ export const BLOB = 'blob:'; | ||
'script-src': 'script-src', | ||
'script-src-attr': 'script-src-attr', | ||
'script-src-elem': 'script-src-elem', | ||
'style-src': 'style-src', | ||
'style-src-elem': 'style-src-elem', | ||
'style-src-attr': 'style-src-attr', | ||
'worker-src': 'worker-src' | ||
@@ -57,0 +62,0 @@ }; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25968
507