mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 11:47:42 +02:00
Switch to typescript 5.8.3 (#9152)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"@types/jest": "^29.5.5",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hcengineering/platform": "^0.6.11",
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"prettier-plugin-svelte": "^3.2.2",
|
||||
"prettier": "^3.1.0",
|
||||
"svelte-check": "^3.6.9",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.8.3",
|
||||
"@types/qs": "~6.9.7",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"@typescript-eslint/parser": "^6.11.0",
|
||||
"eslint-config-standard-with-typescript": "^40.0.0",
|
||||
"prettier": "^3.1.0",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.8.3",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"@types/jest": "^29.5.5"
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
"@typescript-eslint/parser": "^6.11.0",
|
||||
"eslint-config-standard-with-typescript": "^40.0.0",
|
||||
"prettier": "^3.1.0",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.8.3",
|
||||
"@types/node": "^22.15.29"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hcengineering/contact": "^0.6.24",
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"eslint-config-standard-with-typescript": "^40.0.0",
|
||||
"prettier": "^3.1.0",
|
||||
"ts-node": "^10.8.0",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.8.3",
|
||||
"@types/ws": "^8.5.11",
|
||||
"smee-client": "^1.2.3",
|
||||
"@octokit/webhooks-types": "^7.3.1",
|
||||
|
||||
@@ -691,7 +691,9 @@ export function toReviewDecision (reviewDecision: PullRequestExternalData['revie
|
||||
}
|
||||
|
||||
export function getUpdatedAtReviewThread (review: ReviewThread): number {
|
||||
const value = (review.comments.nodes.map((it) => it.updatedAt).filter((it) => it != null) as string[])
|
||||
const value = review.comments.nodes
|
||||
.map((it) => it.updatedAt)
|
||||
.filter((it) => it != null)
|
||||
.map((it) => new Date(it).getTime())
|
||||
.reduce((prev, it) => (it > prev ? it : prev), 0)
|
||||
if (value === 0) {
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
"@typescript-eslint/parser": "^6.11.0",
|
||||
"eslint-config-standard-with-typescript": "^40.0.0",
|
||||
"prettier": "^3.1.0",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.8.3",
|
||||
"@types/node": "^22.15.29"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hcengineering/core": "^0.6.32",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"@typescript-eslint/parser": "^6.11.0",
|
||||
"eslint-config-standard-with-typescript": "^40.0.0",
|
||||
"prettier": "^3.1.0",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.8.3",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"@types/jest": "^29.5.5"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"@typescript-eslint/parser": "^6.11.0",
|
||||
"eslint-config-standard-with-typescript": "^40.0.0",
|
||||
"prettier": "^3.1.0",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.8.3",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"@types/jest": "^29.5.5"
|
||||
|
||||
Reference in New Issue
Block a user