MM-60335: Upgrade to typescript 5.5.4 (#28099)
Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
46cad5c552
Коммит
355dd18e52
@@ -96,7 +96,7 @@
|
|||||||
"timezones.json": "1.6.1",
|
"timezones.json": "1.6.1",
|
||||||
"tinycolor2": "1.4.2",
|
"tinycolor2": "1.4.2",
|
||||||
"turndown": "7.1.1",
|
"turndown": "7.1.1",
|
||||||
"typescript": "5.3.3",
|
"typescript": "5.5.4",
|
||||||
"web-vitals": "4.2.0",
|
"web-vitals": "4.2.0",
|
||||||
"zen-observable": "0.9.0"
|
"zen-observable": "0.9.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -666,8 +666,6 @@ export const useBookmarkLinkValidation = (link: string, onValidated: (validatedL
|
|||||||
try {
|
try {
|
||||||
await fetch(url, {
|
await fetch(url, {
|
||||||
mode: 'no-cors',
|
mode: 'no-cors',
|
||||||
|
|
||||||
// @ts-expect-error AbortSignal.any exists; remove this directive when next TS upgrade
|
|
||||||
signal: AbortSignal.any([signal, AbortSignal.timeout(REQUEST_TIMEOUT)]),
|
signal: AbortSignal.any([signal, AbortSignal.timeout(REQUEST_TIMEOUT)]),
|
||||||
});
|
});
|
||||||
onValidated(link);
|
onValidated(link);
|
||||||
|
|||||||
14
webapp/package-lock.json
сгенерированный
14
webapp/package-lock.json
сгенерированный
@@ -145,7 +145,7 @@
|
|||||||
"timezones.json": "1.6.1",
|
"timezones.json": "1.6.1",
|
||||||
"tinycolor2": "1.4.2",
|
"tinycolor2": "1.4.2",
|
||||||
"turndown": "7.1.1",
|
"turndown": "7.1.1",
|
||||||
"typescript": "5.3.3",
|
"typescript": "5.5.4",
|
||||||
"web-vitals": "4.2.0",
|
"web-vitals": "4.2.0",
|
||||||
"zen-observable": "0.9.0"
|
"zen-observable": "0.9.0"
|
||||||
},
|
},
|
||||||
@@ -241,6 +241,18 @@
|
|||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"channels/node_modules/typescript": {
|
||||||
|
"version": "5.5.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
|
||||||
|
"integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
|
||||||
|
"bin": {
|
||||||
|
"tsc": "bin/tsc",
|
||||||
|
"tsserver": "bin/tsserver"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.17"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@aashutoshrathi/word-wrap": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
"version": "1.2.6",
|
"version": "1.2.6",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user