{
- intersecting = true
- dispatch("enterViewport")
- }}
->
- {#if intersecting}
-
+
+ {#if loaded}
+
- {:else}
-
{/if}
From a55cc85dffb030d31d107fa57426db423d319aa8 Mon Sep 17 00:00:00 2001
From: spences10
Date: Tue, 7 Mar 2023 20:04:04 +0000
Subject: [PATCH 2/6] refactor: :recycle: use component instead of action
remove use-viewport-action.ts
---
src/lib/components/general-observer.svelte | 31 +++++++++++++--------
src/lib/utils/use-viewport-action.ts | 32 ----------------------
2 files changed, 20 insertions(+), 43 deletions(-)
delete mode 100644 src/lib/utils/use-viewport-action.ts
diff --git a/src/lib/components/general-observer.svelte b/src/lib/components/general-observer.svelte
index 84567359..eb686e81 100644
--- a/src/lib/components/general-observer.svelte
+++ b/src/lib/components/general-observer.svelte
@@ -6,22 +6,31 @@
import { onDestroy, onMount } from 'svelte'
import { fade } from 'svelte/transition'
- let loaded = false
+ export let threshold = 0.5
+ export let disable_observer = false
+
+ let loaded = disable_observer
let root: HTMLElement
- // check if IntersectionObserver is available
const hasIntersectionObserver =
typeof IntersectionObserver !== 'undefined'
- let observer = hasIntersectionObserver
- ? new IntersectionObserver(entries => {
- entries.forEach(entry => {
- if (entry.isIntersecting) {
- loaded = true
- observer.disconnect()
+ let observer =
+ hasIntersectionObserver && !disable_observer
+ ? new IntersectionObserver(
+ entries => {
+ entries.forEach(entry => {
+ if (entry.intersectionRatio >= threshold) {
+ loaded = true
+ observer.disconnect()
+ }
+ })
+ },
+ {
+ rootMargin: '0px',
+ threshold,
}
- })
- })
- : null
+ )
+ : null
onMount(() => {
if (observer) {
diff --git a/src/lib/utils/use-viewport-action.ts b/src/lib/utils/use-viewport-action.ts
deleted file mode 100644
index 617f52aa..00000000
--- a/src/lib/utils/use-viewport-action.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-// Thanks Lihau https://www.youtube.com/watch?v=1SKKzdHVvcI&t=182s
-
-let intersectionObserver: IntersectionObserver
-
-function ensureIntersectionObserver() {
- if (intersectionObserver) return
-
- intersectionObserver = new IntersectionObserver(
- entries => {
- entries
- .filter(({ isIntersecting }) => isIntersecting)
- .forEach(entry => {
- entry.target.dispatchEvent(new CustomEvent('enterViewport'))
- })
- },
- {
- rootMargin: '1000px',
- }
- )
-}
-
-export default function viewport(element: Element) {
- ensureIntersectionObserver()
-
- intersectionObserver.observe(element)
-
- return {
- destroy() {
- intersectionObserver.unobserve(element)
- },
- }
-}
From 05bb911c0f693933a3a14e494b9e8767d2328ebd Mon Sep 17 00:00:00 2001
From: spences10
Date: Tue, 7 Mar 2023 20:52:30 +0000
Subject: [PATCH 3/6] chore: :wrench: add cspell dictionaries and config
remove husky and pretty-quick
---
.cspell/cambridge-dictionary-words.txt | 0
.cspell/code.txt | 8 +
.cspell/my-words.txt | 3 +
.cspell/names.txt | 37 ++
cspell.json | 38 ++
package.json | 169 +++---
pnpm-lock.yaml | 702 +++++++++++++++++++++----
7 files changed, 754 insertions(+), 203 deletions(-)
create mode 100644 .cspell/cambridge-dictionary-words.txt
create mode 100644 .cspell/code.txt
create mode 100644 .cspell/my-words.txt
create mode 100644 .cspell/names.txt
create mode 100644 cspell.json
diff --git a/.cspell/cambridge-dictionary-words.txt b/.cspell/cambridge-dictionary-words.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/.cspell/code.txt b/.cspell/code.txt
new file mode 100644
index 00000000..98eeb401
--- /dev/null
+++ b/.cspell/code.txt
@@ -0,0 +1,8 @@
+colspan
+iframe
+markdownlint
+tbody
+testid
+tfoot
+valign
+webdev
\ No newline at end of file
diff --git a/.cspell/my-words.txt b/.cspell/my-words.txt
new file mode 100644
index 00000000..58bfceb6
--- /dev/null
+++ b/.cspell/my-words.txt
@@ -0,0 +1,3 @@
+genericembed
+mycomponent
+oldschool
diff --git a/.cspell/names.txt b/.cspell/names.txt
new file mode 100644
index 00000000..e1c00d93
--- /dev/null
+++ b/.cspell/names.txt
@@ -0,0 +1,37 @@
+adamwathan
+anchorfm
+Arellano
+Buzzsprout
+Cahllagerfeld
+codepen
+daisyui
+Deezer
+Drasner
+Ennoriel
+Hernández
+João
+Laubstein
+Mandal
+markdownlint
+Matías
+Maxime
+mdsvex
+Palmeiro
+pauliescanlon
+pnpm
+purrfect
+rehype
+sdras
+simplecast
+smartypants
+soundcloud
+Souvik
+stackblitz
+svead
+sveltekit
+tailwindcss
+vieria
+vite
+vitejs
+youtube
+Zencastr
diff --git a/cspell.json b/cspell.json
new file mode 100644
index 00000000..7ad9b88d
--- /dev/null
+++ b/cspell.json
@@ -0,0 +1,38 @@
+{
+ "version": "0.2",
+ "ignorePaths": [
+ "node_modules/**/*",
+ "pnpm-lock.yaml",
+ "package/**/*"
+ ],
+ "dictionaryDefinitions": [
+ {
+ "name": "cambridge_dictionary",
+ "path": ".cspell/cambridge-dictionary-words.txt",
+ "addWords": true
+ },
+ {
+ "name": "my_words",
+ "path": ".cspell/my-words.txt",
+ "addWords": true
+ },
+ {
+ "name": "names",
+ "path": ".cspell/names.txt",
+ "addWords": true
+ },
+ {
+ "name": "code",
+ "path": ".cspell/code.txt",
+ "addWords": true
+ }
+ ],
+ "dictionaries": [
+ "cambridge_dictionary",
+ "names",
+ "my_words",
+ "code"
+ ],
+ "ignoreWords": [],
+ "import": []
+}
diff --git a/package.json b/package.json
index ce43b644..d17bee15 100644
--- a/package.json
+++ b/package.json
@@ -1,89 +1,84 @@
{
- "name": "sveltekit-embed",
- "version": "0.0.12",
- "author": {
- "name": "Scott Spence",
- "email": "yo@scottspence.dev",
- "url": "https://scottspence.com"
- },
- "description": "This is a collection of embed components I use on a regular basis packaged up for use.",
- "keywords": [
- "svelte",
- "sveltekit",
- "youtube",
- "spotify",
- "deezer",
- "vimeo"
- ],
- "license": "MIT",
- "scripts": {
- "dev": "vite dev",
- "build": "pnpm un sveltekit-embed && pnpm i -D sveltekit-embed && vite build",
- "package": "svelte-package",
- "preview": "vite preview",
- "test": "playwright test",
- "check": "svelte-check --tsconfig ./tsconfig.json",
- "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
- "lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
- "format": "pretty-quick",
- "package:local": "svelte-package && pnpm i -D ./package",
- "contributors:add": "all-contributors add",
- "contributors:generate": "all-contributors generate",
- "test:unit": "vitest",
- "test:ui": "vitest --ui",
- "test:ci": "vitest run"
- },
- "husky": {
- "hooks": {
- "pre-commit": "pretty-quick --staged"
- }
- },
- "devDependencies": {
- "@playwright/test": "1.31.2",
- "@sveltejs/adapter-auto": "^2.0.0",
- "@sveltejs/kit": "^1.5.0",
- "@sveltejs/package": "2.0.2",
- "@tailwindcss/typography": "0.5.9",
- "@testing-library/svelte": "^3.2.2",
- "@typescript-eslint/eslint-plugin": "5.54.1",
- "@typescript-eslint/parser": "5.54.1",
- "@vitest/ui": "^0.29.0",
- "all-contributors-cli": "6.24.0",
- "autoprefixer": "10.4.13",
- "daisyui": "2.51.3",
- "eslint": "8.35.0",
- "eslint-config-prettier": "8.6.0",
- "eslint-plugin-svelte3": "4.0.0",
- "fathom-client": "^3.5.0",
- "husky": "8.0.3",
- "jsdom": "^21.0.0",
- "mdsvex": "0.10.6",
- "postcss": "8.4.21",
- "postcss-load-config": "4.0.1",
- "prettier": "2.8.4",
- "prettier-plugin-svelte": "2.9.0",
- "pretty-quick": "3.1.3",
- "rehype-autolink-headings": "^6.1.1",
- "rehype-slug": "^5.1.0",
- "svead": "0.0.4",
- "svelte": "3.55.1",
- "svelte-check": "3.0.4",
- "svelte-preprocess": "5.0.1",
- "svelte2tsx": "0.6.2",
- "sveltekit-embed": "^0.0.12",
- "tailwindcss": "3.2.7",
- "tslib": "2.5.0",
- "typescript": "4.9.5",
- "vite": "4.1.4",
- "vitest": "^0.29.0"
- },
- "type": "module",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/spences10/sveltekit-embed.git"
- },
- "bugs": {
- "url": "https://github.com/spences10/sveltekit-embed/issues"
- },
- "homepage": "https://github.com/spences10/sveltekit-embed#readme"
+ "name": "sveltekit-embed",
+ "version": "0.0.12",
+ "author": {
+ "name": "Scott Spence",
+ "email": "yo@scottspence.dev",
+ "url": "https://scottspence.com"
+ },
+ "description": "This is a collection of embed components I use on a regular basis packaged up for use.",
+ "keywords": [
+ "svelte",
+ "sveltekit",
+ "youtube",
+ "spotify",
+ "deezer",
+ "vimeo"
+ ],
+ "license": "MIT",
+ "scripts": {
+ "dev": "vite dev",
+ "build": "pnpm un sveltekit-embed && pnpm i -D sveltekit-embed && vite build",
+ "package": "svelte-package",
+ "preview": "vite preview",
+ "test": "playwright test",
+ "check": "svelte-check --tsconfig ./tsconfig.json",
+ "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
+ "lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
+ "format": "prettier --plugin-search-dir . --write .",
+ "package:local": "svelte-package && pnpm i -D ./package",
+ "contributors:add": "all-contributors add",
+ "contributors:generate": "all-contributors generate",
+ "test:unit": "vitest",
+ "test:ui": "vitest --ui",
+ "test:ci": "vitest run",
+ "cspell": "cspell '**/*.md' --config cspell.json --language-id en-gb --wordsOnly"
+ },
+ "devDependencies": {
+ "@playwright/test": "1.31.2",
+ "@sveltejs/adapter-auto": "^2.0.0",
+ "@sveltejs/kit": "^1.5.0",
+ "@sveltejs/package": "2.0.2",
+ "@tailwindcss/typography": "0.5.9",
+ "@testing-library/svelte": "^3.2.2",
+ "@typescript-eslint/eslint-plugin": "5.54.1",
+ "@typescript-eslint/parser": "5.54.1",
+ "@vitest/ui": "^0.29.0",
+ "all-contributors-cli": "6.24.0",
+ "autoprefixer": "10.4.13",
+ "cspell": "^6.28.0",
+ "daisyui": "2.51.3",
+ "eslint": "8.35.0",
+ "eslint-config-prettier": "8.6.0",
+ "eslint-plugin-svelte3": "4.0.0",
+ "fathom-client": "^3.5.0",
+ "jsdom": "^21.0.0",
+ "mdsvex": "0.10.6",
+ "postcss": "8.4.21",
+ "postcss-load-config": "4.0.1",
+ "prettier": "2.8.4",
+ "prettier-plugin-svelte": "2.9.0",
+ "rehype-autolink-headings": "^6.1.1",
+ "rehype-slug": "^5.1.0",
+ "svead": "0.0.4",
+ "svelte": "3.55.1",
+ "svelte-check": "3.0.4",
+ "svelte-preprocess": "5.0.1",
+ "svelte2tsx": "0.6.2",
+ "sveltekit-embed": "^0.0.12",
+ "tailwindcss": "3.2.7",
+ "tslib": "2.5.0",
+ "typescript": "4.9.5",
+ "vite": "4.1.4",
+ "vitest": "^0.29.0"
+ },
+ "type": "module",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/spences10/sveltekit-embed.git"
+ },
+ "bugs": {
+ "url": "https://github.com/spences10/sveltekit-embed/issues"
+ },
+ "homepage": "https://github.com/spences10/sveltekit-embed#readme"
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 18322866..9b98d9f3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -12,19 +12,18 @@ specifiers:
'@vitest/ui': ^0.29.0
all-contributors-cli: 6.24.0
autoprefixer: 10.4.13
+ cspell: ^6.28.0
daisyui: 2.51.3
eslint: 8.35.0
eslint-config-prettier: 8.6.0
eslint-plugin-svelte3: 4.0.0
fathom-client: ^3.5.0
- husky: 8.0.3
jsdom: ^21.0.0
mdsvex: 0.10.6
postcss: 8.4.21
postcss-load-config: 4.0.1
prettier: 2.8.4
prettier-plugin-svelte: 2.9.0
- pretty-quick: 3.1.3
rehype-autolink-headings: ^6.1.1
rehype-slug: ^5.1.0
svead: 0.0.4
@@ -51,19 +50,18 @@ devDependencies:
'@vitest/ui': 0.29.2
all-contributors-cli: 6.24.0
autoprefixer: 10.4.13_postcss@8.4.21
+ cspell: 6.28.0
daisyui: 2.51.3_gbtt6ss3tbiz4yjtvdr6fbrj44
eslint: 8.35.0
eslint-config-prettier: 8.6.0_eslint@8.35.0
eslint-plugin-svelte3: 4.0.0_n4ieifq2d7jq3sqoe474cgqlim
fathom-client: 3.5.0
- husky: 8.0.3
jsdom: 21.0.0
mdsvex: 0.10.6_svelte@3.55.1
postcss: 8.4.21
postcss-load-config: 4.0.1_postcss@8.4.21
prettier: 2.8.4
prettier-plugin-svelte: 2.9.0_jrsxveqmsx2uadbqiuq74wlc4u
- pretty-quick: 3.1.3_prettier@2.8.4
rehype-autolink-headings: 6.1.1
rehype-slug: 5.1.0
svead: 0.0.4
@@ -108,6 +106,269 @@ packages:
regenerator-runtime: 0.13.11
dev: true
+ /@cspell/cspell-bundled-dicts/6.28.0:
+ resolution: {integrity: sha512-RjAf67eejzQVXPX45xmIGFgSewtUeY5R+xun6xz1pQFIIrgsoxYNZ1hbdj72sX6+QdkJDf1WF3S9zMfiRVlOXQ==}
+ engines: {node: '>=14'}
+ dependencies:
+ '@cspell/dict-ada': 4.0.1
+ '@cspell/dict-aws': 3.0.0
+ '@cspell/dict-bash': 4.1.1
+ '@cspell/dict-companies': 3.0.9
+ '@cspell/dict-cpp': 4.0.3
+ '@cspell/dict-cryptocurrencies': 3.0.1
+ '@cspell/dict-csharp': 4.0.2
+ '@cspell/dict-css': 4.0.5
+ '@cspell/dict-dart': 2.0.2
+ '@cspell/dict-django': 4.0.2
+ '@cspell/dict-docker': 1.1.6
+ '@cspell/dict-dotnet': 4.0.2
+ '@cspell/dict-elixir': 4.0.2
+ '@cspell/dict-en-common-misspellings': 1.0.2
+ '@cspell/dict-en-gb': 1.1.33
+ '@cspell/dict-en_us': 4.3.0
+ '@cspell/dict-filetypes': 3.0.0
+ '@cspell/dict-fonts': 3.0.1
+ '@cspell/dict-fullstack': 3.1.4
+ '@cspell/dict-gaming-terms': 1.0.4
+ '@cspell/dict-git': 2.0.0
+ '@cspell/dict-golang': 5.0.2
+ '@cspell/dict-haskell': 4.0.1
+ '@cspell/dict-html': 4.0.3
+ '@cspell/dict-html-symbol-entities': 4.0.0
+ '@cspell/dict-java': 5.0.5
+ '@cspell/dict-k8s': 1.0.1
+ '@cspell/dict-latex': 3.1.0
+ '@cspell/dict-lorem-ipsum': 3.0.0
+ '@cspell/dict-lua': 4.0.1
+ '@cspell/dict-node': 4.0.2
+ '@cspell/dict-npm': 5.0.5
+ '@cspell/dict-php': 3.0.4
+ '@cspell/dict-powershell': 4.0.2
+ '@cspell/dict-public-licenses': 2.0.1
+ '@cspell/dict-python': 4.0.1
+ '@cspell/dict-r': 2.0.1
+ '@cspell/dict-ruby': 4.0.2
+ '@cspell/dict-rust': 4.0.1
+ '@cspell/dict-scala': 4.0.1
+ '@cspell/dict-software-terms': 3.1.5
+ '@cspell/dict-sql': 2.0.2
+ '@cspell/dict-svelte': 1.0.2
+ '@cspell/dict-swift': 2.0.1
+ '@cspell/dict-typescript': 3.1.1
+ '@cspell/dict-vue': 3.0.0
+ dev: true
+
+ /@cspell/cspell-pipe/6.28.0:
+ resolution: {integrity: sha512-/D8cmitszZCethV4ekz+RMigwlkk5kLcOiVdjKBx/YHC5CtpkQ+v5ZlaTpxAKCoOyfyKW6hI8UNhNIx7ZyrizQ==}
+ engines: {node: '>=14'}
+ dev: true
+
+ /@cspell/cspell-service-bus/6.28.0:
+ resolution: {integrity: sha512-l3PtT8wZTTB3HcCFg0WYAamzt9MO4fVevOj+6lOaTTQDh5iV+4+XmutkdKGoDmMpe3EdqOeYJ5SC96NUb6U5CA==}
+ engines: {node: '>=14'}
+ dev: true
+
+ /@cspell/cspell-types/6.28.0:
+ resolution: {integrity: sha512-+LJ7IlD4X9eaw8fBPtHYH8g5eFIkEZssLrjAOLA2hIps5aVNZ6J6oS4lUOVdKaDjdn6qsPgTpHGZJ2rV/RSrCA==}
+ engines: {node: '>=14'}
+ dev: true
+
+ /@cspell/dict-ada/4.0.1:
+ resolution: {integrity: sha512-/E9o3nHrXOhYmQE43deKbxZcR3MIJAsa+66IzP9TXGHheKEx8b9dVMVVqydDDH8oom1H0U20NRPtu6KRVbT9xw==}
+ dev: true
+
+ /@cspell/dict-aws/3.0.0:
+ resolution: {integrity: sha512-O1W6nd5y3Z00AMXQMzfiYrIJ1sTd9fB1oLr+xf/UD7b3xeHeMeYE2OtcWbt9uyeHim4tk+vkSTcmYEBKJgS5bQ==}
+ dev: true
+
+ /@cspell/dict-bash/4.1.1:
+ resolution: {integrity: sha512-8czAa/Mh96wu2xr0RXQEGMTBUGkTvYn/Pb0o+gqOO1YW+poXGQc3gx0YPqILDryP/KCERrNvkWUJz3iGbvwC2A==}
+ dev: true
+
+ /@cspell/dict-companies/3.0.9:
+ resolution: {integrity: sha512-wSkVIJjk33Sm3LhieNv9TsSvUSeP0R/h8xx06NqbMYF43w9J8hZiMHlbB3FzaSOHRpXT5eBIJBVTeFbceZdiqg==}
+ dev: true
+
+ /@cspell/dict-cpp/4.0.3:
+ resolution: {integrity: sha512-gbXY9cUgRpb5mpw19VBy+YNUqNMlT5Dj70d8V1yIFbqPVHxccmxwdU4rlNaRyYrC41kDZwxmG7QQwcng6FdGcg==}
+ dev: true
+
+ /@cspell/dict-cryptocurrencies/3.0.1:
+ resolution: {integrity: sha512-Tdlr0Ahpp5yxtwM0ukC13V6+uYCI0p9fCRGMGZt36rWv8JQZHIuHfehNl7FB/Qc09NCF7p5ep0GXbL+sVTd/+w==}
+ dev: true
+
+ /@cspell/dict-csharp/4.0.2:
+ resolution: {integrity: sha512-1JMofhLK+4p4KairF75D3A924m5ERMgd1GvzhwK2geuYgd2ZKuGW72gvXpIV7aGf52E3Uu1kDXxxGAiZ5uVG7g==}
+ dev: true
+
+ /@cspell/dict-css/4.0.5:
+ resolution: {integrity: sha512-z5vw8nJSyKd6d3i5UmMNoVcAp0wxvs9OHWOmAeJKT9fO3tok02gK24VZhcJ0NJtiKdHQ2zRuzdfWl51wdAiY6A==}
+ dev: true
+
+ /@cspell/dict-dart/2.0.2:
+ resolution: {integrity: sha512-jigcODm7Z4IFZ4vParwwP3IT0fIgRq/9VoxkXfrxBMsLBGGM2QltHBj7pl+joX+c4cOHxfyZktGJK1B1wFtR4Q==}
+ dev: true
+
+ /@cspell/dict-django/4.0.2:
+ resolution: {integrity: sha512-L0Yw6+Yh2bE9/FAMG4gy9m752G4V8HEBjEAGeRIQ9qvxDLR9yD6dPOtgEFTjv7SWlKSrLb9wA/W3Q2GKCOusSg==}
+ dev: true
+
+ /@cspell/dict-docker/1.1.6:
+ resolution: {integrity: sha512-zCCiRTZ6EOQpBnSOm0/3rnKW1kCcAUDUA7SxJG3SuH6iZvKi3I8FEg8+O83WQUeXg0SyPNerD9F40JLnnJjJig==}
+ dev: true
+
+ /@cspell/dict-dotnet/4.0.2:
+ resolution: {integrity: sha512-Cu+Ob142tBQ2cYrpK/d3tjm/FvNXQXwdUShRIPKx03HbtUk9BoTdeFY5bX+Zz7GeV66OJCMrmpFANrtKpB8NTg==}
+ dev: true
+
+ /@cspell/dict-elixir/4.0.2:
+ resolution: {integrity: sha512-/YeHlpZ1pE9VAyxp3V0xyUPapNyC61WwFuw2RByeoMqqYaIfS3Hw+JxtimOsAKVhUvgUH58zyKl5K5Q6FqgCpw==}
+ dev: true
+
+ /@cspell/dict-en-common-misspellings/1.0.2:
+ resolution: {integrity: sha512-jg7ZQZpZH7+aAxNBlcAG4tGhYF6Ksy+QS5Df73Oo+XyckBjC9QS+PrRwLTeYoFIgXy5j3ICParK5r3MSSoL4gw==}
+ dev: true
+
+ /@cspell/dict-en-gb/1.1.33:
+ resolution: {integrity: sha512-tKSSUf9BJEV+GJQAYGw5e+ouhEe2ZXE620S7BLKe3ZmpnjlNG9JqlnaBhkIMxKnNFkLY2BP/EARzw31AZnOv4g==}
+ dev: true
+
+ /@cspell/dict-en_us/4.3.0:
+ resolution: {integrity: sha512-lQ4r8tBiylNjmYwrWz4xUgBtVC0CciKpddMUVosdusHonFE0KjlvkZK6PFtROBupmRLMBBMjxvtpbq8SdFBqCw==}
+ dev: true
+
+ /@cspell/dict-filetypes/3.0.0:
+ resolution: {integrity: sha512-Fiyp0z5uWaK0d2TfR9GMUGDKmUMAsOhGD5A0kHoqnNGswL2iw0KB0mFBONEquxU65fEnQv4R+jdM2d9oucujuA==}
+ dev: true
+
+ /@cspell/dict-fonts/3.0.1:
+ resolution: {integrity: sha512-o2zVFKT3KcIBo88xlWhG4yOD0XQDjP7guc7C30ZZcSN8YCwaNc1nGoxU3QRea8iKcwk3cXH0G53nrQur7g9DjQ==}
+ dev: true
+
+ /@cspell/dict-fullstack/3.1.4:
+ resolution: {integrity: sha512-OnCIn3GgAhdhsU6xMYes7/WXnbV6R/5k/zRAu/d+WZP4Ltf48z7oFfNFjHXH6b8ZwnMhpekLAnCeIfT5dcxRqw==}
+ dev: true
+
+ /@cspell/dict-gaming-terms/1.0.4:
+ resolution: {integrity: sha512-hbDduNXlk4AOY0wFxcDMWBPpm34rpqJBeqaySeoUH70eKxpxm+dvjpoRLJgyu0TmymEICCQSl6lAHTHSDiWKZg==}
+ dev: true
+
+ /@cspell/dict-git/2.0.0:
+ resolution: {integrity: sha512-n1AxyX5Kgxij/sZFkxFJlzn3K9y/sCcgVPg/vz4WNJ4K9YeTsUmyGLA2OQI7d10GJeiuAo2AP1iZf2A8j9aj2w==}
+ dev: true
+
+ /@cspell/dict-golang/5.0.2:
+ resolution: {integrity: sha512-TNOQzsiLv4I56w5188OnJW+2ttjekoBl8IyPpI25GeV3dky4d+TX5pujayvcKQ+SM8vV8u2lpQpvyr4YePhiQg==}
+ dev: true
+
+ /@cspell/dict-haskell/4.0.1:
+ resolution: {integrity: sha512-uRrl65mGrOmwT7NxspB4xKXFUenNC7IikmpRZW8Uzqbqcu7ZRCUfstuVH7T1rmjRgRkjcIjE4PC11luDou4wEQ==}
+ dev: true
+
+ /@cspell/dict-html-symbol-entities/4.0.0:
+ resolution: {integrity: sha512-HGRu+48ErJjoweR5IbcixxETRewrBb0uxQBd6xFGcxbEYCX8CnQFTAmKI5xNaIt2PKaZiJH3ijodGSqbKdsxhw==}
+ dev: true
+
+ /@cspell/dict-html/4.0.3:
+ resolution: {integrity: sha512-Gae8i8rrArT0UyG1I6DHDK62b7Be6QEcBSIeWOm4VIIW1CASkN9B0qFgSVnkmfvnu1Y3H7SSaaEynKjdj3cs8w==}
+ dev: true
+
+ /@cspell/dict-java/5.0.5:
+ resolution: {integrity: sha512-X19AoJgWIBwJBSWGFqSgHaBR/FEykBHTMjL6EqOnhIGEyE9nvuo32tsSHjXNJ230fQxQptEvRZoaldNLtKxsRg==}
+ dev: true
+
+ /@cspell/dict-k8s/1.0.1:
+ resolution: {integrity: sha512-gc5y4Nm3hVdMZNBZfU2M1AsAmObZsRWjCUk01NFPfGhFBXyVne41T7E62rpnzu5330FV/6b/TnFcPgRmak9lLw==}
+ dev: true
+
+ /@cspell/dict-latex/3.1.0:
+ resolution: {integrity: sha512-XD5S3FY0DrYiun2vm/KKOkeaD30LXp9v5EzVTVQvmxqQrQh0HvOT3TFD7lgKbyzZaG7E+l3wS94uwwm80cOmuw==}
+ dev: true
+
+ /@cspell/dict-lorem-ipsum/3.0.0:
+ resolution: {integrity: sha512-msEV24qEpzWZs2kcEicqYlhyBpR0amfDkJOs+iffC07si9ftqtQ+yP3lf1VFLpgqw3SQh1M1vtU7RD4sPrNlcQ==}
+ dev: true
+
+ /@cspell/dict-lua/4.0.1:
+ resolution: {integrity: sha512-j0MFmeCouSoC6EdZTbvGe1sJ9V+ruwKSeF+zRkNNNload7R72Co5kX1haW2xLHGdlq0kqSy1ODRZKdVl0e+7hg==}
+ dev: true
+
+ /@cspell/dict-node/4.0.2:
+ resolution: {integrity: sha512-FEQJ4TnMcXEFslqBQkXa5HposMoCGsiBv2ux4IZuIXgadXeHKHUHk60iarWpjhzNzQLyN2GD7NoRMd12bK3Llw==}
+ dev: true
+
+ /@cspell/dict-npm/5.0.5:
+ resolution: {integrity: sha512-eirZm4XpJNEcbmLGIwI2qXdRRlCKwEsH9mT3qCUytmbj6S6yn63F+8bShMW/yQBedV7+GXq9Td+cJdqiVutOiA==}
+ dev: true
+
+ /@cspell/dict-php/3.0.4:
+ resolution: {integrity: sha512-QX6zE/ZfnT3O5lSwV8EPVh8Va39ds34gSNNR8I4GWiuDpKcTkZPFi4OLoP3Tlhbl/3G0Ha35OkSDLvZfu8mnkA==}
+ dev: true
+
+ /@cspell/dict-powershell/4.0.2:
+ resolution: {integrity: sha512-3Wk2Z0fxpewML0zq4a9W5IsPZ0YwvzA8c6ykFdwQ0xcBQc/xRfdb9Z5drYXf9bobck1+MacGrprSeQXrmeByNQ==}
+ dev: true
+
+ /@cspell/dict-public-licenses/2.0.1:
+ resolution: {integrity: sha512-NZNwzkL5BqKddepDxvX/Qbji378Mso1TdnV4RFAN8hJoo6dSR0fv2TTI/Y0i/YWBmfmQGyTpEztBXtAw4qgjiA==}
+ dev: true
+
+ /@cspell/dict-python/4.0.1:
+ resolution: {integrity: sha512-1wtUgyaTqRiQY0/fryk0oW22lcxNUnZ5DwteTzfatMdbgR0OHXTlHbI8vYxpHLWalSoch7EpLsnaymG+fOrt8g==}
+ dev: true
+
+ /@cspell/dict-r/2.0.1:
+ resolution: {integrity: sha512-KCmKaeYMLm2Ip79mlYPc8p+B2uzwBp4KMkzeLd5E6jUlCL93Y5Nvq68wV5fRLDRTf7N1LvofkVFWfDcednFOgA==}
+ dev: true
+
+ /@cspell/dict-ruby/4.0.2:
+ resolution: {integrity: sha512-fCoQHvLhTAetzXCUZMpyoCUPFMiyLHuECIPOiuYW6TGnP2eGV9y4j2J8HAOVtkyxOKUoyK+zZgtrma64yTUMkg==}
+ dev: true
+
+ /@cspell/dict-rust/4.0.1:
+ resolution: {integrity: sha512-xJSSzHDK2z6lSVaOmMxl3PTOtfoffaxMo7fTcbZUF+SCJzfKbO6vnN9TCGX2sx1RHFDz66Js6goz6SAZQdOwaw==}
+ dev: true
+
+ /@cspell/dict-scala/4.0.1:
+ resolution: {integrity: sha512-UvdQpAugrCqRC+2wfqJ4FFKpJr+spLrrrAmqdWEgAyZNMz8ib9FkO+yoIQnNFeodzI9xVPN9Hror+MjXbb2soQ==}
+ dev: true
+
+ /@cspell/dict-software-terms/3.1.5:
+ resolution: {integrity: sha512-wmkWHHkp2AN9EDWNBLB0VASB5OtsC3KnhoAHxCJzC6AB3xjYoBfKsvgI/o50gfbsCVQceHpqXjOEYSw/xxTKNw==}
+ dev: true
+
+ /@cspell/dict-sql/2.0.2:
+ resolution: {integrity: sha512-XxUoamMFU9OGcDHLY6+pTlQDsqq9wcY7Oc4C55hqmotxFeFaaqinoD1UIAm1yDngRP7fKK4mVPPFmJI6bmspHg==}
+ dev: true
+
+ /@cspell/dict-svelte/1.0.2:
+ resolution: {integrity: sha512-rPJmnn/GsDs0btNvrRBciOhngKV98yZ9SHmg8qI6HLS8hZKvcXc0LMsf9LLuMK1TmS2+WQFAan6qeqg6bBxL2Q==}
+ dev: true
+
+ /@cspell/dict-swift/2.0.1:
+ resolution: {integrity: sha512-gxrCMUOndOk7xZFmXNtkCEeroZRnS2VbeaIPiymGRHj5H+qfTAzAKxtv7jJbVA3YYvEzWcVE2oKDP4wcbhIERw==}
+ dev: true
+
+ /@cspell/dict-typescript/3.1.1:
+ resolution: {integrity: sha512-N9vNJZoOXmmrFPR4ir3rGvnqqwmQGgOYoL1+y6D4oIhyr7FhaYiyF/d7QT61RmjZQcATMa6PSL+ZisCeRLx9+A==}
+ dev: true
+
+ /@cspell/dict-vue/3.0.0:
+ resolution: {integrity: sha512-niiEMPWPV9IeRBRzZ0TBZmNnkK3olkOPYxC1Ny2AX4TGlYRajcW0WUtoSHmvvjZNfWLSg2L6ruiBeuPSbjnG6A==}
+ dev: true
+
+ /@cspell/dynamic-import/6.28.0:
+ resolution: {integrity: sha512-drPfcTDDnWfQqSA3TqYMewocbFnPIW08/xKnouC7QFThgNocLD6TkBExa9timCATEsL7HujeAFEgMaPPTPFMqA==}
+ engines: {node: '>=14'}
+ dependencies:
+ import-meta-resolve: 2.2.1
+ dev: true
+
+ /@cspell/strong-weak-map/6.28.0:
+ resolution: {integrity: sha512-M8qffYu672xMbF3JH5TmlXydfoglhiO/Tuy2fziQHtaTRm5Qp0KrSioSvHq+3QxnmHVTa91vYuzmr6qoAxqPjQ==}
+ engines: {node: '>=14.6'}
+ dev: true
+
/@esbuild/android-arm/0.16.17:
resolution: {integrity: sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==}
engines: {node: '>=12'}
@@ -541,10 +802,6 @@ packages:
resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==}
dev: true
- /@types/minimatch/3.0.5:
- resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==}
- dev: true
-
/@types/node/18.11.17:
resolution: {integrity: sha512-HJSUJmni4BeDHhfzn6nF0sVmd1SMezP7/4F0Lq+aXzmp2xm9O7WXrUtHW/CHlYVtZUbByEvWidHqRtcJXGF2Ng==}
dev: true
@@ -888,9 +1145,8 @@ packages:
deep-equal: 2.1.0
dev: true
- /array-differ/3.0.0:
- resolution: {integrity: sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==}
- engines: {node: '>=8'}
+ /array-timsort/1.0.3:
+ resolution: {integrity: sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==}
dev: true
/array-union/2.1.0:
@@ -898,11 +1154,6 @@ packages:
engines: {node: '>=8'}
dev: true
- /arrify/2.0.1:
- resolution: {integrity: sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==}
- engines: {node: '>=8'}
- dev: true
-
/assertion-error/1.1.0:
resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==}
dev: true
@@ -1038,14 +1289,6 @@ packages:
supports-color: 5.5.0
dev: true
- /chalk/3.0.0:
- resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==}
- engines: {node: '>=8'}
- dependencies:
- ansi-styles: 4.3.0
- supports-color: 7.2.0
- dev: true
-
/chalk/4.1.2:
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
engines: {node: '>=10'}
@@ -1077,6 +1320,14 @@ packages:
fsevents: 2.3.2
dev: true
+ /clear-module/4.1.2:
+ resolution: {integrity: sha512-LWAxzHqdHsAZlPlEyJ2Poz6AIs384mPeqLVCru2p0BrP9G/kVGuhNyZYClLO6cXlnuJjzC8xtsJIuMjKqLXoAw==}
+ engines: {node: '>=8'}
+ dependencies:
+ parent-module: 2.0.0
+ resolve-from: 5.0.0
+ dev: true
+
/cli-cursor/3.1.0:
resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==}
engines: {node: '>=8'}
@@ -1148,15 +1399,57 @@ packages:
delayed-stream: 1.0.0
dev: true
+ /commander/10.0.0:
+ resolution: {integrity: sha512-zS5PnTI22FIRM6ylNW8G4Ap0IEOyk62fhLSD0+uHRT9McRCLGpkVNvao4bjimpK/GShynyQkFFxHhwMcETmduA==}
+ engines: {node: '>=14'}
+ dev: true
+
+ /comment-json/4.2.3:
+ resolution: {integrity: sha512-SsxdiOf064DWoZLH799Ata6u7iV658A11PlWtZATDlXPpKGJnbJZ5Z24ybixAi+LUUqJ/GKowAejtC5GFUG7Tw==}
+ engines: {node: '>= 6'}
+ dependencies:
+ array-timsort: 1.0.3
+ core-util-is: 1.0.3
+ esprima: 4.0.1
+ has-own-prop: 2.0.0
+ repeat-string: 1.6.1
+ dev: true
+
/concat-map/0.0.1:
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
dev: true
+ /configstore/5.0.1:
+ resolution: {integrity: sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==}
+ engines: {node: '>=8'}
+ dependencies:
+ dot-prop: 5.3.0
+ graceful-fs: 4.2.10
+ make-dir: 3.1.0
+ unique-string: 2.0.0
+ write-file-atomic: 3.0.3
+ xdg-basedir: 4.0.0
+ dev: true
+
/cookie/0.5.0:
resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==}
engines: {node: '>= 0.6'}
dev: true
+ /core-util-is/1.0.3:
+ resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
+ dev: true
+
+ /cosmiconfig/8.1.0:
+ resolution: {integrity: sha512-0tLZ9URlPGU7JsKq0DQOQ3FoRsYX8xDZ7xMiATQfaiGMz7EHowNkbU9u1coAOmnh9p/1ySpm0RB3JNWRXM5GCg==}
+ engines: {node: '>=14'}
+ dependencies:
+ import-fresh: 3.3.0
+ js-yaml: 4.1.0
+ parse-json: 5.2.0
+ path-type: 4.0.0
+ dev: true
+
/cross-spawn/7.0.3:
resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
engines: {node: '>= 8'}
@@ -1166,6 +1459,120 @@ packages:
which: 2.0.2
dev: true
+ /crypto-random-string/2.0.0:
+ resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==}
+ engines: {node: '>=8'}
+ dev: true
+
+ /cspell-dictionary/6.28.0:
+ resolution: {integrity: sha512-7RSap81rJ2JVENuErrcKqfN1rBfDN8UIJSn5uoQZj2Boz/IfV24wGs0izXcJ+jpZI9L5PoT0XpMyuT93rwo+hA==}
+ engines: {node: '>=14'}
+ dependencies:
+ '@cspell/cspell-pipe': 6.28.0
+ '@cspell/cspell-types': 6.28.0
+ cspell-trie-lib: 6.28.0
+ fast-equals: 4.0.3
+ gensequence: 5.0.2
+ dev: true
+
+ /cspell-gitignore/6.28.0:
+ resolution: {integrity: sha512-AOlblIJsoMk8F7+CznmhUIM+jGpIP/rBFERo5yT7bF7GarO2MoONxFA5MauSDnRaIDxMuik/gCn4MzvgT8ZZgw==}
+ engines: {node: '>=14'}
+ hasBin: true
+ dependencies:
+ cspell-glob: 6.28.0
+ find-up: 5.0.0
+ dev: true
+
+ /cspell-glob/6.28.0:
+ resolution: {integrity: sha512-588E4RdswSNRoXf9mPtDxc+aSP3rpRwmJCrLEPtV6FdbG0YJDQOAmV2jP2qRqVouWOHjZZ84HwN79jfWt1ROsA==}
+ engines: {node: '>=14'}
+ dependencies:
+ micromatch: 4.0.5
+ dev: true
+
+ /cspell-grammar/6.28.0:
+ resolution: {integrity: sha512-MQaaGn+aJxsUnYxi6yHeU0RvsD3ARo6/14aipbrx11uZYZjm8dDQVPFabW98aPjO7zd0qNuB6FBS/3FK6nbKkg==}
+ engines: {node: '>=14'}
+ hasBin: true
+ dependencies:
+ '@cspell/cspell-pipe': 6.28.0
+ '@cspell/cspell-types': 6.28.0
+ dev: true
+
+ /cspell-io/6.28.0:
+ resolution: {integrity: sha512-h/KtXQDX1c7q/0tZvBlYe0MyaqmtJZ1dcL9kInQXrFhLnw3IPXcS3Nwux+FRj7DXJp5uXbM80hEu54z8fDnT6g==}
+ engines: {node: '>=14'}
+ dependencies:
+ '@cspell/cspell-service-bus': 6.28.0
+ node-fetch: 2.6.9
+ transitivePeerDependencies:
+ - encoding
+ dev: true
+
+ /cspell-lib/6.28.0:
+ resolution: {integrity: sha512-J24iWuaWU3O4L+4//wS3TA/Dw1GEqzZqeKsufOlpgU+P1+VplPaoIKmKBK44nM7RBPEz+fbyUxhnksLKD1tRmQ==}
+ engines: {node: '>=14.6'}
+ dependencies:
+ '@cspell/cspell-bundled-dicts': 6.28.0
+ '@cspell/cspell-pipe': 6.28.0
+ '@cspell/cspell-types': 6.28.0
+ '@cspell/strong-weak-map': 6.28.0
+ clear-module: 4.1.2
+ comment-json: 4.2.3
+ configstore: 5.0.1
+ cosmiconfig: 8.1.0
+ cspell-dictionary: 6.28.0
+ cspell-glob: 6.28.0
+ cspell-grammar: 6.28.0
+ cspell-io: 6.28.0
+ cspell-trie-lib: 6.28.0
+ fast-equals: 4.0.3
+ find-up: 5.0.0
+ gensequence: 5.0.2
+ import-fresh: 3.3.0
+ resolve-from: 5.0.0
+ resolve-global: 1.0.0
+ vscode-languageserver-textdocument: 1.0.8
+ vscode-uri: 3.0.7
+ transitivePeerDependencies:
+ - encoding
+ dev: true
+
+ /cspell-trie-lib/6.28.0:
+ resolution: {integrity: sha512-pF+C60Fdclg5oxXdnyA2biP6WjckaTs/eNMPTxbmQOEAraujZVyGFL3b464dwW9dJ8Qz1FuQc7fhQADelN2LrA==}
+ engines: {node: '>=14'}
+ dependencies:
+ '@cspell/cspell-pipe': 6.28.0
+ '@cspell/cspell-types': 6.28.0
+ gensequence: 5.0.2
+ dev: true
+
+ /cspell/6.28.0:
+ resolution: {integrity: sha512-HPw7bO0H6l8vXyUF0Ybp9IucVt15Og8YsOfQ4RIaCLU9uJP4RgwjwHVPnCJiQvhC5s4Zbw1WzX/+J8PP83oIUg==}
+ engines: {node: '>=14'}
+ hasBin: true
+ dependencies:
+ '@cspell/cspell-pipe': 6.28.0
+ '@cspell/dynamic-import': 6.28.0
+ chalk: 4.1.2
+ commander: 10.0.0
+ cspell-gitignore: 6.28.0
+ cspell-glob: 6.28.0
+ cspell-io: 6.28.0
+ cspell-lib: 6.28.0
+ fast-glob: 3.2.12
+ fast-json-stable-stringify: 2.1.0
+ file-entry-cache: 6.0.1
+ get-stdin: 8.0.0
+ imurmurhash: 0.1.4
+ semver: 7.3.8
+ strip-ansi: 6.0.1
+ vscode-uri: 3.0.7
+ transitivePeerDependencies:
+ - encoding
+ dev: true
+
/css-selector-tokenizer/0.8.0:
resolution: {integrity: sha512-Jd6Ig3/pe62/qe5SBPTN8h8LeUg/pT4lLgtavPf7updwwHpvFzxvOQBHYj2LZDMjUnBzgvIUSjRcf6oT5HzHFg==}
dependencies:
@@ -1354,6 +1761,13 @@ packages:
webidl-conversions: 7.0.0
dev: true
+ /dot-prop/5.3.0:
+ resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==}
+ engines: {node: '>=8'}
+ dependencies:
+ is-obj: 2.0.0
+ dev: true
+
/eastasianwidth/0.2.0:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
dev: true
@@ -1370,17 +1784,17 @@ packages:
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
dev: true
- /end-of-stream/1.4.4:
- resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==}
- dependencies:
- once: 1.4.0
- dev: true
-
/entities/4.4.0:
resolution: {integrity: sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==}
engines: {node: '>=0.12'}
dev: true
+ /error-ex/1.3.2:
+ resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
+ dependencies:
+ is-arrayish: 0.2.1
+ dev: true
+
/es-get-iterator/1.1.2:
resolution: {integrity: sha512-+DTO8GYwbMCwbywjimwZMHp8AuYXOS2JZFWoi2AlPOS3ebnII9w/NLpNZtA7A0YLaVDw+O7KFCeoIV7OPvM7hQ==}
dependencies:
@@ -1608,21 +2022,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
- /execa/4.1.0:
- resolution: {integrity: sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==}
- engines: {node: '>=10'}
- dependencies:
- cross-spawn: 7.0.3
- get-stream: 5.2.0
- human-signals: 1.1.1
- is-stream: 2.0.1
- merge-stream: 2.0.0
- npm-run-path: 4.0.1
- onetime: 5.1.2
- signal-exit: 3.0.7
- strip-final-newline: 2.0.0
- dev: true
-
/extend/3.0.2:
resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}
dev: true
@@ -1640,6 +2039,10 @@ packages:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
dev: true
+ /fast-equals/4.0.3:
+ resolution: {integrity: sha512-G3BSX9cfKttjr+2o1O22tYMLq0DPluZnYtq1rXumE1SpL/F/SLIfHx08WYQoWSIpeMYf8sRbJ8++71+v6Pnxfg==}
+ dev: true
+
/fast-glob/3.2.12:
resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==}
engines: {node: '>=8.6.0'}
@@ -1761,6 +2164,11 @@ packages:
resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
dev: true
+ /gensequence/5.0.2:
+ resolution: {integrity: sha512-JlKEZnFc6neaeSVlkzBGGgkIoIaSxMgvdamRoPN8r3ozm2r9dusqxeKqYQ7lhzmj2UhFQP8nkyfCaiLQxiLrDA==}
+ engines: {node: '>=14'}
+ dev: true
+
/get-caller-file/2.0.5:
resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
engines: {node: 6.* || 8.* || >= 10.*}
@@ -1778,11 +2186,9 @@ packages:
has-symbols: 1.0.3
dev: true
- /get-stream/5.2.0:
- resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==}
- engines: {node: '>=8'}
- dependencies:
- pump: 3.0.0
+ /get-stdin/8.0.0:
+ resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==}
+ engines: {node: '>=10'}
dev: true
/github-slugger/2.0.0:
@@ -1814,6 +2220,13 @@ packages:
path-is-absolute: 1.0.1
dev: true
+ /global-dirs/0.1.1:
+ resolution: {integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==}
+ engines: {node: '>=4'}
+ dependencies:
+ ini: 1.3.8
+ dev: true
+
/globals/13.19.0:
resolution: {integrity: sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==}
engines: {node: '>=8'}
@@ -1869,6 +2282,11 @@ packages:
engines: {node: '>=8'}
dev: true
+ /has-own-prop/2.0.0:
+ resolution: {integrity: sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==}
+ engines: {node: '>=8'}
+ dev: true
+
/has-property-descriptors/1.0.0:
resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==}
dependencies:
@@ -1945,17 +2363,6 @@ packages:
- supports-color
dev: true
- /human-signals/1.1.1:
- resolution: {integrity: sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==}
- engines: {node: '>=8.12.0'}
- dev: true
-
- /husky/8.0.3:
- resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==}
- engines: {node: '>=14'}
- hasBin: true
- dev: true
-
/iconv-lite/0.4.24:
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
engines: {node: '>=0.10.0'}
@@ -2003,6 +2410,10 @@ packages:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
dev: true
+ /ini/1.3.8:
+ resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}
+ dev: true
+
/inquirer/7.3.3:
resolution: {integrity: sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==}
engines: {node: '>=8.0.0'}
@@ -2030,6 +2441,10 @@ packages:
has-tostringtag: 1.0.0
dev: true
+ /is-arrayish/0.2.1:
+ resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}
+ dev: true
+
/is-arrayish/0.3.2:
resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==}
dev: true
@@ -2116,6 +2531,11 @@ packages:
engines: {node: '>=0.12.0'}
dev: true
+ /is-obj/2.0.0:
+ resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==}
+ engines: {node: '>=8'}
+ dev: true
+
/is-path-inside/3.0.3:
resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}
engines: {node: '>=8'}
@@ -2142,11 +2562,6 @@ packages:
resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==}
dev: true
- /is-stream/2.0.1:
- resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
- engines: {node: '>=8'}
- dev: true
-
/is-string/1.0.7:
resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}
engines: {node: '>= 0.4'}
@@ -2172,6 +2587,10 @@ packages:
has-tostringtag: 1.0.0
dev: true
+ /is-typedarray/1.0.0:
+ resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==}
+ dev: true
+
/is-weakmap/2.0.1:
resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==}
dev: true
@@ -2256,6 +2675,10 @@ packages:
pegjs: 0.10.0
dev: true
+ /json-parse-even-better-errors/2.3.1:
+ resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}
+ dev: true
+
/json-schema-traverse/0.4.1:
resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}
dev: true
@@ -2294,6 +2717,10 @@ packages:
engines: {node: '>=10'}
dev: true
+ /lines-and-columns/1.2.4:
+ resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
+ dev: true
+
/local-pkg/0.4.2:
resolution: {integrity: sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==}
engines: {node: '>=14'}
@@ -2360,6 +2787,13 @@ packages:
'@jridgewell/sourcemap-codec': 1.4.14
dev: true
+ /make-dir/3.1.0:
+ resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
+ engines: {node: '>=8'}
+ dependencies:
+ semver: 6.3.0
+ dev: true
+
/mdsvex/0.10.6_svelte@3.55.1:
resolution: {integrity: sha512-aGRDY0r5jx9+OOgFdyB9Xm3EBr9OUmcrTDPWLB7a7g8VPRxzPy4MOBmcVYgz7ErhAJ7bZ/coUoj6aHio3x/2mA==}
peerDependencies:
@@ -2372,10 +2806,6 @@ packages:
vfile-message: 2.0.4
dev: true
- /merge-stream/2.0.0:
- resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
- dev: true
-
/merge2/1.4.1:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
@@ -2457,17 +2887,6 @@ packages:
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
dev: true
- /multimatch/4.0.0:
- resolution: {integrity: sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==}
- engines: {node: '>=8'}
- dependencies:
- '@types/minimatch': 3.0.5
- array-differ: 3.0.0
- array-union: 2.1.0
- arrify: 2.0.1
- minimatch: 3.1.2
- dev: true
-
/mute-stream/0.0.8:
resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==}
dev: true
@@ -2505,6 +2924,18 @@ packages:
whatwg-url: 5.0.0
dev: true
+ /node-fetch/2.6.9:
+ resolution: {integrity: sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==}
+ engines: {node: 4.x || >=6.0.0}
+ peerDependencies:
+ encoding: ^0.1.0
+ peerDependenciesMeta:
+ encoding:
+ optional: true
+ dependencies:
+ whatwg-url: 5.0.0
+ dev: true
+
/node-releases/2.0.8:
resolution: {integrity: sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==}
dev: true
@@ -2519,13 +2950,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
- /npm-run-path/4.0.1:
- resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}
- engines: {node: '>=8'}
- dependencies:
- path-key: 3.1.1
- dev: true
-
/nwsapi/2.2.2:
resolution: {integrity: sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==}
dev: true
@@ -2651,6 +3075,23 @@ packages:
callsites: 3.1.0
dev: true
+ /parent-module/2.0.0:
+ resolution: {integrity: sha512-uo0Z9JJeWzv8BG+tRcapBKNJ0dro9cLyczGzulS6EfeyAdeC9sbojtW6XwvYxJkEne9En+J2XEl4zyglVeIwFg==}
+ engines: {node: '>=8'}
+ dependencies:
+ callsites: 3.1.0
+ dev: true
+
+ /parse-json/5.2.0:
+ resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}
+ engines: {node: '>=8'}
+ dependencies:
+ '@babel/code-frame': 7.18.6
+ error-ex: 1.3.2
+ json-parse-even-better-errors: 2.3.1
+ lines-and-columns: 1.2.4
+ dev: true
+
/parse5/7.1.2:
resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==}
dependencies:
@@ -2865,22 +3306,6 @@ packages:
react-is: 17.0.2
dev: true
- /pretty-quick/3.1.3_prettier@2.8.4:
- resolution: {integrity: sha512-kOCi2FJabvuh1as9enxYmrnBC6tVMoVOenMaBqRfsvBHB0cbpYHjdQEpSglpASDFEXVwplpcGR4CLEaisYAFcA==}
- engines: {node: '>=10.13'}
- hasBin: true
- peerDependencies:
- prettier: '>=2.0.0'
- dependencies:
- chalk: 3.0.0
- execa: 4.1.0
- find-up: 4.1.0
- ignore: 5.2.1
- mri: 1.2.0
- multimatch: 4.0.0
- prettier: 2.8.4
- dev: true
-
/prism-svelte/0.4.7:
resolution: {integrity: sha512-yABh19CYbM24V7aS7TuPYRNMqthxwbvx6FF/Rw920YbyBWO3tnyPIqRMgHuSVsLmuHkkBS1Akyof463FVdkeDQ==}
dev: true
@@ -2894,13 +3319,6 @@ packages:
resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==}
dev: true
- /pump/3.0.0:
- resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==}
- dependencies:
- end-of-stream: 1.4.4
- once: 1.4.0
- dev: true
-
/punycode/2.1.1:
resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==}
engines: {node: '>=6'}
@@ -2978,6 +3396,11 @@ packages:
unist-util-visit: 4.1.1
dev: true
+ /repeat-string/1.6.1:
+ resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==}
+ engines: {node: '>=0.10'}
+ dev: true
+
/require-directory/2.1.1:
resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
engines: {node: '>=0.10.0'}
@@ -2996,6 +3419,18 @@ packages:
engines: {node: '>=4'}
dev: true
+ /resolve-from/5.0.0:
+ resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
+ engines: {node: '>=8'}
+ dev: true
+
+ /resolve-global/1.0.0:
+ resolution: {integrity: sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==}
+ engines: {node: '>=8'}
+ dependencies:
+ global-dirs: 0.1.1
+ dev: true
+
/resolve/1.22.1:
resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==}
hasBin: true
@@ -3085,6 +3520,11 @@ packages:
xmlchars: 2.2.0
dev: true
+ /semver/6.3.0:
+ resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==}
+ hasBin: true
+ dev: true
+
/semver/7.3.8:
resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==}
engines: {node: '>=10'}
@@ -3222,11 +3662,6 @@ packages:
ansi-regex: 6.0.1
dev: true
- /strip-final-newline/2.0.0:
- resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}
- engines: {node: '>=6'}
- dev: true
-
/strip-indent/3.0.0:
resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}
engines: {node: '>=8'}
@@ -3529,6 +3964,12 @@ packages:
engines: {node: '>=10'}
dev: true
+ /typedarray-to-buffer/3.1.5:
+ resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==}
+ dependencies:
+ is-typedarray: 1.0.0
+ dev: true
+
/typescript/4.9.5:
resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==}
engines: {node: '>=4.2.0'}
@@ -3558,6 +3999,13 @@ packages:
vfile: 5.3.6
dev: true
+ /unique-string/2.0.0:
+ resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==}
+ engines: {node: '>=8'}
+ dependencies:
+ crypto-random-string: 2.0.0
+ dev: true
+
/unist-util-is/5.1.1:
resolution: {integrity: sha512-F5CZ68eYzuSvJjGhCLPL3cYx45IxkqXSetCcRgUXtbcm50X2L9oOWQlfUfDdAf+6Pd27YDblBfdtmsThXmwpbQ==}
dev: true
@@ -3801,6 +4249,14 @@ packages:
- terser
dev: true
+ /vscode-languageserver-textdocument/1.0.8:
+ resolution: {integrity: sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==}
+ dev: true
+
+ /vscode-uri/3.0.7:
+ resolution: {integrity: sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==}
+ dev: true
+
/w3c-xmlserializer/4.0.0:
resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==}
engines: {node: '>=14'}
@@ -3914,6 +4370,15 @@ packages:
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
dev: true
+ /write-file-atomic/3.0.3:
+ resolution: {integrity: sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==}
+ dependencies:
+ imurmurhash: 0.1.4
+ is-typedarray: 1.0.0
+ signal-exit: 3.0.7
+ typedarray-to-buffer: 3.1.5
+ dev: true
+
/ws/8.11.0:
resolution: {integrity: sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==}
engines: {node: '>=10.0.0'}
@@ -3927,6 +4392,11 @@ packages:
optional: true
dev: true
+ /xdg-basedir/4.0.0:
+ resolution: {integrity: sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==}
+ engines: {node: '>=8'}
+ dev: true
+
/xml-name-validator/4.0.0:
resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==}
engines: {node: '>=12'}
From 83e43e43cc0003f3faeff2c48778aa9d04b16624 Mon Sep 17 00:00:00 2001
From: spences10
Date: Tue, 7 Mar 2023 20:53:59 +0000
Subject: [PATCH 4/6] ci: :construction_worker: update CI to use cache
include spelling check
---
.github/workflows/unit-test.yml | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index 2f75fb90..b6229422 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -1,19 +1,33 @@
name: 'Tests: Unit'
on:
- - push
- - pull_request
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+ types: [opened, synchronize]
+
jobs:
- unit_tests:
+ unit-tests:
name: Run unit tests
runs-on: ubuntu-latest
+
steps:
+ - uses: actions/cache@v3
+ with:
+ path: ~/.pnpm-store
+ key:
+ ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
+ restore-keys: |
+ ${{ runner.os }}-pnpm-
+ - uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
with:
version: 6.0.2
- - uses: actions/checkout@v3
- uses: actions/setup-node@v3
- - name: Install pnpm
- run: pnpm i
+ with:
+ node-version: 18.x
+ - name: Install dependencies
+ run: pnpm install
- name: Build
run: pnpm run build
env:
@@ -21,3 +35,5 @@ jobs:
PUBLIC_FATHOM_URL: ${{ secrets.PUBLIC_FATHOM_URL }}
- name: Test
run: pnpm run test:ci
+ - name: Check spelling
+ run: pnpm run cspell
From 565b872210fb1061c43a91d041127c7d92449e13 Mon Sep 17 00:00:00 2001
From: spences10
Date: Tue, 7 Mar 2023 20:55:14 +0000
Subject: [PATCH 5/6] style: :art: update prettier config
run prettier
---
.eslintrc.cjs | 44 ++---
.github/ISSUE_TEMPLATE/bug_report.md | 23 ++-
.github/ISSUE_TEMPLATE/feature_request.md | 11 +-
.prettierignore | 13 ++
.prettierrc | 18 +-
.vscode/extensions.json | 14 +-
.vscode/settings.json | 38 +---
CONTRIBUTING.md | 2 +-
README.md | 10 +-
mdsvex.config.js | 28 +--
playwright.config.ts | 8 +-
postcss.config.cjs | 12 +-
renovate.json | 4 +-
src/app.css | 36 ++--
src/app.d.ts | 16 +-
src/app.html | 24 +--
src/lib/components/buzzsprout.svelte | 38 ++--
src/lib/components/buzzsprout.test.ts | 16 +-
src/lib/components/code-pen.svelte | 54 +++---
src/lib/components/code-pen.test.ts | 16 +-
src/lib/components/deezer.svelte | 32 ++--
src/lib/components/deezer.test.ts | 16 +-
src/lib/components/general-observer.svelte | 80 ++++-----
src/lib/components/general-observer.test.ts | 16 +-
src/lib/components/generic-embed.svelte | 14 +-
src/lib/components/generic-embed.test.ts | 16 +-
src/lib/components/gist.svelte | 34 ++--
src/lib/components/gist.test.ts | 16 +-
src/lib/components/guild.svelte | 60 +++----
src/lib/components/guild.test.ts | 16 +-
src/lib/components/relive.svelte | 32 ++--
src/lib/components/relive.test.ts | 16 +-
src/lib/components/simple-cast.svelte | 38 ++--
src/lib/components/simple-cast.test.ts | 16 +-
src/lib/components/slides.svelte | 62 +++----
src/lib/components/slides.test.ts | 16 +-
src/lib/components/sound-cloud.svelte | 28 +--
src/lib/components/sound-cloud.test.ts | 16 +-
src/lib/components/spotify.svelte | 28 +--
src/lib/components/spotify.test.ts | 16 +-
src/lib/components/stackblitz.svelte | 68 +++----
src/lib/components/stackblitz.test.ts | 16 +-
src/lib/components/toot.svelte | 40 +++--
src/lib/components/toot.test.ts | 10 +-
src/lib/components/tweet.svelte | 21 +--
src/lib/components/tweet.test.ts | 10 +-
src/lib/components/vimeo.svelte | 42 ++---
src/lib/components/vimeo.test.ts | 16 +-
src/lib/components/you-tube.svelte | 68 +++----
src/lib/components/you-tube.test.ts | 16 +-
src/lib/components/zencastr.svelte | 54 +++---
src/lib/components/zencastr.test.ts | 10 +-
src/lib/icons/git-hub.svelte | 26 +--
src/lib/icons/twitter.svelte | 18 +-
src/lib/icons/you-tube.svelte | 18 +-
src/lib/utils/index.ts | 16 +-
src/prism.css | 100 +++++------
src/routes/+layout.svelte | 190 ++++++++++----------
src/routes/+page.md | 34 ++--
svelte.config.js | 24 +--
tailwind.config.cjs | 16 +-
tests/test.ts | 4 +-
tsconfig.json | 30 ++--
vite.config.js | 26 +--
64 files changed, 931 insertions(+), 935 deletions(-)
create mode 100644 .prettierignore
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index ea55716b..b342af39 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -1,24 +1,24 @@
module.exports = {
- root: true,
- parser: '@typescript-eslint/parser',
- extends: [
- 'eslint:recommended',
- 'plugin:@typescript-eslint/recommended',
- 'prettier',
- ],
- plugins: ['svelte3', '@typescript-eslint'],
- ignorePatterns: ['*.cjs'],
- overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
- settings: {
- 'svelte3/typescript': () => require('typescript'),
- },
- parserOptions: {
- sourceType: 'module',
- ecmaVersion: 2020,
- },
- env: {
- browser: true,
- es2017: true,
- node: true,
- },
+ root: true,
+ parser: '@typescript-eslint/parser',
+ extends: [
+ 'eslint:recommended',
+ 'plugin:@typescript-eslint/recommended',
+ 'prettier',
+ ],
+ plugins: ['svelte3', '@typescript-eslint'],
+ ignorePatterns: ['*.cjs'],
+ overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
+ settings: {
+ 'svelte3/typescript': () => require('typescript'),
+ },
+ parserOptions: {
+ sourceType: 'module',
+ ecmaVersion: 2020,
+ },
+ env: {
+ browser: true,
+ es2017: true,
+ node: true,
+ },
}
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index dd84ea78..68611ca8 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -4,35 +4,42 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
-
---
**Describe the bug**
+
A clear and concise description of what the bug is.
**To Reproduce**
+
Steps to reproduce the behavior:
+
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
+
A clear and concise description of what you expected to happen.
**Screenshots**
+
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- - OS: [e.g. iOS]
- - Browser [e.g. chrome, safari]
- - Version [e.g. 22]
+
+- OS: [e.g. iOS]
+- Browser [e.g. chrome, safari]
+- Version [e.g. 22]
**Smartphone (please complete the following information):**
- - Device: [e.g. iPhone6]
- - OS: [e.g. iOS8.1]
- - Browser [e.g. stock browser, safari]
- - Version [e.g. 22]
+
+- Device: [e.g. iPhone6]
+- OS: [e.g. iOS8.1]
+- Browser [e.g. stock browser, safari]
+- Version [e.g. 22]
**Additional context**
+
Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index bbcbbe7d..1369182b 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -4,17 +4,22 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
-
---
**Is your feature request related to a problem? Please describe.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+A clear and concise description of what the problem is. Ex. I'm always
+frustrated when [...]
**Describe the solution you'd like**
+
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
+
+A clear and concise description of any alternative solutions or
+features you've considered.
**Additional context**
+
Add any other context or screenshots about the feature request here.
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 00000000..38972655
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,13 @@
+.DS_Store
+node_modules
+/build
+/.svelte-kit
+/package
+.env
+.env.*
+!.env.example
+
+# Ignore files for PNPM, NPM and YARN
+pnpm-lock.yaml
+package-lock.json
+yarn.lock
diff --git a/.prettierrc b/.prettierrc
index a61f53f2..959372db 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,8 +1,14 @@
{
- "singleQuote": true,
- "semi": false,
- "trailingComma": "es5",
- "printWidth": 70,
- "arrowParens": "avoid",
- "proseWrap": "always"
+ "useTabs": true,
+ "singleQuote": true,
+ "semi": false,
+ "trailingComma": "es5",
+ "printWidth": 70,
+ "arrowParens": "avoid",
+ "proseWrap": "always",
+ "plugins": ["prettier-plugin-svelte"],
+ "pluginSearchDirs": ["."],
+ "overrides": [
+ { "files": "*.svelte", "options": { "parser": "svelte" } }
+ ]
}
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index c0328744..f95fab72 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,9 +1,9 @@
{
- "recommendations": [
- "streetsidesoftware.code-spell-checker",
- "fivethree.vscode-svelte-snippets",
- "svelte.svelte-vscode",
- "ardenivanov.svelte-intellisense",
- "bradlc.vscode-tailwindcss"
- ]
+ "recommendations": [
+ "streetsidesoftware.code-spell-checker",
+ "fivethree.vscode-svelte-snippets",
+ "svelte.svelte-vscode",
+ "ardenivanov.svelte-intellisense",
+ "bradlc.vscode-tailwindcss"
+ ]
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 9897325a..4bce4669 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,34 +1,8 @@
{
- "css.validate": false,
- "editor.codeActionsOnSave": {
- "source.organizeImports": true
- },
- "git.enableSmartCommit": true,
- "git.postCommitCommand": "sync",
- "cSpell.words": [
- "adamwathan",
- "allowtransparency",
- "atrule",
- "Cahllagerfeld",
- "daisyui",
- "deezer",
- "Drasner",
- "Drasner's",
- "iframe",
- "Mandal",
- "mdsvex",
- "noopener",
- "pauliescanlon",
- "purrfect",
- "sdras",
- "Souvik",
- "spencee",
- "spences",
- "sveltejs",
- "sveltkit",
- "vieria",
- "vite",
- "zencastr",
- "Zrzbx"
- ]
+ "css.validate": false,
+ "editor.codeActionsOnSave": {
+ "source.organizeImports": true
+ },
+ "git.enableSmartCommit": true,
+ "git.postCommitCommand": "sync"
}
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 55954e6c..3dde8e0e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -17,4 +17,4 @@ export to `src/lib/index.ts`.
[discussions]:
- https://github.com/spences10/sveltekit-embed/discussions/new
+ https://github.com/spences10/sveltekit-embed/discussions/new
diff --git a/README.md b/README.md
index 4f1f381b..800e9fae 100644
--- a/README.md
+++ b/README.md
@@ -27,12 +27,12 @@ Use like a normal Svelte component:
```html
```
@@ -92,7 +92,7 @@ export { default as MyComponent } from './components/my-component.svelte'
Import the component locally into the `src/routes/+page.md` file:
```svelte
-import { MyComponent } from '$lib'
+import {MyComponent} from '$lib'
```
After importing the component, add it to the
@@ -154,7 +154,7 @@ the instructions are never there! 😅
npm login
# bump version with npm
npm version 0.0.8
-# package with sveltkit
+# package with sveltekit
pnpm run package
# publish from package directory
cd package
diff --git a/mdsvex.config.js b/mdsvex.config.js
index 7c45e358..36f8272a 100644
--- a/mdsvex.config.js
+++ b/mdsvex.config.js
@@ -3,22 +3,22 @@ import autolinkHeadings from 'rehype-autolink-headings'
import slugPlugin from 'rehype-slug'
const config = defineConfig({
- extensions: ['.svelte.md', '.md', '.svx'],
+ extensions: ['.svelte.md', '.md', '.svx'],
- smartypants: {
- dashes: 'oldschool',
- },
+ smartypants: {
+ dashes: 'oldschool',
+ },
- remarkPlugins: [],
- rehypePlugins: [
- slugPlugin,
- [
- autolinkHeadings,
- {
- behavior: 'wrap',
- },
- ],
- ],
+ remarkPlugins: [],
+ rehypePlugins: [
+ slugPlugin,
+ [
+ autolinkHeadings,
+ {
+ behavior: 'wrap',
+ },
+ ],
+ ],
})
export default config
diff --git a/playwright.config.ts b/playwright.config.ts
index 88f9c3b4..50b35f62 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -1,10 +1,10 @@
import type { PlaywrightTestConfig } from '@playwright/test'
const config: PlaywrightTestConfig = {
- webServer: {
- command: 'npm run build && npm run preview',
- port: 4173,
- },
+ webServer: {
+ command: 'npm run build && npm run preview',
+ port: 4173,
+ },
}
export default config
diff --git a/postcss.config.cjs b/postcss.config.cjs
index 08b72087..37944683 100644
--- a/postcss.config.cjs
+++ b/postcss.config.cjs
@@ -2,12 +2,12 @@ const tailwindcss = require('tailwindcss')
const autoprefixer = require('autoprefixer')
const config = {
- plugins: [
- //Some plugins, like tailwindcss/nesting, need to run before Tailwind,
- tailwindcss(),
- //But others, like autoprefixer, need to run after,
- autoprefixer,
- ],
+ plugins: [
+ //Some plugins, like tailwindcss/nesting, need to run before Tailwind,
+ tailwindcss(),
+ //But others, like autoprefixer, need to run after,
+ autoprefixer,
+ ],
}
module.exports = config
diff --git a/renovate.json b/renovate.json
index f45d8f11..989cc91e 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,5 +1,3 @@
{
- "extends": [
- "config:base"
- ]
+ "extends": ["config:base"]
}
diff --git a/src/app.css b/src/app.css
index 3e04a968..e32389ac 100644
--- a/src/app.css
+++ b/src/app.css
@@ -2,9 +2,9 @@
@tailwind base;
html {
- scroll-behavior: smooth;
- /* margin-left: calc(100vw - 100%); */
- word-break: break-word;
+ scroll-behavior: smooth;
+ /* margin-left: calc(100vw - 100%); */
+ word-break: break-word;
}
/*
@@ -12,41 +12,41 @@ html {
for the scroll bar colours
*/
:root {
- /* Default is Night */
- --primary: #38bdf8;
- --secondary: #818cf8;
+ /* Default is Night */
+ --primary: #38bdf8;
+ --secondary: #818cf8;
}
[data-theme='night'] {
- --primary: #38bdf8;
- --secondary: #818cf8;
+ --primary: #38bdf8;
+ --secondary: #818cf8;
}
[data-theme='winter'] {
- --primary: #047aff;
- --secondary: #463aa2;
+ --primary: #047aff;
+ --secondary: #463aa2;
}
/* Scrollbar styles */
/* Firefox */
* {
- scrollbar-width: thin;
- scrollbar-color: var(--secondary) var(--primary);
+ scrollbar-width: thin;
+ scrollbar-color: var(--secondary) var(--primary);
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
- width: 15px;
+ width: 15px;
}
*::-webkit-scrollbar-track {
- background: var(--primary);
- border-radius: 5px;
+ background: var(--primary);
+ border-radius: 5px;
}
*::-webkit-scrollbar-thumb {
- background-color: var(--secondary);
- border-radius: 14px;
- border: 3px solid var(--primary);
+ background-color: var(--secondary);
+ border-radius: 14px;
+ border: 3px solid var(--primary);
}
@tailwind components;
diff --git a/src/app.d.ts b/src/app.d.ts
index caf419f2..121720c5 100644
--- a/src/app.d.ts
+++ b/src/app.d.ts
@@ -3,16 +3,8 @@
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare namespace App {
- // interface Locals {}
- // interface Platform {}
- // interface Session {}
- // interface Stuff {}
-}
-
-// https://stackoverflow.com/questions/73025100/svelte-svelte-kit-type-custom-action-event-with-typescript
-// https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
-declare namespace svelteHTML {
- interface HTMLAttributes {
- 'on:enterViewport'?: (event: any) => any
- }
+ // interface Locals {}
+ // interface Platform {}
+ // interface Session {}
+ // interface Stuff {}
}
diff --git a/src/app.html b/src/app.html
index 81271dad..0a734cdc 100644
--- a/src/app.html
+++ b/src/app.html
@@ -1,15 +1,15 @@
-
-
-
-
- %sveltekit.head%
-
-
- %sveltekit.body%
-
+
+
+
+
+ %sveltekit.head%
+
+
+ %sveltekit.body%
+
diff --git a/src/lib/components/buzzsprout.svelte b/src/lib/components/buzzsprout.svelte
index f9a95308..b3274e25 100644
--- a/src/lib/components/buzzsprout.svelte
+++ b/src/lib/components/buzzsprout.svelte
@@ -1,35 +1,35 @@
-
-
+ />
+
diff --git a/src/lib/components/buzzsprout.test.ts b/src/lib/components/buzzsprout.test.ts
index 1e85ee5a..af4b2c8a 100644
--- a/src/lib/components/buzzsprout.test.ts
+++ b/src/lib/components/buzzsprout.test.ts
@@ -3,16 +3,16 @@ import { cleanup, render } from '@testing-library/svelte'
import { afterEach, describe, expect, it, vi } from 'vitest'
globalThis.IntersectionObserver = vi.fn(() => ({
- observe: () => null,
- unobserve: () => null,
- disconnect: () => null,
+ observe: () => null,
+ unobserve: () => null,
+ disconnect: () => null,
})) as unknown as typeof globalThis.IntersectionObserver
describe('Buzzsprout', () => {
- afterEach(() => cleanup())
+ afterEach(() => cleanup())
- it('mounts', async () => {
- const { container } = render(Buzzsprout)
- expect(container).toBeTruthy()
- })
+ it('mounts', async () => {
+ const { container } = render(Buzzsprout)
+ expect(container).toBeTruthy()
+ })
})
diff --git a/src/lib/components/code-pen.svelte b/src/lib/components/code-pen.svelte
index dc77becc..dfc9aa57 100644
--- a/src/lib/components/code-pen.svelte
+++ b/src/lib/components/code-pen.svelte
@@ -1,36 +1,36 @@
-
+ />
diff --git a/src/lib/components/code-pen.test.ts b/src/lib/components/code-pen.test.ts
index 5b4945d2..684ca95b 100644
--- a/src/lib/components/code-pen.test.ts
+++ b/src/lib/components/code-pen.test.ts
@@ -3,16 +3,16 @@ import { cleanup, render } from '@testing-library/svelte'
import { afterEach, describe, expect, it, vi } from 'vitest'
globalThis.IntersectionObserver = vi.fn(() => ({
- observe: () => null,
- unobserve: () => null,
- disconnect: () => null,
+ observe: () => null,
+ unobserve: () => null,
+ disconnect: () => null,
})) as unknown as typeof globalThis.IntersectionObserver
describe('CodePen', () => {
- afterEach(() => cleanup())
+ afterEach(() => cleanup())
- it('mounts', async () => {
- const { container } = render(CodePen)
- expect(container).toBeTruthy()
- })
+ it('mounts', async () => {
+ const { container } = render(CodePen)
+ expect(container).toBeTruthy()
+ })
})
diff --git a/src/lib/components/deezer.svelte b/src/lib/components/deezer.svelte
index 92808f27..352d06e0 100644
--- a/src/lib/components/deezer.svelte
+++ b/src/lib/components/deezer.svelte
@@ -1,22 +1,22 @@
-
+
diff --git a/src/lib/components/deezer.test.ts b/src/lib/components/deezer.test.ts
index a6cd63cc..31d61cd6 100644
--- a/src/lib/components/deezer.test.ts
+++ b/src/lib/components/deezer.test.ts
@@ -3,16 +3,16 @@ import { cleanup, render } from '@testing-library/svelte'
import { afterEach, describe, expect, it, vi } from 'vitest'
globalThis.IntersectionObserver = vi.fn(() => ({
- observe: () => null,
- unobserve: () => null,
- disconnect: () => null,
+ observe: () => null,
+ unobserve: () => null,
+ disconnect: () => null,
})) as unknown as typeof globalThis.IntersectionObserver
describe('Deezer', () => {
- afterEach(() => cleanup())
+ afterEach(() => cleanup())
- it('mounts', async () => {
- const { container } = render(Deezer)
- expect(container).toBeTruthy()
- })
+ it('mounts', async () => {
+ const { container } = render(Deezer)
+ expect(container).toBeTruthy()
+ })
})
diff --git a/src/lib/components/general-observer.svelte b/src/lib/components/general-observer.svelte
index eb686e81..700ad80f 100644
--- a/src/lib/components/general-observer.svelte
+++ b/src/lib/components/general-observer.svelte
@@ -3,52 +3,52 @@
https://svelte.dev/repl/4b8ccdf1d01545baa0ab6a858bc05abb?version=3.32.1
-->
- {#if loaded}
-
-
-
- {/if}
+ {#if loaded}
+
+
+
+ {/if}
diff --git a/src/lib/components/general-observer.test.ts b/src/lib/components/general-observer.test.ts
index 5fadcd87..5d676071 100644
--- a/src/lib/components/general-observer.test.ts
+++ b/src/lib/components/general-observer.test.ts
@@ -2,17 +2,11 @@ import GeneralObserver from '$lib/components/general-observer.svelte'
import { cleanup, render } from '@testing-library/svelte'
import { afterEach, describe, expect, it, vi } from 'vitest'
-globalThis.IntersectionObserver = vi.fn(() => ({
- observe: () => null,
- unobserve: () => null,
- disconnect: () => null,
-})) as unknown as typeof globalThis.IntersectionObserver
-
describe('General Observer', () => {
- afterEach(() => cleanup())
+ afterEach(() => cleanup())
- it('mounts', () => {
- const { container } = render(GeneralObserver)
- expect(container).toBeTruthy()
- })
+ it('mounts', () => {
+ const { container } = render(GeneralObserver)
+ expect(container).toBeTruthy()
+ })
})
diff --git a/src/lib/components/generic-embed.svelte b/src/lib/components/generic-embed.svelte
index 58acec47..85c40329 100644
--- a/src/lib/components/generic-embed.svelte
+++ b/src/lib/components/generic-embed.svelte
@@ -1,12 +1,12 @@
-
-
+
+
diff --git a/src/lib/components/generic-embed.test.ts b/src/lib/components/generic-embed.test.ts
index 801d0158..53a740da 100644
--- a/src/lib/components/generic-embed.test.ts
+++ b/src/lib/components/generic-embed.test.ts
@@ -3,16 +3,16 @@ import { cleanup, render } from '@testing-library/svelte'
import { afterEach, describe, expect, it, vi } from 'vitest'
globalThis.IntersectionObserver = vi.fn(() => ({
- observe: () => null,
- unobserve: () => null,
- disconnect: () => null,
+ observe: () => null,
+ unobserve: () => null,
+ disconnect: () => null,
})) as unknown as typeof globalThis.IntersectionObserver
describe('GenericEmbed', () => {
- afterEach(() => cleanup())
+ afterEach(() => cleanup())
- it('mounts', () => {
- const { container } = render(GenericEmbed)
- expect(container).toBeTruthy()
- })
+ it('mounts', () => {
+ const { container } = render(GenericEmbed)
+ expect(container).toBeTruthy()
+ })
})
diff --git a/src/lib/components/gist.svelte b/src/lib/components/gist.svelte
index c4168505..c0701074 100644
--- a/src/lib/components/gist.svelte
+++ b/src/lib/components/gist.svelte
@@ -1,28 +1,30 @@
-
-
+
+
\ No newline at end of file
+
diff --git a/src/lib/components/gist.test.ts b/src/lib/components/gist.test.ts
index 78acedc9..a4bf934a 100644
--- a/src/lib/components/gist.test.ts
+++ b/src/lib/components/gist.test.ts
@@ -3,16 +3,16 @@ import { cleanup, render } from '@testing-library/svelte'
import { afterEach, describe, expect, it, vi } from 'vitest'
globalThis.IntersectionObserver = vi.fn(() => ({
- observe: () => null,
- unobserve: () => null,
- disconnect: () => null,
+ observe: () => null,
+ unobserve: () => null,
+ disconnect: () => null,
})) as unknown as typeof globalThis.IntersectionObserver
describe('Gist', () => {
- afterEach(() => cleanup())
+ afterEach(() => cleanup())
- it('mounts', () => {
- const { container } = render(Gist)
- expect(container).toBeTruthy()
- })
+ it('mounts', () => {
+ const { container } = render(Gist)
+ expect(container).toBeTruthy()
+ })
})
diff --git a/src/lib/components/guild.svelte b/src/lib/components/guild.svelte
index d3f3925c..4007f01c 100644
--- a/src/lib/components/guild.svelte
+++ b/src/lib/components/guild.svelte
@@ -24,42 +24,42 @@
https://beta.guild.host/embeds/presentation/microfrontends-with-e6mtnf/item
-->
-
-
+ />
+
diff --git a/src/lib/components/guild.test.ts b/src/lib/components/guild.test.ts
index 894f01f7..b6c514a3 100644
--- a/src/lib/components/guild.test.ts
+++ b/src/lib/components/guild.test.ts
@@ -3,16 +3,16 @@ import { cleanup, render } from '@testing-library/svelte'
import { afterEach, describe, expect, it, vi } from 'vitest'
globalThis.IntersectionObserver = vi.fn(() => ({
- observe: () => null,
- unobserve: () => null,
- disconnect: () => null,
+ observe: () => null,
+ unobserve: () => null,
+ disconnect: () => null,
})) as unknown as typeof globalThis.IntersectionObserver
describe('Guild', () => {
- afterEach(() => cleanup())
+ afterEach(() => cleanup())
- it('mounts', () => {
- const { container } = render(Guild)
- expect(container).toBeTruthy()
- })
+ it('mounts', () => {
+ const { container } = render(Guild)
+ expect(container).toBeTruthy()
+ })
})
diff --git a/src/lib/components/relive.svelte b/src/lib/components/relive.svelte
index 0e8c61ef..2eac6bb6 100644
--- a/src/lib/components/relive.svelte
+++ b/src/lib/components/relive.svelte
@@ -1,34 +1,34 @@