diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 36563031..9e3d1efa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/.github/workflows/webpack_ci.yaml b/.github/workflows/webpack_ci.yaml index 392d5c18..074d79af 100644 --- a/.github/workflows/webpack_ci.yaml +++ b/.github/workflows/webpack_ci.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [20.x] + node-version: [22.x] steps: - uses: actions/checkout@v3 diff --git a/package-lock.json b/package-lock.json index ec756446..723ea739 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "webpack-cli": "^4.5.0" }, "engines": { - "vscode": "^1.95.0" + "vscode": "^1.101.0" } }, "node_modules/@75lb/deep-merge": { diff --git a/package.json b/package.json index 61675adc..7d582303 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/src/connection/sqlJob.ts b/src/connection/sqlJob.ts index a1d6a821..88fc53e0 100644 --- a/src/connection/sqlJob.ts +++ b/src/connection/sqlJob.ts @@ -98,7 +98,12 @@ export class OldSQLJob extends SQLJob { outString = ``; if (this.isTracingChannelData) ServerComponent.writeOutput(thisMsg); try { - let response: ServerResponse = JSON.parse(thisMsg); + let response: ServerResponse = JSON.parse(thisMsg, (_key, value, context) => { + 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);