New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

server-sent-events

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

server-sent-events - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js

@@ -15,4 +15,4 @@ function sse(req, res, next) {

// support running within the compression middleware
if (res.flushHeaders && string.match(/\n\n$/)) {
res.flushHeaders();
if (res.flush && string.match(/\n\n$/)) {
res.flush();
}

@@ -19,0 +19,0 @@ };

{
"name": "server-sent-events",
"description": "Express middleware to push events/messages from the server to the browser, using EventSource.",
"version": "1.0.0",
"version": "1.0.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Zac Barton"

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