four-stroke 0.4.0 → 0.4.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.
package/oxlint.config.mjs CHANGED
@@ -66,7 +66,11 @@ export default defineConfig({
66
66
  // Bug-catching rules oxc files under pedantic or restriction, which are not enabled wholesale.
67
67
  "typescript/no-misused-promises": "error",
68
68
  "typescript/switch-exhaustiveness-check": "error",
69
- "typescript/only-throw-error": "error",
69
+ // React Router loaders throw a Response (or `redirect()`) and Suspense throws a Promise.
70
+ "typescript/only-throw-error": [
71
+ "error",
72
+ { allow: [{ from: "lib", name: ["Response", "Promise"] }] },
73
+ ],
70
74
  "eslint/array-callback-return": "error",
71
75
  "typescript/no-deprecated": "error",
72
76
  "eslint/eqeqeq": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-stroke",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Simple Cloudflare Worker SSR SPA framework",
5
5
  "license": "MIT",
6
6
  "repository": {