From 468f9e4e36717ffb984be38199988beaa5ef4bb4 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Sat, 13 Apr 2024 21:51:16 +0800 Subject: [PATCH] feat: use mysql2@^3.9.4 (#669) closes https://github.com/cnpm/cnpmcore/issues/668 ## Summary by CodeRabbit - **Chores** - Updated the database management package to enhance performance and security. - Adjusted supported Node.js versions in the workflow configuration. --- .github/workflows/nodejs.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c40d936c..9af07cd6 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -32,7 +32,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [16, 18, 20, 21] + node-version: [18, 20, 21] os: [ubuntu-latest] steps: diff --git a/package.json b/package.json index 4959ecb9..dd96c59b 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "lodash": "^4.17.21", "mime-types": "^2.1.35", "mysql": "^2.18.1", - "mysql2": "^2.3.0", + "mysql2": "^3.9.4", "npm-package-arg": "^10.1.0", "oss-cnpm": "^5.0.1", "p-map": "^4.0.0",