Skip to content

Commit 5421da4

Browse files
authored
chore(deps): bump driver, oidc-plugin to latest COMPASS-9002 COMPASS-9006 (#6757)
1 parent dbce22b commit 5421da4

File tree

35 files changed

+199
-202
lines changed

35 files changed

+199
-202
lines changed

package-lock.json

Lines changed: 101 additions & 159 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/atlas-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@mongodb-js/connection-info": "^0.11.2",
8282
"@mongodb-js/devtools-connect": "^3.4.1",
8383
"@mongodb-js/devtools-proxy-support": "^0.4.2",
84-
"@mongodb-js/oidc-plugin": "^1.1.5",
84+
"@mongodb-js/oidc-plugin": "^1.1.6",
8585
"hadron-app-registry": "^9.4.2",
8686
"compass-preferences-model": "^2.33.2",
8787
"electron": "^32.3.2",

packages/bson-transpilers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"dependencies": {
4242
"antlr4": "4.7.2",
43-
"bson": "^6.10.1",
43+
"bson": "^6.10.3",
4444
"js-yaml": "^3.13.1"
4545
},
4646
"bugs": {

packages/compass-aggregations/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@
7878
"@mongodb-js/mongodb-constants": "^0.10.0",
7979
"@mongodb-js/my-queries-storage": "^0.22.2",
8080
"@mongodb-js/shell-bson-parser": "^1.2.0",
81-
"bson": "^6.10.1",
81+
"bson": "^6.10.3",
8282
"compass-preferences-model": "^2.33.2",
8383
"hadron-app-registry": "^9.4.2",
8484
"hadron-document": "^8.8.2",
8585
"hadron-type-checker": "^7.4.2",
8686
"lodash": "^4.17.21",
87-
"mongodb": "^6.12.0",
87+
"mongodb": "^6.13.1",
8888
"mongodb-collection-model": "^5.25.2",
8989
"mongodb-data-service": "^22.25.2",
9090
"mongodb-database-model": "^2.25.2",

packages/compass-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"@react-aria/utils": "^3.13.1",
7878
"@react-aria/visually-hidden": "^3.3.1",
7979
"@tanstack/table-core": "^8.14.0",
80-
"bson": "^6.10.1",
80+
"bson": "^6.10.3",
8181
"focus-trap-react": "^9.0.2",
8282
"hadron-document": "^8.8.2",
8383
"hadron-type-checker": "^7.4.2",

packages/compass-connections/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
"@mongodb-js/connection-form": "^1.47.2",
5959
"@mongodb-js/connection-info": "^0.11.2",
6060
"@mongodb-js/connection-storage": "^0.26.2",
61-
"bson": "^6.10.1",
61+
"bson": "^6.10.3",
6262
"compass-preferences-model": "^2.33.2",
6363
"hadron-app-registry": "^9.4.2",
6464
"lodash": "^4.17.21",
65-
"mongodb": "^6.12.0",
65+
"mongodb": "^6.13.1",
6666
"mongodb-build-info": "^1.7.2",
6767
"mongodb-connection-string-url": "^3.0.1",
6868
"mongodb-data-service": "^22.25.2",

packages/compass-crud/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"@mongodb-js/shell-bson-parser": "^1.2.0",
8888
"ag-grid-community": "^20.2.0",
8989
"ag-grid-react": "^20.2.0",
90-
"bson": "^6.10.1",
90+
"bson": "^6.10.3",
9191
"compass-preferences-model": "^2.33.2",
9292
"hadron-app-registry": "^9.4.2",
9393
"hadron-document": "^8.8.2",

packages/compass-e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@types/cross-spawn": "^6.0.2",
4343
"@types/yargs": "^17.0.33",
4444
"@wdio/types": "^8.32.2",
45-
"bson": "^6.10.1",
45+
"bson": "^6.10.3",
4646
"chai": "^4.3.4",
4747
"chai-as-promised": "^7.1.1",
4848
"clipboardy": "^2.3.0",
@@ -58,7 +58,7 @@
5858
"hadron-build": "^25.7.2",
5959
"lodash": "^4.17.21",
6060
"mocha": "^10.2.0",
61-
"mongodb": "^6.12.0",
61+
"mongodb": "^6.13.1",
6262
"mongodb-build-info": "^1.7.2",
6363
"mongodb-connection-string-url": "^3.0.1",
6464
"mongodb-log-writer": "^2.3.4",

packages/compass-explain-plan/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"d3-hierarchy": "^3.1.2",
8383
"hadron-app-registry": "^9.4.2",
8484
"lodash": "^4.17.21",
85-
"mongodb": "^6.12.0",
85+
"mongodb": "^6.13.1",
8686
"react": "^17.0.2",
8787
"react-redux": "^8.1.3",
8888
"redux": "^4.2.1",

packages/compass-generative-ai/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858
"@mongodb-js/compass-intercom": "^0.17.2",
5959
"@mongodb-js/compass-logging": "^1.6.2",
6060
"@mongodb-js/compass-utils": "^0.8.2",
61-
"bson": "^6.10.1",
61+
"bson": "^6.10.3",
6262
"compass-preferences-model": "^2.33.2",
6363
"hadron-app-registry": "^9.4.2",
64-
"mongodb": "^6.12.0",
64+
"mongodb": "^6.13.1",
6565
"mongodb-schema": "^12.4.0",
6666
"react": "^17.0.2",
6767
"react-redux": "^8.1.3",

packages/compass-import-export/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656
"@mongodb-js/compass-telemetry": "^1.4.2",
5757
"@mongodb-js/compass-utils": "^0.8.2",
5858
"@mongodb-js/compass-workspaces": "^0.31.2",
59-
"bson": "^6.10.1",
59+
"bson": "^6.10.3",
6060
"compass-preferences-model": "^2.33.2",
6161
"debug": "^4.3.4",
6262
"electron": "^32.3.2",
6363
"hadron-app-registry": "^9.4.2",
6464
"hadron-document": "^8.8.2",
6565
"hadron-ipc": "^3.4.2",
6666
"lodash": "^4.17.21",
67-
"mongodb": "^6.12.0",
67+
"mongodb": "^6.13.1",
6868
"mongodb-data-service": "^22.25.2",
6969
"mongodb-ns": "^2.4.2",
7070
"mongodb-query-parser": "^4.3.0",

packages/compass-indexes/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@
7878
"@mongodb-js/compass-workspaces": "^0.31.2",
7979
"@mongodb-js/mongodb-constants": "^0.10.0",
8080
"@mongodb-js/shell-bson-parser": "^1.2.0",
81-
"bson": "^6.10.1",
81+
"bson": "^6.10.3",
8282
"compass-preferences-model": "^2.33.2",
8383
"hadron-app-registry": "^9.4.2",
8484
"lodash": "^4.17.21",
85-
"mongodb": "^6.12.0",
85+
"mongodb": "^6.13.1",
8686
"mongodb-collection-model": "^5.25.2",
8787
"mongodb-data-service": "^22.25.2",
8888
"mongodb-query-parser": "^4.3.0",

packages/compass-preferences-model/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@mongodb-js/compass-logging": "^1.6.2",
5353
"@mongodb-js/compass-user-data": "^0.5.2",
5454
"@mongodb-js/devtools-proxy-support": "^0.4.2",
55-
"bson": "^6.10.1",
55+
"bson": "^6.10.3",
5656
"hadron-app-registry": "^9.4.2",
5757
"hadron-ipc": "^3.4.2",
5858
"js-yaml": "^4.1.0",

packages/compass-query-bar/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@
7878
"@mongodb-js/compass-telemetry": "^1.4.2",
7979
"@mongodb-js/mongodb-constants": "^0.10.0",
8080
"@mongodb-js/my-queries-storage": "^0.22.2",
81-
"bson": "^6.10.1",
81+
"bson": "^6.10.3",
8282
"compass-preferences-model": "^2.33.2",
8383
"hadron-app-registry": "^9.4.2",
8484
"lodash": "^4.17.21",
85-
"mongodb": "^6.12.0",
85+
"mongodb": "^6.13.1",
8686
"mongodb-instance-model": "^12.26.2",
8787
"mongodb-ns": "^2.4.2",
8888
"mongodb-query-parser": "^4.3.0",

packages/compass-saved-aggregations-queries/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@mongodb-js/connection-form": "^1.47.2",
5858
"@mongodb-js/connection-info": "^0.11.2",
5959
"@mongodb-js/my-queries-storage": "^0.22.2",
60-
"bson": "^6.10.1",
60+
"bson": "^6.10.3",
6161
"compass-preferences-model": "^2.33.2",
6262
"fuse.js": "^6.5.3",
6363
"hadron-app-registry": "^9.4.2",

packages/compass-schema-validation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@mongodb-js/compass-logging": "^1.6.2",
8080
"@mongodb-js/compass-telemetry": "^1.4.2",
8181
"@mongodb-js/compass-workspaces": "^0.31.2",
82-
"bson": "^6.10.1",
82+
"bson": "^6.10.3",
8383
"compass-preferences-model": "^2.33.2",
8484
"hadron-app-registry": "^9.4.2",
8585
"javascript-stringify": "^2.0.1",

packages/compass-schema/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@mongodb-js/compass-telemetry": "^1.4.2",
8282
"@mongodb-js/compass-query-bar": "^8.51.2",
8383
"@mongodb-js/connection-storage": "^0.26.2",
84-
"bson": "^6.10.1",
84+
"bson": "^6.10.3",
8585
"compass-preferences-model": "^2.33.2",
8686
"d3": "^3.5.17",
8787
"hadron-app-registry": "^9.4.2",
@@ -90,7 +90,7 @@
9090
"leaflet-defaulticon-compatibility": "^0.1.1",
9191
"leaflet-draw": "^1.0.4",
9292
"lodash": "^4.17.21",
93-
"mongodb": "^6.12.0",
93+
"mongodb": "^6.13.1",
9494
"mongodb-query-util": "^2.4.2",
9595
"mongodb-schema": "^12.4.0",
9696
"numeral": "^1.5.6",

packages/compass-shell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@mongosh/browser-repl": "^3.5.0",
6161
"@mongosh/logging": "^3.5.0",
6262
"@mongosh/node-runtime-worker-thread": "^3.3.0",
63-
"bson": "^6.10.1",
63+
"bson": "^6.10.3",
6464
"compass-preferences-model": "^2.33.2",
6565
"hadron-app-registry": "^9.4.2",
6666
"react": "^17.0.2",

packages/compass-sidebar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"compass-preferences-model": "^2.33.2",
6262
"hadron-app-registry": "^9.4.2",
6363
"lodash": "^4.17.21",
64-
"mongodb": "^6.12.0",
64+
"mongodb": "^6.13.1",
6565
"mongodb-instance-model": "^12.26.2",
6666
"mongodb-ns": "^2.4.2",
6767
"react": "^17.0.2",

packages/compass-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"is-ip": "^5.0.1",
119119
"lodash": "^4.17.21",
120120
"mocha": "^10.2.0",
121-
"mongodb": "^6.12.0",
121+
"mongodb": "^6.13.1",
122122
"mongodb-connection-string-url": "^3.0.1",
123123
"mongodb-data-service": "^22.25.2",
124124
"mongodb-ns": "^2.4.2",
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import { types } from 'util';
2+
export const isAnyArrayBuffer = types.isAnyArrayBuffer;
3+
export const isArgumentsObject = types.isArgumentsObject;
4+
export const isArrayBuffer = types.isArrayBuffer;
5+
export const isArrayBufferView = types.isArrayBufferView;
6+
export const isAsyncFunction = types.isAsyncFunction;
7+
export const isBigInt64Array = types.isBigInt64Array;
8+
export const isBigUint64Array = types.isBigUint64Array;
9+
export const isBooleanObject = types.isBooleanObject;
10+
export const isBoxedPrimitive = types.isBoxedPrimitive;
11+
export const isCryptoKey = types.isCryptoKey;
12+
export const isDataView = types.isDataView;
13+
export const isDate = types.isDate;
14+
export const isExternal = types.isExternal;
15+
export const isFloat32Array = types.isFloat32Array;
16+
export const isFloat64Array = types.isFloat64Array;
17+
export const isGeneratorFunction = types.isGeneratorFunction;
18+
export const isGeneratorObject = types.isGeneratorObject;
19+
export const isInt16Array = types.isInt16Array;
20+
export const isInt32Array = types.isInt32Array;
21+
export const isInt8Array = types.isInt8Array;
22+
export const isKeyObject = types.isKeyObject;
23+
export const isMap = types.isMap;
24+
export const isMapIterator = types.isMapIterator;
25+
export const isModuleNamespaceObject = types.isModuleNamespaceObject;
26+
export const isNativeError = types.isNativeError;
27+
export const isNumberObject = types.isNumberObject;
28+
export const isPromise = types.isPromise;
29+
export const isProxy = types.isProxy;
30+
export const isRegExp = types.isRegExp;
31+
export const isSet = types.isSet;
32+
export const isSetIterator = types.isSetIterator;
33+
export const isSharedArrayBuffer = types.isSharedArrayBuffer;
34+
export const isStringObject = types.isStringObject;
35+
export const isSymbolObject = types.isSymbolObject;
36+
export const isTypedArray = types.isTypedArray;
37+
export const isUint16Array = types.isUint16Array;
38+
export const isUint32Array = types.isUint32Array;
39+
export const isUint8Array = types.isUint8Array;
40+
export const isUint8ClampedArray = types.isUint8ClampedArray;
41+
export const isWeakMap = types.isWeakMap;
42+
export const isWeakSet = types.isWeakSet;

packages/compass-web/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ module.exports = (env, args) => {
8888
path: require.resolve('path-browserify'),
8989
// The `/` so that we are resolving the installed polyfill version with
9090
// the same name as Node.js built-in, not a built-in Node.js one
91+
'util/types': localPolyfill('util/types'),
9192
util: require.resolve('util/'),
9293
buffer: require.resolve('buffer/'),
9394
events: require.resolve('events/'),

packages/compass-workspaces/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@mongodb-js/compass-components": "^1.34.2",
5656
"@mongodb-js/compass-connections": "^1.50.2",
5757
"@mongodb-js/compass-logging": "^1.6.2",
58-
"bson": "^6.10.1",
58+
"bson": "^6.10.3",
5959
"hadron-app-registry": "^9.4.2",
6060
"lodash": "^4.17.21",
6161
"mongodb-collection-model": "^5.25.2",

packages/compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
"@mongodb-js/webpack-config-compass": "^1.6.2",
240240
"@segment/analytics-node": "^1.1.4",
241241
"ampersand-view": "^9.0.0",
242-
"bson": "^6.10.1",
242+
"bson": "^6.10.3",
243243
"chai": "^4.3.4",
244244
"chalk": "^4.1.2",
245245
"clean-stack": "^2.0.0",
@@ -262,7 +262,7 @@
262262
"hadron-build": "^25.7.2",
263263
"hadron-ipc": "^3.4.2",
264264
"minimatch": "^10.0.1",
265-
"mongodb": "^6.12.0",
265+
"mongodb": "^6.13.1",
266266
"mongodb-build-info": "^1.7.2",
267267
"mongodb-cloud-info": "^2.1.2",
268268
"mongodb-connection-string-url": "^3.0.1",

packages/compass/src/main/validate-connection-string.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ const disallowedConnectionStringOptions = [
8989
'ecdhCurve',
9090
'lookup',
9191
'minDHSize',
92+
'mongodbLogPath',
93+
'mongodbLogComponentSeverities',
94+
'mongodbLogMaxDocumentLength',
9295
'pkFactory',
9396
'proxyHost',
9497
'proxyPort',

packages/connection-form/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@mongodb-js/connection-info": "^0.11.2",
5454
"@mongodb-js/shell-bson-parser": "^1.2.0",
5555
"lodash": "^4.17.21",
56-
"mongodb": "^6.12.0",
56+
"mongodb": "^6.13.1",
5757
"mongodb-build-info": "^1.7.2",
5858
"mongodb-connection-string-url": "^3.0.1",
5959
"mongodb-data-service": "^22.25.2",
@@ -71,7 +71,7 @@
7171
"@types/mocha": "^9.0.0",
7272
"@types/react": "^17.0.5",
7373
"@types/sinon-chai": "^3.2.5",
74-
"bson": "^6.10.1",
74+
"bson": "^6.10.3",
7575
"chai": "^4.3.4",
7676
"depcheck": "^1.4.1",
7777
"electron-mocha": "^12.2.0",

packages/connection-info/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
"dependencies": {
5454
"lodash": "^4.17.21",
55-
"mongodb": "^6.12.0",
55+
"mongodb": "^6.13.1",
5656
"mongodb-connection-string-url": "^3.0.1",
5757
"mongodb-data-service": "^22.25.2"
5858
},
@@ -64,7 +64,7 @@
6464
"@types/chai": "^4.2.21",
6565
"@types/mocha": "^9.0.0",
6666
"@types/sinon-chai": "^3.2.5",
67-
"bson": "^6.10.1",
67+
"bson": "^6.10.3",
6868
"chai": "^4.3.6",
6969
"depcheck": "^1.4.1",
7070
"eslint": "^7.25.0",

packages/connection-storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@mongodb-js/compass-user-data": "^0.5.2",
6262
"@mongodb-js/compass-utils": "^0.8.2",
6363
"@mongodb-js/connection-info": "^0.11.2",
64-
"bson": "^6.10.1",
64+
"bson": "^6.10.3",
6565
"compass-preferences-model": "^2.33.2",
6666
"electron": "^32.3.2",
6767
"hadron-app-registry": "^9.4.2",

packages/data-service/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
"@mongodb-js/compass-utils": "^0.8.2",
5656
"@mongodb-js/devtools-connect": "^3.4.1",
5757
"@mongodb-js/devtools-proxy-support": "^0.4.2",
58-
"bson": "^6.10.1",
58+
"bson": "^6.10.3",
5959
"lodash": "^4.17.21",
60-
"mongodb": "^6.12.0",
60+
"mongodb": "^6.13.1",
6161
"mongodb-build-info": "^1.7.2",
6262
"mongodb-connection-string-url": "^3.0.1",
6363
"mongodb-ns": "^2.4.2"
@@ -67,7 +67,7 @@
6767
"@mongodb-js/devtools-docker-test-envs": "^1.3.3",
6868
"@mongodb-js/eslint-config-compass": "^1.3.2",
6969
"@mongodb-js/mocha-config-compass": "^1.6.2",
70-
"@mongodb-js/oidc-plugin": "^1.1.5",
70+
"@mongodb-js/oidc-plugin": "^1.1.6",
7171
"@mongodb-js/prettier-config-compass": "^1.2.2",
7272
"@mongodb-js/tsconfig-compass": "^1.2.2",
7373
"@types/lodash": "^4.14.188",

packages/data-service/src/connect-mongo-client.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,15 @@ export async function connectMongoClientDataService({
219219
class CompassMongoClient extends MongoClient {
220220
constructor(url: string, options?: MongoClientOptions) {
221221
super(url, options);
222+
// TODO(COMPASS-9073): This is a workaround to fix some test failures we're seeing
223+
// in CI after the Node.js driver 6.13.0 release. We should investigate why
224+
// this fixes e2e tests, specifically the ones for verifying that the
225+
// "Queryable Encryption" collection badge is displayed correctly.
226+
Object.defineProperty(this, 'options', {
227+
...Object.getOwnPropertyDescriptor(this, 'options'),
228+
enumerable: false,
229+
configurable: true,
230+
});
222231
if (setupListeners) {
223232
setupListeners(this);
224233
}

0 commit comments

Comments
 (0)