helmet-crossdomain
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -5,3 +5,3 @@ { | ||
"description": "Set the X-Permitted-Cross-Domain-Policies header in Express apps", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"license": "MIT", | ||
@@ -16,2 +16,3 @@ "keywords": [ | ||
], | ||
"homepage": "https://helmetjs.github.io/docs/crossdomain/", | ||
"repository": { | ||
@@ -21,22 +22,40 @@ "type": "git", | ||
}, | ||
"bugs": "https://github.com/helmetjs/crossdomain/issues", | ||
"bugs": { | ||
"url": "https://github.com/helmetjs/crossdomain/issues", | ||
"email": "me@evanhahn.com" | ||
}, | ||
"engines": { | ||
"node": ">= 6" | ||
"node": ">=4.0.0" | ||
}, | ||
"main": "./dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"files": [ | ||
"LICENSE", | ||
"README.md", | ||
"CHANGELOG.md", | ||
"dist/index.js", | ||
"dist/index.d.ts" | ||
], | ||
"scripts": { | ||
"pretest": "standard --fix", | ||
"test": "mocha" | ||
"pretest": "npm run lint", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint --fix '**/*.ts'", | ||
"test": "jest --config test/jest-config.json", | ||
"clean": "rm -rf dist", | ||
"build": "npm run clean && tsc" | ||
}, | ||
"devDependencies": { | ||
"connect": "^3.6.6", | ||
"mocha": "^5.2.0", | ||
"standard": "^11.0.1", | ||
"supertest": "^3.1.0" | ||
}, | ||
"standard": { | ||
"globals": [ | ||
"describe", | ||
"it" | ||
] | ||
"@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", | ||
"connect": "^3.7.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-helmet": "^0.2.0", | ||
"jest": "^24.8.0", | ||
"supertest": "^4.0.2", | ||
"ts-jest": "^24.0.2", | ||
"typescript": "^3.5.2" | ||
} | ||
} |
@@ -5,4 +5,2 @@ X-Permitted-Cross-Domain-Policies middleware | ||
[_Looking for a changelog?_](https://github.com/helmetjs/helmet/blob/master/HISTORY.md) | ||
The `X-Permitted-Cross-Domain-Policies` header tells some web clients (like Adobe Flash or Adobe Acrobat) your domain's policy for loading cross-domain content. See the description on [OWASP](https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#X-Permitted-Cross-Domain-Policies) for more. | ||
@@ -9,0 +7,0 @@ |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
5430
12
36
25