Updated deps

This commit is contained in:
DrMint 2023-02-08 23:17:05 +01:00
parent 8c98f0796b
commit fe52ded606
3 changed files with 743 additions and 788 deletions

1478
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -22,41 +22,41 @@
"@fontsource/share-tech-mono": "^4.5.9", "@fontsource/share-tech-mono": "^4.5.9",
"@fontsource/vollkorn": "^4.5.14", "@fontsource/vollkorn": "^4.5.14",
"@fontsource/zen-maru-gothic": "^4.5.16", "@fontsource/zen-maru-gothic": "^4.5.16",
"@formatjs/icu-messageformat-parser": "^2.1.14", "@formatjs/icu-messageformat-parser": "^2.2.0",
"@tippyjs/react": "^4.2.6", "@tippyjs/react": "^4.2.6",
"autoprefixer": "^10.4.13", "autoprefixer": "^10.4.13",
"cuid": "^2.1.8", "cuid": "^2.1.8",
"intl-messageformat": "^10.2.5", "intl-messageformat": "^10.3.0",
"isomorphic-dompurify": "^0.26.0", "isomorphic-dompurify": "^0.26.0",
"jotai": "^1.13.1", "jotai": "^2.0.0",
"markdown-to-jsx": "^7.1.8", "markdown-to-jsx": "^7.1.9",
"marked": "^4.2.12", "marked": "^4.2.12",
"material-symbols": "^0.4.2", "material-symbols": "^0.4.4",
"meilisearch": "^0.30.0", "meilisearch": "^0.31.1",
"next": "^13.1.5", "next": "^13.1.6",
"nodemailer": "^6.9.0", "nodemailer": "^6.9.1",
"rc-slider": "^10.1.0", "rc-slider": "^10.1.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-hotkeys-hook": "^3.4.7", "react-hotkeys-hook": "^3.4.7",
"react-swipeable": "^7.0.0", "react-swipeable": "^7.0.0",
"react-zoom-pan-pinch": "^2.2.1", "react-zoom-pan-pinch": "^2.5.0",
"string-natural-compare": "^3.0.1", "string-natural-compare": "^3.0.1",
"throttle-debounce": "^5.0.0", "throttle-debounce": "^5.0.0",
"tippy.js": "^6.3.7", "tippy.js": "^6.3.7",
"turndown": "^7.1.1", "turndown": "^7.1.1",
"ua-parser-js": "^1.0.33", "ua-parser-js": "^1.0.33",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"zod": "^3.20.2" "zod": "^3.20.5"
}, },
"devDependencies": { "devDependencies": {
"@digitak/esrun": "^3.2.18", "@digitak/esrun": "^3.2.19",
"@graphql-codegen/cli": "^2.16.4", "@graphql-codegen/cli": "^3.0.0",
"@graphql-codegen/typescript": "2.8.7", "@graphql-codegen/typescript": "3.0.0",
"@graphql-codegen/typescript-graphql-request": "^4.5.8", "@graphql-codegen/typescript-graphql-request": "^4.5.8",
"@graphql-codegen/typescript-operations": "^2.5.12", "@graphql-codegen/typescript-operations": "^3.0.0",
"@types/marked": "^4.0.8", "@types/marked": "^4.0.8",
"@types/node": "18.11.18", "@types/node": "18.13.0",
"@types/nodemailer": "^6.4.7", "@types/nodemailer": "^6.4.7",
"@types/react": "^18.0.27", "@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10", "@types/react-dom": "^18.0.10",
@ -64,20 +64,20 @@
"@types/throttle-debounce": "^5.0.0", "@types/throttle-debounce": "^5.0.0",
"@types/turndown": "^5.0.1", "@types/turndown": "^5.0.1",
"@types/ua-parser-js": "^0.7.36", "@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^5.49.0", "@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.49.0", "@typescript-eslint/parser": "^5.51.0",
"dotenv": "^16.0.3", "dotenv": "^16.0.3",
"eslint": "^8.32.0", "eslint": "^8.33.0",
"eslint-config-next": "13.1.5", "eslint-config-next": "13.1.6",
"eslint-plugin-import": "^2.27.5", "eslint-plugin-import": "^2.27.5",
"graphql": "^16.6.0", "graphql": "^16.6.0",
"graphql-request": "^5.1.0", "graphql-request": "^5.1.0",
"next-sitemap": "^3.1.47", "next-sitemap": "^3.1.50",
"prettier": "^2.8.3", "prettier": "^2.8.4",
"prettier-plugin-tailwindcss": "^0.2.2", "prettier-plugin-tailwindcss": "^0.2.2",
"tailwindcss": "^3.2.4", "tailwindcss": "^3.2.6",
"ts-unused-exports": "^9.0.2", "ts-unused-exports": "^9.0.3",
"typescript": "^4.9.4" "typescript": "^4.9.5"
}, },
"overrides": { "overrides": {
"react-zoom-pan-pinch": { "react-zoom-pan-pinch": {

View File

@ -1,7 +1,8 @@
import { atom, PrimitiveAtom, Atom, WritableAtom, useAtom } from "jotai"; import { atom, PrimitiveAtom, Atom, WritableAtom, useAtom } from "jotai";
import { Dispatch, SetStateAction } from "react"; import { Dispatch, SetStateAction } from "react";
type AtomPair<T> = [Atom<T>, WritableAtom<null, T>]; // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-arguments
type AtomPair<T> = [Atom<T>, WritableAtom<null, [newText: T], void>];
export const atomPairing = <T>(anAtom: PrimitiveAtom<T>): AtomPair<T> => { export const atomPairing = <T>(anAtom: PrimitiveAtom<T>): AtomPair<T> => {
const getter = atom((get) => get(anAtom)); const getter = atom((get) => get(anAtom));