mongodb-memory-server-core
Advanced tools
Comparing version 10.1.1 to 10.1.2
@@ -271,19 +271,24 @@ "use strict"; | ||
getFedoraVersionString(os) { | ||
let name = 'rhel'; | ||
const fedoraVer = parseInt(os.release, 10); | ||
const rhelOS = { | ||
os: 'linux', | ||
dist: 'rhel', | ||
// fallback to 8.0 | ||
release: '8.0', | ||
}; | ||
// 36 and onwards dont ship with libcrypto.so.1.1 anymore and need to be manually installed ("openssl1.1") | ||
// 34 onward dosnt have "compat-openssl10" anymore, and only build from 4.0.24 are available for "rhel80" | ||
if (fedoraVer >= 34) { | ||
name += '80'; | ||
rhelOS.release = '8.0'; | ||
} | ||
if (fedoraVer < 34 && fedoraVer >= 19) { | ||
name += '70'; | ||
else if (fedoraVer >= 19) { | ||
rhelOS.release = '7.0'; | ||
} | ||
if (fedoraVer < 19 && fedoraVer >= 12) { | ||
name += '62'; | ||
else if (fedoraVer >= 12) { | ||
rhelOS.release = '6.2'; | ||
} | ||
if (fedoraVer < 12 && fedoraVer >= 6) { | ||
name += '55'; | ||
else if (fedoraVer >= 6) { | ||
rhelOS.release = '5.5'; | ||
} | ||
return name; | ||
return this.getRhelVersionString(rhelOS); | ||
} | ||
@@ -322,2 +327,3 @@ /** | ||
if (semver.satisfies(releaseAsSemver, '>=9.0.0')) { | ||
// there are only binaries for rhel90 since 6.0.4 | ||
name += '90'; | ||
@@ -324,0 +330,0 @@ } |
{ | ||
"name": "mongodb-memory-server-core", | ||
"version": "10.1.1", | ||
"version": "10.1.2", | ||
"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.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
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
399859
5826