From a91941caf330a7420c72b1d87c3b8e7ebb5b7396 Mon Sep 17 00:00:00 2001 From: Aleksey Ilin Date: Mon, 24 Jul 2023 03:06:22 +0200 Subject: [PATCH 01/29] changed classnames module with clsx --- package.json | 2 +- rollup.config.dev.js | 2 +- rollup.config.prod.js | 2 +- src/components/Tooltip/Tooltip.tsx | 6 +++--- src/components/TooltipProvider/TooltipWrapper.tsx | 4 ++-- yarn.lock | 10 +++++----- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 9c70e4fb..f9fd2d71 100644 --- a/package.json +++ b/package.json @@ -126,6 +126,6 @@ }, "dependencies": { "@floating-ui/dom": "^1.6.1", - "classnames": "^2.3.0" + "clsx": "^2.0.0" } } diff --git a/rollup.config.dev.js b/rollup.config.dev.js index 2d9c0e6b..38a973db 100644 --- a/rollup.config.dev.js +++ b/rollup.config.dev.js @@ -18,7 +18,7 @@ const name = 'ReactTooltip' const globals = { react: 'React', 'react-dom': 'ReactDOM', - classnames: 'classNames', + clsx: 'clsx', 'prop-types': 'PropTypes', } diff --git a/rollup.config.prod.js b/rollup.config.prod.js index 7c29d6e8..1c63073d 100644 --- a/rollup.config.prod.js +++ b/rollup.config.prod.js @@ -39,7 +39,7 @@ const buildFormats = [ '@floating-ui/dom': 'FloatingUIDOM', react: 'React', 'react-dom': 'ReactDOM', - classnames: 'classNames', + clsx: 'clsx', 'prop-types': 'PropTypes', }, }, diff --git a/src/components/Tooltip/Tooltip.tsx b/src/components/Tooltip/Tooltip.tsx index 37487927..66356182 100644 --- a/src/components/Tooltip/Tooltip.tsx +++ b/src/components/Tooltip/Tooltip.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState, useRef, useCallback, useImperativeHandle } from 'react' import { autoUpdate } from '@floating-ui/dom' -import classNames from 'classnames' +import clsx from 'clsx' import { debounce, deepEqual, @@ -847,7 +847,7 @@ const Tooltip = ({ {actualContent} Date: Thu, 14 Mar 2024 15:51:35 -0300 Subject: [PATCH 02/29] chore: rebase from master and fix className import --- .../TooltipController/TooltipController.tsx | 4 +-- yarn.lock | 30 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/TooltipController/TooltipController.tsx b/src/components/TooltipController/TooltipController.tsx index f5d06e5a..67d4bffc 100644 --- a/src/components/TooltipController/TooltipController.tsx +++ b/src/components/TooltipController/TooltipController.tsx @@ -14,7 +14,7 @@ import type { import { useTooltip } from 'components/TooltipProvider' import { TooltipContent } from 'components/TooltipContent' import { cssSupports } from 'utils' -import classNames from 'classnames' +import clsx from 'clsx' import type { ITooltipController } from './TooltipControllerTypes' const TooltipController = React.forwardRef( @@ -335,7 +335,7 @@ const TooltipController = React.forwardRef( id, anchorId, anchorSelect, - className: classNames(className, tooltipClassName), + className: clsx(className, tooltipClassName), classNameArrow, content: renderedContent, contentWrapperRef, diff --git a/yarn.lock b/yarn.lock index 2a30ad99..d1854dbc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -450,25 +450,25 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.35.0.tgz#b7569632b0b788a0ca0e438235154e45d42813a7" integrity sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw== -"@floating-ui/core@^1.4.1": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.4.1.tgz#0d633f4b76052668afb932492ac452f7ebe97f17" - integrity sha512-jk3WqquEJRlcyu7997NtR5PibI+y5bi+LS3hPmguVClypenMsCY3CBa3LAQnozRCtCrYWSEtAdiskpamuJRFOQ== +"@floating-ui/core@^1.0.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.6.0.tgz#fa41b87812a16bf123122bf945946bae3fdf7fc1" + integrity sha512-PcF++MykgmTj3CIyOQbKA/hDzOAiqI3mhuoN44WRCopIs1sgoDoU4oty4Jtqaj/y3oDU6fnVSm4QG0a3t5i0+g== dependencies: - "@floating-ui/utils" "^0.1.1" + "@floating-ui/utils" "^0.2.1" -"@floating-ui/dom@^1.0.0": - version "1.5.1" - resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.1.tgz#88b70defd002fe851f17b4a25efb2d3c04d7a8d7" - integrity sha512-KwvVcPSXg6mQygvA1TjbN/gh///36kKtllIF8SUm0qpFj8+rvYrpvlYdL1JoA71SHpDqgSSdGOSoQ0Mp3uY5aw== +"@floating-ui/dom@^1.6.1": + version "1.6.3" + resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.6.3.tgz#954e46c1dd3ad48e49db9ada7218b0985cee75ef" + integrity sha512-RnDthu3mzPlQ31Ss/BTwQ1zjzIhr3lk1gZB1OC56h/1vEtaXkESrOqL5fQVMfXpwGtRwX+YsZBdyHtJMQnkArw== dependencies: - "@floating-ui/core" "^1.4.1" - "@floating-ui/utils" "^0.1.1" + "@floating-ui/core" "^1.0.0" + "@floating-ui/utils" "^0.2.0" -"@floating-ui/utils@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.1.tgz#1a5b1959a528e374e8037c4396c3e825d6cf4a83" - integrity sha512-m0G6wlnhm/AX0H12IOWtK8gASEMffnX08RtKkCgTdHb9JpHKGloI7icFfLg9ZmQeavcvR0PKmzxClyuFPSjKWw== +"@floating-ui/utils@^0.2.0", "@floating-ui/utils@^0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.1.tgz#16308cea045f0fc777b6ff20a9f25474dd8293d2" + integrity sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q== "@gar/promisify@^1.0.1": version "1.1.3" From a83f9fd55d391a73a4302edd23630724d87ac211 Mon Sep 17 00:00:00 2001 From: Daniel Barion Date: Fri, 15 Mar 2024 11:03:40 -0300 Subject: [PATCH 03/29] chore: remove deprecated removeStyle util --- src/index.tsx | 2 -- src/test/utils.spec.js | 27 +++++++++++++++++++++++++++ src/utils/handle-style.ts | 35 +---------------------------------- 3 files changed, 28 insertions(+), 36 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index c11ef9cf..70ec035a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -50,5 +50,3 @@ export type { Middleware, TooltipRefProps, } - -export { removeStyle } from './utils/handle-style' diff --git a/src/test/utils.spec.js b/src/test/utils.spec.js index 42597289..25c25bd8 100644 --- a/src/test/utils.spec.js +++ b/src/test/utils.spec.js @@ -1,4 +1,5 @@ import { debounce, deepEqual, computeTooltipPosition, cssTimeToMs, clearTimeoutRef } from 'utils' +import { injectStyle } from 'utils/handle-style.ts' describe('compute positions', () => { test('empty reference elements', async () => { @@ -272,3 +273,29 @@ describe('clearTimeoutRef', () => { expect(timeoutRef.current).toBe(null) }) }) + +describe('handleStyle', () => { + test('inject base styles with no CSS into the page', () => { + injectStyle({ css: null, type: 'base' }) + + const styleElement = document.getElementById('react-tooltip-base-styles') + + expect(styleElement).toBe(null) + }) + + test('inject core styles into the page', () => { + injectStyle({ css: `body { background: 'red' }`, type: 'core' }) + + const styleElement = document.getElementById('react-tooltip-core-styles') + + expect(styleElement.innerHTML).toBe(`body { background: 'red' }`) + }) + + test('inject base styles into the page', () => { + injectStyle({ css: `body { background: 'red' }`, type: 'base' }) + + const styleElement = document.getElementById('react-tooltip-base-styles') + + expect(styleElement.innerHTML).toBe(`body { background: 'red' }`) + }) +}) diff --git a/src/utils/handle-style.ts b/src/utils/handle-style.ts index 77570a6a..6d90a8b1 100644 --- a/src/utils/handle-style.ts +++ b/src/utils/handle-style.ts @@ -81,37 +81,4 @@ function injectStyle({ injected[type] = true } -/** - * @deprecated Use the `disableStyleInjection` tooltip prop instead. - * See https://react-tooltip.com/docs/examples/styling#disabling-reacttooltip-css - */ -function removeStyle({ - type = 'base', - id = REACT_TOOLTIP_BASE_STYLES_ID, -}: { - type?: 'core' | 'base' - id?: string -} = {}) { - if (!injected[type]) { - return - } - - if (type === 'core') { - // eslint-disable-next-line no-param-reassign - id = REACT_TOOLTIP_CORE_STYLES_ID - } - - const style = document.getElementById(id) - if (style?.tagName === 'style') { - style?.remove() - } else if (process.env.NODE_ENV !== 'production') { - // eslint-disable-next-line no-console - console.warn( - `[react-tooltip] Failed to remove 'style' element with id '${id}'. Call \`injectStyle()\` first`, - ) - } - - injected[type] = false -} - -export { injectStyle, removeStyle } +export { injectStyle } From aa2c71cce1e3b9af12a3cb71f41fcd07f60a6499 Mon Sep 17 00:00:00 2001 From: Daniel Barion Date: Fri, 15 Mar 2024 11:33:29 -0300 Subject: [PATCH 04/29] chore: remove ToolTipContent and deprecated html prop --- src/components/Tooltip/TooltipTypes.d.ts | 1 - .../TooltipContent/TooltipContent.tsx | 9 ------- .../TooltipContent/TooltipContentTypes.d.ts | 3 --- src/components/TooltipContent/index.ts | 1 - .../TooltipController/TooltipController.tsx | 13 --------- .../TooltipControllerTypes.d.ts | 4 --- .../TooltipProvider/TooltipProviderTypes.d.ts | 1 - .../TooltipProvider/TooltipWrapper.tsx | 2 -- .../__snapshots__/tooltip-props.spec.js.snap | 27 ------------------- src/test/tooltip-props.spec.js | 13 --------- 10 files changed, 74 deletions(-) delete mode 100644 src/components/TooltipContent/TooltipContent.tsx delete mode 100644 src/components/TooltipContent/TooltipContentTypes.d.ts delete mode 100644 src/components/TooltipContent/index.ts diff --git a/src/components/Tooltip/TooltipTypes.d.ts b/src/components/Tooltip/TooltipTypes.d.ts index 6289d799..5743dd4b 100644 --- a/src/components/Tooltip/TooltipTypes.d.ts +++ b/src/components/Tooltip/TooltipTypes.d.ts @@ -27,7 +27,6 @@ export type PositionStrategy = 'absolute' | 'fixed' export type DataAttribute = | 'place' | 'content' - | 'html' | 'variant' | 'offset' | 'wrapper' diff --git a/src/components/TooltipContent/TooltipContent.tsx b/src/components/TooltipContent/TooltipContent.tsx deleted file mode 100644 index 0725b27b..00000000 --- a/src/components/TooltipContent/TooltipContent.tsx +++ /dev/null @@ -1,9 +0,0 @@ -/* eslint-disable react/no-danger */ -import React from 'react' -import type { ITooltipContent } from './TooltipContentTypes' - -const TooltipContent = ({ content }: ITooltipContent) => { - return -} - -export default TooltipContent diff --git a/src/components/TooltipContent/TooltipContentTypes.d.ts b/src/components/TooltipContent/TooltipContentTypes.d.ts deleted file mode 100644 index 302bc204..00000000 --- a/src/components/TooltipContent/TooltipContentTypes.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ITooltipContent { - content: string -} diff --git a/src/components/TooltipContent/index.ts b/src/components/TooltipContent/index.ts deleted file mode 100644 index a2eeae55..00000000 --- a/src/components/TooltipContent/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as TooltipContent } from './TooltipContent' diff --git a/src/components/TooltipController/TooltipController.tsx b/src/components/TooltipController/TooltipController.tsx index 67d4bffc..2ce31fe5 100644 --- a/src/components/TooltipController/TooltipController.tsx +++ b/src/components/TooltipController/TooltipController.tsx @@ -12,7 +12,6 @@ import type { TooltipRefProps, } from 'components/Tooltip/TooltipTypes' import { useTooltip } from 'components/TooltipProvider' -import { TooltipContent } from 'components/TooltipContent' import { cssSupports } from 'utils' import clsx from 'clsx' import type { ITooltipController } from './TooltipControllerTypes' @@ -24,7 +23,6 @@ const TooltipController = React.forwardRef( anchorId, anchorSelect, content, - html, render, className, classNameArrow, @@ -66,7 +64,6 @@ const TooltipController = React.forwardRef( ref, ) => { const [tooltipContent, setTooltipContent] = useState(content) - const [tooltipHtml, setTooltipHtml] = useState(html) const [tooltipPlace, setTooltipPlace] = useState(place) const [tooltipVariant, setTooltipVariant] = useState(variant) const [tooltipOffset, setTooltipOffset] = useState(offset) @@ -107,9 +104,6 @@ const TooltipController = React.forwardRef( content: (value) => { setTooltipContent(value ?? content) }, - html: (value) => { - setTooltipHtml(value ?? html) - }, variant: (value) => { setTooltipVariant((value as VariantType) ?? variant) }, @@ -154,10 +148,6 @@ const TooltipController = React.forwardRef( setTooltipContent(content) }, [content]) - useEffect(() => { - setTooltipHtml(html) - }, [html]) - useEffect(() => { setTooltipPlace(place) }, [place]) @@ -326,9 +316,6 @@ const TooltipController = React.forwardRef( } else if (tooltipContent) { renderedContent = tooltipContent } - if (tooltipHtml) { - renderedContent = - } const props: ITooltip = { forwardRef: ref, diff --git a/src/components/TooltipController/TooltipControllerTypes.d.ts b/src/components/TooltipController/TooltipControllerTypes.d.ts index a6a5e289..5f608b62 100644 --- a/src/components/TooltipController/TooltipControllerTypes.d.ts +++ b/src/components/TooltipController/TooltipControllerTypes.d.ts @@ -18,10 +18,6 @@ export interface ITooltipController { className?: string classNameArrow?: string content?: string - /** - * @deprecated Use `children` or `render` instead - */ - html?: string render?: (render: { content: string | null; activeAnchor: HTMLElement | null }) => ChildrenType place?: PlacesType offset?: number diff --git a/src/components/TooltipProvider/TooltipProviderTypes.d.ts b/src/components/TooltipProvider/TooltipProviderTypes.d.ts index 7bcc9850..d09d7249 100644 --- a/src/components/TooltipProvider/TooltipProviderTypes.d.ts +++ b/src/components/TooltipProvider/TooltipProviderTypes.d.ts @@ -30,7 +30,6 @@ export interface ITooltipWrapper { place?: ITooltipController['place'] content?: ITooltipController['content'] - html?: ITooltipController['html'] variant?: ITooltipController['variant'] offset?: ITooltipController['offset'] wrapper?: ITooltipController['wrapper'] diff --git a/src/components/TooltipProvider/TooltipWrapper.tsx b/src/components/TooltipProvider/TooltipWrapper.tsx index 31952721..ff329043 100644 --- a/src/components/TooltipProvider/TooltipWrapper.tsx +++ b/src/components/TooltipProvider/TooltipWrapper.tsx @@ -13,7 +13,6 @@ const TooltipWrapper = ({ className, place, content, - html, variant, offset, wrapper, @@ -38,7 +37,6 @@ const TooltipWrapper = ({ className={clsx('react-tooltip-wrapper', className)} data-tooltip-place={place} data-tooltip-content={content} - data-tooltip-html={html} data-tooltip-variant={variant} data-tooltip-offset={offset} data-tooltip-wrapper={wrapper} diff --git a/src/test/__snapshots__/tooltip-props.spec.js.snap b/src/test/__snapshots__/tooltip-props.spec.js.snap index face6e5c..8037f988 100644 --- a/src/test/__snapshots__/tooltip-props.spec.js.snap +++ b/src/test/__snapshots__/tooltip-props.spec.js.snap @@ -122,33 +122,6 @@ exports[`tooltip props tooltip with float 1`] = ` `; -exports[`tooltip props tooltip with html 1`] = ` -
- - Lorem Ipsum - -
- + - + - + void }[] = [] + const enabledEvents: { + event: string + listener: (event?: Event) => void + }[] = [] const handleClickOpenTooltipAnchor = (event?: Event) => { if (show && event?.target === activeAnchor) { diff --git a/src/components/TooltipController/TooltipController.tsx b/src/components/TooltipController/TooltipController.tsx index d1ea1fe5..62849272 100644 --- a/src/components/TooltipController/TooltipController.tsx +++ b/src/components/TooltipController/TooltipController.tsx @@ -224,7 +224,11 @@ const TooltipController = React.forwardRef( // do not check for subtree and childrens, we only want to know attribute changes // to stay watching `data-attributes-*` from anchor element - const observerConfig = { attributes: true, childList: false, subtree: false } + const observerConfig = { + attributes: true, + childList: false, + subtree: false, + } if (activeAnchor) { const dataAttributes = getDataAttributesFromAnchorElement(activeAnchor) @@ -264,7 +268,10 @@ const TooltipController = React.forwardRef( if (render) { const actualContent = activeAnchor?.getAttribute('data-tooltip-content') || tooltipContent || null - const rendered = render({ content: actualContent, activeAnchor }) as React.ReactNode + const rendered = render({ + content: actualContent, + activeAnchor, + }) as React.ReactNode renderedContent = rendered ? (
{rendered} diff --git a/src/test/utils.spec.js b/src/test/utils.spec.js index 25c25bd8..2ad28805 100644 --- a/src/test/utils.spec.js +++ b/src/test/utils.spec.js @@ -9,7 +9,11 @@ describe('compute positions', () => { tooltipArrowReference: null, }) - expect(value).toEqual({ tooltipStyles: {}, tooltipArrowStyles: {}, place: 'top' }) + expect(value).toEqual({ + tooltipStyles: {}, + tooltipArrowStyles: {}, + place: 'top', + }) }) test('empty tooltip reference element', async () => { @@ -20,7 +24,11 @@ describe('compute positions', () => { tooltipArrowReference: null, }) - expect(value).toEqual({ tooltipStyles: {}, tooltipArrowStyles: {}, place: 'top' }) + expect(value).toEqual({ + tooltipStyles: {}, + tooltipArrowStyles: {}, + place: 'top', + }) }) test('empty tooltip arrow reference element', async () => { diff --git a/src/utils/compute-tooltip-position-types.d.ts b/src/utils/compute-tooltip-position-types.d.ts index 984db78e..4a355de0 100644 --- a/src/utils/compute-tooltip-position-types.d.ts +++ b/src/utils/compute-tooltip-position-types.d.ts @@ -1,4 +1,4 @@ -import { CSSProperties } from 'react' +import type { CSSProperties } from 'react' import type { Middleware, PlacesType } from '../components/Tooltip/TooltipTypes' export interface IComputePositionArgs { diff --git a/src/utils/compute-tooltip-position.ts b/src/utils/compute-tooltip-position.ts index 1af535b9..4cc20ccd 100644 --- a/src/utils/compute-tooltip-position.ts +++ b/src/utils/compute-tooltip-position.ts @@ -82,7 +82,11 @@ const computeTooltipPosition = async ({ } /* c8 ignore end */ - return { tooltipStyles: styles, tooltipArrowStyles: arrowStyle, place: placement } + return { + tooltipStyles: styles, + tooltipArrowStyles: arrowStyle, + place: placement, + } }) } diff --git a/tsconfig.json b/tsconfig.json index d6887460..be2fbcdb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,109 +1,114 @@ { - "include": ["./global.d.ts", "./src/**/*.ts", "./src/**/*.js", "./src/**/*.tsx"], - "exclude": ["src/test/**/*"], - "compilerOptions": { - /* Visit https://aka.ms/tsconfig to read more about this file */ + "include": [ + "./global.d.ts", + "./src/**/*.ts", + "./src/**/*.js", + "./src/**/*.tsx" + ], + "exclude": ["src/test/**/*"], + "compilerOptions": { + /* Visit https://aka.ms/tsconfig to read more about this file */ - /* Projects */ - // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ - // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ - // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ - // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ - // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ - // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ + /* Projects */ + // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ + // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ + // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ + // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ + // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ + // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ - /* Language and Environment */ - "target": "es2018" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, - "lib": [ - "es2018", - "DOM", - "DOM.iterable" - ] /* Specify a set of bundled library declaration files that describe the target runtime environment. */, - "jsx": "react" /* Specify what JSX code is generated. */, - // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ - // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ - // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ - // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ - // "jsxImportSource": "react", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ - // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ - // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ - // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ - // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ + /* Language and Environment */ + "target": "es2018" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, + "lib": [ + "es2018", + "DOM", + "DOM.iterable" + ] /* Specify a set of bundled library declaration files that describe the target runtime environment. */, + "jsx": "react" /* Specify what JSX code is generated. */, + // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ + // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ + // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ + // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ + // "jsxImportSource": "react", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ + // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ + // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ + // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ + // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ - /* Modules */ - "module": "esnext" /* Specify what module code is generated. */, - // "rootDir": "./", /* Specify the root folder within your source files. */ - "moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */, - "baseUrl": "src" /* Specify the base directory to resolve non-relative module names. */, - // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ - // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ - // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ - // "types": [], /* Specify type package names to be included without being referenced in a source file. */ - // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ - // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ - "resolveJsonModule": true /* Enable importing .json files. */, - // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ + /* Modules */ + "module": "esnext" /* Specify what module code is generated. */, + // "rootDir": "./", /* Specify the root folder within your source files. */ + "moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */, + "baseUrl": "src" /* Specify the base directory to resolve non-relative module names. */, + // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ + // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ + // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ + // "types": [], /* Specify type package names to be included without being referenced in a source file. */ + // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ + // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ + "resolveJsonModule": true /* Enable importing .json files. */, + // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ - /* JavaScript Support */ - "allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */, - // "checkJs": true /* Enable error reporting in type-checked JavaScript files. */, - // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ + /* JavaScript Support */ + "allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */, + // "checkJs": true /* Enable error reporting in type-checked JavaScript files. */, + // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ - /* Emit */ - // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ - // "declarationMap": true, /* Create sourcemaps for d.ts files. */ - // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ - // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ - // "outDir": "./", /* Specify an output folder for all emitted files. */ - // "removeComments": true, /* Disable emitting comments. */ - // "noEmit": true, /* Disable emitting files from a compilation. */ - // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ - // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ - // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ - // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ - // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ - // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ - // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ - // "newLine": "crlf", /* Set the newline character for emitting files. */ - // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ - // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ - "noEmitOnError": true /* Disable emitting files if any type checking errors are reported. */, - // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ - // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ - // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ + /* Emit */ + // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ + // "declarationMap": true, /* Create sourcemaps for d.ts files. */ + // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ + // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ + // "outDir": "./", /* Specify an output folder for all emitted files. */ + // "removeComments": true, /* Disable emitting comments. */ + // "noEmit": true, /* Disable emitting files from a compilation. */ + // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ + // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ + // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ + // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ + // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ + // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ + // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ + // "newLine": "crlf", /* Set the newline character for emitting files. */ + // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ + // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ + "noEmitOnError": true /* Disable emitting files if any type checking errors are reported. */, + // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ + // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ + // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ - /* Interop Constraints */ - // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ - // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ - "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, - // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ - "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, + /* Interop Constraints */ + // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ + // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ + "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, + // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ + "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, - /* Type Checking */ - "strict": true /* Enable all strict type-checking options. */, - // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ - // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ - // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ - // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ - // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ - // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ - // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ - // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ - // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ - // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ - // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ - // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ - // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ - // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ - // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ - // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ - // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ - // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ + /* Type Checking */ + "strict": true /* Enable all strict type-checking options. */, + // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ + // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ + // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ + // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ + // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ + // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ + // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ + // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ + // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ + // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ + // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ + // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ + // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ + // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ + // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ + // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ + // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ + // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ - /* Completeness */ - // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ - "skipLibCheck": false /* Skip type checking all .d.ts files. */ - } + /* Completeness */ + // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ + "skipLibCheck": false /* Skip type checking all .d.ts files. */ + } } diff --git a/yarn.lock b/yarn.lock index 7bbea30c..73fe8758 100644 --- a/yarn.lock +++ b/yarn.lock @@ -310,6 +310,60 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@biomejs/biome@^1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.7.0.tgz#b12973c41b0a9c62374807b988cf984b20d85f44" + integrity sha512-mejiRhnAq6UrXtYvjWJUKdstcT58n0/FfKemFf3d2Ou0HxOdS88HQmWtQ/UgyZvOEPD572YbFTb6IheyROpqkw== + optionalDependencies: + "@biomejs/cli-darwin-arm64" "1.7.0" + "@biomejs/cli-darwin-x64" "1.7.0" + "@biomejs/cli-linux-arm64" "1.7.0" + "@biomejs/cli-linux-arm64-musl" "1.7.0" + "@biomejs/cli-linux-x64" "1.7.0" + "@biomejs/cli-linux-x64-musl" "1.7.0" + "@biomejs/cli-win32-arm64" "1.7.0" + "@biomejs/cli-win32-x64" "1.7.0" + +"@biomejs/cli-darwin-arm64@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.7.0.tgz#a247f1c4cf3f0366e1f0ccbfc8cb226f1237b354" + integrity sha512-12TaeaKHU4SAZt0fQJ2bYk1jUb4foope7LmgDE5p3c0uMxd3mFkg1k7G721T+K6UHYULcSOQDsNNM8DhYi8Irg== + +"@biomejs/cli-darwin-x64@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.7.0.tgz#ab4b3826ca76229e5e6cda468855c24efbc85dc5" + integrity sha512-6Qq1BSIB0cpp0cQNqO/+EiUV7FE3jMpF6w7+AgIBXp0oJxUWb2Ff0RDZdO9bfzkimXD58j0vGpNHMGnCcjDV2Q== + +"@biomejs/cli-linux-arm64-musl@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.7.0.tgz#8a479f3a1be968dc685b8c0e60e32521732e9867" + integrity sha512-pwIY80nU7SAxrVVZ6HD9ah1pruwh9ZqlSR0Nvbg4ZJqQa0POhiB+RJx7+/1Ml2mTZdrl8kb/YiwQpD16uwb5wg== + +"@biomejs/cli-linux-arm64@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.7.0.tgz#c1edaa4ddc071400bddec6cf180f9248958b66cb" + integrity sha512-GwSci7xBJ2j1CrdDXDUVXnUtrvypEz/xmiYPpFeVdlX5p95eXx+7FekPPbJfhGGw5WKSsKZ+V8AAlbN+kUwJWw== + +"@biomejs/cli-linux-x64-musl@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.7.0.tgz#ff37c3306d719120139cefd4ab2e10912c0414f2" + integrity sha512-KzCA0mW4LSbCd7XZWaEJvTOTTBjfJoVEXkfq1fsXxww1HB+ww5PGMbhbIcbYCsj2CTJUifeD5hOkyuBVppU1xQ== + +"@biomejs/cli-linux-x64@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.7.0.tgz#c2de603cbfeaa1db268b396adc280df1b540386f" + integrity sha512-1y+odKQsyHcw0JCGRuqhbx7Y6jxOVSh4lGIVDdJxW1b55yD22DY1kcMEfhUte6f95OIc2uqfkwtiI6xQAiZJdw== + +"@biomejs/cli-win32-arm64@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.7.0.tgz#feb48c1a8a3522083b4924f194b5febe06fd94fe" + integrity sha512-AvLDUYZBpOUFgS/mni4VruIoVV3uSGbKSkZQBPXsHgL0w4KttLll3NBrVanmWxOHsom6C6ocHLyfAY8HUc8TXg== + +"@biomejs/cli-win32-x64@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.7.0.tgz#cc95cde067bd692339e6b7b92d049c25c023c2b4" + integrity sha512-Pylm00BAAuLVb40IH9PC17432BTsY8K4pSUvhvgR1eaalnMaD6ug9SYJTTzKDbT6r24MPAGCTiSZERyhGkGzFQ== + "@cspotcode/source-map-support@^0.8.0": version "0.8.1" resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" From 04b4baaece802dd771ec93a2203e319126bbdc3e Mon Sep 17 00:00:00 2001 From: Daniel Barion Date: Mon, 29 Jul 2024 17:53:04 -0300 Subject: [PATCH 28/29] fix: duplicated button attributes and react import --- src/App.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 357ecca1..31f5095c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,8 +2,7 @@ /* eslint-disable jsx-a11y/click-events-have-key-events */ import { TooltipController as Tooltip } from 'components/TooltipController' import type { IPosition, TooltipRefProps } from 'components/Tooltip/TooltipTypes.d' -import type React from 'react' -import { useEffect, useRef, useState } from 'react' +import React, { useEffect, useRef, useState } from 'react' import { inline, offset } from '@floating-ui/dom' import styles from './styles.module.css' @@ -107,10 +106,10 @@ function App() { > Anchor select - -

From 194d96ddcd2f6b7712475d8e1e27936fb59a04d6 Mon Sep 17 00:00:00 2001 From: Daniel Barion Date: Mon, 29 Jul 2024 18:04:38 -0300 Subject: [PATCH 29/29] chore: update biome max diagnostics to 1k --- biome.json | 2 +- package.json | 6 +-- yarn.lock | 104 +++++++++++++++++++++++++-------------------------- 3 files changed, 56 insertions(+), 56 deletions(-) diff --git a/biome.json b/biome.json index a691a5a6..f0bfc6cd 100644 --- a/biome.json +++ b/biome.json @@ -5,7 +5,7 @@ }, "files": { "include": ["./src"], - "ignore": ["node_modules/**", "dist/**", "build/**", "coverage/**", "public/**", "docs/**"] + "ignore": ["node_modules/**", "dist/**", "build/**", "coverage/**", "public/**", "docs/**", "./src/App.tsx"] }, "linter": { "enabled": true, diff --git a/package.json b/package.json index 77b4428b..b58d8e47 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "bundlesize": "bundlesize", "esbuild": "esbuild", "test": "jest", - "biome:lint": "biome lint --apply ./src", - "biome:format": "biome format --write ./src", + "biome:lint": "biome lint --max-diagnostics 1000 --apply ./src", + "biome:format": "biome format --max-diagnostics 1000 --write ./src", "biome:pre-commit": "npm run biome:lint && npm run biome:format", "postbuild": "npm run types && npm run bundlesize", "prepublishOnly": "npm run build" @@ -52,7 +52,7 @@ }, "homepage": "https://github.com/ReactTooltip/react-tooltip#readme", "devDependencies": { - "@biomejs/biome": "^1.7.0", + "@biomejs/biome": "1.8.3", "@rollup/plugin-commonjs": "26.0.1", "@rollup/plugin-node-resolve": "15.2.3", "@rollup/plugin-replace": "5.0.7", diff --git a/yarn.lock b/yarn.lock index 73fe8758..0b8cfb30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -310,59 +310,59 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biomejs/biome@^1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.7.0.tgz#b12973c41b0a9c62374807b988cf984b20d85f44" - integrity sha512-mejiRhnAq6UrXtYvjWJUKdstcT58n0/FfKemFf3d2Ou0HxOdS88HQmWtQ/UgyZvOEPD572YbFTb6IheyROpqkw== +"@biomejs/biome@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.8.3.tgz#3b5eecea90d973f71618aae3e6e8be4d2ca23e42" + integrity sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w== optionalDependencies: - "@biomejs/cli-darwin-arm64" "1.7.0" - "@biomejs/cli-darwin-x64" "1.7.0" - "@biomejs/cli-linux-arm64" "1.7.0" - "@biomejs/cli-linux-arm64-musl" "1.7.0" - "@biomejs/cli-linux-x64" "1.7.0" - "@biomejs/cli-linux-x64-musl" "1.7.0" - "@biomejs/cli-win32-arm64" "1.7.0" - "@biomejs/cli-win32-x64" "1.7.0" - -"@biomejs/cli-darwin-arm64@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.7.0.tgz#a247f1c4cf3f0366e1f0ccbfc8cb226f1237b354" - integrity sha512-12TaeaKHU4SAZt0fQJ2bYk1jUb4foope7LmgDE5p3c0uMxd3mFkg1k7G721T+K6UHYULcSOQDsNNM8DhYi8Irg== - -"@biomejs/cli-darwin-x64@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.7.0.tgz#ab4b3826ca76229e5e6cda468855c24efbc85dc5" - integrity sha512-6Qq1BSIB0cpp0cQNqO/+EiUV7FE3jMpF6w7+AgIBXp0oJxUWb2Ff0RDZdO9bfzkimXD58j0vGpNHMGnCcjDV2Q== - -"@biomejs/cli-linux-arm64-musl@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.7.0.tgz#8a479f3a1be968dc685b8c0e60e32521732e9867" - integrity sha512-pwIY80nU7SAxrVVZ6HD9ah1pruwh9ZqlSR0Nvbg4ZJqQa0POhiB+RJx7+/1Ml2mTZdrl8kb/YiwQpD16uwb5wg== - -"@biomejs/cli-linux-arm64@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.7.0.tgz#c1edaa4ddc071400bddec6cf180f9248958b66cb" - integrity sha512-GwSci7xBJ2j1CrdDXDUVXnUtrvypEz/xmiYPpFeVdlX5p95eXx+7FekPPbJfhGGw5WKSsKZ+V8AAlbN+kUwJWw== - -"@biomejs/cli-linux-x64-musl@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.7.0.tgz#ff37c3306d719120139cefd4ab2e10912c0414f2" - integrity sha512-KzCA0mW4LSbCd7XZWaEJvTOTTBjfJoVEXkfq1fsXxww1HB+ww5PGMbhbIcbYCsj2CTJUifeD5hOkyuBVppU1xQ== - -"@biomejs/cli-linux-x64@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.7.0.tgz#c2de603cbfeaa1db268b396adc280df1b540386f" - integrity sha512-1y+odKQsyHcw0JCGRuqhbx7Y6jxOVSh4lGIVDdJxW1b55yD22DY1kcMEfhUte6f95OIc2uqfkwtiI6xQAiZJdw== - -"@biomejs/cli-win32-arm64@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.7.0.tgz#feb48c1a8a3522083b4924f194b5febe06fd94fe" - integrity sha512-AvLDUYZBpOUFgS/mni4VruIoVV3uSGbKSkZQBPXsHgL0w4KttLll3NBrVanmWxOHsom6C6ocHLyfAY8HUc8TXg== - -"@biomejs/cli-win32-x64@1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.7.0.tgz#cc95cde067bd692339e6b7b92d049c25c023c2b4" - integrity sha512-Pylm00BAAuLVb40IH9PC17432BTsY8K4pSUvhvgR1eaalnMaD6ug9SYJTTzKDbT6r24MPAGCTiSZERyhGkGzFQ== + "@biomejs/cli-darwin-arm64" "1.8.3" + "@biomejs/cli-darwin-x64" "1.8.3" + "@biomejs/cli-linux-arm64" "1.8.3" + "@biomejs/cli-linux-arm64-musl" "1.8.3" + "@biomejs/cli-linux-x64" "1.8.3" + "@biomejs/cli-linux-x64-musl" "1.8.3" + "@biomejs/cli-win32-arm64" "1.8.3" + "@biomejs/cli-win32-x64" "1.8.3" + +"@biomejs/cli-darwin-arm64@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.8.3.tgz#be2bfdd445cd2d3cb0ff41a96a72ec761753997c" + integrity sha512-9DYOjclFpKrH/m1Oz75SSExR8VKvNSSsLnVIqdnKexj6NwmiMlKk94Wa1kZEdv6MCOHGHgyyoV57Cw8WzL5n3A== + +"@biomejs/cli-darwin-x64@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.8.3.tgz#47d408edd9f5c04069fbcf8610bacf1db8c6c0d9" + integrity sha512-UeW44L/AtbmOF7KXLCoM+9PSgPo0IDcyEUfIoOXYeANaNXXf9mLUwV1GeF2OWjyic5zj6CnAJ9uzk2LT3v/wAw== + +"@biomejs/cli-linux-arm64-musl@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.8.3.tgz#44df284383d57cf4f28daeedd080dad7be05df78" + integrity sha512-9yjUfOFN7wrYsXt/T/gEWfvVxKlnh3yBpnScw98IF+oOeCYb5/b/+K7YNqKROV2i1DlMjg9g/EcN9wvj+NkMuQ== + +"@biomejs/cli-linux-arm64@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.8.3.tgz#6a6b1da1dfce0294a028cbb5d6c40d73691dd713" + integrity sha512-fed2ji8s+I/m8upWpTJGanqiJ0rnlHOK3DdxsyVLZQ8ClY6qLuPc9uehCREBifRJLl/iJyQpHIRufLDeotsPtw== + +"@biomejs/cli-linux-x64-musl@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.8.3.tgz#ceef30a8ee1a00d4ad31e32dd31ba2a661f2719d" + integrity sha512-UHrGJX7PrKMKzPGoEsooKC9jXJMa28TUSMjcIlbDnIO4EAavCoVmNQaIuUSH0Ls2mpGMwUIf+aZJv657zfWWjA== + +"@biomejs/cli-linux-x64@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.8.3.tgz#665df74d19fb8f83001a9d80824d3a1723e2123f" + integrity sha512-I8G2QmuE1teISyT8ie1HXsjFRz9L1m5n83U1O6m30Kw+kPMPSKjag6QGUn+sXT8V+XWIZxFFBoTDEDZW2KPDDw== + +"@biomejs/cli-win32-arm64@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.8.3.tgz#0fb6f58990f4de0331a6ed22c47c66f5a89133cc" + integrity sha512-J+Hu9WvrBevfy06eU1Na0lpc7uR9tibm9maHynLIoAjLZpQU3IW+OKHUtyL8p6/3pT2Ju5t5emReeIS2SAxhkQ== + +"@biomejs/cli-win32-x64@1.8.3": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.8.3.tgz#6a9dc5a4e13357277da43c015cd5cdc374035448" + integrity sha512-/PJ59vA1pnQeKahemaQf4Nyj7IKUvGQSc3Ze1uIGi+Wvr1xF7rGobSrAAG01T/gUDG21vkDsZYM03NAmPiVkqg== "@cspotcode/source-map-support@^0.8.0": version "0.8.1"