Merge pull request #17078 from backstage/jhaals/bump-zod
chore: Bump zod deps
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
'@backstage/plugin-permission-backend': patch
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
'@backstage/plugin-permission-common': patch
|
||||
'@backstage/core-components': patch
|
||||
'@backstage/plugin-playlist-backend': patch
|
||||
'@backstage/plugin-scaffolder-react': patch
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
'@backstage/plugin-permission-node': patch
|
||||
'@backstage/plugin-scaffolder-node': patch
|
||||
'@backstage/backend-tasks': patch
|
||||
'@backstage/plugin-search-backend': patch
|
||||
'@backstage/core-app-api': patch
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Bump `zod` and `zod-to-json-schema` dependencies.
|
||||
@@ -43,7 +43,7 @@
|
||||
"luxon": "^3.0.0",
|
||||
"uuid": "^8.0.0",
|
||||
"winston": "^3.2.1",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
"yaml": "^2.0.0",
|
||||
"yml-loader": "^2.1.0",
|
||||
"yn": "^4.0.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-common": "workspace:^",
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"prop-types": "^15.7.2",
|
||||
"react-use": "^17.2.4",
|
||||
"zen-observable": "^0.10.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "^16.13.1 || ^17.0.0",
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
"react-window": "^1.8.6",
|
||||
"remark-gfm": "^3.0.1",
|
||||
"zen-observable": "^0.10.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "^16.13.1 || ^17.0.0",
|
||||
|
||||
@@ -20,8 +20,8 @@ export const catalogConditions: Conditions<{
|
||||
EntitiesSearchFilter,
|
||||
'catalog-entity',
|
||||
{
|
||||
value?: string | undefined;
|
||||
annotation: string;
|
||||
value?: string | undefined;
|
||||
}
|
||||
>;
|
||||
hasLabel: PermissionRule<
|
||||
@@ -37,8 +37,8 @@ export const catalogConditions: Conditions<{
|
||||
EntitiesSearchFilter,
|
||||
'catalog-entity',
|
||||
{
|
||||
value?: string | undefined;
|
||||
key: string;
|
||||
value?: string | undefined;
|
||||
}
|
||||
>;
|
||||
hasSpec: PermissionRule<
|
||||
@@ -46,8 +46,8 @@ export const catalogConditions: Conditions<{
|
||||
EntitiesSearchFilter,
|
||||
'catalog-entity',
|
||||
{
|
||||
value?: string | undefined;
|
||||
key: string;
|
||||
value?: string | undefined;
|
||||
}
|
||||
>;
|
||||
isEntityKind: PermissionRule<
|
||||
@@ -104,8 +104,8 @@ export const permissionRules: {
|
||||
EntitiesSearchFilter,
|
||||
'catalog-entity',
|
||||
{
|
||||
value?: string | undefined;
|
||||
annotation: string;
|
||||
value?: string | undefined;
|
||||
}
|
||||
>;
|
||||
hasLabel: PermissionRule<
|
||||
@@ -121,8 +121,8 @@ export const permissionRules: {
|
||||
EntitiesSearchFilter,
|
||||
'catalog-entity',
|
||||
{
|
||||
value?: string | undefined;
|
||||
key: string;
|
||||
value?: string | undefined;
|
||||
}
|
||||
>;
|
||||
hasSpec: PermissionRule<
|
||||
@@ -130,8 +130,8 @@ export const permissionRules: {
|
||||
EntitiesSearchFilter,
|
||||
'catalog-entity',
|
||||
{
|
||||
value?: string | undefined;
|
||||
key: string;
|
||||
value?: string | undefined;
|
||||
}
|
||||
>;
|
||||
isEntityKind: PermissionRule<
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
"winston": "^3.2.1",
|
||||
"yaml": "^2.0.0",
|
||||
"yn": "^4.0.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"node-fetch": "^2.6.7",
|
||||
"winston": "^3.2.1",
|
||||
"yn": "^4.0.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "workspace:^",
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
"@backstage/types": "workspace:^",
|
||||
"cross-fetch": "^3.1.5",
|
||||
"uuid": "^8.0.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "workspace:^",
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
"@types/express": "^4.17.6",
|
||||
"express": "^4.17.1",
|
||||
"express-promise-router": "^4.1.0",
|
||||
"zod": "~3.18.0",
|
||||
"zod-to-json-schema": "~3.18.0"
|
||||
"zod": "^3.21.4",
|
||||
"zod-to-json-schema": "^3.20.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"uuid": "^8.2.0",
|
||||
"winston": "^3.2.1",
|
||||
"yn": "^4.0.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
|
||||
@@ -83,8 +83,10 @@ export function createCatalogRegisterAction(options: {
|
||||
|
||||
// @public
|
||||
export function createCatalogWriteAction(): TemplateAction_2<{
|
||||
entity: {} & {
|
||||
[k: string]: unknown;
|
||||
};
|
||||
filePath?: string | undefined;
|
||||
entity: {};
|
||||
}>;
|
||||
|
||||
// @public
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
"winston": "^3.2.1",
|
||||
"yaml": "^2.0.0",
|
||||
"zen-observable": "^0.10.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
"@backstage/types": "workspace:^",
|
||||
"jsonschema": "^1.2.6",
|
||||
"winston": "^3.2.1",
|
||||
"zod": "~3.18.0",
|
||||
"zod-to-json-schema": "~3.18.0"
|
||||
"zod": "^3.21.4",
|
||||
"zod-to-json-schema": "^3.20.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "workspace:^"
|
||||
|
||||
@@ -77,8 +77,8 @@
|
||||
"react-use": "^17.2.4",
|
||||
"use-immer": "^0.8.0",
|
||||
"zen-observable": "^0.10.0",
|
||||
"zod": "~3.18.0",
|
||||
"zod-to-json-schema": "~3.18.0"
|
||||
"zod": "^3.21.4",
|
||||
"zod-to-json-schema": "^3.20.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "^16.13.1 || ^17.0.0",
|
||||
|
||||
@@ -75,10 +75,10 @@ export const EntityNamePickerFieldExtension: FieldExtensionComponent_2<
|
||||
export const EntityPickerFieldExtension: FieldExtensionComponent_2<
|
||||
string,
|
||||
{
|
||||
defaultKind?: string | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
allowedKinds?: string[] | undefined;
|
||||
defaultKind?: string | undefined;
|
||||
allowArbitraryValues?: boolean | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
catalogFilter?:
|
||||
| Record<
|
||||
string,
|
||||
@@ -104,10 +104,10 @@ export const EntityPickerFieldExtension: FieldExtensionComponent_2<
|
||||
export const EntityPickerFieldSchema: FieldSchema<
|
||||
string,
|
||||
{
|
||||
defaultKind?: string | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
allowedKinds?: string[] | undefined;
|
||||
defaultKind?: string | undefined;
|
||||
allowArbitraryValues?: boolean | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
catalogFilter?:
|
||||
| Record<
|
||||
string,
|
||||
@@ -137,8 +137,8 @@ export type EntityPickerUiOptions =
|
||||
export const EntityTagsPickerFieldExtension: FieldExtensionComponent_2<
|
||||
string[],
|
||||
{
|
||||
showCounts?: boolean | undefined;
|
||||
kinds?: string[] | undefined;
|
||||
showCounts?: boolean | undefined;
|
||||
helperText?: string | undefined;
|
||||
}
|
||||
>;
|
||||
@@ -147,8 +147,8 @@ export const EntityTagsPickerFieldExtension: FieldExtensionComponent_2<
|
||||
export const EntityTagsPickerFieldSchema: FieldSchema<
|
||||
string[],
|
||||
{
|
||||
showCounts?: boolean | undefined;
|
||||
kinds?: string[] | undefined;
|
||||
showCounts?: boolean | undefined;
|
||||
helperText?: string | undefined;
|
||||
}
|
||||
>;
|
||||
@@ -210,10 +210,10 @@ export function makeFieldSchemaFromZod<
|
||||
export const OwnedEntityPickerFieldExtension: FieldExtensionComponent_2<
|
||||
string,
|
||||
{
|
||||
defaultKind?: string | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
allowedKinds?: string[] | undefined;
|
||||
defaultKind?: string | undefined;
|
||||
allowArbitraryValues?: boolean | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
}
|
||||
>;
|
||||
|
||||
@@ -221,10 +221,10 @@ export const OwnedEntityPickerFieldExtension: FieldExtensionComponent_2<
|
||||
export const OwnedEntityPickerFieldSchema: FieldSchema<
|
||||
string,
|
||||
{
|
||||
defaultKind?: string | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
allowedKinds?: string[] | undefined;
|
||||
defaultKind?: string | undefined;
|
||||
allowArbitraryValues?: boolean | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
}
|
||||
>;
|
||||
|
||||
@@ -236,9 +236,9 @@ export type OwnedEntityPickerUiOptions =
|
||||
export const OwnerPickerFieldExtension: FieldExtensionComponent_2<
|
||||
string,
|
||||
{
|
||||
defaultNamespace?: string | false | undefined;
|
||||
allowedKinds?: string[] | undefined;
|
||||
allowArbitraryValues?: boolean | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
catalogFilter?:
|
||||
| Record<
|
||||
string,
|
||||
@@ -264,9 +264,9 @@ export const OwnerPickerFieldExtension: FieldExtensionComponent_2<
|
||||
export const OwnerPickerFieldSchema: FieldSchema<
|
||||
string,
|
||||
{
|
||||
defaultNamespace?: string | false | undefined;
|
||||
allowedKinds?: string[] | undefined;
|
||||
allowArbitraryValues?: boolean | undefined;
|
||||
defaultNamespace?: string | false | undefined;
|
||||
catalogFilter?:
|
||||
| Record<
|
||||
string,
|
||||
@@ -311,16 +311,16 @@ export const RepoUrlPickerFieldExtension: FieldExtensionComponent_2<
|
||||
allowedRepos?: string[] | undefined;
|
||||
requestUserCredentials?:
|
||||
| {
|
||||
secretsKey: string;
|
||||
additionalScopes?:
|
||||
| {
|
||||
azure?: string[] | undefined;
|
||||
gerrit?: string[] | undefined;
|
||||
github?: string[] | undefined;
|
||||
gitlab?: string[] | undefined;
|
||||
bitbucket?: string[] | undefined;
|
||||
gerrit?: string[] | undefined;
|
||||
azure?: string[] | undefined;
|
||||
}
|
||||
| undefined;
|
||||
secretsKey: string;
|
||||
}
|
||||
| undefined;
|
||||
}
|
||||
@@ -337,16 +337,16 @@ export const RepoUrlPickerFieldSchema: FieldSchema<
|
||||
allowedRepos?: string[] | undefined;
|
||||
requestUserCredentials?:
|
||||
| {
|
||||
secretsKey: string;
|
||||
additionalScopes?:
|
||||
| {
|
||||
azure?: string[] | undefined;
|
||||
gerrit?: string[] | undefined;
|
||||
github?: string[] | undefined;
|
||||
gitlab?: string[] | undefined;
|
||||
bitbucket?: string[] | undefined;
|
||||
gerrit?: string[] | undefined;
|
||||
azure?: string[] | undefined;
|
||||
}
|
||||
| undefined;
|
||||
secretsKey: string;
|
||||
}
|
||||
| undefined;
|
||||
}
|
||||
|
||||
@@ -84,8 +84,8 @@
|
||||
"react-use": "^17.2.4",
|
||||
"yaml": "^2.0.0",
|
||||
"zen-observable": "^0.10.0",
|
||||
"zod": "~3.18.0",
|
||||
"zod-to-json-schema": "~3.18.0"
|
||||
"zod": "^3.21.4",
|
||||
"zod-to-json-schema": "^3.20.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "^16.13.1 || ^17.0.0",
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
"qs": "^6.10.1",
|
||||
"winston": "^3.2.1",
|
||||
"yn": "^4.0.0",
|
||||
"zod": "~3.18.0"
|
||||
"zod": "^3.21.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "workspace:^",
|
||||
|
||||
@@ -3616,7 +3616,7 @@ __metadata:
|
||||
uuid: ^8.0.0
|
||||
wait-for-expect: ^3.0.2
|
||||
winston: ^3.2.1
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -3814,7 +3814,7 @@ __metadata:
|
||||
yaml: ^2.0.0
|
||||
yml-loader: ^2.1.0
|
||||
yn: ^4.0.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
peerDependencies:
|
||||
"@microsoft/api-extractor": ^7.21.2
|
||||
peerDependenciesMeta:
|
||||
@@ -3910,7 +3910,7 @@ __metadata:
|
||||
react-router-stable: "npm:react-router@^6.3.0"
|
||||
react-use: ^17.2.4
|
||||
zen-observable: ^0.10.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
peerDependencies:
|
||||
"@types/react": ^16.13.1 || ^17.0.0
|
||||
react: ^16.13.1 || ^17.0.0
|
||||
@@ -4030,7 +4030,7 @@ __metadata:
|
||||
react-window: ^1.8.6
|
||||
remark-gfm: ^3.0.1
|
||||
zen-observable: ^0.10.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
peerDependencies:
|
||||
"@types/react": ^16.13.1 || ^17.0.0
|
||||
react: ^16.13.1 || ^17.0.0
|
||||
@@ -5289,7 +5289,7 @@ __metadata:
|
||||
winston: ^3.2.1
|
||||
yaml: ^2.0.0
|
||||
yn: ^4.0.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -7361,7 +7361,7 @@ __metadata:
|
||||
supertest: ^6.1.6
|
||||
winston: ^3.2.1
|
||||
yn: ^4.0.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -7376,7 +7376,7 @@ __metadata:
|
||||
cross-fetch: ^3.1.5
|
||||
msw: ^1.0.0
|
||||
uuid: ^8.0.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -7397,8 +7397,8 @@ __metadata:
|
||||
express-promise-router: ^4.1.0
|
||||
msw: ^1.0.0
|
||||
supertest: ^6.1.3
|
||||
zod: ~3.18.0
|
||||
zod-to-json-schema: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
zod-to-json-schema: ^3.20.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -7449,7 +7449,7 @@ __metadata:
|
||||
uuid: ^8.2.0
|
||||
winston: ^3.2.1
|
||||
yn: ^4.0.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -7767,7 +7767,7 @@ __metadata:
|
||||
winston: ^3.2.1
|
||||
yaml: ^2.0.0
|
||||
zen-observable: ^0.10.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -7793,8 +7793,8 @@ __metadata:
|
||||
"@backstage/types": "workspace:^"
|
||||
jsonschema: ^1.2.6
|
||||
winston: ^3.2.1
|
||||
zod: ~3.18.0
|
||||
zod-to-json-schema: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
zod-to-json-schema: ^3.20.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -7845,8 +7845,8 @@ __metadata:
|
||||
react-use: ^17.2.4
|
||||
use-immer: ^0.8.0
|
||||
zen-observable: ^0.10.0
|
||||
zod: ~3.18.0
|
||||
zod-to-json-schema: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
zod-to-json-schema: ^3.20.4
|
||||
peerDependencies:
|
||||
"@types/react": ^16.13.1 || ^17.0.0
|
||||
react: ^16.13.1 || ^17.0.0
|
||||
@@ -7912,8 +7912,8 @@ __metadata:
|
||||
react-use: ^17.2.4
|
||||
yaml: ^2.0.0
|
||||
zen-observable: ^0.10.0
|
||||
zod: ~3.18.0
|
||||
zod-to-json-schema: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
zod-to-json-schema: ^3.20.4
|
||||
peerDependencies:
|
||||
"@types/react": ^16.13.1 || ^17.0.0
|
||||
react: ^16.13.1 || ^17.0.0
|
||||
@@ -8073,7 +8073,7 @@ __metadata:
|
||||
supertest: ^6.1.3
|
||||
winston: ^3.2.1
|
||||
yn: ^4.0.0
|
||||
zod: ~3.18.0
|
||||
zod: ^3.21.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -40296,12 +40296,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"zod-to-json-schema@npm:~3.18.0":
|
||||
version: 3.18.2
|
||||
resolution: "zod-to-json-schema@npm:3.18.2"
|
||||
"zod-to-json-schema@npm:^3.20.4":
|
||||
version: 3.20.4
|
||||
resolution: "zod-to-json-schema@npm:3.20.4"
|
||||
peerDependencies:
|
||||
zod: ^3.18.0
|
||||
checksum: 10e84864a3ccc2e04500b9bc81369ed7c5b3ec068ea582a13369175ed40e785091a63ae7fa86ebb4ddf1bccd55c3dab32f4d3070bbcc3296e68305ff787c9df3
|
||||
zod: ^3.20.0
|
||||
checksum: 55bc649dbc82ce25fbfbfdd42ca530d883d83be5d02cb81e89f6401d54bca151fc6b8cc57999c75eb6a3dcaa3f000697315fbd4f505637472621570ed52784d8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"zod@npm:^3.21.4":
|
||||
version: 3.21.4
|
||||
resolution: "zod@npm:3.21.4"
|
||||
checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user