Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-download

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-download - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

test/MongoDBPlatform-DebianTest.js

10

built/mongodb-download.js

@@ -13,3 +13,3 @@ "use strict";

var md5File = require('md5-file');
var DOWNLOAD_URI = "https://fastdl.mongodb.org";
var DOWNLOAD_URI = "http://downloads.mongodb.org";
var MONGODB_VERSION = "latest";

@@ -477,3 +477,7 @@ var MongoDBDownload = (function () {

var name = "debian";
if (/^(7|8)/.test(os.release)) {
var release = parseFloat(os.release);
if (release >= 8.1) {
name += "81";
}
else if (release >= 7.1) {
name += "71";

@@ -573,3 +577,3 @@ }

return "linux";
case "elementary OS":
case "elementary OS"://os.platform() doesn't return linux for elementary OS.
return "linux";

@@ -576,0 +580,0 @@ case "sunos":

{
"name": "mongodb-download",
"version": "2.2.3",
"version": "2.2.4",
"description": "download mongodb prebuilt packages from mongodb",

@@ -5,0 +5,0 @@ "main": "built/mongodb-download.js",

@@ -12,3 +12,3 @@ const os: any = require('os');

const DOWNLOAD_URI: string = "https://fastdl.mongodb.org";
const DOWNLOAD_URI: string = "http://downloads.mongodb.org";
const MONGODB_VERSION: string = "latest";

@@ -515,6 +515,9 @@

}
getDebianVersionString(os: any): string {
let name: string = "debian";
if (/^(7|8)/.test(os.release)) {
let release: number = parseFloat(os.release);
if (release >= 8.1) {
name += "81";
} else if (release >= 7.1) {
name += "71";

@@ -521,0 +524,0 @@ } else {

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