@orkestrel/middleware 0.0.9 → 0.0.11
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Encoding } from '@orkestrel/server';
|
|
2
2
|
import { FileHandle } from 'node:fs/promises';
|
|
3
3
|
import { MiddlewareHandler } from '@orkestrel/server';
|
|
4
|
-
import { MultipartBody } from '
|
|
5
|
-
import { MultipartFile } from '
|
|
6
|
-
import { MultipartState } from '
|
|
4
|
+
import { MultipartBody } from '@orkestrel/middleware';
|
|
5
|
+
import { MultipartFile } from '@orkestrel/middleware';
|
|
6
|
+
import { MultipartState } from '@orkestrel/middleware';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Compress response bytes with Node's guaranteed zlib gzip/deflate codecs.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orkestrel/middleware",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Batteries for the @orkestrel/server middleware seam — boundary, telemetry, compression, security, CORS, rate limiting, sessions, CSRF, static files, and multipart uploads as typed factories. Part of the @orkestrel line.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compression",
|
|
@@ -68,11 +68,12 @@
|
|
|
68
68
|
"format": "oxfmt --config .oxfmtrc.json --write .",
|
|
69
69
|
"format:check": "oxfmt --config .oxfmtrc.json --check .",
|
|
70
70
|
"lint:check": "oxlint --config .oxlintrc.json --deny-warnings .",
|
|
71
|
-
"test": "npm run test:src && npm run test:policy && npm run test:guides",
|
|
71
|
+
"test": "npm run test:src && npm run test:policy && npm run test:config && npm run test:guides",
|
|
72
72
|
"test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:server",
|
|
73
73
|
"test:src:core": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core",
|
|
74
74
|
"test:src:server": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:server",
|
|
75
75
|
"test:policy": "vitest run --config vite.config.ts --no-cache --reporter=dot --project policy",
|
|
76
|
+
"test:config": "vitest run --config vite.config.ts --no-cache --reporter=dot --project config",
|
|
76
77
|
"test:guides": "vitest run --config vite.config.ts --reporter=dot --project guides",
|
|
77
78
|
"build": "npm run clean && npm run build:src",
|
|
78
79
|
"build:src": "npm run build:src:core && npm run build:src:server",
|
|
@@ -81,18 +82,18 @@
|
|
|
81
82
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test"
|
|
82
83
|
},
|
|
83
84
|
"dependencies": {
|
|
84
|
-
"@orkestrel/abort": "^0.0.
|
|
85
|
-
"@orkestrel/budget": "^0.0.
|
|
86
|
-
"@orkestrel/contract": "^0.0.
|
|
87
|
-
"@orkestrel/timeout": "^0.0.
|
|
85
|
+
"@orkestrel/abort": "^0.0.6",
|
|
86
|
+
"@orkestrel/budget": "^0.0.6",
|
|
87
|
+
"@orkestrel/contract": "^0.0.11",
|
|
88
|
+
"@orkestrel/timeout": "^0.0.6"
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
90
91
|
"@microsoft/api-extractor": "^7.58.12",
|
|
91
|
-
"@orkestrel/database": "^0.0.
|
|
92
|
-
"@orkestrel/guide": "^0.0.
|
|
93
|
-
"@orkestrel/router": "^0.0.
|
|
94
|
-
"@orkestrel/scaffold": "^0.0.
|
|
95
|
-
"@orkestrel/server": "^0.0.
|
|
92
|
+
"@orkestrel/database": "^0.0.8",
|
|
93
|
+
"@orkestrel/guide": "^0.0.10",
|
|
94
|
+
"@orkestrel/router": "^0.0.9",
|
|
95
|
+
"@orkestrel/scaffold": "^0.0.30",
|
|
96
|
+
"@orkestrel/server": "^0.0.12",
|
|
96
97
|
"@types/node": "^26.1.2",
|
|
97
98
|
"@vitest/browser-playwright": "^4.1.10",
|
|
98
99
|
"oxfmt": "^0.62.0",
|
|
@@ -103,8 +104,8 @@
|
|
|
103
104
|
"vitest": "^4.1.10"
|
|
104
105
|
},
|
|
105
106
|
"peerDependencies": {
|
|
106
|
-
"@orkestrel/database": "
|
|
107
|
-
"@orkestrel/server": "
|
|
107
|
+
"@orkestrel/database": "^0.0.8",
|
|
108
|
+
"@orkestrel/server": "^0.0.12"
|
|
108
109
|
},
|
|
109
110
|
"peerDependenciesMeta": {
|
|
110
111
|
"@orkestrel/database": {
|