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

mongodb-memory-server-global-4.2

Package Overview
Dependencies
Maintainers
2
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-memory-server-global-4.2 - npm Package Versions

1
2022

7.0.0-beta.4

Diff

Changelog

Source

7.0.0-beta.4 (2020-10-12)

Fixes

  • -global: change "mongodb_version" to latest patch version (adcbdcf)
  • MongoBinary: change "LATEST_VERSION" to latest patch version "4.0.20" (23e6eaa)
  • MongoMemoryReplSet: _initReplSet: check if there is already an PRIMARY (a1c9264)

Refactor

  • postinstall: rename function "postInstall" to "postInstallEnsureBinary" (aca8262)
  • apply suggested changes (2a9aab7)
  • *index: use "tslib.__exportStar" (2e9faec)
  • postinstall: change all packages to depend on "core" (de41060), closes #378 #174
nodkz
published 6.9.2 •

Changelog

Source

6.9.2 (2020-10-09)

Bug Fixes

  • MongoBinaryDownloadUrl: add case for Linux Mint 20 (01a6bc6)
  • MongoBinaryDownloadUrl: detect "linuxmint" and "linux mint" as linux mint (fda4f72), closes #403
nodkz
published 7.0.0-beta.3 •

Changelog

Source

7.0.0-beta.3 (2020-10-08)

⚠ BREAKING CHANGES

  • MongoMemoryServer: remove function "getDbName", can be replaced with "instanceInfo.dbName"
  • MongoMemoryServer: remove function "getDbPath", can be replaced with "instanceInfo.dbPath"
  • MongoMemoryServer: remove function "getPort", can be replaced with "instanceInfo.port"
  • MongoInstance: change "start" to not reset "port" to "undefined"
  • MongoInstance: change "instanceOpts" to be readonly and Readonly change "binaryOpts" to be readonly and Readonly change "spawnOpts" to be readonly and Readonly
  • MongoMemoryServer: removing ".uri" because of function "getUri"
  • MongoMemoryServer: removing ".childProcess" because it is an alias for ".instance.childProcess"
  • MongoMemoryServer: remove option "autoStart" change "MongoMemoryServer.create" to always call "MongoMemoryServer.start"
  • MongoMemoryServer: change "MongoMemoryServer.getInstanceInfo" to return "undefined" instead of "false"
  • MongoMemoryServer: change "MongoMemoryServer.getUri" to be sync
  • MongoMemoryServer: remove deprecated function "getConnectionString" (replace with "getUri")
  • MongoMemoryServer: change "MongoMemoryServer.getDbName" to be sync
  • MongoMemoryServer: change "MongoMemoryServer.getDbPath" to be sync
  • MongoMemoryServer: change "MongoMemoryServer.getPort" to be sync
  • MongoMemoryServer: change "MongoMemoryServer.runningInstance" to be "undefined" instead of "null" change "MongoMemoryServer.instanceInfoSync" to be "undefined" instead of "null"

Features

  • MongoInstance: change options to be readonly (e599372)
  • MongoMemoryServer: add getter function "state" (c19493f)
  • MongoMemoryServer: extend EventEmitter (04ca3d7)
  • MongoMemoryServer: remove "MongoInstanceDataT.childProcess" (c71d8d4)
  • MongoMemoryServer: remove "StartupInstanceData.uri" (dec17a4)
  • MongoMemoryServer: remove deprecated function "getConnectionString" (198f4c0)
  • MongoMemoryServer: remove function "getDbName" (e2fc23f)
  • MongoMemoryServer: remove function "getDbPath" (2343771)
  • MongoMemoryServer: remove function "getPort" (5eb7017)
  • MongoMemoryServer: remove option "autoStart" (347085f)
  • MongoMemoryServer: rename function "getInstanceInfo" into "get instanceInfo" (ae8a9f8)

Reverts

  • "chore: remove unused file "tsconfig.test"" (cc053c7)

Style

  • MongoMemoryServer: remove comment & change log (b098941)

Fixes

  • db_util: killProcess: fix "SIGINT"-"SIGKILL" warn condition (4113d94)
  • MongoInstance: remove resetting "port" inside "start" (7861a6f), closes #393

Refactor

  • MongoMemoryReplSet: stop: reset "servers" after stopping them (0aa2293)
  • MongoMemoryServer: add sanity check to "stop" (8aff4ef)
  • MongoMemoryServer: always reset "port" to "undefined" (8ca0729)
  • MongoMemoryServer: change "_state" to be "protected" (b716c2c)
  • MongoMemoryServer: change "getDbName" to be sync (85a97e0)
  • MongoMemoryServer: change "getDbPath" to be sync (281fa1c)
  • MongoMemoryServer: change "getInstanceInfo" to return undefined (27349a3)
  • MongoMemoryServer: change "getPort" to be sync (e849f2c)
  • MongoMemoryServer: change "getUri" to be sync (5b53f03)
  • MongoMemoryServer: change "instanceInfo" to be "protected" (7390eee)
  • MongoMemoryServer: merge "runningInstance" and "instanceInfoSync" into "instanceInfo" (7642c75)
  • MongoMemoryServer: refactor "start" to be more readable (7fb31c1)
  • MongoMemoryServer: remove "await" from "getUriBase" call (ca536b6)
  • MongoMemoryServer: remove "null" use "undefined" (086abef)
  • MongoMemoryServer: remove call to "ensureInstance" inside "stop" (57801cf)
  • MongoMemoryServer: rename "instanceInfo" to "_instanceInfo" (d3ddcb4)
  • MongoMemoryServer: rename function "assertionInstanceInfoSync" to "assertionInstanceInfo" (03c8343)
  • MongoMemoryServer: shorten "getUri" (f1024e5)
  • MongoMemoryServer: start: remove first ".catch" (fafaa29)

Bug Fixes

  • types: remove alias "SpawnOptions" (8b963c5)
  • types: remove unused types (ab2944b)
  • remove unused file "deprecate" (bb3e0f4)
nodkz
published 6.9.1 •

Changelog

Source

6.9.1 (2020-10-07)

Bug Fixes

  • MongoBinaryDownloadUrl: fix win32 download generation (d62b489), closes #399
nodkz
published 7.0.0-beta.2 •

Changelog

Source

7.0.0-beta.30 (2021-03-14)

⚠ BREAKING CHANGES

  • utils: Default-export from "utils" got removed, import it now with "{ generateDbName }"

Fixes

  • MongoBinaryDownloadUrl: getDownloadUrl: try "DOWNLOAD_URL" before getArchiveName (7a8a4c3)
  • MongoBinaryUrl: getDownloadUrl: try to create an "URL" to check if the url is valid (25c865c)
  • utils: remove default export (102e4b0)
nodkz
published 7.0.0-beta.1 •

Changelog

Source

7.0.0-beta.1 (2020-10-01)

Bug Fixes

  • MongoInstance: reset "childProcess" and "killerProcess" after "kill" (49c710d)

Code Refactoring

  • MongoInstance: change "null" to "undefined" for "childProcess" & "killerProcess" (232b812)
  • MongoInstance: move "debug" into an private function (3d23d5b)
  • MongoInstance: replace "instanceReady" and "instanceFailed" with events (6925c45)
  • MongoMemoryReplSet: "_waitForPrimary" use new events (ed4b9e9)

Features

  • db_util: add function "assertion" (c059500)
  • MongoInstance: change root values of "MongodOpts" to be required (9779721)
  • MongoInstance: extend EventEmitter (10965c7), closes #365
  • MongoInstance: make "port" and "dbPath" required (749c3e3)
  • MongoInstance: outsource "MongodOpts.instance" (d9dd6f8)
  • MongoInstance: remove function "waitPrimaryReady" (1536dc2)
  • MongoInstance: rename interface "MongodOps" to "MongodOpts" (edd4d39)

BREAKING CHANGES

  • MongoInstance: changing "null" to "undefined" can break some code
  • MongoInstance: throwing an error if 2 values are now undefined/null can break some code
  • MongoInstance: removing the possibility to overwrite 2 functions this can break some use-cases
  • MongoInstance: removing an function can break some use-cases
  • MongoMemoryReplSet: "_waitForPrimary" now uses events instead of calling function "waitPrimaryReady"
  • MongoInstance: because of changing values to "required" this can break some use-cases
  • MongoInstance: removing the "dynamic" part can break some code with custom debug-logging
  • MongoInstance: because of the rename it can break some use-cases
nodkz
published 6.9.0 •

Changelog

Source

6.9.0 (2020-09-30)

Bug Fixes

  • MongoInstance: try "SIGKILL" after timeout (f2a06bc)
  • MongoMemoryReplSet: change "process.on" to "process.once" for "beforeExit" (0e07953)
  • MongoMemoryReplSet: remove "beforeExit" listener inside "stop" (c7328c9)
  • MongoMemoryServer: remove double check (b99f3a4)

Features

  • MongoInstance: warn if nodejs version is below "10.15.0" (8693b46), closes #379
  • MongoMemoryReplSet: deprecate "getConnectionString" (b088af2)
  • MongoMemoryServer: deprecate "getConnectionString" (9abf04f)
nodkz
published 6.9.0-beta.2 •

Changelog

Source

6.9.0-beta.2 (2020-09-30)

Features

  • MongoMemoryReplSet: deprecate "getConnectionString" (b088af2)
  • MongoMemoryServer: deprecate "getConnectionString" (9abf04f)
nodkz
published 6.9.0-beta.1 •

Changelog

Source

6.9.0-beta.1 (2020-09-29)

Bug Fixes

  • MongoInstance: try "SIGKILL" after timeout (f2a06bc)
  • MongoMemoryReplSet: change "process.on" to "process.once" for "beforeExit" (0e07953)
  • MongoMemoryReplSet: remove "beforeExit" listener inside "stop" (c7328c9)
  • MongoMemoryServer: remove double check (b99f3a4)

Features

  • MongoInstance: warn if nodejs version is below "10.15.0" (8693b46), closes #379
nodkz
published 6.8.1 •

Changelog

Source

6.8.1 (2020-09-28)

Bug Fixes

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