@nestjs/common 10.4.10 → 10.4.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/common",
3
- "version": "10.4.10",
3
+ "version": "10.4.12",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@common)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "homepage": "https://nestjs.com",
@@ -19,7 +19,7 @@
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
21
  "iterare": "1.2.1",
22
- "tslib": "2.7.0",
22
+ "tslib": "2.8.1",
23
23
  "uid": "2.0.2"
24
24
  },
25
25
  "peerDependencies": {
@@ -131,6 +131,9 @@ let ValidationPipe = class ValidationPipe {
131
131
  if (metatype === Number) {
132
132
  return +value;
133
133
  }
134
+ if (metatype === String && !(0, shared_utils_1.isUndefined)(value)) {
135
+ return String(value);
136
+ }
134
137
  return value;
135
138
  }
136
139
  toEmptyIfNil(value, metatype) {