Skip to content

Commit d00eb2d

Browse files
authored
Merge branch 'main' into do-not-overfetch-instance-info
2 parents 626c999 + cc7032d commit d00eb2d

File tree

189 files changed

+8834
-6153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+8834
-6153
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,4 @@ Neal Beeken <[email protected]>
106106
Walter Tan <[email protected]>
107107
Raymond Lo <[email protected]>
108108
Moses Yang <[email protected]>
109+
Moses Yang <[email protected]>

THIRD-PARTY-NOTICES.md

Lines changed: 415 additions & 1610 deletions
Large diffs are not rendered by default.

configs/eslint-config-compass/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/eslint-config-compass",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "Shared Compass eslint configuration",
55
"license": "SSPL",
66
"main": "index.js",
@@ -14,10 +14,10 @@
1414
"README.md"
1515
],
1616
"dependencies": {
17-
"@babel/core": "^7.21.4",
17+
"@babel/core": "^7.24.3",
1818
"@babel/eslint-parser": "^7.14.3",
1919
"@mongodb-js/eslint-config-devtools": "^0.9.9",
20-
"@mongodb-js/eslint-plugin-compass": "^1.2.9",
20+
"@mongodb-js/eslint-plugin-compass": "^1.2.10",
2121
"@typescript-eslint/eslint-plugin": "^8.35.1",
2222
"@typescript-eslint/parser": "^8.35.1",
2323
"eslint": "^8.57.1",

configs/eslint-plugin-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"email": "[email protected]"
1414
},
1515
"homepage": "https://github.com/mongodb-js/compass",
16-
"version": "1.2.9",
16+
"version": "1.2.10",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"
@@ -37,7 +37,7 @@
3737
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
3838
},
3939
"devDependencies": {
40-
"@mongodb-js/mocha-config-compass": "^1.6.8",
40+
"@mongodb-js/mocha-config-compass": "^1.6.9",
4141
"@mongodb-js/prettier-config-compass": "^1.2.8",
4242
"depcheck": "^1.4.1",
4343
"eslint": "^8.57.1",

configs/mocha-config-compass/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/mocha-config-compass",
3-
"version": "1.6.8",
3+
"version": "1.6.9",
44
"description": "Shared mocha mocha configuration for Compass packages",
55
"license": "SSPL",
66
"main": "index.js",
@@ -33,7 +33,7 @@
3333
"identity-obj-proxy": "^3.0.0",
3434
"react-16-node-hanging-test-fix": "^1.0.0",
3535
"sinon-chai": "^3.7.0",
36-
"ts-node": "^10.9.1",
37-
"why-is-node-running": "^2.2.2"
36+
"ts-node": "^10.9.2",
37+
"why-is-node-running": "^2.3.0"
3838
}
3939
}

configs/testing-library-compass/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"email": "[email protected]"
1212
},
1313
"homepage": "https://github.com/mongodb-js/compass",
14-
"version": "1.3.3",
14+
"version": "1.3.4",
1515
"repository": {
1616
"type": "git",
1717
"url": "https://github.com/mongodb-js/compass.git"
@@ -45,18 +45,18 @@
4545
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
4646
},
4747
"devDependencies": {
48-
"@mongodb-js/eslint-config-compass": "^1.4.0",
49-
"@mongodb-js/mocha-config-compass": "^1.6.8",
48+
"@mongodb-js/eslint-config-compass": "^1.4.1",
49+
"@mongodb-js/mocha-config-compass": "^1.6.9",
5050
"@mongodb-js/prettier-config-compass": "^1.2.8",
51-
"@mongodb-js/tsconfig-compass": "^1.2.8",
51+
"@mongodb-js/tsconfig-compass": "^1.2.9",
5252
"@types/chai": "^4.2.21",
5353
"@types/mocha": "^9.0.0",
5454
"@types/sinon-chai": "^3.2.5",
5555
"chai": "^4.3.6",
5656
"depcheck": "^1.4.1",
5757
"mocha": "^10.2.0",
5858
"nyc": "^15.1.0",
59-
"typescript": "^5.0.4"
59+
"typescript": "^5.8.3"
6060
},
6161
"dependencies": {
6262
"@testing-library/react": "^12.1.5",

configs/testing-library-compass/src/index.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ function createWrapper(
283283
const wrapperState = {
284284
globalAppRegistry: new AppRegistry(),
285285
localAppRegistry: new AppRegistry(),
286-
preferences: new InMemoryPreferencesAccess(options.preferences),
286+
preferences: new InMemoryPreferencesAccess(
287+
options.preferences
288+
) as PreferencesAccess,
287289
track: Sinon.stub(),
288290
logger: createNoopLogger(),
289291
connectionStorage:
@@ -585,6 +587,12 @@ function createPluginWrapper<
585587
return { ref, Wrapper: ComponentWithProvider };
586588
}
587589

590+
export type RenderPluginWithConnectionsResult<
591+
T extends CompassPluginComponent<any, any, any>
592+
> = RenderWithConnectionsResult & {
593+
plugin: ReturnType<T['useActivate']>;
594+
};
595+
588596
function createPluginTestHelpers<
589597
Props,
590598
ServiceLocators extends Record<string, () => unknown>,

configs/tsconfig-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@mongodb-js/tsconfig-compass",
3-
"version": "1.2.8",
3+
"version": "1.2.9",
44
"description": "Shared Compass Typescript configuration",
55
"license": "SSPL",
66
"files": [
77
"tsconfig.common.json",
88
"tsconfig.react.json"
99
],
1010
"peerDependencies": {
11-
"typescript": "^5.0.4"
11+
"typescript": "^5.8.3"
1212
},
1313
"devDependencies": {
1414
"@mongodb-js/prettier-config-compass": "^1.2.8"

configs/tsconfig-compass/tsconfig.common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "@mongodb-js/tsconfig-devtools/tsconfig.common.json",
33
"compilerOptions": {
44
"removeComments": false,
5-
"moduleResolution": "node16"
5+
"moduleResolution": "node16",
6+
"module": "node16"
67
}
78
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"extends": "@mongodb-js/tsconfig-devtools/tsconfig.react.json",
33
"compilerOptions": {
4-
"removeComments": false
4+
"removeComments": false,
5+
"moduleResolution": "node16",
6+
"module": "node16"
57
}
68
}

0 commit comments

Comments
 (0)