@stacksjs/server 0.75.480 → 0.75.482

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/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './controllers/base';
3
3
  export * from './imports';
4
4
  export * from './maintenance';
5
5
  export * from './proxy';
6
+ export * from './request-body';
6
7
  export * from './redirects';
7
8
  export * from './rewrites';
8
9
  export * from './security-headers';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export{config as server}from"./config";export*from"./controllers/base";export*from"./imports";export*from"./maintenance";export*from"./proxy";export*from"./redirects";export*from"./rewrites";export*from"./security-headers";export*from"./response-headers";export*from"./shadowed-defaults";
1
+ export{config as server}from"./config";export*from"./controllers/base";export*from"./imports";export*from"./maintenance";export*from"./proxy";export*from"./request-body";export*from"./redirects";export*from"./rewrites";export*from"./security-headers";export*from"./response-headers";export*from"./shadowed-defaults";
@@ -0,0 +1,2 @@
1
+ /** The HTTP listener's ceiling, separate from each action's file validation. */
2
+ export declare function serverRequestBodyOptions(value: unknown): { maxRequestBodySize?: number };
@@ -0,0 +1 @@
1
+ export function serverRequestBodyOptions(value){if(value===void 0)return{};if(typeof value!=="number"||!Number.isSafeInteger(value)||value<=0)throw RangeError("server.maxRequestBodySize must be a positive safe integer of bytes");return{maxRequestBodySize:value}}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/server",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.480",
5
+ "version": "0.75.482",
6
6
  "description": "Local development and production-ready.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -58,22 +58,22 @@
58
58
  "prepublishOnly": "bun run build"
59
59
  },
60
60
  "dependencies": {
61
- "@stacksjs/auth": "0.75.480",
61
+ "@stacksjs/auth": "0.75.482",
62
62
  "@stacksjs/bun-router": "^0.1.24",
63
- "@stacksjs/config": "0.75.480",
64
- "@stacksjs/events": "0.75.480",
65
- "@stacksjs/i18n": "0.75.480",
66
- "@stacksjs/logging": "0.75.480",
67
- "@stacksjs/orm": "0.75.480",
68
- "@stacksjs/path": "0.75.480",
69
- "@stacksjs/payments": "0.75.480",
70
- "@stacksjs/router": "0.75.480",
71
- "@stacksjs/storage": "0.75.480",
72
- "@stacksjs/stx": "0.2.800",
63
+ "@stacksjs/config": "0.75.482",
64
+ "@stacksjs/events": "0.75.482",
65
+ "@stacksjs/i18n": "0.75.482",
66
+ "@stacksjs/logging": "0.75.482",
67
+ "@stacksjs/orm": "0.75.482",
68
+ "@stacksjs/path": "0.75.482",
69
+ "@stacksjs/payments": "0.75.482",
70
+ "@stacksjs/router": "0.75.482",
71
+ "@stacksjs/storage": "0.75.482",
72
+ "@stacksjs/stx": "0.2.807",
73
73
  "bun-plugin-auto-imports": "^0.4.4"
74
74
  },
75
75
  "devDependencies": {
76
- "@stacksjs/validation": "0.75.480",
76
+ "@stacksjs/validation": "0.75.482",
77
77
  "better-dx": "^0.2.24"
78
78
  }
79
79
  }