diff --git a/.evergreen/buildvariants.yml b/.evergreen/buildvariants.yml index 14555b11c5d..81c603aeb72 100644 --- a/.evergreen/buildvariants.yml +++ b/.evergreen/buildvariants.yml @@ -150,8 +150,8 @@ buildvariants: depends_on: package-compass - name: rhel - display_name: RHEL 7.6 (Test and Package) - run_on: rhel76-large + display_name: RHEL 8.0 (Test and Package) + run_on: rhel80-large tasks: - name: check diff --git a/.evergreen/config.json b/.evergreen/config.json index 204c9603835..18eac8fd0f0 100644 --- a/.evergreen/config.json +++ b/.evergreen/config.json @@ -3,7 +3,7 @@ "run_on": [ "ubuntu2004-large", "windows-vsCurrent-large", - "rhel76-large", + "rhel80-large", ["macos-1100", { "gui": "macos-1100-gui" }], ["macos-1100-arm64", { "gui": "macos-1100-arm64-gui" }] ], @@ -136,7 +136,7 @@ "vars": { "mongodb_version": "latest-alpha-enterprise" }, - "skip_on": ["macos-1100", "macos-1100-arm64", "rhel76-large"] + "skip_on": ["macos-1100", "macos-1100-arm64", "rhel80-large"] } ], "test-web-sandbox": [ @@ -146,7 +146,7 @@ "mongodb_version": "latest-alpha-enterprise", "browser_name": "chrome" }, - "skip_on": ["macos-1100", "macos-1100-arm64", "rhel76-large", "windows-vsCurrent-large"] + "skip_on": ["macos-1100", "macos-1100-arm64", "rhel80-large", "windows-vsCurrent-large"] }, { "name": "firefox", @@ -154,7 +154,7 @@ "mongodb_version": "latest-alpha-enterprise", "browser_name": "firefox" }, - "skip_on": ["macos-1100", "macos-1100-arm64", "rhel76-large", "windows-vsCurrent-large"] + "skip_on": ["macos-1100", "macos-1100-arm64", "rhel80-large", "windows-vsCurrent-large"] } ] } @@ -163,7 +163,7 @@ "short": { "ubuntu2004-large": "ubuntu", "windows-vsCurrent-large": "windows", - "rhel76-large": "rhel", + "rhel80-large": "rhel", "macos-1100": "macos", "macos-1100-arm64": "macos-arm", "macos-1100-gui": "macos-gui", @@ -172,7 +172,7 @@ "long": { "ubuntu2004-large": "Ubuntu 20.04", "windows-vsCurrent-large": "Windows 10", - "rhel76-large": "RHEL 7.6", + "rhel80-large": "RHEL 8.0", "macos-1100": "MacOS x64 11.00", "macos-1100-arm64": "MacOS arm64 11.00", "macos-1100-gui": "MacOS x64 11.00 w/ GUI Session", diff --git a/.evergreen/verify-artifacts.sh b/.evergreen/verify-artifacts.sh index 007e300843e..11864a81b55 100755 --- a/.evergreen/verify-artifacts.sh +++ b/.evergreen/verify-artifacts.sh @@ -6,7 +6,7 @@ ARTIFACTS_DIR="packages/compass/dist" echo "Verifying artifacts at $ARTIFACTS_DIR" ls -l $ARTIFACTS_DIR -# Use tmp directory for all gpg operations +# Use tmp directory for all gpg operations/the rpm database GPG_HOME=$(mktemp -d) TMP_FILE=$(mktemp) COMPASS_KEY="https://pgp.mongodb.com/compass.asc" @@ -45,16 +45,14 @@ verify_using_rpm() { # RPM packages are signed using gpg and the signature is embedded in the package. # Here, we need to import the key in `rpm` and then verify the signature. echo "Importing key into rpm" - rpm --import $COMPASS_KEY > "$TMP_FILE" 2>&1 - # Even if the file is not signed, the command below will exit with 0 and output something like: sha1 md5 OK + rpm --dbpath "$GPG_HOME" --import $COMPASS_KEY > "$TMP_FILE" 2>&1 + # Even if the file is not signed, the command below will exit with 0 and output something like: digests OK # So we need to check the output of the command to see if the file is signed successfully. echo "Verifying $1 using rpm" - output=$(rpm -K $ARTIFACTS_DIR/$1) - # Remove the imported key from rpm - rpm -e $(rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release}:%{summary}\n' | grep compass | awk -F: '{print $1}') - + output=$(rpm --dbpath "$GPG_HOME" -K $ARTIFACTS_DIR/$1) + # Check if the output contains the string "pgp md5 OK" - if [[ $output != *"pgp md5 OK"* ]]; then + if [[ $output != *"digests signatures OK"* ]]; then echo "File $1 is not signed" exit 1 fi @@ -84,4 +82,4 @@ elif [ "$IS_OSX" = true ]; then else echo "Unknown OS, failed to verify file signing" exit 1 -fi \ No newline at end of file +fi diff --git a/configs/webpack-config-compass/package.json b/configs/webpack-config-compass/package.json index 5308ea525fc..67b8b4cf5b9 100644 --- a/configs/webpack-config-compass/package.json +++ b/configs/webpack-config-compass/package.json @@ -74,7 +74,7 @@ "cli-progress": "^3.9.1", "core-js": "^3.17.3", "css-loader": "^4.3.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "html-webpack-plugin": "^5.3.2", "less-loader": "^10.0.1", "mini-css-extract-plugin": "^2.3.0", diff --git a/package-lock.json b/package-lock.json index aa13bc4a824..a6bc72f3d55 100644 --- a/package-lock.json +++ b/package-lock.json @@ -187,7 +187,7 @@ "cli-progress": "^3.9.1", "core-js": "^3.17.3", "css-loader": "^4.3.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "html-webpack-plugin": "^5.3.2", "less-loader": "^10.0.1", "mini-css-extract-plugin": "^2.3.0", @@ -20556,13 +20556,13 @@ } }, "node_modules/electron": { - "version": "28.2.10", - "resolved": "https://registry.npmjs.org/electron/-/electron-28.2.10.tgz", - "integrity": "sha512-0rGBJNogcl2FIRxGRUv9zuMaBP78nSBJW+Bd1U7OGeg8IEkSIbHOhfn71XoGxgbOUSCEXjjyftq4mtAAVbUsZQ==", + "version": "29.3.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-29.3.0.tgz", + "integrity": "sha512-ZxFKm0/v48GSoBuO3DdnMlCYXefEUKUHLMsKxyXY4nZGgzbBKpF/X8haZa2paNj23CLfsCKBOtfc2vsEQiOOsA==", "hasInstallScript": true, "dependencies": { "@electron/get": "^2.0.0", - "@types/node": "^18.11.18", + "@types/node": "^20.9.0", "extract-zip": "^2.0.1" }, "bin": { @@ -21042,11 +21042,6 @@ "url": "https://github.com/sindresorhus/is?sponsor=1" } }, - "node_modules/electron/node_modules/@types/node": { - "version": "18.18.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.3.tgz", - "integrity": "sha512-0OVfGupTl3NBFr8+iXpfZ8NR7jfFO+P1Q+IO/q0wbo02wYkP5gy36phojeYWpLQ6WAMjl+VfmqUk2YbUfp0irA==" - }, "node_modules/electron/node_modules/cacheable-lookup": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz", @@ -32859,9 +32854,9 @@ } }, "node_modules/node-abi": { - "version": "3.57.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.57.0.tgz", - "integrity": "sha512-Dp+A9JWxRaKuHP35H77I4kCKesDy5HUDEmScia2FyncMTOXASMyg251F5PhFoDA5uqBrDDffiLpbqnrZmNXW+g==", + "version": "3.58.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.58.0.tgz", + "integrity": "sha512-pXY1jnGf5T7b8UNzWzIqf0EkX4bx/w8N2AvwlGnk2SYYA/kzDVPaH0Dh0UG4EwxBB5eKOIZKPr8VAHSHL1DPGg==", "dependencies": { "semver": "^7.3.5" }, @@ -43994,7 +43989,7 @@ "@mongodb-js/devtools-connect": "^2.6.0", "@mongodb-js/oidc-plugin": "^0.4.0", "compass-preferences-model": "^2.19.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "hadron-app-registry": "^9.1.9", "hadron-ipc": "^3.2.13", "lodash": "^4.17.21", @@ -44791,7 +44786,7 @@ "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-devtools-installer": "^3.2.0", "electron-dl": "^3.5.0", "electron-mocha": "^12.2.0", @@ -44956,7 +44951,6 @@ "@mongodb-js/compass-connections": "^1.26.0", "@mongodb-js/compass-logging": "^1.2.15", "@mongodb-js/connection-info": "^0.2.0", - "@mongodb-js/connection-storage": "^0.9.0", "hadron-app-registry": "^9.1.9", "mongodb-instance-model": "^12.19.0", "mongodb-ns": "^2.4.0", @@ -45468,7 +45462,7 @@ "chai": "^4.1.2", "chai-as-promised": "^7.1.1", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", @@ -45537,7 +45531,7 @@ "cross-spawn": "^7.0.3", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "fast-glob": "^3.2.7", "glob": "^10.2.5", @@ -45895,7 +45889,7 @@ "@types/d3-hierarchy": "^3.1.2", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", @@ -46009,7 +46003,6 @@ "license": "SSPL", "dependencies": { "@mongodb-js/compass-connections": "^1.26.0", - "@mongodb-js/connection-storage": "^0.9.0", "hadron-app-registry": "^9.1.9", "lodash": "^4.17.21", "mongodb-schema": "^12.1.0", @@ -46094,7 +46087,7 @@ "@types/sinon-chai": "^3.2.5", "chai": "^4.3.4", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", @@ -46350,7 +46343,7 @@ "bson": "^6.6.0", "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "hadron-app-registry": "^9.1.9", "hadron-document": "^8.5.0", "hadron-ipc": "^3.2.13", @@ -46468,7 +46461,7 @@ "@testing-library/user-event": "^13.5.0", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", @@ -46927,7 +46920,7 @@ "@testing-library/user-event": "^13.5.0", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", @@ -47132,7 +47125,7 @@ "@mongodb-js/tsconfig-compass": "^1.0.3", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", @@ -47320,14 +47313,13 @@ "redux": "^4.2.1" }, "devDependencies": { - "@mongodb-js/connection-storage": "^0.9.0", "@mongodb-js/eslint-config-compass": "^1.1.0", "@mongodb-js/mocha-config-compass": "^1.3.8", "@mongodb-js/prettier-config-compass": "^1.0.1", "@mongodb-js/tsconfig-compass": "^1.0.3", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", @@ -47410,7 +47402,7 @@ "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", - "mongodb-data-service": "^22.18.1", + "mongodb-data-service": "^22.19.0", "nyc": "^15.1.0", "prettier": "^2.7.1", "react-dom": "^17.0.2", @@ -47583,7 +47575,7 @@ "license": "SSPL", "dependencies": { "@electron/remote": "^2.1.2", - "electron": "^28.2.10" + "electron": "^29.3.0" }, "devDependencies": { "@mongodb-js/eslint-config-compass": "^1.1.0", @@ -47676,7 +47668,7 @@ "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.9", + "electron": "^29.3.0", "eslint": "^7.25.0", "events": "^3.3.0", "express": "^4.19.2", @@ -48404,7 +48396,7 @@ "@mongodb-js/compass-utils": "^0.6.2", "@mongodb-js/connection-info": "^0.2.0", "bson": "^6.6.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "hadron-app-registry": "^9.1.9", "hadron-ipc": "^3.2.13", "keytar": "^7.9.0", @@ -48930,7 +48922,7 @@ "debug": "^4.2.0", "del": "^2.0.2", "download": "^8.0.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-packager": "^15.5.1", "electron-packager-plugin-non-proprietary-codecs-ffmpeg": "^1.0.2", "flatnest": "^1.0.0", @@ -48945,7 +48937,7 @@ "lodash": "^4.17.21", "moment": "^2.29.4", "mongodb-js-cli": "^0.0.3", - "node-abi": "^3.57.0", + "node-abi": "^3.58.0", "normalize-package-data": "^2.3.5", "parse-github-repo-url": "^1.3.0", "semver": "^5.7.2", @@ -49777,7 +49769,7 @@ "license": "SSPL", "dependencies": { "debug": "^4.3.4", - "electron": "^28.2.10", + "electron": "^29.3.0", "is-electron-renderer": "^2.0.1" }, "devDependencies": { @@ -50788,7 +50780,7 @@ "@babel/core": "^7.24.3", "@mongodb-js/monorepo-tools": "^1.1.1", "commander": "^11.0.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "glob": "^10.2.5", "jsdom": "^21.1.0", "make-fetch-happen": "^8.0.14", @@ -56177,7 +56169,7 @@ "chai": "^4.3.6", "compass-preferences-model": "^2.19.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "hadron-app-registry": "^9.1.9", "hadron-ipc": "^3.2.13", @@ -56331,7 +56323,6 @@ "@mongodb-js/compass-connections": "^1.26.0", "@mongodb-js/compass-logging": "^1.2.15", "@mongodb-js/connection-info": "^0.2.0", - "@mongodb-js/connection-storage": "^0.9.0", "@mongodb-js/eslint-config-compass": "^1.1.0", "@mongodb-js/mocha-config-compass": "^1.3.8", "@mongodb-js/prettier-config-compass": "^1.0.1", @@ -56776,7 +56767,7 @@ "compass-preferences-model": "^2.19.0", "depcheck": "^1.4.1", "ejson-shell-parser": "^2.0.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", @@ -56952,7 +56943,7 @@ "d3-flextree": "^2.1.2", "d3-hierarchy": "^3.1.2", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "hadron-app-registry": "^9.1.9", @@ -57059,7 +57050,6 @@ "version": "file:packages/compass-field-store", "requires": { "@mongodb-js/compass-connections": "^1.26.0", - "@mongodb-js/connection-storage": "^0.9.0", "@mongodb-js/eslint-config-compass": "^1.1.0", "@mongodb-js/mocha-config-compass": "^1.3.8", "@mongodb-js/prettier-config-compass": "^1.0.1", @@ -57127,7 +57117,7 @@ "@types/sinon-chai": "^3.2.5", "chai": "^4.3.4", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "hadron-app-registry": "^9.1.9", @@ -57302,7 +57292,7 @@ "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "hadron-app-registry": "^9.1.9", @@ -57378,7 +57368,7 @@ "compass-preferences-model": "^2.19.0", "depcheck": "^1.4.1", "ejson-shell-parser": "^2.0.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "hadron-app-registry": "^9.1.9", @@ -57673,7 +57663,7 @@ "chai": "^4.2.0", "compass-preferences-model": "^2.19.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "hadron-app-registry": "^9.1.9", @@ -57881,7 +57871,7 @@ "chai": "^4.2.0", "compass-preferences-model": "^2.19.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", @@ -57921,7 +57911,7 @@ "@mongodb-js/prettier-config-compass": "^1.0.1", "commander": "^11.0.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "glob": "^10.2.5", "jsdom": "^21.1.0", @@ -58281,7 +58271,6 @@ "@mongodb-js/compass-logging": "^1.2.15", "@mongodb-js/compass-user-data": "^0.1.18", "@mongodb-js/compass-utils": "^0.6.2", - "@mongodb-js/connection-storage": "^0.9.0", "@mongodb-js/eslint-config-compass": "^1.1.0", "@mongodb-js/mocha-config-compass": "^1.3.8", "@mongodb-js/prettier-config-compass": "^1.0.1", @@ -58292,7 +58281,7 @@ "chai": "^4.2.0", "compass-preferences-model": "^2.19.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", @@ -58365,7 +58354,7 @@ "lodash": "^4.17.21", "mocha": "^10.2.0", "mongodb": "^6.5.0", - "mongodb-data-service": "^22.18.1", + "mongodb-data-service": "^22.19.0", "mongodb-instance-model": "^12.19.0", "mongodb-ns": "^2.4.0", "nyc": "^15.1.0", @@ -58521,7 +58510,7 @@ "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "gen-esm-wrapper": "^1.1.0", "mocha": "^10.2.0", @@ -58598,7 +58587,7 @@ "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.9", + "electron": "^29.3.0", "eslint": "^7.25.0", "events": "^3.3.0", "express": "^4.19.2", @@ -59237,7 +59226,7 @@ "bson": "^6.6.0", "chai": "^4.3.6", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "hadron-app-registry": "^9.1.9", "hadron-ipc": "^3.2.13", @@ -60200,7 +60189,7 @@ "core-js": "^3.17.3", "css-loader": "^4.3.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "html-webpack-plugin": "^5.3.2", "less-loader": "^10.0.1", @@ -68964,7 +68953,7 @@ "cross-spawn": "^7.0.3", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "fast-glob": "^3.2.7", "glob": "^10.2.5", @@ -71217,12 +71206,12 @@ } }, "electron": { - "version": "28.2.10", - "resolved": "https://registry.npmjs.org/electron/-/electron-28.2.10.tgz", - "integrity": "sha512-0rGBJNogcl2FIRxGRUv9zuMaBP78nSBJW+Bd1U7OGeg8IEkSIbHOhfn71XoGxgbOUSCEXjjyftq4mtAAVbUsZQ==", + "version": "29.3.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-29.3.0.tgz", + "integrity": "sha512-ZxFKm0/v48GSoBuO3DdnMlCYXefEUKUHLMsKxyXY4nZGgzbBKpF/X8haZa2paNj23CLfsCKBOtfc2vsEQiOOsA==", "requires": { "@electron/get": "^2.0.0", - "@types/node": "^18.11.18", + "@types/node": "^20.9.0", "extract-zip": "^2.0.1" }, "dependencies": { @@ -71246,11 +71235,6 @@ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==" }, - "@types/node": { - "version": "18.18.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.3.tgz", - "integrity": "sha512-0OVfGupTl3NBFr8+iXpfZ8NR7jfFO+P1Q+IO/q0wbo02wYkP5gy36phojeYWpLQ6WAMjl+VfmqUk2YbUfp0irA==" - }, "cacheable-lookup": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz", @@ -75163,7 +75147,7 @@ "del": "^2.0.2", "depcheck": "^1.4.1", "download": "^8.0.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-installer-debian": "^3.2.0", "electron-installer-dmg": "^4.0.0", "electron-installer-redhat": "^2.0.0", @@ -75186,7 +75170,7 @@ "mocha": "^10.2.0", "moment": "^2.29.4", "mongodb-js-cli": "^0.0.3", - "node-abi": "^3.57.0", + "node-abi": "^3.58.0", "normalize-package-data": "^2.3.5", "parse-github-repo-url": "^1.3.0", "plist": "^3.0.1", @@ -75884,7 +75868,7 @@ "chai": "^4.3.6", "debug": "^4.3.4", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "is-electron-renderer": "^2.0.1", "mocha": "^10.2.0", @@ -81090,7 +81074,7 @@ "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-devtools-installer": "^3.2.0", "electron-dl": "^3.5.0", "electron-mocha": "^12.2.0", @@ -81964,9 +81948,9 @@ } }, "node-abi": { - "version": "3.57.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.57.0.tgz", - "integrity": "sha512-Dp+A9JWxRaKuHP35H77I4kCKesDy5HUDEmScia2FyncMTOXASMyg251F5PhFoDA5uqBrDDffiLpbqnrZmNXW+g==", + "version": "3.58.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.58.0.tgz", + "integrity": "sha512-pXY1jnGf5T7b8UNzWzIqf0EkX4bx/w8N2AvwlGnk2SYYA/kzDVPaH0Dh0UG4EwxBB5eKOIZKPr8VAHSHL1DPGg==", "requires": { "semver": "^7.3.5" } diff --git a/packages/atlas-service/package.json b/packages/atlas-service/package.json index a1f70404087..ba402fdc154 100644 --- a/packages/atlas-service/package.json +++ b/packages/atlas-service/package.json @@ -81,7 +81,7 @@ "@mongodb-js/oidc-plugin": "^0.4.0", "hadron-app-registry": "^9.1.9", "compass-preferences-model": "^2.19.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "hadron-ipc": "^3.2.13", "lodash": "^4.17.21", "node-fetch": "^2.7.0", diff --git a/packages/compass-crud/package.json b/packages/compass-crud/package.json index b3060312fd2..10d49b12f8d 100644 --- a/packages/compass-crud/package.json +++ b/packages/compass-crud/package.json @@ -59,7 +59,7 @@ "chai": "^4.1.2", "chai-as-promised": "^7.1.1", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", diff --git a/packages/compass-e2e-tests/package.json b/packages/compass-e2e-tests/package.json index 87efe1a0293..94637b25284 100644 --- a/packages/compass-e2e-tests/package.json +++ b/packages/compass-e2e-tests/package.json @@ -47,7 +47,7 @@ "cross-spawn": "^7.0.3", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "eslint": "^7.25.0", "fast-glob": "^3.2.7", "glob": "^10.2.5", diff --git a/packages/compass-explain-plan/package.json b/packages/compass-explain-plan/package.json index 78238f1ca20..1ec275a8fef 100644 --- a/packages/compass-explain-plan/package.json +++ b/packages/compass-explain-plan/package.json @@ -58,7 +58,7 @@ "@types/d3-hierarchy": "^3.1.2", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", diff --git a/packages/compass-find-in-page/package.json b/packages/compass-find-in-page/package.json index 2da128ce9ba..f45bea3ce05 100644 --- a/packages/compass-find-in-page/package.json +++ b/packages/compass-find-in-page/package.json @@ -62,7 +62,7 @@ "@types/sinon-chai": "^3.2.5", "chai": "^4.3.4", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", diff --git a/packages/compass-import-export/package.json b/packages/compass-import-export/package.json index 868a1888d29..6714b54dab5 100644 --- a/packages/compass-import-export/package.json +++ b/packages/compass-import-export/package.json @@ -58,7 +58,7 @@ "bson": "^6.6.0", "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "hadron-app-registry": "^9.1.9", "hadron-document": "^8.5.0", "hadron-ipc": "^3.2.13", diff --git a/packages/compass-indexes/package.json b/packages/compass-indexes/package.json index 4f4838579f2..b93c0b72185 100644 --- a/packages/compass-indexes/package.json +++ b/packages/compass-indexes/package.json @@ -56,7 +56,7 @@ "@testing-library/user-event": "^13.5.0", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", diff --git a/packages/compass-query-bar/package.json b/packages/compass-query-bar/package.json index 5eff9eff40f..2c8376d3ca4 100644 --- a/packages/compass-query-bar/package.json +++ b/packages/compass-query-bar/package.json @@ -56,7 +56,7 @@ "@testing-library/user-event": "^13.5.0", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", diff --git a/packages/compass-schema-validation/package.json b/packages/compass-schema-validation/package.json index bd0e10ab97e..2b521e21748 100644 --- a/packages/compass-schema-validation/package.json +++ b/packages/compass-schema-validation/package.json @@ -54,7 +54,7 @@ "@mongodb-js/tsconfig-compass": "^1.0.3", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", diff --git a/packages/compass-shell/package.json b/packages/compass-shell/package.json index 75c0ffe5c49..d9b13d27486 100644 --- a/packages/compass-shell/package.json +++ b/packages/compass-shell/package.json @@ -71,7 +71,7 @@ "@mongodb-js/tsconfig-compass": "^1.0.3", "chai": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", "eslint": "^7.25.0", diff --git a/packages/compass-sidebar/package.json b/packages/compass-sidebar/package.json index aefdc4d36f0..8409bedad11 100644 --- a/packages/compass-sidebar/package.json +++ b/packages/compass-sidebar/package.json @@ -89,7 +89,6 @@ "electron-mocha": "^12.2.0", "eslint": "^7.25.0", "mocha": "^10.2.0", - "mongodb-data-service": "^22.18.1", "nyc": "^15.1.0", "prettier": "^2.7.1", "react-dom": "^17.0.2", diff --git a/packages/compass-utils/package.json b/packages/compass-utils/package.json index 71a17ffc053..307771b5ed4 100644 --- a/packages/compass-utils/package.json +++ b/packages/compass-utils/package.json @@ -69,6 +69,6 @@ }, "dependencies": { "@electron/remote": "^2.1.2", - "electron": "^28.2.10" + "electron": "^29.3.0" } } diff --git a/packages/compass-web/package.json b/packages/compass-web/package.json index 71aa46ac57e..713b2b69965 100644 --- a/packages/compass-web/package.json +++ b/packages/compass-web/package.json @@ -99,7 +99,7 @@ "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.9", + "electron": "^29.3.0", "eslint": "^7.25.0", "events": "^3.3.0", "express": "^4.19.2", diff --git a/packages/compass/package.json b/packages/compass/package.json index f4505889b3a..f92ae6362b9 100644 --- a/packages/compass/package.json +++ b/packages/compass/package.json @@ -228,7 +228,7 @@ "compass-preferences-model": "^2.19.0", "debug": "^4.2.0", "depcheck": "^1.4.1", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-devtools-installer": "^3.2.0", "electron-dl": "^3.5.0", "electron-mocha": "^12.2.0", diff --git a/packages/compass/scripts/download-csfle.js b/packages/compass/scripts/download-csfle.js index 16774130462..c5505e5369d 100644 --- a/packages/compass/scripts/download-csfle.js +++ b/packages/compass/scripts/download-csfle.js @@ -38,8 +38,8 @@ const CSFLE_DIRECTORY = path.resolve(PACKAGE_ROOT, 'src', 'deps', 'csfle'); // The CSFLE shared library is built for different distros, // but since it only depends on glibc, we can just download // a CSFLE library from a distro with a low glibc version - // such as RHEL7. - downloadOptions.distro = 'rhel70'; + // such as RHEL8. + downloadOptions.distro = 'rhel80'; } const downloaded = await downloadMongoDb( diff --git a/packages/connection-storage/package.json b/packages/connection-storage/package.json index 9599eaccfae..a0c3581e283 100644 --- a/packages/connection-storage/package.json +++ b/packages/connection-storage/package.json @@ -61,7 +61,7 @@ "@mongodb-js/compass-utils": "^0.6.2", "@mongodb-js/connection-info": "^0.2.0", "bson": "^6.6.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "hadron-app-registry": "^9.1.9", "hadron-ipc": "^3.2.13", "keytar": "^7.9.0", diff --git a/packages/hadron-build/commands/upload.js b/packages/hadron-build/commands/upload.js index bfca208d9dc..cf6279d13a8 100644 --- a/packages/hadron-build/commands/upload.js +++ b/packages/hadron-build/commands/upload.js @@ -84,7 +84,7 @@ function readablePlatformName(arch, platform, fileName = '') { break; case 'linux-x64': name = fileName.endsWith('.rpm') - ? 'RedHat 64-bit (7+)' + ? 'RedHat 64-bit (8+)' : 'Ubuntu 64-bit (16.04+)'; break; default: diff --git a/packages/hadron-build/package.json b/packages/hadron-build/package.json index d3faa50eed4..a927bf6734c 100644 --- a/packages/hadron-build/package.json +++ b/packages/hadron-build/package.json @@ -34,7 +34,7 @@ "debug": "^4.2.0", "del": "^2.0.2", "download": "^8.0.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "electron-packager": "^15.5.1", "electron-packager-plugin-non-proprietary-codecs-ffmpeg": "^1.0.2", "flatnest": "^1.0.0", @@ -49,7 +49,7 @@ "lodash": "^4.17.21", "moment": "^2.29.4", "mongodb-js-cli": "^0.0.3", - "node-abi": "^3.57.0", + "node-abi": "^3.58.0", "normalize-package-data": "^2.3.5", "parse-github-repo-url": "^1.3.0", "semver": "^5.7.2", diff --git a/packages/hadron-build/test/upload.test.js b/packages/hadron-build/test/upload.test.js index ebb19e96ae2..f56760ad84a 100644 --- a/packages/hadron-build/test/upload.test.js +++ b/packages/hadron-build/test/upload.test.js @@ -89,7 +89,7 @@ describe('upload', function() { arch: 'x64', download_link: 'https://downloads.mongodb.com/compass/mongodb-compass-1.0.0.x86_64.rpm', - name: 'RedHat 64-bit (7+)', + name: 'RedHat 64-bit (8+)', os: 'linux' }, { @@ -144,7 +144,7 @@ describe('upload', function() { arch: 'x64', download_link: 'https://downloads.mongodb.com/compass/mongodb-compass-readonly-1.0.0.x86_64.rpm', - name: 'RedHat 64-bit (7+)', + name: 'RedHat 64-bit (8+)', os: 'linux' }, { @@ -199,7 +199,7 @@ describe('upload', function() { arch: 'x64', download_link: 'https://downloads.mongodb.com/compass/mongodb-compass-isolated-1.0.0.x86_64.rpm', - name: 'RedHat 64-bit (7+)', + name: 'RedHat 64-bit (8+)', os: 'linux' }, { diff --git a/packages/hadron-ipc/package.json b/packages/hadron-ipc/package.json index 2855182ef49..0a3ca166ccb 100644 --- a/packages/hadron-ipc/package.json +++ b/packages/hadron-ipc/package.json @@ -69,7 +69,7 @@ }, "dependencies": { "debug": "^4.3.4", - "electron": "^28.2.10", + "electron": "^29.3.0", "is-electron-renderer": "^2.0.1" } } diff --git a/scripts/package.json b/scripts/package.json index a1e26b4dc0c..c528d61f073 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -40,7 +40,7 @@ "@babel/core": "^7.24.3", "@mongodb-js/monorepo-tools": "^1.1.1", "commander": "^11.0.0", - "electron": "^28.2.10", + "electron": "^29.3.0", "glob": "^10.2.5", "jsdom": "^21.1.0", "make-fetch-happen": "^8.0.14",