diff --git a/package-lock.json b/package-lock.json index 28c67a923..4a34ad2bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@babel/parser": "^7.24.6", "@babel/traverse": "^7.24.6", "@mongodb-js/compass-components": "^1.25.0", - "@mongodb-js/connection-form": "^1.22.2", + "@mongodb-js/connection-form": "^1.31.0", "@mongodb-js/connection-info": "^0.1.2", "@mongodb-js/mongodb-constants": "^0.10.2", "@mongosh/browser-runtime-electron": "^2.1.1", @@ -21,7 +21,7 @@ "@mongosh/shell-api": "^2.1.1", "@segment/analytics-node": "^1.3.0", "bson": "^6.7.0", - "bson-transpilers": "^2.2.0", + "bson-transpilers": "^3.0.4", "debug": "^4.3.5", "dotenv": "^16.4.5", "lodash": "^4.17.21", @@ -1843,9 +1843,9 @@ } }, "node_modules/@codemirror/autocomplete": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.12.0.tgz", - "integrity": "sha512-r4IjdYFthwbCQyvqnSlx0WBHRHi8nBvU+WjJxFUij81qsBfhNudf/XKKmmC2j3m0LaOYUQTf3qiEK1J8lO1sdg==", + "version": "6.16.3", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.16.3.tgz", + "integrity": "sha512-Vl/tIeRVVUCRDuOG48lttBasNQu8usGgXQawBXI7WJAiUDSFOfzflmEsZFZo48mAvAaa4FZ/4/yLLxFtdJaKYA==", "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -1860,20 +1860,20 @@ } }, "node_modules/@codemirror/commands": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.3.3.tgz", - "integrity": "sha512-dO4hcF0fGT9tu1Pj1D2PvGvxjeGkbC6RGcZw6Qs74TH+Ed1gw98jmUgd2axWvIZEqTeTuFrg1lEB1KV6cK9h1A==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.6.0.tgz", + "integrity": "sha512-qnY+b7j1UNcTS31Eenuc/5YJB6gQOzkUoNmJQc0rznwqSRpeaWWpjkWy2C/MPTcePpsKJEM26hXrOXl1+nceXg==", "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.4.0", - "@codemirror/view": "^6.0.0", + "@codemirror/view": "^6.27.0", "@lezer/common": "^1.1.0" } }, "node_modules/@codemirror/lang-javascript": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.2.1.tgz", - "integrity": "sha512-jlFOXTejVyiQCW3EQwvKH0m99bUYIw40oPmFjSX2VS78yzfe0HELZ+NEo9Yfo1MkGRpGlj3Gnu4rdxV1EnAs5A==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.2.2.tgz", + "integrity": "sha512-VGQfY+FCc285AhWuwjYxQyUQcYurWlxdKYT4bqwr3Twnd5wP5WSeu52t4tvvuWmljT4EmgEgZCqSieokhtY8hg==", "dependencies": { "@codemirror/autocomplete": "^6.0.0", "@codemirror/language": "^6.6.0", @@ -1894,9 +1894,9 @@ } }, "node_modules/@codemirror/language": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.0.tgz", - "integrity": "sha512-2vaNn9aPGCRFKWcHPFksctzJ8yS5p7YoaT+jHpc0UGKzNuAIx4qy6R5wiqbP+heEEdyaABA582mNqSHzSoYdmg==", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.2.tgz", + "integrity": "sha512-kgbTYTo0Au6dCSc/TFy7fK3fpJmgHDv1sG1KNQKJXVi+xBTEeBPY/M30YXiU6mMXeH+YIDLsbrT4ZwNRdtF+SA==", "dependencies": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.23.0", @@ -1907,9 +1907,9 @@ } }, "node_modules/@codemirror/lint": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.4.2.tgz", - "integrity": "sha512-wzRkluWb1ptPKdzlsrbwwjYCPLgzU6N88YBAmlZi8WFyuiEduSd05MnJYNogzyc8rPK7pj6m95ptUApc8sHKVA==", + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.1.tgz", + "integrity": "sha512-IZ0Y7S4/bpaunwggW2jYqwLuHj0QtESf5xcROewY6+lDNwZ/NzvR4t+vpYgg9m7V8UXLPYqG+lu3DF470E5Oxg==", "dependencies": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -1917,14 +1917,14 @@ } }, "node_modules/@codemirror/state": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.4.0.tgz", - "integrity": "sha512-hm8XshYj5Fo30Bb922QX9hXB/bxOAVH+qaqHBzw5TKa72vOeslyGwd4X8M0c1dJ9JqxlaMceOQ8RsL9tC7gU0A==" + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.4.1.tgz", + "integrity": "sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A==" }, "node_modules/@codemirror/view": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.23.0.tgz", - "integrity": "sha512-/51px9N4uW8NpuWkyUX+iam5+PM6io2fm+QmRnzwqBy5v/pwGg9T0kILFtYeum8hjuvENtgsGNKluOfqIICmeQ==", + "version": "6.28.2", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.28.2.tgz", + "integrity": "sha512-A3DmyVfjgPsGIjiJqM/zvODUAPQdQl3ci0ghehYNnbt5x+o76xq+dL5+mMBuysDXnI3kapgOkoeJ0sbtL/3qPw==", "dependencies": { "@codemirror/state": "^6.4.0", "style-mod": "^4.1.0", @@ -3690,9 +3690,9 @@ "integrity": "sha512-Tr2TmpS0YFJ3hGNbVWQpeseJRo4kTrVumVlZ4aF4hId1JYDzF0TU5JJO40v+brhbgnKsyBu7+Rvz6ExY1NcKew==" }, "node_modules/@lezer/common": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.2.0.tgz", - "integrity": "sha512-Wmvlm4q6tRpwiy20TnB3yyLTZim38Tkc50dPY8biQRwqE+ati/wD84rm3N15hikvdT4uSg9phs9ubjvcLmkpKg==" + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.2.1.tgz", + "integrity": "sha512-yemX0ZD2xS/73llMZIK6KplkjIjf2EvAHcinDi/TfJ9hS25G0388+ClHt6/3but0oOxinTcQHJLDXh6w1crzFQ==" }, "node_modules/@lezer/highlight": { "version": "1.2.0", @@ -3703,10 +3703,11 @@ } }, "node_modules/@lezer/javascript": { - "version": "1.4.12", - "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.4.12.tgz", - "integrity": "sha512-kwO5MftUiyfKBcECMEDc4HYnc10JME9kTJNPVoCXqJj/Y+ASWF0rgstORi3BThlQI6SoPSshrK5TjuiLFnr29A==", + "version": "1.4.17", + "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.4.17.tgz", + "integrity": "sha512-bYW4ctpyGK+JMumDApeUzuIezX01H76R1foD6LcRX224FWfyYit/HYxiPGDjXXe/wQWASjCvVGoukTH68+0HIA==", "dependencies": { + "@lezer/common": "^1.2.0", "@lezer/highlight": "^1.1.3", "@lezer/lr": "^1.3.0" } @@ -3722,9 +3723,9 @@ } }, "node_modules/@lezer/lr": { - "version": "1.3.14", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.3.14.tgz", - "integrity": "sha512-z5mY4LStlA3yL7aHT/rqgG614cfcvklS+8oFRFBYrs4YaWLJyKKM4+nN6KopToX0o9Hj6zmH6M5kinOYuy06ug==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.1.tgz", + "integrity": "sha512-CHsKq8DMKBf9b3yXPDIU4DbH+ZJd/sJdYOW2llbW/HudP5u0VS6Bfq1hLYfgU7uAYGFIyGGQIsSOXGPEErZiJw==", "dependencies": { "@lezer/common": "^1.0.0" } @@ -3865,9 +3866,9 @@ } }, "node_modules/@mongodb-js/compass-editor": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@mongodb-js/compass-editor/-/compass-editor-0.20.2.tgz", - "integrity": "sha512-liiP6yrvpLSqpgkJ73KzkpbUIU7/CiU78Ldl381UbFkFjclq+pe6DXMRXwvCdBhcu+l1DoIPMFDz2ql93e6/4Q==", + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@mongodb-js/compass-editor/-/compass-editor-0.25.0.tgz", + "integrity": "sha512-4awuLD7Tyw9fDChswoWrNmJRq6BjOuzkDRh6+5ZrUf8hj9Orwm1D7hhmyynY31++WOpKZ5SG413Hds4LAUWWdQ==", "dependencies": { "@codemirror/autocomplete": "^6.4.0", "@codemirror/commands": "^6.1.2", @@ -3878,23 +3879,13 @@ "@codemirror/state": "^6.1.4", "@codemirror/view": "^6.7.1", "@lezer/highlight": "^1.1.3", - "@mongodb-js/compass-components": "^1.21.2", - "@mongodb-js/mongodb-constants": "^0.8.7", + "@mongodb-js/compass-components": "^1.26.0", + "@mongodb-js/mongodb-constants": "^0.10.0", "polished": "^4.2.2", - "prettier": "^2.7.1" - }, - "peerDependencies": { + "prettier": "^2.7.1", "react": "^17.0.2" } }, - "node_modules/@mongodb-js/compass-editor/node_modules/@mongodb-js/mongodb-constants": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/@mongodb-js/mongodb-constants/-/mongodb-constants-0.8.10.tgz", - "integrity": "sha512-tLXBNzLzk7KD0UsZaSpAg7bftgiDRVYFjc3zXT+828ENtg7TIvahkzJzoD7K6SwnFjPp8PZ/R36rpEL3zFq9yg==", - "dependencies": { - "semver": "^7.5.4" - } - }, "node_modules/@mongodb-js/compass-logging": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/@mongodb-js/compass-logging/-/compass-logging-1.3.1.tgz", @@ -3908,82 +3899,77 @@ "react": "^17.0.2" } }, - "node_modules/@mongodb-js/compass-utils": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/@mongodb-js/compass-utils/-/compass-utils-0.6.5.tgz", - "integrity": "sha512-0Q6cUJo/58Fh6rnrkBhmr0o9X2Hkp8ruv2YSC2eRE1qo5aTX8PoS5nZ2f6EO9HYL79XtAgLgmYZQqZm5P2AlGA==", + "node_modules/@mongodb-js/compass-user-data": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@mongodb-js/compass-user-data/-/compass-user-data-0.2.1.tgz", + "integrity": "sha512-2GxwXsn74eCffUeDZFFExHEUCSSTE74Yifn4swlOhgW7o4KuEfLzgWxjcAbE+p1xQCN3IuWDmUfLSUvkS9xkpQ==", "dependencies": { - "@electron/remote": "^2.1.2", - "electron": "^29.4.2" + "@mongodb-js/compass-logging": "^1.3.1", + "@mongodb-js/compass-utils": "^0.6.5", + "write-file-atomic": "^5.0.1", + "zod": "^3.22.3" } }, - "node_modules/@mongodb-js/connection-form": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/@mongodb-js/connection-form/-/connection-form-1.22.2.tgz", - "integrity": "sha512-bRQKka5LtYnQxuOfo08+tmFyAI12SkHE2EjlPzfFB8Zrn++O8BqfH88Nt4wXSMMnfH2gqWfsruFquMKmW+Favg==", - "dependencies": { - "@mongodb-js/compass-components": "^1.21.2", - "@mongodb-js/compass-editor": "^0.20.2", - "@mongodb-js/connection-info": "^0.1.2", - "@testing-library/react-hooks": "^7.0.2", - "lodash": "^4.17.21", - "mongodb-build-info": "^1.7.0", - "mongodb-connection-string-url": "^2.6.0", - "mongodb-query-parser": "^4.0.2" + "node_modules/@mongodb-js/compass-user-data/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" }, - "peerDependencies": { - "@mongodb-js/compass-components": "^1.21.2", - "@mongodb-js/compass-editor": "^0.20.2", - "react": "^17.0.2" - } - }, - "node_modules/@mongodb-js/connection-form/node_modules/@types/whatwg-url": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.2.tgz", - "integrity": "sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==", - "dependencies": { - "@types/node": "*", - "@types/webidl-conversions": "*" + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@mongodb-js/connection-form/node_modules/mongodb-connection-string-url": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.6.0.tgz", - "integrity": "sha512-WvTZlI9ab0QYtTYnuMLgobULWhokRjtC7db9LtcVfJ+Hsnyr5eo6ZtNAt3Ly24XZScGMelOcGtm7lSn0332tPQ==", + "node_modules/@mongodb-js/compass-user-data/node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dependencies": { - "@types/whatwg-url": "^8.2.1", - "whatwg-url": "^11.0.0" + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@mongodb-js/connection-form/node_modules/tr46": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", - "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", + "node_modules/@mongodb-js/compass-utils": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/@mongodb-js/compass-utils/-/compass-utils-0.6.5.tgz", + "integrity": "sha512-0Q6cUJo/58Fh6rnrkBhmr0o9X2Hkp8ruv2YSC2eRE1qo5aTX8PoS5nZ2f6EO9HYL79XtAgLgmYZQqZm5P2AlGA==", "dependencies": { - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=12" + "@electron/remote": "^2.1.2", + "electron": "^29.4.2" } }, - "node_modules/@mongodb-js/connection-form/node_modules/webidl-conversions": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", - "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", - "engines": { - "node": ">=12" + "node_modules/@mongodb-js/connection-form": { + "version": "1.31.0", + "resolved": "https://registry.npmjs.org/@mongodb-js/connection-form/-/connection-form-1.31.0.tgz", + "integrity": "sha512-jI5WR1A4I3gDFxafiISciF487wgpodkgt8cRQBrgk06kxxzwlt3V8Z3XWafNIJg9yNfLI7wfKyNOpq2OhOl0Sw==", + "dependencies": { + "@mongodb-js/compass-components": "^1.26.0", + "@mongodb-js/compass-editor": "^0.25.0", + "@mongodb-js/connection-info": "^0.4.1", + "compass-preferences-model": "^2.23.1", + "ejson-shell-parser": "^2.0.1", + "lodash": "^4.17.21", + "mongodb": "^6.7.0", + "mongodb-build-info": "^1.7.2", + "mongodb-connection-string-url": "^3.0.1", + "mongodb-data-service": "^22.21.1", + "mongodb-query-parser": "^4.1.2", + "react": "^17.0.2" } }, - "node_modules/@mongodb-js/connection-form/node_modules/whatwg-url": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", - "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", + "node_modules/@mongodb-js/connection-form/node_modules/@mongodb-js/connection-info": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@mongodb-js/connection-info/-/connection-info-0.4.1.tgz", + "integrity": "sha512-QFy5vJFssQSIMMLLzKuwXs7zcRKyLbYaUge6fCVi59gwe4RZEcMlUOFKWf44Et6Y5qAOqhyZGj68XBf6lMgfjw==", "dependencies": { - "tr46": "^3.0.0", - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=12" + "lodash": "^4.17.21", + "mongodb": "^6.7.0", + "mongodb-connection-string-url": "^3.0.1", + "mongodb-data-service": "^22.21.1" } }, "node_modules/@mongodb-js/connection-info": { @@ -5628,34 +5614,6 @@ "react-dom": "<18.0.0" } }, - "node_modules/@testing-library/react-hooks": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-7.0.2.tgz", - "integrity": "sha512-dYxpz8u9m4q1TuzfcUApqi8iFfR6R0FaMbr2hjZJy1uC8z+bO/K4v8Gs9eogGKYQop7QsrBTFkv/BCF7MzD2Cg==", - "dependencies": { - "@babel/runtime": "^7.12.5", - "@types/react": ">=16.9.0", - "@types/react-dom": ">=16.9.0", - "@types/react-test-renderer": ">=16.9.0", - "react-error-boundary": "^3.1.0" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "react": ">=16.9.0", - "react-dom": ">=16.9.0", - "react-test-renderer": ">=16.9.0" - }, - "peerDependenciesMeta": { - "react-dom": { - "optional": true - }, - "react-test-renderer": { - "optional": true - } - } - }, "node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", @@ -5961,6 +5919,7 @@ "version": "17.0.25", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.25.tgz", "integrity": "sha512-urx7A7UxkZQmThYA4So0NelOVjx3V4rNFVJwp0WZlbIK5eM4rNJDiN3R/E9ix0MBh6kAEojk/9YL+Te6D9zHNA==", + "devOptional": true, "dependencies": { "@types/react": "^17" } @@ -5973,14 +5932,6 @@ "@types/react": "*" } }, - "node_modules/@types/react-test-renderer": { - "version": "18.0.7", - "resolved": "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-18.0.7.tgz", - "integrity": "sha512-1+ANPOWc6rB3IkSnElhjv6VLlKg2dSv/OWClUyZimbLsQyBn8Js9Vtdsi3UICJ2rIQ3k2la06dkB+C92QfhKmg==", - "dependencies": { - "@types/react": "*" - } - }, "node_modules/@types/react-transition-group": { "version": "4.4.10", "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz", @@ -8166,49 +8117,15 @@ } }, "node_modules/bson-transpilers": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/bson-transpilers/-/bson-transpilers-2.2.0.tgz", - "integrity": "sha512-hiRRIwxQ0CYmmhBcfC2I7tS+kS7YFz+vXZ0GrRTiMzitSwOsMZwOYs6c31C1r85/rm1O+mcVV2UCwhhmgcooag==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/bson-transpilers/-/bson-transpilers-3.0.4.tgz", + "integrity": "sha512-0VOeQuGWw7oabpP0SHWZ/pkjZiToNT/wZWnsGTMQN0igliyJwDKDcXO5c+wQO9uBct6v+OtG8xSu1f8n188FHw==", "dependencies": { "antlr4": "4.7.2", - "bson": "^4.4.1", + "bson": "^6.2.0", "js-yaml": "^3.13.1" } }, - "node_modules/bson-transpilers/node_modules/bson": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.2.tgz", - "integrity": "sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==", - "dependencies": { - "buffer": "^5.6.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/bson-transpilers/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, "node_modules/buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -8949,6 +8866,47 @@ "node": ">=14" } }, + "node_modules/compass-preferences-model": { + "version": "2.23.1", + "resolved": "https://registry.npmjs.org/compass-preferences-model/-/compass-preferences-model-2.23.1.tgz", + "integrity": "sha512-5caVZHLPA4z32YKwYHZ6W/kGUkOVX84C3NNmA3+DulntO81YBjnArwNUVcXWWnYVhTDz08FNvp8LL3Xp7EDqDg==", + "dependencies": { + "@mongodb-js/compass-logging": "^1.3.1", + "@mongodb-js/compass-user-data": "^0.2.1", + "bson": "^6.7.0", + "hadron-app-registry": "^9.1.12", + "hadron-ipc": "^3.2.16", + "js-yaml": "^4.1.0", + "lodash": "^4.17.21", + "react": "^17.0.2", + "yargs-parser": "^21.1.1", + "zod": "^3.22.3" + } + }, + "node_modules/compass-preferences-model/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/compass-preferences-model/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/compass-preferences-model/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "engines": { + "node": ">=12" + } + }, "node_modules/component-emitter": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", @@ -10281,9 +10239,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/ejson-shell-parser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ejson-shell-parser/-/ejson-shell-parser-2.0.0.tgz", - "integrity": "sha512-6JF9J7RCxHRikBi5u9qAAHA0LleY3DKamqH5vwMVjSnlNAQJGTxfgl3z16/G9bxH7xZnHOg4w0XSgnFzTQ2QCg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ejson-shell-parser/-/ejson-shell-parser-2.0.1.tgz", + "integrity": "sha512-ZTDIeoRBWSrGgHMYlBn4PymQdtNCsnFUK/cSVwZREPNC3Mr+E3arO08DapVjBVDGTE08kkpqRll1Y+lwe5ZvCQ==", "dependencies": { "acorn": "^8.1.0" }, @@ -13746,7 +13704,6 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, "engines": { "node": ">=0.8.19" } @@ -19150,21 +19107,6 @@ "react": "17.0.2" } }, - "node_modules/react-error-boundary": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-3.1.4.tgz", - "integrity": "sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==", - "dependencies": { - "@babel/runtime": "^7.12.5" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "peerDependencies": { - "react": ">=16.13.1" - } - }, "node_modules/react-hotkeys-hook": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/react-hotkeys-hook/-/react-hotkeys-hook-4.4.1.tgz", @@ -19207,7 +19149,7 @@ "version": "16.15.0", "resolved": "https://registry.npmjs.org/react-shallow-renderer/-/react-shallow-renderer-16.15.0.tgz", "integrity": "sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==", - "devOptional": true, + "dev": true, "dependencies": { "object-assign": "^4.1.1", "react-is": "^16.12.0 || ^17.0.0 || ^18.0.0" @@ -19220,7 +19162,7 @@ "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-17.0.2.tgz", "integrity": "sha512-yaQ9cB89c17PUb0x6UfWRs7kQCorVdHlutU1boVPEsB8IDZH6n9tHxMacc3y0JoXOJUsZb/t/Mb8FUWMKaM7iQ==", - "devOptional": true, + "dev": true, "dependencies": { "object-assign": "^4.1.1", "react-is": "^17.0.2", @@ -21515,9 +21457,9 @@ "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" }, "node_modules/style-mod": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.0.tgz", - "integrity": "sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA==" + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.2.tgz", + "integrity": "sha512-wnD1HyVqpJUI2+eKZ+eo1UwghftP6yuFheBqqe+bWCotBjC2K1YnteJILRMs3SM4V/0dLEW1SC27MWP5y+mwmw==" }, "node_modules/stylis": { "version": "4.2.0", @@ -23510,6 +23452,14 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } + }, + "node_modules/zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } } }, "dependencies": { @@ -24856,9 +24806,9 @@ } }, "@codemirror/autocomplete": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.12.0.tgz", - "integrity": "sha512-r4IjdYFthwbCQyvqnSlx0WBHRHi8nBvU+WjJxFUij81qsBfhNudf/XKKmmC2j3m0LaOYUQTf3qiEK1J8lO1sdg==", + "version": "6.16.3", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.16.3.tgz", + "integrity": "sha512-Vl/tIeRVVUCRDuOG48lttBasNQu8usGgXQawBXI7WJAiUDSFOfzflmEsZFZo48mAvAaa4FZ/4/yLLxFtdJaKYA==", "requires": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -24867,20 +24817,20 @@ } }, "@codemirror/commands": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.3.3.tgz", - "integrity": "sha512-dO4hcF0fGT9tu1Pj1D2PvGvxjeGkbC6RGcZw6Qs74TH+Ed1gw98jmUgd2axWvIZEqTeTuFrg1lEB1KV6cK9h1A==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.6.0.tgz", + "integrity": "sha512-qnY+b7j1UNcTS31Eenuc/5YJB6gQOzkUoNmJQc0rznwqSRpeaWWpjkWy2C/MPTcePpsKJEM26hXrOXl1+nceXg==", "requires": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.4.0", - "@codemirror/view": "^6.0.0", + "@codemirror/view": "^6.27.0", "@lezer/common": "^1.1.0" } }, "@codemirror/lang-javascript": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.2.1.tgz", - "integrity": "sha512-jlFOXTejVyiQCW3EQwvKH0m99bUYIw40oPmFjSX2VS78yzfe0HELZ+NEo9Yfo1MkGRpGlj3Gnu4rdxV1EnAs5A==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.2.2.tgz", + "integrity": "sha512-VGQfY+FCc285AhWuwjYxQyUQcYurWlxdKYT4bqwr3Twnd5wP5WSeu52t4tvvuWmljT4EmgEgZCqSieokhtY8hg==", "requires": { "@codemirror/autocomplete": "^6.0.0", "@codemirror/language": "^6.6.0", @@ -24901,9 +24851,9 @@ } }, "@codemirror/language": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.0.tgz", - "integrity": "sha512-2vaNn9aPGCRFKWcHPFksctzJ8yS5p7YoaT+jHpc0UGKzNuAIx4qy6R5wiqbP+heEEdyaABA582mNqSHzSoYdmg==", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.2.tgz", + "integrity": "sha512-kgbTYTo0Au6dCSc/TFy7fK3fpJmgHDv1sG1KNQKJXVi+xBTEeBPY/M30YXiU6mMXeH+YIDLsbrT4ZwNRdtF+SA==", "requires": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.23.0", @@ -24914,9 +24864,9 @@ } }, "@codemirror/lint": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.4.2.tgz", - "integrity": "sha512-wzRkluWb1ptPKdzlsrbwwjYCPLgzU6N88YBAmlZi8WFyuiEduSd05MnJYNogzyc8rPK7pj6m95ptUApc8sHKVA==", + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.1.tgz", + "integrity": "sha512-IZ0Y7S4/bpaunwggW2jYqwLuHj0QtESf5xcROewY6+lDNwZ/NzvR4t+vpYgg9m7V8UXLPYqG+lu3DF470E5Oxg==", "requires": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -24924,14 +24874,14 @@ } }, "@codemirror/state": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.4.0.tgz", - "integrity": "sha512-hm8XshYj5Fo30Bb922QX9hXB/bxOAVH+qaqHBzw5TKa72vOeslyGwd4X8M0c1dJ9JqxlaMceOQ8RsL9tC7gU0A==" + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.4.1.tgz", + "integrity": "sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A==" }, "@codemirror/view": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.23.0.tgz", - "integrity": "sha512-/51px9N4uW8NpuWkyUX+iam5+PM6io2fm+QmRnzwqBy5v/pwGg9T0kILFtYeum8hjuvENtgsGNKluOfqIICmeQ==", + "version": "6.28.2", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.28.2.tgz", + "integrity": "sha512-A3DmyVfjgPsGIjiJqM/zvODUAPQdQl3ci0ghehYNnbt5x+o76xq+dL5+mMBuysDXnI3kapgOkoeJ0sbtL/3qPw==", "requires": { "@codemirror/state": "^6.4.0", "style-mod": "^4.1.0", @@ -26453,9 +26403,9 @@ } }, "@lezer/common": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.2.0.tgz", - "integrity": "sha512-Wmvlm4q6tRpwiy20TnB3yyLTZim38Tkc50dPY8biQRwqE+ati/wD84rm3N15hikvdT4uSg9phs9ubjvcLmkpKg==" + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.2.1.tgz", + "integrity": "sha512-yemX0ZD2xS/73llMZIK6KplkjIjf2EvAHcinDi/TfJ9hS25G0388+ClHt6/3but0oOxinTcQHJLDXh6w1crzFQ==" }, "@lezer/highlight": { "version": "1.2.0", @@ -26466,10 +26416,11 @@ } }, "@lezer/javascript": { - "version": "1.4.12", - "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.4.12.tgz", - "integrity": "sha512-kwO5MftUiyfKBcECMEDc4HYnc10JME9kTJNPVoCXqJj/Y+ASWF0rgstORi3BThlQI6SoPSshrK5TjuiLFnr29A==", + "version": "1.4.17", + "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.4.17.tgz", + "integrity": "sha512-bYW4ctpyGK+JMumDApeUzuIezX01H76R1foD6LcRX224FWfyYit/HYxiPGDjXXe/wQWASjCvVGoukTH68+0HIA==", "requires": { + "@lezer/common": "^1.2.0", "@lezer/highlight": "^1.1.3", "@lezer/lr": "^1.3.0" } @@ -26485,9 +26436,9 @@ } }, "@lezer/lr": { - "version": "1.3.14", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.3.14.tgz", - "integrity": "sha512-z5mY4LStlA3yL7aHT/rqgG614cfcvklS+8oFRFBYrs4YaWLJyKKM4+nN6KopToX0o9Hj6zmH6M5kinOYuy06ug==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.1.tgz", + "integrity": "sha512-CHsKq8DMKBf9b3yXPDIU4DbH+ZJd/sJdYOW2llbW/HudP5u0VS6Bfq1hLYfgU7uAYGFIyGGQIsSOXGPEErZiJw==", "requires": { "@lezer/common": "^1.0.0" } @@ -26612,9 +26563,9 @@ } }, "@mongodb-js/compass-editor": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@mongodb-js/compass-editor/-/compass-editor-0.20.2.tgz", - "integrity": "sha512-liiP6yrvpLSqpgkJ73KzkpbUIU7/CiU78Ldl381UbFkFjclq+pe6DXMRXwvCdBhcu+l1DoIPMFDz2ql93e6/4Q==", + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@mongodb-js/compass-editor/-/compass-editor-0.25.0.tgz", + "integrity": "sha512-4awuLD7Tyw9fDChswoWrNmJRq6BjOuzkDRh6+5ZrUf8hj9Orwm1D7hhmyynY31++WOpKZ5SG413Hds4LAUWWdQ==", "requires": { "@codemirror/autocomplete": "^6.4.0", "@codemirror/commands": "^6.1.2", @@ -26625,20 +26576,11 @@ "@codemirror/state": "^6.1.4", "@codemirror/view": "^6.7.1", "@lezer/highlight": "^1.1.3", - "@mongodb-js/compass-components": "^1.21.2", - "@mongodb-js/mongodb-constants": "^0.8.7", + "@mongodb-js/compass-components": "^1.26.0", + "@mongodb-js/mongodb-constants": "^0.10.0", "polished": "^4.2.2", - "prettier": "^2.7.1" - }, - "dependencies": { - "@mongodb-js/mongodb-constants": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/@mongodb-js/mongodb-constants/-/mongodb-constants-0.8.10.tgz", - "integrity": "sha512-tLXBNzLzk7KD0UsZaSpAg7bftgiDRVYFjc3zXT+828ENtg7TIvahkzJzoD7K6SwnFjPp8PZ/R36rpEL3zFq9yg==", - "requires": { - "semver": "^7.5.4" - } - } + "prettier": "^2.7.1", + "react": "^17.0.2" } }, "@mongodb-js/compass-logging": { @@ -26654,6 +26596,33 @@ "react": "^17.0.2" } }, + "@mongodb-js/compass-user-data": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@mongodb-js/compass-user-data/-/compass-user-data-0.2.1.tgz", + "integrity": "sha512-2GxwXsn74eCffUeDZFFExHEUCSSTE74Yifn4swlOhgW7o4KuEfLzgWxjcAbE+p1xQCN3IuWDmUfLSUvkS9xkpQ==", + "requires": { + "@mongodb-js/compass-logging": "^1.3.1", + "@mongodb-js/compass-utils": "^0.6.5", + "write-file-atomic": "^5.0.1", + "zod": "^3.22.3" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + }, + "write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "requires": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + } + } + } + }, "@mongodb-js/compass-utils": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/@mongodb-js/compass-utils/-/compass-utils-0.6.5.tgz", @@ -26664,58 +26633,33 @@ } }, "@mongodb-js/connection-form": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/@mongodb-js/connection-form/-/connection-form-1.22.2.tgz", - "integrity": "sha512-bRQKka5LtYnQxuOfo08+tmFyAI12SkHE2EjlPzfFB8Zrn++O8BqfH88Nt4wXSMMnfH2gqWfsruFquMKmW+Favg==", - "requires": { - "@mongodb-js/compass-components": "^1.21.2", - "@mongodb-js/compass-editor": "^0.20.2", - "@mongodb-js/connection-info": "^0.1.2", - "@testing-library/react-hooks": "^7.0.2", + "version": "1.31.0", + "resolved": "https://registry.npmjs.org/@mongodb-js/connection-form/-/connection-form-1.31.0.tgz", + "integrity": "sha512-jI5WR1A4I3gDFxafiISciF487wgpodkgt8cRQBrgk06kxxzwlt3V8Z3XWafNIJg9yNfLI7wfKyNOpq2OhOl0Sw==", + "requires": { + "@mongodb-js/compass-components": "^1.26.0", + "@mongodb-js/compass-editor": "^0.25.0", + "@mongodb-js/connection-info": "^0.4.1", + "compass-preferences-model": "^2.23.1", + "ejson-shell-parser": "^2.0.1", "lodash": "^4.17.21", - "mongodb-build-info": "^1.7.0", - "mongodb-connection-string-url": "^2.6.0", - "mongodb-query-parser": "^4.0.2" + "mongodb": "^6.7.0", + "mongodb-build-info": "^1.7.2", + "mongodb-connection-string-url": "^3.0.1", + "mongodb-data-service": "^22.21.1", + "mongodb-query-parser": "^4.1.2", + "react": "^17.0.2" }, "dependencies": { - "@types/whatwg-url": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.2.tgz", - "integrity": "sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==", - "requires": { - "@types/node": "*", - "@types/webidl-conversions": "*" - } - }, - "mongodb-connection-string-url": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.6.0.tgz", - "integrity": "sha512-WvTZlI9ab0QYtTYnuMLgobULWhokRjtC7db9LtcVfJ+Hsnyr5eo6ZtNAt3Ly24XZScGMelOcGtm7lSn0332tPQ==", - "requires": { - "@types/whatwg-url": "^8.2.1", - "whatwg-url": "^11.0.0" - } - }, - "tr46": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", - "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", - "requires": { - "punycode": "^2.1.1" - } - }, - "webidl-conversions": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", - "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==" - }, - "whatwg-url": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", - "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", + "@mongodb-js/connection-info": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@mongodb-js/connection-info/-/connection-info-0.4.1.tgz", + "integrity": "sha512-QFy5vJFssQSIMMLLzKuwXs7zcRKyLbYaUge6fCVi59gwe4RZEcMlUOFKWf44Et6Y5qAOqhyZGj68XBf6lMgfjw==", "requires": { - "tr46": "^3.0.0", - "webidl-conversions": "^7.0.0" + "lodash": "^4.17.21", + "mongodb": "^6.7.0", + "mongodb-connection-string-url": "^3.0.1", + "mongodb-data-service": "^22.21.1" } } } @@ -28018,18 +27962,6 @@ "@types/react-dom": "<18.0.0" } }, - "@testing-library/react-hooks": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-7.0.2.tgz", - "integrity": "sha512-dYxpz8u9m4q1TuzfcUApqi8iFfR6R0FaMbr2hjZJy1uC8z+bO/K4v8Gs9eogGKYQop7QsrBTFkv/BCF7MzD2Cg==", - "requires": { - "@babel/runtime": "^7.12.5", - "@types/react": ">=16.9.0", - "@types/react-dom": ">=16.9.0", - "@types/react-test-renderer": ">=16.9.0", - "react-error-boundary": "^3.1.0" - } - }, "@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", @@ -28330,6 +28262,7 @@ "version": "17.0.25", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.25.tgz", "integrity": "sha512-urx7A7UxkZQmThYA4So0NelOVjx3V4rNFVJwp0WZlbIK5eM4rNJDiN3R/E9ix0MBh6kAEojk/9YL+Te6D9zHNA==", + "devOptional": true, "requires": { "@types/react": "^17" } @@ -28342,14 +28275,6 @@ "@types/react": "*" } }, - "@types/react-test-renderer": { - "version": "18.0.7", - "resolved": "https://registry.npmjs.org/@types/react-test-renderer/-/react-test-renderer-18.0.7.tgz", - "integrity": "sha512-1+ANPOWc6rB3IkSnElhjv6VLlKg2dSv/OWClUyZimbLsQyBn8Js9Vtdsi3UICJ2rIQ3k2la06dkB+C92QfhKmg==", - "requires": { - "@types/react": "*" - } - }, "@types/react-transition-group": { "version": "4.4.10", "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz", @@ -30019,32 +29944,13 @@ "integrity": "sha512-w2IquM5mYzYZv6rs3uN2DZTOBe2a0zXLj53TGDqwF4l6Sz/XsISrisXOJihArF9+BZ6Cq/GjVht7Sjfmri7ytQ==" }, "bson-transpilers": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/bson-transpilers/-/bson-transpilers-2.2.0.tgz", - "integrity": "sha512-hiRRIwxQ0CYmmhBcfC2I7tS+kS7YFz+vXZ0GrRTiMzitSwOsMZwOYs6c31C1r85/rm1O+mcVV2UCwhhmgcooag==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/bson-transpilers/-/bson-transpilers-3.0.4.tgz", + "integrity": "sha512-0VOeQuGWw7oabpP0SHWZ/pkjZiToNT/wZWnsGTMQN0igliyJwDKDcXO5c+wQO9uBct6v+OtG8xSu1f8n188FHw==", "requires": { "antlr4": "4.7.2", - "bson": "^4.4.1", + "bson": "^6.2.0", "js-yaml": "^3.13.1" - }, - "dependencies": { - "bson": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.2.tgz", - "integrity": "sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==", - "requires": { - "buffer": "^5.6.0" - } - }, - "buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - } } }, "buffer": { @@ -30601,6 +30507,43 @@ "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true }, + "compass-preferences-model": { + "version": "2.23.1", + "resolved": "https://registry.npmjs.org/compass-preferences-model/-/compass-preferences-model-2.23.1.tgz", + "integrity": "sha512-5caVZHLPA4z32YKwYHZ6W/kGUkOVX84C3NNmA3+DulntO81YBjnArwNUVcXWWnYVhTDz08FNvp8LL3Xp7EDqDg==", + "requires": { + "@mongodb-js/compass-logging": "^1.3.1", + "@mongodb-js/compass-user-data": "^0.2.1", + "bson": "^6.7.0", + "hadron-app-registry": "^9.1.12", + "hadron-ipc": "^3.2.16", + "js-yaml": "^4.1.0", + "lodash": "^4.17.21", + "react": "^17.0.2", + "yargs-parser": "^21.1.1", + "zod": "^3.22.3" + }, + "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "requires": { + "argparse": "^2.0.1" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + } + } + }, "component-emitter": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", @@ -31646,9 +31589,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "ejson-shell-parser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ejson-shell-parser/-/ejson-shell-parser-2.0.0.tgz", - "integrity": "sha512-6JF9J7RCxHRikBi5u9qAAHA0LleY3DKamqH5vwMVjSnlNAQJGTxfgl3z16/G9bxH7xZnHOg4w0XSgnFzTQ2QCg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ejson-shell-parser/-/ejson-shell-parser-2.0.1.tgz", + "integrity": "sha512-ZTDIeoRBWSrGgHMYlBn4PymQdtNCsnFUK/cSVwZREPNC3Mr+E3arO08DapVjBVDGTE08kkpqRll1Y+lwe5ZvCQ==", "requires": { "acorn": "^8.1.0" } @@ -34302,8 +34245,7 @@ "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==" }, "inflight": { "version": "1.0.6", @@ -38509,14 +38451,6 @@ "scheduler": "^0.20.2" } }, - "react-error-boundary": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-3.1.4.tgz", - "integrity": "sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==", - "requires": { - "@babel/runtime": "^7.12.5" - } - }, "react-hotkeys-hook": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/react-hotkeys-hook/-/react-hotkeys-hook-4.4.1.tgz", @@ -38553,7 +38487,7 @@ "version": "16.15.0", "resolved": "https://registry.npmjs.org/react-shallow-renderer/-/react-shallow-renderer-16.15.0.tgz", "integrity": "sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==", - "devOptional": true, + "dev": true, "requires": { "object-assign": "^4.1.1", "react-is": "^16.12.0 || ^17.0.0 || ^18.0.0" @@ -38563,7 +38497,7 @@ "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-17.0.2.tgz", "integrity": "sha512-yaQ9cB89c17PUb0x6UfWRs7kQCorVdHlutU1boVPEsB8IDZH6n9tHxMacc3y0JoXOJUsZb/t/Mb8FUWMKaM7iQ==", - "devOptional": true, + "dev": true, "requires": { "object-assign": "^4.1.1", "react-is": "^17.0.2", @@ -40370,9 +40304,9 @@ "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" }, "style-mod": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.0.tgz", - "integrity": "sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA==" + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.2.tgz", + "integrity": "sha512-wnD1HyVqpJUI2+eKZ+eo1UwghftP6yuFheBqqe+bWCotBjC2K1YnteJILRMs3SM4V/0dLEW1SC27MWP5y+mwmw==" }, "stylis": { "version": "4.2.0", @@ -41905,6 +41839,11 @@ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true + }, + "zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==" } } } diff --git a/package.json b/package.json index 92d9fc087..ec437816e 100644 --- a/package.json +++ b/package.json @@ -1079,7 +1079,7 @@ "@babel/parser": "^7.24.6", "@babel/traverse": "^7.24.6", "@mongodb-js/compass-components": "^1.25.0", - "@mongodb-js/connection-form": "^1.22.2", + "@mongodb-js/connection-form": "^1.31.0", "@mongodb-js/connection-info": "^0.1.2", "@mongodb-js/mongodb-constants": "^0.10.2", "@mongosh/browser-runtime-electron": "^2.1.1", @@ -1088,7 +1088,7 @@ "@mongosh/shell-api": "^2.1.1", "@segment/analytics-node": "^1.3.0", "bson": "^6.7.0", - "bson-transpilers": "^2.2.0", + "bson-transpilers": "^3.0.4", "debug": "^4.3.5", "dotenv": "^16.4.5", "lodash": "^4.17.21",