Socket
Socket
Sign inDemoInstall

expect-ct

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expect-ct - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

index.js

@@ -25,3 +25,3 @@ module.exports = function expectCt (options) {

return directives.join('; ')
return directives.join(', ')
}

@@ -28,0 +28,0 @@

@@ -5,3 +5,3 @@ {

"description": "Middleware to set the Expect-CT header",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",

@@ -25,4 +25,4 @@ "keywords": [

"devDependencies": {
"mocha": "^3.2.0",
"standard": "^9.0.2"
"mocha": "^4.1.0",
"standard": "^11.0.1"
},

@@ -29,0 +29,0 @@ "standard": {

@@ -8,3 +8,3 @@ Expect-CT

The `Expect-CT` HTTP header tells browsers to expect Certificate Transparency. For more, see [this blog post](https://scotthelme.co.uk/a-new-security-header-expect-ct/) and the [in-progress spec](https://datatracker.ietf.org/doc/draft-stark-expect-ct).
The `Expect-CT` HTTP header tells browsers to expect Certificate Transparency. For more, see [this blog post](https://scotthelme.co.uk/a-new-security-header-expect-ct/) and the [article on MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT).

@@ -19,3 +19,3 @@ Usage:

// Sets Expect-CT: enforce; max-age=123
// Sets Expect-CT: enforce, max-age=123
app.use(expectCt({

@@ -26,3 +26,3 @@ enforce: true,

// Sets Expect-CT: enforce; max-age=30; report-uri="http://example.com/report"
// Sets Expect-CT: enforce, max-age=30, report-uri="http://example.com/report"
app.use(expectCt({

@@ -29,0 +29,0 @@ enforce: true,

Sorry, the diff of this file is not supported yet

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