Upgrade deps

This commit is contained in:
Kalle 2023-12-10 09:19:56 +02:00
parent 7f395e9897
commit 7efb80b9f6
11 changed files with 37 additions and 37 deletions

View File

@ -4,7 +4,7 @@ import type {
SerializeFrom,
} from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import { cachified } from "cachified";
import { cachified } from "@epic-web/cachified";
import clsx from "clsx";
import { Ability } from "~/components/Ability";
import { Main } from "~/components/Main";

View File

@ -24,7 +24,7 @@ import {
import { i18next } from "~/modules/i18n";
import { makeTitle } from "~/utils/strings";
import { cache, ttl } from "~/utils/cache.server";
import { cachified } from "cachified";
import { cachified } from "@epic-web/cachified";
export const meta: MetaFunction = (args) => {
const data = args.data as SerializeFrom<typeof loader> | null;

View File

@ -8,7 +8,7 @@ import {
useLoaderData,
useSearchParams,
} from "@remix-run/react";
import { cachified } from "cachified";
import { cachified } from "@epic-web/cachified";
import clone from "just-clone";
import { nanoid } from "nanoid";
import * as React from "react";

View File

@ -54,7 +54,7 @@ import {
ownEntryPeek,
} from "../core/leaderboards.server";
import { seasonPopularUsersWeapon } from "../queries/seasonPopularUsersWeapon.server";
import { cachified } from "cachified";
import { cachified } from "@epic-web/cachified";
import { cache, ttl } from "~/utils/cache.server";
import { HALF_HOUR_IN_MS } from "~/constants";
import { TopTenPlayer } from "../components/TopTenPlayer";

View File

@ -8,7 +8,7 @@ import {
import type { Skill } from "~/db/types";
import { MATCHES_COUNT_NEEDED_FOR_LEADERBOARD } from "../leaderboards/leaderboards-constants";
import { orderedMMRBySeason } from "./queries/orderedMMRBySeason.server";
import { cachified } from "cachified";
import { cachified } from "@epic-web/cachified";
import { cache, ttl } from "~/utils/cache.server";
import { HALF_HOUR_IN_MS, ONE_HOUR_IN_MS } from "~/constants";
import { USER_SKILLS_CACHE_KEY } from "../sendouq/q-constants";

View File

@ -101,7 +101,7 @@ import { useWindowSize } from "~/hooks/useWindowSize";
import { joinListToNaturalString } from "~/utils/arrays";
import { NewTabs } from "~/components/NewTabs";
import { Alert } from "~/components/Alert";
import cachified from "cachified";
import cachified from "@epic-web/cachified";
export const meta: MetaFunction = (args) => {
const data = args.data as SerializeFrom<typeof loader> | null;

View File

@ -1,4 +1,4 @@
import { cachified } from "cachified";
import { cachified } from "@epic-web/cachified";
import { type StreamsResponse, type RawStream, streamsSchema } from "./schemas";
import { getToken, purgeCachedToken } from "./token";
import { getTwitchEnvVars } from "./utils";

View File

@ -1,4 +1,4 @@
import { cachified } from "cachified";
import { cachified } from "@epic-web/cachified";
import { cache } from "~/utils/cache.server";
import { tokenResponseSchema } from "./schemas";
import { getTwitchEnvVars } from "./utils";

View File

@ -1,4 +1,4 @@
import type { CacheEntry } from "cachified";
import type { CacheEntry } from "@epic-web/cachified";
import { LRUCache } from "lru-cache";
declare global {

50
package-lock.json generated
View File

@ -13,6 +13,7 @@
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@epic-web/cachified": "^4.0.0",
"@faker-js/faker": "^8.3.1",
"@headlessui/react": "^1.7.17",
"@popperjs/core": "^2.11.8",
@ -22,7 +23,6 @@
"@tldraw/tldraw": "^1.29.2",
"aws-sdk": "^2.1515.0",
"better-sqlite3": "^9.2.2",
"cachified": "^3.5.4",
"clsx": "^2.0.0",
"compressorjs": "^1.2.1",
"countries-list": "^3.0.6",
@ -46,7 +46,7 @@
"nprogress": "^0.2.0",
"openskill": "^3.1.0",
"react": "^18.2.0",
"react-charts": "^3.0.0-beta.55",
"react-charts": "^3.0.0-beta.57",
"react-dom": "^18.2.0",
"react-flip-toolkit": "^7.1.0",
"react-i18next": "^13.5.0",
@ -72,7 +72,7 @@
"@types/node-cron": "^3.0.11",
"@types/nprogress": "^0.2.3",
"@types/prettier": "3.0.0",
"@types/react": "^18.2.42",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/react-responsive-masonry": "^2.1.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",
@ -1669,6 +1669,11 @@
"integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ==",
"dev": true
},
"node_modules/@epic-web/cachified": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@epic-web/cachified/-/cachified-4.0.0.tgz",
"integrity": "sha512-5XPdddRV1NrRev5HjfvM72tBh2jnfzBXdbcirtt0G0hveDHT4pOPrYCfyHNt+QcKSX0yifXimWMirOVXtg8ewQ=="
},
"node_modules/@esbuild/android-arm": {
"version": "0.17.6",
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.6.tgz",
@ -5183,9 +5188,9 @@
}
},
"node_modules/@types/react": {
"version": "18.2.42",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.42.tgz",
"integrity": "sha512-c1zEr96MjakLYus/wPnuWDo1/zErfdU9rNsIGmE+NV71nx88FG9Ttgo5dqorXTu/LImX2f63WBP986gJkMPNbA==",
"version": "18.2.43",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.43.tgz",
"integrity": "sha512-nvOV01ZdBdd/KW6FahSbcNplt2jCJfyWdTos61RYHV+FVv5L/g9AOX1bmbVcWcLFL8+KHQfh1zVIQrud6ihyQA==",
"dependencies": {
"@types/prop-types": "*",
"@types/scheduler": "*",
@ -6661,11 +6666,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/cachified": {
"version": "3.5.4",
"resolved": "https://registry.npmjs.org/cachified/-/cachified-3.5.4.tgz",
"integrity": "sha512-RO7jQl7vL1qulRvr+o++iVVduFlKb2pJUYxY48LULusyqmGUFaRESERu1Z7UI895JNtTB4yvfErNv64OsayK8g=="
},
"node_modules/call-bind": {
"version": "1.0.2",
"license": "MIT",
@ -12868,9 +12868,9 @@
}
},
"node_modules/react-charts": {
"version": "3.0.0-beta.55",
"resolved": "https://registry.npmjs.org/react-charts/-/react-charts-3.0.0-beta.55.tgz",
"integrity": "sha512-PuPGoK/3B4SgmnANqh1+biuJAN/iYAvLO/juLKJ2dtF0+Wzfa0KarGbgAij2o8P83bAn9bZnu46RCevNvYwOjQ==",
"version": "3.0.0-beta.57",
"resolved": "https://registry.npmjs.org/react-charts/-/react-charts-3.0.0-beta.57.tgz",
"integrity": "sha512-vqas7IQhsnDGcMxreGaWXvSIL3poEMoUBNltJrslz/+m0pI3QejBCszL1QrLNYQfOWXrbZADfedi/a+yWOQ7Hw==",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@types/d3-array": "^3.0.1",
@ -18106,6 +18106,11 @@
"integrity": "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ==",
"dev": true
},
"@epic-web/cachified": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@epic-web/cachified/-/cachified-4.0.0.tgz",
"integrity": "sha512-5XPdddRV1NrRev5HjfvM72tBh2jnfzBXdbcirtt0G0hveDHT4pOPrYCfyHNt+QcKSX0yifXimWMirOVXtg8ewQ=="
},
"@esbuild/android-arm": {
"version": "0.17.6",
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.6.tgz",
@ -20550,9 +20555,9 @@
}
},
"@types/react": {
"version": "18.2.42",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.42.tgz",
"integrity": "sha512-c1zEr96MjakLYus/wPnuWDo1/zErfdU9rNsIGmE+NV71nx88FG9Ttgo5dqorXTu/LImX2f63WBP986gJkMPNbA==",
"version": "18.2.43",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.43.tgz",
"integrity": "sha512-nvOV01ZdBdd/KW6FahSbcNplt2jCJfyWdTos61RYHV+FVv5L/g9AOX1bmbVcWcLFL8+KHQfh1zVIQrud6ihyQA==",
"requires": {
"@types/prop-types": "*",
"@types/scheduler": "*",
@ -21467,11 +21472,6 @@
}
}
},
"cachified": {
"version": "3.5.4",
"resolved": "https://registry.npmjs.org/cachified/-/cachified-3.5.4.tgz",
"integrity": "sha512-RO7jQl7vL1qulRvr+o++iVVduFlKb2pJUYxY48LULusyqmGUFaRESERu1Z7UI895JNtTB4yvfErNv64OsayK8g=="
},
"call-bind": {
"version": "1.0.2",
"requires": {
@ -25548,9 +25548,9 @@
}
},
"react-charts": {
"version": "3.0.0-beta.55",
"resolved": "https://registry.npmjs.org/react-charts/-/react-charts-3.0.0-beta.55.tgz",
"integrity": "sha512-PuPGoK/3B4SgmnANqh1+biuJAN/iYAvLO/juLKJ2dtF0+Wzfa0KarGbgAij2o8P83bAn9bZnu46RCevNvYwOjQ==",
"version": "3.0.0-beta.57",
"resolved": "https://registry.npmjs.org/react-charts/-/react-charts-3.0.0-beta.57.tgz",
"integrity": "sha512-vqas7IQhsnDGcMxreGaWXvSIL3poEMoUBNltJrslz/+m0pI3QejBCszL1QrLNYQfOWXrbZADfedi/a+yWOQ7Hw==",
"requires": {
"@babel/runtime": "^7.14.6",
"@types/d3-array": "^3.0.1",

View File

@ -53,6 +53,7 @@
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@epic-web/cachified": "^4.0.0",
"@faker-js/faker": "^8.3.1",
"@headlessui/react": "^1.7.17",
"@popperjs/core": "^2.11.8",
@ -62,7 +63,6 @@
"@tldraw/tldraw": "^1.29.2",
"aws-sdk": "^2.1515.0",
"better-sqlite3": "^9.2.2",
"cachified": "^3.5.4",
"clsx": "^2.0.0",
"compressorjs": "^1.2.1",
"countries-list": "^3.0.6",
@ -86,7 +86,7 @@
"nprogress": "^0.2.0",
"openskill": "^3.1.0",
"react": "^18.2.0",
"react-charts": "^3.0.0-beta.55",
"react-charts": "^3.0.0-beta.57",
"react-dom": "^18.2.0",
"react-flip-toolkit": "^7.1.0",
"react-i18next": "^13.5.0",
@ -112,7 +112,7 @@
"@types/node-cron": "^3.0.11",
"@types/nprogress": "^0.2.3",
"@types/prettier": "3.0.0",
"@types/react": "^18.2.42",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/react-responsive-masonry": "^2.1.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",