diff --git a/packages/server/package.json b/packages/server/package.json index 45fea4b884..352621bdb0 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -81,7 +81,7 @@ "multer": "1.4.5-lts.1", "mustache": "^3.0.3", "mysql": "^2.17.1", - "mysql2": "^1.6.5", + "mysql2": "^3.9.7", "newrelic": "^11.15.0", "node-cache": "^4.2.1", "nodemailer": "^6.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac4b280c57..de89b948bb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,7 +49,7 @@ importers: version: 0.8.8 '@types/knex': specifier: ^0.16.1 - version: 0.16.1(mysql2@1.7.0)(mysql@2.18.1) + version: 0.16.1(mysql2@3.9.7)(mysql@2.18.1) '@types/mathjs': specifier: ^6.0.12 version: 6.0.12 @@ -172,7 +172,7 @@ importers: version: 8.5.1 knex: specifier: ^0.95.15 - version: 0.95.15(mysql2@1.7.0)(mysql@2.18.1) + version: 0.95.15(mysql2@3.9.7)(mysql@2.18.1) knex-cleaner: specifier: ^1.3.0 version: 1.3.1 @@ -219,8 +219,8 @@ importers: specifier: ^2.17.1 version: 2.18.1 mysql2: - specifier: ^1.6.5 - version: 1.7.0 + specifier: ^3.9.7 + version: 3.9.7 newrelic: specifier: ^11.15.0 version: 11.16.0 @@ -3785,7 +3785,7 @@ packages: engines: {node: '>=12.13.0'} requiresBuild: true dependencies: - nan: 2.17.0 + nan: 2.19.0 node-gyp-build: 4.8.1 dev: false optional: true @@ -4884,7 +4884,7 @@ packages: engines: {node: ^16.14.0 || >=18.0.0} dependencies: '@npmcli/promise-spawn': 7.0.1 - lru-cache: 10.2.0 + lru-cache: 10.2.1 npm-pick-manifest: 9.0.0 proc-log: 4.2.0 promise-inflight: 1.0.1 @@ -6302,11 +6302,11 @@ packages: '@types/node': 14.18.36 dev: false - /@types/knex@0.16.1(mysql2@1.7.0)(mysql@2.18.1): + /@types/knex@0.16.1(mysql2@3.9.7)(mysql@2.18.1): resolution: {integrity: sha512-54gWD1HWwdVx5iLHaJ1qxH3I6KyBsj5fFqzRpXFn7REWiEB2jwspeVCombNsocSrqPd7IRPqKrsIME7/cD+TFQ==} deprecated: This is a stub types definition. knex provides its own type definitions, so you do not need this installed. dependencies: - knex: 2.4.2(mysql2@1.7.0)(mysql@2.18.1) + knex: 2.4.2(mysql2@3.9.7)(mysql@2.18.1) transitivePeerDependencies: - better-sqlite3 - mysql @@ -10774,6 +10774,11 @@ packages: engines: {node: '>=0.10'} dev: false + /denque@2.1.0: + resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} + engines: {node: '>=0.10'} + dev: false + /depd@1.1.2: resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} engines: {node: '>= 0.6'} @@ -12998,7 +13003,7 @@ packages: requiresBuild: true dependencies: bindings: 1.5.0 - nan: 2.17.0 + nan: 2.19.0 dev: false optional: true @@ -13890,7 +13895,7 @@ packages: resolution: {integrity: sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - lru-cache: 10.2.0 + lru-cache: 10.2.1 dev: true /hotkeys-js@3.9.4: @@ -14195,13 +14200,6 @@ packages: dependencies: safer-buffer: 2.1.2 - /iconv-lite@0.5.2: - resolution: {integrity: sha512-kERHXvpSaB4aU3eANwidg79K8FlrN77m8G9V+0vOR3HYaRifrlwMEpT7ZBJqLSEIHnEgJTHcWK82wwLwwKwtag==} - engines: {node: '>=0.10.0'} - dependencies: - safer-buffer: 2.1.2 - dev: false - /iconv-lite@0.6.3: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} @@ -16552,7 +16550,7 @@ packages: dependencies: bluebird: 3.7.2 glob: 7.2.3 - knex: 0.95.15(mysql2@1.7.0)(mysql@2.18.1) + knex: 0.95.15(mysql2@3.9.7)(mysql@2.18.1) lodash: 4.17.21 dev: false @@ -16562,7 +16560,7 @@ packages: lodash: 4.17.21 dev: true - /knex@0.95.15(mysql2@1.7.0)(mysql@2.18.1): + /knex@0.95.15(mysql2@3.9.7)(mysql@2.18.1): resolution: {integrity: sha512-Loq6WgHaWlmL2bfZGWPsy4l8xw4pOE+tmLGkPG0auBppxpI0UcK+GYCycJcqz9W54f2LiGewkCVLBm3Wq4ur/w==} engines: {node: '>=10'} hasBin: true @@ -16596,7 +16594,7 @@ packages: interpret: 2.2.0 lodash: 4.17.21 mysql: 2.18.1 - mysql2: 1.7.0 + mysql2: 3.9.7 pg-connection-string: 2.5.0 rechoir: 0.7.0 resolve-from: 5.0.0 @@ -16606,7 +16604,7 @@ packages: - supports-color dev: false - /knex@2.4.2(mysql2@1.7.0)(mysql@2.18.1): + /knex@2.4.2(mysql2@3.9.7)(mysql@2.18.1): resolution: {integrity: sha512-tMI1M7a+xwHhPxjbl/H9K1kHX+VncEYcvCx5K00M16bWvpYPKAZd6QrCu68PtHAdIZNQPWZn0GVhqVBEthGWCg==} engines: {node: '>=12'} hasBin: true @@ -16644,7 +16642,7 @@ packages: interpret: 2.2.0 lodash: 4.17.21 mysql: 2.18.1 - mysql2: 1.7.0 + mysql2: 3.9.7 pg-connection-string: 2.5.0 rechoir: 0.8.0 resolve-from: 5.0.0 @@ -17149,10 +17147,6 @@ packages: '@sinonjs/commons': 1.8.6 dev: true - /long@4.0.0: - resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} - dev: false - /long@5.2.3: resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} dev: false @@ -17181,11 +17175,6 @@ packages: engines: {node: '>=0.10.0'} dev: false - /lru-cache@10.2.0: - resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==} - engines: {node: 14 || >=16.14} - dev: true - /lru-cache@10.2.1: resolution: {integrity: sha512-tS24spDe/zXhWbNPErCHs/AGOzbKGHT+ybSBqmdLm8WZ1xXLWvH8Qn71QPAlqVhd0qUTWjy+Kl9JmISgDdEjsA==} engines: {node: 14 || >=16.14} @@ -17213,6 +17202,11 @@ packages: resolution: {integrity: sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==} engines: {node: '>=12'} + /lru-cache@8.0.5: + resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==} + engines: {node: '>=16.14'} + dev: false + /luxon@1.28.1: resolution: {integrity: sha512-gYHAa180mKrNIUJCbwpmD0aTu9kV0dREDrwNnuyFAsO1Wt0EVYSZelPnJlbj9HplzXX/YWXHFTL45kvZ53M0pw==} dev: false @@ -18043,15 +18037,15 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /mysql2@1.7.0: - resolution: {integrity: sha512-xTWWQPjP5rcrceZQ7CSTKR/4XIDeH/cRkNH/uzvVGQ7W5c7EJ0dXeJUusk7OKhIoHj7uFKUxDVSCfLIl+jluog==} + /mysql2@3.9.7: + resolution: {integrity: sha512-KnJT8vYRcNAZv73uf9zpXqNbvBG7DJrs+1nACsjZP1HMJ1TgXEy8wnNilXAn/5i57JizXKtrUtwDB7HxT9DDpw==} engines: {node: '>= 8.0'} dependencies: - denque: 1.5.1 + denque: 2.1.0 generate-function: 2.3.1 - iconv-lite: 0.5.2 - long: 4.0.0 - lru-cache: 5.1.1 + iconv-lite: 0.6.3 + long: 5.2.3 + lru-cache: 8.0.5 named-placeholders: 1.1.3 seq-queue: 0.0.5 sqlstring: 2.3.3 @@ -18082,12 +18076,6 @@ packages: lru-cache: 7.14.1 dev: false - /nan@2.17.0: - resolution: {integrity: sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==} - requiresBuild: true - dev: false - optional: true - /nan@2.19.0: resolution: {integrity: sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==} requiresBuild: true @@ -18948,7 +18936,7 @@ packages: dependencies: ajv: 8.12.0 db-errors: 0.2.3 - knex: 0.95.15(mysql2@1.7.0)(mysql@2.18.1) + knex: 0.95.15(mysql2@3.9.7)(mysql@2.18.1) dev: false /oblivious-set@1.0.0: