Skip to content

Full Toolkit for Next-Level Domain Analysis

Setup and run Prettier ✨

Felix Wotschofsky37f018d1ebae
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 0000000..536d88c
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1 @@
+.next/
diff --git a/.prettierrc.js b/.prettierrc.js
new file mode 100644
index 0000000..1078435
--- /dev/null
+++ b/.prettierrc.js
@@ -0,0 +1,21 @@
+module.exports = {
+ semi: true,
+ singleQuote: true,
+ trailingComma: 'es5',
+ tabWidth: 2,
+ useTabs: false,
+ plugins: [
+ '@trivago/prettier-plugin-sort-imports',
+ 'prettier-plugin-tailwindcss',
+ ],
+ importOrder: [
+ '<THIRD_PARTY_MODULES>',
+ '^@/components/ui/(.*)$',
+ '^@/(.*)$',
+ '^[./]',
+ ],
+ importOrderSeparation: true,
+ importOrderSortSpecifiers: true,
+ importOrderGroupNamespaceSpecifiers: true,
+ importOrderCaseInsensitive: true,
+};
diff --git a/.vscode/settings.json b/.vscode/settings.json
index d067910..fae8e3d 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,4 +1,4 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
-}
\ No newline at end of file
+}
diff --git a/README.md b/README.md
index 3e8c0fc..eab1c6f 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,21 @@
# Domain Digger
-*Simple Next.js app that allows you to view various details related to a domain name.*
+_Simple Next.js app that allows you to view various details related to a domain name._
[Try it now!](https://domain-digger.felisk.io)
## Features
-* List all DNS Records for a Domain or Subdomain
-* IP Details including Geolocation (including OpenStreetMap Map)
-* Whois Lookup
-* Made with Chakra UI
-* Light and Dark Mode
+- List all DNS Records for a Domain or Subdomain
+- IP Details including Geolocation (including OpenStreetMap Map)
+- Whois Lookup
+- Made with Chakra UI
+- Light and Dark Mode
## Screenshots
-![alt text](screenshots/dns-records.png "Screenshot of DNS Records")
-*DNS Records*
+![alt text](screenshots/dns-records.png 'Screenshot of DNS Records')
+_DNS Records_
-![alt text](screenshots/ip-details.png "Screenshot of IP Details")
-*IP Details*
+![alt text](screenshots/ip-details.png 'Screenshot of IP Details')
+_IP Details_
diff --git a/app/layout.tsx b/app/layout.tsx
index d9e780e..0c67cb6 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,7 +1,5 @@
'use client';
-import Footer from '@/components/Footer';
-import Header from '@/components/Header';
import {
chakra,
ChakraProvider,
@@ -10,6 +8,10 @@ import {
} from '@chakra-ui/react';
import type { ReactNode } from 'react';
import { SWRConfig } from 'swr';
+
+import Footer from '@/components/Footer';
+import Header from '@/components/Header';
+
import './globals.css';
// export const metadata = {
diff --git a/app/page.tsx b/app/page.tsx
index ecad068..f27eaac 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,8 +1,8 @@
+import { Card } from '@/components/ui/card';
+
import BookmarkletLink from '@/components/BookmarkletLink';
import SearchForm from '@/components/SearchForm';
-import { Card } from '@/components/ui/card';
-
export const metadata = {
title: 'Domain Digger',
};
@@ -10,20 +10,20 @@ export const metadata = {
const Home = () => {
return (
<>
- <Card className="max-w-lg mx-auto my-16 p-6">
- <h2 className="text-center text-xl sm:text-2xl font-semibold tracking-tight mb-5">
+ <Card className="mx-auto my-16 max-w-lg p-6">
+ <h2 className="mb-5 text-center text-xl font-semibold tracking-tight sm:text-2xl">
Get details about any Domain
</h2>
<SearchForm />
</Card>
- <Card className="max-w-lg mx-auto my-16 p-6">
- <h2 className="text-center text-xl sm:text-2xl font-semibold tracking-tight mb-5">
+ <Card className="mx-auto my-16 max-w-lg p-6">
+ <h2 className="mb-5 text-center text-xl font-semibold tracking-tight sm:text-2xl">
Quickly inspect any Website
</h2>
- <p className="text-sm text-center text-muted-foreground mt-2 mb-5">
+ <p className="mb-5 mt-2 text-center text-sm text-muted-foreground">
Drag this link to your bookmarks bar to quickly go to the results page
for the site you are currently on!
</p>
diff --git a/components/CertInfo.tsx b/components/CertInfo.tsx
index 2649a93..ab9af58 100644
--- a/components/CertInfo.tsx
+++ b/components/CertInfo.tsx
@@ -69,7 +69,11 @@ const CertInfo = ({ domain }: CertInfoProps) => {
<>
<span>{cert.commonName}</span>{' '}
<Tooltip label="View Domain Records">
- <NextLink href={`/lookup/${cert.commonName}`} passHref legacyBehavior>
+ <NextLink
+ href={`/lookup/${cert.commonName}`}
+ passHref
+ legacyBehavior
+ >
<Link>
<IconButton
variant="link"
diff --git a/components/DnsTable.tsx b/components/DnsTable.tsx
index b72f75b..e3a209c 100644
--- a/components/DnsTable.tsx
+++ b/components/DnsTable.tsx
@@ -1,9 +1,9 @@
-import { Fragment } from 'react';
import { chakra, Heading, Table, Tbody, Th, Thead, Tr } from '@chakra-ui/react';
import { css } from '@emotion/react';
+import { Fragment } from 'react';
-import { ResolvedRecords } from '@/utils/DnsLookup';
import RecordRow from '@/components/RecordRow';
+import { ResolvedRecords } from '@/utils/DnsLookup';
type DnsTableProps = {
records: ResolvedRecords;
diff --git a/components/Footer.tsx b/components/Footer.tsx
index fe82b97..48f9349 100644
--- a/components/Footer.tsx
+++ b/components/Footer.tsx
@@ -1,3 +1,4 @@
+import { ExternalLinkIcon } from '@chakra-ui/icons';
import {
Box,
ButtonGroup,
@@ -8,7 +9,6 @@ import {
Stack,
Text,
} from '@chakra-ui/react';
-import { ExternalLinkIcon } from '@chakra-ui/icons';
import { FaGithub, FaHeart } from 'react-icons/fa';
const Footer = () => (
diff --git a/components/Header.tsx b/components/Header.tsx
index 3d8e99b..2c802e8 100644
--- a/components/Header.tsx
+++ b/components/Header.tsx
@@ -1,4 +1,3 @@
-import Link from 'next/link';
import {
Box,
ButtonGroup,
@@ -7,7 +6,8 @@ import {
Text,
useColorMode,
} from '@chakra-ui/react';
-import { FaSun, FaMoon } from 'react-icons/fa';
+import Link from 'next/link';
+import { FaMoon, FaSun } from 'react-icons/fa';
const Header = () => {
const { colorMode, toggleColorMode } = useColorMode();
diff --git a/components/IpDetailsModal.tsx b/components/IpDetailsModal.tsx
index ef4abb0..e98004b 100644
--- a/components/IpDetailsModal.tsx
+++ b/components/IpDetailsModal.tsx
@@ -1,5 +1,3 @@
-import dynamic from 'next/dynamic';
-import NextLink from 'next/link';
import { ExternalLinkIcon } from '@chakra-ui/icons';
import {
chakra,
@@ -20,8 +18,10 @@ import {
Tr,
} from '@chakra-ui/react';
import { css } from '@emotion/react';
-import useSWR from 'swr';
import type { LatLngExpression } from 'leaflet';
+import dynamic from 'next/dynamic';
+import NextLink from 'next/link';
+import useSWR from 'swr';
import type { IpLookupResponse } from '@/api/lookupIp';
@@ -120,7 +120,11 @@ const IpDetailsModal = (props: IpDetailsModalProps) => {
<span>{el.value}</span>{' '}
{el.type === EntryTypes.Reverse && (
<Tooltip label="View Domain Records">
- <NextLink href={`/lookup/${el.value}`} passHref legacyBehavior>
+ <NextLink
+ href={`/lookup/${el.value}`}
+ passHref
+ legacyBehavior
+ >
<Link>
<IconButton
variant="link"
diff --git a/components/LocationMap.tsx b/components/LocationMap.tsx
index 9fcc89e..04a2cf4 100644
--- a/components/LocationMap.tsx
+++ b/components/LocationMap.tsx
@@ -1,8 +1,8 @@
-import { MapContainer, TileLayer, Marker } from 'react-leaflet';
import type { LatLngExpression } from 'leaflet';
import 'leaflet-defaulticon-compatibility';
import 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css';
import 'leaflet/dist/leaflet.css';
+import { MapContainer, Marker, TileLayer } from 'react-leaflet';
const LocationMap = ({ location }: { location: LatLngExpression }) => (
<MapContainer center={location} zoom={4}>
diff --git a/components/LookupPageContent.tsx b/components/LookupPageContent.tsx
index bbfdadc..d76ecab 100644
--- a/components/LookupPageContent.tsx
+++ b/components/LookupPageContent.tsx
@@ -1,5 +1,6 @@
'use client';
+import { ExternalLinkIcon } from '@chakra-ui/icons';
import {
Container,
Heading,
@@ -11,15 +12,14 @@ import {
Tabs,
Text,
} from '@chakra-ui/react';
-import { ExternalLinkIcon } from '@chakra-ui/icons';
+import type { FC } from 'react';
import CertInfo from '@/components/CertInfo';
import DnsTable from '@/components/DnsTable';
import RelatedDomains from '@/components/RelatedDomains';
import SearchForm from '@/components/SearchForm';
-import type { FC } from 'react';
-import type { ResolvedRecords } from '@/utils/DnsLookup';
import WhoisInfo from '@/components/WhoisInfo';
+import type { ResolvedRecords } from '@/utils/DnsLookup';
type LookupPageContentProps = {
domain: string;
diff --git a/components/RecordRow.tsx b/components/RecordRow.tsx
index df34b72..0bf380c 100644
--- a/components/RecordRow.tsx
+++ b/components/RecordRow.tsx
@@ -1,5 +1,4 @@
import { ExternalLinkIcon } from '@chakra-ui/icons';
-import { FaInfoCircle } from 'react-icons/fa';
import {
IconButton,
Link,
@@ -8,14 +7,15 @@ import {
Tr,
useDisclosure,
} from '@chakra-ui/react';
+import NextLink from 'next/link';
import { useRouter } from 'next/navigation';
import { ReactNodeArray, useEffect, useState } from 'react';
-import isIP from 'validator/lib/isIP';
-import NextLink from 'next/link';
+import { FaInfoCircle } from 'react-icons/fa';
import reactStringReplace from 'react-string-replace';
+import isIP from 'validator/lib/isIP';
-import { RawRecord } from '@/utils/DnsLookup';
import IpDetailsModal from '@/components/IpDetailsModal';
+import { RawRecord } from '@/utils/DnsLookup';
const domainRegex =
/(_)*(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/g;
@@ -64,23 +64,25 @@ const RecordRow = ({ record }: { record: RawRecord }) => {
);
}
- return <>
- <span>{match}</span>{' '}
- <Tooltip label="View Domain Records">
- <NextLink href={`/lookup/${match}`} passHref legacyBehavior>
- <Link>
- <IconButton
- variant="link"
- size="sm"
- ml={-2.5}
- mr={-1.5}
- aria-label="View Domain Records"
- icon={<ExternalLinkIcon />}
- />
- </Link>
- </NextLink>
- </Tooltip>
- </>;
+ return (
+ <>
+ <span>{match}</span>{' '}
+ <Tooltip label="View Domain Records">
+ <NextLink href={`/lookup/${match}`} passHref legacyBehavior>
+ <Link>
+ <IconButton
+ variant="link"
+ size="sm"
+ ml={-2.5}
+ mr={-1.5}
+ aria-label="View Domain Records"
+ icon={<ExternalLinkIcon />}
+ />
+ </Link>
+ </NextLink>
+ </Tooltip>
+ </>
+ );
}
);
}
diff --git a/components/RelatedDomains.tsx b/components/RelatedDomains.tsx
index 260cfa2..4f90122 100644
--- a/components/RelatedDomains.tsx
+++ b/components/RelatedDomains.tsx
@@ -1,5 +1,5 @@
-import NextLink from 'next/link';
import { Button, Stack } from '@chakra-ui/react';
+import NextLink from 'next/link';
type RelatedDomainsProps = {
domain: string;
@@ -21,11 +21,9 @@ const RelatedDomains = ({ domain: original }: RelatedDomainsProps) => {
return (
<Stack spacing={4} direction="row" align="center">
{domains.map((domain) => (
- (<NextLink key={domain} href={`/lookup/${domain}`}>
-
+ <NextLink key={domain} href={`/lookup/${domain}`}>
<Button size="xs">{domain}</Button>
-
- </NextLink>)
+ </NextLink>
))}
</Stack>
);
diff --git a/components/SearchForm.tsx b/components/SearchForm.tsx
index 7a2a281..2d9fcce 100644
--- a/components/SearchForm.tsx
+++ b/components/SearchForm.tsx
@@ -1,10 +1,10 @@
'use client';
-import { ChangeEvent, FormEvent, useEffect, useState } from 'react';
+import isValidDomain from 'is-valid-domain';
import { Loader2 } from 'lucide-react';
-import { toASCII } from 'punycode';
import { useRouter } from 'next/navigation';
-import isValidDomain from 'is-valid-domain';
+import { toASCII } from 'punycode';
+import { ChangeEvent, FormEvent, useEffect, useState } from 'react';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
@@ -80,11 +80,11 @@ const SearchForm = (props: SearchFormProps) => {
</form>
{error ? (
- <p className="text-sm text-center text-red-600 mt-2">
+ <p className="mt-2 text-center text-sm text-red-600">
An error occured! Please check your input or try again later.
</p>
) : (
- <p className="text-sm text-center text-muted-foreground mt-2">
+ <p className="mt-2 text-center text-sm text-muted-foreground">
It can be anything! An apex or subdomain.
</p>
)}
diff --git a/components/ui/button.tsx b/components/ui/button.tsx
index e46f96e..5da64c5 100644
--- a/components/ui/button.tsx
+++ b/components/ui/button.tsx
@@ -1,6 +1,6 @@
import * as React from 'react';
import { Slot } from '@radix-ui/react-slot';
-import { VariantProps, cva } from 'class-variance-authority';
+import { cva, VariantProps } from 'class-variance-authority';
import { cn } from '@/lib/utils';
diff --git a/next.config.js b/next.config.js
index a843cbe..91ef62f 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
-}
+};
-module.exports = nextConfig
+module.exports = nextConfig;
diff --git a/package.json b/package.json
index 1d97bb8..a3ca1e4 100644
--- a/package.json
+++ b/package.json
@@ -1,53 +1,57 @@
-{
- "name": "domain-digger",
- "version": "0.1.0",
- "private": true,
- "scripts": {
- "dev": "next dev",
- "build": "next build",
- "start": "next start",
- "lint": "next lint"
- },
- "dependencies": {
- "@chakra-ui/icons": "^2.0.19",
- "@chakra-ui/react": "^2.6.1",
- "@emotion/react": "^11.11.0",
- "@emotion/styled": "^11.11.0",
- "@radix-ui/react-slot": "^1.0.1",
- "@types/nprogress": "^0.2.0",
- "@types/punycode": "^2.1.0",
- "@types/validator": "^13.7.17",
- "autoprefixer": "^10.4.14",
- "class-variance-authority": "^0.6.0",
- "clsx": "^1.2.1",
- "framer-motion": "^10.12.12",
- "is-valid-domain": "^0.1.5",
- "leaflet": "^1.9.4",
- "leaflet-defaulticon-compatibility": "^0.1.1",
- "lucide-react": "^0.220.0",
- "next": "13.4.3",
- "nprogress": "^0.2.0",
- "postcss": "^8.4.23",
- "punycode": "^2.3.0",
- "react": "18.2.0",
- "react-dom": "18.2.0",
- "react-icons": "^4.8.0",
- "react-leaflet": "^4.2.1",
- "react-string-replace": "^1.1.0",
- "swr": "^2.1.5",
- "tailwind-merge": "^1.12.0",
- "tailwindcss": "^3.3.2",
- "tailwindcss-animate": "^1.0.5",
- "validator": "^13.9.0",
- "whoiser": "^1.17.1"
- },
- "devDependencies": {
- "@types/leaflet": "^1.9.3",
- "@types/node": "^20.2.1",
- "@types/react": "18.2.6",
- "@types/react-dom": "18.2.4",
- "eslint": "^8.41.0",
- "eslint-config-next": "^13.4.3",
- "typescript": "^5.0.4"
- }
-}
+{
+ "name": "domain-digger",
+ "version": "0.1.0",
+ "private": true,
+ "scripts": {
+ "dev": "next dev",
+ "build": "next build",
+ "start": "next start",
+ "lint": "next lint",
+ "format": "yarn prettier --write \"**/*.{js,jsx,ts,tsx,json,css,scss,md,mdx}\""
+ },
+ "dependencies": {
+ "@chakra-ui/icons": "^2.0.19",
+ "@chakra-ui/react": "^2.6.1",
+ "@emotion/react": "^11.11.0",
+ "@emotion/styled": "^11.11.0",
+ "@radix-ui/react-slot": "^1.0.1",
+ "@types/nprogress": "^0.2.0",
+ "@types/punycode": "^2.1.0",
+ "@types/validator": "^13.7.17",
+ "autoprefixer": "^10.4.14",
+ "class-variance-authority": "^0.6.0",
+ "clsx": "^1.2.1",
+ "framer-motion": "^10.12.12",
+ "is-valid-domain": "^0.1.5",
+ "leaflet": "^1.9.4",
+ "leaflet-defaulticon-compatibility": "^0.1.1",
+ "lucide-react": "^0.220.0",
+ "next": "13.4.3",
+ "nprogress": "^0.2.0",
+ "postcss": "^8.4.23",
+ "punycode": "^2.3.0",
+ "react": "18.2.0",
+ "react-dom": "18.2.0",
+ "react-icons": "^4.8.0",
+ "react-leaflet": "^4.2.1",
+ "react-string-replace": "^1.1.0",
+ "swr": "^2.1.5",
+ "tailwind-merge": "^1.12.0",
+ "tailwindcss": "^3.3.2",
+ "tailwindcss-animate": "^1.0.5",
+ "validator": "^13.9.0",
+ "whoiser": "^1.17.1"
+ },
+ "devDependencies": {
+ "@trivago/prettier-plugin-sort-imports": "^4.1.1",
+ "@types/leaflet": "^1.9.3",
+ "@types/node": "^20.2.1",
+ "@types/react": "18.2.6",
+ "@types/react-dom": "18.2.4",
+ "eslint": "^8.41.0",
+ "eslint-config-next": "^13.4.3",
+ "prettier": "^2.8.8",
+ "prettier-plugin-tailwindcss": "^0.3.0",
+ "typescript": "^5.0.4"
+ }
+}
diff --git a/pages/api/lookupCerts.ts b/pages/api/lookupCerts.ts
index 7764b40..25abe13 100644
--- a/pages/api/lookupCerts.ts
+++ b/pages/api/lookupCerts.ts
@@ -1,5 +1,5 @@
-import type { NextRequest } from 'next/server';
import isValidDomain from 'is-valid-domain';
+import type { NextRequest } from 'next/server';
export type CertLookupResponse = {
certificates: {
diff --git a/pages/api/lookupIp.ts b/pages/api/lookupIp.ts
index 72a64ed..aacc146 100644
--- a/pages/api/lookupIp.ts
+++ b/pages/api/lookupIp.ts
@@ -1,6 +1,6 @@
+import dns from 'dns';
import type { NextApiRequest, NextApiResponse } from 'next';
import { promisify } from 'util';
-import dns from 'dns';
import isIP from 'validator/lib/isIP';
export type IpLookupResponse = {
diff --git a/pages/api/lookupWhois.ts b/pages/api/lookupWhois.ts
index e208c04..6bcdf46 100644
--- a/pages/api/lookupWhois.ts
+++ b/pages/api/lookupWhois.ts
@@ -1,5 +1,5 @@
-import type { NextApiRequest, NextApiResponse } from 'next';
import isValidDomain from 'is-valid-domain';
+import type { NextApiRequest, NextApiResponse } from 'next';
import whoiser, { type WhoisSearchResult } from 'whoiser';
export type WhoisLookupResponse = {
diff --git a/postcss.config.js b/postcss.config.js
index 33ad091..12a703d 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -3,4 +3,4 @@ module.exports = {
tailwindcss: {},
autoprefixer: {},
},
-}
+};
diff --git a/yarn.lock b/yarn.lock
index 82b05aa..a428529 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -14,6 +14,52 @@
dependencies:
"@babel/highlight" "^7.18.6"
+"@babel/code-frame@^7.16.7", "@babel/code-frame@^7.18.6":
+ version "7.21.4"
+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39"
+ integrity sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==
+ dependencies:
+ "@babel/highlight" "^7.18.6"
+
+ version "7.17.7"
+ resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.7.tgz#8da2599beb4a86194a3b24df6c085931d9ee45ad"
+ integrity sha512-oLcVCTeIFadUoArDTwpluncplrYBmTCCZZgXCbgNGvOBBiSDDK3eWO4b/+eOTli5tKv1lg+a5/NAXg+nTcei1w==
+ dependencies:
+ "@babel/types" "^7.17.0"
+ jsesc "^2.5.1"
+ source-map "^0.5.0"
+
+"@babel/generator@^7.17.3":
+ version "7.21.5"
+ resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.5.tgz#c0c0e5449504c7b7de8236d99338c3e2a340745f"
+ integrity sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w==
+ dependencies:
+ "@babel/types" "^7.21.5"
+ "@jridgewell/gen-mapping" "^0.3.2"
+ "@jridgewell/trace-mapping" "^0.3.17"
+ jsesc "^2.5.1"
+
+"@babel/helper-environment-visitor@^7.16.7":
+ version "7.21.5"
+ resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz#c769afefd41d171836f7cb63e295bedf689d48ba"
+ integrity sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ==
+
+"@babel/helper-function-name@^7.16.7":
+ version "7.21.0"
+ resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz#d552829b10ea9f120969304023cd0645fa00b1b4"
+ integrity sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==
+ dependencies:
+ "@babel/template" "^7.20.7"
+ "@babel/types" "^7.21.0"
+
+"@babel/helper-hoist-variables@^7.16.7":
+ version "7.18.6"
+ resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678"
+ integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==
+ dependencies:
+ "@babel/types" "^7.18.6"
+
"@babel/helper-module-imports@^7.16.7":
version "7.18.6"
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e"
@@ -21,12 +67,24 @@
dependencies:
"@babel/types" "^7.18.6"
+"@babel/helper-split-export-declaration@^7.16.7":
+ version "7.18.6"
+ resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075"
+ integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==
+ dependencies:
+ "@babel/types" "^7.18.6"
+
"@babel/helper-string-parser@^7.19.4":
version "7.19.4"
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63"
integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==
-"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1":
+"@babel/helper-string-parser@^7.21.5":
+ version "7.21.5"
+ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz#2b3eea65443c6bdc31c22d037c65f6d323b6b2bd"
+ integrity sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==
+
+"@babel/helper-validator-identifier@^7.16.7", "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1":
version "7.19.1"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2"
integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==
@@ -40,6 +98,11 @@
chalk "^2.0.0"
js-tokens "^4.0.0"
+"@babel/parser@^7.17.3", "@babel/parser@^7.20.5", "@babel/parser@^7.20.7":
+ version "7.21.8"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.8.tgz#642af7d0333eab9c0ad70b14ac5e76dbde7bfdf8"
+ integrity sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==
+
"@babel/runtime-corejs3@^7.10.2":
version "7.20.1"
resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.20.1.tgz#d0775a49bb5fba77e42cbb7276c9955c7b05af8d"
@@ -62,6 +125,48 @@
dependencies:
regenerator-runtime "^0.13.11"
+"@babel/template@^7.20.7":
+ version "7.20.7"
+ resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8"
+ integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==
+ dependencies:
+ "@babel/code-frame" "^7.18.6"
+ "@babel/parser" "^7.20.7"
+ "@babel/types" "^7.20.7"
+
+ version "7.17.3"
+ resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.3.tgz#0ae0f15b27d9a92ba1f2263358ea7c4e7db47b57"
+ integrity sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw==
+ dependencies:
+ "@babel/code-frame" "^7.16.7"
+ "@babel/generator" "^7.17.3"
+ "@babel/helper-environment-visitor" "^7.16.7"
+ "@babel/helper-function-name" "^7.16.7"
+ "@babel/helper-hoist-variables" "^7.16.7"
+ "@babel/helper-split-export-declaration" "^7.16.7"
+ "@babel/parser" "^7.17.3"
+ "@babel/types" "^7.17.0"
+ debug "^4.1.0"
+ globals "^11.1.0"
+
+ version "7.17.0"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b"
+ integrity sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.16.7"
+ to-fast-properties "^2.0.0"
+
+"@babel/types@^7.17.0", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.5":
+ version "7.21.5"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.5.tgz#18dfbd47c39d3904d5db3d3dc2cc80bedb60e5b6"
+ integrity sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q==
+ dependencies:
+ "@babel/helper-string-parser" "^7.21.5"
+ "@babel/helper-validator-identifier" "^7.19.1"
+ to-fast-properties "^2.0.0"
+
"@babel/types@^7.18.6":
version "7.20.2"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.2.tgz#67ac09266606190f496322dbaff360fdaa5e7842"
@@ -1076,7 +1181,7 @@
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
-"@jridgewell/trace-mapping@^0.3.9":
+"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9":
version "0.3.18"
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6"
integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==
@@ -1211,6 +1316,18 @@
dependencies:
tslib "^2.4.0"
+"@trivago/prettier-plugin-sort-imports@^4.1.1":
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/@trivago/prettier-plugin-sort-imports/-/prettier-plugin-sort-imports-4.1.1.tgz#71c3c1ae770c3738b6fc85710714844477574ffd"
+ integrity sha512-dQ2r2uzNr1x6pJsuh/8x0IRA3CBUB+pWEW3J/7N98axqt7SQSm+2fy0FLNXvXGg77xEDC7KHxJlHfLYyi7PDcw==
+ dependencies:
+ "@babel/generator" "7.17.7"
+ "@babel/parser" "^7.20.5"
+ "@babel/traverse" "7.17.3"
+ "@babel/types" "7.17.0"
+ javascript-natural-sort "0.7.1"
+ lodash "^4.17.21"
+
"@types/geojson@*":
version "7946.0.10"
resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.10.tgz#6dfbf5ea17142f7f9a043809f1cd4c448cb68249"
@@ -1749,7 +1866,7 @@ debug@^3.2.7:
dependencies:
ms "^2.1.1"
-debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
+debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
version "4.3.4"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
@@ -2367,6 +2484,11 @@ glob@^7.1.3:
once "^1.3.0"
path-is-absolute "^1.0.0"
+globals@^11.1.0:
+ version "11.12.0"
+ resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
+ integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
+
globals@^13.19.0:
version "13.20.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82"
@@ -2681,6 +2803,11 @@ isexe@^2.0.0:
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
+ version "0.7.1"
+ resolved "https://registry.yarnpkg.com/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz#f9e2303d4507f6d74355a73664d1440fb5a0ef59"
+ integrity sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw==
+
jiti@^1.18.2:
version "1.18.2"
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.18.2.tgz#80c3ef3d486ebf2450d9335122b32d121f2a83cd"
@@ -2698,6 +2825,11 @@ js-yaml@^4.1.0:
dependencies:
argparse "^2.0.1"
+jsesc@^2.5.1:
+ version "2.5.2"
+ resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
+ integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
+
json-parse-even-better-errors@^2.3.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d"
@@ -2785,6 +2917,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55"
integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==
+lodash@^4.17.21:
+ version "4.17.21"
+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
+ integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
+
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
@@ -3196,6 +3333,16 @@ prelude-ls@^1.2.1:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
+prettier-plugin-tailwindcss@^0.3.0:
+ version "0.3.0"
+ resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.3.0.tgz#8299b307c7f6467f52732265579ed9375be6c818"
+ integrity sha512-009/Xqdy7UmkcTBpwlq7jsViDqXAYSOMLDrHAdTMlVZOrKfM2o9Ci7EMWTMZ7SkKBFTG04UM9F9iM2+4i6boDA==
+
+prettier@^2.8.8:
+ version "2.8.8"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
+ integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
+
prop-types@^15.6.2, prop-types@^15.8.1:
version "15.8.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
@@ -3469,7 +3616,7 @@ source-map-js@^1.0.2:
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
-source-map@^0.5.7:
+source-map@^0.5.0, source-map@^0.5.7:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==