Socket
Socket
Sign inDemoInstall

express-router-api

Package Overview
Dependencies
65
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.4.1

8

dist/index.js

@@ -145,6 +145,6 @@ "use strict";

const unSub = () => subscription.unsubscribe();
req.on('end', () => unSub);
req.on('finish', () => unSub);
req.socket.on('close', () => unSub);
req.socket.on('error', () => unSub);
req.on('end', () => unSub());
req.on('finish', () => unSub());
req.socket.on('close', () => unSub());
req.socket.on('error', () => unSub());
};

@@ -151,0 +151,0 @@ }

{
"name": "express-router-api",
"version": "1.4.0",
"version": "1.4.1",
"description": "Express router that lets you construct your API entirely on promises",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -184,6 +184,6 @@ import {

const unSub = () => subscription.unsubscribe();
req.on('end', () => unSub);
req.on('finish', () => unSub);
req.socket.on('close', () => unSub);
req.socket.on('error', () => unSub);
req.on('end', () => unSub());
req.on('finish', () => unSub());
req.socket.on('close', () => unSub());
req.socket.on('error', () => unSub());
};

@@ -190,0 +190,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc