@mongodb-js/connection-form 1.47.5 → 1.47.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ function setAppNameParamIfMissing({ defaultAppName, telemetryAnonymousId, connec
|
|
|
9
9
|
const searchParams = connectionStringUrl.typedSearchParams();
|
|
10
10
|
if (!searchParams.has('appName') && defaultAppName !== undefined) {
|
|
11
11
|
const appName = isAtlas
|
|
12
|
-
? `${defaultAppName}${telemetryAnonymousId ?
|
|
12
|
+
? `${defaultAppName}${telemetryAnonymousId ? `--${telemetryAnonymousId}` : ''}--${connectionId}`
|
|
13
13
|
: defaultAppName;
|
|
14
14
|
searchParams.set('appName', appName);
|
|
15
15
|
connectionOptions = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-app-name-if-missing.js","sourceRoot":"","sources":["../../src/utils/set-app-name-if-missing.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAEnC,iFAAiE;AAGjE,SAAgB,wBAAwB,CAAC,EACvC,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,OAAO,GAMR;IACC,OAAO,CAAC,iBAAiB,EAAE,EAAE;QAC3B,MAAM,mBAAmB,GAAG,IAAI,gDAAgB,CAC9C,iBAAiB,CAAC,gBAAgB,CACnC,CAAC;QAEF,MAAM,YAAY,GAChB,mBAAmB,CAAC,iBAAiB,EAAsB,CAAC;QAC9D,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,cAAc,KAAK,SAAS,EAAE;YAChE,MAAM,OAAO,GAAG,OAAO;gBACrB,CAAC,CAAC,GAAG,cAAc,GACf,oBAAoB,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"set-app-name-if-missing.js","sourceRoot":"","sources":["../../src/utils/set-app-name-if-missing.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAEnC,iFAAiE;AAGjE,SAAgB,wBAAwB,CAAC,EACvC,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,OAAO,GAMR;IACC,OAAO,CAAC,iBAAiB,EAAE,EAAE;QAC3B,MAAM,mBAAmB,GAAG,IAAI,gDAAgB,CAC9C,iBAAiB,CAAC,gBAAgB,CACnC,CAAC;QAEF,MAAM,YAAY,GAChB,mBAAmB,CAAC,iBAAiB,EAAsB,CAAC;QAC9D,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,cAAc,KAAK,SAAS,EAAE;YAChE,MAAM,OAAO,GAAG,OAAO;gBACrB,CAAC,CAAC,GAAG,cAAc,GACf,oBAAoB,CAAC,CAAC,CAAC,KAAK,oBAAoB,EAAE,CAAC,CAAC,CAAC,EACvD,KAAK,YAAY,EAAE;gBACrB,CAAC,CAAC,cAAc,CAAC;YAEnB,YAAY,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;YACrC,iBAAiB,GAAG;gBAClB,GAAG,IAAA,kBAAS,EAAC,iBAAiB,CAAC;gBAC/B,gBAAgB,EAAE,mBAAmB,CAAC,QAAQ,EAAE;aACjD,CAAC;SACH;QAED,OAAO,iBAAiB,CAAC;IAC3B,CAAC,CAAC;AACJ,CAAC;AAlCD,4DAkCC"}
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"email": "compass@mongodb.com"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/mongodb-js/compass",
|
|
16
|
-
"version": "1.47.
|
|
16
|
+
"version": "1.47.6",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "https://github.com/mongodb-js/compass.git"
|
|
@@ -48,24 +48,24 @@
|
|
|
48
48
|
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@mongodb-js/compass-components": "^1.34.
|
|
52
|
-
"@mongodb-js/compass-editor": "^0.36.
|
|
53
|
-
"@mongodb-js/connection-info": "^0.11.
|
|
51
|
+
"@mongodb-js/compass-components": "^1.34.6",
|
|
52
|
+
"@mongodb-js/compass-editor": "^0.36.6",
|
|
53
|
+
"@mongodb-js/connection-info": "^0.11.6",
|
|
54
54
|
"@mongodb-js/shell-bson-parser": "^1.2.0",
|
|
55
55
|
"lodash": "^4.17.21",
|
|
56
56
|
"mongodb": "^6.14.1",
|
|
57
57
|
"mongodb-build-info": "^1.7.2",
|
|
58
58
|
"mongodb-connection-string-url": "^3.0.1",
|
|
59
|
-
"mongodb-data-service": "^22.25.
|
|
59
|
+
"mongodb-data-service": "^22.25.6",
|
|
60
60
|
"mongodb-query-parser": "^4.3.0",
|
|
61
61
|
"react": "^17.0.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@mongodb-js/eslint-config-compass": "^1.3.
|
|
65
|
-
"@mongodb-js/mocha-config-compass": "^1.6.
|
|
66
|
-
"@mongodb-js/prettier-config-compass": "^1.2.
|
|
67
|
-
"@mongodb-js/testing-library-compass": "^1.2.
|
|
68
|
-
"@mongodb-js/tsconfig-compass": "^1.2.
|
|
64
|
+
"@mongodb-js/eslint-config-compass": "^1.3.6",
|
|
65
|
+
"@mongodb-js/mocha-config-compass": "^1.6.6",
|
|
66
|
+
"@mongodb-js/prettier-config-compass": "^1.2.6",
|
|
67
|
+
"@mongodb-js/testing-library-compass": "^1.2.6",
|
|
68
|
+
"@mongodb-js/tsconfig-compass": "^1.2.6",
|
|
69
69
|
"@types/chai": "^4.2.21",
|
|
70
70
|
"@types/chai-dom": "^0.0.10",
|
|
71
71
|
"@types/mocha": "^9.0.0",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"sinon": "^9.2.3",
|
|
83
83
|
"xvfb-maybe": "^0.2.1"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "68d04004148ff4eae550a80442c215f2bbdbb690"
|
|
86
86
|
}
|