fix(mysql): close database connections gracefully when using Bun

This commit is contained in:
Joakim Carlstein 2024-06-24 15:50:50 +02:00 committed by Joakim Carlstein
parent cf620a191d
commit 57498db248
4 changed files with 52 additions and 24 deletions

27
pnpm-lock.yaml generated
View file

@ -131,11 +131,11 @@ importers:
specifier: workspace:*
version: link:../tsconfig
'@types/bun':
specifier: 1.0.5
version: 1.0.5
specifier: 1.1.2
version: 1.1.2
bun-types:
specifier: 1.0.26
version: 1.0.26
specifier: 1.1.8
version: 1.1.8
packages/plugin-generate-js:
dependencies:
@ -1791,6 +1791,12 @@ packages:
bun-types: 1.0.26
dev: true
/@types/bun@1.1.2:
resolution: {integrity: sha512-pRBDD3EDqPf83qe95i3EpYu5G2J8bbb78a3736vnCm2K8YWtEE5cvJUq2jkKvJhW07YTfQtbImywIwRhWL8z3Q==}
dependencies:
bun-types: 1.1.8
dev: true
/@types/debug@4.1.12:
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
dependencies:
@ -1891,6 +1897,12 @@ packages:
undici-types: 5.26.5
dev: true
/@types/node@20.12.14:
resolution: {integrity: sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg==}
dependencies:
undici-types: 5.26.5
dev: true
/@types/normalize-package-data@2.4.4:
resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
dev: false
@ -2707,6 +2719,13 @@ packages:
'@types/ws': 8.5.10
dev: true
/bun-types@1.1.8:
resolution: {integrity: sha512-dwhfuUKSGK8hm5Llcvb5+ejRh+4mIt8ibObJVKhZBsi0ScpXmt+AlaS1eDW6uRXCHj084Qt0kIqAJ08/7ZGC9Q==}
dependencies:
'@types/node': 20.12.14
'@types/ws': 8.5.10
dev: true
/bundle-name@3.0.0:
resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==}
engines: {node: '>=12'}