express-csp-header
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -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_ESCAPE_SANDBOX, ALLOW_POPUPS_TO_ESACPE_SANDBOX, ALLOW_PRESENTATION, ALLOW_SAME_ORIGIN, ALLOW_SCRIPTS, ALLOW_TOP_NAVIGATION } from 'csp-header'; | ||
export * from 'csp-header'; | ||
export declare const NONCE = "%nonce%"; | ||
export declare const TLD = "%tld%"; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
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_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"); | ||
Object.defineProperty(exports, "NONE", { enumerable: true, get: function () { return csp_header_1.NONE; } }); | ||
Object.defineProperty(exports, "SELF", { enumerable: true, get: function () { return csp_header_1.SELF; } }); | ||
Object.defineProperty(exports, "INLINE", { enumerable: true, get: function () { return csp_header_1.INLINE; } }); | ||
Object.defineProperty(exports, "HASHES", { enumerable: true, get: function () { return csp_header_1.HASHES; } }); | ||
Object.defineProperty(exports, "EVAL", { enumerable: true, get: function () { return csp_header_1.EVAL; } }); | ||
Object.defineProperty(exports, "DATA", { enumerable: true, get: function () { return csp_header_1.DATA; } }); | ||
Object.defineProperty(exports, "BLOB", { enumerable: true, get: function () { return csp_header_1.BLOB; } }); | ||
Object.defineProperty(exports, "STRICT_DYNAMIC", { enumerable: true, get: function () { return csp_header_1.STRICT_DYNAMIC; } }); | ||
Object.defineProperty(exports, "NO_REFERER", { enumerable: true, get: function () { return csp_header_1.NO_REFERER; } }); | ||
Object.defineProperty(exports, "NONE_WHEN_DOWNGRADE", { enumerable: true, get: function () { return csp_header_1.NONE_WHEN_DOWNGRADE; } }); | ||
Object.defineProperty(exports, "ORIGIN", { enumerable: true, get: function () { return csp_header_1.ORIGIN; } }); | ||
Object.defineProperty(exports, "ORIGIN_WHEN_CROSS_ORIGIN", { enumerable: true, get: function () { return csp_header_1.ORIGIN_WHEN_CROSS_ORIGIN; } }); | ||
Object.defineProperty(exports, "UNSAFE_URL", { enumerable: true, get: function () { return csp_header_1.UNSAFE_URL; } }); | ||
Object.defineProperty(exports, "ALLOW_FORMS", { enumerable: true, get: function () { return csp_header_1.ALLOW_FORMS; } }); | ||
Object.defineProperty(exports, "ALLOW_MODALS", { enumerable: true, get: function () { return csp_header_1.ALLOW_MODALS; } }); | ||
Object.defineProperty(exports, "ALLOW_ORIENTATION_LOCK", { enumerable: true, get: function () { return csp_header_1.ALLOW_ORIENTATION_LOCK; } }); | ||
Object.defineProperty(exports, "ALLOW_POINTER_LOCK", { enumerable: true, get: function () { return csp_header_1.ALLOW_POINTER_LOCK; } }); | ||
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; } }); | ||
Object.defineProperty(exports, "ALLOW_PRESENTATION", { enumerable: true, get: function () { return csp_header_1.ALLOW_PRESENTATION; } }); | ||
Object.defineProperty(exports, "ALLOW_SAME_ORIGIN", { enumerable: true, get: function () { return csp_header_1.ALLOW_SAME_ORIGIN; } }); | ||
Object.defineProperty(exports, "ALLOW_SCRIPTS", { enumerable: true, get: function () { return csp_header_1.ALLOW_SCRIPTS; } }); | ||
Object.defineProperty(exports, "ALLOW_TOP_NAVIGATION", { enumerable: true, get: function () { return csp_header_1.ALLOW_TOP_NAVIGATION; } }); | ||
exports.TLD = exports.NONCE = void 0; | ||
__exportStar(require("csp-header"), exports); | ||
exports.NONCE = '%nonce%'; | ||
exports.TLD = '%tld%'; | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "express-csp-header", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "Content-Security-Policy middleware for Express", | ||
@@ -35,5 +35,5 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"csp-header": "^5.2.0", | ||
"csp-header": "^5.2.1", | ||
"psl": "1.8.0" | ||
} | ||
} |
@@ -1,29 +0,4 @@ | ||
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 * from 'csp-header'; | ||
export const NONCE = '%nonce%'; | ||
export const TLD = '%tld%'; |
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
1
25008
466
Updatedcsp-header@^5.2.1