Skip to content

Commit 3a6ffe4

Browse files
authored
chore(telemetry): bump mongodb-build-info for expanded isLocalhost check COMPASS-5420 (#3947)
1 parent 89eff51 commit 3a6ffe4

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

package-lock.json

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

packages/compass-connections/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"eslint": "^7.25.0",
8686
"lodash": "^4.17.21",
8787
"mocha": "^8.4.0",
88-
"mongodb-build-info": "^1.3.0",
88+
"mongodb-build-info": "^1.5.0",
8989
"mongodb-cloud-info": "^1.1.3",
9090
"mongodb-connection-string-url": "^2.6.0",
9191
"mongodb-data-service": "^22.3.0",

packages/compass-connections/src/modules/telemetry.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ describe('connection tracking', function () {
286286
const trackEvent = once(process, 'compass:track');
287287
const connectionInfo = {
288288
connectionOptions: {
289-
connectionString: 'mongodb://127.128.0.0',
289+
connectionString: 'mongodb://notlocalhost',
290290
},
291291
};
292292

@@ -552,7 +552,7 @@ describe('connection tracking', function () {
552552
const [{ properties }] = await trackEvent;
553553

554554
const expected = {
555-
is_localhost: false,
555+
is_localhost: true,
556556
is_public_cloud: false,
557557
is_do_url: false,
558558
is_atlas_url: false,

packages/connection-form/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@testing-library/react-hooks": "^7.0.2",
5959
"compass-preferences-model": "^2.4.0",
6060
"lodash": "^4.17.21",
61-
"mongodb-build-info": "^1.4.0",
61+
"mongodb-build-info": "^1.5.0",
6262
"mongodb-connection-string-url": "^2.6.0",
6363
"mongodb-query-parser": "^2.4.6",
6464
"react": "^16.14.0",

packages/data-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"async": "^3.2.0",
6464
"debug": "^4.2.0",
6565
"lodash": "^4.17.20",
66-
"mongodb-build-info": "^1.3.0",
66+
"mongodb-build-info": "^1.5.0",
6767
"mongodb-connection-model": "^22.1.3",
6868
"mongodb-connection-string-url": "^2.6.0",
6969
"mongodb-index-model": "^4.1.0",

0 commit comments

Comments
 (0)