fix(deps): update dependency zod to v4 #3723
ci.yml
on: pull_request
Are The Types Wrong?
24s
Build
23s
Lint
31s
Lint Knip
17s
Lint Packages
20s
Lint Spelling
16s
Prettier
23s
Test
47s
Type Check
22s
Annotations
36 errors
|
Type Check:
src/base.ts#L84
Type 'ZodOptional<ZodString>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Type Check:
src/base.ts#L68
Type 'ZodPipe<ZodUnion<readonly [ZodString, ZodObject<{ github: ZodString; npm: ZodString; }, $strip>]>, ZodTransform<{ github: string; npm: string; }, string | { ...; }>>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Type Check:
src/base.ts#L65
Type 'ZodObject<{ development: ZodOptional<ZodString>; readme: ZodObject<{ additional: ZodOptional<ZodString>; explainer: ZodOptional<ZodString>; footnotes: ZodOptional<...>; usage: ZodOptional<...>; }, $strip>; }, $strip>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Type Check:
src/base.ts#L64
Type 'ZodString' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Type Check:
src/base.ts#L60
Type 'ZodDefault<ZodString>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Type Check:
src/base.ts#L56
Type 'ZodOptional<ZodArray<ZodObject<{ avatar_url: ZodString; contributions: ZodArray<ZodString>; login: ZodString; name: ZodString; profile: ZodString; }, $strip>>>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Type Check:
src/base.ts#L53
Expected 2-3 arguments, but got 1.
|
|
Type Check:
src/base.ts#L52
Type 'ZodOptional<ZodUnion<readonly [ZodString, ZodRecord<ZodString, SomeType>]>>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Type Check:
src/base.ts#L48
Type 'ZodOptional<ZodString>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Type Check:
src/base.ts#L45
Type 'ZodUnion<readonly [ZodLiteral<"public">, ZodLiteral<"restricted">]>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
Build
Process completed with exit code 1.
|
|
Build
The inferred type of 'presetEverything' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Build
The inferred type of 'presetCommon' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Build
The inferred type of 'base' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Build
The inferred type of 'template' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Build
The inferred type of 'createConfig' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Are The Types Wrong?
Process completed with exit code 1.
|
|
Are The Types Wrong?
The inferred type of 'inputFromOctokit' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Are The Types Wrong?
The inferred type of 'inputFromDirectory' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Are The Types Wrong?
The inferred type of 'template' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Are The Types Wrong?
The inferred type of 'base' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Are The Types Wrong?
The inferred type of 'createConfig' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Lint
Process completed with exit code 1.
|
|
Lint
The inferred type of 'inputFromDirectory' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Lint
The inferred type of 'presetEverything' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Lint
The inferred type of 'base' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Lint
The inferred type of 'template' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Lint
The inferred type of 'createConfig' cannot be named without a reference to '.pnpm/[email protected]/node_modules/zod'. This is likely not portable. A type annotation is necessary.
|
|
Test
Process completed with exit code 1.
|
|
src/blocks/blockTSDown.test.ts > blockTSDown > intake > clears tsup default properties when tsup.config.ts contains them:
src/blocks/blockTSDown.ts#L43
TypeError: Cannot read properties of undefined (reading '_zod')
❯ Object.inst._zod.parse node_modules/.pnpm/[email protected]/node_modules/zod/v4/core/schemas.js:1270:46
❯ Module.<anonymous> node_modules/.pnpm/[email protected]/node_modules/zod/v4/core/parse.js:33:32
❯ _.inst.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/v4/classic/schemas.js:28:46
❯ block.intake src/blocks/blockTSDown.ts:43:20
❯ testIntake node_modules/.pnpm/[email protected][email protected][email protected][email protected]_bingo-s_a04e431262bcf99002651be64246c21a/node_modules/bingo-stratum-testers/lib/testIntake.js:7:26
❯ src/blocks/blockTSDown.test.ts:391:19
|
|
src/blocks/blockTSDown.test.ts > blockTSDown > intake > returns the properties when tsdown.config.ts contains other properties:
src/blocks/blockTSDown.ts#L43
TypeError: Cannot read properties of undefined (reading '_zod')
❯ Object.inst._zod.parse node_modules/.pnpm/[email protected]/node_modules/zod/v4/core/schemas.js:1270:46
❯ Module.<anonymous> node_modules/.pnpm/[email protected]/node_modules/zod/v4/core/parse.js:33:32
❯ _.inst.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/v4/classic/schemas.js:28:46
❯ block.intake src/blocks/blockTSDown.ts:43:20
❯ testIntake node_modules/.pnpm/[email protected][email protected][email protected][email protected]_bingo-s_a04e431262bcf99002651be64246c21a/node_modules/bingo-stratum-testers/lib/testIntake.js:7:26
❯ src/blocks/blockTSDown.test.ts:379:19
|
|
src/inputs/inputFromOctokit.test.ts > inputFromOctokit > returns undefined when there is no octokit fetcher:
src/inputs/inputFromOctokit.test.ts#L43
TypeError: keyValidator._parse is not a function
❯ ZodObject._parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:1961:37
❯ ZodObject._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:100:29
❯ ZodObject.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:129:29
❯ ZodObject.parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:111:29
❯ input node_modules/.pnpm/[email protected]/node_modules/bingo/lib/creators/createInput.js:17:29
❯ testInput node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/bingo-testers/lib/testInput.js:4:12
❯ src/inputs/inputFromOctokit.test.ts:43:24
|
|
src/inputs/inputFromOctokit.test.ts > inputFromOctokit > returns undefined when the request rejects:
src/inputs/inputFromOctokit.test.ts#L24
TypeError: keyValidator._parse is not a function
❯ ZodObject._parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:1961:37
❯ ZodObject._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:100:29
❯ ZodObject.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:129:29
❯ ZodObject.parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:111:29
❯ input node_modules/.pnpm/[email protected]/node_modules/bingo/lib/creators/createInput.js:17:29
❯ testInput node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/bingo-testers/lib/testInput.js:4:12
❯ src/inputs/inputFromOctokit.test.ts:24:24
|
|
src/inputs/inputFromOctokit.test.ts > inputFromOctokit > returns data when the request resolves:
src/inputs/inputFromOctokit.test.ts#L10
TypeError: keyValidator._parse is not a function
❯ ZodObject._parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:1961:37
❯ ZodObject._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:100:29
❯ ZodObject.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:129:29
❯ ZodObject.parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:111:29
❯ input node_modules/.pnpm/[email protected]/node_modules/bingo/lib/creators/createInput.js:17:29
❯ testInput node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/bingo-testers/lib/testInput.js:4:12
❯ src/inputs/inputFromOctokit.test.ts:10:24
|
|
src/integration.test.ts > Producing the everything preset matches the files in this repository:
src/options/readRulesetId.ts#L10
TypeError: keyValidator._parse is not a function
❯ ZodObject._parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:1961:37
❯ ZodObject._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:100:29
❯ ZodObject.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:129:29
❯ ZodObject.parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:111:29
❯ input node_modules/.pnpm/[email protected]/node_modules/bingo/lib/creators/createInput.js:17:29
❯ take node_modules/.pnpm/[email protected]/node_modules/bingo/lib/contexts/createSystemContext.js:12:36
❯ readRulesetId src/options/readRulesetId.ts:10:26
❯ src/base.ts:310:16
❯ allPropertiesLazy node_modules/.pnpm/[email protected]/node_modules/all-properties-lazy/lib/allPropertiesLazy.js:28:3
❯ Module.prepareOptions node_modules/.pnpm/[email protected]/node_modules/bingo/lib/preparation/prepareOptions.js:23:12
❯ src/integration.test.ts:50:13
|
|
src/base.test.ts > base > production from create-typescript-app:
src/options/readRulesetId.ts#L10
TypeError: keyValidator._parse is not a function
❯ ZodObject._parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:1961:37
❯ ZodObject._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:100:29
❯ ZodObject.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:129:29
❯ ZodObject.parse node_modules/.pnpm/[email protected]/node_modules/zod/v3/types.js:111:29
❯ input node_modules/.pnpm/[email protected]/node_modules/bingo/lib/creators/createInput.js:17:29
❯ take node_modules/.pnpm/[email protected]/node_modules/bingo/lib/contexts/createSystemContext.js:12:36
❯ readRulesetId src/options/readRulesetId.ts:10:26
❯ src/base.ts:310:16
❯ allPropertiesLazy node_modules/.pnpm/[email protected]/node_modules/all-properties-lazy/lib/allPropertiesLazy.js:28:3
|