chore(deps): update dependency typescript to v4.4.3 (#43316)
* chore(deps): update dependency typescript to v4.4.3 * fix: use UserType correctly Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
6
client/package-lock.json
generated
6
client/package-lock.json
generated
@ -20576,9 +20576,9 @@
|
||||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.3.5",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz",
|
||||
"integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA=="
|
||||
"version": "4.4.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
|
||||
"integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA=="
|
||||
},
|
||||
"typescript-compare": {
|
||||
"version": "0.0.2",
|
||||
|
@ -125,7 +125,7 @@
|
||||
"sass.js": "0.11.1",
|
||||
"store": "2.0.12",
|
||||
"stream-browserify": "3.0.0",
|
||||
"typescript": "4.3.5",
|
||||
"typescript": "4.4.3",
|
||||
"uuid": "8.3.2",
|
||||
"validator": "13.6.0"
|
||||
},
|
||||
|
@ -30,7 +30,7 @@ interface IShowProfileOrFourOhFourProps {
|
||||
const createRequestedUserSelector =
|
||||
() =>
|
||||
(state: unknown, { maybeUser = '' }) =>
|
||||
userByNameSelector(maybeUser.toLowerCase())(state) as string;
|
||||
userByNameSelector(maybeUser.toLowerCase())(state) as UserType;
|
||||
const createIsSessionUserSelector =
|
||||
() =>
|
||||
(state: unknown, { maybeUser = '' }) =>
|
||||
@ -44,10 +44,7 @@ const makeMapStateToProps =
|
||||
state
|
||||
) as IShowProfileOrFourOhFourProps['fetchState'];
|
||||
return {
|
||||
requestedUser: requestedUserSelector(
|
||||
state,
|
||||
props
|
||||
) as IShowProfileOrFourOhFourProps['requestedUser'],
|
||||
requestedUser: requestedUserSelector(state, props),
|
||||
isSessionUser: isSessionUserSelector(state, props),
|
||||
showLoading: fetchState.pending,
|
||||
fetchState
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -22418,9 +22418,9 @@
|
||||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.3.5",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz",
|
||||
"integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==",
|
||||
"version": "4.4.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
|
||||
"integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
|
||||
"dev": true
|
||||
},
|
||||
"uc.micro": {
|
||||
|
@ -141,7 +141,7 @@
|
||||
"process": "0.11.10",
|
||||
"shx": "0.3.3",
|
||||
"start-server-and-test": "1.14.0",
|
||||
"typescript": "4.3.5",
|
||||
"typescript": "4.4.3",
|
||||
"webpack-bundle-analyzer": "4.4.2"
|
||||
}
|
||||
}
|
||||
|
6
tools/challenge-helper-scripts/package-lock.json
generated
6
tools/challenge-helper-scripts/package-lock.json
generated
@ -677,9 +677,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.3.5",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz",
|
||||
"integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==",
|
||||
"version": "4.4.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
|
||||
"integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
|
||||
"dev": true
|
||||
},
|
||||
"util-deprecate": {
|
||||
|
@ -30,6 +30,6 @@
|
||||
"inquirer": "8.1.2",
|
||||
"prettier": "2.4.1",
|
||||
"ts-node": "10.2.1",
|
||||
"typescript": "4.3.5"
|
||||
"typescript": "4.4.3"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user