diff --git a/packages/egg-mysql/package.json b/packages/egg-mysql/package.json index 7b7b469..93852dc 100644 --- a/packages/egg-mysql/package.json +++ b/packages/egg-mysql/package.json @@ -35,7 +35,7 @@ "dependencies": { "@142vip/egg": "workspace:*", "@142vip/utils": "workspace:*", - "mysql2": "3.10.1" + "mysql2": "3.12.0" }, "publishConfig": { "access": "public", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7fb1704..3766f38 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -217,8 +217,8 @@ importers: specifier: workspace:* version: link:../utils mysql2: - specifier: 3.10.1 - version: 3.10.1 + specifier: 3.12.0 + version: 3.12.0 packages/egg-redis: dependencies: @@ -428,7 +428,7 @@ importers: dependencies: typeorm: specifier: ^0.3.20 - version: 0.3.20(ioredis@5.4.2)(mysql2@3.11.5)(ts-node@10.9.2(@types/node@22.0.0)(typescript@5.7.3)) + version: 0.3.20(ioredis@5.4.2)(mysql2@3.12.0)(ts-node@10.9.2(@types/node@22.0.0)(typescript@5.7.3)) packages/utils: dependencies: @@ -6332,10 +6332,6 @@ packages: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} - lru-cache@8.0.5: - resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==} - engines: {node: '>=16.14'} - lru.min@1.1.1: resolution: {integrity: sha512-FbAj6lXil6t8z4z3j0E5mfRlPzxkySotzUHwRXjlpRh10vc6AI6WN62ehZj82VG7M20rqogJ0GLwar2Xa05a8Q==} engines: {bun: '>=1.0.0', deno: '>=1.30.0', node: '>=8.0.0'} @@ -6716,14 +6712,14 @@ packages: mute-stream@0.0.8: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} - mysql2@3.10.1: - resolution: {integrity: sha512-6zo1T3GILsXMCex3YEu7hCz2OXLUarxFsxvFcUHWMpkPtmZLeTTWgRdc1gWyNJiYt6AxITmIf9bZDRy/jAfWew==} - engines: {node: '>= 8.0'} - mysql2@3.11.5: resolution: {integrity: sha512-0XFu8rUmFN9vC0ME36iBvCUObftiMHItrYFhlCRvFWbLgpNqtC4Br/NmZX1HNCszxT0GGy5QtP+k3Q3eCJPaYA==} engines: {node: '>= 8.0'} + mysql2@3.12.0: + resolution: {integrity: sha512-C8fWhVysZoH63tJbX8d10IAoYCyXy4fdRFz2Ihrt9jtPILYynFEKUUzpp1U7qxzDc3tMbotvaBH+sl6bFnGZiw==} + engines: {node: '>= 8.0'} + mz-modules@2.1.0: resolution: {integrity: sha512-sjk8lcRW3vrVYnZ+W+67L/2rL+jbO5K/N6PFGIcLWTiYytNr22Ah9FDXFs+AQntTM1boZcoHi5qS+CV1seuPog==} engines: {node: '>=6.0.0'} @@ -16351,8 +16347,6 @@ snapshots: lru-cache@7.18.3: {} - lru-cache@8.0.5: {} - lru.min@1.1.1: {} magic-string@0.30.13: @@ -16878,18 +16872,19 @@ snapshots: mute-stream@0.0.8: {} - mysql2@3.10.1: + mysql2@3.11.5: dependencies: + aws-ssl-profiles: 1.1.2 denque: 2.1.0 generate-function: 2.3.1 iconv-lite: 0.6.3 long: 5.2.3 - lru-cache: 8.0.5 + lru.min: 1.1.1 named-placeholders: 1.1.3 seq-queue: 0.0.5 sqlstring: 2.3.3 - mysql2@3.11.5: + mysql2@3.12.0: dependencies: aws-ssl-profiles: 1.1.2 denque: 2.1.0 @@ -18799,6 +18794,30 @@ snapshots: transitivePeerDependencies: - supports-color + typeorm@0.3.20(ioredis@5.4.2)(mysql2@3.12.0)(ts-node@10.9.2(@types/node@22.0.0)(typescript@5.7.3)): + dependencies: + '@sqltools/formatter': 1.2.5 + app-root-path: 3.1.0 + buffer: 6.0.3 + chalk: 4.1.2 + cli-highlight: 2.1.11 + dayjs: 1.11.13 + debug: 4.3.7 + dotenv: 16.4.5 + glob: 10.4.5 + mkdirp: 2.1.6 + reflect-metadata: 0.2.2 + sha.js: 2.4.11 + tslib: 2.8.0 + uuid: 9.0.1 + yargs: 17.7.2 + optionalDependencies: + ioredis: 5.4.2 + mysql2: 3.12.0 + ts-node: 10.9.2(@types/node@22.0.0)(typescript@5.7.3) + transitivePeerDependencies: + - supports-color + typescript@5.7.2: {} typescript@5.7.3: {}