two-stroke 4.1.9 → 4.1.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.
Files changed (2) hide show
  1. package/package.json +14 -14
  2. package/src/test.ts +4 -0
package/package.json CHANGED
@@ -10,19 +10,19 @@
10
10
  "dependencies": {
11
11
  "@anatine/zod-openapi": "^2.2.7",
12
12
  "@asteasolutions/zod-to-openapi": "^7.3.0",
13
- "@cloudflare/vitest-pool-workers": "^0.7.4",
14
- "@cloudflare/workers-types": "^4.20250224.0",
15
- "@sentry/cli": "^2.42.2",
16
- "@types/node": "^22.13.8",
17
- "@typescript-eslint/eslint-plugin": "^8.25.0",
18
- "@typescript-eslint/parser": "^8.25.0",
19
- "@vitest/coverage-istanbul": "^3.0.7",
20
- "eslint-config-prettier": "^10.0.2",
21
- "eslint-config-two-stroke": "^1.1.10",
13
+ "@cloudflare/vitest-pool-workers": "^0.8.0",
14
+ "@cloudflare/workers-types": "^4.20250313.0",
15
+ "@sentry/cli": "^2.42.3",
16
+ "@types/node": "^22.13.10",
17
+ "@typescript-eslint/eslint-plugin": "^8.26.1",
18
+ "@typescript-eslint/parser": "^8.26.1",
19
+ "@vitest/coverage-istanbul": "^3.0.8",
20
+ "eslint-config-prettier": "^10.1.1",
21
+ "eslint-config-two-stroke": "^1.1.11",
22
22
  "eslint-config-typescript": "^3.0.0",
23
- "jose": "^6.0.8",
23
+ "jose": "^6.0.10",
24
24
  "jwk-subtle": "^1.0.7",
25
- "miniflare": "^3.20250214.1",
25
+ "miniflare": "^4.20250310.0",
26
26
  "openapi-fetch": "^0.13.4",
27
27
  "openapi-typescript": "^7.6.1",
28
28
  "openapi3-ts": "^4.4.0",
@@ -52,12 +52,12 @@
52
52
  "name": "two-stroke",
53
53
  "packageManager": "yarn@4.6.0",
54
54
  "type": "module",
55
- "version": "4.1.9",
55
+ "version": "4.1.11",
56
56
  "devDependencies": {
57
57
  "@types/eslint": "^9.6.1",
58
- "eslint": "^9.21.0",
58
+ "eslint": "^9.22.0",
59
59
  "prettier": "^3.5.3",
60
60
  "typescript": "^5.8.2",
61
- "vitest": "^3.0.7"
61
+ "vitest": "^3.0.8"
62
62
  }
63
63
  }
package/src/test.ts CHANGED
@@ -40,7 +40,11 @@ export const setupTests = async <Paths extends {}>() => {
40
40
  ) {
41
41
  const { publicKey, privateKey } = await generateKeyPair("RS256");
42
42
  // Hack around Cloudflare not setting
43
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
44
+ // @ts-expect-error
43
45
  publicKey[Symbol.toStringTag] = 'CryptoKey';
46
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
47
+ // @ts-expect-error
44
48
  privateKey[Symbol.toStringTag] = 'CryptoKey';
45
49
  const jwk = await exportJWK(publicKey);
46
50
  jwk.kid = "test";