@middy/http-security-headers
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -31,6 +31,32 @@ import middy from '@middy/core' | ||
} | ||
contentSecurityPolicy?: Record<string, string> | ||
crossOriginEmbedderPolicy?: { | ||
policy?: string | ||
} | ||
crossOriginOpenerPolicy?: { | ||
policy?: string | ||
} | ||
crossOriginResourcePolicy?: { | ||
policy?: string | ||
} | ||
permissionsPolicy?: Record<string, string> | ||
permittedCrossDomainPolicies?: { | ||
policy?: string | ||
} | ||
reportTo?: { | ||
maxAge?: number | ||
default?: string | ||
includeSubdomains?: boolean | ||
csp?: string | ||
staple?: string | ||
xss?: string | ||
} | ||
} | ||
declare function httpSecurityHeaders (options?: Options): middy.MiddlewareObj | ||
type WithFalseValues<T> = { [K in keyof T]: T[K] | false } | ||
declare function httpSecurityHeaders ( | ||
options?: WithFalseValues<Options> | ||
): middy.MiddlewareObj | ||
export default httpSecurityHeaders |
{ | ||
"name": "@middy/http-security-headers", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Applies best practice security headers to responses. It's a simplified port of HelmetJS", | ||
@@ -67,9 +67,9 @@ "type": "module", | ||
"homepage": "https://middy.js.org", | ||
"gitHead": "ac46270daa388b52a81472ae8f9b8808a0136940", | ||
"gitHead": "b4169ec20b798650e934a7c25ee80ae98d11e03a", | ||
"dependencies": { | ||
"@middy/util": "3.2.0" | ||
"@middy/util": "3.2.1" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "3.2.0" | ||
"@middy/core": "3.2.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
23615
499
+ Added@middy/util@3.2.1(transitive)
- Removed@middy/util@3.2.0(transitive)
Updated@middy/util@3.2.1