Socket
Socket
Sign inDemoInstall

mongodb-memory-server-core

Package Overview
Dependencies
Maintainers
2
Versions
270
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 8.12.0 to 8.12.1

4

lib/util/errors.js

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

3

lib/util/MongoInstance.js

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

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