Merge pull request #21256 from backstage/renovate/typescript-5.x
chore(deps): update dependency typescript to v5.2.2
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'@backstage/backend-openapi-utils': patch
|
||||
'@backstage/plugin-scaffolder-react': patch
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
---
|
||||
|
||||
Minor updates for TypeScript 5.2.2+ compatibility
|
||||
+1
-1
@@ -91,7 +91,7 @@
|
||||
"semver": "^7.5.3",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~5.0.0"
|
||||
"typescript": "~5.2.0"
|
||||
},
|
||||
"prettier": "@spotify/prettier-config",
|
||||
"lint-staged": {
|
||||
|
||||
@@ -61,12 +61,13 @@ type ComponentTypes<Doc extends RequiredDoc> = Extract<
|
||||
>;
|
||||
|
||||
// @public (undocumented)
|
||||
type ConvertAll<T, R extends ReadonlyArray<unknown> = []> = T extends [
|
||||
infer First extends JSONSchema7,
|
||||
...infer Rest,
|
||||
]
|
||||
? ConvertAll<Rest, [...R, FromSchema<First>]>
|
||||
: R;
|
||||
type ConvertAll<T extends ReadonlyArray<unknown>> = {
|
||||
[Index in keyof T]: T[Index] extends JSONSchema7
|
||||
? FromSchema<T[Index]>
|
||||
: T[Index];
|
||||
} & {
|
||||
length: T['length'];
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
interface CookieObject extends ParameterObject {
|
||||
|
||||
@@ -220,12 +220,11 @@ export type TuplifyUnion<
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type ConvertAll<T, R extends ReadonlyArray<unknown> = []> = T extends [
|
||||
infer First extends JSONSchema7,
|
||||
...infer Rest,
|
||||
]
|
||||
? ConvertAll<Rest, [...R, FromSchema<First>]>
|
||||
: R;
|
||||
export type ConvertAll<T extends ReadonlyArray<unknown>> = {
|
||||
[Index in keyof T]: T[Index] extends JSONSchema7
|
||||
? FromSchema<T[Index]>
|
||||
: T[Index];
|
||||
} & { length: T['length'] };
|
||||
|
||||
/**
|
||||
* @public
|
||||
|
||||
+1
-1
@@ -130,7 +130,7 @@ export function EntityAutocompletePicker<
|
||||
<Box pb={1} pt={1}>
|
||||
<Typography variant="button" component="label">
|
||||
{label}
|
||||
<Autocomplete
|
||||
<Autocomplete<string, true>
|
||||
multiple
|
||||
disableCloseOnSelect
|
||||
options={availableOptions}
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ export const EntityProcessingStatusPicker = () => {
|
||||
<Box pb={1} pt={1}>
|
||||
<Typography variant="button" component="label">
|
||||
Processing Status
|
||||
<Autocomplete
|
||||
<Autocomplete<string, true>
|
||||
multiple
|
||||
disableCloseOnSelect
|
||||
options={availableAdvancedItems}
|
||||
|
||||
@@ -317,42 +317,42 @@ function LinearProgressWithLabel(props: {
|
||||
// Warning: (ae-missing-release-tag) "MOCK_RELEASE_BRANCH_NAME_CALVER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const MOCK_RELEASE_BRANCH_NAME_CALVER: string;
|
||||
const MOCK_RELEASE_BRANCH_NAME_CALVER = 'rc/2020.01.01_1';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "MOCK_RELEASE_BRANCH_NAME_SEMVER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const MOCK_RELEASE_BRANCH_NAME_SEMVER: string;
|
||||
const MOCK_RELEASE_BRANCH_NAME_SEMVER = 'rc/1.2.3';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "MOCK_RELEASE_CANDIDATE_TAG_NAME_CALVER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const MOCK_RELEASE_CANDIDATE_TAG_NAME_CALVER: string;
|
||||
const MOCK_RELEASE_CANDIDATE_TAG_NAME_CALVER = 'rc-2020.01.01_1';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "MOCK_RELEASE_CANDIDATE_TAG_NAME_SEMVER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const MOCK_RELEASE_CANDIDATE_TAG_NAME_SEMVER: string;
|
||||
const MOCK_RELEASE_CANDIDATE_TAG_NAME_SEMVER = 'rc-1.2.3';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "MOCK_RELEASE_NAME_CALVER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const MOCK_RELEASE_NAME_CALVER: string;
|
||||
const MOCK_RELEASE_NAME_CALVER = 'Version 2020.01.01_1';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "MOCK_RELEASE_NAME_SEMVER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const MOCK_RELEASE_NAME_SEMVER: string;
|
||||
const MOCK_RELEASE_NAME_SEMVER = 'Version 1.2.3';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "MOCK_RELEASE_VERSION_TAG_NAME_CALVER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const MOCK_RELEASE_VERSION_TAG_NAME_CALVER: string;
|
||||
const MOCK_RELEASE_VERSION_TAG_NAME_CALVER = 'version-2020.01.01_1';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "MOCK_RELEASE_VERSION_TAG_NAME_SEMVER" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
const MOCK_RELEASE_VERSION_TAG_NAME_SEMVER: string;
|
||||
const MOCK_RELEASE_VERSION_TAG_NAME_SEMVER = 'version-1.2.3';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "mockBumpedTag" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ export const TemplateCategoryPicker = () => {
|
||||
>
|
||||
Categories
|
||||
</Typography>
|
||||
<Autocomplete
|
||||
<Autocomplete<string, true>
|
||||
multiple
|
||||
id="categories-picker"
|
||||
options={availableTypes}
|
||||
|
||||
@@ -65,7 +65,7 @@ export const TemplateTypePicker = () => {
|
||||
>
|
||||
Categories
|
||||
</Typography>
|
||||
<Autocomplete
|
||||
<Autocomplete<string, true>
|
||||
id="categories-picker"
|
||||
multiple
|
||||
options={availableTypes}
|
||||
|
||||
@@ -41169,7 +41169,7 @@ __metadata:
|
||||
semver: ^7.5.3
|
||||
shx: ^0.3.2
|
||||
ts-node: ^10.4.0
|
||||
typescript: ~5.0.0
|
||||
typescript: ~5.2.0
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -44284,7 +44284,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:~5.0.0, typescript@npm:~5.0.4":
|
||||
"typescript@npm:~5.0.4":
|
||||
version: 5.0.4
|
||||
resolution: "typescript@npm:5.0.4"
|
||||
bin:
|
||||
@@ -44304,7 +44304,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@~5.0.0#~builtin<compat/typescript>, typescript@patch:typescript@~5.0.4#~builtin<compat/typescript>":
|
||||
"typescript@npm:~5.2.0":
|
||||
version: 5.2.2
|
||||
resolution: "typescript@npm:5.2.2"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 7912821dac4d962d315c36800fe387cdc0a6298dba7ec171b350b4a6e988b51d7b8f051317786db1094bd7431d526b648aba7da8236607febb26cf5b871d2d3c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@~5.0.4#~builtin<compat/typescript>":
|
||||
version: 5.0.4
|
||||
resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin<compat/typescript>::version=5.0.4&hash=a1c5e5"
|
||||
bin:
|
||||
@@ -44324,6 +44334,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@~5.2.0#~builtin<compat/typescript>":
|
||||
version: 5.2.2
|
||||
resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin<compat/typescript>::version=5.2.2&hash=a1c5e5"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 07106822b4305de3f22835cbba949a2b35451cad50888759b6818421290ff95d522b38ef7919e70fb381c5fe9c1c643d7dea22c8b31652a717ddbd57b7f4d554
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ua-parser-js@npm:^0.7.30":
|
||||
version: 0.7.33
|
||||
resolution: "ua-parser-js@npm:0.7.33"
|
||||
|
||||
Reference in New Issue
Block a user