Skip to content

Commit 1e05219

Browse files
committed
Merge branch 'main' into atlas-ai-service-get-mock-data-schema
2 parents 051f90e + c832b30 commit 1e05219

File tree

87 files changed

+9737
-2792
lines changed

Some content is hidden

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

87 files changed

+9737
-2792
lines changed

THIRD-PARTY-NOTICES.md

Lines changed: 4998 additions & 454 deletions
Large diffs are not rendered by default.

configs/eslint-config-compass/package.json

Lines changed: 2 additions & 2 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.6",
3+
"version": "1.4.7",
44
"description": "Shared Compass eslint configuration",
55
"license": "SSPL",
66
"main": "index.js",
@@ -17,7 +17,7 @@
1717
"@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.13",
20+
"@mongodb-js/eslint-plugin-compass": "^1.2.14",
2121
"@typescript-eslint/eslint-plugin": "^8.39.0",
2222
"@typescript-eslint/parser": "^8.39.0",
2323
"eslint": "^8.57.1",

configs/eslint-plugin-compass/package.json

Lines changed: 1 addition & 1 deletion
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.13",
16+
"version": "1.2.14",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"

configs/eslint-plugin-compass/rules/no-leafygreen-outside-compass-components.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ module.exports = {
138138

139139
return {
140140
ImportDeclaration(node) {
141-
if (isImportSourceEquals(/^@leafygreen-ui/, node)) {
141+
if (isImportSourceEquals(/^@(leafygreen-ui|lg-chat)/, node)) {
142142
reportLeafygreenUsage(context, node, node.source);
143143
}
144144
},
145145
CallExpression(node) {
146-
if (isRequireSourceEquals(/^@leafygreen-ui/, node)) {
146+
if (isRequireSourceEquals(/^@(leafygreen-ui|lg-chat)/, node)) {
147147
reportLeafygreenUsage(context, node, node.arguments[0]);
148148
}
149149
},

configs/mocha-config-compass/register/jsdom-extra-mocks-register.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ globalThis.CustomEvent = window.CustomEvent;
5151
globalThis.Event = window.Event;
5252
globalThis.Blob = window.Blob;
5353
globalThis.File = window.File;
54+
55+
// jsdom doesn't support scrollTo on the Element, so make it a no-op
56+
globalThis.Element.prototype.scrollTo = () => {};

configs/testing-library-compass/package.json

Lines changed: 2 additions & 2 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.9",
14+
"version": "1.3.10",
1515
"repository": {
1616
"type": "git",
1717
"url": "https://github.com/mongodb-js/compass.git"
@@ -45,7 +45,7 @@
4545
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
4646
},
4747
"devDependencies": {
48-
"@mongodb-js/eslint-config-compass": "^1.4.6",
48+
"@mongodb-js/eslint-config-compass": "^1.4.7",
4949
"@mongodb-js/mocha-config-compass": "^1.7.0",
5050
"@mongodb-js/prettier-config-compass": "^1.2.8",
5151
"@mongodb-js/tsconfig-compass": "^1.2.9",

configs/webpack-config-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.9.5",
16+
"version": "1.10.0",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"
@@ -45,7 +45,7 @@
4545
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
4646
},
4747
"devDependencies": {
48-
"@mongodb-js/eslint-config-compass": "^1.4.6",
48+
"@mongodb-js/eslint-config-compass": "^1.4.7",
4949
"@mongodb-js/prettier-config-compass": "^1.2.8",
5050
"@mongodb-js/tsconfig-compass": "^1.2.9",
5151
"@types/cli-progress": "^3.9.2",

configs/webpack-config-compass/src/index.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,23 @@ export function createElectronRendererConfig(
279279
overlay:
280280
process.env.DISABLE_DEVSERVER_OVERLAY === 'true'
281281
? false
282-
: { warnings: false, errors: true, runtimeErrors: true },
282+
: {
283+
runtimeErrors: (error) => {
284+
// ResizeObserver errors are harmless and expected in some cases.
285+
// We currently get them when opening the Assistant drawer.
286+
if (
287+
error?.message ===
288+
'ResizeObserver loop completed with undelivered notifications.'
289+
) {
290+
// eslint-disable-next-line no-console
291+
console.warn(error);
292+
return false;
293+
}
294+
return true;
295+
},
296+
errors: true,
297+
warnings: false,
298+
},
283299
},
284300
https: false,
285301
hot: opts.hot,

docs/tracking-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
> the tracking plan for the specific Compass version you can use the following
77
> URL: `https://github.com/mongodb-js/compass/blob/<compass version>/docs/tracking-plan.md`
88
9-
Generated on Fri, Aug 22, 2025
9+
Generated on Tue, Aug 26, 2025
1010

1111
## Table of Contents
1212

0 commit comments

Comments
 (0)