New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongodb

Package Overview
Dependencies
Maintainers
5
Versions
627
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb - npm Package Compare versions

Comparing version 6.14.0 to 6.14.1

7

lib/cmap/auth/mongodb_oidc/machine_workflow.js

@@ -70,3 +70,8 @@ "use strict";

if (this.cache.hasAccessToken) {
return this.cache.getAccessToken();
const token = this.cache.getAccessToken();
// New connections won't have an access token so ensure we set here.
if (!connection.accessToken) {
connection.accessToken = token;
}
return token;
}

@@ -73,0 +78,0 @@ else {

2

package.json
{
"name": "mongodb",
"version": "6.14.0",
"version": "6.14.1",
"description": "The official MongoDB driver for Node.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -97,3 +97,8 @@ import { setTimeout } from 'timers/promises';

if (this.cache.hasAccessToken) {
return this.cache.getAccessToken();
const token = this.cache.getAccessToken();
// New connections won't have an access token so ensure we set here.
if (!connection.accessToken) {
connection.accessToken = token;
}
return token;
} else {

@@ -100,0 +105,0 @@ const token = await this.callback(credentials);

Sorry, the diff of this file is not supported yet

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