-
Notifications
You must be signed in to change notification settings - Fork 13k
chore(deps): Upgrade some dependencies #36905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
05d3628
bd2ec6b
d0a5b02
667e54e
d39abb9
e296ab2
36067ec
364cdc5
96607f2
ca00227
4f1b74e
7aa3509
3ffbc5a
486e708
4e09d19
45e6c30
ddfdbd3
5a1f130
d4f6b0e
0d33b84
940f80d
763dd31
c72da71
35da407
65c32ee
d315f26
e26c0cf
37576df
72b3e68
0be622d
08e902f
c79cadc
e934482
a097a5c
a4ba113
91561f3
cb62417
51e7186
c510b6a
9e7e4c8
d492687
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,11 +62,11 @@ | |
| }, | ||
| "devDependencies": { | ||
| "@axe-core/playwright": "^4.10.2", | ||
| "@babel/core": "~7.26.10", | ||
| "@babel/eslint-parser": "~7.25.9", | ||
| "@babel/preset-env": "~7.26.9", | ||
| "@babel/preset-react": "~7.25.9", | ||
| "@babel/register": "~7.25.9", | ||
| "@babel/core": "~7.28.4", | ||
| "@babel/eslint-parser": "~7.28.4", | ||
| "@babel/preset-env": "~7.28.3", | ||
| "@babel/preset-react": "~7.27.1", | ||
| "@babel/register": "~7.28.3", | ||
| "@faker-js/faker": "~8.0.2", | ||
| "@playwright/test": "^1.52.0", | ||
| "@rocket.chat/desktop-api": "workspace:~", | ||
|
|
@@ -82,11 +82,11 @@ | |
| "@storybook/addon-webpack5-compiler-babel": "^3.0.6", | ||
| "@storybook/react": "^8.6.14", | ||
| "@storybook/react-webpack5": "^8.6.14", | ||
| "@testing-library/dom": "~10.4.0", | ||
| "@testing-library/react": "~16.0.1", | ||
| "@testing-library/user-event": "~14.5.2", | ||
| "@testing-library/dom": "~10.4.1", | ||
| "@testing-library/react": "~16.3.0", | ||
| "@testing-library/user-event": "~14.6.1", | ||
|
Comment on lines
+85
to
+87
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion 🧩 Analysis chainTesting Library upgrades—risk of flaky UI tests. Same caveats as above; scan and adjust queries/timers as needed. 🏁 Script executed: #!/bin/bash
rg -nP --type=ts,tsx -C2 '(findBy.*(within|screen)\(|waitFor\(|act\()' apps/meteorLength of output: 30 🏁 Script executed: #!/bin/bash
set -euo pipefail
TARGET_DIR="apps/meteor"
PATTERN='(findBy.*(within|screen)\(|waitFor\(|act\()'
# gather .ts .tsx .js .jsx files
if command -v fd >/dev/null 2>&1; then
mapfile -t files < <(fd -t f -e ts -e tsx -e js -e jsx "$TARGET_DIR" || true)
else
mapfile -t files < <(find "$TARGET_DIR" -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.jsx" \) -print 2>/dev/null || true)
fi
if [ ${#files[@]} -eq 0 ]; then
echo "No .ts/.tsx/.js/.jsx files found under $TARGET_DIR"
exit 0
fi
if command -v rg >/dev/null 2>&1; then
rg -nP -C2 "$PATTERN" "${files[@]}" || true
else
grep -nE -C2 "$PATTERN" "${files[@]}" || true
fiLength of output: 406 🏁 Script executed: #!/bin/bash
set -euo pipefail
TARGET_DIR="apps/meteor"
TMPFILE=$(mktemp)
trap 'rm -f "$TMPFILE"' EXIT
if [ ! -d "$TARGET_DIR" ]; then
echo "Directory '$TARGET_DIR' not found"
exit 0
fi
# collect candidate files
find "$TARGET_DIR" -type f \( -name '*.ts' -o -name '*.tsx' -o -name '*.js' -o -name '*.jsx' \) -print0 > "$TMPFILE" || true
if [ ! -s "$TMPFILE" ]; then
echo "No .ts/.tsx/.js/.jsx files found under $TARGET_DIR"
exit 0
fi
PATTERNS=( 'findBy[A-Za-z0-9_]*\(' 'waitFor\(' 'act\(' 'within\(' 'screen\.' )
for patt in "${PATTERNS[@]}"; do
printf "\n=== PATTERN: %s ===\n" "$patt"
MATCHED=0
while IFS= read -r -d '' file; do
if command -v rg >/dev/null 2>&1; then
rg -nP -C2 "$patt" "$file" || true
[ $? -eq 0 ] && MATCHED=1 || true
else
grep -nE -C2 "$patt" "$file" || true
[ $? -eq 0 ] && MATCHED=1 || true
fi
done < "$TMPFILE"
if [ "$MATCHED" -eq 0 ]; then
echo "(no matches for pattern '$patt')"
fi
doneLength of output: 232609 Testing Library upgrades — risk of flaky UI tests. Search found widespread use of findBy*/waitFor/act/within/screen across apps/meteor; scan and update affected tests — prefer stable queries (getBy*/getByRole), make waitFor assertions explicit, adjust timeouts, and update user-event patterns as needed. 🤖 Prompt for AI Agents |
||
| "@types/adm-zip": "^0.5.7", | ||
| "@types/archiver": "^5.3.4", | ||
| "@types/archiver": "~6.0.3", | ||
| "@types/bad-words": "^3.0.3", | ||
| "@types/bcrypt": "^5.0.2", | ||
| "@types/body-parser": "^1.19.6", | ||
|
|
@@ -118,7 +118,7 @@ | |
| "@types/later": "^1.2.9", | ||
| "@types/ldapjs": "^2.2.5", | ||
| "@types/less": "~3.0.8", | ||
| "@types/lodash": "^4.17.18", | ||
| "@types/lodash": "~4.17.20", | ||
| "@types/lodash.clonedeep": "^4.5.9", | ||
| "@types/lodash.debounce": "^4.0.9", | ||
| "@types/lodash.escape": "^4.0.9", | ||
|
|
@@ -128,9 +128,9 @@ | |
| "@types/meteor-collection-hooks": "^0.8.9", | ||
| "@types/mkdirp": "^1.0.2", | ||
| "@types/mocha": "github:whitecolor/mocha-types", | ||
| "@types/node": "~22.16.1", | ||
| "@types/node": "~22.16.5", | ||
| "@types/node-rsa": "^1.1.4", | ||
| "@types/nodemailer": "^6.4.17", | ||
| "@types/nodemailer": "~6.4.19", | ||
| "@types/oauth2-server": "^3.0.18", | ||
| "@types/object-path": "^0.11.4", | ||
| "@types/parseurl": "^1.3.3", | ||
|
|
@@ -139,15 +139,15 @@ | |
| "@types/proxyquire": "^1.3.31", | ||
| "@types/psl": "^1.1.3", | ||
| "@types/qs": "^6.14.0", | ||
| "@types/react": "~18.3.23", | ||
| "@types/react": "~18.3.24", | ||
| "@types/react-dom": "~18.3.7", | ||
| "@types/sanitize-html": "^2.13.0", | ||
| "@types/sanitize-html": "~2.16.0", | ||
| "@types/semver": "^7.5.8", | ||
| "@types/sharp": "^0.32.0", | ||
| "@types/sinon": "^10.0.20", | ||
| "@types/speakeasy": "^2.0.10", | ||
| "@types/strict-uri-encode": "^2.0.2", | ||
| "@types/supertest": "^6.0.3", | ||
| "@types/supertest": "~6.0.3", | ||
| "@types/supports-color": "~7.2.1", | ||
| "@types/swagger-ui-express": "^4.1.8", | ||
| "@types/textarea-caret": "^3.0.4", | ||
|
|
@@ -159,9 +159,9 @@ | |
| "@typescript-eslint/eslint-plugin": "~5.60.1", | ||
| "@typescript-eslint/parser": "~5.60.1", | ||
| "autoprefixer": "^9.8.8", | ||
| "babel-loader": "^9.2.1", | ||
| "babel-loader": "~10.0.0", | ||
| "babel-plugin-array-includes": "^2.0.3", | ||
| "babel-plugin-istanbul": "^6.1.1", | ||
| "babel-plugin-istanbul": "~7.0.1", | ||
| "chai": "^4.5.0", | ||
| "chai-as-promised": "^7.1.2", | ||
| "chai-datetime": "^1.8.1", | ||
|
|
@@ -171,26 +171,26 @@ | |
| "docker-compose": "^0.24.8", | ||
| "emojione-assets": "^4.5.0", | ||
| "eslint": "~8.45.0", | ||
| "eslint-config-prettier": "~9.1.0", | ||
| "eslint-config-prettier": "~9.1.2", | ||
| "eslint-plugin-anti-trojan-source": "~1.1.1", | ||
| "eslint-plugin-import": "~2.31.0", | ||
| "eslint-plugin-no-floating-promise": "~2.0.0", | ||
| "eslint-plugin-playwright": "~2.2.0", | ||
| "eslint-plugin-playwright": "~2.2.2", | ||
| "eslint-plugin-prettier": "~5.2.6", | ||
| "eslint-plugin-react": "~7.37.5", | ||
| "eslint-plugin-react-hooks": "~5.0.0", | ||
| "eslint-plugin-testing-library": "~6.4.0", | ||
| "eslint-plugin-you-dont-need-lodash-underscore": "~6.14.0", | ||
| "fast-glob": "^3.3.3", | ||
| "i18next": "~23.4.9", | ||
| "jest": "~30.0.5", | ||
| "jest": "~30.2.0", | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "jsdom-global": "^3.0.2", | ||
| "mocha": "^9.2.2", | ||
| "nyc": "^17.1.0", | ||
| "outdent": "~0.8.0", | ||
| "pino-pretty": "^7.6.1", | ||
| "playwright-core": "~1.52.0", | ||
| "playwright-qase-reporter": "^2.1.3", | ||
| "playwright-qase-reporter": "~2.1.6", | ||
| "postcss": "~8.4.49", | ||
| "postcss-custom-properties": "^14.0.6", | ||
| "postcss-easy-import": "^4.0.0", | ||
|
|
@@ -204,25 +204,25 @@ | |
| "raw-loader": "~4.0.2", | ||
| "react-docgen-typescript-plugin": "^1.0.8", | ||
| "sinon": "^19.0.5", | ||
| "source-map": "^0.7.4", | ||
| "source-map": "~0.7.6", | ||
| "storybook": "^8.6.14", | ||
| "stylelint": "^16.10.0", | ||
| "stylelint-config-standard": "^36.0.1", | ||
| "stylelint-order": "^6.0.4", | ||
| "stylelint-selector-bem-pattern": "^4.0.1", | ||
| "supertest": "^7.0.0", | ||
| "supertest": "~7.1.4", | ||
| "supports-color": "~7.2.0", | ||
| "template-file": "^6.0.1", | ||
| "ts-node": "^10.9.2", | ||
| "tsx": "~4.20.5", | ||
| "typescript": "~5.9.2", | ||
| "typescript": "~5.9.3", | ||
| "webpack": "~5.99.9" | ||
| }, | ||
| "dependencies": { | ||
| "@babel/runtime": "~7.26.10", | ||
| "@babel/runtime": "~7.28.4", | ||
| "@bugsnag/js": "~7.20.2", | ||
| "@bugsnag/plugin-react": "~7.19.0", | ||
| "@datastructures-js/priority-queue": "^6.3.3", | ||
| "@datastructures-js/priority-queue": "^6.3.4", | ||
| "@google-cloud/storage": "^7.15.0", | ||
| "@kaciras/deasync": "^1.1.0", | ||
| "@nivo/bar": "0.88.0", | ||
|
|
@@ -231,7 +231,7 @@ | |
| "@nivo/line": "0.88.0", | ||
| "@nivo/pie": "0.88.0", | ||
| "@noble/ed25519": "^3.0.0", | ||
| "@node-oauth/oauth2-server": "5.2.0", | ||
| "@node-oauth/oauth2-server": "~5.2.1", | ||
| "@opentelemetry/api": "^1.9.0", | ||
| "@opentelemetry/exporter-trace-otlp-grpc": "^0.54.2", | ||
| "@opentelemetry/sdk-node": "^0.54.2", | ||
|
|
@@ -252,26 +252,27 @@ | |
| "@rocket.chat/emitter": "~0.31.25", | ||
| "@rocket.chat/favicon": "workspace:^", | ||
| "@rocket.chat/federation-matrix": "workspace:^", | ||
| "@rocket.chat/federation-sdk": "0.1.10", | ||
| "@rocket.chat/federation-service": "workspace:^", | ||
| "@rocket.chat/freeswitch": "workspace:^", | ||
| "@rocket.chat/fuselage": "^0.66.4", | ||
| "@rocket.chat/fuselage-forms": "^0.1.0", | ||
| "@rocket.chat/fuselage-hooks": "^0.37.0", | ||
| "@rocket.chat/fuselage": "~0.66.4", | ||
| "@rocket.chat/fuselage-forms": "~0.1.0", | ||
| "@rocket.chat/fuselage-hooks": "~0.37.2", | ||
| "@rocket.chat/fuselage-polyfills": "~0.31.25", | ||
| "@rocket.chat/fuselage-toastbar": "^0.35.0", | ||
| "@rocket.chat/fuselage-tokens": "~0.33.2", | ||
| "@rocket.chat/fuselage-ui-kit": "workspace:^", | ||
| "@rocket.chat/gazzodown": "workspace:^", | ||
| "@rocket.chat/http-router": "workspace:^", | ||
| "@rocket.chat/i18n": "workspace:^", | ||
| "@rocket.chat/icons": "^0.43.0", | ||
| "@rocket.chat/icons": "~0.44.0", | ||
| "@rocket.chat/instance-status": "workspace:^", | ||
| "@rocket.chat/jwt": "workspace:^", | ||
| "@rocket.chat/layout": "^0.33.1", | ||
| "@rocket.chat/license": "workspace:^", | ||
| "@rocket.chat/log-format": "workspace:^", | ||
| "@rocket.chat/logger": "workspace:^", | ||
| "@rocket.chat/logo": "^0.32.2", | ||
| "@rocket.chat/logo": "~0.32.3", | ||
| "@rocket.chat/media-calls": "workspace:^", | ||
| "@rocket.chat/media-signaling": "workspace:^", | ||
| "@rocket.chat/memo": "~0.31.25", | ||
|
|
@@ -296,7 +297,7 @@ | |
| "@rocket.chat/server-cloud-communication": "workspace:^", | ||
| "@rocket.chat/server-fetch": "workspace:^", | ||
| "@rocket.chat/sha256": "workspace:^", | ||
| "@rocket.chat/string-helpers": "~0.31.25", | ||
| "@rocket.chat/string-helpers": "~0.32.0", | ||
| "@rocket.chat/styled": "~0.32.0", | ||
| "@rocket.chat/tools": "workspace:^", | ||
| "@rocket.chat/tracing": "workspace:^", | ||
|
|
@@ -310,11 +311,11 @@ | |
| "@rocket.chat/ui-voip": "workspace:^", | ||
| "@rocket.chat/web-ui-registration": "workspace:^", | ||
| "@slack/bolt": "^3.22.0", | ||
| "@slack/rtm-api": "^7.0.3", | ||
| "@slack/rtm-api": "~7.0.4", | ||
| "@tanstack/react-query": "~5.65.1", | ||
| "@types/meteor": "^2.9.9", | ||
| "@vector-im/matrix-bot-sdk": "0.7.1-element.11", | ||
| "@xmldom/xmldom": "^0.8.10", | ||
| "@xmldom/xmldom": "~0.8.11", | ||
| "adm-zip": "0.5.16", | ||
| "ajv": "^8.17.1", | ||
| "ajv-formats": "~3.0.1", | ||
|
|
@@ -331,7 +332,7 @@ | |
| "chalk": "^4.1.2", | ||
| "change-case": "^4.1.2", | ||
| "chart.js": "^3.9.1", | ||
| "codemirror": "^5.65.19", | ||
| "codemirror": "~5.65.20", | ||
| "colorette": "^2.0.20", | ||
| "colors": "^1.4.0", | ||
| "connect": "^3.7.0", | ||
|
|
@@ -345,7 +346,7 @@ | |
| "date-fns": "~4.1.0", | ||
| "date.js": "~0.3.3", | ||
| "debug": "~4.3.7", | ||
| "dompurify": "^3.2.6", | ||
| "dompurify": "~3.2.7", | ||
| "drachtio-srf": "patch:drachtio-srf@npm%3A5.0.12#~/.yarn/patches/drachtio-srf-npm-5.0.12-b0b1afaad6.patch", | ||
| "ejson": "^2.2.3", | ||
| "emailreplyparser": "^0.0.5", | ||
|
|
@@ -363,7 +364,7 @@ | |
| "filenamify": "^4.3.0", | ||
| "filesize": "9.0.11", | ||
| "generate-password": "^1.7.1", | ||
| "google-libphonenumber": "^3.2.42", | ||
| "google-libphonenumber": "^3.2.43", | ||
| "gravatar": "^1.8.2", | ||
| "he": "^1.2.0", | ||
| "highlight.js": "11.8.0", | ||
|
|
@@ -392,12 +393,12 @@ | |
| "lodash.debounce": "^4.0.8", | ||
| "lodash.escape": "^4.0.1", | ||
| "lodash.get": "^4.4.2", | ||
| "mailparser": "^3.7.3", | ||
| "mailparser": "~3.7.4", | ||
| "marked": "^4.3.0", | ||
| "matrix-appservice": "^2.0.0", | ||
| "matrix-appservice-bridge": "^10.3.3", | ||
| "mem": "^8.1.1", | ||
| "meteor-node-stubs": "^1.2.19", | ||
| "meteor-node-stubs": "~1.2.24", | ||
| "mime-db": "^1.52.0", | ||
| "mime-type": "^4.0.0", | ||
| "mkdirp": "^1.0.4", | ||
|
|
@@ -436,7 +437,7 @@ | |
| "react-stately": "~3.17.0", | ||
| "react-virtuoso": "^4.12.0", | ||
| "reflect-metadata": "^0.2.2", | ||
| "sanitize-html": "^2.14.0", | ||
| "sanitize-html": "~2.16.0", | ||
| "semver": "^7.6.3", | ||
| "sharp": "^0.33.5", | ||
| "sip.js": "^0.21.2", | ||
|
|
@@ -454,8 +455,8 @@ | |
| "tweetnacl": "^1.0.3", | ||
| "twilio": "^5.4.2", | ||
| "twit": "^2.2.11", | ||
| "typia": "~9.7.0", | ||
| "ua-parser-js": "^1.0.40", | ||
| "typia": "~9.7.2", | ||
| "ua-parser-js": "~1.0.41", | ||
| "underscore": "^1.13.7", | ||
| "universal-perf-hooks": "^1.0.1", | ||
| "uuid": "^11.0.3", | ||
|
|
@@ -465,7 +466,7 @@ | |
| "xml2js": "~0.6.2", | ||
| "yaqrcode": "^0.2.1", | ||
| "zod": "^3.24.1", | ||
| "zustand": "~5.0.5" | ||
| "zustand": "~5.0.8" | ||
| }, | ||
| "meteor": { | ||
| "mainModule": { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,14 +18,14 @@ | |
| "@lezer/highlight": "^1.2.1", | ||
| "@rocket.chat/core-typings": "workspace:^", | ||
| "@rocket.chat/css-in-js": "~0.31.25", | ||
| "@rocket.chat/fuselage": "^0.66.4", | ||
| "@rocket.chat/fuselage-hooks": "^0.37.0", | ||
| "@rocket.chat/fuselage": "~0.66.4", | ||
| "@rocket.chat/fuselage-hooks": "~0.37.2", | ||
| "@rocket.chat/fuselage-polyfills": "~0.31.25", | ||
| "@rocket.chat/fuselage-toastbar": "^0.35.0", | ||
| "@rocket.chat/fuselage-tokens": "~0.33.2", | ||
| "@rocket.chat/fuselage-ui-kit": "workspace:~", | ||
| "@rocket.chat/icons": "^0.43.0", | ||
| "@rocket.chat/logo": "^0.32.2", | ||
| "@rocket.chat/icons": "~0.44.0", | ||
| "@rocket.chat/logo": "~0.32.3", | ||
| "@rocket.chat/styled": "~0.32.0", | ||
| "@rocket.chat/ui-avatar": "workspace:^", | ||
| "@rocket.chat/ui-contexts": "workspace:~", | ||
|
|
@@ -45,17 +45,17 @@ | |
| "devDependencies": { | ||
| "@rocket.chat/emitter": "~0.31.25", | ||
| "@rocket.chat/tsconfig": "workspace:*", | ||
| "@types/lodash": "~4.17.18", | ||
| "@types/react": "~18.3.23", | ||
| "@types/lodash": "~4.17.20", | ||
| "@types/react": "~18.3.24", | ||
| "@types/react-beautiful-dnd": "^13.1.8", | ||
| "@types/react-dom": "~18.3.7", | ||
| "@typescript-eslint/eslint-plugin": "~5.60.1", | ||
| "@typescript-eslint/parser": "~5.60.1", | ||
| "@vitejs/plugin-react": "~4.5.2", | ||
| "eslint": "~8.45.0", | ||
| "eslint-plugin-react-hooks": "^5.0.0", | ||
| "eslint-plugin-react-refresh": "^0.4.20", | ||
| "typescript": "~5.9.2", | ||
| "eslint-plugin-react-refresh": "^0.4.22", | ||
| "typescript": "~5.9.3", | ||
| "vite": "^6.2.4" | ||
|
Comment on lines
52
to
59
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TypeScript 5.9 breaks the bundled ts‑eslint 5.x stack We’re upgrading TypeScript to ~5.9.3 but leaving 🤖 Prompt for AI Agents |
||
| }, | ||
| "volta": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrade ts‑eslint alongside TypeScript 5.9.
Here too we bumped
typescriptto 5.9.3 while leaving@typescript-eslint/{parser,eslint-plugin}on 5.60.x, which only supports <=5.2. That combo crashes the parser during lint runs. Either keep TS within the supported range or move the ts‑eslint toolchain (and peer eslint) to a release that officially supports TS 5.9.🤖 Prompt for AI Agents