Repository navigation
Bump zod from 3.25.76 to 4.1.12 #348
Annotations
16 errors
|
check:
src/oauth/validators.test.ts#L46
Property 'errors' does not exist on type 'ZodError<("push" | "read" | "read:accounts" | "read:blocks" | "read:bookmarks" | "read:favourites" | "read:filters" | "read:follows" | "read:lists" | "read:mutes" | "read:notifications" | ... 17 more ... | "profile")[]>'.
|
|
check:
src/oauth/validators.test.ts#L35
Property 'errors' does not exist on type 'ZodError<("push" | "read" | "read:accounts" | "read:blocks" | "read:bookmarks" | "read:favourites" | "read:filters" | "read:follows" | "read:lists" | "read:mutes" | "read:notifications" | ... 17 more ... | "profile")[]>'.
|
|
check:
src/oauth.tsx#L392
Parameter 's' implicitly has an 'any' type.
|
|
check:
src/helpers.ts#L9
Namespace '"/home/runner/work/hollo/hollo/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/external"' has no exported member 'SafeParseReturnType'.
|
|
check:
src/api/v1/statuses.ts#L303
Parameter 'index' implicitly has an 'any' type.
|
|
check:
src/api/v1/statuses.ts#L303
Parameter 'title' implicitly has an 'any' type.
|
|
check:
src/api/v1/apps.ts#L81
Type 'unknown[]' is not assignable to type '("push" | "read" | "read:accounts" | "read:blocks" | "read:bookmarks" | "read:favourites" | "read:filters" | "read:follows" | "read:lists" | "read:mutes" | "read:notifications" | ... 17 more ... | "profile")[]'.
|
|
check:
src/api/v1/apps.ts#L77
No overload matches this call.
|
|
check:
src/api/v1/apps.ts#L44
Property 'invalid_enum_value' does not exist on type '{ readonly invalid_type: "invalid_type"; readonly too_big: "too_big"; readonly too_small: "too_small"; readonly invalid_format: "invalid_format"; readonly not_multiple_of: "not_multiple_of"; ... 5 more ...; readonly custom: "custom"; }'. Did you mean 'invalid_value'?
|
|
check:
src/api/v1/apps.ts#L27
Property 'errors' does not exist on type 'ZodError<string>'.
|
|
test
Process completed with exit code 1.
|
|
src/api/v1/apps.test.ts > POST /api/v1/apps > prevents creating an application if any of the redirect_uris are invalid:
src/api/v1/apps.ts#L27
TypeError: parsed.error.errors is not iterable
❯ Object.transform src/api/v1/apps.ts:27:44
❯ Object.inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js:788:28
❯ handlePipeResult node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:1695:22
❯ Object.inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:1686:16
❯ Object.inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:1503:35
❯ inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:820:31
❯ Object.inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:910:16
❯ Module.<anonymous> node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js:47:30
❯ _.inst.safeParseAsync node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js:30:57
❯ requestBody src/helpers.ts:16:25
|
|
src/api/v1/apps.test.ts > POST /api/v1/apps > prevents creating an application with invalid redirect_uris:
src/api/v1/apps.ts#L27
TypeError: parsed.error.errors is not iterable
❯ Object.transform src/api/v1/apps.ts:27:44
❯ Object.inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js:788:28
❯ handlePipeResult node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:1695:22
❯ Object.inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:1686:16
❯ Object.inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:1503:35
❯ inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:820:31
❯ Object.inst._zod.parse node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js:910:16
❯ Module.<anonymous> node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js:47:30
❯ _.inst.safeParseAsync node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js:30:57
❯ requestBody src/helpers.ts:20:23
|
|
src/oauth/validators.test.ts > OAuth / Validators > returns an error if one of the scopes is invalid:
src/oauth/validators.test.ts#L46
TypeError: Cannot read properties of undefined (reading '0')
❯ src/oauth/validators.test.ts:46:26
|
|
src/oauth/validators.test.ts > OAuth / Validators > returns an error if the scope is invalid:
src/oauth/validators.test.ts#L35
TypeError: Cannot read properties of undefined (reading '0')
❯ src/oauth/validators.test.ts:35:26
|
|
src/oauth.test.ts > OAuth > POST /oauth/token (Confidential Client) > cannot use an unsupported grant_type:
src/oauth.tsx#L254
TypeError: Cannot read properties of undefined (reading 'length')
❯ src/oauth.tsx:254:27
❯ dispatch node_modules/.pnpm/hono@4.9.10/node_modules/hono/dist/compose.js:22:17
❯ src/oauth/middleware.ts:146:3
❯ dispatch node_modules/.pnpm/hono@4.9.10/node_modules/hono/dist/compose.js:22:17
❯ trimTrailingSlash2 node_modules/.pnpm/hono@4.9.10/node_modules/hono/dist/middleware/trailing-slash/index.js:4:5
❯ dispatch node_modules/.pnpm/hono@4.9.10/node_modules/hono/dist/compose.js:22:17
❯ onNotFound node_modules/.pnpm/@fedify+fedify@1.8.12_web-streams-polyfill@3.3.3/node_modules/@fedify/fedify/dist/x/hono.js:30:4
❯ FederationImpl.#fetch node_modules/.pnpm/@fedify+fedify@1.8.12_web-streams-polyfill@3.3.3/node_modules/@fedify/fedify/dist/middleware-C9cwVko0.js:2998:29
❯ node_modules/.pnpm/@fedify+fedify@1.8.12_web-streams-polyfill@3.3.3/node_modules/@fedify/fedify/dist/middleware-C9cwVko0.js:2950:17
|