UNPKG

express-legacy-csp

Version:

Downgrade content-security-policy version and fidelity to support the requesting browser

67 lines (66 loc) 1.79 kB
{ "name": "express-legacy-csp", "version": "1.7.0", "description": "Downgrade content-security-policy version and fidelity to support the requesting browser", "main": "lib/index.js", "scripts": { "lint": "eslint . && prettier --check '**/*.js'", "test": "mocha", "preversion": "npm run lint && npm run test", "ci": "npm test && npm run lint && npm run coverage", "coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- mocha && echo google-chrome coverage/lcov-report/index.html" }, "repository": { "type": "git", "url": "git+https://github.com/Munter/express-legacy-csp.git" }, "keywords": [ "CSP", "express", "server", "content", "security", "policy", "legacy", "browser", "downgrade" ], "author": "Peter Müller <munter@fumle.dk>", "license": "MIT", "engines": { "node": ">= 6" }, "bugs": { "url": "https://github.com/Munter/express-legacy-csp/issues" }, "homepage": "https://github.com/Munter/express-legacy-csp#readme", "devDependencies": { "coveralls": "^3.0.2", "eslint": "^6.0.1", "eslint-config-prettier": "^6.0.0", "eslint-config-standard": "^13.0.1", "eslint-plugin-import": "^2.18.0", "eslint-plugin-mocha": "^5.3.0", "eslint-plugin-node": "^9.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.0", "express": "^4.16.3", "mocha": "^6.1.4", "nyc": "^14.1.1", "prettier": "~1.18.2", "unexpected": "^11.6.1", "unexpected-express": "^12.0.0" }, "nyc": { "include": [ "lib/**" ] }, "dependencies": { "caniuse-db": "^1.0.30000983", "lodash.omit": "^4.5.0", "memoizesync": "^1.1.1", "semver": "^6.2.0", "useragent-ng": "^2.4.5" } }