@nestjs/platform-express 10.4.1 → 10.4.3

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
@@ -95,6 +95,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
95
95
  <td><a href="https://www.dinii.jp/" target="_blank"><img src="https://nestjs.com/img/logos/dinii-logo.png" width="65" valign="middle" /></a></td>
96
96
  <td><a href="https://bloodycase.com/?promocode=NEST" target="_blank"><img src="https://nestjs.com/img/logos/bloodycase-logo.png" width="65" valign="middle" /></a></td>
97
97
  <td><a href="https://handsontable.com/docs/react-data-grid/?utm_source=NestJS_GH&utm_medium=sponsorship&utm_campaign=library_sponsorship_2024" target="_blank"><img src="https://nestjs.com/img/logos/handsontable-logo.svg" width="150" valign="middle" /></a></td>
98
+ <td align="center" valign="middle"><a href="https://www.itflashcards.com/" target="_blank"><img src="https://nestjs.com/img/logos/it_flashcards-logo.png" width="170" valign="middle" /></a></td>
98
99
  </tr>
99
100
  </table>
100
101
 
@@ -129,9 +130,8 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
129
130
  <td align="center" valign="middle"><a href="https://julienferand.dev/" target="_blank"><img src="https://nestjs.com/img/logos/julienferand-logo.jpeg" width="55" valign="middle" /></a></td>
130
131
  <td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/logos/tripoffice-logo.png" width="140" valign="middle" /></a></td>
131
132
  <td align="center" valign="middle"><a href="https://solcellsforetag.se/" target="_blank"><img src="https://nestjs.com/img/logos/solcellsforetag-logo.svg" width="140" valign="middle" /></a></td>
132
- <td align="center" valign="middle"><a href="https://www.itflashcards.com/" target="_blank"><img src="https://nestjs.com/img/logos/it_flashcards-logo.png" width="150" valign="middle" /></a></td>
133
- <td align="center" valign="middle"><a href="https://www.route4me.com/" target="_blank"><img src="https://nestjs.com/img/logos/route4me-logo.svg" width="100" valign="middle" /></a></td>
134
- <td align="center" valign="middle"><a href="https://www.slotsup.com/" target="_blank"><img src="https://nestjs.com/img/logos/slotsup-logo.png" width="60" valign="middle" /></a></td>
133
+ <td align="center" valign="middle"><a href="https://www.route4me.com/" target="_blank"><img src="https://nestjs.com/img/logos/route4me-logo.svg" width="100" valign="middle" /></a></td>
134
+ <td align="center" valign="middle"><a href="https://www.slotsup.com/" target="_blank"><img src="https://nestjs.com/img/logos/slotsup-logo.png" width="60" valign="middle" /></a></td>
135
135
  </tr>
136
136
  </table>
137
137
 
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import type { Server } from 'http';
4
2
  import { RequestMethod, VersioningOptions } from '@nestjs/common';
5
3
  import { VersionValue } from '@nestjs/common/interfaces';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBodyParserOptions = void 0;
3
+ exports.getBodyParserOptions = getBodyParserOptions;
4
4
  const rawBodyParser = (req, _res, buffer) => {
5
5
  if (Buffer.isBuffer(buffer)) {
6
6
  req.rawBody = buffer;
@@ -17,4 +17,3 @@ function getBodyParserOptions(rawBody, options) {
17
17
  }
18
18
  return parserOptions;
19
19
  }
20
- exports.getBodyParserOptions = getBodyParserOptions;
@@ -1,6 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- /// <reference types="express-serve-static-core" />
4
1
  import { INestApplication, HttpServer } from '@nestjs/common';
5
2
  import type { Server as CoreHttpServer } from 'http';
6
3
  import type { Server as CoreHttpsServer } from 'https';
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { IncomingMessage } from 'http';
3
2
  /**
4
3
  * Type alias to keep compatibility with @types/body-parser
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AnyFilesInterceptor = void 0;
3
+ exports.AnyFilesInterceptor = AnyFilesInterceptor;
4
4
  const tslib_1 = require("tslib");
5
5
  const common_1 = require("@nestjs/common");
6
6
  const multer = require("multer");
@@ -39,4 +39,3 @@ function AnyFilesInterceptor(localOptions) {
39
39
  const Interceptor = (0, common_1.mixin)(MixinInterceptor);
40
40
  return Interceptor;
41
41
  }
42
- exports.AnyFilesInterceptor = AnyFilesInterceptor;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FileFieldsInterceptor = void 0;
3
+ exports.FileFieldsInterceptor = FileFieldsInterceptor;
4
4
  const tslib_1 = require("tslib");
5
5
  const common_1 = require("@nestjs/common");
6
6
  const multer = require("multer");
@@ -39,4 +39,3 @@ function FileFieldsInterceptor(uploadFields, localOptions) {
39
39
  const Interceptor = (0, common_1.mixin)(MixinInterceptor);
40
40
  return Interceptor;
41
41
  }
42
- exports.FileFieldsInterceptor = FileFieldsInterceptor;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FileInterceptor = void 0;
3
+ exports.FileInterceptor = FileInterceptor;
4
4
  const tslib_1 = require("tslib");
5
5
  const common_1 = require("@nestjs/common");
6
6
  const multer = require("multer");
@@ -40,4 +40,3 @@ function FileInterceptor(fieldName, localOptions) {
40
40
  const Interceptor = (0, common_1.mixin)(MixinInterceptor);
41
41
  return Interceptor;
42
42
  }
43
- exports.FileInterceptor = FileInterceptor;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FilesInterceptor = void 0;
3
+ exports.FilesInterceptor = FilesInterceptor;
4
4
  const tslib_1 = require("tslib");
5
5
  const common_1 = require("@nestjs/common");
6
6
  const multer = require("multer");
@@ -42,4 +42,3 @@ function FilesInterceptor(fieldName, maxCount, localOptions) {
42
42
  const Interceptor = (0, common_1.mixin)(MixinInterceptor);
43
43
  return Interceptor;
44
44
  }
45
- exports.FilesInterceptor = FilesInterceptor;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NoFilesInterceptor = void 0;
3
+ exports.NoFilesInterceptor = NoFilesInterceptor;
4
4
  const tslib_1 = require("tslib");
5
5
  const common_1 = require("@nestjs/common");
6
6
  const multer = require("multer");
@@ -39,4 +39,3 @@ function NoFilesInterceptor(localOptions) {
39
39
  const Interceptor = (0, common_1.mixin)(MixinInterceptor);
40
40
  return Interceptor;
41
41
  }
42
- exports.NoFilesInterceptor = NoFilesInterceptor;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  /**
3
2
  * @see https://github.com/expressjs/multer
4
3
  *
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.transformException = void 0;
3
+ exports.transformException = transformException;
4
4
  const common_1 = require("@nestjs/common");
5
5
  const multer_constants_1 = require("./multer.constants");
6
6
  function transformException(error) {
@@ -27,4 +27,3 @@ function transformException(error) {
27
27
  }
28
28
  return error;
29
29
  }
30
- exports.transformException = transformException;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/platform-express",
3
- "version": "10.4.1",
3
+ "version": "10.4.3",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@platform-express)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -18,15 +18,15 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "body-parser": "1.20.2",
21
+ "body-parser": "1.20.3",
22
22
  "cors": "2.8.5",
23
- "express": "4.19.2",
23
+ "express": "4.21.0",
24
24
  "multer": "1.4.4-lts.1",
25
- "tslib": "2.6.3"
25
+ "tslib": "2.7.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@nestjs/common": "10.4.1",
29
- "@nestjs/core": "10.4.1"
28
+ "@nestjs/common": "10.4.3",
29
+ "@nestjs/core": "10.4.3"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@nestjs/common": "^10.0.0",