Socket
Socket
Sign inDemoInstall

mongodb-memory-server-core

Package Overview
Dependencies
Maintainers
2
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-memory-server-core - npm Package Compare versions

Comparing version 9.1.7 to 9.1.8

12

lib/util/MongoBinaryDownloadUrl.js

@@ -227,3 +227,6 @@ "use strict";

const isTesting = ['unstable', 'testing', ''].includes(os.release);
if (isTesting || release >= 11) {
if (isTesting || release >= 12) {
name += '12';
}
else if (release >= 11) {
// Debian 11 is compatible with the binaries for debian 10

@@ -252,3 +255,8 @@ // but does not have binaries for before 5.0.8

}
if (isTesting || release >= 10) {
if (isTesting || release >= 12) {
if (semver.lt(coercedVersion, '7.0.3') && !testVersionIsLatest(this.version)) {
throw new errors_1.KnownVersionIncompatibilityError(`Debian ${release || os.release || os.codename}`, this.version, '>=7.0.3', 'Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release');
}
}
else if (release >= 10) {
if (semver.lt(coercedVersion, '4.2.1') && !testVersionIsLatest(this.version)) {

@@ -255,0 +263,0 @@ throw new errors_1.KnownVersionIncompatibilityError(`Debian ${release || os.release || os.codename}`, this.version, '>=4.2.1', 'Mongodb does not provide binaries for versions before 4.2.1 for Debian 10+ and also cannot be mapped to a previous Debian release');

4

package.json
{
"name": "mongodb-memory-server-core",
"version": "9.1.7",
"version": "9.1.8",
"description": "MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.",

@@ -49,3 +49,3 @@ "main": "lib/index",

"find-cache-dir": "^3.3.2",
"follow-redirects": "^1.15.3",
"follow-redirects": "^1.15.6",
"https-proxy-agent": "^7.0.2",

@@ -52,0 +52,0 @@ "mongodb": "^5.9.1",

Sorry, the diff of this file is not supported yet

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