@platformatic/react-router 3.51.0 → 3.52.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/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 fastifyStatic from '@fastify/static'
|
|
2
2
|
import {
|
|
3
|
+
buildListenOptions,
|
|
3
4
|
cleanBasePath,
|
|
4
5
|
createServerListener,
|
|
5
6
|
ensureTrailingSlash,
|
|
@@ -124,7 +125,7 @@ export class ReactRouterCapability extends ViteCapability {
|
|
|
124
125
|
// Listen if entrypoint
|
|
125
126
|
if (this.#app && listen) {
|
|
126
127
|
const serverOptions = this.serverConfig
|
|
127
|
-
const listenOptions =
|
|
128
|
+
const listenOptions = buildListenOptions(serverOptions)
|
|
128
129
|
|
|
129
130
|
if (typeof serverOptions?.backlog === 'number') {
|
|
130
131
|
createServerListener(false, false, { backlog: serverOptions.backlog })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/react-router",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.52.1",
|
|
4
4
|
"description": "Platformatic React Router Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"@fastify/static": "^8.0.0",
|
|
19
19
|
"fastify": "^5.7.0",
|
|
20
20
|
"semver": "^7.6.3",
|
|
21
|
-
"@platformatic/basic": "3.
|
|
22
|
-
"@platformatic/vite": "3.
|
|
23
|
-
"@platformatic/foundation": "3.
|
|
21
|
+
"@platformatic/basic": "3.52.1",
|
|
22
|
+
"@platformatic/vite": "3.52.1",
|
|
23
|
+
"@platformatic/foundation": "3.52.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@react-router/dev": "^7.10.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"typescript": "^5.5.4",
|
|
42
42
|
"vite": "^7.1.7",
|
|
43
43
|
"ws": "^8.18.0",
|
|
44
|
-
"@platformatic/service": "3.
|
|
45
|
-
"@platformatic/gateway": "3.
|
|
44
|
+
"@platformatic/service": "3.52.1",
|
|
45
|
+
"@platformatic/gateway": "3.52.1"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.52.1.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic React Router 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": [
|