1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 09:45:22 -04:00

set html class to light theme in static output

This commit is contained in:
Jake Jarvis 2022-06-03 09:52:18 -04:00
parent acc6b11fa7
commit 3f931e01ce
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
8 changed files with 117 additions and 106 deletions

View File

@ -1 +1 @@
16.15.0
16.15.1

View File

@ -1,9 +1,15 @@
import { useMemo } from "react";
import { minify } from "uglify-js";
import { clientScript } from "./client";
import { themeClassNames, themeStorageKey } from "../../lib/config/themes";
const ThemeScript = () => {
export type ThemeScriptProps = {
themeClassNames: {
[themeName: string]: string;
};
themeStorageKey: string;
};
const ThemeScript = ({ themeClassNames, themeStorageKey }: ThemeScriptProps) => {
const minified = useMemo(() => {
// since the client function will end up being injected as a plain dumb string, we need to set dynamic values here:
const functionString = String(clientScript)
@ -30,7 +36,7 @@ const ThemeScript = () => {
}
return result.code;
}, []);
}, [themeClassNames, themeStorageKey]);
// the script tag injected manually into `<head>` in _document.tsx to prevent FARTing:
// https://css-tricks.com/flash-of-inaccurate-color-theme-fart/

View File

@ -12,5 +12,8 @@ export const themeColors = {
dark: darkTheme.colors.backgroundOuter?.value,
};
// default/fallback theme
export const themeDefault = "light";
// local storage key
export const themeStorageKey = "theme";

View File

@ -8,6 +8,7 @@ tags:
- Next.js
- Hugo
- Meta
image: "/static/images/notes/hugo-to-nextjs/web-vitals.png"
---
<Image

View File

@ -42,7 +42,7 @@
"gray-matter": "^4.0.3",
"hex-to-rgba": "^2.0.1",
"markdown-to-jsx": "^7.1.7",
"next": "12.1.7-canary.28",
"next": "12.1.7-canary.29",
"next-compose-plugins": "^2.2.1",
"next-mdx-remote": "^4.0.3",
"next-seo": "^5.4.0",
@ -77,7 +77,7 @@
},
"devDependencies": {
"@jakejarvis/eslint-config": "*",
"@next/bundle-analyzer": "12.1.7-canary.28",
"@next/bundle-analyzer": "12.1.7-canary.29",
"@svgr/webpack": "^6.2.1",
"@types/comma-number": "^2.1.0",
"@types/node": "*",
@ -92,7 +92,7 @@
"@typescript-eslint/parser": "^5.27.0",
"cross-env": "^7.0.3",
"eslint": "~8.16.0",
"eslint-config-next": "12.1.7-canary.28",
"eslint-config-next": "12.1.7-canary.29",
"eslint-config-prettier": "~8.5.0",
"eslint-plugin-mdx": "~1.17.0",
"eslint-plugin-prettier": "~4.0.0",
@ -119,7 +119,7 @@
},
"packageManager": "yarn@1.22.18",
"volta": {
"node": "16.15.0",
"node": "16.15.1",
"yarn": "1.22.18"
}
}

View File

@ -1,15 +1,16 @@
import { Html, Head, Main, NextScript } from "next/document";
import ThemeScript from "../components/ThemeScript/ThemeScript";
import { getCssText, preloadFonts } from "../lib/styles/stitches.config";
import { themeClassNames, themeDefault, themeStorageKey } from "../lib/config/themes";
import * as config from "../lib/config";
// https://nextjs.org/docs/advanced-features/custom-document
const Document = () => {
return (
<Html lang={config.siteLocale}>
<Html lang={config.siteLocale} className={themeClassNames[themeDefault]}>
<Head>
{/* inject a small script to set/restore the user's theme ASAP */}
<ThemeScript />
<ThemeScript {...{ themeClassNames, themeStorageKey }} />
{/* preload highest priority fonts defined in ../lib/styles/fonts/ */}
{preloadFonts.map((font) => (

View File

@ -118,7 +118,7 @@ const Index = () => {
</H1>
<H2>
I'm a frontend web developer based in{" "}
I'm a frontend web developer based in the{" "}
<ColorfulLink
href="https://www.youtube-nocookie.com/embed/rLwbzGyC6t4?hl=en&amp;fs=1&amp;showinfo=1&amp;rel=0&amp;iv_load_policy=3"
title='"Boston Accent Trailer - Late Night with Seth Meyers" on YouTube'
@ -126,8 +126,8 @@ const Index = () => {
darkColor="#ff5146"
>
Boston
</ColorfulLink>
.
</ColorfulLink>{" "}
area.
</H2>
<Paragraph>

186
yarn.lock
View File

@ -1175,89 +1175,89 @@
resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b"
integrity sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==
"@next/bundle-analyzer@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/bundle-analyzer/-/bundle-analyzer-12.1.7-canary.28.tgz#cd4b1fb8723d7eb5eafb56a290e88c69f4589d45"
integrity sha512-LQ5MRjH+aqEcghhxFHidkc+WIt8GsWTVbFexKBaNpVVkMWZ/t9wJzSEjr9QdIRKH4rQaMQQy/+Ex38xRhXw3pA==
"@next/bundle-analyzer@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/bundle-analyzer/-/bundle-analyzer-12.1.7-canary.29.tgz#0e75a05b3f22daf363e1d45c6ab907758635b5ad"
integrity sha512-yrTX3l3wQyG1oCiKiO4RmX7LjEBKmAJXcJYlnk5OXOBvijV8PMVYg8F3UwvQxYd1valNWUQvIMxr3QhPx/pMGg==
dependencies:
webpack-bundle-analyzer "4.3.0"
"@next/env@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/env/-/env-12.1.7-canary.28.tgz#792fc3cb5625a941ef8cc767b22780c3d34084d5"
integrity sha512-fsJ8HIldV9Hh66xDg+mFnZPTl3KcUCkV6wIsw9YgeBcC+BWosqs7kyE4z8+qgVHs52hq9pa1tYhor5DhsG7MLw==
"@next/env@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/env/-/env-12.1.7-canary.29.tgz#c617f8a18aff7d4fe858b2b39f4f05f204a56f40"
integrity sha512-36l4x74ul94lqddrBiCHuq0d7vj00WYXiqEMcvvlrbFxwpdSKEMWxpqHpzP4gQi5Kz2kqJ0m63o1SgITsdGWqw==
"@next/eslint-plugin-next@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.1.7-canary.28.tgz#afa81a44664fccda00d6fc924543836b4b267c12"
integrity sha512-fBLNf/7xReQCxUmAPdgskA0PiBaCWgac9dg0MeMUpAGfkSutSHYqY7cSI3oEIH+es/6dpeJSnDJ5PROIn9xyAw==
"@next/eslint-plugin-next@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.1.7-canary.29.tgz#6e6f4d170eeb87185c726986556d7b9c79733758"
integrity sha512-R9k3r/dMMAeIUPCPhiyBhY2gyZZlHzSFBGveYRiUiyQ0VP9kr0XJiVOJ1yjO4XBBB4I9AJxHJfLMyaszg7noHw==
dependencies:
glob "7.1.7"
"@next/swc-android-arm-eabi@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.1.7-canary.28.tgz#4fc6bc4cc7e234c24e2a76f06b35f2f79e358a96"
integrity sha512-77FEXwJB8Myfi4n5tycVsL0T4uHVniZiOcx1ITmM1DhuXjMtPSeuhObZRhqDP3j4KMMD2M/iJijJ1roPPzo5aA==
"@next/swc-android-arm-eabi@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.1.7-canary.29.tgz#9f38fb9d677f8323ca733edcde7f592d84d5675b"
integrity sha512-jUxPUfN+WipDovzC1TP6aZz+zFTCNeD4Z6EVCzby0S6tB2D88/UslGKOj4j9qXA04B1aJrO58M4ZX1fcDNHn6g==
"@next/swc-android-arm64@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.1.7-canary.28.tgz#a520979e8ce9f2bf4dead0f4f4beab7069048a69"
integrity sha512-AuVevs2Isw2PLAmKWuolkDYXAVPiQnXX8K+scw+n2cckgsVT4Agd6RFzRETTug1oXM+Whil6m5FbMc+u5dWuXw==
"@next/swc-android-arm64@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.1.7-canary.29.tgz#7da9ddb431a741d3dce17ef1b31dc51d2235bfe9"
integrity sha512-o2pk+SDeloVlic7sH5uosHQ8xNRE0A4SaWS4ccF9pTo3MfbfV6nqMfl308BP/z2UpSlEaqzBe/rpZalSUAtm5g==
"@next/swc-darwin-arm64@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.1.7-canary.28.tgz#98046baf09bd8176d4b9a5a7c24eb85b99cc2852"
integrity sha512-+bSg4vYOFjMjqZM+qKWRb2QdfKlmXrfBAfA2UsGZx2dyTBXs9MzQQPxgCYXtCWI0Iybo8K2F/p0X+cnifE8IAw==
"@next/swc-darwin-arm64@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.1.7-canary.29.tgz#c8d7ccb5c67ccd6a4768c64968ed07f44ebbe11f"
integrity sha512-yitoEj3zQ2kIjXrMsmYqrQSaFCqmZl+07o8m9iPH+EcDQPiN6j2CKtVcjbUYP9wHD8JjTXJKqDVg7uieOXUymw==
"@next/swc-darwin-x64@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.1.7-canary.28.tgz#de69f3e8c27c2ff4e31ee38d78d2784fa11754d0"
integrity sha512-z1lzhOZWxwv+YvebxxQsR/GPIqfR6qSlbeLPQ5LIEowG9eSJGyrfsMruccGsOOsHN11tO2Gg34+8JtNTeEcinQ==
"@next/swc-darwin-x64@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.1.7-canary.29.tgz#38b5be1a42fd0465c252894bca3207f721a7d5d1"
integrity sha512-vrFFY591690Jpf3j0mpGU26yqz6vf7AcMyEjXvhHWKumEbY8K3M3+/iD3TJIEraGDJSuFCsM7nOlEsPY63P+2Q==
"@next/swc-freebsd-x64@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.1.7-canary.28.tgz#5292bd3a6ed01d92789cd140e338af6e53009f24"
integrity sha512-vn7X9kcKWBl5dNUEYjiDGsvxGGleuUHcO4sICLqxuVuluQpNlNnMl0VXDYjQ+hlh15BaSCFvXPDHd43N70FKKg==
"@next/swc-freebsd-x64@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.1.7-canary.29.tgz#3bebaab6f12bc109218ec1cf7f6ade0d47465393"
integrity sha512-Ni9HFw4IGFOQkqUVObHHVLfL4m+cVvpzVTRNZgp5XNnGmNC0o3uE0u8Wu6HPMVMR1H5OjMwgaAscxev6hg6wuA==
"@next/swc-linux-arm-gnueabihf@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.1.7-canary.28.tgz#70d9bca5bc17ecdfb615b303a18d8bb24c3a5f7a"
integrity sha512-NuO4uj0Ami1hUvRy4wT7i+74L16i5miFGKOe82bnCrXsjCpNggcQ3GX1bXddq5zxiYI0ypKEELxNRmXsmXaVmg==
"@next/swc-linux-arm-gnueabihf@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.1.7-canary.29.tgz#452015dcf60c8178219794c22a9b46f0aefc07a1"
integrity sha512-pmHz6dSKhf8wBn3ELGd3phubPgYcNTR8fvjR0sGm/Ph7ZcmFgVJ2sQQZCiGcRtg3XZriGrtf0ZqRh5ODaCX03Q==
"@next/swc-linux-arm64-gnu@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.1.7-canary.28.tgz#8cb046a032543a410eb096d6b8f3f877001847b2"
integrity sha512-vfhwQ5aFSrOSc0jxljkg5HiKqhFML1YQc7y73bv7yUB0U7cA9VTnl+X2VQDDoUUueDc014SpKcqbPdRCRYpIlA==
"@next/swc-linux-arm64-gnu@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.1.7-canary.29.tgz#817c5c216651b3d45e6f8741462079187ad27414"
integrity sha512-MOGQPjVvtibbHnXF7rgDO0e+0IkuxzDL6AWnVbKUq4EnDyDPvBr7F/zGmZntyQmg7PFM1twlcoxyIVSb3bpaRA==
"@next/swc-linux-arm64-musl@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.1.7-canary.28.tgz#791decac037e33675bdc91bcad64438069a5ea74"
integrity sha512-xwI2OLv3TCEm5j2X5J3TuTuWW72u1OJzOLnNgpd7B+/PYNxhK6y7KUBu9E4P5rdFXX8qHRbA1IT9QnDAj7uqoA==
"@next/swc-linux-arm64-musl@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.1.7-canary.29.tgz#3b9dce585b9d428da8a36dcb7a3cc5d6bd846266"
integrity sha512-VgCyebZU1uf5a6LVkjEbFZ9ZdJQ/0pvGHsrWW5CL90RprDuu09WnDVhP+tut9A4gUEYakkz54NpB/ToAwXohwg==
"@next/swc-linux-x64-gnu@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.1.7-canary.28.tgz#f03b064ee58d13f5b8bd294b4266955ba0a18757"
integrity sha512-KYQiZ+9QnT0ATibxYGuqakl8a5Ba282A5/d3TcO4CwLO5sNFMQOHu2K+XjkdFj33i/zNTfOa3q03QpWnYdSZGw==
"@next/swc-linux-x64-gnu@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.1.7-canary.29.tgz#c97b3aabffa6f2f73cce3fce980a83ea46609c33"
integrity sha512-+CGZvVVBvujUlioaw/3fTtWKdBzoA+pdg6Sdj2uIONAo3Iz9jWolV+SSB5mEIDoms82oJrurW28POietyHAMUQ==
"@next/swc-linux-x64-musl@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.1.7-canary.28.tgz#2b1400a7864251603d6cf8be7f8794993f318dc6"
integrity sha512-Kr8eUDCdGiwN8m3l/guqmgMYWYDlPqqhfFsG9vILVuco8UDpa0+xyQkGIT4GlB4caNr8Tv0DOUaUqwwqlJoYkg==
"@next/swc-linux-x64-musl@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.1.7-canary.29.tgz#efd9123a433eb94f6f16141c39cbfb7dea186987"
integrity sha512-LaCbMUA6Yfo7n0+EhKT3gDOmA0ly7HQiHeLYvZClYRe/k+KJuAyz2lXWrN/b7q15raE5bDNgylTK+qV8ntG9GA==
"@next/swc-win32-arm64-msvc@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.1.7-canary.28.tgz#1716134b1d5358ffa7075bbd923f85e494e49ba1"
integrity sha512-ykERGIsOEy+jzabsQtLtByPb2NaCbWGAgrQgs74xyTLfStjHxH3RfBST3lX1UI96NTqjPjEt5y8zJmA7XBNbIg==
"@next/swc-win32-arm64-msvc@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.1.7-canary.29.tgz#47723695e725f6825682e5f10ba8f7da1eb80c9f"
integrity sha512-NjjjopR1JSh1cxlsxDZmJJc7K8kU/DcT2tTgEMeIICjbXdq8fPEY0jegDEf/C1LurAK8Yl2JTsi17thriUW+dQ==
"@next/swc-win32-ia32-msvc@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.1.7-canary.28.tgz#04719de67c255569d45f80d1b33108fcb9ca149c"
integrity sha512-262J160WIEFKtw/GkeyMNqDRJ5KRBdua4SdTeEWIUPh1ypYNmm7f+VwmDEZO9z0KUJHwkWnV/O3paN7hISm2vA==
"@next/swc-win32-ia32-msvc@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.1.7-canary.29.tgz#ab236edf2fbaddd0ba4a4a8b244eef43c413d517"
integrity sha512-Fm9ZUNPZNZZvkHZSf1CbyZNcOwKMcb6tZ1JP9W14qoUq6LcInc4ybzd2mu6mjOoa5QLtZYzvywL2sGc2Bl8ljw==
"@next/swc-win32-x64-msvc@12.1.7-canary.28":
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.1.7-canary.28.tgz#7b8d4db9ebb269add936dcc017183050f427c493"
integrity sha512-tKGw6OMeNkun1qoJ70Ygra4a2V73dnPLIC9i+i5PYcaGHywp732QR8sWe+ZXSFPUAke9eFd5DtR7DE+DETdQAQ==
"@next/swc-win32-x64-msvc@12.1.7-canary.29":
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.1.7-canary.29.tgz#03faa659d9bca2861e0a7e6c84e8ad5941c22a76"
integrity sha512-jqNdWC7N15Z2SK51OkKsSw5Qg3scoix6o52dkicRhNJ4vV7hmV2KBFgh3Scvlz604dfe7ie9gho2lNaKYI13Tg==
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
@ -1661,9 +1661,9 @@
"@types/unist" "*"
"@types/node@*", "@types/node@^17.0.5":
version "17.0.38"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.38.tgz#f8bb07c371ccb1903f3752872c89f44006132947"
integrity sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g==
version "17.0.39"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.39.tgz#3652d82e2a16b4ea679d5ea3143b816c91b7e113"
integrity sha512-JDU3YLlnPK3WDao6/DlXLOgSNpG13ct+CwIO17V8q0/9fWJyeMJJ/VyZ1lv8kDprihvZMydzVwf0tQOqGiY2Nw==
"@types/parse-json@^4.0.0":
version "4.0.0"
@ -2589,9 +2589,9 @@ eastasianwidth@^0.2.0:
integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
electron-to-chromium@^1.4.118:
version "1.4.144"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.144.tgz#9a5d1f41452ecc65b686d529ae919248da44f406"
integrity sha512-R3RV3rU1xWwFJlSClVWDvARaOk6VUO/FubHLodIASDB3Mc2dzuWvNdfOgH9bwHUTqT79u92qw60NWfwUdzAqdg==
version "1.4.145"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.145.tgz#5be3aa470cae3c2bccd20afc4d2a5efdca337b7b"
integrity sha512-g4VQCi61gA0t5fJHsalxAc8NpvxC/CEwLAGLfJ+DmkRXTEyntJA7H01771uVD6X6nnViv3GToPgb0QOVA8ivOQ==
emoji-regex@^8.0.0:
version "8.0.0"
@ -2700,12 +2700,12 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
eslint-config-next@12.1.7-canary.28:
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.1.7-canary.28.tgz#0b52eb40991ae7abc55aa07367c2b5878c59294e"
integrity sha512-42ITTmivQS6w/9npjtRypdXyNb7En9Rwx1Z7kG2OdLt6AQUs0zNCDfU59Bo2dWBOyP3LTJ8bqX601jRjL9Ur7g==
eslint-config-next@12.1.7-canary.29:
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.1.7-canary.29.tgz#ea43cb46d1981ec84cdcf5125f3f12327b848eae"
integrity sha512-pMTNQl7dvNDQxfZeWzZ91jU7rkfa1ecyo025sXqjgIUx7tQ+AOZyvyRQlFWJhlDtbOUDTmYcvb9r3CGWKxXeUQ==
dependencies:
"@next/eslint-plugin-next" "12.1.7-canary.28"
"@next/eslint-plugin-next" "12.1.7-canary.29"
"@rushstack/eslint-patch" "^1.1.3"
"@typescript-eslint/parser" "^5.21.0"
eslint-import-resolver-node "^0.3.6"
@ -4742,30 +4742,30 @@ next-transpile-modules@^9.0.0:
enhanced-resolve "^5.7.0"
escalade "^3.1.1"
next@12.1.7-canary.28:
version "12.1.7-canary.28"
resolved "https://registry.yarnpkg.com/next/-/next-12.1.7-canary.28.tgz#1d25eb060a7910174ca13298a7e7f9b2c2c894b6"
integrity sha512-qY6VWHSDaL1FWob+NKuOm/Ya0YEeOJXIognXEQjW0qCOc2RfTQCWb5wv3Zs3xS/Q/7TKw77hUOalCo4GL1fcwA==
next@12.1.7-canary.29:
version "12.1.7-canary.29"
resolved "https://registry.yarnpkg.com/next/-/next-12.1.7-canary.29.tgz#347c9b76dfe01cd4416a2d084e381c711e2d97ae"
integrity sha512-tFghClc38QtGFVzAQXcuhTc728FFGRaKYN2QFXsrownIioZk7ZqsT9DCTqXkaVO9+GfkKgcuvsFRNvE4lfgBOw==
dependencies:
"@next/env" "12.1.7-canary.28"
"@next/env" "12.1.7-canary.29"
caniuse-lite "^1.0.30001332"
postcss "8.4.5"
styled-jsx "5.0.2"
use-sync-external-store "1.1.0"
optionalDependencies:
"@next/swc-android-arm-eabi" "12.1.7-canary.28"
"@next/swc-android-arm64" "12.1.7-canary.28"
"@next/swc-darwin-arm64" "12.1.7-canary.28"
"@next/swc-darwin-x64" "12.1.7-canary.28"
"@next/swc-freebsd-x64" "12.1.7-canary.28"
"@next/swc-linux-arm-gnueabihf" "12.1.7-canary.28"
"@next/swc-linux-arm64-gnu" "12.1.7-canary.28"
"@next/swc-linux-arm64-musl" "12.1.7-canary.28"
"@next/swc-linux-x64-gnu" "12.1.7-canary.28"
"@next/swc-linux-x64-musl" "12.1.7-canary.28"
"@next/swc-win32-arm64-msvc" "12.1.7-canary.28"
"@next/swc-win32-ia32-msvc" "12.1.7-canary.28"
"@next/swc-win32-x64-msvc" "12.1.7-canary.28"
"@next/swc-android-arm-eabi" "12.1.7-canary.29"
"@next/swc-android-arm64" "12.1.7-canary.29"
"@next/swc-darwin-arm64" "12.1.7-canary.29"
"@next/swc-darwin-x64" "12.1.7-canary.29"
"@next/swc-freebsd-x64" "12.1.7-canary.29"
"@next/swc-linux-arm-gnueabihf" "12.1.7-canary.29"
"@next/swc-linux-arm64-gnu" "12.1.7-canary.29"
"@next/swc-linux-arm64-musl" "12.1.7-canary.29"
"@next/swc-linux-x64-gnu" "12.1.7-canary.29"
"@next/swc-linux-x64-musl" "12.1.7-canary.29"
"@next/swc-win32-arm64-msvc" "12.1.7-canary.29"
"@next/swc-win32-ia32-msvc" "12.1.7-canary.29"
"@next/swc-win32-x64-msvc" "12.1.7-canary.29"
nlcst-to-string@^2.0.0:
version "2.0.4"