Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: '20'
node-version: '22'
- uses: actions/checkout@v2

- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/webpack_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Db2 for IBM i tools in VS Code",
"version": "1.13.2",
"engines": {
"vscode": "^1.95.0"
"vscode": "^1.101.0"
},
"icon": "media/logo.png",
"keywords": [
Expand Down
7 changes: 6 additions & 1 deletion src/connection/sqlJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@
outString = ``;
if (this.isTracingChannelData) ServerComponent.writeOutput(thisMsg);
try {
let response: ServerResponse = JSON.parse(thisMsg);
let response: ServerResponse = JSON.parse(thisMsg, (_key, value, context) => {

Check failure on line 101 in src/connection/sqlJob.ts

View workflow job for this annotation

GitHub Actions / build (22.x)

Argument of type '(_key: any, value: any, context: any) => any' is not assignable to parameter of type '(this: any, key: string, value: any) => any'.
if (typeof value === 'number' && ('' + value !== context.source)) {
return context.source;
}
return value;
});
this.responseEmitter.emit(response.id, response);
} catch (e: any) {
console.log(`Error: ` + e);
Expand Down
Loading