@bakery-framework/cli 2.5.0-alpha.0 → 2.5.0-alpha.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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/pipeline.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakery-framework/cli",
3
- "version": "2.5.0-alpha.0",
3
+ "version": "2.5.0-alpha.1",
4
4
  "description": "Bakery entry point and process supervision: mode dispatch, dev watcher, cluster.",
5
5
  "keywords": [
6
6
  "bakery",
@@ -36,13 +36,13 @@
36
36
  "!src/tests"
37
37
  ],
38
38
  "engines": {
39
- "bun": ">=1.4.0"
39
+ "bun": ">=1.4.4"
40
40
  },
41
41
  "dependencies": {
42
- "@bakery-framework/core": "^2.5.0-alpha.0"
42
+ "@bakery-framework/core": "^2.5.0-alpha.1"
43
43
  },
44
44
  "peerDependencies": {
45
- "@bakery-framework/orm": "^2.5.0-alpha.0"
45
+ "@bakery-framework/orm": "^2.5.0-alpha.1"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "@bakery-framework/orm": {
package/src/pipeline.ts CHANGED
@@ -64,7 +64,7 @@ export function isErrorResult(res: unknown): boolean {
64
64
  * `new Response(Bun.file('404.html'), { status: 404 })` would be judged
65
65
  * untyped and dressed.
66
66
  */
67
- export function hasOwnDocument(res: Response): boolean {
67
+ function hasOwnDocument(res: Response): boolean {
68
68
  const type = res.headers.get('content-type')
69
69
  return Boolean(type) && !/^text\/plain\b/i.test(type!)
70
70
  }