@nestjs/platform-express 11.1.28 → 11.2.0

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.
@@ -7,6 +7,7 @@ export declare const multerExceptions: {
7
7
  LIMIT_FIELD_COUNT: string;
8
8
  LIMIT_UNEXPECTED_FILE: string;
9
9
  MISSING_FIELD_NAME: string;
10
+ LIMIT_FIELD_NESTING: string;
10
11
  };
11
12
  export declare const busboyExceptions: {
12
13
  MULTIPART_BOUNDARY_NOT_FOUND: string;
@@ -11,6 +11,7 @@ exports.multerExceptions = {
11
11
  LIMIT_FIELD_COUNT: 'Too many fields',
12
12
  LIMIT_UNEXPECTED_FILE: 'Unexpected field',
13
13
  MISSING_FIELD_NAME: 'Field name missing',
14
+ LIMIT_FIELD_NESTING: 'Field name nesting too deep',
14
15
  };
15
16
  exports.busboyExceptions = {
16
17
  // from https://github.com/mscdex/busboy/blob/master/lib/types/multipart.js
@@ -16,6 +16,7 @@ function transformException(error) {
16
16
  case multer_constants_1.multerExceptions.LIMIT_FIELD_KEY:
17
17
  case multer_constants_1.multerExceptions.LIMIT_FIELD_VALUE:
18
18
  case multer_constants_1.multerExceptions.LIMIT_FIELD_COUNT:
19
+ case multer_constants_1.multerExceptions.LIMIT_FIELD_NESTING:
19
20
  case multer_constants_1.multerExceptions.LIMIT_UNEXPECTED_FILE:
20
21
  case multer_constants_1.multerExceptions.LIMIT_PART_COUNT:
21
22
  case multer_constants_1.multerExceptions.MISSING_FIELD_NAME:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/platform-express",
3
- "version": "11.1.28",
3
+ "version": "11.2.0",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@platform-express)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -25,12 +25,12 @@
25
25
  "tslib": "2.8.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@nestjs/common": "11.1.28",
29
- "@nestjs/core": "11.1.28"
28
+ "@nestjs/common": "11.2.0",
29
+ "@nestjs/core": "11.2.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@nestjs/common": "^11.0.0",
33
33
  "@nestjs/core": "^11.0.0"
34
34
  },
35
- "gitHead": "dfaa376170168d12d9d28bcfe137a9bacce579a3"
35
+ "gitHead": "f2a7e4b1f57193cbbfe34e988276fc0eaf0b6eb5"
36
36
  }