diff --git a/.gitignore b/.gitignore index d3dfac1..3ef985d 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ *.rar *.tar *.zip +*.tgz # Logs and databases # ###################### diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..1825d0e --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 16.13.0 diff --git a/README.md b/README.md index 748f55d..3ce8f61 100644 --- a/README.md +++ b/README.md @@ -116,9 +116,7 @@ export function BadMagicClient() { ], }; - return ( - - ); + return ; } ``` @@ -150,6 +148,7 @@ Usage: ```jsx ``` @@ -174,7 +173,7 @@ export function AuthForm({ @@ -49,7 +61,7 @@ export function ApplyNowDateButton({ } function now(timeType: "date" | "time" | "dateTime") { - let now = new Date().toISOString(); + const now = new Date().toISOString(); switch (timeType) { case "date": return now.split("T")[0]; diff --git a/src/common/ClearValueButton.tsx b/src/common/ClearValueButton.tsx index c24032b..949ce2b 100644 --- a/src/common/ClearValueButton.tsx +++ b/src/common/ClearValueButton.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { set } from "lodash-es"; +import { cloneDeep, unset } from "lodash-es"; import Button from "./Button"; @@ -29,7 +29,7 @@ export function ClearValueButton({ diff --git a/src/common/HistoricRecord.tsx b/src/common/HistoricRecord.tsx index 1d833c6..4da3a7c 100644 --- a/src/common/HistoricRecord.tsx +++ b/src/common/HistoricRecord.tsx @@ -13,6 +13,7 @@ import { useGlobalContext } from "../context/GlobalContext"; import Button from "../common/Button"; import { HistoricResponse, HistoryMetadata } from "../types"; +import { useNavigate } from "../context/Router"; export function HistoricRecord({ historicResponse, @@ -33,13 +34,13 @@ export function HistoricRecord({ setResponseExpanded(!responseExpanded); }, [responseExpanded]); - const { darkMode, setPartialRequestResponse, setActiveRoute } = - useGlobalContext(); + const { darkMode, setPartialRequestResponse } = useGlobalContext(); + const navigate = useNavigate(); const onLoadRequest = useCallback(() => { - setActiveRoute(historicResponse.route); setPartialRequestResponse(historicResponse); - }, [historicResponse]); + navigate(historicResponse.route); + }, [historicResponse, navigate, setPartialRequestResponse]); const styles = useMemo(() => { return { diff --git a/src/common/History.tsx b/src/common/History.tsx index b912392..844cf62 100644 --- a/src/common/History.tsx +++ b/src/common/History.tsx @@ -15,7 +15,7 @@ export function History({ HistoryMetadata?: HistoryMetadata; filteredHistory: HistoricResponse[]; }) { - const { darkMode } = useGlobalContext(); + const { darkMode, clearHistoricResponses } = useGlobalContext(); // If user is on the History page, don't collapse // If user is on on a Route page, collapse by default to improve page performance @@ -34,8 +34,18 @@ export function History({ return ( <>
-
- History ({filteredHistory.length}) +
+
+ History ({filteredHistory.length}) +
+
{!filteredHistory.length ? ( diff --git a/src/common/Success.tsx b/src/common/Success.tsx index 5251bb8..ad8d759 100644 --- a/src/common/Success.tsx +++ b/src/common/Success.tsx @@ -2,7 +2,7 @@ import React, { PropsWithChildren } from "react"; import Helpers from "../lib/helpers"; -const Success: React.FC = ({ children }: PropsWithChildren<{}>) => { +const Success: React.FC = ({ children }: PropsWithChildren) => { return children ? (
{children} diff --git a/src/common/route/AddCustomParam.tsx b/src/common/route/AddCustomParam.tsx index f5d0dd8..2cc515f 100644 --- a/src/common/route/AddCustomParam.tsx +++ b/src/common/route/AddCustomParam.tsx @@ -49,7 +49,7 @@ export function AddCustomParam({ setParam(paramType === "qsParams" ? { name: "", type: "text" } : null); setIsVisible(false); } - }, [customParams, param, paramType]); + }, [customParams, param, paramType, setCustomParams]); if (!isVisible) { return ( @@ -70,7 +70,7 @@ export function AddCustomParam({ value="" label="Select Param Type" onChange={(type: string) => { - let newParam: Param = { name: "" }; + const newParam: Param = { name: "" }; if (type == "datetime") { // Using this placeholder will trigger the `Now` assist button to popup newParam.placeholder = new Date().toISOString(); diff --git a/src/common/route/ApiError.tsx b/src/common/route/ApiError.tsx index 1e01b82..49b72c1 100644 --- a/src/common/route/ApiError.tsx +++ b/src/common/route/ApiError.tsx @@ -1,9 +1,7 @@ -import React, { useMemo } from "react"; +import React from "react"; import { isObject } from "lodash-es"; import ReactJson from "react-json-view"; -import { ApiResponseStatus } from "./ApiResponseStatus"; - import { useGlobalContext } from "../../context/GlobalContext"; import Helpers from "../../lib/helpers"; @@ -11,29 +9,11 @@ import { ApiError } from "../../types"; export default function ApiError({ error }: { error: null | ApiError }) { const { darkMode } = useGlobalContext(); - const styles = useMemo(() => { - return { - responseStatus: darkMode - ? "bg-gray-800 border-gray-900" - : "bg-gray-200 border-gray-400", - textColor: darkMode ? "text-white" : "", - }; - }, [darkMode]); + if (!error?.response) { return null; } - let responseColor; - if ( - error?.response?.status && - error.response.status >= 200 && - error.response.status < 300 - ) { - responseColor = Helpers.colors.green; - } else if (error?.response?.status && error.response.status >= 400) { - responseColor = Helpers.colors.red; - } - const isJSON = error.response.data && isObject(error.response.data); return ( @@ -43,6 +23,7 @@ export default function ApiError({ error }: { error: null | ApiError }) { enableClipboard={true} displayObjectSize={false} displayDataTypes={false} + sortKeys src={error.response.data} theme={Helpers.reactJsonViewTheme(darkMode)} /> diff --git a/src/common/route/ApiResponse.tsx b/src/common/route/ApiResponse.tsx index 63796f3..c64cab3 100644 --- a/src/common/route/ApiResponse.tsx +++ b/src/common/route/ApiResponse.tsx @@ -4,7 +4,6 @@ import ReactJson from "react-json-view"; import { useGlobalContext } from "../../context/GlobalContext"; import Helpers from "../../lib/helpers"; -import { ApiResponseStatus } from "./ApiResponseStatus"; import { ApiResponse } from "../../types"; @@ -33,6 +32,7 @@ export default function ApiResponse({ enableClipboard={true} displayObjectSize={false} displayDataTypes={false} + sortKeys src={response.data} theme={Helpers.reactJsonViewTheme(darkMode)} shouldCollapse={({ type, src, namespace, name }) => { diff --git a/src/common/route/BodyPreview.tsx b/src/common/route/BodyPreview.tsx index 20e8b52..322e19a 100644 --- a/src/common/route/BodyPreview.tsx +++ b/src/common/route/BodyPreview.tsx @@ -30,6 +30,7 @@ export default function BodyPreview({ body }: BodyPreviewProps) { enableClipboard={true} displayObjectSize={false} displayDataTypes={false} + sortKeys src={{ ...body }} theme={Helpers.reactJsonViewTheme(darkMode)} /> diff --git a/src/common/route/Documentation.tsx b/src/common/route/Documentation.tsx index d70c098..01731ec 100644 --- a/src/common/route/Documentation.tsx +++ b/src/common/route/Documentation.tsx @@ -1,7 +1,13 @@ import React from "react"; import ReactMarkdown from "react-markdown"; +import { Prism as SyntaxHighlighter } from "react-syntax-highlighter"; +import { + materialDark, + materialLight, +} from "react-syntax-highlighter/dist/esm/styles/prism"; import { useGlobalContext } from "../../context/GlobalContext"; +import { CodeProps } from "react-markdown/lib/ast-to-react"; export interface DocumentationProps { documentation?: string; @@ -20,9 +26,40 @@ export function Documentation({ documentation }: DocumentationProps) { darkMode ? "bg-gray-900 border-gray-700" : "bg-gray-200 border-gray-300" }`} > - + {documentation}
); } + +function CodeComponent({ children, className, node, ...rest }: CodeProps) { + const { darkMode } = useGlobalContext(); + const match = /language-(\w+)/.exec(className || ""); + + if (!match) { + return ( + + {children} + + ); + } + + const [, language] = match; + className += " highlighted"; + + return ( + + {children as string | string[]} + + ); +} diff --git a/src/common/route/Params.tsx b/src/common/route/Params.tsx index be99f02..a6e7fa6 100644 --- a/src/common/route/Params.tsx +++ b/src/common/route/Params.tsx @@ -21,13 +21,11 @@ import { Route, Param, ParamType, - Size, OnSubmitFn, RenderInputsProps, RenderInputByDataTypeProps, RenderObjectProps, RenderArrayOfInputsProps, - Option, } from "../../types"; function RenderArrayOfInputs({ @@ -311,7 +309,7 @@ export default function Params({ setValues: (values: any) => void; }) { const [customParams, setCustomParams] = useState([]); - let inputs = fetchInputsFromRouteDefinition(route, paramType, customParams); + const inputs = fetchInputsFromRouteDefinition(route, paramType, customParams); // As the user switches between routes, ensure the custom params created on the previous route don't persist useEffect(() => { diff --git a/src/common/route/Request.tsx b/src/common/route/Request.tsx index ea38538..45107a2 100644 --- a/src/common/route/Request.tsx +++ b/src/common/route/Request.tsx @@ -58,7 +58,7 @@ export function Request({ } } return reFetch(); - }, [urlParams, route]); + }, [urlParams, route, reFetch]); return (
diff --git a/src/common/route/RequestResponse.tsx b/src/common/route/RequestResponse.tsx index 66e1b07..ed71f05 100644 --- a/src/common/route/RequestResponse.tsx +++ b/src/common/route/RequestResponse.tsx @@ -25,13 +25,10 @@ export function RequestResponse({ route: Route; applyAxiosInterceptors?: ApplyAxiosInterceptors; }) { - const { - darkMode, - storeHistoricResponse, - setPartialRequestResponse, - } = useGlobalContext(); + const { darkMode, storeHistoricResponse, setPartialRequestResponse } = + useGlobalContext(); - const requestResponse: HistoricResponse = useActiveResponse(route); + const requestResponse: HistoricResponse = useActiveResponse(route, true); const setUrlParams = useCallback( (urlParams: Record) => { @@ -84,7 +81,7 @@ export function RequestResponse({ storeHistoricResponse: storeHistoricResponseWithRoute, }) : axiosInstance; - }, [route, storeHistoricResponseWithRoute]); + }, [applyAxiosInterceptors, route?.baseUrl, storeHistoricResponseWithRoute]); const { response, loading, error, reFetch } = useAxios({ axios: axiosInstance, @@ -105,7 +102,7 @@ export function RequestResponse({ error: null, response: null, }); - }, [requestResponse]); + }, [requestResponse, setPartialRequestResponse]); const styles = useMemo(() => { return { diff --git a/src/common/route/TopBar.tsx b/src/common/route/TopBar.tsx index 6c04db3..f848425 100644 --- a/src/common/route/TopBar.tsx +++ b/src/common/route/TopBar.tsx @@ -13,8 +13,8 @@ export function TopBar({ qsParams, }: { route: Route; - urlParams: Record; - qsParams: Record; + urlParams?: Record; + qsParams?: Record; }) { const { darkMode } = useGlobalContext(); const pathWithQS = useMemo(() => { @@ -32,7 +32,11 @@ export function TopBar({ }; }, [darkMode]); - const { copy, copied } = useCopyCurrentRoute({ activeRoute: route }); + const { copy, copied } = useCopyCurrentRoute({ + activeRoute: route, + urlParams, + qsParams, + }); if (!route) { return null; diff --git a/src/context/ConfigContext.tsx b/src/context/ConfigContext.tsx new file mode 100644 index 0000000..f7eda71 --- /dev/null +++ b/src/context/ConfigContext.tsx @@ -0,0 +1,23 @@ +import React, { ReactNode, createContext, useContext } from "react"; +import { BadMagicProps } from "../types"; +import { useShallowMemo } from "../lib/shallowMemo"; + +const ConfigContext = createContext(undefined as any); + +type ConfigProviderProps = { + config: BadMagicProps; + children: ReactNode; +}; + +export function ConfigProvider({ config, children }: ConfigProviderProps) { + const workspaces = useShallowMemo(config.workspaces); + const context = useShallowMemo({ ...config, workspaces }); + + return ( + {children} + ); +} + +export function useConfigContext(): BadMagicProps { + return useContext(ConfigContext); +} diff --git a/src/context/GlobalContext.tsx b/src/context/GlobalContext.tsx index b399871..38fb1cd 100644 --- a/src/context/GlobalContext.tsx +++ b/src/context/GlobalContext.tsx @@ -1,45 +1,37 @@ -import React, { - useState, - useCallback, - useContext, - useEffect, - useMemo, -} from "react"; -import { getLinkedRouteFromUrl } from "../lib/links"; +import React, { useState, useCallback, useContext, useMemo } from "react"; import * as storage from "../lib/storage"; -const storageKeys = { - darkMode: "darkMode", - hideDeprecatedRoutes: "hideDeprecatedRoutes", - historicResponses: "historic-responses", - collapsedWorkspaces: "collapsed-workspaces", -}; - import { HistoricResponse, Route, Workspace } from "../types"; +import { useConfigContext } from "./ConfigContext"; +import { routeHref } from "../lib/routing"; export const Context = React.createContext({ workspaces: [] as Workspace[], - darkMode: storage.get(storageKeys.darkMode), + darkMode: storage.get(storage.keys.darkMode) || false, setDarkMode: (darkMode: boolean) => { // noop }, - hideDeprecatedRoutes: storage.get(storageKeys.hideDeprecatedRoutes), + hideDeprecatedRoutes: storage.get(storage.keys.hideDeprecatedRoutes) || false, setHideDeprecatedRoutes: (hideDeprecatedRoutes: boolean) => { // noop }, - historicResponses: (storage.get(storageKeys.historicResponses) || + historicResponses: (storage.get(storage.keys.historicResponses) || []) as HistoricResponse[], storeHistoricResponse: (historicResponse: HistoricResponse) => { return historicResponse; }, + clearHistoricResponses: (historicResponses: HistoricResponse[]) => { + // noop + }, partialRequestResponses: {} as Record, setPartialRequestResponse: (historicResponse: HistoricResponse) => { // noop }, activeRoute: null as null | Route, - setActiveRoute: (activeRoute: Route) => { + activeHref: "", + setActiveRoute: (activeRoute: Route | null) => { // noop }, @@ -56,20 +48,23 @@ export const Context = React.createContext({ export const useGlobalContext = () => useContext(Context); -export function ContextProvider({ - children, - workspaces, -}: { - children: React.ReactNode; - workspaces: Workspace[]; -}) { +export function ContextProvider({ children }: { children: React.ReactNode }) { + const { workspaces, basename } = useConfigContext(); + const [activeRoute, setActiveRoute] = useState(null); - const [keywords, setKeywords] = useState(""); + const [keywords, setKeywordsInState] = useState( + () => storage.get(storage.keys.searchKeywords) ?? "" + ); const [collapsedWorkspaces, setCollapsedWorkspacesInState] = useState< string[] - >(storage.get(storageKeys.collapsedWorkspaces) || []); + >(() => storage.get(storage.keys.collapsedWorkspaces) || []); const [darkMode, setDarkModeInState] = useState( - storage.get(storageKeys.darkMode) + () => storage.get(storage.keys.darkMode) || false + ); + + const activeHref = useMemo( + () => routeHref(activeRoute, basename), + [activeRoute, basename] ); // Used to track the state of a Request for a particular Route before it becomes a HistoricResponse @@ -89,17 +84,22 @@ export function ContextProvider({ [partialRequestResponses] ); + const setKeywords = useCallback((keywords: string) => { + storage.set(storage.keys.searchKeywords, keywords); + setKeywordsInState(keywords); + }, []); + const setDarkMode = useCallback((darkMode: boolean) => { - storage.set(storageKeys.darkMode, darkMode); + storage.set(storage.keys.darkMode, darkMode); setDarkModeInState(darkMode); }, []); const [hideDeprecatedRoutes, setHideDeprecatedRoutesInState] = - useState(storage.get(storageKeys.hideDeprecatedRoutes)); + useState(storage.get(storage.keys.hideDeprecatedRoutes) || false); const setCollapsedWorkspaces = useCallback( (collapsedWorkspaces: string[]) => { - storage.set(storageKeys.collapsedWorkspaces, collapsedWorkspaces); + storage.set(storage.keys.collapsedWorkspaces, collapsedWorkspaces); setCollapsedWorkspacesInState(collapsedWorkspaces); }, [] @@ -107,7 +107,7 @@ export function ContextProvider({ const setHideDeprecatedRoutes = useCallback( (hideDeprecatedRoutes: boolean) => { - storage.set(storageKeys.hideDeprecatedRoutes, hideDeprecatedRoutes); + storage.set(storage.keys.hideDeprecatedRoutes, hideDeprecatedRoutes); setHideDeprecatedRoutesInState(hideDeprecatedRoutes); }, [] @@ -115,7 +115,7 @@ export function ContextProvider({ const [historicResponses, setHistoricResponseInState] = useState< HistoricResponse[] - >([]); + >(() => storage.get(storage.keys.historicResponses) || []); const storeHistoricResponse = useCallback( ({ @@ -163,7 +163,15 @@ export function ContextProvider({ // prepend the new HistoricResponse, and ensure the array has a max of 100 cells const newHistoricResponses = [newResponse, ...responses].slice(0, 100); - storage.set(storageKeys.historicResponses, newHistoricResponses); + if (newResponse.response || newResponse.error) { + storage.set( + storage.keys.historicResponses, + newHistoricResponses.filter( + (historicResponse) => + historicResponse.response || historicResponse.error + ) + ); + } return newHistoricResponses; }); @@ -173,6 +181,16 @@ export function ContextProvider({ [] ); + const clearHistoricResponses = useCallback((records: HistoricResponse[]) => { + setHistoricResponseInState((responses) => { + const recordsSet = new Set(records); + responses = responses.filter((response) => !recordsSet.has(response)); + + storage.set(storage.keys.historicResponses, responses); + return responses; + }); + }, []); + const workspacesWithDefaults = useMemo( () => workspaces.map((workspace) => ({ @@ -181,52 +199,51 @@ export function ContextProvider({ ...route, baseUrl: workspace.config.baseUrl || window.location.origin, workspaceName: workspace.name, + workspaceId: workspace.id, })), })), [workspaces] ); - // On initial mount, this will fetch HistoricResponse from local storage - // and load any request that was deep linked - useEffect(() => { - const historicResponsesFromStorage: HistoricResponse[] = storage.get( - storageKeys.historicResponses - ); - if (historicResponsesFromStorage?.length) { - setHistoricResponseInState(historicResponsesFromStorage); - } - - const { route, historicResponse } = getLinkedRouteFromUrl({ + const context = useMemo( + () => ({ + darkMode, + setDarkMode, + hideDeprecatedRoutes, + setHideDeprecatedRoutes, + historicResponses, + storeHistoricResponse, + clearHistoricResponses, + partialRequestResponses, + setPartialRequestResponse, + activeRoute, + activeHref, + setActiveRoute, + keywords, + setKeywords, + collapsedWorkspaces, + setCollapsedWorkspaces, workspaces: workspacesWithDefaults, - }); - - if (route && historicResponse) { - setActiveRoute(route); - storeHistoricResponse(historicResponse); - } - }, [storeHistoricResponse, workspacesWithDefaults]); - - return ( - - {children} - + }), + [ + activeRoute, + activeHref, + collapsedWorkspaces, + darkMode, + hideDeprecatedRoutes, + historicResponses, + clearHistoricResponses, + keywords, + partialRequestResponses, + setCollapsedWorkspaces, + setDarkMode, + setHideDeprecatedRoutes, + setPartialRequestResponse, + setKeywords, + storeHistoricResponse, + workspacesWithDefaults, + ] ); + + return {children}; } diff --git a/src/context/Router.tsx b/src/context/Router.tsx new file mode 100644 index 0000000..6c10513 --- /dev/null +++ b/src/context/Router.tsx @@ -0,0 +1,182 @@ +import React, { + AnchorHTMLAttributes, + ReactNode, + useCallback, + useEffect, + useMemo, + useRef, +} from "react"; + +import { Layout } from "../layout/Layout"; + +import { useGlobalContext } from ".."; +import { useConfigContext } from "./ConfigContext"; +import { + extractEndpointParams, + routeHref, + routeLookupFactory, +} from "../lib/routing"; +import { getLinkedRouteFromUrl } from "../lib/links"; +import { Route } from "../types"; + +export function Router() { + const { basename } = useConfigContext(); + const { workspaces, setActiveRoute } = useGlobalContext(); + + const lookupRoute = useMemo(() => { + return routeLookupFactory(workspaces); + }, [workspaces]); + + useEffect(() => { + const params = extractEndpointParams(location.pathname, basename ?? ""); + + if (params) { + const route = lookupRoute( + params.workspaceId, + params.method, + params.path, + params.name + ); + if (route) { + setActiveRoute(route); + } + } else { + setActiveRoute(null); + } + + const handlePathChange = (): void => { + const params = extractEndpointParams(location.pathname, basename ?? ""); + if (params) { + const route = lookupRoute( + params.workspaceId, + params.method, + params.path, + params.name + ); + if (route) { + setActiveRoute(route); + } + } else { + setActiveRoute(null); + } + }; + + window.addEventListener("popstate", handlePathChange); + + return () => { + window.removeEventListener("popstate", handlePathChange); + }; + }, [basename, lookupRoute, setActiveRoute]); + + return ( + + + + ); +} + +export type NavigateFn = ( + route: Route | null, + replace?: boolean | undefined +) => void; + +export function useNavigate(): NavigateFn { + const { basename } = useConfigContext(); + const { activeHref, setActiveRoute } = useGlobalContext(); + const activeHrefRef = useRef(activeHref); + + activeHrefRef.current = activeHref; + + return useCallback( + (route, replace): void => { + const href = routeHref(route, basename); + + const push = + replace === undefined ? href !== activeHrefRef.current : !replace; + + if (push) { + history.pushState({}, "", href); + } else { + history.replaceState({}, "", href); + } + + [ + window, + ...Array.from(document.querySelectorAll(".overflow-y-scroll")), + ].forEach((scrollContainer) => { + scrollContainer.scrollTo(0, 0); + }); + + setActiveRoute(route); + }, + [basename, setActiveRoute] + ); +} + +type NavLinkProps = Omit, "href"> & { + to: Route | null; + replace?: boolean | undefined; + children: ReactNode; + className: string; + activeClassName?: string | undefined; +}; + +export function NavLink({ + to, + children, + className, + activeClassName, + onClick, + replace, + ...props +}: NavLinkProps) { + const { basename } = useConfigContext(); + const { activeHref } = useGlobalContext(); + const linkHref = useMemo(() => routeHref(to, basename), [to, basename]); + const navigate = useNavigate(); + + return ( + { + onClick?.(event); + + if ( + !event.isDefaultPrevented() && + (!props.target || props.target === "_self") && + !event.metaKey && + !event.ctrlKey + ) { + event.preventDefault(); + navigate(to, replace); + } + }} + {...props} + > + {children} + + ); +} + +function RouteProvider({ children }: { children: ReactNode }) { + const { workspaces, storeHistoricResponse } = useGlobalContext(); + const navigate = useNavigate(); + + // On initial mount, this will fetch HistoricResponse from local storage + // and load any request that was deep linked + useEffect(() => { + const { route, historicResponse } = getLinkedRouteFromUrl({ + workspaces, + }); + + if (route?.workspaceId && historicResponse) { + storeHistoricResponse(historicResponse); + navigate(route); + } + }, [workspaces, storeHistoricResponse, navigate]); + + return <>{children}; +} diff --git a/src/css/markdown.css b/src/css/markdown.css index ba285eb..18e9b8d 100644 --- a/src/css/markdown.css +++ b/src/css/markdown.css @@ -217,7 +217,7 @@ padding: 0.2em 0.4em; } -.badmagic-markdown pre { +.badmagic-markdown pre:not(:has(.highlighted)) { word-wrap: normal; background-color: #f6f8fa; border-radius: 0.25em; @@ -227,7 +227,7 @@ padding: 1rem; } -.badmagic-markdown pre > code { +.badmagic-markdown pre:not(:has(.highlighted)) > code { background: transparent; border: 0; font-size: 100%; @@ -237,7 +237,7 @@ word-break: normal; } -.badmagic-markdown pre code { +.badmagic-markdown pre:not(:has(.highlighted)) code { background-color: transparent; border: 0; display: inline; @@ -250,11 +250,15 @@ } /* Dark Mode */ -.badmagic-markdown.dark pre { +.badmagic-markdown.dark pre:not(:has(.highlighted)) { color: #4a5568; background-color: #edf2f7; } +.badmagic-markdown.dark pre:has(.highlighted) { + background-color: transparent; +} + .badmagic-markdown.dark { color: rgb(206, 206, 206); } diff --git a/src/css/markdown.min.css b/src/css/markdown.min.css deleted file mode 100644 index 154c0c7..0000000 --- a/src/css/markdown.min.css +++ /dev/null @@ -1 +0,0 @@ -.badmagic-markdown{color:#24292e;line-height:1.5;font-size:16px;line-height:1.5;word-wrap:break-word}.badmagic-markdown:before{content:"";display:table}.badmagic-markdown:after{clear:both;content:"";display:table}.badmagic-markdown.dark{color:#cecece}.badmagic-markdown h1,.badmagic-markdown h2,.badmagic-markdown h3,.badmagic-markdown h4,.badmagic-markdown h5,.badmagic-markdown h6{font-weight:600;line-height:1.25;margin:1em 0 1em}.badmagic-markdown h1{font-size:2em}.badmagic-markdown h1,.badmagic-markdown h2{border-bottom:1px solid #eaecef;padding-bottom:.3em}.badmagic-markdown h2{font-size:1.5em}.badmagic-markdown h3{font-size:1.25em}.badmagic-markdown h4{font-size:1em}.badmagic-markdown h5{font-size:.875em}.badmagic-markdown h6{color:#6a737d;font-size:.85em}.badmagic-markdown a{background-color:transparent;color:#0366d6;text-decoration:none}.badmagic-markdown a:active,.badmagic-markdown a:hover{outline-width:0}.badmagic-markdown a:hover{text-decoration:underline}.badmagic-markdown a:not([href]){color:inherit;text-decoration:none}.badmagic-markdown strong{font-weight:600;font-weight:bolder}.badmagic-markdown hr{box-sizing:content-box;background:0 0;border-bottom:1px solid #dfe2e5;overflow:hidden;background-color:#e1e4e8;border-bottom-color:#eee;height:.25em;margin:1.25em 0;padding:0}.badmagic-markdown hr:before{content:"";display:table}.badmagic-markdown hr:after{clear:both;content:"";display:table}.badmagic-markdown table{border-collapse:collapse;border-spacing:0}.badmagic-markdown td,.badmagic-markdown th{padding:0}.badmagic-markdown p{margin-bottom:.6em;margin-top:0}.badmagic-markdown ol,.badmagic-markdown ul{margin-bottom:0;margin-top:0;padding-left:0}.badmagic-markdown ol ol,.badmagic-markdown ul ol{list-style-type:lower-roman}.badmagic-markdown ol ol ol,.badmagic-markdown ol ul ol,.badmagic-markdown ul ol ol,.badmagic-markdown ul ul ol{list-style-type:lower-alpha}.badmagic-markdown blockquote,.badmagic-markdown p,.badmagic-markdown pre,.badmagic-markdown table,.badmagic-markdown ul{margin-bottom:0 0 1em}.badmagic-markdown blockquote{border-left:.25em solid #dfe2e5;color:#6a737d;padding:0 1em;margin:0}.badmagic-markdown ol,.badmagic-markdown ul{padding-left:2em}.badmagic-markdown ol ol,.badmagic-markdown ol ul,.badmagic-markdown ul ol,.badmagic-markdown ul ul{margin-bottom:0;margin-top:0}.badmagic-markdown li{display:list-item;list-style-type:disc;list-style-position:inside;word-wrap:break-all}.badmagic-markdown li>p{margin-top:1em}.badmagic-markdown li+li{margin-top:.25em}.badmagic-markdown table{display:block;overflow:auto;width:100%}.badmagic-markdown table th{font-weight:600}.badmagic-markdown table td,.badmagic-markdown table th{border:1px solid #dfe2e5;padding:.2em .4em}.badmagic-markdown table tr{background-color:#fff;border-top:1px solid #c6cbd1}.badmagic-markdown table tr:nth-child(2n){background-color:#f6f8fa}.badmagic-markdown code{background-color:rgba(27,31,35,.05);border-radius:.25em;font-size:85%;margin:0;padding:.2em .4em}.badmagic-markdown pre{word-wrap:normal;background-color:#f6f8fa;border-radius:.25em;font-size:85%;line-height:1.45;overflow:auto;padding:1rem}.badmagic-markdown.dark pre{color:#4a5568;background-color:#edf2f7}.badmagic-markdown pre>code{background:0 0;border:0;font-size:100%;margin:0;padding:0;white-space:pre;word-break:normal}.badmagic-markdown pre code{background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0;word-wrap:normal} diff --git a/src/layout/Config.tsx b/src/layout/Config.tsx index 89d27d9..770a723 100644 --- a/src/layout/Config.tsx +++ b/src/layout/Config.tsx @@ -53,7 +53,10 @@ export default function Config({ [collapsed] ); - const toggleDarkMode = useCallback(() => setDarkMode(!darkMode), [darkMode]); + const toggleDarkMode = useCallback( + () => setDarkMode(!darkMode), + [darkMode, setDarkMode] + ); const styles = useMemo(() => { return { @@ -94,6 +97,8 @@ export default function Config({
+ ))}
); diff --git a/src/lib/activeResponse.ts b/src/lib/activeResponse.ts index 260c192..ac41383 100644 --- a/src/lib/activeResponse.ts +++ b/src/lib/activeResponse.ts @@ -4,12 +4,22 @@ import { Helpers } from ".."; import { useGlobalContext } from "../context/GlobalContext"; import { HistoricResponse, Route } from "../types"; -export function useActiveResponse(activeRoute: Route): HistoricResponse { - const { historicResponses, partialRequestResponses } = useGlobalContext(); +export function useActiveResponse( + activeRoute: Route, + includeIncomplete = false +): HistoricResponse { + const { historicResponses, partialRequestResponses, workspaces } = + useGlobalContext(); const filteredHistory = useMemo( - () => Helpers.filterHistory(historicResponses, activeRoute), - [historicResponses, activeRoute] + () => + Helpers.filterHistory( + historicResponses, + workspaces, + activeRoute, + includeIncomplete + ), + [historicResponses, workspaces, activeRoute, includeIncomplete] ); return useMemo(() => { diff --git a/src/lib/helpers.ts b/src/lib/helpers.ts index d75c86a..921aa82 100644 --- a/src/lib/helpers.ts +++ b/src/lib/helpers.ts @@ -4,6 +4,7 @@ import { stringify } from "querystring"; import OpenApi from "./openapi"; import { Route, Workspace, Param, HistoricResponse } from "../types"; +import { routeLookupFactory } from "./routing"; // Given a Route, URL Params, and QSParams, returns a route's path with the QS params included function buildPathWithQS({ @@ -71,13 +72,40 @@ const Helpers = { }, /** If `activeRoute` is specified, filter displayed History to records matching just that route */ - filterHistory(historicResponses: HistoricResponse[], route?: Route | null) { - return !route - ? historicResponses - : historicResponses.filter( - (historicResponse: HistoricResponse) => - historicResponse?.route?.path === route.path - ); + filterHistory( + historicResponses: HistoricResponse[], + workspaces: Workspace[], + route?: Route | null, + includeIncomplete = false + ) { + if (route) { + return historicResponses.filter( + (historicResponse: HistoricResponse) => + historicResponse?.route?.path === route.path && + historicResponse?.route?.method === route.method && + (!historicResponse?.route?.workspaceId || + historicResponse.route.workspaceId === route.workspaceId) && + (includeIncomplete || + historicResponse.response || + historicResponse.error) + ); + } else { + const lookupRoute = routeLookupFactory(workspaces); + + return historicResponses.filter( + (historicResponse) => + historicResponse?.route?.workspaceId !== undefined && + (includeIncomplete || + historicResponse.response || + historicResponse.error) && + lookupRoute( + historicResponse.route.workspaceId, + historicResponse.route.method, + historicResponse.route.path, + historicResponse.route.name + ) !== undefined + ); + } }, buildUrl({ diff --git a/src/lib/links.ts b/src/lib/links.ts index b66bfc1..b52c307 100644 --- a/src/lib/links.ts +++ b/src/lib/links.ts @@ -4,8 +4,12 @@ import { useActiveResponse } from "./activeResponse"; export function useCopyCurrentRoute({ activeRoute, + urlParams, + qsParams, }: { activeRoute: Route | null; + urlParams?: Record; + qsParams?: Record; }) { const [copied, setCopied] = useState(false); const activeResponse: HistoricResponse = useActiveResponse( @@ -13,7 +17,11 @@ export function useCopyCurrentRoute({ ); const copy = useCallback(async () => { - const url = buildCurrentRouteUrl(activeResponse); + const url = buildCurrentRouteUrl({ + ...activeResponse, + urlParams: urlParams ?? activeResponse.urlParams, + qsParams: qsParams ?? activeResponse.qsParams, + }); try { await navigator.clipboard.writeText(url); @@ -22,7 +30,7 @@ export function useCopyCurrentRoute({ } catch { window.alert(url); } - }, [activeResponse]); + }, [activeResponse, urlParams, qsParams]); return { copy, copied }; } diff --git a/src/lib/routing.ts b/src/lib/routing.ts new file mode 100644 index 0000000..60f95ad --- /dev/null +++ b/src/lib/routing.ts @@ -0,0 +1,78 @@ +import { kebabCase } from "lodash-es"; +import { Route, Workspace } from "../types"; + +type RouteLookupFn = ( + workspaceId: string, + method: string | undefined, + path: string, + name: string +) => Route | undefined; + +export function routeLookupFactory(workspaces: Workspace[]): RouteLookupFn { + const allRoutes = workspaces.reduce((acc, workspace) => { + for (const route of workspace.routes) { + const key = routeHref(route, ""); + + if (acc[key]) { + console.warn("Duplicate route config:", acc[key], route); + } + + acc[key] = route; + } + + return acc; + }, {} as Record); + + return (workspaceId, method, path, name) => { + const key = routeHref({ workspaceId, method, path, name }, ""); + return allRoutes[key] ?? undefined; + }; +} + +type RouteHrefConfig = Pick; + +export function routeHref( + route: RouteHrefConfig | null, + basename: string | undefined +): string { + if (route) { + const { workspaceId, method, path, name } = route; + return `${basename ?? ""}/${workspaceId}/${ + method?.toLowerCase() ?? "get" + }/${path.startsWith("/") ? path.substring(1) : path}/${kebabCase(name)}`; + } else { + return basename ?? "/"; + } +} + +export type EndpointRouteParams = { + workspaceId: string; + method: string; + path: string; + name: string; +}; + +export function extractEndpointParams( + pathname: string, + basename: string +): EndpointRouteParams | null { + if (!pathname.startsWith(basename)) { + throw new Error( + `did not expect to handle popstate event outside of basename ${basename}, got: ${pathname}` + ); + } + + pathname = pathname.substring(basename.length); + const parts = pathname.split("/").flatMap((part) => (part ? [part] : [])); + + if (parts.length < 4) { + return null; + } + + const workspaceId = parts.shift() as string; + const method = parts.shift() as string; + const name = parts.pop() as string; + const path = `/${parts.join("/")}`; + + return { workspaceId, method, path, name }; +} diff --git a/src/lib/shallowMemo.ts b/src/lib/shallowMemo.ts new file mode 100644 index 0000000..1ba9657 --- /dev/null +++ b/src/lib/shallowMemo.ts @@ -0,0 +1,40 @@ +import { useEffect, useRef } from "react"; + +export function useShallowMemo< + T extends Record | readonly unknown[] +>(value: T): T { + const ref = useRef(value); + + useEffect(() => { + if (!shallowEqual(value, ref.current)) { + ref.current = value; + } + }, [value]); + + return ref.current; +} + +function shallowEqual | readonly unknown[]>( + current: T, + previous: T +): boolean { + const isArray = Array.isArray(current); + const prevIsArray = Array.isArray(previous); + + if (isArray && prevIsArray) { + return ( + current.length === previous.length && + current.every((value, i) => Object.is(value, previous[i])) + ); + } else if (isArray !== prevIsArray) { + return false; + } + + const currentKeys = Object.keys(current) as (keyof T & string)[]; + + if (currentKeys.length !== Object.keys(previous).length) { + return false; + } + + return currentKeys.every((key) => Object.is(current[key], previous[key])); +} diff --git a/src/lib/storage.ts b/src/lib/storage.ts index f1409ba..3b796b2 100644 --- a/src/lib/storage.ts +++ b/src/lib/storage.ts @@ -1,4 +1,34 @@ -export function get(key: string): any { +import { HistoricResponse } from "../types"; + +type StorageValues = { + darkMode: boolean; + hideDeprecatedRoutes: boolean; + historicResponses: HistoricResponse[]; + activeWorkspaces: string[]; + collapsedWorkspaces: string[]; + searchKeywords: string; +}; + +export const keys = { + darkMode: "darkMode", + hideDeprecatedRoutes: "hideDeprecatedRoutes", + historicResponses: "historic-responses", + collapsedWorkspaces: "collapsed-workspaces", + activeWorkspaces: "activeWorkspaces", + searchKeywords: "searchKeywords", +} as const; + +type StorageKeys = { + [k in keyof typeof keys as typeof keys[k]]: k; +}; +type StorageKey = keyof StorageKeys; +type StorageKeyOf = StorageKeys[K]; +type StorageValue = + StorageKeyOf extends keyof StorageValues + ? StorageValues[StorageKeyOf] + : never; + +export function get(key: K): StorageValue | null { try { const item = localStorage.getItem(key); @@ -13,16 +43,20 @@ export function get(key: string): any { } } -export function set(key: string, value: any): any { +export function set>( + key: K, + value: V +): V { try { localStorage.setItem(key, JSON.stringify(value)); return value; } catch (err) { console.error("Unable to stringify JSON for localStorage", err); + return value; } } -export function remove(key: string): void { +export function remove(key: K): void { try { localStorage.removeItem(key); } catch (err) { diff --git a/src/types.ts b/src/types.ts index 12b169a..85753f1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -93,7 +93,7 @@ export type Route = { example?: Record; // e.g. {first_name: "John", last_name: "Doe", ...} baseUrl?: string; // if not specified on the route but exists on workspace.config.baseUrl, it will default to that workspaceName?: string; - + workspaceId?: string; responses?: OpenApiResponses; // OpenApi Responses tags?: string[]; deprecated?: boolean; @@ -247,4 +247,6 @@ export interface BadMagicProps { AuthForm?: AuthForm; // a form you can render to have the user specify their auth credentials HistoryMetadata?: HistoryMetadata; // a React component that can be rendered to display additional metadata + + basename?: string; } diff --git a/yarn.lock b/yarn.lock index 9ed9786..8272304 100644 --- a/yarn.lock +++ b/yarn.lock @@ -265,6 +265,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.3.1": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" + integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/template@^7.18.10", "@babel/template@^7.3.3": version "7.18.10" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" @@ -647,6 +654,11 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== +"@trysound/sax@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" + integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== + "@types/babel__core@^7.1.14": version "7.1.19" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.19.tgz#7b497495b7d1b4812bdb9d02804d0576f43ee460" @@ -798,6 +810,13 @@ dependencies: "@types/react" "*" +"@types/react-syntax-highlighter@^15.5.13": + version "15.5.13" + resolved "https://registry.yarnpkg.com/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz#c5baf62a3219b3bf28d39cfea55d0a49a263d1f2" + integrity sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA== + dependencies: + "@types/react" "*" + "@types/react@*", "@types/react@^18.0.21": version "18.0.21" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.21.tgz#b8209e9626bb00a34c76f55482697edd2b43cc67" @@ -1022,6 +1041,14 @@ anymatch@^3.0.3: normalize-path "^3.0.0" picomatch "^2.0.4" +anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + argparse@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -1152,6 +1179,11 @@ base16@^1.0.0: resolved "https://registry.yarnpkg.com/base16/-/base16-1.0.0.tgz#e297f60d7ec1014a7a971a39ebc8a98c0b681e70" integrity sha512-pNdYkNPiJUnEhnfXV56+sQy8+AaPcG3POZAUnwr4EeqCUZFz4u2PePbo3e5Gj4ziYPCWGUZT9RHisvJKnwFuBQ== +binary-extensions@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" + integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== + boolbase@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -1172,6 +1204,23 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" +braces@~3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== + dependencies: + fill-range "^7.1.1" + +browserslist@^4.0.0, browserslist@^4.23.0: + version "4.23.1" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.1.tgz#ce4af0534b3d37db5c1a4ca98b9080f985041e96" + integrity sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw== + dependencies: + caniuse-lite "^1.0.30001629" + electron-to-chromium "^1.4.796" + node-releases "^2.0.14" + update-browserslist-db "^1.0.16" + browserslist@^4.21.3: version "4.21.4" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" @@ -1224,6 +1273,21 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== +caniuse-api@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" + integrity sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw== + dependencies: + browserslist "^4.0.0" + caniuse-lite "^1.0.0" + lodash.memoize "^4.1.2" + lodash.uniq "^4.5.0" + +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001629: + version "1.0.30001640" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001640.tgz#32c467d4bf1f1a0faa63fc793c2ba81169e7652f" + integrity sha512-lA4VMpW0PSUrFnkmVuEKBUovSWKhj7puyCg8StBChgu298N1AtuF1sKWEvfDuimSEDbhlb/KqPKC3fs1HbuQUA== + caniuse-lite@^1.0.30001400: version "1.0.30001422" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001422.tgz#f2d7c6202c49a8359e6e35add894d88ef93edba1" @@ -1251,11 +1315,41 @@ char-regex@^1.0.2: resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== +character-entities-legacy@^1.0.0: + version "1.1.4" + resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz#94bc1845dce70a5bb9d2ecc748725661293d8fc1" + integrity sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA== + +character-entities@^1.0.0: + version "1.2.4" + resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-1.2.4.tgz#e12c3939b7eaf4e5b15e7ad4c5e28e1d48c5b16b" + integrity sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw== + character-entities@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== +character-reference-invalid@^1.0.0: + version "1.1.4" + resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" + integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== + +chokidar@^3.3.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + ci-info@^3.2.0: version "3.5.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.5.0.tgz#bfac2a29263de4c829d806b1ab478e35091e171f" @@ -1314,6 +1408,11 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== +colord@^2.9.3: + version "2.9.3" + resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" + integrity sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw== + combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -1321,11 +1420,21 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" +comma-separated-tokens@^1.0.0: + version "1.0.8" + resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea" + integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== + comma-separated-tokens@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-2.0.2.tgz#d4c25abb679b7751c880be623c1179780fe1dd98" integrity sha512-G5yTt3KQN4Yn7Yk4ed73hlZ1evrFKXeUW3086p3PRFNp7m2vIjI6Pg+Kgb+oyzhd9F2qdcoj67+y3SdxL5XWsg== +commander@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" + integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -1352,6 +1461,11 @@ cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" +css-declaration-sorter@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-7.2.0.tgz#6dec1c9523bc4a643e088aab8f09e67a54961024" + integrity sha512-h70rUM+3PNFuaBDTLe8wF/cdWu+dOZmb7pJt8Z2sedYbAcQVQV/tEchueg3GWxwqS0cxtbxmaHEdkNACqcvsow== + css-select@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" @@ -1371,11 +1485,88 @@ css-tree@^1.1.3: mdn-data "2.0.14" source-map "^0.6.1" +css-tree@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.3.1.tgz#10264ce1e5442e8572fc82fbe490644ff54b5c20" + integrity sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw== + dependencies: + mdn-data "2.0.30" + source-map-js "^1.0.1" + +css-tree@~2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.2.1.tgz#36115d382d60afd271e377f9c5f67d02bd48c032" + integrity sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA== + dependencies: + mdn-data "2.0.28" + source-map-js "^1.0.1" + css-what@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + +cssnano-preset-default@^6.1.2: + version "6.1.2" + resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-6.1.2.tgz#adf4b89b975aa775f2750c89dbaf199bbd9da35e" + integrity sha512-1C0C+eNaeN8OcHQa193aRgYexyJtU8XwbdieEjClw+J9d94E41LwT6ivKH0WT+fYwYWB0Zp3I3IZ7tI/BbUbrg== + dependencies: + browserslist "^4.23.0" + css-declaration-sorter "^7.2.0" + cssnano-utils "^4.0.2" + postcss-calc "^9.0.1" + postcss-colormin "^6.1.0" + postcss-convert-values "^6.1.0" + postcss-discard-comments "^6.0.2" + postcss-discard-duplicates "^6.0.3" + postcss-discard-empty "^6.0.3" + postcss-discard-overridden "^6.0.2" + postcss-merge-longhand "^6.0.5" + postcss-merge-rules "^6.1.1" + postcss-minify-font-values "^6.1.0" + postcss-minify-gradients "^6.0.3" + postcss-minify-params "^6.1.0" + postcss-minify-selectors "^6.0.4" + postcss-normalize-charset "^6.0.2" + postcss-normalize-display-values "^6.0.2" + postcss-normalize-positions "^6.0.2" + postcss-normalize-repeat-style "^6.0.2" + postcss-normalize-string "^6.0.2" + postcss-normalize-timing-functions "^6.0.2" + postcss-normalize-unicode "^6.1.0" + postcss-normalize-url "^6.0.2" + postcss-normalize-whitespace "^6.0.2" + postcss-ordered-values "^6.0.2" + postcss-reduce-initial "^6.1.0" + postcss-reduce-transforms "^6.0.2" + postcss-svgo "^6.0.3" + postcss-unique-selectors "^6.0.4" + +cssnano-utils@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/cssnano-utils/-/cssnano-utils-4.0.2.tgz#56f61c126cd0f11f2eef1596239d730d9fceff3c" + integrity sha512-ZR1jHg+wZ8o4c3zqf1SIUSTIvm/9mU343FMR6Obe/unskbvpGhZOo1J6d/r8D1pzkRQYuwbcH3hToOuoA2G7oQ== + +cssnano@^6.1.2: + version "6.1.2" + resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-6.1.2.tgz#4bd19e505bd37ee7cf0dc902d3d869f6d79c66b8" + integrity sha512-rYk5UeX7VAM/u0lNqewCdasdtPK81CgX8wJFLEIXHbV2oldWRgJAsZrdhRXkV1NJzA2g850KiFm9mMU2HxNxMA== + dependencies: + cssnano-preset-default "^6.1.2" + lilconfig "^3.1.1" + +csso@^5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/csso/-/csso-5.0.5.tgz#f9b7fe6cc6ac0b7d90781bb16d5e9874303e2ca6" + integrity sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ== + dependencies: + css-tree "~2.2.0" + cssom@^0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.5.0.tgz#d254fa92cd8b6fbd83811b9fbaed34663cc17c36" @@ -1454,6 +1645,11 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== +dependency-graph@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.11.0.tgz#ac0ce7ed68a54da22165a85e97a01d53f5eb2e27" + integrity sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg== + dequal@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" @@ -1547,6 +1743,11 @@ electron-to-chromium@^1.4.251: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== +electron-to-chromium@^1.4.796: + version "1.4.818" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.818.tgz#7762c8bfd15a07c3833b7f5deed990e9e5a4c24f" + integrity sha512-eGvIk2V0dGImV9gWLq8fDfTTsCAeMDwZqEPMr+jMInxZdnp9Us8UpovYpRCf9NQ7VOFgrN2doNSgvISbsbNpxA== + emittery@^0.10.2: version "0.10.2" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.10.2.tgz#902eec8aedb8c41938c46e9385e9db7e03182933" @@ -1620,6 +1821,11 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escalade@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" + integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== + escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -1849,6 +2055,17 @@ fast-glob@^3.2.9: merge2 "^1.3.0" micromatch "^4.0.4" +fast-glob@^3.3.0: + version "3.3.2" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -1866,6 +2083,13 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" +fault@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.4.tgz#eafcfc0a6d214fc94601e170df29954a4f842f13" + integrity sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA== + dependencies: + format "^0.2.0" + fb-watchman@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" @@ -1912,6 +2136,13 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== + dependencies: + to-regex-range "^5.0.1" + find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" @@ -1963,6 +2194,20 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" +format@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" + integrity sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww== + +fs-extra@^11.0.0: + version "11.2.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" + integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -1973,6 +2218,11 @@ fsevents@^2.3.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -2017,6 +2267,11 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== +get-stdin@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-9.0.0.tgz#3983ff82e03d56f1b2ea0d3e60325f39d703a575" + integrity sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA== + get-stream@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" @@ -2030,7 +2285,7 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" -glob-parent@^5.1.2: +glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -2080,6 +2335,22 @@ globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" +globby@^13.0.0: + version "13.2.2" + resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592" + integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.3.0" + ignore "^5.2.4" + merge2 "^1.4.1" + slash "^4.0.0" + +graceful-fs@^4.1.6, graceful-fs@^4.2.0: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" @@ -2131,11 +2402,32 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" +hast-util-parse-selector@^2.0.0: + version "2.2.5" + resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz#d57c23f4da16ae3c63b3b6ca4616683313499c3a" + integrity sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ== + hast-util-whitespace@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-2.0.0.tgz#4fc1086467cc1ef5ba20673cb6b03cec3a970f1c" integrity sha512-Pkw+xBHuV6xFeJprJe2BBEoDV+AvQySaz3pPDRUs5PNZEMQjpXJJueqrpcHIXxnWTcAGi/UOCgVShlkY6kLoqg== +hastscript@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/hastscript/-/hastscript-6.0.0.tgz#e8768d7eac56c3fdeac8a92830d58e811e5bf640" + integrity sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w== + dependencies: + "@types/hast" "^2.0.0" + comma-separated-tokens "^1.0.0" + hast-util-parse-selector "^2.0.0" + property-information "^5.0.0" + space-separated-tokens "^1.0.0" + +highlight.js@^10.4.1, highlight.js@~10.7.0: + version "10.7.3" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.7.3.tgz#697272e3991356e40c3cac566a74eef681756531" + integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A== + html-encoding-sniffer@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9" @@ -2182,6 +2474,11 @@ ignore@^5.2.0: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== +ignore@^5.2.4: + version "5.3.1" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" + integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== + import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -2230,6 +2527,19 @@ internal-slot@^1.0.3: has "^1.0.3" side-channel "^1.0.4" +is-alphabetical@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" + integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg== + +is-alphanumerical@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz#7eb9a2431f855f6b1ef1a78e326df515696c4dbf" + integrity sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A== + dependencies: + is-alphabetical "^1.0.0" + is-decimal "^1.0.0" + is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -2242,6 +2552,13 @@ is-bigint@^1.0.1: dependencies: has-bigints "^1.0.1" +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + is-boolean-object@^1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" @@ -2274,6 +2591,11 @@ is-date-object@^1.0.1: dependencies: has-tostringtag "^1.0.0" +is-decimal@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" + integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw== + is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -2289,13 +2611,18 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== dependencies: is-extglob "^2.1.1" +is-hexadecimal@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" + integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw== + is-negative-zero@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" @@ -2883,6 +3210,15 @@ json5@^2.2.1: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + "jsx-ast-utils@^2.4.1 || ^3.0.0": version "3.3.3" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz#76b3e6e6cece5c69d49a5792c3d01bd1a0cdc7ea" @@ -2922,6 +3258,11 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" +lilconfig@^3.0.0, lilconfig@^3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-3.1.2.tgz#e4a7c3cb549e3a606c8dcc32e5ae1005e62c05cb" + integrity sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow== + lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" @@ -2956,7 +3297,7 @@ lodash.flow@^3.3.0: resolved "https://registry.yarnpkg.com/lodash.flow/-/lodash.flow-3.5.0.tgz#87bf40292b8cf83e4e8ce1a3ae4209e20071675a" integrity sha512-ff3BX/tSioo+XojX4MOsOMhJw0nZoUEF011LX8g8d3gvjVbxd89cCio4BCXronjxcTUIJUoqKEUA+n4CqvvRPw== -lodash.memoize@4.x: +lodash.memoize@4.x, lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== @@ -2966,6 +3307,11 @@ lodash.merge@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.uniq@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" + integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== + lodash@^4.17.21: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" @@ -2978,6 +3324,14 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lowlight@^1.17.0: + version "1.20.0" + resolved "https://registry.yarnpkg.com/lowlight/-/lowlight-1.20.0.tgz#ddb197d33462ad0d93bf19d17b6c301aa3941888" + integrity sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw== + dependencies: + fault "^1.0.0" + highlight.js "~10.7.0" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -3056,6 +3410,16 @@ mdn-data@2.0.14: resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== +mdn-data@2.0.28: + version "2.0.28" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.28.tgz#5ec48e7bef120654539069e1ae4ddc81ca490eba" + integrity sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g== + +mdn-data@2.0.30: + version "2.0.30" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc" + integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA== + merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -3308,6 +3672,11 @@ nanoclone@^0.2.1: resolved "https://registry.yarnpkg.com/nanoclone/-/nanoclone-0.2.1.tgz#dd4090f8f1a110d26bb32c49ed2f5b9235209ed4" integrity sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA== +nanoid@^3.3.7: + version "3.3.7" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -3325,12 +3694,17 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== + node-releases@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== -normalize-path@^3.0.0: +normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== @@ -3492,6 +3866,18 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" +parse-entities@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" + integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ== + dependencies: + character-entities "^1.0.0" + character-entities-legacy "^1.0.0" + character-reference-invalid "^1.0.0" + is-alphanumerical "^1.0.0" + is-decimal "^1.0.0" + is-hexadecimal "^1.0.0" + parse-json@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" @@ -3539,11 +3925,21 @@ picocolors@^1.0.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: +picocolors@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" + integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== + pirates@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" @@ -3556,6 +3952,258 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +postcss-calc@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-9.0.1.tgz#a744fd592438a93d6de0f1434c572670361eb6c6" + integrity sha512-TipgjGyzP5QzEhsOZUaIkeO5mKeMFpebWzRogWG/ysonUlnHcq5aJe0jOjpfzUU8PeSaBQnrE8ehR0QA5vs8PQ== + dependencies: + postcss-selector-parser "^6.0.11" + postcss-value-parser "^4.2.0" + +postcss-cli@^10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/postcss-cli/-/postcss-cli-10.1.0.tgz#f6658c4998a1c35bd66cd71009132b2d12e04f80" + integrity sha512-Zu7PLORkE9YwNdvOeOVKPmWghprOtjFQU3srMUGbdz3pHJiFh7yZ4geiZFMkjMfB0mtTFR3h8RemR62rPkbOPA== + dependencies: + chokidar "^3.3.0" + dependency-graph "^0.11.0" + fs-extra "^11.0.0" + get-stdin "^9.0.0" + globby "^13.0.0" + picocolors "^1.0.0" + postcss-load-config "^4.0.0" + postcss-reporter "^7.0.0" + pretty-hrtime "^1.0.3" + read-cache "^1.0.0" + slash "^5.0.0" + yargs "^17.0.0" + +postcss-colormin@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-6.1.0.tgz#076e8d3fb291fbff7b10e6b063be9da42ff6488d" + integrity sha512-x9yX7DOxeMAR+BgGVnNSAxmAj98NX/YxEMNFP+SDCEeNLb2r3i6Hh1ksMsnW8Ub5SLCpbescQqn9YEbE9554Sw== + dependencies: + browserslist "^4.23.0" + caniuse-api "^3.0.0" + colord "^2.9.3" + postcss-value-parser "^4.2.0" + +postcss-convert-values@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-6.1.0.tgz#3498387f8efedb817cbc63901d45bd1ceaa40f48" + integrity sha512-zx8IwP/ts9WvUM6NkVSkiU902QZL1bwPhaVaLynPtCsOTqp+ZKbNi+s6XJg3rfqpKGA/oc7Oxk5t8pOQJcwl/w== + dependencies: + browserslist "^4.23.0" + postcss-value-parser "^4.2.0" + +postcss-discard-comments@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-6.0.2.tgz#e768dcfdc33e0216380623652b0a4f69f4678b6c" + integrity sha512-65w/uIqhSBBfQmYnG92FO1mWZjJ4GL5b8atm5Yw2UgrwD7HiNiSSNwJor1eCFGzUgYnN/iIknhNRVqjrrpuglw== + +postcss-discard-duplicates@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-6.0.3.tgz#d121e893c38dc58a67277f75bb58ba43fce4c3eb" + integrity sha512-+JA0DCvc5XvFAxwx6f/e68gQu/7Z9ud584VLmcgto28eB8FqSFZwtrLwB5Kcp70eIoWP/HXqz4wpo8rD8gpsTw== + +postcss-discard-empty@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-6.0.3.tgz#ee39c327219bb70473a066f772621f81435a79d9" + integrity sha512-znyno9cHKQsK6PtxL5D19Fj9uwSzC2mB74cpT66fhgOadEUPyXFkbgwm5tvc3bt3NAy8ltE5MrghxovZRVnOjQ== + +postcss-discard-overridden@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-6.0.2.tgz#4e9f9c62ecd2df46e8fdb44dc17e189776572e2d" + integrity sha512-j87xzI4LUggC5zND7KdjsI25APtyMuynXZSujByMaav2roV6OZX+8AaCUcZSWqckZpjAjRyFDdpqybgjFO0HJQ== + +postcss-load-config@^4.0.0: + version "4.0.2" + resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-4.0.2.tgz#7159dcf626118d33e299f485d6afe4aff7c4a3e3" + integrity sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ== + dependencies: + lilconfig "^3.0.0" + yaml "^2.3.4" + +postcss-merge-longhand@^6.0.5: + version "6.0.5" + resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-6.0.5.tgz#ba8a8d473617c34a36abbea8dda2b215750a065a" + integrity sha512-5LOiordeTfi64QhICp07nzzuTDjNSO8g5Ksdibt44d+uvIIAE1oZdRn8y/W5ZtYgRH/lnLDlvi9F8btZcVzu3w== + dependencies: + postcss-value-parser "^4.2.0" + stylehacks "^6.1.1" + +postcss-merge-rules@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-6.1.1.tgz#7aa539dceddab56019469c0edd7d22b64c3dea9d" + integrity sha512-KOdWF0gju31AQPZiD+2Ar9Qjowz1LTChSjFFbS+e2sFgc4uHOp3ZvVX4sNeTlk0w2O31ecFGgrFzhO0RSWbWwQ== + dependencies: + browserslist "^4.23.0" + caniuse-api "^3.0.0" + cssnano-utils "^4.0.2" + postcss-selector-parser "^6.0.16" + +postcss-minify-font-values@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-6.1.0.tgz#a0e574c02ee3f299be2846369211f3b957ea4c59" + integrity sha512-gklfI/n+9rTh8nYaSJXlCo3nOKqMNkxuGpTn/Qm0gstL3ywTr9/WRKznE+oy6fvfolH6dF+QM4nCo8yPLdvGJg== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-minify-gradients@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-6.0.3.tgz#ca3eb55a7bdb48a1e187a55c6377be918743dbd6" + integrity sha512-4KXAHrYlzF0Rr7uc4VrfwDJ2ajrtNEpNEuLxFgwkhFZ56/7gaE4Nr49nLsQDZyUe+ds+kEhf+YAUolJiYXF8+Q== + dependencies: + colord "^2.9.3" + cssnano-utils "^4.0.2" + postcss-value-parser "^4.2.0" + +postcss-minify-params@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-6.1.0.tgz#54551dec77b9a45a29c3cb5953bf7325a399ba08" + integrity sha512-bmSKnDtyyE8ujHQK0RQJDIKhQ20Jq1LYiez54WiaOoBtcSuflfK3Nm596LvbtlFcpipMjgClQGyGr7GAs+H1uA== + dependencies: + browserslist "^4.23.0" + cssnano-utils "^4.0.2" + postcss-value-parser "^4.2.0" + +postcss-minify-selectors@^6.0.4: + version "6.0.4" + resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-6.0.4.tgz#197f7d72e6dd19eed47916d575d69dc38b396aff" + integrity sha512-L8dZSwNLgK7pjTto9PzWRoMbnLq5vsZSTu8+j1P/2GB8qdtGQfn+K1uSvFgYvgh83cbyxT5m43ZZhUMTJDSClQ== + dependencies: + postcss-selector-parser "^6.0.16" + +postcss-normalize-charset@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-6.0.2.tgz#1ec25c435057a8001dac942942a95ffe66f721e1" + integrity sha512-a8N9czmdnrjPHa3DeFlwqst5eaL5W8jYu3EBbTTkI5FHkfMhFZh1EGbku6jhHhIzTA6tquI2P42NtZ59M/H/kQ== + +postcss-normalize-display-values@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-display-values/-/postcss-normalize-display-values-6.0.2.tgz#54f02764fed0b288d5363cbb140d6950dbbdd535" + integrity sha512-8H04Mxsb82ON/aAkPeq8kcBbAtI5Q2a64X/mnRRfPXBq7XeogoQvReqxEfc0B4WPq1KimjezNC8flUtC3Qz6jg== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-positions@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-positions/-/postcss-normalize-positions-6.0.2.tgz#e982d284ec878b9b819796266f640852dbbb723a" + integrity sha512-/JFzI441OAB9O7VnLA+RtSNZvQ0NCFZDOtp6QPFo1iIyawyXg0YI3CYM9HBy1WvwCRHnPep/BvI1+dGPKoXx/Q== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-repeat-style@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-6.0.2.tgz#f8006942fd0617c73f049dd8b6201c3a3040ecf3" + integrity sha512-YdCgsfHkJ2jEXwR4RR3Tm/iOxSfdRt7jplS6XRh9Js9PyCR/aka/FCb6TuHT2U8gQubbm/mPmF6L7FY9d79VwQ== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-string@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-string/-/postcss-normalize-string-6.0.2.tgz#e3cc6ad5c95581acd1fc8774b309dd7c06e5e363" + integrity sha512-vQZIivlxlfqqMp4L9PZsFE4YUkWniziKjQWUtsxUiVsSSPelQydwS8Wwcuw0+83ZjPWNTl02oxlIvXsmmG+CiQ== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-timing-functions@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-6.0.2.tgz#40cb8726cef999de984527cbd9d1db1f3e9062c0" + integrity sha512-a+YrtMox4TBtId/AEwbA03VcJgtyW4dGBizPl7e88cTFULYsprgHWTbfyjSLyHeBcK/Q9JhXkt2ZXiwaVHoMzA== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-unicode@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-6.1.0.tgz#aaf8bbd34c306e230777e80f7f12a4b7d27ce06e" + integrity sha512-QVC5TQHsVj33otj8/JD869Ndr5Xcc/+fwRh4HAsFsAeygQQXm+0PySrKbr/8tkDKzW+EVT3QkqZMfFrGiossDg== + dependencies: + browserslist "^4.23.0" + postcss-value-parser "^4.2.0" + +postcss-normalize-url@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-6.0.2.tgz#292792386be51a8de9a454cb7b5c58ae22db0f79" + integrity sha512-kVNcWhCeKAzZ8B4pv/DnrU1wNh458zBNp8dh4y5hhxih5RZQ12QWMuQrDgPRw3LRl8mN9vOVfHl7uhvHYMoXsQ== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-whitespace@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-6.0.2.tgz#fbb009e6ebd312f8b2efb225c2fcc7cf32b400cd" + integrity sha512-sXZ2Nj1icbJOKmdjXVT9pnyHQKiSAyuNQHSgRCUgThn2388Y9cGVDR+E9J9iAYbSbLHI+UUwLVl1Wzco/zgv0Q== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-ordered-values@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-6.0.2.tgz#366bb663919707093451ab70c3f99c05672aaae5" + integrity sha512-VRZSOB+JU32RsEAQrO94QPkClGPKJEL/Z9PCBImXMhIeK5KAYo6slP/hBYlLgrCjFxyqvn5VC81tycFEDBLG1Q== + dependencies: + cssnano-utils "^4.0.2" + postcss-value-parser "^4.2.0" + +postcss-reduce-initial@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-6.1.0.tgz#4401297d8e35cb6e92c8e9586963e267105586ba" + integrity sha512-RarLgBK/CrL1qZags04oKbVbrrVK2wcxhvta3GCxrZO4zveibqbRPmm2VI8sSgCXwoUHEliRSbOfpR0b/VIoiw== + dependencies: + browserslist "^4.23.0" + caniuse-api "^3.0.0" + +postcss-reduce-transforms@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-6.0.2.tgz#6fa2c586bdc091a7373caeee4be75a0f3e12965d" + integrity sha512-sB+Ya++3Xj1WaT9+5LOOdirAxP7dJZms3GRcYheSPi1PiTMigsxHAdkrbItHxwYHr4kt1zL7mmcHstgMYT+aiA== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-reporter@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/postcss-reporter/-/postcss-reporter-7.1.0.tgz#5ec476d224e2fe25a054e3c66d9b2901d4fab422" + integrity sha512-/eoEylGWyy6/DOiMP5lmFRdmDKThqgn7D6hP2dXKJI/0rJSO1ADFNngZfDzxL0YAxFvws+Rtpuji1YIHj4mySA== + dependencies: + picocolors "^1.0.0" + thenby "^1.3.4" + +postcss-selector-parser@^6.0.11, postcss-selector-parser@^6.0.16: + version "6.1.0" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz#49694cb4e7c649299fea510a29fa6577104bcf53" + integrity sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-svgo@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-6.0.3.tgz#1d6e180d6df1fa8a3b30b729aaa9161e94f04eaa" + integrity sha512-dlrahRmxP22bX6iKEjOM+c8/1p+81asjKT+V5lrgOH944ryx/OHpclnIbGsKVd3uWOXFLYJwCVf0eEkJGvO96g== + dependencies: + postcss-value-parser "^4.2.0" + svgo "^3.2.0" + +postcss-unique-selectors@^6.0.4: + version "6.0.4" + resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-6.0.4.tgz#983ab308896b4bf3f2baaf2336e14e52c11a2088" + integrity sha512-K38OCaIrO8+PzpArzkLKB42dSARtC2tmG6PvD4b1o1Q2E9Os8jzfWFfSy/rixsHwohtsDdFtAWGjFVFUdwYaMg== + dependencies: + postcss-selector-parser "^6.0.16" + +postcss-value-parser@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + +postcss@^8.4.39: + version "8.4.39" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.39.tgz#aa3c94998b61d3a9c259efa51db4b392e1bde0e3" + integrity sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw== + dependencies: + nanoid "^3.3.7" + picocolors "^1.0.1" + source-map-js "^1.2.0" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" @@ -3590,6 +4238,21 @@ pretty-format@^29.2.1: ansi-styles "^5.0.0" react-is "^18.0.0" +pretty-hrtime@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" + integrity sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A== + +prismjs@^1.27.0: + version "1.29.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.29.0.tgz#f113555a8fa9b57c35e637bba27509dcf802dd12" + integrity sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q== + +prismjs@~1.27.0: + version "1.27.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.27.0.tgz#bb6ee3138a0b438a3653dd4d6ce0cc6510a45057" + integrity sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA== + promise@^7.1.1: version "7.3.1" resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" @@ -3619,6 +4282,13 @@ property-expr@^2.0.4: resolved "https://registry.yarnpkg.com/property-expr/-/property-expr-2.0.5.tgz#278bdb15308ae16af3e3b9640024524f4dc02cb4" integrity sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA== +property-information@^5.0.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.6.0.tgz#61675545fb23002f245c6540ec46077d4da3ed69" + integrity sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA== + dependencies: + xtend "^4.0.0" + property-information@^6.0.0: version "6.1.1" resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.1.1.tgz#5ca85510a3019726cb9afed4197b7b8ac5926a22" @@ -3781,6 +4451,17 @@ react-native-svg@^13.4.0: css-select "^5.1.0" css-tree "^1.1.3" +react-syntax-highlighter@^15.5.0: + version "15.5.0" + resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-15.5.0.tgz#4b3eccc2325fa2ec8eff1e2d6c18fa4a9e07ab20" + integrity sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg== + dependencies: + "@babel/runtime" "^7.3.1" + highlight.js "^10.4.1" + lowlight "^1.17.0" + prismjs "^1.27.0" + refractor "^3.6.0" + react-textarea-autosize@^8.3.2: version "8.3.4" resolved "https://registry.yarnpkg.com/react-textarea-autosize/-/react-textarea-autosize-8.3.4.tgz#270a343de7ad350534141b02c9cb78903e553524" @@ -3797,11 +4478,39 @@ react@^18.2.0: dependencies: loose-envify "^1.1.0" +read-cache@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" + integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== + dependencies: + pify "^2.3.0" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +refractor@^3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.6.0.tgz#ac318f5a0715ead790fcfb0c71f4dd83d977935a" + integrity sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA== + dependencies: + hastscript "^6.0.0" + parse-entities "^2.0.0" + prismjs "~1.27.0" + regenerator-runtime@^0.13.4: version "0.13.10" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" @@ -4007,6 +4716,21 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + +slash@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-5.1.0.tgz#be3adddcdf09ac38eebe8dcdc7b1a57a75b095ce" + integrity sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg== + +source-map-js@^1.0.1, source-map-js@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af" + integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg== + source-map-support@0.5.13: version "0.5.13" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" @@ -4020,6 +4744,11 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== +space-separated-tokens@^1.0.0: + version "1.1.5" + resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz#85f32c3d10d9682007e917414ddc5c26d1aa6899" + integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA== + space-separated-tokens@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-2.0.1.tgz#43193cec4fb858a2ce934b7f98b7f2c18107098b" @@ -4115,6 +4844,14 @@ style-to-object@^0.3.0: dependencies: inline-style-parser "0.1.1" +stylehacks@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-6.1.1.tgz#543f91c10d17d00a440430362d419f79c25545a6" + integrity sha512-gSTTEQ670cJNoaeIp9KX6lZmm8LJ3jPB5yJmX8Zq/wQxOsAFXV3qjWzHas3YYk1qesuVIyYWWUpZ0vSE/dTSGg== + dependencies: + browserslist "^4.23.0" + postcss-selector-parser "^6.0.16" + supports-color@^5.3.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" @@ -4141,6 +4878,19 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +svgo@^3.2.0: + version "3.3.2" + resolved "https://registry.yarnpkg.com/svgo/-/svgo-3.3.2.tgz#ad58002652dffbb5986fc9716afe52d869ecbda8" + integrity sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw== + dependencies: + "@trysound/sax" "0.2.0" + commander "^7.2.0" + css-select "^5.1.0" + css-tree "^2.3.1" + css-what "^6.1.0" + csso "^5.0.5" + picocolors "^1.0.0" + svgs@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/svgs/-/svgs-4.2.0.tgz#4e228f7f29f78a31cef45702d4120988a6a6d38d" @@ -4168,6 +4918,11 @@ text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +thenby@^1.3.4: + version "1.3.4" + resolved "https://registry.yarnpkg.com/thenby/-/thenby-1.3.4.tgz#81581f6e1bb324c6dedeae9bfc28e59b1a2201cc" + integrity sha512-89Gi5raiWA3QZ4b2ePcEwswC3me9JIg+ToSgtE0JWeCynLnLxNr/f9G+xfo9K+Oj4AFdom8YNJjibIARTJmapQ== + tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -4363,6 +5118,19 @@ universalify@^0.2.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== +universalify@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== + +update-browserslist-db@^1.0.16: + version "1.1.0" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz#7ca61c0d8650766090728046e416a8cde682859e" + integrity sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ== + dependencies: + escalade "^3.1.2" + picocolors "^1.0.1" + update-browserslist-db@^1.0.9: version "1.0.10" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" @@ -4403,6 +5171,11 @@ use-latest@^1.2.1: dependencies: use-isomorphic-layout-effect "^1.1.1" +util-deprecate@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + uvu@^0.5.0: version "0.5.6" resolved "https://registry.yarnpkg.com/uvu/-/uvu-0.5.6.tgz#2754ca20bcb0bb59b64e9985e84d2e81058502df" @@ -4552,6 +5325,11 @@ xmlchars@^2.2.0: resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== +xtend@^4.0.0: + version "4.0.2" + resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" + integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== + y18n@^5.0.5: version "5.0.8" resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" @@ -4562,11 +5340,29 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yargs-parser@^21.0.0, yargs-parser@^21.0.1: +yaml@^2.3.4: + version "2.4.5" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.5.tgz#60630b206dd6d84df97003d33fc1ddf6296cca5e" + integrity sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg== + +yargs-parser@^21.0.0, yargs-parser@^21.0.1, yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== +yargs@^17.0.0: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== + 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" + yargs@^17.3.1: version "17.6.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.0.tgz#e134900fc1f218bc230192bdec06a0a5f973e46c"