@nestjs/platform-express 10.1.0 → 10.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Readme.md CHANGED
@@ -85,7 +85,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
85
85
 
86
86
  #### Silver Sponsors
87
87
 
88
- <table style="text-align:center;"><tr><td>
88
+ <table style="text-align:center;"><tr>
89
89
  <td><a href="https://n.inc" target="_blank"><img src="https://nestjs.com/img/n-inc-logo.svg" width="120" valign="middle" /></td></tr>
90
90
  </table>
91
91
 
@@ -1,10 +1,8 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
- /// <reference types="node" />
4
3
  import { INestApplication, HttpServer } from '@nestjs/common';
5
4
  import type { Server as CoreHttpServer } from 'http';
6
5
  import type { Server as CoreHttpsServer } from 'https';
7
- import type { Server } from 'net';
8
6
  import type { Express } from 'express';
9
7
  import { NestExpressBodyParserOptions } from './nest-express-body-parser-options.interface';
10
8
  import { NestExpressBodyParserType } from './nest-express-body-parser.interface';
@@ -31,8 +29,8 @@ export interface NestExpressApplication<TServer extends CoreHttpServer | CoreHtt
31
29
  * @param {Function} [callback] Optional callback
32
30
  * @returns {Promise} A Promise that, when resolved, is a reference to the underlying HttpServer.
33
31
  */
34
- listen(port: number | string, callback?: () => void): Promise<Server>;
35
- listen(port: number | string, hostname: string, callback?: () => void): Promise<Server>;
32
+ listen(port: number | string, callback?: () => void): Promise<TServer>;
33
+ listen(port: number | string, hostname: string, callback?: () => void): Promise<TServer>;
36
34
  /**
37
35
  * A wrapper function around native `express.set()` method.
38
36
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/platform-express",
3
- "version": "10.1.0",
3
+ "version": "10.1.1",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@platform-express)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -25,8 +25,8 @@
25
25
  "tslib": "2.6.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@nestjs/common": "10.1.0",
29
- "@nestjs/core": "10.1.0"
28
+ "@nestjs/common": "10.1.1",
29
+ "@nestjs/core": "10.1.1"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@nestjs/common": "^10.0.0",