mongodb-memory-server-core
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [5.0.3](https://github.com/nodkz/mongodb-memory-server/compare/v5.0.2...v5.0.3) (2019-04-14) | ||
### Bug Fixes | ||
* **downloadUrl:** elementaryOS support fixed for versions up to 0.3 ([232c33f](https://github.com/nodkz/mongodb-memory-server/commit/232c33f)) | ||
## [5.0.2](https://github.com/nodkz/mongodb-memory-server/compare/v5.0.1...v5.0.2) (2019-04-11) | ||
@@ -8,0 +19,0 @@ |
@@ -42,2 +42,3 @@ "use strict"; | ||
var getos_1 = __importDefault(require("getos")); | ||
var child_process_1 = require("child_process"); | ||
var MongoBinaryDownloadUrl = /** @class */ (function () { | ||
@@ -223,3 +224,4 @@ function MongoBinaryDownloadUrl(_a) { | ||
MongoBinaryDownloadUrl.prototype.getElementaryOSVersionString = function (os) { | ||
return 'ubuntu1404'; | ||
var ubuntuVersion = child_process_1.execSync('/usr/bin/lsb_release -u -rs'); | ||
return "ubuntu" + ubuntuVersion.toString().replace('.', ''); | ||
}; | ||
@@ -226,0 +228,0 @@ // eslint-disable-next-line @typescript-eslint/no-unused-vars |
{ | ||
"name": "mongodb-memory-server-core", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"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.", | ||
@@ -53,3 +53,3 @@ "main": "lib/index", | ||
}, | ||
"gitHead": "e09c70498b566a21a753ef8c36302d301ea7a276" | ||
"gitHead": "4dd4cb1935401a436e3f65ebd220c18c34e71ccd" | ||
} |
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
157986
2203
5