mongodb-memory-server-core
Advanced tools
Comparing version 9.1.7 to 9.1.8
@@ -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'); |
{ | ||
"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
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
383753
5644
+ Added@types/node@22.5.5(transitive)
+ Addedb4a@1.6.6(transitive)
+ Addedbare-events@2.4.2(transitive)
- Removed@types/node@22.7.4(transitive)
- Removedb4a@1.6.7(transitive)
- Removedbare-events@2.5.0(transitive)
Updatedfollow-redirects@^1.15.6