mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-09-08 20:25:34 -04:00
bump deps and fix lint
This commit is contained in:
@@ -58,7 +58,7 @@ const VNC = ({ server, style, ...rest }: VNCProps, ref: Ref<Partial<RFB>>) => {
|
|||||||
if (connected) {
|
if (connected) {
|
||||||
rfbRef.current?.disconnect();
|
rfbRef.current?.disconnect();
|
||||||
}
|
}
|
||||||
} catch (error) {} // eslint-disable-line no-empty
|
} catch (error) {} // eslint-disable-line no-empty, @typescript-eslint/no-unused-vars
|
||||||
|
|
||||||
rfbRef.current = null;
|
rfbRef.current = null;
|
||||||
setConnected(false);
|
setConnected(false);
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ const useLocalStorage = <T = string>(
|
|||||||
window.localStorage.setItem(key, serializer(initialValue));
|
window.localStorage.setItem(key, serializer(initialValue));
|
||||||
return initialValue;
|
return initialValue;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (
|
||||||
|
error // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||||
|
) {
|
||||||
return initialValue;
|
return initialValue;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -63,7 +65,7 @@ const useLocalStorage = <T = string>(
|
|||||||
try {
|
try {
|
||||||
window.localStorage.removeItem(key);
|
window.localStorage.removeItem(key);
|
||||||
setState(undefined);
|
setState(undefined);
|
||||||
} catch (error) {} // eslint-disable-line no-empty
|
} catch (error) {} // eslint-disable-line no-empty, @typescript-eslint/no-unused-vars
|
||||||
}, [key]);
|
}, [key]);
|
||||||
|
|
||||||
return [state, set, remove];
|
return [state, set, remove];
|
||||||
|
|||||||
+18
-18
@@ -21,28 +21,28 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@giscus/react": "^3.0.0",
|
"@giscus/react": "^3.0.0",
|
||||||
"@libsql/client": "^0.6.2",
|
"@libsql/client": "^0.8.1",
|
||||||
"@novnc/novnc": "1.4.0",
|
"@novnc/novnc": "1.4.0",
|
||||||
"@octokit/graphql": "^8.1.1",
|
"@octokit/graphql": "^8.1.1",
|
||||||
"@octokit/graphql-schema": "^15.25.0",
|
"@octokit/graphql-schema": "^15.25.0",
|
||||||
"@prisma/adapter-libsql": "^5.17.0",
|
"@prisma/adapter-libsql": "^5.19.1",
|
||||||
"@prisma/client": "^5.17.0",
|
"@prisma/client": "^5.19.1",
|
||||||
"@react-spring/web": "^9.7.4",
|
"@react-spring/web": "^9.7.4",
|
||||||
"@stitches/react": "1.3.1-1",
|
"@stitches/react": "1.3.1-1",
|
||||||
"@vercel/analytics": "^1.3.1",
|
"@vercel/analytics": "^1.3.1",
|
||||||
"@vercel/speed-insights": "^1.0.12",
|
"@vercel/speed-insights": "^1.0.12",
|
||||||
"comma-number": "^2.1.0",
|
"comma-number": "^2.1.0",
|
||||||
"copy-to-clipboard": "^3.3.3",
|
"copy-to-clipboard": "^3.3.3",
|
||||||
"dayjs": "^1.11.12",
|
"dayjs": "^1.11.13",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"feed": "^4.2.2",
|
"feed": "^4.2.2",
|
||||||
"formik": "^2.4.6",
|
"formik": "^2.4.6",
|
||||||
"geist": "^1.3.1",
|
"geist": "^1.3.1",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"next": "14.2.5",
|
"next": "14.2.9",
|
||||||
"next-mdx-remote": "^5.0.0",
|
"next-mdx-remote": "^5.0.0",
|
||||||
"next-seo": "^6.5.0",
|
"next-seo": "^6.6.0",
|
||||||
"nodemailer": "^6.9.14",
|
"nodemailer": "^6.9.15",
|
||||||
"obj-str": "^1.1.0",
|
"obj-str": "^1.1.0",
|
||||||
"p-map": "^7.0.2",
|
"p-map": "^7.0.2",
|
||||||
"p-memoize": "^7.1.1",
|
"p-memoize": "^7.1.1",
|
||||||
@@ -53,9 +53,9 @@
|
|||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-error-boundary": "^4.0.13",
|
"react-error-boundary": "^4.0.13",
|
||||||
"react-frame-component": "^5.2.7",
|
"react-frame-component": "^5.2.7",
|
||||||
"react-icons": "^5.2.1",
|
"react-icons": "^5.3.0",
|
||||||
"react-innertext": "^1.1.5",
|
"react-innertext": "^1.1.5",
|
||||||
"react-intersection-observer": "^9.13.0",
|
"react-intersection-observer": "^9.13.1",
|
||||||
"react-is": "18.3.1",
|
"react-is": "18.3.1",
|
||||||
"react-player": "^2.16.0",
|
"react-player": "^2.16.0",
|
||||||
"react-textarea-autosize": "^8.5.3",
|
"react-textarea-autosize": "^8.5.3",
|
||||||
@@ -80,30 +80,30 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jakejarvis/eslint-config": "^3.1.0",
|
"@jakejarvis/eslint-config": "^3.1.0",
|
||||||
"@types/comma-number": "^2.1.2",
|
"@types/comma-number": "^2.1.2",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.5.4",
|
||||||
"@types/nodemailer": "^6.4.15",
|
"@types/nodemailer": "^6.4.15",
|
||||||
"@types/novnc__novnc": "1.3.4",
|
"@types/novnc__novnc": "1.3.4",
|
||||||
"@types/prop-types": "^15.7.12",
|
"@types/prop-types": "^15.7.12",
|
||||||
"@types/react": "^18.3.3",
|
"@types/react": "^18.3.5",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"@types/react-is": "^18.3.0",
|
"@types/react-is": "^18.3.0",
|
||||||
"@types/strip-comments": "^2.0.4",
|
"@types/strip-comments": "^2.0.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
||||||
"@typescript-eslint/parser": "^7.18.0",
|
"@typescript-eslint/parser": "^8.5.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "~8.57.0",
|
"eslint": "~8.57.0",
|
||||||
"eslint-config-next": "14.2.5",
|
"eslint-config-next": "14.2.9",
|
||||||
"eslint-config-prettier": "~9.1.0",
|
"eslint-config-prettier": "~9.1.0",
|
||||||
"eslint-plugin-mdx": "~3.1.5",
|
"eslint-plugin-mdx": "~3.1.5",
|
||||||
"eslint-plugin-prettier": "~5.2.1",
|
"eslint-plugin-prettier": "~5.2.1",
|
||||||
"lint-staged": "^15.2.7",
|
"lint-staged": "^15.2.10",
|
||||||
"prettier": "^3.3.3",
|
"prettier": "^3.3.3",
|
||||||
"prisma": "^5.17.0",
|
"prisma": "^5.19.1",
|
||||||
"simple-git-hooks": "^2.11.1",
|
"simple-git-hooks": "^2.11.1",
|
||||||
"typescript": "^5.5.4"
|
"typescript": "^5.6.2"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"sharp": "^0.33.4"
|
"sharp": "^0.33.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.x"
|
"node": ">=20.x"
|
||||||
|
|||||||
Generated
+519
-420
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user