helmet-crossdomain
Advanced tools
Comparing version 0.4.0 to 0.5.0
# Changelog | ||
## 0.5.0 - 2019-09-01 | ||
## Changed | ||
- Dropped support for Node <8 | ||
## 0.4.0 - 2019-06-15 | ||
@@ -4,0 +8,0 @@ ### Added |
/// <reference types="node" /> | ||
import { IncomingMessage, ServerResponse } from 'http'; | ||
interface CrossDomainOptions { | ||
interface CrossdomainOptions { | ||
permittedPolicies?: string; | ||
} | ||
declare const _default: (options?: CrossDomainOptions) => (_req: IncomingMessage, res: ServerResponse, next: () => void) => void; | ||
declare const _default: (options?: CrossdomainOptions) => (_req: IncomingMessage, res: ServerResponse, next: () => void) => void; | ||
export = _default; |
@@ -5,3 +5,3 @@ { | ||
"description": "Set the X-Permitted-Cross-Domain-Policies header in Express apps", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
"engines": { | ||
"node": ">=4.0.0" | ||
"node": ">=8.0.0" | ||
}, | ||
@@ -48,14 +48,14 @@ "main": "./dist/index.js", | ||
"@types/connect": "^3.4.32", | ||
"@types/jest": "^24.0.14", | ||
"@types/supertest": "^2.0.7", | ||
"@typescript-eslint/eslint-plugin": "^1.9.0", | ||
"@typescript-eslint/parser": "^1.9.0", | ||
"@types/jest": "^24.0.18", | ||
"@types/supertest": "^2.0.8", | ||
"@typescript-eslint/eslint-plugin": "^2.0.0", | ||
"@typescript-eslint/parser": "^2.0.0", | ||
"connect": "^3.7.0", | ||
"eslint": "^5.16.0", | ||
"eslint": "^6.3.0", | ||
"eslint-config-helmet": "^0.2.0", | ||
"jest": "^24.8.0", | ||
"jest": "^24.9.0", | ||
"supertest": "^4.0.2", | ||
"ts-jest": "^24.0.2", | ||
"typescript": "^3.5.2" | ||
"typescript": "^3.6.2" | ||
} | ||
} |
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
5493