diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b899450673b7..a71cdd31be80 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -129,15 +129,6 @@ jobs: with: tag: ${{ github.ref_name }} - - name: Upload documentation to database - if: ${{ github.ref_type == 'tag' && matrix.package == steps.extract-tag.outputs.package }} - env: - DATABASE_URL: ${{ secrets.DATABASE_URL }} - uses: ./packages/actions/src/uploadDocumentation - with: - package: ${{ steps.extract-tag.outputs.package }} - version: ${{ steps.extract-tag.outputs.semver }} - - name: Move docs to correct directory if: ${{ github.ref_type == 'tag' && matrix.package == steps.extract-tag.outputs.package }} env: @@ -153,12 +144,13 @@ jobs: fi - name: Upload documentation to database - if: ${{ github.ref_type == 'branch' }} + if: ${{ github.ref_type == 'tag' && matrix.package == steps.extract-tag.outputs.package }} env: DATABASE_URL: ${{ secrets.DATABASE_URL }} uses: ./packages/actions/src/uploadDocumentation with: - package: ${{ matrix.package }} + package: ${{ steps.extract-tag.outputs.package }} + version: ${{ steps.extract-tag.outputs.semver }} - name: Move docs to correct directory if: ${{ github.ref_type == 'branch' }} @@ -173,6 +165,14 @@ jobs: mv docs/${PACKAGE}/docs/docs.api.json out/${PACKAGE}/${GITHUB_REF_NAME}.api.json fi + - name: Upload documentation to database + if: ${{ github.ref_type == 'branch' }} + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} + uses: ./packages/actions/src/uploadDocumentation + with: + package: ${{ matrix.package }} + - name: Commit and push run: | cd out diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 192cc66f4ead..b1c467403d4f 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -9,6 +9,7 @@ "christian-kohler.npm-intellisense", "christian-kohler.path-intellisense", "antfu.unocss", + "astro-build.astro-vscode", "unifiedjs.vscode-mdx" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 53daf1e1ae9e..90194ce052cc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "eslint.workingDirectories": [{ "pattern": "./apps/*" }, { "pattern": "./packages/*" }], "eslint.validate": ["javascript", "javascriptreact", "astro", "typescript", "typescriptreact"], + "prettier.documentSelectors": ["**/*.astro"], "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.codeActionsOnSave": { diff --git a/.yarnrc.yml b/.yarnrc.yml index d7eb258e414d..77aea0556ff8 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -11,8 +11,3 @@ plugins: spec: 'https://github.com/Dcard/yarn-plugins/releases/latest/download/plugin-docker-build.js' yarnPath: .yarn/releases/yarn-3.5.0.cjs - -packageExtensions: - '@storybook/core-common@*': - dependencies: - '@storybook/react-vite': '7.0.4' diff --git a/apps/guide/.eslintrc.json b/apps/guide/.eslintrc.json index 612db2721195..d4eb55f4856e 100644 --- a/apps/guide/.eslintrc.json +++ b/apps/guide/.eslintrc.json @@ -1,5 +1,5 @@ { - "extends": ["../../.eslintrc.json", "neon/react", "neon/next", "neon/edge", "@unocss", "neon/prettier"], + "extends": ["../../.eslintrc.json", "neon/react", "neon/next", "neon/edge", "neon/prettier"], "settings": { "react": { "version": "detect" diff --git a/apps/guide/.prettierrc.cjs b/apps/guide/.prettierrc.cjs index f004026c7647..d23089afe731 100644 --- a/apps/guide/.prettierrc.cjs +++ b/apps/guide/.prettierrc.cjs @@ -1 +1,7 @@ -module.exports = require('../../.prettierrc.json'); +module.exports = { + ...require('../../.prettierrc.json'), + plugins: [ + 'prettier-plugin-tailwindcss', // MUST come last + ], + pluginSearchDirs: false, +}; diff --git a/apps/guide/contentlayer.config.ts b/apps/guide/contentlayer.config.ts index 0d3672c041f3..bd5f4afd5568 100644 --- a/apps/guide/contentlayer.config.ts +++ b/apps/guide/contentlayer.config.ts @@ -6,7 +6,6 @@ import { defineDocumentType, makeSource } from 'contentlayer/source-files'; // import rehypeAutolinkHeadings from 'rehype-autolink-headings'; import rehypeSlug from 'rehype-slug'; import remarkGfm from 'remark-gfm'; -import codeHikeThemeDarkPlus from './src/styles/code-hike-theme-dark-plus.json'; export const Content = defineDocumentType(() => ({ name: 'Content', @@ -17,21 +16,21 @@ export const Content = defineDocumentType(() => ({ type: 'string', required: true, }, - category: { + summary: { + type: 'string', + }, + image: { type: 'string', - required: true, }, }, computedFields: { slug: { type: 'string', - // eslint-disable-next-line unicorn/prefer-string-replace-all - resolve: (doc) => doc._raw.flattenedPath.replace(/\d+-/g, ''), + resolve: (doc) => doc._raw.flattenedPath, }, url: { type: 'string', - // eslint-disable-next-line unicorn/prefer-string-replace-all - resolve: (doc) => `/guide/${doc._raw.flattenedPath.replace(/\d+-/g, '')}`, + resolve: (post) => `/posts/${post._raw.flattenedPath}`, }, }, })); @@ -68,7 +67,7 @@ export default makeSource({ contentDirPath: 'src/content', documentTypes: [Content], mdx: { - remarkPlugins: [remarkGfm, [remarkCodeHike, { theme: codeHikeThemeDarkPlus, lineNumbers: true }]], + remarkPlugins: [remarkGfm, [remarkCodeHike, { theme: 'css-variables', lineNumbers: true }]], rehypePlugins: [ rehypeSlug, // [ diff --git a/apps/guide/next.config.js b/apps/guide/next.config.js index 4e1aae486d97..ce2baa0f908d 100644 --- a/apps/guide/next.config.js +++ b/apps/guide/next.config.js @@ -1,7 +1,7 @@ -/* eslint-disable @typescript-eslint/no-var-requires */ -/* eslint-disable @typescript-eslint/no-require-imports */ +// import { fileURLToPath } from 'node:url'; // import bundleAnalyzer from '@next/bundle-analyzer'; // import { withContentlayer } from 'next-contentlayer'; +const { fileURLToPath } = require('node:url'); const bundleAnalyzer = require('@next/bundle-analyzer'); const { withContentlayer } = require('next-contentlayer'); @@ -9,8 +9,8 @@ const withBundleAnalyzer = bundleAnalyzer({ enabled: process.env.ANALYZE === 'true', }); -module.exports = withBundleAnalyzer( - withContentlayer({ +module.exports = withContentlayer( + withBundleAnalyzer({ reactStrictMode: true, eslint: { ignoreDuringBuilds: true, diff --git a/apps/guide/package.json b/apps/guide/package.json index 3899fca448af..77848548a6c6 100644 --- a/apps/guide/package.json +++ b/apps/guide/package.json @@ -12,10 +12,9 @@ "build:css": "yarn generate:css", "build:analyze": "cross-env-shell ANALYZE=true yarn build:prod", "preview": "next start", - "dev": "concurrently 'yarn dev:contentlayer' 'yarn dev:css' 'yarn dev:next'", + "dev": "concurrently 'yarn dev:css' 'yarn dev:next'", "dev:next": "next dev", "dev:css": "yarn generate:css --watch", - "dev:contentlayer": "contentlayer dev", "generate:css": "unocss 'src/**/*.tsx' '../../packages/ui/src/lib/components/**/*.tsx' --out-file ./src/styles/unocss.css --config ../../unocss.config.ts", "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts,.tsx --format=pretty", "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.cjs,.ts,.tsx --fix --format=pretty", @@ -44,56 +43,57 @@ }, "homepage": "https://discord.js.org", "dependencies": { - "@code-hike/mdx": "^0.8.2", + "@code-hike/mdx": "^0.7.5-next.0", "@discordjs/ui": "workspace:^", "@react-icons/all-files": "^4.1.0", "@vercel/analytics": "^0.1.11", - "@vercel/edge-config": "^0.1.7", - "@vercel/og": "^0.5.2", - "ariakit": "^2.0.0-next.44", + "@vercel/edge-config": "^0.1.5", + "@vercel/og": "^0.5.0", + "ariakit": "^2.0.0-next.43", "cmdk": "^0.2.0", "contentlayer": "^0.3.1", - "next": "^13.3.0", + "next": "^13.2.4", "next-contentlayer": "^0.3.1", "next-themes": "^0.2.1", "react": "^18.2.0", "react-custom-scrollbars-2": "^4.5.0", "react-dom": "^18.2.0", + "react-icons": "^4.8.0", "react-use": "^17.4.0", "rehype-autolink-headings": "^6.1.1", - "rehype-ignore": "^1.0.5", + "rehype-ignore": "^1.0.4", "rehype-raw": "^6.1.1", "rehype-slug": "^5.1.0", "remark-gfm": "^3.0.1", - "server-only": "^0.0.1", "sharp": "^0.32.0" }, "devDependencies": { - "@next/bundle-analyzer": "^13.3.0", + "@next/bundle-analyzer": "^13.2.4", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "@types/node": "18.15.11", - "@types/react": "^18.0.35", + "@types/react": "^18.0.32", "@types/react-dom": "^18.0.11", - "@unocss/cli": "^0.51.4", - "@unocss/eslint-config": "^0.51.4", - "@unocss/reset": "^0.51.4", + "@unocss/cli": "^0.50.6", + "@unocss/reset": "^0.50.6", "@vitejs/plugin-react": "^3.1.0", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "concurrently": "^8.0.1", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", - "happy-dom": "^9.5.0", + "happy-dom": "^9.1.0", "hast-util-to-string": "^2.0.0", "hastscript": "^7.2.0", "html-escaper": "^3.0.3", "lighthouse": "^10.1.0", "prettier": "^2.8.7", - "typescript": "^5.0.4", - "unocss": "^0.51.4", - "vercel": "^28.18.5", + "prettier-plugin-astro": "^0.8.0", + "prettier-plugin-tailwindcss": "^0.2.6", + "typescript": "^5.0.3", + "unocss": "^0.50.6", + "vercel": "^28.18.3", "vitest": "^0.29.8" }, "engines": { diff --git a/apps/guide/public/assets/discordjs.png b/apps/guide/public/assets/discordjs.png deleted file mode 100644 index 9294057b7ad3..000000000000 Binary files a/apps/guide/public/assets/discordjs.png and /dev/null differ diff --git a/apps/guide/public/assets/old-guide.png b/apps/guide/public/assets/old-guide.png deleted file mode 100755 index b83e8beed8ce..000000000000 Binary files a/apps/guide/public/assets/old-guide.png and /dev/null differ diff --git a/apps/guide/src/app/error.tsx b/apps/guide/src/app/error.tsx index cf88c89518df..a2289cd8a495 100644 --- a/apps/guide/src/app/error.tsx +++ b/apps/guide/src/app/error.tsx @@ -4,7 +4,7 @@ export default function Error({ error }: { error: Error }) { console.error(error); return ( -
+

500

Error.

diff --git a/apps/guide/src/app/global-error.tsx b/apps/guide/src/app/global-error.tsx index 6a453879d9fd..0426525530ef 100644 --- a/apps/guide/src/app/global-error.tsx +++ b/apps/guide/src/app/global-error.tsx @@ -8,10 +8,10 @@ export default function GlobalError({ error }: { error: Error }) { return ( - + -
-
+
+

500

Error.

diff --git a/apps/guide/src/app/guide/[[...slug]]/page.tsx b/apps/guide/src/app/guide/[[...slug]]/page.tsx index 280bb632fad8..79c8cd547d1c 100644 --- a/apps/guide/src/app/guide/[[...slug]]/page.tsx +++ b/apps/guide/src/app/guide/[[...slug]]/page.tsx @@ -1,20 +1,20 @@ import { allContents } from 'contentlayer/generated'; -import { redirect } from 'next/navigation'; +import { notFound } from 'next/navigation'; import { Mdx } from '~/components/Mdx'; export async function generateStaticParams() { - return allContents.map((content) => ({ slug: [content.slug] })); + return allContents.map((content) => ({ slug: content.slug })); } export default function Page({ params }: { params: { slug: string[] } }) { const content = allContents.find((content) => content.slug === params.slug?.join('/')); if (!content) { - redirect('/guide/home/introduction'); + notFound(); } return ( -
+
); diff --git a/apps/guide/src/app/guide/layout.tsx b/apps/guide/src/app/guide/layout.tsx deleted file mode 100644 index ec6f48902a3a..000000000000 --- a/apps/guide/src/app/guide/layout.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import type { PropsWithChildren } from 'react'; -import { Providers } from './providers'; -import Footer from '~/components/Footer'; -import Header from '~/components/Header'; -import { Nav } from '~/components/Nav'; - -export default function Layout({ children }: PropsWithChildren) { - return ( - -
-
-
-
-
- -
- {children} -
-
-
-
-
- ); -} diff --git a/apps/guide/src/app/guide/providers.tsx b/apps/guide/src/app/guide/providers.tsx deleted file mode 100644 index d4cd9a314839..000000000000 --- a/apps/guide/src/app/guide/providers.tsx +++ /dev/null @@ -1,8 +0,0 @@ -'use client'; - -import type { PropsWithChildren } from 'react'; -import { NavProvider } from '~/contexts/nav'; - -export function Providers({ children }: PropsWithChildren) { - return {children}; -} diff --git a/apps/guide/src/app/layout.tsx b/apps/guide/src/app/layout.tsx index 89da47dd6394..f94a43fa5a8a 100644 --- a/apps/guide/src/app/layout.tsx +++ b/apps/guide/src/app/layout.tsx @@ -44,10 +44,7 @@ export const metadata: Metadata = { manifest: '/site.webmanifest', - themeColor: [ - { media: '(prefers-color-scheme: light)', color: '#f1f3f5' }, - { media: '(prefers-color-scheme: dark)', color: '#181818' }, - ], + themeColor: '#5865f2', colorScheme: 'light dark', appleWebApp: { @@ -77,7 +74,7 @@ export const metadata: Metadata = { export default function RootLayout({ children }: PropsWithChildren) { return ( - + {children} diff --git a/apps/guide/src/app/loading.tsx b/apps/guide/src/app/loading.tsx index 8852a454635f..c7af01dbe8b0 100644 --- a/apps/guide/src/app/loading.tsx +++ b/apps/guide/src/app/loading.tsx @@ -1,6 +1,6 @@ export default function Loading() { return ( -
+
+

404

Not found.

Take me back diff --git a/apps/guide/src/app/page.tsx b/apps/guide/src/app/page.tsx index 4ae27b01f664..8b84f3550133 100644 --- a/apps/guide/src/app/page.tsx +++ b/apps/guide/src/app/page.tsx @@ -3,10 +3,10 @@ import vercelLogo from '~/assets/powered-by-vercel.svg'; export default function Page() { return ( -
+
- {text} - - - ); +export function DocsLink() { + return null; } diff --git a/apps/guide/src/components/ExternalLink.tsx b/apps/guide/src/components/ExternalLink.tsx new file mode 100644 index 000000000000..8be7e899a752 --- /dev/null +++ b/apps/guide/src/components/ExternalLink.tsx @@ -0,0 +1,10 @@ +import { FiExternalLink } from 'react-icons/fi'; + +export function ExternalLink({ href, title }: { href: string; title: string }) { + return ( + +

{title}

+ +
+ ); +} diff --git a/apps/guide/src/components/Footer.tsx b/apps/guide/src/components/Footer.tsx deleted file mode 100644 index f2b3cec8e98c..000000000000 --- a/apps/guide/src/components/Footer.tsx +++ /dev/null @@ -1,79 +0,0 @@ -import Image from 'next/image'; -import vercelLogo from '~/assets/powered-by-vercel.svg'; - -export default function Footer() { - return ( - - ); -} diff --git a/apps/guide/src/components/Header.tsx b/apps/guide/src/components/Header.tsx deleted file mode 100644 index 310679123751..000000000000 --- a/apps/guide/src/components/Header.tsx +++ /dev/null @@ -1,91 +0,0 @@ -'use client'; - -import { VscGithubInverted } from '@react-icons/all-files/vsc/VscGithubInverted'; -import { VscMenu } from '@react-icons/all-files/vsc/VscMenu'; -import { Button } from 'ariakit/button'; -import dynamic from 'next/dynamic'; -import Link from 'next/link'; -import { usePathname } from 'next/navigation'; -import { Fragment, useMemo } from 'react'; -import { useNav } from '~/contexts/nav'; - -const ThemeSwitcher = dynamic(async () => import('./ThemeSwitcher')); - -export default function Header() { - const pathname = usePathname(); - const { setOpened } = useNav(); - - const pathElements = useMemo( - () => - pathname - .split('/') - .slice(1) - .map((path, idx, original) => ( - - {path} - - )), - [pathname], - ); - - const breadcrumbs = useMemo( - () => - pathElements.flatMap((el, idx, array) => { - if (idx === 0) { - return ( - -
/
- {el} -
/
-
- ); - } - - if (idx !== array.length - 1) { - return ( - - {el} -
/
-
- ); - } - - return {el}; - }), - [pathElements], - ); - - return ( -
-
-
- -
{breadcrumbs}
-
- - -
-
-
-
- ); -} diff --git a/apps/guide/src/components/Nav.tsx b/apps/guide/src/components/Nav.tsx deleted file mode 100644 index ff7e8695f990..000000000000 --- a/apps/guide/src/components/Nav.tsx +++ /dev/null @@ -1,30 +0,0 @@ -'use client'; - -import { Scrollbars } from 'react-custom-scrollbars-2'; -import { Sidebar } from './Sidebar'; -import { useNav } from '~/contexts/nav'; - -export function Nav() { - const { opened } = useNav(); - - return ( - - ); -} diff --git a/apps/guide/src/components/Navbar.tsx b/apps/guide/src/components/Navbar.tsx new file mode 100644 index 000000000000..e379ea0c30d7 --- /dev/null +++ b/apps/guide/src/components/Navbar.tsx @@ -0,0 +1,70 @@ +import { Button } from 'ariakit/button'; +import { useState, useEffect } from 'react'; +import { FiCommand } from 'react-icons/fi'; +import { VscColorMode, VscGithubInverted, VscMenu, VscSearch } from 'react-icons/vsc'; +import { useMedia } from 'react-use'; +import { Sidebar } from './Sidebar.jsx'; +import type { MDXPage } from './SidebarItems.jsx'; + +export function Navbar({ pages }: { pages?: MDXPage[] | undefined }) { + const matches = useMedia('(min-width: 992px)', false); + const [opened, setOpened] = useState(false); + + useEffect(() => { + if (matches) { + setOpened(false); + } + }, [matches]); + + return ( + <> +
+
+
+ +
Placeholder
+
+ + + +
+
+
+
+ + + ); +} diff --git a/apps/guide/src/components/Outline.tsx b/apps/guide/src/components/Outline.tsx index f6034a0829e0..f3425bfb868b 100644 --- a/apps/guide/src/components/Outline.tsx +++ b/apps/guide/src/components/Outline.tsx @@ -43,7 +43,7 @@ export function Outline({ headings }: { headings: MarkdownHeading[] }) {
} + renderThumbVertical={(props) =>
} renderTrackVertical={(props) => (
)} @@ -57,7 +57,7 @@ export function Outline({ headings }: { headings: MarkdownHeading[] }) {

{title}

diff --git a/apps/guide/src/components/Section.tsx b/apps/guide/src/components/Section.tsx deleted file mode 100644 index 075760697d90..000000000000 --- a/apps/guide/src/components/Section.tsx +++ /dev/null @@ -1,16 +0,0 @@ -'use client'; - -import { Section as DJSSection, type SectionOptions } from '@discordjs/ui'; -import type { PropsWithChildren } from 'react'; -import { useMedia } from 'react-use'; - -// This is wrapper around the Section component from @discordjs/ui, -// it simply automatically sets the dense prop to true if the screen -// width is less than 768px. This is done to separate client-side logic -// from server-side rendering. -export function Section(options: PropsWithChildren) { - const matches = useMedia('(max-width: 768px)', true); - const modifiedOptions = { ...options, dense: matches }; - - return ; -} diff --git a/apps/guide/src/components/Sidebar.tsx b/apps/guide/src/components/Sidebar.tsx index 5b5aca8ce938..e4ec9cd689ae 100644 --- a/apps/guide/src/components/Sidebar.tsx +++ b/apps/guide/src/components/Sidebar.tsx @@ -1,62 +1,24 @@ -'use client'; - -import { allContents } from 'contentlayer/generated'; -import Link from 'next/link'; -import { usePathname } from 'next/navigation'; -import { Section } from './Section'; -import { useNav } from '~/contexts/nav'; - -function transformItemsByCategory(allContents: any[]) { - return allContents.reduce((accumulator: any, content) => { - if (!accumulator[content.category]) { - accumulator[content.category] = []; - } - - accumulator[content.category].push(content); - return accumulator; - }, {}); -} - -const items = allContents.map((content) => ({ - title: content.title, - category: content.category, - slug: content.slug, - href: content.url, -})); - -const itemsByCategory = transformItemsByCategory(items); - -export function Sidebar() { - const pathname = usePathname(); - const { setOpened } = useNav(); +import { Scrollbars } from 'react-custom-scrollbars-2'; +import type { MDXPage } from './SidebarItems.jsx'; +export function Sidebar({ pages, opened }: { opened: boolean; pages?: MDXPage[] | undefined }) { return ( -
- {Object.keys(itemsByCategory).map((category, idx) => ( -
- {itemsByCategory[category].map((member, index) => ( - setOpened(false)} - title={member.title} - > -
- {member.title} -
- - ))} -
- ))} -
+ ); } diff --git a/apps/guide/src/components/ThemeSwitcher.tsx b/apps/guide/src/components/ThemeSwitcher.tsx deleted file mode 100644 index ef015eabcc7e..000000000000 --- a/apps/guide/src/components/ThemeSwitcher.tsx +++ /dev/null @@ -1,20 +0,0 @@ -'use client'; - -import { VscColorMode } from '@react-icons/all-files/vsc/VscColorMode'; -import { Button } from 'ariakit/button'; -import { useTheme } from 'next-themes'; - -export default function ThemeSwitcher() { - const { resolvedTheme, setTheme } = useTheme(); - const toggleTheme = () => setTheme(resolvedTheme === 'light' ? 'dark' : 'light'); - - return ( - - ); -} diff --git a/apps/guide/src/content/01-home/03-how-to-contribute.mdx b/apps/guide/src/content/01-home/03-how-to-contribute.mdx deleted file mode 100644 index 281a6e084ab4..000000000000 --- a/apps/guide/src/content/01-home/03-how-to-contribute.mdx +++ /dev/null @@ -1,177 +0,0 @@ ---- -title: How to contribute -category: Home ---- - -# How to contribute - -Since this guide is made specifically for the discord.js community, we want to be sure to provide the most relevant and up-to-date content. We will, of course, make additions to the current pages and add new ones as we see fit, but fulfilling requests is how we know we're providing content you all want the most. - -Requests may be as simple as "add an example to the [frequently asked questions](/popular-topics/faq.html) page", or as elaborate as "add a page regarding [sharding](/sharding/)". We'll do our best to fulfill all requests, as long as they're reasonable. - -To make a request, simply head over to [the repository's issue tracker](https://github.com/discordjs/discord.js/issues) and [create a new issue](https://github.com/discordjs/discord.js/issues/new)! Title it appropriately, and let us know exactly what you mean inside the issue description. Make sure that you've looked around the site before making a request; what you want to request might already exist! - - - Remember that you can always [fork the repository](https://github.com/discordjs/discord.js/fork) and [make a pull - request](https://github.com/discordjs/discord.js/pulls) if you want to add anything to the guide yourself! - - -We'll also get into some of the more advanced features this guide does below. - -## Components - -Throughout the guide, you'll see some components from the _`@discordjs/ui`_ package: - -- _`Alert`_ -- _`Section`_ -- _`DiscordMessages`_, _`DiscordMessage`_, and _`DiscordMessageEmbed`_ - -Check the source of this page to see them in action! - -### Alert - -This component may take a _`title`_ and a _`type`_ of _`'danger' | 'info' | 'success' | 'warning'`_. - -This uses _`title="Alert" type="info"`_: - - - Use these appropriately! - - -### Section - -
-Well, hello there! - -Whenever some text does not need to be in the main body, you can put it here. - -- _`title`_: The title that'll appear. -- _`padding`_: Adds padding. - - _`dense`_: When _`padding`_ is specified, _`dense`_ could make it appear, well, dense. -- _`defaultClosed`_ Whether the section is closed by default. This one was. -- _`background`_ Adds background to the content. -- _`gutter`_: This adds a very small appealing space between the expansion of the section and its content. - -
- -### DiscordMessages, DiscordMessage, and DiscordMessageEmbed - - - - A _`DiscordMessage`_ must be within _`DiscordMessages`_. - - - It's much better to see the source code of this page to replicate and learn! - - - This message depicts the use of embeds. - <> - - This is a description. You can put a description here. It must be descriptive! - - - Multiple embeds! - - - - - Interactions are supported! I definitely used a command. - - - -## Code blocks - -We use [Code Hike](https://codehike.org). Here are some example code blocks, which should be easy to grasp and learn upon reading the source code of this page: - - - -```ts -const HELLO = 'hello' as const; -console.log(HELLO); -// "ts" is the language of the code block. -``` - - - - - -```ts fileName -const FILE_NAME = 'fileName' as const; -if (FILE_NAME.includes(' ')) throw new Error('Spaces cannot be used in file names.'); -``` - -```ts anotherFileName -const FILE_NAME_2 = 'anotherFileName' as const; -// Putting code blocks together makes them appear in tabs, just like in your editor. -``` - ---- - -```ts requiredName -const FILE_NAME_3 = 'requiredName' as const; -if (!FILE_NAME) throw new Error('There must be a file name to use panels!'); -// The --- divider was used to create a panel. -``` - - - -For more information, be sure to check out the [documentation](https://codehike.org/docs/ch-code). diff --git a/apps/guide/src/content/03-additional-info/03-updating-to-v14.mdx b/apps/guide/src/content/03-additional-info/03-updating-to-v14.mdx deleted file mode 100644 index d1f27196daaa..000000000000 --- a/apps/guide/src/content/03-additional-info/03-updating-to-v14.mdx +++ /dev/null @@ -1,805 +0,0 @@ ---- -title: Updating to v14 -category: Additional info ---- - -# Updating to v14 - -## Before you start - -v14 requires Node 16.9 or higher to use, so make sure you're up to date. To check your Node.js version, use _`node --version`_ in your terminal or command prompt, and if it's not high enough, update it! There are many resources online to help you with this step based on your host system. - -### Various packages are now included in v14 - -If you previously had _`@discordjs/builders`_, _`@discordjs/formatters`_, _`@discordjs/rest`_, or _`discord-api-types`_ manually installed, it's _highly_ recommended that you uninstall the packages to avoid package version conflicts. - - - -```sh npm -npm uninstall @discordjs/builders @discordjs/formatters @discordjs/rest discord-api-types -``` - -```sh yarn -yarn remove @discordjs/builders @discordjs/formatters @discordjs/rest discord-api-types -``` - -```sh pnpm -pnpm remove @discordjs/builders @discordjs/formatters @discordjs/rest discord-api-types -``` - - - -## Breaking Changes - -### API version - -discord.js v14 makes the switch to Discord API v10! - -### Common Breakages - -### Enum Values - -Any areas that used to accept a _`string`_ or _`number`_ type for an enum parameter will now only accept a _`number`_. - -In addition, the old enums exported by discord.js v13 and lower are replaced with new enums from [discord-api-types](https://discord-api-types.dev/api/discord-api-types-v10). - -#### New enum differences - -Most of the difference between enums from discord.js and discord-api-types can be summarized as so: - -1. Enums are singular, i.e., _`ApplicationCommandOptionTypes`_ -> _`ApplicationCommandOptionType`_ -2. Enums that are prefixed with _`Message`_ no longer have the _`Message`_ prefix, i.e., _`MessageButtonStyles`_ -> _`ButtonStyle`_ -3. Enum values are _`PascalCase`_ rather than `SCREAMING_SNAKE_CASE`, i.e., `.CHAT_INPUT` -> `.ChatInput` - - - You might be inclined to a raw _`number`_ (most commonly referred to as [magic - numbers](https://en.wikipedia.org/wiki/Magic_number_(programming))) instead of enum values. This is highly - discouraged. Enums provide more readability and are more resistant to changes in the API. Magic numbers can obscure - the meaning of your code in many ways. Check out this [blog - post](https://blog.webdevsimplified.com/2020-02/magic-numbers) if you want more context on as to why they shouldn't be - used. - - -#### Common enum breakages - -Areas like _`Client`_ initialization, JSON slash commands and JSON message components will likely need to be modified to accommodate these changes: - -##### Common Client Initialization Changes - - - -```diff -- import { Client, Intents } = from 'discord.js'; -+ import { Client, GatewayIntentBits, Partials } = from 'discord.js'; - -- const client = new Client({ intents: [Intents.FLAGS.GUILDS], partials: ['CHANNEL'] }); -+ const client = new Client({ intents: [GatewayIntentBits.Guilds], partials: [Partials.Channel] }); -``` - - - -##### Common Application Command Data changes - - - -```diff -+ import { ApplicationCommandType, ApplicationCommandOptionType } = from 'discord.js'; - - const command = { - name: 'ping', -- type: 'CHAT_INPUT', -+ type: ApplicationCommandType.ChatInput, - options: [{ - name: 'option', - description: 'A sample option', -- type: 'STRING', -+ type: ApplicationCommandOptionType.String, - }], - }; -``` - - - -##### Common Button Data changes - - - -```diff -+ import { ButtonStyle } = from 'discord.js'; - - const button = { - label: 'test', -- style: 'PRIMARY', -+ style: ButtonStyle.Primary, - customId: '1234' - } -``` - - - -### Removal of method-based type guards - -#### Channels - -Some channel type guard methods that narrowed to one channel type have been removed. Instead compare the _`type`_ property against a [ChannelType](https://discord-api-types.dev/api/discord-api-types-v10/enum/ChannelType) enum member to narrow channels. - - - -```diff -- channel.isText(); -+ channel.type === ChannelType.GuildText; - -- channel.isVoice(); -+ channel.type === ChannelType.GuildVoice; - -- channel.isDM(); -+ channel.type === ChannelType.DM; -``` - - - -### Builders - -Builders are no longer returned by the API like they were previously. For example, you send the API an but you receive an of the same data. This may affect how your code handles received structures such as components. Refer to [message component changes section](#messagecomponent) for more details. - -Added and as top-level exports which disable or enable validation (enabled by default). - -### Consolidation of create & edit parameters - -Various _`create()`_ and _`edit()`_ methods on managers and objects have had their parameters consolidated. The changes are below: - -- now takes _`reason`_ in the _`data`_ parameter -- now takes _`reason`_ in the _`data`_ parameter -- now takes _`reason`_ in the _`data`_ parameter -- now takes _`reason`_ in the _`data`_ parameter -- now takes _`reason`_ in the _`data`_ parameter -- now takes _`reason`_ in the _`data`_ parameter -- now takes _`name`_ in the _`options`_ parameter -- (and other text-based channels) - now takes _`channel`_ and _`name`_ in the _`options`_ parameter -- now takes _`reason`_ as a part of _`data`_ -- now takes _`reason`_ as a part of _`data`_ -- now takes _`name`_ as a part of _`options`_ -- now takes _`reason`_ as a part of _`data`_ -- now takes _`reason`_ as a part of _`data`_ -- now takes _`reason`_ as a part of _`data`_ -- now takes _`reason`_ as a part of _`options`_ -- now takes _`reason`_ as a part of _`options`_ -- now takes _`attachment`_ and _`name`_ as - a part of _`options`_ -- now takes _`file`_, _`name`_, and _`tags`_ - as a part of _`options`_ - -### Activity - -The following properties have been removed as they are not supported by the API: - -- _`Activity#id`_ -- _`Activity#platform`_ -- _`Activity#sessionId`_ -- _`Activity#syncId`_ - -### Application - -_`Application#fetchAssets()`_ has been removed as it is no longer supported by the API. - -### BitField - -- BitField constituents now have a _`BitField`_ suffix to avoid naming conflicts with the enum names: - -```diff -- new Permissions(); -+ new PermissionsBitField(); - -- new MessageFlags(); -+ new MessageFlagsBitField(); - -- new ThreadMemberFlags(); -+ new ThreadMemberFlagsBitField(); - -- new UserFlags(); -+ new UserFlagsBitField(); - -- new SystemChannelFlags(); -+ new SystemChannelFlagsBitField(); - -- new ApplicationFlags(); -+ new ApplicationFlagsBitField(); - -- new Intents(); -+ new IntentsBitField(); - -- new ActivityFlags(); -+ new ActivityFlagsBitField(); -``` - -- _`#FLAGS`_ has been renamed to _`#Flags`_ - -### CDN - -The methods that return CDN URLs have changed. Here is an example on a `User`: - - - -```diff -- const url = user.displayAvatarURL({ dynamic: true, format: "png", size: 1024 }); -+ const url = user.displayAvatarURL({ extension: "png", size: 1024 }); -``` - - - -Dynamic URLs use and static URLs use . Since dynamic URLs are returned by default, this option has been renamed to _`forceStatic`_ which forces the return of a static URL. Additionally, _`format`_ has been renamed to _`extension`_. - -### CategoryChannel - - is no longer a _`Collection`_ of channels the category -contains. It is now a . This also means -_`CategoryChannel#createChannel()`_ has been moved to the . - -### Channel - -The following type guards have been removed: - -- _`Channel#isText()`_ -- _`Channel#isVoice()`_ -- _`Channel#isDirectory()`_ -- _`Channel#isDM()`_ -- _`Channel#isGroupDM()`_ -- _`Channel#isCategory()`_ -- _`Channel#isNews()`_ - -Refer to [this section](#channels) for more context. - -The base channel class is now . - -### Client - -The _`restWsBridgeTimeout`_ client option has been removed. - -### CommandInteractionOptionResolver - - no longer has a parameter -for _`required`_.[^1] - -### Constants - -- Many constant objects and key arrays are now top-level exports. For example: - - - -```diff -- import { Constants } = from 'discord.js'; -- const { Colors } = Constants; -+ import { Colors } = from 'discord.js'; -``` - - - -- The refactored constants structures have _`PascalCase`_ member names as opposed to _`SCREAMING_SNAKE_CASE`_ member names. - -- Many of the exported constants structures have been replaced and renamed: - - - -```diff -- Opcodes -+ GatewayOpcodes - -- WSEvents -+ GatewayDispatchEvents - -- WSCodes -+ GatewayCloseCodes - -- InviteScopes -+ OAuth2Scopes -``` - - - -### Events - -The _`message`_ and _`interaction`_ events are now removed. Use and instead. - -_`Client#applicationCommandCreate`_, _`Client#applicationCommandDelete`_, and _`Client#applicationCommandUpdate`_ have all been removed.[^2] - -The event now emits the users that were added, the users that were removed, and the thread respectively. - -### GuildBanManager - -Developers should utilise _`deleteMessageSeconds`_ instead of _`days`_ and _`deleteMessageDays`_: - - - -```diff -.create('123456789', { -- days: 3 -- deleteMessageDays: 3 -+ deleteMessageSeconds: 3 * 24 * 60 * 60 -}); -``` - - - -_`deleteMessageDays`_ and _`days`_ are both deprecated and will be removed in the future. - -### Guild - - and have been removed. Use and instead respectively. - - no longer has a default value of 25,000. - -_`Guild#me`_ has been moved to .[^3] - -### GuildAuditLogs & GuildAuditLogsEntry - -_`GuildAuditLogs.build()`_ has been removed as it has been deemed defunct. There is no alternative. - -The following properties & methods have been moved to the class: - -- `GuildAuditLogs.Targets` -- `GuildAuditLogs.actionType()` -- `GuildAuditLogs.targetType()` - -### GuildMember - - is now nullable to account for partial guild members.[^4] - -### IntegrationApplication - -_`IntegrationApplication#summary`_ has been removed as it is no longer supported by the API. - -### Interaction - -Whenever an interaction is replied to and one fetches the reply, it could possibly give an [APIMessage](https://discord-api-types.dev/api/discord-api-types-v10/interface/APIMessage) if the guild was not cached. However, interaction replies now always return a discord.js object with _`fetchReply`_ as _`true`_. - -The base interaction class is now . - -### Invite - - is now a getter and resolves structures from the cache. - -### MessageAttachment - -- _`MessageAttachment`_ has now been renamed to . - - - -```diff -- new MessageAttachment(buffer, 'image.png'); -+ new AttachmentBuilder(buffer, { name: 'image.png' }); -``` - - - -### MessageComponent - -- MessageComponents have been renamed as well. They no longer have the _`Message`_ prefix, and now have a _`Builder`_ suffix: - - - -```diff -- const button = new MessageButton(); -+ const button = new ButtonBuilder(); - -- const selectMenu = new MessageSelectMenu(); -+ const selectMenu = new StringSelectMenuBuilder(); - -- const actionRow = new MessageActionRow(); -+ const actionRow = new ActionRowBuilder(); - -- const textInput = new TextInputComponent(); -+ const textInput = new TextInputBuilder(); -``` - - - -- Components received from the API are no longer directly mutable. If you wish to mutate a component from the API, use _`ComponentBuilder#from()`_. For example, if you want to make a button mutable: - - - -```diff -- const editedButton = receivedButton.setDisabled(true); - -+ import { ButtonBuilder } = from 'discord.js'; -+ const editedButton = ButtonBuilder.from(receivedButton).setDisabled(true); -``` - - - -### MessageManager - -The second paramter of has been removed. The the second parameter once was is now merged into the first parameter. - - - -```diff -- messageManager.fetch('1234567890', { cache: false, force: true }); -+ messageManager.fetch({ message: '1234567890', cache: false, force: true }); -``` - - - -### MessageSelectMenu - -- _`MessageSelectMenu`_ has been renamed to . - -- _`StringSelectMenuBuilder#addOption()`_ has been removed. Use instead. - -### MessageEmbed - -- _`MessageEmbed`_ has now been renamed to . - -- now accepts a sole object. - -- now accepts a sole object. - -- _`EmbedBuilder#addField()`_ has been removed. Use instead. - - - -```diff -- new MessageEmbed().addField('Inline field title', 'Some value here', true); - -+ new EmbedBuilder().addFields([ -+ { name: 'one', value: 'one', inline: true }, -+ { name: 'two', value: 'two', inline: true }, -+]); -``` - - - -### Modal - -- _`Modal`_ has been renamed . - - - -```diff -- const modal = new Modal(); -+ const modal = new ModalBuilder(); -``` - - - -### PartialTypes - -The _`PartialTypes`_ string array has been removed. Use the enum instead. - -In addition to this, there is now a new partial: _`Partials.ThreadMember`_. - -### Permissions - -The thread permissions _`USE_PUBLIC_THREADS`_ and _`USE_PRIVATE_THREADS`_ have been removed as they are deprecated in the API. Use _`CREATE_PUBLIC_THREADS`_ and _`CREATE_PRIVATE_THREADS`_ respectively. - -### PermissionOverwritesManager - -Overwrites are now keyed by the _`PascalCase`_ permission key rather than the _`SCREAMING_SNAKE_CASE`_ permission key. - -### REST Events - -#### apiRequest - -This REST event has been removed as discord.js now uses [Undici](https://github.com/nodejs/undici) as the underlying request handler. You must now use a [Diagnostics Channel](https://undici.nodejs.org/#/docs/api/DiagnosticsChannel). Here is a simple example: - - - -```ts TypeScript -import diagnosticsChannel from 'node:diagnostics_channel'; -import { type DiagnosticsChannel } from 'undici'; - -diagnosticsChannel.channel('undici:request:create').subscribe((data) => { - const { request } = data as DiagnosticsChannel.RequestCreateMessage; - console.log(request.method); // Log the method - console.log(request.path); // Log the path - console.log(request.headers); // Log the headers - console.log(request); // Or just log everything! -}); -``` - -```js JavaScript -import diagnosticsChannel from 'node:diagnostics_channel'; - -diagnosticsChannel.channel('undici:request:create').subscribe(({ request }) => { - const { request } = data; - console.log(request.method); // Log the method - console.log(request.path); // Log the path - console.log(request.headers); // Log the headers - console.log(request); // Or just log everything! -}); -``` - - - -You can find further examples at the [Undici Diagnostics Channel documentation](https://undici.nodejs.org/#/docs/api/DiagnosticsChannel). - -#### apiResponse - -This REST event has been renamed to _`response`_ and moved to : - - - -```diff -- client.on('apiResponse', ...); -+ client.rest.on('response', ...); -``` - - - -#### invalidRequestWarning - -This REST event has been moved to : - - - -```diff -- client.on('invalidRequestWarning', ...); -+ client.rest.on('invalidRequestWarning', ...); -``` - - - -#### rateLimit - -This REST event has been renamed to _`rateLimited`_ and moved to : - - - -```diff -- client.on('rateLimit', ...); -+ client.rest.on('rateLimited', ...); -``` - - - -### RoleManager - -_`Role.comparePositions()`_ has been removed. Use instead. - -### Sticker - - is now a nullable string (_`string | null`_). Previously, it was -a nullable array of strings (_`string[] | null`_).[^5] - -### ThreadChannel - -The _`MAX`_ helper used in _`ThreadAutoArchiveDuration`_ has been removed. Discord has since allowed any guild to use any auto archive time which makes this helper redundant. - -### ThreadMemberManager - -The second parameter of has been removed. The the second parameter once was is now merged into the first parameter. In addition, the boolean helper to specify _`cache`_ has been removed. - -Usage is now as follows: - - - -```diff - // The second parameter is merged into the first parameter. -- threadMemberManager.fetch('1234567890', { cache: false, force: true }); -+ threadMemberManager.fetch({ member: '1234567890', cache: false, force: true }); - - // The lone boolean has been removed. One must be explicit here. -- threadMemberManager.fetch(false); -+ threadMemberManager.fetch({ cache: false }); -``` - - - -### Util - -_`Util.removeMentions()`_ has been removed. To control mentions, you should use _`allowedMentions`_ on instead. - -_`Util.splitMessage()`_ has been removed. This utility method is something the developer themselves should do. - -_`Util.resolveAutoArchiveMaxLimit()`_ has been removed. Discord has since allowed any guild to use any auto archive time which makes this method redundant. - -Other functions in _`Util`_ have been moved to top-level exports so you can directly import them from discord.js. - - - -```diff -- import { Util } from 'discord.js'; -- Util.escapeMarkdown(message); - -+ import { escapeMarkdown } from 'discord.js'; -+ escapeMarkdown(message); -``` - - - -### .deleted fields have been removed - -You can no longer use the _`deleted`_ property to check if a structure was deleted.[^6] - -### VoiceChannel - -_`VoiceChannel#editable`_ has been removed. You should use instead. - -### VoiceRegion - -_`VoiceRegion#vip`_ has been removed as it is no longer part of the API. - -### Webhook - -The second parameter of no longer allows a boolean to be passed. The _`cache`_ option in should be used instead. - -## Features - -### ApplicationCommand - -NFSW commands are supported. - -### AutocompleteInteraction - - has been added which is the id of the -guild the invoked application command is registered to. - -### BaseChannel - -Added support for . - -Store channels have been removed as they are no longer part of the API. - - has been added which is a link to a channel, just like in the -client. - -Additionally, new typeguards have been added: - -- -- -- - -### BaseInteraction - -Added to check whether a given interaction can be replied to. - -### ClientApplication - -Added support for role connection metadata. - -### Collection - -- Added and . -- Added which indicates an immutable _`Collection`_. - -### Collector - -A new event has been added which is emitted whenever an element is not collected by the collector. - -Component collector options now use the [ComponentType](https://discord-api-types.dev/api/discord-api-types-v10/enum/ComponentType) enum values: - - - -```diff -+ import { ComponentType } from 'discord.js'; - - const collector = interaction.channel.createMessageComponentCollector({ - filter, -- componentType: 'BUTTON', -+ componentType: ComponentType.Button, - time: 20000 - }); -``` - - - -### CommandInteraction - - has been added which is the id of the guild -the invoked application command is registered to. - -### CommandInteractionOptionResolver - - now has a third parameter -which narrows the channel type. - -### Events - -Added support for event. - -### ForumChannel - -Added support for forum channels. - -Added support for . - -### Guild - -Added support for which sets the guild's MFA level. - -Added support for . which indicates the maximum number of video channel users. - -Added support for . which indicates the maximum number of video channel users for stage channels. - -Added support for . which disables the guild's invites. - -Added support for the _`after`_ parameter in . - -### GuildChannelManager - -_`videoQualityMode`_ may be used whilst creating a channel to initially set the camera video quality mode. - -### GuildEmojiManager - -Added and for managing existing guild emojis. - -### GuildForumThreadManager - -Added as manager for threads in forum channels. - -### GuildMember - -Added support for . - -### GuildMembersChunk - -This object now supports the _`notFound`_ property. - -### GuildMemberManager - -Added to fetch the client user in the guild. - -Added and . These methods allow a single addition or removal of a role respectively to a guild member, even if uncached. - -### GuildTextThreadManager - -Added as manager for threads in text channels and announcement channels. - -### Message - - has been added as an approximate position in a thread. - -Added support for role subscription data. - -### MessageReaction - -Added to make the client user react with the reaction the class belongs to. - -### Role - -Added support for role subscriptions. - -### StageChannel - -Stage channels now allow messages to be sent in them, much like voice channels. - -### Sticker - -Added support for GIF stickers. - -### ThreadMemberManager - -The new _`withMember`_ options returns the associated guild member with the thread member. - -When fetching multiple thread members alongside _`withMember`_, paginated results will be returned. The _`after`_ and _`limit`_ option are supported in this scenario. - -### Webhook - -Added . - -Added the _`threadName`_ property in which allows a webhook to create a post in a forum channel. - -[^1]: https://github.com/discordjs/discord.js/pull/7188 -[^2]: https://github.com/discordjs/discord.js/pull/6492 -[^3]: https://github.com/discordjs/discord.js/pull/7669 -[^4]: https://github.com/discordjs/discord.js/issues/6546 -[^5]: https://github.com/discordjs/discord.js/pull/8010 -[^6]: https://github.com/discordjs/discord.js/issues/7091 diff --git a/apps/guide/src/content/03-additional-info/01-async-await.mdx b/apps/guide/src/content/additional-info/async-await.mdx similarity index 100% rename from apps/guide/src/content/03-additional-info/01-async-await.mdx rename to apps/guide/src/content/additional-info/async-await.mdx diff --git a/apps/guide/src/content/03-additional-info/02-collections.mdx b/apps/guide/src/content/additional-info/collections.mdx similarity index 100% rename from apps/guide/src/content/03-additional-info/02-collections.mdx rename to apps/guide/src/content/additional-info/collections.mdx diff --git a/apps/guide/src/content/02-creating-your-bot/02-creating-commands.mdx b/apps/guide/src/content/creating-your-bot/creating-commands.mdx similarity index 88% rename from apps/guide/src/content/02-creating-your-bot/02-creating-commands.mdx rename to apps/guide/src/content/creating-your-bot/creating-commands.mdx index 67a3ac70e700..a4099ffda611 100644 --- a/apps/guide/src/content/02-creating-your-bot/02-creating-commands.mdx +++ b/apps/guide/src/content/creating-your-bot/creating-commands.mdx @@ -97,9 +97,9 @@ Once you fill in these values, run _`node deploy-commands.js`_ in your project d ## Replying to commands -Once you've registered your commands, you can listen for interactions via in your _`index.js`_ file. +Once you've registered your commands, you can listen for interactions via in your _`index.js`_ file. -You should first check if an interaction is a chat input command via _`.isChatInputCommand()`_, and then check the _`.commandName`_ property to know which command it is. You can respond to interactions with _`.reply()`_. +You should first check if an interaction is a chat input command via _`.isChatInputCommand()`_, and then check the _`.commandName`_ property to know which command it is. You can respond to interactions with _`.reply()`_. @@ -126,7 +126,7 @@ client.login(token); ### Server info command -Note that servers are referred to as "guilds" in the Discord API and discord.js library. _`interaction.guild`_ refers to the guild the interaction was sent in (a instance), which exposes properties such as _`.name`_ or _`.memberCount`_. +Note that servers are referred to as "guilds" in the Discord API and discord.js library. _`interaction.guild`_ refers to the guild the interaction was sent in (a instance), which exposes properties such as _`.name`_ or _`.memberCount`_. @@ -171,13 +171,12 @@ client.on('interactionCreate', async (interaction) => { You could also display the date the server was created, or the server's verification level. You would do those in the same manner – use _`interaction.guild.createdAt`_ or _`interaction.guild.verificationLevel`_, respectively. - Refer to the documentation for a list of all the available properties and - methods! + Refer to the documentation for a list of all the available properties and methods! ### User info command -A "user" refers to a Discord user. _`interaction.user`_ refers to the user the interaction was sent by (a instance), which exposes properties such as _`.tag`_ or _`.id`_. +A "user" refers to a Discord user. _`interaction.user`_ refers to the user the interaction was sent by (a instance), which exposes properties such as _`.tag`_ or _`.id`_. @@ -220,8 +219,7 @@ client.on('interactionCreate', async (interaction) => { - Refer to the documentation for a list of all the available properties and - methods! + Refer to the documentation for a list of all the available properties and methods! And there you have it! diff --git a/apps/guide/src/content/02-creating-your-bot/01-initial-files.mdx b/apps/guide/src/content/creating-your-bot/index.mdx similarity index 62% rename from apps/guide/src/content/02-creating-your-bot/01-initial-files.mdx rename to apps/guide/src/content/creating-your-bot/index.mdx index 67d9bcf47523..be7275a5ae4a 100644 --- a/apps/guide/src/content/02-creating-your-bot/01-initial-files.mdx +++ b/apps/guide/src/content/creating-your-bot/index.mdx @@ -5,38 +5,17 @@ category: Creating your bot # Initial files -Once you [add your bot to a server](preparations/adding-your-bot-to-servers.md), the next step is to start coding and get it online! Let's start by initializing your package.json, creating a config file for your client token, and a main file for your bot application. +Once you [add your bot to a server](/preparations/adding-your-bot-to-servers.md), the next step is to start coding and get it online! Let's start by creating a config file for your client token and a main file for your bot application. -## Creating package.json +## Creating configuration files -This command creates a _`package.json`_ file for you, which will keep track of the dependencies your project uses, as well as other information. - - - -```sh npm -npm init -y; npm pkg set type="module" -``` - -```sh yarn -yarn add dotenv -# You must go into your package.json file and add "type": "module" -``` - -```sh pnpm -pnpm init; pnpm pkg set type="module" -``` - - - -Once you're done with that, onto the next step! - -## Using config.json - -As explained in the ["What is a token, anyway?"](preparations/setting-up-a-bot-application.md#what-is-a-token-anyway) section, your token is essentially your bot's password, and you should protect it as best as possible. This can be done through a _`config.json`_ file or by using environment variables. +As explained in the ["What is a token, anyway?"](/preparations/setting-up-a-bot-application.md#what-is-a-token-anyway) section, your token is essentially your bot's password, and you should protect it as best as possible. This can be done through a _`config.json`_ file or by using environment variables. Open your application in the [Discord Developer Portal](https://discord.com/developers/applications) and go to the "Bot" page to copy your token. -Storing data in a _`config.json`_ file is a common way of keeping your sensitive values safe. Create a _`config.json`_ file in your project directory and paste in your token. +### Using config.json + +Storing data in a _`config.json`_ file is a common way of keeping your sensitive values safe. Create a _`config.json`_ file in your project directory and paste in your token. You can access your token inside other files by using _`require()`_. @@ -46,16 +25,12 @@ Storing data in a _`config.json`_ file is a common way of keeping your sensitive } ``` - - -You can then access your token inside other files by using _`import`_. - - +--- -```ts -import config from './config.json' assert { type: 'json' }; +```js Usage +const { token } = require('./config.json'); -console.log(config.token); +console.log(token); ``` @@ -93,9 +68,7 @@ console.log(process.env.DISCORD_TOKEN); Another common approach is storing these values in a _`.env`_ file. This spares you from always copying your token into the command line. Each line in a _`.env`_ file should hold a _`KEY=value`_ pair. -You can use the [_`dotenv`_ package](https://www.npmjs.com/package/dotenv) for this. Once installed, preload the package to load your _`.env`_ file and attach the variables to _`process.env`_: - -##### Installing dotenv +You can use the [_`dotenv`_ package](https://www.npmjs.com/package/dotenv) for this. Once installed, require and use the package to load your _`.env`_ file and attach the variables to _`process.env`_: @@ -111,11 +84,7 @@ yarn add dotenv pnpm add dotenv ``` - - -##### Defining your variables - - +--- ```text .env A=123 @@ -123,35 +92,25 @@ B=456 DISCORD_TOKEN=your-token-goes-here ``` - - - - If you're using Git, you should not commit this file and should [ignore it via - _`.gitignore`_](/creating-your-bot/#git-and-gitignore). - - -##### Utilizing your variables - - - -```sh node -node --require dotenv/config yourFile.js -``` +--- -```sh yarn -yarn node --require dotenv/config yourFile.js -``` +```js Usage +const dotenv = require('dotenv'); ---- +dotenv.config(); -```ts yourFile -console.log(process.env.A); // 123 -console.log(process.env.B); // 456 -console.log(process.env.DISCORD_TOKEN); // your-token-goes-here +console.log(process.env.A); +console.log(process.env.B); +console.log(process.env.DISCORD_TOKEN); ``` + + If you're using Git, you should not commit this file and should [ignore it via + _`.gitignore`_](/creating-your-bot/#git-and-gitignore). + +
While we generally do not recommend using online editors as hosting solutions, but rather invest in a proper virtual private server, these services do offer ways to keep your credentials safe as well! Please see the respective service's documentation and help articles for more information on how to keep sensitive values safe: @@ -186,46 +145,44 @@ config.json ## Creating the main file -Open your code editor and create a new file. We suggest that you save the file as _`index.ts`_, or _`index.js`_, depending on whether you use TypeScript. You may name it whatever you wish, however. +Open your code editor and create a new file. We suggest that you save the file as _`index.js`_, but you may name it whatever you wish. Here's the base code to get you started: -```ts index.ts -// Import the necessary structures. -import { Client, Events, GatewayIntentBits } from 'discord.js'; -import config from './config.json'; +```js +// Require the necessary discord.js classes +const { Client, GatewayIntentBits } = require('discord.js'); +const { token } = require('./config.json'); -// Create a new client instance. -const client = new Client({ intents: GatewayIntentBits.Guilds }); +// Create a new client instance +const client = new Client({ intents: [GatewayIntentBits.Guilds] }); -// When the client is ready, run this code (only once). -client.once(Events.ClientReady, () => { +// When the client is ready, run this code (only once) +client.once('ready', () => { console.log('Ready!'); }); -// Log in to Discord with your client's token. -client.login(config.token); +// Login to Discord with your client's token +client.login(token); ``` This is how you create a client instance for your Discord bot and login to Discord. The _`GatewayIntentBits.Guilds`_ intents option is necessary for your client to work properly, as it ensures that the caches for guilds, channels and roles are populated and available for internal use. -Intents also define which events Discord should send to your bot, and you may wish to enable more than just the minimum. You can read more about the other intents on the [Intents topic](popular-topics/intents). +Intents also define which events Discord should send to your bot, and you may wish to enable more than just the minimum. You can read more about the other intents on the [Intents topic](/popular-topics/intents). -Open your terminal, compile your code (JavaScript users do not do this), and run _`node index.js`_ to start the process. If you see "Ready!" after a few seconds, you're good to go! +Open your terminal and run _`node index.js`_ to start the process. If you see "Ready!" after a few seconds, you're good to go! You can open your _`package.json`_ file and edit the _`"main": "index.js"`_ field to point to your main file. You can - then run _`node .`_ in your terminal to start the process! After closing the process with ⌃ Control{' '} - C, you can press on your keyboard to bring up the latest commands you've run. Pressing{' '} - then ⏎ Enter after closing the process is a quick way to start it up again. + then run _`node .`_ in your terminal to start the process! After closing the process with _`Ctrl + C`_, you can press + the up arrow on your keyboard to bring up the latest commands you've run. Pressing up and then enter after closing the + process is a quick way to start it up again. ## Resulting code - -Code is indeed a result of code. That being said, it's being worked on. With code. Definitely. diff --git a/apps/guide/src/content/01-home/01-introduction.mdx b/apps/guide/src/content/index.mdx similarity index 100% rename from apps/guide/src/content/01-home/01-introduction.mdx rename to apps/guide/src/content/index.mdx diff --git a/apps/guide/src/content/requesting-more-content.mdx b/apps/guide/src/content/requesting-more-content.mdx new file mode 100644 index 000000000000..5f910eb1e98e --- /dev/null +++ b/apps/guide/src/content/requesting-more-content.mdx @@ -0,0 +1,17 @@ +--- +title: Requesting more content +category: Home +--- + +# Requesting more content + +Since this guide is made specifically for the discord.js community, we want to be sure to provide the most relevant and up-to-date content. We will, of course, make additions to the current pages and add new ones as we see fit, but fulfilling requests is how we know we're providing content you all want the most. + +Requests may be as simple as "add an example to the [frequently asked questions](/popular-topics/faq.html) page", or as elaborate as "add a page regarding [sharding](/sharding/)". We'll do our best to fulfill all requests, as long as they're reasonable. + +To make a request, simply head over to [the repo's issue tracker](https://github.com/discordjs/guide/issues) and [create a new issue](https://github.com/discordjs/guide/issues/new)! Title it appropriately, and let us know exactly what you mean inside the issue description. Make sure that you've looked around the site before making a request; what you want to request might already exist! + + + Remember that you can always [fork the repo](https://github.com/discordjs/guide) and [make a pull + request](https://github.com/discordjs/guide/pulls) if you want to add anything to the guide yourself! + diff --git a/apps/guide/src/content/test.mdx b/apps/guide/src/content/test.mdx new file mode 100644 index 000000000000..2e0bb5fb7c9b --- /dev/null +++ b/apps/guide/src/content/test.mdx @@ -0,0 +1,100 @@ +--- +title: Test +category: Test +--- + + + + 1234 + + + 1234 + + + + + + 1234 + + + + + + <> + + + + + Test + + + + diff --git a/apps/guide/src/content/01-home/02-whats-new.mdx b/apps/guide/src/content/whats-new.mdx similarity index 60% rename from apps/guide/src/content/01-home/02-whats-new.mdx rename to apps/guide/src/content/whats-new.mdx index 0cb3555fbb7e..b5b9929ee52b 100644 --- a/apps/guide/src/content/01-home/02-whats-new.mdx +++ b/apps/guide/src/content/whats-new.mdx @@ -9,13 +9,14 @@ category: Home > }>({ - opened: false, - setOpened: (_) => {}, -}); - -export const NavProvider = ({ children }: PropsWithChildren) => { - const [opened, setOpened] = useState(false); - const value = useMemo(() => ({ opened, setOpened }), [opened]); - - return {children}; -}; - -export function useNav() { - return useContext(NavContext); -} diff --git a/apps/guide/src/styles/ch.css b/apps/guide/src/styles/ch.css index e69de29bb2d1..e52c043eccc1 100644 --- a/apps/guide/src/styles/ch.css +++ b/apps/guide/src/styles/ch.css @@ -0,0 +1,82 @@ +:root { + --shiki-color-text: #24292eff; + --shiki-color-background: #ffffff; + --shiki-token-constant: #1976d2; + --shiki-token-string: #6f42c1; + --shiki-token-comment: #c2c3c5; + --shiki-token-keyword: #d32f2f; + --shiki-token-parameter: #ff9800; + --shiki-token-function: #6f42c1; + --shiki-token-string-expression: #22863a; + --shiki-token-punctuation: #212121; + --shiki-token-link: #22863a; + + --ch-tabs-bg: #f6f6f6; + --ch-tab-border: #f6f6f6; + --ch-tab-active-border: #fff; + --ch-tab-active-bg: #24292eff; + --ch-tab-inactive-color: #bdbdbd; + --ch-tab-inactive-bg: #f6f6f6; + --ch-icon-text: #24292eff; +} + +.ch-code, +.ch-inline-code > code { + background: var(--shiki-color-background) !important; +} + +.ch-code { + color-scheme: light !important; +} + +.ch-code-multiline-mark { + background: rgba(253, 255, 0, 0.2) !important; +} + +.ch-codegroup .ch-editor-button, +.ch-codeblock .ch-code-button { + color: var(--ch-icon-text) !important; +} + +div.ch-editor-tab-active { + color: var(--ch-tab-active-color) !important; +} + +html.dark { + --shiki-color-text: #adbac7; + --shiki-color-background: #22272e; + --shiki-token-constant: #f47067; + --shiki-token-string: #96d0ff; + --shiki-token-comment: #768390; + --shiki-token-keyword: #f47067; + --shiki-token-parameter: #adbac7; + --shiki-token-function: #dcbdfb; + --shiki-token-string-expression: #8ddb8c; + --shiki-token-punctuation: #adbac7; + --shiki-token-link: #adbac7; + + --ch-tabs-bg: #1c2128; + --ch-tab-border: #444c56; + --ch-tab-active-border: #22272e; + --ch-tab-active-bg: #22272e; + --ch-tab-inactive-color: #768390; + --ch-tab-inactive-bg: #1c2128; + --ch-icon-text: #768390; +} + +.dark .ch-codegroup .ch-editor-button, +.ch-codeblock .ch-code-button { + color: var(--ch-icon-text) !important; +} + +.dark div.ch-editor-tab-active { + color: var(--ch-tab-active-color) !important; +} + +.dark .ch-code { + color-scheme: dark !important; +} + +.dark .ch-code-multiline-mark { + background: rgba(255, 255, 255, 0.043) !important; +} diff --git a/apps/guide/src/styles/code-hike-theme-dark-plus.json b/apps/guide/src/styles/code-hike-theme-dark-plus.json deleted file mode 100644 index d175610c0863..000000000000 --- a/apps/guide/src/styles/code-hike-theme-dark-plus.json +++ /dev/null @@ -1,566 +0,0 @@ -{ - "$schema": "vscode://schemas/color-theme", - "name": "dark-plus", - "tokenColors": [ - { - "settings": { - "foreground": "#D4D4D4" - } - }, - { - "scope": ["meta.embedded", "source.groovy.embedded", "string meta.image.inline.markdown"], - "settings": { - "foreground": "#D4D4D4" - } - }, - { - "scope": "emphasis", - "settings": { - "fontStyle": "italic" - } - }, - { - "scope": "strong", - "settings": { - "fontStyle": "bold" - } - }, - { - "scope": "header", - "settings": { - "foreground": "#000080" - } - }, - { - "scope": "comment", - "settings": { - "foreground": "#6A9955" - } - }, - { - "scope": "constant.language", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": [ - "constant.numeric", - "variable.other.enummember", - "keyword.operator.plus.exponent", - "keyword.operator.minus.exponent" - ], - "settings": { - "foreground": "#b5cea8" - } - }, - { - "scope": "constant.regexp", - "settings": { - "foreground": "#646695" - } - }, - { - "scope": "entity.name.tag", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "entity.name.tag.css", - "settings": { - "foreground": "#d7ba7d" - } - }, - { - "scope": "entity.other.attribute-name", - "settings": { - "foreground": "#9cdcfe" - } - }, - { - "scope": [ - "entity.other.attribute-name.class.css", - "entity.other.attribute-name.class.mixin.css", - "entity.other.attribute-name.id.css", - "entity.other.attribute-name.parent-selector.css", - "entity.other.attribute-name.pseudo-class.css", - "entity.other.attribute-name.pseudo-element.css", - "source.css.less entity.other.attribute-name.id", - "entity.other.attribute-name.scss" - ], - "settings": { - "foreground": "#d7ba7d" - } - }, - { - "scope": "invalid", - "settings": { - "foreground": "#f44747" - } - }, - { - "scope": "markup.underline", - "settings": { - "fontStyle": "underline" - } - }, - { - "scope": "markup.bold", - "settings": { - "fontStyle": "bold", - "foreground": "#569cd6" - } - }, - { - "scope": "markup.heading", - "settings": { - "fontStyle": "bold", - "foreground": "#569cd6" - } - }, - { - "scope": "markup.italic", - "settings": { - "fontStyle": "italic" - } - }, - { - "scope": "markup.strikethrough", - "settings": { - "fontStyle": "strikethrough" - } - }, - { - "scope": "markup.inserted", - "settings": { - "foreground": "#b5cea8" - } - }, - { - "scope": "markup.deleted", - "settings": { - "foreground": "#ce9178" - } - }, - { - "scope": "markup.changed", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "punctuation.definition.quote.begin.markdown", - "settings": { - "foreground": "#6A9955" - } - }, - { - "scope": "punctuation.definition.list.begin.markdown", - "settings": { - "foreground": "#6796e6" - } - }, - { - "scope": "markup.inline.raw", - "settings": { - "foreground": "#ce9178" - } - }, - { - "name": "brackets of XML/HTML tags", - "scope": "punctuation.definition.tag", - "settings": { - "foreground": "#808080" - } - }, - { - "scope": ["meta.preprocessor", "entity.name.function.preprocessor"], - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "meta.preprocessor.string", - "settings": { - "foreground": "#ce9178" - } - }, - { - "scope": "meta.preprocessor.numeric", - "settings": { - "foreground": "#b5cea8" - } - }, - { - "scope": "meta.structure.dictionary.key.python", - "settings": { - "foreground": "#9cdcfe" - } - }, - { - "scope": "meta.diff.header", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "storage", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "storage.type", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": ["storage.modifier", "keyword.operator.noexcept"], - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": ["string", "meta.embedded.assembly"], - "settings": { - "foreground": "#ce9178" - } - }, - { - "scope": "string.tag", - "settings": { - "foreground": "#ce9178" - } - }, - { - "scope": "string.value", - "settings": { - "foreground": "#ce9178" - } - }, - { - "scope": "string.regexp", - "settings": { - "foreground": "#d16969" - } - }, - { - "name": "String interpolation", - "scope": [ - "punctuation.definition.template-expression.begin", - "punctuation.definition.template-expression.end", - "punctuation.section.embedded" - ], - "settings": { - "foreground": "#569cd6" - } - }, - { - "name": "Reset JavaScript string interpolation expression", - "scope": ["meta.template.expression"], - "settings": { - "foreground": "#d4d4d4" - } - }, - { - "scope": [ - "support.type.vendored.property-name", - "support.type.property-name", - "variable.css", - "variable.scss", - "variable.other.less", - "source.coffee.embedded" - ], - "settings": { - "foreground": "#9cdcfe" - } - }, - { - "scope": "keyword", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "keyword.control", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "keyword.operator", - "settings": { - "foreground": "#d4d4d4" - } - }, - { - "scope": [ - "keyword.operator.new", - "keyword.operator.expression", - "keyword.operator.cast", - "keyword.operator.sizeof", - "keyword.operator.alignof", - "keyword.operator.typeid", - "keyword.operator.alignas", - "keyword.operator.instanceof", - "keyword.operator.logical.python", - "keyword.operator.wordlike" - ], - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "keyword.other.unit", - "settings": { - "foreground": "#b5cea8" - } - }, - { - "scope": ["punctuation.section.embedded.begin.php", "punctuation.section.embedded.end.php"], - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "support.function.git-rebase", - "settings": { - "foreground": "#9cdcfe" - } - }, - { - "scope": "constant.sha.git-rebase", - "settings": { - "foreground": "#b5cea8" - } - }, - { - "name": "coloring of the Java import and package identifiers", - "scope": ["storage.modifier.import.java", "variable.language.wildcard.java", "storage.modifier.package.java"], - "settings": { - "foreground": "#d4d4d4" - } - }, - { - "name": "this.self", - "scope": "variable.language", - "settings": { - "foreground": "#569cd6" - } - }, - { - "name": "Function declarations", - "scope": [ - "entity.name.function", - "support.function", - "support.constant.handlebars", - "source.powershell variable.other.member", - "entity.name.operator.custom-literal" - ], - "settings": { - "foreground": "#DCDCAA" - } - }, - { - "name": "Types declaration and references", - "scope": [ - "support.class", - "support.type", - "entity.name.type", - "entity.name.namespace", - "entity.other.attribute", - "entity.name.scope-resolution", - "entity.name.class", - "storage.type.numeric.go", - "storage.type.byte.go", - "storage.type.boolean.go", - "storage.type.string.go", - "storage.type.uintptr.go", - "storage.type.error.go", - "storage.type.rune.go", - "storage.type.cs", - "storage.type.generic.cs", - "storage.type.modifier.cs", - "storage.type.variable.cs", - "storage.type.annotation.java", - "storage.type.generic.java", - "storage.type.java", - "storage.type.object.array.java", - "storage.type.primitive.array.java", - "storage.type.primitive.java", - "storage.type.token.java", - "storage.type.groovy", - "storage.type.annotation.groovy", - "storage.type.parameters.groovy", - "storage.type.generic.groovy", - "storage.type.object.array.groovy", - "storage.type.primitive.array.groovy", - "storage.type.primitive.groovy" - ], - "settings": { - "foreground": "#4EC9B0" - } - }, - { - "name": "Types declaration and references, TS grammar specific", - "scope": [ - "meta.type.cast.expr", - "meta.type.new.expr", - "support.constant.math", - "support.constant.dom", - "support.constant.json", - "entity.other.inherited-class" - ], - "settings": { - "foreground": "#4EC9B0" - } - }, - { - "name": "Control flow / Special keywords", - "scope": [ - "keyword.control", - "source.cpp keyword.operator.new", - "keyword.operator.delete", - "keyword.other.using", - "keyword.other.operator", - "entity.name.operator" - ], - "settings": { - "foreground": "#C586C0" - } - }, - { - "name": "Variable and parameter name", - "scope": [ - "variable", - "meta.definition.variable.name", - "support.variable", - "entity.name.variable", - "constant.other.placeholder" - ], - "settings": { - "foreground": "#9CDCFE" - } - }, - { - "name": "Constants and enums", - "scope": ["variable.other.constant", "variable.other.enummember"], - "settings": { - "foreground": "#4FC1FF" - } - }, - { - "name": "Object keys, TS grammar specific", - "scope": ["meta.object-literal.key"], - "settings": { - "foreground": "#9CDCFE" - } - }, - { - "name": "CSS property value", - "scope": [ - "support.constant.property-value", - "support.constant.font-name", - "support.constant.media-type", - "support.constant.media", - "constant.other.color.rgb-value", - "constant.other.rgb-value", - "support.constant.color" - ], - "settings": { - "foreground": "#CE9178" - } - }, - { - "name": "Regular expression groups", - "scope": [ - "punctuation.definition.group.regexp", - "punctuation.definition.group.assertion.regexp", - "punctuation.definition.character-class.regexp", - "punctuation.character.set.begin.regexp", - "punctuation.character.set.end.regexp", - "keyword.operator.negation.regexp", - "support.other.parenthesis.regexp" - ], - "settings": { - "foreground": "#CE9178" - } - }, - { - "scope": [ - "constant.character.character-class.regexp", - "constant.other.character-class.set.regexp", - "constant.other.character-class.regexp", - "constant.character.set.regexp" - ], - "settings": { - "foreground": "#d16969" - } - }, - { - "scope": ["keyword.operator.or.regexp", "keyword.control.anchor.regexp"], - "settings": { - "foreground": "#DCDCAA" - } - }, - { - "scope": "keyword.operator.quantifier.regexp", - "settings": { - "foreground": "#d7ba7d" - } - }, - { - "scope": "constant.character", - "settings": { - "foreground": "#569cd6" - } - }, - { - "scope": "constant.character.escape", - "settings": { - "foreground": "#d7ba7d" - } - }, - { - "scope": "entity.name.label", - "settings": { - "foreground": "#C8C8C8" - } - } - ], - "semanticTokenColors": { - "newOperator": "#C586C0", - "stringLiteral": "#ce9178", - "customLiteral": "#DCDCAA", - "numberLiteral": "#b5cea8" - }, - "colors": { - "checkbox.border": "#6B6B6B", - "editor.background": "#1E1E1E", - "editor.foreground": "#D4D4D4", - "editor.inactiveSelectionBackground": "#3A3D41", - "editorIndentGuide.background": "#404040", - "editorIndentGuide.activeBackground": "#707070", - "editor.selectionHighlightBackground": "#ADD6FF26", - "list.dropBackground": "#383B3D", - "activityBarBadge.background": "#007ACC", - "sideBarTitle.foreground": "#BBBBBB", - "input.placeholderForeground": "#A6A6A6", - "menu.background": "#252526", - "menu.foreground": "#CCCCCC", - "menu.separatorBackground": "#454545", - "menu.border": "#454545", - "statusBarItem.remoteForeground": "#FFF", - "statusBarItem.remoteBackground": "#16825D", - "ports.iconRunningProcessForeground": "#369432", - "sideBarSectionHeader.background": "#0000", - "sideBarSectionHeader.border": "#ccc3", - "tab.lastPinnedBorder": "#ccc3", - "list.activeSelectionIconForeground": "#FFF", - "terminal.inactiveSelectionBackground": "#3A3D41", - "widget.border": "#303031" - }, - "type": "dark" -} diff --git a/apps/guide/src/util/constants.ts b/apps/guide/src/util/constants.ts index 4eea1a980478..0e728ecc55b9 100644 --- a/apps/guide/src/util/constants.ts +++ b/apps/guide/src/util/constants.ts @@ -1,27 +1,3 @@ -export const BASE_URL = 'https://discord.js.org/docs/packages' as const; - -export const BASE_URL_LEGACY = 'https://old.discordjs.dev/#/docs/discord.js' as const; - export const DESCRIPTION = 'Imagine a guide... that explores the many possibilities for your discord.js bot.'; export const GITHUB_BASE_PAGES_PATH = 'https://github.com/discordjs/discord.js/tree/main/apps/guide/src/pages'; - -export const PACKAGES = [ - 'discord.js', - 'brokers', - 'builders', - 'collection', - 'core', - 'formatters', - 'proxy', - 'rest', - 'next', - 'util', - 'voice', - 'ws', -] as const; - -/** - * The stable version of discord.js. - */ -export const VERSION = '14.9.0' as const; diff --git a/apps/website/.eslintrc.json b/apps/website/.eslintrc.json index 612db2721195..d4eb55f4856e 100644 --- a/apps/website/.eslintrc.json +++ b/apps/website/.eslintrc.json @@ -1,5 +1,5 @@ { - "extends": ["../../.eslintrc.json", "neon/react", "neon/next", "neon/edge", "@unocss", "neon/prettier"], + "extends": ["../../.eslintrc.json", "neon/react", "neon/next", "neon/edge", "neon/prettier"], "settings": { "react": { "version": "detect" diff --git a/apps/website/.gitignore b/apps/website/.gitignore index 158a6e52612c..6bd220cbeb86 100644 --- a/apps/website/.gitignore +++ b/apps/website/.gitignore @@ -23,7 +23,6 @@ build/ src/styles/unocss.css .next/ src/assets/readme/ -static/ # Miscellaneous .tmp/ diff --git a/apps/website/.prettierrc.cjs b/apps/website/.prettierrc.cjs index f004026c7647..d23089afe731 100644 --- a/apps/website/.prettierrc.cjs +++ b/apps/website/.prettierrc.cjs @@ -1 +1,7 @@ -module.exports = require('../../.prettierrc.json'); +module.exports = { + ...require('../../.prettierrc.json'), + plugins: [ + 'prettier-plugin-tailwindcss', // MUST come last + ], + pluginSearchDirs: false, +}; diff --git a/apps/website/package.json b/apps/website/package.json index 1c07c6b672d7..611806477d4b 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -50,55 +50,54 @@ "@discordjs/ui": "workspace:^", "@microsoft/api-extractor-model": "7.26.4", "@microsoft/tsdoc": "0.14.2", - "@planetscale/database": "1.7.0", + "@planetscale/database": "^1.6.0", "@react-icons/all-files": "^4.1.0", "@vercel/analytics": "^0.1.11", - "@vercel/edge-config": "^0.1.7", - "@vercel/og": "^0.5.2", + "@vercel/edge-config": "^0.1.5", + "@vercel/og": "^0.5.0", "@vscode/codicons": "^0.0.32", - "ariakit": "^2.0.0-next.44", + "ariakit": "^2.0.0-next.43", "bright": "^0.7.1", "cmdk": "^0.2.0", - "meilisearch": "^0.32.3", - "next": "^13.3.1-canary.6", + "meilisearch": "^0.32.0", + "next": "^13.2.5-canary.26", "next-mdx-remote": "^4.4.1", "next-themes": "^0.2.1", "react": "^18.2.0", "react-custom-scrollbars-2": "^4.5.0", "react-dom": "^18.2.0", "react-use": "^17.4.0", - "rehype-ignore": "^1.0.5", + "rehype-ignore": "^1.0.4", "rehype-raw": "^6.1.1", "rehype-slug": "^5.1.0", "remark-gfm": "^3.0.1", - "server-only": "^0.0.1", "sharp": "^0.32.0", - "swr": "^2.1.3" + "swr": "^2.1.2" }, "devDependencies": { - "@next/bundle-analyzer": "^13.3.0", + "@next/bundle-analyzer": "^13.2.4", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "@types/node": "18.15.11", - "@types/react": "^18.0.35", + "@types/react": "^18.0.32", "@types/react-dom": "^18.0.11", - "@unocss/cli": "^0.51.4", - "@unocss/eslint-config": "^0.51.4", - "@unocss/reset": "^0.51.4", + "@unocss/cli": "^0.50.6", + "@unocss/reset": "^0.50.6", "@vitejs/plugin-react": "^3.1.0", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "concurrently": "^8.0.1", "cpy-cli": "^4.2.0", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", - "happy-dom": "^9.5.0", + "happy-dom": "^9.1.0", "lighthouse": "^10.1.0", "prettier": "^2.8.7", - "typescript": "^5.0.4", - "unocss": "^0.51.4", - "vercel": "^28.18.5", + "prettier-plugin-tailwindcss": "^0.2.6", + "typescript": "^5.0.3", + "unocss": "^0.50.6", + "vercel": "^28.18.3", "vitest": "^0.29.8" }, "engines": { diff --git a/apps/website/src/app/api/packages/[package]/[version]/[item]/route.ts b/apps/website/src/app/api/packages/[package]/[version]/[item]/route.ts deleted file mode 100644 index 5674c2f2f992..000000000000 --- a/apps/website/src/app/api/packages/[package]/[version]/[item]/route.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { generatePath } from '@discordjs/api-extractor-utils'; -import { tryResolveSummaryText } from '@discordjs/scripts'; -import type { ApiClass, ApiDeclaredItem, ApiItemContainerMixin } from '@microsoft/api-extractor-model'; -import { ApiItemKind, ExcerptTokenKind } from '@microsoft/api-extractor-model'; -import type { NextRequest } from 'next/server'; -import { NextResponse } from 'next/server'; -import { memberPredicate } from '~/components/documentation/util'; -import { fetchMember } from '~/util/fetchMember'; -import { resolveMembers } from '~/util/members'; - -export const revalidate = 3_600; - -export async function GET(_: NextRequest, { params }: { params: { item: string; package: string; version: string } }) { - const member = await fetchMember({ - package: params.package, - version: params.version, - item: params.item, - }); - - if (!member) { - return new Response(null, { status: 404 }); - } - - const model = member.getAssociatedModel(); - const excerpt = (member as ApiClass).extendsType?.excerpt; - - return NextResponse.json({ - name: member.displayName, - kind: member.kind, - extendsFrom: - excerpt?.spannedTokens - .map((token) => { - if (token.kind === ExcerptTokenKind.Reference) { - const referenceItem = member - .getAssociatedModel() - ?.resolveDeclarationReference(token.canonicalReference!, model).resolvedApiItem; - - if (referenceItem) { - return { - name: referenceItem.displayName, - kind: referenceItem.kind, - summary: tryResolveSummaryText(referenceItem as unknown as ApiDeclaredItem) ?? '', - path: generatePath(referenceItem.getHierarchy(), params.version), - }; - } - } - - return null; - }) - .filter(Boolean) ?? null, - summary: tryResolveSummaryText(member as ApiDeclaredItem) ?? '', - path: generatePath(member.getHierarchy(), params.version), - members: - member.kind === ApiItemKind.Class || member.kind === ApiItemKind.Interface - ? resolveMembers(member as ApiItemContainerMixin, memberPredicate).map((member) => { - const isDeprecated = Boolean(member.item.tsdocComment?.deprecatedBlock); - - return { - inheritedFrom: member.inherited - ? { - name: member.inherited.displayName, - kind: member.inherited.kind, - summary: tryResolveSummaryText(member.inherited as unknown as ApiDeclaredItem) ?? '', - path: generatePath(member.inherited.getHierarchy(), params.version), - } - : null, - name: member.item.displayName, - kind: member.item.kind, - deprecated: isDeprecated, - // @ts-expect-error: Typings - readonly: member.item.isReadonly ?? false, - optional: member.item.isOptional, - // @ts-expect-error: Typings - static: member.item.isStatic ?? false, - // @ts-expect-error: Typings - protected: member.item.isProtected ?? false, - summary: tryResolveSummaryText(member.item as ApiDeclaredItem) ?? '', - path: generatePath(member.item.getHierarchy(), params.version), - }; - }) - : null, - }); -} diff --git a/apps/website/src/app/docAPI.ts b/apps/website/src/app/docAPI.ts index 93accb64d5ca..cbba31add0a3 100644 --- a/apps/website/src/app/docAPI.ts +++ b/apps/website/src/app/docAPI.ts @@ -1,15 +1,9 @@ -import 'server-only'; - import { readFile } from 'node:fs/promises'; import { join } from 'node:path'; import { connect } from '@planetscale/database'; +import { cache } from 'react'; -const sql = connect({ - async fetch(input, init) { - return fetch(input, { ...init, cache: undefined, next: { revalidate: 3_600 } }); - }, - url: process.env.DATABASE_URL!, -}); +const sql = connect({ url: process.env.DATABASE_URL! }); export async function fetchVersions(packageName: string): Promise { const response = await fetch(`https://docs.discordjs.dev/api/info?package=${packageName}`, { @@ -19,7 +13,7 @@ export async function fetchVersions(packageName: string): Promise { return response.json(); } -export async function fetchModelJSON(packageName: string, version: string): Promise { +export const fetchModelJSON = cache(async (packageName: string, version: string): Promise => { if (process.env.NEXT_PUBLIC_LOCAL_DEV) { const res = await readFile( join(process.cwd(), '..', '..', 'packages', packageName, 'docs', 'docs.api.json'), @@ -41,4 +35,4 @@ export async function fetchModelJSON(packageName: string, version: string): Prom // @ts-expect-error: https://github.com/planetscale/database-js/issues/71 return rows[0].data; -} +}); diff --git a/apps/website/src/app/docs/packages/[package]/[version]/[item]/loading.tsx b/apps/website/src/app/docs/packages/[package]/[version]/[item]/loading.tsx new file mode 100644 index 000000000000..bde40d687c23 --- /dev/null +++ b/apps/website/src/app/docs/packages/[package]/[version]/[item]/loading.tsx @@ -0,0 +1 @@ +export { default } from '~/app/loading'; diff --git a/apps/website/src/app/docs/packages/[package]/[version]/[item]/not-found.tsx b/apps/website/src/app/docs/packages/[package]/[version]/[item]/not-found.tsx deleted file mode 100644 index 5c1807243723..000000000000 --- a/apps/website/src/app/docs/packages/[package]/[version]/[item]/not-found.tsx +++ /dev/null @@ -1,22 +0,0 @@ -'use client'; - -import Link from 'next/link'; -import { usePathname } from 'next/navigation'; - -export default function NotFound() { - const pathname = usePathname(); - const href = pathname.split('/').slice(0, -1).join('/'); - - return ( -
-

404

-

Not found.

- - Take me back - -
- ); -} diff --git a/apps/website/src/app/docs/packages/[package]/[version]/[item]/page.tsx b/apps/website/src/app/docs/packages/[package]/[version]/[item]/page.tsx index fe51056d065f..ba68363178f0 100644 --- a/apps/website/src/app/docs/packages/[package]/[version]/[item]/page.tsx +++ b/apps/website/src/app/docs/packages/[package]/[version]/[item]/page.tsx @@ -12,9 +12,8 @@ import type { ApiPropertySignature, ApiTypeAlias, ApiVariable, - ApiFunction, } from '@microsoft/api-extractor-model'; -import { ApiItemKind, ApiModel } from '@microsoft/api-extractor-model'; +import { ApiItemKind, ApiModel, ApiFunction } from '@microsoft/api-extractor-model'; import { notFound } from 'next/navigation'; import type { Metadata } from 'next/types'; import { fetchModelJSON } from '~/app/docAPI'; @@ -24,25 +23,31 @@ import { TypeAlias } from '~/components/model/TypeAlias'; import { Variable } from '~/components/model/Variable'; import { Enum } from '~/components/model/enum/Enum'; import { Function } from '~/components/model/function/Function'; -import { OVERLOAD_SEPARATOR } from '~/util/constants'; -import type { ItemRouteParams } from '~/util/fetchMember'; -import { fetchMember } from '~/util/fetchMember'; -import { findMember } from '~/util/model'; +import { OVERLOAD_SEPARATOR, PACKAGES } from '~/util/constants'; +import { findMember, findMemberByKey } from '~/util/model.server'; -async function fetchHeadMember({ package: packageName, version, item }: ItemRouteParams) { +export interface ItemRouteParams { + item: string; + package: string; + version: string; +} + +async function fetchHeadMember({ package: packageName, version, item }: ItemRouteParams): Promise { const modelJSON = await fetchModelJSON(packageName, version); const model = addPackageToModel(new ApiModel(), modelJSON); const pkg = model.tryGetPackageByName(packageName); const entry = pkg?.entryPoints[0]; + if (!entry) { return undefined; } const [memberName] = decodeURIComponent(item).split(OVERLOAD_SEPARATOR); + return findMember(model, packageName, memberName); } -function resolveMemberSearchParams(packageName: string, member: ApiItem) { +function resolveMemberSearchParams(packageName: string, member: ApiItem): URLSearchParams { const params = new URLSearchParams({ pkg: packageName, kind: member?.kind, @@ -79,8 +84,11 @@ function resolveMemberSearchParams(packageName: string, member: ApiItem) { return params; } +// eslint-disable-next-line unicorn/numeric-separators-style +export const revalidate = 3600; + export async function generateMetadata({ params }: { params: ItemRouteParams }) { - const member = await fetchHeadMember(params); + const member = (await fetchHeadMember(params))!; const name = `discord.js${member?.displayName ? ` | ${member.displayName}` : ''}`; const ogTitle = `${params.package ?? 'discord.js'}${member?.displayName ? ` | ${member.displayName}` : ''}`; const url = new URL('https://discordjs.dev/api/dynamic-open-graph.png'); @@ -112,10 +120,39 @@ export async function generateStaticParams({ params: { package: packageName, ver } return entry.members.map((member: ApiItem) => ({ - item: `${member.displayName}${OVERLOAD_SEPARATOR}${member.kind}`, + item: member.displayName, })); } +async function fetchMember({ package: packageName, version: branchName = 'main', item }: ItemRouteParams) { + if (!PACKAGES.includes(packageName)) { + notFound(); + } + + const model = new ApiModel(); + + if (branchName === 'main') { + const modelJSONFiles = await Promise.all(PACKAGES.map(async (pkg) => fetchModelJSON(pkg, branchName))); + + for (const modelJSONFile of modelJSONFiles) { + addPackageToModel(model, modelJSONFile); + } + } else { + const modelJSON = await fetchModelJSON(packageName, branchName); + addPackageToModel(model, modelJSON); + } + + const [memberName, overloadIndex] = decodeURIComponent(item).split(OVERLOAD_SEPARATOR); + + // eslint-disable-next-line prefer-const + let { containerKey, displayName: name } = findMember(model, packageName, memberName) ?? {}; + if (name && overloadIndex && !Number.isNaN(Number.parseInt(overloadIndex, 10))) { + containerKey = ApiFunction.getContainerKey(name, Number.parseInt(overloadIndex, 10)); + } + + return memberName && containerKey ? findMemberByKey(model, packageName, containerKey) ?? null : null; +} + function Member({ member }: { member?: ApiItem }) { switch (member?.kind) { case 'Class': @@ -138,13 +175,5 @@ function Member({ member }: { member?: ApiItem }) { export default async function Page({ params }: { params: ItemRouteParams }) { const member = await fetchMember(params); - if (!member) { - notFound(); - } - - return ( -
- -
- ); + return
{member ? : null}
; } diff --git a/apps/website/src/app/docs/packages/[package]/[version]/error.tsx b/apps/website/src/app/docs/packages/[package]/[version]/error.tsx index 96631ad5ee10..a2289cd8a495 100644 --- a/apps/website/src/app/docs/packages/[package]/[version]/error.tsx +++ b/apps/website/src/app/docs/packages/[package]/[version]/error.tsx @@ -4,7 +4,7 @@ export default function Error({ error }: { error: Error }) { console.error(error); return ( -
+

500

Error.

diff --git a/apps/website/src/app/docs/packages/[package]/[version]/layout.tsx b/apps/website/src/app/docs/packages/[package]/[version]/layout.tsx index fa6bce190917..afa2d6b2ddc2 100644 --- a/apps/website/src/app/docs/packages/[package]/[version]/layout.tsx +++ b/apps/website/src/app/docs/packages/[package]/[version]/layout.tsx @@ -20,6 +20,9 @@ export interface VersionRouteParams { version: string; } +// eslint-disable-next-line unicorn/numeric-separators-style +export const revalidate = 3600; + export async function generateStaticParams() { const params: VersionRouteParams[] = []; @@ -71,12 +74,12 @@ export default async function PackageLayout({ children, params }: PropsWithChild
-
-
+
+
-
+
{children}
diff --git a/apps/website/src/app/docs/packages/[package]/[version]/loading.tsx b/apps/website/src/app/docs/packages/[package]/[version]/loading.tsx new file mode 100644 index 000000000000..bde40d687c23 --- /dev/null +++ b/apps/website/src/app/docs/packages/[package]/[version]/loading.tsx @@ -0,0 +1 @@ +export { default } from '~/app/loading'; diff --git a/apps/website/src/app/docs/packages/[package]/[version]/page.tsx b/apps/website/src/app/docs/packages/[package]/[version]/page.tsx index 097b72e4cc64..95500e5b48da 100644 --- a/apps/website/src/app/docs/packages/[package]/[version]/page.tsx +++ b/apps/website/src/app/docs/packages/[package]/[version]/page.tsx @@ -27,7 +27,7 @@ export default async function Page({ params }: { params: VersionRouteParams }) { const readmeSource = await loadREADME(packageName); return ( -
+
{/* @ts-expect-error async component */}
diff --git a/apps/website/src/app/docs/packages/[package]/page.tsx b/apps/website/src/app/docs/packages/[package]/page.tsx index 106c569b2672..e02b60612979 100644 --- a/apps/website/src/app/docs/packages/[package]/page.tsx +++ b/apps/website/src/app/docs/packages/[package]/page.tsx @@ -27,12 +27,12 @@ export default async function Page({ params }: { params: { package: string } }) const data = await getData(params.package); return ( -
+

Select a version:

{data.map((version, idx) => ( @@ -47,7 +47,7 @@ export default async function Page({ params }: { params: { package: string } }) )) ?? null}
Go back diff --git a/apps/website/src/app/docs/packages/page.tsx b/apps/website/src/app/docs/packages/page.tsx index d3dc0629d6c7..a8d48781c2c4 100644 --- a/apps/website/src/app/docs/packages/page.tsx +++ b/apps/website/src/app/docs/packages/page.tsx @@ -10,11 +10,11 @@ export const runtime: ServerRuntime = 'edge'; export default function Page() { return ( -
+

Select a package:

@@ -29,7 +29,7 @@ export default function Page() { {PACKAGES.map((pkg, idx) => ( @@ -53,7 +53,7 @@ export default function Page() { ))} Go back diff --git a/apps/website/src/app/error.tsx b/apps/website/src/app/error.tsx index cf88c89518df..9ccf5a764dfb 100644 --- a/apps/website/src/app/error.tsx +++ b/apps/website/src/app/error.tsx @@ -4,7 +4,7 @@ export default function Error({ error }: { error: Error }) { console.error(error); return ( -
+

500

Error.

diff --git a/apps/website/src/app/global-error.tsx b/apps/website/src/app/global-error.tsx index 6a453879d9fd..df0bca3cc72a 100644 --- a/apps/website/src/app/global-error.tsx +++ b/apps/website/src/app/global-error.tsx @@ -8,10 +8,10 @@ export default function GlobalError({ error }: { error: Error }) { return ( - + -
-
+
+

500

Error.

diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx index c72b28ad12a0..6f7529c10a5f 100644 --- a/apps/website/src/app/layout.tsx +++ b/apps/website/src/app/layout.tsx @@ -75,7 +75,7 @@ export const metadata: Metadata = { export default function RootLayout({ children }: PropsWithChildren) { return ( - + {children} diff --git a/apps/website/src/app/loading.tsx b/apps/website/src/app/loading.tsx index 8852a454635f..c7af01dbe8b0 100644 --- a/apps/website/src/app/loading.tsx +++ b/apps/website/src/app/loading.tsx @@ -1,6 +1,6 @@ export default function Loading() { return ( -
+
+

404

Not found.

Take me back diff --git a/apps/website/src/app/page.tsx b/apps/website/src/app/page.tsx index b67bcf76893e..2f34c406e3cb 100644 --- a/apps/website/src/app/page.tsx +++ b/apps/website/src/app/page.tsx @@ -3,27 +3,31 @@ import Image from 'next/image'; import Link from 'next/link'; import vercelLogo from '~/assets/powered-by-vercel.svg'; import { SyntaxHighlighter } from '~/components/SyntaxHighlighter'; -import { DESCRIPTION, CODE_EXAMPLE } from '~/util/constants'; +import { CODE_EXAMPLE } from '~/util/constants'; export default function Page() { return ( -
+
-
+

- The most popular way to build + The most popular way to build Discord
bots.

-

{DESCRIPTION}

+

+ discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It + takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code + significantly tidier and easier to comprehend. +

Docs
{children}; + return ( + <> + {children} + + + + ); } diff --git a/apps/website/src/components/Anchor.tsx b/apps/website/src/components/Anchor.tsx index 6b0b64d1462a..3420f8a20018 100644 --- a/apps/website/src/components/Anchor.tsx +++ b/apps/website/src/components/Anchor.tsx @@ -2,7 +2,7 @@ import { FiLink } from '@react-icons/all-files/fi/FiLink'; export function Anchor({ href }: { href: string }) { return ( - + ); diff --git a/apps/website/src/components/CmdK.tsx b/apps/website/src/components/CmdK.tsx index 18a6a6a905fd..889e1cc31399 100644 --- a/apps/website/src/components/CmdK.tsx +++ b/apps/website/src/components/CmdK.tsx @@ -50,7 +50,7 @@ export function CmdKDialog() { () => searchResults?.map((item, idx) => ( { router.push(item.path); @@ -60,10 +60,10 @@ export function CmdKDialog() {
{resolveIcon(item.kind)} -
+

{item.name}

{item.summary}
-
+
{item.path}
@@ -114,12 +114,12 @@ export function CmdKDialog() { return ( diff --git a/apps/website/src/components/Footer.tsx b/apps/website/src/components/Footer.tsx index f7f95ee210c4..88c8fb44bfab 100644 --- a/apps/website/src/components/Footer.tsx +++ b/apps/website/src/components/Footer.tsx @@ -3,11 +3,11 @@ import vercelLogo from '~/assets/powered-by-vercel.svg'; export default function Footer() { return ( -
); } diff --git a/apps/website/src/components/documentation/section/MethodsSection.tsx b/apps/website/src/components/documentation/section/MethodsSection.tsx index 3d1dacc93c2c..22702f868f30 100644 --- a/apps/website/src/components/documentation/section/MethodsSection.tsx +++ b/apps/website/src/components/documentation/section/MethodsSection.tsx @@ -31,7 +31,7 @@ export function MethodsSection({ item }: { item: ApiItemContainerMixin }) { }`} > -
+
)), [members], diff --git a/apps/website/src/components/documentation/tsdoc/BlockComment.tsx b/apps/website/src/components/documentation/tsdoc/BlockComment.tsx index f3fec803a3bd..924b28674fa6 100644 --- a/apps/website/src/components/documentation/tsdoc/BlockComment.tsx +++ b/apps/website/src/components/documentation/tsdoc/BlockComment.tsx @@ -36,7 +36,3 @@ export function DeprecatedBlock({ children }: PropsWithChildren): JSX.Element { export function SeeBlock({ children }: PropsWithChildren): JSX.Element { return {children}; } - -export function ReturnsBlock({ children }: PropsWithChildren): JSX.Element { - return {children}; -} diff --git a/apps/website/src/components/documentation/tsdoc/TSDoc.tsx b/apps/website/src/components/documentation/tsdoc/TSDoc.tsx index adad6bf37c3d..6742f134add5 100644 --- a/apps/website/src/components/documentation/tsdoc/TSDoc.tsx +++ b/apps/website/src/components/documentation/tsdoc/TSDoc.tsx @@ -6,7 +6,7 @@ import { Fragment, useCallback, type ReactNode } from 'react'; import { ItemLink } from '../../ItemLink'; import { SyntaxHighlighter } from '../../SyntaxHighlighter'; import { resolveItemURI } from '../util'; -import { DefaultValueBlock, DeprecatedBlock, ExampleBlock, RemarksBlock, ReturnsBlock, SeeBlock } from './BlockComment'; +import { DeprecatedBlock, ExampleBlock, RemarksBlock, SeeBlock } from './BlockComment'; export function TSDoc({ item, tsdoc }: { item: ApiItem; tsdoc: DocNode }): JSX.Element { const createNode = useCallback( @@ -39,7 +39,7 @@ export function TSDoc({ item, tsdoc }: { item: ApiItem; tsdoc: DocNode }): JSX.E return ( @@ -51,7 +51,7 @@ export function TSDoc({ item, tsdoc }: { item: ApiItem; tsdoc: DocNode }): JSX.E if (urlDestination) { return ( @@ -84,10 +84,6 @@ export function TSDoc({ item, tsdoc }: { item: ApiItem; tsdoc: DocNode }): JSX.E (block) => block.blockTag.tagName.toUpperCase() === StandardTags.example.tagNameWithUpperCase, ); - const defaultValueBlock = comment.customBlocks.find( - (block) => block.blockTag.tagName.toUpperCase() === StandardTags.defaultValue.tagNameWithUpperCase, - ); - return (
{comment.deprecatedBlock ? ( @@ -95,10 +91,6 @@ export function TSDoc({ item, tsdoc }: { item: ApiItem; tsdoc: DocNode }): JSX.E ) : null} {comment.summarySection ? createNode(comment.summarySection) : null} {comment.remarksBlock ? {createNode(comment.remarksBlock.content)} : null} - {defaultValueBlock ? ( - {createNode(defaultValueBlock.content)} - ) : null} - {comment.returnsBlock ? {createNode(comment.returnsBlock.content)} : null} {exampleBlocks.length ? exampleBlocks.map((block, idx) => {createNode(block.content)}) : null} diff --git a/apps/website/src/components/documentation/util.ts b/apps/website/src/components/documentation/util.ts index 10561ab294b5..72f7d7097517 100644 --- a/apps/website/src/components/documentation/util.ts +++ b/apps/website/src/components/documentation/util.ts @@ -8,7 +8,6 @@ import type { ApiPropertySignature, } from '@microsoft/api-extractor-model'; import type { TableOfContentsSerialized } from '../TableOfContentItems'; -import { METHOD_SEPARATOR, OVERLOAD_SEPARATOR } from '~/util/constants'; import { resolveMembers } from '~/util/members'; export function hasProperties(item: ApiItemContainerMixin) { @@ -24,14 +23,10 @@ export function hasMethods(item: ApiItemContainerMixin) { } export function resolveItemURI(item: ApiItem): string { - return !item.parent || item.parent.kind === ApiItemKind.EntryPoint - ? `${item.displayName}${OVERLOAD_SEPARATOR}${item.kind}` - : `${item.parent.displayName}${OVERLOAD_SEPARATOR}${item.parent.kind}${METHOD_SEPARATOR}${item.displayName}`; + return `/${item.displayName}:${item.kind}`; } -export function memberPredicate( - item: ApiItem, -): item is ApiMethod | ApiMethodSignature | ApiProperty | ApiPropertySignature { +function memberPredicate(item: ApiItem): item is ApiMethod | ApiMethodSignature | ApiProperty | ApiPropertySignature { return ( item.kind === ApiItemKind.Property || item.kind === ApiItemKind.PropertySignature || diff --git a/apps/website/src/components/model/Class.tsx b/apps/website/src/components/model/Class.tsx index f2054905db2e..147561ae13c8 100644 --- a/apps/website/src/components/model/Class.tsx +++ b/apps/website/src/components/model/Class.tsx @@ -1,13 +1,13 @@ import type { ApiClass, ApiConstructor } from '@microsoft/api-extractor-model'; import { ApiItemKind } from '@microsoft/api-extractor-model'; -// import { Outline } from '../Outline'; +import { Outline } from '../Outline'; import { Documentation } from '../documentation/Documentation'; import { HierarchyText } from '../documentation/HierarchyText'; import { Members } from '../documentation/Members'; import { ObjectHeader } from '../documentation/ObjectHeader'; import { ConstructorSection } from '../documentation/section/ConstructorSection'; import { TypeParameterSection } from '../documentation/section/TypeParametersSection'; -// import { serializeMembers } from '../documentation/util'; +import { serializeMembers } from '../documentation/util'; export function Class({ clazz }: { clazz: ApiClass }) { const constructor = clazz.members.find((member) => member.kind === ApiItemKind.Constructor) as diff --git a/apps/website/src/components/model/Interface.tsx b/apps/website/src/components/model/Interface.tsx index a2856826ebd4..9a0d51f167a7 100644 --- a/apps/website/src/components/model/Interface.tsx +++ b/apps/website/src/components/model/Interface.tsx @@ -1,11 +1,11 @@ import type { ApiInterface } from '@microsoft/api-extractor-model'; -// import { Outline } from '../Outline'; +import { Outline } from '../Outline'; import { Documentation } from '../documentation/Documentation'; import { HierarchyText } from '../documentation/HierarchyText'; import { Members } from '../documentation/Members'; import { ObjectHeader } from '../documentation/ObjectHeader'; import { TypeParameterSection } from '../documentation/section/TypeParametersSection'; -// import { serializeMembers } from '../documentation/util'; +import { serializeMembers } from '../documentation/util'; export function Interface({ item }: { item: ApiInterface }) { return ( diff --git a/apps/website/src/components/model/TypeAlias.tsx b/apps/website/src/components/model/TypeAlias.tsx index 6d3501093d14..3c2faf5a9517 100644 --- a/apps/website/src/components/model/TypeAlias.tsx +++ b/apps/website/src/components/model/TypeAlias.tsx @@ -8,7 +8,6 @@ export function TypeAlias({ item }: { item: ApiTypeAlias }) { return (
- {/* @ts-expect-error async component */} diff --git a/apps/website/src/components/model/enum/EnumMember.tsx b/apps/website/src/components/model/enum/EnumMember.tsx index 26b73e2847fc..80291ac647be 100644 --- a/apps/website/src/components/model/enum/EnumMember.tsx +++ b/apps/website/src/components/model/enum/EnumMember.tsx @@ -6,8 +6,8 @@ import { TSDoc } from '../../documentation/tsdoc/TSDoc'; export function EnumMember({ member }: { member: ApiEnumMember }) { return ( -
-
+
+
{member.initializerExcerpt ? ( diff --git a/apps/website/src/components/model/function/Function.tsx b/apps/website/src/components/model/function/Function.tsx index d903f2ae2799..ebf9d4904716 100644 --- a/apps/website/src/components/model/function/Function.tsx +++ b/apps/website/src/components/model/function/Function.tsx @@ -6,7 +6,7 @@ import { FunctionBody } from './FunctionBody'; const OverloadSwitcher = dynamic(async () => import('../../OverloadSwitcher')); export function Function({ item }: { item: ApiFunction }) { - const header =
; + const header =
; if (item.getMergedSiblings().length > 1) { const overloads = item @@ -23,7 +23,7 @@ export function Function({ item }: { item: ApiFunction }) { return (
- {header} +
); diff --git a/apps/website/src/components/model/function/FunctionBody.tsx b/apps/website/src/components/model/function/FunctionBody.tsx index 63291e433686..0b10e67c4245 100644 --- a/apps/website/src/components/model/function/FunctionBody.tsx +++ b/apps/website/src/components/model/function/FunctionBody.tsx @@ -13,11 +13,10 @@ export interface FunctionBodyProps { export function FunctionBody({ item }: { item: ApiFunction }) { return ( - {/* @ts-expect-error async component */} {item.typeParameters.length ? : null} - {item.parameters.length ? : null} + ); } diff --git a/apps/website/src/components/model/method/MethodHeader.tsx b/apps/website/src/components/model/method/MethodHeader.tsx index ec549476b189..404e0bf3f7c9 100644 --- a/apps/website/src/components/model/method/MethodHeader.tsx +++ b/apps/website/src/components/model/method/MethodHeader.tsx @@ -1,19 +1,9 @@ import type { ApiMethod, ApiMethodSignature } from '@microsoft/api-extractor-model'; import { ApiItemKind } from '@microsoft/api-extractor-model'; -import { useMemo } from 'react'; +import { useCallback, useMemo } from 'react'; import { Anchor } from '~/components/Anchor'; import { ExcerptText } from '~/components/ExcerptText'; -function getShorthandName(method: ApiMethod | ApiMethodSignature) { - return `${method.name}${method.isOptional ? '?' : ''}(${method.parameters.reduce((prev, cur, index) => { - if (index === 0) { - return `${prev}${cur.isOptional ? `${cur.name}?` : cur.name}`; - } - - return `${prev}, ${cur.isOptional ? `${cur.name}?` : cur.name}`; - }, '')})`; -} - export function MethodHeader({ method }: { method: ApiMethod | ApiMethodSignature }) { const isDeprecated = Boolean(method.tsdocComment?.deprecatedBlock); @@ -22,25 +12,37 @@ export function MethodHeader({ method }: { method: ApiMethod | ApiMethodSignatur [method.displayName, method.overloadIndex], ); + const getShorthandName = useCallback( + (method: ApiMethod | ApiMethodSignature) => + `${method.name}${method.isOptional ? '?' : ''}(${method.parameters.reduce((prev, cur, index) => { + if (index === 0) { + return `${prev}${cur.isOptional ? `${cur.name}?` : cur.name}`; + } + + return `${prev}, ${cur.isOptional ? `${cur.name}?` : cur.name}`; + }, '')})`, + [], + ); + return ( -
+
{isDeprecated || (method.kind === ApiItemKind.Method && (method as ApiMethod).isProtected) || (method.kind === ApiItemKind.Method && (method as ApiMethod).isStatic) ? (
{isDeprecated ? ( -
+
Deprecated
) : null} {method.kind === ApiItemKind.Method && (method as ApiMethod).isProtected ? ( -
+
Protected
) : null} {method.kind === ApiItemKind.Method && (method as ApiMethod).isStatic ? ( -
+
Static
) : null} diff --git a/apps/website/src/hooks/useUnregisterServiceWorker.ts b/apps/website/src/hooks/useUnregisterServiceWorker.ts index d56676f203ee..4fbdac7aa9c9 100644 --- a/apps/website/src/hooks/useUnregisterServiceWorker.ts +++ b/apps/website/src/hooks/useUnregisterServiceWorker.ts @@ -5,7 +5,7 @@ import { useEffect } from 'react'; export function useUnregisterServiceWorker() { useEffect(() => { // eslint-disable-next-line promise/prefer-await-to-then - void navigator.serviceWorker?.getRegistrations().then((registrations) => { + void navigator.serviceWorker.getRegistrations().then((registrations) => { for (const registration of registrations) { void registration.unregister(); } diff --git a/apps/website/src/middleware.ts b/apps/website/src/middleware.ts index 33b758facb2c..a539db2a2d2a 100644 --- a/apps/website/src/middleware.ts +++ b/apps/website/src/middleware.ts @@ -3,7 +3,7 @@ import { NextResponse, type NextRequest } from 'next/server'; import { PACKAGES } from './util/constants'; async function fetchLatestVersion(packageName: string) { - const res = await fetch(`https://docs.discordjs.dev/api/info?package=${packageName}`, { cache: 'no-store' }); + const res = await fetch(`https://docs.discordjs.dev/api/info?package=${packageName}`); const data: string[] = await res.json(); return data.at(-2); diff --git a/apps/website/src/util/constants.ts b/apps/website/src/util/constants.ts index 32cfa97e5fe8..cebf73752b9f 100644 --- a/apps/website/src/util/constants.ts +++ b/apps/website/src/util/constants.ts @@ -16,10 +16,8 @@ export const N_RECENT_VERSIONS = 2; export const OVERLOAD_SEPARATOR = ':'; -export const METHOD_SEPARATOR = '#'; - export const DESCRIPTION = - "discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend."; + "discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend."; export const CODE_EXAMPLE = `import { Client, GatewayIntentBits } from 'discord.js'; diff --git a/apps/website/src/util/fetchMember.ts b/apps/website/src/util/fetchMember.ts deleted file mode 100644 index 324e5b7e9c42..000000000000 --- a/apps/website/src/util/fetchMember.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { addPackageToModel } from '@discordjs/scripts'; -import { ApiModel, ApiFunction } from '@microsoft/api-extractor-model'; -import { notFound } from 'next/navigation'; -import { OVERLOAD_SEPARATOR, PACKAGES } from './constants'; -import { findMember, findMemberByKey } from './model'; -import { fetchModelJSON } from '~/app/docAPI'; - -export interface ItemRouteParams { - item: string; - package: string; - version: string; -} - -export async function fetchMember({ package: packageName, version: branchName = 'main', item }: ItemRouteParams) { - if (!PACKAGES.includes(packageName)) { - notFound(); - } - - const model = new ApiModel(); - - if (branchName === 'main') { - const modelJSONFiles = await Promise.all(PACKAGES.map(async (pkg) => fetchModelJSON(pkg, branchName))); - - for (const modelJSONFile of modelJSONFiles) { - addPackageToModel(model, modelJSONFile); - } - } else { - const modelJSON = await fetchModelJSON(packageName, branchName); - addPackageToModel(model, modelJSON); - } - - const [memberName, overloadIndex] = decodeURIComponent(item).split(OVERLOAD_SEPARATOR); - - // eslint-disable-next-line prefer-const - let { containerKey, displayName: name } = findMember(model, packageName, memberName) ?? {}; - if (name && overloadIndex && !Number.isNaN(Number.parseInt(overloadIndex, 10))) { - containerKey = ApiFunction.getContainerKey(name, Number.parseInt(overloadIndex, 10)); - } - - return memberName && containerKey ? findMemberByKey(model, packageName, containerKey) ?? null : null; -} diff --git a/apps/website/src/util/fetcher.ts b/apps/website/src/util/fetcher.ts index 884d108a66f1..5071b32999b1 100644 --- a/apps/website/src/util/fetcher.ts +++ b/apps/website/src/util/fetcher.ts @@ -1,4 +1,4 @@ export const fetcher = async (url: string) => { - const res = await fetch(url, { next: { revalidate: 3_600 } }); + const res = await fetch(url); return res.json(); }; diff --git a/apps/website/src/util/model.ts b/apps/website/src/util/model.server.ts similarity index 91% rename from apps/website/src/util/model.ts rename to apps/website/src/util/model.server.ts index 523dd0676f76..521c10113430 100644 --- a/apps/website/src/util/model.ts +++ b/apps/website/src/util/model.server.ts @@ -5,7 +5,7 @@ export function findMemberByKey(model: ApiModel, packageName: string, containerK return (pkg.members[0] as ApiEntryPoint).tryGetMemberByKey(containerKey); } -export function findMember(model: ApiModel, packageName: string, memberName: string | undefined) { +export function findMember(model: ApiModel, packageName: string, memberName: string | undefined): ApiItem | undefined { if (!memberName) { return undefined; } diff --git a/apps/website/src/util/summary.ts b/apps/website/src/util/summary.ts new file mode 100644 index 000000000000..7b2d1cc80dea --- /dev/null +++ b/apps/website/src/util/summary.ts @@ -0,0 +1,60 @@ +import type { + ApiItemJSON, + DocNodeJSON, + DocCodeSpanJSON, + DocPlainTextJSON, + DocNodeContainerJSON, + DocLinkTagJSON, +} from '@discordjs/api-extractor-utils'; + +export function tryResolveDescription(member: ApiItemJSON) { + const { summary } = member!; + + if (!summary) { + return null; + } + + let retVal = ''; + + function recurseNodes(node: DocNodeJSON, emitMarkdownLinks = false) { + switch (node.kind) { + case 'CodeSpan': + retVal += (node as DocCodeSpanJSON).code; + break; + case 'LinkTag': { + const { text, urlDestination } = node as DocLinkTagJSON; + + if (text && urlDestination && emitMarkdownLinks) { + retVal += `[${text}](${urlDestination})`; + } else { + retVal += text ?? urlDestination ?? ''; + } + + break; + } + + case 'PlainText': + retVal += (node as DocPlainTextJSON).text; + break; + case 'Section': + case 'Paragraph': + for (const currentNode of (node as DocNodeContainerJSON).nodes) { + recurseNodes(currentNode); + } + + break; + default: + break; + } + } + + for (const node of summary.nodes) { + recurseNodes(node); + } + + if (retVal === '') { + return null; + } + + return retVal; +} diff --git a/package.json b/package.json index fb595fd834c4..b7e01d809d03 100644 --- a/package.json +++ b/package.json @@ -46,19 +46,19 @@ }, "homepage": "https://discord.js.org", "devDependencies": { - "@commitlint/cli": "^17.6.0", - "@commitlint/config-angular": "^17.6.0", + "@commitlint/cli": "^17.5.1", + "@commitlint/config-angular": "^17.4.4", "@favware/cliff-jumper": "^2.0.0", "@favware/npm-deprecate": "^1.0.7", "conventional-changelog-cli": "^2.2.2", "husky": "^8.0.3", "is-ci": "^3.0.1", - "lint-staged": "^13.2.1", + "lint-staged": "^13.2.0", "tsup": "^6.7.0", - "turbo": "^1.9.1", - "typescript": "^5.0.4", - "unocss": "^0.51.4", - "vercel": "^28.18.5", + "turbo": "^1.8.8", + "typescript": "^5.0.3", + "unocss": "^0.50.6", + "vercel": "^28.18.3", "vitest": "^0.29.8" }, "resolutions": { diff --git a/packages/actions/package.json b/packages/actions/package.json index d74fca2830a8..eb9211c304f9 100644 --- a/packages/actions/package.json +++ b/packages/actions/package.json @@ -41,20 +41,20 @@ "dependencies": { "@actions/core": "^1.10.0", "@actions/glob": "^0.4.0", - "@planetscale/database": "^1.7.0", + "@planetscale/database": "^1.6.0", "tslib": "^2.5.0", - "undici": "^5.21.2" + "undici": "^5.21.0" }, "devDependencies": { "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/actions/src/uploadDocumentation/action.yml b/packages/actions/src/uploadDocumentation/action.yml index 60e0ef272215..3ff169c80176 100644 --- a/packages/actions/src/uploadDocumentation/action.yml +++ b/packages/actions/src/uploadDocumentation/action.yml @@ -1,5 +1,5 @@ name: 'Upload documentation' -description: 'Uploads the docs.api.json file to a planetscale database' +description: 'Uploads the docs.json file to a planetscale database' inputs: package: description: 'The package string' diff --git a/packages/actions/src/uploadDocumentation/index.ts b/packages/actions/src/uploadDocumentation/index.ts index 8cf82eb23a6e..8570c806b420 100644 --- a/packages/actions/src/uploadDocumentation/index.ts +++ b/packages/actions/src/uploadDocumentation/index.ts @@ -6,7 +6,7 @@ import { connect } from '@planetscale/database'; import { fetch } from 'undici'; if (!process.env.DATABASE_URL) { - setFailed('DATABASE_URL is not set'); + process.exit(0); } const pkg = getInput('package', { required: true }); @@ -14,14 +14,13 @@ const version = getInput('version') || 'main'; const sql = connect({ fetch, - url: process.env.DATABASE_URL!, + url: process.env.DATABASE_URL, }); -const globber = await create(`docs/${pkg}/docs/docs.api.json`); +const globber = await create(`packages/${pkg}/docs/docs.api.json`); for await (const file of globber.globGenerator()) { const data = await readFile(file, 'utf8'); try { - console.log(`Uploading ${file} with ${version}...`); await sql.execute('replace into documentation (version, data) values (?, ?)', [version, data]); } catch (error) { const err = error as Error; diff --git a/packages/api-extractor-utils/package.json b/packages/api-extractor-utils/package.json index da053a250681..e2b1ea862aed 100644 --- a/packages/api-extractor-utils/package.json +++ b/packages/api-extractor-utils/package.json @@ -37,12 +37,12 @@ "devDependencies": { "@types/node": "16.18.23", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4" + "typescript": "^5.0.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/brokers/docs/README.md b/packages/brokers/docs/README.md index 29247c8cea21..88e2e10f72f2 100644 --- a/packages/brokers/docs/README.md +++ b/packages/brokers/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/brokers/main) +## [View the documentation here.](https://discord.js.org/#/docs/brokers) diff --git a/packages/brokers/package.json b/packages/brokers/package.json index ebd4135ea942..b7773a36a161 100644 --- a/packages/brokers/package.json +++ b/packages/brokers/package.json @@ -58,21 +58,21 @@ "homepage": "https://discord.js.org", "dependencies": { "@msgpack/msgpack": "^3.0.0-beta2", - "@vladfrangu/async_event_emitter": "^2.2.1", + "@vladfrangu/async_event_emitter": "^2.1.4", "ioredis": "^5.3.1" }, "devDependencies": { "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/brokers/src/brokers/Broker.ts b/packages/brokers/src/brokers/Broker.ts index 7664051cd767..2ce6ceaeb4f7 100644 --- a/packages/brokers/src/brokers/Broker.ts +++ b/packages/brokers/src/brokers/Broker.ts @@ -26,9 +26,7 @@ export interface BaseBrokerOptions { */ maxChunk?: number; /** - * Unique consumer name. - * - * @see {@link https://redis.io/commands/xreadgroup/} + * Unique consumer name. See: https://redis.io/commands/xreadgroup/ */ name?: string; } diff --git a/packages/brokers/src/brokers/redis/BaseRedis.ts b/packages/brokers/src/brokers/redis/BaseRedis.ts index e13acdd57c2d..1e95913b4c05 100644 --- a/packages/brokers/src/brokers/redis/BaseRedis.ts +++ b/packages/brokers/src/brokers/redis/BaseRedis.ts @@ -32,7 +32,7 @@ export abstract class BaseRedisBroker> implements IBaseBroker { /** - * Used for Redis queues, see the 3rd argument taken by {@link https://redis.io/commands/xadd | xadd} + * Used for Redis queues, see the 3rd argument taken by {@link https://redis.io/commands/xadd | xadd } */ public static readonly STREAM_DATA_KEY = 'data'; diff --git a/packages/builders/docs/README.md b/packages/builders/docs/README.md index efed4aba3991..b5a4bb01b18c 100644 --- a/packages/builders/docs/README.md +++ b/packages/builders/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/builders/main) +## [View the documentation here.](https://discord.js.org/#/docs/builders) diff --git a/packages/builders/package.json b/packages/builders/package.json index ae22083b8f06..95b60bc8a614 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -57,8 +57,8 @@ "dependencies": { "@discordjs/formatters": "workspace:^", "@discordjs/util": "workspace:^", - "@sapphire/shapeshift": "^3.8.2", - "discord-api-types": "^0.37.38", + "@sapphire/shapeshift": "^3.8.1", + "discord-api-types": "^0.37.37", "fast-deep-equal": "^3.1.3", "ts-mixer": "^6.0.3", "tslib": "^2.5.0" @@ -67,16 +67,16 @@ "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", "downlevel-dts": "^0.11.0", "esbuild-plugin-version-injector": "^1.1.0", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/builders/src/components/ActionRow.ts b/packages/builders/src/components/ActionRow.ts index 05ed65684fb5..90dda30cae9e 100644 --- a/packages/builders/src/components/ActionRow.ts +++ b/packages/builders/src/components/ActionRow.ts @@ -18,21 +18,10 @@ import type { StringSelectMenuBuilder } from './selectMenu/StringSelectMenu.js'; import type { UserSelectMenuBuilder } from './selectMenu/UserSelectMenu.js'; import type { TextInputBuilder } from './textInput/TextInput.js'; -/** - * The builders that may be used for messages. - */ export type MessageComponentBuilder = | ActionRowBuilder | MessageActionRowComponentBuilder; - -/** - * The builders that may be used for modals. - */ export type ModalComponentBuilder = ActionRowBuilder | ModalActionRowComponentBuilder; - -/** - * The builders that may be used within an action row for messages. - */ export type MessageActionRowComponentBuilder = | ButtonBuilder | ChannelSelectMenuBuilder @@ -40,19 +29,11 @@ export type MessageActionRowComponentBuilder = | RoleSelectMenuBuilder | StringSelectMenuBuilder | UserSelectMenuBuilder; - -/** - * The builders that may be used within an action row for modals. - */ export type ModalActionRowComponentBuilder = TextInputBuilder; - -/** - * Any builder. - */ export type AnyComponentBuilder = MessageActionRowComponentBuilder | ModalActionRowComponentBuilder; /** - * A builder that creates API-compatible JSON data for action rows. + * Represents an action row component * * @typeParam T - The types of components this action row holds */ @@ -60,16 +41,16 @@ export class ActionRowBuilder extends ComponentBu APIActionRowComponent > { /** - * The components within this action row. + * The components within this action row */ public readonly components: T[]; /** - * Creates a new action row from API data. + * Creates a new action row from API data * * @param data - The API data to create this action row with * @example - * Creating an action row from an API data object: + * Creating an action row from an API data object * ```ts * const actionRow = new ActionRowBuilder({ * components: [ @@ -83,7 +64,7 @@ export class ActionRowBuilder extends ComponentBu * }); * ``` * @example - * Creating an action row using setters and API data: + * Creating an action row using setters and API data * ```ts * const actionRow = new ActionRowBuilder({ * components: [ @@ -106,7 +87,7 @@ export class ActionRowBuilder extends ComponentBu /** * Adds components to this action row. * - * @param components - The components to add + * @param components - The components to add to this action row. */ public addComponents(...components: RestOrArray) { this.components.push(...normalizeArray(components)); @@ -114,9 +95,9 @@ export class ActionRowBuilder extends ComponentBu } /** - * Sets components for this action row. + * Sets the components in this action row * - * @param components - The components to set + * @param components - The components to set this row to */ public setComponents(...components: RestOrArray) { this.components.splice(0, this.components.length, ...normalizeArray(components)); diff --git a/packages/builders/src/components/Component.ts b/packages/builders/src/components/Component.ts index e5e59638dfb9..9fe213355f37 100644 --- a/packages/builders/src/components/Component.ts +++ b/packages/builders/src/components/Component.ts @@ -6,13 +6,10 @@ import type { ComponentType, } from 'discord-api-types/v10'; -/** - * Any action row component data represented as an object. - */ export type AnyAPIActionRowComponent = APIActionRowComponent | APIActionRowComponentTypes; /** - * The base component builder that contains common symbols for all sorts of components. + * Represents a discord component * * @typeParam DataType - The type of internal API data that is stored within the component */ @@ -21,12 +18,12 @@ export abstract class ComponentBuilder< > implements JSONEncodable { /** - * The API data associated with this component. + * The API data associated with this component */ public readonly data: Partial; /** - * Serializes this builder to API-compatible JSON data. + * Serializes this component to an API-compatible JSON object * * @remarks * This method runs validations on the data before serializing it. @@ -34,11 +31,6 @@ export abstract class ComponentBuilder< */ public abstract toJSON(): AnyAPIActionRowComponent; - /** - * Constructs a new kind of component. - * - * @param data - The data to construct a component out of - */ public constructor(data: Partial) { this.data = data; } diff --git a/packages/builders/src/components/Components.ts b/packages/builders/src/components/Components.ts index a8d287d05c56..d3e635ece957 100644 --- a/packages/builders/src/components/Components.ts +++ b/packages/builders/src/components/Components.ts @@ -14,63 +14,27 @@ import { StringSelectMenuBuilder } from './selectMenu/StringSelectMenu.js'; import { UserSelectMenuBuilder } from './selectMenu/UserSelectMenu.js'; import { TextInputBuilder } from './textInput/TextInput.js'; -/** - * Components here are mapped to their respective builder. - */ export interface MappedComponentTypes { - /** - * The action row component type is associated with an {@link ActionRowBuilder}. - */ [ComponentType.ActionRow]: ActionRowBuilder; - /** - * The button component type is associated with an {@link ButtonBuilder}. - */ [ComponentType.Button]: ButtonBuilder; - /** - * The string select component type is associated with an {@link StringSelectMenuBuilder}. - */ [ComponentType.StringSelect]: StringSelectMenuBuilder; - /** - * The text inpiut component type is associated with an {@link TextInputBuilder}. - */ [ComponentType.TextInput]: TextInputBuilder; - /** - * The user select component type is associated with an {@link UserSelectMenuBuilder}. - */ [ComponentType.UserSelect]: UserSelectMenuBuilder; - /** - * The role select component type is associated with an {@link RoleSelectMenuBuilder}. - */ [ComponentType.RoleSelect]: RoleSelectMenuBuilder; - /** - * The mentionable select component type is associated with an {@link MentionableSelectMenuBuilder}. - */ [ComponentType.MentionableSelect]: MentionableSelectMenuBuilder; - /** - * The channel select component type is associated with an {@link ChannelSelectMenuBuilder}. - */ [ComponentType.ChannelSelect]: ChannelSelectMenuBuilder; } /** - * Factory for creating components from API data. + * Factory for creating components from API data * - * @typeParam T - The type of component to use - * @param data - The API data to transform to a component class + * @param data - The api data to transform to a component class */ export function createComponentBuilder( // eslint-disable-next-line @typescript-eslint/sort-type-union-intersection-members data: (APIModalComponent | APIMessageComponent) & { type: T }, ): MappedComponentTypes[T]; - -/** - * Factory for creating components from API data. - * - * @typeParam C - The type of component to use - * @param data - The API data to transform to a component class - */ export function createComponentBuilder(data: C): C; - export function createComponentBuilder( data: APIMessageComponent | APIModalComponent | MessageComponentBuilder, ): ComponentBuilder { @@ -96,7 +60,7 @@ export function createComponentBuilder( case ComponentType.ChannelSelect: return new ChannelSelectMenuBuilder(data); default: - // @ts-expect-error This case can still occur if we get a newer unsupported component type + // @ts-expect-error: This case can still occur if we get a newer unsupported component type throw new Error(`Cannot properly serialize component type: ${data.type}`); } } diff --git a/packages/builders/src/components/button/Button.ts b/packages/builders/src/components/button/Button.ts index 30aad629b8a8..f6edbb863ed0 100644 --- a/packages/builders/src/components/button/Button.ts +++ b/packages/builders/src/components/button/Button.ts @@ -18,15 +18,15 @@ import { import { ComponentBuilder } from '../Component.js'; /** - * A builder that creates API-compatible JSON data for buttons. + * Represents a button component */ export class ButtonBuilder extends ComponentBuilder { /** - * Creates a new button from API data. + * Creates a new button from API data * * @param data - The API data to create this button with * @example - * Creating a button from an API data object: + * Creating a button from an API data object * ```ts * const button = new ButtonBuilder({ * custom_id: 'a cool button', @@ -39,7 +39,7 @@ export class ButtonBuilder extends ComponentBuilder { * }); * ``` * @example - * Creating a button using setters and API data: + * Creating a button using setters and API data * ```ts * const button = new ButtonBuilder({ * style: ButtonStyle.Secondary, @@ -54,9 +54,9 @@ export class ButtonBuilder extends ComponentBuilder { } /** - * Sets the style of this button. + * Sets the style of this button * - * @param style - The style to use + * @param style - The style of the button */ public setStyle(style: ButtonStyle) { this.data.style = buttonStyleValidator.parse(style); @@ -64,12 +64,12 @@ export class ButtonBuilder extends ComponentBuilder { } /** - * Sets the URL for this button. + * Sets the URL for this button * * @remarks * This method is only available to buttons using the `Link` button style. - * Only three types of URL schemes are currently supported: `https://`, `http://`, and `discord://`. - * @param url - The URL to use + * Only three types of URL schemes are currently supported: `https://`, `http://` and `discord://` + * @param url - The URL to open when this button is clicked */ public setURL(url: string) { (this.data as APIButtonComponentWithURL).url = urlValidator.parse(url); @@ -77,11 +77,11 @@ export class ButtonBuilder extends ComponentBuilder { } /** - * Sets the custom id for this button. + * Sets the custom id for this button * * @remarks * This method is only applicable to buttons that are not using the `Link` button style. - * @param customId - The custom id to use + * @param customId - The custom id to use for this button */ public setCustomId(customId: string) { (this.data as APIButtonComponentWithCustomId).custom_id = customIdValidator.parse(customId); @@ -89,9 +89,9 @@ export class ButtonBuilder extends ComponentBuilder { } /** - * Sets the emoji to display on this button. + * Sets the emoji to display on this button * - * @param emoji - The emoji to use + * @param emoji - The emoji to display on this button */ public setEmoji(emoji: APIMessageComponentEmoji) { this.data.emoji = emojiValidator.parse(emoji); @@ -99,7 +99,7 @@ export class ButtonBuilder extends ComponentBuilder { } /** - * Sets whether this button is disabled. + * Sets whether this button is disabled * * @param disabled - Whether to disable this button */ @@ -109,9 +109,9 @@ export class ButtonBuilder extends ComponentBuilder { } /** - * Sets the label for this button. + * Sets the label for this button * - * @param label - The label to use + * @param label - The label to display on this button */ public setLabel(label: string) { this.data.label = buttonLabelValidator.parse(label); diff --git a/packages/builders/src/components/selectMenu/BaseSelectMenu.ts b/packages/builders/src/components/selectMenu/BaseSelectMenu.ts index 458876e7fdc0..cd1a306ac8f8 100644 --- a/packages/builders/src/components/selectMenu/BaseSelectMenu.ts +++ b/packages/builders/src/components/selectMenu/BaseSelectMenu.ts @@ -2,18 +2,13 @@ import type { APISelectMenuComponent } from 'discord-api-types/v10'; import { customIdValidator, disabledValidator, minMaxValidator, placeholderValidator } from '../Assertions.js'; import { ComponentBuilder } from '../Component.js'; -/** - * The base select menu builder that contains common symbols for select menu builders. - * - * @typeParam SelectMenuType - The type of select menu this would be instantiated for. - */ export class BaseSelectMenuBuilder< SelectMenuType extends APISelectMenuComponent, > extends ComponentBuilder { /** - * Sets the placeholder for this select menu. + * Sets the placeholder for this select menu * - * @param placeholder - The placeholder to use + * @param placeholder - The placeholder to use for this select menu */ public setPlaceholder(placeholder: string) { this.data.placeholder = placeholderValidator.parse(placeholder); @@ -21,7 +16,7 @@ export class BaseSelectMenuBuilder< } /** - * Sets the minimum values that must be selected in the select menu. + * Sets the minimum values that must be selected in the select menu * * @param minValues - The minimum values that must be selected */ @@ -31,7 +26,7 @@ export class BaseSelectMenuBuilder< } /** - * Sets the maximum values that must be selected in the select menu. + * Sets the maximum values that must be selected in the select menu * * @param maxValues - The maximum values that must be selected */ @@ -41,9 +36,9 @@ export class BaseSelectMenuBuilder< } /** - * Sets the custom id for this select menu. + * Sets the custom id for this select menu * - * @param customId - The custom id to use + * @param customId - The custom id to use for this select menu */ public setCustomId(customId: string) { this.data.custom_id = customIdValidator.parse(customId); @@ -51,7 +46,7 @@ export class BaseSelectMenuBuilder< } /** - * Sets whether this select menu is disabled. + * Sets whether this select menu is disabled * * @param disabled - Whether this select menu is disabled */ @@ -60,9 +55,6 @@ export class BaseSelectMenuBuilder< return this; } - /** - * {@inheritDoc ComponentBuilder.toJSON} - */ public toJSON(): SelectMenuType { customIdValidator.parse(this.data.custom_id); return { diff --git a/packages/builders/src/components/selectMenu/ChannelSelectMenu.ts b/packages/builders/src/components/selectMenu/ChannelSelectMenu.ts index fe5b27b83ae1..a2d46f35e65c 100644 --- a/packages/builders/src/components/selectMenu/ChannelSelectMenu.ts +++ b/packages/builders/src/components/selectMenu/ChannelSelectMenu.ts @@ -4,16 +4,13 @@ import { normalizeArray, type RestOrArray } from '../../util/normalizeArray.js'; import { channelTypesValidator, customIdValidator } from '../Assertions.js'; import { BaseSelectMenuBuilder } from './BaseSelectMenu.js'; -/** - * A builder that creates API-compatible JSON data for channel select menus. - */ export class ChannelSelectMenuBuilder extends BaseSelectMenuBuilder { /** - * Creates a new select menu from API data. + * Creates a new select menu from API data * * @param data - The API data to create this select menu with * @example - * Creating a select menu from an API data object: + * Creating a select menu from an API data object * ```ts * const selectMenu = new ChannelSelectMenuBuilder({ * custom_id: 'a cool select menu', @@ -22,45 +19,39 @@ export class ChannelSelectMenuBuilder extends BaseSelectMenuBuilder) { super({ ...data, type: ComponentType.ChannelSelect }); } - /** - * Adds channel types to this select menu. - * - * @param types - The channel types to use - */ public addChannelTypes(...types: RestOrArray) { - const normalizedTypes = normalizeArray(types); + // eslint-disable-next-line no-param-reassign + types = normalizeArray(types); + this.data.channel_types ??= []; - this.data.channel_types.push(...channelTypesValidator.parse(normalizedTypes)); + this.data.channel_types.push(...channelTypesValidator.parse(types)); return this; } - /** - * Sets channel types for this select menu. - * - * @param types - The channel types to use - */ public setChannelTypes(...types: RestOrArray) { - const normalizedTypes = normalizeArray(types); + // eslint-disable-next-line no-param-reassign + types = normalizeArray(types); + this.data.channel_types ??= []; - this.data.channel_types.splice(0, this.data.channel_types.length, ...channelTypesValidator.parse(normalizedTypes)); + this.data.channel_types.splice(0, this.data.channel_types.length, ...channelTypesValidator.parse(types)); return this; } /** - * {@inheritDoc BaseSelectMenuBuilder.toJSON} + * {@inheritDoc ComponentBuilder.toJSON} */ public override toJSON(): APIChannelSelectComponent { customIdValidator.parse(this.data.custom_id); diff --git a/packages/builders/src/components/selectMenu/MentionableSelectMenu.ts b/packages/builders/src/components/selectMenu/MentionableSelectMenu.ts index a3a39a975fd8..c996e2b4776d 100644 --- a/packages/builders/src/components/selectMenu/MentionableSelectMenu.ts +++ b/packages/builders/src/components/selectMenu/MentionableSelectMenu.ts @@ -2,16 +2,13 @@ import type { APIMentionableSelectComponent } from 'discord-api-types/v10'; import { ComponentType } from 'discord-api-types/v10'; import { BaseSelectMenuBuilder } from './BaseSelectMenu.js'; -/** - * A builder that creates API-compatible JSON data for mentionable select menus. - */ export class MentionableSelectMenuBuilder extends BaseSelectMenuBuilder { /** - * Creates a new select menu from API data. + * Creates a new select menu from API data * * @param data - The API data to create this select menu with * @example - * Creating a select menu from an API data object: + * Creating a select menu from an API data object * ```ts * const selectMenu = new MentionableSelectMenuBuilder({ * custom_id: 'a cool select menu', @@ -20,12 +17,12 @@ export class MentionableSelectMenuBuilder extends BaseSelectMenuBuilder) { diff --git a/packages/builders/src/components/selectMenu/RoleSelectMenu.ts b/packages/builders/src/components/selectMenu/RoleSelectMenu.ts index 2055b5f536cc..818ef5b7763f 100644 --- a/packages/builders/src/components/selectMenu/RoleSelectMenu.ts +++ b/packages/builders/src/components/selectMenu/RoleSelectMenu.ts @@ -2,16 +2,13 @@ import type { APIRoleSelectComponent } from 'discord-api-types/v10'; import { ComponentType } from 'discord-api-types/v10'; import { BaseSelectMenuBuilder } from './BaseSelectMenu.js'; -/** - * A builder that creates API-compatible JSON data for role select menus. - */ export class RoleSelectMenuBuilder extends BaseSelectMenuBuilder { /** - * Creates a new select menu from API data. + * Creates a new select menu from API data * * @param data - The API data to create this select menu with * @example - * Creating a select menu from an API data object: + * Creating a select menu from an API data object * ```ts * const selectMenu = new RoleSelectMenuBuilder({ * custom_id: 'a cool select menu', @@ -20,12 +17,12 @@ export class RoleSelectMenuBuilder extends BaseSelectMenuBuilder) { diff --git a/packages/builders/src/components/selectMenu/StringSelectMenu.ts b/packages/builders/src/components/selectMenu/StringSelectMenu.ts index 9c6542387db0..e3f156be9dea 100644 --- a/packages/builders/src/components/selectMenu/StringSelectMenu.ts +++ b/packages/builders/src/components/selectMenu/StringSelectMenu.ts @@ -6,20 +6,20 @@ import { BaseSelectMenuBuilder } from './BaseSelectMenu.js'; import { StringSelectMenuOptionBuilder } from './StringSelectMenuOption.js'; /** - * A builder that creates API-compatible JSON data for string select menus. + * Represents a string select menu component */ export class StringSelectMenuBuilder extends BaseSelectMenuBuilder { /** - * The options within this select menu. + * The options within this select menu */ public readonly options: StringSelectMenuOptionBuilder[]; /** - * Creates a new select menu from API data. + * Creates a new select menu from API data * * @param data - The API data to create this select menu with * @example - * Creating a select menu from an API data object: + * Creating a select menu from an API data object * ```ts * const selectMenu = new StringSelectMenuBuilder({ * custom_id: 'a cool select menu', @@ -33,7 +33,7 @@ export class StringSelectMenuBuilder extends BaseSelectMenuBuilder) { - const normalizedOptions = normalizeArray(options); - optionsLengthValidator.parse(this.options.length + normalizedOptions.length); + // eslint-disable-next-line no-param-reassign + options = normalizeArray(options); + optionsLengthValidator.parse(this.options.length + options.length); this.options.push( - ...normalizedOptions.map((normalizedOption) => - normalizedOption instanceof StringSelectMenuOptionBuilder - ? normalizedOption - : new StringSelectMenuOptionBuilder(jsonOptionValidator.parse(normalizedOption)), + ...options.map((option) => + option instanceof StringSelectMenuOptionBuilder + ? option + : new StringSelectMenuOptionBuilder(jsonOptionValidator.parse(option)), ), ); return this; } /** - * Sets the options for this select menu. + * Sets the options on this select menu * - * @param options - The options to set + * @param options - The options to set on this select menu */ public setOptions(...options: RestOrArray) { return this.spliceOptions(0, this.options.length, ...options); } /** - * Removes, replaces, or inserts options for this select menu. + * Removes, replaces, or inserts options in the string select menu. * * @remarks * This method behaves similarly - * to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice | Array.prototype.splice()}. - * It's useful for modifying and adjusting the order of existing options. + * to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice | Array.prototype.splice}. + * + * It's useful for modifying and adjusting order of the already-existing options of a string select menu. * @example - * Remove the first option: + * Remove the first option * ```ts * selectMenu.spliceOptions(0, 1); * ``` * @example - * Remove the first n option: + * Remove the first n option * ```ts - * const n = 4; + * const n = 4 * selectMenu.spliceOptions(0, n); * ``` * @example - * Remove the last option: + * Remove the last option * ```ts * selectMenu.spliceOptions(-1, 1); * ``` @@ -110,27 +113,30 @@ export class StringSelectMenuBuilder extends BaseSelectMenuBuilder ) { - const normalizedOptions = normalizeArray(options); + // eslint-disable-next-line no-param-reassign + options = normalizeArray(options); const clone = [...this.options]; clone.splice( index, deleteCount, - ...normalizedOptions.map((normalizedOption) => - normalizedOption instanceof StringSelectMenuOptionBuilder - ? normalizedOption - : new StringSelectMenuOptionBuilder(jsonOptionValidator.parse(normalizedOption)), + ...options.map((option) => + option instanceof StringSelectMenuOptionBuilder + ? option + : new StringSelectMenuOptionBuilder(jsonOptionValidator.parse(option)), ), ); optionsLengthValidator.parse(clone.length); + this.options.splice(0, this.options.length, ...clone); + return this; } /** - * {@inheritDoc BaseSelectMenuBuilder.toJSON} + * {@inheritDoc ComponentBuilder.toJSON} */ public override toJSON(): APIStringSelectComponent { validateRequiredSelectMenuParameters(this.options, this.data.custom_id); diff --git a/packages/builders/src/components/selectMenu/StringSelectMenuOption.ts b/packages/builders/src/components/selectMenu/StringSelectMenuOption.ts index 3e45970878e2..c43145463947 100644 --- a/packages/builders/src/components/selectMenu/StringSelectMenuOption.ts +++ b/packages/builders/src/components/selectMenu/StringSelectMenuOption.ts @@ -8,15 +8,15 @@ import { } from '../Assertions.js'; /** - * A builder that creates API-compatible JSON data for string select menu options. + * Represents an option within a string select menu component */ export class StringSelectMenuOptionBuilder implements JSONEncodable { /** - * Creates a new string select menu option from API data. + * Creates a new string select menu option from API data * * @param data - The API data to create this string select menu option with * @example - * Creating a string select menu option from an API data object: + * Creating a string select menu option from an API data object * ```ts * const selectMenuOption = new SelectMenuOptionBuilder({ * label: 'catchy label', @@ -24,21 +24,21 @@ export class StringSelectMenuOptionBuilder implements JSONEncodable = {}) {} /** - * Sets the label for this option. + * Sets the label of this option * - * @param label - The label to use + * @param label - The label to show on this option */ public setLabel(label: string) { this.data.label = labelValueDescriptionValidator.parse(label); @@ -46,9 +46,9 @@ export class StringSelectMenuOptionBuilder implements JSONEncodable { /** - * Creates a new select menu from API data. + * Creates a new select menu from API data * * @param data - The API data to create this select menu with * @example - * Creating a select menu from an API data object: + * Creating a select menu from an API data object * ```ts * const selectMenu = new UserSelectMenuBuilder({ * custom_id: 'a cool select menu', @@ -20,12 +17,12 @@ export class UserSelectMenuBuilder extends BaseSelectMenuBuilder) { diff --git a/packages/builders/src/components/textInput/TextInput.ts b/packages/builders/src/components/textInput/TextInput.ts index 42a4583726e1..02b97cb8620b 100644 --- a/packages/builders/src/components/textInput/TextInput.ts +++ b/packages/builders/src/components/textInput/TextInput.ts @@ -14,19 +14,16 @@ import { textInputStyleValidator, } from './Assertions.js'; -/** - * A builder that creates API-compatible JSON data for text inputs. - */ export class TextInputBuilder extends ComponentBuilder implements Equatable> { /** - * Creates a new text input from API data. + * Creates a new text input from API data * * @param data - The API data to create this text input with * @example - * Creating a select menu option from an API data object: + * Creating a select menu option from an API data object * ```ts * const textInput = new TextInputBuilder({ * custom_id: 'a cool select menu', @@ -35,7 +32,7 @@ export class TextInputBuilder * }); * ``` * @example - * Creating a select menu option using setters and API data: + * Creating a select menu option using setters and API data * ```ts * const textInput = new TextInputBuilder({ * label: 'Type something else', @@ -49,9 +46,9 @@ export class TextInputBuilder } /** - * Sets the custom id for this text input. + * Sets the custom id for this text input * - * @param customId - The custom id to use + * @param customId - The custom id of this text input */ public setCustomId(customId: string) { this.data.custom_id = customIdValidator.parse(customId); @@ -59,9 +56,9 @@ export class TextInputBuilder } /** - * Sets the label for this text input. + * Sets the label for this text input * - * @param label - The label to use + * @param label - The label for this text input */ public setLabel(label: string) { this.data.label = labelValidator.parse(label); @@ -69,9 +66,9 @@ export class TextInputBuilder } /** - * Sets the style for this text input. + * Sets the style for this text input * - * @param style - The style to use + * @param style - The style for this text input */ public setStyle(style: TextInputStyle) { this.data.style = textInputStyleValidator.parse(style); @@ -79,7 +76,7 @@ export class TextInputBuilder } /** - * Sets the minimum length of text for this text input. + * Sets the minimum length of text for this text input * * @param minLength - The minimum length of text for this text input */ @@ -89,7 +86,7 @@ export class TextInputBuilder } /** - * Sets the maximum length of text for this text input. + * Sets the maximum length of text for this text input * * @param maxLength - The maximum length of text for this text input */ @@ -99,9 +96,9 @@ export class TextInputBuilder } /** - * Sets the placeholder for this text input. + * Sets the placeholder of this text input * - * @param placeholder - The placeholder to use + * @param placeholder - The placeholder of this text input */ public setPlaceholder(placeholder: string) { this.data.placeholder = placeholderValidator.parse(placeholder); @@ -109,9 +106,9 @@ export class TextInputBuilder } /** - * Sets the value for this text input. + * Sets the value of this text input * - * @param value - The value to use + * @param value - The value for this text input */ public setValue(value: string) { this.data.value = valueValidator.parse(value); @@ -119,7 +116,7 @@ export class TextInputBuilder } /** - * Sets whether this text input is required. + * Sets whether this text input is required * * @param required - Whether this text input is required */ diff --git a/packages/builders/src/index.ts b/packages/builders/src/index.ts index 7023786cfedf..f021c022f602 100644 --- a/packages/builders/src/index.ts +++ b/packages/builders/src/index.ts @@ -62,9 +62,8 @@ export * from './util/validation.js'; export * from '@discordjs/util'; /** - * The {@link https://github.com/discordjs/discord.js/blob/main/packages/builders#readme | @discordjs/builders} version + * The {@link https://github.com/discordjs/discord.js/blob/main/packages/builders/#readme | @discordjs/builders} version * that you are currently using. - * - * @privateRemarks This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild. */ +// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild export const version = '[VI]{{inject}}[/VI]' as string; diff --git a/packages/builders/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts b/packages/builders/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts index a4cb2be1d1d4..ea94da034f4b 100644 --- a/packages/builders/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts +++ b/packages/builders/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts @@ -15,54 +15,45 @@ import { validateDMPermission, } from './Assertions.js'; -/** - * The type a context menu command can be. - */ -export type ContextMenuCommandType = ApplicationCommandType.Message | ApplicationCommandType.User; - -/** - * A builder that creates API-compatible JSON data for context menu commands. - */ export class ContextMenuCommandBuilder { /** - * The name of this command. + * The name of this context menu command */ public readonly name: string = undefined!; /** - * The name localizations of this command. + * The localized names for this command */ public readonly name_localizations?: LocalizationMap; /** - * The type of this command. + * The type of this context menu command */ public readonly type: ContextMenuCommandType = undefined!; /** - * Whether this command is enabled by default when the application is added to a guild. + * Whether the command is enabled by default when the app is added to a guild * - * @deprecated Use {@link ContextMenuCommandBuilder.setDefaultMemberPermissions} or {@link ContextMenuCommandBuilder.setDMPermission} instead. + * @deprecated This property is deprecated and will be removed in the future. + * You should use {@link ContextMenuCommandBuilder.setDefaultMemberPermissions} or {@link ContextMenuCommandBuilder.setDMPermission} instead. */ public readonly default_permission: boolean | undefined = undefined; /** - * The set of permissions represented as a bit set for the command. + * Set of permissions represented as a bit set for the command */ public readonly default_member_permissions: Permissions | null | undefined = undefined; /** - * Indicates whether the command is available in direct messages with the application. - * - * @remarks - * By default, commands are visible. This property is only for global commands. + * Indicates whether the command is available in DMs with the application, only for globally-scoped commands. + * By default, commands are visible. */ public readonly dm_permission: boolean | undefined = undefined; /** - * Sets the name of this command. + * Sets the name * - * @param name - The name to use + * @param name - The name */ public setName(name: string) { // Assert the name matches the conditions @@ -74,9 +65,9 @@ export class ContextMenuCommandBuilder { } /** - * Sets the type of this command. + * Sets the type * - * @param type - The type to use + * @param type - The type */ public setType(type: ContextMenuCommandType) { // Assert the type is valid @@ -92,8 +83,8 @@ export class ContextMenuCommandBuilder { * * @remarks * If set to `false`, you will have to later `PUT` the permissions for this command. - * @param value - Whether to enable this command by default - * @see {@link https://discord.com/developers/docs/interactions/application-commands#permissions} + * @param value - Whether or not to enable this command by default + * @see https://discord.com/developers/docs/interactions/application-commands#permissions * @deprecated Use {@link ContextMenuCommandBuilder.setDefaultMemberPermissions} or {@link ContextMenuCommandBuilder.setDMPermission} instead. */ public setDefaultPermission(value: boolean) { @@ -106,12 +97,12 @@ export class ContextMenuCommandBuilder { } /** - * Sets the default permissions a member should have in order to run this command. + * Sets the default permissions a member should have in order to run the command. * * @remarks * You can set this to `'0'` to disable the command by default. * @param permissions - The permissions bit field to set - * @see {@link https://discord.com/developers/docs/interactions/application-commands#permissions} + * @see https://discord.com/developers/docs/interactions/application-commands#permissions */ public setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined) { // Assert the value and parse it @@ -123,12 +114,11 @@ export class ContextMenuCommandBuilder { } /** - * Sets if the command is available in direct messages with the application. + * Sets if the command is available in DMs with the application, only for globally-scoped commands. + * By default, commands are visible. * - * @remarks - * By default, commands are visible. This method is only for global commands. - * @param enabled - Whether the command should be enabled in direct messages - * @see {@link https://discord.com/developers/docs/interactions/application-commands#permissions} + * @param enabled - If the command should be enabled in DMs + * @see https://discord.com/developers/docs/interactions/application-commands#permissions */ public setDMPermission(enabled: boolean | null | undefined) { // Assert the value matches the conditions @@ -140,10 +130,10 @@ export class ContextMenuCommandBuilder { } /** - * Sets a name localization for this command. + * Sets a name localization * - * @param locale - The locale to set - * @param localizedName - The localized name for the given `locale` + * @param locale - The locale to set a description for + * @param localizedName - The localized description for the given locale */ public setNameLocalization(locale: LocaleString, localizedName: string | null) { if (!this.name_localizations) { @@ -164,9 +154,9 @@ export class ContextMenuCommandBuilder { } /** - * Sets the name localizations for this command. + * Sets the name localizations * - * @param localizedNames - The object of localized names to set + * @param localizedNames - The dictionary of localized descriptions to set */ public setNameLocalizations(localizedNames: LocalizationMap | null) { if (localizedNames === null) { @@ -182,7 +172,7 @@ export class ContextMenuCommandBuilder { } /** - * Serializes this builder to API-compatible JSON data. + * Returns the final data that should be sent to Discord. * * @remarks * This method runs validations on the data before serializing it. @@ -196,3 +186,5 @@ export class ContextMenuCommandBuilder { return { ...this }; } } + +export type ContextMenuCommandType = ApplicationCommandType.Message | ApplicationCommandType.User; diff --git a/packages/builders/src/interactions/modals/Modal.ts b/packages/builders/src/interactions/modals/Modal.ts index 948d774df203..46cd4b3fc133 100644 --- a/packages/builders/src/interactions/modals/Modal.ts +++ b/packages/builders/src/interactions/modals/Modal.ts @@ -1,5 +1,3 @@ -/* eslint-disable jsdoc/check-param-names */ - import type { JSONEncodable } from '@discordjs/util'; import type { APIActionRowComponent, @@ -12,25 +10,11 @@ import { createComponentBuilder } from '../../components/Components.js'; import { normalizeArray, type RestOrArray } from '../../util/normalizeArray.js'; import { titleValidator, validateRequiredParameters } from './Assertions.js'; -/** - * A builder that creates API-compatible JSON data for modals. - */ export class ModalBuilder implements JSONEncodable { - /** - * The API data associated with this modal. - */ public readonly data: Partial; - /** - * The components within this modal. - */ public readonly components: ActionRowBuilder[] = []; - /** - * Creates a new modal from API data. - * - * @param data - The API data to create this modal with - */ public constructor({ components, ...data }: Partial = {}) { this.data = { ...data }; this.components = (components?.map((component) => createComponentBuilder(component)) ?? @@ -38,9 +22,9 @@ export class ModalBuilder implements JSONEncodable>) { this.components.splice(0, this.components.length, ...normalizeArray(components)); diff --git a/packages/builders/src/interactions/slashCommands/SlashCommandBuilder.ts b/packages/builders/src/interactions/slashCommands/SlashCommandBuilder.ts index d10ba093ed52..56e207f47a33 100644 --- a/packages/builders/src/interactions/slashCommands/SlashCommandBuilder.ts +++ b/packages/builders/src/interactions/slashCommands/SlashCommandBuilder.ts @@ -19,69 +19,84 @@ import { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } fro import { SharedNameAndDescription } from './mixins/NameAndDescription.js'; import { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions.js'; -/** - * A builder that creates API-compatible JSON data for slash commands. - */ @mix(SharedSlashCommandOptions, SharedNameAndDescription) export class SlashCommandBuilder { /** - * The name of this command. + * The name of this slash command */ public readonly name: string = undefined!; /** - * The name localizations of this command. + * The localized names for this command */ public readonly name_localizations?: LocalizationMap; /** - * The description of this command. + * The description of this slash command */ public readonly description: string = undefined!; /** - * The description localizations of this command. + * The localized descriptions for this command */ public readonly description_localizations?: LocalizationMap; /** - * The options of this command. + * The options of this slash command */ public readonly options: ToAPIApplicationCommandOptions[] = []; /** - * Whether this command is enabled by default when the application is added to a guild. + * Whether the command is enabled by default when the app is added to a guild * - * @deprecated Use {@link ContextMenuCommandBuilder.setDefaultMemberPermissions} or {@link ContextMenuCommandBuilder.setDMPermission} instead. + * @deprecated This property is deprecated and will be removed in the future. + * You should use {@link (SlashCommandBuilder:class).setDefaultMemberPermissions} or {@link (SlashCommandBuilder:class).setDMPermission} instead. */ public readonly default_permission: boolean | undefined = undefined; /** - * The set of permissions represented as a bit set for the command. + * Set of permissions represented as a bit set for the command */ public readonly default_member_permissions: Permissions | null | undefined = undefined; /** - * Indicates whether the command is available in direct messages with the application. - * - * @remarks - * By default, commands are visible. This property is only for global commands. + * Indicates whether the command is available in DMs with the application, only for globally-scoped commands. + * By default, commands are visible. */ public readonly dm_permission: boolean | undefined = undefined; /** - * Whether this command is NSFW. + * Whether this command is NSFW */ public readonly nsfw: boolean | undefined = undefined; + /** + * Returns the final data that should be sent to Discord. + * + * @remarks + * This method runs validations on the data before serializing it. + * As such, it may throw an error if the data is invalid. + */ + public toJSON(): RESTPostAPIChatInputApplicationCommandsJSONBody { + validateRequiredParameters(this.name, this.description, this.options); + + validateLocalizationMap(this.name_localizations); + validateLocalizationMap(this.description_localizations); + + return { + ...this, + options: this.options.map((option) => option.toJSON()), + }; + } + /** * Sets whether the command is enabled by default when the application is added to a guild. * * @remarks * If set to `false`, you will have to later `PUT` the permissions for this command. * @param value - Whether or not to enable this command by default - * @see {@link https://discord.com/developers/docs/interactions/application-commands#permissions} - * @deprecated Use {@link SlashCommandBuilder.setDefaultMemberPermissions} or {@link SlashCommandBuilder.setDMPermission} instead. + * @see https://discord.com/developers/docs/interactions/application-commands#permissions + * @deprecated Use {@link (SlashCommandBuilder:class).setDefaultMemberPermissions} or {@link (SlashCommandBuilder:class).setDMPermission} instead. */ public setDefaultPermission(value: boolean) { // Assert the value matches the conditions @@ -98,7 +113,7 @@ export class SlashCommandBuilder { * @remarks * You can set this to `'0'` to disable the command by default. * @param permissions - The permissions bit field to set - * @see {@link https://discord.com/developers/docs/interactions/application-commands#permissions} + * @see https://discord.com/developers/docs/interactions/application-commands#permissions */ public setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined) { // Assert the value and parse it @@ -110,12 +125,11 @@ export class SlashCommandBuilder { } /** - * Sets if the command is available in direct messages with the application. + * Sets if the command is available in DMs with the application, only for globally-scoped commands. + * By default, commands are visible. * - * @remarks - * By default, commands are visible. This method is only for global commands. - * @param enabled - Whether the command should be enabled in direct messages - * @see {@link https://discord.com/developers/docs/interactions/application-commands#permissions} + * @param enabled - If the command should be enabled in DMs + * @see https://discord.com/developers/docs/interactions/application-commands#permissions */ public setDMPermission(enabled: boolean | null | undefined) { // Assert the value matches the conditions @@ -127,7 +141,7 @@ export class SlashCommandBuilder { } /** - * Sets whether this command is NSFW. + * Sets whether this command is NSFW * * @param nsfw - Whether this command is NSFW */ @@ -139,9 +153,9 @@ export class SlashCommandBuilder { } /** - * Adds a new subcommand group to this command. + * Adds a new subcommand group to this command * - * @param input - A function that returns a subcommand group builder or an already built builder + * @param input - A function that returns a subcommand group builder, or an already built builder */ public addSubcommandGroup( input: @@ -165,9 +179,9 @@ export class SlashCommandBuilder { } /** - * Adds a new subcommand to this command. + * Adds a new subcommand to this command * - * @param input - A function that returns a subcommand builder or an already built builder + * @param input - A function that returns a subcommand builder, or an already built builder */ public addSubcommand( input: @@ -189,47 +203,18 @@ export class SlashCommandBuilder { return this; } - - /** - * Serializes this builder to API-compatible JSON data. - * - * @remarks - * This method runs validations on the data before serializing it. - * As such, it may throw an error if the data is invalid. - */ - public toJSON(): RESTPostAPIChatInputApplicationCommandsJSONBody { - validateRequiredParameters(this.name, this.description, this.options); - - validateLocalizationMap(this.name_localizations); - validateLocalizationMap(this.description_localizations); - - return { - ...this, - options: this.options.map((option) => option.toJSON()), - }; - } } export interface SlashCommandBuilder extends SharedNameAndDescription, SharedSlashCommandOptions {} -/** - * An interface specifically for slash command subcommands. - */ export interface SlashCommandSubcommandsOnlyBuilder extends Omit> {} -/** - * An interface specifically for slash command options. - */ export interface SlashCommandOptionsOnlyBuilder extends SharedNameAndDescription, SharedSlashCommandOptions, Pick {} -/** - * An interface that ensures the `toJSON()` call will return something - * that can be serialized into API-compatible data. - */ export interface ToAPIApplicationCommandOptions { toJSON(): APIApplicationCommandOption; } diff --git a/packages/builders/src/interactions/slashCommands/SlashCommandSubcommands.ts b/packages/builders/src/interactions/slashCommands/SlashCommandSubcommands.ts index 38821537674f..e9b540448d65 100644 --- a/packages/builders/src/interactions/slashCommands/SlashCommandSubcommands.ts +++ b/packages/builders/src/interactions/slashCommands/SlashCommandSubcommands.ts @@ -11,31 +11,31 @@ import { SharedNameAndDescription } from './mixins/NameAndDescription.js'; import { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions.js'; /** - * Represents a folder for subcommands. + * Represents a folder for subcommands * - * @see {@link https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups} + * For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups */ @mix(SharedNameAndDescription) export class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationCommandOptions { /** - * The name of this subcommand group. + * The name of this subcommand group */ public readonly name: string = undefined!; /** - * The description of this subcommand group. + * The description of this subcommand group */ public readonly description: string = undefined!; /** - * The subcommands within this subcommand group. + * The subcommands part of this subcommand group */ public readonly options: SlashCommandSubcommandBuilder[] = []; /** - * Adds a new subcommand to this group. + * Adds a new subcommand to this group * - * @param input - A function that returns a subcommand builder or an already built builder + * @param input - A function that returns a subcommand builder, or an already built builder */ public addSubcommand( input: @@ -60,13 +60,6 @@ export class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationComma return this; } - /** - * Serializes this builder to API-compatible JSON data. - * - * @remarks - * This method runs validations on the data before serializing it. - * As such, it may throw an error if the data is invalid. - */ public toJSON(): APIApplicationCommandSubcommandGroupOption { validateRequiredParameters(this.name, this.description, this.options); @@ -84,34 +77,27 @@ export class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationComma export interface SlashCommandSubcommandGroupBuilder extends SharedNameAndDescription {} /** - * A builder that creates API-compatible JSON data for slash command subcommands. + * Represents a subcommand * - * @see {@link https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups} + * For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups */ @mix(SharedNameAndDescription, SharedSlashCommandOptions) export class SlashCommandSubcommandBuilder implements ToAPIApplicationCommandOptions { /** - * The name of this subcommand. + * The name of this subcommand */ public readonly name: string = undefined!; /** - * The description of this subcommand. + * The description of this subcommand */ public readonly description: string = undefined!; /** - * The options within this subcommand. + * The options of this subcommand */ public readonly options: ApplicationCommandOptionBase[] = []; - /** - * Serializes this builder to API-compatible JSON data. - * - * @remarks - * This method runs validations on the data before serializing it. - * As such, it may throw an error if the data is invalid. - */ public toJSON(): APIApplicationCommandSubcommandOption { validateRequiredParameters(this.name, this.description, this.options); diff --git a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts index 0cdbdbe6266f..5ac38d1f6a89 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts @@ -1,26 +1,17 @@ -/** - * This mixin holds minimum and maximum symbols used for options. - */ export abstract class ApplicationCommandNumericOptionMinMaxValueMixin { - /** - * The maximum value of this option. - */ public readonly max_value?: number; - /** - * The minimum value of this option. - */ public readonly min_value?: number; /** - * Sets the maximum number value of this option. + * Sets the maximum number value of this option * * @param max - The maximum value this option can be */ public abstract setMaxValue(max: number): this; /** - * Sets the minimum number value of this option. + * Sets the minimum number value of this option * * @param min - The minimum value this option can be */ diff --git a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts index 51f450e0f355..b40ce0c96934 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts @@ -2,26 +2,15 @@ import type { APIApplicationCommandBasicOption, ApplicationCommandOptionType } f import { validateRequiredParameters, validateRequired, validateLocalizationMap } from '../Assertions.js'; import { SharedNameAndDescription } from './NameAndDescription.js'; -/** - * The base application command option builder that contains common symbols for application command builders. - */ export abstract class ApplicationCommandOptionBase extends SharedNameAndDescription { - /** - * The type of this option. - */ public abstract readonly type: ApplicationCommandOptionType; - /** - * Whether this option is required. - * - * @defaultValue `false` - */ public readonly required: boolean = false; /** - * Sets whether this option is required. + * Marks the option as required * - * @param required - Whether this option should be required + * @param required - If this option should be required */ public setRequired(required: boolean) { // Assert that you actually passed a boolean @@ -32,18 +21,8 @@ export abstract class ApplicationCommandOptionBase extends SharedNameAndDescript return this; } - /** - * Serializes this builder to API-compatible JSON data. - * - * @remarks - * This method runs validations on the data before serializing it. - * As such, it may throw an error if the data is invalid. - */ public abstract toJSON(): APIApplicationCommandBasicOption; - /** - * This method runs required validators on this builder. - */ protected runRequiredValidations() { validateRequiredParameters(this.name, this.description, []); diff --git a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts index c97d996e7fb4..a9125ac04e98 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts @@ -1,12 +1,7 @@ import { s } from '@sapphire/shapeshift'; import { ChannelType } from 'discord-api-types/v10'; -/** - * The allowed channel types used for a channel option in a slash command builder. - * - * @privateRemarks This can't be dynamic because const enums are erased at runtime. - * @internal - */ +// Only allow valid channel types to be used. (This can't be dynamic because const enums are erased at runtime) const allowedChannelTypes = [ ChannelType.GuildText, ChannelType.GuildVoice, @@ -19,26 +14,17 @@ const allowedChannelTypes = [ ChannelType.GuildForum, ] as const; -/** - * The type of allowed channel types used for a channel option. - */ export type ApplicationCommandOptionAllowedChannelTypes = (typeof allowedChannelTypes)[number]; const channelTypesPredicate = s.array(s.union(...allowedChannelTypes.map((type) => s.literal(type)))); -/** - * This mixin holds channel type symbols used for options. - */ export class ApplicationCommandOptionChannelTypesMixin { - /** - * The channel types of this option. - */ public readonly channel_types?: ApplicationCommandOptionAllowedChannelTypes[]; /** - * Adds channel types to this option. + * Adds channel types to this option * - * @param channelTypes - The channel types + * @param channelTypes - The channel types to add */ public addChannelTypes(...channelTypes: ApplicationCommandOptionAllowedChannelTypes[]) { if (this.channel_types === undefined) { diff --git a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts index 29fdd1e3cabf..5ea7105f14c4 100644 --- a/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts +++ b/packages/builders/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts @@ -11,29 +11,16 @@ const choicesPredicate = s.object({ }).array; const booleanPredicate = s.boolean; -/** - * This mixin holds choices and autocomplete symbols used for options. - */ export class ApplicationCommandOptionWithChoicesAndAutocompleteMixin { - /** - * The choices of this option. - */ public readonly choices?: APIApplicationCommandOptionChoice[]; - /** - * Whether this option utilizes autocomplete. - */ public readonly autocomplete?: boolean; - /** - * The type of this option. - * - * @privateRemarks Since this is present and this is a mixin, this is needed. - */ + // Since this is present and this is a mixin, this is needed public readonly type!: ApplicationCommandOptionType; /** - * Adds multiple choices to this option. + * Adds multiple choices for this option * * @param choices - The choices to add */ @@ -64,11 +51,6 @@ export class ApplicationCommandOptionWithChoicesAndAutocompleteMixin[]>(...choices: Input): this { if (choices.length > 0 && this.autocomplete) { throw new RangeError('Autocomplete and choices are mutually exclusive to each other.'); @@ -83,9 +65,9 @@ export class ApplicationCommandOptionWithChoicesAndAutocompleteMixin { public readonly options!: ToAPIApplicationCommandOptions[]; /** - * Adds a boolean option. + * Adds a boolean option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addBooleanOption( input: SlashCommandBooleanOption | ((builder: SlashCommandBooleanOption) => SlashCommandBooleanOption), @@ -31,18 +26,18 @@ export class SharedSlashCommandOptions { } /** - * Adds a user option. + * Adds a user option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addUserOption(input: SlashCommandUserOption | ((builder: SlashCommandUserOption) => SlashCommandUserOption)) { return this._sharedAddOptionMethod(input, SlashCommandUserOption); } /** - * Adds a channel option. + * Adds a channel option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addChannelOption( input: SlashCommandChannelOption | ((builder: SlashCommandChannelOption) => SlashCommandChannelOption), @@ -51,18 +46,18 @@ export class SharedSlashCommandOptions { } /** - * Adds a role option. + * Adds a role option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addRoleOption(input: SlashCommandRoleOption | ((builder: SlashCommandRoleOption) => SlashCommandRoleOption)) { return this._sharedAddOptionMethod(input, SlashCommandRoleOption); } /** - * Adds an attachment option. + * Adds an attachment option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addAttachmentOption( input: SlashCommandAttachmentOption | ((builder: SlashCommandAttachmentOption) => SlashCommandAttachmentOption), @@ -71,9 +66,9 @@ export class SharedSlashCommandOptions { } /** - * Adds a mentionable option. + * Adds a mentionable option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addMentionableOption( input: SlashCommandMentionableOption | ((builder: SlashCommandMentionableOption) => SlashCommandMentionableOption), @@ -82,9 +77,9 @@ export class SharedSlashCommandOptions { } /** - * Adds a string option. + * Adds a string option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addStringOption( input: @@ -102,9 +97,9 @@ export class SharedSlashCommandOptions { } /** - * Adds an integer option. + * Adds an integer option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addIntegerOption( input: @@ -122,9 +117,9 @@ export class SharedSlashCommandOptions { } /** - * Adds a number option. + * Adds a number option * - * @param input - A function that returns an option builder or an already built builder + * @param input - A function that returns an option builder, or an already built builder */ public addNumberOption( input: @@ -141,13 +136,6 @@ export class SharedSlashCommandOptions { return this._sharedAddOptionMethod(input, SlashCommandNumberOption); } - /** - * Where the actual adding magic happens. ✨ - * - * @param input - The input. What else? - * @param Instance - The instance of whatever is being added - * @internal - */ private _sharedAddOptionMethod( input: | Omit diff --git a/packages/builders/src/interactions/slashCommands/options/attachment.ts b/packages/builders/src/interactions/slashCommands/options/attachment.ts index cb31812f1c4a..006911033f78 100644 --- a/packages/builders/src/interactions/slashCommands/options/attachment.ts +++ b/packages/builders/src/interactions/slashCommands/options/attachment.ts @@ -1,18 +1,9 @@ import { ApplicationCommandOptionType, type APIApplicationCommandAttachmentOption } from 'discord-api-types/v10'; import { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase.js'; -/** - * A slash command attachment option. - */ export class SlashCommandAttachmentOption extends ApplicationCommandOptionBase { - /** - * The type of this option. - */ public override readonly type = ApplicationCommandOptionType.Attachment as const; - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandAttachmentOption { this.runRequiredValidations(); diff --git a/packages/builders/src/interactions/slashCommands/options/boolean.ts b/packages/builders/src/interactions/slashCommands/options/boolean.ts index 5d82ea77c8ae..f2c9768bad6e 100644 --- a/packages/builders/src/interactions/slashCommands/options/boolean.ts +++ b/packages/builders/src/interactions/slashCommands/options/boolean.ts @@ -1,18 +1,9 @@ import { ApplicationCommandOptionType, type APIApplicationCommandBooleanOption } from 'discord-api-types/v10'; import { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase.js'; -/** - * A slash command boolean option. - */ export class SlashCommandBooleanOption extends ApplicationCommandOptionBase { - /** - * The type of this option. - */ public readonly type = ApplicationCommandOptionType.Boolean as const; - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandBooleanOption { this.runRequiredValidations(); diff --git a/packages/builders/src/interactions/slashCommands/options/channel.ts b/packages/builders/src/interactions/slashCommands/options/channel.ts index 89400820c004..e3dac0aa6c15 100644 --- a/packages/builders/src/interactions/slashCommands/options/channel.ts +++ b/packages/builders/src/interactions/slashCommands/options/channel.ts @@ -3,19 +3,10 @@ import { mix } from 'ts-mixer'; import { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase.js'; import { ApplicationCommandOptionChannelTypesMixin } from '../mixins/ApplicationCommandOptionChannelTypesMixin.js'; -/** - * A slash command channel option. - */ @mix(ApplicationCommandOptionChannelTypesMixin) export class SlashCommandChannelOption extends ApplicationCommandOptionBase { - /** - * The type of this option. - */ public override readonly type = ApplicationCommandOptionType.Channel as const; - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandChannelOption { this.runRequiredValidations(); diff --git a/packages/builders/src/interactions/slashCommands/options/integer.ts b/packages/builders/src/interactions/slashCommands/options/integer.ts index c51542c705f7..e8a98f4c44d0 100644 --- a/packages/builders/src/interactions/slashCommands/options/integer.ts +++ b/packages/builders/src/interactions/slashCommands/options/integer.ts @@ -7,17 +7,11 @@ import { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixi const numberValidator = s.number.int; -/** - * A slash command integer option. - */ @mix(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin) export class SlashCommandIntegerOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin { - /** - * The type of this option. - */ public readonly type = ApplicationCommandOptionType.Integer as const; /** @@ -42,9 +36,6 @@ export class SlashCommandIntegerOption return this; } - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandIntegerOption { this.runRequiredValidations(); diff --git a/packages/builders/src/interactions/slashCommands/options/mentionable.ts b/packages/builders/src/interactions/slashCommands/options/mentionable.ts index 56292f612675..91a0416dfd62 100644 --- a/packages/builders/src/interactions/slashCommands/options/mentionable.ts +++ b/packages/builders/src/interactions/slashCommands/options/mentionable.ts @@ -1,18 +1,9 @@ import { ApplicationCommandOptionType, type APIApplicationCommandMentionableOption } from 'discord-api-types/v10'; import { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase.js'; -/** - * A slash command mentionable option. - */ export class SlashCommandMentionableOption extends ApplicationCommandOptionBase { - /** - * The type of this option. - */ public readonly type = ApplicationCommandOptionType.Mentionable as const; - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandMentionableOption { this.runRequiredValidations(); diff --git a/packages/builders/src/interactions/slashCommands/options/number.ts b/packages/builders/src/interactions/slashCommands/options/number.ts index 040ed97da593..80b5cd6e5593 100644 --- a/packages/builders/src/interactions/slashCommands/options/number.ts +++ b/packages/builders/src/interactions/slashCommands/options/number.ts @@ -7,17 +7,11 @@ import { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixi const numberValidator = s.number; -/** - * A slash command number option. - */ @mix(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin) export class SlashCommandNumberOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin { - /** - * The type of this option. - */ public readonly type = ApplicationCommandOptionType.Number as const; /** @@ -42,9 +36,6 @@ export class SlashCommandNumberOption return this; } - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandNumberOption { this.runRequiredValidations(); diff --git a/packages/builders/src/interactions/slashCommands/options/role.ts b/packages/builders/src/interactions/slashCommands/options/role.ts index 8dca05d0adc6..4f5871d56069 100644 --- a/packages/builders/src/interactions/slashCommands/options/role.ts +++ b/packages/builders/src/interactions/slashCommands/options/role.ts @@ -1,18 +1,9 @@ import { ApplicationCommandOptionType, type APIApplicationCommandRoleOption } from 'discord-api-types/v10'; import { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase.js'; -/** - * A slash command role option. - */ export class SlashCommandRoleOption extends ApplicationCommandOptionBase { - /** - * The type of this option. - */ public override readonly type = ApplicationCommandOptionType.Role as const; - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandRoleOption { this.runRequiredValidations(); diff --git a/packages/builders/src/interactions/slashCommands/options/string.ts b/packages/builders/src/interactions/slashCommands/options/string.ts index 2136d74bff2c..345b7934a12a 100644 --- a/packages/builders/src/interactions/slashCommands/options/string.ts +++ b/packages/builders/src/interactions/slashCommands/options/string.ts @@ -7,24 +7,12 @@ import { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixi const minLengthValidator = s.number.greaterThanOrEqual(0).lessThanOrEqual(6_000); const maxLengthValidator = s.number.greaterThanOrEqual(1).lessThanOrEqual(6_000); -/** - * A slash command string option. - */ @mix(ApplicationCommandOptionWithChoicesAndAutocompleteMixin) export class SlashCommandStringOption extends ApplicationCommandOptionBase { - /** - * The type of this option. - */ public readonly type = ApplicationCommandOptionType.String as const; - /** - * The maximum length of this option. - */ public readonly max_length?: number; - /** - * The minimum length of this option. - */ public readonly min_length?: number; /** @@ -53,9 +41,6 @@ export class SlashCommandStringOption extends ApplicationCommandOptionBase { return this; } - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandStringOption { this.runRequiredValidations(); diff --git a/packages/builders/src/interactions/slashCommands/options/user.ts b/packages/builders/src/interactions/slashCommands/options/user.ts index 471faf96ce44..609450fa5d11 100644 --- a/packages/builders/src/interactions/slashCommands/options/user.ts +++ b/packages/builders/src/interactions/slashCommands/options/user.ts @@ -1,18 +1,9 @@ import { ApplicationCommandOptionType, type APIApplicationCommandUserOption } from 'discord-api-types/v10'; import { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase.js'; -/** - * A slash command user option. - */ export class SlashCommandUserOption extends ApplicationCommandOptionBase { - /** - * The type of this option. - */ public readonly type = ApplicationCommandOptionType.User as const; - /** - * {@inheritDoc ApplicationCommandOptionBase.toJSON} - */ public toJSON(): APIApplicationCommandUserOption { this.runRequiredValidations(); diff --git a/packages/builders/src/messages/embed/Embed.ts b/packages/builders/src/messages/embed/Embed.ts index ab3474b12184..5ced72817ba2 100644 --- a/packages/builders/src/messages/embed/Embed.ts +++ b/packages/builders/src/messages/embed/Embed.ts @@ -13,91 +13,59 @@ import { validateFieldLength, } from './Assertions.js'; -/** - * A tuple satisfying the RGB color model. - * - * @see {@link https://developer.mozilla.org/docs/Glossary/RGB} - */ export type RGBTuple = [red: number, green: number, blue: number]; -/** - * The base icon data typically used in payloads. - */ export interface IconData { /** - * The URL of the icon. + * The URL of the icon */ iconURL?: string; /** - * The proxy URL of the icon. + * The proxy URL of the icon */ proxyIconURL?: string; } -/** - * Represents the author data of an embed. - */ export type EmbedAuthorData = IconData & Omit; -/** - * Represents the author options of an embed. - */ export type EmbedAuthorOptions = Omit; -/** - * Represents the footer data of an embed. - */ export type EmbedFooterData = IconData & Omit; -/** - * Represents the footer options of an embed. - */ export type EmbedFooterOptions = Omit; -/** - * Represents the image data of an embed. - */ export interface EmbedImageData extends Omit { /** - * The proxy URL for the image. + * The proxy URL for the image */ proxyURL?: string; } - /** - * A builder that creates API-compatible JSON data for embeds. + * Represents a embed in a message (image/video preview, rich embed, etc.) */ export class EmbedBuilder { - /** - * The API data associated with this embed. - */ public readonly data: APIEmbed; - /** - * Creates a new embed from API data. - * - * @param data - The API data to create this embed with - */ public constructor(data: APIEmbed = {}) { this.data = { ...data }; if (data.timestamp) this.data.timestamp = new Date(data.timestamp).toISOString(); } /** - * Appends fields to the embed. + * Appends fields to the embed * * @remarks * This method accepts either an array of fields or a variable number of field parameters. * The maximum amount of fields that can be added is 25. * @example - * Using an array: + * Using an array * ```ts * const fields: APIEmbedField[] = ...; * const embed = new EmbedBuilder() * .addFields(fields); * ``` * @example - * Using rest parameters (variadic): + * Using rest parameters (variadic) * ```ts * const embed = new EmbedBuilder() * .addFields( @@ -108,40 +76,41 @@ export class EmbedBuilder { * @param fields - The fields to add */ public addFields(...fields: RestOrArray): this { - const normalizedFields = normalizeArray(fields); + // eslint-disable-next-line no-param-reassign + fields = normalizeArray(fields); // Ensure adding these fields won't exceed the 25 field limit - validateFieldLength(normalizedFields.length, this.data.fields); + validateFieldLength(fields.length, this.data.fields); // Data assertions - embedFieldsArrayPredicate.parse(normalizedFields); + embedFieldsArrayPredicate.parse(fields); - if (this.data.fields) this.data.fields.push(...normalizedFields); - else this.data.fields = normalizedFields; + if (this.data.fields) this.data.fields.push(...fields); + else this.data.fields = fields; return this; } /** - * Removes, replaces, or inserts fields for this embed. + * Removes, replaces, or inserts fields in the embed. * * @remarks * This method behaves similarly - * to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice()}. + * to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice}. * The maximum amount of fields that can be added is 25. * * It's useful for modifying and adjusting order of the already-existing fields of an embed. * @example - * Remove the first field: + * Remove the first field * ```ts * embed.spliceFields(0, 1); * ``` * @example - * Remove the first n fields: + * Remove the first n fields * ```ts - * const n = 4; + * const n = 4 * embed.spliceFields(0, n); * ``` * @example - * Remove the last field: + * Remove the last field * ```ts * embed.spliceFields(-1, 1); * ``` @@ -161,7 +130,7 @@ export class EmbedBuilder { } /** - * Sets the fields for this embed. + * Sets the embed's fields * * @remarks * This method is an alias for {@link EmbedBuilder.spliceFields}. More specifically, @@ -176,9 +145,9 @@ export class EmbedBuilder { } /** - * Sets the author of this embed. + * Sets the author of this embed * - * @param options - The options to use + * @param options - The options for the author */ public setAuthor(options: EmbedAuthorOptions | null): this { @@ -195,9 +164,9 @@ export class EmbedBuilder { } /** - * Sets the color of this embed. + * Sets the color of this embed * - * @param color - The color to use + * @param color - The color of the embed */ public setColor(color: RGBTuple | number | null): this { // Data assertions @@ -214,9 +183,9 @@ export class EmbedBuilder { } /** - * Sets the description of this embed. + * Sets the description of this embed * - * @param description - The description to use + * @param description - The description */ public setDescription(description: string | null): this { // Data assertions @@ -227,9 +196,9 @@ export class EmbedBuilder { } /** - * Sets the footer of this embed. + * Sets the footer of this embed * - * @param options - The footer to use + * @param options - The options for the footer */ public setFooter(options: EmbedFooterOptions | null): this { if (options === null) { @@ -245,9 +214,9 @@ export class EmbedBuilder { } /** - * Sets the image of this embed. + * Sets the image of this embed * - * @param url - The image URL to use + * @param url - The URL of the image */ public setImage(url: string | null): this { // Data assertions @@ -258,9 +227,9 @@ export class EmbedBuilder { } /** - * Sets the thumbnail of this embed. + * Sets the thumbnail of this embed * - * @param url - The thumbnail URL to use + * @param url - The URL of the thumbnail */ public setThumbnail(url: string | null): this { // Data assertions @@ -271,9 +240,9 @@ export class EmbedBuilder { } /** - * Sets the timestamp of this embed. + * Sets the timestamp of this embed * - * @param timestamp - The timestamp or date to use + * @param timestamp - The timestamp or date */ public setTimestamp(timestamp: Date | number | null = Date.now()): this { // Data assertions @@ -284,9 +253,9 @@ export class EmbedBuilder { } /** - * Sets the title for this embed. + * Sets the title of this embed * - * @param title - The title to use + * @param title - The title */ public setTitle(title: string | null): this { // Data assertions @@ -297,9 +266,9 @@ export class EmbedBuilder { } /** - * Sets the URL of this embed. + * Sets the URL of this embed * - * @param url - The URL to use + * @param url - The URL */ public setURL(url: string | null): this { // Data assertions @@ -310,11 +279,7 @@ export class EmbedBuilder { } /** - * Serializes this builder to API-compatible JSON data. - * - * @remarks - * This method runs validations on the data before serializing it. - * As such, it may throw an error if the data is invalid. + * Transforms the embed to a plain object */ public toJSON(): APIEmbed { return { ...this.data }; diff --git a/packages/builders/src/util/componentUtil.ts b/packages/builders/src/util/componentUtil.ts index f2439fb9925e..06ec6bf8c694 100644 --- a/packages/builders/src/util/componentUtil.ts +++ b/packages/builders/src/util/componentUtil.ts @@ -1,10 +1,5 @@ import type { APIEmbed } from 'discord-api-types/v10'; -/** - * Calculates the length of the embed. - * - * @param data - The embed data to check - */ export function embedLength(data: APIEmbed) { return ( (data.title?.length ?? 0) + diff --git a/packages/builders/src/util/normalizeArray.ts b/packages/builders/src/util/normalizeArray.ts index bf31830a324b..2fda6fbdf33b 100644 --- a/packages/builders/src/util/normalizeArray.ts +++ b/packages/builders/src/util/normalizeArray.ts @@ -1,19 +1,6 @@ -/** - * Normalizes data that is a rest parameter or an array into an array with a depth of 1. - * - * @typeParam T - The data that must satisfy {@link RestOrArray}. - * @param arr - The (possibly variadic) data to normalize - */ export function normalizeArray(arr: RestOrArray): T[] { if (Array.isArray(arr[0])) return arr[0]; return arr as T[]; } -/** - * Represents data that may be an array or came from a rest parameter. - * - * @remarks - * This type is used throughout builders to ensure both an array and variadic arguments - * may be used. It is normalized with {@link normalizeArray}. - */ export type RestOrArray = T[] | [T[]]; diff --git a/packages/builders/src/util/validation.ts b/packages/builders/src/util/validation.ts index 37e5c224bc6e..c2830f99926f 100644 --- a/packages/builders/src/util/validation.ts +++ b/packages/builders/src/util/validation.ts @@ -1,26 +1,5 @@ let validate = true; -/** - * Enables validators. - * - * @returns Whether validation is occurring. - */ -export function enableValidators() { - return (validate = true); -} - -/** - * Disables validators. - * - * @returns Whether validation is occurring. - */ -export function disableValidators() { - return (validate = false); -} - -/** - * Checks whether validation is occurring. - */ -export function isValidationEnabled() { - return validate; -} +export const enableValidators = () => (validate = true); +export const disableValidators = () => (validate = false); +export const isValidationEnabled = () => validate; diff --git a/packages/collection/docs/README.md b/packages/collection/docs/README.md index 7a63106ac796..e729e721f591 100644 --- a/packages/collection/docs/README.md +++ b/packages/collection/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/collection/main) +## [View the documentation here.](https://discord.js.org/#/docs/collection) diff --git a/packages/collection/package.json b/packages/collection/package.json index e729583fdf27..898441312be0 100644 --- a/packages/collection/package.json +++ b/packages/collection/package.json @@ -54,15 +54,15 @@ "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", "esbuild-plugin-version-injector": "^1.1.0", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/core/package.json b/packages/core/package.json index 8f5a43679598..016d0be3a6b1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -56,23 +56,23 @@ "@discordjs/rest": "workspace:^", "@discordjs/util": "workspace:^", "@discordjs/ws": "workspace:^", - "@sapphire/snowflake": "^3.4.2", - "@vladfrangu/async_event_emitter": "^2.2.1", - "discord-api-types": "^0.37.38" + "@sapphire/snowflake": "^3.4.0", + "@vladfrangu/async_event_emitter": "^2.1.4", + "discord-api-types": "^0.37.37" }, "devDependencies": { "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", "esbuild-plugin-version-injector": "^1.1.0", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/core/src/api/channel.ts b/packages/core/src/api/channel.ts index ae18a00dbc62..af4596845e96 100644 --- a/packages/core/src/api/channel.ts +++ b/packages/core/src/api/channel.ts @@ -61,7 +61,7 @@ export class ChannelsAPI { channelId: Snowflake, messageId: Snowflake, { files, ...body }: RESTPostAPIChannelMessageJSONBody & { files?: RawFile[] }, - { signal }: Pick = {}, + { signal }: Pick, ) { return this.rest.patch(Routes.channelMessage(channelId, messageId), { files, diff --git a/packages/core/src/api/guild.ts b/packages/core/src/api/guild.ts index 5993dcc533e8..8b4161c67302 100644 --- a/packages/core/src/api/guild.ts +++ b/packages/core/src/api/guild.ts @@ -98,7 +98,7 @@ export class GuildsAPI { * @param guildId - The id of the guild * @param options - The options for fetching the guild */ - public async get(guildId: string, { signal }: Pick = {}) { + public async get(guildId: string, { signal }: Pick) { return this.rest.get(Routes.guild(guildId), { signal }) as Promise; } @@ -109,7 +109,7 @@ export class GuildsAPI { * @param guildId - The id of the guild to fetch the preview from * @param options - The options for fetching the guild preview */ - public async getPreview(guildId: Snowflake, { signal }: Pick = {}) { + public async getPreview(guildId: Snowflake, { signal }: Pick) { return this.rest.get(Routes.guildPreview(guildId), { signal, }) as Promise; @@ -122,7 +122,7 @@ export class GuildsAPI { * @param body - The guild to create * @param options - The options for creating the guild */ - public async create(body: RESTPostAPIGuildsJSONBody, { signal }: Pick = {}) { + public async create(body: RESTPostAPIGuildsJSONBody, { signal }: Pick) { return this.rest.post(Routes.guilds(), { body, signal }) as Promise; } @@ -361,7 +361,7 @@ export class GuildsAPI { public async deleteRole( guildId: Snowflake, roleId: Snowflake, - { reason, signal }: Pick = {}, + { reason, signal }: Pick, ) { await this.rest.delete(Routes.guildRole(guildId, roleId), { reason, signal }); } @@ -1129,7 +1129,7 @@ export class GuildsAPI { guildId: Snowflake, userId: Snowflake, roleId: Snowflake, - { reason, signal }: Pick = {}, + { reason, signal }: Pick, ) { await this.rest.delete(Routes.guildMemberRole(guildId, userId, roleId), { reason, signal }); } diff --git a/packages/core/src/api/interactions.ts b/packages/core/src/api/interactions.ts index 06cfa55f2a14..885efdcddae1 100644 --- a/packages/core/src/api/interactions.ts +++ b/packages/core/src/api/interactions.ts @@ -51,7 +51,7 @@ export class InteractionsAPI { public async defer( interactionId: Snowflake, interactionToken: string, - data?: APIInteractionResponseDeferredChannelMessageWithSource['data'], + data: APIInteractionResponseDeferredChannelMessageWithSource['data'], { signal }: Pick = {}, ) { await this.rest.post(Routes.interactionCallback(interactionId, interactionToken), { @@ -138,7 +138,7 @@ export class InteractionsAPI { public async getOriginalReply( applicationId: Snowflake, interactionToken: string, - { signal }: Pick = {}, + { signal }: Pick, ) { return this.webhooks.getMessage( applicationId, diff --git a/packages/core/src/api/webhook.ts b/packages/core/src/api/webhook.ts index 12031a880b02..e307b3f4f863 100644 --- a/packages/core/src/api/webhook.ts +++ b/packages/core/src/api/webhook.ts @@ -1,6 +1,6 @@ import { makeURLSearchParams, type RequestData, type RawFile, type REST } from '@discordjs/rest'; +import { Routes } from 'discord-api-types/v10'; import { - Routes, type RESTGetAPIWebhookWithTokenMessageQuery, type RESTGetAPIChannelMessageResult, type RESTGetAPIWebhookResult, @@ -103,7 +103,7 @@ export class WebhooksAPI { id: Snowflake, token: string, body: RESTPostAPIWebhookWithTokenJSONBody & RESTPostAPIWebhookWithTokenQuery & { files?: RawFile[]; wait: true }, - options?: Pick, + { signal }: Pick, ): Promise; /** @@ -119,7 +119,7 @@ export class WebhooksAPI { id: Snowflake, token: string, body: RESTPostAPIWebhookWithTokenJSONBody & RESTPostAPIWebhookWithTokenQuery & { files?: RawFile[]; wait?: false }, - options?: Pick, + { signal }: Pick, ): Promise; /** @@ -238,11 +238,7 @@ export class WebhooksAPI { id: Snowflake, token: string, messageId: Snowflake, - { - thread_id, - files, - ...body - }: RESTPatchAPIWebhookWithTokenMessageJSONBody & { files?: RawFile[]; thread_id?: string }, + { thread_id, ...body }: RESTPatchAPIWebhookWithTokenMessageJSONBody & { thread_id?: string }, { signal }: Pick = {}, ) { return this.rest.patch(Routes.webhookMessage(id, token, messageId), { @@ -250,7 +246,6 @@ export class WebhooksAPI { auth: false, body, signal, - files, }) as Promise; } diff --git a/packages/discord.js/docs/README.md b/packages/discord.js/docs/README.md index 978bafce93ae..b5ac7978f77d 100644 --- a/packages/discord.js/docs/README.md +++ b/packages/discord.js/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/discord.js/main) +## [View the documentation here.](https://discord.js.org/#/docs) diff --git a/packages/discord.js/package.json b/packages/discord.js/package.json index 70c1863fce33..343462dc80fb 100644 --- a/packages/discord.js/package.json +++ b/packages/discord.js/package.json @@ -54,13 +54,13 @@ "@discordjs/formatters": "workspace:^", "@discordjs/rest": "workspace:^", "@discordjs/util": "workspace:^", - "@sapphire/snowflake": "^3.4.2", + "@sapphire/snowflake": "^3.4.0", "@types/ws": "^8.5.4", - "discord-api-types": "^0.37.38", + "discord-api-types": "^0.37.37", "fast-deep-equal": "^3.1.3", "lodash.snakecase": "^4.1.1", "tslib": "^2.5.0", - "undici": "^5.21.2", + "undici": "^5.21.0", "ws": "^8.13.0" }, "devDependencies": { @@ -68,13 +68,13 @@ "@favware/cliff-jumper": "^2.0.0", "@types/node": "16.18.23", "dtslint": "^4.2.1", - "eslint": "^8.38.0", + "eslint": "^8.37.0", "eslint-formatter-pretty": "^5.0.0", "jest": "^29.5.0", "prettier": "^2.8.7", "tsd": "^0.28.1", "tslint": "^6.1.3", - "typescript": "^5.0.4" + "typescript": "^5.0.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/discord.js/src/client/BaseClient.js b/packages/discord.js/src/client/BaseClient.js index 65e19c25309b..3020db823af3 100644 --- a/packages/discord.js/src/client/BaseClient.js +++ b/packages/discord.js/src/client/BaseClient.js @@ -77,5 +77,5 @@ module.exports = BaseClient; /** * @external REST - * @see {@link https://discord.js.org/docs/packages/rest/stable/REST:Class} + * @see {@link https://discord.js.org/#/docs/rest/main/class/REST} */ diff --git a/packages/discord.js/src/client/Client.js b/packages/discord.js/src/client/Client.js index 28f01a1a0dfb..9b0005b24d34 100644 --- a/packages/discord.js/src/client/Client.js +++ b/packages/discord.js/src/client/Client.js @@ -420,6 +420,9 @@ class Client extends BaseClient { if (!scopes.some(scope => [OAuth2Scopes.Bot, OAuth2Scopes.ApplicationsCommands].includes(scope))) { throw new DiscordjsTypeError(ErrorCodes.InvalidMissingScopes); } + if (scopes.some(scope => ![OAuth2Scopes.Bot].includes(scope)) && options.permissions) { + throw new DiscordjsTypeError(ErrorCodes.InvalidScopeWithPermissions); + } const validScopes = Object.values(OAuth2Scopes); const invalidScope = scopes.find(scope => !validScopes.includes(scope)); if (invalidScope) { @@ -512,22 +515,26 @@ class Client extends BaseClient { if (typeof options.failIfNotExists !== 'boolean') { throw new DiscordjsTypeError(ErrorCodes.ClientInvalidOption, 'failIfNotExists', 'a boolean'); } + if (options.allowedMentions && typeof options.allowedMentions !== 'object') { + throw new DiscordjsTypeError(ErrorCodes.ClientInvalidOption, 'allowedMentions', 'an object'); + } + if (typeof options.presence !== 'object') { + throw new DiscordjsTypeError(ErrorCodes.ClientInvalidOption, 'presence', 'an object'); + } + if (typeof options.ws !== 'object') { + throw new DiscordjsTypeError(ErrorCodes.ClientInvalidOption, 'ws', 'an object'); + } + if (typeof options.rest !== 'object') { + throw new DiscordjsTypeError(ErrorCodes.ClientInvalidOption, 'rest', 'an object'); + } + if (typeof options.jsonTransformer !== 'function') { + throw new DiscordjsTypeError(ErrorCodes.ClientInvalidOption, 'jsonTransformer', 'a function'); + } } } module.exports = Client; -/** - * @class SnowflakeUtil - * @classdesc This class is an alias for {@link https://www.npmjs.com/package/@sapphire/snowflake @sapphire/snowflake}'s - * `DiscordSnowflake` class. - * - * Check their documentation - * {@link https://www.sapphirejs.dev/docs/Documentation/api-utilities/classes/snowflake_src.Snowflake here} - * to see what you can do. - * @hideconstructor - */ - /** * A {@link https://developer.twitter.com/en/docs/twitter-ids Twitter snowflake}, * except the epoch is 2015-01-01T00:00:00.000Z. @@ -555,15 +562,15 @@ module.exports = Client; /** * @external Collection - * @see {@link https://discord.js.org/docs/packages/collection/stable/Collection:Class} + * @see {@link https://discord.js.org/#/docs/collection/main/class/Collection} */ /** * @external ImageURLOptions - * @see {@link https://discord.js.org/docs/packages/rest/stable/ImageURLOptions:Interface} + * @see {@link https://discord.js.org/#/docs/rest/main/typedef/ImageURLOptions} */ /** * @external BaseImageURLOptions - * @see {@link https://discord.js.org/docs/packages/rest/stable/BaseImageURLOptions:Interface} + * @see {@link https://discord.js.org/#/docs/rest/main/typedef/BaseImageURLOptions} */ diff --git a/packages/discord.js/src/errors/ErrorCodes.js b/packages/discord.js/src/errors/ErrorCodes.js index 3f074a1dad06..87a051aba703 100644 --- a/packages/discord.js/src/errors/ErrorCodes.js +++ b/packages/discord.js/src/errors/ErrorCodes.js @@ -142,6 +142,7 @@ * @property {'ModalSubmitInteractionFieldType'} ModalSubmitInteractionFieldType * @property {'InvalidMissingScopes'} InvalidMissingScopes + * @property {'InvalidScopeWithPermissions'} InvalidScopeWithPermissions * @property {'NotImplemented'} NotImplemented @@ -289,6 +290,7 @@ const keys = [ 'ModalSubmitInteractionFieldType', 'InvalidMissingScopes', + 'InvalidScopeWithPermissions', 'NotImplemented', diff --git a/packages/discord.js/src/errors/Messages.js b/packages/discord.js/src/errors/Messages.js index 1b79ec030023..da955c161456 100644 --- a/packages/discord.js/src/errors/Messages.js +++ b/packages/discord.js/src/errors/Messages.js @@ -155,6 +155,7 @@ const Messages = { `Field with custom id "${customId}" is of type: ${type}; expected ${expected}.`, [DjsErrorCodes.InvalidMissingScopes]: 'At least one valid scope must be provided for the invite', + [DjsErrorCodes.InvalidScopeWithPermissions]: 'Permissions cannot be set without the bot scope', [DjsErrorCodes.NotImplemented]: (what, name) => `Method ${what} not implemented on ${name}.`, diff --git a/packages/discord.js/src/managers/ApplicationCommandManager.js b/packages/discord.js/src/managers/ApplicationCommandManager.js index 388b7b408fe3..7d08dc916d07 100644 --- a/packages/discord.js/src/managers/ApplicationCommandManager.js +++ b/packages/discord.js/src/managers/ApplicationCommandManager.js @@ -66,10 +66,12 @@ class ApplicationCommandManager extends CachedManager { * @typedef {ApplicationCommand|Snowflake} ApplicationCommandResolvable */ + /* eslint-disable max-len */ /** * Data that resolves to the data of an ApplicationCommand - * @typedef {ApplicationCommandData|APIApplicationCommand} ApplicationCommandDataResolvable + * @typedef {ApplicationCommandData|APIApplicationCommand|JSONEncodable} ApplicationCommandDataResolvable */ + /* eslint-enable max-len */ /** * Options used to fetch data from Discord diff --git a/packages/discord.js/src/managers/GuildStickerManager.js b/packages/discord.js/src/managers/GuildStickerManager.js index a4974ecd7236..c32e85f31957 100644 --- a/packages/discord.js/src/managers/GuildStickerManager.js +++ b/packages/discord.js/src/managers/GuildStickerManager.js @@ -35,7 +35,7 @@ class GuildStickerManager extends CachedManager { /** * Options used to create a guild sticker. * @typedef {Object} GuildStickerCreateOptions - * @property {AttachmentPayload|BufferResolvable|Stream} file The file for the sticker + * @property {BufferResolvable|Stream|JSONEncodable} file The file for the sticker * @property {string} name The name for the sticker * @property {string} tags The Discord name of a unicode emoji representing the sticker's expression * @property {?string} [description] The description for the sticker diff --git a/packages/discord.js/src/managers/MessageManager.js b/packages/discord.js/src/managers/MessageManager.js index 28d622d2c79f..f93a54361bbe 100644 --- a/packages/discord.js/src/managers/MessageManager.js +++ b/packages/discord.js/src/managers/MessageManager.js @@ -151,7 +151,7 @@ class MessageManager extends CachedManager { /** * Options that can be passed to edit a message. * @typedef {BaseMessageOptions} MessageEditOptions - * @property {AttachmentPayload[]} [attachments] An array of attachments to keep, + * @property {Array>} [attachments] An array of attachments to keep, * all attachments will be kept if omitted * @property {MessageFlags} [flags] Which flags to set for the message * Only the {@link MessageFlags.SuppressEmbeds} flag can be modified. diff --git a/packages/discord.js/src/managers/RoleManager.js b/packages/discord.js/src/managers/RoleManager.js index e0c4ed7d97c7..87b9e5656935 100644 --- a/packages/discord.js/src/managers/RoleManager.js +++ b/packages/discord.js/src/managers/RoleManager.js @@ -307,14 +307,11 @@ class RoleManager extends CachedManager { throw new DiscordjsTypeError(ErrorCodes.InvalidType, 'role', 'Role nor a Snowflake'); } - const role1Position = resolvedRole1.position; - const role2Position = resolvedRole2.position; - - if (role1Position === role2Position) { + if (resolvedRole1.position === resolvedRole2.position) { return Number(BigInt(resolvedRole2.id) - BigInt(resolvedRole1.id)); } - return role1Position - role2Position; + return resolvedRole1.position - resolvedRole2.position; } /** diff --git a/packages/discord.js/src/structures/ActionRow.js b/packages/discord.js/src/structures/ActionRow.js index 3f858b7e3c0a..ffa2fe7ed314 100644 --- a/packages/discord.js/src/structures/ActionRow.js +++ b/packages/discord.js/src/structures/ActionRow.js @@ -25,7 +25,7 @@ class ActionRow extends Component { * Creates a new action row builder from JSON data * @method from * @memberof ActionRow - * @param {ActionRowBuilder|ActionRow|APIActionRowComponent} other The other data + * @param {JSONEncodable|APIActionRowComponent} other The other data * @returns {ActionRowBuilder} * @deprecated Use {@link ActionRowBuilder.from} instead. */ diff --git a/packages/discord.js/src/structures/ActionRowBuilder.js b/packages/discord.js/src/structures/ActionRowBuilder.js index 1d1650a8e310..eb5f27630a61 100644 --- a/packages/discord.js/src/structures/ActionRowBuilder.js +++ b/packages/discord.js/src/structures/ActionRowBuilder.js @@ -18,11 +18,15 @@ class ActionRowBuilder extends BuildersActionRow { /** * Creates a new action row builder from JSON data - * @param {ActionRow|ActionRowBuilder|APIActionRowComponent} other The other data + * @param {JSONEncodable> + * |APIActionRowComponent} other The other data * @returns {ActionRowBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -30,5 +34,5 @@ module.exports = ActionRowBuilder; /** * @external BuildersActionRow - * @see {@link https://discord.js.org/docs/packages/builders/stable/ActionRowBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/ActionRowBuilder} */ diff --git a/packages/discord.js/src/structures/ApplicationCommand.js b/packages/discord.js/src/structures/ApplicationCommand.js index bd87281c11f5..949a08a68ce9 100644 --- a/packages/discord.js/src/structures/ApplicationCommand.js +++ b/packages/discord.js/src/structures/ApplicationCommand.js @@ -602,5 +602,5 @@ module.exports = ApplicationCommand; /** * @external ApplicationCommandOptionAllowedChannelTypes - * @see {@link https://discord.js.org/docs/packages/builders/stable/ApplicationCommandOptionAllowedChannelTypes:TypeAlias} + * @see {@link https://discord.js.org/#/docs/builders/main/typedef/ApplicationCommandOptionAllowedChannelTypes} */ diff --git a/packages/discord.js/src/structures/AttachmentBuilder.js b/packages/discord.js/src/structures/AttachmentBuilder.js index 6c638108d843..e2e7cf5179cd 100644 --- a/packages/discord.js/src/structures/AttachmentBuilder.js +++ b/packages/discord.js/src/structures/AttachmentBuilder.js @@ -91,7 +91,7 @@ class AttachmentBuilder { /** * Makes a new builder instance from a preexisting attachment structure. - * @param {AttachmentBuilder|Attachment|AttachmentPayload} other The builder to construct a new instance from + * @param {JSONEncodable} other The builder to construct a new instance from * @returns {AttachmentBuilder} */ static from(other) { diff --git a/packages/discord.js/src/structures/ButtonBuilder.js b/packages/discord.js/src/structures/ButtonBuilder.js index f841f3854238..a32bf0015347 100644 --- a/packages/discord.js/src/structures/ButtonBuilder.js +++ b/packages/discord.js/src/structures/ButtonBuilder.js @@ -27,11 +27,14 @@ class ButtonBuilder extends BuildersButton { /** * Creates a new button builder from JSON data - * @param {ButtonBuilder|ButtonComponent|APIButtonComponent} other The other data + * @param {JSONEncodable|APIButtonComponent} other The other data * @returns {ButtonBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -39,5 +42,5 @@ module.exports = ButtonBuilder; /** * @external BuildersButton - * @see {@link https://discord.js.org/docs/packages/builders/stable/ButtonBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/ButtonBuilder} */ diff --git a/packages/discord.js/src/structures/CategoryChannel.js b/packages/discord.js/src/structures/CategoryChannel.js index d03804466b2b..df3621f4e138 100644 --- a/packages/discord.js/src/structures/CategoryChannel.js +++ b/packages/discord.js/src/structures/CategoryChannel.js @@ -8,22 +8,9 @@ const CategoryChannelChildManager = require('../managers/CategoryChannelChildMan * @extends {GuildChannel} */ class CategoryChannel extends GuildChannel { - /** - * The id of the parent of this channel. - * @name CategoryChannel#parentId - * @type {null} - */ - - /** - * The parent of this channel. - * @name CategoryChannel#parent - * @type {null} - * @readonly - */ - /** * Sets the category parent of this channel. - * It is not possible to set the parent of a CategoryChannel. + * It is not currently possible to set the parent of a CategoryChannel. * @method setParent * @memberof CategoryChannel * @instance diff --git a/packages/discord.js/src/structures/ChannelSelectMenuBuilder.js b/packages/discord.js/src/structures/ChannelSelectMenuBuilder.js index 54cde0471b74..324f70b3e27f 100644 --- a/packages/discord.js/src/structures/ChannelSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/ChannelSelectMenuBuilder.js @@ -13,12 +13,15 @@ class ChannelSelectMenuBuilder extends BuildersChannelSelectMenu { } /** - * Creates a new select menu builder from JSON data - * @param {ChannelSelectMenuBuilder|ChannelSelectMenuComponent|APIChannelSelectComponent} other The other data + * Creates a new select menu builder from json data + * @param {JSONEncodable | APISelectMenuComponent} other The other data * @returns {ChannelSelectMenuBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -26,5 +29,5 @@ module.exports = ChannelSelectMenuBuilder; /** * @external BuildersChannelSelectMenu - * @see {@link https://discord.js.org/docs/packages/builders/stable/ChannelSelectMenuBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/ChannelSelectMenuBuilder} */ diff --git a/packages/discord.js/src/structures/EmbedBuilder.js b/packages/discord.js/src/structures/EmbedBuilder.js index 825d056e1ce2..58d5c210436c 100644 --- a/packages/discord.js/src/structures/EmbedBuilder.js +++ b/packages/discord.js/src/structures/EmbedBuilder.js @@ -24,11 +24,14 @@ class EmbedBuilder extends BuildersEmbed { /** * Creates a new embed builder from JSON data - * @param {EmbedBuilder|Embed|APIEmbed} other The other data + * @param {JSONEncodable|APIEmbed} other The other data * @returns {EmbedBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -36,5 +39,5 @@ module.exports = EmbedBuilder; /** * @external BuildersEmbed - * @see {@link https://discord.js.org/docs/packages/builders/stable/EmbedBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/EmbedBuilder} */ diff --git a/packages/discord.js/src/structures/MentionableSelectMenuBuilder.js b/packages/discord.js/src/structures/MentionableSelectMenuBuilder.js index f66616e8ab03..d5673db6865e 100644 --- a/packages/discord.js/src/structures/MentionableSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/MentionableSelectMenuBuilder.js @@ -13,13 +13,15 @@ class MentionableSelectMenuBuilder extends BuildersMentionableSelectMenu { } /** - * Creates a new select menu builder from JSON data - * @param {MentionableSelectMenuBuilder|MentionableSelectMenuComponent|APIMentionableSelectComponent} other - * The other data + * Creates a new select menu builder from json data + * @param {JSONEncodable | APISelectMenuComponent} other The other data * @returns {MentionableSelectMenuBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -27,5 +29,5 @@ module.exports = MentionableSelectMenuBuilder; /** * @external BuildersMentionableSelectMenu - * @see {@link https://discord.js.org/docs/packages/builders/stable/MentionableSelectMenuBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/MentionableSelectMenuBuilder} */ diff --git a/packages/discord.js/src/structures/MessagePayload.js b/packages/discord.js/src/structures/MessagePayload.js index a2681afc8cfb..6bcac122a235 100644 --- a/packages/discord.js/src/structures/MessagePayload.js +++ b/packages/discord.js/src/structures/MessagePayload.js @@ -227,7 +227,8 @@ class MessagePayload { /** * Resolves a single file into an object sendable to the API. - * @param {AttachmentPayload|BufferResolvable|Stream} fileLike Something that could be resolved to a file + * @param {BufferResolvable|Stream|JSONEncodable} fileLike Something that could + * be resolved to a file * @returns {Promise} */ static async resolveFile(fileLike) { @@ -296,5 +297,5 @@ module.exports = MessagePayload; /** * @external RawFile - * @see {@link https://discord.js.org/docs/packages/rest/stable/RawFile:Interface} + * @see {@link https://discord.js.org/#/docs/rest/main/typedef/RawFile} */ diff --git a/packages/discord.js/src/structures/ModalBuilder.js b/packages/discord.js/src/structures/ModalBuilder.js index 40cf5d970c1e..84ddfbea29c4 100644 --- a/packages/discord.js/src/structures/ModalBuilder.js +++ b/packages/discord.js/src/structures/ModalBuilder.js @@ -17,11 +17,14 @@ class ModalBuilder extends BuildersModal { /** * Creates a new modal builder from JSON data - * @param {ModalBuilder|APIModalComponent} other The other data + * @param {JSONEncodable|APIModalComponent} other The other data * @returns {ModalBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -29,5 +32,5 @@ module.exports = ModalBuilder; /** * @external BuildersModal - * @see {@link https://discord.js.org/docs/packages/builders/stable/ModalBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/ModalBuilder} */ diff --git a/packages/discord.js/src/structures/RoleSelectMenuBuilder.js b/packages/discord.js/src/structures/RoleSelectMenuBuilder.js index c9d98c6f503e..a42b436fa2c8 100644 --- a/packages/discord.js/src/structures/RoleSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/RoleSelectMenuBuilder.js @@ -13,12 +13,15 @@ class RoleSelectMenuBuilder extends BuildersRoleSelectMenu { } /** - * Creates a new select menu builder from JSON data - * @param {RoleSelectMenuBuilder|RoleSelectMenuComponent|APIRoleSelectComponent} other The other data + * Creates a new select menu builder from json data + * @param {JSONEncodable | APISelectMenuComponent} other The other data * @returns {RoleSelectMenuBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -26,5 +29,5 @@ module.exports = RoleSelectMenuBuilder; /** * @external BuildersRoleSelectMenu - * @see {@link https://discord.js.org/docs/packages/builders/stable/RoleSelectMenuBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/RoleSelectMenuBuilder} */ diff --git a/packages/discord.js/src/structures/StringSelectMenuBuilder.js b/packages/discord.js/src/structures/StringSelectMenuBuilder.js index f82dbbf9bb49..3dd645e3cb53 100644 --- a/packages/discord.js/src/structures/StringSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/StringSelectMenuBuilder.js @@ -23,7 +23,7 @@ class StringSelectMenuBuilder extends BuildersSelectMenu { /** * Normalizes a select menu option emoji - * @param {SelectMenuOptionData|APISelectMenuOption} selectMenuOption The option to normalize + * @param {SelectMenuOptionData|JSONEncodable} selectMenuOption The option to normalize * @returns {SelectMenuOptionBuilder|APISelectMenuOption} * @private */ @@ -59,7 +59,7 @@ class StringSelectMenuBuilder extends BuildersSelectMenu { /** * Creates a new select menu builder from json data - * @param {StringSelectMenuBuilder|StringSelectMenuComponent|APIStringSelectComponent} other The other data + * @param {JSONEncodable | APISelectMenuComponent} other The other data * @returns {StringSelectMenuBuilder} */ static from(other) { @@ -74,5 +74,5 @@ module.exports = StringSelectMenuBuilder; /** * @external BuildersSelectMenu - * @see {@link https://discord.js.org/docs/packages/builders/stable/StringSelectMenuBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/SelectMenuBuilder} */ diff --git a/packages/discord.js/src/structures/StringSelectMenuOptionBuilder.js b/packages/discord.js/src/structures/StringSelectMenuOptionBuilder.js index 4b8ee5c8ee7f..f5fa6d9e6884 100644 --- a/packages/discord.js/src/structures/StringSelectMenuOptionBuilder.js +++ b/packages/discord.js/src/structures/StringSelectMenuOptionBuilder.js @@ -32,11 +32,14 @@ class StringSelectMenuOptionBuilder extends BuildersSelectMenuOption { /** * Creates a new select menu option builder from JSON data - * @param {StringSelectMenuOptionBuilder|APISelectMenuOption} other The other data + * @param {JSONEncodable|APISelectMenuOption} other The other data * @returns {StringSelectMenuOptionBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -44,5 +47,5 @@ module.exports = StringSelectMenuOptionBuilder; /** * @external BuildersSelectMenuOption - * @see {@link https://discord.js.org/docs/packages/builders/stable/SelectMenuOptionBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/SelectMenuOptionBuilder} */ diff --git a/packages/discord.js/src/structures/TextInputBuilder.js b/packages/discord.js/src/structures/TextInputBuilder.js index 2109d9c0fcd4..a30b3689b701 100644 --- a/packages/discord.js/src/structures/TextInputBuilder.js +++ b/packages/discord.js/src/structures/TextInputBuilder.js @@ -14,11 +14,14 @@ class TextInputBuilder extends BuildersTextInput { /** * Creates a new text input builder from JSON data - * @param {TextInputBuilder|TextInputComponent|APITextInputComponent} other The other data + * @param {JSONEncodable|APITextInputComponent} other The other data * @returns {TextInputBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -26,5 +29,5 @@ module.exports = TextInputBuilder; /** * @external BuildersTextInput - * @see {@link https://discord.js.org/docs/packages/builders/stable/TextInputBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/TextInputBuilder} */ diff --git a/packages/discord.js/src/structures/UserSelectMenuBuilder.js b/packages/discord.js/src/structures/UserSelectMenuBuilder.js index e0d6a543d94d..39db60fff326 100644 --- a/packages/discord.js/src/structures/UserSelectMenuBuilder.js +++ b/packages/discord.js/src/structures/UserSelectMenuBuilder.js @@ -13,12 +13,15 @@ class UserSelectMenuBuilder extends BuildersUserSelectMenu { } /** - * Creates a new select menu builder from JSON data - * @param {UserSelectMenuBuilder|UserSelectMenuComponent|APIUserSelectComponent} other The other data + * Creates a new select menu builder from json data + * @param {JSONEncodable | APISelectMenuComponent} other The other data * @returns {UserSelectMenuBuilder} */ static from(other) { - return new this(isJSONEncodable(other) ? other.toJSON() : other); + if (isJSONEncodable(other)) { + return new this(other.toJSON()); + } + return new this(other); } } @@ -26,5 +29,5 @@ module.exports = UserSelectMenuBuilder; /** * @external BuildersUserSelectMenu - * @see {@link https://discord.js.org/docs/packages/rest/stable/UserSelectMenuBuilder:Class} + * @see {@link https://discord.js.org/#/docs/builders/main/class/UserSelectMenuBuilder} */ diff --git a/packages/discord.js/src/structures/interfaces/TextBasedChannel.js b/packages/discord.js/src/structures/interfaces/TextBasedChannel.js index d5f9b27f2472..d8562f81a433 100644 --- a/packages/discord.js/src/structures/interfaces/TextBasedChannel.js +++ b/packages/discord.js/src/structures/interfaces/TextBasedChannel.js @@ -59,7 +59,7 @@ class TextBasedChannel { * @property {Embed[]|APIEmbed[]} [embeds] The embeds for the message * @property {MessageMentionOptions} [allowedMentions] Which mentions should be parsed from the message content * (see [here](https://discord.com/developers/docs/resources/channel#allowed-mentions-object) for more details) - * @property {AttachmentBuilder[]|Attachment[]|AttachmentPayload[]|BufferResolvable[]} [files] + * @property {Array>|BufferResolvable[]|Attachment[]|AttachmentBuilder[]} [files] * The files to send with the message. * @property {ActionRow[]|ActionRowBuilder[]} [components] * Action rows containing interactive components for the message (buttons, select menus) diff --git a/packages/discord.js/src/util/APITypes.js b/packages/discord.js/src/util/APITypes.js index 3a4878e2d4d9..79e48febcbe8 100644 --- a/packages/discord.js/src/util/APITypes.js +++ b/packages/discord.js/src/util/APITypes.js @@ -43,11 +43,6 @@ * @see {@link https://discord-api-types.dev/api/discord-api-types-v10#APIChannel} */ -/** - * @external APIChannelSelectComponent - * @see {@link https://discord-api-types.dev/api/discord-api-types-v10#APIChannelSelectComponent} - */ - /** * @external APIEmbed * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/interface/APIEmbed} @@ -103,11 +98,6 @@ * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/interface/APIInteractionGuildMember} */ -/** - * @external APIMentionableSelectComponent - * @see {@link https://discord-api-types.dev/api/discord-api-types-v10#APIMentionableSelectComponent} - */ - /** * @external APIMessage * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/interface/APIMessage} @@ -149,13 +139,13 @@ */ /** - * @external APISelectMenuOption - * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/interface/APISelectMenuOption} + * @external APISelectMenuComponent + * @see {@link https://discord-api-types.dev/api/discord-api-types-v10#APISelectMenuComponent} */ /** - * @external APIStringSelectComponent - * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/interface/APIStringSelectComponent} + * @external APISelectMenuOption + * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/interface/APISelectMenuOption} */ /** diff --git a/packages/discord.js/src/util/Components.js b/packages/discord.js/src/util/Components.js index 1a2ccbcd24ad..42bee7f2afa0 100644 --- a/packages/discord.js/src/util/Components.js +++ b/packages/discord.js/src/util/Components.js @@ -150,3 +150,8 @@ const TextInputBuilder = require('../structures/TextInputBuilder'); const TextInputComponent = require('../structures/TextInputComponent'); const UserSelectMenuBuilder = require('../structures/UserSelectMenuBuilder'); const UserSelectMenuComponent = require('../structures/UserSelectMenuComponent'); + +/** + * @external JSONEncodable + * @see {@link https://discord.js.org/#/docs/builders/main/typedef/JSONEncodable} + */ diff --git a/packages/discord.js/src/util/Options.js b/packages/discord.js/src/util/Options.js index 77638259c2ce..52a756e9446c 100644 --- a/packages/discord.js/src/util/Options.js +++ b/packages/discord.js/src/util/Options.js @@ -198,5 +198,5 @@ module.exports = Options; /** * @external RESTOptions - * @see {@link https://discord.js.org/docs/packages/rest/stable/RESTOptions:Interface} + * @see {@link https://discord.js.org/#/docs/rest/main/typedef/RESTOptions} */ diff --git a/packages/discord.js/src/util/Sweepers.js b/packages/discord.js/src/util/Sweepers.js index 6eb2dc65d0e2..7796ddc99a96 100644 --- a/packages/discord.js/src/util/Sweepers.js +++ b/packages/discord.js/src/util/Sweepers.js @@ -8,7 +8,7 @@ const { DiscordjsTypeError, ErrorCodes } = require('../errors'); /** * @typedef {Function} GlobalSweepFilter * @returns {Function|null} Return `null` to skip sweeping, otherwise a function passed to `sweep()`, - * See {@link [Collection#sweep](https://discord.js.org/docs/packages/collection/stable/Collection:Class#sweep)} + * See {@link [Collection#sweep](https://discord.js.org/#/docs/collection/main/class/Collection?scrollTo=sweep)} * for the definition of this function. */ diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 5def0d151c20..fb06027cefd3 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -892,8 +892,6 @@ export type CategoryChannelType = Exclude< export class CategoryChannel extends GuildChannel { public get children(): CategoryChannelChildManager; public type: ChannelType.GuildCategory; - public get parent(): null; - public parentId: null; } export type CategoryChannelResolvable = Snowflake | CategoryChannel; @@ -6232,7 +6230,7 @@ export type CategoryChildChannel = Exclude; -export type GuildTextBasedChannel = Extract; +export type GuildTextBasedChannel = Exclude, ForumChannel>; export type TextChannelResolvable = Snowflake | TextChannel; diff --git a/packages/docgen/package.json b/packages/docgen/package.json index 144af73796b3..8fd8735dc70a 100644 --- a/packages/docgen/package.json +++ b/packages/docgen/package.json @@ -43,19 +43,19 @@ "commander": "^10.0.0", "jsdoc-to-markdown": "^8.0.0", "tslib": "^2.5.0", - "typedoc": "^0.24.1" + "typedoc": "^0.23.28" }, "devDependencies": { "@favware/cliff-jumper": "^2.0.0", "@types/jsdoc-to-markdown": "^7.0.3", "@types/node": "16.18.23", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4" + "typescript": "^5.0.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/formatters/__tests__/formatters.test.ts b/packages/formatters/__tests__/formatters.test.ts index b6d3ea075fc4..beb136907f1f 100644 --- a/packages/formatters/__tests__/formatters.test.ts +++ b/packages/formatters/__tests__/formatters.test.ts @@ -240,19 +240,16 @@ describe('Message formatters', () => { }); describe('Faces', () => { - // prettier-ignore - /* eslint-disable no-useless-escape */ - test('GIVEN Faces.Shrug THEN returns "¯\_(ツ)_/¯"', () => { - expect<'¯\_(ツ)_/¯'>(Faces.Shrug).toEqual('¯\_(ツ)_/¯'); + test('GIVEN Faces.Shrug THEN returns "¯\\_(ツ)\\_/¯"', () => { + expect<'¯\\_(ツ)\\_/¯'>(Faces.Shrug).toEqual('¯\\_(ツ)\\_/¯'); }); - /* eslint-enable no-useless-escape */ - test('GIVEN Faces.Tableflip THEN returns "(╯°□°)╯︵ ┻━┻"', () => { - expect<'(╯°□°)╯︵ ┻━┻'>(Faces.Tableflip).toEqual('(╯°□°)╯︵ ┻━┻'); + test('GIVEN Faces.Tableflip THEN returns "(╯°□°)╯︵ ┻━┻"', () => { + expect<'(╯°□°)╯︵ ┻━┻'>(Faces.Tableflip).toEqual('(╯°□°)╯︵ ┻━┻'); }); - test('GIVEN Faces.Unflip THEN returns "┬─┬ノ( º _ ºノ)"', () => { - expect<'┬─┬ノ( º _ ºノ)'>(Faces.Unflip).toEqual('┬─┬ノ( º _ ºノ)'); + test('GIVEN Faces.Unflip THEN returns "┬─┬ ノ( ゜-゜ノ)"', () => { + expect<'┬─┬ ノ( ゜-゜ノ)'>(Faces.Unflip).toEqual('┬─┬ ノ( ゜-゜ノ)'); }); }); }); diff --git a/packages/formatters/package.json b/packages/formatters/package.json index f9b4940ee009..4bbe6bc4a80b 100644 --- a/packages/formatters/package.json +++ b/packages/formatters/package.json @@ -45,20 +45,20 @@ }, "homepage": "https://discord.js.org", "dependencies": { - "discord-api-types": "^0.37.38" + "discord-api-types": "^0.37.37" }, "devDependencies": { "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/formatters/src/escapers.ts b/packages/formatters/src/escapers.ts index 1c89ce193167..3575c0a3d661 100644 --- a/packages/formatters/src/escapers.ts +++ b/packages/formatters/src/escapers.ts @@ -1,109 +1,106 @@ /* eslint-disable prefer-named-capture-group */ -/** - * The options that affect what will be escaped. - */ export interface EscapeMarkdownOptions { /** - * Whether to escape bold text. + * Whether to escape bolds * - * @defaultValue `true` + * @defaultValue true */ bold?: boolean; /** - * Whether to escape bulleted lists. + * Whether to escape bulleted lists * - * @defaultValue `false` + * @defaultValue false */ bulletedList?: boolean; /** - * Whether to escape code blocks. + * Whether to escape code blocks * - * @defaultValue `true` + * @defaultValue true */ codeBlock?: boolean; /** - * Whether to escape text inside code blocks. + * Whether to escape text inside code blocks * - * @defaultValue `true` + * @defaultValue true */ codeBlockContent?: boolean; /** - * Whether to escape `\`. + * Whether to escape escape characters * - * @defaultValue `true` + * @defaultValue true */ escape?: boolean; /** - * Whether to escape headings. + * Whether to escape headings * - * @defaultValue `false` + * @defaultValue false */ heading?: boolean; /** - * Whether to escape inline code. + * Whether to escape inline code * - * @defaultValue `true` + * @defaultValue true */ inlineCode?: boolean; /** - * Whether to escape text inside inline code. + * Whether to escape text inside inline code * - * @defaultValue `true` + * @defaultValue true */ inlineCodeContent?: boolean; /** - * Whether to escape italics. + * Whether to escape italics * - * @defaultValue `true` + * @defaultValue true */ italic?: boolean; /** - * Whether to escape masked links. + * Whether to escape masked links * - * @defaultValue `false` + * @defaultValue false */ maskedLink?: boolean; /** - * Whether to escape numbered lists. + * Whether to escape numbered lists * - * @defaultValue `false` + * @defaultValue false */ numberedList?: boolean; /** - * Whether to escape spoilers. + * Whether to escape spoilers * - * @defaultValue `true` + * @defaultValue true */ spoiler?: boolean; /** - * Whether to escape strikethroughs. + * Whether to escape strikethroughs * - * @defaultValue `true` + * @defaultValue true */ strikethrough?: boolean; /** - * Whether to escape underlines. + * Whether to escape underlines * - * @defaultValue `true` + * @defaultValue true */ underline?: boolean; } /** - * Escapes any Discord-flavored markdown in a string. + * Escapes any Discord-flavour markdown in a string. * * @param text - Content to escape * @param options - Options for escaping the markdown diff --git a/packages/formatters/src/formatters.ts b/packages/formatters/src/formatters.ts index 1faeb0c4544a..8b253a977bc8 100644 --- a/packages/formatters/src/formatters.ts +++ b/packages/formatters/src/formatters.ts @@ -2,31 +2,26 @@ import type { URL } from 'node:url'; import type { Snowflake } from 'discord-api-types/globals'; /** - * Wraps the content inside a code block with no language. + * Wraps the content inside a codeblock with no language * - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function codeBlock(content: C): `\`\`\`\n${C}\n\`\`\``; /** - * Wraps the content inside a code block with the specified language. + * Wraps the content inside a codeblock with the specified language * - * @typeParam L - This is inferred by the supplied language - * @typeParam C - This is inferred by the supplied content - * @param language - The language for the code block + * @param language - The language for the codeblock * @param content - The content to wrap */ export function codeBlock(language: L, content: C): `\`\`\`${L}\n${C}\n\`\`\``; - export function codeBlock(language: string, content?: string): string { return content === undefined ? `\`\`\`\n${language}\n\`\`\`` : `\`\`\`${language}\n${content}\n\`\`\``; } /** - * Wraps the content inside \`backticks\` which formats it as inline code. + * Wraps the content inside \`backticks\`, which formats it as inline code * - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function inlineCode(content: C): `\`${C}\`` { @@ -34,9 +29,8 @@ export function inlineCode(content: C): `\`${C}\`` { } /** - * Formats the content into italic text. + * Formats the content into italic text * - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function italic(content: C): `_${C}_` { @@ -44,9 +38,8 @@ export function italic(content: C): `_${C}_` { } /** - * Formats the content into bold text. + * Formats the content into bold text * - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function bold(content: C): `**${C}**` { @@ -54,9 +47,8 @@ export function bold(content: C): `**${C}**` { } /** - * Formats the content into underscored text. + * Formats the content into underscored text * - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function underscore(content: C): `__${C}__` { @@ -64,9 +56,8 @@ export function underscore(content: C): `__${C}__` { } /** - * Formats the content into strike-through text. + * Formats the content into strike-through text * - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function strikethrough(content: C): `~~${C}~~` { @@ -74,10 +65,8 @@ export function strikethrough(content: C): `~~${C}~~` { } /** - * Formats the content into a quote. + * Formats the content into a quote. This needs to be at the start of the line for Discord to format it * - * @remarks This needs to be at the start of the line for Discord to format it. - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function quote(content: C): `> ${C}` { @@ -85,10 +74,8 @@ export function quote(content: C): `> ${C}` { } /** - * Formats the content into a block quote. + * Formats the content into a block quote. This needs to be at the start of the line for Discord to format it * - * @remarks This needs to be at the start of the line for Discord to format it. - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function blockQuote(content: C): `>>> ${C}` { @@ -96,48 +83,41 @@ export function blockQuote(content: C): `>>> ${C}` { } /** - * Wraps the URL into `<>` which stops it from embedding. + * Wraps the URL into `<>`, which stops it from embedding * - * @typeParam C - This is inferred by the supplied content * @param url - The URL to wrap */ export function hideLinkEmbed(url: C): `<${C}>`; /** - * Wraps the URL into `<>` which stops it from embedding. + * Wraps the URL into `<>`, which stops it from embedding * * @param url - The URL to wrap */ export function hideLinkEmbed(url: URL): `<${string}>`; - export function hideLinkEmbed(url: URL | string) { return `<${url}>`; } /** - * Formats the content and the URL into a masked URL. + * Formats the content and the URL into a masked URL * - * @typeParam C - This is inferred by the supplied content * @param content - The content to display * @param url - The URL the content links to */ export function hyperlink(content: C, url: URL): `[${C}](${string})`; /** - * Formats the content and the URL into a masked URL. + * Formats the content and the URL into a masked URL * - * @typeParam C - This is inferred by the supplied content - * @typeParam U - This is inferred by the supplied URL * @param content - The content to display * @param url - The URL the content links to */ export function hyperlink(content: C, url: U): `[${C}](${U})`; /** - * Formats the content and the URL into a masked URL with a custom tooltip. + * Formats the content and the URL into a masked URL * - * @typeParam C - This is inferred by the supplied content - * @typeParam T - This is inferred by the supplied title * @param content - The content to display * @param url - The URL the content links to * @param title - The title shown when hovering on the masked link @@ -149,11 +129,8 @@ export function hyperlink( ): `[${C}](${string} "${T}")`; /** - * Formats the content and the URL into a masked URL with a custom tooltip. + * Formats the content and the URL into a masked URL * - * @typeParam C - This is inferred by the supplied content - * @typeParam U - This is inferred by the supplied URL - * @typeParam T - This is inferred by the supplied title * @param content - The content to display * @param url - The URL the content links to * @param title - The title shown when hovering on the masked link @@ -163,15 +140,13 @@ export function hyperlink( url: U, title: T, ): `[${C}](${U} "${T}")`; - export function hyperlink(content: string, url: URL | string, title?: string) { return title ? `[${content}](${url} "${title}")` : `[${content}](${url})`; } /** - * Formats the content into a spoiler. + * Wraps the content inside spoiler (hidden text) * - * @typeParam C - This is inferred by the supplied content * @param content - The content to wrap */ export function spoiler(content: C): `||${C}||` { @@ -179,46 +154,39 @@ export function spoiler(content: C): `||${C}||` { } /** - * Formats a user id into a user mention. + * Formats a user ID into a user mention * - * @typeParam C - This is inferred by the supplied user id - * @param userId - The user id to format + * @param userId - The user ID to format */ export function userMention(userId: C): `<@${C}>` { return `<@${userId}>`; } /** - * Formats a channel id into a channel mention. + * Formats a channel ID into a channel mention * - * @typeParam C - This is inferred by the supplied channel id - * @param channelId - The channel id to format + * @param channelId - The channel ID to format */ export function channelMention(channelId: C): `<#${C}>` { return `<#${channelId}>`; } /** - * Formats a role id into a role mention. + * Formats a role ID into a role mention * - * @typeParam C - This is inferred by the supplied role id - * @param roleId - The role id to format + * @param roleId - The role ID to format */ export function roleMention(roleId: C): `<@&${C}>` { return `<@&${roleId}>`; } /** - * Formats an application command name, subcommand group name, subcommand name, and id into an application command mention. + * Formats an application command name, subcommand group name, subcommand name, and ID into an application command mention * - * @typeParam N - This is inferred by the supplied command name - * @typeParam G - This is inferred by the supplied subcommand group name - * @typeParam S - This is inferred by the supplied subcommand name - * @typeParam I - This is inferred by the supplied command id * @param commandName - The application command name to format * @param subcommandGroupName - The subcommand group name to format * @param subcommandName - The subcommand name to format - * @param commandId - The application command id to format + * @param commandId - The application command ID to format */ export function chatInputApplicationCommandMention< N extends string, @@ -228,14 +196,11 @@ export function chatInputApplicationCommandMention< >(commandName: N, subcommandGroupName: G, subcommandName: S, commandId: I): ``; /** - * Formats an application command name, subcommand name, and id into an application command mention. + * Formats an application command name, subcommand name, and ID into an application command mention * - * @typeParam N - This is inferred by the supplied command name - * @typeParam S - This is inferred by the supplied subcommand name - * @typeParam I - This is inferred by the supplied command id * @param commandName - The application command name to format * @param subcommandName - The subcommand name to format - * @param commandId - The application command id to format + * @param commandId - The application command ID to format */ export function chatInputApplicationCommandMention( commandName: N, @@ -244,18 +209,24 @@ export function chatInputApplicationCommandMention`; /** - * Formats an application command name and id into an application command mention. + * Formats an application command name and ID into an application command mention * - * @typeParam N - This is inferred by the supplied command name - * @typeParam I - This is inferred by the supplied command id * @param commandName - The application command name to format - * @param commandId - The application command id to format + * @param commandId - The application command ID to format */ export function chatInputApplicationCommandMention( commandName: N, commandId: I, ): ``; +/** + * Formats an application command name, subcommand group name, subcommand name, and ID into an application command mention + * + * @param commandName - The application command name to format + * @param subcommandGroupName - The subcommand group name to format + * @param subcommandName - The subcommand name to format + * @param commandId - The application command ID to format + */ export function chatInputApplicationCommandMention< N extends string, G extends Snowflake | string, @@ -279,31 +250,34 @@ export function chatInputApplicationCommandMention< } /** - * Formats a non-animated emoji id into a fully qualified emoji identifier. + * Formats an emoji ID into a fully qualified emoji identifier * - * @typeParam C - This is inferred by the supplied emoji id - * @param emojiId - The emoji id to format + * @param emojiId - The emoji ID to format */ export function formatEmoji(emojiId: C, animated?: false): `<:_:${C}>`; /** - * Formats an animated emoji id into a fully qualified emoji identifier. + * Formats an emoji ID into a fully qualified emoji identifier * - * @typeParam C - This is inferred by the supplied emoji id - * @param emojiId - The emoji id to format - * @param animated - Whether the emoji is animated + * @param emojiId - The emoji ID to format + * @param animated - Whether the emoji is animated or not. Defaults to `false` */ export function formatEmoji(emojiId: C, animated?: true): ``; /** - * Formats an emoji id into a fully qualified emoji identifier. + * Formats an emoji ID into a fully qualified emoji identifier * - * @typeParam C - This is inferred by the supplied emoji id - * @param emojiId - The emoji id to format - * @param animated - Whether the emoji is animated + * @param emojiId - The emoji ID to format + * @param animated - Whether the emoji is animated or not. Defaults to `false` */ export function formatEmoji(emojiId: C, animated?: boolean): `<:_:${C}>` | ``; +/** + * Formats an emoji ID into a fully qualified emoji identifier + * + * @param emojiId - The emoji ID to format + * @param animated - Whether the emoji is animated or not. Defaults to `false` + */ export function formatEmoji(emojiId: C, animated = false): `<:_:${C}>` | `` { return `<${animated ? 'a' : ''}:_:${emojiId}>`; } @@ -311,7 +285,6 @@ export function formatEmoji(emojiId: C, animated = false): /** * Formats a channel link for a direct message channel. * - * @typeParam C - This is inferred by the supplied channel id * @param channelId - The channel's id */ export function channelLink(channelId: C): `https://discord.com/channels/@me/${C}`; @@ -319,8 +292,6 @@ export function channelLink(channelId: C): `https://discord /** * Formats a channel link for a guild channel. * - * @typeParam C - This is inferred by the supplied channel id - * @typeParam G - This is inferred by the supplied guild id * @param channelId - The channel's id * @param guildId - The guild's id */ @@ -339,8 +310,6 @@ export function channelLink( /** * Formats a message link for a direct message channel. * - * @typeParam C - This is inferred by the supplied channel id - * @typeParam M - This is inferred by the supplied message id * @param channelId - The channel's id * @param messageId - The message's id */ @@ -352,9 +321,6 @@ export function messageLink( /** * Formats a message link for a guild channel. * - * @typeParam C - This is inferred by the supplied channel id - * @typeParam M - This is inferred by the supplied message id - * @typeParam G - This is inferred by the supplied guild id * @param channelId - The channel's id * @param messageId - The message's id * @param guildId - The guild's id @@ -374,39 +340,34 @@ export function messageLink`; /** - * Formats a date given a format style. + * Formats a date given a format style * - * @typeParam S - This is inferred by the supplied {@link TimestampStylesString} * @param date - The date to format * @param style - The style to use */ export function time(date: Date, style: S): ``; /** - * Formats the given timestamp into a short date-time string. + * Formats the given timestamp into a short date-time string * - * @typeParam C - This is inferred by the supplied timestamp - * @param seconds - A Unix timestamp in seconds + * @param seconds - The time to format, represents an UNIX timestamp in seconds */ export function time(seconds: C): ``; /** - * Formats the given timestamp into a short date-time string. + * Formats the given timestamp into a short date-time string * - * @typeParam C - This is inferred by the supplied timestamp - * @typeParam S - This is inferred by the supplied {@link TimestampStylesString} - * @param seconds - A Unix timestamp in seconds + * @param seconds - The time to format, represents an UNIX timestamp in seconds * @param style - The style to use */ export function time(seconds: C, style: S): ``; - export function time(timeOrSeconds?: Date | number, style?: TimestampStylesString): string { if (typeof timeOrSeconds !== 'number') { // eslint-disable-next-line no-param-reassign @@ -417,83 +378,66 @@ export function time(timeOrSeconds?: Date | number, style?: TimestampStylesStrin } /** - * The {@link https://discord.com/developers/docs/reference#message-formatting-timestamp-styles | message formatting timestamp styles} - * supported by Discord. + * The {@link https://discord.com/developers/docs/reference#message-formatting-timestamp-styles | message formatting timestamp styles} supported by Discord */ export const TimestampStyles = { /** - * Short time format, consisting of hours and minutes. - * - * @example `16:20` + * Short time format, consisting of hours and minutes, e.g. 16:20 */ ShortTime: 't', /** - * Long time format, consisting of hours, minutes, and seconds. - * - * @example `16:20:30` + * Long time format, consisting of hours, minutes, and seconds, e.g. 16:20:30 */ LongTime: 'T', /** - * Short date format, consisting of day, month, and year. - * - * @example `20/04/2021` + * Short date format, consisting of day, month, and year, e.g. 20/04/2021 */ ShortDate: 'd', /** - * Long date format, consisting of day, month, and year. - * - * @example `20 April 2021` + * Long date format, consisting of day, month, and year, e.g. 20 April 2021 */ LongDate: 'D', /** - * Short date-time format, consisting of short date and short time formats. - * - * @example `20 April 2021 16:20` + * Short date-time format, consisting of short date and short time formats, e.g. 20 April 2021 16:20 */ ShortDateTime: 'f', /** - * Long date-time format, consisting of long date and short time formats. - * - * @example `Tuesday, 20 April 2021 16:20` + * Long date-time format, consisting of long date and short time formats, e.g. Tuesday, 20 April 2021 16:20 */ LongDateTime: 'F', /** - * Relative time format, consisting of a relative duration format. - * - * @example `2 months ago` + * Relative time format, consisting of a relative duration format, e.g. 2 months ago */ RelativeTime: 'R', } as const satisfies Record; /** - * The possible {@link TimestampStyles} values. + * The possible values, see {@link TimestampStyles} for more information */ export type TimestampStylesString = (typeof TimestampStyles)[keyof typeof TimestampStyles]; -// prettier-ignore /** - * All the available faces from Discord's native slash commands. + * An enum with all the available faces from Discord's native slash commands */ export enum Faces { /** - * `¯\_(ツ)_/¯` + * ¯\\_(ツ)\\_/¯ */ - // eslint-disable-next-line no-useless-escape - Shrug = '¯\_(ツ)_/¯', + Shrug = '¯\\_(ツ)\\_/¯', /** - * `(╯°□°)╯︵ ┻━┻` + * (╯°□°)╯︵ ┻━┻ */ - Tableflip = '(╯°□°)╯︵ ┻━┻', + Tableflip = '(╯°□°)╯︵ ┻━┻', /** - * `┬─┬ノ( º _ ºノ)` + * ┬─┬ ノ( ゜-゜ノ) */ - Unflip = '┬─┬ノ( º _ ºノ)', + Unflip = '┬─┬ ノ( ゜-゜ノ)', } diff --git a/packages/next/package.json b/packages/next/package.json index 0379e395b756..60a1a9077764 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -59,21 +59,21 @@ "@discordjs/rest": "workspace:^", "@discordjs/util": "workspace:^", "@discordjs/ws": "workspace:^", - "discord-api-types": "^0.37.38" + "discord-api-types": "^0.37.37" }, "devDependencies": { "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "18.15.11", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", "esbuild-plugin-version-injector": "^1.1.0", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/proxy-container/package.json b/packages/proxy-container/package.json index bd28dfc97dad..26f3cf256d98 100644 --- a/packages/proxy-container/package.json +++ b/packages/proxy-container/package.json @@ -50,12 +50,12 @@ "devDependencies": { "@types/node": "16.18.23", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4" + "typescript": "^5.0.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/proxy/docs/README.md b/packages/proxy/docs/README.md index 428efdf70744..22582e3d083f 100644 --- a/packages/proxy/docs/README.md +++ b/packages/proxy/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/proxy/main) +## [View the documentation here.](https://discord.js.org/#/docs/proxy) diff --git a/packages/proxy/package.json b/packages/proxy/package.json index 967f0bce9297..9b446c904851 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -58,22 +58,22 @@ "@discordjs/rest": "workspace:^", "@discordjs/util": "workspace:^", "tslib": "^2.5.0", - "undici": "^5.21.2" + "undici": "^5.21.0" }, "devDependencies": { "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", "@types/supertest": "^2.0.12", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "supertest": "^6.3.3", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/rest/docs/README.md b/packages/rest/docs/README.md index 67629c684db0..08cc4b4c66d8 100644 --- a/packages/rest/docs/README.md +++ b/packages/rest/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/rest/main) +## [View the documentation here.](https://discord.js.org/#/docs/rest) diff --git a/packages/rest/package.json b/packages/rest/package.json index 073582db114e..5e385c19df62 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -56,25 +56,25 @@ "@discordjs/collection": "workspace:^", "@discordjs/util": "workspace:^", "@sapphire/async-queue": "^1.5.0", - "@sapphire/snowflake": "^3.4.2", - "discord-api-types": "^0.37.38", + "@sapphire/snowflake": "^3.4.0", + "discord-api-types": "^0.37.37", "file-type": "^18.2.1", "tslib": "^2.5.0", - "undici": "^5.21.2" + "undici": "^5.21.0" }, "devDependencies": { "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", "esbuild-plugin-version-injector": "^1.1.0", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/scripts/package.json b/packages/scripts/package.json index 3e51b7817288..764423f27f12 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -50,20 +50,20 @@ "commander": "^10.0.0", "fs-extra": "^11.1.1", "tslib": "^2.5.0", - "undici": "^5.21.2", + "undici": "^5.21.0", "yaml": "^2.2.1" }, "devDependencies": { "@types/fs-extra": "^11.0.1", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/scripts/src/generateIndex.ts b/packages/scripts/src/generateIndex.ts index 2a06645e1176..2d88249c6a68 100644 --- a/packages/scripts/src/generateIndex.ts +++ b/packages/scripts/src/generateIndex.ts @@ -115,7 +115,7 @@ export function visitNodes(item: ApiItem, tag: string) { continue; } - if (member.kind === ApiItemKind.Constructor || member.kind === ApiItemKind.Namespace) { + if (member.kind === ApiItemKind.Constructor) { continue; } diff --git a/packages/ui/.eslintrc.json b/packages/ui/.eslintrc.json index d014984eac0e..97a5ac896bc2 100644 --- a/packages/ui/.eslintrc.json +++ b/packages/ui/.eslintrc.json @@ -1,5 +1,5 @@ { - "extends": ["../../.eslintrc.json", "neon/react", "plugin:storybook/recommended", "@unocss", "neon/prettier"], + "extends": ["../../.eslintrc.json", "neon/react", "neon/prettier"], "settings": { "react": { "version": "detect" @@ -7,11 +7,6 @@ }, "rules": { "react/react-in-jsx-scope": 0, - "react/jsx-filename-extension": [ - 1, - { - "extensions": [".tsx"] - } - ] + "react/jsx-filename-extension": [1, { "extensions": [".tsx"] }] } } diff --git a/packages/ui/.gitignore b/packages/ui/.gitignore index 2e82d1c0dda4..86b93e929ae6 100644 --- a/packages/ui/.gitignore +++ b/packages/ui/.gitignore @@ -20,7 +20,6 @@ typings/ docs/**/* !docs/index.json !docs/README.md -storybook-static/ # Miscellaneous .tmp/ diff --git a/packages/ui/.ladle/components.tsx b/packages/ui/.ladle/components.tsx new file mode 100644 index 000000000000..266a375f56e7 --- /dev/null +++ b/packages/ui/.ladle/components.tsx @@ -0,0 +1,5 @@ +import type { GlobalProvider } from '@ladle/react'; +import '@unocss/reset/tailwind-compat.css'; +import 'uno.css'; + +export const Provider: GlobalProvider = ({ children }) => <>{children}; diff --git a/packages/ui/.storybook/main.ts b/packages/ui/.storybook/main.ts deleted file mode 100644 index 793fcc952628..000000000000 --- a/packages/ui/.storybook/main.ts +++ /dev/null @@ -1,21 +0,0 @@ -import type { StorybookConfig } from '@storybook/react-vite'; - -export default { - stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'], - addons: [ - '@storybook/addon-links', - '@storybook/addon-essentials', - '@storybook/addon-interactions', - '@storybook/addon-styling', - ], - core: { - builder: '@storybook/builder-vite', - }, - framework: { - name: '@storybook/react-vite', - options: {}, - }, - docs: { - autodocs: 'tag', - }, -} satisfies StorybookConfig; diff --git a/packages/ui/.storybook/preview.css b/packages/ui/.storybook/preview.css deleted file mode 100644 index 1c99f07dfdf1..000000000000 --- a/packages/ui/.storybook/preview.css +++ /dev/null @@ -1,7 +0,0 @@ -html { - color-scheme: light; -} - -html.dark { - color-scheme: dark; -} diff --git a/packages/ui/.storybook/preview.ts b/packages/ui/.storybook/preview.ts deleted file mode 100644 index 122acf724494..000000000000 --- a/packages/ui/.storybook/preview.ts +++ /dev/null @@ -1,28 +0,0 @@ -import type { Preview } from '@storybook/react'; -import { withThemeByClassName } from '@storybook/addon-styling'; - -import '@unocss/reset/tailwind-compat.css'; -import './preview.css'; -import 'virtual:uno.css'; - -export default { - parameters: { - actions: { argTypesRegex: '^on[A-Z].*' }, - controls: { - matchers: { - color: /(background|color)$/i, - date: /Date$/, - }, - }, - }, -} satisfies Preview; - -export const decorators = [ - withThemeByClassName({ - themes: { - light: 'bg-light-600', - dark: 'dark bg-dark-600', - }, - defaultTheme: 'light', - }), -]; diff --git a/packages/ui/package.json b/packages/ui/package.json index b34cd057a5f0..631cc0a3f6f7 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -10,9 +10,7 @@ "prepack": "yarn build && yarn lint", "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/ui/*'", "release": "cliff-jumper", - "storybook": "storybook dev -p 6006", - "build-storybook": "storybook build", - "chromatic": "chromatic" + "storybook": "ladle serve" }, "type": "module", "module": "./dist/ui.js", @@ -45,41 +43,29 @@ }, "homepage": "https://discord.js.org", "dependencies": { - "ariakit": "^2.0.0-next.44", + "ariakit": "^2.0.0-next.43", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@favware/cliff-jumper": "^2.0.0", + "@ladle/react": "^2.10.2", "@react-icons/all-files": "^4.1.0", - "@storybook/addon-essentials": "^7.0.4", - "@storybook/addon-interactions": "^7.0.4", - "@storybook/addon-links": "^7.0.4", - "@storybook/addon-styling": "^1.0.0", - "@storybook/blocks": "^7.0.4", - "@storybook/react": "^7.0.4", - "@storybook/react-vite": "^7.0.4", - "@storybook/testing-library": "^0.1.0", "@types/node": "16.18.23", - "@types/react": "^18.0.35", + "@types/react": "^18.0.32", "@types/react-dom": "^18.0.11", - "@unocss/eslint-config": "^0.51.4", - "@unocss/reset": "^0.51.4", + "@unocss/reset": "^0.50.6", "@vitejs/plugin-react": "^3.1.0", - "@vitest/coverage-c8": "^0.30.1", - "chromatic": "^6.17.3", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", - "eslint-plugin-storybook": "^0.6.11", "prettier": "^2.8.7", - "prop-types": "^15.8.1", - "storybook": "^7.0.4", - "typescript": "^5.0.4", - "unocss": "^0.51.4", + "typescript": "^5.0.3", + "unocss": "^0.50.6", "vite": "^4.2.1", - "vite-plugin-dts": "^2.2.0", + "vite-plugin-dts": "^2.1.0", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/ui/src/lib/components/Alert.stories.tsx b/packages/ui/src/lib/components/Alert.stories.tsx deleted file mode 100644 index d32196fc9e85..000000000000 --- a/packages/ui/src/lib/components/Alert.stories.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import type { Meta, StoryObj } from '@storybook/react'; -import { Alert } from './Alert.jsx'; - -export default { - title: 'Alert', - component: Alert, - tags: ['autodocs'], -} satisfies Meta; - -type Story = StoryObj; - -export const Default = { - render: ({ children, ...args }) => {children}, - args: { - type: 'info', - title: 'Test', - children: 'Test Content', - }, -} satisfies Story; diff --git a/packages/ui/src/lib/components/Alert.tsx b/packages/ui/src/lib/components/Alert.tsx index e0822b40f311..8b5550a425cc 100644 --- a/packages/ui/src/lib/components/Alert.tsx +++ b/packages/ui/src/lib/components/Alert.tsx @@ -51,12 +51,12 @@ export function Alert({ title, type, children }: PropsWithChildren) {
{children}
-
+
{icon} - {title ? {title} : null} + {title}
diff --git a/packages/ui/src/lib/components/Section.stories.tsx b/packages/ui/src/lib/components/Section.stories.tsx index af472d3f9c22..3f4307dd01c6 100644 --- a/packages/ui/src/lib/components/Section.stories.tsx +++ b/packages/ui/src/lib/components/Section.stories.tsx @@ -1,18 +1,58 @@ -import type { Meta, StoryObj } from '@storybook/react'; -import { Section } from './Section.jsx'; +import type { Story } from '@ladle/react'; +import type { PropsWithChildren } from 'react'; +import { Section, type SectionOptions } from './Section.jsx'; -export default { - title: 'Section', - component: Section, - tags: ['autodocs'], -} satisfies Meta; +export const Default = () =>
Test 1234
; -type Story = StoryObj; +export const Padded = () => ( +
+ Test 1234 +
+); -export const Default = { - render: ({ children, ...args }) =>
{children}
, - args: { - title: 'Test', - children: 'Test Content', - }, -} satisfies Story; +export const Background = () => ( +
+ Test 1234 +
+); + +export const Dense = () => ( +
+ Test 1234 +
+); + +export const Gutter = () => ( +
+ Test 1234 +
+); + +export const Playground: Story> = ({ + title, + background, + defaultClosed, + dense, + gutter, + padded, +}: PropsWithChildren) => ( +
+ Test 1234 +
+); + +Playground.args = { + title: 'Test', + background: true, + defaultClosed: false, + dense: false, + gutter: true, + padded: true, +}; diff --git a/packages/ui/src/lib/components/Section.tsx b/packages/ui/src/lib/components/Section.tsx index 0bdd435c5798..1abc09049f41 100644 --- a/packages/ui/src/lib/components/Section.tsx +++ b/packages/ui/src/lib/components/Section.tsx @@ -1,12 +1,9 @@ -'use client'; - import { VscChevronDown } from '@react-icons/all-files/vsc/VscChevronDown'; import { Disclosure, DisclosureContent, useDisclosureState } from 'ariakit/disclosure'; import type { PropsWithChildren } from 'react'; export interface SectionOptions { background?: boolean | undefined; - buttonClassName?: string; className?: string; defaultClosed?: boolean | undefined; dense?: boolean | undefined; @@ -26,18 +23,13 @@ export function Section({ gutter = false, children, className = '', - buttonClassName = '', }: PropsWithChildren) { const disclosure = useDisclosureState({ defaultOpen: !defaultClosed }); return (
diff --git a/packages/ui/src/lib/components/discord/DiscordMessages.stories.tsx b/packages/ui/src/lib/components/discord/DiscordMessages.stories.tsx deleted file mode 100644 index a4d3c9113ed2..000000000000 --- a/packages/ui/src/lib/components/discord/DiscordMessages.stories.tsx +++ /dev/null @@ -1,101 +0,0 @@ -import type { Meta, StoryObj } from '@storybook/react'; -import { DiscordMessage } from './Message.jsx'; -import { DiscordMessageEmbed } from './MessageEmbed.jsx'; -import { DiscordMessages } from './Messages.jsx'; - -export default { - title: 'DiscordMessages', - component: DiscordMessages, - tags: ['autodocs'], -} satisfies Meta; - -type Story = StoryObj; - -export const Default = { - render: ({ ...args }) => ( - - - A _`DiscordMessage`_ must be within _`DiscordMessages`_. - - - It's much better to see the source code of this page to replicate and learn! - - - This message depicts the use of embeds. - <> - - This is a description. You can put a description here. It must be descriptive! - - - Multiple embeds! - - - - - Interactions are supported! I definitely used a command. - - - ), - args: { - rounded: false, - }, -} satisfies Story; diff --git a/packages/ui/src/lib/components/discord/Message.tsx b/packages/ui/src/lib/components/discord/Message.tsx index 8ea6b94ffe78..ea50c4318ce0 100644 --- a/packages/ui/src/lib/components/discord/Message.tsx +++ b/packages/ui/src/lib/components/discord/Message.tsx @@ -40,7 +40,7 @@ export function DiscordMessage({
{followUp ? ( {time} diff --git a/packages/ui/src/lib/components/discord/MessageAuthor.tsx b/packages/ui/src/lib/components/discord/MessageAuthor.tsx index 482340f2125a..6e76d63ce809 100644 --- a/packages/ui/src/lib/components/discord/MessageAuthor.tsx +++ b/packages/ui/src/lib/components/discord/MessageAuthor.tsx @@ -13,11 +13,11 @@ export function DiscordMessageAuthor({ avatar, username, bot, time }: IDiscordMe className="absolute left-[16px] mt-0.5 h-10 w-10 cursor-pointer select-none rounded-full" src={avatar} /> -

+

{username} {bot ? ( - + BOT ) : null} diff --git a/packages/ui/src/lib/components/discord/MessageAuthorReply.tsx b/packages/ui/src/lib/components/discord/MessageAuthorReply.tsx index 1b8de583dab7..e72f2d64433c 100644 --- a/packages/ui/src/lib/components/discord/MessageAuthorReply.tsx +++ b/packages/ui/src/lib/components/discord/MessageAuthorReply.tsx @@ -9,7 +9,7 @@ export function DiscordMessageAuthorReply({ avatar, bot, username }: IDiscordMes <> {`${username}'s {bot ? ( -
+
BOT
) : null} diff --git a/packages/ui/src/lib/components/discord/MessageBaseReply.tsx b/packages/ui/src/lib/components/discord/MessageBaseReply.tsx index 0f3361eca1e2..b3ce2066b12e 100644 --- a/packages/ui/src/lib/components/discord/MessageBaseReply.tsx +++ b/packages/ui/src/lib/components/discord/MessageBaseReply.tsx @@ -8,7 +8,7 @@ export function DiscordMessageBaseReply({ }: PropsWithChildren<{ author?: IDiscordMessageAuthorReply | undefined; authorNode?: ReactNode | undefined }>) { return (
diff --git a/packages/ui/src/lib/components/discord/MessageEmbed.tsx b/packages/ui/src/lib/components/discord/MessageEmbed.tsx index 8f90aebf81e3..f2424315e4b2 100644 --- a/packages/ui/src/lib/components/discord/MessageEmbed.tsx +++ b/packages/ui/src/lib/components/discord/MessageEmbed.tsx @@ -23,7 +23,7 @@ export function DiscordMessageEmbed({ }: PropsWithChildren) { return (
-
+
{author ? : authorNode ?? null} diff --git a/packages/ui/src/lib/components/discord/MessageInteraction.tsx b/packages/ui/src/lib/components/discord/MessageInteraction.tsx index 5c1928204231..97db2020b32d 100644 --- a/packages/ui/src/lib/components/discord/MessageInteraction.tsx +++ b/packages/ui/src/lib/components/discord/MessageInteraction.tsx @@ -12,7 +12,7 @@ export function DiscordMessageInteraction({ author, authorNode, command }: IDisc return ( used -
{command}
+
{command}
); } diff --git a/packages/ui/vite.config.ts b/packages/ui/vite.config.ts index a4cc57c2fb94..8cf7a6116c80 100644 --- a/packages/ui/vite.config.ts +++ b/packages/ui/vite.config.ts @@ -5,7 +5,7 @@ import { defineConfig } from 'vite'; import dts from 'vite-plugin-dts'; export default defineConfig({ - plugins: [dts(), react(), Unocss({ include: ['.storybook/preview.ts'] })], + plugins: [dts(), react(), Unocss()], build: { lib: { entry: resolve(__dirname, 'src/lib/index.ts'), diff --git a/packages/util/docs/README.md b/packages/util/docs/README.md index 91304bab12c2..08cc4b4c66d8 100644 --- a/packages/util/docs/README.md +++ b/packages/util/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/util/main) +## [View the documentation here.](https://discord.js.org/#/docs/rest) diff --git a/packages/util/package.json b/packages/util/package.json index 90fa4728043f..a5a3710c7cab 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -55,15 +55,15 @@ "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "prettier": "^2.8.7", "tsd": "^0.28.1", "tsup": "^6.7.0", - "typescript": "^5.0.4", + "typescript": "^5.0.3", "vitest": "^0.29.8" }, "engines": { diff --git a/packages/voice/docs/README.md b/packages/voice/docs/README.md index c9c4f646f6e1..197a74e13303 100644 --- a/packages/voice/docs/README.md +++ b/packages/voice/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/voice/main) +## [View the documentation here.](https://discord.js.org/#/docs/voice) diff --git a/packages/voice/package.json b/packages/voice/package.json index 200f34f0a3d5..bf3a97287546 100644 --- a/packages/voice/package.json +++ b/packages/voice/package.json @@ -54,7 +54,7 @@ "homepage": "https://discord.js.org", "dependencies": { "@types/ws": "^8.5.4", - "discord-api-types": "^0.37.38", + "discord-api-types": "^0.37.37", "prism-media": "^1.3.5", "tslib": "^2.5.0", "ws": "^8.13.0" @@ -69,8 +69,8 @@ "@types/node": "16.18.23", "cross-env": "^7.0.3", "esbuild-plugin-version-injector": "^1.1.0", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "jest": "^29.5.0", "jest-websocket-mock": "^2.4.0", @@ -78,7 +78,7 @@ "prettier": "^2.8.7", "tsup": "^6.7.0", "tweetnacl": "^1.0.3", - "typescript": "^5.0.4" + "typescript": "^5.0.3" }, "engines": { "node": ">=16.9.0" diff --git a/packages/ws/docs/README.md b/packages/ws/docs/README.md index f9308141dfe1..d67329190bf0 100644 --- a/packages/ws/docs/README.md +++ b/packages/ws/docs/README.md @@ -1 +1 @@ -## [View the documentation here.](https://discord.js.org/docs/packages/ws/main) +## [View the documentation here.](https://discord.js.org/#/docs/ws) diff --git a/packages/ws/package.json b/packages/ws/package.json index cfb70ee28dd7..c1f989def00e 100644 --- a/packages/ws/package.json +++ b/packages/ws/package.json @@ -64,8 +64,8 @@ "@discordjs/util": "workspace:^", "@sapphire/async-queue": "^1.5.0", "@types/ws": "^8.5.4", - "@vladfrangu/async_event_emitter": "^2.2.1", - "discord-api-types": "^0.37.38", + "@vladfrangu/async_event_emitter": "^2.1.4", + "discord-api-types": "^0.37.37", "tslib": "^2.5.0", "ws": "^8.13.0" }, @@ -73,17 +73,17 @@ "@favware/cliff-jumper": "^2.0.0", "@microsoft/api-extractor": "^7.34.4", "@types/node": "16.18.23", - "@vitest/coverage-c8": "^0.30.1", + "@vitest/coverage-c8": "^0.29.8", "cross-env": "^7.0.3", "esbuild-plugin-version-injector": "^1.1.0", - "eslint": "^8.38.0", - "eslint-config-neon": "^0.1.42", + "eslint": "^8.37.0", + "eslint-config-neon": "^0.1.41", "eslint-formatter-pretty": "^5.0.0", "mock-socket": "^9.2.1", "prettier": "^2.8.7", "tsup": "^6.7.0", - "typescript": "^5.0.4", - "undici": "^5.21.2", + "typescript": "^5.0.3", + "undici": "^5.21.0", "vitest": "^0.29.8", "zlib-sync": "^0.1.8" }, diff --git a/packages/ws/src/ws/WebSocketShard.ts b/packages/ws/src/ws/WebSocketShard.ts index abf1f10adde7..70347d0d8e4d 100644 --- a/packages/ws/src/ws/WebSocketShard.ts +++ b/packages/ws/src/ws/WebSocketShard.ts @@ -1,7 +1,7 @@ /* eslint-disable id-length */ import { Buffer } from 'node:buffer'; import { once } from 'node:events'; -import { clearInterval, clearTimeout, setInterval, setTimeout } from 'node:timers'; +import { setTimeout, clearInterval, clearTimeout, setInterval } from 'node:timers'; import { setTimeout as sleep } from 'node:timers/promises'; import { URLSearchParams } from 'node:url'; import { TextDecoder } from 'node:util'; @@ -16,14 +16,14 @@ import { GatewayOpcodes, type GatewayDispatchPayload, type GatewayIdentifyData, - type GatewayReadyDispatchData, type GatewayReceivePayload, type GatewaySendPayload, + type GatewayReadyDispatchData, } from 'discord-api-types/v10'; import { WebSocket, type RawData } from 'ws'; import type { Inflate } from 'zlib-sync'; import type { IContextFetchingStrategy } from '../strategies/context/IContextFetchingStrategy'; -import { ImportantGatewayOpcodes, getInitialSendRateLimitState } from '../utils/constants.js'; +import { getInitialSendRateLimitState, ImportantGatewayOpcodes } from '../utils/constants.js'; import type { SessionInfo } from './WebSocketManager.js'; // eslint-disable-next-line promise/prefer-await-to-then @@ -101,15 +101,14 @@ export class WebSocketShard extends AsyncEventEmitter { private lastHeartbeatAt = -1; + private session: SessionInfo | null = null; + // Indicates whether the shard has already resolved its original connect() call private initialConnectResolved = false; - // Indicates if we failed to connect to the ws url (ECONNREFUSED/ECONNRESET) - private failedToConnectDueToNetworkError = false; - private readonly sendQueue = new AsyncQueue(); - private readonly timeoutAbortControllers = new Collection(); + private readonly timeouts = new Collection(); private readonly strategy: IContextFetchingStrategy; @@ -128,14 +127,6 @@ export class WebSocketShard extends AsyncEventEmitter { } public async connect() { - const promise = this.initialConnectResolved ? Promise.resolve() : once(this, WebSocketShardEvents.Ready); - void this.internalConnect(); - - await promise; - this.initialConnectResolved = true; - } - - private async internalConnect() { if (this.#status !== WebSocketShardStatus.Idle) { throw new Error("Tried to connect a shard that wasn't idle"); } @@ -158,7 +149,7 @@ export class WebSocketShard extends AsyncEventEmitter { } } - const session = await this.strategy.retrieveSessionInfo(this.id); + const session = this.session ?? (await this.strategy.retrieveSessionInfo(this.id)); const url = `${session?.resumeURL ?? this.strategy.options.gatewayInformation.url}?${params.toString()}`; this.debug([`Connecting to ${url}`]); @@ -174,16 +165,21 @@ export class WebSocketShard extends AsyncEventEmitter { this.sendRateLimitState = getInitialSendRateLimitState(); - const { ok } = await this.waitForEvent(WebSocketShardEvents.Hello, this.strategy.options.helloTimeout); + const { ok } = await this.bubbleWaitForEventError( + this.waitForEvent(WebSocketShardEvents.Hello, this.strategy.options.helloTimeout), + ); if (!ok) { return; } if (session?.shardCount === this.strategy.options.shardCount) { + this.session = session; await this.resume(session); } else { await this.identify(); } + + this.initialConnectResolved = true; } public async destroy(options: WebSocketShardDestroyOptions = {}) { @@ -216,16 +212,9 @@ export class WebSocketShard extends AsyncEventEmitter { this.lastHeartbeatAt = -1; - for (const controller of this.timeoutAbortControllers.values()) { - controller.abort(); - } - - this.timeoutAbortControllers.clear(); - - this.failedToConnectDueToNetworkError = false; - // Clear session state if applicable - if (options.recover !== WebSocketShardDestroyRecovery.Resume) { + if (options.recover !== WebSocketShardDestroyRecovery.Resume && this.session) { + this.session = null; await this.strategy.updateSessionInfo(this.id, null); } @@ -259,50 +248,65 @@ export class WebSocketShard extends AsyncEventEmitter { this.#status = WebSocketShardStatus.Idle; if (options.recover !== undefined) { - return this.internalConnect(); + return this.connect(); } } - private async waitForEvent(event: WebSocketShardEvents, timeoutDuration?: number | null): Promise<{ ok: boolean }> { + private async waitForEvent(event: WebSocketShardEvents, timeoutDuration?: number | null): Promise { this.debug([`Waiting for event ${event} ${timeoutDuration ? `for ${timeoutDuration}ms` : 'indefinitely'}`]); - const timeoutController = new AbortController(); - const timeout = timeoutDuration ? setTimeout(() => timeoutController.abort(), timeoutDuration).unref() : null; - - this.timeoutAbortControllers.set(event, timeoutController); + const controller = new AbortController(); + const timeout = timeoutDuration ? setTimeout(() => controller.abort(), timeoutDuration).unref() : null; + if (timeout) { + this.timeouts.set(event, timeout); + } - const closeController = new AbortController(); + await once(this, event, { signal: controller.signal }).finally(() => { + if (timeout) { + clearTimeout(timeout); + this.timeouts.delete(event); + } + }); + } + /** + * Does special error handling for waitForEvent calls, depending on the current state of the connection lifecycle + * (i.e. whether or not the original connect() call has resolved or if the user has an error listener) + */ + private async bubbleWaitForEventError( + promise: Promise, + ): Promise<{ error: unknown; ok: false } | { ok: true }> { try { - // If the first promise resolves, all is well. If the 2nd promise resolves, - // the shard has meanwhile closed. In that case, a destroy is already ongoing, so we just need to - // return false. Meanwhile, if something rejects (error event) or the first controller is aborted, - // we enter the catch block and trigger a destroy there. - const closed = await Promise.race([ - once(this, event, { signal: timeoutController.signal }).then(() => false), - once(this, WebSocketShardEvents.Closed, { signal: closeController.signal }).then(() => true), - ]); + await promise; + return { ok: true }; + } catch (error) { + const isAbortError = error instanceof Error && error.name === 'AbortError'; + + // Any error that isn't an abort error would have been caused by us emitting an error event in the first place + // See https://nodejs.org/api/events.html#eventsonceemitter-name-options for `once()` behavior + if (isAbortError) { + this.emit(WebSocketShardEvents.Error, { error: error as Error }); + } - return { ok: !closed }; - } catch { - // If we're here because of other reasons, we need to destroy the shard + // As stated previously, any other error would have been caused by us emitting the error event, which looks + // like { error: unknown } + // eslint-disable-next-line no-ex-assign + error = error instanceof Error ? error : (error as { error: unknown }).error; + + // If the user has no handling on their end (error event) simply throw. + // We also want to throw if we're still in the initial `connect()` call, since that's the only time + // the user can catch the error "normally" + if (this.listenerCount(WebSocketShardEvents.Error) === 0 || !this.initialConnectResolved) { + throw error; + } + + // If the error is handled, we can just try to reconnect void this.destroy({ code: CloseCodes.Normal, reason: 'Something timed out or went wrong while waiting for an event', recover: WebSocketShardDestroyRecovery.Reconnect, }); - return { ok: false }; - } finally { - if (timeout) { - clearTimeout(timeout); - } - - this.timeoutAbortControllers.delete(event); - - // Clean up the close listener to not leak memory - if (!closeController.signal.aborted) { - closeController.abort(); - } + return { ok: false, error }; } } @@ -389,17 +393,13 @@ export class WebSocketShard extends AsyncEventEmitter { d, }); - await this.waitForEvent(WebSocketShardEvents.Ready, this.strategy.options.readyTimeout); + await this.bubbleWaitForEventError( + this.waitForEvent(WebSocketShardEvents.Ready, this.strategy.options.readyTimeout), + ); } private async resume(session: SessionInfo) { - this.debug([ - 'Resuming session', - `resume url: ${session.resumeURL}`, - `sequence: ${session.sequence}`, - `shard id: ${this.id.toString()}`, - ]); - + this.debug(['Resuming session']); this.#status = WebSocketShardStatus.Resuming; this.replayedEvents = 0; return this.send({ @@ -417,11 +417,9 @@ export class WebSocketShard extends AsyncEventEmitter { return this.destroy({ reason: 'Zombie connection', recover: WebSocketShardDestroyRecovery.Resume }); } - const session = await this.strategy.retrieveSessionInfo(this.id); - await this.send({ op: GatewayOpcodes.Heartbeat, - d: session?.sequence ?? null, + d: this.session?.sequence ?? null, }); this.lastHeartbeatAt = Date.now(); @@ -508,7 +506,7 @@ export class WebSocketShard extends AsyncEventEmitter { case GatewayDispatchEvents.Ready: { this.#status = WebSocketShardStatus.Ready; - const session = { + this.session ??= { sequence: payload.s, sessionId: payload.d.session_id, shardId: this.id, @@ -516,7 +514,7 @@ export class WebSocketShard extends AsyncEventEmitter { resumeURL: payload.d.resume_gateway_url, }; - await this.strategy.updateSessionInfo(this.id, session); + await this.strategy.updateSessionInfo(this.id, this.session); this.emit(WebSocketShardEvents.Ready, { data: payload.d }); break; @@ -534,15 +532,9 @@ export class WebSocketShard extends AsyncEventEmitter { } } - const session = await this.strategy.retrieveSessionInfo(this.id); - if (session) { - if (payload.s > session.sequence) { - await this.strategy.updateSessionInfo(this.id, { ...session, sequence: payload.s }); - } - } else { - this.debug([ - `Received a ${payload.t} event but no session is available. Session information cannot be re-constructed in this state without a full reconnect`, - ]); + if (this.session && payload.s > this.session.sequence) { + this.session.sequence = payload.s; + await this.strategy.updateSessionInfo(this.id, this.session); } this.emit(WebSocketShardEvents.Dispatch, { data: payload }); @@ -564,8 +556,10 @@ export class WebSocketShard extends AsyncEventEmitter { } case GatewayOpcodes.InvalidSession: { + const readyTimeout = this.timeouts.get(WebSocketShardEvents.Ready); + readyTimeout?.refresh(); this.debug([`Invalid session; will attempt to resume: ${payload.d.toString()}`]); - const session = await this.strategy.retrieveSessionInfo(this.id); + const session = this.session ?? (await this.strategy.retrieveSessionInfo(this.id)); if (payload.d && session) { await this.resume(session); } else { @@ -618,12 +612,6 @@ export class WebSocketShard extends AsyncEventEmitter { } private onError(error: Error) { - if ('code' in error && ['ECONNRESET', 'ECONNREFUSED'].includes(error.code as string)) { - this.debug(['Failed to connect to the gateway URL specified due to a network error']); - this.failedToConnectDueToNetworkError = true; - return; - } - this.emit(WebSocketShardEvents.Error, { error }); } @@ -708,17 +696,8 @@ export class WebSocketShard extends AsyncEventEmitter { } default: { - this.debug([ - `The gateway closed with an unexpected code ${code}, attempting to ${ - this.failedToConnectDueToNetworkError ? 'reconnect' : 'resume' - }.`, - ]); - return this.destroy({ - code, - recover: this.failedToConnectDueToNetworkError - ? WebSocketShardDestroyRecovery.Reconnect - : WebSocketShardDestroyRecovery.Resume, - }); + this.debug([`The gateway closed with an unexpected code ${code}, attempting to resume.`]); + return this.destroy({ code, recover: WebSocketShardDestroyRecovery.Resume }); } } } diff --git a/yarn.lock b/yarn.lock index 0c64e96daf6d..c0b5f3a3043d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -34,13 +34,13 @@ __metadata: languageName: node linkType: hard -"@ampproject/remapping@npm:^2.2.0, @ampproject/remapping@npm:^2.2.1": - version: 2.2.1 - resolution: "@ampproject/remapping@npm:2.2.1" +"@ampproject/remapping@npm:^2.2.0": + version: 2.2.0 + resolution: "@ampproject/remapping@npm:2.2.0" dependencies: - "@jridgewell/gen-mapping": ^0.3.0 + "@jridgewell/gen-mapping": ^0.1.0 "@jridgewell/trace-mapping": ^0.3.9 - checksum: 03c04fd526acc64a1f4df22651186f3e5ef0a9d6d6530ce4482ec9841269cf7a11dbb8af79237c282d721c5312024ff17529cd72cc4768c11e999b58e2302079 + checksum: d74d170d06468913921d72430259424b7e4c826b5a7d39ff839a29d547efb97dc577caa8ba3fb5cf023624e9af9d09651afc3d4112a45e2050328abc9b3a2292 languageName: node linkType: hard @@ -131,30 +131,10 @@ __metadata: languageName: node linkType: hard -"@arcanis/slice-ansi@npm:^1.0.2": - version: 1.1.1 - resolution: "@arcanis/slice-ansi@npm:1.1.1" - dependencies: - grapheme-splitter: ^1.0.4 - checksum: 14ed60cb45750d386c64229ac7bab20e10eedc193503fa4decff764162d329d6d3363ed2cd3debec833186ee54affe4f824f6e8eff531295117fd1ebda200270 - languageName: node - linkType: hard - -"@astrojs/compiler@npm:^1.0.0": - version: 1.3.1 - resolution: "@astrojs/compiler@npm:1.3.1" - checksum: fcf0df0729f20656f7a504c14ca85e06c0ab26a236c3d76d6f1b7835372c996f796da1cb5b8942d6b9bc7ae8e570d4e3500d354ceabe7e6041243d8b9f6b9c07 - languageName: node - linkType: hard - -"@aw-web-design/x-default-browser@npm:1.4.88": - version: 1.4.88 - resolution: "@aw-web-design/x-default-browser@npm:1.4.88" - dependencies: - default-browser-id: 3.0.0 - bin: - x-default-browser: bin/x-default-browser.js - checksum: c85e61dc9e5bb04906d8ac29cce35369705c3ea3abe36a5afdecc9caefd7ee0f14596ccc6eb617c86790a67b6ee7f7f070a3e2f9e9152a8ba92adf2ccee1433a +"@astrojs/compiler@npm:^1.0.0, @astrojs/compiler@npm:^1.0.1": + version: 1.3.0 + resolution: "@astrojs/compiler@npm:1.3.0" + checksum: d2eb523499289c567d2197b4d6b3106cab3449627dfd0017652cbf3829c73684bd5db8a2c011a3a96f058be3fdfbed2a46d23b6f04aece62b77808f6ee752e06 languageName: node linkType: hard @@ -174,7 +154,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.18.6, @babel/core@npm:^7.20.12, @babel/core@npm:^7.20.2, @babel/core@npm:^7.20.7, @babel/core@npm:^7.21.4, @babel/core@npm:^7.7.5, @babel/core@npm:~7.21.0": +"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.18.6, @babel/core@npm:^7.20.12, @babel/core@npm:^7.20.7, @babel/core@npm:^7.21.4": version: 7.21.4 resolution: "@babel/core@npm:7.21.4" dependencies: @@ -197,7 +177,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.18.6, @babel/generator@npm:^7.21.4, @babel/generator@npm:^7.7.2, @babel/generator@npm:~7.21.1": +"@babel/generator@npm:^7.18.6, @babel/generator@npm:^7.20.14, @babel/generator@npm:^7.21.4, @babel/generator@npm:^7.7.2": version: 7.21.4 resolution: "@babel/generator@npm:7.21.4" dependencies: @@ -484,7 +464,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.10.3, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.6, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.4, @babel/parser@npm:~7.21.2": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.10.3, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.6, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.4": version: 7.21.4 resolution: "@babel/parser@npm:7.21.4" bin: @@ -531,7 +511,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-class-properties@npm:^7.13.0, @babel/plugin-proposal-class-properties@npm:^7.18.6": +"@babel/plugin-proposal-class-properties@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-class-properties@npm:7.18.6" dependencies: @@ -604,7 +584,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.13.8, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6": +"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6" dependencies: @@ -655,7 +635,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-optional-chaining@npm:^7.13.12, @babel/plugin-proposal-optional-chaining@npm:^7.20.7, @babel/plugin-proposal-optional-chaining@npm:^7.21.0": +"@babel/plugin-proposal-optional-chaining@npm:^7.20.7, @babel/plugin-proposal-optional-chaining@npm:^7.21.0": version: 7.21.0 resolution: "@babel/plugin-proposal-optional-chaining@npm:7.21.0" dependencies: @@ -772,17 +752,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-flow@npm:^7.18.6": - version: 7.21.4 - resolution: "@babel/plugin-syntax-flow@npm:7.21.4" - dependencies: - "@babel/helper-plugin-utils": ^7.20.2 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: fe4ba7b285965c62ff820d55d260cb5b6e5282dbedddd1fb0a0f2667291dcf0fa1b3d92fa9bf90946b02b307926a0a5679fbdd31d80ceaed5971293aa1fc5744 - languageName: node - linkType: hard - "@babel/plugin-syntax-import-assertions@npm:^7.20.0": version: 7.20.0 resolution: "@babel/plugin-syntax-import-assertions@npm:7.20.0" @@ -1049,18 +1018,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-flow-strip-types@npm:^7.21.0": - version: 7.21.0 - resolution: "@babel/plugin-transform-flow-strip-types@npm:7.21.0" - dependencies: - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/plugin-syntax-flow": ^7.18.6 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: a45951c57265c366f95db9a5e70a62cfc3eafafa3f3d23295357577b5fc139d053d45416cdbdf4a0a387e41cefc434ab94dd6c3048d03b094ff6d041dd10a0b0 - languageName: node - linkType: hard - "@babel/plugin-transform-for-of@npm:^7.21.0": version: 7.21.0 resolution: "@babel/plugin-transform-for-of@npm:7.21.0" @@ -1119,7 +1076,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-commonjs@npm:^7.13.8, @babel/plugin-transform-modules-commonjs@npm:^7.21.2": +"@babel/plugin-transform-modules-commonjs@npm:^7.21.2": version: 7.21.2 resolution: "@babel/plugin-transform-modules-commonjs@npm:7.21.2" dependencies: @@ -1237,21 +1194,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-jsx@npm:^7.19.0": - version: 7.21.0 - resolution: "@babel/plugin-transform-react-jsx@npm:7.21.0" - dependencies: - "@babel/helper-annotate-as-pure": ^7.18.6 - "@babel/helper-module-imports": ^7.18.6 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/plugin-syntax-jsx": ^7.18.6 - "@babel/types": ^7.21.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: c77d277d2e55b489a9b9be185c3eed5d8e2c87046778810f8e47ee3c87b47e64cad93c02211c968486c7958fd05ce203c66779446484c98a7b3a69bec687d5dc - languageName: node - linkType: hard - "@babel/plugin-transform-regenerator@npm:^7.20.5": version: 7.20.5 resolution: "@babel/plugin-transform-regenerator@npm:7.20.5" @@ -1368,7 +1310,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.18.6, @babel/preset-env@npm:^7.20.2, @babel/preset-env@npm:^7.21.4, @babel/preset-env@npm:~7.21.0": +"@babel/preset-env@npm:^7.18.6, @babel/preset-env@npm:^7.21.4": version: 7.21.4 resolution: "@babel/preset-env@npm:7.21.4" dependencies: @@ -1453,19 +1395,6 @@ __metadata: languageName: node linkType: hard -"@babel/preset-flow@npm:^7.13.13": - version: 7.21.4 - resolution: "@babel/preset-flow@npm:7.21.4" - dependencies: - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-validator-option": ^7.21.0 - "@babel/plugin-transform-flow-strip-types": ^7.21.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: a3a1ac91d0bc0ed033ae46556babe3dc571ea8788c531db550d6904bd303cf50ebb84fa417c1f059c3b69d62e0792d8eceda83d820a12c2e6b8008e5518ce7b8 - languageName: node - linkType: hard - "@babel/preset-modules@npm:^0.1.5": version: 0.1.5 resolution: "@babel/preset-modules@npm:0.1.5" @@ -1481,7 +1410,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.18.6, @babel/preset-typescript@npm:^7.21.4": +"@babel/preset-typescript@npm:^7.18.6, @babel/preset-typescript@npm:^7.21.4": version: 7.21.4 resolution: "@babel/preset-typescript@npm:7.21.4" dependencies: @@ -1496,21 +1425,6 @@ __metadata: languageName: node linkType: hard -"@babel/register@npm:^7.13.16": - version: 7.21.0 - resolution: "@babel/register@npm:7.21.0" - dependencies: - clone-deep: ^4.0.1 - find-cache-dir: ^2.0.0 - make-dir: ^2.1.0 - pirates: ^4.0.5 - source-map-support: ^0.5.16 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 9745cc7520b4c5e64cc54f4851c3b78af82e1f8cffc9041f5cc0b9aef62d86a9a8617327fc975b5e0e39cb5cc0aba7ae02429884390ee93e0de29152fa849b4f - languageName: node - linkType: hard - "@babel/regjsgen@npm:^0.8.0": version: 0.8.0 resolution: "@babel/regjsgen@npm:0.8.0" @@ -1527,7 +1441,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.8.4": +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4": version: 7.21.0 resolution: "@babel/runtime@npm:7.21.0" dependencies: @@ -1547,7 +1461,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.10.3, @babel/traverse@npm:^7.18.6, @babel/traverse@npm:^7.20.5, @babel/traverse@npm:^7.20.7, @babel/traverse@npm:^7.21.0, @babel/traverse@npm:^7.21.2, @babel/traverse@npm:^7.21.4, @babel/traverse@npm:^7.7.2, @babel/traverse@npm:~7.21.2": +"@babel/traverse@npm:^7.10.3, @babel/traverse@npm:^7.18.6, @babel/traverse@npm:^7.20.13, @babel/traverse@npm:^7.20.5, @babel/traverse@npm:^7.20.7, @babel/traverse@npm:^7.21.0, @babel/traverse@npm:^7.21.2, @babel/traverse@npm:^7.21.4, @babel/traverse@npm:^7.7.2": version: 7.21.4 resolution: "@babel/traverse@npm:7.21.4" dependencies: @@ -1565,7 +1479,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.10.3, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.20.5, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.2, @babel/types@npm:^7.21.4, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3, @babel/types@npm:~7.21.2": +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.10.3, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.20.5, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.2, @babel/types@npm:^7.21.4, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": version: 7.21.4 resolution: "@babel/types@npm:7.21.4" dependencies: @@ -1576,13 +1490,6 @@ __metadata: languageName: node linkType: hard -"@base2/pretty-print-object@npm:1.0.1": - version: 1.0.1 - resolution: "@base2/pretty-print-object@npm:1.0.1" - checksum: 1e8a5af578037a9d47d72f815983f9e4efb038e5f03e7635fc893194c5daa723215d71af33267893a9b618656c8eaea7be931b1c063c9b066a40994be0d23545 - languageName: node - linkType: hard - "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -1597,39 +1504,30 @@ __metadata: languageName: node linkType: hard -"@code-hike/lighter@npm:0.6.4": - version: 0.6.4 - resolution: "@code-hike/lighter@npm:0.6.4" - checksum: 8683f73c636c85083bbd714ee29a5e1474afeaccba3bfd8ad8eac8df69160faa1bf9a098d41406d44c912ff89bcb2d0d7c1cd2a9e9550f7d94fd2bcc86cc1570 - languageName: node - linkType: hard - -"@code-hike/mdx@npm:^0.8.2": - version: 0.8.2 - resolution: "@code-hike/mdx@npm:0.8.2" +"@code-hike/mdx@npm:^0.7.5-next.0": + version: 0.7.5-next.0 + resolution: "@code-hike/mdx@npm:0.7.5-next.0" dependencies: - "@code-hike/lighter": 0.6.4 + hast-util-to-estree: ^1.4.0 + is-plain-obj: ^3.0.0 node-fetch: ^2.0.0 + remark-rehype: ^8.1.0 shiki: ^0.10.1 + unified: ^9.2.2 + unist-util-visit: ^2.0.0 + unist-util-visit-parents: ^3.0.0 peerDependencies: react: ^16.8.3 || ^17 || ^18 - checksum: 7eaf28e38b9fb6e2aa89af4f8d56dce2b7d6b6243c50935b0ecd678f4fff5f53879a115640b558cec2825cbd953577ac6889f902f61d14e02175b2c23b096534 - languageName: node - linkType: hard - -"@colors/colors@npm:1.5.0": - version: 1.5.0 - resolution: "@colors/colors@npm:1.5.0" - checksum: d64d5260bed1d5012ae3fc617d38d1afc0329fec05342f4e6b838f46998855ba56e0a73833f4a80fa8378c84810da254f76a8a19c39d038260dc06dc4e007425 + checksum: 8f5fc6093ab1f6b1401ce2b1037e66a9b0c24bc76822a900f41bb0b56e6ca8074deb436131379757f49cae9eb5a4f530ed4c09e304d00b436bddd5285f1a71c9 languageName: node linkType: hard -"@commitlint/cli@npm:^17.6.0": - version: 17.6.0 - resolution: "@commitlint/cli@npm:17.6.0" +"@commitlint/cli@npm:^17.5.1": + version: 17.5.1 + resolution: "@commitlint/cli@npm:17.5.1" dependencies: "@commitlint/format": ^17.4.4 - "@commitlint/lint": ^17.6.0 + "@commitlint/lint": ^17.4.4 "@commitlint/load": ^17.5.0 "@commitlint/read": ^17.5.1 "@commitlint/types": ^17.4.4 @@ -1640,7 +1538,7 @@ __metadata: yargs: ^17.0.0 bin: commitlint: cli.js - checksum: 3b42aff92bbb882cdff1e54361548fe622ead8eef572d1750fab08e10755b8165dfa79c1e6d71ef2197b9f94223edeee69348bc21a3160d2e18c9ed7dff6e49d + checksum: 2bdd26b3215796dccb16b0d7459d3b0db7f6324800aa73b97a8cdf79b77f3691d85ee88f37fa6cf20c97ac664f31dcb6ad7aef1da3c3b32d7bb12f18d49a37f2 languageName: node linkType: hard @@ -1651,12 +1549,12 @@ __metadata: languageName: node linkType: hard -"@commitlint/config-angular@npm:^17.6.0": - version: 17.6.0 - resolution: "@commitlint/config-angular@npm:17.6.0" +"@commitlint/config-angular@npm:^17.4.4": + version: 17.4.4 + resolution: "@commitlint/config-angular@npm:17.4.4" dependencies: "@commitlint/config-angular-type-enum": ^17.4.0 - checksum: fa69704cb314db44388e864a1f0631b72bc9eadc78033ec802f45c86eeac6e6aa953eb69794ea2b7091d1da1efcea80f546679c5018f573868b42911d963581c + checksum: 7dbb42097d7c4a7bc19fcdfc691702a239595c6119d1cee6d044dd61726a5e30c5c1e69380950c707726347ded4e40a19057b4878a1638bb9c48e84af6247b02 languageName: node linkType: hard @@ -1711,15 +1609,15 @@ __metadata: languageName: node linkType: hard -"@commitlint/lint@npm:^17.6.0": - version: 17.6.0 - resolution: "@commitlint/lint@npm:17.6.0" +"@commitlint/lint@npm:^17.4.4": + version: 17.4.4 + resolution: "@commitlint/lint@npm:17.4.4" dependencies: "@commitlint/is-ignored": ^17.4.4 "@commitlint/parse": ^17.4.4 - "@commitlint/rules": ^17.6.0 + "@commitlint/rules": ^17.4.4 "@commitlint/types": ^17.4.4 - checksum: 0e2901662867ab70c1017e2e501d3a255641972cddbc62f20b53e23de479492b33b60ad5bb74a57372292184ff7acb9e220297871b47b2910ddd2b22c3864a5e + checksum: bf04a9f9a1435e0d3cd03c58b6bf924613d0278b66b0a5d0e18eb96c7af9eeb02871e739a4d7d9312b2b4178f6f8ae9a49ba74382b4e28f623e1bf0af7067946 languageName: node linkType: hard @@ -1790,16 +1688,16 @@ __metadata: languageName: node linkType: hard -"@commitlint/rules@npm:^17.6.0": - version: 17.6.0 - resolution: "@commitlint/rules@npm:17.6.0" +"@commitlint/rules@npm:^17.4.4": + version: 17.4.4 + resolution: "@commitlint/rules@npm:17.4.4" dependencies: "@commitlint/ensure": ^17.4.4 "@commitlint/message": ^17.4.2 "@commitlint/to-lines": ^17.4.0 "@commitlint/types": ^17.4.4 execa: ^5.0.0 - checksum: 66af1a387b0e6d819e2997423227d7894eb9fd954caf14dab0015094ef4540d615bc3e5d2f8ab720baf264ea9fdc5339728b3c3d23b892b1656236ff96ddd112 + checksum: f36525f6e234df6a17d47457b733a1fc10e3e01db1aa6fb45b18cbaf74b7915f634ab65f73d2412787137c366046f8264126c2f21ad9023ac6b68ec8b1cee8f4 languageName: node linkType: hard @@ -1991,18 +1889,18 @@ __metadata: dependencies: "@actions/core": ^1.10.0 "@actions/glob": ^0.4.0 - "@planetscale/database": ^1.7.0 + "@planetscale/database": ^1.6.0 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 tslib: ^2.5.0 tsup: ^6.7.0 - typescript: ^5.0.4 - undici: ^5.21.2 + typescript: ^5.0.3 + undici: ^5.21.0 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2015,12 +1913,12 @@ __metadata: "@microsoft/tsdoc": 0.14.2 "@types/node": 16.18.23 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 languageName: unknown linkType: soft @@ -2032,16 +1930,16 @@ __metadata: "@microsoft/api-extractor": ^7.34.4 "@msgpack/msgpack": ^3.0.0-beta2 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 - "@vladfrangu/async_event_emitter": ^2.2.1 + "@vitest/coverage-c8": ^0.29.8 + "@vladfrangu/async_event_emitter": ^2.1.4 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 ioredis: ^5.3.1 prettier: ^2.8.7 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2054,22 +1952,22 @@ __metadata: "@discordjs/util": "workspace:^" "@favware/cliff-jumper": ^2.0.0 "@microsoft/api-extractor": ^7.34.4 - "@sapphire/shapeshift": ^3.8.2 + "@sapphire/shapeshift": ^3.8.1 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 cross-env: ^7.0.3 - discord-api-types: ^0.37.38 + discord-api-types: ^0.37.37 downlevel-dts: ^0.11.0 esbuild-plugin-version-injector: ^1.1.0 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 fast-deep-equal: ^3.1.3 prettier: ^2.8.7 ts-mixer: ^6.0.3 tslib: ^2.5.0 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2081,15 +1979,15 @@ __metadata: "@favware/cliff-jumper": ^2.0.0 "@microsoft/api-extractor": ^7.34.4 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 cross-env: ^7.0.3 esbuild-plugin-version-injector: ^1.1.0 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2103,19 +2001,19 @@ __metadata: "@discordjs/ws": "workspace:^" "@favware/cliff-jumper": ^2.0.0 "@microsoft/api-extractor": ^7.34.4 - "@sapphire/snowflake": ^3.4.2 + "@sapphire/snowflake": ^3.4.0 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 - "@vladfrangu/async_event_emitter": ^2.2.1 + "@vitest/coverage-c8": ^0.29.8 + "@vladfrangu/async_event_emitter": ^2.1.4 cross-env: ^7.0.3 - discord-api-types: ^0.37.38 + discord-api-types: ^0.37.37 esbuild-plugin-version-injector: ^1.1.0 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2124,19 +2022,19 @@ __metadata: version: 0.0.0-use.local resolution: "@discordjs/discord.js@workspace:." dependencies: - "@commitlint/cli": ^17.6.0 - "@commitlint/config-angular": ^17.6.0 + "@commitlint/cli": ^17.5.1 + "@commitlint/config-angular": ^17.4.4 "@favware/cliff-jumper": ^2.0.0 "@favware/npm-deprecate": ^1.0.7 conventional-changelog-cli: ^2.2.2 husky: ^8.0.3 is-ci: ^3.0.1 - lint-staged: ^13.2.1 + lint-staged: ^13.2.0 tsup: ^6.7.0 - turbo: ^1.9.1 - typescript: ^5.0.4 - unocss: ^0.51.4 - vercel: ^28.18.5 + turbo: ^1.8.8 + typescript: ^5.0.3 + unocss: ^0.50.6 + vercel: ^28.18.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2150,15 +2048,15 @@ __metadata: "@types/node": 16.18.23 commander: ^10.0.0 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 jsdoc-to-markdown: ^8.0.0 prettier: ^2.8.7 tslib: ^2.5.0 tsup: ^6.7.0 - typedoc: ^0.24.1 - typescript: ^5.0.4 + typedoc: ^0.23.28 + typescript: ^5.0.3 bin: docgen: ./dist/cli.js languageName: unknown @@ -2171,15 +2069,15 @@ __metadata: "@favware/cliff-jumper": ^2.0.0 "@microsoft/api-extractor": ^7.34.4 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 cross-env: ^7.0.3 - discord-api-types: ^0.37.38 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + discord-api-types: ^0.37.37 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2188,54 +2086,55 @@ __metadata: version: 0.0.0-use.local resolution: "@discordjs/guide@workspace:apps/guide" dependencies: - "@code-hike/mdx": ^0.8.2 + "@code-hike/mdx": ^0.7.5-next.0 "@discordjs/ui": "workspace:^" - "@next/bundle-analyzer": ^13.3.0 + "@next/bundle-analyzer": ^13.2.4 "@react-icons/all-files": ^4.1.0 "@testing-library/react": ^14.0.0 "@testing-library/user-event": ^14.4.3 "@types/node": 18.15.11 - "@types/react": ^18.0.35 + "@types/react": ^18.0.32 "@types/react-dom": ^18.0.11 - "@unocss/cli": ^0.51.4 - "@unocss/eslint-config": ^0.51.4 - "@unocss/reset": ^0.51.4 + "@unocss/cli": ^0.50.6 + "@unocss/reset": ^0.50.6 "@vercel/analytics": ^0.1.11 - "@vercel/edge-config": ^0.1.7 - "@vercel/og": ^0.5.2 + "@vercel/edge-config": ^0.1.5 + "@vercel/og": ^0.5.0 "@vitejs/plugin-react": ^3.1.0 - "@vitest/coverage-c8": ^0.30.1 - ariakit: ^2.0.0-next.44 + "@vitest/coverage-c8": ^0.29.8 + ariakit: ^2.0.0-next.43 cmdk: ^0.2.0 concurrently: ^8.0.1 contentlayer: ^0.3.1 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 - happy-dom: ^9.5.0 + happy-dom: ^9.1.0 hast-util-to-string: ^2.0.0 hastscript: ^7.2.0 html-escaper: ^3.0.3 lighthouse: ^10.1.0 - next: ^13.3.0 + next: ^13.2.4 next-contentlayer: ^0.3.1 next-themes: ^0.2.1 prettier: ^2.8.7 + prettier-plugin-astro: ^0.8.0 + prettier-plugin-tailwindcss: ^0.2.6 react: ^18.2.0 react-custom-scrollbars-2: ^4.5.0 react-dom: ^18.2.0 + react-icons: ^4.8.0 react-use: ^17.4.0 rehype-autolink-headings: ^6.1.1 - rehype-ignore: ^1.0.5 + rehype-ignore: ^1.0.4 rehype-raw: ^6.1.1 rehype-slug: ^5.1.0 remark-gfm: ^3.0.1 - server-only: ^0.0.1 sharp: ^0.32.0 - typescript: ^5.0.4 - unocss: ^0.51.4 - vercel: ^28.18.5 + typescript: ^5.0.3 + unocss: ^0.50.6 + vercel: ^28.18.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2254,16 +2153,16 @@ __metadata: "@favware/cliff-jumper": ^2.0.0 "@microsoft/api-extractor": ^7.34.4 "@types/node": 18.15.11 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 cross-env: ^7.0.3 - discord-api-types: ^0.37.38 + discord-api-types: ^0.37.37 esbuild-plugin-version-injector: ^1.1.0 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2276,13 +2175,13 @@ __metadata: "@discordjs/rest": "workspace:^" "@types/node": 16.18.23 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 tslib: ^2.5.0 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 languageName: unknown linkType: soft @@ -2296,17 +2195,17 @@ __metadata: "@microsoft/api-extractor": ^7.34.4 "@types/node": 16.18.23 "@types/supertest": ^2.0.12 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 supertest: ^6.3.3 tslib: ^2.5.0 tsup: ^6.7.0 - typescript: ^5.0.4 - undici: ^5.21.2 + typescript: ^5.0.3 + undici: ^5.21.0 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2320,21 +2219,21 @@ __metadata: "@favware/cliff-jumper": ^2.0.0 "@microsoft/api-extractor": ^7.34.4 "@sapphire/async-queue": ^1.5.0 - "@sapphire/snowflake": ^3.4.2 + "@sapphire/snowflake": ^3.4.0 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 cross-env: ^7.0.3 - discord-api-types: ^0.37.38 + discord-api-types: ^0.37.37 esbuild-plugin-version-injector: ^1.1.0 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 file-type: ^18.2.1 prettier: ^2.8.7 tslib: ^2.5.0 tsup: ^6.7.0 - typescript: ^5.0.4 - undici: ^5.21.2 + typescript: ^5.0.3 + undici: ^5.21.0 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2349,18 +2248,18 @@ __metadata: "@microsoft/tsdoc-config": 0.16.2 "@types/fs-extra": ^11.0.1 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 commander: ^10.0.0 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 fs-extra: ^11.1.1 prettier: ^2.8.7 tslib: ^2.5.0 tsup: ^6.7.0 - typescript: ^5.0.4 - undici: ^5.21.2 + typescript: ^5.0.3 + undici: ^5.21.0 vitest: ^0.29.8 yaml: ^2.2.1 languageName: unknown @@ -2371,38 +2270,26 @@ __metadata: resolution: "@discordjs/ui@workspace:packages/ui" dependencies: "@favware/cliff-jumper": ^2.0.0 + "@ladle/react": ^2.10.2 "@react-icons/all-files": ^4.1.0 - "@storybook/addon-essentials": ^7.0.4 - "@storybook/addon-interactions": ^7.0.4 - "@storybook/addon-links": ^7.0.4 - "@storybook/addon-styling": ^1.0.0 - "@storybook/blocks": ^7.0.4 - "@storybook/react": ^7.0.4 - "@storybook/react-vite": ^7.0.4 - "@storybook/testing-library": ^0.1.0 "@types/node": 16.18.23 - "@types/react": ^18.0.35 + "@types/react": ^18.0.32 "@types/react-dom": ^18.0.11 - "@unocss/eslint-config": ^0.51.4 - "@unocss/reset": ^0.51.4 + "@unocss/reset": ^0.50.6 "@vitejs/plugin-react": ^3.1.0 - "@vitest/coverage-c8": ^0.30.1 - ariakit: ^2.0.0-next.44 - chromatic: ^6.17.3 + "@vitest/coverage-c8": ^0.29.8 + ariakit: ^2.0.0-next.43 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 - eslint-plugin-storybook: ^0.6.11 prettier: ^2.8.7 - prop-types: ^15.8.1 react: ^18.2.0 react-dom: ^18.2.0 - storybook: ^7.0.4 - typescript: ^5.0.4 - unocss: ^0.51.4 + typescript: ^5.0.3 + unocss: ^0.50.6 vite: ^4.2.1 - vite-plugin-dts: ^2.2.0 + vite-plugin-dts: ^2.1.0 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2414,15 +2301,15 @@ __metadata: "@favware/cliff-jumper": ^2.0.0 "@microsoft/api-extractor": ^7.34.4 "@types/node": 16.18.23 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 prettier: ^2.8.7 tsd: ^0.28.1 tsup: ^6.7.0 - typescript: ^5.0.4 + typescript: ^5.0.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2440,10 +2327,10 @@ __metadata: "@types/node": 16.18.23 "@types/ws": ^8.5.4 cross-env: ^7.0.3 - discord-api-types: ^0.37.38 + discord-api-types: ^0.37.37 esbuild-plugin-version-injector: ^1.1.0 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 jest: ^29.5.0 jest-websocket-mock: ^2.4.0 @@ -2453,7 +2340,7 @@ __metadata: tslib: ^2.5.0 tsup: ^6.7.0 tweetnacl: ^1.0.3 - typescript: ^5.0.4 + typescript: ^5.0.3 ws: ^8.13.0 languageName: unknown linkType: soft @@ -2467,53 +2354,52 @@ __metadata: "@discordjs/ui": "workspace:^" "@microsoft/api-extractor-model": 7.26.4 "@microsoft/tsdoc": 0.14.2 - "@next/bundle-analyzer": ^13.3.0 - "@planetscale/database": 1.7.0 + "@next/bundle-analyzer": ^13.2.4 + "@planetscale/database": ^1.6.0 "@react-icons/all-files": ^4.1.0 "@testing-library/react": ^14.0.0 "@testing-library/user-event": ^14.4.3 "@types/node": 18.15.11 - "@types/react": ^18.0.35 + "@types/react": ^18.0.32 "@types/react-dom": ^18.0.11 - "@unocss/cli": ^0.51.4 - "@unocss/eslint-config": ^0.51.4 - "@unocss/reset": ^0.51.4 + "@unocss/cli": ^0.50.6 + "@unocss/reset": ^0.50.6 "@vercel/analytics": ^0.1.11 - "@vercel/edge-config": ^0.1.7 - "@vercel/og": ^0.5.2 + "@vercel/edge-config": ^0.1.5 + "@vercel/og": ^0.5.0 "@vitejs/plugin-react": ^3.1.0 - "@vitest/coverage-c8": ^0.30.1 + "@vitest/coverage-c8": ^0.29.8 "@vscode/codicons": ^0.0.32 - ariakit: ^2.0.0-next.44 + ariakit: ^2.0.0-next.43 bright: ^0.7.1 cmdk: ^0.2.0 concurrently: ^8.0.1 cpy-cli: ^4.2.0 cross-env: ^7.0.3 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 - happy-dom: ^9.5.0 + happy-dom: ^9.1.0 lighthouse: ^10.1.0 - meilisearch: ^0.32.3 - next: ^13.3.1-canary.6 + meilisearch: ^0.32.0 + next: ^13.2.5-canary.26 next-mdx-remote: ^4.4.1 next-themes: ^0.2.1 prettier: ^2.8.7 + prettier-plugin-tailwindcss: ^0.2.6 react: ^18.2.0 react-custom-scrollbars-2: ^4.5.0 react-dom: ^18.2.0 react-use: ^17.4.0 - rehype-ignore: ^1.0.5 + rehype-ignore: ^1.0.4 rehype-raw: ^6.1.1 rehype-slug: ^5.1.0 remark-gfm: ^3.0.1 - server-only: ^0.0.1 sharp: ^0.32.0 - swr: ^2.1.3 - typescript: ^5.0.4 - unocss: ^0.51.4 - vercel: ^28.18.5 + swr: ^2.1.2 + typescript: ^5.0.3 + unocss: ^0.50.6 + vercel: ^28.18.3 vitest: ^0.29.8 languageName: unknown linkType: soft @@ -2530,33 +2416,26 @@ __metadata: "@sapphire/async-queue": ^1.5.0 "@types/node": 16.18.23 "@types/ws": ^8.5.4 - "@vitest/coverage-c8": ^0.30.1 - "@vladfrangu/async_event_emitter": ^2.2.1 + "@vitest/coverage-c8": ^0.29.8 + "@vladfrangu/async_event_emitter": ^2.1.4 cross-env: ^7.0.3 - discord-api-types: ^0.37.38 + discord-api-types: ^0.37.37 esbuild-plugin-version-injector: ^1.1.0 - eslint: ^8.38.0 - eslint-config-neon: ^0.1.42 + eslint: ^8.37.0 + eslint-config-neon: ^0.1.41 eslint-formatter-pretty: ^5.0.0 mock-socket: ^9.2.1 prettier: ^2.8.7 tslib: ^2.5.0 tsup: ^6.7.0 - typescript: ^5.0.4 - undici: ^5.21.2 + typescript: ^5.0.3 + undici: ^5.21.0 vitest: ^0.29.8 ws: ^8.13.0 zlib-sync: ^0.1.8 languageName: unknown linkType: soft -"@discoveryjs/json-ext@npm:^0.5.3, @discoveryjs/json-ext@npm:^0.5.7": - version: 0.5.7 - resolution: "@discoveryjs/json-ext@npm:0.5.7" - checksum: 2176d301cc258ea5c2324402997cf8134ebb212469c0d397591636cea8d3c02f2b3cf9fd58dcb748c7a0dade77ebdc1b10284fa63e608c033a1db52fddc69918 - languageName: node - linkType: hard - "@edge-runtime/format@npm:1.1.0": version: 1.1.0 resolution: "@edge-runtime/format@npm:1.1.0" @@ -2645,15 +2524,6 @@ __metadata: languageName: node linkType: hard -"@emotion/use-insertion-effect-with-fallbacks@npm:^1.0.0": - version: 1.0.0 - resolution: "@emotion/use-insertion-effect-with-fallbacks@npm:1.0.0" - peerDependencies: - react: ">=16.8.0" - checksum: 4f06a3b48258c832aa8022a262572061a31ff078d377e9164cccc99951309d70f4466e774fe704461b2f8715007a82ed625a54a5c7a127c89017d3ce3187d4f1 - languageName: node - linkType: hard - "@es-joy/jsdoccomment@npm:~0.37.0": version: 0.37.0 resolution: "@es-joy/jsdoccomment@npm:0.37.0" @@ -2698,9 +2568,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/android-arm64@npm:0.17.16" +"@esbuild/android-arm64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/android-arm64@npm:0.17.15" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -2719,9 +2589,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/android-arm@npm:0.17.16" +"@esbuild/android-arm@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/android-arm@npm:0.17.15" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -2740,9 +2610,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/android-x64@npm:0.17.16" +"@esbuild/android-x64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/android-x64@npm:0.17.15" conditions: os=android & cpu=x64 languageName: node linkType: hard @@ -2761,9 +2631,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/darwin-arm64@npm:0.17.16" +"@esbuild/darwin-arm64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/darwin-arm64@npm:0.17.15" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -2782,9 +2652,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/darwin-x64@npm:0.17.16" +"@esbuild/darwin-x64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/darwin-x64@npm:0.17.15" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -2803,9 +2673,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/freebsd-arm64@npm:0.17.16" +"@esbuild/freebsd-arm64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/freebsd-arm64@npm:0.17.15" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard @@ -2824,9 +2694,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/freebsd-x64@npm:0.17.16" +"@esbuild/freebsd-x64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/freebsd-x64@npm:0.17.15" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard @@ -2845,9 +2715,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-arm64@npm:0.17.16" +"@esbuild/linux-arm64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-arm64@npm:0.17.15" conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -2866,9 +2736,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-arm@npm:0.17.16" +"@esbuild/linux-arm@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-arm@npm:0.17.15" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -2887,9 +2757,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-ia32@npm:0.17.16" +"@esbuild/linux-ia32@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-ia32@npm:0.17.15" conditions: os=linux & cpu=ia32 languageName: node linkType: hard @@ -2908,9 +2778,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-loong64@npm:0.17.16" +"@esbuild/linux-loong64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-loong64@npm:0.17.15" conditions: os=linux & cpu=loong64 languageName: node linkType: hard @@ -2929,9 +2799,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-mips64el@npm:0.17.16" +"@esbuild/linux-mips64el@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-mips64el@npm:0.17.15" conditions: os=linux & cpu=mips64el languageName: node linkType: hard @@ -2950,9 +2820,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-ppc64@npm:0.17.16" +"@esbuild/linux-ppc64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-ppc64@npm:0.17.15" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard @@ -2971,9 +2841,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-riscv64@npm:0.17.16" +"@esbuild/linux-riscv64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-riscv64@npm:0.17.15" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard @@ -2992,9 +2862,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-s390x@npm:0.17.16" +"@esbuild/linux-s390x@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-s390x@npm:0.17.15" conditions: os=linux & cpu=s390x languageName: node linkType: hard @@ -3013,9 +2883,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/linux-x64@npm:0.17.16" +"@esbuild/linux-x64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/linux-x64@npm:0.17.15" conditions: os=linux & cpu=x64 languageName: node linkType: hard @@ -3034,9 +2904,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/netbsd-x64@npm:0.17.16" +"@esbuild/netbsd-x64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/netbsd-x64@npm:0.17.15" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard @@ -3055,9 +2925,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/openbsd-x64@npm:0.17.16" +"@esbuild/openbsd-x64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/openbsd-x64@npm:0.17.15" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard @@ -3076,9 +2946,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/sunos-x64@npm:0.17.16" +"@esbuild/sunos-x64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/sunos-x64@npm:0.17.15" conditions: os=sunos & cpu=x64 languageName: node linkType: hard @@ -3097,9 +2967,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/win32-arm64@npm:0.17.16" +"@esbuild/win32-arm64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/win32-arm64@npm:0.17.15" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -3118,9 +2988,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/win32-ia32@npm:0.17.16" +"@esbuild/win32-ia32@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/win32-ia32@npm:0.17.15" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -3139,9 +3009,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.17.16": - version: 0.17.16 - resolution: "@esbuild/win32-x64@npm:0.17.16" +"@esbuild/win32-x64@npm:0.17.15": + version: 0.17.15 + resolution: "@esbuild/win32-x64@npm:0.17.15" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3188,10 +3058,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.38.0": - version: 8.38.0 - resolution: "@eslint/js@npm:8.38.0" - checksum: 1f28987aa8c9cd93e23384e16c7220863b39b5dc4b66e46d7cdbccce868040f455a98d24cd8b567a884f26545a0555b761f7328d4a00c051e7ef689cbea5fce1 +"@eslint/js@npm:8.37.0": + version: 8.37.0 + resolution: "@eslint/js@npm:8.37.0" + checksum: 7a07fb085c94ce1538949012c292fd3a6cd734f149bc03af6157dfbd8a7477678899ef57b4a27e15b36470a997389ad79a0533d5880c71e67720ae1a7de7c62d languageName: node linkType: hard @@ -3251,19 +3121,19 @@ __metadata: languageName: node linkType: hard -"@floating-ui/core@npm:^1.2.6": - version: 1.2.6 - resolution: "@floating-ui/core@npm:1.2.6" - checksum: e4aa96c435277f1720d4bc939e17a79b1e1eebd589c20b622d3c646a5273590ff889b8c6e126f7be61873cf8c4d7db7d418895986ea19b8b0d0530de32504c3a +"@floating-ui/core@npm:^1.2.4": + version: 1.2.5 + resolution: "@floating-ui/core@npm:1.2.5" + checksum: 6cda151bb098e0dbd5ac0db141715e00879bf08b21553a8895232ccf429d774e30019295b5a6d2da19dd927a34540fb49b55d926b82820e6002eac7b97405f76 languageName: node linkType: hard "@floating-ui/dom@npm:^1.0.0": - version: 1.2.6 - resolution: "@floating-ui/dom@npm:1.2.6" + version: 1.2.5 + resolution: "@floating-ui/dom@npm:1.2.5" dependencies: - "@floating-ui/core": ^1.2.6 - checksum: 2226c6c244b96ae75ab14cc35bb119c8d7b83a85e2ff04e9d9800cffdb17faf4a7cf82db741dd045242ced56e31c8a08e33c8c512c972309a934d83b1f410441 + "@floating-ui/core": ^1.2.4 + checksum: a21c272a36c7cd7d337eaed82c1f8a81ccc5003d04cefa07591dc7fbb0a24d57a2c097b410593b5416145a68ac10a7a7a745c3cc4f8196268fa002364d28804b languageName: node linkType: hard @@ -3275,12 +3145,12 @@ __metadata: linkType: hard "@grpc/grpc-js@npm:^1.5.9": - version: 1.8.14 - resolution: "@grpc/grpc-js@npm:1.8.14" + version: 1.8.13 + resolution: "@grpc/grpc-js@npm:1.8.13" dependencies: "@grpc/proto-loader": ^0.7.0 "@types/node": ">=12.12.47" - checksum: 7b889ae67cde5eb9b4feb92d54e73945d881309b9b879a2dde478fa7850b99835efa7592a8154a0f923851d7a18a177c106f5f52b45061180bb04aef7783c1c9 + checksum: bc74a6aa4c677ec7824c26f94b9270cab2489b2ebe9731d8acc2a15e882b6d2a9d20e1205938862fc20296e9784a33b0818427e426718ebdd123e621041fd26c languageName: node linkType: hard @@ -3596,7 +3466,7 @@ __metadata: languageName: node linkType: hard -"@jest/transform@npm:^29.3.1, @jest/transform@npm:^29.5.0": +"@jest/transform@npm:^29.5.0": version: 29.5.0 resolution: "@jest/transform@npm:29.5.0" dependencies: @@ -3619,19 +3489,6 @@ __metadata: languageName: node linkType: hard -"@jest/types@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/types@npm:27.5.1" - dependencies: - "@types/istanbul-lib-coverage": ^2.0.0 - "@types/istanbul-reports": ^3.0.0 - "@types/node": "*" - "@types/yargs": ^16.0.0 - chalk: ^4.0.0 - checksum: d1f43cc946d87543ddd79d49547aab2399481d34025d5c5f2025d3d99c573e1d9832fa83cef25e9d9b07a8583500229d15bbb07b8e233d127d911d133e2f14b1 - languageName: node - linkType: hard - "@jest/types@npm:^29.5.0": version: 29.5.0 resolution: "@jest/types@npm:29.5.0" @@ -3646,70 +3503,48 @@ __metadata: languageName: node linkType: hard -"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.2.1": - version: 0.2.1 - resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.2.1" +"@jridgewell/gen-mapping@npm:^0.1.0": + version: 0.1.1 + resolution: "@jridgewell/gen-mapping@npm:0.1.1" dependencies: - glob: ^7.2.0 - glob-promise: ^4.2.0 - magic-string: ^0.27.0 - react-docgen-typescript: ^2.2.2 - peerDependencies: - typescript: ">= 4.3.x" - vite: ^3.0.0 || ^4.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 91401505b379396cb48c74e99ebafb8a3f85bb0c38783d4b17df42d5420782bf733f049f9a97659feb4423b4e4db9ba35fd8230add5fd32e615d5633d37cdcfd + "@jridgewell/set-array": ^1.0.0 + "@jridgewell/sourcemap-codec": ^1.4.10 + checksum: 3bcc21fe786de6ffbf35c399a174faab05eb23ce6a03e8769569de28abbf4facc2db36a9ddb0150545ae23a8d35a7cf7237b2aa9e9356a7c626fb4698287d5cc languageName: node linkType: hard -"@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2": - version: 0.3.3 - resolution: "@jridgewell/gen-mapping@npm:0.3.3" +"@jridgewell/gen-mapping@npm:^0.3.2": + version: 0.3.2 + resolution: "@jridgewell/gen-mapping@npm:0.3.2" dependencies: "@jridgewell/set-array": ^1.0.1 "@jridgewell/sourcemap-codec": ^1.4.10 "@jridgewell/trace-mapping": ^0.3.9 - checksum: 4a74944bd31f22354fc01c3da32e83c19e519e3bbadafa114f6da4522ea77dd0c2842607e923a591d60a76699d819a2fbb6f3552e277efdb9b58b081390b60ab + checksum: 1832707a1c476afebe4d0fbbd4b9434fdb51a4c3e009ab1e9938648e21b7a97049fa6009393bdf05cab7504108413441df26d8a3c12193996e65493a4efb6882 languageName: node linkType: hard -"@jridgewell/resolve-uri@npm:3.1.0": +"@jridgewell/resolve-uri@npm:3.1.0, @jridgewell/resolve-uri@npm:^3.0.3": version: 3.1.0 resolution: "@jridgewell/resolve-uri@npm:3.1.0" checksum: b5ceaaf9a110fcb2780d1d8f8d4a0bfd216702f31c988d8042e5f8fbe353c55d9b0f55a1733afdc64806f8e79c485d2464680ac48a0d9fcadb9548ee6b81d267 languageName: node linkType: hard -"@jridgewell/resolve-uri@npm:^3.0.3": - version: 3.1.1 - resolution: "@jridgewell/resolve-uri@npm:3.1.1" - checksum: f5b441fe7900eab4f9155b3b93f9800a916257f4e8563afbcd3b5a5337b55e52bd8ae6735453b1b745457d9f6cdb16d74cd6220bbdd98cf153239e13f6cbb653 - languageName: node - linkType: hard - -"@jridgewell/set-array@npm:^1.0.1": +"@jridgewell/set-array@npm:^1.0.0, @jridgewell/set-array@npm:^1.0.1": version: 1.1.2 resolution: "@jridgewell/set-array@npm:1.1.2" checksum: 69a84d5980385f396ff60a175f7177af0b8da4ddb81824cb7016a9ef914eee9806c72b6b65942003c63f7983d4f39a5c6c27185bbca88eb4690b62075602e28e languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:1.4.14": +"@jridgewell/sourcemap-codec@npm:1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13, @jridgewell/sourcemap-codec@npm:^1.4.14": version: 1.4.14 resolution: "@jridgewell/sourcemap-codec@npm:1.4.14" checksum: 61100637b6d173d3ba786a5dff019e1a74b1f394f323c1fee337ff390239f053b87266c7a948777f4b1ee68c01a8ad0ab61e5ff4abb5a012a0b091bec391ab97 languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13, @jridgewell/sourcemap-codec@npm:^1.4.14": - version: 1.4.15 - resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" - checksum: b881c7e503db3fc7f3c1f35a1dd2655a188cc51a3612d76efc8a6eb74728bef5606e6758ee77423e564092b4a518aba569bbb21c9bac5ab7a35b0c6ae7e344c8 - languageName: node - linkType: hard - "@jridgewell/trace-mapping@npm:0.3.9": version: 0.3.9 resolution: "@jridgewell/trace-mapping@npm:0.3.9" @@ -3721,12 +3556,12 @@ __metadata: linkType: hard "@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.15, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.9": - version: 0.3.18 - resolution: "@jridgewell/trace-mapping@npm:0.3.18" + version: 0.3.17 + resolution: "@jridgewell/trace-mapping@npm:0.3.17" dependencies: "@jridgewell/resolve-uri": 3.1.0 "@jridgewell/sourcemap-codec": 1.4.14 - checksum: 0572669f855260808c16fe8f78f5f1b4356463b11d3f2c7c0b5580c8ba1cbf4ae53efe9f627595830856e57dbac2325ac17eb0c3dd0ec42102e6f227cc289c02 + checksum: 9d703b859cff5cd83b7308fd457a431387db5db96bd781a63bf48e183418dd9d3d44e76b9e4ae13237f6abeeb25d739ec9215c1d5bfdd08f66f750a50074a339 languageName: node linkType: hard @@ -3749,10 +3584,63 @@ __metadata: languageName: node linkType: hard -"@juggle/resize-observer@npm:^3.3.1": - version: 3.4.0 - resolution: "@juggle/resize-observer@npm:3.4.0" - checksum: 2505028c05cc2e17639fcad06218b1c4b60f932a4ebb4b41ab546ef8c157031ae377e3f560903801f6d01706dbefd4943b6c4704bf19ed86dfa1c62f1473a570 +"@ladle/react-context@npm:^1.0.1": + version: 1.0.1 + resolution: "@ladle/react-context@npm:1.0.1" + peerDependencies: + react: ">=16.14.0" + react-dom: ">=16.14.0" + checksum: 9943b1648eedb77f162e820135f949189c4e86d376a167ea890558b3d3f99085091498a7575700f29012d9b4d01e9e86b48edb4465bf904235fb8424ac283388 + languageName: node + linkType: hard + +"@ladle/react@npm:^2.10.2": + version: 2.10.2 + resolution: "@ladle/react@npm:2.10.2" + dependencies: + "@babel/code-frame": ^7.18.6 + "@babel/core": ^7.20.12 + "@babel/generator": ^7.20.14 + "@babel/parser": ^7.20.15 + "@babel/template": ^7.20.7 + "@babel/traverse": ^7.20.13 + "@babel/types": ^7.20.7 + "@ladle/react-context": ^1.0.1 + "@mdx-js/mdx": ^2.2.1 + "@mdx-js/react": ^2.2.1 + "@vitejs/plugin-react": ^3.1.0 + "@vitejs/plugin-react-swc": ^3.1.0 + axe-core: ^4.6.3 + boxen: ^7.0.1 + chokidar: ^3.5.3 + classnames: ^2.3.2 + commander: ^10.0.0 + cross-spawn: ^7.0.3 + debug: ^4.3.4 + get-port: ^6.1.2 + globby: ^13.1.3 + history: ^5.3.0 + koa: ^2.14.1 + koa-connect: ^2.1.0 + lodash.merge: ^4.6.2 + open: ^8.4.0 + prism-react-renderer: ^1.3.5 + prop-types: ^15.8.1 + query-string: ^8.1.0 + react-frame-component: ^5.2.6 + react-inspector: ^6.0.1 + rehype-raw: ^6.1.1 + remark-gfm: ^3.0.1 + source-map: ^0.7.4 + vfile: ^5.3.6 + vite: ^4.1.1 + vite-tsconfig-paths: ^4.0.5 + peerDependencies: + react: ">=16.14.0" + react-dom: ">=16.14.0" + bin: + ladle: lib/cli/cli.js + checksum: a7be174543b7cf8b27370dd138350125b23f6d7235d188083ba5695624a0fbf192ffcb18f1a28e8c13b86535f2cf8c90e015e68c2d8728926a679b59ac791b68 languageName: node linkType: hard @@ -3813,7 +3701,7 @@ __metadata: languageName: node linkType: hard -"@mdx-js/react@npm:^2.1.5, @mdx-js/react@npm:^2.2.1": +"@mdx-js/react@npm:^2.2.1": version: 2.3.0 resolution: "@mdx-js/react@npm:2.3.0" dependencies: @@ -3896,171 +3784,188 @@ __metadata: languageName: node linkType: hard -"@ndelangen/get-tarball@npm:^3.0.7": - version: 3.0.7 - resolution: "@ndelangen/get-tarball@npm:3.0.7" - dependencies: - gunzip-maybe: ^1.4.2 - pump: ^3.0.0 - tar-fs: ^2.1.1 - checksum: f0a44392b8a452cb76f0bf80b1392c968bbf1a8535ea502c99ff3615a454140c41c65003771d017d1de73aa7ca969e14c9fbec8b36027dae74d3b0b85888b482 - languageName: node - linkType: hard - -"@next/bundle-analyzer@npm:^13.3.0": - version: 13.3.0 - resolution: "@next/bundle-analyzer@npm:13.3.0" +"@next/bundle-analyzer@npm:^13.2.4": + version: 13.2.4 + resolution: "@next/bundle-analyzer@npm:13.2.4" dependencies: webpack-bundle-analyzer: 4.7.0 - checksum: 42cf219b80c243886c2bfbaa2b6183aa89d13b34a2b7a52e0f0ada0cc2233db3b2838b31de6de98ff25d6fdcbb3b69ee299c0cdbea3baeca3ed5d9cecfbd9038 + checksum: 4c9512384d898d0f3bd628efac385bfc314337c5b40f0f63c00ff00f58dd9fd3c0e2643863022a0c4b1e04cec1f12635235623a0f2f92ca684f77e41c1c4ec11 languageName: node linkType: hard -"@next/env@npm:13.3.0": - version: 13.3.0 - resolution: "@next/env@npm:13.3.0" - checksum: 17dbea6d019df98f8abebadcaed635d792c69368389c7869ca023acfba240294368a58eda761fb8047403b84e82edf25ea2af45afe06cc1807a25de42e256dd3 +"@next/env@npm:13.2.4": + version: 13.2.4 + resolution: "@next/env@npm:13.2.4" + checksum: 4123e08a79e66d6144006972027a9ceb8f3fdd782c4a869df1eb3b91b59ad9f4a44082d3f8e421f4df5214c6bc7190b52b94881369452d65eb4580485f33b9e6 languageName: node linkType: hard -"@next/env@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/env@npm:13.3.1-canary.6" - checksum: c9f129a903573f4e565c865914f990865c626559b4baff21f47a3102df3660375dd933278da37529f679b9018638a5d4200cde2ea97bd4a4d044e8783f4f7b97 +"@next/env@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/env@npm:13.2.5-canary.26" + checksum: d13fefce12f048260cd952e976c18660160559ac1fc7a72e77673a7d0bca075ae62c565ec9a9fad8be559716dae1df769ff043e9aad129a1614c632ce963e790 languageName: node linkType: hard -"@next/eslint-plugin-next@npm:^13.3.0": - version: 13.3.0 - resolution: "@next/eslint-plugin-next@npm:13.3.0" +"@next/eslint-plugin-next@npm:^13.2.4": + version: 13.2.4 + resolution: "@next/eslint-plugin-next@npm:13.2.4" dependencies: glob: 7.1.7 - checksum: 5b8b6e7f3b82db0f6786ffebb50b1a3678cd9b6e6f17422de19bedd0d8f86ddaf8fecc9a75bb669b39b6d76a392806b11cf4f927b1e9efa56edd2beb63ce92e6 + checksum: 95f9a84922ec1c73aa51b794f9d2dc49c165a1c793db17cab4558097d31aaf65c2e5e3390d0691c056fac105562d6dc974b13b1df79981f8b7faba005f6eb3b5 + languageName: node + linkType: hard + +"@next/swc-android-arm-eabi@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-android-arm-eabi@npm:13.2.4" + conditions: os=android & cpu=arm languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-darwin-arm64@npm:13.3.0" +"@next/swc-android-arm64@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-android-arm64@npm:13.2.4" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@next/swc-darwin-arm64@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-darwin-arm64@npm:13.2.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-darwin-arm64@npm:13.3.1-canary.6" +"@next/swc-darwin-arm64@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-darwin-arm64@npm:13.2.5-canary.26" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-darwin-x64@npm:13.3.0" +"@next/swc-darwin-x64@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-darwin-x64@npm:13.2.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-darwin-x64@npm:13.3.1-canary.6" +"@next/swc-darwin-x64@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-darwin-x64@npm:13.2.5-canary.26" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-linux-arm64-gnu@npm:13.3.0" +"@next/swc-freebsd-x64@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-freebsd-x64@npm:13.2.4" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@next/swc-linux-arm-gnueabihf@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-linux-arm-gnueabihf@npm:13.2.4" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@next/swc-linux-arm64-gnu@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-linux-arm64-gnu@npm:13.2.4" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-linux-arm64-gnu@npm:13.3.1-canary.6" +"@next/swc-linux-arm64-gnu@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-linux-arm64-gnu@npm:13.2.5-canary.26" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-linux-arm64-musl@npm:13.3.0" +"@next/swc-linux-arm64-musl@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-linux-arm64-musl@npm:13.2.4" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-linux-arm64-musl@npm:13.3.1-canary.6" +"@next/swc-linux-arm64-musl@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-linux-arm64-musl@npm:13.2.5-canary.26" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-linux-x64-gnu@npm:13.3.0" +"@next/swc-linux-x64-gnu@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-linux-x64-gnu@npm:13.2.4" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-linux-x64-gnu@npm:13.3.1-canary.6" +"@next/swc-linux-x64-gnu@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-linux-x64-gnu@npm:13.2.5-canary.26" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-linux-x64-musl@npm:13.3.0" +"@next/swc-linux-x64-musl@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-linux-x64-musl@npm:13.2.4" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-linux-x64-musl@npm:13.3.1-canary.6" +"@next/swc-linux-x64-musl@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-linux-x64-musl@npm:13.2.5-canary.26" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-win32-arm64-msvc@npm:13.3.0" +"@next/swc-win32-arm64-msvc@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-win32-arm64-msvc@npm:13.2.4" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-win32-arm64-msvc@npm:13.3.1-canary.6" +"@next/swc-win32-arm64-msvc@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-win32-arm64-msvc@npm:13.2.5-canary.26" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-win32-ia32-msvc@npm:13.3.0" +"@next/swc-win32-ia32-msvc@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-win32-ia32-msvc@npm:13.2.4" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-win32-ia32-msvc@npm:13.3.1-canary.6" +"@next/swc-win32-ia32-msvc@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-win32-ia32-msvc@npm:13.2.5-canary.26" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.3.0": - version: 13.3.0 - resolution: "@next/swc-win32-x64-msvc@npm:13.3.0" +"@next/swc-win32-x64-msvc@npm:13.2.4": + version: 13.2.4 + resolution: "@next/swc-win32-x64-msvc@npm:13.2.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "@next/swc-win32-x64-msvc@npm:13.3.1-canary.6" +"@next/swc-win32-x64-msvc@npm:13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "@next/swc-win32-x64-msvc@npm:13.2.5-canary.26" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -4348,10 +4253,10 @@ __metadata: languageName: node linkType: hard -"@planetscale/database@npm:1.7.0, @planetscale/database@npm:^1.7.0": - version: 1.7.0 - resolution: "@planetscale/database@npm:1.7.0" - checksum: 5fde3f9607930161a13d1d2d059dc0737ef98917604bc0b41a24be031b0aab66b4606ba01576ca7824337fea222d8607cad35aaf4dad199cc0ea26565fe35da1 +"@planetscale/database@npm:^1.6.0": + version: 1.6.0 + resolution: "@planetscale/database@npm:1.6.0" + checksum: 8139f81a573bbfe1078159979d383e93c904d78663a964f3185ca26df1ad05b1f96ff94f9573b3baedcc3d6e05a90e8667e01bfba217943ab19f1ba1fa58c846 languageName: node linkType: hard @@ -4435,29 +4340,6 @@ __metadata: languageName: node linkType: hard -"@puppeteer/browsers@npm:0.4.1": - version: 0.4.1 - resolution: "@puppeteer/browsers@npm:0.4.1" - dependencies: - debug: 4.3.4 - extract-zip: 2.0.1 - https-proxy-agent: 5.0.1 - progress: 2.0.3 - proxy-from-env: 1.1.0 - tar-fs: 2.1.1 - unbzip2-stream: 1.4.3 - yargs: 17.7.1 - peerDependencies: - typescript: ">= 4.7.4" - peerDependenciesMeta: - typescript: - optional: true - bin: - browsers: lib/cjs/main-cli.js - checksum: bd72815d0aaac66651ef775e2816703daaaceef0d94b39b5a6baf3d9f9c2242866f3e0691e9aae6409cdffd1d96f3e7e00bddb8f0c0b5b2b427e9298bcc3c8a2 - languageName: node - linkType: hard - "@qiwi/npm-registry-client@npm:^8.9.1": version: 8.9.1 resolution: "@qiwi/npm-registry-client@npm:8.9.1" @@ -4700,9 +4582,9 @@ __metadata: languageName: node linkType: hard -"@remix-run/dev@npm:@vercel/remix-run-dev@1.15.0": - version: 1.15.0 - resolution: "@vercel/remix-run-dev@npm:1.15.0" +"@remix-run/dev@npm:@vercel/remix-run-dev@1.14.2": + version: 1.14.2 + resolution: "@vercel/remix-run-dev@npm:1.14.2" dependencies: "@babel/core": ^7.18.6 "@babel/generator": ^7.18.6 @@ -4715,8 +4597,8 @@ __metadata: "@babel/types": ^7.20.2 "@esbuild-plugins/node-modules-polyfill": ^0.1.4 "@npmcli/package-json": ^2.0.0 - "@remix-run/server-runtime": 1.15.0 - "@vanilla-extract/integration": ^6.2.0 + "@remix-run/server-runtime": 1.14.2 + "@vanilla-extract/integration": ^6.0.2 arg: ^5.0.1 cacache: ^15.0.5 chalk: ^4.1.2 @@ -4729,15 +4611,14 @@ __metadata: fast-glob: 3.2.11 fs-extra: ^10.0.0 get-port: ^5.1.1 - glob-to-regexp: 0.4.1 gunzip-maybe: ^1.4.2 inquirer: ^8.2.1 jsesc: 3.0.2 - json5: ^2.2.2 + json5: ^2.2.1 lodash: ^4.17.21 lodash.debounce: ^4.0.8 lru-cache: ^7.14.1 - minimatch: ^3.0.5 + minimatch: ^3.0.4 node-fetch: ^2.6.7 ora: ^5.4.1 postcss: ^8.4.19 @@ -4758,35 +4639,35 @@ __metadata: ws: ^7.4.5 xdm: ^2.0.0 peerDependencies: - "@remix-run/serve": ^1.15.0 + "@remix-run/serve": ^1.14.2 peerDependenciesMeta: "@remix-run/serve": optional: true bin: remix: dist/cli.js - checksum: 13669e1d9f3698274eb7b43670885150646a94e6958304ad033da30d04cf3d469c785509d4f7b1dbc7638b046f5b2f1bc7078cb009d3290b242dc7cb3a8859d1 + checksum: 849827a0d4b0fa3916a19e8a734bb5c288906e2f100d9cc48646e837efba17659dd6bc30e3ce27a09f91eb37bb8e710c3f5765702297c918e62116e8906b101c languageName: node linkType: hard -"@remix-run/router@npm:1.5.0": - version: 1.5.0 - resolution: "@remix-run/router@npm:1.5.0" - checksum: 9c510c174af1553edd1f039ba16e7e3d34e04d53b3bac18814660e31cd0c48297ea4291ff86d0736b560123ebc63ecb62fa525829181d16a8dad15270d6672d7 +"@remix-run/router@npm:1.3.3": + version: 1.3.3 + resolution: "@remix-run/router@npm:1.3.3" + checksum: 9280f1c3e44c0fb84a74b401b5a47022dace06d5da0f26a7a68c7c0e57ad5ef95d30f3c2d333df2db3b63f84de81f7f8caa7e53189a7709d6c3eb466d126ed76 languageName: node linkType: hard -"@remix-run/server-runtime@npm:1.15.0": - version: 1.15.0 - resolution: "@remix-run/server-runtime@npm:1.15.0" +"@remix-run/server-runtime@npm:1.14.2": + version: 1.14.2 + resolution: "@remix-run/server-runtime@npm:1.14.2" dependencies: - "@remix-run/router": 1.5.0 + "@remix-run/router": 1.3.3 "@types/cookie": ^0.4.0 "@types/react": ^18.0.15 "@web3-storage/multipart-parser": ^1.0.0 cookie: ^0.4.1 set-cookie-parser: ^2.4.8 source-map: ^0.7.3 - checksum: 0a3f58190c99fa7e5d02199ff0184afb51a40354e5fe3724e7a8ad2e3b274829758620efaaf7cd02cadb8a7177ba919f76a3b76afc1d0ef114bef3ea36f21d8c + checksum: 4c1ec01c77c99488cb52d9ecb230d2dc76890fed8b2b315dd3f93071afe324cc8ff7aea0a9c9d5e41828b76d5401a75f0d920b46a51a0a80f1ec2143bdef8ba9 languageName: node linkType: hard @@ -4797,7 +4678,7 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^4.0.0, @rollup/pluginutils@npm:^4.2.0": +"@rollup/pluginutils@npm:^4.0.0": version: 4.2.1 resolution: "@rollup/pluginutils@npm:4.2.1" dependencies: @@ -4889,43 +4770,36 @@ __metadata: linkType: hard "@sapphire/result@npm:^2.6.0": - version: 2.6.1 - resolution: "@sapphire/result@npm:2.6.1" - checksum: 22c2167c821d4842d430938a3c93a1f4cc7ba5b5dec9060235cca99a9094f0cacea554c0e42afa028dd236a95cc1f8fb83bf624038c3b0c8ce208b136479d0c8 + version: 2.6.0 + resolution: "@sapphire/result@npm:2.6.0" + checksum: bab9e963c85c7ea0a410c36617b7d32fca8749739b7fbb61bf7a2eff566d002af78606c379b1a71f2857bf9c04d3f5f1af67f02278da75ac660f2f6ddfef26b5 languageName: node linkType: hard -"@sapphire/shapeshift@npm:^3.8.2": - version: 3.8.2 - resolution: "@sapphire/shapeshift@npm:3.8.2" +"@sapphire/shapeshift@npm:^3.8.1": + version: 3.8.1 + resolution: "@sapphire/shapeshift@npm:3.8.1" dependencies: fast-deep-equal: ^3.1.3 lodash: ^4.17.21 - checksum: 5b2b26ad13a4c8c4b03a9500541df6c070776cf0a49cb7c752df147f63afc76976bc0d4c6f5977cf2597062b810557d7069e99c8e039bf22bf54d5d88da58de5 + checksum: 2a5954c76ee9a91506ae269141ffd2d71e05891c7f1618d0acbf3670312f0b473e356f9c3dafe484d8dc89282d7554f1fd7d720a2a3b0e921fb4e969d09513ee languageName: node linkType: hard -"@sapphire/snowflake@npm:^3.4.2": - version: 3.4.2 - resolution: "@sapphire/snowflake@npm:3.4.2" - checksum: 3bcd05608a63f012538aa0a45bc6abe5b19e15979a1012a9b3af1e0901f897e4df83c80d484c87bd1dece1124f5a14a2f86427190b1dca7f116ee34f13c96788 +"@sapphire/snowflake@npm:^3.4.0": + version: 3.4.0 + resolution: "@sapphire/snowflake@npm:3.4.0" + checksum: 556b7001f33d6edbbbcbca46f6abfa56c732a29e78b693161e358688e688edcb012d2c1bc944e7ffb41bd6c9950d261bc73f95656dc01643361a218b4f5ab985 languageName: node linkType: hard -"@sapphire/utilities@npm:3.11.0": +"@sapphire/utilities@npm:3.11.0, @sapphire/utilities@npm:^3.11.0": version: 3.11.0 resolution: "@sapphire/utilities@npm:3.11.0" checksum: 3c8521038b8879524e8114f39eefc8b3b06cf825995f709684238b5cb14bd7df06d232a26a88f79160df290a66f9aa3133f5ce4ff8e2398033db9f301ad31e0d languageName: node linkType: hard -"@sapphire/utilities@npm:^3.11.0": - version: 3.11.1 - resolution: "@sapphire/utilities@npm:3.11.1" - checksum: e70a7d1b8f0d5c810420a2113ed6f4f54956b3ede0afd7aab9f5cea32266ed0946f777838f73f3df8e75bc8d29026d287a5371f544ad28882acdcfd5eb092b69 - languageName: node - linkType: hard - "@sentry/core@npm:6.19.7": version: 6.19.7 resolution: "@sentry/core@npm:6.19.7" @@ -5045,1034 +4919,112 @@ __metadata: languageName: node linkType: hard -"@snyk/dep-graph@npm:^2.3.0": - version: 2.6.0 - resolution: "@snyk/dep-graph@npm:2.6.0" - dependencies: - event-loop-spinner: ^2.1.0 - lodash.clone: ^4.5.0 - lodash.constant: ^3.0.0 - lodash.filter: ^4.6.0 - lodash.foreach: ^4.5.0 - lodash.isempty: ^4.4.0 - lodash.isequal: ^4.5.0 - lodash.isfunction: ^3.0.9 - lodash.isundefined: ^3.0.1 - lodash.map: ^4.6.0 - lodash.reduce: ^4.6.0 - lodash.size: ^4.2.0 - lodash.transform: ^4.6.0 - lodash.union: ^4.6.0 - lodash.values: ^4.3.0 - object-hash: ^3.0.0 - packageurl-js: ^1.0.0 - semver: ^7.0.0 - tslib: ^2 - checksum: f7466bf0180c10434a5f3196bdd50eb24755f3cd409d8c4d1f3d7043e9350d32352ff06fa0a18f84e070427140f1dca0402eed28cc57dee40ef522d3f9e53910 +"@swc/core-darwin-arm64@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-darwin-arm64@npm:1.3.44" + conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@snyk/graphlib@npm:2.1.9-patch.3": - version: 2.1.9-patch.3 - resolution: "@snyk/graphlib@npm:2.1.9-patch.3" - dependencies: - lodash.clone: ^4.5.0 - lodash.constant: ^3.0.0 - lodash.filter: ^4.6.0 - lodash.foreach: ^4.5.0 - lodash.has: ^4.5.2 - lodash.isempty: ^4.4.0 - lodash.isfunction: ^3.0.9 - lodash.isundefined: ^3.0.1 - lodash.keys: ^4.2.0 - lodash.map: ^4.6.0 - lodash.reduce: ^4.6.0 - lodash.size: ^4.2.0 - lodash.transform: ^4.6.0 - lodash.union: ^4.6.0 - lodash.values: ^4.3.0 - checksum: 5ea100e7403fb25735a46a76a6a3f6612e90755a3f4e7300ebae61aea47aef038cb0266186581987a71fbd01ac1caa1d93d799a80af08548a528ee45cd0e881b +"@swc/core-darwin-x64@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-darwin-x64@npm:1.3.44" + conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@storybook/addon-actions@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-actions@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/theming": 7.0.4 - "@storybook/types": 7.0.4 - dequal: ^2.0.2 - lodash: ^4.17.21 - polished: ^4.2.2 - prop-types: ^15.7.2 - react-inspector: ^6.0.0 - telejson: ^7.0.3 - ts-dedent: ^2.0.0 - uuid-browser: ^3.1.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 907d9e0df7eec7f964dddb8bf998a1de740fa7fd38fdb0aa8d2f98a6f0b8c3a2a00169d2648249538322f77d561c8fb75329fd3a2ec62e4da9b07075ef17cde6 +"@swc/core-linux-arm-gnueabihf@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.44" + conditions: os=linux & cpu=arm languageName: node linkType: hard -"@storybook/addon-backgrounds@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-backgrounds@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/theming": 7.0.4 - "@storybook/types": 7.0.4 - memoizerific: ^1.11.3 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 8510a11ad8bd7bb3a83a5da1db7c1eb5dbb77efc0c1e9114b86827af836b18f7fd4417f57ba61e4c0e3b8027954709167afbbfb346b615e60a879baa2f32d22e +"@swc/core-linux-arm64-gnu@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-linux-arm64-gnu@npm:1.3.44" + conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@storybook/addon-controls@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-controls@npm:7.0.4" - dependencies: - "@storybook/blocks": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/core-common": 7.0.4 - "@storybook/manager-api": 7.0.4 - "@storybook/node-logger": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/theming": 7.0.4 - "@storybook/types": 7.0.4 - lodash: ^4.17.21 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 6de4b790ec69e9b77c8eb6f14fece8166089742b21f6be6a9ceb5cbdd192283bcbf55e7d33c111af03e37e07f126175346bd3bdef892265a5fb1b960ca44b5b3 +"@swc/core-linux-arm64-musl@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-linux-arm64-musl@npm:1.3.44" + conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@storybook/addon-docs@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-docs@npm:7.0.4" - dependencies: - "@babel/core": ^7.20.2 - "@babel/plugin-transform-react-jsx": ^7.19.0 - "@jest/transform": ^29.3.1 - "@mdx-js/react": ^2.1.5 - "@storybook/blocks": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/csf-plugin": 7.0.4 - "@storybook/csf-tools": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/mdx2-csf": ^1.0.0 - "@storybook/node-logger": 7.0.4 - "@storybook/postinstall": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/react-dom-shim": 7.0.4 - "@storybook/theming": 7.0.4 - "@storybook/types": 7.0.4 - fs-extra: ^11.1.0 - remark-external-links: ^8.0.0 - remark-slug: ^6.0.0 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 20540a29fa3a0347392eb3be852dd11e7d08c994e5d8f74ca4da2e57fa4b4fe1517d0232655f0595f3c2732f2106e5f96431a5b679c5505cc2e8ae19dbf04a78 +"@swc/core-linux-x64-gnu@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-linux-x64-gnu@npm:1.3.44" + conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@storybook/addon-essentials@npm:^7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-essentials@npm:7.0.4" - dependencies: - "@storybook/addon-actions": 7.0.4 - "@storybook/addon-backgrounds": 7.0.4 - "@storybook/addon-controls": 7.0.4 - "@storybook/addon-docs": 7.0.4 - "@storybook/addon-highlight": 7.0.4 - "@storybook/addon-measure": 7.0.4 - "@storybook/addon-outline": 7.0.4 - "@storybook/addon-toolbars": 7.0.4 - "@storybook/addon-viewport": 7.0.4 - "@storybook/core-common": 7.0.4 - "@storybook/manager-api": 7.0.4 - "@storybook/node-logger": 7.0.4 - "@storybook/preview-api": 7.0.4 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 66d101bb873bba33f21ab0d573961b32f2f3e7e45c43a4086fe5f13c438b4fd7b768138daec950a7c31045f5f0a44fe6fc804456266a75398d0e70c16a91f59d +"@swc/core-linux-x64-musl@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-linux-x64-musl@npm:1.3.44" + conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@storybook/addon-highlight@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-highlight@npm:7.0.4" - dependencies: - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.0.4 - checksum: d5372ce2ad0a1dffaaf59b8d419e4578753ce3edf3dd6c3d6ef4e2b81ab3afe2d0fba79b61ec5b66e51d6c869048626efa0f2ab04cf1503aab1eda5fd93c6f3b +"@swc/core-win32-arm64-msvc@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-win32-arm64-msvc@npm:1.3.44" + conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@storybook/addon-interactions@npm:^7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-interactions@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/core-common": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/instrumenter": 7.0.4 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/theming": 7.0.4 - "@storybook/types": 7.0.4 - jest-mock: ^27.0.6 - polished: ^4.2.2 - ts-dedent: ^2.2.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: cce4e214d3f37e7ee4fc62f848aea80462965ab549a9cd626fb356b798ed5e11ac5cd84f2b8371f71f039350ce86ff0dfe81a1fa0a32c08cea6bb98410f40e96 +"@swc/core-win32-ia32-msvc@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-win32-ia32-msvc@npm:1.3.44" + conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@storybook/addon-links@npm:^7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-links@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/csf": ^0.1.0 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/router": 7.0.4 - "@storybook/types": 7.0.4 - prop-types: ^15.7.2 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: ef54b0c7f4cb297899dc1b94d4ea606030463c917e4aebbf206213820e80329e62bcf5da74a595e53b27bf6a022facdbf653b061c4bcaacb35940f20bc78d36e - languageName: node - linkType: hard - -"@storybook/addon-measure@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-measure@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/types": 7.0.4 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 62fade02f1c563eb791b2a90b4a8c0e5caf5cd02b5eca2c1f87f0b3dbffbf983b4677bcc58054b3fed756afa1b489db0b889adf9b7550b4644b6ba261812947c - languageName: node - linkType: hard - -"@storybook/addon-outline@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-outline@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/types": 7.0.4 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 83874f0fbf1a0a65bba0e3bb13ba11b9a22a201d56e88094228f236349a4dd01f1dc129d1480842c4dfa67226bc808801d08eeeb41bf4b1f9d060995fb5e8c95 - languageName: node - linkType: hard - -"@storybook/addon-styling@npm:^1.0.0": - version: 1.0.0 - resolution: "@storybook/addon-styling@npm:1.0.0" - dependencies: - "@storybook/api": ^7.0.2 - "@storybook/components": ^7.0.2 - "@storybook/core-events": ^7.0.2 - "@storybook/manager-api": ^7.0.2 - "@storybook/preview-api": ^7.0.2 - "@storybook/theming": ^7.0.2 - "@storybook/types": ^7.0.2 - css-loader: ^6.7.3 - postcss-loader: ^7.2.4 - resolve-url-loader: ^5.0.0 - sass-loader: ^13.2.2 - style-loader: ^3.3.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 2196e1bc3416d98e2ee3bca3a4f9e528cf68a0c3fbf76f25256b29f31451cf32f043d735d2c9bd058e4867721a1f27fd1eaef377a589a33fd2daf379dcad5549 +"@swc/core-win32-x64-msvc@npm:1.3.44": + version: 1.3.44 + resolution: "@swc/core-win32-x64-msvc@npm:1.3.44" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@storybook/addon-toolbars@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-toolbars@npm:7.0.4" +"@swc/core@npm:^1.3.35": + version: 1.3.44 + resolution: "@swc/core@npm:1.3.44" dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/theming": 7.0.4 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: + "@swc/core-darwin-arm64": 1.3.44 + "@swc/core-darwin-x64": 1.3.44 + "@swc/core-linux-arm-gnueabihf": 1.3.44 + "@swc/core-linux-arm64-gnu": 1.3.44 + "@swc/core-linux-arm64-musl": 1.3.44 + "@swc/core-linux-x64-gnu": 1.3.44 + "@swc/core-linux-x64-musl": 1.3.44 + "@swc/core-win32-arm64-msvc": 1.3.44 + "@swc/core-win32-ia32-msvc": 1.3.44 + "@swc/core-win32-x64-msvc": 1.3.44 + dependenciesMeta: + "@swc/core-darwin-arm64": optional: true - react-dom: + "@swc/core-darwin-x64": optional: true - checksum: 372b0576c9f627305440014e0f7c61d6546a222a1b81b1fe516284d843f24cf29e0781e70c0f1c385caacd68ce4450ef4d59dcc14ec74fac2d25e933acb78b51 - languageName: node - linkType: hard - -"@storybook/addon-viewport@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/addon-viewport@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/theming": 7.0.4 - memoizerific: ^1.11.3 - prop-types: ^15.7.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: + "@swc/core-linux-arm-gnueabihf": optional: true - react-dom: + "@swc/core-linux-arm64-gnu": optional: true - checksum: cdc2e6d5080b89b18f484fea874c1e4edf9717fcf5acd47a0b1aca1ba1434c0dce706846be25673b210515c600673c0db44bb5359de9a881a88c6f9ac3c7f904 - languageName: node - linkType: hard - -"@storybook/api@npm:^7.0.2": - version: 7.0.4 - resolution: "@storybook/api@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/manager-api": 7.0.4 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: + "@swc/core-linux-arm64-musl": optional: true - react-dom: + "@swc/core-linux-x64-gnu": optional: true - checksum: 985e00d8208c5effedd3cb496adedcf1fc4dba5cefbb0e4861a599ab16c5896d4c22ec657d1e2951538bae3ac003b652b6fc511b3bd166ae29e588242c6cf47b - languageName: node - linkType: hard - -"@storybook/blocks@npm:7.0.4, @storybook/blocks@npm:^7.0.4": - version: 7.0.4 - resolution: "@storybook/blocks@npm:7.0.4" - dependencies: - "@storybook/channels": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/components": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/csf": ^0.1.0 - "@storybook/docs-tools": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/theming": 7.0.4 - "@storybook/types": 7.0.4 - "@types/lodash": ^4.14.167 - color-convert: ^2.0.1 - dequal: ^2.0.2 - lodash: ^4.17.21 - markdown-to-jsx: ^7.1.8 - memoizerific: ^1.11.3 - polished: ^4.2.2 - react-colorful: ^5.1.2 - telejson: ^7.0.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 365c8047b0d3fb7c6512324a80730fb29e2b50e59e7ac2554e457d4bed949f23824577ec5dc8c540ecd807e563895a4ef8a762abb98da742df349420a2f51653 - languageName: node - linkType: hard - -"@storybook/builder-manager@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/builder-manager@npm:7.0.4" - dependencies: - "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/core-common": 7.0.4 - "@storybook/manager": 7.0.4 - "@storybook/node-logger": 7.0.4 - "@types/ejs": ^3.1.1 - "@types/find-cache-dir": ^3.2.1 - "@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10 - browser-assert: ^1.2.1 - ejs: ^3.1.8 - esbuild: ^0.17.0 - esbuild-plugin-alias: ^0.2.1 - express: ^4.17.3 - find-cache-dir: ^3.0.0 - fs-extra: ^11.1.0 - process: ^0.11.10 - util: ^0.12.4 - checksum: 4f773feb1c1a1421e079bccceecd172507a58cae68173612db800dac746c1908d66e4be2129ef7033454424fbce32a52169397f6f0a2472bdf0d12d13f024447 - languageName: node - linkType: hard - -"@storybook/builder-vite@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/builder-vite@npm:7.0.4" - dependencies: - "@storybook/channel-postmessage": 7.0.4 - "@storybook/channel-websocket": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/core-common": 7.0.4 - "@storybook/csf-plugin": 7.0.4 - "@storybook/mdx2-csf": ^1.0.0 - "@storybook/node-logger": 7.0.4 - "@storybook/preview": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/types": 7.0.4 - browser-assert: ^1.2.1 - es-module-lexer: ^0.9.3 - express: ^4.17.3 - fs-extra: ^11.1.0 - glob: ^8.1.0 - glob-promise: ^6.0.2 - magic-string: ^0.27.0 - remark-external-links: ^8.0.0 - remark-slug: ^6.0.0 - rollup: ^2.25.0 || ^3.3.0 - peerDependencies: - "@preact/preset-vite": "*" - typescript: ">= 4.3.x" - vite: ^3.0.0 || ^4.0.0 - vite-plugin-glimmerx: "*" - peerDependenciesMeta: - "@preact/preset-vite": + "@swc/core-linux-x64-musl": optional: true - typescript: + "@swc/core-win32-arm64-msvc": optional: true - vite-plugin-glimmerx: + "@swc/core-win32-ia32-msvc": optional: true - checksum: ae0f2ba5bdf1780e1a6c920b89c0cbbc287b8f6b3998d56a40c1348cadca5575b2efaf42b2c66cd25a25846378d9cb36c8faba88d9a8b32da610eae75720718c - languageName: node - linkType: hard - -"@storybook/channel-postmessage@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/channel-postmessage@npm:7.0.4" - dependencies: - "@storybook/channels": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - qs: ^6.10.0 - telejson: ^7.0.3 - checksum: 892f9cbfcfc2510943d04e30aec0e067e6a18db45447050b640d4e33c6d2415784f42d912726a8a1cb1554cd6f50c188b878631076c1e5b078836afcf469f172 - languageName: node - linkType: hard - -"@storybook/channel-websocket@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/channel-websocket@npm:7.0.4" - dependencies: - "@storybook/channels": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/global": ^5.0.0 - telejson: ^7.0.3 - checksum: d7f7ee5d9b4afa8baf57d55b8dbe6bc776ec392dc07924dd1b7123bc10b3bce3be693e88295254a5234595d8ba517f1a1f8879f2f8ec13e6c01e5926789e95a3 - languageName: node - linkType: hard - -"@storybook/channels@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/channels@npm:7.0.4" - checksum: b523abfdcdae0ff4e8ea4a9a47919618970f9438c2770ff33d68bef3dd59ce32fb70197115423da8095e8c6de4597e8b1460210807277af1953d5670664aeed8 - languageName: node - linkType: hard - -"@storybook/cli@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/cli@npm:7.0.4" - dependencies: - "@babel/core": ^7.20.2 - "@babel/preset-env": ^7.20.2 - "@ndelangen/get-tarball": ^3.0.7 - "@storybook/codemod": 7.0.4 - "@storybook/core-common": 7.0.4 - "@storybook/core-server": 7.0.4 - "@storybook/csf-tools": 7.0.4 - "@storybook/node-logger": 7.0.4 - "@storybook/telemetry": 7.0.4 - "@storybook/types": 7.0.4 - "@types/semver": ^7.3.4 - boxen: ^5.1.2 - chalk: ^4.1.0 - commander: ^6.2.1 - cross-spawn: ^7.0.3 - detect-indent: ^6.1.0 - envinfo: ^7.7.3 - execa: ^5.0.0 - express: ^4.17.3 - find-up: ^5.0.0 - fs-extra: ^11.1.0 - get-npm-tarball-url: ^2.0.3 - get-port: ^5.1.1 - giget: ^1.0.0 - globby: ^11.0.2 - jscodeshift: ^0.14.0 - leven: ^3.1.0 - prettier: ^2.8.0 - prompts: ^2.4.0 - puppeteer-core: ^2.1.1 - read-pkg-up: ^7.0.1 - semver: ^7.3.7 - shelljs: ^0.8.5 - simple-update-notifier: ^1.0.0 - strip-json-comments: ^3.0.1 - tempy: ^1.0.1 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - bin: - getstorybook: bin/index.js - sb: bin/index.js - checksum: 36377b64b9f2d192fc78256be8459cabd6d01f6d3ead33db3ed884aa545932b4c9b6031be9efa305d9721673bec52201210f5d8b189e57225a01fedf17de3674 - languageName: node - linkType: hard - -"@storybook/client-logger@npm:7.0.4, @storybook/client-logger@npm:^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0": - version: 7.0.4 - resolution: "@storybook/client-logger@npm:7.0.4" - dependencies: - "@storybook/global": ^5.0.0 - checksum: 608d9aa75509fcd5780103681acca88c7808ab8c435a1685a99f9465c1ec7ac1f3a94d4403392a8bfa5e574a3d4e7e71d48e26e69b070e2c1262e8c0c6c9b054 - languageName: node - linkType: hard - -"@storybook/codemod@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/codemod@npm:7.0.4" - dependencies: - "@babel/core": ~7.21.0 - "@babel/preset-env": ~7.21.0 - "@babel/types": ~7.21.2 - "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.0.4 - "@storybook/node-logger": 7.0.4 - "@storybook/types": 7.0.4 - cross-spawn: ^7.0.3 - globby: ^11.0.2 - jscodeshift: ^0.14.0 - lodash: ^4.17.21 - prettier: ^2.8.0 - recast: ^0.23.1 - checksum: cdf40215bbf3490a427a7973e125027731b1c2f14f6eb99853c6f226bce62fdae88e980330ff105b7d414fbad6f14f21026e6aba5f5d726578e8a01374cfe3c5 - languageName: node - linkType: hard - -"@storybook/components@npm:7.0.4, @storybook/components@npm:^7.0.2": - version: 7.0.4 - resolution: "@storybook/components@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/csf": ^0.1.0 - "@storybook/global": ^5.0.0 - "@storybook/theming": 7.0.4 - "@storybook/types": 7.0.4 - memoizerific: ^1.11.3 - use-resize-observer: ^9.1.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 794b30a9db674b94d8206bce1ec2c05a252fe794fe234592584995cd3b839e9c96dd6db2ec7fcbfffabaff0bbb1d4f4d661029559e83707dccf2daf70140efb0 - languageName: node - linkType: hard - -"@storybook/core-client@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/core-client@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/preview-api": 7.0.4 - checksum: 41ede63b14b3de252bb26992274088087f4b767ca4ac576144d950b380e93f448ee69af48538dabf235d2b688e4b5e25059ee167ea5144d9a0390eaeddb8b905 - languageName: node - linkType: hard - -"@storybook/core-common@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/core-common@npm:7.0.4" - dependencies: - "@storybook/node-logger": 7.0.4 - "@storybook/types": 7.0.4 - "@types/node": ^16.0.0 - "@types/pretty-hrtime": ^1.0.0 - chalk: ^4.1.0 - esbuild: ^0.17.0 - esbuild-register: ^3.4.0 - file-system-cache: ^2.0.0 - find-up: ^5.0.0 - fs-extra: ^11.1.0 - glob: ^8.1.0 - glob-promise: ^6.0.2 - handlebars: ^4.7.7 - lazy-universal-dotenv: ^4.0.0 - picomatch: ^2.3.0 - pkg-dir: ^5.0.0 - pretty-hrtime: ^1.0.3 - resolve-from: ^5.0.0 - ts-dedent: ^2.0.0 - checksum: 641aec80da25f067567e1b6f9a4ff5fa4bfb6f410eaebca25ba416bd4a814ad071980c16768e7d998a714ff727afbcbc139143a7c8c812c6e0b0871808836d54 - languageName: node - linkType: hard - -"@storybook/core-events@npm:7.0.4, @storybook/core-events@npm:^7.0.2": - version: 7.0.4 - resolution: "@storybook/core-events@npm:7.0.4" - checksum: 1d51fe1d5489ee553044899e1f10423a8906681f2e768acdaca80c4a3ca562bf509003d59c7d16bf33f0751c36fd5aaa44e4f7c643c5389e9f95fe962b9c850c - languageName: node - linkType: hard - -"@storybook/core-server@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/core-server@npm:7.0.4" - dependencies: - "@aw-web-design/x-default-browser": 1.4.88 - "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-manager": 7.0.4 - "@storybook/core-common": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.0.4 - "@storybook/docs-mdx": ^0.1.0 - "@storybook/global": ^5.0.0 - "@storybook/manager": 7.0.4 - "@storybook/node-logger": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/telemetry": 7.0.4 - "@storybook/types": 7.0.4 - "@types/detect-port": ^1.3.0 - "@types/node": ^16.0.0 - "@types/node-fetch": ^2.5.7 - "@types/pretty-hrtime": ^1.0.0 - "@types/semver": ^7.3.4 - better-opn: ^2.1.1 - boxen: ^5.1.2 - chalk: ^4.1.0 - cli-table3: ^0.6.1 - compression: ^1.7.4 - detect-port: ^1.3.0 - express: ^4.17.3 - fs-extra: ^11.1.0 - globby: ^11.0.2 - ip: ^2.0.0 - lodash: ^4.17.21 - node-fetch: ^2.6.7 - open: ^8.4.0 - pretty-hrtime: ^1.0.3 - prompts: ^2.4.0 - read-pkg-up: ^7.0.1 - semver: ^7.3.7 - serve-favicon: ^2.5.0 - telejson: ^7.0.3 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - watchpack: ^2.2.0 - ws: ^8.2.3 - checksum: 1502556083fc55f0777d3e99ab9d112ae69d03346b3d7d12bd42aafe9de862817bd17a6a90e876886da772d9300758f6ae20f457ef135867bc9b67f0a33c6829 - languageName: node - linkType: hard - -"@storybook/csf-plugin@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/csf-plugin@npm:7.0.4" - dependencies: - "@storybook/csf-tools": 7.0.4 - unplugin: ^0.10.2 - checksum: c3b74d754808048b231b68fdb5f2cd0cfb836bd7a37abd0a0f0bc80741839a5a9f3eb6979d6550b5f8c2f03384d4d4a3e7fdb6d4635aade8be17224632414199 - languageName: node - linkType: hard - -"@storybook/csf-tools@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/csf-tools@npm:7.0.4" - dependencies: - "@babel/generator": ~7.21.1 - "@babel/parser": ~7.21.2 - "@babel/traverse": ~7.21.2 - "@babel/types": ~7.21.2 - "@storybook/csf": ^0.1.0 - "@storybook/types": 7.0.4 - fs-extra: ^11.1.0 - recast: ^0.23.1 - ts-dedent: ^2.0.0 - checksum: 4591749cceeecf617c9360aa301cd274257affded29f3231e56314467aefc019d1f18a49aec8d8342f6799750223cfebf2f879f968909dc305a6818b5b8c43a6 - languageName: node - linkType: hard - -"@storybook/csf@npm:^0.0.1": - version: 0.0.1 - resolution: "@storybook/csf@npm:0.0.1" - dependencies: - lodash: ^4.17.15 - checksum: fb57fa028b08a51edf44e1a2bf4be40a4607f5c6ccb58aae8924f476a42b9bbd61a0ad521cfc82196f23e6a912caae0a615e70a755e6800b284c91c509fd2de6 - languageName: node - linkType: hard - -"@storybook/csf@npm:^0.1.0": - version: 0.1.0 - resolution: "@storybook/csf@npm:0.1.0" - dependencies: - type-fest: ^2.19.0 - checksum: f1784f2aff27d5c27ab897878b08e3b04a64e7f62da1ea95fd11bfe9f558300e55f0d483d58282e8254a4b4e8935201178e70c264ccc96104c67403215d651f0 - languageName: node - linkType: hard - -"@storybook/docs-mdx@npm:^0.1.0": - version: 0.1.0 - resolution: "@storybook/docs-mdx@npm:0.1.0" - checksum: a7770842c3947a761bcbe776a9c4fd35163d30c3274fca034169f69ff614242eaa4cacaa2c95fd215827081ef9a43f4774d521a6f43a4d063ea5f4ea14b1d69a - languageName: node - linkType: hard - -"@storybook/docs-tools@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/docs-tools@npm:7.0.4" - dependencies: - "@babel/core": ^7.12.10 - "@storybook/core-common": 7.0.4 - "@storybook/preview-api": 7.0.4 - "@storybook/types": 7.0.4 - "@types/doctrine": ^0.0.3 - doctrine: ^3.0.0 - lodash: ^4.17.21 - checksum: 1eb25976dd22f115e2f5c09a40a684c7cf5a29e1e02b787a17dbc9fdb6064705bfaee9a8e670cc18a04049669a5635163dacec2a88472f97330ba3a333ce37eb - languageName: node - linkType: hard - -"@storybook/global@npm:^5.0.0": - version: 5.0.0 - resolution: "@storybook/global@npm:5.0.0" - checksum: ede0ad35ec411fe31c61150dbd118fef344d1d0e72bf5d3502368e35cf68126f6b7ae4a0ab5e2ffe2f0baa3b4286f03ad069ba3e098e1725449ef08b7e154ba8 - languageName: node - linkType: hard - -"@storybook/instrumenter@npm:7.0.4, @storybook/instrumenter@npm:^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0": - version: 7.0.4 - resolution: "@storybook/instrumenter@npm:7.0.4" - dependencies: - "@storybook/channels": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.0.4 - checksum: d5f22fcea3efefd6bb0523c3164ffb7f0287c89a4f6485ac8165658d35b699d6665c964ba01fd3f0dff0938913e6c0b08341796acc9d3fe21e63ebd441147bd9 - languageName: node - linkType: hard - -"@storybook/manager-api@npm:7.0.4, @storybook/manager-api@npm:^7.0.2": - version: 7.0.4 - resolution: "@storybook/manager-api@npm:7.0.4" - dependencies: - "@storybook/channels": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/csf": ^0.1.0 - "@storybook/global": ^5.0.0 - "@storybook/router": 7.0.4 - "@storybook/theming": 7.0.4 - "@storybook/types": 7.0.4 - dequal: ^2.0.2 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - semver: ^7.3.7 - store2: ^2.14.2 - telejson: ^7.0.3 - ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: b7f5e5ab9f50646d13e80662d8f10bde1d8e0f72b29c3cda4d89411c9af64b41660dd1ef59caa15d33a5a6bc91d3a2bec671625a93403af01baec1cceddd9eae - languageName: node - linkType: hard - -"@storybook/manager@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/manager@npm:7.0.4" - checksum: 5f728b4426ee2b8ca367d4efd44101e0946a87ad7fbd752d58fa9395627ef0818542f0591e3ef41c0adc9905f90385871f2632c80300f902877454eee45f8d52 - languageName: node - linkType: hard - -"@storybook/mdx2-csf@npm:^1.0.0": - version: 1.0.0 - resolution: "@storybook/mdx2-csf@npm:1.0.0" - checksum: 3a5e7f71dff1d62cccc8539eb55a38694f2864dc424ae25757a847e658816f19e1db2e06ac2aa270f8219e4fce34bae68a80ae403792d58e7017597385a8934f - languageName: node - linkType: hard - -"@storybook/node-logger@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/node-logger@npm:7.0.4" - dependencies: - "@types/npmlog": ^4.1.2 - chalk: ^4.1.0 - npmlog: ^5.0.1 - pretty-hrtime: ^1.0.3 - checksum: b85cc0d3ef05fb84df584c924334bcdc43c085b2b4f46fdc9bbe2a95950c18dedc5afa3c9fdb9ec854fcca79bea387a4857603fbaf1e454fb95ad70f9e14768e - languageName: node - linkType: hard - -"@storybook/postinstall@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/postinstall@npm:7.0.4" - checksum: 6f0640599c4e96d62f54175bbe18d988d6d9383593c695376c42e2861c8c769a4db5f1c95599339585de4ba0340b705c56c2968c53ed5ab72045b8ab26bb05fe - languageName: node - linkType: hard - -"@storybook/preview-api@npm:7.0.4, @storybook/preview-api@npm:^7.0.2": - version: 7.0.4 - resolution: "@storybook/preview-api@npm:7.0.4" - dependencies: - "@storybook/channel-postmessage": 7.0.4 - "@storybook/channels": 7.0.4 - "@storybook/client-logger": 7.0.4 - "@storybook/core-events": 7.0.4 - "@storybook/csf": ^0.1.0 - "@storybook/global": ^5.0.0 - "@storybook/types": 7.0.4 - "@types/qs": ^6.9.5 - dequal: ^2.0.2 - lodash: ^4.17.21 - memoizerific: ^1.11.3 - qs: ^6.10.0 - synchronous-promise: ^2.0.15 - ts-dedent: ^2.0.0 - util-deprecate: ^1.0.2 - checksum: 2660c643c8e22b5a352370df36531eb92df8f6087434884f1bc580909c4ceb9675ecd2a3cd5ca43d80631fc7edf6e437b3419dc136796e38cc74d56d52243f89 - languageName: node - linkType: hard - -"@storybook/preview@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/preview@npm:7.0.4" - checksum: 88628d94c8cbd1b11885b19f6cb9fdaead7de53577d1084f749d7eafc0d4f4997a43d82c6dc97b201245135d8963b0c7f58a1b85bca6c8c0466fbbd0465ea4b3 - languageName: node - linkType: hard - -"@storybook/react-dom-shim@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/react-dom-shim@npm:7.0.4" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: bdc65bffa710d6a55003c12e8ae4d9db696450cfdd1b689c24375d1eebfed5415900d81204ec4acf6ac464fe4797c0655a65c25263be7ef0e889e3e4c7082099 - languageName: node - linkType: hard - -"@storybook/react-vite@npm:7.0.4, @storybook/react-vite@npm:^7.0.4": - version: 7.0.4 - resolution: "@storybook/react-vite@npm:7.0.4" - dependencies: - "@joshwooding/vite-plugin-react-docgen-typescript": 0.2.1 - "@rollup/pluginutils": ^4.2.0 - "@storybook/builder-vite": 7.0.4 - "@storybook/react": 7.0.4 - "@vitejs/plugin-react": ^3.0.1 - ast-types: ^0.14.2 - magic-string: ^0.27.0 - react-docgen: 6.0.0-alpha.3 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - vite: ^3.0.0 || ^4.0.0 - checksum: 1698a9aac058f15a7c8985017471193485102af740c01885fbb1cab750ea03f06900c6eb10f61aebff2dc007bbaeead681943d1bd5ccd2f4d144282ed72ab5b1 - languageName: node - linkType: hard - -"@storybook/react@npm:7.0.4, @storybook/react@npm:^7.0.4": - version: 7.0.4 - resolution: "@storybook/react@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/core-client": 7.0.4 - "@storybook/docs-tools": 7.0.4 - "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.0.4 - "@storybook/react-dom-shim": 7.0.4 - "@storybook/types": 7.0.4 - "@types/escodegen": ^0.0.6 - "@types/estree": ^0.0.51 - "@types/node": ^16.0.0 - acorn: ^7.4.1 - acorn-jsx: ^5.3.1 - acorn-walk: ^7.2.0 - escodegen: ^2.0.0 - html-tags: ^3.1.0 - lodash: ^4.17.21 - prop-types: ^15.7.2 - react-element-to-jsx-string: ^15.0.0 - ts-dedent: ^2.0.0 - type-fest: ^2.19.0 - util-deprecate: ^1.0.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - typescript: + "@swc/core-win32-x64-msvc": optional: true - checksum: 409c2750f47990592b532f84a1d86f77764f8ff8631bac8ee48833319c2a5e101b6653dced504f3fd135d636dbd900c35f280a2e933506f1d458f2b0fdb6a3f1 - languageName: node - linkType: hard - -"@storybook/router@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/router@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - memoizerific: ^1.11.3 - qs: ^6.10.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: e151a2b7439564171cec28b9e9365373a743caff981dbbf3e214f67bffd2819ef998cd0d89fbb957d72031478bf8f8c500d1c2195b1488526e99f2ceb485f920 - languageName: node - linkType: hard - -"@storybook/telemetry@npm:7.0.4": - version: 7.0.4 - resolution: "@storybook/telemetry@npm:7.0.4" - dependencies: - "@storybook/client-logger": 7.0.4 - "@storybook/core-common": 7.0.4 - chalk: ^4.1.0 - detect-package-manager: ^2.0.1 - fetch-retry: ^5.0.2 - fs-extra: ^11.1.0 - isomorphic-unfetch: ^3.1.0 - nanoid: ^3.3.1 - read-pkg-up: ^7.0.1 - checksum: d63476551440f9eaa90cfabe9822ba9c2ea5175c525a99ac2f988a15cedcbfc3019eb8d90cb256682eaf96c9cc323f8187a51cc9334689a3acdbf4ca369c285d - languageName: node - linkType: hard - -"@storybook/testing-library@npm:^0.1.0": - version: 0.1.0 - resolution: "@storybook/testing-library@npm:0.1.0" - dependencies: - "@storybook/client-logger": ^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0 - "@storybook/instrumenter": ^7.0.0-beta.0 || ^7.0.0-rc.0 || ^7.0.0 - "@testing-library/dom": ^8.3.0 - "@testing-library/user-event": ^13.2.1 - ts-dedent: ^2.2.0 - checksum: a413110dafe80f8fe64da912fddb653bc3c695c94bd023b8cb918e519e9f94119bae559909bfb8ad229041a4f17a12b33425c61572270702c116d0b727b4d4ba - languageName: node - linkType: hard - -"@storybook/theming@npm:7.0.4, @storybook/theming@npm:^7.0.2": - version: 7.0.4 - resolution: "@storybook/theming@npm:7.0.4" - dependencies: - "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 - "@storybook/client-logger": 7.0.4 - "@storybook/global": ^5.0.0 - memoizerific: ^1.11.3 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 223bc0338c68589b22d80ea5f28dd6af10caa4dec1bf48206afa2b8a7941930bffc26aedc3c990b4118f18f078c33965274b7f778c284050d74a35c8f339e247 - languageName: node - linkType: hard - -"@storybook/types@npm:7.0.4, @storybook/types@npm:^7.0.2": - version: 7.0.4 - resolution: "@storybook/types@npm:7.0.4" - dependencies: - "@storybook/channels": 7.0.4 - "@types/babel__core": ^7.0.0 - "@types/express": ^4.7.0 - file-system-cache: ^2.0.0 - checksum: e39b000d91d1d70bba03356fa64fadbcafd5188b1c745e788f8a6ef87fb9e6239093858d1f47bcce7d6f427c2c0183d60079c0c208b428e5a74fc8228f571401 + checksum: aa3377769e1d8f02ee01e685f255796e47b8cbc64d7de4ee8a05a8bd8e2286856c1f32958f8bbb45b74bcf0bfaa4dc7b708cd9252cb97769575c29016d698649 languageName: node linkType: hard @@ -6094,22 +5046,6 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^8.3.0": - version: 8.20.0 - resolution: "@testing-library/dom@npm:8.20.0" - dependencies: - "@babel/code-frame": ^7.10.4 - "@babel/runtime": ^7.12.5 - "@types/aria-query": ^5.0.1 - aria-query: ^5.0.0 - chalk: ^4.1.0 - dom-accessibility-api: ^0.5.9 - lz-string: ^1.4.4 - pretty-format: ^27.0.2 - checksum: 1e599129a2fe91959ce80900a0a4897232b89e2a8e22c1f5950c36d39c97629ea86b4986b60b173b5525a05de33fde1e35836ea597b03de78cc51b122835c6f0 - languageName: node - linkType: hard - "@testing-library/dom@npm:^9.0.0": version: 9.2.0 resolution: "@testing-library/dom@npm:9.2.0" @@ -6140,17 +5076,6 @@ __metadata: languageName: node linkType: hard -"@testing-library/user-event@npm:^13.2.1": - version: 13.5.0 - resolution: "@testing-library/user-event@npm:13.5.0" - dependencies: - "@babel/runtime": ^7.12.5 - peerDependencies: - "@testing-library/dom": ">=7.21.4" - checksum: 16319de685fbb7008f1ba667928f458b2d08196918002daca56996de80ef35e6d9de26e9e1ece7d00a004692b95a597cf9142fff0dc53f2f51606a776584f549 - languageName: node - linkType: hard - "@testing-library/user-event@npm:^14.4.3": version: 14.4.3 resolution: "@testing-library/user-event@npm:14.4.3" @@ -6234,9 +5159,9 @@ __metadata: linkType: hard "@tsd/typescript@npm:~5.0.2": - version: 5.0.4 - resolution: "@tsd/typescript@npm:5.0.4" - checksum: 5e4fd1ed623f35681fb7b0ede97ec0102701412f18b8f045f30dce3e3f35731aca4975afa4551818461e69b4350f78052ddace5617b1d4cb339a5c66fbad624e + version: 5.0.3 + resolution: "@tsd/typescript@npm:5.0.3" + checksum: 0317bfc59d23185a32a44b4637db8c5f698d8bf67f66cd64aa30555b907ea7b5ffb582d55c8796117d53357888eb7ecbbaa1b882b292aec7755a07293bd42525 languageName: node linkType: hard @@ -6263,7 +5188,7 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14": +"@types/babel__core@npm:^7.1.14": version: 7.20.0 resolution: "@types/babel__core@npm:7.20.0" dependencies: @@ -6304,16 +5229,6 @@ __metadata: languageName: node linkType: hard -"@types/body-parser@npm:*": - version: 1.19.2 - resolution: "@types/body-parser@npm:1.19.2" - dependencies: - "@types/connect": "*" - "@types/node": "*" - checksum: e17840c7d747a549f00aebe72c89313d09fbc4b632b949b2470c5cb3b1cb73863901ae84d9335b567a79ec5efcfb8a28ff8e3f36bc8748a9686756b6d5681f40 - languageName: node - linkType: hard - "@types/cacheable-request@npm:^6.0.1": version: 6.0.3 resolution: "@types/cacheable-request@npm:6.0.3" @@ -6342,15 +5257,6 @@ __metadata: languageName: node linkType: hard -"@types/connect@npm:*": - version: 3.4.35 - resolution: "@types/connect@npm:3.4.35" - dependencies: - "@types/node": "*" - checksum: fe81351470f2d3165e8b12ce33542eef89ea893e36dd62e8f7d72566dfb7e448376ae962f9f3ea888547ce8b55a40020ca0e01d637fab5d99567673084542641 - languageName: node - linkType: hard - "@types/cookie@npm:^0.4.0": version: 0.4.1 resolution: "@types/cookie@npm:0.4.1" @@ -6374,41 +5280,6 @@ __metadata: languageName: node linkType: hard -"@types/detect-port@npm:^1.3.0": - version: 1.3.2 - resolution: "@types/detect-port@npm:1.3.2" - checksum: e4678244fbe8801014798b3efb967c886e6fc0fe94fb771a1be9558b35c68910b23bd30984df4a276b927820ce436b244506fb0972116d1b18506ac96bfd1a50 - languageName: node - linkType: hard - -"@types/doctrine@npm:^0.0.3": - version: 0.0.3 - resolution: "@types/doctrine@npm:0.0.3" - checksum: 7ca9c8ff4d2da437785151c9eef0dd80b8fa12e0ff0fcb988458a78de4b6f0fc92727ba5bbee446e1df615a91f03053c5783b30b7c21ab6ceab6a42557e93e50 - languageName: node - linkType: hard - -"@types/ejs@npm:^3.1.1": - version: 3.1.2 - resolution: "@types/ejs@npm:3.1.2" - checksum: e4f0745b6ed53a63c08bdfdeb019a7d0e0c400896722b44d6732b4ee6bf6061d2dc965206186b8b0ae2ecd71303c29f1af1feddbca2df0acbd7bd234a74ca518 - languageName: node - linkType: hard - -"@types/emscripten@npm:^1.39.6": - version: 1.39.6 - resolution: "@types/emscripten@npm:1.39.6" - checksum: 437f2f9cdfd9057255662508fa9a415fe704ba484c6198f3549c5b05feebcdcd612b1ec7b10026d2566935d05d3c36f9366087cb42bc90bd25772a88fcfc9343 - languageName: node - linkType: hard - -"@types/escodegen@npm:^0.0.6": - version: 0.0.6 - resolution: "@types/escodegen@npm:0.0.6" - checksum: 7b25aeedd48dbef68345224082c6bc774845cbfc1d9b2ce91a477130fe7ccabf33da126c1d6d55e5dfd838db429a7c80890628a167e5aa55b6a4620974da38d3 - languageName: node - linkType: hard - "@types/eslint@npm:^7.2.13": version: 7.29.0 resolution: "@types/eslint@npm:7.29.0" @@ -6454,43 +5325,6 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:^0.0.51": - version: 0.0.51 - resolution: "@types/estree@npm:0.0.51" - checksum: e56a3bcf759fd9185e992e7fdb3c6a5f81e8ff120e871641607581fb3728d16c811702a7d40fa5f869b7f7b4437ab6a87eb8d98ffafeee51e85bbe955932a189 - languageName: node - linkType: hard - -"@types/express-serve-static-core@npm:^4.17.33": - version: 4.17.33 - resolution: "@types/express-serve-static-core@npm:4.17.33" - dependencies: - "@types/node": "*" - "@types/qs": "*" - "@types/range-parser": "*" - checksum: dce580d16b85f207445af9d4053d66942b27d0c72e86153089fa00feee3e96ae336b7bedb31ed4eea9e553c99d6dd356ed6e0928f135375d9f862a1a8015adf2 - languageName: node - linkType: hard - -"@types/express@npm:^4.7.0": - version: 4.17.17 - resolution: "@types/express@npm:4.17.17" - dependencies: - "@types/body-parser": "*" - "@types/express-serve-static-core": ^4.17.33 - "@types/qs": "*" - "@types/serve-static": "*" - checksum: 0196dacc275ac3ce89d7364885cb08e7fb61f53ca101f65886dbf1daf9b7eb05c0943e2e4bbd01b0cc5e50f37e0eea7e4cbe97d0304094411ac73e1b7998f4da - languageName: node - linkType: hard - -"@types/find-cache-dir@npm:^3.2.1": - version: 3.2.1 - resolution: "@types/find-cache-dir@npm:3.2.1" - checksum: bf5c4e96da40247cd9e6327f54dfccda961a0fb2d70e3c71bd05def94de4c2e6fb310fe8ecb0f04ecf5dbc52214e184b55a2337b0f87250d4ae1e2e7d58321e4 - languageName: node - linkType: hard - "@types/fs-extra@npm:^11.0.1": version: 11.0.1 resolution: "@types/fs-extra@npm:11.0.1" @@ -6501,7 +5335,7 @@ __metadata: languageName: node linkType: hard -"@types/glob@npm:^7.1.1, @types/glob@npm:^7.1.3": +"@types/glob@npm:^7.1.1": version: 7.2.0 resolution: "@types/glob@npm:7.2.0" dependencies: @@ -6511,16 +5345,6 @@ __metadata: languageName: node linkType: hard -"@types/glob@npm:^8.0.0": - version: 8.1.0 - resolution: "@types/glob@npm:8.1.0" - dependencies: - "@types/minimatch": ^5.1.2 - "@types/node": "*" - checksum: 9101f3a9061e40137190f70626aa0e202369b5ec4012c3fabe6f5d229cce04772db9a94fa5a0eb39655e2e4ad105c38afbb4af56a56c0996a8c7d4fc72350e3d - languageName: node - linkType: hard - "@types/graceful-fs@npm:^4.1.3": version: 4.1.6 resolution: "@types/graceful-fs@npm:4.1.6" @@ -6634,13 +5458,6 @@ __metadata: languageName: node linkType: hard -"@types/lodash@npm:^4.14.167": - version: 4.14.192 - resolution: "@types/lodash@npm:4.14.192" - checksum: 31e1f0543a04158d2c429c45efd7c77882736630d0652f82eb337d6159ec0c249c5d175c0af731537b53271e665ff8d76f43221d75d03646d31cb4bd6f0056b1 - languageName: node - linkType: hard - "@types/long@npm:^4.0.1": version: 4.0.2 resolution: "@types/long@npm:4.0.2" @@ -6681,21 +5498,7 @@ __metadata: languageName: node linkType: hard -"@types/mime-types@npm:^2.1.0": - version: 2.1.1 - resolution: "@types/mime-types@npm:2.1.1" - checksum: 106b5d556add46446a579ad25ff15d6b421851790d887edcad558c90c1e64b1defc72bfbaf4b08f208916e21d9cc45cdb951d77be51268b18221544cfe054a3c - languageName: node - linkType: hard - -"@types/mime@npm:*": - version: 3.0.1 - resolution: "@types/mime@npm:3.0.1" - checksum: 4040fac73fd0cea2460e29b348c1a6173da747f3a87da0dbce80dd7a9355a3d0e51d6d9a401654f3e5550620e3718b5a899b2ec1debf18424e298a2c605346e7 - languageName: node - linkType: hard - -"@types/minimatch@npm:*, @types/minimatch@npm:^5.1.2": +"@types/minimatch@npm:*": version: 5.1.2 resolution: "@types/minimatch@npm:5.1.2" checksum: 0391a282860c7cb6fe262c12b99564732401bdaa5e395bee9ca323c312c1a0f45efbf34dce974682036e857db59a5c9b1da522f3d6055aeead7097264c8705a8 @@ -6716,16 +5519,6 @@ __metadata: languageName: node linkType: hard -"@types/node-fetch@npm:^2.5.7": - version: 2.6.3 - resolution: "@types/node-fetch@npm:2.6.3" - dependencies: - "@types/node": "*" - form-data: ^3.0.0 - checksum: b68cda58e91535a42dd5337932443c37f8e198ca1e8deeb95bd92a64a9a84d92071867b91c5eb84ee8e13f33d45a70549fe2bc11dd070a894dd561909f4d39f5 - languageName: node - linkType: hard - "@types/node@npm:*, @types/node@npm:18.15.11, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0": version: 18.15.11 resolution: "@types/node@npm:18.15.11" @@ -6740,20 +5533,13 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:16.18.23, @types/node@npm:^16.0.0": +"@types/node@npm:16.18.23": version: 16.18.23 resolution: "@types/node@npm:16.18.23" checksum: 00e51db28fc7a182747f37215b3f25400b1c7a8525e09fa14e55be5798891a118ebf636a49d3197335a3580fcb8222fd4ecc20c2ccff69f1c0d233fc5697465d languageName: node linkType: hard -"@types/node@npm:^13.7.0": - version: 13.13.52 - resolution: "@types/node@npm:13.13.52" - checksum: 8f1afff497ebeba209e2dc340d823284e087a47632afe99a7daa30eaff80893e520f222ad400cd1f2d3b8288e93cf3eaded52a8e64eaefb8aacfe6c35de98f42 - languageName: node - linkType: hard - "@types/node@npm:^14.14.35": version: 14.18.42 resolution: "@types/node@npm:14.18.42" @@ -6768,13 +5554,6 @@ __metadata: languageName: node linkType: hard -"@types/npmlog@npm:^4.1.2": - version: 4.1.4 - resolution: "@types/npmlog@npm:4.1.4" - checksum: 740f7431ccfc0e127aa8d162fe05c6ce8aa71290be020d179b2824806d19bd2c706c7e0c9a3c9963cefcdf2ceacb1dec6988c394c3694451387759dafe0aa927 - languageName: node - linkType: hard - "@types/parse5@npm:^6.0.0": version: 6.0.3 resolution: "@types/parse5@npm:6.0.3" @@ -6796,13 +5575,6 @@ __metadata: languageName: node linkType: hard -"@types/pretty-hrtime@npm:^1.0.0": - version: 1.0.1 - resolution: "@types/pretty-hrtime@npm:1.0.1" - checksum: a6cdee417eea6f7af914e4fcd13e05822864ce10b5d7646525632e86d69b79123eec55a5d3fff0155ba46b61902775e1644bcb80e1e4dffdac28e7febb089083 - languageName: node - linkType: hard - "@types/prop-types@npm:*": version: 15.7.5 resolution: "@types/prop-types@npm:15.7.5" @@ -6810,20 +5582,6 @@ __metadata: languageName: node linkType: hard -"@types/qs@npm:*, @types/qs@npm:^6.9.5": - version: 6.9.7 - resolution: "@types/qs@npm:6.9.7" - checksum: 7fd6f9c25053e9b5bb6bc9f9f76c1d89e6c04f7707a7ba0e44cc01f17ef5284adb82f230f542c2d5557d69407c9a40f0f3515e8319afd14e1e16b5543ac6cdba - languageName: node - linkType: hard - -"@types/range-parser@npm:*": - version: 1.2.4 - resolution: "@types/range-parser@npm:1.2.4" - checksum: b7c0dfd5080a989d6c8bb0b6750fc0933d9acabeb476da6fe71d8bdf1ab65e37c136169d84148034802f48378ab94e3c37bb4ef7656b2bec2cb9c0f8d4146a95 - languageName: node - linkType: hard - "@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.0.11": version: 18.0.11 resolution: "@types/react-dom@npm:18.0.11" @@ -6833,14 +5591,14 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:>=16, @types/react@npm:^18.0.15, @types/react@npm:^18.0.35": - version: 18.0.35 - resolution: "@types/react@npm:18.0.35" +"@types/react@npm:*, @types/react@npm:>=16, @types/react@npm:^18.0.15, @types/react@npm:^18.0.32": + version: 18.0.32 + resolution: "@types/react@npm:18.0.32" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: e65670397216e037b150a509ec08189140b4c20b82b612ac00b2a7133202be2d1def1e7ee69617b2df06ab4c00c43c4ee23e84788ad661aea9664da2f27c518a + checksum: c8dbce83c455e520e75f3649988f46100e3a3c0bf7241281ea5bd9067a0368290f0d7c6102e12e6ec9d649134b29a3ef4c421f376ec5aa06ed78cbdd8c144b4c languageName: node linkType: hard @@ -6867,23 +5625,13 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.1.0, @types/semver@npm:^7.3.12, @types/semver@npm:^7.3.4": +"@types/semver@npm:^7.3.12": version: 7.3.13 resolution: "@types/semver@npm:7.3.13" checksum: 00c0724d54757c2f4bc60b5032fe91cda6410e48689633d5f35ece8a0a66445e3e57fa1d6e07eb780f792e82ac542948ec4d0b76eb3484297b79bd18b8cf1cb0 languageName: node linkType: hard -"@types/serve-static@npm:*": - version: 1.15.1 - resolution: "@types/serve-static@npm:1.15.1" - dependencies: - "@types/mime": "*" - "@types/node": "*" - checksum: 2e078bdc1e458c7dfe69e9faa83cc69194b8896cce57cb745016580543c7ab5af07fdaa8ac1765eb79524208c81017546f66056f44d1204f812d72810613de36 - languageName: node - linkType: hard - "@types/stack-utils@npm:^2.0.0": version: 2.0.1 resolution: "@types/stack-utils@npm:2.0.1" @@ -6910,27 +5658,13 @@ __metadata: languageName: node linkType: hard -"@types/treeify@npm:^1.0.0": - version: 1.0.0 - resolution: "@types/treeify@npm:1.0.0" - checksum: 1b2397030d13beee7f82b878ca80feeddb0d550a6b00d8be30082a370c0ac5985ecf7b9378cf93ea278ff00c3e900b416ae8d9379f2c7e8caecdece1dfc77380 - languageName: node - linkType: hard - -"@types/unist@npm:*, @types/unist@npm:^2.0.0": +"@types/unist@npm:*, @types/unist@npm:^2.0.0, @types/unist@npm:^2.0.2": version: 2.0.6 resolution: "@types/unist@npm:2.0.6" checksum: 25cb860ff10dde48b54622d58b23e66214211a61c84c0f15f88d38b61aa1b53d4d46e42b557924a93178c501c166aa37e28d7f6d994aba13d24685326272d5db languageName: node linkType: hard -"@types/webpack-env@npm:^1.17.0": - version: 1.18.0 - resolution: "@types/webpack-env@npm:1.18.0" - checksum: ecf4daa31cb37d474ac0ce058d83a3cadeb9881ca8107ae93c2299eaa9954943aae09b43e143c62ccbe4288a14db00c918c9debd707afe17c3998f873eaabc59 - languageName: node - linkType: hard - "@types/ws@npm:^8.5.4": version: 8.5.4 resolution: "@types/ws@npm:8.5.4" @@ -6947,15 +5681,6 @@ __metadata: languageName: node linkType: hard -"@types/yargs@npm:^16.0.0": - version: 16.0.5 - resolution: "@types/yargs@npm:16.0.5" - dependencies: - "@types/yargs-parser": "*" - checksum: 22697f7cc8aa32dcc10981a87f035e183303a58351c537c81fb450270d5c494b1d918186210e445b0eb2e4a8b34a8bda2a595f346bdb1c9ed2b63d193cb00430 - languageName: node - linkType: hard - "@types/yargs@npm:^17.0.0, @types/yargs@npm:^17.0.8": version: 17.0.24 resolution: "@types/yargs@npm:17.0.24" @@ -6974,14 +5699,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.57.1": - version: 5.58.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.58.0" +"@typescript-eslint/eslint-plugin@npm:^5.56.0": + version: 5.57.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.57.0" dependencies: "@eslint-community/regexpp": ^4.4.0 - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/type-utils": 5.58.0 - "@typescript-eslint/utils": 5.58.0 + "@typescript-eslint/scope-manager": 5.57.0 + "@typescript-eslint/type-utils": 5.57.0 + "@typescript-eslint/utils": 5.57.0 debug: ^4.3.4 grapheme-splitter: ^1.0.4 ignore: ^5.2.0 @@ -6994,35 +5719,35 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: e5d76d43c466ebd4b552e3307eff72ab5ae8a0c09a1d35fa13b62769ac3336df94d9281728ab5aafd2c14a0a644133583edcd708fce60a9a82df1db3ca3b8e14 + checksum: be13aa74ee6f15f0ae67781c625d9dcf3ce8a3feca2b125eef0cfee850b7f9f0cec23fc56a729ef25926298fe3ea51603ebeee2b93fc9b73fce1410638707177 languageName: node linkType: hard "@typescript-eslint/experimental-utils@npm:^5.0.0": - version: 5.58.0 - resolution: "@typescript-eslint/experimental-utils@npm:5.58.0" + version: 5.57.0 + resolution: "@typescript-eslint/experimental-utils@npm:5.57.0" dependencies: - "@typescript-eslint/utils": 5.58.0 + "@typescript-eslint/utils": 5.57.0 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: e2f20ec272267afc5726f5cda4ccd055782dc04fc48b88c18e23ab89b523f85c6ab1029dff29adcc17b4c0a020e5d700dceec28933258bbd4ab0e33763e81b5e + checksum: 661e99b5caaf424bff93410403fada2900d24408de2708fa76010cfd3d31789977357ff1a7db4229b0c6aee038cc724c5f696388e6a67eaad7710b49a4ab7c6d languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.57.1": - version: 5.58.0 - resolution: "@typescript-eslint/parser@npm:5.58.0" +"@typescript-eslint/parser@npm:^5.56.0": + version: 5.57.0 + resolution: "@typescript-eslint/parser@npm:5.57.0" dependencies: - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/typescript-estree": 5.58.0 + "@typescript-eslint/scope-manager": 5.57.0 + "@typescript-eslint/types": 5.57.0 + "@typescript-eslint/typescript-estree": 5.57.0 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 38681da48a40132c0538579c818ceef9ba2793ab8f79236c3f64980ba1649bb87cb367cd79d37bf2982b8bfbc28f91846b8676f9bd333e8b691c9befffd8874a + checksum: b7e8345631911f721591ba970fea5c888f0f3bf2e2ea2dbc3e5b0dc345c0776b62b92c534edfde1379b4b182958a421f35ac26d84705fe6ae7dd37aa675d9493 languageName: node linkType: hard @@ -7036,13 +5761,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.58.0, @typescript-eslint/scope-manager@npm:^5.48.2": - version: 5.58.0 - resolution: "@typescript-eslint/scope-manager@npm:5.58.0" +"@typescript-eslint/scope-manager@npm:5.57.0, @typescript-eslint/scope-manager@npm:^5.48.2": + version: 5.57.0 + resolution: "@typescript-eslint/scope-manager@npm:5.57.0" dependencies: - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/visitor-keys": 5.58.0 - checksum: f0d3df5cc3c461fe63ef89ad886b53c239cc7c1d9061d83d8a9d9c8e087e5501eac84bebff8a954728c17ccea191f235686373d54d2b8b6370af2bcf2b18e062 + "@typescript-eslint/types": 5.57.0 + "@typescript-eslint/visitor-keys": 5.57.0 + checksum: 4a851f23da2adbf6341b04c1e3f19fcb66415683f26805d3123725d18845bd4a150bd182de0a91279d5682f2568bb5dd831d4ad0bdb70f49d9ca7381cec4dd17 languageName: node linkType: hard @@ -7063,12 +5788,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/type-utils@npm:5.58.0" +"@typescript-eslint/type-utils@npm:5.57.0": + version: 5.57.0 + resolution: "@typescript-eslint/type-utils@npm:5.57.0" dependencies: - "@typescript-eslint/typescript-estree": 5.58.0 - "@typescript-eslint/utils": 5.58.0 + "@typescript-eslint/typescript-estree": 5.57.0 + "@typescript-eslint/utils": 5.57.0 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -7076,7 +5801,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 803f24daed185152bf86952d4acebb5ea18ff03db5f28750368edf76fdea46b4b0f8803ae0b61c0282b47181c9977113457b16e33d5d2cb33b13855f55c5e5b2 + checksum: 649d000edabfe4e567b8a384d0012c56396e40ce2123a78857d4b8da6bf2288627dc355745bd7d4a2877d4cc8a26e1d1dbfc422e6382ac3d3ab431b92eb5b852 languageName: node linkType: hard @@ -7087,10 +5812,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.58.0, @typescript-eslint/types@npm:^5.25.0": - version: 5.58.0 - resolution: "@typescript-eslint/types@npm:5.58.0" - checksum: 8622a73d73220c4a7111537825f488c0271272032a1d4e129dc722bc6e8b3ec84f64469b2ca3b8dae7da3a9c18953ce1449af51f5f757dad60835eb579ad1d2c +"@typescript-eslint/types@npm:5.57.0, @typescript-eslint/types@npm:^5.25.0": + version: 5.57.0 + resolution: "@typescript-eslint/types@npm:5.57.0" + checksum: 79a100fb650965f63c01c20e6abd79ca0d2043c3a329b9fef89917d6b9ba3c0f946dca3f14f2975ee6349daadd6ce0e98fde3aafe4b710e5a27abe1adc590c85 languageName: node linkType: hard @@ -7112,12 +5837,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.58.0" +"@typescript-eslint/typescript-estree@npm:5.57.0": + version: 5.57.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.57.0" dependencies: - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/visitor-keys": 5.58.0 + "@typescript-eslint/types": 5.57.0 + "@typescript-eslint/visitor-keys": 5.57.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -7126,7 +5851,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 51b668ec858db0c040a71dff526273945cee4ba5a9b240528d503d02526685882d900cf071c6636a4d9061ed3fd4a7274f7f1a23fba55c4b48b143344b4009c7 + checksum: 648b88f88ea6cc293ec67b4c0f4f3c2bf733be7e0f2eee08aadbaec6939fd724a6c287decc336abbf67b9e366cc2c48f2e0e48d8302b533e783f798332a06e83 languageName: node linkType: hard @@ -7148,21 +5873,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.58.0, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.45.0, @typescript-eslint/utils@npm:^5.57.1": - version: 5.58.0 - resolution: "@typescript-eslint/utils@npm:5.58.0" +"@typescript-eslint/utils@npm:5.57.0, @typescript-eslint/utils@npm:^5.10.0": + version: 5.57.0 + resolution: "@typescript-eslint/utils@npm:5.57.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@types/json-schema": ^7.0.9 "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/typescript-estree": 5.58.0 + "@typescript-eslint/scope-manager": 5.57.0 + "@typescript-eslint/types": 5.57.0 + "@typescript-eslint/typescript-estree": 5.57.0 eslint-scope: ^5.1.1 semver: ^7.3.7 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: c618ae67963ecf96b1492c09afaeb363f542f0d6780bcac4af3c26034e3b20034666b2d523aa94821df813aafb57a0b150a7d5c2224fe8257452ad1de2237a58 + checksum: 461258e1194d24c5e642c65ba1afd612712fa8e617ac85cfbbe3dde2557fe4abadedbce19a6954ae0cccbfb92b8a09f38d65a3eedca0394861a5d1c4c893c5ed languageName: node linkType: hard @@ -7176,281 +5901,240 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.58.0" +"@typescript-eslint/visitor-keys@npm:5.57.0": + version: 5.57.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.57.0" dependencies: - "@typescript-eslint/types": 5.58.0 + "@typescript-eslint/types": 5.57.0 eslint-visitor-keys: ^3.3.0 - checksum: ab2d1f37660559954c840429ef78bbf71834063557e3e68e435005b4987970b9356fdf217ead53f7a57f66f5488dc478062c5c44bf17053a8bf041733539b98f + checksum: 77d53f74648e48bf1c6313cd60568c2b1539157ac13945f26204a54beb156666c24f3d033dd0db8ed5d1d4595ee63c072732b17132e4488b46763bf8fdcefa49 languageName: node linkType: hard -"@unocss/astro@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/astro@npm:0.51.4" +"@unocss/astro@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/astro@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - "@unocss/reset": 0.51.4 - "@unocss/vite": 0.51.4 - checksum: 5006932538fb1e601a048ecc841ff5ce525d787217a373aea0b558586906a00229684ca4f63997a69a8e94f5592fca1f5562661cb49932a307f0018640d6f1cb + "@unocss/core": 0.50.6 + "@unocss/reset": 0.50.6 + "@unocss/vite": 0.50.6 + checksum: 5714e30c3dddb0c57a670015afb8738118833d64046264fdcaf6e5f6d8b1d47c2542e831f0aa41c4285bb5368ff734381f7849eba6b3eb75d39040fb5255f27a languageName: node linkType: hard -"@unocss/cli@npm:0.51.4, @unocss/cli@npm:^0.51.4": - version: 0.51.4 - resolution: "@unocss/cli@npm:0.51.4" +"@unocss/cli@npm:0.50.6, @unocss/cli@npm:^0.50.6": + version: 0.50.6 + resolution: "@unocss/cli@npm:0.50.6" dependencies: - "@ampproject/remapping": ^2.2.1 + "@ampproject/remapping": ^2.2.0 "@rollup/pluginutils": ^5.0.2 - "@unocss/config": 0.51.4 - "@unocss/core": 0.51.4 - "@unocss/preset-uno": 0.51.4 + "@unocss/config": 0.50.6 + "@unocss/core": 0.50.6 + "@unocss/preset-uno": 0.50.6 cac: ^6.7.14 chokidar: ^3.5.3 colorette: ^2.0.19 - consola: ^3.0.0 + consola: ^2.15.3 fast-glob: ^3.2.12 magic-string: ^0.30.0 pathe: ^1.1.0 perfect-debounce: ^0.1.3 bin: unocss: bin/unocss.mjs - checksum: 8c21f8d6cc3d3116c7f6174105b400790087cca9699c619efed892cf8b5c2f014fb3288b5a57a8c2ded37b75c03309eb760169ecf385fe3ee5494b92419f3d83 + checksum: e0bfad12c2f47cb178d310e02e16d2597aec12a8530008e6133099050ee9a03731fcfadf166d4c46c8e545c924cc44c1c3f6de45be10d6ed8a46a6a08a6650cb languageName: node linkType: hard -"@unocss/config@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/config@npm:0.51.4" +"@unocss/config@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/config@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 + "@unocss/core": 0.50.6 unconfig: ^0.3.7 - checksum: ebcead29766e537de228ed6c0c1f6434c16df5c048ea2fde8f503dd6afd807a294234bb37cc1bc1060d32b5d79922bdac643d7a3ff60be556893a37772a22519 - languageName: node - linkType: hard - -"@unocss/core@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/core@npm:0.51.4" - checksum: 694605573a8e4d238c64f9d15dc073be1325e3c84a7b1459c533acd13220a4a5f2b301f592b325ed4bfc9259087333b7df5e100bc15bb30831efb5c54ae2cc41 - languageName: node - linkType: hard - -"@unocss/eslint-config@npm:^0.51.4": - version: 0.51.4 - resolution: "@unocss/eslint-config@npm:0.51.4" - dependencies: - "@unocss/eslint-plugin": 0.51.4 - checksum: 7d049b1703cfb550009c2f8ecc73635e6723f9bc0913ac215d6c43e5fde55af3400b6a6e205f3c7e1ca7fa3785c347d1c4781a8e49ebd053187a7bbce3bab33f - languageName: node - linkType: hard - -"@unocss/eslint-plugin@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/eslint-plugin@npm:0.51.4" - dependencies: - "@typescript-eslint/utils": ^5.57.1 - "@unocss/config": 0.51.4 - "@unocss/core": 0.51.4 - magic-string: ^0.30.0 - synckit: ^0.8.5 - checksum: 55750bc27cdf7b624e1d33c9c42f31a7c56259565002bfefea4ef7b63c9080f0fac9fc27bf6728b73d87098dce8dfae9a601c7d507919750b358b88475829944 + checksum: 2bca5e342cb905e9bba1c8809424e70f18ff31afd13ba61089055dae9cb8ef06d1b9e5fb26fa010903d58a2c707af97fe70829f0da3938ebaab69650d1a33659 languageName: node linkType: hard -"@unocss/extractor-arbitrary-variants@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/extractor-arbitrary-variants@npm:0.51.4" - dependencies: - "@unocss/core": 0.51.4 - checksum: 26dac2940f9227af44edf6b67cd428504846e1121bd8b0df970c90bb91eb33a0759f6606badb2ab0f159b49ef60dbf6ad746104abc1ab5e9d2a1529b885a8b12 +"@unocss/core@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/core@npm:0.50.6" + checksum: 8c44c3c816008b1cea4692fb4abc511d2a78efcbffef68c3b41873ad341a905e8d0c2ae7f63569d1ca9e2ef0b1cf4370603dce2fed8c10899283f1ec95a0c31b languageName: node linkType: hard -"@unocss/inspector@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/inspector@npm:0.51.4" +"@unocss/inspector@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/inspector@npm:0.50.6" dependencies: gzip-size: ^6.0.0 sirv: ^2.0.2 - checksum: abbaf035116b8a3801fd2e29384ac3dc3315d1a2f22536c1a4bc68b3992f66a2b0a067ecfba8b83dd0aeb5c268c81beb5a49e727027a35f7a94d3fb3168c1634 + checksum: 58f07fa24f8374c04162f321cf1e2e82b6e28de896f871796d27ff9fa2b5e29fb37a17f551abfc1895232be6bd21dbf6d0bdbf72b04ff217c94c6350bafa4dee languageName: node linkType: hard -"@unocss/postcss@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/postcss@npm:0.51.4" +"@unocss/postcss@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/postcss@npm:0.50.6" dependencies: - "@unocss/config": 0.51.4 - "@unocss/core": 0.51.4 + "@unocss/config": 0.50.6 + "@unocss/core": 0.50.6 css-tree: ^2.3.1 fast-glob: ^3.2.12 magic-string: ^0.30.0 postcss: ^8.4.21 peerDependencies: postcss: ^8.4.21 - checksum: 1ffb4dfc6e00419008cf1f638f3616086d2006378a70515b7fc10a16f81311116e8d5b625232af32ec5f268b24df8641c4f8f7c94a80f1a40bf43a3a805360b0 + checksum: a114fc168692a2b945feee584da71a735315cc06809a75d6fa75423da0b6397f058d1cefa8855d99bc1017b51c83c5d8964303cde31280e4629ef6f7b4e8e117 languageName: node linkType: hard -"@unocss/preset-attributify@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/preset-attributify@npm:0.51.4" +"@unocss/preset-attributify@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/preset-attributify@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - checksum: 39fcaccadf0e91e34e28ae21f4834407fdc57d30c89430fe251350e62716a60a15d0b9086e355d5bd94b425b1d3a15cbec619c20274d00536766d97845dca66d + "@unocss/core": 0.50.6 + checksum: d91c9421e01d2ea38f56dbba2e9da243bdd1f73f0bce67241cc58e358e8f8a165de83042a6bc99dfb0564921b9b735a79e0f3b84560fd8291651a2215a53a242 languageName: node linkType: hard -"@unocss/preset-icons@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/preset-icons@npm:0.51.4" +"@unocss/preset-icons@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/preset-icons@npm:0.50.6" dependencies: "@iconify/utils": ^2.1.5 - "@unocss/core": 0.51.4 + "@unocss/core": 0.50.6 ofetch: ^1.0.1 - checksum: 52c7cdce57a5fad62f776f882e1880fcd4b1d055413b7b00b5e66b3e4c84b86192417179eef04892f43d9831bc25469e545538074ff2a7b914385cabbc8265ca + checksum: c019a4f5484b171f7b7801d7405af03a99919899e30a1d37a65007703fa2faca8cb5244ba0f6074228623df0e3e193eb443b3671d15d66b5161912aa60dff7d9 languageName: node linkType: hard -"@unocss/preset-mini@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/preset-mini@npm:0.51.4" +"@unocss/preset-mini@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/preset-mini@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - "@unocss/extractor-arbitrary-variants": 0.51.4 - checksum: 2db83a1439ce86c836d950a6b0503d028d4e9d994e7c56ee85b52d8446004ab1eec3c3ba31883dea9744a6f382b0b535a8f3f740f4caae80e7bd128f70417a25 + "@unocss/core": 0.50.6 + checksum: f5219f09330270a810065205eee2922775253548649cc7ff337a50cc44559d14fad219223ad37bd1860846455895fa7fcc1b4de1f4f3a37165d2828eefce0c0b languageName: node linkType: hard -"@unocss/preset-tagify@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/preset-tagify@npm:0.51.4" +"@unocss/preset-tagify@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/preset-tagify@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - checksum: 6429b0d707f5727cde0a4abdbca07716fcac3e40ec245e079ae15d9b6bb23208fb011d5914c8cbad43331beda1e4ad9026fbc7925d89f008d6fa123658ead3d6 + "@unocss/core": 0.50.6 + checksum: ce451a03850206fad86db1e1d65ff0ddaf8f8b39dc36ff4137c2fc07d552d76b8e65fe9dd4acd9441c7fcf973dde151d953e62ec9a985bba5b49cb7e4b987330 languageName: node linkType: hard -"@unocss/preset-typography@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/preset-typography@npm:0.51.4" +"@unocss/preset-typography@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/preset-typography@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - "@unocss/preset-mini": 0.51.4 - checksum: e65379dd925120a0546ad66da6885f619687d64a1266711ad4455206ec2738a76e084f6bb6bbb2b8b1074a0d08556a4bba798371475d0e205503f072925df6af + "@unocss/core": 0.50.6 + "@unocss/preset-mini": 0.50.6 + checksum: e155d5df060bde5f9835ae01d2b976f628b68d38fcefb94bb83cb07d3b6c5ed1d0378ed141590ad215d4bcd4bbbaf33d19f493f3eef836e00210cc899e745c57 languageName: node linkType: hard -"@unocss/preset-uno@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/preset-uno@npm:0.51.4" +"@unocss/preset-uno@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/preset-uno@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - "@unocss/preset-mini": 0.51.4 - "@unocss/preset-wind": 0.51.4 - checksum: 97e73706a799c7eb18472b2086f4797cdb853a502288f25a911e632e1e418b5fddee30c9f1a58a292cde801d0d732ef20bb48394a4c5cbcc5f13832ebda450ab + "@unocss/core": 0.50.6 + "@unocss/preset-mini": 0.50.6 + "@unocss/preset-wind": 0.50.6 + checksum: 9e7f315486b7d779cda8393bd203d228448decc7e0fa10eeba57ef6cee6170cf5243ad24e10a9409999ffb732ab4f894782038bc13f023d61b848fbc50c6c017 languageName: node linkType: hard -"@unocss/preset-web-fonts@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/preset-web-fonts@npm:0.51.4" +"@unocss/preset-web-fonts@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/preset-web-fonts@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 + "@unocss/core": 0.50.6 ofetch: ^1.0.1 - checksum: 9d20c9c3f9e0aa1a9fe4d70900213e06c4cdb9599d560d4e4ea98c9c850c82f3c632feeba5484a6fe77fc9795dd76af284609c8c89f1fb2e8e24ded9aa40022d + checksum: 17fed4bde75c88fb0d2e15e22748ab4b0427317d45db22c025dfbf3c22c84da1034eae02b60e3df6534ea61672785cd641b54b88306c7e117de7055d77762860 languageName: node linkType: hard -"@unocss/preset-wind@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/preset-wind@npm:0.51.4" +"@unocss/preset-wind@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/preset-wind@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - "@unocss/preset-mini": 0.51.4 - checksum: ea90f0fd25c796c53e7ae8d8603e1d2d83090b27360af2553c1110ae5c68a8546ec8b728a843f7f44789ddf295089547da69f4889fc0598ad7366bc187ad688a - languageName: node - linkType: hard - -"@unocss/reset@npm:0.51.4, @unocss/reset@npm:^0.51.4": - version: 0.51.4 - resolution: "@unocss/reset@npm:0.51.4" - checksum: 0ac48f431bee5d98b3374d9be77cff950542f10f1b6d921ed454fd33135182fd070c568d54ae5609fede71512bbab331612b038d42aa4e6aa9eca24a631eb030 + "@unocss/core": 0.50.6 + "@unocss/preset-mini": 0.50.6 + checksum: 4ec09bf97aba8fb22ef1e35c53b0bbbb9eb5dab389e38300fad9db794db4abac47b5e9e3d4e56e49e256c8ce7a1079dcf5d0898a40126c8fa4e65e94765b0bab languageName: node linkType: hard -"@unocss/scope@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/scope@npm:0.51.4" - checksum: b9540ee34af72cb3a6b602bcedc0d92b33cf77e6c4b0652af6d1e5afd3385728c0b03395260023088c3cb9a904eac0e082b9c74e012fce083eb1001d802122b3 +"@unocss/reset@npm:0.50.6, @unocss/reset@npm:^0.50.6": + version: 0.50.6 + resolution: "@unocss/reset@npm:0.50.6" + checksum: 206dfbf12f392a88be94e8a33f439c302fece548a35c6e36ba996d5f76e0726323779b757480e14b1139cebfaa4ffddd30203791d52f9075634bd6a0712a7210 languageName: node linkType: hard -"@unocss/transformer-attributify-jsx-babel@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/transformer-attributify-jsx-babel@npm:0.51.4" - dependencies: - "@unocss/core": 0.51.4 - checksum: 2bb654746d22c71ee4793f455133165cd2c501a2e06b441071bd1fd7e722683d59145616051822e28bcef846a27815428d6b22b23e28f75aec1efc60ec3eed4d +"@unocss/scope@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/scope@npm:0.50.6" + checksum: adfe2335bed5c67ed275aabc9e039cfaa7d5d31ac802856a1650ffbc47545e3be08ea67a3150fc87c2cb34cfdb5e124ffa6fa6de6147d95e7fcbb2d65ce068ee languageName: node linkType: hard -"@unocss/transformer-attributify-jsx@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/transformer-attributify-jsx@npm:0.51.4" +"@unocss/transformer-attributify-jsx@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/transformer-attributify-jsx@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - checksum: 51f77cfa301822861c75f4acde7646adf5bda39c845476596ffff5112557c0f398d807a7c0ba0984d9cb3769ad8da4e8c1e1370aab556963e0714105f21793f6 + "@unocss/core": 0.50.6 + checksum: dfee497fee7ee9d33a0d463843356cbc7ea4a6aad4d9d098d7468b376dba5990b7cade1c0b99c6b63c68a93fa521e6832d3ecc410c536967e29b7f32a0a97069 languageName: node linkType: hard -"@unocss/transformer-compile-class@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/transformer-compile-class@npm:0.51.4" +"@unocss/transformer-compile-class@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/transformer-compile-class@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - checksum: 3f14f41cf5b2633f25e6f3b2386657cb6047b96ae9a51ceec0b6e24fe8e113e3d346bb06aa99a80f9ad88e267a921a0d11f8b63c922fdfe5ad449bc5a12079b6 + "@unocss/core": 0.50.6 + checksum: 0b796d86d6c1f0c5234a83c5d3c5ac9a9b031da883466d6344a7d2d6d34cffd2ed1d1a2a32525912d1a6a4b4ba690bd90dd5748b4af2f6ea9aac673d743c64b4 languageName: node linkType: hard -"@unocss/transformer-directives@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/transformer-directives@npm:0.51.4" +"@unocss/transformer-directives@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/transformer-directives@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 + "@unocss/core": 0.50.6 css-tree: ^2.3.1 - checksum: c76dccd6d55bb4758b54cc69e3e55185f4c94232a36d9cfb67791ae451db3f9f41913dba09f6faacfe626386091cc871f9196b85df60c7d2ca997425a6510be7 + checksum: 31a3e01beaabfe975f25905154893fb91a66d95ff11d3e667a29e7373cb8813721cb606e1cd6c93a261eb920c73581d866ae2478c82af4c1aaa23e769a2d8f08 languageName: node linkType: hard -"@unocss/transformer-variant-group@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/transformer-variant-group@npm:0.51.4" +"@unocss/transformer-variant-group@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/transformer-variant-group@npm:0.50.6" dependencies: - "@unocss/core": 0.51.4 - checksum: 2a6735aa1d0b9fd3e2bfaef906ca34aded54fcb5a6689fba881f17444f97a8d9c8bfa2ebee43dfce811224f55ae6692ecff57f7168b4cdfefa3cd6a05959dc7a + "@unocss/core": 0.50.6 + checksum: deec4b566b28c4c3ba88b545700464af8c34bfe38b0f8b0f86312be90b6e0055b17ccfbb8c90d4fc03124fc852dc4c566339e3704fddd35335c21e7b1ada26d2 languageName: node linkType: hard -"@unocss/vite@npm:0.51.4": - version: 0.51.4 - resolution: "@unocss/vite@npm:0.51.4" +"@unocss/vite@npm:0.50.6": + version: 0.50.6 + resolution: "@unocss/vite@npm:0.50.6" dependencies: - "@ampproject/remapping": ^2.2.1 + "@ampproject/remapping": ^2.2.0 "@rollup/pluginutils": ^5.0.2 - "@unocss/config": 0.51.4 - "@unocss/core": 0.51.4 - "@unocss/inspector": 0.51.4 - "@unocss/scope": 0.51.4 - "@unocss/transformer-directives": 0.51.4 + "@unocss/config": 0.50.6 + "@unocss/core": 0.50.6 + "@unocss/inspector": 0.50.6 + "@unocss/scope": 0.50.6 + "@unocss/transformer-directives": 0.50.6 chokidar: ^3.5.3 fast-glob: ^3.2.12 magic-string: ^0.30.0 peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 - checksum: 96f1c132089f85ceaf6da164df4b2dd8cd0e87091cb54d9fc4d537218b50422c305d4be9711989603f85080139452b438047a981b44bfa653c630981f4a7c86a + checksum: 5f9631f3cc4e3a622fa2f58d25c366f1ff5cd90e94d99c3494ff7cda6e5c71c6d0858093dc7b4ae43d7d1407e4bd43f3cd616d8f73a1d4fdf9591ed910f81171 languageName: node linkType: hard @@ -7482,7 +6166,7 @@ __metadata: languageName: node linkType: hard -"@vanilla-extract/integration@npm:^6.2.0": +"@vanilla-extract/integration@npm:^6.0.2": version: 6.2.1 resolution: "@vanilla-extract/integration@npm:6.2.1" dependencies: @@ -7519,63 +6203,63 @@ __metadata: languageName: node linkType: hard -"@vercel/build-utils@npm:6.7.1": - version: 6.7.1 - resolution: "@vercel/build-utils@npm:6.7.1" - checksum: 46c55b58b8deb14566f75e1bcb963abe9e22bd5b7b9f1936b34152e587a2066a8e952d3ab85811c3d6577ca8ccf32153f9e669f4a2820b45647a0ff011d7ec58 +"@vercel/build-utils@npm:6.7.0": + version: 6.7.0 + resolution: "@vercel/build-utils@npm:6.7.0" + checksum: 66eb28bc1675f108bc59754588c5104f5b095fbc842d991ddae91eb22f6c0f08ed1e4a0c399003f55f8f53363c87af33ef0e0e55dfa2f3c932e22c92b9fb61ce languageName: node linkType: hard -"@vercel/edge-config@npm:^0.1.7": - version: 0.1.7 - resolution: "@vercel/edge-config@npm:0.1.7" - checksum: 8a22743d6a94d81bb51a27a64875552dc4e9ec8e5f5f0fb07730c3fbad7a17979a2e4c8583be93e147bfa67aefdaa1cef3a2aa678458a942b17aa20c1584c269 +"@vercel/edge-config@npm:^0.1.5": + version: 0.1.5 + resolution: "@vercel/edge-config@npm:0.1.5" + checksum: dec5f0794a6e9210f6f22b1d98f94c696f68bdcc6eed8bcd22e19572195285463663c65e2e3642bfbe2232bf0c460490b6cf3780dee638bec2b84157f4506d9b languageName: node linkType: hard -"@vercel/gatsby-plugin-vercel-analytics@npm:1.0.9": - version: 1.0.9 - resolution: "@vercel/gatsby-plugin-vercel-analytics@npm:1.0.9" +"@vercel/gatsby-plugin-vercel-analytics@npm:1.0.8": + version: 1.0.8 + resolution: "@vercel/gatsby-plugin-vercel-analytics@npm:1.0.8" dependencies: "@babel/runtime": 7.12.1 web-vitals: 0.2.4 - checksum: bff668d77fcfe4b51a0d09f992653e90d6497443fc33e94ace0717cf310fe8361132a07d71175bb4d9281a8b71c9dd5a70193accc2c1dc0b1d7c337c5b2f74e0 + checksum: 1e875716879e485fc465a6596ef67823198e88876973ebd80b91e67deb63f4ed0af0e71acb6ab8643717e7c6b5ed1e4d405b0baf0d36595fd123d60a6f61aeb0 languageName: node linkType: hard -"@vercel/gatsby-plugin-vercel-builder@npm:1.2.8": - version: 1.2.8 - resolution: "@vercel/gatsby-plugin-vercel-builder@npm:1.2.8" +"@vercel/gatsby-plugin-vercel-builder@npm:1.2.6": + version: 1.2.6 + resolution: "@vercel/gatsby-plugin-vercel-builder@npm:1.2.6" dependencies: "@sinclair/typebox": 0.25.24 - "@vercel/build-utils": 6.7.1 - "@vercel/node": 2.10.3 - "@vercel/routing-utils": 2.2.0 + "@vercel/build-utils": 6.7.0 + "@vercel/node": 2.10.2 + "@vercel/routing-utils": 2.1.11 esbuild: 0.14.47 etag: 1.8.1 fs-extra: 11.1.0 - checksum: b5d5715b728b3de223a3847ebe61c601e4a7f8ec21ef5f91093f3569968189fa7340d9a9be265e56bd7d2ec7b1b0c34972bbec32acdefe7849734860e8d1a889 + checksum: 490f05954b6b7218ee644bfbce68cc10ca7f8c2b62518554c47ddde1c66d901b6b759937589f42c1299a8b8dd2faf155bf6c72c98ee9efd18f81752182dc163f languageName: node linkType: hard -"@vercel/go@npm:2.4.4": - version: 2.4.4 - resolution: "@vercel/go@npm:2.4.4" - checksum: f4d083b33410b447a1be0dba2f818fd48764f52a166d73b8a3877c1aea64bb19efd04723e13e463c3774b9d80b0822012906d0854df273b7cfe8c6637cf30a07 +"@vercel/go@npm:2.4.3": + version: 2.4.3 + resolution: "@vercel/go@npm:2.4.3" + checksum: 2c5b5fec897e3a2f521a9c74c72885adc76f19e0b9076f2b1a434902634eb6b1722ff314f5732dc6026ac3e0c72bfe53a9718947b60c0e98c65868d51f7d3e06 languageName: node linkType: hard -"@vercel/hydrogen@npm:0.0.62": - version: 0.0.62 - resolution: "@vercel/hydrogen@npm:0.0.62" - checksum: 4e1ed7e3dbde653594c83f8140d5de82c8c46644d20aeeefb4f12d47a614c40a715c797cee5835af4e1c2aa36b2cae5dd6f9fbe867656a67397c067787186eda +"@vercel/hydrogen@npm:0.0.61": + version: 0.0.61 + resolution: "@vercel/hydrogen@npm:0.0.61" + checksum: 8efb1143df23e1abee537c2a92d637145f912d7c53331b9a0e31db9c01af229fb8940440c9dd227c4a643ab399e274af4dfb7bb379ad4606f34c358c6e752699 languageName: node linkType: hard -"@vercel/next@npm:3.7.4": - version: 3.7.4 - resolution: "@vercel/next@npm:3.7.4" - checksum: c02087f433f3e8d497b32ace9b9ff152ccb1b96c63cd315fdde1d408108463d43b3762dde91e291b35db23320fdc54688a1dce27e4e9feb7611b2f9bfc8c97f7 +"@vercel/next@npm:3.7.3": + version: 3.7.3 + resolution: "@vercel/next@npm:3.7.3" + checksum: 6f04426f4124e95cfc135bf7240ea975f94e881f6d25b935d8646fac0bce408b0663c04eed76f90b9bfaf8c380fb3966bac1700e4ff2a4c862706facfd7d7384 languageName: node linkType: hard @@ -7600,118 +6284,129 @@ __metadata: languageName: node linkType: hard -"@vercel/node-bridge@npm:4.0.1": - version: 4.0.1 - resolution: "@vercel/node-bridge@npm:4.0.1" - checksum: d0a5d84777e2baf6d968c0cab4308de0039152738bba7a5c6e6db33dbd42a2d1dac99cc0bfa83ce84d40256bfacbf3ea7da37e5eea7f3198c75e95cf49c387db +"@vercel/node-bridge@npm:4.0.0": + version: 4.0.0 + resolution: "@vercel/node-bridge@npm:4.0.0" + checksum: 0f6f8ebff6328156d5f22a42fed2862139c9795a8bece227f0dd773dea415e6328b5e12bb84f4d03ca4038fb525cf2a2fdeb1fea6b696140317e5ef2987bfa8f languageName: node linkType: hard -"@vercel/node@npm:2.10.3": - version: 2.10.3 - resolution: "@vercel/node@npm:2.10.3" +"@vercel/node@npm:2.10.2": + version: 2.10.2 + resolution: "@vercel/node@npm:2.10.2" dependencies: "@edge-runtime/vm": 2.0.0 "@types/node": 14.18.33 - "@vercel/build-utils": 6.7.1 - "@vercel/node-bridge": 4.0.1 - "@vercel/static-config": 2.0.15 + "@vercel/build-utils": 6.7.0 + "@vercel/node-bridge": 4.0.0 + "@vercel/static-config": 2.0.14 edge-runtime: 2.0.0 esbuild: 0.14.47 exit-hook: 2.2.1 node-fetch: 2.6.7 ts-node: 10.9.1 typescript: 4.3.4 - checksum: 74950ca2c15cfd2113cd12f44a4a943a331bf6b219fed7f889f55a13baf55f76749dbc945e7060dcceb6d74f3d95000d3264bb3054d15cc718019cd0b0f96eb8 + checksum: 6ed63ff6407be59d0b53ab11bdb64dfa71998ae7c84d02786178c3daca48e2d7c5da9a09f5c9c91713ca58b1563f367eed2a79021d59f9633c3dedfd1dfec02b languageName: node linkType: hard -"@vercel/og@npm:^0.5.2": - version: 0.5.2 - resolution: "@vercel/og@npm:0.5.2" +"@vercel/og@npm:^0.5.0": + version: 0.5.0 + resolution: "@vercel/og@npm:0.5.0" dependencies: "@resvg/resvg-wasm": 2.4.1 - satori: 0.4.8 + satori: 0.4.4 yoga-wasm-web: 0.3.3 - checksum: e6c61501e61ec940a1fe4313c84ae653092abf53e32e4016006b96fcaaccc31fd912105e6b2f59c9e4b2cc9d2e717162b2a4e8554801185d5560adc8a476e17d + checksum: bf6a361ad7f29fc32c04692fd19162f7b6c1dea9fa0f30bd601d810c853997c27f95e8e4e376dbf217bcf510e67e9f745db945426404e58f1806ae776604431d languageName: node linkType: hard -"@vercel/python@npm:3.1.58": - version: 3.1.58 - resolution: "@vercel/python@npm:3.1.58" - checksum: 6dbef70143908ca022d3ef481016a2aad64513a3276cfb2fa26bce4443847251cd47e52ca56616b7771c5136f9731e84cfbeb08c44639d696ddfc3a480d4f377 +"@vercel/python@npm:3.1.57": + version: 3.1.57 + resolution: "@vercel/python@npm:3.1.57" + checksum: 559a7cdbc741460a738f15055886f42108c4b7a8e58228f5dc70cac77ff45f047c09f1e9aa1698bff86a9a2d3dd7e8547ff2662e1355de3f6e8ca9e3758f8116 languageName: node linkType: hard -"@vercel/redwood@npm:1.1.14": - version: 1.1.14 - resolution: "@vercel/redwood@npm:1.1.14" +"@vercel/redwood@npm:1.1.13": + version: 1.1.13 + resolution: "@vercel/redwood@npm:1.1.13" dependencies: "@vercel/nft": 0.22.5 - "@vercel/routing-utils": 2.2.0 + "@vercel/routing-utils": 2.1.11 semver: 6.1.1 - checksum: efaef006ec38fe8adca831a8fa979b5506b5d711591e92243509ee82e4f97cc93c65a08dc6334cb5564868dce719f2df0113657c0d3f80398914718c17bb3669 + checksum: b63aadb0d3aab2efc879ab3b23380c174008b12a9209f85de1f4ff03d287e8dc1b769e711583cd6856cbae77500fdf40ef131a97d7ef749781193dc484a09c88 languageName: node linkType: hard -"@vercel/remix-builder@npm:1.8.4": - version: 1.8.4 - resolution: "@vercel/remix-builder@npm:1.8.4" +"@vercel/remix-builder@npm:1.8.3": + version: 1.8.3 + resolution: "@vercel/remix-builder@npm:1.8.3" dependencies: - "@remix-run/dev": "npm:@vercel/remix-run-dev@1.15.0" - "@vercel/build-utils": 6.7.1 + "@remix-run/dev": "npm:@vercel/remix-run-dev@1.14.2" + "@vercel/build-utils": 6.7.0 "@vercel/nft": 0.22.5 - "@vercel/static-config": 2.0.15 + "@vercel/static-config": 2.0.14 path-to-regexp: 6.2.1 semver: 7.3.8 ts-morph: 12.0.0 - checksum: e6458e5498d2b0ee34d5eb78f4ec98115727776be5d8bd216d6a910797164a047eb0ba0ec5203d2a73cc7c1c9ea625bdb22426a620593e6a044c1073119c131a + checksum: cf7966ab99e96a57d760fc4a4bed8594ab2e20b5cd346f38765d7058b44c2a03f504b29ed430c5e84f3ba8ad0b85c7d99f976f6450eae47f88a3506737dee82d languageName: node linkType: hard -"@vercel/routing-utils@npm:2.2.0": - version: 2.2.0 - resolution: "@vercel/routing-utils@npm:2.2.0" +"@vercel/routing-utils@npm:2.1.11": + version: 2.1.11 + resolution: "@vercel/routing-utils@npm:2.1.11" dependencies: ajv: ^6.0.0 path-to-regexp: 6.1.0 dependenciesMeta: ajv: optional: true - checksum: cf61d8081e6bb0ff7d4c306c3c2ed240314573fac59976b31210a3469119f9b43996cdab388d1e40635ccca027bc1faf9b767e4c9b9095fe1ea86b304336c51d + checksum: 27906cfcae226e3ed49c707c9129c6aab6481111f5705006b0d0d411568545392c839815219e87a217200c19954a8c59b9fb66a7899dedb00ff3435275a2073b languageName: node linkType: hard -"@vercel/ruby@npm:1.3.75": - version: 1.3.75 - resolution: "@vercel/ruby@npm:1.3.75" - checksum: 5948d5aeb6f66233f38329d8ac18f10e6b4177e95a2e23c89ed68d82cf6851295b4b7b365cf3422730bb23bf12e81db8971a94b191cdb427619be743f47c4af4 +"@vercel/ruby@npm:1.3.74": + version: 1.3.74 + resolution: "@vercel/ruby@npm:1.3.74" + checksum: 7064ad584992a094fe97f78e24ebd7b8a39e155b3164d5d7e93bef969b494429b4beb6d8b3ae540474c6ef5b06d49e53067916c6fbd01c4698c888db5a2a7902 languageName: node linkType: hard -"@vercel/static-build@npm:1.3.23": - version: 1.3.23 - resolution: "@vercel/static-build@npm:1.3.23" +"@vercel/static-build@npm:1.3.21": + version: 1.3.21 + resolution: "@vercel/static-build@npm:1.3.21" dependencies: - "@vercel/gatsby-plugin-vercel-analytics": 1.0.9 - "@vercel/gatsby-plugin-vercel-builder": 1.2.8 - checksum: 00394552a397ba58795fcd71b877ceb373fdd8061d857be95bf8abb7a65286c4c2862593882d6313bc362c97f8813f6133c1bb07e9e8fc8ad291c65610f1cc0f + "@vercel/gatsby-plugin-vercel-analytics": 1.0.8 + "@vercel/gatsby-plugin-vercel-builder": 1.2.6 + checksum: c27f97451a745b2057488a1a0a07d9ed05f04380eb45ad85d243b3097985110182b1c1084b1b9e1c240ff4ceedff460ad2640bda384f8938d49ecfd1a24cd5b8 languageName: node linkType: hard -"@vercel/static-config@npm:2.0.15": - version: 2.0.15 - resolution: "@vercel/static-config@npm:2.0.15" +"@vercel/static-config@npm:2.0.14": + version: 2.0.14 + resolution: "@vercel/static-config@npm:2.0.14" dependencies: ajv: 8.6.3 json-schema-to-ts: 1.6.4 ts-morph: 12.0.0 - checksum: 79d19a489813ea04e65c8136b42f425f4cb9c3f954edff60920f99a8c684e5a3743806543b11eda855f657e3a1d950c62db4d982d944cac3401ea7962daeb8a0 + checksum: 1cc6e233b110f734b40f499e314ab079b3681b4d93d291fc344c26094e37f006dfea502d24eb053bacd21a77a9f8c63ca89cb96a930c570f8cc200289a5374f3 languageName: node linkType: hard -"@vitejs/plugin-react@npm:^3.0.1, @vitejs/plugin-react@npm:^3.1.0": +"@vitejs/plugin-react-swc@npm:^3.1.0": + version: 3.2.0 + resolution: "@vitejs/plugin-react-swc@npm:3.2.0" + dependencies: + "@swc/core": ^1.3.35 + peerDependencies: + vite: ^4 + checksum: 9df519fee5e6a9d8e7e15d037954d0acd1ee5d408fe7eef9d88f03172eb840b7300fc84b26fd93213b309c376a8712e88d6348179ad91c815d55cb6324f9d4ab + languageName: node + linkType: hard + +"@vitejs/plugin-react@npm:^3.1.0": version: 3.1.0 resolution: "@vitejs/plugin-react@npm:3.1.0" dependencies: @@ -7726,16 +6421,16 @@ __metadata: languageName: node linkType: hard -"@vitest/coverage-c8@npm:^0.30.1": - version: 0.30.1 - resolution: "@vitest/coverage-c8@npm:0.30.1" +"@vitest/coverage-c8@npm:^0.29.8": + version: 0.29.8 + resolution: "@vitest/coverage-c8@npm:0.29.8" dependencies: c8: ^7.13.0 picocolors: ^1.0.0 - std-env: ^3.3.2 + std-env: ^3.3.1 peerDependencies: - vitest: ">=0.30.0 <1" - checksum: 3688f5d1807eb65b753fa0c008464b9f0500b3847600a9b50c6fa51ee69b303bf2d0d4d5174a8e12baab9b692bb991423ded4d947f63d30b0635ac5c5cbe8737 + vitest: ">=0.29.0 <1" + checksum: 610bd2917aa160f5bf641f4d4dec539524039ea98fdc98a8d9288c7ea05090d7028d4504b8e1ecc1de1d1700c9a61a55abf285559da2c4bc8df238e559a505f7 languageName: node linkType: hard @@ -7782,157 +6477,31 @@ __metadata: languageName: node linkType: hard -"@vladfrangu/async_event_emitter@npm:^2.2.1": - version: 2.2.1 - resolution: "@vladfrangu/async_event_emitter@npm:2.2.1" - checksum: d56c6c9dc0588f5632e5d6ed373fcbcdf5fe6de6cf51dadea86899701fcf53631f41f7473b1f5d9da300bbca20ab9cd192c5c436bb77ce9df9aa60ff59a7b0f2 - languageName: node - linkType: hard - -"@vscode/codicons@npm:^0.0.32": - version: 0.0.32 - resolution: "@vscode/codicons@npm:0.0.32" - checksum: 712f423becae23591397ccc44ca9056eb413d1e00e6b2cad88895b3d97368ecee0a73da51dc40c0c65e7bc5fef2b3db5544a809c21806c6db85c9308c782814e - languageName: node - linkType: hard - -"@web3-storage/multipart-parser@npm:^1.0.0": - version: 1.0.0 - resolution: "@web3-storage/multipart-parser@npm:1.0.0" - checksum: d8bbb5b9b0a5c07b4119c33c64ef4b7cc8d74ca4de2dd783f608f2653f81ef298bf04136b7cdb7ce97306d5fe2217572b5655236b70e1b625ed18d4a21a81913 - languageName: node - linkType: hard - -"@xobotyi/scrollbar-width@npm:^1.9.5": - version: 1.9.5 - resolution: "@xobotyi/scrollbar-width@npm:1.9.5" - checksum: e880c8696bd6c7eedaad4e89cc7bcfcd502c22dc6c061288ffa7f5a4fe5dab4aa2358bdd68e7357bf0334dc8b56724ed9bee05e010b60d83a3bb0d855f3d886f - languageName: node - linkType: hard - -"@yarnpkg/core@npm:^2.4.0": - version: 2.4.0 - resolution: "@yarnpkg/core@npm:2.4.0" - dependencies: - "@arcanis/slice-ansi": ^1.0.2 - "@types/semver": ^7.1.0 - "@types/treeify": ^1.0.0 - "@yarnpkg/fslib": ^2.4.0 - "@yarnpkg/json-proxy": ^2.1.0 - "@yarnpkg/libzip": ^2.2.1 - "@yarnpkg/parsers": ^2.3.0 - "@yarnpkg/pnp": ^2.3.2 - "@yarnpkg/shell": ^2.4.1 - binjumper: ^0.1.4 - camelcase: ^5.3.1 - chalk: ^3.0.0 - ci-info: ^2.0.0 - clipanion: ^2.6.2 - cross-spawn: 7.0.3 - diff: ^4.0.1 - globby: ^11.0.1 - got: ^11.7.0 - json-file-plus: ^3.3.1 - lodash: ^4.17.15 - micromatch: ^4.0.2 - mkdirp: ^0.5.1 - p-limit: ^2.2.0 - pluralize: ^7.0.0 - pretty-bytes: ^5.1.0 - semver: ^7.1.2 - stream-to-promise: ^2.2.0 - tar-stream: ^2.0.1 - treeify: ^1.1.0 - tslib: ^1.13.0 - tunnel: ^0.0.6 - checksum: daf5b01f0873c392a112fc9c358d456d80d0ffe34045ba7df360de96bea0788d6b96d6dceadaac5fe7ac1546211b783f79aa9a3678a889d7f0b0a4a8223bfc0c - languageName: node - linkType: hard - -"@yarnpkg/esbuild-plugin-pnp@npm:^3.0.0-rc.10": - version: 3.0.0-rc.15 - resolution: "@yarnpkg/esbuild-plugin-pnp@npm:3.0.0-rc.15" - dependencies: - tslib: ^2.4.0 - peerDependencies: - esbuild: ">=0.10.0" - checksum: 04da15355a99773b441742814ba4d0f3453a83df47aa07e215f167e156f109ab8e971489c8b1a4ddf3c79d568d35213f496ad52e97298228597e1aacc22680aa - languageName: node - linkType: hard - -"@yarnpkg/fslib@npm:^2.4.0, @yarnpkg/fslib@npm:^2.5.0": - version: 2.10.2 - resolution: "@yarnpkg/fslib@npm:2.10.2" - dependencies: - "@yarnpkg/libzip": ^2.3.0 - tslib: ^1.13.0 - checksum: 2cde3543c8cf6b1ae00bbc4602cae8a6198d8f29176d8eb575ed7902531d2d67f3a63e4c7e04927b7ee68a42103fefe22d0bf8d176c3f2bcfa5f47ecbe13aa01 - languageName: node - linkType: hard - -"@yarnpkg/json-proxy@npm:^2.1.0": - version: 2.1.1 - resolution: "@yarnpkg/json-proxy@npm:2.1.1" - dependencies: - "@yarnpkg/fslib": ^2.5.0 - tslib: ^1.13.0 - checksum: 2c306b6ee158d48b15f4b09e7fb431b1096d4687c77cc49a9b37dbda04c05f13ef19175c795feefe1068668d0519a1caff7b3b7f6441a1ac6a5702ef0d60c250 - languageName: node - linkType: hard - -"@yarnpkg/libzip@npm:^2.2.1, @yarnpkg/libzip@npm:^2.3.0": - version: 2.3.0 - resolution: "@yarnpkg/libzip@npm:2.3.0" - dependencies: - "@types/emscripten": ^1.39.6 - tslib: ^1.13.0 - checksum: 533a4883f69bb013f955d80dc19719881697e6849ea5f0cbe6d87ef1d582b05cbae8a453802f92ad0c852f976296cac3ff7834be79a7e415b65cdf213e448110 - languageName: node - linkType: hard - -"@yarnpkg/lockfile@npm:^1.1.0": - version: 1.1.0 - resolution: "@yarnpkg/lockfile@npm:1.1.0" - checksum: 05b881b4866a3546861fee756e6d3812776ea47fa6eb7098f983d6d0eefa02e12b66c3fff931574120f196286a7ad4879ce02743c8bb2be36c6a576c7852083a +"@vladfrangu/async_event_emitter@npm:^2.1.4": + version: 2.1.4 + resolution: "@vladfrangu/async_event_emitter@npm:2.1.4" + checksum: 604d228a4fa46c0686d4377c2ca63035aa266382133f351f098d85782df4e451ebba2c528a7d54aa955c7fdb824a642a7ec63d5a85cf46f6cbaea46ea56a0959 languageName: node linkType: hard -"@yarnpkg/parsers@npm:^2.3.0": - version: 2.5.1 - resolution: "@yarnpkg/parsers@npm:2.5.1" - dependencies: - js-yaml: ^3.10.0 - tslib: ^1.13.0 - checksum: 42f98b8bd635add304ce392c6f600b46e40c2c4429d7b6c38b70f50b5fd6a854dd2369e0987b70546a3c8f690d280f040a885b35acfde891f5e173fc3f974277 +"@vscode/codicons@npm:^0.0.32": + version: 0.0.32 + resolution: "@vscode/codicons@npm:0.0.32" + checksum: 712f423becae23591397ccc44ca9056eb413d1e00e6b2cad88895b3d97368ecee0a73da51dc40c0c65e7bc5fef2b3db5544a809c21806c6db85c9308c782814e languageName: node linkType: hard -"@yarnpkg/pnp@npm:^2.3.2": - version: 2.3.2 - resolution: "@yarnpkg/pnp@npm:2.3.2" - dependencies: - "@types/node": ^13.7.0 - "@yarnpkg/fslib": ^2.4.0 - tslib: ^1.13.0 - checksum: 114b0cf90942e34d1a0ffee4648be2a29512f402a892da88dd48a9d45f346dba93bed6aa8c175cd720458826eec7e18d9116cb228bd0182fcc5010a6f2a67228 +"@web3-storage/multipart-parser@npm:^1.0.0": + version: 1.0.0 + resolution: "@web3-storage/multipart-parser@npm:1.0.0" + checksum: d8bbb5b9b0a5c07b4119c33c64ef4b7cc8d74ca4de2dd783f608f2653f81ef298bf04136b7cdb7ce97306d5fe2217572b5655236b70e1b625ed18d4a21a81913 languageName: node linkType: hard -"@yarnpkg/shell@npm:^2.4.1": - version: 2.4.1 - resolution: "@yarnpkg/shell@npm:2.4.1" - dependencies: - "@yarnpkg/fslib": ^2.4.0 - "@yarnpkg/parsers": ^2.3.0 - clipanion: ^2.6.2 - cross-spawn: 7.0.3 - fast-glob: ^3.2.2 - micromatch: ^4.0.2 - stream-buffers: ^3.0.2 - tslib: ^1.13.0 - bin: - shell: ./lib/cli.js - checksum: f09490ce973c7103e1c9ac973172ecb038e2975add0c02bb8b4bd1926290188bedf9ba353b253dead5b1f9b31b09e2bb68c769a1d397795737a2662b35574be3 +"@xobotyi/scrollbar-width@npm:^1.9.5": + version: 1.9.5 + resolution: "@xobotyi/scrollbar-width@npm:1.9.5" + checksum: e880c8696bd6c7eedaad4e89cc7bcfcd502c22dc6c061288ffa7f5a4fe5dab4aa2358bdd68e7357bf0334dc8b56724ed9bee05e010b60d83a3bb0d855f3d886f languageName: node linkType: hard @@ -7955,7 +6524,7 @@ __metadata: languageName: node linkType: hard -"accepts@npm:~1.3.5, accepts@npm:~1.3.8": +"accepts@npm:^1.3.5, accepts@npm:~1.3.8": version: 1.3.8 resolution: "accepts@npm:1.3.8" dependencies: @@ -7965,7 +6534,7 @@ __metadata: languageName: node linkType: hard -"acorn-jsx@npm:^5.0.0, acorn-jsx@npm:^5.3.1, acorn-jsx@npm:^5.3.2": +"acorn-jsx@npm:^5.0.0, acorn-jsx@npm:^5.3.2": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" peerDependencies: @@ -7974,13 +6543,6 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^7.2.0": - version: 7.2.0 - resolution: "acorn-walk@npm:7.2.0" - checksum: 9252158a79b9d92f1bc0dd6acc0fcfb87a67339e84bcc301bb33d6078936d27e35d606b4d35626d2962cd43c256d6f27717e70cbe15c04fff999ab0b2260b21f - languageName: node - linkType: hard - "acorn-walk@npm:^8.0.0, acorn-walk@npm:^8.1.1, acorn-walk@npm:^8.2.0": version: 8.2.0 resolution: "acorn-walk@npm:8.2.0" @@ -7988,15 +6550,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^7.4.1": - version: 7.4.1 - resolution: "acorn@npm:7.4.1" - bin: - acorn: bin/acorn - checksum: 1860f23c2107c910c6177b7b7be71be350db9e1080d814493fae143ae37605189504152d1ba8743ba3178d0b37269ce1ffc42b101547fdc1827078f82671e407 - languageName: node - linkType: hard - "acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.4.1, acorn@npm:^8.6.0, acorn@npm:^8.7.0, acorn@npm:^8.8.0, acorn@npm:^8.8.1, acorn@npm:^8.8.2": version: 8.8.2 resolution: "acorn@npm:8.8.2" @@ -8020,30 +6573,6 @@ __metadata: languageName: node linkType: hard -"address@npm:^1.0.1": - version: 1.2.2 - resolution: "address@npm:1.2.2" - checksum: ace439960c1e3564d8f523aff23a841904bf33a2a7c2e064f7f60a064194075758b9690e65bd9785692a4ef698a998c57eb74d145881a1cecab8ba658ddb1607 - languageName: node - linkType: hard - -"adjust-sourcemap-loader@npm:^4.0.0": - version: 4.0.0 - resolution: "adjust-sourcemap-loader@npm:4.0.0" - dependencies: - loader-utils: ^2.0.0 - regex-parser: ^2.2.11 - checksum: d524ae23582f41e2275af5d88faab7a9dc09770ed588244e0a76d3196d0d6a90bf02760c71bc6213dbfef3aef4a86232ac9521bfd629752c32b7af37bc74c660 - languageName: node - linkType: hard - -"agent-base@npm:5": - version: 5.1.1 - resolution: "agent-base@npm:5.1.1" - checksum: 61ae789f3019f1dc10e8cba6d3ae9826949299a4e54aaa1cfa2fa37c95a108e70e95423b963bb987d7891a703fd9a5c383a506f4901819f3ee56f3147c0aa8ab - languageName: node - linkType: hard - "agent-base@npm:6, agent-base@npm:^6.0.0, agent-base@npm:^6.0.2": version: 6.0.2 resolution: "agent-base@npm:6.0.2" @@ -8127,7 +6656,7 @@ __metadata: languageName: node linkType: hard -"ansi-align@npm:^3.0.0": +"ansi-align@npm:^3.0.1": version: 3.0.1 resolution: "ansi-align@npm:3.0.1" dependencies: @@ -8221,14 +6750,14 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^6.0.0": +"ansi-styles@npm:^6.0.0, ansi-styles@npm:^6.1.0": version: 6.2.1 resolution: "ansi-styles@npm:6.2.1" checksum: ef940f2f0ced1a6347398da88a91da7930c33ecac3c77b72c5905f8b8fe402c52e6fde304ff5347f616e27a742da3f1dc76de98f6866c69251ad0b07a66776d9 languageName: node linkType: hard -"any-promise@npm:^1.0.0, any-promise@npm:^1.1.0, any-promise@npm:~1.3.0": +"any-promise@npm:^1.0.0": version: 1.3.0 resolution: "any-promise@npm:1.3.0" checksum: 0ee8a9bdbe882c90464d75d1f55cf027f5458650c4bd1f0467e65aec38ccccda07ca5844969ee77ed46d04e7dded3eaceb027e8d32f385688523fe305fa7e1de @@ -8245,13 +6774,6 @@ __metadata: languageName: node linkType: hard -"app-root-dir@npm:^1.0.2": - version: 1.0.2 - resolution: "app-root-dir@npm:1.0.2" - checksum: d4b1653fc60b6465b982bf5a88b12051ed2d807d70609386a809306e1c636496f53522d61fa30f9f98c71aaae34f34e1651889cf17d81a44e3dafd2859d495ad - languageName: node - linkType: hard - "aproba@npm:^1.0.3": version: 1.2.0 resolution: "aproba@npm:1.2.0" @@ -8363,9 +6885,9 @@ __metadata: languageName: node linkType: hard -"ariakit@npm:^2.0.0-next.44": - version: 2.0.0-next.44 - resolution: "ariakit@npm:2.0.0-next.44" +"ariakit@npm:^2.0.0-next.43": + version: 2.0.0-next.43 + resolution: "ariakit@npm:2.0.0-next.43" dependencies: "@floating-ui/dom": ^1.0.0 ariakit-react-utils: 0.17.0-next.27 @@ -8373,7 +6895,7 @@ __metadata: peerDependencies: react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 - checksum: 152d47015cab6d30feb97978aee9cd0a3a2a41613575f00218c05fe3bfffb163cedd8027f26eb085c7059e72af2da9ed4a8411b635bad81f43d1c9245717aa21 + checksum: 7dc3a6914c89a296fc8c4a8372dc4f87bd67252ae065dd33869ac0349f781b5bbd6a9ef2cbedacf4646502650f4ff89083aa656689d22d919fa120d849847aaf languageName: node linkType: hard @@ -8525,7 +7047,7 @@ __metadata: languageName: node linkType: hard -"asap@npm:^2.0.0, asap@npm:~2.0.3": +"asap@npm:^2.0.0": version: 2.0.6 resolution: "asap@npm:2.0.6" checksum: b296c92c4b969e973260e47523207cd5769abd27c245a68c26dc7a0fe8053c55bb04360237cb51cab1df52be939da77150ace99ad331fb7fb13b3423ed73ff3d @@ -8548,18 +7070,6 @@ __metadata: languageName: node linkType: hard -"assert@npm:^2.0.0": - version: 2.0.0 - resolution: "assert@npm:2.0.0" - dependencies: - es6-object-assign: ^1.1.0 - is-nan: ^1.2.1 - object-is: ^1.0.1 - util: ^0.12.0 - checksum: bb91f181a86d10588ee16c5e09c280f9811373974c29974cbe401987ea34e966699d7989a812b0e19377b511ea0bc627f5905647ce569311824848ede382cae8 - languageName: node - linkType: hard - "assertion-error@npm:^1.1.0": version: 1.1.0 resolution: "assertion-error@npm:1.1.0" @@ -8592,24 +7102,6 @@ __metadata: languageName: node linkType: hard -"ast-types@npm:^0.14.2": - version: 0.14.2 - resolution: "ast-types@npm:0.14.2" - dependencies: - tslib: ^2.0.1 - checksum: 8674a77307764979f0a0b2006b7223a4b789abffaa7acbf6a1132650a799252155170173a1ff6a7fb6897f59437fc955f2707bdfc391b0797750898876e6c9ed - languageName: node - linkType: hard - -"ast-types@npm:^0.16.1": - version: 0.16.1 - resolution: "ast-types@npm:0.16.1" - dependencies: - tslib: ^2.0.1 - checksum: 21c186da9fdb1d8087b1b7dabbc4059f91aa5a1e593a9776b4393cc1eaa857e741b2dda678d20e34b16727b78fef3ab59cf8f0c75ed1ba649c78fe194e5c114b - languageName: node - linkType: hard - "astral-regex@npm:^2.0.0": version: 2.0.0 resolution: "astral-regex@npm:2.0.0" @@ -8626,9 +7118,9 @@ __metadata: languageName: node linkType: hard -"astro-eslint-parser@npm:^0.13.1, astro-eslint-parser@npm:^0.13.2": - version: 0.13.3 - resolution: "astro-eslint-parser@npm:0.13.3" +"astro-eslint-parser@npm:^0.13.0, astro-eslint-parser@npm:^0.13.1": + version: 0.13.2 + resolution: "astro-eslint-parser@npm:0.13.2" dependencies: "@astrojs/compiler": ^1.0.0 "@typescript-eslint/scope-manager": ^5.48.2 @@ -8638,7 +7130,7 @@ __metadata: eslint-visitor-keys: ^3.0.0 espree: ^9.0.0 semver: ^7.3.8 - checksum: 5400c86f1bda5ea942ad200bbb6ce084496115dcdceb2df77630c00166a5181f459bcd39ab78f8953825be6ad97d572dd4fe5cc79a69ddda6a74f224442e0e43 + checksum: d52244f47e7ac1d331f4005f586fb1ac7b9a86e3ea14fecdf2de175990fa6852209b917726b8251b3bb5f8fcd63835493a448a3e03fe942479fe523ff5560997 languageName: node linkType: hard @@ -8653,13 +7145,6 @@ __metadata: languageName: node linkType: hard -"async-limiter@npm:~1.0.0": - version: 1.0.1 - resolution: "async-limiter@npm:1.0.1" - checksum: 2b849695b465d93ad44c116220dee29a5aeb63adac16c1088983c339b0de57d76e82533e8e364a93a9f997f28bbfc6a92948cefc120652bd07f3b59f8d75cf2b - languageName: node - linkType: hard - "async-sema@npm:^3.1.1": version: 3.1.1 resolution: "async-sema@npm:3.1.1" @@ -8667,13 +7152,6 @@ __metadata: languageName: node linkType: hard -"async@npm:^3.2.0, async@npm:^3.2.3": - version: 3.2.4 - resolution: "async@npm:3.2.4" - checksum: 43d07459a4e1d09b84a20772414aa684ff4de085cbcaec6eea3c7a8f8150e8c62aa6cd4e699fe8ee93c3a5b324e777d34642531875a0817a35697522c1b02e89 - languageName: node - linkType: hard - "asynckit@npm:^0.4.0": version: 0.4.0 resolution: "asynckit@npm:0.4.0" @@ -8702,7 +7180,7 @@ __metadata: languageName: node linkType: hard -"axe-core@npm:4.6.3, axe-core@npm:^4.6.2": +"axe-core@npm:4.6.3, axe-core@npm:^4.6.2, axe-core@npm:^4.6.3": version: 4.6.3 resolution: "axe-core@npm:4.6.3" checksum: d0c46be92b9707c48b88a53cd5f471b155a2bfc8bf6beffb514ecd14e30b4863e340b5fc4f496d82a3c562048088c1f3ff5b93b9b3b026cb9c3bfacfd535da10 @@ -8729,15 +7207,6 @@ __metadata: languageName: node linkType: hard -"babel-core@npm:^7.0.0-bridge.0": - version: 7.0.0-bridge.0 - resolution: "babel-core@npm:7.0.0-bridge.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 2a1cb879019dffb08d17bec36e13c3a6d74c94773f41c1fd8b14de13f149cc34b705b0a1e07b42fcf35917b49d78db6ff0c5c3b00b202a5235013d517b5c6bbb - languageName: node - linkType: hard - "babel-jest@npm:^29.5.0": version: 29.5.0 resolution: "babel-jest@npm:29.5.0" @@ -8850,6 +7319,13 @@ __metadata: languageName: node linkType: hard +"bail@npm:^1.0.0": + version: 1.0.5 + resolution: "bail@npm:1.0.5" + checksum: 6c334940d7eaa4e656a12fb12407b6555649b6deb6df04270fa806e0da82684ebe4a4e47815b271c794b40f8d6fa286e0c248b14ddbabb324a917fab09b7301a + languageName: node + linkType: hard + "bail@npm:^2.0.0": version: 2.0.2 resolution: "bail@npm:2.0.2" @@ -8905,22 +7381,6 @@ __metadata: languageName: node linkType: hard -"better-opn@npm:^2.1.1": - version: 2.1.1 - resolution: "better-opn@npm:2.1.1" - dependencies: - open: ^7.0.3 - checksum: 3d1a945d125cbbc6e6a841bef7540435d77d5aa61fc4d345896f5f0b3780fcf9c7145373deaedf62d674a427b187ae973f4410884f9fea0c15f7f01f9dc339c7 - languageName: node - linkType: hard - -"big-integer@npm:^1.6.44": - version: 1.6.51 - resolution: "big-integer@npm:1.6.51" - checksum: 3d444173d1b2e20747e2c175568bedeebd8315b0637ea95d75fd27830d3b8e8ba36c6af40374f36bdaea7b5de376dcada1b07587cb2a79a928fccdb6e6e3c518 - languageName: node - linkType: hard - "big.js@npm:^5.2.2": version: 5.2.2 resolution: "big.js@npm:5.2.2" @@ -8944,13 +7404,6 @@ __metadata: languageName: node linkType: hard -"binjumper@npm:^0.1.4": - version: 0.1.4 - resolution: "binjumper@npm:0.1.4" - checksum: d956dd2a013d1475cd6f6a12c50a62ddbd5051ef441b001b42ec721a6b0323b0a132a6f9b98912078f54c97c35882684c7cee072d3d53372bfc8d93f02b66a71 - languageName: node - linkType: hard - "bl@npm:^4.0.3, bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" @@ -8996,28 +7449,19 @@ __metadata: languageName: node linkType: hard -"boxen@npm:^5.1.2": - version: 5.1.2 - resolution: "boxen@npm:5.1.2" - dependencies: - ansi-align: ^3.0.0 - camelcase: ^6.2.0 - chalk: ^4.1.0 - cli-boxes: ^2.2.1 - string-width: ^4.2.2 - type-fest: ^0.20.2 - widest-line: ^3.1.0 - wrap-ansi: ^7.0.0 - checksum: 82d03e42a72576ff235123f17b7c505372fe05c83f75f61e7d4fa4bcb393897ec95ce766fecb8f26b915f0f7a7227d66e5ec7cef43f5b2bd9d3aeed47ec55877 - languageName: node - linkType: hard - -"bplist-parser@npm:^0.2.0": - version: 0.2.0 - resolution: "bplist-parser@npm:0.2.0" +"boxen@npm:^7.0.1": + version: 7.0.2 + resolution: "boxen@npm:7.0.2" dependencies: - big-integer: ^1.6.44 - checksum: d5339dd16afc51de6c88f88f58a45b72ed6a06aa31f5557d09877575f220b7c1d3fbe375da0b62e6a10d4b8ed80523567e351f24014f5bc886ad523758142cdd + ansi-align: ^3.0.1 + camelcase: ^7.0.0 + chalk: ^5.0.1 + cli-boxes: ^3.0.0 + string-width: ^5.1.2 + type-fest: ^2.13.0 + widest-line: ^4.0.1 + wrap-ansi: ^8.0.1 + checksum: 9bd2977ac8d8df19285ee7d9e1e84a2dfa52a363df93110a5ba0217f5a628a39e09e5bc9853ad7dc32cd817ddfc9144da74014bcf67c40f7e2789e413981e15e languageName: node linkType: hard @@ -9061,13 +7505,6 @@ __metadata: languageName: node linkType: hard -"browser-assert@npm:^1.2.1": - version: 1.2.1 - resolution: "browser-assert@npm:1.2.1" - checksum: 8b2407cd04c1ed592cf892dec35942b7d72635829221e0788c9a16c4d2afa8b7156bc9705b1c4b32c30d88136c576fda3cbcb8f494d6f865264c706ea8798d92 - languageName: node - linkType: hard - "browserify-zlib@npm:^0.1.4": version: 0.1.4 resolution: "browserify-zlib@npm:0.1.4" @@ -9174,13 +7611,6 @@ __metadata: languageName: node linkType: hard -"bytes@npm:3.0.0": - version: 3.0.0 - resolution: "bytes@npm:3.0.0" - checksum: a2b386dd8188849a5325f58eef69c3b73c51801c08ffc6963eddc9be244089ba32d19347caf6d145c86f315ae1b1fc7061a32b0c1aa6379e6a719090287ed101 - languageName: node - linkType: hard - "bytes@npm:3.1.2": version: 3.1.2 resolution: "bytes@npm:3.1.2" @@ -9195,7 +7625,7 @@ __metadata: languageName: node linkType: hard -"c8@npm:^7.13.0, c8@npm:^7.6.0": +"c8@npm:^7.13.0": version: 7.13.0 resolution: "c8@npm:7.13.0" dependencies: @@ -9297,6 +7727,16 @@ __metadata: languageName: node linkType: hard +"cache-content-type@npm:^1.0.0": + version: 1.0.1 + resolution: "cache-content-type@npm:1.0.1" + dependencies: + mime-types: ^2.1.18 + ylru: ^1.2.0 + checksum: 18db4d59452669ccbfd7146a1510a37eb28e9eccf18ca7a4eb603dff2edc5cccdca7498fc3042a2978f76f11151fba486eb9eb69d9afa3fb124957870aef4fd3 + languageName: node + linkType: hard + "cache-point@npm:^2.0.0": version: 2.0.0 resolution: "cache-point@npm:2.0.0" @@ -9394,6 +7834,13 @@ __metadata: languageName: node linkType: hard +"camelcase@npm:^7.0.0": + version: 7.0.1 + resolution: "camelcase@npm:7.0.1" + checksum: 86ab8f3ebf08bcdbe605a211a242f00ed30d8bfb77dab4ebb744dd36efbc84432d1c4adb28975ba87a1b8be40a80fbd1e60e2f06565315918fa7350011a26d3d + languageName: node + linkType: hard + "camelize@npm:^1.0.0": version: 1.0.1 resolution: "camelize@npm:1.0.1" @@ -9402,9 +7849,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001406, caniuse-lite@npm:^1.0.30001449": - version: 1.0.30001478 - resolution: "caniuse-lite@npm:1.0.30001478" - checksum: 27a370dcb32a6a35e186307aabc570da1cd0fccc849913665e7df6822a87286de99509b163304e0586c23c539a991717fb68ed84b85bbd21b2cb86475ae5ffb2 + version: 1.0.30001473 + resolution: "caniuse-lite@npm:1.0.30001473" + checksum: 007ad17463612d38080fc59b5fa115ccb1016a1aff8daab92199a7cf8eb91cf987e85e7015cb0bca830ee2ef45f252a016c29a98a6497b334cceb038526b73f1 languageName: node linkType: hard @@ -9446,7 +7893,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:5.2.0": +"chalk@npm:5.2.0, chalk@npm:^5.0.1": version: 5.2.0 resolution: "chalk@npm:5.2.0" checksum: 03d8060277de6cf2fd567dc25fcf770593eb5bb85f460ce443e49255a30ff1242edd0c90a06a03803b0466ff0687a939b41db1757bec987113e83de89a003caa @@ -9477,17 +7924,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^3.0.0": - version: 3.0.0 - resolution: "chalk@npm:3.0.0" - dependencies: - ansi-styles: ^4.1.0 - supports-color: ^7.1.0 - checksum: 8e3ddf3981c4da405ddbd7d9c8d91944ddf6e33d6837756979f7840a29272a69a5189ecae0ff84006750d6d1e92368d413335eab4db5476db6e6703a1d1e0505 - languageName: node - linkType: hard - -"chalk@npm:^4.0.0, chalk@npm:^4.0.2, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2, chalk@npm:~4.1.0": +"chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2, chalk@npm:~4.1.0": version: 4.1.2 resolution: "chalk@npm:4.1.2" dependencies: @@ -9588,21 +8025,6 @@ __metadata: languageName: node linkType: hard -"chromatic@npm:^6.17.3": - version: 6.17.3 - resolution: "chromatic@npm:6.17.3" - dependencies: - "@discoveryjs/json-ext": ^0.5.7 - "@types/webpack-env": ^1.17.0 - snyk-nodejs-lockfile-parser: ^1.47.4 - bin: - chroma: bin/main.cjs - chromatic: bin/main.cjs - chromatic-cli: bin/main.cjs - checksum: 4ac84633a15993302c1d82a49d76adb7622f79c76ed2282960816a99f82263c115ffb4a7c86d61047f07b5d4d252515a3433481732b0e87af4be6c33e29f381f - languageName: node - linkType: hard - "chrome-launcher@npm:^0.15.1": version: 0.15.1 resolution: "chrome-launcher@npm:0.15.1" @@ -9628,13 +8050,6 @@ __metadata: languageName: node linkType: hard -"ci-info@npm:^2.0.0": - version: 2.0.0 - resolution: "ci-info@npm:2.0.0" - checksum: 3b374666a85ea3ca43fa49aa3a048d21c9b475c96eb13c133505d2324e7ae5efd6a454f41efe46a152269e9b6a00c9edbe63ec7fa1921957165aae16625acd67 - languageName: node - linkType: hard - "ci-info@npm:^3.2.0, ci-info@npm:^3.6.1": version: 3.8.0 resolution: "ci-info@npm:3.8.0" @@ -9649,6 +8064,13 @@ __metadata: languageName: node linkType: hard +"classnames@npm:^2.3.2": + version: 2.3.2 + resolution: "classnames@npm:2.3.2" + checksum: 2c62199789618d95545c872787137262e741f9db13328e216b093eea91c85ef2bfb152c1f9e63027204e2559a006a92eb74147d46c800a9f96297ae1d9f96f4e + languageName: node + linkType: hard + "clean-regexp@npm:^1.0.0": version: 1.0.0 resolution: "clean-regexp@npm:1.0.0" @@ -9674,10 +8096,10 @@ __metadata: languageName: node linkType: hard -"cli-boxes@npm:^2.2.1": - version: 2.2.1 - resolution: "cli-boxes@npm:2.2.1" - checksum: be79f8ec23a558b49e01311b39a1ea01243ecee30539c880cf14bf518a12e223ef40c57ead0cb44f509bffdffc5c129c746cd50d863ab879385370112af4f585 +"cli-boxes@npm:^3.0.0": + version: 3.0.0 + resolution: "cli-boxes@npm:3.0.0" + checksum: 637d84419d293a9eac40a1c8c96a2859e7d98b24a1a317788e13c8f441be052fc899480c6acab3acc82eaf1bccda6b7542d7cdcf5c9c3cc39227175dc098d5b2 languageName: node linkType: hard @@ -9691,22 +8113,9 @@ __metadata: linkType: hard "cli-spinners@npm:^2.5.0": - version: 2.8.0 - resolution: "cli-spinners@npm:2.8.0" - checksum: 42bc69127706144b83b25da27e0719bdd8294efe43018e1736928a8f78a26e8d2b4dcd39af4a6401526ca647e99e302ad2b29bf19e67d1db403b977aca6abeb7 - languageName: node - linkType: hard - -"cli-table3@npm:^0.6.1": - version: 0.6.3 - resolution: "cli-table3@npm:0.6.3" - dependencies: - "@colors/colors": 1.5.0 - string-width: ^4.2.0 - dependenciesMeta: - "@colors/colors": - optional: true - checksum: 09897f68467973f827c04e7eaadf13b55f8aec49ecd6647cc276386ea660059322e2dd8020a8b6b84d422dbdd619597046fa89cbbbdc95b2cea149a2df7c096c + version: 2.7.0 + resolution: "cli-spinners@npm:2.7.0" + checksum: a9afaf73f58d1f951fb23742f503631b3cf513f43f4c7acb1b640100eb76bfa16efbcd1994d149ffc6603a6d75dd3d4a516a76f125f90dce437de9b16fd0ee6f languageName: node linkType: hard @@ -9744,13 +8153,6 @@ __metadata: languageName: node linkType: hard -"clipanion@npm:^2.6.2": - version: 2.6.2 - resolution: "clipanion@npm:2.6.2" - checksum: 7a1dfc8c9ae70362fc12a8d148827b584f598c9f983143a847b33a84ec8a8c3a51e5888131a3e9847cddfa38096d17a38ced870ee2fd4bef5babb971ec198287 - languageName: node - linkType: hard - "clipanion@npm:^3.2.0": version: 3.2.0 resolution: "clipanion@npm:3.2.0" @@ -9795,17 +8197,6 @@ __metadata: languageName: node linkType: hard -"clone-deep@npm:^4.0.1": - version: 4.0.1 - resolution: "clone-deep@npm:4.0.1" - dependencies: - is-plain-object: ^2.0.4 - kind-of: ^6.0.2 - shallow-clone: ^3.0.0 - checksum: 770f912fe4e6f21873c8e8fbb1e99134db3b93da32df271d00589ea4a29dbe83a9808a322c93f3bcaf8584b8b4fa6fc269fc8032efbaa6728e0c9886c74467d2 - languageName: node - linkType: hard - "clone-response@npm:^1.0.2": version: 1.0.3 resolution: "clone-response@npm:1.0.3" @@ -9971,6 +8362,13 @@ __metadata: languageName: node linkType: hard +"comma-separated-tokens@npm:^1.0.0": + version: 1.0.8 + resolution: "comma-separated-tokens@npm:1.0.8" + checksum: 0adcb07174fa4d08cf0f5c8e3aec40a36b5ff0c2c720e5e23f50fe02e6789d1d00a67036c80e0c1e1539f41d3e7f0101b074039dd833b4e4a59031b659d6ca0d + languageName: node + linkType: hard + "comma-separated-tokens@npm:^2.0.0": version: 2.0.3 resolution: "comma-separated-tokens@npm:2.0.3" @@ -10036,7 +8434,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^2.12.1, commander@npm:^2.19.0": +"commander@npm:^2.12.1": version: 2.20.3 resolution: "commander@npm:2.20.3" checksum: ab8c07884e42c3a8dbc5dd9592c606176c7eb5c1ca5ff274bcf907039b2c41de3626f684ea75ccf4d361ba004bbaff1f577d5384c155f3871e456bdf27becf9e @@ -10050,13 +8448,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^6.2.1": - version: 6.2.1 - resolution: "commander@npm:6.2.1" - checksum: d7090410c0de6bc5c67d3ca41c41760d6d268f3c799e530aafb73b7437d1826bbf0d2a3edac33f8b57cc9887b4a986dce307fa5557e109be40eadb7c43b21742 - languageName: node - linkType: hard - "commander@npm:^7.2.0": version: 7.2.0 resolution: "commander@npm:7.2.0" @@ -10105,13 +8496,6 @@ __metadata: languageName: node linkType: hard -"commondir@npm:^1.0.1": - version: 1.0.1 - resolution: "commondir@npm:1.0.1" - checksum: 59715f2fc456a73f68826285718503340b9f0dd89bfffc42749906c5cf3d4277ef11ef1cca0350d0e79204f00f1f6d83851ececc9095dc88512a697ac0b9bdcb - languageName: node - linkType: hard - "compare-func@npm:^2.0.0": version: 2.0.0 resolution: "compare-func@npm:2.0.0" @@ -10129,30 +8513,6 @@ __metadata: languageName: node linkType: hard -"compressible@npm:~2.0.16": - version: 2.0.18 - resolution: "compressible@npm:2.0.18" - dependencies: - mime-db: ">= 1.43.0 < 2" - checksum: 58321a85b375d39230405654721353f709d0c1442129e9a17081771b816302a012471a9b8f4864c7dbe02eef7f2aaac3c614795197092262e94b409c9be108f0 - languageName: node - linkType: hard - -"compression@npm:^1.7.4": - version: 1.7.4 - resolution: "compression@npm:1.7.4" - dependencies: - accepts: ~1.3.5 - bytes: 3.0.0 - compressible: ~2.0.16 - debug: 2.6.9 - on-headers: ~1.0.2 - safe-buffer: 5.1.2 - vary: ~1.1.2 - checksum: 35c0f2eb1f28418978615dc1bc02075b34b1568f7f56c62d60f4214d4b7cc00d0f6d282b5f8a954f59872396bd770b6b15ffd8aa94c67d4bce9b8887b906999b - languageName: node - linkType: hard - "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -10160,18 +8520,6 @@ __metadata: languageName: node linkType: hard -"concat-stream@npm:^1.6.2": - version: 1.6.2 - resolution: "concat-stream@npm:1.6.2" - dependencies: - buffer-from: ^1.0.0 - inherits: ^2.0.3 - readable-stream: ^2.2.2 - typedarray: ^0.0.6 - checksum: 1ef77032cb4459dcd5187bd710d6fc962b067b64ec6a505810de3d2b8cc0605638551b42f8ec91edf6fcd26141b32ef19ad749239b58fae3aba99187adc32285 - languageName: node - linkType: hard - "concat-stream@npm:^2.0.0": version: 2.0.0 resolution: "concat-stream@npm:2.0.0" @@ -10227,10 +8575,10 @@ __metadata: languageName: node linkType: hard -"consola@npm:^3.0.0": - version: 3.0.2 - resolution: "consola@npm:3.0.2" - checksum: e82503d738d410e36aca1543a37fb8ca385cd38c86b8fb055086f3df223ab1c353cea4e649b46169b5b7e9a7a61997f2693a57611522331d50a7811a372a816e +"consola@npm:^2.15.3": + version: 2.15.3 + resolution: "consola@npm:2.15.3" + checksum: 8ef7a09b703ec67ac5c389a372a33b6dc97eda6c9876443a60d76a3076eea0259e7f67a4e54fd5a52f97df73690822d090cf8b7e102b5761348afef7c6d03e28 languageName: node linkType: hard @@ -10241,7 +8589,7 @@ __metadata: languageName: node linkType: hard -"content-disposition@npm:0.5.4": +"content-disposition@npm:0.5.4, content-disposition@npm:~0.5.2": version: 0.5.4 resolution: "content-disposition@npm:0.5.4" dependencies: @@ -10250,7 +8598,7 @@ __metadata: languageName: node linkType: hard -"content-type@npm:~1.0.4": +"content-type@npm:^1.0.4, content-type@npm:~1.0.4": version: 1.0.5 resolution: "content-type@npm:1.0.5" checksum: 566271e0a251642254cde0f845f9dd4f9856e52d988f4eb0d0dcffbb7a1f8ec98de7a5215fc628f3bce30fe2fb6fd2bc064b562d721658c59b544e2d34ea2766 @@ -10533,6 +8881,16 @@ __metadata: languageName: node linkType: hard +"cookies@npm:~0.8.0": + version: 0.8.0 + resolution: "cookies@npm:0.8.0" + dependencies: + depd: ~2.0.0 + keygrip: ~1.1.0 + checksum: 806055a44f128705265b1bc6a853058da18bf80dea3654ad99be20985b1fa1b14f86c1eef73644aab8071241f8a78acd57202b54c4c5c70769fc694fbb9c4edc + languageName: node + linkType: hard + "copy-to-clipboard@npm:^3.3.1": version: 3.3.3 resolution: "copy-to-clipboard@npm:3.3.3" @@ -10543,11 +8901,11 @@ __metadata: linkType: hard "core-js-compat@npm:^3.25.1": - version: 3.30.0 - resolution: "core-js-compat@npm:3.30.0" + version: 3.29.1 + resolution: "core-js-compat@npm:3.29.1" dependencies: browserslist: ^4.21.5 - checksum: 51a34d8a292de51f52ac2d72b18ee94743a905d4570a42214262426ebf8f026c853fee22cf4d6c61c2d95f861749421c4de48e9389f551745c5ac1477a5f929f + checksum: 7260f6bbaa98836cda09a3b61aa721149d3ae95040302fb3b27eb153ae9bbddc8dee5249e72004cdc9552532029de4d50a5b2b066c37414421d2929d6091b18f languageName: node linkType: hard @@ -10565,7 +8923,7 @@ __metadata: languageName: node linkType: hard -"cosmiconfig-typescript-loader@npm:^4.0.0, cosmiconfig-typescript-loader@npm:^4.3.0": +"cosmiconfig-typescript-loader@npm:^4.0.0": version: 4.3.0 resolution: "cosmiconfig-typescript-loader@npm:4.3.0" peerDependencies: @@ -10577,7 +8935,7 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^8.0.0, cosmiconfig@npm:^8.1.3": +"cosmiconfig@npm:^8.0.0": version: 8.1.3 resolution: "cosmiconfig@npm:8.1.3" dependencies: @@ -10657,7 +9015,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -10712,24 +9070,6 @@ __metadata: languageName: node linkType: hard -"css-loader@npm:^6.7.3": - version: 6.7.3 - resolution: "css-loader@npm:6.7.3" - dependencies: - icss-utils: ^5.1.0 - postcss: ^8.4.19 - postcss-modules-extract-imports: ^3.0.0 - postcss-modules-local-by-default: ^4.0.0 - postcss-modules-scope: ^3.0.0 - postcss-modules-values: ^4.0.0 - postcss-value-parser: ^4.2.0 - semver: ^7.3.8 - peerDependencies: - webpack: ^5.0.0 - checksum: 473cc32b6c837c2848e2051ad1ba331c1457449f47442e75a8c480d9891451434ada241f7e3de2347e57de17fcd84610b3bcfc4a9da41102cdaedd1e17902d31 - languageName: node - linkType: hard - "css-selector-parser@npm:^1.0.0": version: 1.4.1 resolution: "css-selector-parser@npm:1.4.1" @@ -10922,6 +9262,13 @@ __metadata: languageName: node linkType: hard +"decode-uri-component@npm:^0.4.1": + version: 0.4.1 + resolution: "decode-uri-component@npm:0.4.1" + checksum: 0473924860986fb6ca19ee65a2af13e08801b4f3660475b058500ea8479ed715c919884a026b6bf4296dbb640d3cea74fadf45490b2439152fc548271d0201ec + languageName: node + linkType: hard + "decompress-response@npm:^6.0.0": version: 6.0.0 resolution: "decompress-response@npm:6.0.0" @@ -10972,6 +9319,13 @@ __metadata: languageName: node linkType: hard +"deep-equal@npm:~1.0.1": + version: 1.0.1 + resolution: "deep-equal@npm:1.0.1" + checksum: 5af8cbfcebf190491878a498caccc7dc9592f8ebd1685b976eacc3825619d222b5e929923163b92c4f414494e2b884f7ebf00c022e8198e8292deb70dd9785f4 + languageName: node + linkType: hard + "deep-extend@npm:^0.6.0, deep-extend@npm:~0.6.0": version: 0.6.0 resolution: "deep-extend@npm:0.6.0" @@ -11000,16 +9354,6 @@ __metadata: languageName: node linkType: hard -"default-browser-id@npm:3.0.0": - version: 3.0.0 - resolution: "default-browser-id@npm:3.0.0" - dependencies: - bplist-parser: ^0.2.0 - untildify: ^4.0.0 - checksum: 279c7ad492542e5556336b6c254a4eaf31b2c63a5433265655ae6e47301197b6cfb15c595a6fdc6463b2ff8e1a1a1ed3cba56038a60e1527ba4ab1628c6b9941 - languageName: node - linkType: hard - "defaults@npm:^1.0.3": version: 1.0.4 resolution: "defaults@npm:1.0.4" @@ -11043,7 +9387,7 @@ __metadata: languageName: node linkType: hard -"defu@npm:^6.1.0, defu@npm:^6.1.2": +"defu@npm:^6.1.0": version: 6.1.2 resolution: "defu@npm:6.1.2" checksum: 2ec0ff8414d5a1ab2b8c7e9a79bbad6d97d23ea7ebf5dcf80c3c7ffd9715c30f84a3cc47b917379ea756b3db0dc4701ce6400e493a1ae1688dffcd0f884233b2 @@ -11051,30 +9395,14 @@ __metadata: linkType: hard "degenerator@npm:^3.0.2": - version: 3.0.3 - resolution: "degenerator@npm:3.0.3" + version: 3.0.2 + resolution: "degenerator@npm:3.0.2" dependencies: ast-types: ^0.13.2 escodegen: ^1.8.1 esprima: ^4.0.0 - vm2: ^3.9.11 - checksum: 01e7757b3545fec1824ab2f47e799602181c93b7882e5d8968e8408c69f02fe4ab2d7a6c8bedd2baea55337b5e66ef5e06edfb06d4cb872a07de1b6f9c3bd0d7 - languageName: node - linkType: hard - -"del@npm:^6.0.0": - version: 6.1.1 - resolution: "del@npm:6.1.1" - dependencies: - globby: ^11.0.1 - graceful-fs: ^4.2.4 - is-glob: ^4.0.1 - is-path-cwd: ^2.2.0 - is-path-inside: ^3.0.2 - p-map: ^4.0.0 - rimraf: ^3.0.2 - slash: ^3.0.0 - checksum: 563288b73b8b19a7261c47fd21a330eeab6e2acd7c6208c49790dfd369127120dd7836cdf0c1eca216b77c94782a81507eac6b4734252d3bef2795cb366996b6 + vm2: ^3.9.8 + checksum: 6a8fffe1ddde692931a1d74c0636d9e6963f2aa16748d4b95f4833cdcbe8df571e5c127e4f1d625a4c340cc60f5a969ac9e5aa14baecfb6f69b85638e180cd97 languageName: node linkType: hard @@ -11099,14 +9427,21 @@ __metadata: languageName: node linkType: hard -"depd@npm:2.0.0, depd@npm:^2.0.0": +"depd@npm:2.0.0, depd@npm:^2.0.0, depd@npm:~2.0.0": version: 2.0.0 resolution: "depd@npm:2.0.0" checksum: abbe19c768c97ee2eed6282d8ce3031126662252c58d711f646921c9623f9052e3e1906443066beec1095832f534e57c523b7333f8e7e0d93051ab6baef5ab3a languageName: node linkType: hard -"dequal@npm:^2.0.0, dequal@npm:^2.0.2": +"depd@npm:~1.1.2": + version: 1.1.2 + resolution: "depd@npm:1.1.2" + checksum: 6b406620d269619852885ce15965272b829df6f409724415e0002c8632ab6a8c0a08ec1f0bd2add05dc7bd7507606f7e2cc034fa24224ab829580040b835ecd9 + languageName: node + linkType: hard + +"dequal@npm:^2.0.0": version: 2.0.3 resolution: "dequal@npm:2.0.3" checksum: 8679b850e1a3d0ebbc46ee780d5df7b478c23f335887464023a631d1b9af051ad4a6595a44220f9ff8ff95a8ddccf019b5ad778a976fd7bbf77383d36f412f90 @@ -11120,14 +9455,14 @@ __metadata: languageName: node linkType: hard -"destroy@npm:1.2.0": +"destroy@npm:1.2.0, destroy@npm:^1.0.4": version: 1.2.0 resolution: "destroy@npm:1.2.0" checksum: 0acb300b7478a08b92d810ab229d5afe0d2f4399272045ab22affa0d99dbaf12637659411530a6fcd597a9bdac718fc94373a61a95b4651bbc7b83684a565e38 languageName: node linkType: hard -"detect-indent@npm:^6.0.0, detect-indent@npm:^6.1.0": +"detect-indent@npm:^6.0.0": version: 6.1.0 resolution: "detect-indent@npm:6.1.0" checksum: ab953a73c72dbd4e8fc68e4ed4bfd92c97eb6c43734af3900add963fd3a9316f3bc0578b018b24198d4c31a358571eff5f0656e81a1f3b9ad5c547d58b2d093d @@ -11155,28 +9490,6 @@ __metadata: languageName: node linkType: hard -"detect-package-manager@npm:^2.0.1": - version: 2.0.1 - resolution: "detect-package-manager@npm:2.0.1" - dependencies: - execa: ^5.1.1 - checksum: e72b910182d5ad479198d4235be206ac64a479257b32201bb06f3c842cc34c65ea851d46f72cc1d4bf535bcc6c4b44b5b86bb29fe1192b8c9c07b46883672f28 - languageName: node - linkType: hard - -"detect-port@npm:^1.3.0": - version: 1.5.1 - resolution: "detect-port@npm:1.5.1" - dependencies: - address: ^1.0.1 - debug: 4 - bin: - detect: bin/detect-port.js - detect-port: bin/detect-port.js - checksum: b48da9340481742547263d5d985e65d078592557863402ecf538511735e83575867e94f91fe74405ea19b61351feb99efccae7e55de9a151d5654e3417cea05b - languageName: node - linkType: hard - "devtools-protocol@npm:0.0.1107588": version: 0.0.1107588 resolution: "devtools-protocol@npm:0.0.1107588" @@ -11247,10 +9560,10 @@ __metadata: languageName: node linkType: hard -"discord-api-types@npm:^0.37.38": - version: 0.37.38 - resolution: "discord-api-types@npm:0.37.38" - checksum: 58972778639234307ae6c0ce5b841a8a3a29c38116aa9f96051e65a88f6bbc4f1df671c5a985712d816764507308f8ebc97b1c98dad8de7bf756e05819db84ca +"discord-api-types@npm:^0.37.37": + version: 0.37.37 + resolution: "discord-api-types@npm:0.37.37" + checksum: 6b680f52c19aebf0dd1a714ef109a55bfe6786d10fd410f7bf1ee9244041f8b10ba81a988799a832382b34b2ae5ef3027ee31f6d1cf4555f1647252635c6eaaa languageName: node linkType: hard @@ -11265,12 +9578,12 @@ __metadata: "@discordjs/rest": "workspace:^" "@discordjs/util": "workspace:^" "@favware/cliff-jumper": ^2.0.0 - "@sapphire/snowflake": ^3.4.2 + "@sapphire/snowflake": ^3.4.0 "@types/node": 16.18.23 "@types/ws": ^8.5.4 - discord-api-types: ^0.37.38 + discord-api-types: ^0.37.37 dtslint: ^4.2.1 - eslint: ^8.38.0 + eslint: ^8.37.0 eslint-formatter-pretty: ^5.0.0 fast-deep-equal: ^3.1.3 jest: ^29.5.0 @@ -11279,8 +9592,8 @@ __metadata: tsd: ^0.28.1 tslib: ^2.5.0 tslint: ^6.1.3 - typescript: ^5.0.4 - undici: ^5.21.2 + typescript: ^5.0.3 + undici: ^5.21.0 ws: ^8.13.0 languageName: unknown linkType: soft @@ -11350,13 +9663,6 @@ __metadata: languageName: node linkType: hard -"dotenv-expand@npm:^10.0.0": - version: 10.0.0 - resolution: "dotenv-expand@npm:10.0.0" - checksum: 2a38b470efe0abcb1ac8490421a55e1d764dc9440fd220942bce40965074f3fb00b585f4346020cb0f0f219966ee6b4ee5023458b3e2953fe5b3214de1b314ee - languageName: node - linkType: hard - "dotenv@npm:^16.0.0": version: 16.0.3 resolution: "dotenv@npm:16.0.3" @@ -11477,21 +9783,10 @@ __metadata: languageName: node linkType: hard -"ejs@npm:^3.1.8": - version: 3.1.9 - resolution: "ejs@npm:3.1.9" - dependencies: - jake: ^10.8.5 - bin: - ejs: bin/cli.js - checksum: af6f10eb815885ff8a8cfacc42c6b6cf87daf97a4884f87a30e0c3271fedd85d76a3a297d9c33a70e735b97ee632887f85e32854b9cdd3a2d97edf931519a35f - languageName: node - linkType: hard - "electron-to-chromium@npm:^1.4.284": - version: 1.4.361 - resolution: "electron-to-chromium@npm:1.4.361" - checksum: 66b3210c9c5abec7812ce8b936a9e53fa49a2ccb8b4345e1e4d601dfff5e1e22d07ddddeaf84b0dd6bb01522e505dbb7fc91929a7028b02281e5928f36d2e4dc + version: 1.4.348 + resolution: "electron-to-chromium@npm:1.4.348" + checksum: 662491cd395de9eb7f400f139d8abc9a5e6dd33ff2b0eb71c060bdd7570f16ed876e0a57485dec2c42d55ad875f6c9d8f68f72f2ad3d8e1b2ab2cb4c20ee7bc5 languageName: node linkType: hard @@ -11530,7 +9825,7 @@ __metadata: languageName: node linkType: hard -"encodeurl@npm:~1.0.2": +"encodeurl@npm:^1.0.2, encodeurl@npm:~1.0.2": version: 1.0.2 resolution: "encodeurl@npm:1.0.2" checksum: e50e3d508cdd9c4565ba72d2012e65038e5d71bdc9198cb125beb6237b5b1ade6c0d343998da9e170fb2eae52c1bed37d4d6d98a46ea423a0cddbed5ac3f780c @@ -11555,15 +9850,6 @@ __metadata: languageName: node linkType: hard -"end-of-stream@npm:~1.1.0": - version: 1.1.0 - resolution: "end-of-stream@npm:1.1.0" - dependencies: - once: ~1.3.0 - checksum: 9fa637e259e50e5e3634e8e14064a183bd0d407733594631362f9df596409739bef5f7064840e6725212a9edc8b4a70a5a3088ac423e8564f9dc183dd098c719 - languageName: node - linkType: hard - "enquirer@npm:^2.3.6": version: 2.3.6 resolution: "enquirer@npm:2.3.6" @@ -11587,15 +9873,6 @@ __metadata: languageName: node linkType: hard -"envinfo@npm:^7.7.3": - version: 7.8.1 - resolution: "envinfo@npm:7.8.1" - bin: - envinfo: dist/cli.js - checksum: de736c98d6311c78523628ff127af138451b162e57af5293c1b984ca821d0aeb9c849537d2fde0434011bed33f6bca5310ca2aab8a51a3f28fc719e89045d648 - languageName: node - linkType: hard - "err-code@npm:^2.0.2": version: 2.0.3 resolution: "err-code@npm:2.0.3" @@ -11680,13 +9957,6 @@ __metadata: languageName: node linkType: hard -"es-module-lexer@npm:^0.9.3": - version: 0.9.3 - resolution: "es-module-lexer@npm:0.9.3" - checksum: 84bbab23c396281db2c906c766af58b1ae2a1a2599844a504df10b9e8dc77ec800b3211fdaa133ff700f5703d791198807bba25d9667392d27a5e9feda344da8 - languageName: node - linkType: hard - "es-set-tostringtag@npm:^2.0.1": version: 2.0.1 resolution: "es-set-tostringtag@npm:2.0.1" @@ -11718,13 +9988,6 @@ __metadata: languageName: node linkType: hard -"es6-object-assign@npm:^1.1.0": - version: 1.1.0 - resolution: "es6-object-assign@npm:1.1.0" - checksum: 8d4fdf63484d78b5c64cacc2c2e1165bc7b6a64b739d2a9db6a4dc8641d99cc9efb433cdd4dc3d3d6b00bfa6ce959694e4665e3255190339945c5f33b692b5d8 - languageName: node - linkType: hard - "esbuild-android-64@npm:0.14.47": version: 0.14.47 resolution: "esbuild-android-64@npm:0.14.47" @@ -11837,13 +10100,6 @@ __metadata: languageName: node linkType: hard -"esbuild-plugin-alias@npm:^0.2.1": - version: 0.2.1 - resolution: "esbuild-plugin-alias@npm:0.2.1" - checksum: afe2d2c8b5f09d5321cb8d9c0825e8a9f6e03c2d50df92f953a291d4620cc29eddb3da9e33b238f6d8f77738e0277bdcb831f127399449fecf78fb84c04e5da9 - languageName: node - linkType: hard - "esbuild-plugin-version-injector@npm:^1.1.0": version: 1.1.0 resolution: "esbuild-plugin-version-injector@npm:1.1.0" @@ -11853,17 +10109,6 @@ __metadata: languageName: node linkType: hard -"esbuild-register@npm:^3.4.0": - version: 3.4.2 - resolution: "esbuild-register@npm:3.4.2" - dependencies: - debug: ^4.3.4 - peerDependencies: - esbuild: ">=0.12 <1" - checksum: f65d1ccb58b1ccbba376efb1fc023abe22731d9b79eead1b0120e57d4413318f063696257a5af637b527fa1d3f009095aa6edb1bf6ff69d637a9ab281fb727b3 - languageName: node - linkType: hard - "esbuild-sunos-64@npm:0.14.47": version: 0.14.47 resolution: "esbuild-sunos-64@npm:0.14.47" @@ -12117,32 +10362,32 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:0.17.x, esbuild@npm:^0.17.0, esbuild@npm:^0.17.5, esbuild@npm:^0.17.6": - version: 0.17.16 - resolution: "esbuild@npm:0.17.16" - dependencies: - "@esbuild/android-arm": 0.17.16 - "@esbuild/android-arm64": 0.17.16 - "@esbuild/android-x64": 0.17.16 - "@esbuild/darwin-arm64": 0.17.16 - "@esbuild/darwin-x64": 0.17.16 - "@esbuild/freebsd-arm64": 0.17.16 - "@esbuild/freebsd-x64": 0.17.16 - "@esbuild/linux-arm": 0.17.16 - "@esbuild/linux-arm64": 0.17.16 - "@esbuild/linux-ia32": 0.17.16 - "@esbuild/linux-loong64": 0.17.16 - "@esbuild/linux-mips64el": 0.17.16 - "@esbuild/linux-ppc64": 0.17.16 - "@esbuild/linux-riscv64": 0.17.16 - "@esbuild/linux-s390x": 0.17.16 - "@esbuild/linux-x64": 0.17.16 - "@esbuild/netbsd-x64": 0.17.16 - "@esbuild/openbsd-x64": 0.17.16 - "@esbuild/sunos-x64": 0.17.16 - "@esbuild/win32-arm64": 0.17.16 - "@esbuild/win32-ia32": 0.17.16 - "@esbuild/win32-x64": 0.17.16 +"esbuild@npm:0.17.x, esbuild@npm:^0.17.5, esbuild@npm:^0.17.6": + version: 0.17.15 + resolution: "esbuild@npm:0.17.15" + dependencies: + "@esbuild/android-arm": 0.17.15 + "@esbuild/android-arm64": 0.17.15 + "@esbuild/android-x64": 0.17.15 + "@esbuild/darwin-arm64": 0.17.15 + "@esbuild/darwin-x64": 0.17.15 + "@esbuild/freebsd-arm64": 0.17.15 + "@esbuild/freebsd-x64": 0.17.15 + "@esbuild/linux-arm": 0.17.15 + "@esbuild/linux-arm64": 0.17.15 + "@esbuild/linux-ia32": 0.17.15 + "@esbuild/linux-loong64": 0.17.15 + "@esbuild/linux-mips64el": 0.17.15 + "@esbuild/linux-ppc64": 0.17.15 + "@esbuild/linux-riscv64": 0.17.15 + "@esbuild/linux-s390x": 0.17.15 + "@esbuild/linux-x64": 0.17.15 + "@esbuild/netbsd-x64": 0.17.15 + "@esbuild/openbsd-x64": 0.17.15 + "@esbuild/sunos-x64": 0.17.15 + "@esbuild/win32-arm64": 0.17.15 + "@esbuild/win32-ia32": 0.17.15 + "@esbuild/win32-x64": 0.17.15 dependenciesMeta: "@esbuild/android-arm": optional: true @@ -12190,7 +10435,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: c9787d8e05b9c4f762761be31a7847b5b4492b9b997808b7098479fef9a3260f1b8ca01e9b38376b6698f4394bfe088acb4f797a697b45b965cd664e103aafa7 + checksum: 4e3640d7bc8f6edb3465c076eb519ccb7684382714a1b883e000a7a592f8e285501ec7e82cb68441dfec8f7be7f70f40b00129ceb05057f6fa87f95d2187370a languageName: node linkType: hard @@ -12201,7 +10446,7 @@ __metadata: languageName: node linkType: hard -"escape-html@npm:~1.0.3": +"escape-html@npm:^1.0.3, escape-html@npm:~1.0.3": version: 1.0.3 resolution: "escape-html@npm:1.0.3" checksum: 6213ca9ae00d0ab8bccb6d8d4e0a98e76237b2410302cf7df70aaa6591d509a2a37ce8998008cbecae8fc8ffaadf3fb0229535e6a145f3ce0b211d060decbb24 @@ -12255,59 +10500,40 @@ __metadata: languageName: node linkType: hard -"escodegen@npm:^2.0.0": - version: 2.0.0 - resolution: "escodegen@npm:2.0.0" - dependencies: - esprima: ^4.0.1 - estraverse: ^5.2.0 - esutils: ^2.0.2 - optionator: ^0.8.1 - source-map: ~0.6.1 - dependenciesMeta: - source-map: - optional: true - bin: - escodegen: bin/escodegen.js - esgenerate: bin/esgenerate.js - checksum: 5aa6b2966fafe0545e4e77936300cc94ad57cfe4dc4ebff9950492eaba83eef634503f12d7e3cbd644ecc1bab388ad0e92b06fd32222c9281a75d1cf02ec6cef - languageName: node - linkType: hard - -"eslint-config-neon@npm:^0.1.42": - version: 0.1.42 - resolution: "eslint-config-neon@npm:0.1.42" +"eslint-config-neon@npm:^0.1.41": + version: 0.1.41 + resolution: "eslint-config-neon@npm:0.1.41" dependencies: "@angular-eslint/eslint-plugin": ^15.2.1 "@angular-eslint/eslint-plugin-template": ^15.2.1 "@angular-eslint/template-parser": ^15.2.1 - "@next/eslint-plugin-next": ^13.3.0 + "@next/eslint-plugin-next": ^13.2.4 "@rushstack/eslint-patch": ^1.2.0 - "@typescript-eslint/eslint-plugin": ^5.57.1 - "@typescript-eslint/parser": ^5.57.1 - astro-eslint-parser: ^0.13.2 + "@typescript-eslint/eslint-plugin": ^5.56.0 + "@typescript-eslint/parser": ^5.56.0 + astro-eslint-parser: ^0.13.0 eslint-config-prettier: ^8.8.0 - eslint-plugin-astro: ^0.26.1 - eslint-plugin-cypress: ^2.13.2 + eslint-plugin-astro: ^0.26.0 + eslint-plugin-cypress: ^2.12.1 eslint-plugin-import: "npm:eslint-plugin-i@latest" eslint-plugin-jest: ^27.2.1 - eslint-plugin-jsdoc: ^40.1.1 + eslint-plugin-jsdoc: ^40.1.0 eslint-plugin-jsx-a11y: ^6.7.1 eslint-plugin-lodash: ^7.4.0 - eslint-plugin-n: ^15.7.0 + eslint-plugin-n: ^15.6.1 eslint-plugin-promise: ^6.1.1 eslint-plugin-react: ^7.32.2 eslint-plugin-react-hooks: ^4.6.0 - eslint-plugin-rxjs: ^5.0.3 + eslint-plugin-rxjs: ^5.0.2 eslint-plugin-rxjs-angular: ^2.0.0 eslint-plugin-sonarjs: ^0.19.0 eslint-plugin-svelte3: ^4.0.0 eslint-plugin-tsdoc: ^0.2.17 eslint-plugin-typescript-sort-keys: ^2.3.0 eslint-plugin-unicorn: ^46.0.0 - eslint-plugin-vue: ^9.10.0 - vue-eslint-parser: ^9.1.1 - checksum: 814a3c5dab05e3aca041c341125e81a0e5d1b996147bf0356a4654a2ab2c3e6aa5b501ed62ed5a6b57f9c1d812ecfbd1cfae80578d3446b9cf34e4aa93543b67 + eslint-plugin-vue: ^9.9.0 + vue-eslint-parser: ^9.1.0 + checksum: 64f6e38eb1c1884ad137793663d0a4e7943b476a9658a0f3d3b5e615e0d67cbfda646ef59c40d9e410a2e647a8e914534d70677733ae23589954352f5a5eff6d languageName: node linkType: hard @@ -12391,7 +10617,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-astro@npm:^0.26.1": +"eslint-plugin-astro@npm:^0.26.0": version: 0.26.1 resolution: "eslint-plugin-astro@npm:0.26.1" dependencies: @@ -12407,7 +10633,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-cypress@npm:^2.13.2": +"eslint-plugin-cypress@npm:^2.12.1": version: 2.13.2 resolution: "eslint-plugin-cypress@npm:2.13.2" dependencies: @@ -12471,9 +10697,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsdoc@npm:^40.1.1": - version: 40.3.0 - resolution: "eslint-plugin-jsdoc@npm:40.3.0" +"eslint-plugin-jsdoc@npm:^40.1.0": + version: 40.1.1 + resolution: "eslint-plugin-jsdoc@npm:40.1.1" dependencies: "@es-joy/jsdoccomment": ~0.37.0 comment-parser: 1.3.1 @@ -12484,7 +10710,7 @@ __metadata: spdx-expression-parse: ^3.0.1 peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 7671ac3cc7165cd894cc2fc4c67ddf075f01502c25bbdc649559e7dfd6a525126debe756c83e11887972ffbe57d0d10d3bb17c7269594823654f55be3a3ca5ef + checksum: fb2d7c80f27256ae446eeb7df0390155b90192a3d2fbbf8136f8b22a18be4d9aa9e65eef95e2ce89297d5149f2696ec04616a5a9d33f085056b2ab04b347660e languageName: node linkType: hard @@ -12525,7 +10751,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-n@npm:^15.7.0": +"eslint-plugin-n@npm:^15.6.1": version: 15.7.0 resolution: "eslint-plugin-n@npm:15.7.0" dependencies: @@ -12602,7 +10828,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-rxjs@npm:^5.0.3": +"eslint-plugin-rxjs@npm:^5.0.2": version: 5.0.3 resolution: "eslint-plugin-rxjs@npm:5.0.3" dependencies: @@ -12631,20 +10857,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-storybook@npm:^0.6.11": - version: 0.6.11 - resolution: "eslint-plugin-storybook@npm:0.6.11" - dependencies: - "@storybook/csf": ^0.0.1 - "@typescript-eslint/utils": ^5.45.0 - requireindex: ^1.1.0 - ts-dedent: ^2.2.0 - peerDependencies: - eslint: ">=6" - checksum: efb85688041d4fd02be0cc51f07803acffaa54fdf61c21e9ae9eb18f26e6b8aec50911cfa71855ff4322b377b62cd53e7bf549faf60df4f20b8840171eab0029 - languageName: node - linkType: hard - "eslint-plugin-svelte3@npm:^4.0.0": version: 4.0.0 resolution: "eslint-plugin-svelte3@npm:4.0.0" @@ -12706,7 +10918,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-vue@npm:^9.10.0": +"eslint-plugin-vue@npm:^9.9.0": version: 9.10.0 resolution: "eslint-plugin-vue@npm:9.10.0" dependencies: @@ -12791,14 +11003,14 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.38.0": - version: 8.38.0 - resolution: "eslint@npm:8.38.0" +"eslint@npm:^8.37.0": + version: 8.37.0 + resolution: "eslint@npm:8.37.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.4.0 "@eslint/eslintrc": ^2.0.2 - "@eslint/js": 8.38.0 + "@eslint/js": 8.37.0 "@humanwhocodes/config-array": ^0.11.8 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 @@ -12837,7 +11049,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 73b6d9b650d0434aa7c07d0a1802f099b086ee70a8d8ba7be730439a26572a5eb71def12125c82942be2ec8ee5be38a6f1b42a13e40d4b67f11a148ec9e263eb + checksum: 80f3d5cdce2d671f4794e392d234a78d039c347673defb0596268bd481e8f30a53d93c01ff4f66a546c87d97ab4122c0e9cafe1371f87cb03cee6b7d5aa97595 languageName: node linkType: hard @@ -12894,14 +11106,10 @@ __metadata: languageName: node linkType: hard -"estree-to-babel@npm:^3.1.0": - version: 3.2.1 - resolution: "estree-to-babel@npm:3.2.1" - dependencies: - "@babel/traverse": ^7.1.6 - "@babel/types": ^7.2.0 - c8: ^7.6.0 - checksum: a4584d0c60b80ce41abe91b11052f5d48635e811c67839942c4ebd51aa33d9f9b156ad615f71ceae2a8260b5e3054f36d73db6d0d2a3b9951483f4b6187495c8 +"estree-util-attach-comments@npm:^1.0.0": + version: 1.0.0 + resolution: "estree-util-attach-comments@npm:1.0.0" + checksum: 8a3279dd859afa168d8832f5d88c6b6f62a0997fb30ebce0090f15ef216246bf17d88bbd10f3b404937ff096be63218ecf551e4966eec572d0dc8d527454ff02 languageName: node linkType: hard @@ -12925,7 +11133,7 @@ __metadata: languageName: node linkType: hard -"estree-util-is-identifier-name@npm:^1.0.0": +"estree-util-is-identifier-name@npm:^1.0.0, estree-util-is-identifier-name@npm:^1.1.0": version: 1.1.0 resolution: "estree-util-is-identifier-name@npm:1.1.0" checksum: ec55a74708b2fdac7de8d5a1dd82caf36783993608f11b8bc0dcd3b426746ccf21ee7da86ab94e4500c292dc1dde48b7ce65e5dc41f3dc4363a499ea15db32cc @@ -13015,15 +11223,6 @@ __metadata: languageName: node linkType: hard -"event-loop-spinner@npm:^2.0.0, event-loop-spinner@npm:^2.1.0": - version: 2.2.0 - resolution: "event-loop-spinner@npm:2.2.0" - dependencies: - tslib: ^2.1.0 - checksum: 4580e81fc1d8883f37884925971f03dc9a28728dd9e39fb57d6c180ac49bf830859bed04c3ce451a6d2cb22da248b6fb74572b1222aa8169de3f7b6ef62ea02c - languageName: node - linkType: hard - "execa@npm:5.1.1, execa@npm:^5.0.0, execa@npm:^5.1.1": version: 5.1.1 resolution: "execa@npm:5.1.1" @@ -13092,7 +11291,7 @@ __metadata: languageName: node linkType: hard -"express@npm:^4.17.1, express@npm:^4.17.3": +"express@npm:^4.17.1": version: 4.18.2 resolution: "express@npm:4.18.2" dependencies: @@ -13175,20 +11374,6 @@ __metadata: languageName: node linkType: hard -"extract-zip@npm:^1.6.6": - version: 1.7.0 - resolution: "extract-zip@npm:1.7.0" - dependencies: - concat-stream: ^1.6.2 - debug: ^2.6.9 - mkdirp: ^0.5.4 - yauzl: ^2.10.0 - bin: - extract-zip: cli.js - checksum: 011bab660d738614555773d381a6ba4815d98c1cfcdcdf027e154ebcc9fc8c9ef637b3ea5c9b2144013100071ee41722ed041fc9aacc60f6198ef747cac0c073 - languageName: node - linkType: hard - "extsprintf@npm:1.3.0": version: 1.3.0 resolution: "extsprintf@npm:1.3.0" @@ -13223,7 +11408,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.0.3, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.2, fast-glob@npm:^3.2.7, fast-glob@npm:^3.2.9": +"fast-glob@npm:^3.0.3, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.7, fast-glob@npm:^3.2.9": version: 3.2.12 resolution: "fast-glob@npm:3.2.12" dependencies: @@ -13324,13 +11509,6 @@ __metadata: languageName: node linkType: hard -"fetch-retry@npm:^5.0.2": - version: 5.0.4 - resolution: "fetch-retry@npm:5.0.4" - checksum: 5c8a87f523223052b1192cc353001ceff8fe9f87926577c7e6532140c0780421cd7f7e0230e3d69f73f308b4071c4e6317b53e1058e31213dac1100c3ff96513 - languageName: node - linkType: hard - "fflate@npm:^0.7.3": version: 0.7.4 resolution: "fflate@npm:0.7.4" @@ -13366,16 +11544,6 @@ __metadata: languageName: node linkType: hard -"file-system-cache@npm:^2.0.0": - version: 2.0.2 - resolution: "file-system-cache@npm:2.0.2" - dependencies: - fs-extra: ^11.1.0 - ramda: ^0.28.0 - checksum: ac4f9065132ac4593dbfb7c8fc4683cccc0f58823279763690fb3fca859cc5e6b4446c846af718354059695fa90db316be4ce19e16578bbb0feab4a9159e9fbc - languageName: node - linkType: hard - "file-type@npm:^18.2.1": version: 18.2.1 resolution: "file-type@npm:18.2.1" @@ -13401,15 +11569,6 @@ __metadata: languageName: node linkType: hard -"filelist@npm:^1.0.1": - version: 1.0.4 - resolution: "filelist@npm:1.0.4" - dependencies: - minimatch: ^5.0.1 - checksum: a303573b0821e17f2d5e9783688ab6fbfce5d52aaac842790ae85e704a6f5e4e3538660a63183d6453834dedf1e0f19a9dadcebfa3e926c72397694ea11f5160 - languageName: node - linkType: hard - "fill-range@npm:^7.0.1": version: 7.0.1 resolution: "fill-range@npm:7.0.1" @@ -13419,6 +11578,13 @@ __metadata: languageName: node linkType: hard +"filter-obj@npm:^5.1.0": + version: 5.1.0 + resolution: "filter-obj@npm:5.1.0" + checksum: ba7c24d9b2c0552ee87d268e07eca74483af61fb740545ffa809f7e9e5294de38cf163ecc55af0e8a40020af9a49512c32f4022de2a858b110420fc8bffa7c9c + languageName: node + linkType: hard + "finalhandler@npm:1.2.0": version: 1.2.0 resolution: "finalhandler@npm:1.2.0" @@ -13434,28 +11600,6 @@ __metadata: languageName: node linkType: hard -"find-cache-dir@npm:^2.0.0": - version: 2.1.0 - resolution: "find-cache-dir@npm:2.1.0" - dependencies: - commondir: ^1.0.1 - make-dir: ^2.0.0 - pkg-dir: ^3.0.0 - checksum: 60ad475a6da9f257df4e81900f78986ab367d4f65d33cf802c5b91e969c28a8762f098693d7a571b6e4dd4c15166c2da32ae2d18b6766a18e2071079448fdce4 - languageName: node - linkType: hard - -"find-cache-dir@npm:^3.0.0": - version: 3.3.2 - resolution: "find-cache-dir@npm:3.3.2" - dependencies: - commondir: ^1.0.1 - make-dir: ^3.0.2 - pkg-dir: ^4.1.0 - checksum: 1e61c2e64f5c0b1c535bd85939ae73b0e5773142713273818cc0b393ee3555fb0fd44e1a5b161b8b6c3e03e98c2fcc9c227d784850a13a90a8ab576869576817 - languageName: node - linkType: hard - "find-replace@npm:^3.0.0": version: 3.0.0 resolution: "find-replace@npm:3.0.0" @@ -13474,15 +11618,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^3.0.0": - version: 3.0.0 - resolution: "find-up@npm:3.0.0" - dependencies: - locate-path: ^3.0.0 - checksum: 38eba3fe7a66e4bc7f0f5a1366dc25508b7cfc349f852640e3678d26ad9a6d7e2c43eff0a472287de4a9753ef58f066a0ea892a256fa3636ad51b3fe1e17fae9 - languageName: node - linkType: hard - "find-up@npm:^4.0.0, find-up@npm:^4.1.0": version: 4.1.0 resolution: "find-up@npm:4.1.0" @@ -13520,13 +11655,6 @@ __metadata: languageName: node linkType: hard -"flow-parser@npm:0.*": - version: 0.203.1 - resolution: "flow-parser@npm:0.203.1" - checksum: ed9beb3d83e352ed646bd9c06fa2a96a0b71cfd6f83d7ccf75a7c16dbe844128bcefefa6c8d0f09ef1337d0e0a9a9c8dadfd25bb149ed657ce91ec63a0a5113b - languageName: node - linkType: hard - "for-each@npm:^0.3.3": version: 0.3.3 resolution: "for-each@npm:0.3.3" @@ -13553,17 +11681,6 @@ __metadata: languageName: node linkType: hard -"form-data@npm:^3.0.0": - version: 3.0.1 - resolution: "form-data@npm:3.0.1" - dependencies: - asynckit: ^0.4.0 - combined-stream: ^1.0.8 - mime-types: ^2.1.12 - checksum: b019e8d35c8afc14a2bd8a7a92fa4f525a4726b6d5a9740e8d2623c30e308fbb58dc8469f90415a856698933c8479b01646a9dff33c87cc4e76d72aedbbf860d - languageName: node - linkType: hard - "form-data@npm:^4.0.0": version: 4.0.0 resolution: "form-data@npm:4.0.0" @@ -13621,7 +11738,7 @@ __metadata: languageName: node linkType: hard -"fresh@npm:0.5.2": +"fresh@npm:0.5.2, fresh@npm:~0.5.2": version: 0.5.2 resolution: "fresh@npm:0.5.2" checksum: 13ea8b08f91e669a64e3ba3a20eb79d7ca5379a81f1ff7f4310d54e2320645503cc0c78daedc93dfb6191287295f6479544a649c64d8e41a1c0fb0c221552346 @@ -13657,7 +11774,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.0.0, fs-extra@npm:^11.1.0, fs-extra@npm:^11.1.1": +"fs-extra@npm:^11.0.0, fs-extra@npm:^11.1.1": version: 11.1.1 resolution: "fs-extra@npm:11.1.1" dependencies: @@ -13904,13 +12021,6 @@ __metadata: languageName: node linkType: hard -"get-npm-tarball-url@npm:^2.0.3": - version: 2.0.3 - resolution: "get-npm-tarball-url@npm:2.0.3" - checksum: 8ad48a6f1126697665e12ebf053e0d1c3b15b3c4f29ea6c458387ac68d044ea1c08f0f2eb5c0fe35447fdd2da4f2fb5c9882feb5a2ea195c773f94e762c9b886 - languageName: node - linkType: hard - "get-package-type@npm:^0.1.0": version: 0.1.0 resolution: "get-package-type@npm:0.1.0" @@ -13939,6 +12049,13 @@ __metadata: languageName: node linkType: hard +"get-port@npm:^6.1.2": + version: 6.1.2 + resolution: "get-port@npm:6.1.2" + checksum: e3c3d591492a11393455ef220f24c812a28f7da56ec3e4a2512d931a1f196d42850b50ac6138349a44622eda6dc3c0ccd8495cd91376d968e2d9e6f6f849e0a9 + languageName: node + linkType: hard + "get-stream@npm:^5.1.0": version: 5.2.0 resolution: "get-stream@npm:5.2.0" @@ -13988,23 +12105,6 @@ __metadata: languageName: node linkType: hard -"giget@npm:^1.0.0": - version: 1.1.2 - resolution: "giget@npm:1.1.2" - dependencies: - colorette: ^2.0.19 - defu: ^6.1.2 - https-proxy-agent: ^5.0.1 - mri: ^1.2.0 - node-fetch-native: ^1.0.2 - pathe: ^1.1.0 - tar: ^6.1.13 - bin: - giget: dist/cli.mjs - checksum: 76ad0f7e792ee95dd6c4e1096697fdcce61a2a3235a6c21761fc3e0d1053342074ce71c80059d6d4363fd34152e5d7b2e58221412f300c852ff7d4a12d0321fe - languageName: node - linkType: hard - "git-cliff-darwin-arm64@npm:1.1.2": version: 1.1.2 resolution: "git-cliff-darwin-arm64@npm:1.1.2" @@ -14136,13 +12236,6 @@ __metadata: languageName: node linkType: hard -"github-slugger@npm:^1.0.0": - version: 1.5.0 - resolution: "github-slugger@npm:1.5.0" - checksum: c70988224578b3bdaa25df65973ffc8c24594a77a28550c3636e495e49d17aef5cdb04c04fa3f1744babef98c61eecc6a43299a13ea7f3cc33d680bf9053ffbe - languageName: node - linkType: hard - "github-slugger@npm:^2.0.0": version: 2.0.0 resolution: "github-slugger@npm:2.0.0" @@ -14168,35 +12261,6 @@ __metadata: languageName: node linkType: hard -"glob-promise@npm:^4.2.0": - version: 4.2.2 - resolution: "glob-promise@npm:4.2.2" - dependencies: - "@types/glob": ^7.1.3 - peerDependencies: - glob: ^7.1.6 - checksum: c1a3d95f7c8393e4151d4899ec4e42bb2e8237160f840ad1eccbe9247407da8b6c13e28f463022e011708bc40862db87b9b77236d35afa3feb8aa86d518f2dfe - languageName: node - linkType: hard - -"glob-promise@npm:^6.0.2": - version: 6.0.2 - resolution: "glob-promise@npm:6.0.2" - dependencies: - "@types/glob": ^8.0.0 - peerDependencies: - glob: ^8.0.3 - checksum: 3caa63b052ddcf28d3498a0c93ef623bc43d0fa57487844782b77175c32db1602fd63e4e26091075125083b21eb3e81b4318d5d24139b9b033a764e64b6b3bc3 - languageName: node - linkType: hard - -"glob-to-regexp@npm:0.4.1, glob-to-regexp@npm:^0.4.1": - version: 0.4.1 - resolution: "glob-to-regexp@npm:0.4.1" - checksum: e795f4e8f06d2a15e86f76e4d92751cf8bbfcf0157cea5c2f0f35678a8195a750b34096b1256e436f0cebc1883b5ff0888c47348443e69546a5a87f9e1eb1167 - languageName: node - linkType: hard - "glob@npm:7.1.6": version: 7.1.6 resolution: "glob@npm:7.1.6" @@ -14225,7 +12289,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.0.0, glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0, glob@npm:~7.2.0": +"glob@npm:^7.0.0, glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:~7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -14239,7 +12303,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.1, glob@npm:^8.1.0": +"glob@npm:^8.0.1": version: 8.1.0 resolution: "glob@npm:8.1.0" dependencies: @@ -14253,14 +12317,14 @@ __metadata: linkType: hard "glob@npm:^9.3.1": - version: 9.3.5 - resolution: "glob@npm:9.3.5" + version: 9.3.4 + resolution: "glob@npm:9.3.4" dependencies: fs.realpath: ^1.0.0 minimatch: ^8.0.2 minipass: ^4.2.4 path-scurry: ^1.6.1 - checksum: 94b093adbc591bc36b582f77927d1fb0dbf3ccc231828512b017601408be98d1fe798fc8c0b19c6f2d1a7660339c3502ce698de475e9d938ccbb69b47b647c84 + checksum: bcf49eaf475dc4ce8d4e98f896408a9f6507a2cb7d24a207c012cb318b969e04a02bcde2ff2920eadd5055ccae444a007b769e418147a56268fab2cda8694cde languageName: node linkType: hard @@ -14321,7 +12385,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.1, globby@npm:^11.0.2, globby@npm:^11.0.3, globby@npm:^11.1.0": +"globby@npm:^11.0.1, globby@npm:^11.0.3, globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -14335,16 +12399,16 @@ __metadata: languageName: node linkType: hard -"globby@npm:^13.1.1": - version: 13.1.4 - resolution: "globby@npm:13.1.4" +"globby@npm:^13.1.1, globby@npm:^13.1.3": + version: 13.1.3 + resolution: "globby@npm:13.1.3" dependencies: dir-glob: ^3.0.1 fast-glob: ^3.2.11 ignore: ^5.2.0 merge2: ^1.4.1 slash: ^4.0.0 - checksum: e8bc13879972082d590cd1b0e27080d90d2e12fff7eeb2cee9329c29115ace14cc5b9f899e3d6beb136ba826307a727016658919a6f383e1511d698acee81741 + checksum: 93f06e02002cdf368f7e3d55bd59e7b00784c7cc8fe92c7ee5082cc7171ff6109fda45e1c97a80bb48bc811dedaf7843c7c9186f5f84bde4883ab630e13c43df languageName: node linkType: hard @@ -14364,7 +12428,7 @@ __metadata: languageName: node linkType: hard -"got@npm:^11.0.0, got@npm:^11.7.0": +"got@npm:^11.0.0": version: 11.8.6 resolution: "got@npm:11.8.6" dependencies: @@ -14383,7 +12447,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.1.9, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.1.9, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 @@ -14452,9 +12516,9 @@ __metadata: languageName: node linkType: hard -"happy-dom@npm:^9.5.0": - version: 9.5.0 - resolution: "happy-dom@npm:9.5.0" +"happy-dom@npm:^9.1.0": + version: 9.1.0 + resolution: "happy-dom@npm:9.1.0" dependencies: css.escape: ^1.5.1 he: ^1.2.0 @@ -14462,7 +12526,7 @@ __metadata: webidl-conversions: ^7.0.0 whatwg-encoding: ^2.0.0 whatwg-mimetype: ^3.0.0 - checksum: c9b159335063b72ef3fbb7b862f265178c9834dfd1c2fed7c83fe6d4654108090a36a5c86924a2229a0f6c319140411b5b06b9ead4b741cfe00249610638eff4 + checksum: 51c174701df32e914bc3efeec9f09bb4ad041e88038844fd74ad0797527ac472e18ead0b912dbcef940ea16df3d7c4360e2608b77d91ab1a039ffddf6f42566a languageName: node linkType: hard @@ -14651,7 +12715,7 @@ __metadata: languageName: node linkType: hard -"hast-util-select@npm:^5.0.5": +"hast-util-select@npm:~5.0.1": version: 5.0.5 resolution: "hast-util-select@npm:5.0.5" dependencies: @@ -14674,6 +12738,23 @@ __metadata: languageName: node linkType: hard +"hast-util-to-estree@npm:^1.4.0": + version: 1.4.0 + resolution: "hast-util-to-estree@npm:1.4.0" + dependencies: + comma-separated-tokens: ^1.0.0 + estree-util-attach-comments: ^1.0.0 + estree-util-is-identifier-name: ^1.1.0 + hast-util-whitespace: ^1.0.0 + property-information: ^5.0.0 + space-separated-tokens: ^1.0.0 + style-to-object: ^0.3.0 + unist-util-position: ^3.1.0 + zwitch: ^1.0.0 + checksum: 00eb3e0b807fced6452b690751b8122a438bd0f761965a9c9d6580d58384b9be0a71e772d47e755507d6158b5f263e736a53acd3d16ad28cf9c624b7c82792e1 + languageName: node + linkType: hard + "hast-util-to-estree@npm:^2.0.0": version: 2.3.2 resolution: "hast-util-to-estree@npm:2.3.2" @@ -14739,6 +12820,13 @@ __metadata: languageName: node linkType: hard +"hast-util-whitespace@npm:^1.0.0": + version: 1.0.4 + resolution: "hast-util-whitespace@npm:1.0.4" + checksum: b7f4a1942bc78239a6fe4741aca34e3e7f84487e15e2cd2b6ca07bbba3055571763d877d7c077d7a2a029ede7500bc50a62af7b6dfe88e0644b16228b91dee0d + languageName: node + linkType: hard + "hast-util-whitespace@npm:^2.0.0": version: 2.0.1 resolution: "hast-util-whitespace@npm:2.0.1" @@ -14775,6 +12863,15 @@ __metadata: languageName: node linkType: hard +"history@npm:^5.3.0": + version: 5.3.0 + resolution: "history@npm:5.3.0" + dependencies: + "@babel/runtime": ^7.7.6 + checksum: d73c35df49d19ac172f9547d30a21a26793e83f16a78386d99583b5bf1429cc980799fcf1827eb215d31816a6600684fba9686ce78104e23bd89ec239e7c726f + languageName: node + linkType: hard + "hosted-git-info@npm:^2.1.4": version: 2.8.9 resolution: "hosted-git-info@npm:2.8.9" @@ -14814,13 +12911,6 @@ __metadata: languageName: node linkType: hard -"html-tags@npm:^3.1.0": - version: 3.3.1 - resolution: "html-tags@npm:3.3.1" - checksum: b4ef1d5a76b678e43cce46e3783d563607b1d550cab30b4f511211564574770aa8c658a400b100e588bc60b8234e59b35ff72c7851cc28f3b5403b13a2c6cbce - languageName: node - linkType: hard - "html-void-elements@npm:^2.0.0": version: 2.0.1 resolution: "html-void-elements@npm:2.0.1" @@ -14828,6 +12918,16 @@ __metadata: languageName: node linkType: hard +"http-assert@npm:^1.3.0": + version: 1.5.0 + resolution: "http-assert@npm:1.5.0" + dependencies: + deep-equal: ~1.0.1 + http-errors: ~1.8.0 + checksum: 69c9b3c14cf8b2822916360a365089ce936c883c49068f91c365eccba5c141a9964d19fdda589150a480013bf503bf37d8936c732e9635819339e730ab0e7527 + languageName: node + linkType: hard + "http-cache-semantics@npm:^4.0.0, http-cache-semantics@npm:^4.1.0, http-cache-semantics@npm:^4.1.1": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" @@ -14848,6 +12948,19 @@ __metadata: languageName: node linkType: hard +"http-errors@npm:^1.6.3, http-errors@npm:~1.8.0": + version: 1.8.1 + resolution: "http-errors@npm:1.8.1" + dependencies: + depd: ~1.1.2 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: ">= 1.5.0 < 2" + toidentifier: 1.0.1 + checksum: d3c7e7e776fd51c0a812baff570bdf06fe49a5dc448b700ab6171b1250e4cf7db8b8f4c0b133e4bfe2451022a5790c1ca6c2cae4094dedd6ac8304a1267f91d2 + languageName: node + linkType: hard + "http-link-header@npm:^1.1.0": version: 1.1.0 resolution: "http-link-header@npm:1.1.0" @@ -14905,7 +13018,7 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:5, https-proxy-agent@npm:5.0.1, https-proxy-agent@npm:^5.0.0, https-proxy-agent@npm:^5.0.1": +"https-proxy-agent@npm:5, https-proxy-agent@npm:5.0.1, https-proxy-agent@npm:^5.0.0": version: 5.0.1 resolution: "https-proxy-agent@npm:5.0.1" dependencies: @@ -14915,16 +13028,6 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:^4.0.0": - version: 4.0.0 - resolution: "https-proxy-agent@npm:4.0.0" - dependencies: - agent-base: 5 - debug: 4 - checksum: 19471d5aae3e747b1c98b17556647e2a1362e68220c6b19585a8527498f32e62e03c41d2872d059d8720d56846bd7460a80ac06f876bccfa786468ff40dd5eef - languageName: node - linkType: hard - "human-signals@npm:^2.1.0": version: 2.1.0 resolution: "human-signals@npm:2.1.0" @@ -15235,13 +13338,6 @@ __metadata: languageName: node linkType: hard -"is-absolute-url@npm:^3.0.0": - version: 3.0.3 - resolution: "is-absolute-url@npm:3.0.3" - checksum: 5159b51d065d9ad29e16a2f78d6c0e41c43227caf90a45e659c54ea6fd50ef0595b1871ce392e84b1df7cfdcad9a8e66eec0813a029112188435abf115accb16 - languageName: node - linkType: hard - "is-alphabetical@npm:^2.0.0": version: 2.0.1 resolution: "is-alphabetical@npm:2.0.1" @@ -15259,7 +13355,7 @@ __metadata: languageName: node linkType: hard -"is-arguments@npm:^1.0.4, is-arguments@npm:^1.1.1": +"is-arguments@npm:^1.1.1": version: 1.1.1 resolution: "is-arguments@npm:1.1.1" dependencies: @@ -15338,7 +13434,7 @@ __metadata: languageName: node linkType: hard -"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.1.5, is-callable@npm:^1.2.7": +"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": version: 1.2.7 resolution: "is-callable@npm:1.2.7" checksum: 61fd57d03b0d984e2ed3720fb1c7a897827ea174bd44402878e059542ea8c4aeedee0ea0985998aa5cc2736b2fa6e271c08587addb5b3959ac52cf665173d1ac @@ -15357,11 +13453,11 @@ __metadata: linkType: hard "is-core-module@npm:^2.1.0, is-core-module@npm:^2.11.0, is-core-module@npm:^2.5.0, is-core-module@npm:^2.9.0": - version: 2.12.0 - resolution: "is-core-module@npm:2.12.0" + version: 2.11.0 + resolution: "is-core-module@npm:2.11.0" dependencies: has: ^1.0.3 - checksum: f7f7eb2ab71fd769ee9fb2385c095d503aa4b5ce0028c04557de03f1e67a87c85e5bac1f215945fc3c955867a139a415a3ec4c4234a0bffdf715232660f440a6 + checksum: f96fd490c6b48eb4f6d10ba815c6ef13f410b0ba6f7eb8577af51697de523e5f2cd9de1c441b51d27251bf0e4aebc936545e33a5d26d5d51f28d25698d4a8bab languageName: node linkType: hard @@ -15494,16 +13590,6 @@ __metadata: languageName: node linkType: hard -"is-nan@npm:^1.2.1": - version: 1.3.2 - resolution: "is-nan@npm:1.3.2" - dependencies: - call-bind: ^1.0.0 - define-properties: ^1.1.3 - checksum: 5dfadcef6ad12d3029d43643d9800adbba21cf3ce2ec849f734b0e14ee8da4070d82b15fdb35138716d02587c6578225b9a22779cab34888a139cc43e4e3610a - languageName: node - linkType: hard - "is-negative-zero@npm:^2.0.2": version: 2.0.2 resolution: "is-negative-zero@npm:2.0.2" @@ -15534,21 +13620,14 @@ __metadata: languageName: node linkType: hard -"is-path-cwd@npm:^2.2.0": - version: 2.2.0 - resolution: "is-path-cwd@npm:2.2.0" - checksum: 46a840921bb8cc0dc7b5b423a14220e7db338072a4495743a8230533ce78812dc152548c86f4b828411fe98c5451959f07cf841c6a19f611e46600bd699e8048 - languageName: node - linkType: hard - -"is-path-inside@npm:^3.0.2, is-path-inside@npm:^3.0.3": +"is-path-inside@npm:^3.0.3": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" checksum: abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 languageName: node linkType: hard -"is-plain-obj@npm:2.1.0": +"is-plain-obj@npm:2.1.0, is-plain-obj@npm:^2.0.0": version: 2.1.0 resolution: "is-plain-obj@npm:2.1.0" checksum: cec9100678b0a9fe0248a81743041ed990c2d4c99f893d935545cfbc42876cbe86d207f3b895700c690ad2fa520e568c44afc1605044b535a7820c1d40e38daa @@ -15576,22 +13655,6 @@ __metadata: languageName: node linkType: hard -"is-plain-object@npm:5.0.0": - version: 5.0.0 - resolution: "is-plain-object@npm:5.0.0" - checksum: e32d27061eef62c0847d303125440a38660517e586f2f3db7c9d179ae5b6674ab0f469d519b2e25c147a1a3bc87156d0d5f4d8821e0ce4a9ee7fe1fcf11ce45c - languageName: node - linkType: hard - -"is-plain-object@npm:^2.0.4": - version: 2.0.4 - resolution: "is-plain-object@npm:2.0.4" - dependencies: - isobject: ^3.0.1 - checksum: 2a401140cfd86cabe25214956ae2cfee6fbd8186809555cd0e84574f88de7b17abacb2e477a6a658fa54c6083ecbda1e6ae404c7720244cd198903848fca70ca - languageName: node - linkType: hard - "is-reference@npm:^3.0.0": version: 3.0.1 resolution: "is-reference@npm:3.0.1" @@ -15668,7 +13731,7 @@ __metadata: languageName: node linkType: hard -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": +"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.9": version: 1.1.10 resolution: "is-typed-array@npm:1.1.10" dependencies: @@ -15721,7 +13784,7 @@ __metadata: languageName: node linkType: hard -"is-wsl@npm:^2.1.1, is-wsl@npm:^2.2.0": +"is-wsl@npm:^2.2.0": version: 2.2.0 resolution: "is-wsl@npm:2.2.0" dependencies: @@ -15730,13 +13793,6 @@ __metadata: languageName: node linkType: hard -"is@npm:^3.2.1": - version: 3.3.0 - resolution: "is@npm:3.3.0" - checksum: 81fad3b40c606984c2d0699207c4c48d2a0d29cc834b274d0b74c172f3eeebdb981301fe0d690ce090a96bf021a8a1f8b1325262ad9870c525e557ac4a559c56 - languageName: node - linkType: hard - "isarray@npm:0.0.1": version: 0.0.1 resolution: "isarray@npm:0.0.1" @@ -15765,23 +13821,6 @@ __metadata: languageName: node linkType: hard -"isobject@npm:^3.0.1": - version: 3.0.1 - resolution: "isobject@npm:3.0.1" - checksum: db85c4c970ce30693676487cca0e61da2ca34e8d4967c2e1309143ff910c207133a969f9e4ddb2dc6aba670aabce4e0e307146c310350b298e74a31f7d464703 - languageName: node - linkType: hard - -"isomorphic-unfetch@npm:^3.1.0": - version: 3.1.0 - resolution: "isomorphic-unfetch@npm:3.1.0" - dependencies: - node-fetch: ^2.6.1 - unfetch: ^4.2.0 - checksum: 82b92fe4ec2823a81ab0fc0d11bd94d710e6f9a940d56b3cba31896d4345ec9ffc7949f4ff31ebcae84f6b95f7ebf3474c4c7452b834eb4078ea3f2c37e459c5 - languageName: node - linkType: hard - "isstream@npm:~0.1.2": version: 0.1.2 resolution: "isstream@npm:0.1.2" @@ -15841,20 +13880,6 @@ __metadata: languageName: node linkType: hard -"jake@npm:^10.8.5": - version: 10.8.5 - resolution: "jake@npm:10.8.5" - dependencies: - async: ^3.2.3 - chalk: ^4.0.2 - filelist: ^1.0.1 - minimatch: ^3.0.4 - bin: - jake: ./bin/cli.js - checksum: 56c913ecf5a8d74325d0af9bc17a233bad50977438d44864d925bb6c45c946e0fee8c4c1f5fe2225471ef40df5222e943047982717ebff0d624770564d3c46ba - languageName: node - linkType: hard - "javascript-stringify@npm:^2.0.1": version: 2.1.0 resolution: "javascript-stringify@npm:2.1.0" @@ -16101,16 +14126,6 @@ __metadata: languageName: node linkType: hard -"jest-mock@npm:^27.0.6": - version: 27.5.1 - resolution: "jest-mock@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - "@types/node": "*" - checksum: f5b5904bb1741b4a1687a5f492535b7b1758dc26534c72a5423305f8711292e96a601dec966df81bb313269fb52d47227e29f9c2e08324d79529172f67311be0 - languageName: node - linkType: hard - "jest-mock@npm:^29.5.0": version: 29.5.0 resolution: "jest-mock@npm:29.5.0" @@ -16408,7 +14423,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1, js-yaml@npm:^3.7.0": +"js-yaml@npm:^3.13.1, js-yaml@npm:^3.7.0": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" dependencies: @@ -16454,37 +14469,6 @@ __metadata: languageName: node linkType: hard -"jscodeshift@npm:^0.14.0": - version: 0.14.0 - resolution: "jscodeshift@npm:0.14.0" - dependencies: - "@babel/core": ^7.13.16 - "@babel/parser": ^7.13.16 - "@babel/plugin-proposal-class-properties": ^7.13.0 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.13.8 - "@babel/plugin-proposal-optional-chaining": ^7.13.12 - "@babel/plugin-transform-modules-commonjs": ^7.13.8 - "@babel/preset-flow": ^7.13.13 - "@babel/preset-typescript": ^7.13.0 - "@babel/register": ^7.13.16 - babel-core: ^7.0.0-bridge.0 - chalk: ^4.1.2 - flow-parser: 0.* - graceful-fs: ^4.2.4 - micromatch: ^4.0.4 - neo-async: ^2.5.0 - node-dir: ^0.1.17 - recast: ^0.21.0 - temp: ^0.8.4 - write-file-atomic: ^2.3.0 - peerDependencies: - "@babel/preset-env": ^7.1.6 - bin: - jscodeshift: bin/jscodeshift.js - checksum: 54ea6d639455883336f80b38a70648821c88b7942315dc0fbab01bc34a9ad0f0f78e3bd69304b5ab167e4262d6ed7e6284c6d32525ab01c89d9118df89b3e2a0 - languageName: node - linkType: hard - "jsdoc-api@npm:^8.0.0": version: 8.0.0 resolution: "jsdoc-api@npm:8.0.0" @@ -16599,19 +14583,6 @@ __metadata: languageName: node linkType: hard -"json-file-plus@npm:^3.3.1": - version: 3.3.1 - resolution: "json-file-plus@npm:3.3.1" - dependencies: - is: ^3.2.1 - node.extend: ^2.0.0 - object.assign: ^4.1.0 - promiseback: ^2.0.2 - safer-buffer: ^2.0.2 - checksum: 162c7a0c8f3e5a7eeea945aac4f2578c11567c87d3e2eafdd9db6972d1fc8657cc1e04b8a23ff3731759da794057a932f251a4db06a267abf5d181977753cf38 - languageName: node - linkType: hard - "json-parse-better-errors@npm:^1.0.1": version: 1.0.2 resolution: "json-parse-better-errors@npm:1.0.2" @@ -16680,7 +14651,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^2.1.2, json5@npm:^2.2.2": +"json5@npm:^2.1.2, json5@npm:^2.2.1, json5@npm:^2.2.2": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: @@ -16764,6 +14735,15 @@ __metadata: languageName: node linkType: hard +"keygrip@npm:~1.1.0": + version: 1.1.0 + resolution: "keygrip@npm:1.1.0" + dependencies: + tsscmp: 1.0.6 + checksum: 078cd16a463d187121f0a27c1c9c95c52ad392b620f823431689f345a0501132cee60f6e96914b07d570105af470b96960402accd6c48a0b1f3cd8fac4fa2cae + languageName: node + linkType: hard + "keyv@npm:^4.0.0": version: 4.5.2 resolution: "keyv@npm:4.5.2" @@ -16803,10 +14783,58 @@ __metadata: languageName: node linkType: hard -"klona@npm:^2.0.6": - version: 2.0.6 - resolution: "klona@npm:2.0.6" - checksum: ac9ee3732e42b96feb67faae4d27cf49494e8a3bf3fa7115ce242fe04786788e0aff4741a07a45a2462e2079aa983d73d38519c85d65b70ef11447bbc3c58ce7 +"koa-compose@npm:^4.1.0": + version: 4.1.0 + resolution: "koa-compose@npm:4.1.0" + checksum: 46cb16792d96425e977c2ae4e5cb04930280740e907242ec9c25e3fb8b4a1d7b54451d7432bc24f40ec62255edea71894d2ceeb8238501842b4e48014f2e83db + languageName: node + linkType: hard + +"koa-connect@npm:^2.1.0": + version: 2.1.0 + resolution: "koa-connect@npm:2.1.0" + checksum: d4975a4845ba1ad62a67b114cf9fcce6444ad1423595c927d6d800d620e39feacaa551de967bdf936c10443a1ae4b9b1e2b8e82bb096964343a252ed41dd957a + languageName: node + linkType: hard + +"koa-convert@npm:^2.0.0": + version: 2.0.0 + resolution: "koa-convert@npm:2.0.0" + dependencies: + co: ^4.6.0 + koa-compose: ^4.1.0 + checksum: 7385b3391995f59c1312142e110d5dff677f9850dbfbcf387cd36a7b0af03b5d26e82b811eb9bb008b4f3e661cdab1f8817596e46b1929da2cf6e97a2f7456ed + languageName: node + linkType: hard + +"koa@npm:^2.14.1": + version: 2.14.1 + resolution: "koa@npm:2.14.1" + dependencies: + accepts: ^1.3.5 + cache-content-type: ^1.0.0 + content-disposition: ~0.5.2 + content-type: ^1.0.4 + cookies: ~0.8.0 + debug: ^4.3.2 + delegates: ^1.0.0 + depd: ^2.0.0 + destroy: ^1.0.4 + encodeurl: ^1.0.2 + escape-html: ^1.0.3 + fresh: ~0.5.2 + http-assert: ^1.3.0 + http-errors: ^1.6.3 + is-generator-function: ^1.0.7 + koa-compose: ^4.1.0 + koa-convert: ^2.0.0 + on-finished: ^2.3.0 + only: ~0.0.2 + parseurl: ^1.3.2 + statuses: ^1.5.0 + type-is: ^1.6.16 + vary: ^1.1.2 + checksum: 84cfce48d72cf434831bd9f4f06beb3815da030325a7e89b13ee684f5afd158221e16c2d450ca637b221aa0c4a0ab235edd129e4efea656dc5d8384801d3e90f languageName: node linkType: hard @@ -16833,17 +14861,6 @@ __metadata: languageName: node linkType: hard -"lazy-universal-dotenv@npm:^4.0.0": - version: 4.0.0 - resolution: "lazy-universal-dotenv@npm:4.0.0" - dependencies: - app-root-dir: ^1.0.2 - dotenv: ^16.0.0 - dotenv-expand: ^10.0.0 - checksum: 196e0d701100144fbfe078d604a477573413ebf38dfe8d543748605e6a7074978508a3bb9f8135acd319db4fa947eef78836497163617d15a22163c59a00996b - languageName: node - linkType: hard - "leven@npm:^3.1.0": version: 3.1.0 resolution: "leven@npm:3.1.0" @@ -16959,9 +14976,9 @@ __metadata: languageName: node linkType: hard -"lint-staged@npm:^13.2.1": - version: 13.2.1 - resolution: "lint-staged@npm:13.2.1" +"lint-staged@npm:^13.2.0": + version: 13.2.0 + resolution: "lint-staged@npm:13.2.0" dependencies: chalk: 5.2.0 cli-truncate: ^3.1.0 @@ -16978,7 +14995,7 @@ __metadata: yaml: ^2.2.1 bin: lint-staged: bin/lint-staged.js - checksum: 5788d3fe38e69b7f7b7f700284d4e10738978a0916bc77d3f6253c43a030fc4f01f89c09da349fb658f929f3393d8b1e3eaabaac5b604416ebc33476640b51ce + checksum: dcaa8fbbde567eb8ac27230a18b3a22f30c278c524c0e27cf7d4110d662d5d33ed68a585a2e1b05075ef1c262e853f557a5ae046188b723603246d63e6b9f07b languageName: node linkType: hard @@ -17057,16 +15074,6 @@ __metadata: languageName: node linkType: hard -"locate-path@npm:^3.0.0": - version: 3.0.0 - resolution: "locate-path@npm:3.0.0" - dependencies: - p-locate: ^3.0.0 - path-exists: ^3.0.0 - checksum: 53db3996672f21f8b0bf2a2c645ae2c13ffdae1eeecfcd399a583bce8516c0b88dcb4222ca6efbbbeb6949df7e46860895be2c02e8d3219abd373ace3bfb4e11 - languageName: node - linkType: hard - "locate-path@npm:^5.0.0": version: 5.0.0 resolution: "locate-path@npm:5.0.0" @@ -17092,27 +15099,6 @@ __metadata: languageName: node linkType: hard -"lodash.clone@npm:^4.5.0": - version: 4.5.0 - resolution: "lodash.clone@npm:4.5.0" - checksum: 5839f22acf3a43c026ac4325f7bcd378f34967415cd0b9fd7efa9bbbf38dc665900d36e040944c5afab94a51ff8a24f6cfc3781fe439705cbad5c722e9506b16 - languageName: node - linkType: hard - -"lodash.clonedeep@npm:^4.5.0": - version: 4.5.0 - resolution: "lodash.clonedeep@npm:4.5.0" - checksum: 92c46f094b064e876a23c97f57f81fbffd5d760bf2d8a1c61d85db6d1e488c66b0384c943abee4f6af7debf5ad4e4282e74ff83177c9e63d8ff081a4837c3489 - languageName: node - linkType: hard - -"lodash.constant@npm:^3.0.0": - version: 3.0.0 - resolution: "lodash.constant@npm:3.0.0" - checksum: 897c7b4b564c0481f93b935815b8f19d11d855ed330ac2c3f79791918a02551bbbbda191c6a4b6253e125c913764d2f4df60e7f0e32105efe3b3cfeef9d11e11 - languageName: node - linkType: hard - "lodash.debounce@npm:^4.0.8": version: 4.0.8 resolution: "lodash.debounce@npm:4.0.8" @@ -17127,27 +15113,6 @@ __metadata: languageName: node linkType: hard -"lodash.filter@npm:^4.6.0": - version: 4.6.0 - resolution: "lodash.filter@npm:4.6.0" - checksum: f21d245d24818e15b560cb6cadc8404a1bf98bd87d037e5e51858aad57ca2b9db64d87e450a23c8f72dd2c66968efd09b034055ce86d93eef4a4eb6f1bbaf100 - languageName: node - linkType: hard - -"lodash.flatmap@npm:^4.5.0": - version: 4.5.0 - resolution: "lodash.flatmap@npm:4.5.0" - checksum: c01a47d32e99f8fce75409f0a4a9bd12fbb2d3a46519a0dde14deedb1e527b5ddccc2bf997705c67bdecb915f47749e8a9ffefa7a91c41f0c448e06348ec81c7 - languageName: node - linkType: hard - -"lodash.foreach@npm:^4.5.0": - version: 4.5.0 - resolution: "lodash.foreach@npm:4.5.0" - checksum: a940386b158ca0d62994db41fc16529eb8ae67138f29ced38e91f912cb5435d1b0ed34b18e6f7b9ddfc32ab676afc6dfec60d1e22633d8e3e4b33413402ab4ad - languageName: node - linkType: hard - "lodash.get@npm:^4.4.2": version: 4.4.2 resolution: "lodash.get@npm:4.4.2" @@ -17155,13 +15120,6 @@ __metadata: languageName: node linkType: hard -"lodash.has@npm:^4.5.2": - version: 4.5.2 - resolution: "lodash.has@npm:4.5.2" - checksum: b3ec829a86852331d48b3730ff06088a283d128a3965aa521ffd942bcf5c82e06bed3164ff7a7751d11e768d88f0d7bab316192091489caf20f452d42f7055d5 - languageName: node - linkType: hard - "lodash.isarguments@npm:^3.1.0": version: 3.1.0 resolution: "lodash.isarguments@npm:3.1.0" @@ -17169,13 +15127,6 @@ __metadata: languageName: node linkType: hard -"lodash.isempty@npm:^4.4.0": - version: 4.4.0 - resolution: "lodash.isempty@npm:4.4.0" - checksum: a8118f23f7ed72a1dbd176bf27f297d1e71aa1926288449cb8f7cef99ba1bc7527eab52fe7899ab080fa1dc150aba6e4a6367bf49fa4e0b78da1ecc095f8d8c5 - languageName: node - linkType: hard - "lodash.isequal@npm:^4.5.0": version: 4.5.0 resolution: "lodash.isequal@npm:4.5.0" @@ -17204,13 +15155,6 @@ __metadata: languageName: node linkType: hard -"lodash.isundefined@npm:^3.0.1": - version: 3.0.1 - resolution: "lodash.isundefined@npm:3.0.1" - checksum: 52b4d99a47bd41daa4e2860200258f56b1f2c99263c11a5f607fbbd91d6447fe674bdafc172735d099908a09136d4a0f98cf79715e38ca4b490fdda7162be289 - languageName: node - linkType: hard - "lodash.kebabcase@npm:^4.1.1": version: 4.1.1 resolution: "lodash.kebabcase@npm:4.1.1" @@ -17218,20 +15162,6 @@ __metadata: languageName: node linkType: hard -"lodash.keys@npm:^4.2.0": - version: 4.2.0 - resolution: "lodash.keys@npm:4.2.0" - checksum: 055576c8c4a0bacc0c1da9bcbb520e6e70dcf94c609495263686c62c8242a440293e9ab8387a7398dda529cb05b76e8f783c3fd3d6ba7bc6d5d6d2e08e8512ae - languageName: node - linkType: hard - -"lodash.map@npm:^4.6.0": - version: 4.6.0 - resolution: "lodash.map@npm:4.6.0" - checksum: 7369a41d7d24d15ce3bbd02a7faa3a90f6266c38184e64932571b9b21b758bd10c04ffd117d1859be1a44156f29b94df5045eff172bf8a97fddf68bf1002d12f - languageName: node - linkType: hard - "lodash.merge@npm:4.6.2, lodash.merge@npm:^4.6.2": version: 4.6.2 resolution: "lodash.merge@npm:4.6.2" @@ -17267,20 +15197,6 @@ __metadata: languageName: node linkType: hard -"lodash.reduce@npm:^4.6.0": - version: 4.6.0 - resolution: "lodash.reduce@npm:4.6.0" - checksum: 81f2a1045440554f8427f895ef479f1de5c141edd7852dde85a894879312801efae0295116e5cf830c531c1a51cdab8f3628c3ad39fa21a9874bb9158d9ea075 - languageName: node - linkType: hard - -"lodash.size@npm:^4.2.0": - version: 4.2.0 - resolution: "lodash.size@npm:4.2.0" - checksum: 8d64ffa3dbd60a143c8e97964ce6476e4185e026408fa006ced60906943837b1797867eeadd833aae975a86bbe19209cba0fdc360941bc064518bdda9971c72f - languageName: node - linkType: hard - "lodash.snakecase@npm:^4.1.1": version: 4.1.1 resolution: "lodash.snakecase@npm:4.1.1" @@ -17302,27 +15218,6 @@ __metadata: languageName: node linkType: hard -"lodash.topairs@npm:^4.3.0": - version: 4.3.0 - resolution: "lodash.topairs@npm:4.3.0" - checksum: 8efd69e706e5adb7f8c4521cd094be17ed4776dab30d9ae0a72e130f14e7bb696dd858cbc18c912aa20e97ccc76486f3cf2d0acb3ff30cb9af3fd525a7f9c9bd - languageName: node - linkType: hard - -"lodash.transform@npm:^4.6.0": - version: 4.6.0 - resolution: "lodash.transform@npm:4.6.0" - checksum: f9d0f583409212e4e94c08c0de1c9e71679e26658d2645be16ee6db55ee2572db5a8395c76f471c00c7d18f3a86c781f7ac51238a7cfa29e9cca253aa0b97149 - languageName: node - linkType: hard - -"lodash.union@npm:^4.6.0": - version: 4.6.0 - resolution: "lodash.union@npm:4.6.0" - checksum: 1514dc6508b2614ec071a6470f36eb7a70f69bf1abb6d55bdfdc21069635a4517783654b28504c0f025059a7598d37529766888e6d5902b8ab28b712228f7b2a - languageName: node - linkType: hard - "lodash.uniq@npm:^4.5.0": version: 4.5.0 resolution: "lodash.uniq@npm:4.5.0" @@ -17337,13 +15232,6 @@ __metadata: languageName: node linkType: hard -"lodash.values@npm:^4.3.0": - version: 4.3.0 - resolution: "lodash.values@npm:4.3.0" - checksum: 857e122ddf6edb50137887f0b834d471f96d66692ebb5de8b048ed277c8a3dd1bc8f85d82cf31b0f5c6dbc5b72c036a591205f76eec86bb11818a1a6f7e5a28c - languageName: node - linkType: hard - "lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:~4.17.15": version: 4.17.21 resolution: "lodash@npm:4.17.21" @@ -17462,13 +15350,6 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^9.0.0": - version: 9.0.1 - resolution: "lru-cache@npm:9.0.1" - checksum: 48e31a2a059730174d4b9c77c679ff922ee90ed8762376fd7a3ff5a1fae992bca26b9010dd985aff763d8444c3822c0d9ebeaba7d0552c764c200c40dedeaebd - languageName: node - linkType: hard - "lru_map@npm:^0.3.3": version: 0.3.3 resolution: "lru_map@npm:0.3.3" @@ -17483,7 +15364,7 @@ __metadata: languageName: node linkType: hard -"lz-string@npm:^1.4.4, lz-string@npm:^1.5.0": +"lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" bin: @@ -17528,17 +15409,7 @@ __metadata: languageName: node linkType: hard -"make-dir@npm:^2.0.0, make-dir@npm:^2.1.0": - version: 2.1.0 - resolution: "make-dir@npm:2.1.0" - dependencies: - pify: ^4.0.1 - semver: ^5.6.0 - checksum: 043548886bfaf1820323c6a2997e6d2fa51ccc2586ac14e6f14634f7458b4db2daf15f8c310e2a0abd3e0cddc64df1890d8fc7263033602c47bb12cbfcf86aab - languageName: node - linkType: hard - -"make-dir@npm:^3.0.0, make-dir@npm:^3.0.2, make-dir@npm:^3.1.0": +"make-dir@npm:^3.0.0, make-dir@npm:^3.1.0": version: 3.1.0 resolution: "make-dir@npm:3.1.0" dependencies: @@ -17624,13 +15495,6 @@ __metadata: languageName: node linkType: hard -"map-or-similar@npm:^1.5.0": - version: 1.5.0 - resolution: "map-or-similar@npm:1.5.0" - checksum: f65c0d420e272d0fce4e24db35f6a08109218480bca1d61eaa442cbe6cf46270b840218d3b5e94e4bfcc2595f1d0a1fa5885df750b52aac9ab1d437b29dcce38 - languageName: node - linkType: hard - "markdown-extensions@npm:^1.0.0": version: 1.1.1 resolution: "markdown-extensions@npm:1.1.1" @@ -17670,15 +15534,6 @@ __metadata: languageName: node linkType: hard -"markdown-to-jsx@npm:^7.1.8": - version: 7.2.0 - resolution: "markdown-to-jsx@npm:7.2.0" - peerDependencies: - react: ">= 0.14.0" - checksum: ea417e684d7eec9f1beebc9423aba377116ef77c3cd83a2d622df1b9030ffef99aa9b3f431192b94f3237943a33560e6dda9be8a4c1d25187518d09986dad22f - languageName: node - linkType: hard - "marked@npm:^4.0.10, marked@npm:^4.2.12, marked@npm:^4.2.3": version: 4.3.0 resolution: "marked@npm:4.3.0" @@ -17924,6 +15779,22 @@ __metadata: languageName: node linkType: hard +"mdast-util-to-hast@npm:^10.2.0": + version: 10.2.0 + resolution: "mdast-util-to-hast@npm:10.2.0" + dependencies: + "@types/mdast": ^3.0.0 + "@types/unist": ^2.0.0 + mdast-util-definitions: ^4.0.0 + mdurl: ^1.0.0 + unist-builder: ^2.0.0 + unist-util-generated: ^1.0.0 + unist-util-position: ^3.0.0 + unist-util-visit: ^2.0.0 + checksum: 72df2dd9bfa2d07b4750a333444f82e0f3752dae75b6e300cf0a716407a185eb75095a54ecad90cbd6f6d133b20dea8844ff76c1ea78612550de170b43d4fa85 + languageName: node + linkType: hard + "mdast-util-to-hast@npm:^11.0.0": version: 11.3.0 resolution: "mdast-util-to-hast@npm:11.3.0" @@ -17973,19 +15844,12 @@ __metadata: languageName: node linkType: hard -"mdast-util-to-string@npm:^1.0.0": - version: 1.1.0 - resolution: "mdast-util-to-string@npm:1.1.0" - checksum: eec1eb283f3341376c8398b67ce512a11ab3e3191e3dbd5644d32a26784eac8d5f6d0b0fb81193af00d75a2c545cde765c8b03e966bd890076efb5d357fb4fe2 - languageName: node - linkType: hard - "mdast-util-to-string@npm:^3.0.0, mdast-util-to-string@npm:^3.1.0": - version: 3.2.0 - resolution: "mdast-util-to-string@npm:3.2.0" + version: 3.1.1 + resolution: "mdast-util-to-string@npm:3.1.1" dependencies: "@types/mdast": ^3.0.0 - checksum: dc40b544d54339878ae2c9f2b3198c029e1e07291d2126bd00ca28272ee6616d0d2194eb1c9828a7c34d412a79a7e73b26512a734698d891c710a1e73db1e848 + checksum: 5e9375e1757ebf2950e122ef3538e4257ed2b6f43ab1d3e9c45db5dd5d5b5d14fd041490afcde00934f1cdb4b99877597ae04eb810d313ec7b38c6009058dddd languageName: node linkType: hard @@ -18045,30 +15909,21 @@ __metadata: languageName: node linkType: hard -"meilisearch@npm:^0.32.3": - version: 0.32.3 - resolution: "meilisearch@npm:0.32.3" +"meilisearch@npm:^0.32.0": + version: 0.32.0 + resolution: "meilisearch@npm:0.32.0" dependencies: cross-fetch: ^3.1.5 - checksum: 09c2be5d4f0cdec376ecbb31b9a009ac53c6f90dd5960b98d8df0897e6f5ad19e63fec23971185ddb805b20d5b71f92ec039c0f56ef6032fda9dbcfcd889ccf4 + checksum: e337ec04c122e9ac74a4434ced22fb652e1be93c217c554384c904729dbf4a7423fa81248674f2416cf877d2c9d39fae50e95def736255a385bb7c9d4a796b31 languageName: node linkType: hard "memfs@npm:^3.4.13": - version: 3.5.0 - resolution: "memfs@npm:3.5.0" + version: 3.4.13 + resolution: "memfs@npm:3.4.13" dependencies: fs-monkey: ^1.0.3 - checksum: 8427db6c3644eeb9119b7a74b232d9a6178d018878acce6f05bd89d95e28b1073c9eeb00127131b0613b07a003e2e7b15b482f9004e548fe06a0aba7aa02515c - languageName: node - linkType: hard - -"memoizerific@npm:^1.11.3": - version: 1.11.3 - resolution: "memoizerific@npm:1.11.3" - dependencies: - map-or-similar: ^1.5.0 - checksum: d51bdc3ed8c39b4b73845c90eb62d243ddf21899914352d0c303f5e1d477abcb192f4c605e008caa4a31d823225eeb22a99ba5ee825fb88d0c33382db3aee95a + checksum: 3f9717d6f060919d53f211acb6096a0ea2f566a8cbcc4ef7e1f2561e31e33dc456053fdf951c90a49c8ec55402de7f01b006b81683ab7bd4bdbbd8c9b9cdae5f languageName: node linkType: hard @@ -18216,8 +16071,8 @@ __metadata: linkType: hard "micromark-extension-gfm-footnote@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-extension-gfm-footnote@npm:1.1.0" + version: 1.0.4 + resolution: "micromark-extension-gfm-footnote@npm:1.0.4" dependencies: micromark-core-commonmark: ^1.0.0 micromark-factory-space: ^1.0.0 @@ -18227,13 +16082,13 @@ __metadata: micromark-util-symbol: ^1.0.0 micromark-util-types: ^1.0.0 uvu: ^0.5.0 - checksum: 7a5408625ef2cca5cc18e6591c2522a8a409f466a6fbc0ed938950aafe5fc9bf1eada65e1a4dd4e36ec3e7b24920de1f4b3e2c365d8f5cd2d6ccb1f8c2377c49 + checksum: 8daa203f5cf753338d5ecdbaae6b3ab6319d34b6013b90ea6860bed299418cecf86e69e48dabe42562e334760c738c77c5acdb47e75ae26f5f01f02f3bf0952d languageName: node linkType: hard "micromark-extension-gfm-strikethrough@npm:^1.0.0": - version: 1.0.5 - resolution: "micromark-extension-gfm-strikethrough@npm:1.0.5" + version: 1.0.4 + resolution: "micromark-extension-gfm-strikethrough@npm:1.0.4" dependencies: micromark-util-chunked: ^1.0.0 micromark-util-classify-character: ^1.0.0 @@ -18241,7 +16096,7 @@ __metadata: micromark-util-symbol: ^1.0.0 micromark-util-types: ^1.0.0 uvu: ^0.5.0 - checksum: 548c0f257753d735c741533411957f04253da53db31e1f398dc5dc1de9f398c45586baad5223dce8f3b55f9433c255e6eb695fc3104256b8c332dd8737136882 + checksum: f43d316b85fe93df1711cdcdc99a5320b941239349234bd262fc708cb67ad47bdfb41d1a7ebe2a5829816b0e9d3107380a5c1e558cb536a75354cbe4857823ba languageName: node linkType: hard @@ -18259,24 +16114,24 @@ __metadata: linkType: hard "micromark-extension-gfm-tagfilter@npm:^1.0.0": - version: 1.0.2 - resolution: "micromark-extension-gfm-tagfilter@npm:1.0.2" + version: 1.0.1 + resolution: "micromark-extension-gfm-tagfilter@npm:1.0.1" dependencies: micromark-util-types: ^1.0.0 - checksum: 7d2441df51f890c86f8e7cf7d331a570b69c8105fa1c2fc5b737cb739502c16c8ee01cf35550a8a78f89497c5dfacc97cf82d55de6274e8320f3aec25e2b0dd2 + checksum: 63e8d68f25871722900a67a8001d5da21f19ea707f3566fc7d0b2eb1f6d52476848bb6a41576cf22470565124af9497c5aae842355faa4c14ec19cb1847e71ec languageName: node linkType: hard "micromark-extension-gfm-task-list-item@npm:^1.0.0": - version: 1.0.4 - resolution: "micromark-extension-gfm-task-list-item@npm:1.0.4" + version: 1.0.3 + resolution: "micromark-extension-gfm-task-list-item@npm:1.0.3" dependencies: micromark-factory-space: ^1.0.0 micromark-util-character: ^1.0.0 micromark-util-symbol: ^1.0.0 micromark-util-types: ^1.0.0 uvu: ^0.5.0 - checksum: 2575bb47b320f2479d3cc2492ba7cf79d6baa9cd0200c0ed120fd0e318e64e8ebab4a93a056a3781cb5107193f3b36ebd2d86a5928308bef45fc121291f97eb5 + checksum: d320b0c5301f87e211c06a2330d1ee0fee6da14f0d6d44d5211055b465dadff34390cd6b258a5e0ca376fcda3364fef9a12fe6e26a0c858231fa3b98ddbf7785 languageName: node linkType: hard @@ -18623,14 +16478,14 @@ __metadata: languageName: node linkType: hard -"mime-db@npm:1.52.0, mime-db@npm:>= 1.43.0 < 2": +"mime-db@npm:1.52.0": version: 1.52.0 resolution: "mime-db@npm:1.52.0" checksum: 0d99a03585f8b39d68182803b12ac601d9c01abfa28ec56204fa330bc9f3d1c5e14beb049bafadb3dbdf646dfb94b87e24d4ec7b31b7279ef906a8ea9b6a513f languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:^2.1.25, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": +"mime-types@npm:^2.1.12, mime-types@npm:^2.1.18, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": version: 2.1.35 resolution: "mime-types@npm:2.1.35" dependencies: @@ -18648,7 +16503,7 @@ __metadata: languageName: node linkType: hard -"mime@npm:2.6.0, mime@npm:^2.0.3": +"mime@npm:2.6.0": version: 2.6.0 resolution: "mime@npm:2.6.0" bin: @@ -18692,7 +16547,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -18711,20 +16566,20 @@ __metadata: linkType: hard "minimatch@npm:^7.1.3": - version: 7.4.6 - resolution: "minimatch@npm:7.4.6" + version: 7.4.4 + resolution: "minimatch@npm:7.4.4" dependencies: brace-expansion: ^2.0.1 - checksum: 1a6c8d22618df9d2a88aabeef1de5622eb7b558e9f8010be791cb6b0fa6e102d39b11c28d75b855a1e377b12edc7db8ff12a99c20353441caa6a05e78deb5da9 + checksum: a96494db558cda25cf2f75c25b136f6c91543d72871d92b8b251691dcf578b5e64b679d64427cee609a1bf6a63cf233e171cb9d04d04c3c9ec3b6100c3b72f8e languageName: node linkType: hard "minimatch@npm:^8.0.2": - version: 8.0.4 - resolution: "minimatch@npm:8.0.4" + version: 8.0.2 + resolution: "minimatch@npm:8.0.2" dependencies: brace-expansion: ^2.0.1 - checksum: 2e46cffb86bacbc524ad45a6426f338920c529dd13f3a732cc2cf7618988ee1aae88df4ca28983285aca9e0f45222019ac2d14ebd17c1edadd2ee12221ab801a + checksum: ceb50867205c716a1d027e6de3bd5976a940cec266acf05ff41c29bff9967290a867b381f6317fcebddfb056f0eedff88484d121e4449c3bb16c552a51b7a745 languageName: node linkType: hard @@ -18831,17 +16686,10 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^4.0.0, minipass@npm:^4.2.4": - version: 4.2.8 - resolution: "minipass@npm:4.2.8" - checksum: 7f4914d5295a9a30807cae5227a37a926e6d910c03f315930fde52332cf0575dfbc20295318f91f0baf0e6bb11a6f668e30cde8027dea7a11b9d159867a3c830 - languageName: node - linkType: hard - -"minipass@npm:^5.0.0": - version: 5.0.0 - resolution: "minipass@npm:5.0.0" - checksum: 425dab288738853fded43da3314a0b5c035844d6f3097a8e3b5b29b328da8f3c1af6fc70618b32c29ff906284cf6406b6841376f21caaadd0793c1d5a6a620ea +"minipass@npm:^4.0.0, minipass@npm:^4.0.2, minipass@npm:^4.2.4": + version: 4.2.5 + resolution: "minipass@npm:4.2.5" + checksum: 4f9c19af23a5d4a9e7156feefc9110634b178a8cff8f8271af16ec5ebf7e221725a97429952c856f5b17b30c2065ebd24c81722d90c93d2122611d75b952b48f languageName: node linkType: hard @@ -18876,7 +16724,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:>=0.5 0, mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.3, mkdirp@npm:^0.5.4": +"mkdirp@npm:>=0.5 0, mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.3": version: 0.5.6 resolution: "mkdirp@npm:0.5.6" dependencies: @@ -18922,7 +16770,7 @@ __metadata: languageName: node linkType: hard -"mri@npm:1.2.0, mri@npm:^1.1.0, mri@npm:^1.2.0": +"mri@npm:1.2.0, mri@npm:^1.1.0": version: 1.2.0 resolution: "mri@npm:1.2.0" checksum: 83f515abbcff60150873e424894a2f65d68037e5a7fcde8a9e2b285ee9c13ac581b63cfc1e6826c4732de3aeb84902f7c1e16b7aff46cd3f897a0f757a894e85 @@ -18943,13 +16791,6 @@ __metadata: languageName: node linkType: hard -"ms@npm:2.1.1": - version: 2.1.1 - resolution: "ms@npm:2.1.1" - checksum: 0078a23cd916a9a7435c413caa14c57d4b4f6e2470e0ab554b6964163c8a4436448ac7ae020e883685475da6b6796cc396b670f579cb275db288a21e3e57721e - languageName: node - linkType: hard - "ms@npm:2.1.2": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -19010,7 +16851,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.1, nanoid@npm:^3.3.4": +"nanoid@npm:^3.3.4": version: 3.3.6 resolution: "nanoid@npm:3.3.6" bin: @@ -19047,7 +16888,7 @@ __metadata: languageName: node linkType: hard -"neo-async@npm:^2.5.0, neo-async@npm:^2.6.0, neo-async@npm:^2.6.1, neo-async@npm:^2.6.2": +"neo-async@npm:^2.6.0": version: 2.6.2 resolution: "neo-async@npm:2.6.2" checksum: deac9f8d00eda7b2e5cd1b2549e26e10a0faa70adaa6fdadca701cc55f49ee9018e427f424bac0c790b7c7e2d3068db97f3093f1093975f2acb8f8818b936ed9 @@ -19108,37 +16949,48 @@ __metadata: languageName: node linkType: hard -"next@npm:^13.3.0": - version: 13.3.0 - resolution: "next@npm:13.3.0" - dependencies: - "@next/env": 13.3.0 - "@next/swc-darwin-arm64": 13.3.0 - "@next/swc-darwin-x64": 13.3.0 - "@next/swc-linux-arm64-gnu": 13.3.0 - "@next/swc-linux-arm64-musl": 13.3.0 - "@next/swc-linux-x64-gnu": 13.3.0 - "@next/swc-linux-x64-musl": 13.3.0 - "@next/swc-win32-arm64-msvc": 13.3.0 - "@next/swc-win32-ia32-msvc": 13.3.0 - "@next/swc-win32-x64-msvc": 13.3.0 +"next@npm:^13.2.4": + version: 13.2.4 + resolution: "next@npm:13.2.4" + dependencies: + "@next/env": 13.2.4 + "@next/swc-android-arm-eabi": 13.2.4 + "@next/swc-android-arm64": 13.2.4 + "@next/swc-darwin-arm64": 13.2.4 + "@next/swc-darwin-x64": 13.2.4 + "@next/swc-freebsd-x64": 13.2.4 + "@next/swc-linux-arm-gnueabihf": 13.2.4 + "@next/swc-linux-arm64-gnu": 13.2.4 + "@next/swc-linux-arm64-musl": 13.2.4 + "@next/swc-linux-x64-gnu": 13.2.4 + "@next/swc-linux-x64-musl": 13.2.4 + "@next/swc-win32-arm64-msvc": 13.2.4 + "@next/swc-win32-ia32-msvc": 13.2.4 + "@next/swc-win32-x64-msvc": 13.2.4 "@swc/helpers": 0.4.14 - busboy: 1.6.0 caniuse-lite: ^1.0.30001406 postcss: 8.4.14 styled-jsx: 5.1.1 peerDependencies: - "@opentelemetry/api": ^1.1.0 + "@opentelemetry/api": ^1.4.0 fibers: ">= 3.1.0" node-sass: ^6.0.0 || ^7.0.0 react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 dependenciesMeta: + "@next/swc-android-arm-eabi": + optional: true + "@next/swc-android-arm64": + optional: true "@next/swc-darwin-arm64": optional: true "@next/swc-darwin-x64": optional: true + "@next/swc-freebsd-x64": + optional: true + "@next/swc-linux-arm-gnueabihf": + optional: true "@next/swc-linux-arm64-gnu": optional: true "@next/swc-linux-arm64-musl": @@ -19164,31 +17016,31 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: 24e0e013e867a825ff7d1f49587e696147ea8f9ff42946121fe0dce25f9bcc9b1d5941425fa7cef3b8c0e6f1c3daa7f09f758ac5a8aa15aa66c3b31a07465081 + checksum: 8531dee41b60181b582f5ee80858907b102f083ef8808ff9352d589dd39e6b3a96f7a11b3776a03eef3a28430cff768336fa2e3ff2c6f8fcd699fbc891749051 languageName: node linkType: hard -"next@npm:^13.3.1-canary.6": - version: 13.3.1-canary.6 - resolution: "next@npm:13.3.1-canary.6" +"next@npm:^13.2.5-canary.26": + version: 13.2.5-canary.26 + resolution: "next@npm:13.2.5-canary.26" dependencies: - "@next/env": 13.3.1-canary.6 - "@next/swc-darwin-arm64": 13.3.1-canary.6 - "@next/swc-darwin-x64": 13.3.1-canary.6 - "@next/swc-linux-arm64-gnu": 13.3.1-canary.6 - "@next/swc-linux-arm64-musl": 13.3.1-canary.6 - "@next/swc-linux-x64-gnu": 13.3.1-canary.6 - "@next/swc-linux-x64-musl": 13.3.1-canary.6 - "@next/swc-win32-arm64-msvc": 13.3.1-canary.6 - "@next/swc-win32-ia32-msvc": 13.3.1-canary.6 - "@next/swc-win32-x64-msvc": 13.3.1-canary.6 + "@next/env": 13.2.5-canary.26 + "@next/swc-darwin-arm64": 13.2.5-canary.26 + "@next/swc-darwin-x64": 13.2.5-canary.26 + "@next/swc-linux-arm64-gnu": 13.2.5-canary.26 + "@next/swc-linux-arm64-musl": 13.2.5-canary.26 + "@next/swc-linux-x64-gnu": 13.2.5-canary.26 + "@next/swc-linux-x64-musl": 13.2.5-canary.26 + "@next/swc-win32-arm64-msvc": 13.2.5-canary.26 + "@next/swc-win32-ia32-msvc": 13.2.5-canary.26 + "@next/swc-win32-x64-msvc": 13.2.5-canary.26 "@swc/helpers": 0.4.14 busboy: 1.6.0 caniuse-lite: ^1.0.30001406 postcss: 8.4.14 styled-jsx: 5.1.1 peerDependencies: - "@opentelemetry/api": ^1.1.0 + "@opentelemetry/api": ^1.4.1 fibers: ">= 3.1.0" node-sass: ^6.0.0 || ^7.0.0 react: ^18.2.0 @@ -19224,7 +17076,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: 7ddf5471e9d611d98053f4f8b98ac32003d6e004a917f05031ca98190d32f37b260b6a92a334291852964b76ef115b5de0bb7a040238ab7b28bbb1f4408d3225 + checksum: eb56d58e053af3557a1945963fd485fdd1088a668eadf4c43c53bcfccb79f8a3ad6fcace92ff836ae2288faf234cb752ac065f22c3563b5eb40c9ed599cadf3b languageName: node linkType: hard @@ -19239,11 +17091,11 @@ __metadata: linkType: hard "node-abi@npm:^3.3.0": - version: 3.35.0 - resolution: "node-abi@npm:3.35.0" + version: 3.33.0 + resolution: "node-abi@npm:3.33.0" dependencies: semver: ^7.3.5 - checksum: 0d230724ecae7b42c3b6d7c1577e52e621ca6626d8683ecdbe0ba231c39d395d5dd94b6e50a40d905d40d80b63a12ad57daa5b5892f72e0a94df0c719722e16d + checksum: 59e5e00d9a15225087b6dd55b7d4f99686a6d64a8bdbe2c9aa98f4f74554873a7225d3dc975fa32718e7695eed8abcfeaae58b03db118a01392f6d25b0469b52 languageName: node linkType: hard @@ -19265,15 +17117,6 @@ __metadata: languageName: node linkType: hard -"node-dir@npm:^0.1.10, node-dir@npm:^0.1.17": - version: 0.1.17 - resolution: "node-dir@npm:0.1.17" - dependencies: - minimatch: ^3.0.2 - checksum: 29de9560e52cdac8d3f794d38d782f6799e13d4d11aaf96d3da8c28458e1c5e33bb5f8edfb42dc34172ec5516c50c5b8850c9e1526542616757a969267263328 - languageName: node - linkType: hard - "node-domexception@npm:^1.0.0": version: 1.0.0 resolution: "node-domexception@npm:1.0.0" @@ -19282,9 +17125,9 @@ __metadata: linkType: hard "node-fetch-native@npm:^1.0.2": - version: 1.1.0 - resolution: "node-fetch-native@npm:1.1.0" - checksum: 65b85ba8d671f7d4b8a4c8eb70dfd3864b4d04ab771e15aeadc613011cd4e4568c4a0a3f1aebdd37410cd2d75c65ab3e538eedb1732fc6b33ee093167e22bbe0 + version: 1.0.2 + resolution: "node-fetch-native@npm:1.0.2" + checksum: cd1f031bb3fd5b467bdc5a515f0042923821b91be5f01f47a0f17dd97b7de0921bd965a2caf9b2e64d13dc6d65dd195387b43cdc2127a7a2b1db84c8659fb1c7 languageName: node linkType: hard @@ -19302,7 +17145,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.7": +"node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.7": version: 2.6.9 resolution: "node-fetch@npm:2.6.9" dependencies: @@ -19372,16 +17215,6 @@ __metadata: languageName: node linkType: hard -"node.extend@npm:^2.0.0": - version: 2.0.2 - resolution: "node.extend@npm:2.0.2" - dependencies: - has: ^1.0.3 - is: ^3.2.1 - checksum: 1fe3a1ca7fc35392f169c8a46d889d07deb201bba3a20d17df23efab509698c9639737b0c235c9be772a34035e749bae5d477f74c9e26a1b67c78bd7d6dce8e4 - languageName: node - linkType: hard - "nopt@npm:^5.0.0": version: 5.0.0 resolution: "nopt@npm:5.0.0" @@ -19578,13 +17411,6 @@ __metadata: languageName: node linkType: hard -"object-hash@npm:^3.0.0": - version: 3.0.0 - resolution: "object-hash@npm:3.0.0" - checksum: 80b4904bb3857c52cc1bfd0b52c0352532ca12ed3b8a6ff06a90cd209dfda1b95cee059a7625eb9da29537027f68ac4619363491eedb2f5d3dddbba97494fd6c - languageName: node - linkType: hard - "object-inspect@npm:^1.12.3, object-inspect@npm:^1.9.0": version: 1.12.3 resolution: "object-inspect@npm:1.12.3" @@ -19592,7 +17418,7 @@ __metadata: languageName: node linkType: hard -"object-is@npm:^1.0.1, object-is@npm:^1.1.5": +"object-is@npm:^1.1.5": version: 1.1.5 resolution: "object-is@npm:1.1.5" dependencies: @@ -19616,7 +17442,7 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.0, object.assign@npm:^4.1.3, object.assign@npm:^4.1.4": +"object.assign@npm:^4.1.3, object.assign@npm:^4.1.4": version: 4.1.4 resolution: "object.assign@npm:4.1.4" dependencies: @@ -19682,7 +17508,7 @@ __metadata: languageName: node linkType: hard -"on-finished@npm:2.4.1": +"on-finished@npm:2.4.1, on-finished@npm:^2.3.0": version: 2.4.1 resolution: "on-finished@npm:2.4.1" dependencies: @@ -19691,13 +17517,6 @@ __metadata: languageName: node linkType: hard -"on-headers@npm:~1.0.2": - version: 1.0.2 - resolution: "on-headers@npm:1.0.2" - checksum: 2bf13467215d1e540a62a75021e8b318a6cfc5d4fc53af8e8f84ad98dbcea02d506c6d24180cd62e1d769c44721ba542f3154effc1f7579a8288c9f7873ed8e5 - languageName: node - linkType: hard - "once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" @@ -19707,15 +17526,6 @@ __metadata: languageName: node linkType: hard -"once@npm:~1.3.0": - version: 1.3.3 - resolution: "once@npm:1.3.3" - dependencies: - wrappy: 1 - checksum: 8e832de08b1d73b470e01690c211cb4fcefccab1fd1bd19e706d572d74d3e9b7e38a8bfcdabdd364f9f868757d9e8e5812a59817dc473eaf698ff3bfae2219f2 - languageName: node - linkType: hard - "onetime@npm:^5.1.0, onetime@npm:^5.1.2": version: 5.1.2 resolution: "onetime@npm:5.1.2" @@ -19734,20 +17544,17 @@ __metadata: languageName: node linkType: hard -"oo-ascii-tree@npm:^1.79.0": - version: 1.80.0 - resolution: "oo-ascii-tree@npm:1.80.0" - checksum: 29cf9b38cef12ede8b973ef9cd5dd4d8c9c8742fc3978235d651d1a7ecb92453972ee5e8a9c6670f2e734bb9abbde16db96a39de22b47a2eebf1c6074c22e4eb +"only@npm:~0.0.2": + version: 0.0.2 + resolution: "only@npm:0.0.2" + checksum: d399710db867a1ef436dd3ce74499c87ece794aa81ab0370b5d153968766ee4aed2f98d3f92fc87c963e45b7a74d400d6f463ef651a5e7cfb861b15e88e9efe6 languageName: node linkType: hard -"open@npm:^7.0.3": - version: 7.4.2 - resolution: "open@npm:7.4.2" - dependencies: - is-docker: ^2.0.0 - is-wsl: ^2.1.1 - checksum: 3333900ec0e420d64c23b831bc3467e57031461d843c801f569b2204a1acc3cd7b3ec3c7897afc9dde86491dfa289708eb92bba164093d8bd88fb2c231843c91 +"oo-ascii-tree@npm:^1.79.0": + version: 1.79.0 + resolution: "oo-ascii-tree@npm:1.79.0" + checksum: 58ee3820a5e36168a5365abdc658b7f11810a584b67a5218b34663348a0c19cfe24bf929f05d104e627c35cb9e899ec789090146354afa4155f3f0076982e736 languageName: node linkType: hard @@ -19871,7 +17678,7 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^2.0.0, p-limit@npm:^2.2.0": +"p-limit@npm:^2.2.0": version: 2.3.0 resolution: "p-limit@npm:2.3.0" dependencies: @@ -19907,15 +17714,6 @@ __metadata: languageName: node linkType: hard -"p-locate@npm:^3.0.0": - version: 3.0.0 - resolution: "p-locate@npm:3.0.0" - dependencies: - p-limit: ^2.0.0 - checksum: 83991734a9854a05fe9dbb29f707ea8a0599391f52daac32b86f08e21415e857ffa60f0e120bfe7ce0cc4faf9274a50239c7895fc0d0579d08411e513b83a4ae - languageName: node - linkType: hard - "p-locate@npm:^4.1.0": version: 4.1.0 resolution: "p-locate@npm:4.1.0" @@ -20003,13 +17801,6 @@ __metadata: languageName: node linkType: hard -"packageurl-js@npm:^1.0.0": - version: 1.0.2 - resolution: "packageurl-js@npm:1.0.2" - checksum: a0d7ca869bea5321fe0f13b41e60a08683f26edfba730eec1591bfd0adea0cfa4b5c5a047207eaff27231028d218335fa486badedb792cf0eef3cb159b9d6c49 - languageName: node - linkType: hard - "pako@npm:^0.2.5, pako@npm:~0.2.0": version: 0.2.9 resolution: "pako@npm:0.2.9" @@ -20085,7 +17876,7 @@ __metadata: languageName: node linkType: hard -"parseurl@npm:~1.3.2, parseurl@npm:~1.3.3": +"parseurl@npm:^1.3.2, parseurl@npm:~1.3.3": version: 1.3.3 resolution: "parseurl@npm:1.3.3" checksum: 407cee8e0a3a4c5cd472559bca8b6a45b82c124e9a4703302326e9ab60fc1081442ada4e02628efef1eb16197ddc7f8822f5a91fd7d7c86b51f530aedb17dfa2 @@ -20159,12 +17950,12 @@ __metadata: linkType: hard "path-scurry@npm:^1.6.1": - version: 1.6.4 - resolution: "path-scurry@npm:1.6.4" + version: 1.6.3 + resolution: "path-scurry@npm:1.6.3" dependencies: - lru-cache: ^9.0.0 - minipass: ^5.0.0 - checksum: bd5262b51dc35b0d6f0b1d4fa4445789839982bd649904f18fe43717ecc3021d2313a80768b56cd0428f5ca50d740a6c609e747cd6a053efaa802e07eb5b7b18 + lru-cache: ^7.14.1 + minipass: ^4.0.2 + checksum: 814ebd7f8df717e2381dc707ba3a3ddf84d0a4f9d653036c7554cb1fea632d4d78eb17dd5f4c85111b78ba8b8c0a5b59c756645c9d343bdacacda4ba8d1626c2 languageName: node linkType: hard @@ -20276,7 +18067,7 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.0, picomatch@npm:^2.3.1": +"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 050c865ce81119c4822c45d3c84f1ced46f93a0126febae20737bd05ca20589c564d6e9226977df859ed5e03dc73f02584a2b0faad36e896936238238b0446cf @@ -20306,30 +18097,14 @@ __metadata: languageName: node linkType: hard -"pify@npm:^4.0.1": - version: 4.0.1 - resolution: "pify@npm:4.0.1" - checksum: 9c4e34278cb09987685fa5ef81499c82546c033713518f6441778fbec623fc708777fe8ac633097c72d88470d5963094076c7305cafc7ad340aae27cfacd856b - languageName: node - linkType: hard - -"pirates@npm:^4.0.1, pirates@npm:^4.0.4, pirates@npm:^4.0.5": +"pirates@npm:^4.0.1, pirates@npm:^4.0.4": version: 4.0.5 resolution: "pirates@npm:4.0.5" checksum: c9994e61b85260bec6c4fc0307016340d9b0c4f4b6550a957afaaff0c9b1ad58fbbea5cfcf083860a25cb27a375442e2b0edf52e2e1e40e69934e08dcc52d227 languageName: node linkType: hard -"pkg-dir@npm:^3.0.0": - version: 3.0.0 - resolution: "pkg-dir@npm:3.0.0" - dependencies: - find-up: ^3.0.0 - checksum: 70c9476ffefc77552cc6b1880176b71ad70bfac4f367604b2b04efd19337309a4eec985e94823271c7c0e83946fa5aeb18cd360d15d10a5d7533e19344bfa808 - languageName: node - linkType: hard - -"pkg-dir@npm:^4.1.0, pkg-dir@npm:^4.2.0": +"pkg-dir@npm:^4.2.0": version: 4.2.0 resolution: "pkg-dir@npm:4.2.0" dependencies: @@ -20338,15 +18113,6 @@ __metadata: languageName: node linkType: hard -"pkg-dir@npm:^5.0.0": - version: 5.0.0 - resolution: "pkg-dir@npm:5.0.0" - dependencies: - find-up: ^5.0.0 - checksum: b167bb8dac7bbf22b1d5e30ec223e6b064b84b63010c9d49384619a36734caf95ed23ad23d4f9bd975e8e8082b60a83395f43a89bb192df53a7c25a38ecb57d9 - languageName: node - linkType: hard - "pkg-types@npm:^1.0.2": version: 1.0.2 resolution: "pkg-types@npm:1.0.2" @@ -20367,13 +18133,6 @@ __metadata: languageName: node linkType: hard -"pluralize@npm:^7.0.0": - version: 7.0.0 - resolution: "pluralize@npm:7.0.0" - checksum: e3f694924b7c8c03dc9fa40b2312e17787998ac6e20fccace11efa1146046eb9931541bfd247b3ec5535e730d902a5aee7c32681d5bf9a00fc74a72039a3e609 - languageName: node - linkType: hard - "pluralize@npm:^8.0.0": version: 8.0.0 resolution: "pluralize@npm:8.0.0" @@ -20381,15 +18140,6 @@ __metadata: languageName: node linkType: hard -"polished@npm:^4.2.2": - version: 4.2.2 - resolution: "polished@npm:4.2.2" - dependencies: - "@babel/runtime": ^7.17.8 - checksum: 97fb927dc55cd34aeb11b31ae2a3332463f114351c86e8aa6580d7755864a0120164fdc3770e6160c8b1775052f0eda14db9a6e34402cd4b08ab2d658a593725 - languageName: node - linkType: hard - "postcss-discard-duplicates@npm:^5.1.0": version: 5.1.0 resolution: "postcss-discard-duplicates@npm:5.1.0" @@ -20422,38 +18172,16 @@ __metadata: resolution: "postcss-load-config@npm:4.0.1" dependencies: lilconfig: ^2.0.5 - yaml: ^2.1.1 - peerDependencies: - postcss: ">=8.0.9" - ts-node: ">=9.0.0" - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true - checksum: b61f890499ed7dcda1e36c20a9582b17d745bad5e2b2c7bc96942465e406bc43ae03f270c08e60d1e29dab1ee50cb26970b5eb20c9aae30e066e20bd607ae4e4 - languageName: node - linkType: hard - -"postcss-loader@npm:^7.2.4": - version: 7.2.4 - resolution: "postcss-loader@npm:7.2.4" - dependencies: - cosmiconfig: ^8.1.3 - cosmiconfig-typescript-loader: ^4.3.0 - klona: ^2.0.6 - semver: ^7.3.8 + yaml: ^2.1.1 peerDependencies: - postcss: ^7.0.0 || ^8.0.1 - ts-node: ">=10" - typescript: ">=4" - webpack: ^5.0.0 + postcss: ">=8.0.9" + ts-node: ">=9.0.0" peerDependenciesMeta: - ts-node: + postcss: optional: true - typescript: + ts-node: optional: true - checksum: d75de64f6629a2d76b1c1e9ad5022cae9b589472d8d091e21105d93a0f09a4c80f08fe10323d41ddf2fbda157910a03df3c538ce8fccf974b179d0762b408fa3 + checksum: b61f890499ed7dcda1e36c20a9582b17d745bad5e2b2c7bc96942465e406bc43ae03f270c08e60d1e29dab1ee50cb26970b5eb20c9aae30e066e20bd607ae4e4 languageName: node linkType: hard @@ -20547,7 +18275,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.2.14, postcss@npm:^8.4.14, postcss@npm:^8.4.19, postcss@npm:^8.4.21": +"postcss@npm:^8.4.14, postcss@npm:^8.4.19, postcss@npm:^8.4.21": version: 8.4.21 resolution: "postcss@npm:8.4.21" dependencies: @@ -20601,6 +18329,73 @@ __metadata: languageName: node linkType: hard +"prettier-plugin-astro@npm:^0.8.0": + version: 0.8.0 + resolution: "prettier-plugin-astro@npm:0.8.0" + dependencies: + "@astrojs/compiler": ^1.0.1 + prettier: ^2.8.3 + sass-formatter: ^0.7.5 + synckit: ^0.8.4 + checksum: 95551c59457cad020d74ea15830a06fb7ae51f7577f897127daae31e3d9b3f99081595ba1571925970f3d7a10d479b2ef37f2eef1c706c2569c590e64487c46e + languageName: node + linkType: hard + +"prettier-plugin-tailwindcss@npm:^0.2.6": + version: 0.2.6 + resolution: "prettier-plugin-tailwindcss@npm:0.2.6" + peerDependencies: + "@ianvs/prettier-plugin-sort-imports": "*" + "@prettier/plugin-php": "*" + "@prettier/plugin-pug": "*" + "@shopify/prettier-plugin-liquid": "*" + "@shufo/prettier-plugin-blade": "*" + "@trivago/prettier-plugin-sort-imports": "*" + prettier: ">=2.2.0" + prettier-plugin-astro: "*" + prettier-plugin-css-order: "*" + prettier-plugin-import-sort: "*" + prettier-plugin-jsdoc: "*" + prettier-plugin-organize-attributes: "*" + prettier-plugin-organize-imports: "*" + prettier-plugin-style-order: "*" + prettier-plugin-svelte: "*" + prettier-plugin-twig-melody: "*" + peerDependenciesMeta: + "@ianvs/prettier-plugin-sort-imports": + optional: true + "@prettier/plugin-php": + optional: true + "@prettier/plugin-pug": + optional: true + "@shopify/prettier-plugin-liquid": + optional: true + "@shufo/prettier-plugin-blade": + optional: true + "@trivago/prettier-plugin-sort-imports": + optional: true + prettier-plugin-astro: + optional: true + prettier-plugin-css-order: + optional: true + prettier-plugin-import-sort: + optional: true + prettier-plugin-jsdoc: + optional: true + prettier-plugin-organize-attributes: + optional: true + prettier-plugin-organize-imports: + optional: true + prettier-plugin-style-order: + optional: true + prettier-plugin-svelte: + optional: true + prettier-plugin-twig-melody: + optional: true + checksum: 5cda3cee9657ca67708f348829b168932c89f099fb1bec821afcb9f6e2c3bfdac9bae31cd2a38ecbe5548182093dd4072a8ba9857a25675e8616b35e1eb14ed2 + languageName: node + linkType: hard + "prettier@npm:2.7.1": version: 2.7.1 resolution: "prettier@npm:2.7.1" @@ -20610,7 +18405,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.8.0, prettier@npm:^2.8.7": +"prettier@npm:^2.8.3, prettier@npm:^2.8.7": version: 2.8.7 resolution: "prettier@npm:2.8.7" bin: @@ -20619,7 +18414,7 @@ __metadata: languageName: node linkType: hard -"pretty-bytes@npm:5.6.0, pretty-bytes@npm:^5.1.0": +"pretty-bytes@npm:5.6.0": version: 5.6.0 resolution: "pretty-bytes@npm:5.6.0" checksum: 9c082500d1e93434b5b291bd651662936b8bd6204ec9fa17d563116a192d6d86b98f6d328526b4e8d783c07d5499e2614a807520249692da9ec81564b2f439cd @@ -20660,13 +18455,6 @@ __metadata: languageName: node linkType: hard -"pretty-hrtime@npm:^1.0.3": - version: 1.0.3 - resolution: "pretty-hrtime@npm:1.0.3" - checksum: bae0e6832fe13c3de43d1a3d43df52bf6090499d74dc65a17f5552cb1a94f1f8019a23284ddf988c3c408a09678d743901e1d8f5b7a71bec31eeeac445bef371 - languageName: node - linkType: hard - "pretty-ms@npm:7.0.1, pretty-ms@npm:^7.0.1": version: 7.0.1 resolution: "pretty-ms@npm:7.0.1" @@ -20697,6 +18485,15 @@ __metadata: languageName: node linkType: hard +"prism-react-renderer@npm:^1.3.5": + version: 1.3.5 + resolution: "prism-react-renderer@npm:1.3.5" + peerDependencies: + react: ">=0.14.9" + checksum: c18806dcbc4c0b4fd6fd15bd06b4f7c0a6da98d93af235c3e970854994eb9b59e23315abb6cfc29e69da26d36709a47e25da85ab27fed81b6812f0a52caf6dfa + languageName: node + linkType: hard + "proc-log@npm:^3.0.0": version: 3.0.0 resolution: "proc-log@npm:3.0.0" @@ -20711,29 +18508,6 @@ __metadata: languageName: node linkType: hard -"process@npm:^0.11.10": - version: 0.11.10 - resolution: "process@npm:0.11.10" - checksum: bfcce49814f7d172a6e6a14d5fa3ac92cc3d0c3b9feb1279774708a719e19acd673995226351a082a9ae99978254e320ccda4240ddc474ba31a76c79491ca7c3 - languageName: node - linkType: hard - -"progress@npm:2.0.3, progress@npm:^2.0.1": - version: 2.0.3 - resolution: "progress@npm:2.0.3" - checksum: f67403fe7b34912148d9252cb7481266a354bd99ce82c835f79070643bb3c6583d10dbcfda4d41e04bbc1d8437e9af0fb1e1f2135727878f5308682a579429b7 - languageName: node - linkType: hard - -"promise-deferred@npm:^2.0.3": - version: 2.0.3 - resolution: "promise-deferred@npm:2.0.3" - dependencies: - promise: ^7.3.1 - checksum: 2e640ddd1e21da2543d66e589d6fa970eca8fa3a1e88629db3cd095cb77427536cdc426646bd092f6db05ff5e28e29f0ad87fb4e44d7529af9914e8e4b9e9899 - languageName: node - linkType: hard - "promise-inflight@npm:^1.0.1": version: 1.0.1 resolution: "promise-inflight@npm:1.0.1" @@ -20751,26 +18525,7 @@ __metadata: languageName: node linkType: hard -"promise@npm:^7.3.1": - version: 7.3.1 - resolution: "promise@npm:7.3.1" - dependencies: - asap: ~2.0.3 - checksum: 475bb069130179fbd27ed2ab45f26d8862376a137a57314cf53310bdd85cc986a826fd585829be97ebc0aaf10e9d8e68be1bfe5a4a0364144b1f9eedfa940cf1 - languageName: node - linkType: hard - -"promiseback@npm:^2.0.2": - version: 2.0.3 - resolution: "promiseback@npm:2.0.3" - dependencies: - is-callable: ^1.1.5 - promise-deferred: ^2.0.3 - checksum: c4d75176df643be766cd11fca2df38fac83e62a1c5a9e3d5c89acb4d32080ce7f14c74b6794e8ea1d15687edb88df60404882105a47e27aecfa7e45800f68464 - languageName: node - linkType: hard - -"prompts@npm:^2.0.1, prompts@npm:^2.4.0, prompts@npm:~2.4.2": +"prompts@npm:^2.0.1, prompts@npm:~2.4.2": version: 2.4.2 resolution: "prompts@npm:2.4.2" dependencies: @@ -20780,7 +18535,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.5.10, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": +"prop-types@npm:^15.5.10, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -20791,6 +18546,15 @@ __metadata: languageName: node linkType: hard +"property-information@npm:^5.0.0": + version: 5.6.0 + resolution: "property-information@npm:5.6.0" + dependencies: + xtend: ^4.0.0 + checksum: fcf87c6542e59a8bbe31ca0b3255a4a63ac1059b01b04469680288998bcfa97f341ca989566adbb63975f4d85339030b82320c324a511532d390910d1c583893 + languageName: node + linkType: hard + "property-information@npm:^6.0.0": version: 6.2.0 resolution: "property-information@npm:6.2.0" @@ -20928,10 +18692,9 @@ __metadata: linkType: hard "puppeteer-core@npm:^19.6.0": - version: 19.9.0 - resolution: "puppeteer-core@npm:19.9.0" + version: 19.8.1 + resolution: "puppeteer-core@npm:19.8.1" dependencies: - "@puppeteer/browsers": 0.4.1 chromium-bidi: 0.4.6 cross-fetch: 3.1.5 debug: 4.3.4 @@ -20947,25 +18710,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 4e76523c91856f9d4977183cb19e9917fa38103f235872e8fabfa904c8842561c5a62a15e6c07d4d90a6c65683cc4e045d2c0e9c6c466cb1091b9a8fba71b124 - languageName: node - linkType: hard - -"puppeteer-core@npm:^2.1.1": - version: 2.1.1 - resolution: "puppeteer-core@npm:2.1.1" - dependencies: - "@types/mime-types": ^2.1.0 - debug: ^4.1.0 - extract-zip: ^1.6.6 - https-proxy-agent: ^4.0.0 - mime: ^2.0.3 - mime-types: ^2.1.25 - progress: ^2.0.1 - proxy-from-env: ^1.0.0 - rimraf: ^2.6.1 - ws: ^6.1.0 - checksum: 2ddb597ef1b2d162b4aa49833b977734129edf7c8fa558fc38c59d273e79aa1bd079481c642de87f7163665f7f37aa52683da2716bafb7d3cab68c262c36ec28 + checksum: 83575735c35b2d7bc2e657c1ab5aa5e290b5bf4820163896d472d8eed49e11e0f0a9f7e218d7b673432b7d5fdbadda0e3fe2ffc163f744885c31265c05e1915a languageName: node linkType: hard @@ -20992,7 +18737,7 @@ __metadata: languageName: node linkType: hard -"qs@npm:^6.10.0, qs@npm:^6.11.0": +"qs@npm:^6.11.0": version: 6.11.1 resolution: "qs@npm:6.11.1" dependencies: @@ -21008,6 +18753,17 @@ __metadata: languageName: node linkType: hard +"query-string@npm:^8.1.0": + version: 8.1.0 + resolution: "query-string@npm:8.1.0" + dependencies: + decode-uri-component: ^0.4.1 + filter-obj: ^5.1.0 + split-on-first: ^3.0.0 + checksum: 16fe49ab714f2b802bd31bc417876a38a82cd49bea01c0d6c37ca3439604c774752c8c66f9eda5ee33c268de2fc2a65e0e0e27aa97d8d98159af5c1fc838a017 + languageName: node + linkType: hard + "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -21038,13 +18794,6 @@ __metadata: languageName: node linkType: hard -"ramda@npm:^0.28.0": - version: 0.28.0 - resolution: "ramda@npm:0.28.0" - checksum: 44ea6e5010bba70151b6a92d8114a91915e8b5a16105cce65fae58c9d7386b812c429645e35f21141d7087568550ce383bc10ee1a65cdec951f4b69ea457e6a4 - languageName: node - linkType: hard - "range-parser@npm:~1.2.1": version: 1.2.1 resolution: "range-parser@npm:1.2.1" @@ -21090,16 +18839,6 @@ __metadata: languageName: node linkType: hard -"react-colorful@npm:^5.1.2": - version: 5.6.1 - resolution: "react-colorful@npm:5.6.1" - peerDependencies: - react: ">=16.8.0" - react-dom: ">=16.8.0" - checksum: e432b7cb0df57e8f0bcdc3b012d2e93fcbcb6092c9e0f85654788d5ebfc4442536d8cc35b2418061ba3c4afb8b7788cc101c606d86a1732407921de7a9244c8d - languageName: node - linkType: hard - "react-custom-scrollbars-2@npm:^4.5.0": version: 4.5.0 resolution: "react-custom-scrollbars-2@npm:4.5.0" @@ -21114,35 +18853,6 @@ __metadata: languageName: node linkType: hard -"react-docgen-typescript@npm:^2.2.2": - version: 2.2.2 - resolution: "react-docgen-typescript@npm:2.2.2" - peerDependencies: - typescript: ">= 4.3.x" - checksum: a9826459ea44e818f21402728dd47f5cae60bd936574cefd4f90ad101ff3eebacd67b6e017b793309734ce62c037aa3072dbc855d2b0e29bad1a38cbf5bac115 - languageName: node - linkType: hard - -"react-docgen@npm:6.0.0-alpha.3": - version: 6.0.0-alpha.3 - resolution: "react-docgen@npm:6.0.0-alpha.3" - dependencies: - "@babel/core": ^7.7.5 - "@babel/generator": ^7.12.11 - ast-types: ^0.14.2 - commander: ^2.19.0 - doctrine: ^3.0.0 - estree-to-babel: ^3.1.0 - neo-async: ^2.6.1 - node-dir: ^0.1.10 - resolve: ^1.17.0 - strip-indent: ^3.0.0 - bin: - react-docgen: bin/react-docgen.js - checksum: db4c300910e2ef7b854ccf4f454bd701875b787d0bc0f444f89415223e7c288a5808d6cd0f7ef6346332c9de2d068d648bc801d16b6b07a1699c3e10670c4801 - languageName: node - linkType: hard - "react-dom@npm:^18.2.0": version: 18.2.0 resolution: "react-dom@npm:18.2.0" @@ -21155,21 +18865,27 @@ __metadata: languageName: node linkType: hard -"react-element-to-jsx-string@npm:^15.0.0": - version: 15.0.0 - resolution: "react-element-to-jsx-string@npm:15.0.0" - dependencies: - "@base2/pretty-print-object": 1.0.1 - is-plain-object: 5.0.0 - react-is: 18.1.0 +"react-frame-component@npm:^5.2.6": + version: 5.2.6 + resolution: "react-frame-component@npm:5.2.6" + peerDependencies: + prop-types: ^15.5.9 + react: ">= 16.3" + react-dom: ">= 16.3" + checksum: 6669a0acc1532b53e80b14688b06d64bfab88103a1e4377a386f4350a51d76494b48ac1b8f6818bd60ae2d37cce015314ce725d807be72e9fe9258e9303bb6ec + languageName: node + linkType: hard + +"react-icons@npm:^4.8.0": + version: 4.8.0 + resolution: "react-icons@npm:4.8.0" peerDependencies: - react: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0 - react-dom: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0 - checksum: c3907cc4c1d3e9ecc8ca7727058ebcba6ec89848d9e07bfd2c77ee8f28f1ad99bf55e38359dec8a1125de83d41ac09a2874f53c41415edc86ffa9840fa1b7856 + react: "*" + checksum: 4dbba7ad989c295b410e19b2a702722dae44368cb04b6515f9471353552f31ac80bd350f121d5bff79f81504b84039ede44d09e9f035f48bb1032e6eace126c4 languageName: node linkType: hard -"react-inspector@npm:^6.0.0": +"react-inspector@npm:^6.0.1": version: 6.0.1 resolution: "react-inspector@npm:6.0.1" peerDependencies: @@ -21178,13 +18894,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:18.1.0": - version: 18.1.0 - resolution: "react-is@npm:18.1.0" - checksum: d206a0fe6790851bff168727bfb896de02c5591695afb0c441163e8630136a3e13ee1a7ddd59fdccddcc93968b4721ae112c10f790b194b03b35a3dc13a355ef - languageName: node - linkType: hard - "react-is@npm:^16.13.1": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -21399,7 +19108,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.6, readable-stream@npm:^2.2.2, readable-stream@npm:~2.3.6": +"readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.6, readable-stream@npm:~2.3.6": version: 2.3.8 resolution: "readable-stream@npm:2.3.8" dependencies: @@ -21432,7 +19141,7 @@ __metadata: languageName: node linkType: hard -"recast@npm:^0.21.0, recast@npm:^0.21.5": +"recast@npm:^0.21.5": version: 0.21.5 resolution: "recast@npm:0.21.5" dependencies: @@ -21444,19 +19153,6 @@ __metadata: languageName: node linkType: hard -"recast@npm:^0.23.1": - version: 0.23.1 - resolution: "recast@npm:0.23.1" - dependencies: - assert: ^2.0.0 - ast-types: ^0.16.1 - esprima: ~4.0.0 - source-map: ~0.6.1 - tslib: ^2.0.1 - checksum: 6e9cdf127df94ffb2cd2f666b8cf990992b8543b07d6117799410fa41bf3ff408cbbf30f38149a89a3db7ed2e4b3584ea4744414f8869367f7a888c644677a80 - languageName: node - linkType: hard - "rechoir@npm:^0.6.2": version: 0.6.2 resolution: "rechoir@npm:0.6.2" @@ -21573,13 +19269,6 @@ __metadata: languageName: node linkType: hard -"regex-parser@npm:^2.2.11": - version: 2.2.11 - resolution: "regex-parser@npm:2.2.11" - checksum: 78200331ec0cc372302d287a4946c38681eb5fe435453fca572cb53cac0ba579e5eb3b9e25eac24c0c80a555fb3ea7a637814a35da1e9bc88e8819110ae5de24 - languageName: node - linkType: hard - "regexp-tree@npm:^0.1.24, regexp-tree@npm:~0.1.1": version: 0.1.24 resolution: "regexp-tree@npm:0.1.24" @@ -21647,14 +19336,14 @@ __metadata: languageName: node linkType: hard -"rehype-ignore@npm:^1.0.5": - version: 1.0.5 - resolution: "rehype-ignore@npm:1.0.5" +"rehype-ignore@npm:^1.0.4": + version: 1.0.4 + resolution: "rehype-ignore@npm:1.0.4" dependencies: - hast-util-select: ^5.0.5 - unified: ^10.1.2 - unist-util-visit: ^4.1.2 - checksum: 19439e9283b8fc72338c75d2f9cf2fc148f5544778ddf8f4cfe109faa25f7385c25f3fb492956730e8e4cae6ba0d471cae84383489cc1ecadc7bbda703c94a95 + hast-util-select: ~5.0.1 + unified: ~10.1.2 + unist-util-visit: ~4.1.0 + checksum: 3cfba4120acb20c9e40840435e048e1eda84a0f20082f9ad2786470da87bcc81876341c435fd793080cc4ce6533926279ca6b8b98c263f4716219a0002eaa01f languageName: node linkType: hard @@ -21695,19 +19384,6 @@ __metadata: languageName: node linkType: hard -"remark-external-links@npm:^8.0.0": - version: 8.0.0 - resolution: "remark-external-links@npm:8.0.0" - dependencies: - extend: ^3.0.0 - is-absolute-url: ^3.0.0 - mdast-util-definitions: ^4.0.0 - space-separated-tokens: ^1.0.0 - unist-util-visit: ^2.0.0 - checksum: 48c4a41fe38916f79febb390b0c4deefe82b554dd36dc534262d851860d17fb6d15d78d515f29194e5fa48db5f01f4405a6f6dd077aaf32812a2efffb01700d7 - languageName: node - linkType: hard - "remark-frontmatter@npm:4.0.1, remark-frontmatter@npm:^4.0.1": version: 4.0.1 resolution: "remark-frontmatter@npm:4.0.1" @@ -21777,6 +19453,15 @@ __metadata: languageName: node linkType: hard +"remark-rehype@npm:^8.1.0": + version: 8.1.0 + resolution: "remark-rehype@npm:8.1.0" + dependencies: + mdast-util-to-hast: ^10.2.0 + checksum: e1152464cfa83c14b570b1cb85eb9b3667795b5bed2f6b16d1c6e96c369816b07945a3c04eb0e1fd57a19cc1837969527d0056d5b6d179f1290688db2a7e2c5f + languageName: node + linkType: hard + "remark-rehype@npm:^9.0.0": version: 9.1.0 resolution: "remark-rehype@npm:9.1.0" @@ -21789,17 +19474,6 @@ __metadata: languageName: node linkType: hard -"remark-slug@npm:^6.0.0": - version: 6.1.0 - resolution: "remark-slug@npm:6.1.0" - dependencies: - github-slugger: ^1.0.0 - mdast-util-to-string: ^1.0.0 - unist-util-visit: ^2.0.0 - checksum: 81fff0dcfaf6d6117ef1293bb1d26c3e25483d99c65c22434298eed93583a89ea5d7b94063d9a7f47c0647a708ce84f00ff62d274503f248feec03c344cabb20 - languageName: node - linkType: hard - "repeat-string@npm:^1.6.1": version: 1.6.1 resolution: "repeat-string@npm:1.6.1" @@ -21863,7 +19537,7 @@ __metadata: languageName: node linkType: hard -"requireindex@npm:^1.1.0, requireindex@npm:~1.2.0": +"requireindex@npm:~1.2.0": version: 1.2.0 resolution: "requireindex@npm:1.2.0" checksum: 50d8b10a1ff1fdf6aea7a1870bc7bd238b0fb1917d8d7ca17fd03afc38a65dcd7a8a4eddd031f89128b5f0065833d5c92c4fef67f2c04e8624057fe626c9cf94 @@ -21925,19 +19599,6 @@ __metadata: languageName: node linkType: hard -"resolve-url-loader@npm:^5.0.0": - version: 5.0.0 - resolution: "resolve-url-loader@npm:5.0.0" - dependencies: - adjust-sourcemap-loader: ^4.0.0 - convert-source-map: ^1.7.0 - loader-utils: ^2.0.0 - postcss: ^8.2.14 - source-map: 0.6.1 - checksum: 6d483733a4c26f75ce930a61943113bf730b5ba33a7186791cf1ae9c2ca02c3e94610bc6484ca008a372ee9e31750eccea74856a89daf1a29b8437ff564d27f2 - languageName: node - linkType: hard - "resolve.exports@npm:^2.0.0": version: 2.0.2 resolution: "resolve.exports@npm:2.0.2" @@ -21945,16 +19606,16 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2, resolve@npm:~1.22.1": - version: 1.22.2 - resolution: "resolve@npm:1.22.2" +"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2, resolve@npm:~1.22.1": + version: 1.22.1 + resolution: "resolve@npm:1.22.1" dependencies: - is-core-module: ^2.11.0 + is-core-module: ^2.9.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: 7e5df75796ebd429445d102d5824482ee7e567f0070b2b45897b29bb4f613dcbc262e0257b8aeedb3089330ccaea0d6a0464df1a77b2992cf331dcda0f4cb549 + checksum: 07af5fc1e81aa1d866cbc9e9460fbb67318a10fa3c4deadc35c3ad8a898ee9a71a86a65e4755ac3195e0ea0cfbe201eb323ebe655ce90526fd61917313a34e4e languageName: node linkType: hard @@ -21981,16 +19642,16 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.17.0#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin, resolve@patch:resolve@~1.22.1#~builtin": - version: 1.22.2 - resolution: "resolve@patch:resolve@npm%3A1.22.2#~builtin::version=1.22.2&hash=c3c19d" +"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin, resolve@patch:resolve@~1.22.1#~builtin": + version: 1.22.1 + resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=c3c19d" dependencies: - is-core-module: ^2.11.0 + is-core-module: ^2.9.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: 66cc788f13b8398de18eb4abb3aed90435c84bb8935953feafcf7231ba4cd191b2c10b4a87b1e9681afc34fb138c705f91f7330ff90bfa36f457e5584076a2b8 + checksum: 5656f4d0bedcf8eb52685c1abdf8fbe73a1603bb1160a24d716e27a57f6cecbe2432ff9c89c2bd57542c3a7b9d14b1882b73bfe2e9d7849c9a4c0b8b39f02b8b languageName: node linkType: hard @@ -22057,7 +19718,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:2, rimraf@npm:^2.6.1": +"rimraf@npm:2": version: 2.7.1 resolution: "rimraf@npm:2.7.1" dependencies: @@ -22079,17 +19740,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:~2.6.2": - version: 2.6.3 - resolution: "rimraf@npm:2.6.3" - dependencies: - glob: ^7.1.3 - bin: - rimraf: ./bin.js - checksum: 3ea587b981a19016297edb96d1ffe48af7e6af69660e3b371dbfc73722a73a0b0e9be5c88089fbeeb866c389c1098e07f64929c7414290504b855f54f901ab10 - languageName: node - linkType: hard - "robots-parser@npm:^3.0.0": version: 3.0.1 resolution: "robots-parser@npm:3.0.1" @@ -22126,7 +19776,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^2.25.0 || ^3.3.0, rollup@npm:^3.18.0, rollup@npm:^3.2.5": +"rollup@npm:^3.18.0, rollup@npm:^3.2.5": version: 3.20.2 resolution: "rollup@npm:3.20.2" dependencies: @@ -22191,6 +19841,13 @@ __metadata: languageName: node linkType: hard +"s.color@npm:0.0.15": + version: 0.0.15 + resolution: "s.color@npm:0.0.15" + checksum: 28fc4896e446acc4a32c4146196493bc393b50990b5c17397cbb04b44e027db600ce5d1b241ba5f4619446f8523951cba22ae5abe19ce0b7e70e1533cde1f122 + languageName: node + linkType: hard + "sade@npm:^1.7.3": version: 1.8.1 resolution: "sade@npm:1.8.1" @@ -22200,27 +19857,20 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:5.1.1": - version: 5.1.1 - resolution: "safe-buffer@npm:5.1.1" - checksum: 7f117b604554c9daca713be76cecc6c52932ed1dd6303638274f21319038bfd760fbfd353e526cc83f11894935bc4beb71f5b7b9478c11bf9718c0e0d94c51cb +"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0": + version: 5.2.1 + resolution: "safe-buffer@npm:5.2.1" + checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491 languageName: node linkType: hard -"safe-buffer@npm:5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": +"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": version: 5.1.2 resolution: "safe-buffer@npm:5.1.2" checksum: f2f1f7943ca44a594893a852894055cf619c1fbcb611237fc39e461ae751187e7baf4dc391a72125e0ac4fb2d8c5c0b3c71529622e6a58f46b960211e704903c languageName: node linkType: hard -"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0": - version: 5.2.1 - resolution: "safe-buffer@npm:5.2.1" - checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491 - languageName: node - linkType: hard - "safe-regex-test@npm:^1.0.0": version: 1.0.0 resolution: "safe-regex-test@npm:1.0.0" @@ -22248,34 +19898,18 @@ __metadata: languageName: node linkType: hard -"sass-loader@npm:^13.2.2": - version: 13.2.2 - resolution: "sass-loader@npm:13.2.2" +"sass-formatter@npm:^0.7.5": + version: 0.7.6 + resolution: "sass-formatter@npm:0.7.6" dependencies: - klona: ^2.0.6 - neo-async: ^2.6.2 - peerDependencies: - fibers: ">= 3.1.0" - node-sass: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 - sass: ^1.3.0 - sass-embedded: "*" - webpack: ^5.0.0 - peerDependenciesMeta: - fibers: - optional: true - node-sass: - optional: true - sass: - optional: true - sass-embedded: - optional: true - checksum: 0368e4eaa4e2109bb6c6b6bc7dbfb9d8e412a0ab965f98672d336e84bd103575a1551cfe98395f20335b350f2a94e67f7c816cc8e3f4ab85147a1c1221e22fd8 + suf-log: ^2.5.3 + checksum: 2c123f7c75d8614fd951c82d1376d4897ea676a87f2bc82a5c9cb8d0c8572662d79f6605e6af6f6339d3d44a95d78f62c6e8bec6ec77db8712839e41cc2fd5ee languageName: node linkType: hard -"satori@npm:0.4.8": - version: 0.4.8 - resolution: "satori@npm:0.4.8" +"satori@npm:0.4.4": + version: 0.4.4 + resolution: "satori@npm:0.4.4" dependencies: "@shuding/opentype.js": 1.4.0-beta.0 css-background-parser: ^0.1.0 @@ -22285,7 +19919,7 @@ __metadata: linebreak: ^1.1.0 postcss-value-parser: ^4.2.0 yoga-wasm-web: ^0.3.3 - checksum: c1d2bd7087850f8b849774e50584b86246719770a2a953771b8f5338427606b3890f87fcede52f80dbb14576a5d2d08fa0ba5ccde15e78a82e3f507c87688c11 + checksum: 749f3afd10e21d40a720d24186042f741072e8f7ed567541672da35302eac63f31e53da4f7d6db7da87e82dbb79146ac03fc9d29b5fd1ec7b199bd5d4701cb57 languageName: node linkType: hard @@ -22315,18 +19949,18 @@ __metadata: languageName: node linkType: hard -"semver@npm:2 >=2.2.1 || 3.x || 4 || 5 || 7, semver@npm:^7.0.0, semver@npm:^7.1.2, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.7, semver@npm:^7.3.8": - version: 7.4.0 - resolution: "semver@npm:7.4.0" +"semver@npm:2 >=2.2.1 || 3.x || 4 || 5 || 7, semver@npm:7.3.8, semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:~7.3.0": + version: 7.3.8 + resolution: "semver@npm:7.3.8" dependencies: lru-cache: ^6.0.0 bin: semver: bin/semver.js - checksum: debf7f4d6fa36fdc5ef82bd7fc3603b6412165c8a3963a30be0c45a587be1a49e7681e80aa109da1875765741af24edc6e021cee1ba16ae96f649d06c5df296d + checksum: ba9c7cbbf2b7884696523450a61fee1a09930d888b7a8d7579025ad93d459b2d1949ee5bbfeb188b2be5f4ac163544c5e98491ad6152df34154feebc2cc337c1 languageName: node linkType: hard -"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.3.0, semver@npm:^5.6.0": +"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.3.0": version: 5.7.1 resolution: "semver@npm:5.7.1" bin: @@ -22344,17 +19978,6 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.3.8, semver@npm:~7.3.0": - version: 7.3.8 - resolution: "semver@npm:7.3.8" - dependencies: - lru-cache: ^6.0.0 - bin: - semver: bin/semver.js - checksum: ba9c7cbbf2b7884696523450a61fee1a09930d888b7a8d7579025ad93d459b2d1949ee5bbfeb188b2be5f4ac163544c5e98491ad6152df34154feebc2cc337c1 - languageName: node - linkType: hard - "semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.2.0, semver@npm:^6.3.0": version: 6.3.0 resolution: "semver@npm:6.3.0" @@ -22364,15 +19987,6 @@ __metadata: languageName: node linkType: hard -"semver@npm:~7.0.0": - version: 7.0.0 - resolution: "semver@npm:7.0.0" - bin: - semver: bin/semver.js - checksum: 272c11bf8d083274ef79fe40a81c55c184dff84dd58e3c325299d0927ba48cece1f020793d138382b85f89bab5002a35a5ba59a3a68a7eebbb597eb733838778 - languageName: node - linkType: hard - "send@npm:0.18.0": version: 0.18.0 resolution: "send@npm:0.18.0" @@ -22394,19 +20008,6 @@ __metadata: languageName: node linkType: hard -"serve-favicon@npm:^2.5.0": - version: 2.5.0 - resolution: "serve-favicon@npm:2.5.0" - dependencies: - etag: ~1.8.1 - fresh: 0.5.2 - ms: 2.1.1 - parseurl: ~1.3.2 - safe-buffer: 5.1.1 - checksum: f4dd0fbee3b7e18d0a27ba6ba01d2f585f23f533010c9e8c74aad74615b19b12d8fbe714f14cb3579803f0bacecd67cdc858714cb56c6e28f8dd07ccc997aea4 - languageName: node - linkType: hard - "serve-static@npm:1.15.0": version: 1.15.0 resolution: "serve-static@npm:1.15.0" @@ -22454,15 +20055,6 @@ __metadata: languageName: node linkType: hard -"shallow-clone@npm:^3.0.0": - version: 3.0.1 - resolution: "shallow-clone@npm:3.0.1" - dependencies: - kind-of: ^6.0.2 - checksum: 39b3dd9630a774aba288a680e7d2901f5c0eae7b8387fc5c8ea559918b29b3da144b7bdb990d7ccd9e11be05508ac9e459ce51d01fd65e583282f6ffafcba2e7 - languageName: node - linkType: hard - "sharp@npm:^0.32.0": version: 0.32.0 resolution: "sharp@npm:0.32.0" @@ -22497,13 +20089,13 @@ __metadata: linkType: hard "shell-quote@npm:^1.8.0": - version: 1.8.1 - resolution: "shell-quote@npm:1.8.1" - checksum: 5f01201f4ef504d4c6a9d0d283fa17075f6770bfbe4c5850b074974c68062f37929ca61700d95ad2ac8822e14e8c4b990ca0e6e9272e64befd74ce5e19f0736b + version: 1.8.0 + resolution: "shell-quote@npm:1.8.0" + checksum: 6ef7c5e308b9c77eedded882653a132214fa98b4a1512bb507588cf6cd2fc78bfee73e945d0c3211af028a1eabe09c6a19b96edd8977dc149810797e93809749 languageName: node linkType: hard -"shelljs@npm:^0.8.3, shelljs@npm:^0.8.5": +"shelljs@npm:^0.8.3": version: 0.8.5 resolution: "shelljs@npm:0.8.5" dependencies: @@ -22591,15 +20183,6 @@ __metadata: languageName: node linkType: hard -"simple-update-notifier@npm:^1.0.0": - version: 1.1.0 - resolution: "simple-update-notifier@npm:1.1.0" - dependencies: - semver: ~7.0.0 - checksum: 1012e9b6c504e559a948078177b3eedbb9d7e4d15878e2bda56314d08db609ca5da485be4ac9f838759faae8057935ee0246fcdf63f1233c86bd9fecb2a5544b - languageName: node - linkType: hard - "sirv@npm:^1.0.7": version: 1.0.19 resolution: "sirv@npm:1.0.19" @@ -22689,43 +20272,6 @@ __metadata: languageName: node linkType: hard -"snyk-config@npm:^5.0.0": - version: 5.1.0 - resolution: "snyk-config@npm:5.1.0" - dependencies: - async: ^3.2.0 - debug: ^4.1.1 - lodash.merge: ^4.6.2 - minimist: ^1.2.5 - checksum: 41b4e6faf76a8f5ad7565889bb4a41067ff06640fa2042c1f9726b99a28ab510cf6d56fdc985c4c0e321f8e2e4487f73b86e631653b8c4b2ff8866f628003a02 - languageName: node - linkType: hard - -"snyk-nodejs-lockfile-parser@npm:^1.47.4": - version: 1.48.3 - resolution: "snyk-nodejs-lockfile-parser@npm:1.48.3" - dependencies: - "@snyk/dep-graph": ^2.3.0 - "@snyk/graphlib": 2.1.9-patch.3 - "@yarnpkg/core": ^2.4.0 - "@yarnpkg/lockfile": ^1.1.0 - event-loop-spinner: ^2.0.0 - js-yaml: ^4.1.0 - lodash.clonedeep: ^4.5.0 - lodash.flatmap: ^4.5.0 - lodash.isempty: ^4.4.0 - lodash.topairs: ^4.3.0 - micromatch: ^4.0.5 - semver: ^7.3.5 - snyk-config: ^5.0.0 - tslib: ^1.9.3 - uuid: ^8.3.0 - bin: - parse-nodejs-lockfile: bin/index.js - checksum: ad8b5b9429aad880aee9d992adf40c8d28a44c587609d7ebfa0076ffdd41fdcb47d3dedda7b1fee37e23e574d7531273ec35c60a1910f0f135f236f854b8ef2b - languageName: node - linkType: hard - "socks-proxy-agent@npm:5, socks-proxy-agent@npm:^5.0.0": version: 5.0.1 resolution: "socks-proxy-agent@npm:5.0.1" @@ -22808,7 +20354,7 @@ __metadata: languageName: node linkType: hard -"source-map-support@npm:^0.5.16, source-map-support@npm:^0.5.21": +"source-map-support@npm:^0.5.21": version: 0.5.21 resolution: "source-map-support@npm:0.5.21" dependencies: @@ -22825,13 +20371,6 @@ __metadata: languageName: node linkType: hard -"source-map@npm:0.6.1, source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1": - version: 0.6.1 - resolution: "source-map@npm:0.6.1" - checksum: 59ce8640cf3f3124f64ac289012c2b8bd377c238e316fb323ea22fbfe83da07d81e000071d7242cad7a23cd91c7de98e4df8830ec3f133cb6133a5f6e9f67bc2 - languageName: node - linkType: hard - "source-map@npm:0.8.0-beta.0": version: 0.8.0-beta.0 resolution: "source-map@npm:0.8.0-beta.0" @@ -22841,7 +20380,14 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.7.0, source-map@npm:^0.7.3": +"source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1": + version: 0.6.1 + resolution: "source-map@npm:0.6.1" + checksum: 59ce8640cf3f3124f64ac289012c2b8bd377c238e316fb323ea22fbfe83da07d81e000071d7242cad7a23cd91c7de98e4df8830ec3f133cb6133a5f6e9f67bc2 + languageName: node + linkType: hard + +"source-map@npm:^0.7.0, source-map@npm:^0.7.3, source-map@npm:^0.7.4": version: 0.7.4 resolution: "source-map@npm:0.7.4" checksum: 01cc5a74b1f0e1d626a58d36ad6898ea820567e87f18dfc9d24a9843a351aaa2ec09b87422589906d6ff1deed29693e176194dc88bcae7c9a852dc74b311dbf5 @@ -22921,6 +20467,13 @@ __metadata: languageName: node linkType: hard +"split-on-first@npm:^3.0.0": + version: 3.0.0 + resolution: "split-on-first@npm:3.0.0" + checksum: 75dc27ecbac65cfbeab9a3b90cf046307220192d3d7a30e46aa0f19571cc9b4802aac813f3de2cc9b16f2e46aae72f275659b5d2614bb5369c77724d739e5f73 + languageName: node + linkType: hard + "split2@npm:^3.0.0": version: 3.2.2 resolution: "split2@npm:3.2.2" @@ -22968,11 +20521,11 @@ __metadata: linkType: hard "ssri@npm:^10.0.0": - version: 10.0.3 - resolution: "ssri@npm:10.0.3" + version: 10.0.1 + resolution: "ssri@npm:10.0.1" dependencies: minipass: ^4.0.0 - checksum: 1a8d0ad28325a0146e67348e15d1455ab71b8356e5e95beac453ab5ec361555309496c1770d67010ee0c150d8abef7866b9001cbc36b6477e96772382914ec85 + checksum: f35b147e5e16a3e1c8e3f71a4aaf5b1f7a9eb5559acbba21213c8171827921cecf56d3570118da7ade124776d25ed17d5e4c80eccbb2a083b17ce36dd24c3e5e languageName: node linkType: hard @@ -23061,7 +20614,14 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.3.1, std-env@npm:^3.3.2": +"statuses@npm:>= 1.5.0 < 2, statuses@npm:^1.5.0": + version: 1.5.0 + resolution: "statuses@npm:1.5.0" + checksum: c469b9519de16a4bb19600205cffb39ee471a5f17b82589757ca7bd40a8d92ebb6ed9f98b5a540c5d302ccbc78f15dc03cc0280dd6e00df1335568a5d5758a5c + languageName: node + linkType: hard + +"std-env@npm:^3.3.1": version: 3.3.2 resolution: "std-env@npm:3.3.2" checksum: c02256bb041ba1870d23f8360bc7e47a9cf1fabcd02c8b7c4246d48f2c6bb47b4f45c70964348844e6d36521df84c4a9d09d468654b51e0eb5c600e3392b4570 @@ -23077,32 +20637,6 @@ __metadata: languageName: node linkType: hard -"store2@npm:^2.14.2": - version: 2.14.2 - resolution: "store2@npm:2.14.2" - checksum: 6f270fc5bab99b63f45fcc7bd8b99c2714b4adf880f557ed7ffb5ed3987131251165bccde425a00928aaf044870aee79ddeef548576d093c68703ed2edec45d7 - languageName: node - linkType: hard - -"storybook@npm:^7.0.4": - version: 7.0.4 - resolution: "storybook@npm:7.0.4" - dependencies: - "@storybook/cli": 7.0.4 - bin: - sb: index.js - storybook: index.js - checksum: 36c6c6549f231e7829dc6515d77a18b44da6ae63d104c9b17b694743216823ea0453e92c170c2734281fa154058570cd3ae6b03e77e3653b7d6c3f87a7cafc16 - languageName: node - linkType: hard - -"stream-buffers@npm:^3.0.2": - version: 3.0.2 - resolution: "stream-buffers@npm:3.0.2" - checksum: b09fdeea606e3113ebd0e07010ed0cf038608fa396130add9e45deaff5cc3ba845dc25c31ad24f8341f85907846344cb7c85f75ea52c6572e2ac646e9b6072d0 - languageName: node - linkType: hard - "stream-connect@npm:^1.0.2": version: 1.0.2 resolution: "stream-connect@npm:1.0.2" @@ -23119,26 +20653,6 @@ __metadata: languageName: node linkType: hard -"stream-to-array@npm:~2.3.0": - version: 2.3.0 - resolution: "stream-to-array@npm:2.3.0" - dependencies: - any-promise: ^1.1.0 - checksum: 7feaf63b38399b850615e6ffcaa951e96e4c8f46745dbce4b553a94c5dc43966933813747014935a3ff97793e7f30a65270bde19f82b2932871a1879229a77cf - languageName: node - linkType: hard - -"stream-to-promise@npm:^2.2.0": - version: 2.2.0 - resolution: "stream-to-promise@npm:2.2.0" - dependencies: - any-promise: ~1.3.0 - end-of-stream: ~1.1.0 - stream-to-array: ~2.3.0 - checksum: 2c9ddb69c34d10ad27eb06197abc93fd1b1cd5f9597ead28ade4d6c57f4110d948a2ef14530f2f7b3b967f74f3554b57c38a4501b72a13b27fc8745bd7190d1d - languageName: node - linkType: hard - "stream-via@npm:^1.0.4": version: 1.0.4 resolution: "stream-via@npm:1.0.4" @@ -23188,7 +20702,7 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": +"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -23199,7 +20713,7 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^5.0.0": +"string-width@npm:^5.0.0, string-width@npm:^5.0.1, string-width@npm:^5.1.2": version: 5.1.2 resolution: "string-width@npm:5.1.2" dependencies: @@ -23388,7 +20902,7 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:^3.0.1, strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1, strip-json-comments@npm:~3.1.1": +"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1, strip-json-comments@npm:~3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: 492f73e27268f9b1c122733f28ecb0e7e8d8a531a6662efbd08e22cccb3f9475e90a1b82cab06a392f6afae6d2de636f977e231296400d0ec5304ba70f166443 @@ -23414,12 +20928,12 @@ __metadata: languageName: node linkType: hard -"style-loader@npm:^3.3.2": - version: 3.3.2 - resolution: "style-loader@npm:3.3.2" - peerDependencies: - webpack: ^5.0.0 - checksum: 5ee5ce2dc885369eccb55d429376e83d02570d473ac5edeb69fd65ee894847f1e51429cf078351f617bd04516ece8a1dd967f9f40464bd8fa76d903c6b2a6f08 +"style-to-object@npm:^0.3.0": + version: 0.3.0 + resolution: "style-to-object@npm:0.3.0" + dependencies: + inline-style-parser: 0.1.1 + checksum: 4d7084015207f2a606dfc10c29cb5ba569f2fe8005551df7396110dd694d6ff650f2debafa95bd5d147dfb4ca50f57868e2a7f91bf5d11ef734fe7ccbd7abf59 languageName: node linkType: hard @@ -23456,10 +20970,9 @@ __metadata: linkType: hard "sucrase@npm:^3.20.3": - version: 3.32.0 - resolution: "sucrase@npm:3.32.0" + version: 3.31.0 + resolution: "sucrase@npm:3.31.0" dependencies: - "@jridgewell/gen-mapping": ^0.3.2 commander: ^4.0.0 glob: 7.1.6 lines-and-columns: ^1.1.6 @@ -23469,7 +20982,16 @@ __metadata: bin: sucrase: bin/sucrase sucrase-node: bin/sucrase-node - checksum: 79f760aef513adcf22b882d43100296a8afa7f307acef3e8803304b763484cf138a3e2cebc498a6791110ab20c7b8deba097f6ce82f812ca8f1723e3440e5c95 + checksum: 333990b1bca57acc010ae07c763dddfd34f01fd38afe9e53cf43f4a5096bd7a66f924fed65770288fba475f914f3aa5277cc4490ed9e74c50b4cea7f147e9e63 + languageName: node + linkType: hard + +"suf-log@npm:^2.5.3": + version: 2.5.3 + resolution: "suf-log@npm:2.5.3" + dependencies: + s.color: 0.0.15 + checksum: 0545466dda882c6410857346640b0af46cb876951d4a5a5a2ff4be1910abf5bba73fb5d6bf72f72f2c7a0b8a96b1f2275553f2bcfefd25b98981549d492965ee languageName: node linkType: hard @@ -23552,25 +21074,18 @@ __metadata: languageName: node linkType: hard -"swr@npm:^2.1.3": - version: 2.1.3 - resolution: "swr@npm:2.1.3" +"swr@npm:^2.1.2": + version: 2.1.2 + resolution: "swr@npm:2.1.2" dependencies: use-sync-external-store: ^1.2.0 peerDependencies: react: ^16.11.0 || ^17.0.0 || ^18.0.0 - checksum: e983f5bd58d1564b86ebdf6117173b16d6e9368df06a7d1ff7c2f73900f1f90c877887b88bbb4c4ee70ff1c06cc272a4d0ca9190bbf1a328e57d13e4168e14ef + checksum: 90010a1a1ba3ecd699f64ef5e3de9a40c291e220803e811c46fabb858d908fd74039f4a2c668cf8fd21dbb3f9d9b3d8300915292ed9933d0e4bdac1193ba8fb8 languageName: node linkType: hard -"synchronous-promise@npm:^2.0.15": - version: 2.0.17 - resolution: "synchronous-promise@npm:2.0.17" - checksum: 7b1342c93741f3f92ebde1edf5d6ce8dde2278de948d84e9bd85e232c16c0d77c90c4940f9975be3effcb20f047cfb0f16fa311c3b4e092c22f3bf2889fb0fb4 - languageName: node - linkType: hard - -"synckit@npm:^0.8.0, synckit@npm:^0.8.5": +"synckit@npm:^0.8.0, synckit@npm:^0.8.4": version: 0.8.5 resolution: "synckit@npm:0.8.5" dependencies: @@ -23605,7 +21120,7 @@ __metadata: languageName: node linkType: hard -"tar-stream@npm:^2.0.1, tar-stream@npm:^2.1.4": +"tar-stream@npm:^2.1.4": version: 2.2.0 resolution: "tar-stream@npm:2.2.0" dependencies: @@ -23618,7 +21133,7 @@ __metadata: languageName: node linkType: hard -"tar@npm:^6.0.2, tar@npm:^6.1.11, tar@npm:^6.1.13, tar@npm:^6.1.2": +"tar@npm:^6.0.2, tar@npm:^6.1.11, tar@npm:^6.1.2": version: 6.1.13 resolution: "tar@npm:6.1.13" dependencies: @@ -23632,15 +21147,6 @@ __metadata: languageName: node linkType: hard -"telejson@npm:^7.0.3": - version: 7.1.0 - resolution: "telejson@npm:7.1.0" - dependencies: - memoizerific: ^1.11.3 - checksum: 8000e43dc862a87ab1ca342a2635641923d55c2585f85ea8c7c60293681d6f920e8b9570cc12d90ecef286f065c176da5f769f42f4828ba18a626627bed1ac07 - languageName: node - linkType: hard - "temp-dir@npm:^2.0.0": version: 2.0.0 resolution: "temp-dir@npm:2.0.0" @@ -23655,15 +21161,6 @@ __metadata: languageName: node linkType: hard -"temp@npm:^0.8.4": - version: 0.8.4 - resolution: "temp@npm:0.8.4" - dependencies: - rimraf: ~2.6.2 - checksum: f35bed78565355dfdf95f730b7b489728bd6b7e35071bcc6497af7c827fb6c111fbe9063afc7b8cbc19522a072c278679f9a0ee81e684aa2c8617cc0f2e9c191 - languageName: node - linkType: hard - "tempfile@npm:^3.0.0": version: 3.0.0 resolution: "tempfile@npm:3.0.0" @@ -23674,19 +21171,6 @@ __metadata: languageName: node linkType: hard -"tempy@npm:^1.0.1": - version: 1.0.1 - resolution: "tempy@npm:1.0.1" - dependencies: - del: ^6.0.0 - is-stream: ^2.0.0 - temp-dir: ^2.0.0 - type-fest: ^0.16.0 - unique-string: ^2.0.0 - checksum: e77ca4440af18e42dc64d8903b7ed0be673455b76680ff94a7d7c6ee7c16f7604bdcdee3c39436342b1082c23eda010dbe48f6094e836e0bd53c8b1aa63e5b95 - languageName: node - linkType: hard - "test-exclude@npm:^6.0.0": version: 6.0.0 resolution: "test-exclude@npm:6.0.0" @@ -23952,9 +21436,9 @@ __metadata: linkType: hard "totalist@npm:^3.0.0": - version: 3.0.1 - resolution: "totalist@npm:3.0.1" - checksum: 5132d562cf88ff93fd710770a92f31dbe67cc19b5c6ccae2efc0da327f0954d211bbfd9456389655d726c624f284b4a23112f56d1da931ca7cfabbe1f45e778a + version: 3.0.0 + resolution: "totalist@npm:3.0.0" + checksum: ec499bddfc73d5b6c73f8ff68afd7bed286705797f928a11177fee5d1ee80e9052ffcb434638437702e16864bd5490f437a54f79bfea9564e875d34ed3254bca languageName: node linkType: hard @@ -23993,13 +21477,6 @@ __metadata: languageName: node linkType: hard -"treeify@npm:^1.1.0": - version: 1.1.0 - resolution: "treeify@npm:1.1.0" - checksum: aa00dded220c1dd052573bd6fc2c52862f09870851a284f0d3650d72bf913ba9b4f6b824f4f1ab81899bae29375f4266b07fe47cbf82343a1efa13cc09ce87af - languageName: node - linkType: hard - "trim-lines@npm:^3.0.0": version: 3.0.1 resolution: "trim-lines@npm:3.0.1" @@ -24021,6 +21498,13 @@ __metadata: languageName: node linkType: hard +"trough@npm:^1.0.0": + version: 1.0.5 + resolution: "trough@npm:1.0.5" + checksum: d6c8564903ed00e5258bab92134b020724dbbe83148dc72e4bf6306c03ed8843efa1bcc773fa62410dd89161ecb067432dd5916501793508a9506cacbc408e25 + languageName: node + linkType: hard + "trough@npm:^2.0.0": version: 2.1.0 resolution: "trough@npm:2.1.0" @@ -24028,13 +21512,6 @@ __metadata: languageName: node linkType: hard -"ts-dedent@npm:^2.0.0, ts-dedent@npm:^2.2.0": - version: 2.2.0 - resolution: "ts-dedent@npm:2.2.0" - checksum: 93ed8f7878b6d5ed3c08d99b740010eede6bccfe64bce61c5a4da06a2c17d6ddbb80a8c49c2d15251de7594a4f93ffa21dd10e7be75ef66a4dc9951b4a94e2af - languageName: node - linkType: hard - "ts-easing@npm:^0.2.0": version: 0.2.0 resolution: "ts-easing@npm:0.2.0" @@ -24128,6 +21605,20 @@ __metadata: languageName: node linkType: hard +"tsconfck@npm:^2.0.1": + version: 2.1.1 + resolution: "tsconfck@npm:2.1.1" + peerDependencies: + typescript: ^4.3.5 || ^5.0.0 + peerDependenciesMeta: + typescript: + optional: true + bin: + tsconfck: bin/tsconfck.js + checksum: c531525f39763cbbd7e6dbf5e29f12a7ae67eb8712816c14d06a9db6cbdc9dda9ac3cd6db07ef645f8a4cdea906447ab44e2c8679e320871cf9dd598756e8c83 + languageName: node + linkType: hard + "tsconfig-paths@npm:^4.0.0": version: 4.2.0 resolution: "tsconfig-paths@npm:4.2.0" @@ -24163,7 +21654,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0": +"tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0": version: 2.5.0 resolution: "tslib@npm:2.5.0" checksum: ae3ed5f9ce29932d049908ebfdf21b3a003a85653a9a140d614da6b767a93ef94f460e52c3d787f0e4f383546981713f165037dc2274df212ea9f8a4541004e1 @@ -24220,6 +21711,13 @@ __metadata: languageName: node linkType: hard +"tsscmp@npm:1.0.6": + version: 1.0.6 + resolution: "tsscmp@npm:1.0.6" + checksum: 1512384def36bccc9125cabbd4c3b0e68608d7ee08127ceaa0b84a71797263f1a01c7f82fa69be8a3bd3c1396e2965d2f7b52d581d3a5eeaf3967fbc52e3b3bf + languageName: node + linkType: hard + "tsup@npm:^6.7.0": version: 6.7.0 resolution: "tsup@npm:6.7.0" @@ -24310,58 +21808,58 @@ __metadata: languageName: node linkType: hard -"turbo-darwin-64@npm:1.9.1": - version: 1.9.1 - resolution: "turbo-darwin-64@npm:1.9.1" +"turbo-darwin-64@npm:1.8.8": + version: 1.8.8 + resolution: "turbo-darwin-64@npm:1.8.8" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"turbo-darwin-arm64@npm:1.9.1": - version: 1.9.1 - resolution: "turbo-darwin-arm64@npm:1.9.1" +"turbo-darwin-arm64@npm:1.8.8": + version: 1.8.8 + resolution: "turbo-darwin-arm64@npm:1.8.8" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"turbo-linux-64@npm:1.9.1": - version: 1.9.1 - resolution: "turbo-linux-64@npm:1.9.1" +"turbo-linux-64@npm:1.8.8": + version: 1.8.8 + resolution: "turbo-linux-64@npm:1.8.8" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"turbo-linux-arm64@npm:1.9.1": - version: 1.9.1 - resolution: "turbo-linux-arm64@npm:1.9.1" +"turbo-linux-arm64@npm:1.8.8": + version: 1.8.8 + resolution: "turbo-linux-arm64@npm:1.8.8" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"turbo-windows-64@npm:1.9.1": - version: 1.9.1 - resolution: "turbo-windows-64@npm:1.9.1" +"turbo-windows-64@npm:1.8.8": + version: 1.8.8 + resolution: "turbo-windows-64@npm:1.8.8" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"turbo-windows-arm64@npm:1.9.1": - version: 1.9.1 - resolution: "turbo-windows-arm64@npm:1.9.1" +"turbo-windows-arm64@npm:1.8.8": + version: 1.8.8 + resolution: "turbo-windows-arm64@npm:1.8.8" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"turbo@npm:^1.9.1": - version: 1.9.1 - resolution: "turbo@npm:1.9.1" - dependencies: - turbo-darwin-64: 1.9.1 - turbo-darwin-arm64: 1.9.1 - turbo-linux-64: 1.9.1 - turbo-linux-arm64: 1.9.1 - turbo-windows-64: 1.9.1 - turbo-windows-arm64: 1.9.1 +"turbo@npm:^1.8.8": + version: 1.8.8 + resolution: "turbo@npm:1.8.8" + dependencies: + turbo-darwin-64: 1.8.8 + turbo-darwin-arm64: 1.8.8 + turbo-linux-64: 1.8.8 + turbo-linux-arm64: 1.8.8 + turbo-windows-64: 1.8.8 + turbo-windows-arm64: 1.8.8 dependenciesMeta: turbo-darwin-64: optional: true @@ -24377,7 +21875,7 @@ __metadata: optional: true bin: turbo: bin/turbo - checksum: dd5413088d9c39ccc9823e12abdb264e5cd486aa7994d7178da9e7270bb7651adb306eff607a561eae4bed5508b2dd5ce2393dbef053216443f5470f670a6ef4 + checksum: 6dcfd7b38e2dd9abe279bda54e474be3463df51428f0b91c5e0539e9fd8c9b1efec562df629946f5ca92ede05f0aba35027481065d054249334e11692085ddb7 languageName: node linkType: hard @@ -24427,13 +21925,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.16.0": - version: 0.16.0 - resolution: "type-fest@npm:0.16.0" - checksum: 1a4102c06dc109db00418c753062e206cab65befd469d000ece4452ee649bf2a9cf57686d96fb42326bc9d918d9a194d4452897b486dcc41989e5c99e4e87094 - languageName: node - linkType: hard - "type-fest@npm:^0.18.0": version: 0.18.1 resolution: "type-fest@npm:0.18.1" @@ -24476,7 +21967,7 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.19.0": +"type-fest@npm:^2.13.0": version: 2.19.0 resolution: "type-fest@npm:2.19.0" checksum: a4ef07ece297c9fba78fc1bd6d85dff4472fe043ede98bd4710d2615d15776902b595abf62bd78339ed6278f021235fb28a96361f8be86ed754f778973a0d278 @@ -24484,13 +21975,13 @@ __metadata: linkType: hard "type-fest@npm:^3.7.1": - version: 3.8.0 - resolution: "type-fest@npm:3.8.0" - checksum: f9a9ef00378dddd6af2be5cbb67ce4c3a61f6696c5f3ae88815c98266865766118343d928faec8a0efc012efe1d080f59bf62d8fdc382bf285f45d02dbc8fb66 + version: 3.7.2 + resolution: "type-fest@npm:3.7.2" + checksum: 28f5c6eca67f01825308e19792425d1643d6f7589aa278d3a8e34caa07d9502aa54016df6b9f65bd3d51a3f2d9c002d3a739bb391d11ef2505df73e374a10b79 languageName: node linkType: hard -"type-is@npm:~1.6.18": +"type-is@npm:^1.6.16, type-is@npm:~1.6.18": version: 1.6.18 resolution: "type-is@npm:1.6.18" dependencies: @@ -24527,9 +22018,9 @@ __metadata: languageName: node linkType: hard -"typedoc@npm:^0.24.1": - version: 0.24.1 - resolution: "typedoc@npm:0.24.1" +"typedoc@npm:^0.23.28": + version: 0.23.28 + resolution: "typedoc@npm:0.23.28" dependencies: lunr: ^2.3.9 marked: ^4.2.12 @@ -24539,7 +22030,7 @@ __metadata: typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x bin: typedoc: bin/typedoc - checksum: 49ecc56060a9d37fd3da4fb57f0a848bf618f3b97542ef503dad67e805a611359ad2453a625da0e2dd7a2d9eb7992bcefded58115b5cb3ddc98780b548e6dfd5 + checksum: 40eb4e207aac1b734e09400cf03f543642cc7b11000895198dd5a0d3166315759ccf4ac30a2915153597c5c186101c72bac2f1fc12b428184a9274d3a0e44c5e languageName: node linkType: hard @@ -24553,13 +22044,13 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.6.4 || ^5.0.0, typescript@npm:^5.0.4": - version: 5.0.4 - resolution: "typescript@npm:5.0.4" +"typescript@npm:^4.6.4 || ^5.0.0, typescript@npm:^5.0.3": + version: 5.0.3 + resolution: "typescript@npm:5.0.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 82b94da3f4604a8946da585f7d6c3025fff8410779e5bde2855ab130d05e4fd08938b9e593b6ebed165bda6ad9292b230984f10952cf82f0a0ca07bbeaa08172 + checksum: 3cce0576d218cb4277ff8b6adfef1a706e9114a98b4261a38ad658a7642f1b274a8396394f6cbff8c0ba852996d7ed2e233e9b8431d5d55ac7c2f6fea645af02 languageName: node linkType: hard @@ -24574,12 +22065,12 @@ __metadata: linkType: hard "typescript@npm:next": - version: 5.1.0-dev.20230413 - resolution: "typescript@npm:5.1.0-dev.20230413" + version: 5.1.0-dev.20230402 + resolution: "typescript@npm:5.1.0-dev.20230402" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 274c951b91e9a384ed494989e35b12a76b449f20ada0d342b8f61c5e5dd7ac0b2bd454070e29d2007fc4bcf34b90f12293531396ea3b4a3790f72b1936e58557 + checksum: 9786e77a9a80acf8d0415e9938654698516efe1546c0eea4239eed01ccafd16fa945679daaa384201009107ea3385c13889b222c5a5a9c5d4d47b4129fca455c languageName: node linkType: hard @@ -24603,13 +22094,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^4.6.4 || ^5.0.0#~builtin, typescript@patch:typescript@^5.0.4#~builtin": - version: 5.0.4 - resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=85af82" +"typescript@patch:typescript@^4.6.4 || ^5.0.0#~builtin, typescript@patch:typescript@^5.0.3#~builtin": + version: 5.0.3 + resolution: "typescript@patch:typescript@npm%3A5.0.3#~builtin::version=5.0.3&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: bb309d320c59a26565fb3793dba550576ab861018ff3fd1b7fccabbe46ae4a35546bc45f342c0a0b6f265c801ccdf64ffd68f548f117ceb7f0eac4b805cd52a9 + checksum: 5580367025ff7ee1f2a61e5affdbddccfe6e893bc662aa33fefdbf12de7e493173fa7d47475e9e15121828691004c4ed13bcd115e57866baed97b54c60954e1c languageName: node linkType: hard @@ -24624,12 +22115,12 @@ __metadata: linkType: hard "typescript@patch:typescript@next#~builtin": - version: 5.1.0-dev.20230413 - resolution: "typescript@patch:typescript@npm%3A5.1.0-dev.20230413#~builtin::version=5.1.0-dev.20230413&hash=85af82" + version: 5.1.0-dev.20230402 + resolution: "typescript@patch:typescript@npm%3A5.1.0-dev.20230402#~builtin::version=5.1.0-dev.20230402&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: ff48a0d45ae8999caae26e09b3e6dd18550e97c48dc9da85e97e25daecc5e5a0ddfdd39a5608a8ec6daa46e628fe5cd2b4cedbaa1f1808cf896f04f5658333b6 + checksum: 3ddf48d254543143ca87bef72a76310ec5a439590dc89409bb855096659d25c4fbfbea447e883b21bb08b2f65089c896cb34b4129898863e1f2c0390880d16d2 languageName: node linkType: hard @@ -24727,19 +22218,12 @@ __metadata: languageName: node linkType: hard -"undici@npm:^5.21.2": - version: 5.21.2 - resolution: "undici@npm:5.21.2" +"undici@npm:^5.21.0": + version: 5.21.0 + resolution: "undici@npm:5.21.0" dependencies: busboy: ^1.6.0 - checksum: baceaa9e610966631e86ad2869b657556dd465438eed55e8079cec2a306ecbeecfde2d6e37e43baf96a4c59588ebef50476131e96e018dcc0a7f5db7e6a06c85 - languageName: node - linkType: hard - -"unfetch@npm:^4.2.0": - version: 4.2.0 - resolution: "unfetch@npm:4.2.0" - checksum: 6a4b2557e1d921eaa80c4425ce27a404945ec26491ed06e62598f333996a91a44c7908cb26dc7c2746d735762b13276cf4aa41829b4c8f438dde63add3045d7a + checksum: 013d5fd503b631d607942c511c2ab3f3fa78ebcab302acab998b43176b4815503ec15ed9752c5a47918b3bff8a0137768001d3eb57625b2bb6f6d30d8a794d6c languageName: node linkType: hard @@ -24784,7 +22268,7 @@ __metadata: languageName: node linkType: hard -"unified@npm:^10.0.0, unified@npm:^10.1.2": +"unified@npm:^10.0.0, unified@npm:^10.1.2, unified@npm:~10.1.2": version: 10.1.2 resolution: "unified@npm:10.1.2" dependencies: @@ -24799,6 +22283,20 @@ __metadata: languageName: node linkType: hard +"unified@npm:^9.2.2": + version: 9.2.2 + resolution: "unified@npm:9.2.2" + dependencies: + bail: ^1.0.0 + extend: ^3.0.0 + is-buffer: ^2.0.0 + is-plain-obj: ^2.0.0 + trough: ^1.0.0 + vfile: ^4.0.0 + checksum: 7c24461be7de4145939739ce50d18227c5fbdf9b3bc5a29dabb1ce26dd3e8bd4a1c385865f6f825f3b49230953ee8b591f23beab3bb3643e3e9dc37aa8a089d5 + languageName: node + linkType: hard + "unique-filename@npm:^1.1.1": version: 1.1.1 resolution: "unique-filename@npm:1.1.1" @@ -24862,6 +22360,13 @@ __metadata: languageName: node linkType: hard +"unist-builder@npm:^2.0.0": + version: 2.0.3 + resolution: "unist-builder@npm:2.0.3" + checksum: e946fdf77dbfc320feaece137ce4959ae2da6614abd1623bd39512dc741a9d5f313eb2ba79f8887d941365dccddec7fef4e953827475e392bf49b45336f597f6 + languageName: node + linkType: hard + "unist-builder@npm:^3.0.0": version: 3.0.1 resolution: "unist-builder@npm:3.0.1" @@ -24871,6 +22376,13 @@ __metadata: languageName: node linkType: hard +"unist-util-generated@npm:^1.0.0": + version: 1.1.6 + resolution: "unist-util-generated@npm:1.1.6" + checksum: 86239ff88a08800d52198f2f0e15911f05bab2dad17cef95550f7c2728f15ebb0344694fcc3101d05762d88adaf86cb85aa7a3300fedabd0b6d7d00b41cdcb7f + languageName: node + linkType: hard + "unist-util-generated@npm:^2.0.0": version: 2.0.1 resolution: "unist-util-generated@npm:2.0.1" @@ -24903,6 +22415,13 @@ __metadata: languageName: node linkType: hard +"unist-util-position@npm:^3.0.0, unist-util-position@npm:^3.1.0": + version: 3.1.0 + resolution: "unist-util-position@npm:3.1.0" + checksum: 10b3952e32a1ffabbecad41c3946237f7059f5bb6436796da05531a285f50b97e4f37cfc2f7164676d041063f40fe1ad92fbb8ca38d3ae8747328ebe738d738f + languageName: node + linkType: hard + "unist-util-position@npm:^4.0.0": version: 4.0.4 resolution: "unist-util-position@npm:4.0.4" @@ -24922,6 +22441,15 @@ __metadata: languageName: node linkType: hard +"unist-util-stringify-position@npm:^2.0.0": + version: 2.0.3 + resolution: "unist-util-stringify-position@npm:2.0.3" + dependencies: + "@types/unist": ^2.0.2 + checksum: f755cadc959f9074fe999578a1a242761296705a7fe87f333a37c00044de74ab4b184b3812989a57d4cd12211f0b14ad397b327c3a594c7af84361b1c25a7f09 + languageName: node + linkType: hard + "unist-util-stringify-position@npm:^3.0.0": version: 3.0.3 resolution: "unist-util-stringify-position@npm:3.0.3" @@ -24962,7 +22490,7 @@ __metadata: languageName: node linkType: hard -"unist-util-visit@npm:^4.0.0, unist-util-visit@npm:^4.1.2": +"unist-util-visit@npm:^4.0.0, unist-util-visit@npm:~4.1.0": version: 4.1.2 resolution: "unist-util-visit@npm:4.1.2" dependencies: @@ -24987,36 +22515,34 @@ __metadata: languageName: node linkType: hard -"unocss@npm:^0.51.4": - version: 0.51.4 - resolution: "unocss@npm:0.51.4" - dependencies: - "@unocss/astro": 0.51.4 - "@unocss/cli": 0.51.4 - "@unocss/core": 0.51.4 - "@unocss/extractor-arbitrary-variants": 0.51.4 - "@unocss/postcss": 0.51.4 - "@unocss/preset-attributify": 0.51.4 - "@unocss/preset-icons": 0.51.4 - "@unocss/preset-mini": 0.51.4 - "@unocss/preset-tagify": 0.51.4 - "@unocss/preset-typography": 0.51.4 - "@unocss/preset-uno": 0.51.4 - "@unocss/preset-web-fonts": 0.51.4 - "@unocss/preset-wind": 0.51.4 - "@unocss/reset": 0.51.4 - "@unocss/transformer-attributify-jsx": 0.51.4 - "@unocss/transformer-attributify-jsx-babel": 0.51.4 - "@unocss/transformer-compile-class": 0.51.4 - "@unocss/transformer-directives": 0.51.4 - "@unocss/transformer-variant-group": 0.51.4 - "@unocss/vite": 0.51.4 - peerDependencies: - "@unocss/webpack": 0.51.4 +"unocss@npm:^0.50.6": + version: 0.50.6 + resolution: "unocss@npm:0.50.6" + dependencies: + "@unocss/astro": 0.50.6 + "@unocss/cli": 0.50.6 + "@unocss/core": 0.50.6 + "@unocss/postcss": 0.50.6 + "@unocss/preset-attributify": 0.50.6 + "@unocss/preset-icons": 0.50.6 + "@unocss/preset-mini": 0.50.6 + "@unocss/preset-tagify": 0.50.6 + "@unocss/preset-typography": 0.50.6 + "@unocss/preset-uno": 0.50.6 + "@unocss/preset-web-fonts": 0.50.6 + "@unocss/preset-wind": 0.50.6 + "@unocss/reset": 0.50.6 + "@unocss/transformer-attributify-jsx": 0.50.6 + "@unocss/transformer-compile-class": 0.50.6 + "@unocss/transformer-directives": 0.50.6 + "@unocss/transformer-variant-group": 0.50.6 + "@unocss/vite": 0.50.6 + peerDependencies: + "@unocss/webpack": 0.50.6 peerDependenciesMeta: "@unocss/webpack": optional: true - checksum: cddd70dcc4772833789522f5e58d47b37c3333f995e40ba54b110836639e857180e2f9245f3ce8e19c83e12f3faace6198b4add1b16723b7ffd16c1af540df71 + checksum: 167fcc6667f9b97f3b954e3d808c64c7722a0e208669be5aa5ce48a41a8a56c5dc1791e3e3ce65f3109d8164440df63cad6bd42f795017dba9d3fbc680f9674e languageName: node linkType: hard @@ -25027,25 +22553,6 @@ __metadata: languageName: node linkType: hard -"unplugin@npm:^0.10.2": - version: 0.10.2 - resolution: "unplugin@npm:0.10.2" - dependencies: - acorn: ^8.8.0 - chokidar: ^3.5.3 - webpack-sources: ^3.2.3 - webpack-virtual-modules: ^0.4.5 - checksum: 984199a8ecbceb7d7b37d14d5bea88dc6ae3e1fa6f1ec5b4a9263160424ee5b5ecf809ce667ff2ff819731650fc9bd42fcc7b2b33dd888a1eb047349eba63960 - languageName: node - linkType: hard - -"untildify@npm:^4.0.0": - version: 4.0.0 - resolution: "untildify@npm:4.0.0" - checksum: 39ced9c418a74f73f0a56e1ba4634b4d959422dff61f4c72a8e39f60b99380c1b45ed776fbaa0a4101b157e4310d873ad7d114e8534ca02609b4916bb4187fb9 - languageName: node - linkType: hard - "update-browserslist-db@npm:^1.0.10": version: 1.0.10 resolution: "update-browserslist-db@npm:1.0.10" @@ -25084,18 +22591,6 @@ __metadata: languageName: node linkType: hard -"use-resize-observer@npm:^9.1.0": - version: 9.1.0 - resolution: "use-resize-observer@npm:9.1.0" - dependencies: - "@juggle/resize-observer": ^3.3.1 - peerDependencies: - react: 16.8.0 - 18 - react-dom: 16.8.0 - 18 - checksum: 92be0ac34a3b3cf884cd55847c90792b5b44833dc258e96d650152815ad246afe45825aa223332203004d836535a927ab74f18dc0313229e2c7c69510eddf382 - languageName: node - linkType: hard - "use-sidecar@npm:^1.1.2": version: 1.1.2 resolution: "use-sidecar@npm:1.1.2" @@ -25128,19 +22623,6 @@ __metadata: languageName: node linkType: hard -"util@npm:^0.12.0, util@npm:^0.12.4": - version: 0.12.5 - resolution: "util@npm:0.12.5" - dependencies: - inherits: ^2.0.3 - is-arguments: ^1.0.4 - is-generator-function: ^1.0.7 - is-typed-array: ^1.1.3 - which-typed-array: ^1.1.2 - checksum: 705e51f0de5b446f4edec10739752ac25856541e0254ea1e7e45e5b9f9b0cb105bc4bd415736a6210edc68245a7f903bf085ffb08dd7deb8a0e847f60538a38a - languageName: node - linkType: hard - "utils-merge@npm:1.0.1": version: 1.0.1 resolution: "utils-merge@npm:1.0.1" @@ -25148,13 +22630,6 @@ __metadata: languageName: node linkType: hard -"uuid-browser@npm:^3.1.0": - version: 3.1.0 - resolution: "uuid-browser@npm:3.1.0" - checksum: 951ec47593865c7cc746df671f7b0f0ff48fcab583fcdaeab6c517a5222af0f5e144a6fcea5fa9620a5b3be047e2f9412a80267ea5c45050e07d51774197d49e - languageName: node - linkType: hard - "uuid@npm:^3.3.2": version: 3.4.0 resolution: "uuid@npm:3.4.0" @@ -25164,7 +22639,7 @@ __metadata: languageName: node linkType: hard -"uuid@npm:^8.3.0, uuid@npm:^8.3.2": +"uuid@npm:^8.3.2": version: 8.3.2 resolution: "uuid@npm:8.3.2" bin: @@ -25240,31 +22715,31 @@ __metadata: languageName: node linkType: hard -"vary@npm:~1.1.2": +"vary@npm:^1.1.2, vary@npm:~1.1.2": version: 1.1.2 resolution: "vary@npm:1.1.2" checksum: ae0123222c6df65b437669d63dfa8c36cee20a504101b2fcd97b8bf76f91259c17f9f2b4d70a1e3c6bbcee7f51b28392833adb6b2770b23b01abec84e369660b languageName: node linkType: hard -"vercel@npm:^28.18.5": - version: 28.18.5 - resolution: "vercel@npm:28.18.5" +"vercel@npm:^28.18.3": + version: 28.18.3 + resolution: "vercel@npm:28.18.3" dependencies: - "@vercel/build-utils": 6.7.1 - "@vercel/go": 2.4.4 - "@vercel/hydrogen": 0.0.62 - "@vercel/next": 3.7.4 - "@vercel/node": 2.10.3 - "@vercel/python": 3.1.58 - "@vercel/redwood": 1.1.14 - "@vercel/remix-builder": 1.8.4 - "@vercel/ruby": 1.3.75 - "@vercel/static-build": 1.3.23 + "@vercel/build-utils": 6.7.0 + "@vercel/go": 2.4.3 + "@vercel/hydrogen": 0.0.61 + "@vercel/next": 3.7.3 + "@vercel/node": 2.10.2 + "@vercel/python": 3.1.57 + "@vercel/redwood": 1.1.13 + "@vercel/remix-builder": 1.8.3 + "@vercel/ruby": 1.3.74 + "@vercel/static-build": 1.3.21 bin: vc: dist/index.js vercel: dist/index.js - checksum: 69f05957d978a5a7394781e33874c2f8a669931cd3e0f3a6f128eb7ec897bda5def1f53e1648df2db32f6417e739ee19953fd8eebc92918cfb50c3a56cfc85cb + checksum: fb87d7c9f8e3eafd1e3d16780fddd95a761942c1d27728cdbdfbfe7dbdeec8ea3dedadc3fda87ac46a593abea14509ec04c7c818d49a142b363fb8698b5d96b8 languageName: node linkType: hard @@ -25300,6 +22775,16 @@ __metadata: languageName: node linkType: hard +"vfile-message@npm:^2.0.0": + version: 2.0.4 + resolution: "vfile-message@npm:2.0.4" + dependencies: + "@types/unist": ^2.0.0 + unist-util-stringify-position: ^2.0.0 + checksum: 1bade499790f46ca5aba04bdce07a1e37c2636a8872e05cf32c26becc912826710b7eb063d30c5754fdfaeedc8a7658e78df10b3bc535c844890ec8a184f5643 + languageName: node + linkType: hard + "vfile-message@npm:^3.0.0": version: 3.1.4 resolution: "vfile-message@npm:3.1.4" @@ -25310,7 +22795,19 @@ __metadata: languageName: node linkType: hard -"vfile@npm:^5.0.0, vfile@npm:^5.3.0, vfile@npm:^5.3.2": +"vfile@npm:^4.0.0": + version: 4.2.1 + resolution: "vfile@npm:4.2.1" + dependencies: + "@types/unist": ^2.0.0 + is-buffer: ^2.0.0 + unist-util-stringify-position: ^2.0.0 + vfile-message: ^2.0.0 + checksum: ee5726e10d170472cde778fc22e0f7499caa096eb85babea5d0ce0941455b721037ee1c9e6ae506ca2803250acd313d0f464328ead0b55cfe7cb6315f1b462d6 + languageName: node + linkType: hard + +"vfile@npm:^5.0.0, vfile@npm:^5.3.0, vfile@npm:^5.3.2, vfile@npm:^5.3.6": version: 5.3.7 resolution: "vfile@npm:5.3.7" dependencies: @@ -25356,9 +22853,9 @@ __metadata: languageName: node linkType: hard -"vite-plugin-dts@npm:^2.2.0": - version: 2.2.0 - resolution: "vite-plugin-dts@npm:2.2.0" +"vite-plugin-dts@npm:^2.1.0": + version: 2.1.0 + resolution: "vite-plugin-dts@npm:2.1.0" dependencies: "@babel/parser": ^7.20.15 "@microsoft/api-extractor": ^7.33.5 @@ -25372,11 +22869,27 @@ __metadata: ts-morph: 17.0.1 peerDependencies: vite: ">=2.9.0" - checksum: 28de6c500c31c6274ea70dcfcc78ac1b8a4ed68e793817b26a65caf6626ef3bd50a64501c77d363965658b5d0efa3474ad1eb49499ad5ee0b99baeb572908448 + checksum: 6c51b6de986e622a8ec271b68dcbfac55ab0ba65ca3b74e19e3088ff931913e5bb5c6d15e77525ca0bc11a6c87497f4529132cd0ad6c5970e8794f809cfa9cb8 + languageName: node + linkType: hard + +"vite-tsconfig-paths@npm:^4.0.5": + version: 4.0.7 + resolution: "vite-tsconfig-paths@npm:4.0.7" + dependencies: + debug: ^4.1.1 + globrex: ^0.1.2 + tsconfck: ^2.0.1 + peerDependencies: + vite: "*" + peerDependenciesMeta: + vite: + optional: true + checksum: 490123daa28dcf0b1290c2374876041e0ed2964d5244f08ad2cb8354436eff110592d5ffec0960276552943b46361b6a98f2363406e89ae0988287769188f5e8 languageName: node linkType: hard -"vite@npm:^3.0.0 || ^4.0.0, vite@npm:^4.1.4, vite@npm:^4.2.1": +"vite@npm:^3.0.0 || ^4.0.0, vite@npm:^4.1.1, vite@npm:^4.1.4, vite@npm:^4.2.1": version: 4.2.1 resolution: "vite@npm:4.2.1" dependencies: @@ -25474,15 +22987,15 @@ __metadata: languageName: node linkType: hard -"vm2@npm:^3.9.11": - version: 3.9.16 - resolution: "vm2@npm:3.9.16" +"vm2@npm:^3.9.8": + version: 3.9.14 + resolution: "vm2@npm:3.9.14" dependencies: acorn: ^8.7.0 acorn-walk: ^8.2.0 bin: vm2: bin/vm2 - checksum: 646b45dca721acb3c8e4ae0742129f13612972387911c2475f3c06ac2b4232000cab0bdaaa65d97d6ea8dc70880e039542618b1b3d04adea79cd94803cbc4ab3 + checksum: 1ed7481e07ce8e03055101b382bfbf0d725a5c9b9bbe8bf75f71501cb43a6bd22f6a0a151975ff7cea8cad136d47e66d64f0a3248913f6d3ca3c405db12bacc0 languageName: node linkType: hard @@ -25507,7 +23020,7 @@ __metadata: languageName: node linkType: hard -"vue-eslint-parser@npm:^9.0.1, vue-eslint-parser@npm:^9.1.1": +"vue-eslint-parser@npm:^9.0.1, vue-eslint-parser@npm:^9.1.0": version: 9.1.1 resolution: "vue-eslint-parser@npm:9.1.1" dependencies: @@ -25547,16 +23060,6 @@ __metadata: languageName: node linkType: hard -"watchpack@npm:^2.2.0": - version: 2.4.0 - resolution: "watchpack@npm:2.4.0" - dependencies: - glob-to-regexp: ^0.4.1 - graceful-fs: ^4.1.2 - checksum: 23d4bc58634dbe13b86093e01c6a68d8096028b664ab7139d58f0c37d962d549a940e98f2f201cecdabd6f9c340338dc73ef8bf094a2249ef582f35183d1a131 - languageName: node - linkType: hard - "wcwidth@npm:^1.0.1": version: 1.0.1 resolution: "wcwidth@npm:1.0.1" @@ -25627,20 +23130,6 @@ __metadata: languageName: node linkType: hard -"webpack-sources@npm:^3.2.3": - version: 3.2.3 - resolution: "webpack-sources@npm:3.2.3" - checksum: 989e401b9fe3536529e2a99dac8c1bdc50e3a0a2c8669cbafad31271eadd994bc9405f88a3039cd2e29db5e6d9d0926ceb7a1a4e7409ece021fe79c37d9c4607 - languageName: node - linkType: hard - -"webpack-virtual-modules@npm:^0.4.5": - version: 0.4.6 - resolution: "webpack-virtual-modules@npm:0.4.6" - checksum: cb056ba8c50b35436ae43149554b051b80065b0cf79f2d528ca692ddf344a422ac71c415adb9da83dc3acc6e7e58f518388cc1cd11cb4fa29dc04f2c4494afe3 - languageName: node - linkType: hard - "whatwg-encoding@npm:^2.0.0": version: 2.0.0 resolution: "whatwg-encoding@npm:2.0.0" @@ -25710,7 +23199,7 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.9": +"which-typed-array@npm:^1.1.9": version: 1.1.9 resolution: "which-typed-array@npm:1.1.9" dependencies: @@ -25756,12 +23245,12 @@ __metadata: languageName: node linkType: hard -"widest-line@npm:^3.1.0": - version: 3.1.0 - resolution: "widest-line@npm:3.1.0" +"widest-line@npm:^4.0.1": + version: 4.0.1 + resolution: "widest-line@npm:4.0.1" dependencies: - string-width: ^4.0.0 - checksum: 03db6c9d0af9329c37d74378ff1d91972b12553c7d72a6f4e8525fe61563fa7adb0b9d6e8d546b7e059688712ea874edd5ded475999abdeedf708de9849310e0 + string-width: ^5.0.1 + checksum: 64c48cf27171221be5f86fc54b94dd29879165bdff1a7aa92dde723d9a8c99fb108312768a5d62c8c2b80b701fa27bbd36a1ddc58367585cd45c0db7920a0cba languageName: node linkType: hard @@ -25811,6 +23300,17 @@ __metadata: languageName: node linkType: hard +"wrap-ansi@npm:^8.0.1": + version: 8.1.0 + resolution: "wrap-ansi@npm:8.1.0" + dependencies: + ansi-styles: ^6.1.0 + string-width: ^5.0.1 + strip-ansi: ^7.0.1 + checksum: 371733296dc2d616900ce15a0049dca0ef67597d6394c57347ba334393599e800bab03c41d4d45221b6bc967b8c453ec3ae4749eff3894202d16800fdfe0e238 + languageName: node + linkType: hard + "wrappy@npm:1": version: 1.0.2 resolution: "wrappy@npm:1.0.2" @@ -25818,17 +23318,6 @@ __metadata: languageName: node linkType: hard -"write-file-atomic@npm:^2.3.0": - version: 2.4.3 - resolution: "write-file-atomic@npm:2.4.3" - dependencies: - graceful-fs: ^4.1.11 - imurmurhash: ^0.1.4 - signal-exit: ^3.0.2 - checksum: 2db81f92ae974fd87ab4a5e7932feacaca626679a7c98fcc73ad8fcea5a1950eab32fa831f79e9391ac99b562ca091ad49be37a79045bd65f595efbb8f4596ae - languageName: node - linkType: hard - "write-file-atomic@npm:^3.0.0": version: 3.0.3 resolution: "write-file-atomic@npm:3.0.3" @@ -25851,7 +23340,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:8.13.0, ws@npm:^8.13.0, ws@npm:^8.2.3": +"ws@npm:8.13.0, ws@npm:^8.13.0": version: 8.13.0 resolution: "ws@npm:8.13.0" peerDependencies: @@ -25866,15 +23355,6 @@ __metadata: languageName: node linkType: hard -"ws@npm:^6.1.0": - version: 6.2.2 - resolution: "ws@npm:6.2.2" - dependencies: - async-limiter: ~1.0.0 - checksum: aec3154ec51477c094ac2cb5946a156e17561a581fa27005cbf22c53ac57f8d4e5f791dd4bbba6a488602cb28778c8ab7df06251d590507c3c550fd8ebeee949 - languageName: node - linkType: hard - "ws@npm:^7.0.0, ws@npm:^7.3.1, ws@npm:^7.4.5": version: 7.5.9 resolution: "ws@npm:7.5.9" @@ -25951,7 +23431,7 @@ __metadata: languageName: node linkType: hard -"xtend@npm:~4.0.1": +"xtend@npm:^4.0.0, xtend@npm:~4.0.1": version: 4.0.2 resolution: "xtend@npm:4.0.2" checksum: ac5dfa738b21f6e7f0dd6e65e1b3155036d68104e67e5d5d1bde74892e327d7e5636a076f625599dc394330a731861e87343ff184b0047fef1360a7ec0a5a36a @@ -26024,21 +23504,6 @@ __metadata: languageName: node linkType: hard -"yargs@npm:17.7.1, yargs@npm:^17.0.0, yargs@npm:^17.3.1, yargs@npm:^17.7.1": - version: 17.7.1 - resolution: "yargs@npm:17.7.1" - dependencies: - cliui: ^8.0.1 - escalade: ^3.1.1 - get-caller-file: ^2.0.5 - require-directory: ^2.1.1 - string-width: ^4.2.3 - y18n: ^5.0.5 - yargs-parser: ^21.1.1 - checksum: 3d8a43c336a4942bc68080768664aca85c7bd406f018bad362fd255c41c8f4e650277f42fd65d543fce99e084124ddafee7bbfc1a5c6a8fda4cec78609dcf8d4 - languageName: node - linkType: hard - "yargs@npm:^15.1.0, yargs@npm:^15.3.1": version: 15.4.1 resolution: "yargs@npm:15.4.1" @@ -26073,6 +23538,21 @@ __metadata: languageName: node linkType: hard +"yargs@npm:^17.0.0, yargs@npm:^17.3.1, yargs@npm:^17.7.1": + version: 17.7.1 + resolution: "yargs@npm:17.7.1" + dependencies: + cliui: ^8.0.1 + escalade: ^3.1.1 + get-caller-file: ^2.0.5 + require-directory: ^2.1.1 + string-width: ^4.2.3 + y18n: ^5.0.5 + yargs-parser: ^21.1.1 + checksum: 3d8a43c336a4942bc68080768664aca85c7bd406f018bad362fd255c41c8f4e650277f42fd65d543fce99e084124ddafee7bbfc1a5c6a8fda4cec78609dcf8d4 + languageName: node + linkType: hard + "yauzl@npm:^2.10.0": version: 2.10.0 resolution: "yauzl@npm:2.10.0" @@ -26083,6 +23563,13 @@ __metadata: languageName: node linkType: hard +"ylru@npm:^1.2.0": + version: 1.3.2 + resolution: "ylru@npm:1.3.2" + checksum: b6bb3931144424114f2350c072cfeb180f205add93509c605ae025cbed8059846f8a5767655feeeab890d288b5b4c4b36f5d5d867ee4e6946c16bcc7ec3ddaee + languageName: node + linkType: hard + "yn@npm:3.1.1": version: 3.1.1 resolution: "yn@npm:3.1.1" @@ -26145,6 +23632,13 @@ __metadata: languageName: node linkType: hard +"zwitch@npm:^1.0.0": + version: 1.0.5 + resolution: "zwitch@npm:1.0.5" + checksum: 28a1bebacab3bc60150b6b0a2ba1db2ad033f068e81f05e4892ec0ea13ae63f5d140a1d692062ac0657840c8da076f35b94433b5f1c329d7803b247de80f064a + languageName: node + linkType: hard + "zwitch@npm:^2.0.0, zwitch@npm:^2.0.4": version: 2.0.4 resolution: "zwitch@npm:2.0.4"