Skip to content

Commit 63c94f0

Browse files
committed
Update @types/vscode and vscode engine to 1.53
This requires updating the `StatusBarItem` implementation, but moreover, raises the lowest supported version of VS Code.
1 parent 7334c62 commit 63c94f0

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"publisher": "ms-vscode",
77
"description": "(Preview) Develop PowerShell scripts in Visual Studio Code!",
88
"engines": {
9-
"vscode": "^1.52.0"
9+
"vscode": "^1.53.0"
1010
},
1111
"license": "SEE LICENSE IN LICENSE.txt",
1212
"homepage": "https://github.com/PowerShell/vscode-powershell/blob/master/README.md",
@@ -68,7 +68,7 @@
6868
"@types/semver": "~7.3.4",
6969
"@types/sinon": "~9.0.10",
7070
"@types/uuid": "~8.3.0",
71-
"@types/vscode": "~1.52.0",
71+
"@types/vscode": "~1.53.0",
7272
"mocha": "~8.2.1",
7373
"mocha-junit-reporter": "~2.0.0",
7474
"mocha-multi-reporters": "~1.5.1",

src/controls/animatedStatusBar.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ class AnimatedStatusBarItem implements StatusBarItem {
5959
this.statusBarItem.color = value;
6060
}
6161

62+
public get backgroundColor(): string | ThemeColor {
63+
return this.statusBarItem.backgroundColor;
64+
}
65+
66+
public set backgroundColor(value: string | ThemeColor) {
67+
this.statusBarItem.backgroundColor = value;
68+
}
69+
6270
public get command(): string | Command {
6371
return this.statusBarItem.command;
6472
}

0 commit comments

Comments
 (0)