Skip to content

Commit 90bd209

Browse files
authored
build: DH-20954: Upgraded VS Code engine to ^1.105.0 (#264)
DH-20954: Upgraded VS Code engine to ^1.105.0 This is to bring in newer language model apis for building LM tools into the extension. These tools are iterating pretty quickly, so targeting as late as possible, but capping to 1.105.0 to accommodate latest Windsurf version. Also upgraded a few packages causing npm security errors. ## Testing - Unit + regression tests should pass
1 parent db8f96a commit 90bd209

File tree

11 files changed

+8741
-8610
lines changed

11 files changed

+8741
-8610
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.15.1
1+
v22.21.1

__mocks__/vscode.ts

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -146,20 +146,16 @@ export class Selection {
146146
active: Position;
147147
}
148148

149-
export const ThemeColor = vi
150-
.fn()
151-
.mockName('ThemeColor')
152-
.mockImplementation((id: string) => ({
153-
id,
154-
}));
155-
156-
export const ThemeIcon = vi
157-
.fn()
158-
.mockName('ThemeIcon')
159-
.mockImplementation((id: string, color?: typeof ThemeColor) => ({
160-
id,
161-
color,
162-
}));
149+
export class ThemeColor {
150+
constructor(public id: string) {}
151+
}
152+
153+
export class ThemeIcon {
154+
constructor(
155+
public id: string,
156+
public color?: ThemeColor
157+
) {}
158+
}
163159

164160
export enum TreeItemCheckboxState {
165161
Unchecked = 0,

0 commit comments

Comments
 (0)