diff --git a/.changeset/tiny-needles-guess.md b/.changeset/tiny-needles-guess.md new file mode 100644 index 000000000..5a6da3f1d --- /dev/null +++ b/.changeset/tiny-needles-guess.md @@ -0,0 +1,5 @@ +--- +"@kubb/plugin-faker": patch +--- + +Min/Max for type array to generate better `faker.helpers.arrayElements` functionality diff --git a/docs/changelog.md b/docs/changelog.md index 56f1a2609..ed8de7603 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,9 @@ title: Changelog # Changelog +## 3.0.0-beta.6 +- [`plugin-faker`](/plugins/plugin-faker): Min/Max for type array to generate better `faker.helpers.arrayElements` functionality + ## 3.0.0-beta.5 - [`plugin-zod`](/plugins/plugin-zod): Discard `optional()` if there is a `default()` to ensure the output type is not `T | undefined` diff --git a/examples/advanced/src/gen/mocks/createAddPetRequestFaker.ts b/examples/advanced/src/gen/mocks/createAddPetRequestFaker.ts index 8ae68c1cb..35c9d10b0 100644 --- a/examples/advanced/src/gen/mocks/createAddPetRequestFaker.ts +++ b/examples/advanced/src/gen/mocks/createAddPetRequestFaker.ts @@ -9,8 +9,8 @@ export function createAddPetRequestFaker(data: NonNullable faker.string.alpha()) as any, + tags: faker.helpers.multiple(() => createTagTagFaker()) as any, status: faker.helpers.arrayElement(['working', 'idle']) as any, }, ...data, diff --git a/examples/advanced/src/gen/mocks/createCustomerFaker.ts b/examples/advanced/src/gen/mocks/createCustomerFaker.ts index 61e2a69a3..43252d42e 100644 --- a/examples/advanced/src/gen/mocks/createCustomerFaker.ts +++ b/examples/advanced/src/gen/mocks/createCustomerFaker.ts @@ -4,7 +4,7 @@ import { faker } from '@faker-js/faker' export function createCustomerFaker(data: NonNullable> = {}) { return { - ...{ id: faker.number.int(), username: faker.string.alpha(), address: faker.helpers.arrayElements([createAddressFaker()]) as any }, + ...{ id: faker.number.int(), username: faker.string.alpha(), address: faker.helpers.multiple(() => createAddressFaker()) as any }, ...data, } } diff --git a/examples/advanced/src/gen/mocks/createPetFaker.ts b/examples/advanced/src/gen/mocks/createPetFaker.ts index 081807ca8..932c77f52 100644 --- a/examples/advanced/src/gen/mocks/createPetFaker.ts +++ b/examples/advanced/src/gen/mocks/createPetFaker.ts @@ -9,8 +9,8 @@ export function createPetFaker(data: NonNullable> = {}) { id: faker.number.int(), name: faker.string.alpha(), category: createCategoryFaker(), - photoUrls: faker.helpers.arrayElements([faker.string.alpha()]) as any, - tags: faker.helpers.arrayElements([createTagTagFaker()]) as any, + photoUrls: faker.helpers.multiple(() => faker.string.alpha()) as any, + tags: faker.helpers.multiple(() => createTagTagFaker()) as any, status: faker.helpers.arrayElement(['working', 'idle']) as any, }, ...data, diff --git a/examples/advanced/src/gen/mocks/createUserArrayFaker.ts b/examples/advanced/src/gen/mocks/createUserArrayFaker.ts index 7374405ae..4d2fb890e 100644 --- a/examples/advanced/src/gen/mocks/createUserArrayFaker.ts +++ b/examples/advanced/src/gen/mocks/createUserArrayFaker.ts @@ -2,6 +2,6 @@ import type { UserArray } from '../models/ts/UserArray.ts' import { createUserFaker } from './createUserFaker.ts' import { faker } from '@faker-js/faker' -export function createUserArrayFaker(data: NonNullable> = []) { - return [...(faker.helpers.arrayElements([createUserFaker()]) as any), ...data] +export function createUserArrayFaker() { + return faker.helpers.multiple(() => createUserFaker()) as any } diff --git a/examples/advanced/src/gen/mocks/petController/createFindPetsByStatusFaker.ts b/examples/advanced/src/gen/mocks/petController/createFindPetsByStatusFaker.ts index 64d7d47c4..456072f80 100644 --- a/examples/advanced/src/gen/mocks/petController/createFindPetsByStatusFaker.ts +++ b/examples/advanced/src/gen/mocks/petController/createFindPetsByStatusFaker.ts @@ -12,8 +12,8 @@ export function createFindPetsByStatusQueryParamsFaker(data: NonNullable> = []) { - return [...(faker.helpers.arrayElements([createPetFaker()]) as any), ...data] +export function createFindPetsByStatus200Faker() { + return faker.helpers.multiple(() => createPetFaker(), { count: { min: 1, max: 3 } }) as any } /** @@ -26,6 +26,6 @@ export function createFindPetsByStatus400Faker() { /** * @description successful operation */ -export function createFindPetsByStatusQueryResponseFaker(data: NonNullable> = []) { - return [...(faker.helpers.arrayElements([createPetFaker()]) as any), ...data] +export function createFindPetsByStatusQueryResponseFaker() { + return faker.helpers.multiple(() => createPetFaker(), { count: { min: 1, max: 3 } }) as any } diff --git a/examples/advanced/src/gen/mocks/petController/createFindPetsByTagsFaker.ts b/examples/advanced/src/gen/mocks/petController/createFindPetsByTagsFaker.ts index 3b4a417a6..075ba53c2 100644 --- a/examples/advanced/src/gen/mocks/petController/createFindPetsByTagsFaker.ts +++ b/examples/advanced/src/gen/mocks/petController/createFindPetsByTagsFaker.ts @@ -9,7 +9,7 @@ import { faker } from '@faker-js/faker' export function createFindPetsByTagsQueryParamsFaker(data: NonNullable> = {}) { return { - ...{ tags: faker.helpers.arrayElements([faker.string.alpha()]) as any, page: faker.string.alpha(), pageSize: faker.string.alpha() }, + ...{ tags: faker.helpers.multiple(() => faker.string.alpha()) as any, page: faker.string.alpha(), pageSize: faker.string.alpha() }, ...data, } } @@ -24,8 +24,8 @@ export function createFindPetsByTagsHeaderParamsFaker(data: NonNullable> = []) { - return [...(faker.helpers.arrayElements([createPetFaker()]) as any), ...data] +export function createFindPetsByTags200Faker() { + return faker.helpers.multiple(() => createPetFaker()) as any } /** @@ -38,6 +38,6 @@ export function createFindPetsByTags400Faker() { /** * @description successful operation */ -export function createFindPetsByTagsQueryResponseFaker(data: NonNullable> = []) { - return [...(faker.helpers.arrayElements([createPetFaker()]) as any), ...data] +export function createFindPetsByTagsQueryResponseFaker() { + return faker.helpers.multiple(() => createPetFaker()) as any } diff --git a/examples/advanced/src/gen/mocks/userController/createCreateUsersWithListInputFaker.ts b/examples/advanced/src/gen/mocks/userController/createCreateUsersWithListInputFaker.ts index 17f6e787b..ee876a9d6 100644 --- a/examples/advanced/src/gen/mocks/userController/createCreateUsersWithListInputFaker.ts +++ b/examples/advanced/src/gen/mocks/userController/createCreateUsersWithListInputFaker.ts @@ -16,8 +16,8 @@ export function createCreateUsersWithListInputErrorFaker() { return undefined } -export function createCreateUsersWithListInputMutationRequestFaker(data: NonNullable> = []) { - return [...(faker.helpers.arrayElements([createUserFaker()]) as any), ...data] +export function createCreateUsersWithListInputMutationRequestFaker() { + return faker.helpers.multiple(() => createUserFaker()) as any } /** diff --git a/examples/faker/src/gen/faker/createCustomer.ts b/examples/faker/src/gen/faker/createCustomer.ts index 5a9e1f1e7..c7b89a7e0 100644 --- a/examples/faker/src/gen/faker/createCustomer.ts +++ b/examples/faker/src/gen/faker/createCustomer.ts @@ -4,7 +4,7 @@ import { faker } from '@faker-js/faker' export function createCustomer(data: NonNullable> = {}) { return { - ...{ id: faker.number.int(), username: faker.string.alpha(), address: faker.helpers.arrayElements([createAddress()]) as any }, + ...{ id: faker.number.int(), username: faker.string.alpha(), address: faker.helpers.multiple(() => createAddress()) as any }, ...data, } } diff --git a/examples/faker/src/gen/faker/createPet.ts b/examples/faker/src/gen/faker/createPet.ts index bc393d6e6..66fbac424 100644 --- a/examples/faker/src/gen/faker/createPet.ts +++ b/examples/faker/src/gen/faker/createPet.ts @@ -9,8 +9,8 @@ export function createPet(data: NonNullable> = {}) { id: faker.number.int(), name: faker.commerce.productName(), category: createCategory(), - photoUrls: faker.helpers.arrayElements([faker.string.alpha()]) as any, - tags: faker.helpers.arrayElements([createTag()]) as any, + photoUrls: faker.helpers.multiple(() => faker.string.alpha()) as any, + tags: faker.helpers.multiple(() => createTag()) as any, status: faker.helpers.arrayElement(['available', 'pending', 'sold']), }, ...data, diff --git a/examples/faker/src/gen/faker/createUserArray.ts b/examples/faker/src/gen/faker/createUserArray.ts index 868acc975..e9b43b201 100644 --- a/examples/faker/src/gen/faker/createUserArray.ts +++ b/examples/faker/src/gen/faker/createUserArray.ts @@ -2,6 +2,6 @@ import type { UserArray } from '../models/UserArray.ts' import { createUser } from './createUser.ts' import { faker } from '@faker-js/faker' -export function createUserArray(data: NonNullable> = []) { - return [...(faker.helpers.arrayElements([createUser()]) as any), ...data] +export function createUserArray() { + return faker.helpers.multiple(() => createUser()) as any } diff --git a/examples/faker/src/gen/tag/createCustomer.ts b/examples/faker/src/gen/tag/createCustomer.ts index 5a9e1f1e7..c7b89a7e0 100644 --- a/examples/faker/src/gen/tag/createCustomer.ts +++ b/examples/faker/src/gen/tag/createCustomer.ts @@ -4,7 +4,7 @@ import { faker } from '@faker-js/faker' export function createCustomer(data: NonNullable> = {}) { return { - ...{ id: faker.number.int(), username: faker.string.alpha(), address: faker.helpers.arrayElements([createAddress()]) as any }, + ...{ id: faker.number.int(), username: faker.string.alpha(), address: faker.helpers.multiple(() => createAddress()) as any }, ...data, } } diff --git a/examples/faker/src/gen/tag/createPet.ts b/examples/faker/src/gen/tag/createPet.ts index d5030e8f9..85df6f165 100644 --- a/examples/faker/src/gen/tag/createPet.ts +++ b/examples/faker/src/gen/tag/createPet.ts @@ -9,8 +9,8 @@ export function createPet(data: NonNullable> = {}) { id: faker.number.int(), name: faker.string.alpha(), category: createCategory(), - photoUrls: faker.helpers.arrayElements([faker.string.alpha()]) as any, - tags: faker.helpers.arrayElements([createTag()]) as any, + photoUrls: faker.helpers.multiple(() => faker.string.alpha()) as any, + tags: faker.helpers.multiple(() => createTag()) as any, status: faker.helpers.arrayElement(['available', 'pending', 'sold']), }, ...data, diff --git a/examples/faker/src/gen/tag/createUserArray.ts b/examples/faker/src/gen/tag/createUserArray.ts index 868acc975..e9b43b201 100644 --- a/examples/faker/src/gen/tag/createUserArray.ts +++ b/examples/faker/src/gen/tag/createUserArray.ts @@ -2,6 +2,6 @@ import type { UserArray } from '../models/UserArray.ts' import { createUser } from './createUser.ts' import { faker } from '@faker-js/faker' -export function createUserArray(data: NonNullable> = []) { - return [...(faker.helpers.arrayElements([createUser()]) as any), ...data] +export function createUserArray() { + return faker.helpers.multiple(() => createUser()) as any } diff --git a/examples/msw/src/gen/mocks/createAddPetRequest.ts b/examples/msw/src/gen/mocks/createAddPetRequest.ts index 3dd54a5d0..93f700f53 100644 --- a/examples/msw/src/gen/mocks/createAddPetRequest.ts +++ b/examples/msw/src/gen/mocks/createAddPetRequest.ts @@ -10,8 +10,8 @@ export function createAddPetRequest(data: NonNullable> = id: faker.number.int(), name: faker.string.alpha(), category: createCategory(), - photoUrls: faker.helpers.arrayElements([faker.string.alpha()]) as any, - tags: faker.helpers.arrayElements([createTag()]) as any, + photoUrls: faker.helpers.multiple(() => faker.string.alpha()) as any, + tags: faker.helpers.multiple(() => createTag()) as any, status: faker.helpers.arrayElement(['available', 'pending', 'sold']), }, ...data, diff --git a/examples/msw/src/gen/mocks/createCustomer.ts b/examples/msw/src/gen/mocks/createCustomer.ts index 8c48becdc..3743992e3 100644 --- a/examples/msw/src/gen/mocks/createCustomer.ts +++ b/examples/msw/src/gen/mocks/createCustomer.ts @@ -5,7 +5,7 @@ import { faker } from '@faker-js/faker' export function createCustomer(data: NonNullable> = {}) { faker.seed([220]) return { - ...{ id: faker.number.int(), username: faker.string.alpha(), address: faker.helpers.arrayElements([createAddress()]) as any }, + ...{ id: faker.number.int(), username: faker.string.alpha(), address: faker.helpers.multiple(() => createAddress()) as any }, ...data, } } diff --git a/examples/msw/src/gen/mocks/createPet.ts b/examples/msw/src/gen/mocks/createPet.ts index f8d945618..8ee4892dd 100644 --- a/examples/msw/src/gen/mocks/createPet.ts +++ b/examples/msw/src/gen/mocks/createPet.ts @@ -10,8 +10,8 @@ export function createPet(data: NonNullable> = {}) { id: faker.number.int(), name: faker.string.alpha(), category: createCategory(), - photoUrls: faker.helpers.arrayElements([faker.string.alpha()]) as any, - tags: faker.helpers.arrayElements([createTag()]) as any, + photoUrls: faker.helpers.multiple(() => faker.string.alpha()) as any, + tags: faker.helpers.multiple(() => createTag()) as any, status: faker.helpers.arrayElement(['available', 'pending', 'sold']), }, ...data, diff --git a/examples/msw/src/gen/mocks/createUserArray.ts b/examples/msw/src/gen/mocks/createUserArray.ts index f0eddad75..ccc0df65a 100644 --- a/examples/msw/src/gen/mocks/createUserArray.ts +++ b/examples/msw/src/gen/mocks/createUserArray.ts @@ -2,7 +2,7 @@ import type { UserArray } from '../models/UserArray.ts' import { createUser } from './createUser.ts' import { faker } from '@faker-js/faker' -export function createUserArray(data: NonNullable> = []) { +export function createUserArray() { faker.seed([220]) - return [...(faker.helpers.arrayElements([createUser()]) as any), ...data] + return faker.helpers.multiple(() => createUser()) as any } diff --git a/examples/msw/src/gen/mocks/petController/createFindPetsByStatus.ts b/examples/msw/src/gen/mocks/petController/createFindPetsByStatus.ts index f2398455f..234ed447c 100644 --- a/examples/msw/src/gen/mocks/petController/createFindPetsByStatus.ts +++ b/examples/msw/src/gen/mocks/petController/createFindPetsByStatus.ts @@ -13,9 +13,9 @@ export function createFindPetsByStatusQueryParams(data: NonNullable> = []) { +export function createFindPetsByStatus200() { faker.seed([220]) - return [...(faker.helpers.arrayElements([createPet()]) as any), ...data] + return faker.helpers.multiple(() => createPet()) as any } /** @@ -29,7 +29,7 @@ export function createFindPetsByStatus400() { /** * @description successful operation */ -export function createFindPetsByStatusQueryResponse(data: NonNullable> = []) { +export function createFindPetsByStatusQueryResponse() { faker.seed([220]) - return [...(faker.helpers.arrayElements([createPet()]) as any), ...data] + return faker.helpers.multiple(() => createPet()) as any } diff --git a/examples/msw/src/gen/mocks/petController/createFindPetsByTags.ts b/examples/msw/src/gen/mocks/petController/createFindPetsByTags.ts index 99011290c..1417712a2 100644 --- a/examples/msw/src/gen/mocks/petController/createFindPetsByTags.ts +++ b/examples/msw/src/gen/mocks/petController/createFindPetsByTags.ts @@ -5,7 +5,7 @@ import { faker } from '@faker-js/faker' export function createFindPetsByTagsQueryParams(data: NonNullable> = {}) { faker.seed([220]) return { - ...{ tags: faker.helpers.arrayElements([faker.string.alpha()]) as any, page: faker.string.alpha(), pageSize: faker.string.alpha() }, + ...{ tags: faker.helpers.multiple(() => faker.string.alpha()) as any, page: faker.string.alpha(), pageSize: faker.string.alpha() }, ...data, } } @@ -13,9 +13,9 @@ export function createFindPetsByTagsQueryParams(data: NonNullable> = []) { +export function createFindPetsByTags200() { faker.seed([220]) - return [...(faker.helpers.arrayElements([createPet()]) as any), ...data] + return faker.helpers.multiple(() => createPet()) as any } /** @@ -29,7 +29,7 @@ export function createFindPetsByTags400() { /** * @description successful operation */ -export function createFindPetsByTagsQueryResponse(data: NonNullable> = []) { +export function createFindPetsByTagsQueryResponse() { faker.seed([220]) - return [...(faker.helpers.arrayElements([createPet()]) as any), ...data] + return faker.helpers.multiple(() => createPet()) as any } diff --git a/examples/msw/src/gen/mocks/petController/createOptionsFindPetsByStatus.ts b/examples/msw/src/gen/mocks/petController/createOptionsFindPetsByStatus.ts index 5625c94d9..7ba4f4a53 100644 --- a/examples/msw/src/gen/mocks/petController/createOptionsFindPetsByStatus.ts +++ b/examples/msw/src/gen/mocks/petController/createOptionsFindPetsByStatus.ts @@ -5,15 +5,15 @@ import { faker } from '@faker-js/faker' /** * @description successful operation */ -export function createOptionsFindPetsByStatus200(data: NonNullable> = []) { +export function createOptionsFindPetsByStatus200() { faker.seed([220]) - return [...(faker.helpers.arrayElements([createPet()]) as any), ...data] + return faker.helpers.multiple(() => createPet()) as any } /** * @description successful operation */ -export function createOptionsFindPetsByStatusMutationResponse(data: NonNullable> = []) { +export function createOptionsFindPetsByStatusMutationResponse() { faker.seed([220]) - return [...(faker.helpers.arrayElements([createPet()]) as any), ...data] + return faker.helpers.multiple(() => createPet()) as any } diff --git a/examples/msw/src/gen/mocks/userController/createCreateUsersWithListInput.ts b/examples/msw/src/gen/mocks/userController/createCreateUsersWithListInput.ts index 91b5e49cb..a1129256b 100644 --- a/examples/msw/src/gen/mocks/userController/createCreateUsersWithListInput.ts +++ b/examples/msw/src/gen/mocks/userController/createCreateUsersWithListInput.ts @@ -18,9 +18,9 @@ export function createCreateUsersWithListInputError() { return undefined } -export function createCreateUsersWithListInputMutationRequest(data: NonNullable> = []) { +export function createCreateUsersWithListInputMutationRequest() { faker.seed([220]) - return [...(faker.helpers.arrayElements([createUser()]) as any), ...data] + return faker.helpers.multiple(() => createUser()) as any } /** diff --git a/packages/cli/package.json b/packages/cli/package.json index 75e932c95..ac9cf8434 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -57,7 +57,7 @@ "consola": "^3.2.3", "cosmiconfig": "^9.0.0", "execa": "^9.4.0", - "jiti": "^2.3.2", + "jiti": "^2.3.3", "latest-version": "^9.0.0", "p-queue": "^8.0.1", "semver": "^7.6.3", diff --git a/packages/plugin-faker/src/generators/__snapshots__/pets.ts b/packages/plugin-faker/src/generators/__snapshots__/pets.ts index 01ee1053a..3c191141b 100644 --- a/packages/plugin-faker/src/generators/__snapshots__/pets.ts +++ b/packages/plugin-faker/src/generators/__snapshots__/pets.ts @@ -1,8 +1,5 @@ import { faker } from "@faker-js/faker"; - export function pets(data: NonNullable> = []) { - return [ - ...faker.helpers.arrayElements([pet()]) as any, - ...data - ]; + export function pets() { + return faker.helpers.multiple(() => (pet())) as any; } diff --git a/packages/plugin-faker/src/parser/__snapshots__/index.test.ts.snap b/packages/plugin-faker/src/parser/__snapshots__/index.test.ts.snap index b06f597e6..897789b1a 100644 --- a/packages/plugin-faker/src/parser/__snapshots__/index.test.ts.snap +++ b/packages/plugin-faker/src/parser/__snapshots__/index.test.ts.snap @@ -4,13 +4,13 @@ exports[`faker parse > 'and' 1`] = `"Object.assign({}, faker.string.alpha(), fak exports[`faker parse > 'any' 1`] = `"undefined"`; -exports[`faker parse > 'array' 1`] = `"faker.helpers.arrayElements([faker.helpers.arrayElement([faker.number.float(), faker.string.alpha()])]) as any"`; +exports[`faker parse > 'array' 1`] = `"faker.helpers.multiple(() => (faker.helpers.arrayElement([faker.number.float(), faker.string.alpha()]))) as any"`; -exports[`faker parse > 'arrayAdvanced' 1`] = `"faker.helpers.arrayElements([faker.number.float({ min: 1, max: 10 })]) as any"`; +exports[`faker parse > 'arrayAdvanced' 1`] = `"faker.helpers.multiple(() => (faker.number.float({ min: 1, max: 10 })), { count: { min: 3, max: 10 }}) as any"`; -exports[`faker parse > 'arrayEmpty' 1`] = `"faker.helpers.arrayElements([]) as any"`; +exports[`faker parse > 'arrayEmpty' 1`] = `"faker.helpers.multiple(() => (undefined)) as any"`; -exports[`faker parse > 'arrayRef' 1`] = `"faker.helpers.arrayElements([Pet()]) as any"`; +exports[`faker parse > 'arrayRef' 1`] = `"faker.helpers.multiple(() => (Pet())) as any"`; exports[`faker parse > 'arrayRegex' 1`] = `"faker.helpers.arrayElements([faker.helpers.fromRegExp(new RegExp('^[a-zA-Z0-9]{1,13}$')), faker.string.alpha()]) as any"`; diff --git a/packages/plugin-faker/src/parser/index.ts b/packages/plugin-faker/src/parser/index.ts index baece943f..bfedac590 100644 --- a/packages/plugin-faker/src/parser/index.ts +++ b/packages/plugin-faker/src/parser/index.ts @@ -55,7 +55,24 @@ const fakerKeywordMapper = { boolean: () => 'faker.datatype.boolean()', undefined: () => 'undefined', null: () => 'null', - array: (items: string[] = []) => `faker.helpers.arrayElements([${items.join(', ')}]) as any`, + array: (items: string[] = [], min?: number, max?: number) => { + if (items.length > 1) { + return `faker.helpers.arrayElements([${items.join(', ')}]) as any` + } + const item = items.at(0) + + if (min !== undefined && max !== undefined) { + return `faker.helpers.multiple(() => (${item}), { count: { min: ${min}, max: ${max} }}) as any` + } + if (min !== undefined) { + return `faker.helpers.multiple(() => (${item}), { count: ${min} }) as any` + } + if (max !== undefined) { + return `faker.helpers.multiple(() => (${item}), { count: { min: 0, max: ${max} }}) as any` + } + + return `faker.helpers.multiple(() => (${item})) as any` + }, tuple: (items: string[] = []) => `faker.helpers.arrayElements([${items.join(', ')}]) as any`, enum: (items: Array = []) => `faker.helpers.arrayElement([${items.join(', ')}])`, union: (items: string[] = []) => `faker.helpers.arrayElement([${items.join(', ')}])`, @@ -187,7 +204,11 @@ export function parse(parent: Schema | undefined, current: Schema, options: Pars } if (isKeyword(current, schemaKeywords.array)) { - return fakerKeywordMapper.array(current.args.items.map((schema) => parse(current, schema, { ...options, canOverride: false })).filter(Boolean)) + return fakerKeywordMapper.array( + current.args.items.map((schema) => parse(current, schema, { ...options, canOverride: false })).filter(Boolean), + current.args.min, + current.args.max, + ) } if (isKeyword(current, schemaKeywords.enum)) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2b272d4e3..20388740b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -217,7 +217,7 @@ importers: version: 2.2.5(react@18.3.1) tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) vue: specifier: ^3.5.11 version: 3.5.11(typescript@5.6.2) @@ -321,7 +321,7 @@ importers: version: link:../../packages/config-ts tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -361,7 +361,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -400,7 +400,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) devDependencies: '@kubb/config-ts': specifier: workspace:* @@ -435,7 +435,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -475,7 +475,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -517,7 +517,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.2.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.2.2)(yaml@2.5.1) devDependencies: '@kubb/config-ts': specifier: workspace:* @@ -585,7 +585,7 @@ importers: version: 1.3.4(typescript@5.6.2) tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -630,7 +630,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) zod: specifier: ^3.23.8 version: 3.23.8 @@ -669,7 +669,7 @@ importers: version: 1.9.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) devDependencies: typescript: specifier: ^5.6.2 @@ -709,7 +709,7 @@ importers: version: 3.59.2 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) devDependencies: typescript: specifier: ^5.6.2 @@ -749,7 +749,7 @@ importers: version: 2.2.5(react@18.3.1) tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) examples/typescript: dependencies: @@ -773,7 +773,7 @@ importers: version: 1.7.7 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) devDependencies: typescript: specifier: ^5.6.2 @@ -823,7 +823,7 @@ importers: version: 1.3.4(typescript@5.6.2) tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -856,7 +856,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) zod: specifier: ^3.23.8 version: 3.23.8 @@ -892,8 +892,8 @@ importers: specifier: ^9.4.0 version: 9.4.0 jiti: - specifier: ^2.3.2 - version: 2.3.2 + specifier: ^2.3.3 + version: 2.3.3 latest-version: specifier: ^9.0.0 version: 9.0.0 @@ -933,7 +933,7 @@ importers: version: 0.5.21 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -960,7 +960,7 @@ importers: version: 20.16.10 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) packages/core: dependencies: @@ -1024,7 +1024,7 @@ importers: version: 1.2.0 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1049,7 +1049,7 @@ importers: version: 11.0.4 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) packages/kubb: dependencies: @@ -1071,7 +1071,7 @@ importers: version: 20.16.10 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1126,7 +1126,7 @@ importers: version: 0.20.0 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1148,7 +1148,7 @@ importers: version: link:../config-tsup tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) packages/plugin-client: dependencies: @@ -1185,7 +1185,7 @@ importers: version: 1.7.7 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1219,7 +1219,7 @@ importers: version: link:../config-tsup tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1262,7 +1262,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1302,7 +1302,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1345,7 +1345,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1397,7 +1397,7 @@ importers: version: 18.3.0 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1440,7 +1440,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1483,7 +1483,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1529,7 +1529,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1569,7 +1569,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1612,7 +1612,7 @@ importers: version: 18.3.1 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1649,7 +1649,7 @@ importers: version: link:../config-tsup tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) packages/react: dependencies: @@ -1707,7 +1707,7 @@ importers: version: 8.5.12 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1722,7 +1722,7 @@ importers: version: link:../config-tsup tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -1765,7 +1765,7 @@ importers: version: 4.24.0 tsup: specifier: ^8.3.0 - version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: specifier: ^5.6.2 version: 5.6.2 @@ -5099,8 +5099,8 @@ packages: resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} hasBin: true - jiti@2.3.2: - resolution: {integrity: sha512-9ZLDe7kYLCyWTAP6EIyg3B4ZuHy5W0gdy6y1rgrWrAOpTrUU+vKuKa1+OXB7MBkujyvm6a2b7i0ETHQDbgY98A==} + jiti@2.3.3: + resolution: {integrity: sha512-EX4oNDwcXSivPrw2qKH2LB5PoFxEvgtv2JgwW0bU858HoLQ+kutSvjLMUqBd0PeJYEinLWhoI9Ol0eYMqj/wNQ==} hasBin: true jju@1.4.0: @@ -11178,7 +11178,7 @@ snapshots: jiti@1.21.6: {} - jiti@2.3.2: {} + jiti@2.3.3: {} jju@1.4.0: {} @@ -12218,11 +12218,11 @@ snapshots: possible-typed-array-names@1.0.0: {} - postcss-load-config@6.0.1(jiti@2.3.2)(postcss@8.4.47)(yaml@2.5.1): + postcss-load-config@6.0.1(jiti@2.3.3)(postcss@8.4.47)(yaml@2.5.1): dependencies: lilconfig: 3.1.2 optionalDependencies: - jiti: 2.3.2 + jiti: 2.3.3 postcss: 8.4.47 yaml: 2.5.1 @@ -13124,7 +13124,7 @@ snapshots: tslib@2.6.3: {} - tsup@8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.2.2)(yaml@2.5.1): + tsup@8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.2.2)(yaml@2.5.1): dependencies: bundle-require: 5.0.0(esbuild@0.23.1) cac: 6.7.14 @@ -13135,7 +13135,7 @@ snapshots: execa: 5.1.1 joycon: 3.1.1 picocolors: 1.1.0 - postcss-load-config: 6.0.1(jiti@2.3.2)(postcss@8.4.47)(yaml@2.5.1) + postcss-load-config: 6.0.1(jiti@2.3.3)(postcss@8.4.47)(yaml@2.5.1) resolve-from: 5.0.0 rollup: 4.24.0 source-map: 0.8.0-beta.0 @@ -13153,7 +13153,7 @@ snapshots: - tsx - yaml - tsup@8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.2)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1): + tsup@8.3.0(@microsoft/api-extractor@7.47.9(@types/node@20.16.10))(@swc/core@1.7.22)(jiti@2.3.3)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1): dependencies: bundle-require: 5.0.0(esbuild@0.23.1) cac: 6.7.14 @@ -13164,7 +13164,7 @@ snapshots: execa: 5.1.1 joycon: 3.1.1 picocolors: 1.1.0 - postcss-load-config: 6.0.1(jiti@2.3.2)(postcss@8.4.47)(yaml@2.5.1) + postcss-load-config: 6.0.1(jiti@2.3.3)(postcss@8.4.47)(yaml@2.5.1) resolve-from: 5.0.0 rollup: 4.24.0 source-map: 0.8.0-beta.0