express-csp-header
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -1,3 +0,3 @@ | ||
export { NONE, SELF, INLINE, HASHES, EVAL, DATA, BLOB, STRICT_DYNAMIC, NO_REFERER, NONE_WHEN_DOWNGRADE, ORIGIN, ORIGIN_WHEN_CROSS_ORIGIN, UNSAFE_URL, ALLOW_FORMS, ALLOW_MODALS, ALLOW_ORIENTATION_LOCK, ALLOW_POINTER_LOCK, ALLOW_POPUPS, ALLOW_POPUPS_TO_ESACPE_SANDBOX, ALLOW_PRESENTATION, ALLOW_SAME_ORIGIN, ALLOW_SCRIPTS, ALLOW_TOP_NAVIGATION } from 'csp-header'; | ||
export { NONE, SELF, INLINE, HASHES, EVAL, DATA, BLOB, STRICT_DYNAMIC, NO_REFERER, NONE_WHEN_DOWNGRADE, ORIGIN, ORIGIN_WHEN_CROSS_ORIGIN, UNSAFE_URL, ALLOW_FORMS, ALLOW_MODALS, ALLOW_ORIENTATION_LOCK, ALLOW_POINTER_LOCK, ALLOW_POPUPS, ALLOW_POPUPS_TO_ESCAPE_SANDBOX, ALLOW_POPUPS_TO_ESACPE_SANDBOX, ALLOW_PRESENTATION, ALLOW_SAME_ORIGIN, ALLOW_SCRIPTS, ALLOW_TOP_NAVIGATION } from 'csp-header'; | ||
export declare const NONCE = "%nonce%"; | ||
export declare const TLD = "%tld%"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TLD = exports.NONCE = exports.ALLOW_TOP_NAVIGATION = exports.ALLOW_SCRIPTS = exports.ALLOW_SAME_ORIGIN = exports.ALLOW_PRESENTATION = exports.ALLOW_POPUPS_TO_ESACPE_SANDBOX = exports.ALLOW_POPUPS = exports.ALLOW_POINTER_LOCK = exports.ALLOW_ORIENTATION_LOCK = exports.ALLOW_MODALS = exports.ALLOW_FORMS = exports.UNSAFE_URL = exports.ORIGIN_WHEN_CROSS_ORIGIN = exports.ORIGIN = exports.NONE_WHEN_DOWNGRADE = exports.NO_REFERER = exports.STRICT_DYNAMIC = exports.BLOB = exports.DATA = exports.EVAL = exports.HASHES = exports.INLINE = exports.SELF = exports.NONE = void 0; | ||
exports.TLD = exports.NONCE = exports.ALLOW_TOP_NAVIGATION = exports.ALLOW_SCRIPTS = exports.ALLOW_SAME_ORIGIN = exports.ALLOW_PRESENTATION = exports.ALLOW_POPUPS_TO_ESACPE_SANDBOX = exports.ALLOW_POPUPS_TO_ESCAPE_SANDBOX = exports.ALLOW_POPUPS = exports.ALLOW_POINTER_LOCK = exports.ALLOW_ORIENTATION_LOCK = exports.ALLOW_MODALS = exports.ALLOW_FORMS = exports.UNSAFE_URL = exports.ORIGIN_WHEN_CROSS_ORIGIN = exports.ORIGIN = exports.NONE_WHEN_DOWNGRADE = exports.NO_REFERER = exports.STRICT_DYNAMIC = exports.BLOB = exports.DATA = exports.EVAL = exports.HASHES = exports.INLINE = exports.SELF = exports.NONE = void 0; | ||
var csp_header_1 = require("csp-header"); | ||
@@ -23,2 +23,3 @@ Object.defineProperty(exports, "NONE", { enumerable: true, get: function () { return csp_header_1.NONE; } }); | ||
Object.defineProperty(exports, "ALLOW_POPUPS", { enumerable: true, get: function () { return csp_header_1.ALLOW_POPUPS; } }); | ||
Object.defineProperty(exports, "ALLOW_POPUPS_TO_ESCAPE_SANDBOX", { enumerable: true, get: function () { return csp_header_1.ALLOW_POPUPS_TO_ESCAPE_SANDBOX; } }); | ||
Object.defineProperty(exports, "ALLOW_POPUPS_TO_ESACPE_SANDBOX", { enumerable: true, get: function () { return csp_header_1.ALLOW_POPUPS_TO_ESACPE_SANDBOX; } }); | ||
@@ -25,0 +26,0 @@ Object.defineProperty(exports, "ALLOW_PRESENTATION", { enumerable: true, get: function () { return csp_header_1.ALLOW_PRESENTATION; } }); |
{ | ||
"name": "express-csp-header", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "Content-Security-Policy middleware for Express", | ||
@@ -35,5 +35,5 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"csp-header": "^5.0.0", | ||
"csp-header": "^5.1.0", | ||
"psl": "1.8.0" | ||
} | ||
} |
@@ -20,2 +20,3 @@ export { | ||
ALLOW_POPUPS, | ||
ALLOW_POPUPS_TO_ESCAPE_SANDBOX, | ||
ALLOW_POPUPS_TO_ESACPE_SANDBOX, | ||
@@ -22,0 +23,0 @@ ALLOW_PRESENTATION, |
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
29439
508
Updatedcsp-header@^5.1.0