Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

helmet-csp

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helmet-csp - npm Package Compare versions

Comparing version 2.8.0 to 2.9.0

dist/index.d.ts

8

CHANGELOG.md
# Changelog
## 2.9.0 - 2019-08-28
### Added
- Added TypeScript type definitions. See [#86](https://github.com/helmetjs/csp/pull/86)
### Fixed
- Switched from `platform` to `bowser` to quiet a security vulnerability warning. See [#80](https://github.com/helmetjs/csp/issues/80)
## 2.8.0 - 2019-07-24
### Added
- Added a new `sandbox` directive, `allow-downloads-without-user-activation` (see [#85](https://github.com/helmetjs/csp/pull/85))
- Created a changelog

@@ -6,0 +14,0 @@ - Added some package metadata

44

package.json

@@ -9,3 +9,3 @@ {

"description": "Content Security Policy middleware.",
"version": "2.8.0",
"version": "2.9.0",
"license": "MIT",

@@ -35,2 +35,4 @@ "keywords": [

},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [

@@ -40,30 +42,36 @@ "CHANGELOG.md",

"README.md",
"index.js",
"lib/"
"dist/index.js",
"dist/index.d.ts",
"dist/lib/**/*.js"
],
"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",
"generate-supported-directives-docs": "./scripts/generate_supported_directives_docs"
},
"dependencies": {
"bowser": "2.5.3",
"camelize": "1.0.0",
"content-security-policy-builder": "2.1.0",
"dasherize": "2.0.0",
"platform": "1.3.5"
"dasherize": "2.0.0"
},
"devDependencies": {
"@types/connect": "^3.4.32",
"@types/jest": "^24.0.18",
"@types/supertest": "^2.0.7",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"connect": "^3.7.0",
"content-security-policy-parser": "^0.2.0",
"express": "^4.17.1",
"mocha": "^6.2.0",
"standard": "^13.1.0",
"supertest": "^4.0.2"
},
"standard": {
"globals": [
"describe",
"beforeEach",
"it"
]
"eslint": "^5.16.0",
"eslint-config-helmet": "^0.2.0",
"jest": "^24.9.0",
"supertest": "^4.0.2",
"ts-jest": "^24.0.2",
"typescript": "^3.6.2"
}
}

@@ -143,3 +143,4 @@ Content Security Policy middleware

* [Google's CSP Evaluator tool](https://csp-evaluator.withgoogle.com/)
* [GitHub's CSP journey](http://githubengineering.com/githubs-csp-journey/)
* [Content Security Policy for Single Page Web Apps](https://corner.squareup.com/2016/05/content-security-policy-single-page-app.html)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc