mongodb-memory-server-core
Advanced tools
Comparing version 8.12.0 to 8.12.1
@@ -196,2 +196,6 @@ "use strict"; | ||
} | ||
if (process.platform === 'win32' && (code !== null && code !== void 0 ? code : 0) > 1000000000) { | ||
this.message += | ||
'\nExit Code is large, commonly meaning that vc_redist is not installed, the latest vc_redist can be found at https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170'; | ||
} | ||
} | ||
@@ -198,0 +202,0 @@ } |
@@ -286,3 +286,4 @@ "use strict"; | ||
// https://docs.mongodb.com/manual/reference/exit-codes/#12 | ||
if ((process.platform === 'win32' && code != 12 && code != 0) || code != 0) { | ||
if ((process.platform === 'win32' && code != 12 && code != 0) || | ||
(process.platform !== 'win32' && code != 0)) { | ||
this.debug('closeHandler: Mongod instance closed with an non-0 (or non 12 on windows) code!'); | ||
@@ -289,0 +290,0 @@ // Note: this also emits when a signal is present, which is expected because signals are not expected here |
{ | ||
"name": "mongodb-memory-server-core", | ||
"version": "8.12.0", | ||
"version": "8.12.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
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
380404
5490