two-stroke 5.6.0 → 5.6.3

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/bin/test.mjs CHANGED
@@ -35,7 +35,7 @@ if (fs.existsSync("wrangler.toml")) {
35
35
  .join("\n\n");
36
36
  fs.writeFileSync(
37
37
  "test/api.d.ts",
38
- await prettier.format(result, { parser: "typescript" }),
38
+ await prettier.format(result, { parser: "typescript", printWidth: 100 }),
39
39
  );
40
40
  }
41
41
  }
package/package.json CHANGED
@@ -10,32 +10,32 @@
10
10
  "type-check": "./bin/type-check.mjs"
11
11
  },
12
12
  "dependencies": {
13
- "@cloudflare/vitest-pool-workers": "^0.8.57",
14
- "@cloudflare/workers-types": "^4.20250726.0",
13
+ "@cloudflare/vitest-pool-workers": "^0.8.60",
14
+ "@cloudflare/workers-types": "^4.20250805.0",
15
15
  "@sentry/cli": "^2.50.2",
16
- "@types/node": "^24.1.0",
17
- "@typescript-eslint/eslint-plugin": "^8.38.0",
18
- "@typescript-eslint/parser": "^8.38.0",
16
+ "@types/node": "^24.2.0",
17
+ "@typescript-eslint/eslint-plugin": "^8.39.0",
18
+ "@typescript-eslint/parser": "^8.39.0",
19
19
  "@vitest/coverage-istanbul": "^3.2.4",
20
20
  "eslint-config-prettier": "^10.1.8",
21
- "eslint-config-two-stroke": "^1.2.3",
21
+ "eslint-config-two-stroke": "^1.2.4",
22
22
  "eslint-config-typescript": "^3.0.0",
23
23
  "jose": "^6.0.12",
24
24
  "jwk-subtle": "^1.0.7",
25
25
  "mime": "^4.0.7",
26
- "miniflare": "^4.20250712.2",
26
+ "miniflare": "^4.20250803.0",
27
27
  "openapi-fetch": "^0.14.0",
28
28
  "openapi-typescript": "^7.8.0",
29
29
  "pbkdf-subtle": "^1.0.0",
30
30
  "toucan-js": "^4.1.1",
31
- "zod": "^4.0.10"
31
+ "zod": "^4.0.14"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@sentry/cli": ">=2",
35
35
  "eslint": ">=9",
36
36
  "prettier": ">=3",
37
37
  "typescript": ">=5",
38
- "vitest": "^2.1.8",
38
+ "vitest": ">=3",
39
39
  "wrangler": ">=3"
40
40
  },
41
41
  "description": "Simple Cloudflare Worker framework.",
@@ -52,12 +52,12 @@
52
52
  "name": "two-stroke",
53
53
  "packageManager": "yarn@4.6.0",
54
54
  "type": "module",
55
- "version": "5.6.0",
55
+ "version": "5.6.3",
56
56
  "devDependencies": {
57
57
  "@types/eslint": "^9.6.1",
58
58
  "eslint": "^9.32.0",
59
59
  "prettier": "^3.6.2",
60
- "typescript": "^5.8.3",
60
+ "typescript": "^5.9.2",
61
61
  "vitest": "^3.2.4"
62
62
  }
63
63
  }
package/src/types.ts CHANGED
@@ -11,7 +11,8 @@ export type Env = {
11
11
  | Hyperdrive
12
12
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13
13
  | DurableObjectNamespace<any>
14
- | Vectorize;
14
+ | Vectorize
15
+ | ImagesBinding;
15
16
  };
16
17
  export type Route<T extends Env, A> =
17
18
  | {