diff --git a/package-lock.json b/package-lock.json index 2e0a59245..f1d8b178a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12784,9 +12784,9 @@ } }, "node_modules/bson": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/bson/-/bson-6.8.0.tgz", - "integrity": "sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.9.0.tgz", + "integrity": "sha512-X9hJeyeM0//Fus+0pc5dSUMhhrrmWwQUtdavaQeF3Ta6m69matZkGWV/MrBcnwUeLC8W9kwwc2hfkZgUuCX3Ig==", "license": "Apache-2.0", "engines": { "node": ">=16.20.1" @@ -22836,9 +22836,9 @@ } }, "node_modules/mongodb": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.9.0.tgz", - "integrity": "sha512-UMopBVx1LmEUbW/QE0Hw18u583PEDVQmUmVzzBRH0o/xtE9DBRA5ZYLOjpLIa03i8FXjzvQECJcqoMvCXftTUA==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.10.0.tgz", + "integrity": "sha512-gP9vduuYWb9ZkDM546M+MP2qKVk5ZG2wPF63OvSRuUbqCR+11ZCAE1mOfllhlAG0wcoJY5yDL/rV3OmYEwXIzg==", "license": "Apache-2.0", "dependencies": { "@mongodb-js/saslprep": "^1.1.5", @@ -30953,7 +30953,7 @@ "@mongodb-js/tsconfig-mongosh": "^1.0.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "prettier": "^2.8.8" }, "engines": { @@ -31054,7 +31054,7 @@ "karma-mocha-reporter": "^2.2.5", "karma-typescript": "^5.5.4", "karma-webpack": "^5.0.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "path-browserify": "^1.0.1", "prettier": "^2.8.8", "prop-types": "^15.7.2", @@ -31175,7 +31175,7 @@ "@mongodb-js/prettier-config-devtools": "^1.0.1", "@mongodb-js/tsconfig-mongosh": "^1.0.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", "prettier": "^2.8.8", @@ -31328,7 +31328,7 @@ "chai-as-promised": "^7.1.1", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-crypt-library-dummy": "^1.0.2", "prettier": "^2.8.8", "webpack-merge": "^5.8.0" @@ -31385,13 +31385,13 @@ "@types/chai-as-promised": "^7.1.3", "@types/node": "^14.14.6", "@types/rimraf": "^3.0.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "chai-as-promised": "^7.1.1", "depcheck": "^1.4.7", "eslint": "^7.25.0", "lodash": "^4.17.21", "moment": "^2.29.1", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "node-fetch": "^3.3.2", "prettier": "^2.8.8", "rimraf": "^3.0.2" @@ -31720,7 +31720,7 @@ "@mongosh/service-provider-core": "0.0.0-dev.0", "@mongosh/service-provider-node-driver": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", "mocha": "^10.2.0", @@ -31739,8 +31739,8 @@ "dependencies": { "@aws-sdk/credential-providers": "^3.525.0", "@mongosh/errors": "0.0.0-dev.0", - "bson": "^6.8.0", - "mongodb": "^6.9.0", + "bson": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-build-info": "^1.7.2", "mongodb-connection-string-url": "^3.0.1" }, @@ -31770,7 +31770,7 @@ "@mongosh/service-provider-core": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", "aws4": "^1.12.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-connection-string-url": "^3.0.1", "socks": "^2.8.3" }, @@ -31841,10 +31841,10 @@ "@mongodb-js/prettier-config-devtools": "^1.0.1", "@mongodb-js/tsconfig-mongosh": "^1.0.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "prettier": "^2.8.8", "semver": "^7.5.3" }, @@ -31884,7 +31884,7 @@ "@mongosh/errors": "0.0.0-dev.0", "@mongosh/shell-api": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "cross-spawn": "^7.0.3", "escape-string-regexp": "^4.0.0", "joi": "^17.4.0", @@ -31918,7 +31918,7 @@ "@mongodb-js/tsconfig-mongosh": "^1.0.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "prettier": "^2.8.8" }, "engines": { @@ -37100,7 +37100,7 @@ "@mongosh/i18n": "0.0.0-dev.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-connection-string-url": "^3.0.1", "prettier": "^2.8.8" } @@ -37176,7 +37176,7 @@ "karma-mocha-reporter": "^2.2.5", "karma-typescript": "^5.5.4", "karma-webpack": "^5.0.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "numeral": "^2.0.6", "path-browserify": "^1.0.1", "prettier": "^2.8.8", @@ -37256,7 +37256,7 @@ "@mongosh/shell-api": "0.0.0-dev.0", "@mongosh/shell-evaluator": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", "prettier": "^2.8.8", @@ -37381,7 +37381,7 @@ "is-recoverable-error": "^1.0.3", "js-yaml": "^4.1.0", "macos-export-certificate-and-key": "^1.2.2", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-connection-string-url": "^3.0.1", "mongodb-crypt-library-dummy": "^1.0.2", "mongodb-crypt-library-version": "^1.0.5", @@ -37436,13 +37436,13 @@ "@types/chai-as-promised": "^7.1.3", "@types/node": "^14.14.6", "@types/rimraf": "^3.0.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "chai-as-promised": "^7.1.1", "depcheck": "^1.4.7", "eslint": "^7.25.0", "lodash": "^4.17.21", "moment": "^2.29.1", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "node-fetch": "^3.3.2", "prettier": "^2.8.8", "rimraf": "^3.0.2", @@ -37628,7 +37628,7 @@ "@mongosh/service-provider-core": "0.0.0-dev.0", "@mongosh/service-provider-node-driver": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", "interruptor": "^1.0.1", @@ -37648,10 +37648,10 @@ "@mongodb-js/prettier-config-devtools": "^1.0.1", "@mongodb-js/tsconfig-mongosh": "^1.0.0", "@mongosh/errors": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-build-info": "^1.7.2", "mongodb-client-encryption": "^6.1.0", "mongodb-connection-string-url": "^3.0.1", @@ -37674,7 +37674,7 @@ "depcheck": "^1.4.7", "eslint": "^7.25.0", "kerberos": "2.1.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-client-encryption": "^6.1.0", "mongodb-connection-string-url": "^3.0.1", "prettier": "^2.8.8", @@ -37693,10 +37693,10 @@ "@mongosh/i18n": "0.0.0-dev.0", "@mongosh/service-provider-core": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-redact": "^1.1.2", "prettier": "^2.8.8", "semver": "^7.5.3" @@ -37730,7 +37730,7 @@ "@mongosh/types": "0.0.0-dev.0", "@types/cross-spawn": "^6.0.2", "@types/tar": "^4.0.4", - "bson": "^6.8.0", + "bson": "^6.9.0", "cross-spawn": "^7.0.3", "depcheck": "^1.4.7", "escape-string-regexp": "^4.0.0", @@ -37750,7 +37750,7 @@ "@mongodb-js/tsconfig-mongosh": "^1.0.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "prettier": "^2.8.8" } }, @@ -42754,9 +42754,9 @@ } }, "bson": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/bson/-/bson-6.8.0.tgz", - "integrity": "sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==" + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.9.0.tgz", + "integrity": "sha512-X9hJeyeM0//Fus+0pc5dSUMhhrrmWwQUtdavaQeF3Ta6m69matZkGWV/MrBcnwUeLC8W9kwwc2hfkZgUuCX3Ig==" }, "buffer": { "version": "4.9.2", @@ -50400,9 +50400,9 @@ "dev": true }, "mongodb": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.9.0.tgz", - "integrity": "sha512-UMopBVx1LmEUbW/QE0Hw18u583PEDVQmUmVzzBRH0o/xtE9DBRA5ZYLOjpLIa03i8FXjzvQECJcqoMvCXftTUA==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.10.0.tgz", + "integrity": "sha512-gP9vduuYWb9ZkDM546M+MP2qKVk5ZG2wPF63OvSRuUbqCR+11ZCAE1mOfllhlAG0wcoJY5yDL/rV3OmYEwXIzg==", "requires": { "@mongodb-js/saslprep": "^1.1.5", "bson": "^6.7.0", diff --git a/packages/arg-parser/package.json b/packages/arg-parser/package.json index 28d6b66dd..fb5f1e68d 100644 --- a/packages/arg-parser/package.json +++ b/packages/arg-parser/package.json @@ -46,7 +46,7 @@ "@mongodb-js/tsconfig-mongosh": "^1.0.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "prettier": "^2.8.8" } } diff --git a/packages/browser-repl/package.json b/packages/browser-repl/package.json index 682a50213..7640c4f91 100644 --- a/packages/browser-repl/package.json +++ b/packages/browser-repl/package.json @@ -69,7 +69,7 @@ "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.18.6", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "@mongodb-js/compass-components": "*", "@mongodb-js/compass-editor": "*", "@mongodb-js/eslint-config-mongosh": "^1.0.0", diff --git a/packages/browser-runtime-core/package.json b/packages/browser-runtime-core/package.json index 5ac050940..2806aae0e 100644 --- a/packages/browser-runtime-core/package.json +++ b/packages/browser-runtime-core/package.json @@ -42,7 +42,7 @@ "@mongodb-js/prettier-config-devtools": "^1.0.1", "@mongodb-js/tsconfig-mongosh": "^1.0.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", "prettier": "^2.8.8", diff --git a/packages/cli-repl/package.json b/packages/cli-repl/package.json index ae7e4d19d..9d3c819ab 100644 --- a/packages/cli-repl/package.json +++ b/packages/cli-repl/package.json @@ -93,7 +93,7 @@ "yargs-parser": "^20.2.4" }, "devDependencies": { - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "@mongodb-js/eslint-config-mongosh": "^1.0.0", "@mongodb-js/prettier-config-devtools": "^1.0.1", "@mongodb-js/sbom-tools": "^0.7.0", diff --git a/packages/e2e-tests/package.json b/packages/e2e-tests/package.json index 130829be5..2b60cd517 100644 --- a/packages/e2e-tests/package.json +++ b/packages/e2e-tests/package.json @@ -39,13 +39,13 @@ "@types/chai-as-promised": "^7.1.3", "@types/node": "^14.14.6", "@types/rimraf": "^3.0.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "chai-as-promised": "^7.1.1", "depcheck": "^1.4.7", "eslint": "^7.25.0", "lodash": "^4.17.21", "moment": "^2.29.1", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "node-fetch": "^3.3.2", "prettier": "^2.8.8", "rimraf": "^3.0.2" diff --git a/packages/node-runtime-worker-thread/package.json b/packages/node-runtime-worker-thread/package.json index 5205581c9..0d682a30f 100644 --- a/packages/node-runtime-worker-thread/package.json +++ b/packages/node-runtime-worker-thread/package.json @@ -42,7 +42,7 @@ "@mongosh/service-provider-core": "0.0.0-dev.0", "@mongosh/service-provider-node-driver": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", "mocha": "^10.2.0", diff --git a/packages/service-provider-core/package.json b/packages/service-provider-core/package.json index 6f482ac01..2e2aad1e8 100644 --- a/packages/service-provider-core/package.json +++ b/packages/service-provider-core/package.json @@ -45,8 +45,8 @@ "dependencies": { "@aws-sdk/credential-providers": "^3.525.0", "@mongosh/errors": "0.0.0-dev.0", - "bson": "^6.8.0", - "mongodb": "^6.9.0", + "bson": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-build-info": "^1.7.2", "mongodb-connection-string-url": "^3.0.1" }, diff --git a/packages/service-provider-node-driver/package.json b/packages/service-provider-node-driver/package.json index 733cb7102..143c5eab3 100644 --- a/packages/service-provider-node-driver/package.json +++ b/packages/service-provider-node-driver/package.json @@ -53,7 +53,7 @@ "@mongosh/service-provider-core": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", "aws4": "^1.12.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "mongodb-connection-string-url": "^3.0.1", "socks": "^2.8.3" }, diff --git a/packages/shell-api/package.json b/packages/shell-api/package.json index b987ede8c..df069b6ea 100644 --- a/packages/shell-api/package.json +++ b/packages/shell-api/package.json @@ -52,10 +52,10 @@ "@mongodb-js/prettier-config-devtools": "^1.0.1", "@mongodb-js/tsconfig-mongosh": "^1.0.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "prettier": "^2.8.8", "semver": "^7.5.3" } diff --git a/packages/shell-api/src/shell-bson.spec.ts b/packages/shell-api/src/shell-bson.spec.ts index de656c6a7..93fda391a 100644 --- a/packages/shell-api/src/shell-bson.spec.ts +++ b/packages/shell-api/src/shell-bson.spec.ts @@ -774,6 +774,7 @@ describe('Shell BSON', function () { delete bsonProperties.getInc; // private delete bsonProperties.is; // private delete bsonProperties._fromString; // private + delete bsonProperties.validateHexString; // private try { expect(shellProperties).to.deep.equal(bsonProperties); diff --git a/packages/snippet-manager/package.json b/packages/snippet-manager/package.json index ced102cf0..ce30b6d89 100644 --- a/packages/snippet-manager/package.json +++ b/packages/snippet-manager/package.json @@ -39,7 +39,7 @@ "@mongosh/errors": "0.0.0-dev.0", "@mongosh/shell-api": "0.0.0-dev.0", "@mongosh/types": "0.0.0-dev.0", - "bson": "^6.8.0", + "bson": "^6.9.0", "cross-spawn": "^7.0.3", "escape-string-regexp": "^4.0.0", "joi": "^17.4.0", diff --git a/packages/types/package.json b/packages/types/package.json index b40fdd2e5..9391cc47f 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -46,7 +46,7 @@ "@mongodb-js/tsconfig-mongosh": "^1.0.0", "depcheck": "^1.4.7", "eslint": "^7.25.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "prettier": "^2.8.8" } }