From 43e2009d20f0bb32ec29a53cd167b2d7c2066530 Mon Sep 17 00:00:00 2001 From: Kevin Aleman Date: Fri, 18 Oct 2024 11:42:59 -0600 Subject: [PATCH 1/4] updated ts to 5.6 --- .../useVideoConfMenuOptions.tsx | 2 +- .../omnichannel/triggers/EditTrigger.tsx | 2 +- .../api-enterprise/server/canned-responses.ts | 1 + apps/meteor/ee/server/services/package.json | 4 +- apps/meteor/package.json | 8 +- .../tests/end-to-end/api/custom-sounds.ts | 2 +- .../tests/end-to-end/api/emoji-custom.ts | 2 +- apps/meteor/tests/end-to-end/api/rooms.ts | 2 +- apps/meteor/tests/end-to-end/teardown.ts | 4 +- apps/uikit-playground/package.json | 2 +- ee/apps/account-service/package.json | 4 +- ee/apps/authorization-service/package.json | 4 +- ee/apps/ddp-streamer/package.json | 4 +- ee/apps/omnichannel-transcript/package.json | 4 +- ee/apps/presence-service/package.json | 4 +- ee/apps/queue-worker/package.json | 4 +- ee/apps/stream-hub-service/package.json | 4 +- ee/packages/license/package.json | 2 +- ee/packages/network-broker/package.json | 4 +- ee/packages/omnichannel-services/package.json | 4 +- ee/packages/pdf-worker/package.json | 2 +- ee/packages/presence/package.json | 4 +- ee/packages/ui-theming/package.json | 2 +- packages/account-utils/package.json | 2 +- packages/agenda/package.json | 2 +- packages/api-client/package.json | 2 +- packages/apps/package.json | 2 +- packages/base64/package.json | 2 +- packages/cas-validate/package.json | 2 +- packages/core-services/package.json | 2 +- packages/core-typings/package.json | 2 +- packages/cron/package.json | 2 +- packages/ddp-client/package.json | 2 +- packages/favicon/package.json | 2 +- packages/fuselage-ui-kit/package.json | 2 +- packages/gazzodown/package.json | 2 +- packages/i18n/package.json | 2 +- packages/i18n/src/index.mjs | 2 +- packages/instance-status/package.json | 2 +- packages/jest-presets/package.json | 2 +- packages/jwt/package.json | 2 +- packages/livechat/package.json | 2 +- packages/log-format/package.json | 2 +- packages/logger/package.json | 2 +- packages/message-parser/package.json | 2 +- packages/mock-providers/package.json | 2 +- packages/model-typings/package.json | 2 +- packages/models/package.json | 2 +- packages/node-poplib/package.json | 2 +- packages/password-policies/package.json | 2 +- packages/patch-injection/package.json | 2 +- packages/peggy-loader/package.json | 2 +- packages/random/package.json | 2 +- packages/release-action/package.json | 2 +- packages/release-changelog/package.json | 4 +- packages/rest-typings/package.json | 2 +- .../server-cloud-communication/package.json | 2 +- packages/server-fetch/package.json | 2 +- packages/sha256/package.json | 2 +- packages/tools/package.json | 2 +- packages/ui-avatar/package.json | 2 +- packages/ui-client/package.json | 2 +- packages/ui-composer/package.json | 2 +- packages/ui-contexts/package.json | 2 +- packages/ui-kit/package.json | 2 +- packages/ui-video-conf/package.json | 2 +- packages/ui-voip/package.json | 2 +- packages/web-ui-registration/package.json | 2 +- yarn.lock | 276 +++++++++--------- 69 files changed, 222 insertions(+), 221 deletions(-) diff --git a/apps/meteor/client/hooks/roomActions/useStartCallRoomAction/useVideoConfMenuOptions.tsx b/apps/meteor/client/hooks/roomActions/useStartCallRoomAction/useVideoConfMenuOptions.tsx index 13b92e7f44a5..49cd483f498e 100644 --- a/apps/meteor/client/hooks/roomActions/useStartCallRoomAction/useVideoConfMenuOptions.tsx +++ b/apps/meteor/client/hooks/roomActions/useStartCallRoomAction/useVideoConfMenuOptions.tsx @@ -18,7 +18,7 @@ const useVideoConfMenuOptions = () => { const user = useUser(); const federated = isRoomFederated(room); - const ownUser = room.uids?.length === 1 ?? false; + const ownUser = room.uids?.length === 1 || false; const permittedToPostReadonly = usePermission('post-readonly', room._id); const permittedToCallManagement = usePermission('call-management', room._id); diff --git a/apps/meteor/client/views/omnichannel/triggers/EditTrigger.tsx b/apps/meteor/client/views/omnichannel/triggers/EditTrigger.tsx index 6545d859a9f8..512978abc664 100644 --- a/apps/meteor/client/views/omnichannel/triggers/EditTrigger.tsx +++ b/apps/meteor/client/views/omnichannel/triggers/EditTrigger.tsx @@ -66,7 +66,7 @@ const getInitialValues = (triggerData: Serialized | undefined) name: triggerData?.name ?? '', description: triggerData?.description || '', enabled: triggerData?.enabled ?? true, - runOnce: !!triggerData?.runOnce ?? false, + runOnce: !!triggerData?.runOnce || false, conditions: triggerData?.conditions.map(({ name, value }) => ({ name: name || 'page-url', value: value || '' })) ?? [ DEFAULT_PAGE_URL_CONDITION, ], diff --git a/apps/meteor/ee/app/api-enterprise/server/canned-responses.ts b/apps/meteor/ee/app/api-enterprise/server/canned-responses.ts index 4d41e20ea0fc..785fa172478f 100644 --- a/apps/meteor/ee/app/api-enterprise/server/canned-responses.ts +++ b/apps/meteor/ee/app/api-enterprise/server/canned-responses.ts @@ -69,6 +69,7 @@ API.v1.addRoute( shortcut, text, scope, + // @ts-expect-error - tags is now inferred as never[] instead of any[] tags, departmentId, userId: this.userId, diff --git a/apps/meteor/ee/server/services/package.json b/apps/meteor/ee/server/services/package.json index 6c8b8e1f9efe..fd5d637fc226 100644 --- a/apps/meteor/ee/server/services/package.json +++ b/apps/meteor/ee/server/services/package.json @@ -54,12 +54,12 @@ "@types/ejson": "^2.2.2", "@types/express": "^4.17.21", "@types/fibers": "^3.1.4", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "@types/ws": "^8.5.12", "npm-run-all": "^4.1.5", "pino-pretty": "^7.6.1", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "volta": { "extends": "../../../package.json" diff --git a/apps/meteor/package.json b/apps/meteor/package.json index 107688676fe9..46a4a2bd073a 100644 --- a/apps/meteor/package.json +++ b/apps/meteor/package.json @@ -129,7 +129,7 @@ "@types/mkdirp": "^1.0.2", "@types/mocha": "github:whitecolor/mocha-types", "@types/moment-timezone": "^0.5.30", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "@types/node-gcm": "^1.0.5", "@types/node-rsa": "^1.1.4", "@types/nodemailer": "^6.4.15", @@ -149,7 +149,7 @@ "@types/speakeasy": "^2.0.10", "@types/strict-uri-encode": "^2.0.2", "@types/string-strip-html": "^5.0.1", - "@types/supertest": "^2.0.16", + "@types/supertest": "^6.0.2", "@types/supports-color": "~7.2.1", "@types/textarea-caret": "^3.0.3", "@types/ua-parser-js": "^0.7.39", @@ -208,11 +208,11 @@ "storybook": "^8.3.5", "stylelint": "^14.9.1", "stylelint-order": "^5.0.0", - "supertest": "^6.2.3", + "supertest": "^7.0.0", "supports-color": "~7.2.0", "template-file": "^6.0.1", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "dependencies": { "@babel/runtime": "~7.25.7", diff --git a/apps/meteor/tests/end-to-end/api/custom-sounds.ts b/apps/meteor/tests/end-to-end/api/custom-sounds.ts index 53d167129dd2..d21cabd7f14b 100644 --- a/apps/meteor/tests/end-to-end/api/custom-sounds.ts +++ b/apps/meteor/tests/end-to-end/api/custom-sounds.ts @@ -48,7 +48,7 @@ describe('[CustomSounds]', () => { const fileName = `test-file-${randomUUID()}`; let fileId: string; let fileId2: string; - let uploadDate: unknown; + let uploadDate: string | undefined; before((done) => getCredentials(done)); diff --git a/apps/meteor/tests/end-to-end/api/emoji-custom.ts b/apps/meteor/tests/end-to-end/api/emoji-custom.ts index c87a83783e0e..091b24452446 100644 --- a/apps/meteor/tests/end-to-end/api/emoji-custom.ts +++ b/apps/meteor/tests/end-to-end/api/emoji-custom.ts @@ -301,7 +301,7 @@ describe('[EmojiCustom]', () => { }); describe('Accessing custom emojis', () => { - let uploadDate: unknown; + let uploadDate: string | undefined; it('should return forbidden if the there is no fileId on the url', (done) => { void request diff --git a/apps/meteor/tests/end-to-end/api/rooms.ts b/apps/meteor/tests/end-to-end/api/rooms.ts index e5a62137d42c..f4cf8c1bc5e8 100644 --- a/apps/meteor/tests/end-to-end/api/rooms.ts +++ b/apps/meteor/tests/end-to-end/api/rooms.ts @@ -2698,7 +2698,7 @@ describe('[Rooms]', () => { file, }: { roomId: IRoom['_id']; - file: Blob | Buffer | fs.ReadStream | string | boolean | number; + file: Buffer | fs.ReadStream | string | boolean | number; }) => { const { body } = await request .post(api(`rooms.upload/${roomId}`)) diff --git a/apps/meteor/tests/end-to-end/teardown.ts b/apps/meteor/tests/end-to-end/teardown.ts index 7ad3917a985c..7ef526fd0855 100644 --- a/apps/meteor/tests/end-to-end/teardown.ts +++ b/apps/meteor/tests/end-to-end/teardown.ts @@ -11,10 +11,10 @@ let lastResponse: Response; methods.forEach((method) => { const original = request[method]; - request[method] = function (url, fn) { + request[method] = function (url) { lastUrl = url; lastMethod = method; - return original(url, fn).expect((res) => { + return original(url).expect((res) => { lastResponse = res; }); }; diff --git a/apps/uikit-playground/package.json b/apps/uikit-playground/package.json index f7e649d8b2b3..97981b45ffc5 100644 --- a/apps/uikit-playground/package.json +++ b/apps/uikit-playground/package.json @@ -51,7 +51,7 @@ "eslint": "~8.45.0", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.12", - "typescript": "~5.5.4", + "typescript": "~5.6.3", "vite": "^4.5.5" }, "volta": { diff --git a/ee/apps/account-service/package.json b/ee/apps/account-service/package.json index c88c6292957f..1ebeadb7dbc3 100644 --- a/ee/apps/account-service/package.json +++ b/ee/apps/account-service/package.json @@ -25,7 +25,7 @@ "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tools": "workspace:^", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "bcrypt": "^5.0.1", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", @@ -46,7 +46,7 @@ "@types/polka": "^0.5.7", "eslint": "~8.45.0", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "main": "./dist/ee/apps/account-service/src/service.js", "files": [ diff --git a/ee/apps/authorization-service/package.json b/ee/apps/authorization-service/package.json index 1e1aae2fa34e..02fbf1ae0bbd 100644 --- a/ee/apps/authorization-service/package.json +++ b/ee/apps/authorization-service/package.json @@ -24,7 +24,7 @@ "@rocket.chat/rest-typings": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", "eventemitter3": "^4.0.7", @@ -42,7 +42,7 @@ "@types/polka": "^0.5.7", "eslint": "~8.45.0", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "main": "./dist/ee/apps/authorization-service/src/service.js", "files": [ diff --git a/ee/apps/ddp-streamer/package.json b/ee/apps/ddp-streamer/package.json index e2ee7251513d..1c85d2bfdc5e 100644 --- a/ee/apps/ddp-streamer/package.json +++ b/ee/apps/ddp-streamer/package.json @@ -50,7 +50,7 @@ "@types/ejson": "^2.2.2", "@types/gc-stats": "^1.4.3", "@types/meteor": "^2.9.8", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "@types/polka": "^0.5.7", "@types/sharp": "^0.30.5", "@types/uuid": "^8.3.4", @@ -58,7 +58,7 @@ "eslint": "~8.45.0", "pino-pretty": "^7.6.1", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "main": "./dist/service.js", "files": [ diff --git a/ee/apps/omnichannel-transcript/package.json b/ee/apps/omnichannel-transcript/package.json index 61c86a741610..264079886589 100644 --- a/ee/apps/omnichannel-transcript/package.json +++ b/ee/apps/omnichannel-transcript/package.json @@ -27,7 +27,7 @@ "@rocket.chat/pdf-worker": "workspace:^", "@rocket.chat/tools": "workspace:^", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "ejson": "^2.2.3", "emoji-toolkit": "^7.0.1", "event-loop-stats": "^1.4.1", @@ -48,7 +48,7 @@ "@types/polka": "^0.5.7", "eslint": "~8.45.0", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "main": "./dist/ee/apps/omnichannel-transcript/src/service.js", "files": [ diff --git a/ee/apps/presence-service/package.json b/ee/apps/presence-service/package.json index 2b3b08de5078..f4c037de36a6 100644 --- a/ee/apps/presence-service/package.json +++ b/ee/apps/presence-service/package.json @@ -24,7 +24,7 @@ "@rocket.chat/presence": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", "eventemitter3": "^4.0.7", @@ -42,7 +42,7 @@ "@types/polka": "^0.5.7", "eslint": "~8.45.0", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "main": "./dist/ee/apps/presence-service/src/service.js", "files": [ diff --git a/ee/apps/queue-worker/package.json b/ee/apps/queue-worker/package.json index 5c3e91f2b8ac..a75eed78abac 100644 --- a/ee/apps/queue-worker/package.json +++ b/ee/apps/queue-worker/package.json @@ -24,7 +24,7 @@ "@rocket.chat/network-broker": "workspace:^", "@rocket.chat/omnichannel-services": "workspace:^", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "ejson": "^2.2.3", "emoji-toolkit": "^7.0.1", "event-loop-stats": "^1.4.1", @@ -45,7 +45,7 @@ "@types/polka": "^0.5.7", "eslint": "~8.45.0", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "main": "./dist/ee/apps/queue-worker/src/service.js", "files": [ diff --git a/ee/apps/stream-hub-service/package.json b/ee/apps/stream-hub-service/package.json index 601608c6d6d8..3a5e27c62780 100644 --- a/ee/apps/stream-hub-service/package.json +++ b/ee/apps/stream-hub-service/package.json @@ -24,7 +24,7 @@ "@rocket.chat/network-broker": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", "eventemitter3": "^4.0.7", @@ -44,7 +44,7 @@ "@types/polka": "^0.5.7", "eslint": "~8.45.0", "ts-node": "^10.9.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "main": "./dist/ee/apps/stream-hub-service/src/service.js", "files": [ diff --git a/ee/packages/license/package.json b/ee/packages/license/package.json index f2423e523aa5..22711a9a89ab 100644 --- a/ee/packages/license/package.json +++ b/ee/packages/license/package.json @@ -10,7 +10,7 @@ "eslint": "~8.45.0", "jest": "~29.7.0", "jest-websocket-mock": "~2.5.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "build": "tsc", diff --git a/ee/packages/network-broker/package.json b/ee/packages/network-broker/package.json index 2c26090e1eea..e5e7001cfaec 100644 --- a/ee/packages/network-broker/package.json +++ b/ee/packages/network-broker/package.json @@ -6,13 +6,13 @@ "@rocket.chat/eslint-config": "workspace:^", "@types/chai": "~4.3.19", "@types/ejson": "^2.2.2", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "@types/sinon": "^10.0.20", "chai": "^4.3.10", "eslint": "~8.45.0", "jest": "~29.7.0", "sinon": "^19.0.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint src", diff --git a/ee/packages/omnichannel-services/package.json b/ee/packages/omnichannel-services/package.json index 33f7657fcde5..69cb175d8047 100644 --- a/ee/packages/omnichannel-services/package.json +++ b/ee/packages/omnichannel-services/package.json @@ -8,7 +8,7 @@ "@types/jest": "~29.5.13", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "dependencies": { "@rocket.chat/core-services": "workspace:^", @@ -21,7 +21,7 @@ "@rocket.chat/rest-typings": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tools": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "date-fns": "^2.28.0", "ejson": "^2.2.3", "emoji-toolkit": "^7.0.1", diff --git a/ee/packages/pdf-worker/package.json b/ee/packages/pdf-worker/package.json index 8d79a199464f..a5c64d0e1ec0 100644 --- a/ee/packages/pdf-worker/package.json +++ b/ee/packages/pdf-worker/package.json @@ -43,7 +43,7 @@ "jest": "~29.7.0", "react-dom": "~18.3.1", "storybook": "^8.3.5", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "volta": { "extends": "../../../package.json" diff --git a/ee/packages/presence/package.json b/ee/packages/presence/package.json index cc20990d0873..3f03b90ff71b 100644 --- a/ee/packages/presence/package.json +++ b/ee/packages/presence/package.json @@ -9,11 +9,11 @@ "@rocket.chat/apps-engine": "workspace:^", "@rocket.chat/eslint-config": "workspace:^", "@rocket.chat/rest-typings": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "babel-jest": "^29.0.3", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint src", diff --git a/ee/packages/ui-theming/package.json b/ee/packages/ui-theming/package.json index 0495a92ea034..cf768244d706 100644 --- a/ee/packages/ui-theming/package.json +++ b/ee/packages/ui-theming/package.json @@ -16,7 +16,7 @@ "eslint-plugin-testing-library": "^5.11.1", "react": "~17.0.2", "react-docgen-typescript-plugin": "~1.0.8", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/account-utils/package.json b/packages/account-utils/package.json index 4ec6cd3bcab5..d6eaae65be89 100644 --- a/packages/account-utils/package.json +++ b/packages/account-utils/package.json @@ -4,7 +4,7 @@ "private": true, "devDependencies": { "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/agenda/package.json b/packages/agenda/package.json index da3b9ea31670..1bcaef3dd5e8 100644 --- a/packages/agenda/package.json +++ b/packages/agenda/package.json @@ -14,7 +14,7 @@ "devDependencies": { "@types/debug": "^4.1.12", "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/api-client/package.json b/packages/api-client/package.json index 929a1bb520be..2201b3a1110e 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -8,7 +8,7 @@ "eslint": "~8.45.0", "jest": "~29.7.0", "jest-fetch-mock": "^3.0.3", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "build": "tsc", diff --git a/packages/apps/package.json b/packages/apps/package.json index 3e3e280b1006..5258305c2183 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -4,7 +4,7 @@ "private": true, "devDependencies": { "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/base64/package.json b/packages/base64/package.json index 4c135b864254..2e6c2ab9d002 100644 --- a/packages/base64/package.json +++ b/packages/base64/package.json @@ -21,7 +21,7 @@ "@typescript-eslint/parser": "~5.60.1", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "volta": { "extends": "../../package.json" diff --git a/packages/cas-validate/package.json b/packages/cas-validate/package.json index a7cccb911781..b606e0812951 100644 --- a/packages/cas-validate/package.json +++ b/packages/cas-validate/package.json @@ -5,7 +5,7 @@ "private": true, "devDependencies": { "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/core-services/package.json b/packages/core-services/package.json index e9487a8b3c72..5b65fa18252e 100644 --- a/packages/core-services/package.json +++ b/packages/core-services/package.json @@ -15,7 +15,7 @@ "jest": "~29.7.0", "mongodb": "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch", "prettier": "~2.8.8", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/core-typings/package.json b/packages/core-typings/package.json index 5efbc53e2602..1fa91be75a5e 100644 --- a/packages/core-typings/package.json +++ b/packages/core-typings/package.json @@ -9,7 +9,7 @@ "eslint": "~8.45.0", "mongodb": "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch", "prettier": "~2.8.8", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/cron/package.json b/packages/cron/package.json index 473506a13533..91162850241e 100644 --- a/packages/cron/package.json +++ b/packages/cron/package.json @@ -4,7 +4,7 @@ "private": true, "devDependencies": { "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/ddp-client/package.json b/packages/ddp-client/package.json index 928a4a75bbc1..e4d3f9935101 100644 --- a/packages/ddp-client/package.json +++ b/packages/ddp-client/package.json @@ -8,7 +8,7 @@ "eslint": "~8.45.0", "jest": "~29.7.0", "jest-websocket-mock": "~2.5.0", - "typescript": "~5.5.4", + "typescript": "~5.6.3", "ws": "^8.18.0" }, "peerDependencies": { diff --git a/packages/favicon/package.json b/packages/favicon/package.json index 67f5c6dcdfea..5a45f82bae92 100644 --- a/packages/favicon/package.json +++ b/packages/favicon/package.json @@ -4,7 +4,7 @@ "private": true, "devDependencies": { "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/fuselage-ui-kit/package.json b/packages/fuselage-ui-kit/package.json index d9b716238c56..7acdf62edda3 100644 --- a/packages/fuselage-ui-kit/package.json +++ b/packages/fuselage-ui-kit/package.json @@ -90,7 +90,7 @@ "rimraf": "^6.0.1", "storybook": "^8.3.5", "storybook-dark-mode": "^4.0.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "peerDependencies": { "@rocket.chat/apps-engine": "*", diff --git a/packages/gazzodown/package.json b/packages/gazzodown/package.json index c7d11418084c..58dd27b9cb75 100644 --- a/packages/gazzodown/package.json +++ b/packages/gazzodown/package.json @@ -66,7 +66,7 @@ "outdent": "^0.8.0", "react-dom": "~17.0.2", "storybook": "^8.3.5", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "peerDependencies": { "@rocket.chat/core-typings": "workspace:^", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 41df22d139b8..c4b284c443d8 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -7,7 +7,7 @@ "eslint": "~8.45.0", "jest": "~29.7.0", "tsup": "^6.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "build": "node ./src/index.mjs", diff --git a/packages/i18n/src/index.mjs b/packages/i18n/src/index.mjs index bfabf1f2ee41..6bf97a14322f 100644 --- a/packages/i18n/src/index.mjs +++ b/packages/i18n/src/index.mjs @@ -94,7 +94,7 @@ const dict: { export type RocketchatI18nKeys = keyof RocketchatI18n; -export = dict; +export default dict; `; const languages = files.map((file) => path.basename(file, '.i18n.json')); diff --git a/packages/instance-status/package.json b/packages/instance-status/package.json index 9afd2d88dc0d..8dc08a037184 100644 --- a/packages/instance-status/package.json +++ b/packages/instance-status/package.json @@ -7,7 +7,7 @@ "eslint": "~8.45.0", "mongodb": "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch", "prettier": "~2.8.8", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/jest-presets/package.json b/packages/jest-presets/package.json index 64a511b3de5c..f0809089d248 100644 --- a/packages/jest-presets/package.json +++ b/packages/jest-presets/package.json @@ -30,7 +30,7 @@ "@types/uuid": "^9.0.8", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "volta": { "extends": "../../package.json" diff --git a/packages/jwt/package.json b/packages/jwt/package.json index 59b944b90e36..ccc38eb48a98 100644 --- a/packages/jwt/package.json +++ b/packages/jwt/package.json @@ -7,7 +7,7 @@ "@types/jest": "~29.5.13", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "build": "rm -rf dist && tsc", diff --git a/packages/livechat/package.json b/packages/livechat/package.json index 740760ef1723..152c993b3700 100644 --- a/packages/livechat/package.json +++ b/packages/livechat/package.json @@ -88,7 +88,7 @@ "stylelint-order": "^5.0.0", "svg-loader": "^0.0.2", "terser-webpack-plugin": "~4.2.3", - "typescript": "~5.5.4", + "typescript": "~5.6.3", "url-loader": "^4.1.1", "webpack": "~5.95.0", "webpack-bundle-analyzer": "^4.9.1", diff --git a/packages/log-format/package.json b/packages/log-format/package.json index a999c7d884f0..6ba2282c02c3 100644 --- a/packages/log-format/package.json +++ b/packages/log-format/package.json @@ -6,7 +6,7 @@ "@types/chalk": "^2.2.0", "@types/ejson": "^2.2.2", "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/logger/package.json b/packages/logger/package.json index d073ebddbf49..8f0d1a9a7738 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -4,7 +4,7 @@ "private": true, "devDependencies": { "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/message-parser/package.json b/packages/message-parser/package.json index 3cd15485356a..d40fcf370775 100644 --- a/packages/message-parser/package.json +++ b/packages/message-parser/package.json @@ -68,7 +68,7 @@ "rimraf": "^6.0.1", "ts-loader": "~9.4.4", "typedoc": "~0.24.8", - "typescript": "~5.5.4", + "typescript": "~5.6.3", "webpack": "~5.95.0", "webpack-cli": "~5.1.4" }, diff --git a/packages/mock-providers/package.json b/packages/mock-providers/package.json index 83b90405544e..0aeae959bfa6 100644 --- a/packages/mock-providers/package.json +++ b/packages/mock-providers/package.json @@ -17,7 +17,7 @@ "@types/use-sync-external-store": "^0.0.6", "eslint": "~8.45.0", "react": "~17.0.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "peerDependencies": { "@tanstack/react-query": "*", diff --git a/packages/model-typings/package.json b/packages/model-typings/package.json index 936abcb632fb..65d306dc982a 100644 --- a/packages/model-typings/package.json +++ b/packages/model-typings/package.json @@ -6,7 +6,7 @@ "@types/node-rsa": "^1.1.4", "eslint": "~8.45.0", "mongodb": "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/models/package.json b/packages/models/package.json index 70f290f5aa1e..4622e30f93be 100644 --- a/packages/models/package.json +++ b/packages/models/package.json @@ -7,7 +7,7 @@ "@types/jest": "~29.5.13", "eslint": "~8.45.0", "jest": "^29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "dependencies": { "@rocket.chat/model-typings": "workspace:~" diff --git a/packages/node-poplib/package.json b/packages/node-poplib/package.json index 1d0c4c462e46..12b982071f91 100644 --- a/packages/node-poplib/package.json +++ b/packages/node-poplib/package.json @@ -4,7 +4,7 @@ "private": true, "devDependencies": { "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "main": "./src/index.js", "typings": "./dist/index.d.ts" diff --git a/packages/password-policies/package.json b/packages/password-policies/package.json index 6bfb0d6100f1..ecde88b09a5e 100644 --- a/packages/password-policies/package.json +++ b/packages/password-policies/package.json @@ -7,7 +7,7 @@ "@types/jest": "~29.5.13", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "build": "rm -rf dist && tsc", diff --git a/packages/patch-injection/package.json b/packages/patch-injection/package.json index 2ac35749c481..895f9d5d3c38 100644 --- a/packages/patch-injection/package.json +++ b/packages/patch-injection/package.json @@ -7,7 +7,7 @@ "@types/jest": "~29.5.13", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "build": "rm -rf dist && tsc", diff --git a/packages/peggy-loader/package.json b/packages/peggy-loader/package.json index ee873e4a8e41..de885cb523d0 100644 --- a/packages/peggy-loader/package.json +++ b/packages/peggy-loader/package.json @@ -50,7 +50,7 @@ "peggy": "3.0.2", "prettier": "~2.8.8", "rimraf": "^6.0.1", - "typescript": "~5.5.4", + "typescript": "~5.6.3", "webpack": "~5.95.0" }, "volta": { diff --git a/packages/random/package.json b/packages/random/package.json index db0d71da86b9..ce97498e087a 100644 --- a/packages/random/package.json +++ b/packages/random/package.json @@ -23,7 +23,7 @@ "@typescript-eslint/parser": "~5.60.1", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "volta": { "extends": "../../package.json" diff --git a/packages/release-action/package.json b/packages/release-action/package.json index 73f926ce5160..25ff990c0ec4 100644 --- a/packages/release-action/package.json +++ b/packages/release-action/package.json @@ -11,7 +11,7 @@ "packageManager": "yarn@3.5.1", "devDependencies": { "@types/node": "^16.18.108", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "dependencies": { "@actions/core": "^1.10.1", diff --git a/packages/release-changelog/package.json b/packages/release-changelog/package.json index 222f7f20355a..564f7adcfe4a 100644 --- a/packages/release-changelog/package.json +++ b/packages/release-changelog/package.json @@ -10,9 +10,9 @@ "devDependencies": { "@changesets/types": "^6.0.0", "@rocket.chat/eslint-config": "workspace:^", - "@types/node": "^14.18.63", + "@types/node": "^16.18.108", "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "dependencies": { "dataloader": "^1.4.0", diff --git a/packages/rest-typings/package.json b/packages/rest-typings/package.json index 83f4632d1433..35d4cd1a6bea 100644 --- a/packages/rest-typings/package.json +++ b/packages/rest-typings/package.json @@ -8,7 +8,7 @@ "eslint": "~8.45.0", "jest": "~29.7.0", "mongodb": "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "build": "rm -rf dist && tsc", diff --git a/packages/server-cloud-communication/package.json b/packages/server-cloud-communication/package.json index 35e67a2c0638..b78345e36773 100644 --- a/packages/server-cloud-communication/package.json +++ b/packages/server-cloud-communication/package.json @@ -5,7 +5,7 @@ "devDependencies": { "@rocket.chat/license": "workspace:^", "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "volta": { "extends": "../../package.json" diff --git a/packages/server-fetch/package.json b/packages/server-fetch/package.json index cceb6dd40137..46ef65d3a7ba 100644 --- a/packages/server-fetch/package.json +++ b/packages/server-fetch/package.json @@ -5,7 +5,7 @@ "devDependencies": { "@types/node-fetch": "~2.6.11", "eslint": "~8.45.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/sha256/package.json b/packages/sha256/package.json index 1ce6712489fe..f10be0d72404 100644 --- a/packages/sha256/package.json +++ b/packages/sha256/package.json @@ -22,7 +22,7 @@ "@typescript-eslint/parser": "~5.60.1", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "volta": { "extends": "../../package.json" diff --git a/packages/tools/package.json b/packages/tools/package.json index c10fccdb5030..23555ff93b57 100644 --- a/packages/tools/package.json +++ b/packages/tools/package.json @@ -7,7 +7,7 @@ "@types/jest": "~29.5.13", "eslint": "~8.45.0", "jest": "~29.7.0", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/ui-avatar/package.json b/packages/ui-avatar/package.json index 15d947c6a819..0835ba8c583e 100644 --- a/packages/ui-avatar/package.json +++ b/packages/ui-avatar/package.json @@ -14,7 +14,7 @@ "eslint-plugin-storybook": "~0.6.15", "eslint-plugin-testing-library": "~5.11.1", "react": "^17.0.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "scripts": { "lint": "eslint --ext .js,.jsx,.ts,.tsx .", diff --git a/packages/ui-client/package.json b/packages/ui-client/package.json index 72ea44034243..4daf5a52846e 100644 --- a/packages/ui-client/package.json +++ b/packages/ui-client/package.json @@ -52,7 +52,7 @@ "react-dom": "^17.0.2", "react-hook-form": "~7.45.4", "storybook": "^8.3.5", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "peerDependencies": { "@react-aria/toolbar": "*", diff --git a/packages/ui-composer/package.json b/packages/ui-composer/package.json index 35549b7df460..721cae9fb4c9 100644 --- a/packages/ui-composer/package.json +++ b/packages/ui-composer/package.json @@ -39,7 +39,7 @@ "react": "~17.0.2", "react-dom": "~17.0.2", "storybook": "^8.3.5", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "peerDependencies": { "@react-aria/toolbar": "*", diff --git a/packages/ui-contexts/package.json b/packages/ui-contexts/package.json index 0e29ba67d05e..96b8aa8d50ff 100644 --- a/packages/ui-contexts/package.json +++ b/packages/ui-contexts/package.json @@ -16,7 +16,7 @@ "eslint-plugin-react-hooks": "^4.6.2", "mongodb": "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch", "react": "~17.0.2", - "typescript": "~5.5.4", + "typescript": "~5.6.3", "use-sync-external-store": "^1.2.2" }, "peerDependencies": { diff --git a/packages/ui-kit/package.json b/packages/ui-kit/package.json index 8fb2e9a84c9e..06653dd1941d 100644 --- a/packages/ui-kit/package.json +++ b/packages/ui-kit/package.json @@ -53,7 +53,7 @@ "ts-loader": "~9.4.4", "ts-node": "~10.9.2", "ts-patch": "~3.2.1", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "dependencies": { "typia": "~6.9.0" diff --git a/packages/ui-video-conf/package.json b/packages/ui-video-conf/package.json index f26e43571606..ca5c9c2e3377 100644 --- a/packages/ui-video-conf/package.json +++ b/packages/ui-video-conf/package.json @@ -50,7 +50,7 @@ "jest-axe": "~9.0.0", "react": "~17.0.2", "storybook": "^8.3.5", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "peerDependencies": { "@rocket.chat/css-in-js": "*", diff --git a/packages/ui-voip/package.json b/packages/ui-voip/package.json index 307da263043a..16f92c5aa25d 100644 --- a/packages/ui-voip/package.json +++ b/packages/ui-voip/package.json @@ -57,7 +57,7 @@ "jest-axe": "~9.0.0", "react": "~17.0.2", "storybook": "^8.3.5", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "peerDependencies": { "@rocket.chat/css-in-js": "*", diff --git a/packages/web-ui-registration/package.json b/packages/web-ui-registration/package.json index 958f01cc7aab..9eb5574ea391 100644 --- a/packages/web-ui-registration/package.json +++ b/packages/web-ui-registration/package.json @@ -44,7 +44,7 @@ "react-i18next": "~13.2.2", "storybook": "^8.3.5", "storybook-dark-mode": "^4.0.2", - "typescript": "~5.5.4" + "typescript": "~5.6.3" }, "peerDependencies": { "@rocket.chat/layout": "*", diff --git a/yarn.lock b/yarn.lock index 7f22ffc44c08..7061e569e148 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8030,7 +8030,7 @@ __metadata: "@rocket.chat/tracing": "workspace:^" "@types/bcrypt": "npm:^5.0.2" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/polka": "npm:^0.5.7" bcrypt: "npm:^5.0.1" ejson: "npm:^2.2.3" @@ -8045,7 +8045,7 @@ __metadata: pino: "npm:^8.15.0" polka: "npm:^0.5.2" ts-node: "npm:^10.9.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" uuid: "npm:^9.0.1" languageName: unknown linkType: soft @@ -8055,7 +8055,7 @@ __metadata: resolution: "@rocket.chat/account-utils@workspace:packages/account-utils" dependencies: eslint: "npm:~8.45.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8071,7 +8071,7 @@ __metadata: human-interval: "npm:^2.0.1" moment-timezone: "npm:~0.5.46" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8091,7 +8091,7 @@ __metadata: query-string: "npm:^7.1.3" split-on-first: "npm:^3.0.0" strict-uri-encode: "npm:^2.0.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8146,7 +8146,7 @@ __metadata: "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/model-typings": "workspace:^" eslint: "npm:~8.45.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8165,7 +8165,7 @@ __metadata: "@rocket.chat/string-helpers": "npm:~0.31.25" "@rocket.chat/tracing": "workspace:^" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" eslint: "npm:~8.45.0" @@ -8179,7 +8179,7 @@ __metadata: pino: "npm:^8.15.0" polka: "npm:^0.5.2" ts-node: "npm:^10.9.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8195,7 +8195,7 @@ __metadata: "@typescript-eslint/parser": "npm:~5.60.1" eslint: "npm:~8.45.0" jest: "npm:~29.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8205,7 +8205,7 @@ __metadata: dependencies: cheerio: "npm:1.0.0-rc.10" eslint: "npm:~8.45.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8232,7 +8232,7 @@ __metadata: jest: "npm:~29.7.0" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" prettier: "npm:~2.8.8" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8249,7 +8249,7 @@ __metadata: eslint: "npm:~8.45.0" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" prettier: "npm:~2.8.8" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8263,7 +8263,7 @@ __metadata: "@rocket.chat/random": "workspace:^" eslint: "npm:~8.45.0" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8302,7 +8302,7 @@ __metadata: eslint: "npm:~8.45.0" jest: "npm:~29.7.0" jest-websocket-mock: "npm:~2.5.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" ws: "npm:^8.18.0" peerDependencies: "@rocket.chat/emitter": "*" @@ -8330,7 +8330,7 @@ __metadata: "@types/ejson": "npm:^2.2.2" "@types/gc-stats": "npm:^1.4.3" "@types/meteor": "npm:^2.9.8" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/polka": "npm:^0.5.7" "@types/sharp": "npm:^0.30.5" "@types/uuid": "npm:^8.3.4" @@ -8351,7 +8351,7 @@ __metadata: polka: "npm:^0.5.2" sharp: "npm:^0.32.6" ts-node: "npm:^10.9.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" underscore: "npm:^1.13.7" uuid: "npm:^7.0.3" ws: "npm:^8.18.0" @@ -8391,7 +8391,7 @@ __metadata: resolution: "@rocket.chat/favicon@workspace:packages/favicon" dependencies: eslint: "npm:~8.45.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8510,7 +8510,7 @@ __metadata: rimraf: "npm:^6.0.1" storybook: "npm:^8.3.5" storybook-dark-mode: "npm:^4.0.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@rocket.chat/apps-engine": "*" "@rocket.chat/eslint-config": 0.7.0 @@ -8601,7 +8601,7 @@ __metadata: react-dom: "npm:~17.0.2" react-error-boundary: "npm:^3.1.4" storybook: "npm:^8.3.5" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@rocket.chat/core-typings": "workspace:^" "@rocket.chat/css-in-js": "*" @@ -8624,7 +8624,7 @@ __metadata: eslint: "npm:~8.45.0" jest: "npm:~29.7.0" tsup: "npm:^6.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8645,7 +8645,7 @@ __metadata: eslint: "npm:~8.45.0" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" prettier: "npm:~2.8.8" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8667,7 +8667,7 @@ __metadata: jest-axe: "npm:~9.0.0" jest-environment-jsdom: "npm:~29.7.0" jest-environment-node: "npm:~29.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" uuid: "npm:~9.0.1" languageName: unknown linkType: soft @@ -8681,7 +8681,7 @@ __metadata: eslint: "npm:~8.45.0" jest: "npm:~29.7.0" jose: "npm:^4.15.9" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8712,7 +8712,7 @@ __metadata: eslint: "npm:~8.45.0" jest: "npm:~29.7.0" jest-websocket-mock: "npm:~2.5.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8803,7 +8803,7 @@ __metadata: stylelint-order: "npm:^5.0.0" svg-loader: "npm:^0.0.2" terser-webpack-plugin: "npm:~4.2.3" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" url-loader: "npm:^4.1.1" webpack: "npm:~5.95.0" webpack-bundle-analyzer: "npm:^4.9.1" @@ -8825,7 +8825,7 @@ __metadata: chalk: "npm:^4.0.0" ejson: "npm:^2.2.3" eslint: "npm:~8.45.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8836,7 +8836,7 @@ __metadata: "@rocket.chat/emitter": "npm:~0.31.25" eslint: "npm:~8.45.0" pino: "npm:^8.15.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -8885,7 +8885,7 @@ __metadata: tldts: "npm:~5.7.112" ts-loader: "npm:~9.4.4" typedoc: "npm:~0.24.8" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" webpack: "npm:~5.95.0" webpack-cli: "npm:~5.1.4" languageName: unknown @@ -9040,7 +9040,7 @@ __metadata: "@types/mkdirp": "npm:^1.0.2" "@types/mocha": "github:whitecolor/mocha-types" "@types/moment-timezone": "npm:^0.5.30" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/node-gcm": "npm:^1.0.5" "@types/node-rsa": "npm:^1.1.4" "@types/nodemailer": "npm:^6.4.15" @@ -9060,7 +9060,7 @@ __metadata: "@types/speakeasy": "npm:^2.0.10" "@types/strict-uri-encode": "npm:^2.0.2" "@types/string-strip-html": "npm:^5.0.1" - "@types/supertest": "npm:^2.0.16" + "@types/supertest": "npm:^6.0.2" "@types/supports-color": "npm:~7.2.1" "@types/textarea-caret": "npm:^3.0.3" "@types/ua-parser-js": "npm:^0.7.39" @@ -9249,7 +9249,7 @@ __metadata: string-strip-html: "npm:^7.0.3" stylelint: "npm:^14.9.1" stylelint-order: "npm:^5.0.0" - supertest: "npm:^6.2.3" + supertest: "npm:^7.0.0" supports-color: "npm:~7.2.0" suretype: "npm:~2.4.1" swiper: "npm:^9.4.1" @@ -9259,7 +9259,7 @@ __metadata: ts-node: "npm:^10.9.2" twilio: "npm:^3.76.1" twit: "npm:^2.2.11" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" typia: "npm:~6.9.0" ua-parser-js: "npm:^1.0.39" underscore: "npm:^1.13.7" @@ -9291,7 +9291,7 @@ __metadata: i18next: "npm:~23.4.9" react: "npm:~17.0.2" react-i18next: "npm:~13.2.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" use-sync-external-store: "npm:~1.2.2" peerDependencies: "@tanstack/react-query": "*" @@ -9307,7 +9307,7 @@ __metadata: "@types/node-rsa": "npm:^1.1.4" eslint: "npm:~8.45.0" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9320,7 +9320,7 @@ __metadata: "@types/jest": "npm:~29.5.13" eslint: "npm:~8.45.0" jest: "npm:^29.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9341,7 +9341,7 @@ __metadata: "@rocket.chat/eslint-config": "workspace:^" "@types/chai": "npm:~4.3.19" "@types/ejson": "npm:^2.2.2" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/sinon": "npm:^10.0.20" chai: "npm:^4.3.10" ejson: "npm:^2.2.3" @@ -9350,7 +9350,7 @@ __metadata: moleculer: "npm:^0.14.34" pino: "npm:^8.15.0" sinon: "npm:^19.0.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9371,7 +9371,7 @@ __metadata: "@rocket.chat/string-helpers": "npm:~0.31.25" "@rocket.chat/tools": "workspace:^" "@types/jest": "npm:~29.5.13" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" date-fns: "npm:^2.28.0" ejson: "npm:^2.2.3" emoji-toolkit: "npm:^7.0.1" @@ -9383,7 +9383,7 @@ __metadata: mongo-message-queue: "npm:^1.0.0" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" pino: "npm:^8.15.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9405,7 +9405,7 @@ __metadata: "@rocket.chat/tools": "workspace:^" "@rocket.chat/tracing": "workspace:^" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" emoji-toolkit: "npm:^7.0.1" @@ -9422,7 +9422,7 @@ __metadata: pino: "npm:^8.15.0" polka: "npm:^0.5.2" ts-node: "npm:^10.9.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9455,7 +9455,7 @@ __metadata: "@types/jest": "npm:~29.5.13" eslint: "npm:~8.45.0" jest: "npm:~29.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9467,7 +9467,7 @@ __metadata: "@types/jest": "npm:~29.5.13" eslint: "npm:~8.45.0" jest: "npm:~29.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9498,7 +9498,7 @@ __metadata: react: "npm:~18.3.1" react-dom: "npm:~18.3.1" storybook: "npm:^8.3.5" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9514,7 +9514,7 @@ __metadata: peggy: "npm:3.0.2" prettier: "npm:~2.8.8" rimraf: "npm:^6.0.1" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" webpack: "npm:~5.95.0" peerDependencies: peggy: "*" @@ -9527,7 +9527,7 @@ __metadata: resolution: "@rocket.chat/poplib@workspace:packages/node-poplib" dependencies: eslint: "npm:~8.45.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9546,7 +9546,7 @@ __metadata: "@rocket.chat/string-helpers": "npm:~0.31.25" "@rocket.chat/tracing": "workspace:^" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" eslint: "npm:~8.45.0" @@ -9560,7 +9560,7 @@ __metadata: pino: "npm:^8.15.0" polka: "npm:^0.5.2" ts-node: "npm:^10.9.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9577,12 +9577,12 @@ __metadata: "@rocket.chat/eslint-config": "workspace:^" "@rocket.chat/models": "workspace:^" "@rocket.chat/rest-typings": "workspace:^" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" babel-jest: "npm:^29.0.3" eslint: "npm:~8.45.0" jest: "npm:~29.7.0" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9610,7 +9610,7 @@ __metadata: "@rocket.chat/omnichannel-services": "workspace:^" "@rocket.chat/tracing": "workspace:^" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" emoji-toolkit: "npm:^7.0.1" @@ -9627,7 +9627,7 @@ __metadata: pino: "npm:^8.15.0" polka: "npm:^0.5.2" ts-node: "npm:^10.9.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9643,7 +9643,7 @@ __metadata: "@typescript-eslint/parser": "npm:~5.60.1" eslint: "npm:~8.45.0" jest: "npm:~29.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9662,7 +9662,7 @@ __metadata: remark-parse: "npm:9.0.0" remark-stringify: "npm:9.0.1" semver: "npm:^7.6.3" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" unified: "npm:9.2.2" languageName: unknown linkType: soft @@ -9673,11 +9673,11 @@ __metadata: dependencies: "@changesets/types": "npm:^6.0.0" "@rocket.chat/eslint-config": "workspace:^" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" dataloader: "npm:^1.4.0" eslint: "npm:~8.45.0" node-fetch: "npm:^2.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9696,7 +9696,7 @@ __metadata: eslint: "npm:~8.45.0" jest: "npm:~29.7.0" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9719,7 +9719,7 @@ __metadata: dependencies: "@rocket.chat/license": "workspace:^" eslint: "npm:~8.45.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9734,7 +9734,7 @@ __metadata: https-proxy-agent: "npm:^5.0.1" node-fetch: "npm:2.7.0" proxy-from-env: "npm:^1.1.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9750,7 +9750,7 @@ __metadata: "@typescript-eslint/parser": "npm:~5.60.1" eslint: "npm:~8.45.0" jest: "npm:~29.7.0" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9771,7 +9771,7 @@ __metadata: "@rocket.chat/tracing": "workspace:^" "@types/bcrypt": "npm:^5.0.2" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" eslint: "npm:~8.45.0" @@ -9785,7 +9785,7 @@ __metadata: pino: "npm:^8.15.0" polka: "npm:^0.5.2" ts-node: "npm:^10.9.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9825,7 +9825,7 @@ __metadata: eslint: "npm:~8.45.0" jest: "npm:~29.7.0" moment-timezone: "npm:^0.5.46" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" languageName: unknown linkType: soft @@ -9859,7 +9859,7 @@ __metadata: eslint-plugin-storybook: "npm:~0.6.15" eslint-plugin-testing-library: "npm:~5.11.1" react: "npm:^17.0.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@rocket.chat/fuselage": "*" "@rocket.chat/ui-contexts": 11.0.0 @@ -9905,7 +9905,7 @@ __metadata: react-dom: "npm:^17.0.2" react-hook-form: "npm:~7.45.4" storybook: "npm:^8.3.5" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@react-aria/toolbar": "*" "@rocket.chat/css-in-js": "*" @@ -9944,7 +9944,7 @@ __metadata: react: "npm:~17.0.2" react-dom: "npm:~17.0.2" storybook: "npm:^8.3.5" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@react-aria/toolbar": "*" "@rocket.chat/fuselage": "*" @@ -9972,7 +9972,7 @@ __metadata: eslint-plugin-react-hooks: "npm:^4.6.2" mongodb: "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" react: "npm:~17.0.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" use-sync-external-store: "npm:^1.2.2" peerDependencies: "@rocket.chat/core-typings": "workspace:^" @@ -10008,7 +10008,7 @@ __metadata: ts-loader: "npm:~9.4.4" ts-node: "npm:~10.9.2" ts-patch: "npm:~3.2.1" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" typia: "npm:~6.9.0" peerDependencies: "@rocket.chat/icons": "*" @@ -10032,7 +10032,7 @@ __metadata: eslint-plugin-testing-library: "npm:^5.11.1" react: "npm:~17.0.2" react-docgen-typescript-plugin: "npm:~1.0.8" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@rocket.chat/css-in-js": "*" "@rocket.chat/fuselage": "*" @@ -10076,7 +10076,7 @@ __metadata: jest-axe: "npm:~9.0.0" react: "npm:~17.0.2" storybook: "npm:^8.3.5" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@rocket.chat/css-in-js": "*" "@rocket.chat/fuselage": "*" @@ -10131,7 +10131,7 @@ __metadata: react-i18next: "npm:~13.2.2" sip.js: "npm:^0.20.1" storybook: "npm:^8.3.5" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@rocket.chat/css-in-js": "*" "@rocket.chat/fuselage": "*" @@ -10188,7 +10188,7 @@ __metadata: react-split-pane: "npm:^0.1.92" react-virtuoso: "npm:^4.7.1" reactflow: "npm:^11.7.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" use-subscription: "npm:^1.8.2" vite: "npm:^4.5.5" languageName: unknown @@ -10225,7 +10225,7 @@ __metadata: react-i18next: "npm:~13.2.2" storybook: "npm:^8.3.5" storybook-dark-mode: "npm:^4.0.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" peerDependencies: "@rocket.chat/layout": "*" "@rocket.chat/tools": 0.2.2 @@ -11644,10 +11644,10 @@ __metadata: languageName: node linkType: hard -"@types/cookiejar@npm:*": - version: 2.1.2 - resolution: "@types/cookiejar@npm:2.1.2" - checksum: 10/f6e1903454007f86edd6c3520cbb4d553e1d4e17eaf1f77f6f75e3270f48cc828d74397a113a36942f5fe52f9fa71067bcfa738f53ad468fcca0bc52cb1cbd28 +"@types/cookiejar@npm:^2.1.5": + version: 2.1.5 + resolution: "@types/cookiejar@npm:2.1.5" + checksum: 10/04d5990e87b6387532d15a87d9ec9b2eb783039291193863751dcfd7fc723a3b3aa30ce4c06b03975cba58632e933772f1ff031af23eaa3ac7f94e71afa6e073 languageName: node linkType: hard @@ -12609,6 +12609,13 @@ __metadata: languageName: node linkType: hard +"@types/methods@npm:^1.1.4": + version: 1.1.4 + resolution: "@types/methods@npm:1.1.4" + checksum: 10/ad2a7178486f2fd167750f3eb920ab032a947ff2e26f55c86670a6038632d790b46f52e5b6ead5823f1e53fc68028f1e9ddd15cfead7903e04517c88debd72b1 + languageName: node + linkType: hard + "@types/mime@npm:*": version: 3.0.1 resolution: "@types/mime@npm:3.0.1" @@ -12758,7 +12765,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^14.0.26, @types/node@npm:^14.14.37, @types/node@npm:^14.18.63, @types/node@npm:~14.18.63": +"@types/node@npm:^14.0.26, @types/node@npm:^14.14.37, @types/node@npm:~14.18.63": version: 14.18.63 resolution: "@types/node@npm:14.18.63" checksum: 10/82a7775898c2ea6db0b610a463512206fb2c7adc1af482c7eb44b99d94375fff51c74f67ae75a63c5532971159f30c866a4d308000624ef02fd9a7175e277019 @@ -13199,22 +13206,25 @@ __metadata: languageName: node linkType: hard -"@types/superagent@npm:*": - version: 4.1.15 - resolution: "@types/superagent@npm:4.1.15" +"@types/superagent@npm:^8.1.0": + version: 8.1.9 + resolution: "@types/superagent@npm:8.1.9" dependencies: - "@types/cookiejar": "npm:*" + "@types/cookiejar": "npm:^2.1.5" + "@types/methods": "npm:^1.1.4" "@types/node": "npm:*" - checksum: 10/32df316b028fbd49d9dbd778d9a8ec4166a5cb089a5fadee56066b868d5b2a801ac924ef2a0ce1e201dc8315f6375a1f49f5e87f81fa5219d4fe8442146e846e + form-data: "npm:^4.0.0" + checksum: 10/6d9687b0bc3d693b900ef76000b02437a70879c3219b28606879c086d786bb1e48429813e72e32dd0aafc94c053a78a2aa8be67c45bc8e6b968ca62d6d5cc554 languageName: node linkType: hard -"@types/supertest@npm:^2.0.16": - version: 2.0.16 - resolution: "@types/supertest@npm:2.0.16" +"@types/supertest@npm:^6.0.2": + version: 6.0.2 + resolution: "@types/supertest@npm:6.0.2" dependencies: - "@types/superagent": "npm:*" - checksum: 10/2fc998ea698e0467cdbe3bea0ebce2027ea3a45a13e51a6cecb0435f44b486faecf99c34d8702d2d7fe033e6e09fdd2b374af52ecc8d0c69a1deec66b8c0dd52 + "@types/methods": "npm:^1.1.4" + "@types/superagent": "npm:^8.1.0" + checksum: 10/4b67fb2d1bfbb7ff0a7dfaaf190cdf2e0014522615fb2dc53c214bdac95b4ee42696dd1df13332c90a7765cc52934c9cc0c428bf0f9e8189167aef01042e7448 languageName: node linkType: hard @@ -17748,10 +17758,10 @@ __metadata: languageName: node linkType: hard -"cookiejar@npm:^2.1.3": - version: 2.1.3 - resolution: "cookiejar@npm:2.1.3" - checksum: 10/431f1ec36e74a8f48fc0e60bb2a4e108f6bf9bc43e878e98aecb412633d3f9dd0615c9b4534c622fd19672a4deeec5bf8bf482e8e4fd527a26dfe89ee5a8486a +"cookiejar@npm:^2.1.4": + version: 2.1.4 + resolution: "cookiejar@npm:2.1.4" + checksum: 10/4a184f5a0591df8b07d22a43ea5d020eacb4572c383e853a33361a99710437eaa0971716c688684075bbf695b484f5872e9e3f562382e46858716cb7fc8ce3f4 languageName: node linkType: hard @@ -19261,13 +19271,13 @@ __metadata: languageName: node linkType: hard -"dezalgo@npm:1.0.3": - version: 1.0.3 - resolution: "dezalgo@npm:1.0.3" +"dezalgo@npm:^1.0.4": + version: 1.0.4 + resolution: "dezalgo@npm:1.0.4" dependencies: asap: "npm:^2.0.0" wrappy: "npm:1" - checksum: 10/960f4b6230866cb61f23d113170ca3bf84210a2801f8b8e24ee2b5d40402400358c75459293cab94dae6fdfb41004aebe1c847a65fb0b2ef091bf5a35c80faad + checksum: 10/895389c6aead740d2ab5da4d3466d20fa30f738010a4d3f4dcccc9fc645ca31c9d10b7e1804ae489b1eb02c7986f9f1f34ba132d409b043082a86d9a4e745624 languageName: node linkType: hard @@ -22139,15 +22149,14 @@ __metadata: languageName: node linkType: hard -"formidable@npm:^2.0.1": - version: 2.0.1 - resolution: "formidable@npm:2.0.1" +"formidable@npm:^3.5.1": + version: 3.5.1 + resolution: "formidable@npm:3.5.1" dependencies: - dezalgo: "npm:1.0.3" - hexoid: "npm:1.0.0" - once: "npm:1.4.0" - qs: "npm:6.9.3" - checksum: 10/f0ad9266e61b0a3ebd301fa6efbc9ea5cbdcf7ef2fbd7f9f1122c9172e41d00323615597f0f5ac6b821cda3f32a6bdf4dc8e77ca61a3124ce5dcf17d69d5954a + dezalgo: "npm:^1.0.4" + hexoid: "npm:^1.0.0" + once: "npm:^1.4.0" + checksum: 10/c9a7bbbd4ca8142893da88b51cf7797adee022344ea180cf157a108bf999bed5ad8bc07a10a28d8a39fcbfaa02e8cba07f4ba336fbeb330deb23907336ba1fc2 languageName: node linkType: hard @@ -23280,7 +23289,7 @@ __metadata: languageName: node linkType: hard -"hexoid@npm:1.0.0": +"hexoid@npm:^1.0.0": version: 1.0.0 resolution: "hexoid@npm:1.0.0" checksum: 10/f2271b8b6b0e13fb5a1eccf740f53ce8bae689c80b9498b854c447f9dc94f75f44e0de064c0e4660ecdbfa8942bb2b69973fdcb080187b45bbb409a3c71f19d4 @@ -29604,7 +29613,7 @@ __metadata: languageName: node linkType: hard -"once@npm:1.4.0, once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": +"once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" dependencies: @@ -32035,7 +32044,7 @@ __metadata: languageName: node linkType: hard -"qs@npm:6.13.0, qs@npm:^6.10.3, qs@npm:^6.12.3, qs@npm:^6.9.4": +"qs@npm:6.13.0, qs@npm:^6.11.0, qs@npm:^6.12.3, qs@npm:^6.9.4": version: 6.13.0 resolution: "qs@npm:6.13.0" dependencies: @@ -32044,13 +32053,6 @@ __metadata: languageName: node linkType: hard -"qs@npm:6.9.3": - version: 6.9.3 - resolution: "qs@npm:6.9.3" - checksum: 10/259d06d089c3c677c40533f60b6434d168712c18d304319a7aa6d371a7bc0b029e98fe8fb2e768f0fd371f92891e4314ddedfe3f14a9b9ff5d98ef460dd8d309 - languageName: node - linkType: hard - "qs@npm:~6.5.2": version: 6.5.3 resolution: "qs@npm:6.5.3" @@ -33760,7 +33762,7 @@ __metadata: "@types/ejson": "npm:^2.2.2" "@types/express": "npm:^4.17.21" "@types/fibers": "npm:^3.1.4" - "@types/node": "npm:^14.18.63" + "@types/node": "npm:^16.18.108" "@types/ws": "npm:^8.5.12" ajv: "npm:^8.11.0" bcrypt: "npm:^5.0.1" @@ -33782,7 +33784,7 @@ __metadata: sodium-native: "npm:^3.3.0" sodium-plus: "npm:^0.9.0" ts-node: "npm:^10.9.2" - typescript: "npm:~5.5.4" + typescript: "npm:~5.6.3" uuid: "npm:^8.3.2" ws: "npm:^8.18.0" languageName: unknown @@ -35869,22 +35871,20 @@ __metadata: languageName: node linkType: hard -"superagent@npm:^8.0.0": - version: 8.0.0 - resolution: "superagent@npm:8.0.0" +"superagent@npm:^9.0.1": + version: 9.0.2 + resolution: "superagent@npm:9.0.2" dependencies: component-emitter: "npm:^1.3.0" - cookiejar: "npm:^2.1.3" + cookiejar: "npm:^2.1.4" debug: "npm:^4.3.4" fast-safe-stringify: "npm:^2.1.1" form-data: "npm:^4.0.0" - formidable: "npm:^2.0.1" + formidable: "npm:^3.5.1" methods: "npm:^1.1.2" mime: "npm:2.6.0" - qs: "npm:^6.10.3" - readable-stream: "npm:^3.6.0" - semver: "npm:^7.3.7" - checksum: 10/74af05269785290683bb0b29501ad7b7554aafbf06ad37a2e677fb5b4f8c14ee7291ef685ba1bdd138d1c2dc529b551aec181c43ab4b509fdb79acbc0cfa0e38 + qs: "npm:^6.11.0" + checksum: 10/d3c0c9051ceec84d5b431eaa410ad81bcd53255cea57af1fc66d683a24c34f3ba4761b411072a9bf489a70e3d5b586a78a0e6f2eac6a561067e7d196ddab0907 languageName: node linkType: hard @@ -35897,13 +35897,13 @@ __metadata: languageName: node linkType: hard -"supertest@npm:^6.2.3": - version: 6.2.4 - resolution: "supertest@npm:6.2.4" +"supertest@npm:^7.0.0": + version: 7.0.0 + resolution: "supertest@npm:7.0.0" dependencies: methods: "npm:^1.1.2" - superagent: "npm:^8.0.0" - checksum: 10/5b184f9cb932ed962783516073245e4dc713760f4b410c05e54b7aa5a7e6e3940bfce40af1be601bb1a4d498489c58be44ca43a2c9f67e430c8355b5496f20f5 + superagent: "npm:^9.0.1" + checksum: 10/73bf2a37e13856a1b3e6a37b9df5cec8e506aa0360a5f5ecd989d1f4b0edf168883e306012e81e371d5252c17d4c7bef4ba30633dbf3877cbf52fc7af51cca9b languageName: node linkType: hard @@ -37408,13 +37408,13 @@ __metadata: languageName: node linkType: hard -"typescript@npm:~5.5.4": - version: 5.5.4 - resolution: "typescript@npm:5.5.4" +"typescript@npm:~5.6.3": + version: 5.6.3 + resolution: "typescript@npm:5.6.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/1689ccafef894825481fc3d856b4834ba3cc185a9c2878f3c76a9a1ef81af04194849840f3c69e7961e2312771471bb3b460ca92561e1d87599b26c37d0ffb6f + checksum: 10/c328e418e124b500908781d9f7b9b93cf08b66bf5936d94332b463822eea2f4e62973bfb3b8a745fdc038785cb66cf59d1092bac3ec2ac6a3e5854687f7833f1 languageName: node linkType: hard @@ -37438,13 +37438,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A~5.5.4#optional!builtin": - version: 5.5.4 - resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=379a07" +"typescript@patch:typescript@npm%3A~5.6.3#optional!builtin": + version: 5.6.3 + resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin::version=5.6.3&hash=8c6c40" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/746fdd0865c5ce4f15e494c57ede03a9e12ede59cfdb40da3a281807853fe63b00ef1c912d7222143499aa82f18b8b472baa1830df8804746d09b55f6cf5b1cc + checksum: 10/00504c01ee42d470c23495426af07512e25e6546bce7e24572e72a9ca2e6b2e9bea63de4286c3cfea644874da1467dcfca23f4f98f7caf20f8b03c0213bb6837 languageName: node linkType: hard From 1984766cc55e246842490792b89429b429e520fb Mon Sep 17 00:00:00 2001 From: Kevin Aleman Date: Fri, 18 Oct 2024 13:55:59 -0600 Subject: [PATCH 2/4] lint --- apps/meteor/tests/end-to-end/api/rooms.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/meteor/tests/end-to-end/api/rooms.ts b/apps/meteor/tests/end-to-end/api/rooms.ts index f4cf8c1bc5e8..0a1fb1a08286 100644 --- a/apps/meteor/tests/end-to-end/api/rooms.ts +++ b/apps/meteor/tests/end-to-end/api/rooms.ts @@ -2693,13 +2693,7 @@ describe('[Rooms]', () => { testUserCreds = await login(user.username, password); }); - const uploadFile = async ({ - roomId, - file, - }: { - roomId: IRoom['_id']; - file: Buffer | fs.ReadStream | string | boolean | number; - }) => { + const uploadFile = async ({ roomId, file }: { roomId: IRoom['_id']; file: Buffer | fs.ReadStream | string | boolean | number }) => { const { body } = await request .post(api(`rooms.upload/${roomId}`)) .set(credentials) From bc6cb99fe40c7cc2238c5edc424b120341d62666 Mon Sep 17 00:00:00 2001 From: Tasso Date: Fri, 18 Oct 2024 21:43:14 -0300 Subject: [PATCH 3/4] Add JSDoc --- .../app/api-enterprise/server/canned-responses.ts | 1 - .../api-enterprise/server/lib/canned-responses.js | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/apps/meteor/ee/app/api-enterprise/server/canned-responses.ts b/apps/meteor/ee/app/api-enterprise/server/canned-responses.ts index 785fa172478f..4d41e20ea0fc 100644 --- a/apps/meteor/ee/app/api-enterprise/server/canned-responses.ts +++ b/apps/meteor/ee/app/api-enterprise/server/canned-responses.ts @@ -69,7 +69,6 @@ API.v1.addRoute( shortcut, text, scope, - // @ts-expect-error - tags is now inferred as never[] instead of any[] tags, departmentId, userId: this.userId, diff --git a/apps/meteor/ee/app/api-enterprise/server/lib/canned-responses.js b/apps/meteor/ee/app/api-enterprise/server/lib/canned-responses.js index 58b809350a9a..f4970914e31a 100644 --- a/apps/meteor/ee/app/api-enterprise/server/lib/canned-responses.js +++ b/apps/meteor/ee/app/api-enterprise/server/lib/canned-responses.js @@ -48,6 +48,21 @@ export async function findAllCannedResponses({ userId }) { return cannedResponses; } +/** + * @param {Object} param0 + * @param {String} param0.userId + * @param {String} [param0.shortcut] + * @param {String} [param0.text] + * @param {String} [param0.departmentId] + * @param {String} [param0.scope] + * @param {String} [param0.createdBy] + * @param {String[]} [param0.tags] + * @param {Object} param0.options + * @param {Number} param0.options.offset + * @param {Number} param0.options.count + * @param {Object} param0.options.sort + * @param {Object} param0.options.fields + */ export async function findAllCannedResponsesFilter({ userId, shortcut, text, departmentId, scope, createdBy, tags = [], options = {} }) { let extraFilter = []; // if user cannot see all, filter to private + public + departments user is in From b786b61e86d1a13822c5922a24eca7be0d67f35a Mon Sep 17 00:00:00 2001 From: Tasso Date: Fri, 18 Oct 2024 22:46:31 -0300 Subject: [PATCH 4/4] Upgrade `@types/node` to match engine --- .../meteor-accounts-saml/server/lib/SAML.ts | 4 +- apps/meteor/ee/server/services/package.json | 2 +- apps/meteor/package.json | 2 +- apps/meteor/server/email/IMAPInterceptor.ts | 5 +- ee/apps/account-service/package.json | 2 +- ee/apps/authorization-service/package.json | 2 +- ee/apps/ddp-streamer/package.json | 2 +- ee/apps/omnichannel-transcript/package.json | 2 +- ee/apps/presence-service/package.json | 2 +- ee/apps/queue-worker/package.json | 2 +- ee/apps/stream-hub-service/package.json | 2 +- ee/packages/network-broker/package.json | 2 +- ee/packages/omnichannel-services/package.json | 2 +- ee/packages/presence/package.json | 2 +- packages/apps-engine/package.json | 2 +- packages/message-parser/package.json | 2 +- packages/peggy-loader/package.json | 2 +- packages/release-action/package.json | 2 +- packages/release-changelog/package.json | 2 +- yarn.lock | 60 +++++++------------ 20 files changed, 45 insertions(+), 58 deletions(-) diff --git a/apps/meteor/app/meteor-accounts-saml/server/lib/SAML.ts b/apps/meteor/app/meteor-accounts-saml/server/lib/SAML.ts index be9bef0f2e7a..03642cab1eda 100644 --- a/apps/meteor/app/meteor-accounts-saml/server/lib/SAML.ts +++ b/apps/meteor/app/meteor-accounts-saml/server/lib/SAML.ts @@ -267,7 +267,7 @@ export class SAML { throw new Meteor.Error('Unable to process Logout Request: missing request data.'); } - let timeoutHandler: NodeJS.Timer | null = null; + let timeoutHandler: NodeJS.Timeout | undefined = undefined; const redirect = (url?: string | undefined): void => { if (!timeoutHandler) { // If the handler is null, then we already ended the response; @@ -275,7 +275,7 @@ export class SAML { } clearTimeout(timeoutHandler); - timeoutHandler = null; + timeoutHandler = undefined; res.writeHead(302, { Location: url || Meteor.absoluteUrl(), diff --git a/apps/meteor/ee/server/services/package.json b/apps/meteor/ee/server/services/package.json index fd5d637fc226..cb4e624ab7f2 100644 --- a/apps/meteor/ee/server/services/package.json +++ b/apps/meteor/ee/server/services/package.json @@ -54,7 +54,7 @@ "@types/ejson": "^2.2.2", "@types/express": "^4.17.21", "@types/fibers": "^3.1.4", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "@types/ws": "^8.5.12", "npm-run-all": "^4.1.5", "pino-pretty": "^7.6.1", diff --git a/apps/meteor/package.json b/apps/meteor/package.json index 46a4a2bd073a..b7e7aab91573 100644 --- a/apps/meteor/package.json +++ b/apps/meteor/package.json @@ -129,7 +129,7 @@ "@types/mkdirp": "^1.0.2", "@types/mocha": "github:whitecolor/mocha-types", "@types/moment-timezone": "^0.5.30", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "@types/node-gcm": "^1.0.5", "@types/node-rsa": "^1.1.4", "@types/nodemailer": "^6.4.15", diff --git a/apps/meteor/server/email/IMAPInterceptor.ts b/apps/meteor/server/email/IMAPInterceptor.ts index c599608cb182..dd81006a39af 100644 --- a/apps/meteor/server/email/IMAPInterceptor.ts +++ b/apps/meteor/server/email/IMAPInterceptor.ts @@ -1,4 +1,5 @@ import { EventEmitter } from 'events'; +import { Readable } from 'stream'; import { EmailInbox } from '@rocket.chat/models'; import type { ImapMessage, ImapMessageBodyInfo } from 'imap'; @@ -164,7 +165,7 @@ export class IMAPInterceptor extends EventEmitter { resolve(mail); } }; - simpleParser(stream, cb); + simpleParser(new Readable().wrap(stream), cb); }); } @@ -174,7 +175,7 @@ export class IMAPInterceptor extends EventEmitter { const messagecb = (msg: ImapMessage, seqno: number) => { out.push(seqno); const bodycb = (stream: NodeJS.ReadableStream, _info: ImapMessageBodyInfo): void => { - simpleParser(stream, (_err, email) => { + simpleParser(new Readable().wrap(stream), (_err, email) => { if (this.options.rejectBeforeTS && email.date && email.date < this.options.rejectBeforeTS) { logger.error({ msg: `Rejecting email on inbox ${this.config.user}`, subject: email.subject }); return; diff --git a/ee/apps/account-service/package.json b/ee/apps/account-service/package.json index 1ebeadb7dbc3..bdc038a7aa76 100644 --- a/ee/apps/account-service/package.json +++ b/ee/apps/account-service/package.json @@ -25,7 +25,7 @@ "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tools": "workspace:^", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "bcrypt": "^5.0.1", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", diff --git a/ee/apps/authorization-service/package.json b/ee/apps/authorization-service/package.json index 02fbf1ae0bbd..1878602ca455 100644 --- a/ee/apps/authorization-service/package.json +++ b/ee/apps/authorization-service/package.json @@ -24,7 +24,7 @@ "@rocket.chat/rest-typings": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", "eventemitter3": "^4.0.7", diff --git a/ee/apps/ddp-streamer/package.json b/ee/apps/ddp-streamer/package.json index 1c85d2bfdc5e..25d13149a7e7 100644 --- a/ee/apps/ddp-streamer/package.json +++ b/ee/apps/ddp-streamer/package.json @@ -50,7 +50,7 @@ "@types/ejson": "^2.2.2", "@types/gc-stats": "^1.4.3", "@types/meteor": "^2.9.8", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "@types/polka": "^0.5.7", "@types/sharp": "^0.30.5", "@types/uuid": "^8.3.4", diff --git a/ee/apps/omnichannel-transcript/package.json b/ee/apps/omnichannel-transcript/package.json index 264079886589..0e731cd8b937 100644 --- a/ee/apps/omnichannel-transcript/package.json +++ b/ee/apps/omnichannel-transcript/package.json @@ -27,7 +27,7 @@ "@rocket.chat/pdf-worker": "workspace:^", "@rocket.chat/tools": "workspace:^", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "ejson": "^2.2.3", "emoji-toolkit": "^7.0.1", "event-loop-stats": "^1.4.1", diff --git a/ee/apps/presence-service/package.json b/ee/apps/presence-service/package.json index f4c037de36a6..0c016ec48df6 100644 --- a/ee/apps/presence-service/package.json +++ b/ee/apps/presence-service/package.json @@ -24,7 +24,7 @@ "@rocket.chat/presence": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", "eventemitter3": "^4.0.7", diff --git a/ee/apps/queue-worker/package.json b/ee/apps/queue-worker/package.json index a75eed78abac..10a51653e7da 100644 --- a/ee/apps/queue-worker/package.json +++ b/ee/apps/queue-worker/package.json @@ -24,7 +24,7 @@ "@rocket.chat/network-broker": "workspace:^", "@rocket.chat/omnichannel-services": "workspace:^", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "ejson": "^2.2.3", "emoji-toolkit": "^7.0.1", "event-loop-stats": "^1.4.1", diff --git a/ee/apps/stream-hub-service/package.json b/ee/apps/stream-hub-service/package.json index 3a5e27c62780..e29838e41d8f 100644 --- a/ee/apps/stream-hub-service/package.json +++ b/ee/apps/stream-hub-service/package.json @@ -24,7 +24,7 @@ "@rocket.chat/network-broker": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tracing": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", "eventemitter3": "^4.0.7", diff --git a/ee/packages/network-broker/package.json b/ee/packages/network-broker/package.json index e5e7001cfaec..3a50e61c0e59 100644 --- a/ee/packages/network-broker/package.json +++ b/ee/packages/network-broker/package.json @@ -6,7 +6,7 @@ "@rocket.chat/eslint-config": "workspace:^", "@types/chai": "~4.3.19", "@types/ejson": "^2.2.2", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "@types/sinon": "^10.0.20", "chai": "^4.3.10", "eslint": "~8.45.0", diff --git a/ee/packages/omnichannel-services/package.json b/ee/packages/omnichannel-services/package.json index 69cb175d8047..845e6c16d3ce 100644 --- a/ee/packages/omnichannel-services/package.json +++ b/ee/packages/omnichannel-services/package.json @@ -21,7 +21,7 @@ "@rocket.chat/rest-typings": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", "@rocket.chat/tools": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "date-fns": "^2.28.0", "ejson": "^2.2.3", "emoji-toolkit": "^7.0.1", diff --git a/ee/packages/presence/package.json b/ee/packages/presence/package.json index 3f03b90ff71b..ab2f61dfda96 100644 --- a/ee/packages/presence/package.json +++ b/ee/packages/presence/package.json @@ -9,7 +9,7 @@ "@rocket.chat/apps-engine": "workspace:^", "@rocket.chat/eslint-config": "workspace:^", "@rocket.chat/rest-typings": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "babel-jest": "^29.0.3", "eslint": "~8.45.0", "jest": "~29.7.0", diff --git a/packages/apps-engine/package.json b/packages/apps-engine/package.json index f277b36704a0..c46c255ae56c 100644 --- a/packages/apps-engine/package.json +++ b/packages/apps-engine/package.json @@ -73,7 +73,7 @@ "@types/debug": "^4.1.12", "@types/lodash.clonedeep": "^4.5.7", "@types/nedb": "^1.8.12", - "@types/node": "^18.0.0", + "@types/node": "~20.16.12", "@types/semver": "^5.5.0", "@types/stack-trace": "0.0.29", "@types/uuid": "~8.3.4", diff --git a/packages/message-parser/package.json b/packages/message-parser/package.json index d40fcf370775..c171baa00fa9 100644 --- a/packages/message-parser/package.json +++ b/packages/message-parser/package.json @@ -56,7 +56,7 @@ "@rocket.chat/peggy-loader": "workspace:~", "@rocket.chat/prettier-config": "~0.31.25", "@types/jest": "~29.5.13", - "@types/node": "~14.18.63", + "@types/node": "~20.16.12", "@typescript-eslint/parser": "~5.58.0", "babel-loader": "~9.1.3", "eslint": "~8.45.0", diff --git a/packages/peggy-loader/package.json b/packages/peggy-loader/package.json index de885cb523d0..4a26ad60237a 100644 --- a/packages/peggy-loader/package.json +++ b/packages/peggy-loader/package.json @@ -44,7 +44,7 @@ "devDependencies": { "@rocket.chat/eslint-config": "workspace:~", "@rocket.chat/prettier-config": "~0.31.25", - "@types/node": "~14.18.63", + "@types/node": "~20.16.12", "eslint": "~8.45.0", "npm-run-all": "^4.1.5", "peggy": "3.0.2", diff --git a/packages/release-action/package.json b/packages/release-action/package.json index 25ff990c0ec4..a1d4db2f3842 100644 --- a/packages/release-action/package.json +++ b/packages/release-action/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "packageManager": "yarn@3.5.1", "devDependencies": { - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "typescript": "~5.6.3" }, "dependencies": { diff --git a/packages/release-changelog/package.json b/packages/release-changelog/package.json index 564f7adcfe4a..3f7f5c2fed4d 100644 --- a/packages/release-changelog/package.json +++ b/packages/release-changelog/package.json @@ -10,7 +10,7 @@ "devDependencies": { "@changesets/types": "^6.0.0", "@rocket.chat/eslint-config": "workspace:^", - "@types/node": "^16.18.108", + "@types/node": "~20.16.12", "eslint": "~8.45.0", "typescript": "~5.6.3" }, diff --git a/yarn.lock b/yarn.lock index 7061e569e148..19d9ff0d5bb1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8030,7 +8030,7 @@ __metadata: "@rocket.chat/tracing": "workspace:^" "@types/bcrypt": "npm:^5.0.2" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/polka": "npm:^0.5.7" bcrypt: "npm:^5.0.1" ejson: "npm:^2.2.3" @@ -8106,7 +8106,7 @@ __metadata: "@types/debug": "npm:^4.1.12" "@types/lodash.clonedeep": "npm:^4.5.7" "@types/nedb": "npm:^1.8.12" - "@types/node": "npm:^18.0.0" + "@types/node": "npm:~20.16.12" "@types/semver": "npm:^5.5.0" "@types/stack-trace": "npm:0.0.29" "@types/uuid": "npm:~8.3.4" @@ -8165,7 +8165,7 @@ __metadata: "@rocket.chat/string-helpers": "npm:~0.31.25" "@rocket.chat/tracing": "workspace:^" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" eslint: "npm:~8.45.0" @@ -8330,7 +8330,7 @@ __metadata: "@types/ejson": "npm:^2.2.2" "@types/gc-stats": "npm:^1.4.3" "@types/meteor": "npm:^2.9.8" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/polka": "npm:^0.5.7" "@types/sharp": "npm:^0.30.5" "@types/uuid": "npm:^8.3.4" @@ -8872,7 +8872,7 @@ __metadata: "@rocket.chat/peggy-loader": "workspace:~" "@rocket.chat/prettier-config": "npm:~0.31.25" "@types/jest": "npm:~29.5.13" - "@types/node": "npm:~14.18.63" + "@types/node": "npm:~20.16.12" "@typescript-eslint/parser": "npm:~5.58.0" babel-loader: "npm:~9.1.3" eslint: "npm:~8.45.0" @@ -9040,7 +9040,7 @@ __metadata: "@types/mkdirp": "npm:^1.0.2" "@types/mocha": "github:whitecolor/mocha-types" "@types/moment-timezone": "npm:^0.5.30" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/node-gcm": "npm:^1.0.5" "@types/node-rsa": "npm:^1.1.4" "@types/nodemailer": "npm:^6.4.15" @@ -9341,7 +9341,7 @@ __metadata: "@rocket.chat/eslint-config": "workspace:^" "@types/chai": "npm:~4.3.19" "@types/ejson": "npm:^2.2.2" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/sinon": "npm:^10.0.20" chai: "npm:^4.3.10" ejson: "npm:^2.2.3" @@ -9371,7 +9371,7 @@ __metadata: "@rocket.chat/string-helpers": "npm:~0.31.25" "@rocket.chat/tools": "workspace:^" "@types/jest": "npm:~29.5.13" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" date-fns: "npm:^2.28.0" ejson: "npm:^2.2.3" emoji-toolkit: "npm:^7.0.1" @@ -9405,7 +9405,7 @@ __metadata: "@rocket.chat/tools": "workspace:^" "@rocket.chat/tracing": "workspace:^" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" emoji-toolkit: "npm:^7.0.1" @@ -9508,7 +9508,7 @@ __metadata: dependencies: "@rocket.chat/eslint-config": "workspace:~" "@rocket.chat/prettier-config": "npm:~0.31.25" - "@types/node": "npm:~14.18.63" + "@types/node": "npm:~20.16.12" eslint: "npm:~8.45.0" npm-run-all: "npm:^4.1.5" peggy: "npm:3.0.2" @@ -9546,7 +9546,7 @@ __metadata: "@rocket.chat/string-helpers": "npm:~0.31.25" "@rocket.chat/tracing": "workspace:^" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" eslint: "npm:~8.45.0" @@ -9577,7 +9577,7 @@ __metadata: "@rocket.chat/eslint-config": "workspace:^" "@rocket.chat/models": "workspace:^" "@rocket.chat/rest-typings": "workspace:^" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" babel-jest: "npm:^29.0.3" eslint: "npm:~8.45.0" jest: "npm:~29.7.0" @@ -9610,7 +9610,7 @@ __metadata: "@rocket.chat/omnichannel-services": "workspace:^" "@rocket.chat/tracing": "workspace:^" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" emoji-toolkit: "npm:^7.0.1" @@ -9656,7 +9656,7 @@ __metadata: "@actions/github": "npm:^5.1.1" "@octokit/plugin-throttling": "npm:^6.0.0" "@rocket.chat/eslint-config": "workspace:^" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" eslint: "npm:~8.45.0" mdast-util-to-string: "npm:2.0.0" remark-parse: "npm:9.0.0" @@ -9673,7 +9673,7 @@ __metadata: dependencies: "@changesets/types": "npm:^6.0.0" "@rocket.chat/eslint-config": "workspace:^" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" dataloader: "npm:^1.4.0" eslint: "npm:~8.45.0" node-fetch: "npm:^2.7.0" @@ -9771,7 +9771,7 @@ __metadata: "@rocket.chat/tracing": "workspace:^" "@types/bcrypt": "npm:^5.0.2" "@types/gc-stats": "npm:^1.4.3" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/polka": "npm:^0.5.7" ejson: "npm:^2.2.3" eslint: "npm:~8.45.0" @@ -12765,26 +12765,19 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^14.0.26, @types/node@npm:^14.14.37, @types/node@npm:~14.18.63": +"@types/node@npm:^14.0.26, @types/node@npm:^14.14.37": version: 14.18.63 resolution: "@types/node@npm:14.18.63" checksum: 10/82a7775898c2ea6db0b610a463512206fb2c7adc1af482c7eb44b99d94375fff51c74f67ae75a63c5532971159f30c866a4d308000624ef02fd9a7175e277019 languageName: node linkType: hard -"@types/node@npm:^16.18.108": - version: 16.18.108 - resolution: "@types/node@npm:16.18.108" - checksum: 10/5963b628e3a2a89aa1090b1ffb3cf6a3d366ed118c8bf5ecd1e4b7fc89782fc1c53d93926886a9f2bdcf6fe5f5a6d361027cbf8eca026a20f15ffe374a1f57b3 - languageName: node - linkType: hard - -"@types/node@npm:^18.0.0": - version: 18.19.50 - resolution: "@types/node@npm:18.19.50" +"@types/node@npm:~20.16.12": + version: 20.16.12 + resolution: "@types/node@npm:20.16.12" dependencies: - undici-types: "npm:~5.26.4" - checksum: 10/d238bb877953fcecda830df140f8722b9ba9644ae63e810fe6fa40cab8285c42f9b34c9529f2144a6f8cfeee5b0ff7fefd9425261e41830157d6710d501b829d + undici-types: "npm:~6.19.2" + checksum: 10/689badb5af2a1a03553a6d21880fa4aabb8cf028b7db1a03be889c0026047a780ac37c83df5dca036f02f5dc3cc4000254fa40d2cadd5df0e9bd6f43dae6eac6 languageName: node linkType: hard @@ -33762,7 +33755,7 @@ __metadata: "@types/ejson": "npm:^2.2.2" "@types/express": "npm:^4.17.21" "@types/fibers": "npm:^3.1.4" - "@types/node": "npm:^16.18.108" + "@types/node": "npm:~20.16.12" "@types/ws": "npm:^8.5.12" ajv: "npm:^8.11.0" bcrypt: "npm:^5.0.1" @@ -37584,13 +37577,6 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~5.26.4": - version: 5.26.5 - resolution: "undici-types@npm:5.26.5" - checksum: 10/0097779d94bc0fd26f0418b3a05472410408877279141ded2bd449167be1aed7ea5b76f756562cb3586a07f251b90799bab22d9019ceba49c037c76445f7cddd - languageName: node - linkType: hard - "undici-types@npm:~6.19.2": version: 6.19.8 resolution: "undici-types@npm:6.19.8"