fix: Update mssql allowed version to fix vulnerability. (#10933)

This commit is contained in:
Shenghan Gao 2025-01-20 12:42:08 -08:00 committed by GitHub
parent 0d082463ce
commit 3a51160818
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 311 additions and 818 deletions

View File

@ -59,6 +59,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
mssql-version: ['^9.1.1', '^10.0.1', '^11.0.1']
container: ${{inputs.node-container}}
services:
@ -71,6 +73,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: npm i
- run: npm install mssql@${{ matrix.mssql-version }}
- run: chown -R 1001:127 /github/home/.npm #This fix is needed for running CLI tests
- run: cp .github/workflows/test/mssql.ormconfig.json ormconfig.json
- run: npm test

1122
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -127,7 +127,7 @@
"husky": "^8.0.3",
"mocha": "^10.8.2",
"mongodb": "^6.3.0",
"mssql": "^10.0.1",
"mssql": "^11.0.1",
"mysql": "^2.18.1",
"mysql2": "^3.9.7",
"nyc": "^17.1.0",
@ -154,7 +154,7 @@
"hdb-pool": "^0.1.6",
"ioredis": "^5.0.4",
"mongodb": "^5.8.0",
"mssql": "^9.1.1 || ^10.0.1",
"mssql": "^9.1.1 || ^10.0.1 || ^11.0.1",
"mysql2": "^2.2.5 || ^3.0.1",
"oracledb": "^6.3.0",
"pg": "^8.5.1",