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.2.0 to 2.3.0

13

lib/config.json

@@ -36,3 +36,14 @@ {

"unsafes": ["'unsafe-inline'", "unsafe-inline", "'unsafe-eval'", "unsafe-eval"],
"sandboxDirectives": ["allow-popups", "allow-top-navigation", "allow-same-origin", "allow-forms", "allow-pointer-lock", "allow-scripts"]
"sandboxDirectives": [
"allow-forms",
"allow-modals",
"allow-orientation-lock",
"allow-pointer-lock",
"allow-popups",
"allow-popups-to-escape-sandbox",
"allow-presentation",
"allow-same-origin",
"allow-scripts",
"allow-top-navigation"
]
}

@@ -70,2 +70,4 @@ var config = require('./config')

'Firefox for iOS': goodBrowser,
IE: function (browser) {

@@ -72,0 +74,0 @@ var version = parseFloat(browser.version)

4

package.json

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

"description": "Content Security Policy middleware.",
"version": "2.2.0",
"version": "2.3.0",
"license": "MIT",

@@ -37,3 +37,3 @@ "keywords": [

"lodash.reduce": "4.6.0",
"platform": "1.3.1"
"platform": "1.3.3"
},

@@ -40,0 +40,0 @@ "devDependencies": {

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