@byline/host-tanstack-start 1.8.1 → 1.8.2
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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.2",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.9.0"
|
|
9
9
|
},
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
"react-swipeable": "^7.0.2",
|
|
102
102
|
"uuid": "^14.0.0",
|
|
103
103
|
"zod": "^4.4.2",
|
|
104
|
-
"@byline/auth": "1.8.
|
|
105
|
-
"@byline/
|
|
106
|
-
"@byline/
|
|
107
|
-
"@byline/admin": "1.8.
|
|
108
|
-
"@byline/ui": "1.8.
|
|
104
|
+
"@byline/auth": "1.8.2",
|
|
105
|
+
"@byline/core": "1.8.2",
|
|
106
|
+
"@byline/client": "1.8.2",
|
|
107
|
+
"@byline/admin": "1.8.2",
|
|
108
|
+
"@byline/ui": "1.8.2"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
111
111
|
"@tanstack/react-router": "^1.167.0",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
* `createUploadsHandler({ dir, prefix })`.
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
|
+
import type { Stats } from 'node:fs'
|
|
45
46
|
import { readFile, stat } from 'node:fs/promises'
|
|
46
47
|
import { resolve as resolvePath } from 'node:path'
|
|
47
48
|
|
|
@@ -123,7 +124,7 @@ export function createUploadsHandler(
|
|
|
123
124
|
return new Response('Forbidden', { status: 403 })
|
|
124
125
|
}
|
|
125
126
|
|
|
126
|
-
let info
|
|
127
|
+
let info: Stats
|
|
127
128
|
try {
|
|
128
129
|
info = await stat(abs)
|
|
129
130
|
} catch {
|