Skip to content

Commit 0dd6b06

Browse files
committed
Update deps n stuff
1 parent 07be2a5 commit 0dd6b06

8 files changed

Lines changed: 1760 additions & 1937 deletions

File tree

website/package-lock.json

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

website/package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,21 @@
1313
"dependencies": {
1414
"jszip": "^3.10.1",
1515
"pako": "^2.1.0",
16-
"react": "^18.3.1",
17-
"react-dom": "^18.3.1",
18-
"react-router-dom": "^7.13.0"
16+
"react": "^19.2.4",
17+
"react-dom": "^19.2.4",
18+
"react-router-dom": "^7.13.1"
1919
},
2020
"devDependencies": {
21-
"@types/node": "^22.16.5",
21+
"@tailwindcss/postcss": "^4.2.1",
22+
"@types/node": "^25.3.3",
2223
"@types/pako": "^2.0.4",
23-
"@types/react": "^18.3.23",
24-
"@types/react-dom": "^18.3.7",
25-
"@vitejs/plugin-react-swc": "^3.11.0",
26-
"autoprefixer": "^10.4.21",
27-
"postcss": "^8.5.6",
28-
"tailwindcss": "^3.4.17",
29-
"typescript": "^5.8.3",
30-
"vite": "^5.4.19"
24+
"@types/react": "^19.2.14",
25+
"@types/react-dom": "^19.2.3",
26+
"@vitejs/plugin-react-swc": "^4.2.3",
27+
"autoprefixer": "^10.4.27",
28+
"postcss": "^8.5.8",
29+
"tailwindcss": "^4.2.1",
30+
"typescript": "^5.9.3",
31+
"vite": "^7.3.1"
3132
}
3233
}

website/postcss.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
22
plugins: {
3-
tailwindcss: {},
3+
"@tailwindcss/postcss": {},
44
autoprefixer: {},
55
},
6-
};
6+
};

website/src/index.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import "tailwindcss";
2+
3+
@theme inline {
4+
--color-background: hsl(var(--background));
5+
--color-foreground: hsl(var(--foreground));
6+
--color-muted: hsl(var(--muted));
7+
--color-muted-foreground: hsl(var(--muted-foreground));
8+
--color-border: hsl(var(--border));
9+
--color-accent: hsl(var(--accent));
10+
--color-accent-foreground: hsl(var(--accent-foreground));
11+
}
412

513
:root {
614
--background: 220 20% 97%;

website/src/lib/javaDeserialize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class JavaDeserializer {
271271
if (desc.name === "java.lang.Integer") {
272272
this.handles[hi] = obj.value; return obj.value;
273273
}
274-
if (desc.name.startsWith("java.lang.") && Object.prototype.hasOwnProperty.call(obj, "value")) {
274+
if (desc.name.startsWith("java.lang.") && Object.hasOwn(obj, "value")) {
275275
throw new Error(`Unsupported boxed primitive in cache shape: ${desc.name}`);
276276
}
277277
return obj;

website/src/lib/uuid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const uuidsToBytes = (uuidList: string[]): Uint8Array => {
6363
for (const [i, uuid] of uuidList.entries()) {
6464
const dashed = parseDashedUuid(uuid);
6565
if (!dashed) throw new Error(`Invalid UUID: ${uuid}`);
66-
const hex = dashed.replace(/-/g, ""); // The only place where I've decided to strip UUID dashes, for iteration ease
66+
const hex = dashed.replaceAll("-", "");
6767
for (let j = 0; j < 16; ++j)
6868
bytes[i * 16 + j] = Number.parseInt(hex.slice(j * 2, j * 2 + 2), 16);
6969
}

website/tailwind.config.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

website/tsconfig.app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2020",
3+
"target": "ES2023",
44
"useDefineForClassFields": true,
5-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
5+
"lib": ["ES2023", "DOM", "DOM.Iterable"],
66
"module": "ESNext",
77
"skipLibCheck": true,
88

0 commit comments

Comments
 (0)