Skip to content

Commit 08c9f0e

Browse files
authored
chore(deps): resolve 17 npm security vulnerabilities (audit fixes) (#6106)
1 parent 9c9732c commit 08c9f0e

File tree

4 files changed

+1027
-792
lines changed

4 files changed

+1027
-792
lines changed

js/widgets/statistics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ class StatsWindow {
4343
if (this.widgetWindow.isMaximized()) {
4444
this.widgetWindow.getWidgetBody().style.display = "flex";
4545
this.widgetWindow.getWidgetBody().style.justifyContent = "space-between";
46-
this.widgetWindow.getWidgetBody().style.padding = "0 2vw";
46+
this.widgetWindow.getWidgetBody().style.padding = "0px 2vw";
4747
} else {
48-
this.widgetWindow.getWidgetBody().style.padding = "0 0";
48+
this.widgetWindow.getWidgetBody().style.padding = "0px 0px";
4949
}
5050
this.doAnalytics();
5151
};

js/widgets/statistics.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ describe("StatsWindow", () => {
115115
widgetWin.isMaximized.mockReturnValue(false);
116116
widgetWin.onmaximize();
117117

118-
expect(body.style.padding).toBe("0px 0px");
118+
expect(body.style.padding).toBe("0px");
119119
});
120120

121121
test("chart callback sets img width to 200 when not maximized", () => {

0 commit comments

Comments
 (0)