Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-client-encryption

Package Overview
Dependencies
Maintainers
6
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-client-encryption - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

CHANGELOG.md

@@ -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 @@

3

lib/autoEncrypter.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc