Skip to content

Commit

Permalink
Merge pull request #1664 from tediousjs/dependabot/npm_and_yarn/multi…
Browse files Browse the repository at this point in the history
…-263f7b4ea4

chore(deps): bump @azure/identity and tedious
  • Loading branch information
dhensby authored Jun 18, 2024
2 parents cae254f + c56a458 commit a655df2
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 193 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: 'npm'
- name: Install dependencies
run: npm clean-install
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: 'npm'
- name: Install dependencies
run: npm clean-install
Expand All @@ -68,7 +68,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
node: [16.x, 18.x, 20.x]
node: [18.x, 20.x, 22.x]
sqlserver: [2017, 2019, 2022]
steps:
- name: Checkout code
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
strategy:
matrix:
os: [windows-2019, windows-2022]
node: [16.x, 18.x, 20.x]
node: [18.x, 20.x, 22.x]
sqlserver: [2008, 2012, 2014, 2016, 2017, 2019, 2022]
# These sqlserver versions don't work on windows-2022 (at the moment)
exclude:
Expand Down Expand Up @@ -153,8 +153,10 @@ jobs:
- name: Run cli tests
run: npm run test-cli
- name: Install msnodesqlv8
if: ${{ matrix.node != '22.x' }}
run: npm install --no-save msnodesqlv8@^2
- name: Run msnodesqlv8 tests
if: ${{ matrix.node != '22.x' }}
run: npm run test-msnodesqlv8
release:
name: Release
Expand Down
1 change: 1 addition & 0 deletions lib/datatypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ module.exports.cast = (value, type, options) => {
return `N'${value.replace(/'/g, '\'\'')}'`

case 'number':
case 'bigint':
return value

case 'boolean':
Expand Down
Loading

0 comments on commit a655df2

Please sign in to comment.