mongodb-memory-server-core
Advanced tools
Comparing version 9.0.0 to 9.0.1
@@ -186,3 +186,3 @@ "use strict"; | ||
constructor(version) { | ||
super(`Could not corece VERSION to a semver version (version: "${version}")`); | ||
super(`Could not coerce VERSION to a semver version (version: "${version}")`); | ||
this.version = version; | ||
@@ -189,0 +189,0 @@ } |
@@ -182,3 +182,3 @@ "use strict"; | ||
this.stopPromise = (async () => { | ||
if (!(0, utils_1.isNullOrUndefined)(this.mongodProcess)) { | ||
if (!(0, utils_1.isNullOrUndefined)(this.mongodProcess) && (0, utils_1.isAlive)(this.mongodProcess.pid)) { | ||
// try to run "shutdown" before running "killProcess" (gracefull "SIGINT") | ||
@@ -185,0 +185,0 @@ // using this, otherwise on windows nodejs will handle "SIGINT" & "SIGTERM" & "SIGKILL" the same (instant exit) |
{ | ||
"name": "mongodb-memory-server-core", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"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
377543
32