Socket
Socket
Sign inDemoInstall

mongodb-memory-server-core

Package Overview
Dependencies
Maintainers
2
Versions
273
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 10.1.1 to 10.1.2

24

lib/util/MongoBinaryDownloadUrl.js

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

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