update deps

This commit is contained in:
Jason2866
2026-03-11 16:16:24 +01:00
parent 6aaf771b8c
commit 8553a1b9df
12 changed files with 285 additions and 890 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+263 -862
View File
File diff suppressed because it is too large Load Diff
+10 -13
View File
@@ -4,7 +4,7 @@
"description": "PlatformIO Debugger for VSCode",
"main": "dist/extension.js",
"engines": {
"vscode": "^1.35.0"
"vscode": "^1.82.0"
},
"repository": {
"type": "git",
@@ -12,22 +12,19 @@
},
"scripts": {
"build": "webpack --mode production",
"lint": "tslint ./src/**/*.ts",
"postinstall": "node ./node_modules/@types/vscode/bin/install || true"
},
"dependencies": {
"copy-paste": "^1.3.0",
"vscode-debugadapter": "1.35.0",
"vscode-debugprotocol": "1.35.0",
"xml2js": "^0.4.23"
"@vscode/debugadapter": "^1.68.0",
"@vscode/debugprotocol": "^1.68.0",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@types/node": "^12.0.0",
"@types/vscode": "~1.44.0",
"ts-loader": "^9.2.6",
"tslint": "^6.1.3",
"typescript": "^4.5.5",
"webpack": "~5.68.0",
"webpack-cli": "~4.9.2"
"@types/node": "^22.0.0",
"@types/vscode": "~1.82.0",
"ts-loader": "^9.5.4",
"typescript": "^5.9.3",
"webpack": "~5.105.4",
"webpack-cli": "~6.0.1"
}
}
+1 -1
View File
@@ -14,7 +14,7 @@ import {
Scope,
Source,
ContinuedEvent,
} from 'vscode-debugadapter';
} from '@vscode/debugadapter';
import { StoppedEvent, AdapterOutputEvent } from '../common';
import { hexFormat, encodeDisassembly, parseQuery } from '../utils';
import { VariableObject, MIError } from './mi2/types';
+1 -1
View File
@@ -1,4 +1,4 @@
import { Event } from 'vscode-debugadapter';
import { Event } from '@vscode/debugadapter';
export enum NumberFormat {
Auto = 0,
+2 -3
View File
@@ -1,4 +1,3 @@
import * as copyPaste from 'copy-paste';
import * as vscode from 'vscode';
import { NumberFormat, SymbolScope } from './common';
import { encodeDisassembly } from './utils';
@@ -287,7 +286,7 @@ class PlatformIODebugExtension {
private peripheralsCopyValue(node: any): void {
const value = node.node.getCopyValue();
if (value) {
copyPaste.copy(value);
vscode.env.clipboard.writeText(value);
}
}
@@ -311,7 +310,7 @@ class PlatformIODebugExtension {
private registersCopyValue(node: any): void {
const value = node.node.getCopyValue();
if (value) {
copyPaste.copy(value);
vscode.env.clipboard.writeText(value);
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
import * as vscode from 'vscode';
export class DisassemblyTreeProvider implements vscode.TreeDataProvider<vscode.TreeItem> {
private _onDidChangeTreeData = new vscode.EventEmitter<vscode.TreeItem>();
private _onDidChangeTreeData = new vscode.EventEmitter<void>();
public onDidChangeTreeData = this._onDidChangeTreeData.event;
private forced: boolean = false;
+1 -1
View File
@@ -1,7 +1,7 @@
import * as vscode from 'vscode';
export class MemoryTreeProvider implements vscode.TreeDataProvider<vscode.TreeItem> {
private _onDidChangeTreeData = new vscode.EventEmitter<vscode.TreeItem>();
private _onDidChangeTreeData = new vscode.EventEmitter<void>();
public onDidChangeTreeData = this._onDidChangeTreeData.event;
private history: string[] = [];
+1 -1
View File
@@ -737,7 +737,7 @@ export class FieldNode extends BaseNode {
// ============================================================================
export class PeripheralTreeProvider implements vscode.TreeDataProvider<TreeNode> {
private _onDidChangeTreeData = new vscode.EventEmitter<TreeNode>();
private _onDidChangeTreeData = new vscode.EventEmitter<void>();
public onDidChangeTreeData = this._onDidChangeTreeData.event;
private peripherials: PeripheralNode[] = [];
private loaded: boolean = false;
+1 -1
View File
@@ -215,7 +215,7 @@ export class FieldNode extends BaseNode {
}
export class RegisterTreeProvider implements vscode.TreeDataProvider<TreeNode> {
private _onDidChangeTreeData = new vscode.EventEmitter<TreeNode>();
private _onDidChangeTreeData = new vscode.EventEmitter<void>();
public onDidChangeTreeData = this._onDidChangeTreeData.event;
private loaded: boolean = false;
private viewExpanded: boolean = false;
+2 -4
View File
@@ -16,8 +16,7 @@ module.exports = [
},
externals: {
vscode: 'vscode',
'copy-paste': 'copy-paste',
'vscode-debugadapter': 'vscode-debugadapter',
'@vscode/debugadapter': '@vscode/debugadapter',
xml2js: 'xml2js',
},
resolve: {
@@ -47,8 +46,7 @@ module.exports = [
},
externals: {
vscode: 'vscode',
'copy-paste': 'copy-paste',
'vscode-debugadapter': 'vscode-debugadapter',
'@vscode/debugadapter': '@vscode/debugadapter',
xml2js: 'xml2js',
},
resolve: {