Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/csp-header/src/constants/values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export const ALLOW_TOP_NAVIGATION_BY_USER_ACTIVATION = "allow-top-navigation-by-
export const BLOB = 'blob:';
export const BLOCK = "'block'";
export const DATA = 'data:';
export const HTTP = 'http:';
export const HTTPS = 'https:';
export const NO_REFERRER = "'no-referrer'";
export const NONE = "'none'";
export const NONE_WHEN_DOWNGRADE = "'none-when-downgrade'";
Expand All @@ -36,6 +38,8 @@ export const UNSAFE_HASHES = "'unsafe-hashes'";
export const UNSAFE_INLINE = "'unsafe-inline'";
export const UNSAFE_URL = "'unsafe-url'";
export const WASM_UNSAFE_EVAL = "'wasm-unsafe-eval'";
export const WS = 'ws:';
export const WSS = 'wss:';

// @deprecated Use UNSAFE_EVAL
export const EVAL = "'unsafe-eval'";
Expand Down