aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.cjs15
-rw-r--r--.prettierrc9
-rw-r--r--.yarnrc.yml2
-rw-r--r--src/app.css236
-rw-r--r--src/app.d.ts20
-rw-r--r--src/app.html9
-rw-r--r--src/lib/form.ts36
-rw-r--r--src/lib/header/Header.svelte124
-rw-r--r--src/lib/header/svelte-logo.svg1
-rw-r--r--src/routes/__layout.svelte41
-rw-r--r--src/routes/todos/index.svelte32
-rw-r--r--tsconfig.json2
-rw-r--r--yarn.lock4725
13 files changed, 3290 insertions, 1962 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 3ccf435..699ccc4 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -6,15 +6,20 @@ module.exports = {
ignorePatterns: ['*.cjs'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
- 'svelte3/typescript': () => require('typescript')
+ 'svelte3/typescript': () => require('typescript'),
},
parserOptions: {
sourceType: 'module',
- ecmaVersion: 2020
+ ecmaVersion: 2019,
},
env: {
browser: true,
es2017: true,
- node: true
- }
-};
+ node: true,
+ },
+ rules: {
+ '@typescript-eslint/no-non-null-assertion': 'off',
+ '@typescript-eslint/no-explicit-any': 'off',
+ '@typescript-eslint/ban-types': 'off',
+ },
+} \ No newline at end of file
diff --git a/.prettierrc b/.prettierrc
index ff2677e..fee6284 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,6 +1,9 @@
{
+ "printWidth": 100,
"useTabs": true,
"singleQuote": true,
- "trailingComma": "none",
- "printWidth": 100
-}
+ "quoteProps": "consistent",
+ "trailingComma": "es5",
+ "semi": false,
+ "arrowParens": "avoid"
+} \ No newline at end of file
diff --git a/.yarnrc.yml b/.yarnrc.yml
index 9e303c3..3b47771 100644
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -1 +1,3 @@
+nodeLinker: node-modules
+
yarnPath: .yarn/releases/yarn-3.1.1.cjs
diff --git a/src/app.css b/src/app.css
index 77bf6af..5e12d43 100644
--- a/src/app.css
+++ b/src/app.css
@@ -1,107 +1,187 @@
-@import '@fontsource/fira-mono';
-
:root {
- font-family: Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
- Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
- --font-mono: 'Fira Mono', monospace;
- --pure-white: #ffffff;
- --primary-color: #b9c6d2;
- --secondary-color: #d0dde9;
- --tertiary-color: #edf0f8;
- --accent-color: #ff3e00;
- --heading-color: rgba(0, 0, 0, 0.7);
- --text-color: #444444;
- --background-without-opacity: rgba(255, 255, 255, 0.7);
- --column-width: 42rem;
- --column-margin-top: 4rem;
+ --theme-main-background: #111;
+ --theme-lighter-background: #222;
+ --theme-lightest-background: #333;
+ --theme-main-text: #eee;
+ --theme-darker-text: #999;
+ --theme-transparent-border: rgba(128, 128, 128, 0.3);
+ --theme-yellow: #ff0;
+}
+/* minecraft font */
+@font-face {
+ font-family: Minecraft;
+ src: url(https://cdn.matdoes.dev/fonts/Minecraft.ttf);
+ font-display: swap;
+}
+/* latin-ext */
+@font-face {
+ font-family: 'Atkinson Hyperlegible';
+ font-style: italic;
+ font-weight: 400;
+ font-display: swap;
+ src: url(https://cdn.matdoes.dev/fonts/atkinson-hyperlegible/latin-ext-italic.woff2)
+ format('woff2');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
+ U+2C60-2C7F, U+A720-A7FF;
+}
+/* latin */
+@font-face {
+ font-family: 'Atkinson Hyperlegible';
+ font-style: italic;
+ font-weight: 400;
+ font-display: swap;
+ src: url(https://cdn.matdoes.dev/fonts/atkinson-hyperlegible/latin-italic.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+}
+/* latin-ext */
+@font-face {
+ font-family: 'Atkinson Hyperlegible';
+ font-style: italic;
+ font-weight: 700;
+ font-display: swap;
+ src: url(https://cdn.matdoes.dev/fonts/atkinson-hyperlegible/latin-ext-italic-bold.woff2)
+ format('woff2');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
+ U+2C60-2C7F, U+A720-A7FF;
+}
+/* latin */
+@font-face {
+ font-family: 'Atkinson Hyperlegible';
+ font-style: italic;
+ font-weight: 700;
+ font-display: swap;
+ src: url(https://cdn.matdoes.dev/fonts/atkinson-hyperlegible/latin-italic-bold.woff2)
+ format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+}
+/* latin-ext */
+@font-face {
+ font-family: 'Atkinson Hyperlegible';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url(https://cdn.matdoes.dev/fonts/atkinson-hyperlegible/latin-ext-italic-bold.woff2)
+ format('woff2');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
+ U+2C60-2C7F, U+A720-A7FF;
+}
+/* latin */
+@font-face {
+ font-family: 'Atkinson Hyperlegible';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url(https://cdn.matdoes.dev/fonts/atkinson-hyperlegible/latin.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+}
+/* latin-ext */
+@font-face {
+ font-family: 'Atkinson Hyperlegible';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: url(https://cdn.matdoes.dev/fonts/atkinson-hyperlegible/latin-ext-bold.woff2) format('woff2');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
+ U+2C60-2C7F, U+A720-A7FF;
+}
+/* latin */
+@font-face {
+ font-family: 'Atkinson Hyperlegible';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: url(https://cdn.matdoes.dev/fonts/atkinson-hyperlegible/latin-bold.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
+ U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
-
body {
- min-height: 100vh;
+ font-family: 'Atkinson Hyperlegible', sans-serif;
+ color: var(--theme-main-text);
+ background-color: var(--theme-main-background);
margin: 0;
- background-color: var(--primary-color);
- background: linear-gradient(
- 180deg,
- var(--primary-color) 0%,
- var(--secondary-color) 10.45%,
- var(--tertiary-color) 41.35%
- );
+ overflow-x: hidden;
}
-body::before {
- content: '';
- width: 80vw;
- height: 100vh;
- position: absolute;
- top: 0;
- left: 10vw;
- z-index: -1;
- background: radial-gradient(
- 50% 50% at 50% 50%,
- var(--pure-white) 0%,
- rgba(255, 255, 255, 0) 100%
- );
- opacity: 0.05;
+html {
+ scroll-behavior: smooth;
}
-#svelte {
- min-height: 100vh;
- display: flex;
- flex-direction: column;
+/* content is uglier when its max width */
+main {
+ margin: 0 auto;
+ width: 80%;
+ padding: 1em;
}
-h1,
-h2,
-p {
- font-weight: 400;
- color: var(--heading-color);
+/* makes random height and stuff look less broken */
+* {
+ box-sizing: border-box;
+ vertical-align: baseline;
}
-p {
- line-height: 1.5;
+/* base styles for inputs */
+input[type='text'],
+input[type='submit'] {
+ -webkit-appearance: none;
+ background-color: transparent;
+ color: var(--theme-darker-text);
+ transition-duration: 250ms;
+ border: 1px solid var(--theme-transparent-border);
+ border-radius: 4px;
+ margin: 0;
+ height: 2em;
+ font-size: 1em;
}
-a {
- color: var(--accent-color);
- text-decoration: none;
+/* base styles for text input boxes */
+input[type='text'] {
+ text-align: left;
+ padding-left: 0.5em;
}
-a:hover {
- text-decoration: underline;
+/* Selecting a text box */
+input[type='text']:focus {
+ /* make the text lighter */
+ color: var(--theme-main-text);
}
-h1 {
- font-size: 2rem;
- text-align: center;
+/* base styles for buttons */
+input[type='submit'] {
+ margin-left: 0.2em;
+ cursor: pointer;
}
-h2 {
- font-size: 1rem;
+/* Hovering over a button */
+input[type='submit']:hover {
+ /* make the text lighter */
+ color: var(--theme-main-text);
}
-pre {
- font-size: 16px;
- font-family: var(--font-mono);
- background-color: rgba(255, 255, 255, 0.45);
- border-radius: 3px;
- box-shadow: 2px 2px 6px rgb(255 255 255 / 25%);
- padding: 0.5em;
- overflow-x: auto;
- color: var(--text-color);
+/* base styles for anchor tags */
+a {
+ color: #19f;
+ text-decoration: none;
}
-input,
-button {
- font-size: inherit;
- font-family: inherit;
+h1 {
+ font-size: 2.5em;
+ overflow-wrap: anywhere;
}
-button:focus:not(:focus-visible) {
- outline: none;
+h2,
+h3 {
+ margin-top: 0;
+ margin-bottom: 0.2em;
+}
+
+hr {
+ opacity: 0.2;
}
-@media (min-width: 720px) {
- h1 {
- font-size: 2.4rem;
- }
+button {
+ outline: none;
+ font-family: inherit;
}
diff --git a/src/app.d.ts b/src/app.d.ts
index 3ddb22d..efdb902 100644
--- a/src/app.d.ts
+++ b/src/app.d.ts
@@ -1,15 +1,15 @@
/// <reference types="@sveltejs/kit" />
-// See https://kit.svelte.dev/docs/typescript
-// for information about these interfaces
-declare namespace App {
- interface Locals {
- userid: string;
- }
+// // See https://kit.svelte.dev/docs/typescript
+// // for information about these interfaces
+// declare namespace App {
+// interface Locals {
+// userid: string;
+// }
- interface Platform {}
+// interface Platform {}
- interface Session {}
+// interface Session {}
- interface Stuff {}
-}
+// interface Stuff {}
+// }
diff --git a/src/app.html b/src/app.html
index e7d2cbd..b0013f4 100644
--- a/src/app.html
+++ b/src/app.html
@@ -1,10 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="utf-8" />
- <meta name="description" content="Svelte demo app" />
- <link rel="icon" href="%svelte.assets%/favicon.png" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="theme-color" content="#010101">
+ <meta property="og:site_name" content="Hypixel SkyBlock Stats">
+ <meta property="og:type" content="website"/>
%svelte.head%
</head>
<body>
diff --git a/src/lib/form.ts b/src/lib/form.ts
index 787a397..844ca2d 100644
--- a/src/lib/form.ts
+++ b/src/lib/form.ts
@@ -1,4 +1,4 @@
-import { invalidate } from '$app/navigation';
+import { invalidate } from '$app/navigation'
// this action (https://svelte.dev/tutorial/actions) allows us to
// progressively enhance a <form> that already works without JS
@@ -32,16 +32,16 @@ export function enhance(
}) => void;
} = {}
): { destroy: () => void } {
- let current_token: unknown;
+ let current_token: unknown
async function handle_submit(e: Event) {
- const token = (current_token = {});
+ const token = (current_token = {})
- e.preventDefault();
+ e.preventDefault()
- const data = new FormData(form);
+ const data = new FormData(form)
- if (pending) pending({ data, form });
+ if (pending) pending({ data, form })
try {
const response = await fetch(form.action, {
@@ -52,33 +52,33 @@ export function enhance(
body: data
});
- if (token !== current_token) return;
+ if (token !== current_token) return
if (response.ok) {
- if (result) result({ data, form, response });
+ if (result) result({ data, form, response })
- const url = new URL(form.action);
- url.search = url.hash = '';
- invalidate(url.href);
+ const url = new URL(form.action)
+ url.search = url.hash = ''
+ invalidate(url.href)
} else if (error) {
- error({ data, form, error: null, response });
+ error({ data, form, error: null, response })
} else {
- console.error(await response.text());
+ console.error(await response.text())
}
} catch (e: any) {
if (error) {
- error({ data, form, error: e, response: null });
+ error({ data, form, error: e, response: null })
} else {
- throw e;
+ throw e
}
}
}
- form.addEventListener('submit', handle_submit);
+ form.addEventListener('submit', handle_submit)
return {
destroy() {
- form.removeEventListener('submit', handle_submit);
+ form.removeEventListener('submit', handle_submit)
}
- };
+ }
}
diff --git a/src/lib/header/Header.svelte b/src/lib/header/Header.svelte
deleted file mode 100644
index 9d3120f..0000000
--- a/src/lib/header/Header.svelte
+++ /dev/null
@@ -1,124 +0,0 @@
-<script lang="ts">
- import { page } from '$app/stores';
- import logo from './svelte-logo.svg';
-</script>
-
-<header>
- <div class="corner">
- <a href="https://kit.svelte.dev">
- <img src={logo} alt="SvelteKit" />
- </a>
- </div>
-
- <nav>
- <svg viewBox="0 0 2 3" aria-hidden="true">
- <path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" />
- </svg>
- <ul>
- <li class:active={$page.url.pathname === '/'}><a sveltekit:prefetch href="/">Home</a></li>
- <li class:active={$page.url.pathname === '/about'}>
- <a sveltekit:prefetch href="/about">About</a>
- </li>
- <li class:active={$page.url.pathname === '/todos'}>
- <a sveltekit:prefetch href="/todos">Todos</a>
- </li>
- </ul>
- <svg viewBox="0 0 2 3" aria-hidden="true">
- <path d="M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z" />
- </svg>
- </nav>
-
- <div class="corner">
- <!-- TODO put something else here? github link? -->
- </div>
-</header>
-
-<style>
- header {
- display: flex;
- justify-content: space-between;
- }
-
- .corner {
- width: 3em;
- height: 3em;
- }
-
- .corner a {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 100%;
- }
-
- .corner img {
- width: 2em;
- height: 2em;
- object-fit: contain;
- }
-
- nav {
- display: flex;
- justify-content: center;
- --background: rgba(255, 255, 255, 0.7);
- }
-
- svg {
- width: 2em;
- height: 3em;
- display: block;
- }
-
- path {
- fill: var(--background);
- }
-
- ul {
- position: relative;
- padding: 0;
- margin: 0;
- height: 3em;
- display: flex;
- justify-content: center;
- align-items: center;
- list-style: none;
- background: var(--background);
- background-size: contain;
- }
-
- li {
- position: relative;
- height: 100%;
- }
-
- li.active::before {
- --size: 6px;
- content: '';
- width: 0;
- height: 0;
- position: absolute;
- top: 0;
- left: calc(50% - var(--size));
- border: var(--size) solid transparent;
- border-top: var(--size) solid var(--accent-color);
- }
-
- nav a {
- display: flex;
- height: 100%;
- align-items: center;
- padding: 0 1em;
- color: var(--heading-color);
- font-weight: 700;
- font-size: 0.8rem;
- text-transform: uppercase;
- letter-spacing: 0.1em;
- text-decoration: none;
- transition: color 0.2s linear;
- }
-
- a:hover {
- color: var(--accent-color);
- }
-</style>
diff --git a/src/lib/header/svelte-logo.svg b/src/lib/header/svelte-logo.svg
deleted file mode 100644
index 49492a8..0000000
--- a/src/lib/header/svelte-logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="107" height="128" viewBox="0 0 107 128"><title>svelte-logo</title><path d="M94.1566,22.8189c-10.4-14.8851-30.94-19.2971-45.7914-9.8348L22.2825,29.6078A29.9234,29.9234,0,0,0,8.7639,49.6506a31.5136,31.5136,0,0,0,3.1076,20.2318A30.0061,30.0061,0,0,0,7.3953,81.0653a31.8886,31.8886,0,0,0,5.4473,24.1157c10.4022,14.8865,30.9423,19.2966,45.7914,9.8348L84.7167,98.3921A29.9177,29.9177,0,0,0,98.2353,78.3493,31.5263,31.5263,0,0,0,95.13,58.117a30,30,0,0,0,4.4743-11.1824,31.88,31.88,0,0,0-5.4473-24.1157" style="fill:#ff3e00"/><path d="M45.8171,106.5815A20.7182,20.7182,0,0,1,23.58,98.3389a19.1739,19.1739,0,0,1-3.2766-14.5025,18.1886,18.1886,0,0,1,.6233-2.4357l.4912-1.4978,1.3363.9815a33.6443,33.6443,0,0,0,10.203,5.0978l.9694.2941-.0893.9675a5.8474,5.8474,0,0,0,1.052,3.8781,6.2389,6.2389,0,0,0,6.6952,2.485,5.7449,5.7449,0,0,0,1.6021-.7041L69.27,76.281a5.4306,5.4306,0,0,0,2.4506-3.631,5.7948,5.7948,0,0,0-.9875-4.3712,6.2436,6.2436,0,0,0-6.6978-2.4864,5.7427,5.7427,0,0,0-1.6.7036l-9.9532,6.3449a19.0329,19.0329,0,0,1-5.2965,2.3259,20.7181,20.7181,0,0,1-22.2368-8.2427,19.1725,19.1725,0,0,1-3.2766-14.5024,17.9885,17.9885,0,0,1,8.13-12.0513L55.8833,23.7472a19.0038,19.0038,0,0,1,5.3-2.3287A20.7182,20.7182,0,0,1,83.42,29.6611a19.1739,19.1739,0,0,1,3.2766,14.5025,18.4,18.4,0,0,1-.6233,2.4357l-.4912,1.4978-1.3356-.98a33.6175,33.6175,0,0,0-10.2037-5.1l-.9694-.2942.0893-.9675a5.8588,5.8588,0,0,0-1.052-3.878,6.2389,6.2389,0,0,0-6.6952-2.485,5.7449,5.7449,0,0,0-1.6021.7041L37.73,51.719a5.4218,5.4218,0,0,0-2.4487,3.63,5.7862,5.7862,0,0,0,.9856,4.3717,6.2437,6.2437,0,0,0,6.6978,2.4864,5.7652,5.7652,0,0,0,1.602-.7041l9.9519-6.3425a18.978,18.978,0,0,1,5.2959-2.3278,20.7181,20.7181,0,0,1,22.2368,8.2427,19.1725,19.1725,0,0,1,3.2766,14.5024,17.9977,17.9977,0,0,1-8.13,12.0532L51.1167,104.2528a19.0038,19.0038,0,0,1-5.3,2.3287" style="fill:#fff"/></svg> \ No newline at end of file
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index 7fef681..d1fca30 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -1,45 +1,8 @@
<script lang="ts">
- import Header from '$lib/header/Header.svelte';
- import '../app.css';
+ import Header from '$lib/Header.svelte'
+ import '../app.css'
</script>
-<Header />
-
<main>
<slot />
</main>
-
-<footer>
- <p>visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to learn SvelteKit</p>
-</footer>
-
-<style>
- main {
- flex: 1;
- display: flex;
- flex-direction: column;
- padding: 1rem;
- width: 100%;
- max-width: 1024px;
- margin: 0 auto;
- box-sizing: border-box;
- }
-
- footer {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- padding: 40px;
- }
-
- footer a {
- font-weight: bold;
- }
-
- @media (min-width: 480px) {
- footer {
- padding: 40px 0;
- }
- }
-</style>
diff --git a/src/routes/todos/index.svelte b/src/routes/todos/index.svelte
index e36b6cf..e23c1a1 100644
--- a/src/routes/todos/index.svelte
+++ b/src/routes/todos/index.svelte
@@ -1,17 +1,17 @@
<script lang="ts">
- import { enhance } from '$lib/form';
- import { scale } from 'svelte/transition';
- import { flip } from 'svelte/animate';
+ import { enhance } from '$lib/form'
+ import { scale } from 'svelte/transition'
+ import { flip } from 'svelte/animate'
type Todo = {
- uid: string;
- created_at: Date;
- text: string;
- done: boolean;
- pending_delete: boolean;
- };
-
- export let todos: Todo[];
+ uid: string
+ created_at: Date
+ text: string
+ done: boolean
+ pending_delete: boolean
+ }
+
+ export let todos: Todo[]
</script>
<svelte:head>
@@ -27,8 +27,8 @@
method="post"
use:enhance={{
result: async ({ form }) => {
- form.reset();
- }
+ form.reset()
+ },
}}
>
<input name="text" aria-label="Add todo" placeholder="+ tap to add a todo" />
@@ -46,8 +46,8 @@
method="post"
use:enhance={{
pending: ({ data }) => {
- todo.done = !!data.get('done');
- }
+ todo.done = !!data.get('done')
+ },
}}
>
<input type="hidden" name="uid" value={todo.uid} />
@@ -65,7 +65,7 @@
action="/todos?_method=DELETE"
method="post"
use:enhance={{
- pending: () => (todo.pending_delete = true)
+ pending: () => (todo.pending_delete = true),
}}
>
<input type="hidden" name="uid" value={todo.uid} />
diff --git a/tsconfig.json b/tsconfig.json
index 7b5a0dc..5ea97dc 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -2,7 +2,7 @@
"compilerOptions": {
"moduleResolution": "node",
"module": "es2020",
- "lib": ["es2020", "DOM"],
+ "lib": ["es2020", "DOM", "DOM.Iterable"],
"target": "es2020",
/**
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
diff --git a/yarn.lock b/yarn.lock
index deb4e27..866ae75 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1,1667 +1,3066 @@
-# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-# yarn lockfile v1
-
-
-"@babel/code-frame@7.12.11":
- version "7.12.11"
- resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
- integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==
- dependencies:
- "@babel/highlight" "^7.10.4"
-
-"@babel/helper-validator-identifier@^7.16.7":
- version "7.16.7"
- resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad"
- integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==
-
-"@babel/highlight@^7.10.4":
- version "7.16.10"
- resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88"
- integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==
- dependencies:
- "@babel/helper-validator-identifier" "^7.16.7"
- chalk "^2.0.0"
- js-tokens "^4.0.0"
-
-"@eslint/eslintrc@^0.4.3":
- version "0.4.3"
- resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c"
- integrity sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==
- dependencies:
- ajv "^6.12.4"
- debug "^4.1.1"
- espree "^7.3.0"
- globals "^13.9.0"
- ignore "^4.0.6"
- import-fresh "^3.2.1"
- js-yaml "^3.13.1"
- minimatch "^3.0.4"
- strip-json-comments "^3.1.1"
-
-"@fontsource/fira-mono@^4.5.0":
- version "4.5.2"
- resolved "https://registry.yarnpkg.com/@fontsource/fira-mono/-/fira-mono-4.5.2.tgz#a055db1898a56765974376993a94566f16736f44"
- integrity sha512-0R6s18VVU07z883ecmsaGSpB81LVCorxuJzNNIjR+oLYfCs9d7AJ3+5Yfni39+OfIz0gqPRLWm+826jp7So1UA==
-
-"@humanwhocodes/config-array@^0.5.0":
- version "0.5.0"
- resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9"
- integrity sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==
- dependencies:
- "@humanwhocodes/object-schema" "^1.2.0"
- debug "^4.1.1"
- minimatch "^3.0.4"
-
-"@humanwhocodes/object-schema@^1.2.0":
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
- integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
-
-"@iarna/toml@^2.2.5":
- version "2.2.5"
- resolved "https://registry.yarnpkg.com/@iarna/toml/-/toml-2.2.5.tgz#b32366c89b43c6f8cefbdefac778b9c828e3ba8c"
- integrity sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==
-
-"@lukeed/csprng@^1.0.0":
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/@lukeed/csprng/-/csprng-1.0.1.tgz#625e93a0edb2c830e3c52ce2d67b9d53377c6a66"
- integrity sha512-uSvJdwQU5nK+Vdf6zxcWAY2A8r7uqe+gePwLWzJ+fsQehq18pc0I2hJKwypZ2aLM90+Er9u1xn4iLJPZ+xlL4g==
-
-"@lukeed/uuid@^2.0.0":
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/@lukeed/uuid/-/uuid-2.0.0.tgz#1c0f33c071cb6902bc3b9e475782ada7314ef9bd"
- integrity sha512-dUz8OmYvlY5A9wXaroHIMSPASpSYRLCqbPvxGSyHguhtTQIy24lC+EGxQlwv71AhRCO55WOtgwhzQLpw27JaJQ==
- dependencies:
- "@lukeed/csprng" "^1.0.0"
-
-"@nodelib/fs.scandir@2.1.5":
- version "2.1.5"
- resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
- integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==
- dependencies:
- "@nodelib/fs.stat" "2.0.5"
- run-parallel "^1.1.9"
-
-"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2":
- version "2.0.5"
- resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b"
- integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==
-
-"@nodelib/fs.walk@^1.2.3":
- version "1.2.8"
- resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a"
- integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==
- dependencies:
- "@nodelib/fs.scandir" "2.1.5"
- fastq "^1.6.0"
-
-"@rollup/pluginutils@^4.1.2":
- version "4.1.2"
- resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.1.2.tgz#ed5821c15e5e05e32816f5fb9ec607cdf5a75751"
- integrity sha512-ROn4qvkxP9SyPeHaf7uQC/GPFY6L/OWy9+bd9AwcjOAWQwxRscoEyAUD8qCY5o5iL4jqQwoLk2kaTKJPb/HwzQ==
- dependencies:
- estree-walker "^2.0.1"
- picomatch "^2.2.2"
+# This file is generated by running "yarn install" inside your project.
+# Manual changes might be lost - proceed with caution!
+
+__metadata:
+ version: 5
+ cacheKey: 8
+
+"@babel/code-frame@npm:7.12.11":
+ version: 7.12.11
+ resolution: "@babel/code-frame@npm:7.12.11"
+ dependencies:
+ "@babel/highlight": ^7.10.4
+ checksum: 3963eff3ebfb0e091c7e6f99596ef4b258683e4ba8a134e4e95f77afe85be5c931e184fff6435fb4885d12eba04a5e25532f7fbc292ca13b48e7da943474e2f3
+ languageName: node
+ linkType: hard
+
+"@babel/helper-validator-identifier@npm:^7.16.7":
+ version: 7.16.7
+ resolution: "@babel/helper-validator-identifier@npm:7.16.7"
+ checksum: dbb3db9d184343152520a209b5684f5e0ed416109cde82b428ca9c759c29b10c7450657785a8b5c5256aa74acc6da491c1f0cf6b784939f7931ef82982051b69
+ languageName: node
+ linkType: hard
+
+"@babel/highlight@npm:^7.10.4":
+ version: 7.16.10
+ resolution: "@babel/highlight@npm:7.16.10"
+ dependencies:
+ "@babel/helper-validator-identifier": ^7.16.7
+ chalk: ^2.0.0
+ js-tokens: ^4.0.0
+ checksum: 1f1bdd752a90844f4efc22166a46303fb651ba0fd75a06daba3ebae2575ab3edc1da9827c279872a3aaf305f50a18473c5fa1966752726a2b253065fd4c0745e
+ languageName: node
+ linkType: hard
+
+"@eslint/eslintrc@npm:^0.4.3":
+ version: 0.4.3
+ resolution: "@eslint/eslintrc@npm:0.4.3"
+ dependencies:
+ ajv: ^6.12.4
+ debug: ^4.1.1
+ espree: ^7.3.0
+ globals: ^13.9.0
+ ignore: ^4.0.6
+ import-fresh: ^3.2.1
+ js-yaml: ^3.13.1
+ minimatch: ^3.0.4
+ strip-json-comments: ^3.1.1
+ checksum: 03a7704150b868c318aab6a94d87a33d30dc2ec579d27374575014f06237ba1370ae11178db772f985ef680d469dc237e7b16a1c5d8edaaeb8c3733e7a95a6d3
+ languageName: node
+ linkType: hard
+
+"@fontsource/fira-mono@npm:^4.5.0":
+ version: 4.5.2
+ resolution: "@fontsource/fira-mono@npm:4.5.2"
+ checksum: ef3b2d8bb16788d454a7f87ef2c406d1fd2abac85d6cd1d84e5e4f5209dc56d6afa4052323acd5af4f16a83d0f61f9642a2502f1dce7e1bcabc5ae592f0bc26e
+ languageName: node
+ linkType: hard
+
+"@gar/promisify@npm:^1.0.1":
+ version: 1.1.2
+ resolution: "@gar/promisify@npm:1.1.2"
+ checksum: d05081e0887a49c178b75ee3067bd6ee086f73c154d121b854fb2e044e8a89cb1cbb6de3a0dd93a519b80f0531fda68b099dd7256205f7fbb3490324342f2217
+ languageName: node
+ linkType: hard
+
+"@humanwhocodes/config-array@npm:^0.5.0":
+ version: 0.5.0
+ resolution: "@humanwhocodes/config-array@npm:0.5.0"
+ dependencies:
+ "@humanwhocodes/object-schema": ^1.2.0
+ debug: ^4.1.1
+ minimatch: ^3.0.4
+ checksum: 44ee6a9f05d93dd9d5935a006b17572328ba9caff8002442f601736cbda79c580cc0f5a49ce9eb88fbacc5c3a6b62098357c2e95326cd17bb9f1a6c61d6e95e7
+ languageName: node
+ linkType: hard
+
+"@humanwhocodes/object-schema@npm:^1.2.0":
+ version: 1.2.1
+ resolution: "@humanwhocodes/object-schema@npm:1.2.1"
+ checksum: a824a1ec31591231e4bad5787641f59e9633827d0a2eaae131a288d33c9ef0290bd16fda8da6f7c0fcb014147865d12118df10db57f27f41e20da92369fcb3f1
+ languageName: node
+ linkType: hard
+
+"@iarna/toml@npm:^2.2.5":
+ version: 2.2.5
+ resolution: "@iarna/toml@npm:2.2.5"
+ checksum: b63b2b2c4fd67969a6291543ada0303d45593801ee744b60f5390f183c03d9192bc67a217abb24be945158f1935f02840d9ffff40c0142aa171b5d3b6b6a3ea5
+ languageName: node
+ linkType: hard
+
+"@lukeed/csprng@npm:^1.0.0":
+ version: 1.0.1
+ resolution: "@lukeed/csprng@npm:1.0.1"
+ checksum: fd84d6832775052d6bff3e78b0bc7f4b29b2fafa71b04826b0713f55d9a447a0b273d4eb70d02d89bb879e9d768cd9716da818dafa32ba6f7ecb639cbdc6806d
+ languageName: node
+ linkType: hard
+
+"@lukeed/uuid@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "@lukeed/uuid@npm:2.0.0"
+ dependencies:
+ "@lukeed/csprng": ^1.0.0
+ checksum: 7d55c0a9f26db9f63728db46f74948cf539f2690556cb30a9b21eb86d7ef48f184d4bfe808975e22fba0f493f5742f1e9adf97af9efe456049a6f82be83c71f6
+ languageName: node
+ linkType: hard
+
+"@nodelib/fs.scandir@npm:2.1.5":
+ version: 2.1.5
+ resolution: "@nodelib/fs.scandir@npm:2.1.5"
+ dependencies:
+ "@nodelib/fs.stat": 2.0.5
+ run-parallel: ^1.1.9
+ checksum: a970d595bd23c66c880e0ef1817791432dbb7acbb8d44b7e7d0e7a22f4521260d4a83f7f9fd61d44fda4610105577f8f58a60718105fb38352baed612fd79e59
+ languageName: node
+ linkType: hard
+
+"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2":
+ version: 2.0.5
+ resolution: "@nodelib/fs.stat@npm:2.0.5"
+ checksum: 012480b5ca9d97bff9261571dbbec7bbc6033f69cc92908bc1ecfad0792361a5a1994bc48674b9ef76419d056a03efadfce5a6cf6dbc0a36559571a7a483f6f0
+ languageName: node
+ linkType: hard
+
+"@nodelib/fs.walk@npm:^1.2.3":
+ version: 1.2.8
+ resolution: "@nodelib/fs.walk@npm:1.2.8"
+ dependencies:
+ "@nodelib/fs.scandir": 2.1.5
+ fastq: ^1.6.0
+ checksum: 190c643f156d8f8f277bf2a6078af1ffde1fd43f498f187c2db24d35b4b4b5785c02c7dc52e356497b9a1b65b13edc996de08de0b961c32844364da02986dc53
+ languageName: node
+ linkType: hard
+
+"@npmcli/fs@npm:^1.0.0":
+ version: 1.1.1
+ resolution: "@npmcli/fs@npm:1.1.1"
+ dependencies:
+ "@gar/promisify": ^1.0.1
+ semver: ^7.3.5
+ checksum: f5ad92f157ed222e4e31c352333d0901df02c7c04311e42a81d8eb555d4ec4276ea9c635011757de20cc476755af33e91622838de573b17e52e2e7703f0a9965
+ languageName: node
+ linkType: hard
+
+"@npmcli/move-file@npm:^1.0.1":
+ version: 1.1.2
+ resolution: "@npmcli/move-file@npm:1.1.2"
+ dependencies:
+ mkdirp: ^1.0.4
+ rimraf: ^3.0.2
+ checksum: c96381d4a37448ea280951e46233f7e541058cf57a57d4094dd4bdcaae43fa5872b5f2eb6bfb004591a68e29c5877abe3cdc210cb3588cbf20ab2877f31a7de7
+ languageName: node
+ linkType: hard
+
+"@rollup/pluginutils@npm:^4.1.2":
+ version: 4.1.2
+ resolution: "@rollup/pluginutils@npm:4.1.2"
+ dependencies:
+ estree-walker: ^2.0.1
+ picomatch: ^2.2.2
+ checksum: 498d67e7b48c707e3e0d9f7ddaa405833d77575b2d9607cd1914be40455ed534235e0512f9d046bf0e4ed1740e7816fd32ab1c673195e897c4fa180bcbfd7283
+ languageName: node
+ linkType: hard
"@sveltejs/adapter-auto@next":
- version "1.0.0-next.17"
- resolved "https://registry.yarnpkg.com/@sveltejs/adapter-auto/-/adapter-auto-1.0.0-next.17.tgz#f5b134ec302e294a77ee23ae2463a2c91c10831e"
- integrity sha512-jLMh+5whg9uSJkvAYyVhi4z4GpqWxSR/XhhFCUqDMYN2hMTGCBaB4ReUAHSYIFw3IPV7m318z9igXriOaL6agQ==
- dependencies:
- "@sveltejs/adapter-cloudflare" "1.0.0-next.9"
- "@sveltejs/adapter-netlify" "1.0.0-next.44"
- "@sveltejs/adapter-vercel" "1.0.0-next.39"
-
-"@sveltejs/adapter-cloudflare@1.0.0-next.9":
- version "1.0.0-next.9"
- resolved "https://registry.yarnpkg.com/@sveltejs/adapter-cloudflare/-/adapter-cloudflare-1.0.0-next.9.tgz#da2474151a9ce6946bfc817b4ced5f347871d848"
- integrity sha512-xoPbFinqFbzphVf4rjGqU/6CC/QciXtXpBn6+hp4mChjX/9X5c/fxjkVGHPdpq6moTIfaZiMU/EUKtbBvyTBUw==
- dependencies:
- esbuild "^0.13.15"
-
-"@sveltejs/adapter-netlify@1.0.0-next.44":
- version "1.0.0-next.44"
- resolved "https://registry.yarnpkg.com/@sveltejs/adapter-netlify/-/adapter-netlify-1.0.0-next.44.tgz#3a35154c97ab6628d3c4354b0be803b4727ba27d"
- integrity sha512-GY3w4K4gW+wXo6lGes7gFcPPaUt9kY2xCfhcNfwDvbOf0PsasZD5WatAPtEE9Xz5WTtQLEEgXljVMqsPkpb75Q==
- dependencies:
- "@iarna/toml" "^2.2.5"