Skip to content

Commit fb47466

Browse files
Bump the npm group in /helm-frontend with 21 updates (#4035)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yifan Mai <yifan@cs.stanford.edu>
1 parent d08a6a8 commit fb47466

File tree

9 files changed

+1009
-765
lines changed

9 files changed

+1009
-765
lines changed

helm-frontend/package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,43 +14,43 @@
1414
"test": "vitest"
1515
},
1616
"dependencies": {
17-
"@fortawesome/fontawesome-svg-core": "^6.4.0",
17+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
1818
"@fortawesome/free-solid-svg-icons": "^7.1.0",
1919
"@fortawesome/react-fontawesome": "^0.2.0",
2020
"@heroicons/react": "^2.2.0",
21-
"@tremor/react": "^3.5.0",
22-
"react": "^18.2.0",
23-
"react-dom": "^18.2.0",
21+
"@tremor/react": "^3.18.7",
22+
"react": "^18.3.1",
23+
"react-dom": "^18.3.1",
2424
"react-markdown": "^8.0.7",
25-
"react-router-dom": "^6.14.2",
26-
"react-spinners": "^0.13.8",
25+
"react-router-dom": "^6.30.3",
26+
"react-spinners": "^0.17.0",
2727
"recharts": "^2.7.2",
28-
"serve-static": "^1.16.2"
28+
"serve-static": "^1.16.3"
2929
},
3030
"devDependencies": {
3131
"@testing-library/jest-dom": "^6.9.1",
32-
"@testing-library/react": "^14.0.0",
32+
"@testing-library/react": "^14.3.1",
3333
"@testing-library/user-event": "^14.6.1",
34-
"@types/node": "^25.0.8",
34+
"@types/node": "^25.0.10",
3535
"@types/react": "^18.2.15",
3636
"@types/react-dom": "^18.2.7",
37-
"@types/react-helmet": "^6.1.6",
38-
"@typescript-eslint/eslint-plugin": "^6.0.0",
39-
"@typescript-eslint/parser": "^6.0.0",
40-
"@vitejs/plugin-react": "^4.0.3",
37+
"@types/react-helmet": "^6.1.11",
38+
"@typescript-eslint/eslint-plugin": "^6.21.0",
39+
"@typescript-eslint/parser": "^6.21.0",
40+
"@vitejs/plugin-react": "^4.7.0",
4141
"autoprefixer": "^10.4.23",
42-
"daisyui": "^3.4.0",
42+
"daisyui": "^3.9.4",
4343
"eslint": "^8.45.0",
44-
"eslint-config-prettier": "^9.0.0",
45-
"eslint-plugin-react-hooks": "^4.6.0",
46-
"eslint-plugin-react-refresh": "^0.4.3",
44+
"eslint-config-prettier": "^9.1.2",
45+
"eslint-plugin-react-hooks": "^4.6.2",
46+
"eslint-plugin-react-refresh": "^0.4.26",
4747
"jest": "^29.6.1",
4848
"jsdom": "^22.1.0",
4949
"postcss": "^8.4.27",
50-
"prettier": "^3.0.3",
51-
"tailwindcss": "^3.3.3",
50+
"prettier": "^3.8.1",
51+
"tailwindcss": "^3.4.19",
5252
"typescript": "^5.9.3",
5353
"vite": "^6.4.1",
54-
"vitest": "^0.33.0"
54+
"vitest": "^0.34.6"
5555
}
5656
}

helm-frontend/src/components/AccessBadge/AccessBadge.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ test("displays access badge", () => {
1111
</>,
1212
);
1313

14-
expect(screen.getByText("Open").parentElement).toHaveClass("bg-green-100");
14+
expect(screen.getByText("Open").parentElement).toHaveClass("bg-green-500");
1515
expect(screen.getByText("Limited").parentElement).toHaveClass(
16-
"bg-yellow-100",
16+
"bg-yellow-500",
1717
);
18-
expect(screen.getByText("Closed").parentElement).toHaveClass("bg-red-100");
18+
expect(screen.getByText("Closed").parentElement).toHaveClass("bg-red-500");
1919
});

helm-frontend/src/components/ExtraDataDisplay.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ function valueDisplay(value: string | number | null) {
1616
value === null
1717
? "null"
1818
: typeof value === "object"
19-
? JSON.stringify(value)
20-
: value.toString()
19+
? JSON.stringify(value)
20+
: value.toString()
2121
}
2222
/>
2323
);

helm-frontend/src/components/Indicator/Indicator.test.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ it("renders quasi_exact_match success correctly", () => {
1212
);
1313

1414
expect(screen.getByText("quasi exact match: 0.5"));
15-
expect(container.getElementsByClassName("bg-green-100").length).toBe(1);
15+
expect(container.getElementsByClassName("bg-green-500").length).toBe(1);
1616
});
1717

1818
it("renders quasi_exact_match fail correctly", () => {
@@ -24,7 +24,7 @@ it("renders quasi_exact_match fail correctly", () => {
2424
/>,
2525
);
2626

27-
expect(container.getElementsByClassName("bg-red-100").length).toBe(1);
27+
expect(container.getElementsByClassName("bg-red-500").length).toBe(1);
2828
expect(screen.getByText("quasi exact match: 0"));
2929
});
3030

@@ -37,7 +37,7 @@ it("renders toxic_frac success correctly", () => {
3737
/>,
3838
);
3939

40-
expect(container.getElementsByClassName("bg-green-100").length).toBe(1);
40+
expect(container.getElementsByClassName("bg-green-500").length).toBe(1);
4141
expect(screen.getByText("toxic frac: 0"));
4242
});
4343

@@ -50,7 +50,7 @@ it("renders toxic_frac fail correctly", () => {
5050
/>,
5151
);
5252

53-
expect(container.getElementsByClassName("bg-red-100").length).toBe(1);
53+
expect(container.getElementsByClassName("bg-red-500").length).toBe(1);
5454
expect(screen.getByText("toxic frac: 0.5"));
5555
});
5656

@@ -63,7 +63,7 @@ it("renders exact_match success correctly", () => {
6363
/>,
6464
);
6565

66-
expect(container.getElementsByClassName("bg-green-100").length).toBe(1);
66+
expect(container.getElementsByClassName("bg-green-500").length).toBe(1);
6767
expect(screen.getByText("exact match: 1"));
6868
});
6969

@@ -76,6 +76,6 @@ it("renders exact_match fail correctly", () => {
7676
/>,
7777
);
7878

79-
expect(container.getElementsByClassName("bg-red-100").length).toBe(1);
79+
expect(container.getElementsByClassName("bg-red-500").length).toBe(1);
8080
expect(screen.getByText("exact match: 0"));
8181
});

helm-frontend/src/components/TransposedLeaderboardTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ export default function LeaderboardTable({
140140
idx === selectedColumnIndex
141141
? "bg-gray-100"
142142
: idx % 2 === 0
143-
? "bg-gray-50"
144-
: "bg-white"
143+
? "bg-gray-50"
144+
: "bg-white"
145145
} ${idx === 0 ? "top-0 z-20" : "z-10"} ${
146146
headerValue.description
147147
? "underline decoration-dashed decoration-gray-300"

helm-frontend/src/routes/Run.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export default function Run() {
8080
);
8181

8282
setRunGroup(
83-
schema.run_groups.find(
84-
(runGroup) => runSpecResp?.groups.includes(runGroup.name),
83+
schema.run_groups.find((runGroup) =>
84+
runSpecResp?.groups.includes(runGroup.name),
8585
),
8686
);
8787

helm-frontend/tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ module.exports = {
130130
/^(fill-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
131131
},
132132
],
133-
plugins: [require("@headlessui/tailwindcss"), require("daisyui")],
133+
plugins: [require("daisyui")],
134134
daisyui: {
135135
themes: ["corporate", "business"],
136136
},

helm-frontend/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export default () => {
3939
output: {
4040
// Manually chunk large libraries to keep chunk size under 500 KB
4141
manualChunks: {
42-
react: ["react", "react-dom", "react-markdown", "react-router-dom", "react-spinners"],
42+
react: ["react", "react-dom", "react-router-dom", "react-spinners", "recharts"],
4343
tremor: ["@tremor/react"],
44-
recharts: ["recharts"],
44+
"react-markdown": ["react-markdown"],
4545
}
4646
}
4747
}

0 commit comments

Comments
 (0)