@mongosh/service-provider-node-driver 3.5.0 → 3.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongosh/service-provider-node-driver",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "MongoDB Shell Server Service Provider Package",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -48,14 +48,12 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@mongodb-js/devtools-connect": "^3.4.1",
51
- "@mongodb-js/oidc-plugin": "^1.1.5",
51
+ "@mongodb-js/oidc-plugin": "^1.1.6",
52
52
  "@mongosh/errors": "2.4.0",
53
- "@mongosh/service-provider-core": "3.0.5",
54
- "@mongosh/types": "3.5.0",
53
+ "@mongosh/service-provider-core": "3.1.0",
54
+ "@mongosh/types": "3.6.0",
55
55
  "aws4": "^1.12.0",
56
- "kerberos": "2.1.0",
57
- "mongodb": "^6.13.0",
58
- "mongodb-client-encryption": "^6.1.1",
56
+ "mongodb": "^6.14.2",
59
57
  "mongodb-connection-string-url": "^3.0.1",
60
58
  "socks": "^2.8.3"
61
59
  },
@@ -72,5 +70,5 @@
72
70
  "eslint": "^7.25.0",
73
71
  "prettier": "^2.8.8"
74
72
  },
75
- "gitHead": "4a09f590a638f320b1809a9a483172b21e222417"
73
+ "gitHead": "c21eacff12e630a42eda406cb350b1c2a66fe356"
76
74
  }
@@ -422,7 +422,13 @@ describe('NodeDriverServiceProvider', function () {
422
422
  describe('#replaceOne', function () {
423
423
  const filter = { name: 'Aphex Twin' };
424
424
  const replacement = { name: 'Richard James' };
425
- const commandResult = { result: { n: 1, ok: 1 } };
425
+ const commandResult = {
426
+ acknowledged: true,
427
+ matchedCount: 1,
428
+ modifiedCount: 1,
429
+ upsertedCount: 0,
430
+ upsertedId: null,
431
+ };
426
432
 
427
433
  beforeEach(function () {
428
434
  collectionStub = stubInterface<Collection>();