@platformatic/nest 3.51.0 → 3.52.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.
- package/lib/capability.js +2 -1
- package/package.json +6 -6
- package/schema.json +3 -5
package/lib/capability.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCapability,
|
|
3
|
+
buildListenOptions,
|
|
3
4
|
cleanBasePath,
|
|
4
5
|
createServerListener,
|
|
5
6
|
ensureTrailingSlash,
|
|
@@ -242,7 +243,7 @@ export class NestCapability extends BaseCapability {
|
|
|
242
243
|
|
|
243
244
|
async #listen () {
|
|
244
245
|
const serverOptions = this.serverConfig
|
|
245
|
-
const listenOptions =
|
|
246
|
+
const listenOptions = buildListenOptions(serverOptions)
|
|
246
247
|
|
|
247
248
|
if (typeof serverOptions?.backlog === 'number') {
|
|
248
249
|
createServerListener(false, false, { backlog: serverOptions.backlog })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/nest",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.52.0",
|
|
4
4
|
"description": "Platformatic Nest.js Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"get-port": "^7.1.0",
|
|
19
19
|
"light-my-request": "^6.0.0",
|
|
20
20
|
"pino-http": "^10.2.0",
|
|
21
|
-
"@platformatic/basic": "3.
|
|
22
|
-
"@platformatic/
|
|
23
|
-
"@platformatic/
|
|
21
|
+
"@platformatic/basic": "3.52.0",
|
|
22
|
+
"@platformatic/generators": "3.52.0",
|
|
23
|
+
"@platformatic/foundation": "3.52.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@nestjs/cli": "^11.0.7",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"tstyche": "^6.2.0",
|
|
35
35
|
"tsx": "^4.19.0",
|
|
36
36
|
"typescript": "^5.5.4",
|
|
37
|
-
"@platformatic/
|
|
38
|
-
"@platformatic/
|
|
37
|
+
"@platformatic/gateway": "3.52.0",
|
|
38
|
+
"@platformatic/service": "3.52.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/nest/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/nest/3.52.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic NestJS Config",
|
|
5
5
|
"type": "object",
|
|
@@ -184,8 +184,7 @@
|
|
|
184
184
|
"type": "object",
|
|
185
185
|
"properties": {
|
|
186
186
|
"hostname": {
|
|
187
|
-
"type": "string"
|
|
188
|
-
"default": "127.0.0.1"
|
|
187
|
+
"type": "string"
|
|
189
188
|
},
|
|
190
189
|
"port": {
|
|
191
190
|
"anyOf": [
|
|
@@ -1024,8 +1023,7 @@
|
|
|
1024
1023
|
"type": "object",
|
|
1025
1024
|
"properties": {
|
|
1026
1025
|
"hostname": {
|
|
1027
|
-
"type": "string"
|
|
1028
|
-
"default": "127.0.0.1"
|
|
1026
|
+
"type": "string"
|
|
1029
1027
|
},
|
|
1030
1028
|
"port": {
|
|
1031
1029
|
"anyOf": [
|