mongodb-client-encryption
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -5,2 +5,4 @@ # Changelog | ||
### [2.2.1](https://github.com/mongodb/libmongocrypt/compare/node-v2.2.0...node-v2.2.1) (2022-09-12) | ||
## [2.2.0](https://github.com/mongodb/libmongocrypt/compare/node-v2.2.0-alpha.6...node-v2.2.0) (2022-08-10) | ||
@@ -7,0 +9,0 @@ |
@@ -11,2 +11,3 @@ 'use strict'; | ||
const MongoError = modules.mongodb.MongoError; | ||
const BSON = modules.mongodb.BSON; | ||
const cryptoCallbacks = require('./cryptoCallbacks'); | ||
@@ -95,3 +96,3 @@ | ||
this._client = client; | ||
this._bson = options.bson || client.topology.bson; | ||
this._bson = options.bson || BSON || client.topology.bson; | ||
this._bypassEncryption = options.bypassAutoEncryption === true; | ||
@@ -98,0 +99,0 @@ |
@@ -10,2 +10,3 @@ 'use strict'; | ||
const StateMachine = modules.stateMachine.StateMachine; | ||
const BSON = modules.mongodb.BSON; | ||
const cryptoCallbacks = require('./cryptoCallbacks'); | ||
@@ -103,3 +104,3 @@ const { promisify } = require('util'); | ||
this._client = client; | ||
this._bson = options.bson || client.topology.bson; | ||
this._bson = options.bson || BSON || client.topology.bson; | ||
this._proxyOptions = options.proxyOptions; | ||
@@ -106,0 +107,0 @@ this._tlsOptions = options.tlsOptions; |
{ | ||
"name": "mongodb-client-encryption", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Official client encryption module for the MongoDB Node.js driver", | ||
@@ -43,3 +43,2 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"bson": "^4.6.4", | ||
"chai": "^4.3.6", | ||
@@ -55,3 +54,3 @@ "chai-subset": "^1.6.0", | ||
"mocha": "^9.2.0", | ||
"mongodb": "^4.6.0", | ||
"mongodb": "^4.9.0", | ||
"node-gyp": "^8.4.1", | ||
@@ -58,0 +57,0 @@ "prebuild": "^11.0.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176901
18
2208