BlueWallet / LndHub

Wrapper for Lightning Network Daemon. It provides separate accounts for end-users
http://LndHub.io
MIT License
747 stars 181 forks source link

[Snyk] Upgrade ioredis from 4.27.10 to 5.0.1 #420

Closed GladosBlueWallet closed 2 years ago

GladosBlueWallet commented 2 years ago

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


Snyk has created this PR to upgrade ioredis from 4.27.10 to 5.0.1.

:information_source: 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 **13 versions** ahead of your current version. - The recommended version was released **21 days ago**, on 2022-03-26.
Release notes
Package name: ioredis
  • 5.0.1 - 2022-03-26

    5.0.1 (2022-03-26)

    Bug Fixes

    • improve typing compatibility with @ types/ioredis (#1542) (3bf300a)
  • 5.0.0 - 2022-03-26

    5.0.0 (2022-03-26)

    In the update of v5, we've made ioredis even more stable and developer-friendly while minimizing the number of breaking changes, so you can spend more time enjoying your life šŸ˜„.

    Please refer to the guideline to upgrade your projects: šŸš€ Upgrading from v4 to v5.

    Bug Fixes

    • add @ ioredis/interface-generator to dev deps (aa3b3e9)
    • add missing declaration for callBuffer (08c9072)
    • add the missing typing for Redis#call() (747dd30)
    • better support for CJS importing (687d3eb)
    • disable slotsRefreshInterval by default (370fa62)
    • Fix the NOSCRIPT behavior when using pipelines (bc1b168)
    • improve typing for auto pipelining (4e8c567)
    • improve typing for pipeline (d18f3fe)
    • keyPrefix should work with Buffer (6942cec), closes #1486
    • make fields private when possible (d5c2f20)
    • parameter declaration of Redis#duplicate (a29d9c4)
    • pipeline fails when cluster is not ready (af60bb0), closes #1460
    • remove dropBufferSupport option (04e68ac)
    • remove unused Command#isCustomCommand (46ade6b)
    • rename interfaces by dropping prefix I (d1d9dba)
    • Reset loaded script hashes to force a reload of scripts after reconnect of redis (60c2af9)
    • support passing keyPrefix via redisOptions (6b0dc1e)

    Features

    • add @ since to method comments (13eff8e)
    • add declarations for methods (1e10c95)
    • add tests for cluster (1eba58b)
    • always parse username passed via URI (c6f41f6)
    • drop support of Node.js 10 (f9a5071)
    • drop support of third-party Promise libraries (2001ec6)
    • expose official declarations (7a436b1)
    • improve typings for cluster (06782e6)
    • improve typings for pipeline (334242b)
    • improve typings for smismember (487c3a0)
    • improve typings for transformers (94c1e24)
    • improve typings for xread (96cc335)
    • Pipeline-based script loading (8df6ee2)
    • prepare v5 stable release (#1538) (fe32ce7)
    • Refactor code with modern settings (a8ffa80)
    • skip ready check on NOPERM error (b530a0b), closes #1293
    • support commands added in Redis v7 (53ca412)
    • support defining custom commands via constructor options (f293b97)
    • support Redis Functions introduced in Redis 7.0 (32eb381)

    BREAKING CHANGES

    • slotsRefreshInterval is disabled by default,
      previously, the default value was 5000.
    • allowUsernameInURI is removed and ioredis will always
      use the username passed via URI.
      Previously, the username part in new Redis("redis://username:authpassword@127.0.0.1:6380/4")
      was ignored unless allowUsernameInURI is specified: new Redis("redis://username:authpassword@127.0.0.1:6380/4?allowUsernameInURI=true").
      Now, if you don't want to send username to Redis, just leave the username part empty:
      new Redis("redis://:authpassword@127.0.0.1:6380/4")
    • Redis#serverInfo is removed. This field is never documented so
      you very likely have never used it.
    • Support for third-party Promise libraries is dropped. Related methods (exports.Promise = require('bluebird')) are kept but they don't take any effects. The native Promise will always be used.
    • We now require Node.js v12 or newer.
    • Redis can't be called as a function anymore as it's now a class.
      Please change Redis() to new Redis(). Note that Redis() was already deprecated
      in the previous version.
  • 5.0.0-beta.4 - 2022-03-19

    5.0.0-beta.4 (2022-03-19)

    Bug Fixes

    • add missing declaration for callBuffer (08c9072)
    • keyPrefix should work with Buffer (6942cec), closes #1486
  • 5.0.0-beta.3 - 2022-03-19

    5.0.0-beta.3 (2022-03-19)

    Bug Fixes

    • pipeline fails when cluster is not ready (af60bb0), closes #1460
  • 5.0.0-beta.2 - 2022-03-16

    5.0.0-beta.2 (2022-03-16)

    Features

    • improve typings for smismember (487c3a0)
    • improve typings for xread (96cc335)
  • 5.0.0-beta.1 - 2022-03-14

    5.0.0-beta.1 (2022-03-14)

    Bug Fixes

    • add @ ioredis/interface-generator to dev deps (aa3b3e9)
    • add the missing typing for Redis#call() (747dd30)
    • better support for CJS importing (687d3eb)
    • disable slotsRefreshInterval by default (370fa62)
    • Fix the NOSCRIPT behavior when using pipelines (bc1b168)
    • improve typing for auto pipelining (4e8c567)
    • improve typing for pipeline (d18f3fe)
    • make fields private when possible (d5c2f20)
    • parameter declaration of Redis#duplicate (a29d9c4)
    • remove dropBufferSupport option (04e68ac)
    • remove unused Command#isCustomCommand (46ade6b)
    • rename interfaces by dropping prefix I (d1d9dba)
    • Reset loaded script hashes to force a reload of scripts after reconnect of redis (60c2af9)
    • support passing keyPrefix via redisOptions (6b0dc1e)

    Features

    • add @ since to method comments (13eff8e)
    • add declarations for methods (1e10c95)
    • add tests for cluster (1eba58b)
    • always parse username passed via URI (c6f41f6)
    • drop support of Node.js 10 (f9a5071)
    • drop support of third-party Promise libraries (2001ec6)
    • expose official declarations (7a436b1)
    • improve typings for cluster (06782e6)
    • improve typings for pipeline (334242b)
    • improve typings for transformers (94c1e24)
    • Pipeline-based script loading (8df6ee2)
    • Refactor code with modern settings (a8ffa80)
    • skip ready check on NOPERM error (b530a0b), closes #1293
    • support commands added in Redis v7 (53ca412)
    • support defining custom commands via constructor options (f293b97)
    • support Redis Functions introduced in Redis 7.0 (32eb381)

    BREAKING CHANGES

    • slotsRefreshInterval is disabled by default,
      previously, the default value was 5000.
    • allowUsernameInURI is removed and ioredis will always
      use the username passed via URI.
      Previously, the username part in new Redis("redis://username:authpassword@127.0.0.1:6380/4")
      was ignored unless allowUsernameInURI is specified: new Redis("redis://username:authpassword@127.0.0.1:6380/4?allowUsernameInURI=true").
      Now, if you don't want to send username to Redis, just leave the username part empty:
      new Redis("redis://:authpassword@127.0.0.1:6380/4")
    • Redis#serverInfo is removed. This field is never documented so
      you very likely have never used it.
    • Support for third-party Promise libraries is dropped. Related methods (exports.Promise = require('bluebird')) are kept but they don't take any effects. The native Promise will always be used.
    • We now require Node.js v12 or newer.
    • Redis can't be called as a function anymore as it's now a class.
      Please change Redis() to new Redis(). Note that Redis() was already deprecated
      in the previous version.
  • 4.28.5 - 2022-02-06

    4.28.5 (2022-02-06)

    Bug Fixes

    • Reset loaded script hashes to force a reload of scripts after reconnect of redis (#1497) (f357a31)
  • 4.28.4 - 2022-02-02

    4.28.4 (2022-02-02)

    Bug Fixes

  • 4.28.3 - 2022-01-11

    4.28.3 (2022-01-11)

    Bug Fixes

    • fix exceptions on messages of client side cache (#1479) (02adca4)
  • 4.28.2 - 2021-12-01

    4.28.2 (2021-12-01)

    Bug Fixes

  • 4.28.1 - 2021-11-23
  • 4.28.0 - 2021-10-13
  • 4.27.11 - 2021-10-11
  • 4.27.10 - 2021-10-04
from ioredis GitHub release notes
Commit messages
Package name: ioredis
  • 8b19b96 chore(release): 5.0.1 [skip ci]
  • 3bf300a fix: improve typing compatibility with @ types/ioredis (#1542)
  • 8335e5d chore(deps): bump minimist from 1.2.5 to 1.2.6 in /examples/express (#1539)
  • 1df1ea0 docs: update examples to v5
  • b8e99b4 chore(release): 5.0.0 [skip ci]
  • fe32ce7 feat: prepare v5 stable release (#1538)
  • ec452c7 chore(release): 5.0.0-beta.4 [skip ci]
  • 08c9072 fix: add missing declaration for callBuffer
  • 6942cec fix: keyPrefix should work with Buffer
  • bb166cc chore(release): 5.0.0-beta.3 [skip ci]
  • af60bb0 fix: pipeline fails when cluster is not ready
  • 247f86d docs(README): update doc link to connection options
  • 2dfda0d docs: add docs for Redis options
  • b221c4e docs: fix changelog url in readme (#1534)
  • 9ede9b5 chore(release): 5.0.0-beta.2 [skip ci]
  • 96cc335 feat: improve typings for xread
  • 487c3a0 feat: improve typings for smismember
  • abe2b5b docs: add examples for xrange and xadd
  • decf10c docs: update README for v5
  • 8529ac3 chore(release): 5.0.0-beta.1 [skip ci]
  • 6198aa0 chore: setup semantic release
  • 99512ba chore: run GitHub Actions for main branch
  • 370fa62 fix: disable slotsRefreshInterval by default
  • bb532d2 docs: add examples for Redis operations
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](https://app.snyk.io/org/bluewallet/project/29c066bc-abce-44d9-b68e-064466e610e7?utm_source=github&utm_medium=referral&page=upgrade-pr) šŸ›  [Adjust upgrade PR settings](https://app.snyk.io/org/bluewallet/project/29c066bc-abce-44d9-b68e-064466e610e7/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) šŸ”• [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/bluewallet/project/29c066bc-abce-44d9-b68e-064466e610e7/settings/integration?pkg=ioredis&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)