Bump typescript from 4.2.4 to 4.4.2 (#1081)
* Bump typescript from 4.2.4 to 4.4.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.4.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.4.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
parent
d1bc304d52
commit
aba9e3d501
12 changed files with 25 additions and 16 deletions
7
cypress/tsconfig.json
Normal file
7
cypress/tsconfig.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "ES2015",
|
||||
"target": "ES2015",
|
||||
}
|
||||
}
|
12
package-lock.json
generated
12
package-lock.json
generated
|
@ -63,7 +63,7 @@
|
|||
"snowpack": "^3.8.2",
|
||||
"ts-jest": "^26.5.6",
|
||||
"ts-node": "^10.2.1",
|
||||
"typescript": "4.2.4"
|
||||
"typescript": "4.4.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "16"
|
||||
|
@ -16891,8 +16891,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "4.2.4",
|
||||
"integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==",
|
||||
"version": "4.4.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
|
||||
"integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
|
@ -30289,8 +30290,9 @@
|
|||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.2.4",
|
||||
"integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==",
|
||||
"version": "4.4.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
|
||||
"integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==",
|
||||
"dev": true
|
||||
},
|
||||
"unbox-primitive": {
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
"snowpack": "^3.8.2",
|
||||
"ts-jest": "^26.5.6",
|
||||
"ts-node": "^10.2.1",
|
||||
"typescript": "4.2.4"
|
||||
"typescript": "4.4.2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,jsx,mjs,ts,tsx}": "eslint --cache --fix"
|
||||
|
|
|
@ -93,7 +93,7 @@ export const FlowDetails = () => {
|
|||
await Promise.all(requests);
|
||||
refresh();
|
||||
addAlert(t("updateFlowSuccess"), AlertVariant.success);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
addAlert(
|
||||
t("updateFlowError", {
|
||||
error: error.response?.data?.errorMessage || error,
|
||||
|
@ -113,7 +113,7 @@ export const FlowDetails = () => {
|
|||
);
|
||||
refresh();
|
||||
addAlert(t("updateFlowSuccess"), AlertVariant.success);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
addAlert(
|
||||
t("updateFlowError", {
|
||||
error: error.response?.data?.errorMessage || error,
|
||||
|
|
|
@ -34,7 +34,7 @@ export const CreateFlow = () => {
|
|||
try {
|
||||
await adminClient.authenticationManagement.createFlow(flow);
|
||||
addAlert(t("flowCreatedSuccess"), AlertVariant.success);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
addAlert(
|
||||
t("flowCreateError", {
|
||||
error: error.response?.data?.errorMessage || error,
|
||||
|
|
|
@ -90,7 +90,7 @@ export const ClientScopesSection = () => {
|
|||
for (const scope of selectedScopes) {
|
||||
try {
|
||||
await removeScope(adminClient, scope);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
console.warn(
|
||||
"could not remove scope",
|
||||
error.response?.data?.errorMessage || error
|
||||
|
|
|
@ -92,7 +92,7 @@ export const RoleMappingForm = () => {
|
|||
try {
|
||||
await adminClient.clientScopes.addProtocolMapper({ id }, mapping);
|
||||
addAlert(t("mapperCreateSuccess"));
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
addAlert(t("mapperCreateError", error));
|
||||
}
|
||||
};
|
||||
|
|
|
@ -211,7 +211,7 @@ export const GroupTable = () => {
|
|||
} else {
|
||||
await adminClient.groups.create(move);
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
if (error.response) {
|
||||
throw error;
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ export const AddSamlConnect = () => {
|
|||
history.push(
|
||||
`/${realm}/identity-providers/${id}/${provider.alias}/settings`
|
||||
);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
addAlert(
|
||||
t("createError", {
|
||||
error: error.response?.data?.errorMessage || error,
|
||||
|
|
|
@ -75,7 +75,7 @@ export const OpenIdConnectSettings = () => {
|
|||
);
|
||||
const result = await response.json();
|
||||
setupForm(result);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
setDiscoveryResult({ error });
|
||||
}
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@ export const SamlConnectSettings = () => {
|
|||
);
|
||||
const result = await response.json();
|
||||
setupForm(result);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
setDiscoveryResult({ error });
|
||||
}
|
||||
}
|
||||
|
|
|
@ -148,7 +148,7 @@ export const UserFederationKerberosSettings = () => {
|
|||
await adminClient.components.del({ id });
|
||||
addAlert(t("userFedDeletedSuccess"), AlertVariant.success);
|
||||
history.replace(`/${realm}/user-federation`);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
addAlert("user-federation:userFedDeleteError", error);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue