Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade mongodb-memory-server from 8.15.1 to 9.0.0 #137

Merged
merged 1 commit into from
Oct 28, 2023

Conversation

lholmquist
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade mongodb-memory-server from 8.15.1 to 9.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 6 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-10-06.
Release notes
Package name: mongodb-memory-server
  • 9.0.0 - 2023-10-06

    9.0.0 (2023-10-06)

    ⚠ BREAKING CHANGES

    • resolveConfig: Default binary version is now "6.0.9"

    • DryMongoBinary: "legacyHomeCache" has been renamed to "homeCache" when using "DryMongoBinary" directly

    • MongoMemoryReplSet: ReplSet option "auth" can now not be a boolean anymore, use as a object instead

    • Authentication now is only created when "{ enable: true }" is given
      also "disable" has been removed

    • MongoBinaryDownload: aliases for ".binaryOpts.*" have been removed, use ".binaryOpts.option" instead

    • ".cleanup(boolean)" is now no longer supported, use object options instead

    • ".stop(boolean)" is now no longer supported, use object options instead

    • tsconfig: potentially breaking change upgrading "target" to "es2020" in tsconfig

    • Lowest supported NodeJS version is now 14.0

    • MongoBinaryDownloadUrl::translateArch: "ia32" ("i386" / "i686") are now unsupported by mongodb-memory-server

    • tsconfig: potentially breaking change upgrading "target" to "es2019" in tsconfig

    • MongoInstance::checkErrorInLine: potentially breaking change not removing ", terminating" from error

    • MongoBinaryDownloadUrl::translatePlatform: potentially breaking change removing "sunos" from translation

    • tsconfig: update "target" to "es2019" (df41101)

    • tsconfig: update "target" to "es2020" (ff20382)

    Features

    • change authentication to only happen when "enable" is "true" (66a5ad3)
    • DryMongoBinary: rename "legacyHomeCache" to "homeCache" (eb7b691)
    • enable "MD5_CHECK" by default (26cc408)
    • merge "EnsureInstanceError" into "InstanceInfoError" (6962cbe)
    • merge "NoSystemBinaryFoundError" into "BinaryNotFoundError" (d4e4d63)
    • MongoBinaryDownload: remove aliases for "binaryOpts" (4bb3420)
    • MongoBinaryDownloadUrl::getUbuntuVersionString: handle falling back to default version better (8bf3d88)
    • MongoBinaryDownloadUrl::translateArch: remove ia32 translation and support (a827a28), closes #638
    • MongoBinaryDownloadUrl::translatePlatform: remove translation of "elementary OS" (ca75ef5)
    • MongoBinaryDownloadUrl::translatePlatform: remove translation of "sunos" (31060b2), closes #661
    • MongoBinaryDownloadUrl: add ability to overwrite distro used (f2b1c62), closes #753
    • MongoBinaryDownloadUrl: remove linux fallback binary (fe76b56), closes #761
    • MongoInstance::checkErrorInLine: dont remove ", terminating" from error (793aa0d), closes #664
    • MongoInstance::start: error when already having a "mongodProcess" defined (cb80073), closes #662
    • MongoInstance: remove storage engine "devnull" (6e38f99)
    • MongoInstance: remove storage engine "mmapv1" (f689bdd)
    • MongoMemoryReplSet: change "auth" to not be able to be a boolean anymore (0c6b574)
    • MongoMemoryServer: change "instance.auth" to not be manually set-able (840584b)
    • MongoMemoryServer: use storage engine "wiredTiger" if version is 7.0.0 or higher (952609b), closes #742
    • remove support for ".cleanup(boolean)" (9bff82e)
    • remove support for ".stop(boolean)" (f925498)
    • resolveConfig: update default binary version to 6.x (3f5d421)
    • set lowest supported nodejs version to 14.0 (edc3a31)
    • util: add module "getport" (4d139a2)

    Fixes

    • DryMongoBinary::generateOptions: actually use correct type for parameters (f099597)
    • getport: only run ".unref" if it exists (73c0c2e), closes #801
    • MongoBinaryDownload::makeMD5check: actually hash the content of the file, not the path (c71dbf3)
    • MongoBinaryDownload: change "_downloadingUrl" to be protected (67ae260)
    • MongoInstance::checkErrorinLine: add more info to "aborting after" error (12fca33)
    • MongoInstance::stop: handle "stop" being called multiple times while running (80e6cd8), closes #802
    • MongoInstance: change to call ".unref" on the mongodb process (59ec785), closes #696
    • MongoMemoryServer: add log for when "instance.auth" is "false" but "opts.auth" is also defined (7463fdc)
    • remove usage of "md5-file" (8096884)
    • remove usage of "uuid" package (e30209a)
    • replace "get-port" usage with "getport" module (9bffeea)

    Style

    • apply prettier 3.0.1 formatting (815a585)
    • DryMongoBinary: remove todo comment (08353b4)
    • MongoBinaryDownload: fix comment (49eb8fc)
    • MongoBinaryDownload: remove unused comment (ba26346)
    • MongoBinaryDownload: rename error variables from "e" to "err" (4bc2b22)
    • MongoBinaryDownloadUrl: update tsdoc comments (2c9c6fe)
    • MongoMemoryReplSet: rename error variables from "e" to "err" (99d556d)
    • MongoMemoryServer: remove todo comment (ea93afb)

    Refactor

    • MongoMemoryServer::CreateUserMongoDB: update "roles" to use from mongodb directly (274499a), closes #663

    Dependencies

    • @ google/semantic-release-replace-plugin: replace with semantic-release-replace-plugin (245a70f)
    • @ types/debug: upgrade to version 4.1.9 (73f265a)
    • @ types/follow-redirects: upgrade to version (27dd371)
    • @ types/jest: upgrade to version 29.5.5 (4f5d25d)
    • @ types/node: upgrade to version 14.18.63 (9cf137c)
    • @ types/semver: upgrade to version 7.5.3 (3942290)
    • @ types/tar-stream: upgrade to version 3.1.1 (b6ac2c9)
    • @ types/uuid: upgrade to version 9.0.0 (1a11854)
    • @ types/yauzl: upgrade to version 2.10.1 (ce856ec)
    • @ types/yazl: upgrade to version 2.4.3 (0191bb7)
    • @ typescript-eslint/*: upgrade to version 5.59.9 (a1bf489)
    • async-mutx: upgrade to version 0.4.0 (ddfebe5)
    • commitlint: upgrade to version 17.7.2 (60a5a30)
    • conventional-changelog-conventionalcommits: upgrade to version 6.1.0 (ebd01e3)
    • eslint-config-prettier: upgrade to version 9.0.0 (2e24d7a)
    • eslint: upgrade to version 8.50.0 (8076a48)
    • follow-redirects: upgrade to version 1.15.3 (b5a4cc6)
    • get-port: remove dependency (559328b)
    • https-proxy-agent: upgrade to version 7.0.2 (3f5f457)
    • husky: upgrade to version 8.0.3 (45deaca)
    • jest: upgrade to version 29.7.0 (90af566)
    • lint-staged: upgrade to version 13.2.3 (ed1df56)
    • md5-file: remove package (a941c8b)
    • mongodb: upgrade to version 5.9.0 (1e5deef)
    • prettier: upgrade to version 3.0.3 (1145757)
    • rimraf: upgrade to version 5.0.5 (a331189)
    • saslprep: add dev-dependency (db7455c)
    • semantic-release-replace-plugin: downgrade to version 1.2.0 (cacf945)
    • semantic-release-replace-plugin: downgrade to version 1.2.3 (3e52d32)
    • semantic-release-replace-plugin: upgrade to version 1.2.6 (4530214)
    • semantic-release: upgrade to version 19.0.5 (27e22a7)
    • semver: upgrade to version 7.5.1 (61d5ae8)
    • tar-stream: upgrade to version 3.0.0 (ad86aec)
    • ts-jest: upgrade to version 29.1.1 (7a82045)
    • tslib: upgrade to version 2.6.2 (ed17876)
    • typedoc: upgrade to version 0.24.8 (fefab38)
    • typescript: upgrade to version 5.0.4 (d531dde)
    • uuid: remove package (41b2551)

    Dev-Dependencies

    • saslprep: remove dev-dependency again (c3b4bdc)
  • 9.0.0-beta.4 - 2023-10-05

    9.0.0-beta.4 (2023-10-05)

    Dependencies

    • typedoc: add dev-dependency (f8c671c)
    • typedoc: upgrade to version 0.24.8 (fefab38)
  • 9.0.0-beta.3 - 2023-10-05
    Read more
  • 9.0.0-beta.2 - 2023-08-22

    9.0.0-beta.2 (2023-08-22)

    ⚠ BREAKING CHANGES

    • resolveConfig: Default binary version is now "6.0.9"

    Features

    • MongoMemoryServer: use storage engine "wiredTiger" if version is 7.0.0 or higher (952609b), closes #742
    • resolveConfig: update default binary version to 6.x (3f5d421)

    Fixes

    • DryMongoBinary::generateOptions: actually use correct type for parameters (f099597)

    Dependencies

    • jest: upgrade to version 29.6.3 (738c715)
    • mongodb: upgrade to version 5.8.0 (4bffe5a)
    • prettier: upgrade to version 3.0.2 (94f9841)
    • saslprep: add dev-dependency (db7455c)
    • tslib: upgrade to version 2.6.2 (ed17876)
  • 9.0.0-beta.1 - 2023-08-15
    Read more
  • 8.16.0 - 2023-10-05

    8.16.0 (2023-10-05)

    Dependencies

    • typedoc: add dev-dependency (f8c671c)
  • 8.15.1 - 2023-08-17

    8.15.1 (2023-08-17)

    Fixes

    • fix binary download on debian testing/unstable (#787) (1a8ac8a)

    Style

    • MongoBinaryDownloadUrl: add comment explaining pr 787 (1821135)
from mongodb-memory-server GitHub release notes
Commit messages
Package name: mongodb-memory-server
  • fa2eb87 release: v9.0.0
  • 0a5a21d Merge branch 'beta' into master
  • 899a710 docs(migrate9): update for release
  • 9816f4f chore(website): remove some workarounds added by 7ac55a5fb9a083ded4d97beb6fee7e14b727cca6
  • c3b4bdc devdeps(saslprep): remove dev-dependency again
  • 8831fdc chore(commitlint): add new commit type "devdeps"
  • b433916 release: v9.0.0-beta.4
  • 7ac55a5 chore(typedoc): include more source documentation
  • fefab38 deps(typedoc): upgrade to version 0.24.8
  • ee4ec2b Merge branch 'master' into beta
  • 3908d79 release: v8.16.0
  • f8788c6 chore(scripts/ghPagesDeploy): make sure root is installed
  • be5a9eb docs(docusaurus.config): add "Typedoc" link
  • e0c0bc8 chore(ghPagesDeploy): add typedoc to be build for documentation
  • f8c671c dependencies(typedoc): add dev-dependency
  • f1503c0 release: v9.0.0-beta.3
  • 73c0c2e fix(getport): only run ".unref" if it exists
  • 308cf01 Merge branch 'master' into beta
  • 290e57d docs(README): add missing "auth" object documentation
  • 6ce12bf docs(README): fix "downloadDir" outdated directory
  • 80e6cd8 fix(MongoInstance::stop): handle "stop" being called multiple times while running
  • 4515fdd chore(website/yarn.lock): lockfile maintenance
  • 98df795 chore(website): upgrade docusaurus version to 2.4.3
  • 9da1683 chore(yarn.lock): lockfile maintenance

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@pacostas
Copy link
Member

LGTM

@pacostas pacostas merged commit 0752953 into main Oct 28, 2023
8 checks passed
@pacostas pacostas deleted the snyk-upgrade-f8e9ab60cbb4354f10f46e2708b7aa62 branch October 28, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants