Socket
Socket
Sign inDemoInstall

@nestjs/platform-express

Package Overview
Dependencies
Maintainers
4
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/platform-express - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

2

adapters/express-adapter.d.ts

@@ -14,2 +14,4 @@ import { RequestMethod } from '@nestjs/common';

setHeader(response: any, name: string, value: string): any;
listen(port: string | number, callback?: () => void): any;
listen(port: string | number, hostname: string, callback?: () => void): any;
close(): any;

@@ -16,0 +18,0 @@ set(...args: any[]): any;

5

adapters/express-adapter.js

@@ -35,4 +35,7 @@ "use strict";

}
listen(port, hostname, callback) {
return this.httpServer.listen(port, hostname, callback);
}
close() {
return this.instance.close();
return this.httpServer ? this.httpServer.close() : undefined;
}

@@ -39,0 +42,0 @@ set(...args) {

{
"name": "@nestjs/platform-express",
"version": "6.0.0",
"version": "6.0.1",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-express)",

@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec",

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