From b5c5a3c233495a6e70b449edc61cb8bf17c12ccc Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Wed, 27 Jul 2022 14:46:37 +0200 Subject: [PATCH] chore(deps): bump driver to 4.8.1 (#1327) --- package-lock.json | 14 +++++----- package.json | 2 +- packages/arg-parser/package-lock.json | 14 +++++----- .../service-provider-core/package-lock.json | 28 +++++++++---------- packages/service-provider-core/package.json | 4 +-- .../service-provider-server/package-lock.json | 28 +++++++++---------- packages/service-provider-server/package.json | 4 +-- .../src/field-level-encryption.spec.ts | 2 +- packages/types/package-lock.json | 14 +++++----- 9 files changed, 55 insertions(+), 55 deletions(-) diff --git a/package-lock.json b/package-lock.json index 952e07058..156e0ce68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,7 @@ "karma-typescript": "^5.5.1", "lerna": "^4.0.0", "mocha": "^7.1.2", - "mongodb": "^4.8.0", + "mongodb": "^4.8.1", "mongodb-download-url": "^1.2.2", "mongodb-js-precommit": "^2.0.0", "nock": "^13.0.11", @@ -16806,9 +16806,9 @@ } }, "node_modules/mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "dev": true, "dependencies": { "bson": "^4.6.5", @@ -41346,9 +41346,9 @@ } }, "mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "dev": true, "requires": { "bson": "^4.6.5", diff --git a/package.json b/package.json index ac9ca942f..6a48be252 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "karma-typescript": "^5.5.1", "lerna": "^4.0.0", "mocha": "^7.1.2", - "mongodb": "^4.8.0", + "mongodb": "^4.8.1", "mongodb-download-url": "^1.2.2", "mongodb-js-precommit": "^2.0.0", "nock": "^13.0.11", diff --git a/packages/arg-parser/package-lock.json b/packages/arg-parser/package-lock.json index dc19d078c..59fb50c73 100644 --- a/packages/arg-parser/package-lock.json +++ b/packages/arg-parser/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-dev.0", "license": "Apache-2.0", "dependencies": { - "mongodb": "^4.8.0", + "mongodb": "^4.8.1", "mongodb-connection-string-url": "^2.5.2" }, "devDependencies": { @@ -211,9 +211,9 @@ "optional": true }, "node_modules/mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "dependencies": { "bson": "^4.6.5", "denque": "^2.0.1", @@ -571,9 +571,9 @@ "optional": true }, "mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "requires": { "bson": "^4.6.5", "denque": "^2.0.1", diff --git a/packages/service-provider-core/package-lock.json b/packages/service-provider-core/package-lock.json index 32cc1695a..5659ef620 100644 --- a/packages/service-provider-core/package-lock.json +++ b/packages/service-provider-core/package-lock.json @@ -10,14 +10,14 @@ "license": "Apache-2.0", "dependencies": { "bson": "^4.6.5", - "mongodb": "^4.8.0", + "mongodb": "^4.8.1", "mongodb-build-info": "^1.2.0" }, "engines": { "node": ">=14.15.1" }, "optionalDependencies": { - "mongodb-client-encryption": "^2.2.0-alpha.4" + "mongodb-client-encryption": "^2.2.0-alpha.5" } }, "node_modules/@types/node": { @@ -274,9 +274,9 @@ "optional": true }, "node_modules/mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "dependencies": { "bson": "^4.6.5", "denque": "^2.0.1", @@ -299,9 +299,9 @@ } }, "node_modules/mongodb-client-encryption": { - "version": "2.2.0-alpha.4", - "resolved": "https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-2.2.0-alpha.4.tgz", - "integrity": "sha512-weJtyPiJlibOTO630O+tBDr1qgrnzUspsVpHlP1CwPLocXDBHbAFAV/GgUESHPOmuq+M95teiQZ1wq3tuWtotw==", + "version": "2.2.0-alpha.5", + "resolved": "https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-2.2.0-alpha.5.tgz", + "integrity": "sha512-vkMbDi80fBMhh22tO/vd3nBibZ4EK6dMSRO1nrw1bM4EgTeo80soROHjBZq5BNtS5iAZle/V2/JqHlaBjrWQJg==", "hasInstallScript": true, "optional": true, "dependencies": { @@ -846,9 +846,9 @@ "optional": true }, "mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "requires": { "bson": "^4.6.5", "denque": "^2.0.1", @@ -866,9 +866,9 @@ } }, "mongodb-client-encryption": { - "version": "2.2.0-alpha.4", - "resolved": "https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-2.2.0-alpha.4.tgz", - "integrity": "sha512-weJtyPiJlibOTO630O+tBDr1qgrnzUspsVpHlP1CwPLocXDBHbAFAV/GgUESHPOmuq+M95teiQZ1wq3tuWtotw==", + "version": "2.2.0-alpha.5", + "resolved": "https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-2.2.0-alpha.5.tgz", + "integrity": "sha512-vkMbDi80fBMhh22tO/vd3nBibZ4EK6dMSRO1nrw1bM4EgTeo80soROHjBZq5BNtS5iAZle/V2/JqHlaBjrWQJg==", "optional": true, "requires": { "bindings": "^1.5.0", diff --git a/packages/service-provider-core/package.json b/packages/service-provider-core/package.json index a35046baf..d60f784e4 100644 --- a/packages/service-provider-core/package.json +++ b/packages/service-provider-core/package.json @@ -35,11 +35,11 @@ "dependencies": { "@mongosh/errors": "0.0.0-dev.0", "bson": "^4.6.5", - "mongodb": "^4.8.0", + "mongodb": "^4.8.1", "mongodb-build-info": "^1.2.0" }, "optionalDependencies": { - "mongodb-client-encryption": "^2.2.0-alpha.4" + "mongodb-client-encryption": "^2.2.0-alpha.5" }, "dependency-check": { "entries": [ diff --git a/packages/service-provider-server/package-lock.json b/packages/service-provider-server/package-lock.json index 497c35642..867ce8c90 100644 --- a/packages/service-provider-server/package-lock.json +++ b/packages/service-provider-server/package-lock.json @@ -12,7 +12,7 @@ "@mongodb-js/devtools-connect": "^1.4.3", "@types/sinon-chai": "^3.2.3", "aws4": "^1.11.0", - "mongodb": "^4.8.0", + "mongodb": "^4.8.1", "mongodb-connection-string-url": "^2.5.2", "saslprep": "mongodb-js/saslprep#v1.0.4" }, @@ -21,7 +21,7 @@ }, "optionalDependencies": { "kerberos": "^2.0.0", - "mongodb-client-encryption": "^2.2.0-alpha.4" + "mongodb-client-encryption": "^2.2.0-alpha.5" } }, "node_modules/@mongodb-js/devtools-connect": { @@ -489,9 +489,9 @@ "optional": true }, "node_modules/mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "dependencies": { "bson": "^4.6.5", "denque": "^2.0.1", @@ -506,9 +506,9 @@ } }, "node_modules/mongodb-client-encryption": { - "version": "2.2.0-alpha.4", - "resolved": "https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-2.2.0-alpha.4.tgz", - "integrity": "sha512-weJtyPiJlibOTO630O+tBDr1qgrnzUspsVpHlP1CwPLocXDBHbAFAV/GgUESHPOmuq+M95teiQZ1wq3tuWtotw==", + "version": "2.2.0-alpha.5", + "resolved": "https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-2.2.0-alpha.5.tgz", + "integrity": "sha512-vkMbDi80fBMhh22tO/vd3nBibZ4EK6dMSRO1nrw1bM4EgTeo80soROHjBZq5BNtS5iAZle/V2/JqHlaBjrWQJg==", "hasInstallScript": true, "optional": true, "dependencies": { @@ -1449,9 +1449,9 @@ "optional": true }, "mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "requires": { "bson": "^4.6.5", "denque": "^2.0.1", @@ -1461,9 +1461,9 @@ } }, "mongodb-client-encryption": { - "version": "2.2.0-alpha.4", - "resolved": "https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-2.2.0-alpha.4.tgz", - "integrity": "sha512-weJtyPiJlibOTO630O+tBDr1qgrnzUspsVpHlP1CwPLocXDBHbAFAV/GgUESHPOmuq+M95teiQZ1wq3tuWtotw==", + "version": "2.2.0-alpha.5", + "resolved": "https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-2.2.0-alpha.5.tgz", + "integrity": "sha512-vkMbDi80fBMhh22tO/vd3nBibZ4EK6dMSRO1nrw1bM4EgTeo80soROHjBZq5BNtS5iAZle/V2/JqHlaBjrWQJg==", "optional": true, "requires": { "bindings": "^1.5.0", diff --git a/packages/service-provider-server/package.json b/packages/service-provider-server/package.json index e5f07824b..6285526fa 100644 --- a/packages/service-provider-server/package.json +++ b/packages/service-provider-server/package.json @@ -50,12 +50,12 @@ "@mongosh/types": "0.0.0-dev.0", "@types/sinon-chai": "^3.2.3", "aws4": "^1.11.0", - "mongodb": "^4.8.0", + "mongodb": "^4.8.1", "mongodb-connection-string-url": "^2.5.2", "saslprep": "mongodb-js/saslprep#v1.0.4" }, "optionalDependencies": { - "mongodb-client-encryption": "^2.2.0-alpha.4", + "mongodb-client-encryption": "^2.2.0-alpha.5", "kerberos": "^2.0.0" } } diff --git a/packages/shell-api/src/field-level-encryption.spec.ts b/packages/shell-api/src/field-level-encryption.spec.ts index afd0ff8c0..ec6ca3a42 100644 --- a/packages/shell-api/src/field-level-encryption.spec.ts +++ b/packages/shell-api/src/field-level-encryption.spec.ts @@ -410,7 +410,7 @@ describe('Field Level Encryption', () => { }); describe('rewrapManyDataKey', () => { it('calls rewrapManyDataKey on clientEncryption', async() => { - const rawResult = { result: 1 }; + const rawResult = { result: 1 } as any; libmongoc.rewrapManyDataKey.resolves(rawResult); const result = await keyVault.rewrapManyDataKey({ status: 0 }, { provider: 'local' }); expect(libmongoc.rewrapManyDataKey).calledOnceWithExactly({ status: 0 }, { provider: 'local' }); diff --git a/packages/types/package-lock.json b/packages/types/package-lock.json index 758f392ac..9c3bc3310 100644 --- a/packages/types/package-lock.json +++ b/packages/types/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@mongodb-js/devtools-connect": "^1.4.3", - "mongodb": "^4.8.0" + "mongodb": "^4.8.1" }, "engines": { "node": ">=14.15.1" @@ -201,9 +201,9 @@ "optional": true }, "node_modules/mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "dependencies": { "bson": "^4.6.5", "denque": "^2.0.1", @@ -543,9 +543,9 @@ "optional": true }, "mongodb": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", - "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.1.tgz", + "integrity": "sha512-/NyiM3Ox9AwP5zrfT9TXjRKDJbXlLaUDQ9Rg//2lbg8D2A8GXV0VidYYnA/gfdK6uwbnL4FnAflH7FbGw3TS7w==", "requires": { "bson": "^4.6.5", "denque": "^2.0.1",