From 405d90e45012f878bbc83c41f88522437c3b8ee8 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 2 Aug 2023 19:17:24 +0200 Subject: [PATCH] Clean up the build - in case we're building with the jsx-dev-runtime, it doesn't get included anymore - react-dom/server doesn't get included anymore - ensure we're not relying on babel - make sure we're not using the React default export in the resulting bundle --- babel.config.cjs | 7 -- package.json | 4 - .../ActionControl/ActionControl.tsx | 6 +- src/components/Checkbox/Checkbox.tsx | 4 +- src/components/Form/Control.tsx | 4 +- src/components/Form/Controls/MFA/MFA.tsx | 4 +- .../Form/Controls/Password/Password.tsx | 4 +- src/components/Form/Field.tsx | 23 ++-- src/components/Form/Label.tsx | 4 +- src/components/Form/Message.tsx | 4 +- src/components/Form/Root.tsx | 23 ++-- src/components/Link/Link.tsx | 33 +++-- src/components/Radio/Radio.tsx | 4 +- src/components/Toggle/Toggle.tsx | 4 +- vite.config.ts | 9 +- yarn.lock | 119 +----------------- 16 files changed, 62 insertions(+), 194 deletions(-) delete mode 100644 babel.config.cjs diff --git a/babel.config.cjs b/babel.config.cjs deleted file mode 100644 index 6af7345a..00000000 --- a/babel.config.cjs +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - presets: [ - "@babel/preset-env", - "@babel/preset-react", - "@babel/preset-typescript", - ], -}; diff --git a/package.json b/package.json index 3e9e4c64..c1eeece9 100644 --- a/package.json +++ b/package.json @@ -50,9 +50,6 @@ }, "homepage": "https://github.com/vector-im/compound-web#readme", "devDependencies": { - "@babel/core": "^7.22.9", - "@babel/preset-react": "^7.22.5", - "@babel/preset-typescript": "^7.22.5", "@fontsource/inter": "^5.0.5", "@percy/cli": "^1.26.2", "@percy/storybook": "^4.3.6", @@ -78,7 +75,6 @@ "@vector-im/compound-design-tokens": "0.0.3", "@vitejs/plugin-react": "^4.0.4", "@vitest/coverage-v8": "^0.33.0", - "babel-loader": "^9.1.3", "browserslist-to-esbuild": "^1.2.0", "eslint": "^8.46.0", "eslint-config-prettier": "^8.9.0", diff --git a/src/components/ActionControl/ActionControl.tsx b/src/components/ActionControl/ActionControl.tsx index f476758b..9c732c47 100644 --- a/src/components/ActionControl/ActionControl.tsx +++ b/src/components/ActionControl/ActionControl.tsx @@ -15,7 +15,7 @@ limitations under the License. */ import classnames from "classnames"; -import React, { PropsWithChildren, useId } from "react"; +import React, { PropsWithChildren, useId, forwardRef } from "react"; import styles from "./ActionControl.module.css"; import { Control, Field, Root } from "../Form"; @@ -28,7 +28,7 @@ type ActionControlProps = { disabled?: boolean; } & React.ComponentProps; -export const ActionControl = React.forwardRef< +export const ActionControl = forwardRef< HTMLInputElement, PropsWithChildren >(function ActionControl( @@ -62,7 +62,7 @@ export const ActionControl = React.forwardRef< ); }); -export const StandaloneActionControl = React.forwardRef< +export const StandaloneActionControl = forwardRef< HTMLInputElement, PropsWithChildren >(function StandaloneActionControl(props, ref) { diff --git a/src/components/Checkbox/Checkbox.tsx b/src/components/Checkbox/Checkbox.tsx index 5ad727b0..8ffd62ea 100644 --- a/src/components/Checkbox/Checkbox.tsx +++ b/src/components/Checkbox/Checkbox.tsx @@ -15,7 +15,7 @@ limitations under the License. */ import classnames from "classnames"; -import React, { PropsWithChildren } from "react"; +import React, { forwardRef, PropsWithChildren } from "react"; import styles from "./Checkbox.module.css"; import CheckIcon from "@vector-im/compound-design-tokens/icons/check.svg"; @@ -25,7 +25,7 @@ type CheckboxProps = { onMouseDown?: (e: React.MouseEvent) => void; } & React.ComponentPropsWithoutRef<"input">; -export const Checkbox = React.forwardRef< +export const Checkbox = forwardRef< HTMLInputElement, PropsWithChildren >(function Checkbox( diff --git a/src/components/Form/Control.tsx b/src/components/Form/Control.tsx index 90798464..0dad725f 100644 --- a/src/components/Form/Control.tsx +++ b/src/components/Form/Control.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithChildren } from "react"; +import React, { forwardRef, PropsWithChildren } from "react"; import { Control as RadixControl } from "@radix-ui/react-form"; import styles from "./form.module.css"; @@ -28,7 +28,7 @@ type ControlProps = { * Thin wrapper around Radix UI Control component * https://www.radix-ui.com/docs/primitives/components/form#control */ -export const Control = React.forwardRef< +export const Control = forwardRef< HTMLInputElement, PropsWithChildren >(function Control({ children, ...props }, ref) { diff --git a/src/components/Form/Controls/MFA/MFA.tsx b/src/components/Form/Controls/MFA/MFA.tsx index 299f3e71..ce989b5f 100644 --- a/src/components/Form/Controls/MFA/MFA.tsx +++ b/src/components/Form/Controls/MFA/MFA.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithoutRef, useState } from "react"; +import React, { forwardRef, PropsWithoutRef, useState } from "react"; import classnames from "classnames"; import { Control } from "../../Control"; @@ -33,7 +33,7 @@ type MFAProps = { * Thin wrapper around Radix UI Control component * https://www.radix-ui.com/docs/primitives/components/form#control */ -export const MFAControl = React.forwardRef(function MFAControl( +export const MFAControl = forwardRef(function MFAControl( { className, length = 6, ...props }: PropsWithoutRef, ref: React.ForwardedRef, ) { diff --git a/src/components/Form/Controls/Password/Password.tsx b/src/components/Form/Controls/Password/Password.tsx index 0422d305..b16361de 100644 --- a/src/components/Form/Controls/Password/Password.tsx +++ b/src/components/Form/Controls/Password/Password.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithChildren, useReducer } from "react"; +import React, { forwardRef, PropsWithChildren, useReducer } from "react"; import { ActionControl } from "../../../ActionControl/ActionControl"; import { Control } from "../../Control"; @@ -39,7 +39,7 @@ const hideState = { * Thin wrapper around Radix UI Control component * https://www.radix-ui.com/docs/primitives/components/form#control */ -export const PasswordControl = React.forwardRef< +export const PasswordControl = forwardRef< HTMLInputElement, PropsWithChildren> >(function PasswordControl(props, ref) { diff --git a/src/components/Form/Field.tsx b/src/components/Form/Field.tsx index d9c84514..3029832e 100644 --- a/src/components/Form/Field.tsx +++ b/src/components/Form/Field.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithChildren } from "react"; +import React, { forwardRef, PropsWithChildren } from "react"; import { Field as RadixField } from "@radix-ui/react-form"; import styles from "./form.module.css"; @@ -28,14 +28,13 @@ type FieldProps = { * Thin wrapper around Radix UI Field component * https://www.radix-ui.com/docs/primitives/components/form#field */ -export const Field = React.forwardRef< - HTMLDivElement, - PropsWithChildren ->(function Field({ children, ...props }, ref) { - const classes = classNames(styles.field, props.className); - return ( - - {children} - - ); -}); +export const Field = forwardRef>( + function Field({ children, ...props }, ref) { + const classes = classNames(styles.field, props.className); + return ( + + {children} + + ); + }, +); diff --git a/src/components/Form/Label.tsx b/src/components/Form/Label.tsx index 886ef719..1c249c80 100644 --- a/src/components/Form/Label.tsx +++ b/src/components/Form/Label.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithChildren } from "react"; +import React, { PropsWithChildren, forwardRef } from "react"; import { Label as RadixLabel } from "@radix-ui/react-form"; import styles from "./form.module.css"; @@ -28,7 +28,7 @@ type LabelProps = { * Thin wrapper around Radix UI Label component * https://www.radix-ui.com/docs/primitives/components/form#label */ -export const Label = React.forwardRef< +export const Label = forwardRef< HTMLLabelElement, PropsWithChildren >(function Label({ children, ...props }, ref) { diff --git a/src/components/Form/Message.tsx b/src/components/Form/Message.tsx index 08258e28..fe52f203 100644 --- a/src/components/Form/Message.tsx +++ b/src/components/Form/Message.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithChildren } from "react"; +import React, { forwardRef, PropsWithChildren } from "react"; import { Message as RadixMessage } from "@radix-ui/react-form"; import styles from "./form.module.css"; @@ -28,7 +28,7 @@ type MessageProps = { * Thin wrapper around Radix UI Message component * https://www.radix-ui.com/docs/primitives/components/form#message */ -export const Message = React.forwardRef< +export const Message = forwardRef< HTMLSpanElement, PropsWithChildren >(function Message({ children, ...props }, ref) { diff --git a/src/components/Form/Root.tsx b/src/components/Form/Root.tsx index fd6e729a..280cd705 100644 --- a/src/components/Form/Root.tsx +++ b/src/components/Form/Root.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithChildren } from "react"; +import React, { forwardRef, PropsWithChildren } from "react"; import { Root as RadixRoot } from "@radix-ui/react-form"; import styles from "./form.module.css"; @@ -28,14 +28,13 @@ type RootProps = { * Thin wrapper around Radix UI Root component * https://www.radix-ui.com/docs/primitives/components/form#root */ -export const Root = React.forwardRef< - HTMLFormElement, - PropsWithChildren ->(function Root({ children, ...props }, ref) { - const classes = classNames(styles.root, props.className); - return ( - - {children} - - ); -}); +export const Root = forwardRef>( + function Root({ children, ...props }, ref) { + const classes = classNames(styles.root, props.className); + return ( + + {children} + + ); + }, +); diff --git a/src/components/Link/Link.tsx b/src/components/Link/Link.tsx index 7131c499..f78a8eaf 100644 --- a/src/components/Link/Link.tsx +++ b/src/components/Link/Link.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, { PropsWithChildren } from "react"; +import React, { forwardRef, PropsWithChildren } from "react"; import styles from "./Link.module.css"; import classNames from "classnames"; @@ -23,19 +23,18 @@ type LinkProps = { kind?: "primary" | "critical"; } & Omit, "rel">; -export const Link = React.forwardRef< - HTMLAnchorElement, - PropsWithChildren ->(function Link({ children, className, kind = "primary", ...props }, ref) { - return ( - - {children} - - ); -}); +export const Link = forwardRef>( + function Link({ children, className, kind = "primary", ...props }, ref) { + return ( + + {children} + + ); + }, +); diff --git a/src/components/Radio/Radio.tsx b/src/components/Radio/Radio.tsx index 5999577e..0a0e68f1 100644 --- a/src/components/Radio/Radio.tsx +++ b/src/components/Radio/Radio.tsx @@ -15,7 +15,7 @@ limitations under the License. */ import classnames from "classnames"; -import React, { PropsWithChildren } from "react"; +import React, { forwardRef, PropsWithChildren } from "react"; import styles from "./Radio.module.css"; type RadioProps = { @@ -27,7 +27,7 @@ type RadioProps = { /** * Radio form control */ -export const Radio = React.forwardRef< +export const Radio = forwardRef< HTMLInputElement, PropsWithChildren >(function Radio({ kind = "primary", className, onMouseDown, ...props }, ref) { diff --git a/src/components/Toggle/Toggle.tsx b/src/components/Toggle/Toggle.tsx index c1148fe7..5857a8c6 100644 --- a/src/components/Toggle/Toggle.tsx +++ b/src/components/Toggle/Toggle.tsx @@ -15,7 +15,7 @@ limitations under the License. */ import classnames from "classnames"; -import React, { PropsWithChildren } from "react"; +import React, { forwardRef, PropsWithChildren } from "react"; import styles from "./Toggle.module.css"; type ToggleProps = { @@ -27,7 +27,7 @@ type ToggleProps = { * Standalone toggle component to be used with a Radix form control * See https://www.radix-ui.com/docs/primitives/components/form#composing-with-your-own-components */ -export const Toggle = React.forwardRef< +export const Toggle = forwardRef< HTMLInputElement, PropsWithChildren >(function Toggle({ className, onMouseDown, ...props }, ref) { diff --git a/vite.config.ts b/vite.config.ts index 87c90b3b..399c8019 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -28,7 +28,9 @@ export default defineConfig({ external: [ "react", "react-dom", + "react-dom/server", "react/jsx-runtime", + "react/jsx-dev-runtime", "lodash", "classnames", "@radix-ui/react-form", @@ -39,13 +41,6 @@ export default defineConfig({ }, }, - experimental: { - // This ensures we're using relative paths in the generated CSS - renderBuiltUrl(filename: string) { - return `./${filename}`; - }, - }, - plugins: [ react({ jsxRuntime: "automatic", diff --git a/yarn.lock b/yarn.lock index 837234be..3f9b2074 100644 --- a/yarn.lock +++ b/yarn.lock @@ -804,20 +804,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-react-display-name@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.22.5.tgz#3c4326f9fce31c7968d6cb9debcaf32d9e279a2b" - integrity sha512-PVk3WPYudRF5z4GKMEYUrLjPl38fJSKNaEOkFuoprioowGuWN6w2RKznuFNSlJx7pzzXXStPUnNSOEO0jL5EVw== - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - -"@babel/plugin-transform-react-jsx-development@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.22.5.tgz#e716b6edbef972a92165cd69d92f1255f7e73e87" - integrity sha512-bDhuzwWMuInwCYeDeMzyi7TaBgRQei6DqxhbyniL7/VG4RSS7HtSL2QbY4eESy1KJqlWt8g3xeEBGPuo+XqC8A== - dependencies: - "@babel/plugin-transform-react-jsx" "^7.22.5" - "@babel/plugin-transform-react-jsx-self@^7.18.6", "@babel/plugin-transform-react-jsx-self@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.22.5.tgz#ca2fdc11bc20d4d46de01137318b13d04e481d8e" @@ -832,7 +818,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-react-jsx@^7.19.0", "@babel/plugin-transform-react-jsx@^7.22.5": +"@babel/plugin-transform-react-jsx@^7.19.0": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.22.5.tgz#932c291eb6dd1153359e2a90cb5e557dcf068416" integrity sha512-rog5gZaVbUip5iWDMTYbVM15XQq+RkUKhET/IHR6oizR+JEoN6CAfTTuHcK4vwUyzca30qqHqEpzBOnaRMWYMA== @@ -843,14 +829,6 @@ "@babel/plugin-syntax-jsx" "^7.22.5" "@babel/types" "^7.22.5" -"@babel/plugin-transform-react-pure-annotations@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.22.5.tgz#1f58363eef6626d6fa517b95ac66fe94685e32c0" - integrity sha512-gP4k85wx09q+brArVinTXhWiyzLl9UpmGva0+mWyKxk6JZequ05x3eUcIUE+FyttPKJFRRVtAvQaJ6YF9h1ZpA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-transform-regenerator@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.5.tgz#cd8a68b228a5f75fa01420e8cc2fc400f0fc32aa" @@ -1049,19 +1027,7 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.22.5.tgz#c4d6058fbf80bccad02dd8c313a9aaa67e3c3dd6" - integrity sha512-M+Is3WikOpEJHgR385HbuCITPTaPRaNkibTEa9oiofmJvIsrceb4yp9RL9Kb+TE8LznmeyZqpP+Lopwcx59xPQ== - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-validator-option" "^7.22.5" - "@babel/plugin-transform-react-display-name" "^7.22.5" - "@babel/plugin-transform-react-jsx" "^7.22.5" - "@babel/plugin-transform-react-jsx-development" "^7.22.5" - "@babel/plugin-transform-react-pure-annotations" "^7.22.5" - -"@babel/preset-typescript@^7.13.0", "@babel/preset-typescript@^7.22.5": +"@babel/preset-typescript@^7.13.0": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.22.5.tgz#16367d8b01d640e9a507577ed4ee54e0101e51c8" integrity sha512-YbPaal9LxztSGhmndR46FmAbkJ/1fAsw293tSU+I5E5h+cnJ3d4GTwyUgGYmOXJYdGA+uNePle4qbaRzj2NISQ== @@ -4048,20 +4014,6 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv-formats@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" - integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== - dependencies: - ajv "^8.0.0" - -ajv-keywords@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" - integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== - dependencies: - fast-deep-equal "^3.1.3" - ajv@^6.12.4, ajv@~6.12.6: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" @@ -4072,7 +4024,7 @@ ajv@^6.12.4, ajv@~6.12.6: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.0.1, ajv@^8.6.2, ajv@^8.9.0: +ajv@^8.0.1, ajv@^8.6.2: version "8.12.0" resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== @@ -4318,14 +4270,6 @@ babel-core@^7.0.0-bridge.0: resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== -babel-loader@^9.1.3: - version "9.1.3" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-9.1.3.tgz#3d0e01b4e69760cc694ee306fe16d358aa1c6f9a" - integrity sha512-xG3ST4DglodGf8qSwv0MdeWLhrDsw/32QMdTO5T1ZIp9gQur0HkCyFs7Awskr10JKXFXwpAhiCuYX5oGXnRGbw== - dependencies: - find-cache-dir "^4.0.0" - schema-utils "^4.0.0" - babel-plugin-istanbul@^6.1.1: version "6.1.1" resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" @@ -4798,11 +4742,6 @@ commander@^7.2.0: resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== -common-path-prefix@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0" - integrity sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w== - commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -5955,14 +5894,6 @@ find-cache-dir@^3.0.0: make-dir "^3.0.2" pkg-dir "^4.1.0" -find-cache-dir@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-4.0.0.tgz#a30ee0448f81a3990708f6453633c733e2f6eec2" - integrity sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg== - dependencies: - common-path-prefix "^3.0.0" - pkg-dir "^7.0.0" - find-up@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" @@ -5986,14 +5917,6 @@ find-up@^5.0.0: locate-path "^6.0.0" path-exists "^4.0.0" -find-up@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" - integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw== - dependencies: - locate-path "^7.1.0" - path-exists "^5.0.0" - flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -7337,13 +7260,6 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -locate-path@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a" - integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA== - dependencies: - p-locate "^6.0.0" - lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" @@ -8033,13 +7949,6 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" -p-locate@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f" - integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw== - dependencies: - p-limit "^4.0.0" - p-map@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" @@ -8101,11 +8010,6 @@ path-exists@^4.0.0: resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== -path-exists@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7" - integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ== - path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" @@ -8214,13 +8118,6 @@ pkg-dir@^5.0.0: dependencies: find-up "^5.0.0" -pkg-dir@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-7.0.0.tgz#8f0c08d6df4476756c5ff29b3282d0bab7517d11" - integrity sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA== - dependencies: - find-up "^6.3.0" - pkg-types@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.0.3.tgz#988b42ab19254c01614d13f4f65a2cfc7880f868" @@ -8984,16 +8881,6 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" -schema-utils@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.2.0.tgz#70d7c93e153a273a805801882ebd3bff20d89c8b" - integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== - dependencies: - "@types/json-schema" "^7.0.9" - ajv "^8.9.0" - ajv-formats "^2.1.1" - ajv-keywords "^5.1.0" - "semver@2 || 3 || 4 || 5", semver@^5.6.0: version "5.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"