The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Add back root clicks data
Steven Tey293055da75ab
diff --git a/components/app/domains/domain-card.tsx b/components/app/domains/domain-card.tsxindex cc2a9bf952..fd76dcd339 100644--- a/components/app/domains/domain-card.tsx+++ b/components/app/domains/domain-card.tsx@@ -2,6 +2,7 @@ import { useRouter } from "next/router";import useSWR, { mutate } from "swr";import {AlertCircleFill,+ Chart,CheckCircleFill,ExternalLink,LoadingCircle,@@ -9,14 +10,10 @@ import {XCircleFill,} from "@/components/shared/icons";import { DomainProps, DomainVerificationStatusProps } from "@/lib/types";-import {- capitalize,- fetcher,- getDomainWithoutWWW,- truncate,-} from "@/lib/utils";+import { capitalize, fetcher, nFormatter, truncate } from "@/lib/utils";import { useAddEditDomainModal } from "../modals/add-edit-domain-modal";import DomainConfiguration from "./domain-configuration";+import Link from "next/link";export default function DomainCard({ props }: { props: DomainProps }) {const router = useRouter();@@ -32,6 +29,14 @@ export default function DomainCard({ props }: { props: DomainProps }) {refreshInterval: 5000,});+ const { data: clicks } = useSWR<number>(+ slug && `/api/projects/${slug}/domains/${domain}/clicks`,+ fetcher,+ {+ dedupingInterval: 15000,+ },+ );+const { setShowAddEditDomainModal, AddEditDomainModal } =useAddEditDomainModal({props,@@ -54,6 +59,20 @@ export default function DomainCard({ props }: { props: DomainProps }) {</p><ExternalLink className="h-5 w-5" /></a>+ <Link+ href={`/${slug}/${domain}/_root`}+ className="flex items-center space-x-1 rounded-md bg-gray-100 px-2 py-0.5 transition-all duration-75 hover:scale-105 active:scale-100"+ >+ <Chart className="h-4 w-4" />+ <p className="text-sm">+ {!clicks && clicks !== 0 ? (+ <LoadingDots color="#71717A" />+ ) : (+ nFormatter(clicks)+ )}+ <span className="ml-1 hidden sm:inline-block">clicks</span>+ </p>+ </Link>{primary && (<span className="rounded-full bg-blue-500 px-3 py-0.5 text-xs text-white">Primary Domaindiff --git a/components/home/pricing.tsx b/components/home/pricing.tsxindex 09f2536b3a..7b76467c97 100644--- a/components/home/pricing.tsx+++ b/components/home/pricing.tsx@@ -28,6 +28,9 @@ const pricingItems = [{text: "Unlimited custom domains",},+ {+ text: "Free SSL certificates",+ },{text: "Advanced link features",footnote:@@ -58,6 +61,9 @@ const pricingItems = [{text: "Unlimited custom domains",},+ {+ text: "Free SSL certificates",+ },{text: "Advanced link features",footnote:@@ -86,6 +92,9 @@ const pricingItems = [{text: "Unlimited custom domains",},+ {+ text: "Free SSL certificates",+ },{text: "Advanced link features",footnote:@@ -150,7 +159,7 @@ const Pricing = ({ homePage }: { homePage?: boolean }) => {checked={annualBilling}/><p className="text-gray-600">Billed Annually</p>- <span className="absolute -top-8 -right-12 rounded-full bg-purple-200 px-3 py-1 text-sm text-purple-700 sm:-right-[9.5rem] sm:-top-2">+ <span className="absolute -right-12 -top-8 rounded-full bg-purple-200 px-3 py-1 text-sm text-purple-700 sm:-right-[9.5rem] sm:-top-2">π 2 months FREE</span></div>@@ -190,7 +199,7 @@ const Pricing = ({ homePage }: { homePage?: boolean }) => {per {period === "yearly" ? "month, billed annually" : "month"}</p></div>- <div className="flex h-20 items-center justify-center border-t border-b border-gray-200 bg-gray-50">+ <div className="flex h-20 items-center justify-center border-b border-t border-gray-200 bg-gray-50"><div className="flex items-center"><p className="text-gray-600">Up to {nFormatter(quota)} link clicks/modiff --git a/components/layout/app/nav-tabs.tsx b/components/layout/app/nav-tabs.tsxindex e7046cf757..35c64529b3 100644--- a/components/layout/app/nav-tabs.tsx+++ b/components/layout/app/nav-tabs.tsx@@ -8,7 +8,11 @@ const TabsHelper = (router: NextRouter): { name: string; href: string }[] => {key?: string;};if (key) {- return [{ name: "β All Links", href: `/${slug || "links"}` }];+ if (key === "_root") {+ return [{ name: "β All Domains", href: `/${slug}/domains` }];+ } else {+ return [{ name: "β All Links", href: `/${slug || "links"}` }];+ }} else if (slug) {return [{ name: "Links", href: `/${slug}` },diff --git a/pages/api/projects/[slug]/domains/[domain]/root/clicks.ts b/pages/api/projects/[slug]/domains/[domain]/clicks.tssimilarity index 81%rename from pages/api/projects/[slug]/domains/[domain]/root/clicks.tsrename to pages/api/projects/[slug]/domains/[domain]/clicks.tsindex 0ed85dfa03..eae1e64677 100644--- a/pages/api/projects/[slug]/domains/[domain]/root/clicks.ts+++ b/pages/api/projects/[slug]/domains/[domain]/clicks.ts@@ -2,7 +2,7 @@ import { withProjectAuth } from "@/lib/auth";import { getStats } from "@/lib/stats";export default withProjectAuth(async (req, res) => {- // GET /api/projects/[slug]/domains/[domain]/root/clicks - get # of clicks on root of domain (e.g. dub.sh, vercel.fyi)+ // GET /api/projects/[slug]/domains/[domain]/clicks - get # of clicks on root of domain (e.g. dub.sh, vercel.fyi)if (req.method === "GET") {const { domain } = req.query as {domain: string;diff --git a/pages/api/projects/[slug]/domains/[domain]/root/index.ts b/pages/api/projects/[slug]/domains/[domain]/root/index.tsdeleted file mode 100644index 27b9de008b..0000000000--- a/pages/api/projects/[slug]/domains/[domain]/root/index.ts+++ /dev/null@@ -1,35 +0,0 @@-import { withProjectAuth } from "@/lib/auth";-import { redis } from "@/lib/upstash";-import { RootDomainProps } from "@/lib/types";--export default withProjectAuth(- async (req, res) => {- const { domain } = req.query as { domain: string };-- // GET /api/projects/[slug]/domains/[domain]/root - get root domain- if (req.method === "GET") {- const { target } =- (await redis.get<RootDomainProps>(`root:${domain}`)) || {};- return res.status(200).json(target);-- // PUT /api/projects/[slug]/domains/[domain]/root - change root domain- } else if (req.method === "PUT") {- const { rootDomain } = req.body as { rootDomain: string };- const response = await redis.set(`root:${domain}`, {- target: rootDomain,- rewrite: false,- });- res.status(200).json(response);- } else {- res.setHeader("Allow", ["GET", "PUT"]);- return res- .status(405)- .json({ error: `Method ${req.method} Not Allowed` });- }- },- {- excludeGet: true,- requiredPlan: ["pro", "enterprise"],- needNotExceededUsage: true,- },-);diff --git a/yarn.lock b/yarn.lockindex 62f13cb4c1..c6f555a515 100644--- a/yarn.lock+++ b/yarn.lock@@ -692,10 +692,10 @@resolved "https://registry.yarnpkg.com/@next/env/-/env-13.1.6.tgz#c4925609f16142ded1a5cb833359ab17359b7a93"integrity sha512-s+W9Fdqh5MFk6ECrbnVmmAOwxKQuhGMT7xXHrkYIBMBcTiOqNWhv5KbJIboKR5STXxNXl32hllnvKaffzFaWQg==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/env/-/env-13.3.2.tgz#40783355966db9ef20e062844ca68abd827b76ec"- integrity sha512-W+RJPtDj8PhOmZFi0MMhFoyWCz4tJeDEm7WtTTKflD+fgvmxpuOwxfQ2RWMz2gwnz6gL6hCuXtCtPpBBHDB7rg==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/env/-/env-13.4.0.tgz#8f044b8d8e4e8205a8e250866cfc6fbca44a786d"+ integrity sha512-LKofmUuxwGXk2OZJSSJ2SlJE62s6z+56aRsze7chc5TPoVouLR9liTiSWxzYuVzuxk0ui2wtIjyR2tcgS1dIyw=="@next/[email protected]":version "13.1.6"@@ -712,20 +712,20 @@resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.6.tgz#ec1b90fd9bf809d8b81004c5182e254dced4ad96"integrity sha512-KKRQH4DDE4kONXCvFMNBZGDb499Hs+xcFAwvj+rfSUssIDrZOlyfJNy55rH5t2Qxed1e4K80KEJgsxKQN1/fyw==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.3.2.tgz#4def23ae8e162722140598bc8846013073d15285"- integrity sha512-Wa5o2EbkBP0NcUM13sEjzGoB86YTZWUfoqbbVB7gs9RJAy8KkIoGNoLV7K55fru7GNgHsRMga3j1FadjJJWQYg==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.0.tgz#4d741fc1d71f8353ad9f42789636155e6cb6917f"+ integrity sha512-C39AGL3ANXA+P3cFclQjFZaJ4RHPmuBhskmyy0N3VyCntDmRrNkS4aXeNY4Xwure9IL1nuw02D8bM55I+FsbuQ=="@next/[email protected]":version "13.1.6"resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.6.tgz#e869ac75d16995eee733a7d1550322d9051c1eb4"integrity sha512-/uOky5PaZDoaU99ohjtNcDTJ6ks/gZ5ykTQDvNZDjIoCxFe3+t06bxsTPY6tAO6uEAw5f6vVFX5H5KLwhrkZCA==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.3.2.tgz#f0e768ae3bf417b60d17c924dab97efa0d827a6a"- integrity sha512-mSk/rSKIo/VMTQa0t8DMELsNjjyYHMbX0q+MK7+SoWysiA5KrU0MQ2h8DUPf2T5tmQjyaUpX49l4j/dr2jovBA==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.0.tgz#da9ff9c0ffe20fb5755f7ce562cd3084d29890b8"+ integrity sha512-nj6nx6o7rnBXjo1woZFWLk7OUs7y0SQ0k65SX62kc88GqXtYi3BCqbBznjOX8qtrO//NmtAde/Jd5qkjSgINUQ=="@next/[email protected]":version "13.1.6"@@ -742,70 +742,70 @@resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.6.tgz#87a71db21cded3f7c63d1d19079845c59813c53d"integrity sha512-yCH+yDr7/4FDuWv6+GiYrPI9kcTAO3y48UmaIbrKy8ZJpi7RehJe3vIBRUmLrLaNDH3rY1rwoHi471NvR5J5NQ==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.3.2.tgz#93ba67e12a9fdaad430e0b05d04df146c13d4a01"- integrity sha512-+5OC61uF33s0GdiGK2D5436Z2BqE8tJnlC6csTcBvCKQyvLsp6H5sPND5A1D2p/Gzh0mIGV/5vqfQ8yy+akOjw==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.0.tgz#ca6a8bcc0e4a2c0159217fd8153aba8d2304310d"+ integrity sha512-FBYL7kpzI2KG3lv8gO4xVYmWcFohptjzD9RCLdXsAz+Kqz5VCJILF21DoRcz4Nwj/jMe0SO7l5kBVW4POl4EaQ=="@next/[email protected]":version "13.1.6"resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.6.tgz#c5aac8619331b9fd030603bbe2b36052011e11de"integrity sha512-ECagB8LGX25P9Mrmlc7Q/TQBb9rGScxHbv/kLqqIWs2fIXy6Y/EiBBiM72NTwuXUFCNrWR4sjUPSooVBJJ3ESQ==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.3.2.tgz#d0d1e594949f9b36f82c45d25c10c41da4aaf5d2"- integrity sha512-TZ7c7iZ3MB8yRBukbNVNzKSX/k9DKtGaEuofIZBWp+o4e29e8iuJaej9UUCNUkN6L/117/AEnlpH1c7yfvSj8Q==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.0.tgz#97b7c0eb3bea44a0ce08f12af39b2118d7c0cd4d"+ integrity sha512-S3htBbcovnLMgVn0z1ThrP1iAeEM43fw8B7S3KyHTAGe0I21ww4rvUkLdgPCqLNvMpv899lmG7NU5rs6rTkGvg=="@next/[email protected]":version "13.1.6"resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.6.tgz#9513d36d540bbfea575576746736054c31aacdea"integrity sha512-GT5w2mruk90V/I5g6ScuueE7fqj/d8Bui2qxdw6lFxmuTgMeol5rnzAv4uAoVQgClOUO/MULilzlODg9Ib3Y4Q==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.3.2.tgz#9e07174fda6049c9f29988fb7b892047319d9ba1"- integrity sha512-aVoiakznPxGFIMcNlnY4HlZ4Be6oGhthaLSoXiVeplAgHLzHU2UqPMWqB/8/1TfMdWwISmwH4hb6DcdQ/PzTyA==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.0.tgz#13a378c8640057a70033adcae4c0609745cbd42f"+ integrity sha512-H8GhCgQwFl6iWJ6azQ2tG/GY8BUg1nhPtg4Tp2kIPljdyQypTGJe8oRnPDx0N48WWvB2fNeA7LNEwzVuSidH2w=="@next/[email protected]":version "13.1.6"resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.6.tgz#d61fc6884899f5957251f4ce3f522e34a2c479b7"integrity sha512-keFD6KvwOPzmat4TCnlnuxJCQepPN+8j3Nw876FtULxo8005Y9Ghcl7ACcR8GoiKoddAq8gxNBrpjoxjQRHeAQ==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.3.2.tgz#14ac31c555987c9f354c0439baac55bf78396fe1"- integrity sha512-D2CsQZkBq/hcdcQkMXrG2huLJDPhyMuO5J8ZOc5fZtI8D/UxcRjWWK8yw+JgbOdZ3D9IMJSD3cd5QMx4VEI+Kg==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.0.tgz#d1a6a7f733fff357cb99bae793cd4050de648963"+ integrity sha512-mztVybRPY39NfPOA3QrRQKzYuw7A/D8ElR6ruvM1cBsXMEfF5xTzdZqfTtrE/gNTPUFug9FJPpiRpkZ4mDUl8w=="@next/[email protected]":version "13.1.6"resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.6.tgz#fac2077a8ae9768e31444c9ae90807e64117cda7"integrity sha512-OwertslIiGQluFvHyRDzBCIB07qJjqabAmINlXUYt7/sY7Q7QPE8xVi5beBxX/rxTGPIbtyIe3faBE6Z2KywhQ==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.3.2.tgz#c2250ee0f4c2e73def67f308ae0e6ca72b309ae7"- integrity sha512-mjiWKEf9i1JAVePOa0Uw7c5c9Dp5D0LrevwIg31SNEpp8NwTr+ifHQzgf/ELNBWMxMLyiZiywWbYdcIjoa5y4A==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.0.tgz#3c029b1eeed78a375d99c924e52ec84d32d984cb"+ integrity sha512-mdVh/n0QqT2uXqn8kaTywUoLxY1OYqTpiKbt5b51pDwOStqgbIbqBqG0A7XDaiqWa7RKwllOYxPlPm16EDfWUA=="@next/[email protected]":version "13.1.6"resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.6.tgz#498bc11c91b4c482a625bf4b978f98ae91111e46"integrity sha512-g8zowiuP8FxUR9zslPmlju7qYbs2XBtTLVSxVikPtUDQedhcls39uKYLvOOd1JZg0ehyhopobRoH1q+MHlIN/w==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.3.2.tgz#2dc3d1ba547a91ce128802785463bcf80379a639"- integrity sha512-fee18wB9lfAnyAwJbyqN/PhcXWH1lGpBWJVF0gTB8G8/eUU0Vlq524Qt1RCt0K0pxLsSEhw1wEpGvqYYrAdQTA==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.0.tgz#e32f0e30cd479805aab0e938e90788726dec36c7"+ integrity sha512-GNRqT2mqxxH0x9VthFqziBj8X8HsoBUougmLe3kOouRq/jF73LpKXG0Qs2MYkylqvv/Wg31EYjFNcJnBi1Nimg=="@next/[email protected]":version "13.1.6"resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.6.tgz#17ed919c723426b7d0ce1cd73d40ce3dcd342089"integrity sha512-Ls2OL9hi3YlJKGNdKv8k3X/lLgc3VmLG3a/DeTkAd+lAituJp8ZHmRmm9f9SL84fT3CotlzcgbdaCDfFwFA6bA==-"@next/[email protected]":- version "13.3.2"- resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.3.2.tgz#f05e73f763705ea23bc25243fcf2547ce5f09151"- integrity sha512-eE6hPs0vtM08UB3B8YM1KIBOYZHJPF7NtWBdU0EIvRJ+R197+3W3VraaVBMMg0zy0e2e1jKgQPypakxN+vfZcw==+"@next/[email protected]":+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.0.tgz#19ab6fe9afd770a223f00694149d0465b35518e4"+ integrity sha512-0AkvhUBUqeb4WKN75IW1KjPkN3HazQFA0OpMuTK+6ptJUXMaMwDDcF3sIPCI741BJ2fpODB7BPM4C63hXWEypg=="@nodelib/[email protected]":version "2.1.5"@@ -6712,27 +6712,28 @@ [email protected]:"@next/swc-win32-ia32-msvc" "13.1.6""@next/swc-win32-x64-msvc" "13.1.6"-next@^13.3.2:- version "13.3.2"- resolved "https://registry.yarnpkg.com/next/-/next-13.3.2.tgz#3409425593410571aa835867865b6db9c3fddd68"- integrity sha512-82VuWoMGWFqGUwCEWcqkIhGgdRry+VKVBZ9KNte1Uk2byZKvPZrC5c62fYHrIhSf36YKY6m21hxdyDzn6MDHFA==+next@^13.4.0:+ version "13.4.0"+ resolved "https://registry.yarnpkg.com/next/-/next-13.4.0.tgz#b6c2c65f9c5a06145b75fd52c723bc6b57cb0be7"+ integrity sha512-y3E+2ZjiVrphkz7zcJvd2rEG6miOekI8krPfWV4AZZ9TaF0LDuFdP/f+RQ5M9wRvsz6GWw8k8+7jsO860GxSqg==dependencies:- "@next/env" "13.3.2"+ "@next/env" "13.4.0""@swc/helpers" "0.5.1"busboy "1.6.0"caniuse-lite "^1.0.30001406"postcss "8.4.14"styled-jsx "5.1.1"+ zod "3.21.4"optionalDependencies:- "@next/swc-darwin-arm64" "13.3.2"- "@next/swc-darwin-x64" "13.3.2"- "@next/swc-linux-arm64-gnu" "13.3.2"- "@next/swc-linux-arm64-musl" "13.3.2"- "@next/swc-linux-x64-gnu" "13.3.2"- "@next/swc-linux-x64-musl" "13.3.2"- "@next/swc-win32-arm64-msvc" "13.3.2"- "@next/swc-win32-ia32-msvc" "13.3.2"- "@next/swc-win32-x64-msvc" "13.3.2"+ "@next/swc-darwin-arm64" "13.4.0"+ "@next/swc-darwin-x64" "13.4.0"+ "@next/swc-linux-arm64-gnu" "13.4.0"+ "@next/swc-linux-arm64-musl" "13.4.0"+ "@next/swc-linux-x64-gnu" "13.4.0"+ "@next/swc-linux-x64-musl" "13.4.0"+ "@next/swc-win32-arm64-msvc" "13.4.0"+ "@next/swc-win32-ia32-msvc" "13.4.0"+ "@next/swc-win32-x64-msvc" "13.4.0"no-case@^2.2.0:version "2.3.2"@@ -9210,16 +9211,16 @@ [email protected]:resolved "https://registry.yarnpkg.com/yoga-wasm-web/-/yoga-wasm-web-0.1.2.tgz#05d3fc9cbdfd57ac9682debb5001aca075489a39"integrity sha512-8SkgawHcA0RUbMrnhxbaQkZDBi8rMed8pQHixkFF9w32zGhAwZ9/cOHWlpYfr6RCx42Yp3siV45/jPEkJxsk6w==[email protected], zod@^3.21.4:+ version "3.21.4"+ resolved "https://registry.yarnpkg.com/zod/-/zod-3.21.4.tgz#10882231d992519f0a10b5dd58a38c9dabbb64db"+ integrity sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==+zod@^3.20.0:version "3.20.6"resolved "https://registry.yarnpkg.com/zod/-/zod-3.20.6.tgz#2f2f08ff81291d47d99e86140fedb4e0db08361a"integrity sha512-oyu0m54SGCtzh6EClBVqDDlAYRz4jrVtKwQ7ZnsEmMI9HnzuZFj8QFwAY1M5uniIYACdGvv0PBWPF2kO0aNofA==-zod@^3.21.4:- version "3.21.4"- resolved "https://registry.yarnpkg.com/zod/-/zod-3.21.4.tgz#10882231d992519f0a10b5dd58a38c9dabbb64db"- integrity sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==-zwitch@^2.0.0, zwitch@^2.0.4:version "2.0.4"resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-2.0.4.tgz#c827d4b0acb76fc3e685a4c6ec2902d51070e9d7"