@mongodb-js/compass-shell 2.18.1 → 2.19.0

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.
Files changed (4) hide show
  1. package/lib/1.js +350 -350
  2. package/lib/2.js +24 -24
  3. package/lib/index.js +1021 -191
  4. package/package.json +15 -15
package/lib/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  exports["CompassShellPlugin"] = factory(require("react"), require("react-dom"), require("prop-types"), require("hadron-ipc"), require("@mongodb-js/compass-components"), require("react-ace"));
8
8
  else
9
9
  root["CompassShellPlugin"] = factory(root["react"], root["react-dom"], root["prop-types"], root["hadron-ipc"], root["@mongodb-js/compass-components"], root["react-ace"]);
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__97__, __WEBPACK_EXTERNAL_MODULE__170__, __WEBPACK_EXTERNAL_MODULE__377__, __WEBPACK_EXTERNAL_MODULE__380__, __WEBPACK_EXTERNAL_MODULE__381__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__97__, __WEBPACK_EXTERNAL_MODULE__170__, __WEBPACK_EXTERNAL_MODULE__380__, __WEBPACK_EXTERNAL_MODULE__383__, __WEBPACK_EXTERNAL_MODULE__384__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // install a JSONP callback for chunk loading
13
13
  /******/ function webpackJsonpCallback(data) {
@@ -206,7 +206,7 @@ return /******/ (function(modules) { // webpackBootstrap
206
206
  /******/
207
207
  /******/
208
208
  /******/ // Load entry module and return exports
209
- /******/ return __webpack_require__(__webpack_require__.s = 379);
209
+ /******/ return __webpack_require__(__webpack_require__.s = 382);
210
210
  /******/ })
211
211
  /************************************************************************/
212
212
  /******/ ([
@@ -1625,7 +1625,7 @@ function makeStateMachine(stateTable) {
1625
1625
  }
1626
1626
  exports.makeStateMachine = makeStateMachine;
1627
1627
  // eslint-disable-next-line @typescript-eslint/no-var-requires
1628
- const NODE_DRIVER_VERSION = __webpack_require__(314).version;
1628
+ const NODE_DRIVER_VERSION = __webpack_require__(317).version;
1629
1629
  function makeClientMetadata(options) {
1630
1630
  options = options !== null && options !== void 0 ? options : {};
1631
1631
  const metadata = {
@@ -3292,7 +3292,7 @@ const bson_1 = __webpack_require__(4);
3292
3292
  const error_1 = __webpack_require__(0);
3293
3293
  const mongo_types_1 = __webpack_require__(7);
3294
3294
  const execute_operation_1 = __webpack_require__(11);
3295
- const get_more_1 = __webpack_require__(319);
3295
+ const get_more_1 = __webpack_require__(322);
3296
3296
  const read_concern_1 = __webpack_require__(8);
3297
3297
  const read_preference_1 = __webpack_require__(6);
3298
3298
  const sessions_1 = __webpack_require__(84);
@@ -4251,25 +4251,25 @@ PromiseProvider.set(global.Promise);
4251
4251
  Object.defineProperty(exports, "__esModule", { value: true });
4252
4252
  exports.Collection = void 0;
4253
4253
  const bson_1 = __webpack_require__(4);
4254
- const ordered_1 = __webpack_require__(317);
4255
- const unordered_1 = __webpack_require__(318);
4254
+ const ordered_1 = __webpack_require__(320);
4255
+ const unordered_1 = __webpack_require__(321);
4256
4256
  const change_stream_1 = __webpack_require__(82);
4257
4257
  const aggregation_cursor_1 = __webpack_require__(86);
4258
4258
  const find_cursor_1 = __webpack_require__(157);
4259
4259
  const error_1 = __webpack_require__(0);
4260
4260
  const bulk_write_1 = __webpack_require__(134);
4261
- const count_documents_1 = __webpack_require__(352);
4261
+ const count_documents_1 = __webpack_require__(355);
4262
4262
  const delete_1 = __webpack_require__(132);
4263
- const distinct_1 = __webpack_require__(353);
4263
+ const distinct_1 = __webpack_require__(356);
4264
4264
  const drop_1 = __webpack_require__(140);
4265
- const estimated_document_count_1 = __webpack_require__(354);
4265
+ const estimated_document_count_1 = __webpack_require__(357);
4266
4266
  const execute_operation_1 = __webpack_require__(11);
4267
4267
  const find_and_modify_1 = __webpack_require__(158);
4268
4268
  const indexes_1 = __webpack_require__(88);
4269
4269
  const insert_1 = __webpack_require__(133);
4270
- const is_capped_1 = __webpack_require__(355);
4271
- const map_reduce_1 = __webpack_require__(356);
4272
- const options_operation_1 = __webpack_require__(357);
4270
+ const is_capped_1 = __webpack_require__(358);
4271
+ const map_reduce_1 = __webpack_require__(359);
4272
+ const options_operation_1 = __webpack_require__(360);
4273
4273
  const rename_1 = __webpack_require__(142);
4274
4274
  const stats_1 = __webpack_require__(144);
4275
4275
  const update_1 = __webpack_require__(136);
@@ -5026,7 +5026,7 @@ const connection_string_1 = __webpack_require__(89);
5026
5026
  const db_1 = __webpack_require__(53);
5027
5027
  const error_1 = __webpack_require__(0);
5028
5028
  const mongo_types_1 = __webpack_require__(7);
5029
- const connect_1 = __webpack_require__(330);
5029
+ const connect_1 = __webpack_require__(333);
5030
5030
  const promise_provider_1 = __webpack_require__(25);
5031
5031
  const utils_1 = __webpack_require__(1);
5032
5032
  /** @public */
@@ -5331,7 +5331,7 @@ catch { } // eslint-disable-line
5331
5331
  exports.aws4 = makeErrorModule(new error_1.MongoMissingDependencyError('Optional module `aws4` not found. Please install it to enable AWS authentication'));
5332
5332
  try {
5333
5333
  // Ensure you always wrap an optional require in the try block NODE-3199
5334
- exports.aws4 = __webpack_require__(326);
5334
+ exports.aws4 = __webpack_require__(329);
5335
5335
  }
5336
5336
  catch { } // eslint-disable-line
5337
5337
  /** @public */
@@ -7254,13 +7254,13 @@ const aggregation_cursor_1 = __webpack_require__(86);
7254
7254
  const error_1 = __webpack_require__(0);
7255
7255
  const logger_1 = __webpack_require__(20);
7256
7256
  const add_user_1 = __webpack_require__(128);
7257
- const collections_1 = __webpack_require__(320);
7258
- const create_collection_1 = __webpack_require__(321);
7257
+ const collections_1 = __webpack_require__(323);
7258
+ const create_collection_1 = __webpack_require__(324);
7259
7259
  const drop_1 = __webpack_require__(140);
7260
7260
  const execute_operation_1 = __webpack_require__(11);
7261
7261
  const indexes_1 = __webpack_require__(88);
7262
7262
  const list_collections_1 = __webpack_require__(141);
7263
- const profiling_level_1 = __webpack_require__(322);
7263
+ const profiling_level_1 = __webpack_require__(325);
7264
7264
  const remove_user_1 = __webpack_require__(131);
7265
7265
  const rename_1 = __webpack_require__(142);
7266
7266
  const run_command_1 = __webpack_require__(50);
@@ -7587,8 +7587,8 @@ const sessions_1 = __webpack_require__(84);
7587
7587
  const utils_1 = __webpack_require__(1);
7588
7588
  const command_monitoring_events_1 = __webpack_require__(149);
7589
7589
  const commands_1 = __webpack_require__(92);
7590
- const message_stream_1 = __webpack_require__(332);
7591
- const stream_description_1 = __webpack_require__(333);
7590
+ const message_stream_1 = __webpack_require__(335);
7591
+ const stream_description_1 = __webpack_require__(336);
7592
7592
  const shared_1 = __webpack_require__(85);
7593
7593
  /** @internal */
7594
7594
  const kStream = Symbol('stream');
@@ -8424,7 +8424,7 @@ module.exports.globalAppRegistryEmit = globalAppRegistryEmit;
8424
8424
  /* 58 */
8425
8425
  /***/ (function(module) {
8426
8426
 
8427
- module.exports = JSON.parse("{\"name\":\"@mongodb-js/compass-shell\",\"productName\":\"Compass Shell plugin\",\"version\":\"2.18.1\",\"apiVersion\":\"3.0.0\",\"description\":\"Compass Shell Plugin\",\"main\":\"lib/index.js\",\"exports\":{\"webpack\":\"./src/index.js\",\"require\":\"./lib/index.js\"},\"scripts\":{\"prepublishOnly\":\"npm run compile\",\"clean\":\"rimraf lib\",\"precompile\":\"npm run clean\",\"compile\":\"cross-env NODE_ENV=production webpack --config ./config/webpack.prod.config.js\",\"compile:watch\":\"cross-env NODE_ENV=production webpack --config ./config/webpack.prod.config.js --watch\",\"prestart\":\"electron-rebuild -o interruptor\",\"start\":\"cross-env NODE_ENV=development webpack-dev-server --config ./config/webpack.dev.config.js\",\"test-check-ci\":\"npm run cover && npm run test:karma && npm run compile && npm run check\",\"prestart:watch\":\"electron-rebuild -o interruptor\",\"start:watch\":\"npm run clean && webpack --config ./config/webpack.watch.config.js\",\"pretest\":\"node ../../scripts/rebuild.js interruptor\",\"test\":\"cross-env NODE_ENV=test mocha-webpack \\\"./src/**/*.spec.js\\\"\",\"test-ci\":\"npm run test\",\"test:watch\":\"cross-env NODE_ENV=test mocha-webpack \\\"./src/**/*.spec.js\\\" --watch\",\"test:karma\":\"npm run prestart && cross-env NODE_ENV=test karma start\",\"cover\":\"echo\",\"check\":\"npm run lint && npm run depcheck\",\"lint\":\"eslint \\\"./src/**/*.{js,jsx}\\\" \\\"./test/**/*.js\\\" \\\"./electron/**/*.js\\\" \\\"./config/**/*.{js,jsx}\\\"\",\"depcheck\":\"depcheck\",\"bootstrap\":\"npm run compile\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/mongodb-js/compass.git\"},\"config\":{\"unsafe-perm\":true},\"engines\":{\"node\":\">=14.17.5\"},\"license\":\"SSPL\",\"publishConfig\":{\"access\":\"public\"},\"dependencies\":{\"@mongodb-js/compass-logging\":\"^0.6.1\",\"@mongodb-js/mongodb-redux-common\":\"^1.7.0\",\"@mongosh/browser-repl\":\"^1.1.8\",\"@mongosh/logging\":\"^1.1.8\",\"@mongosh/node-runtime-worker-thread\":\"^1.1.8\",\"@mongosh/service-provider-core\":\"^1.1.8\",\"hadron-react-buttons\":\"^5.6.0\"},\"peerDependencies\":{\"@mongodb-js/compass-components\":\"^0.9.1\",\"ace-builds\":\"^1.4.3\",\"hadron-ipc\":\"^2.7.0\",\"hadron-react-components\":\"^5.9.1\",\"prop-types\":\"^15.7.2\",\"react\":\"^16.14.0\",\"react-ace\":\"^9.5.0\",\"react-dom\":\"^16.14.0\"},\"devDependencies\":{\"@babel/cli\":\"^7.14.3\",\"@babel/core\":\"^7.14.3\",\"@babel/plugin-proposal-decorators\":\"^7.14.2\",\"@babel/plugin-syntax-dynamic-import\":\"^7.8.3\",\"@babel/preset-env\":\"^7.14.2\",\"@babel/preset-react\":\"^7.13.13\",\"@babel/register\":\"^7.13.16\",\"@hot-loader/react-dom\":\"^16.9.0\",\"@mongodb-js/compass-components\":\"^0.9.1\",\"ace-builds\":\"^1.4.3\",\"autoprefixer\":\"^9.4.6\",\"babel-loader\":\"^8.2.2\",\"chai\":\"^4.2.0\",\"chai-enzyme\":\"1.0.0-beta.0\",\"classnames\":\"^2.2.6\",\"core-js\":\"^3.12.1\",\"cross-env\":\"^5.0.1\",\"css-loader\":\"^4.3.0\",\"depcheck\":\"^1.4.1\",\"electron\":\"^13.5.1\",\"electron-devtools-installer\":\"^3.2.0\",\"electron-rebuild\":\"^2.3.5\",\"enzyme\":\"^3.11.0\",\"enzyme-adapter-react-16\":\"^1.15.2\",\"eslint\":\"^7.25.0\",\"eslint-config-mongodb-js\":\"^5.0.3\",\"eslint-plugin-react\":\"^7.24.0\",\"file-loader\":\"^5.1.0\",\"font-awesome\":\"^4.7.0\",\"hadron-app\":\"^4.17.1\",\"hadron-app-registry\":\"^8.7.0\",\"html-webpack-plugin\":\"^3.2.0\",\"ignore-loader\":\"^0.1.2\",\"istanbul-instrumenter-loader\":\"^3.0.1\",\"jsdom\":\"^16.7.0\",\"jsdom-global\":\"^3.0.2\",\"karma\":\"^6.3.4\",\"karma-chai\":\"^0.1.0\",\"karma-chai-sinon\":\"^0.1.5\",\"karma-electron\":\"^7.0.0\",\"karma-mocha\":\"^1.3.0\",\"karma-mocha-reporter\":\"^2.2.5\",\"karma-sinon\":\"^1.0.5\",\"karma-sourcemap-loader\":\"^0.3.8\",\"karma-webpack\":\"^4.0.2\",\"less\":\"^3.11.1\",\"less-loader\":\"^7.3.0\",\"mini-css-extract-plugin\":\"^0.8.0\",\"mocha\":\"^5.2.0\",\"mocha-webpack\":\"^2.0.0-beta.0\",\"mongodb\":\"^4.2.2\",\"mongodb-reflux-store\":\"^0.0.1\",\"node-loader\":\"^0.6.0\",\"nyc\":\"^13.1.0\",\"peer-deps-externals-webpack-plugin\":\"^1.0.4\",\"postcss-loader\":\"^2.1.6\",\"prop-types\":\"^15.7.2\",\"react\":\"^16.14.0\",\"react-ace\":\"^9.5.0\",\"react-bootstrap\":\"^0.32.1\",\"react-dom\":\"^16.14.0\",\"react-hot-loader\":\"^4.13.0\",\"react-redux\":\"^7.1.1\",\"react-tooltip\":\"^3.11.1\",\"redux\":\"^4.0.4\",\"reflux\":\"^0.4.1\",\"reflux-state-mixin\":\"github:mongodb-js/reflux-state-mixin\",\"resolve\":\"^1.15.1\",\"rimraf\":\"^2.6.1\",\"semver\":\"^5.4.1\",\"shebang-loader\":\"^0.0.1\",\"sinon\":\"^7.2.5\",\"sinon-chai\":\"^3.3.0\",\"style-loader\":\"^2.0.0\",\"url-loader\":\"^3.0.0\",\"webpack\":\"^4.46.0\",\"webpack-bundle-analyzer\":\"^3.0.3\",\"webpack-cli\":\"^3.3.12\",\"webpack-dev-server\":\"^3.11.2\",\"webpack-merge\":\"^4.2.2\",\"webpack-node-externals\":\"^3.0.0\"},\"homepage\":\"https://github.com/mongodb-js/compass\",\"bugs\":{\"url\":\"https://jira.mongodb.org/projects/COMPASS/issues\",\"email\":\"compass@mongodb.com\"},\"gitHead\":\"75710b287ad6e3ea08bc36b15e0be5ebb8f62050\"}");
8427
+ module.exports = JSON.parse("{\"name\":\"@mongodb-js/compass-shell\",\"productName\":\"Compass Shell plugin\",\"version\":\"2.19.0\",\"apiVersion\":\"3.0.0\",\"description\":\"Compass Shell Plugin\",\"main\":\"lib/index.js\",\"exports\":{\"webpack\":\"./src/index.js\",\"require\":\"./lib/index.js\"},\"scripts\":{\"prepublishOnly\":\"npm run compile\",\"clean\":\"rimraf lib\",\"precompile\":\"npm run clean\",\"compile\":\"cross-env NODE_ENV=production webpack --config ./config/webpack.prod.config.js\",\"compile:watch\":\"cross-env NODE_ENV=production webpack --config ./config/webpack.prod.config.js --watch\",\"prestart\":\"electron-rebuild -o interruptor\",\"start\":\"cross-env NODE_ENV=development webpack-dev-server --config ./config/webpack.dev.config.js\",\"test-check-ci\":\"npm run cover && npm run test:karma && npm run compile && npm run check\",\"prestart:watch\":\"electron-rebuild -o interruptor\",\"start:watch\":\"npm run clean && webpack --config ./config/webpack.watch.config.js\",\"pretest\":\"node ../../scripts/rebuild.js interruptor\",\"test\":\"cross-env NODE_ENV=test mocha-webpack \\\"./src/**/*.spec.js\\\"\",\"test-ci\":\"npm run test\",\"test:watch\":\"cross-env NODE_ENV=test mocha-webpack \\\"./src/**/*.spec.js\\\" --watch\",\"test:karma\":\"npm run prestart && cross-env NODE_ENV=test karma start\",\"cover\":\"echo\",\"check\":\"npm run lint && npm run depcheck\",\"lint\":\"eslint \\\"./src/**/*.{js,jsx}\\\" \\\"./test/**/*.js\\\" \\\"./electron/**/*.js\\\" \\\"./config/**/*.{js,jsx}\\\"\",\"depcheck\":\"depcheck\",\"bootstrap\":\"npm run compile\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/mongodb-js/compass.git\"},\"config\":{\"unsafe-perm\":true},\"engines\":{\"node\":\">=14.17.5\"},\"license\":\"SSPL\",\"publishConfig\":{\"access\":\"public\"},\"dependencies\":{\"@mongodb-js/compass-logging\":\"^0.7.0\",\"@mongodb-js/mongodb-redux-common\":\"^1.8.0\",\"@mongosh/browser-repl\":\"^1.1.9\",\"@mongosh/logging\":\"^1.1.9\",\"@mongosh/node-runtime-worker-thread\":\"^1.1.9\",\"@mongosh/service-provider-core\":\"^1.1.9\",\"hadron-react-buttons\":\"^5.6.0\"},\"peerDependencies\":{\"@mongodb-js/compass-components\":\"^0.10.0\",\"ace-builds\":\"^1.4.3\",\"hadron-ipc\":\"^2.7.0\",\"hadron-react-components\":\"^5.10.0\",\"prop-types\":\"^15.7.2\",\"react\":\"^16.14.0\",\"react-ace\":\"^9.5.0\",\"react-dom\":\"^16.14.0\"},\"devDependencies\":{\"@babel/cli\":\"^7.14.3\",\"@babel/core\":\"^7.14.3\",\"@babel/plugin-proposal-decorators\":\"^7.14.2\",\"@babel/plugin-syntax-dynamic-import\":\"^7.8.3\",\"@babel/preset-env\":\"^7.14.2\",\"@babel/preset-react\":\"^7.13.13\",\"@babel/register\":\"^7.13.16\",\"@hot-loader/react-dom\":\"^16.9.0\",\"@mongodb-js/compass-components\":\"^0.10.0\",\"ace-builds\":\"^1.4.3\",\"autoprefixer\":\"^9.4.6\",\"babel-loader\":\"^8.2.2\",\"chai\":\"^4.2.0\",\"chai-enzyme\":\"1.0.0-beta.0\",\"classnames\":\"^2.2.6\",\"core-js\":\"^3.12.1\",\"cross-env\":\"^5.0.1\",\"css-loader\":\"^4.3.0\",\"depcheck\":\"^1.4.1\",\"electron\":\"^13.5.1\",\"electron-devtools-installer\":\"^3.2.0\",\"electron-rebuild\":\"^2.3.5\",\"enzyme\":\"^3.11.0\",\"enzyme-adapter-react-16\":\"^1.15.2\",\"eslint\":\"^7.25.0\",\"eslint-config-mongodb-js\":\"^5.0.3\",\"eslint-plugin-react\":\"^7.24.0\",\"file-loader\":\"^5.1.0\",\"font-awesome\":\"^4.7.0\",\"hadron-app\":\"^4.18.0\",\"hadron-app-registry\":\"^8.8.0\",\"html-webpack-plugin\":\"^3.2.0\",\"ignore-loader\":\"^0.1.2\",\"istanbul-instrumenter-loader\":\"^3.0.1\",\"jsdom\":\"^16.7.0\",\"jsdom-global\":\"^3.0.2\",\"karma\":\"^6.3.4\",\"karma-chai\":\"^0.1.0\",\"karma-chai-sinon\":\"^0.1.5\",\"karma-electron\":\"^7.0.0\",\"karma-mocha\":\"^1.3.0\",\"karma-mocha-reporter\":\"^2.2.5\",\"karma-sinon\":\"^1.0.5\",\"karma-sourcemap-loader\":\"^0.3.8\",\"karma-webpack\":\"^4.0.2\",\"less\":\"^3.11.1\",\"less-loader\":\"^7.3.0\",\"mini-css-extract-plugin\":\"^0.8.0\",\"mocha\":\"^5.2.0\",\"mocha-webpack\":\"^2.0.0-beta.0\",\"mongodb\":\"^4.3.0\",\"mongodb-reflux-store\":\"^0.0.1\",\"node-loader\":\"^0.6.0\",\"nyc\":\"^13.1.0\",\"peer-deps-externals-webpack-plugin\":\"^1.0.4\",\"postcss-loader\":\"^2.1.6\",\"prop-types\":\"^15.7.2\",\"react\":\"^16.14.0\",\"react-ace\":\"^9.5.0\",\"react-bootstrap\":\"^0.32.1\",\"react-dom\":\"^16.14.0\",\"react-hot-loader\":\"^4.13.0\",\"react-redux\":\"^7.1.1\",\"react-tooltip\":\"^3.11.1\",\"redux\":\"^4.1.2\",\"reflux\":\"^0.4.1\",\"reflux-state-mixin\":\"github:mongodb-js/reflux-state-mixin\",\"resolve\":\"^1.15.1\",\"rimraf\":\"^2.6.1\",\"semver\":\"^5.4.1\",\"shebang-loader\":\"^0.0.1\",\"sinon\":\"^7.2.5\",\"sinon-chai\":\"^3.3.0\",\"style-loader\":\"^2.0.0\",\"url-loader\":\"^3.0.0\",\"webpack\":\"^4.46.0\",\"webpack-bundle-analyzer\":\"^3.0.3\",\"webpack-cli\":\"^3.3.12\",\"webpack-dev-server\":\"^3.11.2\",\"webpack-merge\":\"^4.2.2\",\"webpack-node-externals\":\"^3.0.0\"},\"homepage\":\"https://github.com/mongodb-js/compass\",\"bugs\":{\"url\":\"https://jira.mongodb.org/projects/COMPASS/issues\",\"email\":\"compass@mongodb.com\"},\"gitHead\":\"6563679c816fa44691a53b7e27fa0cb5539e0854\"}");
8428
8428
 
8429
8429
  /***/ }),
8430
8430
  /* 59 */
@@ -8466,7 +8466,11 @@ const whatwg_url_1 = __webpack_require__(183);
8466
8466
  const redact_1 = __webpack_require__(193);
8467
8467
  Object.defineProperty(exports, "redactConnectionString", { enumerable: true, get: function () { return redact_1.redactConnectionString; } });
8468
8468
  const DUMMY_HOSTNAME = '__this_is_a_placeholder__';
8469
- const HOSTS_REGEX = new RegExp(String.raw `^(?<protocol>mongodb(?:\+srv|)):\/\/(?:(?<username>[^:]*)(?::(?<password>[^@]*))?@)?(?<hosts>(?!:)[^\/?@]+)(?<rest>.*)`);
8469
+ function connectionStringHasValidScheme(connectionString) {
8470
+ return (connectionString.startsWith('mongodb://') ||
8471
+ connectionString.startsWith('mongodb+srv://'));
8472
+ }
8473
+ const HOSTS_REGEX = new RegExp(String.raw `^(?<protocol>mongodb(?:\+srv|)):\/\/(?:(?<username>[^:]*)(?::(?<password>[^@]*))?@)?(?<hosts>(?!:)[^\/?@]*)(?<rest>.*)`);
8470
8474
  class CaseInsensitiveMap extends Map {
8471
8475
  delete(name) {
8472
8476
  return super.delete(this._normalizeKey(name));
@@ -8538,6 +8542,9 @@ class MongoParseError extends Error {
8538
8542
  class ConnectionString extends URLWithoutHost {
8539
8543
  constructor(uri) {
8540
8544
  var _a;
8545
+ if (!connectionStringHasValidScheme(uri)) {
8546
+ throw new MongoParseError('Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"');
8547
+ }
8541
8548
  const match = uri.match(HOSTS_REGEX);
8542
8549
  if (!match) {
8543
8550
  throw new MongoParseError(`Invalid connection string "${uri}"`);
@@ -20738,7 +20745,7 @@ const url_1 = __webpack_require__(49);
20738
20745
  const mongo_credentials_1 = __webpack_require__(145);
20739
20746
  const providers_1 = __webpack_require__(27);
20740
20747
  const compression_1 = __webpack_require__(90);
20741
- const encrypter_1 = __webpack_require__(329);
20748
+ const encrypter_1 = __webpack_require__(332);
20742
20749
  const error_1 = __webpack_require__(0);
20743
20750
  const logger_1 = __webpack_require__(20);
20744
20751
  const mongo_client_1 = __webpack_require__(34);
@@ -44622,36 +44629,54 @@ const { lookup, constants } = __webpack_require__(48)('os_dns_native');
44622
44629
  const { promisify } = __webpack_require__(14);
44623
44630
  const ipv6normalize = __webpack_require__(309);
44624
44631
  const nodeDns = __webpack_require__(24);
44632
+ const debug = __webpack_require__(310)('os-dns-native');
44633
+
44634
+ const rrtypes = ['A', 'AAAA', 'CNAME', 'TXT', 'SRV'];
44635
+ const rrtypeEnumToString = Object.fromEntries(rrtypes.map(t => [constants[t], t]));
44625
44636
 
44626
44637
  function resolve(hostname, rrtype, callback) {
44627
- switch (rrtype) {
44628
- case 'A':
44629
- case 'AAAA':
44630
- case 'CNAME':
44631
- case 'TXT':
44632
- case 'SRV':
44633
- lookup(hostname, constants.INTERNET, constants[rrtype], function(err, results) {
44634
- if (err) return callback(err);
44635
- switch (rrtype) {
44636
- case 'A':
44637
- case 'CNAME':
44638
- return callback(null, results);
44639
- case 'AAAA':
44640
- return callback(null, results.map(addr => ipv6normalize(addr)));
44641
- case 'TXT':
44642
- return callback(null, results.map(val => val.split('\0')));
44643
- case 'SRV':
44644
- return callback(null, results.map(res => {
44645
- const { name, port, priority, weight } = res.match(
44646
- /^(?<name>.+):(?<port>\d+),prio=(?<priority>\d+),weight=(?<weight>\d+)$/).groups;
44647
- return { name, port: +port, priority: +priority, weight: +weight };
44648
- }));
44649
- }
44650
- });
44651
- return;
44652
- default:
44653
- throw new Error(`Unknown rrtype: ${rrtype}`);
44638
+ if (!rrtypes.includes(rrtype)) {
44639
+ throw new Error(`Unknown rrtype: ${rrtype}`);
44654
44640
  }
44641
+
44642
+ lookup(hostname, constants.INTERNET, constants[rrtype], function(err, rawResults) {
44643
+ if (err) {
44644
+ debug(`failed ${rrtype} DNS resolution`, { hostname, err });
44645
+ return callback(err);
44646
+ }
44647
+ debug(`received ${rrtype} DNS resolution`, { hostname, rawResults });
44648
+
44649
+ const results = [];
44650
+ for (const { type, value } of rawResults) {
44651
+ if (type !== constants[rrtype]) {
44652
+ debug(`skipping mismatched DNS answer: wanted ${rrtype} but got ${rrtypeEnumToString[type]}`, { hostname });
44653
+ } else {
44654
+ results.push(value);
44655
+ }
44656
+ }
44657
+
44658
+ if (results.length === 0 && rawResults.length !== 0) {
44659
+ // We encounter this situation when we only saw mismatching results.
44660
+ callback(new Error(`DNS server did not provide matching result for ${rrtype}: ${hostname}`));
44661
+ return;
44662
+ }
44663
+
44664
+ switch (rrtype) {
44665
+ case 'A':
44666
+ case 'CNAME':
44667
+ return callback(null, results);
44668
+ case 'AAAA':
44669
+ return callback(null, results.map(addr => ipv6normalize(addr)));
44670
+ case 'TXT':
44671
+ return callback(null, results.map(val => val.split('\0')));
44672
+ case 'SRV':
44673
+ return callback(null, results.map(res => {
44674
+ const { name, port, priority, weight } = res.match(
44675
+ /^(?<name>.+):(?<port>\d+),prio=(?<priority>\d+),weight=(?<weight>\d+)$/).groups;
44676
+ return { name, port: +port, priority: +priority, weight: +weight };
44677
+ }));
44678
+ }
44679
+ });
44655
44680
  }
44656
44681
 
44657
44682
  function resolve4(hostname, cb) { return resolve(hostname, 'A', cb); }
@@ -44669,6 +44694,8 @@ const promises = {
44669
44694
  resolveTxt: promisify(resolveTxt),
44670
44695
  };
44671
44696
 
44697
+ const kWasNativelyLookedUp = Symbol('os-dns-native.kWasNativelyLookedUp');
44698
+
44672
44699
  function withFallback(fn, nodeFn) {
44673
44700
  return function(...args) {
44674
44701
  const cb = args.pop();
@@ -44676,12 +44703,17 @@ function withFallback(fn, nodeFn) {
44676
44703
  if (err) {
44677
44704
  nodeFn(...args, cb);
44678
44705
  } else {
44706
+ result[kWasNativelyLookedUp] = true;
44679
44707
  cb(null, result);
44680
44708
  }
44681
44709
  });
44682
44710
  }
44683
44711
  };
44684
44712
 
44713
+ function wasNativelyLookedUp(result) {
44714
+ return !!(result && typeof result === 'object' && result[kWasNativelyLookedUp]);
44715
+ }
44716
+
44685
44717
  const withNodeFallback = {
44686
44718
  resolve: withFallback(resolve, nodeDns.resolve),
44687
44719
  resolve4: withFallback(resolve4, nodeDns.resolve4),
@@ -44707,7 +44739,8 @@ module.exports = {
44707
44739
  resolveSrv,
44708
44740
  resolveTxt,
44709
44741
  promises,
44710
- withNodeFallback
44742
+ withNodeFallback,
44743
+ wasNativelyLookedUp
44711
44744
  };
44712
44745
 
44713
44746
 
@@ -44725,7 +44758,7 @@ const {
44725
44758
  prohibited_characters,
44726
44759
  bidirectional_r_al,
44727
44760
  bidirectional_l,
44728
- } = __webpack_require__(310);
44761
+ } = __webpack_require__(313);
44729
44762
 
44730
44763
  module.exports = saslprep;
44731
44764
 
@@ -44895,9 +44928,9 @@ const MongoCryptError = __webpack_require__(55).MongoCryptError;
44895
44928
  function extension(mongodb) {
44896
44929
  const modules = { mongodb };
44897
44930
 
44898
- modules.stateMachine = __webpack_require__(361)(modules);
44899
- modules.autoEncrypter = __webpack_require__(368)(modules);
44900
- modules.clientEncryption = __webpack_require__(371)(modules);
44931
+ modules.stateMachine = __webpack_require__(364)(modules);
44932
+ modules.autoEncrypter = __webpack_require__(371)(modules);
44933
+ modules.clientEncryption = __webpack_require__(374)(modules);
44901
44934
 
44902
44935
  return {
44903
44936
  AutoEncrypter: modules.autoEncrypter.AutoEncrypter,
@@ -44946,7 +44979,7 @@ const find_cursor_1 = __webpack_require__(157);
44946
44979
  Object.defineProperty(exports, "FindCursor", { enumerable: true, get: function () { return find_cursor_1.FindCursor; } });
44947
44980
  const db_1 = __webpack_require__(53);
44948
44981
  Object.defineProperty(exports, "Db", { enumerable: true, get: function () { return db_1.Db; } });
44949
- const gridfs_1 = __webpack_require__(358);
44982
+ const gridfs_1 = __webpack_require__(361);
44950
44983
  Object.defineProperty(exports, "GridFSBucket", { enumerable: true, get: function () { return gridfs_1.GridFSBucket; } });
44951
44984
  const logger_1 = __webpack_require__(20);
44952
44985
  Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return logger_1.Logger; } });
@@ -45089,10 +45122,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
45089
45122
  exports.Admin = void 0;
45090
45123
  const add_user_1 = __webpack_require__(128);
45091
45124
  const execute_operation_1 = __webpack_require__(11);
45092
- const list_databases_1 = __webpack_require__(315);
45125
+ const list_databases_1 = __webpack_require__(318);
45093
45126
  const remove_user_1 = __webpack_require__(131);
45094
45127
  const run_command_1 = __webpack_require__(50);
45095
- const validate_collection_1 = __webpack_require__(316);
45128
+ const validate_collection_1 = __webpack_require__(319);
45096
45129
  const utils_1 = __webpack_require__(1);
45097
45130
  /**
45098
45131
  * The **Admin** class is an internal class that allows convenient access to
@@ -46961,11 +46994,11 @@ module.exports = kerberos;
46961
46994
  // Support legacy versions of the mongodb driver which expect this export
46962
46995
  module.exports.Kerberos = kerberos;
46963
46996
 
46964
- module.exports.version = __webpack_require__(324).version;
46997
+ module.exports.version = __webpack_require__(327).version;
46965
46998
 
46966
46999
  // Set up the auth processes
46967
47000
  module.exports.processes = {
46968
- MongoAuthProcess: __webpack_require__(325).MongoAuthProcess
47001
+ MongoAuthProcess: __webpack_require__(328).MongoAuthProcess
46969
47002
  };
46970
47003
 
46971
47004
 
@@ -46979,7 +47012,7 @@ module.exports.processes = {
46979
47012
  const kerberos = __webpack_require__(48)('kerberos');
46980
47013
  const KerberosClient = kerberos.KerberosClient;
46981
47014
  const KerberosServer = kerberos.KerberosServer;
46982
- const defineOperation = __webpack_require__(323).defineOperation;
47015
+ const defineOperation = __webpack_require__(326).defineOperation;
46983
47016
 
46984
47017
  // GSS Flags
46985
47018
  const GSS_C_DELEG_FLAG = 1;
@@ -47188,7 +47221,7 @@ module.exports = {
47188
47221
  Object.defineProperty(exports, "__esModule", { value: true });
47189
47222
  exports.Server = void 0;
47190
47223
  const connection_1 = __webpack_require__(54);
47191
- const connection_pool_1 = __webpack_require__(334);
47224
+ const connection_pool_1 = __webpack_require__(337);
47192
47225
  const constants_1 = __webpack_require__(13);
47193
47226
  const error_1 = __webpack_require__(0);
47194
47227
  const logger_1 = __webpack_require__(20);
@@ -47196,7 +47229,7 @@ const mongo_types_1 = __webpack_require__(7);
47196
47229
  const transactions_1 = __webpack_require__(139);
47197
47230
  const utils_1 = __webpack_require__(1);
47198
47231
  const common_1 = __webpack_require__(9);
47199
- const monitor_1 = __webpack_require__(349);
47232
+ const monitor_1 = __webpack_require__(352);
47200
47233
  const server_description_1 = __webpack_require__(52);
47201
47234
  const stateTransition = (0, utils_1.makeStateMachine)({
47202
47235
  [common_1.STATE_CLOSED]: [common_1.STATE_CLOSED, common_1.STATE_CONNECTING],
@@ -47844,13 +47877,13 @@ const bson_1 = __webpack_require__(4);
47844
47877
  const error_1 = __webpack_require__(0);
47845
47878
  const utils_1 = __webpack_require__(1);
47846
47879
  const auth_provider_1 = __webpack_require__(21);
47847
- const gssapi_1 = __webpack_require__(341);
47848
- const mongocr_1 = __webpack_require__(342);
47849
- const mongodb_aws_1 = __webpack_require__(343);
47850
- const plain_1 = __webpack_require__(345);
47880
+ const gssapi_1 = __webpack_require__(344);
47881
+ const mongocr_1 = __webpack_require__(345);
47882
+ const mongodb_aws_1 = __webpack_require__(346);
47883
+ const plain_1 = __webpack_require__(348);
47851
47884
  const providers_1 = __webpack_require__(27);
47852
- const scram_1 = __webpack_require__(346);
47853
- const x509_1 = __webpack_require__(347);
47885
+ const scram_1 = __webpack_require__(349);
47886
+ const x509_1 = __webpack_require__(350);
47854
47887
  const connection_1 = __webpack_require__(54);
47855
47888
  const constants_1 = __webpack_require__(33);
47856
47889
  const AUTH_PROVIDERS = new Map([
@@ -48243,7 +48276,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
48243
48276
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
48244
48277
  };
48245
48278
  Object.defineProperty(exports, "__esModule", { value: true });
48246
- __exportStar(__webpack_require__(335), exports);
48279
+ __exportStar(__webpack_require__(338), exports);
48247
48280
  //# sourceMappingURL=index.js.map
48248
48281
 
48249
48282
  /***/ }),
@@ -48693,9 +48726,9 @@ SrvPoller.SRV_RECORD_DISCOVERY = 'srvRecordDiscovery';
48693
48726
  Object.defineProperty(exports, "__esModule", { value: true });
48694
48727
  exports.FindCursor = exports.FLAGS = void 0;
48695
48728
  const error_1 = __webpack_require__(0);
48696
- const count_1 = __webpack_require__(350);
48729
+ const count_1 = __webpack_require__(353);
48697
48730
  const execute_operation_1 = __webpack_require__(11);
48698
- const find_1 = __webpack_require__(351);
48731
+ const find_1 = __webpack_require__(354);
48699
48732
  const sort_1 = __webpack_require__(95);
48700
48733
  const utils_1 = __webpack_require__(1);
48701
48734
  const abstract_cursor_1 = __webpack_require__(19);
@@ -49259,7 +49292,7 @@ var pna = __webpack_require__(56);
49259
49292
  module.exports = Readable;
49260
49293
 
49261
49294
  /*<replacement>*/
49262
- var isArray = __webpack_require__(364);
49295
+ var isArray = __webpack_require__(367);
49263
49296
  /*</replacement>*/
49264
49297
 
49265
49298
  /*<replacement>*/
@@ -49308,7 +49341,7 @@ if (debugUtil && debugUtil.debuglog) {
49308
49341
  }
49309
49342
  /*</replacement>*/
49310
49343
 
49311
- var BufferList = __webpack_require__(365);
49344
+ var BufferList = __webpack_require__(368);
49312
49345
  var destroyImpl = __webpack_require__(161);
49313
49346
  var StringDecoder;
49314
49347
 
@@ -50412,7 +50445,7 @@ util.inherits = __webpack_require__(38);
50412
50445
 
50413
50446
  /*<replacement>*/
50414
50447
  var internalUtil = {
50415
- deprecate: __webpack_require__(366)
50448
+ deprecate: __webpack_require__(369)
50416
50449
  };
50417
50450
  /*</replacement>*/
50418
50451
 
@@ -51679,9 +51712,9 @@ exports.createLoggerAndTelemetry = void 0;
51679
51712
 
51680
51713
  const mongodb_log_writer_1 = __webpack_require__(103);
51681
51714
 
51682
- const is_electron_renderer_1 = __importDefault(__webpack_require__(373));
51715
+ const is_electron_renderer_1 = __importDefault(__webpack_require__(376));
51683
51716
 
51684
- const debug_1 = __importDefault(__webpack_require__(374));
51717
+ const debug_1 = __importDefault(__webpack_require__(377));
51685
51718
 
51686
51719
  function emit(ipc, event, data) {
51687
51720
  var _a;
@@ -51694,7 +51727,7 @@ function emit(ipc, event, data) {
51694
51727
  }
51695
51728
 
51696
51729
  function createLoggerAndTelemetry(component) {
51697
- const ipc = is_electron_renderer_1.default ? __webpack_require__(377) : null;
51730
+ const ipc = is_electron_renderer_1.default ? __webpack_require__(380) : null;
51698
51731
  const target = {
51699
51732
  write(line, callback) {
51700
51733
  emit(ipc, 'compass:log', {
@@ -51985,7 +52018,7 @@ function Provider(_ref) {
51985
52018
  if (false) {}
51986
52019
 
51987
52020
  /* harmony default export */ var components_Provider = (Provider);
51988
- // CONCATENATED MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/@babel/runtime/helpers/esm/extends.js
52021
+ // CONCATENATED MODULE: /Users/alena.khineika/www/compass/node_modules/@babel/runtime/helpers/esm/extends.js
51989
52022
  function _extends() {
51990
52023
  _extends = Object.assign || function (target) {
51991
52024
  for (var i = 1; i < arguments.length; i++) {
@@ -52003,7 +52036,7 @@ function _extends() {
52003
52036
 
52004
52037
  return _extends.apply(this, arguments);
52005
52038
  }
52006
- // CONCATENATED MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
52039
+ // CONCATENATED MODULE: /Users/alena.khineika/www/compass/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
52007
52040
  function _objectWithoutPropertiesLoose(source, excluded) {
52008
52041
  if (source == null) return {};
52009
52042
  var target = {};
@@ -52018,7 +52051,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
52018
52051
 
52019
52052
  return target;
52020
52053
  }
52021
- // EXTERNAL MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
52054
+ // EXTERNAL MODULE: /Users/alena.khineika/www/compass/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
52022
52055
  var hoist_non_react_statics_cjs = __webpack_require__(96);
52023
52056
  var hoist_non_react_statics_cjs_default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics_cjs);
52024
52057
 
@@ -55081,7 +55114,7 @@ exports.hookLogger = exports.connectMongoClient = void 0;
55081
55114
  __exportStar(__webpack_require__(196), exports);
55082
55115
  var connect_1 = __webpack_require__(197);
55083
55116
  Object.defineProperty(exports, "connectMongoClient", { enumerable: true, get: function () { return connect_1.connectMongoClient; } });
55084
- var log_hook_1 = __webpack_require__(372);
55117
+ var log_hook_1 = __webpack_require__(375);
55085
55118
  Object.defineProperty(exports, "hookLogger", { enumerable: true, get: function () { return log_hook_1.hookLogger; } });
55086
55119
  //# sourceMappingURL=index.js.map
55087
55120
 
@@ -55166,6 +55199,7 @@ async function connectWithFailFast(uri, client, logger) {
55166
55199
  }
55167
55200
  let resolveDnsHelpers;
55168
55201
  async function resolveMongodbSrv(uri, logger) {
55202
+ const resolutionDetails = [];
55169
55203
  if (uri.startsWith('mongodb+srv://')) {
55170
55204
  try {
55171
55205
  resolveDnsHelpers !== null && resolveDnsHelpers !== void 0 ? resolveDnsHelpers : (resolveDnsHelpers = {
@@ -55174,18 +55208,40 @@ async function resolveMongodbSrv(uri, logger) {
55174
55208
  });
55175
55209
  }
55176
55210
  catch (error) {
55177
- logger.emit('devtools-connect:resolve-srv-error', { from: '', error, duringLoad: true });
55211
+ logger.emit('devtools-connect:resolve-srv-error', {
55212
+ from: '', error, duringLoad: true, resolutionDetails
55213
+ });
55178
55214
  }
55179
55215
  if (resolveDnsHelpers !== undefined) {
55180
55216
  try {
55217
+ const { wasNativelyLookedUp, withNodeFallback: { resolveSrv, resolveTxt } } = resolveDnsHelpers.osDns;
55181
55218
  const resolved = await resolveDnsHelpers.resolve(uri, {
55182
- dns: resolveDnsHelpers.osDns.withNodeFallback
55219
+ dns: {
55220
+ resolveSrv(hostname, cb) {
55221
+ resolveSrv(hostname, (...args) => {
55222
+ var _a;
55223
+ resolutionDetails.push({
55224
+ query: 'SRV', hostname, error: (_a = args[0]) === null || _a === void 0 ? void 0 : _a.message, wasNativelyLookedUp: wasNativelyLookedUp(args[1])
55225
+ });
55226
+ cb(...args);
55227
+ });
55228
+ },
55229
+ resolveTxt(hostname, cb) {
55230
+ resolveTxt(hostname, (...args) => {
55231
+ var _a;
55232
+ resolutionDetails.push({
55233
+ query: 'TXT', hostname, error: (_a = args[0]) === null || _a === void 0 ? void 0 : _a.message, wasNativelyLookedUp: wasNativelyLookedUp(args[1])
55234
+ });
55235
+ cb(...args);
55236
+ });
55237
+ }
55238
+ }
55183
55239
  });
55184
- logger.emit('devtools-connect:resolve-srv-succeeded', { from: uri, to: resolved });
55240
+ logger.emit('devtools-connect:resolve-srv-succeeded', { from: uri, to: resolved, resolutionDetails });
55185
55241
  return resolved;
55186
55242
  }
55187
55243
  catch (error) {
55188
- logger.emit('devtools-connect:resolve-srv-error', { from: uri, error, duringLoad: false });
55244
+ logger.emit('devtools-connect:resolve-srv-error', { from: uri, error, duringLoad: false, resolutionDetails });
55189
55245
  throw error;
55190
55246
  }
55191
55247
  }
@@ -55274,7 +55330,7 @@ exports.isFastFailureConnectionError = isFastFailureConnectionError;
55274
55330
  /* 199 */
55275
55331
  /***/ (function(module) {
55276
55332
 
55277
- module.exports = JSON.parse("{\"name\":\"@mongodb-js/devtools-connect\",\"version\":\"1.0.0\",\"description\":\"A connection establishment utility for MongoDB developer tools\",\"homepage\":\"https://github.com/mongodb-js/devtools-connect\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/mongodb-js/devtools-connect.git\"},\"publishConfig\":{\"access\":\"public\"},\"bugs\":{\"url\":\"https://github.com/mongodb-js/devtools-connect/issues\"},\"main\":\"lib/index.js\",\"exports\":{\"require\":\"./lib/index.js\",\"import\":\"./.esm-wrapper.mjs\"},\"files\":[\"LICENSE\",\"lib\",\"package.json\",\"README.md\",\".esm-wrapper.mjs\"],\"scripts\":{\"lint\":\"eslint src/**/*.ts\",\"testonly\":\"nyc mocha --colors -r ts-node/register src/*.spec.ts\",\"test\":\"npm run lint && npm run build && npm run testonly\",\"build\":\"npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs\",\"prepack\":\"npm run build\",\"compile-ts\":\"tsc -p tsconfig.json\"},\"license\":\"Apache-2.0\",\"dependencies\":{},\"peerDependencies\":{\"mongodb\":\"^4.2.2\",\"mongodb-log-writer\":\"^1.1.3\"},\"devDependencies\":{\"@types/mocha\":\"^9.0.0\",\"@types/node\":\"^16.4.10\",\"@types/sinon\":\"^10.0.2\",\"@typescript-eslint/eslint-plugin\":\"^4.2.0\",\"@typescript-eslint/parser\":\"^4.2.0\",\"chai\":\"^4.3.4\",\"eslint\":\"^7.9.0\",\"eslint-config-semistandard\":\"^16.0.0\",\"eslint-config-standard\":\"^16.0.3\",\"eslint-plugin-import\":\"^2.22.0\",\"eslint-plugin-node\":\"^11.1.0\",\"eslint-plugin-promise\":\"5.1.x\",\"eslint-plugin-standard\":\"^5.0.0\",\"gen-esm-wrapper\":\"^1.1.0\",\"mocha\":\"^9.1.1\",\"mongodb\":\"^4.2.2\",\"mongodb-connection-string-url\":\"^2.3.2\",\"mongodb-log-writer\":\"^1.1.3\",\"nyc\":\"^15.1.0\",\"sinon-chai\":\"^3.7.0\",\"ts-node\":\"^10.2.1\",\"ts-sinon\":\"^2.0.1\",\"typescript\":\"^4.5.4\"},\"optionalDependencies\":{\"os-dns-native\":\"^1.0.4\",\"resolve-mongodb-srv\":\"^1.1.1\"}}");
55333
+ module.exports = JSON.parse("{\"name\":\"@mongodb-js/devtools-connect\",\"version\":\"1.1.3\",\"description\":\"A connection establishment utility for MongoDB developer tools\",\"homepage\":\"https://github.com/mongodb-js/devtools-connect\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/mongodb-js/devtools-connect.git\"},\"publishConfig\":{\"access\":\"public\"},\"bugs\":{\"url\":\"https://github.com/mongodb-js/devtools-connect/issues\"},\"main\":\"lib/index.js\",\"exports\":{\"require\":\"./lib/index.js\",\"import\":\"./.esm-wrapper.mjs\"},\"files\":[\"LICENSE\",\"lib\",\"package.json\",\"README.md\",\".esm-wrapper.mjs\"],\"scripts\":{\"lint\":\"eslint src/**/*.ts\",\"testonly\":\"nyc mocha --colors -r ts-node/register src/*.spec.ts\",\"test\":\"npm run lint && npm run build && npm run testonly\",\"build\":\"npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs\",\"prepack\":\"npm run build\",\"compile-ts\":\"tsc -p tsconfig.json\"},\"license\":\"Apache-2.0\",\"dependencies\":{},\"peerDependencies\":{\"mongodb\":\"^4.2.2\",\"mongodb-log-writer\":\"^1.1.3\"},\"devDependencies\":{\"@types/mocha\":\"^9.0.0\",\"@types/node\":\"^16.4.10\",\"@types/sinon\":\"^10.0.2\",\"@typescript-eslint/eslint-plugin\":\"^4.2.0\",\"@typescript-eslint/parser\":\"^4.2.0\",\"chai\":\"^4.3.4\",\"eslint\":\"^7.9.0\",\"eslint-config-semistandard\":\"^16.0.0\",\"eslint-config-standard\":\"^16.0.3\",\"eslint-plugin-import\":\"^2.22.0\",\"eslint-plugin-node\":\"^11.1.0\",\"eslint-plugin-promise\":\"5.1.x\",\"eslint-plugin-standard\":\"^5.0.0\",\"gen-esm-wrapper\":\"^1.1.0\",\"mocha\":\"^9.1.1\",\"mongodb\":\"^4.2.2\",\"mongodb-connection-string-url\":\"^2.3.2\",\"mongodb-log-writer\":\"^1.1.3\",\"nyc\":\"^15.1.0\",\"sinon-chai\":\"^3.7.0\",\"ts-node\":\"^10.2.1\",\"ts-sinon\":\"^2.0.1\",\"typescript\":\"^4.5.4\"},\"optionalDependencies\":{\"os-dns-native\":\"^1.1.2\",\"resolve-mongodb-srv\":\"^1.1.1\"}}");
55278
55334
 
55279
55335
  /***/ }),
55280
55336
  /* 200 */
@@ -59958,12 +60014,735 @@ module.exports = function (address) {
59958
60014
  /* 310 */
59959
60015
  /***/ (function(module, exports, __webpack_require__) {
59960
60016
 
60017
+ /* eslint-env browser */
60018
+
60019
+ /**
60020
+ * This is the web browser implementation of `debug()`.
60021
+ */
60022
+
60023
+ exports.formatArgs = formatArgs;
60024
+ exports.save = save;
60025
+ exports.load = load;
60026
+ exports.useColors = useColors;
60027
+ exports.storage = localstorage();
60028
+ exports.destroy = (() => {
60029
+ let warned = false;
60030
+
60031
+ return () => {
60032
+ if (!warned) {
60033
+ warned = true;
60034
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
60035
+ }
60036
+ };
60037
+ })();
60038
+
60039
+ /**
60040
+ * Colors.
60041
+ */
60042
+
60043
+ exports.colors = [
60044
+ '#0000CC',
60045
+ '#0000FF',
60046
+ '#0033CC',
60047
+ '#0033FF',
60048
+ '#0066CC',
60049
+ '#0066FF',
60050
+ '#0099CC',
60051
+ '#0099FF',
60052
+ '#00CC00',
60053
+ '#00CC33',
60054
+ '#00CC66',
60055
+ '#00CC99',
60056
+ '#00CCCC',
60057
+ '#00CCFF',
60058
+ '#3300CC',
60059
+ '#3300FF',
60060
+ '#3333CC',
60061
+ '#3333FF',
60062
+ '#3366CC',
60063
+ '#3366FF',
60064
+ '#3399CC',
60065
+ '#3399FF',
60066
+ '#33CC00',
60067
+ '#33CC33',
60068
+ '#33CC66',
60069
+ '#33CC99',
60070
+ '#33CCCC',
60071
+ '#33CCFF',
60072
+ '#6600CC',
60073
+ '#6600FF',
60074
+ '#6633CC',
60075
+ '#6633FF',
60076
+ '#66CC00',
60077
+ '#66CC33',
60078
+ '#9900CC',
60079
+ '#9900FF',
60080
+ '#9933CC',
60081
+ '#9933FF',
60082
+ '#99CC00',
60083
+ '#99CC33',
60084
+ '#CC0000',
60085
+ '#CC0033',
60086
+ '#CC0066',
60087
+ '#CC0099',
60088
+ '#CC00CC',
60089
+ '#CC00FF',
60090
+ '#CC3300',
60091
+ '#CC3333',
60092
+ '#CC3366',
60093
+ '#CC3399',
60094
+ '#CC33CC',
60095
+ '#CC33FF',
60096
+ '#CC6600',
60097
+ '#CC6633',
60098
+ '#CC9900',
60099
+ '#CC9933',
60100
+ '#CCCC00',
60101
+ '#CCCC33',
60102
+ '#FF0000',
60103
+ '#FF0033',
60104
+ '#FF0066',
60105
+ '#FF0099',
60106
+ '#FF00CC',
60107
+ '#FF00FF',
60108
+ '#FF3300',
60109
+ '#FF3333',
60110
+ '#FF3366',
60111
+ '#FF3399',
60112
+ '#FF33CC',
60113
+ '#FF33FF',
60114
+ '#FF6600',
60115
+ '#FF6633',
60116
+ '#FF9900',
60117
+ '#FF9933',
60118
+ '#FFCC00',
60119
+ '#FFCC33'
60120
+ ];
60121
+
60122
+ /**
60123
+ * Currently only WebKit-based Web Inspectors, Firefox >= v31,
60124
+ * and the Firebug extension (any Firefox version) are known
60125
+ * to support "%c" CSS customizations.
60126
+ *
60127
+ * TODO: add a `localStorage` variable to explicitly enable/disable colors
60128
+ */
60129
+
60130
+ // eslint-disable-next-line complexity
60131
+ function useColors() {
60132
+ // NB: In an Electron preload script, document will be defined but not fully
60133
+ // initialized. Since we know we're in Chrome, we'll just detect this case
60134
+ // explicitly
60135
+ if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {
60136
+ return true;
60137
+ }
60138
+
60139
+ // Internet Explorer and Edge do not support colors.
60140
+ if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
60141
+ return false;
60142
+ }
60143
+
60144
+ // Is webkit? http://stackoverflow.com/a/16459606/376773
60145
+ // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
60146
+ return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
60147
+ // Is firebug? http://stackoverflow.com/a/398120/376773
60148
+ (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
60149
+ // Is firefox >= v31?
60150
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
60151
+ (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||
60152
+ // Double check webkit in userAgent just in case we are in a worker
60153
+ (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
60154
+ }
60155
+
60156
+ /**
60157
+ * Colorize log arguments if enabled.
60158
+ *
60159
+ * @api public
60160
+ */
60161
+
60162
+ function formatArgs(args) {
60163
+ args[0] = (this.useColors ? '%c' : '') +
60164
+ this.namespace +
60165
+ (this.useColors ? ' %c' : ' ') +
60166
+ args[0] +
60167
+ (this.useColors ? '%c ' : ' ') +
60168
+ '+' + module.exports.humanize(this.diff);
60169
+
60170
+ if (!this.useColors) {
60171
+ return;
60172
+ }
60173
+
60174
+ const c = 'color: ' + this.color;
60175
+ args.splice(1, 0, c, 'color: inherit');
60176
+
60177
+ // The final "%c" is somewhat tricky, because there could be other
60178
+ // arguments passed either before or after the %c, so we need to
60179
+ // figure out the correct index to insert the CSS into
60180
+ let index = 0;
60181
+ let lastC = 0;
60182
+ args[0].replace(/%[a-zA-Z%]/g, match => {
60183
+ if (match === '%%') {
60184
+ return;
60185
+ }
60186
+ index++;
60187
+ if (match === '%c') {
60188
+ // We only are interested in the *last* %c
60189
+ // (the user may have provided their own)
60190
+ lastC = index;
60191
+ }
60192
+ });
60193
+
60194
+ args.splice(lastC, 0, c);
60195
+ }
60196
+
60197
+ /**
60198
+ * Invokes `console.debug()` when available.
60199
+ * No-op when `console.debug` is not a "function".
60200
+ * If `console.debug` is not available, falls back
60201
+ * to `console.log`.
60202
+ *
60203
+ * @api public
60204
+ */
60205
+ exports.log = console.debug || console.log || (() => {});
60206
+
60207
+ /**
60208
+ * Save `namespaces`.
60209
+ *
60210
+ * @param {String} namespaces
60211
+ * @api private
60212
+ */
60213
+ function save(namespaces) {
60214
+ try {
60215
+ if (namespaces) {
60216
+ exports.storage.setItem('debug', namespaces);
60217
+ } else {
60218
+ exports.storage.removeItem('debug');
60219
+ }
60220
+ } catch (error) {
60221
+ // Swallow
60222
+ // XXX (@Qix-) should we be logging these?
60223
+ }
60224
+ }
60225
+
60226
+ /**
60227
+ * Load `namespaces`.
60228
+ *
60229
+ * @return {String} returns the previously persisted debug modes
60230
+ * @api private
60231
+ */
60232
+ function load() {
60233
+ let r;
60234
+ try {
60235
+ r = exports.storage.getItem('debug');
60236
+ } catch (error) {
60237
+ // Swallow
60238
+ // XXX (@Qix-) should we be logging these?
60239
+ }
60240
+
60241
+ // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
60242
+ if (!r && typeof process !== 'undefined' && 'env' in process) {
60243
+ r = process.env.DEBUG;
60244
+ }
60245
+
60246
+ return r;
60247
+ }
60248
+
60249
+ /**
60250
+ * Localstorage attempts to return the localstorage.
60251
+ *
60252
+ * This is necessary because safari throws
60253
+ * when a user disables cookies/localstorage
60254
+ * and you attempt to access it.
60255
+ *
60256
+ * @return {LocalStorage}
60257
+ * @api private
60258
+ */
60259
+
60260
+ function localstorage() {
60261
+ try {
60262
+ // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context
60263
+ // The Browser also has localStorage in the global context.
60264
+ return localStorage;
60265
+ } catch (error) {
60266
+ // Swallow
60267
+ // XXX (@Qix-) should we be logging these?
60268
+ }
60269
+ }
60270
+
60271
+ module.exports = __webpack_require__(311)(exports);
60272
+
60273
+ const {formatters} = module.exports;
60274
+
60275
+ /**
60276
+ * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
60277
+ */
60278
+
60279
+ formatters.j = function (v) {
60280
+ try {
60281
+ return JSON.stringify(v);
60282
+ } catch (error) {
60283
+ return '[UnexpectedJSONParseError]: ' + error.message;
60284
+ }
60285
+ };
60286
+
60287
+
60288
+ /***/ }),
60289
+ /* 311 */
60290
+ /***/ (function(module, exports, __webpack_require__) {
60291
+
60292
+
60293
+ /**
60294
+ * This is the common logic for both the Node.js and web browser
60295
+ * implementations of `debug()`.
60296
+ */
60297
+
60298
+ function setup(env) {
60299
+ createDebug.debug = createDebug;
60300
+ createDebug.default = createDebug;
60301
+ createDebug.coerce = coerce;
60302
+ createDebug.disable = disable;
60303
+ createDebug.enable = enable;
60304
+ createDebug.enabled = enabled;
60305
+ createDebug.humanize = __webpack_require__(312);
60306
+ createDebug.destroy = destroy;
60307
+
60308
+ Object.keys(env).forEach(key => {
60309
+ createDebug[key] = env[key];
60310
+ });
60311
+
60312
+ /**
60313
+ * The currently active debug mode names, and names to skip.
60314
+ */
60315
+
60316
+ createDebug.names = [];
60317
+ createDebug.skips = [];
60318
+
60319
+ /**
60320
+ * Map of special "%n" handling functions, for the debug "format" argument.
60321
+ *
60322
+ * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
60323
+ */
60324
+ createDebug.formatters = {};
60325
+
60326
+ /**
60327
+ * Selects a color for a debug namespace
60328
+ * @param {String} namespace The namespace string for the debug instance to be colored
60329
+ * @return {Number|String} An ANSI color code for the given namespace
60330
+ * @api private
60331
+ */
60332
+ function selectColor(namespace) {
60333
+ let hash = 0;
60334
+
60335
+ for (let i = 0; i < namespace.length; i++) {
60336
+ hash = ((hash << 5) - hash) + namespace.charCodeAt(i);
60337
+ hash |= 0; // Convert to 32bit integer
60338
+ }
60339
+
60340
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
60341
+ }
60342
+ createDebug.selectColor = selectColor;
60343
+
60344
+ /**
60345
+ * Create a debugger with the given `namespace`.
60346
+ *
60347
+ * @param {String} namespace
60348
+ * @return {Function}
60349
+ * @api public
60350
+ */
60351
+ function createDebug(namespace) {
60352
+ let prevTime;
60353
+ let enableOverride = null;
60354
+ let namespacesCache;
60355
+ let enabledCache;
60356
+
60357
+ function debug(...args) {
60358
+ // Disabled?
60359
+ if (!debug.enabled) {
60360
+ return;
60361
+ }
60362
+
60363
+ const self = debug;
60364
+
60365
+ // Set `diff` timestamp
60366
+ const curr = Number(new Date());
60367
+ const ms = curr - (prevTime || curr);
60368
+ self.diff = ms;
60369
+ self.prev = prevTime;
60370
+ self.curr = curr;
60371
+ prevTime = curr;
60372
+
60373
+ args[0] = createDebug.coerce(args[0]);
60374
+
60375
+ if (typeof args[0] !== 'string') {
60376
+ // Anything else let's inspect with %O
60377
+ args.unshift('%O');
60378
+ }
60379
+
60380
+ // Apply any `formatters` transformations
60381
+ let index = 0;
60382
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
60383
+ // If we encounter an escaped % then don't increase the array index
60384
+ if (match === '%%') {
60385
+ return '%';
60386
+ }
60387
+ index++;
60388
+ const formatter = createDebug.formatters[format];
60389
+ if (typeof formatter === 'function') {
60390
+ const val = args[index];
60391
+ match = formatter.call(self, val);
60392
+
60393
+ // Now we need to remove `args[index]` since it's inlined in the `format`
60394
+ args.splice(index, 1);
60395
+ index--;
60396
+ }
60397
+ return match;
60398
+ });
60399
+
60400
+ // Apply env-specific formatting (colors, etc.)
60401
+ createDebug.formatArgs.call(self, args);
60402
+
60403
+ const logFn = self.log || createDebug.log;
60404
+ logFn.apply(self, args);
60405
+ }
60406
+
60407
+ debug.namespace = namespace;
60408
+ debug.useColors = createDebug.useColors();
60409
+ debug.color = createDebug.selectColor(namespace);
60410
+ debug.extend = extend;
60411
+ debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.
60412
+
60413
+ Object.defineProperty(debug, 'enabled', {
60414
+ enumerable: true,
60415
+ configurable: false,
60416
+ get: () => {
60417
+ if (enableOverride !== null) {
60418
+ return enableOverride;
60419
+ }
60420
+ if (namespacesCache !== createDebug.namespaces) {
60421
+ namespacesCache = createDebug.namespaces;
60422
+ enabledCache = createDebug.enabled(namespace);
60423
+ }
60424
+
60425
+ return enabledCache;
60426
+ },
60427
+ set: v => {
60428
+ enableOverride = v;
60429
+ }
60430
+ });
60431
+
60432
+ // Env-specific initialization logic for debug instances
60433
+ if (typeof createDebug.init === 'function') {
60434
+ createDebug.init(debug);
60435
+ }
60436
+
60437
+ return debug;
60438
+ }
60439
+
60440
+ function extend(namespace, delimiter) {
60441
+ const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);
60442
+ newDebug.log = this.log;
60443
+ return newDebug;
60444
+ }
60445
+
60446
+ /**
60447
+ * Enables a debug mode by namespaces. This can include modes
60448
+ * separated by a colon and wildcards.
60449
+ *
60450
+ * @param {String} namespaces
60451
+ * @api public
60452
+ */
60453
+ function enable(namespaces) {
60454
+ createDebug.save(namespaces);
60455
+ createDebug.namespaces = namespaces;
60456
+
60457
+ createDebug.names = [];
60458
+ createDebug.skips = [];
60459
+
60460
+ let i;
60461
+ const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
60462
+ const len = split.length;
60463
+
60464
+ for (i = 0; i < len; i++) {
60465
+ if (!split[i]) {
60466
+ // ignore empty strings
60467
+ continue;
60468
+ }
60469
+
60470
+ namespaces = split[i].replace(/\*/g, '.*?');
60471
+
60472
+ if (namespaces[0] === '-') {
60473
+ createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
60474
+ } else {
60475
+ createDebug.names.push(new RegExp('^' + namespaces + '$'));
60476
+ }
60477
+ }
60478
+ }
60479
+
60480
+ /**
60481
+ * Disable debug output.
60482
+ *
60483
+ * @return {String} namespaces
60484
+ * @api public
60485
+ */
60486
+ function disable() {
60487
+ const namespaces = [
60488
+ ...createDebug.names.map(toNamespace),
60489
+ ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)
60490
+ ].join(',');
60491
+ createDebug.enable('');
60492
+ return namespaces;
60493
+ }
60494
+
60495
+ /**
60496
+ * Returns true if the given mode name is enabled, false otherwise.
60497
+ *
60498
+ * @param {String} name
60499
+ * @return {Boolean}
60500
+ * @api public
60501
+ */
60502
+ function enabled(name) {
60503
+ if (name[name.length - 1] === '*') {
60504
+ return true;
60505
+ }
60506
+
60507
+ let i;
60508
+ let len;
60509
+
60510
+ for (i = 0, len = createDebug.skips.length; i < len; i++) {
60511
+ if (createDebug.skips[i].test(name)) {
60512
+ return false;
60513
+ }
60514
+ }
60515
+
60516
+ for (i = 0, len = createDebug.names.length; i < len; i++) {
60517
+ if (createDebug.names[i].test(name)) {
60518
+ return true;
60519
+ }
60520
+ }
60521
+
60522
+ return false;
60523
+ }
60524
+
60525
+ /**
60526
+ * Convert regexp to namespace
60527
+ *
60528
+ * @param {RegExp} regxep
60529
+ * @return {String} namespace
60530
+ * @api private
60531
+ */
60532
+ function toNamespace(regexp) {
60533
+ return regexp.toString()
60534
+ .substring(2, regexp.toString().length - 2)
60535
+ .replace(/\.\*\?$/, '*');
60536
+ }
60537
+
60538
+ /**
60539
+ * Coerce `val`.
60540
+ *
60541
+ * @param {Mixed} val
60542
+ * @return {Mixed}
60543
+ * @api private
60544
+ */
60545
+ function coerce(val) {
60546
+ if (val instanceof Error) {
60547
+ return val.stack || val.message;
60548
+ }
60549
+ return val;
60550
+ }
60551
+
60552
+ /**
60553
+ * XXX DO NOT USE. This is a temporary stub function.
60554
+ * XXX It WILL be removed in the next major release.
60555
+ */
60556
+ function destroy() {
60557
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
60558
+ }
60559
+
60560
+ createDebug.enable(createDebug.load());
60561
+
60562
+ return createDebug;
60563
+ }
60564
+
60565
+ module.exports = setup;
60566
+
60567
+
60568
+ /***/ }),
60569
+ /* 312 */
60570
+ /***/ (function(module, exports) {
60571
+
60572
+ /**
60573
+ * Helpers.
60574
+ */
60575
+
60576
+ var s = 1000;
60577
+ var m = s * 60;
60578
+ var h = m * 60;
60579
+ var d = h * 24;
60580
+ var w = d * 7;
60581
+ var y = d * 365.25;
60582
+
60583
+ /**
60584
+ * Parse or format the given `val`.
60585
+ *
60586
+ * Options:
60587
+ *
60588
+ * - `long` verbose formatting [false]
60589
+ *
60590
+ * @param {String|Number} val
60591
+ * @param {Object} [options]
60592
+ * @throws {Error} throw an error if val is not a non-empty string or a number
60593
+ * @return {String|Number}
60594
+ * @api public
60595
+ */
60596
+
60597
+ module.exports = function(val, options) {
60598
+ options = options || {};
60599
+ var type = typeof val;
60600
+ if (type === 'string' && val.length > 0) {
60601
+ return parse(val);
60602
+ } else if (type === 'number' && isFinite(val)) {
60603
+ return options.long ? fmtLong(val) : fmtShort(val);
60604
+ }
60605
+ throw new Error(
60606
+ 'val is not a non-empty string or a valid number. val=' +
60607
+ JSON.stringify(val)
60608
+ );
60609
+ };
60610
+
60611
+ /**
60612
+ * Parse the given `str` and return milliseconds.
60613
+ *
60614
+ * @param {String} str
60615
+ * @return {Number}
60616
+ * @api private
60617
+ */
60618
+
60619
+ function parse(str) {
60620
+ str = String(str);
60621
+ if (str.length > 100) {
60622
+ return;
60623
+ }
60624
+ var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
60625
+ str
60626
+ );
60627
+ if (!match) {
60628
+ return;
60629
+ }
60630
+ var n = parseFloat(match[1]);
60631
+ var type = (match[2] || 'ms').toLowerCase();
60632
+ switch (type) {
60633
+ case 'years':
60634
+ case 'year':
60635
+ case 'yrs':
60636
+ case 'yr':
60637
+ case 'y':
60638
+ return n * y;
60639
+ case 'weeks':
60640
+ case 'week':
60641
+ case 'w':
60642
+ return n * w;
60643
+ case 'days':
60644
+ case 'day':
60645
+ case 'd':
60646
+ return n * d;
60647
+ case 'hours':
60648
+ case 'hour':
60649
+ case 'hrs':
60650
+ case 'hr':
60651
+ case 'h':
60652
+ return n * h;
60653
+ case 'minutes':
60654
+ case 'minute':
60655
+ case 'mins':
60656
+ case 'min':
60657
+ case 'm':
60658
+ return n * m;
60659
+ case 'seconds':
60660
+ case 'second':
60661
+ case 'secs':
60662
+ case 'sec':
60663
+ case 's':
60664
+ return n * s;
60665
+ case 'milliseconds':
60666
+ case 'millisecond':
60667
+ case 'msecs':
60668
+ case 'msec':
60669
+ case 'ms':
60670
+ return n;
60671
+ default:
60672
+ return undefined;
60673
+ }
60674
+ }
60675
+
60676
+ /**
60677
+ * Short format for `ms`.
60678
+ *
60679
+ * @param {Number} ms
60680
+ * @return {String}
60681
+ * @api private
60682
+ */
60683
+
60684
+ function fmtShort(ms) {
60685
+ var msAbs = Math.abs(ms);
60686
+ if (msAbs >= d) {
60687
+ return Math.round(ms / d) + 'd';
60688
+ }
60689
+ if (msAbs >= h) {
60690
+ return Math.round(ms / h) + 'h';
60691
+ }
60692
+ if (msAbs >= m) {
60693
+ return Math.round(ms / m) + 'm';
60694
+ }
60695
+ if (msAbs >= s) {
60696
+ return Math.round(ms / s) + 's';
60697
+ }
60698
+ return ms + 'ms';
60699
+ }
60700
+
60701
+ /**
60702
+ * Long format for `ms`.
60703
+ *
60704
+ * @param {Number} ms
60705
+ * @return {String}
60706
+ * @api private
60707
+ */
60708
+
60709
+ function fmtLong(ms) {
60710
+ var msAbs = Math.abs(ms);
60711
+ if (msAbs >= d) {
60712
+ return plural(ms, msAbs, d, 'day');
60713
+ }
60714
+ if (msAbs >= h) {
60715
+ return plural(ms, msAbs, h, 'hour');
60716
+ }
60717
+ if (msAbs >= m) {
60718
+ return plural(ms, msAbs, m, 'minute');
60719
+ }
60720
+ if (msAbs >= s) {
60721
+ return plural(ms, msAbs, s, 'second');
60722
+ }
60723
+ return ms + ' ms';
60724
+ }
60725
+
60726
+ /**
60727
+ * Pluralization helper.
60728
+ */
60729
+
60730
+ function plural(ms, msAbs, n, name) {
60731
+ var isPlural = msAbs >= n * 1.5;
60732
+ return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
60733
+ }
60734
+
60735
+
60736
+ /***/ }),
60737
+ /* 313 */
60738
+ /***/ (function(module, exports, __webpack_require__) {
60739
+
59961
60740
  "use strict";
59962
60741
 
59963
60742
 
59964
- const bitfield = __webpack_require__(311);
60743
+ const bitfield = __webpack_require__(314);
59965
60744
 
59966
- const memory = __webpack_require__(313);
60745
+ const memory = __webpack_require__(316);
59967
60746
 
59968
60747
  let offset = 0;
59969
60748
 
@@ -59999,10 +60778,10 @@ module.exports = {
59999
60778
 
60000
60779
 
60001
60780
  /***/ }),
60002
- /* 311 */
60781
+ /* 314 */
60003
60782
  /***/ (function(module, exports, __webpack_require__) {
60004
60783
 
60005
- var pager = __webpack_require__(312)
60784
+ var pager = __webpack_require__(315)
60006
60785
 
60007
60786
  module.exports = Bitfield
60008
60787
 
@@ -60100,7 +60879,7 @@ function powerOfTwo (x) {
60100
60879
 
60101
60880
 
60102
60881
  /***/ }),
60103
- /* 312 */
60882
+ /* 315 */
60104
60883
  /***/ (function(module, exports) {
60105
60884
 
60106
60885
  module.exports = Pager
@@ -60266,7 +61045,7 @@ function factor (n, out) {
60266
61045
 
60267
61046
 
60268
61047
  /***/ }),
60269
- /* 313 */
61048
+ /* 316 */
60270
61049
  /***/ (function(module, exports, __webpack_require__) {
60271
61050
 
60272
61051
  "use strict";
@@ -60281,13 +61060,13 @@ module.exports = __webpack_require__(67).gunzipSync(
60281
61060
 
60282
61061
 
60283
61062
  /***/ }),
60284
- /* 314 */
61063
+ /* 317 */
60285
61064
  /***/ (function(module) {
60286
61065
 
60287
61066
  module.exports = JSON.parse("{\"name\":\"mongodb\",\"version\":\"4.3.0\",\"description\":\"The official MongoDB driver for Node.js\",\"main\":\"lib/index.js\",\"files\":[\"lib\",\"src\",\"etc/prepare.js\",\"mongodb.d.ts\",\"mongodb.ts34.d.ts\"],\"types\":\"mongodb.d.ts\",\"typesVersions\":{\"<=4.0.2\":{\"mongodb.d.ts\":[\"mongodb.ts34.d.ts\"]}},\"repository\":{\"type\":\"git\",\"url\":\"git@github.com:mongodb/node-mongodb-native.git\"},\"keywords\":[\"mongodb\",\"driver\",\"official\"],\"author\":{\"name\":\"The MongoDB NodeJS Team\",\"email\":\"dbx-node@mongodb.com\"},\"dependencies\":{\"bson\":\"^4.6.1\",\"denque\":\"^2.0.1\",\"mongodb-connection-string-url\":\"^2.3.2\",\"socks\":\"^2.6.1\"},\"devDependencies\":{\"@istanbuljs/nyc-config-typescript\":\"^1.0.2\",\"@microsoft/api-extractor\":\"^7.18.21\",\"@microsoft/tsdoc-config\":\"^0.15.2\",\"@types/chai\":\"^4.3.0\",\"@types/chai-subset\":\"^1.3.3\",\"@types/kerberos\":\"^1.1.1\",\"@types/mocha\":\"^9.0.0\",\"@types/node\":\"^16.11.12\",\"@types/saslprep\":\"^1.0.1\",\"@types/semver\":\"^7.3.9\",\"@types/sinon\":\"^10.0.6\",\"@types/whatwg-url\":\"^8.2.1\",\"@typescript-eslint/eslint-plugin\":\"^5.6.0\",\"@typescript-eslint/parser\":\"^5.6.0\",\"bluebird\":\"^3.7.2\",\"chai\":\"^4.3.4\",\"chai-subset\":\"^1.6.0\",\"chalk\":\"^4.1.2\",\"downlevel-dts\":\"^0.7.0\",\"eslint\":\"^8.4.1\",\"eslint-config-prettier\":\"^8.3.0\",\"eslint-plugin-import\":\"^2.25.3\",\"eslint-plugin-prettier\":\"^4.0.0\",\"eslint-plugin-simple-import-sort\":\"^7.0.0\",\"eslint-plugin-tsdoc\":\"^0.2.14\",\"js-yaml\":\"^4.1.0\",\"lodash.camelcase\":\"^4.3.0\",\"mocha\":\"^9.1.3\",\"mocha-sinon\":\"^2.1.2\",\"nyc\":\"^15.1.0\",\"prettier\":\"^2.5.1\",\"rimraf\":\"^3.0.2\",\"semver\":\"^7.3.5\",\"sinon\":\"^12.0.1\",\"sinon-chai\":\"^3.7.0\",\"source-map-support\":\"^0.5.21\",\"standard-version\":\"^9.3.2\",\"ts-node\":\"^10.4.0\",\"tsd\":\"^0.19.0\",\"typescript\":\"^4.5.2\",\"typescript-cached-transpile\":\"^0.0.6\",\"xml2js\":\"^0.4.23\",\"yargs\":\"^17.3.0\"},\"license\":\"Apache-2.0\",\"engines\":{\"node\":\">=12.9.0\"},\"bugs\":{\"url\":\"https://jira.mongodb.org/projects/NODE/issues/\"},\"homepage\":\"https://github.com/mongodb/node-mongodb-native\",\"optionalDependencies\":{\"saslprep\":\"^1.0.3\"},\"scripts\":{\"build:evergreen\":\"node .evergreen/generate_evergreen_tasks.js\",\"build:ts\":\"rimraf lib && ./node_modules/typescript/bin/tsc\",\"build:dts\":\"npm run build:ts && api-extractor run && rimraf 'lib/**/*.d.ts*' && downlevel-dts mongodb.d.ts mongodb.ts34.d.ts\",\"build:docs\":\"typedoc\",\"check:bench\":\"node test/benchmarks/driverBench\",\"check:coverage\":\"nyc npm run test:all\",\"check:lint\":\"npm run build:dts && npm run check:dts && npm run check:eslint && npm run check:tsd\",\"check:eslint\":\"eslint -v && eslint --max-warnings=0 --ext '.js,.ts' src test\",\"check:tsd\":\"tsd --version && tsd\",\"check:dts\":\"./node_modules/typescript/bin/tsc --noEmit mongodb.d.ts && tsd\",\"check:test\":\"mocha --file test/tools/runner --recursive test/functional test/integration\",\"check:unit\":\"mocha --recursive test/unit/\",\"check:ts\":\"./node_modules/typescript/bin/tsc -v && ./node_modules/typescript/bin/tsc --noEmit\",\"check:atlas\":\"mocha --config \\\"test/manual/mocharc.json\\\" test/manual/atlas_connectivity.test.js\",\"check:adl\":\"mocha --file test/tools/runner test/manual/data_lake.test.js\",\"check:aws\":\"mocha --file test/tools/runner test/functional/mongodb_aws.test.js\",\"check:ocsp\":\"mocha --config \\\"test/manual/mocharc.json\\\" test/manual/ocsp_support.test.js\",\"check:kerberos\":\"mocha --config \\\"test/manual/mocharc.json\\\" test/manual/kerberos.test.js\",\"check:tls\":\"mocha --config \\\"test/manual/mocharc.json\\\" test/manual/tls_support.test.js\",\"check:ldap\":\"mocha --config \\\"test/manual/mocharc.json\\\" test/manual/ldap.test.js\",\"check:socks5\":\"mocha --config \\\"test/manual/mocharc.json\\\" test/manual/socks5.test.ts\",\"check:csfle\":\"mocha --file test/tools/runner test/integration/client-side-encryption\",\"check:snappy\":\"mocha --file test/tools/runner test/functional/unit_snappy.test.js\",\"prepare\":\"node etc/prepare.js\",\"release\":\"standard-version -i HISTORY.md\",\"test\":\"npm run check:lint && npm run test:all\",\"test:all\":\"npm run check:unit && npm run check:test\"},\"tsd\":{\"directory\":\"test/types\",\"compilerOptions\":{\"strict\":true,\"target\":\"esnext\",\"module\":\"commonjs\",\"moduleResolution\":\"node\"}}}");
60288
61067
 
60289
61068
  /***/ }),
60290
- /* 315 */
61069
+ /* 318 */
60291
61070
  /***/ (function(module, exports, __webpack_require__) {
60292
61071
 
60293
61072
  "use strict";
@@ -60323,7 +61102,7 @@ exports.ListDatabasesOperation = ListDatabasesOperation;
60323
61102
  //# sourceMappingURL=list_databases.js.map
60324
61103
 
60325
61104
  /***/ }),
60326
- /* 316 */
61105
+ /* 319 */
60327
61106
  /***/ (function(module, exports, __webpack_require__) {
60328
61107
 
60329
61108
  "use strict";
@@ -60370,7 +61149,7 @@ exports.ValidateCollectionOperation = ValidateCollectionOperation;
60370
61149
  //# sourceMappingURL=validate_collection.js.map
60371
61150
 
60372
61151
  /***/ }),
60373
- /* 317 */
61152
+ /* 320 */
60374
61153
  /***/ (function(module, exports, __webpack_require__) {
60375
61154
 
60376
61155
  "use strict";
@@ -60442,7 +61221,7 @@ exports.OrderedBulkOperation = OrderedBulkOperation;
60442
61221
  //# sourceMappingURL=ordered.js.map
60443
61222
 
60444
61223
  /***/ }),
60445
- /* 318 */
61224
+ /* 321 */
60446
61225
  /***/ (function(module, exports, __webpack_require__) {
60447
61226
 
60448
61227
  "use strict";
@@ -60539,7 +61318,7 @@ exports.UnorderedBulkOperation = UnorderedBulkOperation;
60539
61318
  //# sourceMappingURL=unordered.js.map
60540
61319
 
60541
61320
  /***/ }),
60542
- /* 319 */
61321
+ /* 322 */
60543
61322
  /***/ (function(module, exports, __webpack_require__) {
60544
61323
 
60545
61324
  "use strict";
@@ -60573,7 +61352,7 @@ exports.GetMoreOperation = GetMoreOperation;
60573
61352
  //# sourceMappingURL=get_more.js.map
60574
61353
 
60575
61354
  /***/ }),
60576
- /* 320 */
61355
+ /* 323 */
60577
61356
  /***/ (function(module, exports, __webpack_require__) {
60578
61357
 
60579
61358
  "use strict";
@@ -60608,7 +61387,7 @@ exports.CollectionsOperation = CollectionsOperation;
60608
61387
  //# sourceMappingURL=collections.js.map
60609
61388
 
60610
61389
  /***/ }),
60611
- /* 321 */
61390
+ /* 324 */
60612
61391
  /***/ (function(module, exports, __webpack_require__) {
60613
61392
 
60614
61393
  "use strict";
@@ -60675,7 +61454,7 @@ exports.CreateCollectionOperation = CreateCollectionOperation;
60675
61454
  //# sourceMappingURL=create_collection.js.map
60676
61455
 
60677
61456
  /***/ }),
60678
- /* 322 */
61457
+ /* 325 */
60679
61458
  /***/ (function(module, exports, __webpack_require__) {
60680
61459
 
60681
61460
  "use strict";
@@ -60714,7 +61493,7 @@ exports.ProfilingLevelOperation = ProfilingLevelOperation;
60714
61493
  //# sourceMappingURL=profiling_level.js.map
60715
61494
 
60716
61495
  /***/ }),
60717
- /* 323 */
61496
+ /* 326 */
60718
61497
  /***/ (function(module, exports, __webpack_require__) {
60719
61498
 
60720
61499
  "use strict";
@@ -60801,13 +61580,13 @@ module.exports = { defineOperation, validateParameter };
60801
61580
 
60802
61581
 
60803
61582
  /***/ }),
60804
- /* 324 */
61583
+ /* 327 */
60805
61584
  /***/ (function(module) {
60806
61585
 
60807
61586
  module.exports = JSON.parse("{\"name\":\"kerberos\",\"version\":\"2.0.0-beta.0\",\"description\":\"Kerberos library for Node.js\",\"main\":\"index.js\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/mongodb-js/kerberos.git\"},\"keywords\":[\"kerberos\",\"security\",\"authentication\"],\"author\":{\"name\":\"The MongoDB NodeJS Team\",\"email\":\"dbx-node@mongodb.com\"},\"bugs\":{\"url\":\"https://jira.mongodb.org/projects/NODE/issues/\"},\"dependencies\":{\"bindings\":\"^1.5.0\",\"node-addon-api\":\"^4.1.0\",\"prebuild-install\":\"6.1.2\"},\"devDependencies\":{\"chai\":\"^4.2.0\",\"chai-string\":\"^1.5.0\",\"clang-format\":\"^1.2.4\",\"dmd-clear\":\"^0.1.2\",\"eslint\":\"^5.16.0\",\"eslint-plugin-prettier\":\"^2.6.2\",\"jsdoc-to-markdown\":\"^4.0.1\",\"mocha\":\"^5.2.0\",\"mongodb\":\"^3.2.5\",\"prebuild\":\"^9.0.1\",\"prettier\":\"^1.17.1\",\"request\":\"^2.88.0\",\"segfault-handler\":\"^1.2.0\",\"standard-version\":\"^9.3.1\"},\"scripts\":{\"install\":\"prebuild-install --runtime napi || node-gyp rebuild\",\"format-cxx\":\"git-clang-format\",\"format-js\":\"prettier --print-width 100 --tab-width 2 --single-quote --write index.js 'test/**/*.js' 'lib/**/*.js'\",\"lint\":\"eslint index.js lib test\",\"precommit\":\"check-clang-format\",\"test\":\"mocha ./test\",\"docs\":\"jsdoc2md --template etc/README.hbs --plugin dmd-clear --files lib/kerberos.js > README.md\",\"rebuild\":\"prebuild --compile\",\"prebuild\":\"prebuild --runtime napi --strip --verbose --all\",\"release\":\"standard-version -i HISTORY.md\"},\"engines\":{\"node\":\">=12.9.0\"},\"binary\":{\"napi_versions\":[4]},\"license\":\"Apache-2.0\",\"readmeFilename\":\"README.md\"}");
60808
61587
 
60809
61588
  /***/ }),
60810
- /* 325 */
61589
+ /* 328 */
60811
61590
  /***/ (function(module, exports, __webpack_require__) {
60812
61591
 
60813
61592
  "use strict";
@@ -60965,14 +61744,14 @@ module.exports = {
60965
61744
 
60966
61745
 
60967
61746
  /***/ }),
60968
- /* 326 */
61747
+ /* 329 */
60969
61748
  /***/ (function(module, exports, __webpack_require__) {
60970
61749
 
60971
61750
  var aws4 = exports,
60972
61751
  url = __webpack_require__(49),
60973
- querystring = __webpack_require__(327),
61752
+ querystring = __webpack_require__(330),
60974
61753
  crypto = __webpack_require__(16),
60975
- lru = __webpack_require__(328),
61754
+ lru = __webpack_require__(331),
60976
61755
  credentialsCache = lru(1000)
60977
61756
 
60978
61757
  // http://docs.amazonwebservices.com/general/latest/gr/signature-version-4.html
@@ -61344,13 +62123,13 @@ aws4.sign = function(request, credentials) {
61344
62123
 
61345
62124
 
61346
62125
  /***/ }),
61347
- /* 327 */
62126
+ /* 330 */
61348
62127
  /***/ (function(module, exports) {
61349
62128
 
61350
62129
  module.exports = require("querystring");
61351
62130
 
61352
62131
  /***/ }),
61353
- /* 328 */
62132
+ /* 331 */
61354
62133
  /***/ (function(module, exports) {
61355
62134
 
61356
62135
  module.exports = function(size) {
@@ -61452,7 +62231,7 @@ function DoublyLinkedNode(key, val) {
61452
62231
 
61453
62232
 
61454
62233
  /***/ }),
61455
- /* 329 */
62234
+ /* 332 */
61456
62235
  /***/ (function(module, exports, __webpack_require__) {
61457
62236
 
61458
62237
  "use strict";
@@ -61559,7 +62338,7 @@ exports.Encrypter = Encrypter;
61559
62338
  //# sourceMappingURL=encrypter.js.map
61560
62339
 
61561
62340
  /***/ }),
61562
- /* 330 */
62341
+ /* 333 */
61563
62342
  /***/ (function(module, exports, __webpack_require__) {
61564
62343
 
61565
62344
  "use strict";
@@ -61569,7 +62348,7 @@ exports.connect = void 0;
61569
62348
  const connection_string_1 = __webpack_require__(89);
61570
62349
  const constants_1 = __webpack_require__(13);
61571
62350
  const error_1 = __webpack_require__(0);
61572
- const topology_1 = __webpack_require__(331);
62351
+ const topology_1 = __webpack_require__(334);
61573
62352
  function connect(mongoClient, options, callback) {
61574
62353
  if (!callback) {
61575
62354
  throw new error_1.MongoInvalidArgumentError('Callback function must be provided');
@@ -61649,7 +62428,7 @@ function createTopology(mongoClient, options, callback) {
61649
62428
  //# sourceMappingURL=connect.js.map
61650
62429
 
61651
62430
  /***/ }),
61652
- /* 331 */
62431
+ /* 334 */
61653
62432
  /***/ (function(module, exports, __webpack_require__) {
61654
62433
 
61655
62434
  "use strict";
@@ -62355,7 +63134,7 @@ exports.ServerCapabilities = ServerCapabilities;
62355
63134
  //# sourceMappingURL=topology.js.map
62356
63135
 
62357
63136
  /***/ }),
62358
- /* 332 */
63137
+ /* 335 */
62359
63138
  /***/ (function(module, exports, __webpack_require__) {
62360
63139
 
62361
63140
  "use strict";
@@ -62503,7 +63282,7 @@ function processIncomingData(stream, callback) {
62503
63282
  //# sourceMappingURL=message_stream.js.map
62504
63283
 
62505
63284
  /***/ }),
62506
- /* 333 */
63285
+ /* 336 */
62507
63286
  /***/ (function(module, exports, __webpack_require__) {
62508
63287
 
62509
63288
  "use strict";
@@ -62557,7 +63336,7 @@ exports.StreamDescription = StreamDescription;
62557
63336
  //# sourceMappingURL=stream_description.js.map
62558
63337
 
62559
63338
  /***/ }),
62560
- /* 334 */
63339
+ /* 337 */
62561
63340
  /***/ (function(module, exports, __webpack_require__) {
62562
63341
 
62563
63342
  "use strict";
@@ -62573,7 +63352,7 @@ const utils_1 = __webpack_require__(1);
62573
63352
  const connect_1 = __webpack_require__(150);
62574
63353
  const connection_1 = __webpack_require__(54);
62575
63354
  const connection_pool_events_1 = __webpack_require__(155);
62576
- const errors_1 = __webpack_require__(348);
63355
+ const errors_1 = __webpack_require__(351);
62577
63356
  const metrics_1 = __webpack_require__(137);
62578
63357
  /** @internal */
62579
63358
  const kLogger = Symbol('logger');
@@ -63047,7 +63826,7 @@ function processWaitQueue(pool) {
63047
63826
  //# sourceMappingURL=connection_pool.js.map
63048
63827
 
63049
63828
  /***/ }),
63050
- /* 335 */
63829
+ /* 338 */
63051
63830
  /***/ (function(module, exports, __webpack_require__) {
63052
63831
 
63053
63832
  "use strict";
@@ -63065,11 +63844,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
63065
63844
  exports.SocksClientError = exports.SocksClient = void 0;
63066
63845
  const events_1 = __webpack_require__(22);
63067
63846
  const net = __webpack_require__(93);
63068
- const ip = __webpack_require__(336);
63069
- const smart_buffer_1 = __webpack_require__(337);
63847
+ const ip = __webpack_require__(339);
63848
+ const smart_buffer_1 = __webpack_require__(340);
63070
63849
  const constants_1 = __webpack_require__(152);
63071
- const helpers_1 = __webpack_require__(339);
63072
- const receivebuffer_1 = __webpack_require__(340);
63850
+ const helpers_1 = __webpack_require__(342);
63851
+ const receivebuffer_1 = __webpack_require__(343);
63073
63852
  const util_1 = __webpack_require__(153);
63074
63853
  Object.defineProperty(exports, "SocksClientError", { enumerable: true, get: function () { return util_1.SocksClientError; } });
63075
63854
  class SocksClient extends events_1.EventEmitter {
@@ -63841,7 +64620,7 @@ exports.SocksClient = SocksClient;
63841
64620
  //# sourceMappingURL=socksclient.js.map
63842
64621
 
63843
64622
  /***/ }),
63844
- /* 336 */
64623
+ /* 339 */
63845
64624
  /***/ (function(module, exports, __webpack_require__) {
63846
64625
 
63847
64626
  "use strict";
@@ -64264,13 +65043,13 @@ ip.fromLong = function(ipl) {
64264
65043
 
64265
65044
 
64266
65045
  /***/ }),
64267
- /* 337 */
65046
+ /* 340 */
64268
65047
  /***/ (function(module, exports, __webpack_require__) {
64269
65048
 
64270
65049
  "use strict";
64271
65050
 
64272
65051
  Object.defineProperty(exports, "__esModule", { value: true });
64273
- const utils_1 = __webpack_require__(338);
65052
+ const utils_1 = __webpack_require__(341);
64274
65053
  // The default Buffer size if one is not provided.
64275
65054
  const DEFAULT_SMARTBUFFER_SIZE = 4096;
64276
65055
  // The default string encoding to use for reading/writing strings.
@@ -65503,7 +66282,7 @@ exports.SmartBuffer = SmartBuffer;
65503
66282
  //# sourceMappingURL=smartbuffer.js.map
65504
66283
 
65505
66284
  /***/ }),
65506
- /* 338 */
66285
+ /* 341 */
65507
66286
  /***/ (function(module, exports, __webpack_require__) {
65508
66287
 
65509
66288
  "use strict";
@@ -65617,7 +66396,7 @@ exports.bigIntAndBufferInt64Check = bigIntAndBufferInt64Check;
65617
66396
  //# sourceMappingURL=utils.js.map
65618
66397
 
65619
66398
  /***/ }),
65620
- /* 339 */
66399
+ /* 342 */
65621
66400
  /***/ (function(module, exports, __webpack_require__) {
65622
66401
 
65623
66402
  "use strict";
@@ -65751,7 +66530,7 @@ function isValidTimeoutValue(value) {
65751
66530
  //# sourceMappingURL=helpers.js.map
65752
66531
 
65753
66532
  /***/ }),
65754
- /* 340 */
66533
+ /* 343 */
65755
66534
  /***/ (function(module, exports, __webpack_require__) {
65756
66535
 
65757
66536
  "use strict";
@@ -65800,7 +66579,7 @@ exports.ReceiveBuffer = ReceiveBuffer;
65800
66579
  //# sourceMappingURL=receivebuffer.js.map
65801
66580
 
65802
66581
  /***/ }),
65803
- /* 341 */
66582
+ /* 344 */
65804
66583
  /***/ (function(module, exports, __webpack_require__) {
65805
66584
 
65806
66585
  "use strict";
@@ -65954,7 +66733,7 @@ function performGssapiCanonicalizeHostName(host, mechanismProperties, callback)
65954
66733
  //# sourceMappingURL=gssapi.js.map
65955
66734
 
65956
66735
  /***/ }),
65957
- /* 342 */
66736
+ /* 345 */
65958
66737
  /***/ (function(module, exports, __webpack_require__) {
65959
66738
 
65960
66739
  "use strict";
@@ -66004,7 +66783,7 @@ exports.MongoCR = MongoCR;
66004
66783
  //# sourceMappingURL=mongocr.js.map
66005
66784
 
66006
66785
  /***/ }),
66007
- /* 343 */
66786
+ /* 346 */
66008
66787
  /***/ (function(module, exports, __webpack_require__) {
66009
66788
 
66010
66789
  "use strict";
@@ -66012,7 +66791,7 @@ exports.MongoCR = MongoCR;
66012
66791
  Object.defineProperty(exports, "__esModule", { value: true });
66013
66792
  exports.MongoDBAWS = void 0;
66014
66793
  const crypto = __webpack_require__(16);
66015
- const http = __webpack_require__(344);
66794
+ const http = __webpack_require__(347);
66016
66795
  const url = __webpack_require__(49);
66017
66796
  const BSON = __webpack_require__(4);
66018
66797
  const deps_1 = __webpack_require__(35);
@@ -66211,13 +66990,13 @@ function request(uri, _options, callback) {
66211
66990
  //# sourceMappingURL=mongodb_aws.js.map
66212
66991
 
66213
66992
  /***/ }),
66214
- /* 344 */
66993
+ /* 347 */
66215
66994
  /***/ (function(module, exports) {
66216
66995
 
66217
66996
  module.exports = require("http");
66218
66997
 
66219
66998
  /***/ }),
66220
- /* 345 */
66999
+ /* 348 */
66221
67000
  /***/ (function(module, exports, __webpack_require__) {
66222
67001
 
66223
67002
  "use strict";
@@ -66250,7 +67029,7 @@ exports.Plain = Plain;
66250
67029
  //# sourceMappingURL=plain.js.map
66251
67030
 
66252
67031
  /***/ }),
66253
- /* 346 */
67032
+ /* 349 */
66254
67033
  /***/ (function(module, exports, __webpack_require__) {
66255
67034
 
66256
67035
  "use strict";
@@ -66532,7 +67311,7 @@ exports.ScramSHA256 = ScramSHA256;
66532
67311
  //# sourceMappingURL=scram.js.map
66533
67312
 
66534
67313
  /***/ }),
66535
- /* 347 */
67314
+ /* 350 */
66536
67315
  /***/ (function(module, exports, __webpack_require__) {
66537
67316
 
66538
67317
  "use strict";
@@ -66577,7 +67356,7 @@ function x509AuthenticateCommand(credentials) {
66577
67356
  //# sourceMappingURL=x509.js.map
66578
67357
 
66579
67358
  /***/ }),
66580
- /* 348 */
67359
+ /* 351 */
66581
67360
  /***/ (function(module, exports, __webpack_require__) {
66582
67361
 
66583
67362
  "use strict";
@@ -66616,7 +67395,7 @@ exports.WaitQueueTimeoutError = WaitQueueTimeoutError;
66616
67395
  //# sourceMappingURL=errors.js.map
66617
67396
 
66618
67397
  /***/ }),
66619
- /* 349 */
67398
+ /* 352 */
66620
67399
  /***/ (function(module, exports, __webpack_require__) {
66621
67400
 
66622
67401
  "use strict";
@@ -66941,7 +67720,7 @@ function measureRoundTripTime(rttPinger, options) {
66941
67720
  //# sourceMappingURL=monitor.js.map
66942
67721
 
66943
67722
  /***/ }),
66944
- /* 350 */
67723
+ /* 353 */
66945
67724
  /***/ (function(module, exports, __webpack_require__) {
66946
67725
 
66947
67726
  "use strict";
@@ -66986,7 +67765,7 @@ exports.CountOperation = CountOperation;
66986
67765
  //# sourceMappingURL=count.js.map
66987
67766
 
66988
67767
  /***/ }),
66989
- /* 351 */
67768
+ /* 354 */
66990
67769
  /***/ (function(module, exports, __webpack_require__) {
66991
67770
 
66992
67771
  "use strict";
@@ -67203,7 +67982,7 @@ function makeLegacyFindCommand(ns, filter, options) {
67203
67982
  //# sourceMappingURL=find.js.map
67204
67983
 
67205
67984
  /***/ }),
67206
- /* 352 */
67985
+ /* 355 */
67207
67986
  /***/ (function(module, exports, __webpack_require__) {
67208
67987
 
67209
67988
  "use strict";
@@ -67246,7 +68025,7 @@ exports.CountDocumentsOperation = CountDocumentsOperation;
67246
68025
  //# sourceMappingURL=count_documents.js.map
67247
68026
 
67248
68027
  /***/ }),
67249
- /* 353 */
68028
+ /* 356 */
67250
68029
  /***/ (function(module, exports, __webpack_require__) {
67251
68030
 
67252
68031
  "use strict";
@@ -67319,7 +68098,7 @@ exports.DistinctOperation = DistinctOperation;
67319
68098
  //# sourceMappingURL=distinct.js.map
67320
68099
 
67321
68100
  /***/ }),
67322
- /* 354 */
68101
+ /* 357 */
67323
68102
  /***/ (function(module, exports, __webpack_require__) {
67324
68103
 
67325
68104
  "use strict";
@@ -67377,7 +68156,7 @@ exports.EstimatedDocumentCountOperation = EstimatedDocumentCountOperation;
67377
68156
  //# sourceMappingURL=estimated_document_count.js.map
67378
68157
 
67379
68158
  /***/ }),
67380
- /* 355 */
68159
+ /* 358 */
67381
68160
  /***/ (function(module, exports, __webpack_require__) {
67382
68161
 
67383
68162
  "use strict";
@@ -67413,7 +68192,7 @@ exports.IsCappedOperation = IsCappedOperation;
67413
68192
  //# sourceMappingURL=is_capped.js.map
67414
68193
 
67415
68194
  /***/ }),
67416
- /* 356 */
68195
+ /* 359 */
67417
68196
  /***/ (function(module, exports, __webpack_require__) {
67418
68197
 
67419
68198
  "use strict";
@@ -67586,7 +68365,7 @@ function processScope(scope) {
67586
68365
  //# sourceMappingURL=map_reduce.js.map
67587
68366
 
67588
68367
  /***/ }),
67589
- /* 357 */
68368
+ /* 360 */
67590
68369
  /***/ (function(module, exports, __webpack_require__) {
67591
68370
 
67592
68371
  "use strict";
@@ -67621,7 +68400,7 @@ exports.OptionsOperation = OptionsOperation;
67621
68400
  //# sourceMappingURL=options_operation.js.map
67622
68401
 
67623
68402
  /***/ }),
67624
- /* 358 */
68403
+ /* 361 */
67625
68404
  /***/ (function(module, exports, __webpack_require__) {
67626
68405
 
67627
68406
  "use strict";
@@ -67632,8 +68411,8 @@ const error_1 = __webpack_require__(0);
67632
68411
  const mongo_types_1 = __webpack_require__(7);
67633
68412
  const utils_1 = __webpack_require__(1);
67634
68413
  const write_concern_1 = __webpack_require__(10);
67635
- const download_1 = __webpack_require__(359);
67636
- const upload_1 = __webpack_require__(360);
68414
+ const download_1 = __webpack_require__(362);
68415
+ const upload_1 = __webpack_require__(363);
67637
68416
  const DEFAULT_GRIDFS_BUCKET_OPTIONS = {
67638
68417
  bucketName: 'fs',
67639
68418
  chunkSizeBytes: 255 * 1024
@@ -67788,7 +68567,7 @@ function _drop(bucket, callback) {
67788
68567
  //# sourceMappingURL=index.js.map
67789
68568
 
67790
68569
  /***/ }),
67791
- /* 359 */
68570
+ /* 362 */
67792
68571
  /***/ (function(module, exports, __webpack_require__) {
67793
68572
 
67794
68573
  "use strict";
@@ -68109,7 +68888,7 @@ function handleEndOption(stream, doc, cursor, options) {
68109
68888
  //# sourceMappingURL=download.js.map
68110
68889
 
68111
68890
  /***/ }),
68112
- /* 360 */
68891
+ /* 363 */
68113
68892
  /***/ (function(module, exports, __webpack_require__) {
68114
68893
 
68115
68894
  "use strict";
@@ -68491,7 +69270,7 @@ function checkAborted(stream, callback) {
68491
69270
  //# sourceMappingURL=upload.js.map
68492
69271
 
68493
69272
  /***/ }),
68494
- /* 361 */
69273
+ /* 364 */
68495
69274
  /***/ (function(module, exports, __webpack_require__) {
68496
69275
 
68497
69276
  "use strict";
@@ -68512,7 +69291,7 @@ module.exports = function(modules) {
68512
69291
  const databaseNamespace = common.databaseNamespace;
68513
69292
  const collectionNamespace = common.collectionNamespace;
68514
69293
  const MongoCryptError = common.MongoCryptError;
68515
- const BufferList = __webpack_require__(362);
69294
+ const BufferList = __webpack_require__(365);
68516
69295
 
68517
69296
  // libmongocrypt states
68518
69297
  const MONGOCRYPT_CTX_ERROR = 0;
@@ -68893,12 +69672,12 @@ module.exports = function(modules) {
68893
69672
 
68894
69673
 
68895
69674
  /***/ }),
68896
- /* 362 */
69675
+ /* 365 */
68897
69676
  /***/ (function(module, exports, __webpack_require__) {
68898
69677
 
68899
69678
  "use strict";
68900
69679
 
68901
- var DuplexStream = __webpack_require__(363).Duplex
69680
+ var DuplexStream = __webpack_require__(366).Duplex
68902
69681
  , util = __webpack_require__(14)
68903
69682
  , Buffer = __webpack_require__(36).Buffer
68904
69683
 
@@ -69292,7 +70071,7 @@ module.exports = BufferList
69292
70071
 
69293
70072
 
69294
70073
  /***/ }),
69295
- /* 363 */
70074
+ /* 366 */
69296
70075
  /***/ (function(module, exports, __webpack_require__) {
69297
70076
 
69298
70077
  exports = module.exports = __webpack_require__(159);
@@ -69301,11 +70080,11 @@ exports.Readable = exports;
69301
70080
  exports.Writable = __webpack_require__(162);
69302
70081
  exports.Duplex = __webpack_require__(28);
69303
70082
  exports.Transform = __webpack_require__(164);
69304
- exports.PassThrough = __webpack_require__(367);
70083
+ exports.PassThrough = __webpack_require__(370);
69305
70084
 
69306
70085
 
69307
70086
  /***/ }),
69308
- /* 364 */
70087
+ /* 367 */
69309
70088
  /***/ (function(module, exports) {
69310
70089
 
69311
70090
  var toString = {}.toString;
@@ -69316,7 +70095,7 @@ module.exports = Array.isArray || function (arr) {
69316
70095
 
69317
70096
 
69318
70097
  /***/ }),
69319
- /* 365 */
70098
+ /* 368 */
69320
70099
  /***/ (function(module, exports, __webpack_require__) {
69321
70100
 
69322
70101
  "use strict";
@@ -69401,7 +70180,7 @@ if (util && util.inspect && util.inspect.custom) {
69401
70180
  }
69402
70181
 
69403
70182
  /***/ }),
69404
- /* 366 */
70183
+ /* 369 */
69405
70184
  /***/ (function(module, exports) {
69406
70185
 
69407
70186
 
@@ -69474,7 +70253,7 @@ function config (name) {
69474
70253
 
69475
70254
 
69476
70255
  /***/ }),
69477
- /* 367 */
70256
+ /* 370 */
69478
70257
  /***/ (function(module, exports, __webpack_require__) {
69479
70258
 
69480
70259
  "use strict";
@@ -69527,7 +70306,7 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
69527
70306
  };
69528
70307
 
69529
70308
  /***/ }),
69530
- /* 368 */
70309
+ /* 371 */
69531
70310
  /***/ (function(module, exports, __webpack_require__) {
69532
70311
 
69533
70312
  "use strict";
@@ -69538,7 +70317,7 @@ module.exports = function(modules) {
69538
70317
  const common = __webpack_require__(55);
69539
70318
  const databaseNamespace = common.databaseNamespace;
69540
70319
  const StateMachine = modules.stateMachine.StateMachine;
69541
- const MongocryptdManager = __webpack_require__(369).MongocryptdManager;
70320
+ const MongocryptdManager = __webpack_require__(372).MongocryptdManager;
69542
70321
  const MongoClient = modules.mongodb.MongoClient;
69543
70322
  const MongoError = modules.mongodb.MongoError;
69544
70323
  const cryptoCallbacks = __webpack_require__(165);
@@ -69787,13 +70566,13 @@ module.exports = function(modules) {
69787
70566
 
69788
70567
 
69789
70568
  /***/ }),
69790
- /* 369 */
70569
+ /* 372 */
69791
70570
  /***/ (function(module, exports, __webpack_require__) {
69792
70571
 
69793
70572
  "use strict";
69794
70573
 
69795
70574
 
69796
- const spawn = __webpack_require__(370).spawn;
70575
+ const spawn = __webpack_require__(373).spawn;
69797
70576
 
69798
70577
  /**
69799
70578
  * @ignore
@@ -69863,13 +70642,13 @@ module.exports = { MongocryptdManager };
69863
70642
 
69864
70643
 
69865
70644
  /***/ }),
69866
- /* 370 */
70645
+ /* 373 */
69867
70646
  /***/ (function(module, exports) {
69868
70647
 
69869
70648
  module.exports = require("child_process");
69870
70649
 
69871
70650
  /***/ }),
69872
- /* 371 */
70651
+ /* 374 */
69873
70652
  /***/ (function(module, exports, __webpack_require__) {
69874
70653
 
69875
70654
  "use strict";
@@ -70231,7 +71010,7 @@ module.exports = function(modules) {
70231
71010
 
70232
71011
 
70233
71012
  /***/ }),
70234
- /* 372 */
71013
+ /* 375 */
70235
71014
  /***/ (function(module, exports, __webpack_require__) {
70236
71015
 
70237
71016
  "use strict";
@@ -70267,13 +71046,15 @@ function hookLogger(emitter, log, contextPrefix, redactURICredentials) {
70267
71046
  log.error('DEVTOOLS-CONNECT', mongoLogId(1000000038), `${contextPrefix}-connect`, 'Resolving SRV record failed', {
70268
71047
  from: redactURICredentials(ev.from),
70269
71048
  error: (_a = ev.error) === null || _a === void 0 ? void 0 : _a.message,
70270
- duringLoad: ev.duringLoad
71049
+ duringLoad: ev.duringLoad,
71050
+ resolutionDetails: ev.resolutionDetails
70271
71051
  });
70272
71052
  });
70273
71053
  emitter.on('devtools-connect:resolve-srv-succeeded', function (ev) {
70274
71054
  log.info('DEVTOOLS-CONNECT', mongoLogId(1000000039), `${contextPrefix}-connect`, 'Resolving SRV record succeeded', {
70275
71055
  from: redactURICredentials(ev.from),
70276
- to: redactURICredentials(ev.to)
71056
+ to: redactURICredentials(ev.to),
71057
+ resolutionDetails: ev.resolutionDetails
70277
71058
  });
70278
71059
  });
70279
71060
  emitter.on('devtools-connect:missing-optional-dependency', function (ev) {
@@ -70287,7 +71068,7 @@ exports.hookLogger = hookLogger;
70287
71068
  //# sourceMappingURL=log-hook.js.map
70288
71069
 
70289
71070
  /***/ }),
70290
- /* 373 */
71071
+ /* 376 */
70291
71072
  /***/ (function(module, exports) {
70292
71073
 
70293
71074
  function isRenderer () {
@@ -70307,7 +71088,7 @@ module.exports = isRenderer()
70307
71088
 
70308
71089
 
70309
71090
  /***/ }),
70310
- /* 374 */
71091
+ /* 377 */
70311
71092
  /***/ (function(module, exports, __webpack_require__) {
70312
71093
 
70313
71094
  /* eslint-env browser */
@@ -70564,7 +71345,7 @@ function localstorage() {
70564
71345
  }
70565
71346
  }
70566
71347
 
70567
- module.exports = __webpack_require__(375)(exports);
71348
+ module.exports = __webpack_require__(378)(exports);
70568
71349
 
70569
71350
  const {formatters} = module.exports;
70570
71351
 
@@ -70582,7 +71363,7 @@ formatters.j = function (v) {
70582
71363
 
70583
71364
 
70584
71365
  /***/ }),
70585
- /* 375 */
71366
+ /* 378 */
70586
71367
  /***/ (function(module, exports, __webpack_require__) {
70587
71368
 
70588
71369
 
@@ -70598,7 +71379,7 @@ function setup(env) {
70598
71379
  createDebug.disable = disable;
70599
71380
  createDebug.enable = enable;
70600
71381
  createDebug.enabled = enabled;
70601
- createDebug.humanize = __webpack_require__(376);
71382
+ createDebug.humanize = __webpack_require__(379);
70602
71383
  createDebug.destroy = destroy;
70603
71384
 
70604
71385
  Object.keys(env).forEach(key => {
@@ -70849,7 +71630,7 @@ module.exports = setup;
70849
71630
 
70850
71631
 
70851
71632
  /***/ }),
70852
- /* 376 */
71633
+ /* 379 */
70853
71634
  /***/ (function(module, exports) {
70854
71635
 
70855
71636
  /**
@@ -71017,19 +71798,19 @@ function plural(ms, msAbs, n, name) {
71017
71798
 
71018
71799
 
71019
71800
  /***/ }),
71020
- /* 377 */
71801
+ /* 380 */
71021
71802
  /***/ (function(module, exports) {
71022
71803
 
71023
- module.exports = __WEBPACK_EXTERNAL_MODULE__377__;
71804
+ module.exports = __WEBPACK_EXTERNAL_MODULE__380__;
71024
71805
 
71025
71806
  /***/ }),
71026
- /* 378 */
71807
+ /* 381 */
71027
71808
  /***/ (function(module, exports) {
71028
71809
 
71029
71810
  module.exports = require("electron");
71030
71811
 
71031
71812
  /***/ }),
71032
- /* 379 */
71813
+ /* 382 */
71033
71814
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
71034
71815
 
71035
71816
  "use strict";
@@ -71048,7 +71829,7 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
71048
71829
  // EXTERNAL MODULE: ./node_modules/react-redux/es/index.js + 25 modules
71049
71830
  var es = __webpack_require__(167);
71050
71831
 
71051
- // CONCATENATED MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/@babel/runtime/helpers/esm/defineProperty.js
71832
+ // CONCATENATED MODULE: /Users/alena.khineika/www/compass/node_modules/@babel/runtime/helpers/esm/defineProperty.js
71052
71833
  function _defineProperty(obj, key, value) {
71053
71834
  if (key in obj) {
71054
71835
  Object.defineProperty(obj, key, {
@@ -71063,7 +71844,7 @@ function _defineProperty(obj, key, value) {
71063
71844
 
71064
71845
  return obj;
71065
71846
  }
71066
- // CONCATENATED MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
71847
+ // CONCATENATED MODULE: /Users/alena.khineika/www/compass/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
71067
71848
 
71068
71849
 
71069
71850
  function ownKeys(object, enumerableOnly) {
@@ -71091,7 +71872,7 @@ function _objectSpread2(target) {
71091
71872
 
71092
71873
  return target;
71093
71874
  }
71094
- // CONCATENATED MODULE: ./node_modules/redux/es/redux.js
71875
+ // CONCATENATED MODULE: /Users/alena.khineika/www/compass/node_modules/redux/es/redux.js
71095
71876
 
71096
71877
 
71097
71878
  /**
@@ -71143,6 +71924,55 @@ function isPlainObject(obj) {
71143
71924
  return Object.getPrototypeOf(obj) === proto;
71144
71925
  }
71145
71926
 
71927
+ // Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of
71928
+ function miniKindOf(val) {
71929
+ if (val === void 0) return 'undefined';
71930
+ if (val === null) return 'null';
71931
+ var type = typeof val;
71932
+
71933
+ switch (type) {
71934
+ case 'boolean':
71935
+ case 'string':
71936
+ case 'number':
71937
+ case 'symbol':
71938
+ case 'function':
71939
+ {
71940
+ return type;
71941
+ }
71942
+ }
71943
+
71944
+ if (Array.isArray(val)) return 'array';
71945
+ if (isDate(val)) return 'date';
71946
+ if (isError(val)) return 'error';
71947
+ var constructorName = ctorName(val);
71948
+
71949
+ switch (constructorName) {
71950
+ case 'Symbol':
71951
+ case 'Promise':
71952
+ case 'WeakMap':
71953
+ case 'WeakSet':
71954
+ case 'Map':
71955
+ case 'Set':
71956
+ return constructorName;
71957
+ } // other
71958
+
71959
+
71960
+ return type.slice(8, -1).toLowerCase().replace(/\s/g, '');
71961
+ }
71962
+
71963
+ function ctorName(val) {
71964
+ return typeof val.constructor === 'function' ? val.constructor.name : null;
71965
+ }
71966
+
71967
+ function isError(val) {
71968
+ return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';
71969
+ }
71970
+
71971
+ function isDate(val) {
71972
+ if (val instanceof Date) return true;
71973
+ return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';
71974
+ }
71975
+
71146
71976
  function kindOf(val) {
71147
71977
  var typeOfVal = typeof val;
71148
71978
 
@@ -71843,7 +72673,7 @@ const modules_reducer = combineReducers({
71843
72673
  runtime: reducer
71844
72674
  });
71845
72675
  /* harmony default export */ var modules = (modules_reducer);
71846
- // EXTERNAL MODULE: /Users/rhys/Documents/mongodb/compass/node_modules/@mongosh/logging/lib/index.js
72676
+ // EXTERNAL MODULE: /Users/alena.khineika/www/compass/node_modules/@mongosh/logging/lib/index.js
71847
72677
  var lib = __webpack_require__(169);
71848
72678
 
71849
72679
  // EXTERNAL MODULE: ../compass-logging/dist/index.js
@@ -71922,7 +72752,7 @@ class store_CompassShellStore {
71922
72752
  // CONCATENATED MODULE: ./src/modules/get-user-data-file-path.js
71923
72753
  const {
71924
72754
  remote
71925
- } = __webpack_require__(378);
72755
+ } = __webpack_require__(381);
71926
72756
 
71927
72757
  const path = __webpack_require__(29);
71928
72758
 
@@ -72034,7 +72864,7 @@ function createPlugin() {
72034
72864
 
72035
72865
  Object(external_react_["useEffect"])(() => {
72036
72866
  let mounted = true;
72037
- Promise.all(/* import() */[__webpack_require__.e(1), __webpack_require__.e(2)]).then(__webpack_require__.bind(null, 499)).then(({
72867
+ Promise.all(/* import() */[__webpack_require__.e(1), __webpack_require__.e(2)]).then(__webpack_require__.bind(null, 502)).then(({
72038
72868
  default: Component
72039
72869
  }) => {
72040
72870
  if (mounted) {
@@ -72099,19 +72929,19 @@ function deactivate(appRegistry) {
72099
72929
 
72100
72930
 
72101
72931
  /***/ }),
72102
- /* 380 */
72932
+ /* 383 */
72103
72933
  /***/ (function(module, exports) {
72104
72934
 
72105
- module.exports = __WEBPACK_EXTERNAL_MODULE__380__;
72935
+ module.exports = __WEBPACK_EXTERNAL_MODULE__383__;
72106
72936
 
72107
72937
  /***/ }),
72108
- /* 381 */
72938
+ /* 384 */
72109
72939
  /***/ (function(module, exports) {
72110
72940
 
72111
- module.exports = __WEBPACK_EXTERNAL_MODULE__381__;
72941
+ module.exports = __WEBPACK_EXTERNAL_MODULE__384__;
72112
72942
 
72113
72943
  /***/ }),
72114
- /* 382 */
72944
+ /* 385 */
72115
72945
  /***/ (function(module, exports) {
72116
72946
 
72117
72947
  module.exports = require("vm");