From 8423dbf0d65d26af5fa9fcaee9ad9e39bfa95931 Mon Sep 17 00:00:00 2001 From: RenovateBot Date: Mon, 1 May 2023 12:49:49 +0100 Subject: [PATCH] Update dependency mysql2 to v3 (#128) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mysql2](https://github.com/sidorares/node-mysql2) | dependencies | major | [`^2.2.5` -> `^3.0.0`](https://renovatebot.com/diffs/npm/mysql2/2.2.5/3.2.4) | --- ### Release Notes
sidorares/node-mysql2 ### [`v3.2.4`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​324-httpsgithubcomsidoraresnode-mysql2comparev323v324-2023-04-25) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.2.3...v3.2.4) ##### Bug Fixes - **server:** Added missing encoding argument to server-handshake ([#​1976](https://github.com/sidorares/node-mysql2/issues/1976)) ([a4b6b22](https://github.com/sidorares/node-mysql2/commit/a4b6b223434d1cbdb5af9141cf3bd085459bb6b8)) ### [`v3.2.3`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​323-httpsgithubcomsidoraresnode-mysql2comparev322v323-2023-04-16) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.2.2...v3.2.3) ##### Bug Fixes - **types:** add decimalNumbers to createConnection/createPool typings. fixes [#​1803](https://github.com/sidorares/node-mysql2/issues/1803) ([#​1817](https://github.com/sidorares/node-mysql2/issues/1817)) ([bb48462](https://github.com/sidorares/node-mysql2/commit/bb48462db7b83bd4825a3d53e192e5363139ec3c)) ### [`v3.2.2`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​322-httpsgithubcomsidoraresnode-mysql2comparev321v322-2023-04-16) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.2.1...v3.2.2) ##### Bug Fixes - `ConnectionOptions` conflict between `mysql` and `mysql/promise` ([#​1955](https://github.com/sidorares/node-mysql2/issues/1955)) ([eca8bda](https://github.com/sidorares/node-mysql2/commit/eca8bda9305ab07cf0e46f16f3f13bf1fd82787d)) ### [`v3.2.1`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​321-httpsgithubcomsidoraresnode-mysql2comparev320v321-2023-04-13) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.2.0...v3.2.1) ##### Bug Fixes - Add typings for Connection.promise(). ([#​1949](https://github.com/sidorares/node-mysql2/issues/1949)) ([e3ca310](https://github.com/sidorares/node-mysql2/commit/e3ca3107cbae0050d307f02514598aff4e8ecd60)) - PoolConnection redundancy when extending Connection interface in TypeScript ([7c62d11](https://github.com/sidorares/node-mysql2/commit/7c62d1177e79b5063a11fa15a2ac4e3dc3e2a2ed)) ### [`v3.2.0`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​320-httpsgithubcomsidoraresnode-mysql2comparev312v320-2023-03-03) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.1.2...v3.2.0) ##### Features - maxVersion ssl option to tls.createSecureContext ([0c40ef9](https://github.com/sidorares/node-mysql2/commit/0c40ef9f596fa3bc4f046f523c3595fe7065fde3)) ### [`v3.1.2`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​312-httpsgithubcomsidoraresnode-mysql2comparev311v312-2023-02-08) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.1.1...v3.1.2) ##### Bug Fixes - update `lru-cache` reset method to clear ([114f266](https://github.com/sidorares/node-mysql2/commit/114f266b18802e52d6b130c2cf379f61a996c2b0)) ### [`v3.1.1`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​311-httpsgithubcomsidoraresnode-mysql2comparev310v311-2023-02-07) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.1.0...v3.1.1) ##### Bug Fixes - remove accidental log in caching_sha2\_password.js ([c1202b6](https://github.com/sidorares/node-mysql2/commit/c1202b673c8ba9f709c3ebc0d1717ccffca1bd4b)) ### [`v3.1.0`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​310-httpsgithubcomsidoraresnode-mysql2comparev301v310-2023-01-30) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.0.1...v3.1.0) ##### Features - cleanup buffer/string conversions in hashing/xor helpers that were failing in Bun ([a2392e2](https://github.com/sidorares/node-mysql2/commit/a2392e27de64630affb6e3f6af26f5c59e2e95f9)) ##### Bug Fixes - when port is pased as a string convert it to a number (Bun's net.connect does not automatically convert this) ([703ecb2](https://github.com/sidorares/node-mysql2/commit/703ecb2f788cf32acb1b49c7786ff6845640e215)) ### [`v3.0.1`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​301-httpsgithubcomsidoraresnode-mysql2comparev300v301-2023-01-13) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v3.0.0...v3.0.1) ##### Miscellaneous Chores - release 3.0.1 ([d5a6b2c](https://github.com/sidorares/node-mysql2/commit/d5a6b2ccccc7db4176c880e83c70ccd0be4ad81e)) ### [`v3.0.0`](https://github.com/sidorares/node-mysql2/blob/HEAD/Changelog.md#​300-httpsgithubcomsidoraresnode-mysql2comparev300-rc1v300-2023-01-12) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v2.3.3...v3.0.0) - named-placeholders library is updated to use newer `lru-cache` dependency, allowing it do dedupe and be shared between mysql2 and named-placeholders - https://github.com/sidorares/node-mysql2/issues/1711, https://github.com/mysqljs/named-placeholders/pull/19 - `chai` and `mocha` moved to devDependencies [#​1774](https://github.com/sidorares/node-mysql2/issues/1774) - Amazon RDS ssl certificates updated including AWS China [#​1754](https://github.com/sidorares/node-mysql2/issues/1754) - `TCP_NODELAY` flag enabled, avoiding long connect timeout in some scenarios [#​1751](https://github.com/sidorares/node-mysql2/issues/1751) - typing improvements: [#​1675](https://github.com/sidorares/node-mysql2/issues/1675), [#​1674](https://github.com/sidorares/node-mysql2/issues/1674) - fix: ensure pooled connections get released [#​1666](https://github.com/sidorares/node-mysql2/issues/1666) ##### Miscellaneous Chores - release 3.0.0 ([11692b2](https://github.com/sidorares/node-mysql2/commit/11692b223ff26784089f444ca6291295bd0e405e)) ### [`v2.3.3`](https://github.com/sidorares/node-mysql2/compare/v2.3.2...v2.3.3) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v2.3.2...v2.3.3) ### [`v2.3.2`](https://github.com/sidorares/node-mysql2/compare/v2.3.1...v2.3.2) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v2.3.1...v2.3.2) ### [`v2.3.1`](https://github.com/sidorares/node-mysql2/compare/v2.3.0...v2.3.1) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v2.3.0...v2.3.1) ### [`v2.3.0`](https://github.com/sidorares/node-mysql2/compare/v2.2.5...v2.3.0) [Compare Source](https://github.com/sidorares/node-mysql2/compare/v2.2.5...v2.3.0)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: Renovate Bot Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/Droplet/pulls/128 Reviewed-by: Vylpes Co-authored-by: RenovateBot Co-committed-by: RenovateBot --- package.json | 2 +- yarn.lock | 71 +++++++++++++++++++++------------------------------- 2 files changed, 30 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 394a8b7d..90e4b702 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "express-session": "^1.17.2", "http-errors": "^2.0.0", "morgan": "^1.10.0", - "mysql2": "^2.2.5", + "mysql2": "^3.0.0", "nodemailer": "^6.7.2", "pug": "^3.0.2", "reflect-metadata": "^0.1.13", diff --git a/yarn.lock b/yarn.lock index e6a205ae..a92b6c66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1740,10 +1740,10 @@ delayed-stream@~1.0.0: resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= -denque@^1.4.1: - version "1.5.0" - resolved "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz" - integrity sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ== +denque@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/denque/-/denque-2.1.0.tgz#e93e1a6569fb5e66f16a3c2a2964617d349d6ab1" + integrity sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw== depd@2.0.0, depd@~2.0.0: version "2.0.0" @@ -2626,9 +2626,9 @@ iconv-lite@0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@^0.6.2: +iconv-lite@^0.6.3: version "0.6.3" - resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" @@ -3537,18 +3537,10 @@ lodash@4.x, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.5, lodash@^4.7.0: resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -long@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz" - integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== - -lru-cache@^4.1.3: - version "4.1.5" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz" - integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" +long@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" + integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== lru-cache@^6.0.0: version "6.0.0" @@ -3557,6 +3549,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru-cache@^7.14.1: + version "7.14.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.1.tgz#8da8d2f5f59827edb388e63e459ac23d6d408fea" + integrity sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA== + make-dir@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" @@ -3721,17 +3718,17 @@ ms@2.1.2: resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -mysql2@^2.2.5: - version "2.2.5" - resolved "https://registry.npmjs.org/mysql2/-/mysql2-2.2.5.tgz" - integrity sha512-XRqPNxcZTpmFdXbJqb+/CtYVLCx14x1RTeNMD4954L331APu75IC74GDqnZMEt1kwaXy6TySo55rF2F3YJS78g== +mysql2@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mysql2/-/mysql2-3.0.1.tgz#436db56e96d5b7fed350192387f54881658b8b44" + integrity sha512-Wrh5KuE0OOlm6wRwRhE2q+C8LjwwfT3sFKVauyTwMwPbOd2i0SzxMqTZPqs90ZNAEWjot5GFywje84qVn3ITYw== dependencies: - denque "^1.4.1" + denque "^2.1.0" generate-function "^2.3.1" - iconv-lite "^0.6.2" - long "^4.0.0" - lru-cache "^6.0.0" - named-placeholders "^1.1.2" + iconv-lite "^0.6.3" + long "^5.2.1" + lru-cache "^7.14.1" + named-placeholders "^1.1.3" seq-queue "^0.0.5" sqlstring "^2.3.2" @@ -3744,12 +3741,12 @@ mz@^2.4.0: object-assign "^4.0.1" thenify-all "^1.0.0" -named-placeholders@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/named-placeholders/-/named-placeholders-1.1.2.tgz" - integrity sha512-wiFWqxoLL3PGVReSZpjLVxyJ1bRqe+KKJVbr4hGs1KWfTZTQyezHFBbuKj9hsizHyGV2ne7EMjHdxEGAybD5SA== +named-placeholders@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/named-placeholders/-/named-placeholders-1.1.3.tgz#df595799a36654da55dda6152ba7a137ad1d9351" + integrity sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w== dependencies: - lru-cache "^4.1.3" + lru-cache "^7.14.1" nanomatch@^1.2.9: version "1.2.13" @@ -4139,11 +4136,6 @@ proxy-addr@~2.0.5: forwarded "~0.1.2" ipaddr.js "1.9.1" -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz" - integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= - psl@^1.1.28, psl@^1.1.33: version "1.8.0" resolved "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz" @@ -5471,11 +5463,6 @@ y18n@^5.0.5: resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz" - integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - yallist@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz"