From 9713f255beb615ab44c52f09cbf299def124324a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 1 Sep 2021 16:10:06 +0200 Subject: [PATCH 001/493] docs: update documentation --- src/docs/components/CodeBlock.tsx | 3 +-- src/docs/components/Header.tsx | 5 ++++- src/docs/components/Sidebar.tsx | 5 ++++- src/docs/templates/Docs.tsx | 13 ++++++++++--- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/src/docs/components/CodeBlock.tsx b/src/docs/components/CodeBlock.tsx index f7a5960f..0b054304 100644 --- a/src/docs/components/CodeBlock.tsx +++ b/src/docs/components/CodeBlock.tsx @@ -7,11 +7,10 @@ const CodeBlock: FC = ({ children }) => { const language = children.props.className ? children.props.className.replace(/language-/, '') : 'jsx' - // const language = 'jsx' return (
- + {({ className, style, tokens, getLineProps, getTokenProps }) => (
             {tokens.map((line, i) => (
diff --git a/src/docs/components/Header.tsx b/src/docs/components/Header.tsx
index 03d436f0..3ededba0 100644
--- a/src/docs/components/Header.tsx
+++ b/src/docs/components/Header.tsx
@@ -12,7 +12,10 @@ const Header: FC = ({ ...props }) => {
     
       {(context) => (
         
-           context.toggleSidebar()}>
+           context.setSidebarVisible(!context.sidebarVisible)}
+          >
             
           
           
diff --git a/src/docs/components/Sidebar.tsx b/src/docs/components/Sidebar.tsx
index 8f09be6a..8bf1ec19 100644
--- a/src/docs/components/Sidebar.tsx
+++ b/src/docs/components/Sidebar.tsx
@@ -7,6 +7,7 @@ import { SidebarNav } from '.'
 import { myContext } from './../templates/Docs'
 
 import items from './../nav'
+// @ts-expect-error svg file
 import logo from './../assets/coreui-react.svg'
 
 interface SidebarProps {
@@ -20,9 +21,11 @@ const Sidebar: FC = ({ ...props }) => {
          context.setSidebarVisible(value)}
         >
           
             
diff --git a/src/docs/templates/Docs.tsx b/src/docs/templates/Docs.tsx
index 43f1e82d..2a33d7aa 100644
--- a/src/docs/templates/Docs.tsx
+++ b/src/docs/templates/Docs.tsx
@@ -8,9 +8,15 @@ import { CodeBlock, Example, Footer, Header, Seo, Sidebar, Toc } from './../comp
 import { CCol, CContainer, CRow } from '../../index'
 import './../styles/styles.scss'
 
-export const myContext = React.createContext()
+interface ContextProps {
+  sidebarVisible: boolean | undefined
+  setSidebarVisible: React.Dispatch>
+}
+
+export const myContext = React.createContext({} as ContextProps)
 
 const components = {
+  // eslint-disable-next-line react/display-name
   pre: (props) => ,
   // eslint-disable-next-line react/display-name
   table: (props) => ,
@@ -18,7 +24,7 @@ const components = {
 }
 
 const DocsLayout: FC = ({ data: { mdx } }) => {
-  const [sidebarVisible, setSidebarVisible] = useState()
+  const [sidebarVisible, setSidebarVisible] = useState(true)
   return (
     <>
       
@@ -28,7 +34,8 @@ const DocsLayout: FC = ({ data: { mdx } }) => {
        setSidebarVisible(!sidebarVisible),
+          setSidebarVisible,
+          // toggleSidebar: () => setSidebarVisible(!sidebarVisible),
         }}
       >
         

From 635de93640fff63c1cf82eaed0cc527a1a74dcfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= 
Date: Wed, 1 Sep 2021 16:13:15 +0200
Subject: [PATCH 002/493] fix(CImage): update interface

---
 src/components/image/CImage.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/image/CImage.tsx b/src/components/image/CImage.tsx
index e473a399..75627a5b 100644
--- a/src/components/image/CImage.tsx
+++ b/src/components/image/CImage.tsx
@@ -1,8 +1,8 @@
-import React, { forwardRef, HTMLAttributes } from 'react'
+import React, { forwardRef, ImgHTMLAttributes } from 'react'
 import PropTypes from 'prop-types'
 import classNames from 'classnames'
 
-export interface CImageProps extends HTMLAttributes {
+export interface CImageProps extends ImgHTMLAttributes {
   /**
    * Set the horizontal aligment.
    */

From e818a28ce4006661f46fcab98b42a88fa894646d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= 
Date: Wed, 1 Sep 2021 17:41:53 +0200
Subject: [PATCH 003/493] feat(CToast): add animations

---
 docs/4.0/components/toast.mdx     | 28 ++++++-------
 src/components/toast/CToast.tsx   | 70 +++++++++++++++++++++----------
 src/components/toast/CToaster.tsx |  2 +-
 3 files changed, 63 insertions(+), 37 deletions(-)

diff --git a/docs/4.0/components/toast.mdx b/docs/4.0/components/toast.mdx
index fa8f19a1..a43430ca 100644
--- a/docs/4.0/components/toast.mdx
+++ b/docs/4.0/components/toast.mdx
@@ -35,7 +35,7 @@ To encourage extensible and predictable toasts, we recommend a header and body.
 Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your "toasted" content and strongly encourage a dismiss button.
 
 
-  
+  
     
       
 
 ```jsx
-
+
   
     
-  
+  
     
       
 
 ```jsx
-
+
   
     
   
-    
+    
       
         
       Hello, world! This is a toast message.
     
-    
+    
       
         
-  
+  
     
       
     Hello, world! This is a toast message.
   
-  
+  
     
       `, adding a custom hide icon from [CoreUI Icons](https://icons.coreui.io), and using some [flexbox utilities](https://coreui.io/docs/4.0/utilities/flex) to adjust the layout.
 
 
-  
+  
     
Hello, world! This is a toast message. @@ -288,7 +288,7 @@ Customize your toasts by removing sub-components, tweaking them with [utilities] ```jsx - +
Hello, world! This is a toast message. @@ -299,7 +299,7 @@ Customize your toasts by removing sub-components, tweaking them with [utilities] Alternatively, you can also add additional controls and components to toasts. - + Hello, world! This is a toast message.
@@ -315,7 +315,7 @@ Alternatively, you can also add additional controls and components to toasts. ```jsx - + Hello, world! This is a toast message.
@@ -335,7 +335,7 @@ Alternatively, you can also add additional controls and components to toasts. Building on the above example, you can create different toast color schemes with our [color](https://coreui.io/docs/4.0/utilities/colors) and [background](https://coreui.io/docs/4.0//utilities/background) utilities. Here we've set `color="primary"` and added `.text-white` class to the ``, and then set `white` property to our close button. For a crisp edge, we remove the default border with `.border-0`. - +
Hello, world! This is a toast message. @@ -344,7 +344,7 @@ Building on the above example, you can create different toast color schemes with ```jsx - +
Hello, world! This is a toast message. diff --git a/src/components/toast/CToast.tsx b/src/components/toast/CToast.tsx index 6c786c0b..b9eb805e 100644 --- a/src/components/toast/CToast.tsx +++ b/src/components/toast/CToast.tsx @@ -13,6 +13,12 @@ import classNames from 'classnames' import { Colors, colorPropType } from '../Types' export interface CToastProps extends Omit, 'title'> { + /** + * Apply a CSS fade transition to the toast. [docs] + * + * @default true + */ + animation?: boolean /** * Auto hide the toast. [docs] * @@ -43,8 +49,6 @@ export interface CToastProps extends Omit, 'title key?: number /** * Toggle the visibility of component. [docs] - * - * @default true */ visible?: boolean /** @@ -64,21 +68,26 @@ export const CToast = forwardRef( ( { children, + animation = true, autohide = true, className, color, delay = 5000, index, key, - visible = true, + visible = false, onDismiss, ...rest }, ref, ) => { - const [_visible, setVisible] = useState(visible) + const [_visible, setVisible] = useState(false) const timeout = useRef() + useEffect(() => { + setVisible(visible) + }, [visible]) + const contextValues = { visible: _visible, setVisible, @@ -101,42 +110,59 @@ export const CToast = forwardRef( } const _className = classNames( - 'toast fade', + 'toast', { - show: _visible, + fade: animation, [`bg-${color}`]: color, 'border-0': color, }, className, ) + + const getTransitionClass = (state: string) => { + return state === 'entering' + ? 'showing' + : state === 'entered' + ? 'show' + : state === 'exiting' + ? 'showing' + : 'fade' + } + return ( onDismiss && onDismiss(index ? index : null)} + onExited={() => onDismiss && onDismiss(index ? index : null)} unmountOnExit > - -
clearTimeout(timeout.current)} - onMouseLeave={() => _autohide} - {...rest} - key={key} - ref={ref} - > - {children} -
-
+ {(state) => { + const transitionClass = getTransitionClass(state) + return ( + +
clearTimeout(timeout.current)} + onMouseLeave={() => _autohide} + {...rest} + key={key} + ref={ref} + > + {children} +
+
+ ) + }}
) }, ) CToast.propTypes = { + animation: PropTypes.bool, autohide: PropTypes.bool, children: PropTypes.node, className: PropTypes.string, diff --git a/src/components/toast/CToaster.tsx b/src/components/toast/CToaster.tsx index 0fb290c7..441d456c 100644 --- a/src/components/toast/CToaster.tsx +++ b/src/components/toast/CToaster.tsx @@ -69,7 +69,7 @@ export const CToaster = forwardRef( return toasts.length > 0 || children ? (
{children} - {toasts.map((toast) => toast)} + {toasts.map((toast) => React.cloneElement(toast, { visible: true }))}
) : null } From 48c18a9269d9f8c6c41f442421a37dbe91f2f044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 1 Sep 2021 22:05:20 +0200 Subject: [PATCH 004/493] fix(CTable): add proper interface to td i th --- src/components/table/CTable.tsx | 4 ++-- src/components/table/CTableDataCell.tsx | 5 +++-- src/components/table/CTableHeaderCell.tsx | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/table/CTable.tsx b/src/components/table/CTable.tsx index b68b61ee..bd5555c7 100644 --- a/src/components/table/CTable.tsx +++ b/src/components/table/CTable.tsx @@ -1,10 +1,10 @@ -import React, { forwardRef, HTMLAttributes } from 'react' +import React, { forwardRef, TableHTMLAttributes } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import { Colors, colorPropType } from '../Types' -export interface CTableProps extends HTMLAttributes { +export interface CTableProps extends TableHTMLAttributes { /** * Set the vertical aligment. [docs] */ diff --git a/src/components/table/CTableDataCell.tsx b/src/components/table/CTableDataCell.tsx index 0d6fdac2..6648ddeb 100644 --- a/src/components/table/CTableDataCell.tsx +++ b/src/components/table/CTableDataCell.tsx @@ -1,10 +1,11 @@ -import React, { forwardRef, HTMLAttributes } from 'react' +import React, { forwardRef, TdHTMLAttributes } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import { Colors, colorPropType } from '../Types' -export interface CTableDataCellProps extends HTMLAttributes { +export interface CTableDataCellProps + extends Omit, 'align'> { /** * Highlight a table row or cell. [docs] */ diff --git a/src/components/table/CTableHeaderCell.tsx b/src/components/table/CTableHeaderCell.tsx index 601871a6..a601e33d 100644 --- a/src/components/table/CTableHeaderCell.tsx +++ b/src/components/table/CTableHeaderCell.tsx @@ -1,10 +1,10 @@ -import React, { forwardRef, HTMLAttributes } from 'react' +import React, { forwardRef, ThHTMLAttributes } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import { Colors, colorPropType } from '../Types' -export interface CTableHeaderCellProps extends HTMLAttributes { +export interface CTableHeaderCellProps extends ThHTMLAttributes { /** * A string of all className you want applied to the component. [docs] */ From 357772a1237e450e0fb0fbfcd7560cbf484dda98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Mon, 13 Sep 2021 12:44:27 +0200 Subject: [PATCH 005/493] docs(CToast): update docs --- docs/4.0/components/toast.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/4.0/components/toast.mdx b/docs/4.0/components/toast.mdx index a43430ca..c25a1fe0 100644 --- a/docs/4.0/components/toast.mdx +++ b/docs/4.0/components/toast.mdx @@ -35,7 +35,7 @@ To encourage extensible and predictable toasts, we recommend a header and body. Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your "toasted" content and strongly encourage a dismiss button. - + Date: Mon, 13 Sep 2021 13:01:10 +0200 Subject: [PATCH 006/493] feat(CPagination): add `align` property to set the alignment of component --- docs/4.0/components/pagination.mdx | 8 ++++---- src/components/pagination/CPagination.tsx | 16 ++++++++++++++-- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/4.0/components/pagination.mdx b/docs/4.0/components/pagination.mdx index 22e06699..cafe11e5 100644 --- a/docs/4.0/components/pagination.mdx +++ b/docs/4.0/components/pagination.mdx @@ -150,7 +150,7 @@ Fancy larger or smaller pagination? Add `size="lg"` or `size="sm"` for additiona Change the alignment of pagination components with [flexbox utilities](https://coreui.io/docs/utilities/flex/). - + Previous 1 2 @@ -160,7 +160,7 @@ Change the alignment of pagination components with [flexbox utilities](https://c ```jsx - + Previous 1 2 @@ -170,7 +170,7 @@ Change the alignment of pagination components with [flexbox utilities](https://c ``` - + Previous 1 2 @@ -180,7 +180,7 @@ Change the alignment of pagination components with [flexbox utilities](https://c ```jsx - + Previous 1 2 diff --git a/src/components/pagination/CPagination.tsx b/src/components/pagination/CPagination.tsx index 4a4a393e..14cd950b 100644 --- a/src/components/pagination/CPagination.tsx +++ b/src/components/pagination/CPagination.tsx @@ -3,6 +3,10 @@ import PropTypes from 'prop-types' import classNames from 'classnames' export interface CPaginationProps extends HTMLAttributes { + /** + * Set the alignment of pagination components. [docs] + */ + align?: 'start' | 'center' | 'end' /** * A string of all className you want applied to the base component. [docs] */ @@ -14,8 +18,15 @@ export interface CPaginationProps extends HTMLAttributes { } export const CPagination = forwardRef( - ({ children, className, size, ...rest }, ref) => { - const _className = classNames('pagination', { [`pagination-${size}`]: size }, className) + ({ children, align, className, size, ...rest }, ref) => { + const _className = classNames( + 'pagination', + { + [`justify-content-${align}`]: align, + [`pagination-${size}`]: size, + }, + className, + ) return (
    {children}
@@ -25,6 +36,7 @@ export const CPagination = forwardRef( ) CPagination.propTypes = { + align: PropTypes.oneOf(['start', 'center', 'end']), children: PropTypes.node, className: PropTypes.string, size: PropTypes.oneOf(['sm', 'lg']), From 0f3a09871f0722ab8a7bb43c1899d5fb55b81350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Mon, 13 Sep 2021 17:23:07 +0200 Subject: [PATCH 007/493] docs: replace `text-muted` className with `text-medium-emphasis` --- docs/4.0/api/CPagination.api.mdx | 1 + docs/4.0/api/CSidebar.api.mdx | 7 ++- docs/4.0/api/CToast.api.mdx | 3 +- docs/4.0/components/card.mdx | 88 +++++++++++++++--------------- docs/4.0/components/dropdown.mdx | 4 +- docs/4.0/components/list-group.mdx | 16 +++--- docs/4.0/components/modal.mdx | 2 +- docs/4.0/layout/containers.mdx | 44 +++++++-------- 8 files changed, 84 insertions(+), 81 deletions(-) diff --git a/docs/4.0/api/CPagination.api.mdx b/docs/4.0/api/CPagination.api.mdx index a2439f85..2c68c3c1 100644 --- a/docs/4.0/api/CPagination.api.mdx +++ b/docs/4.0/api/CPagination.api.mdx @@ -1,4 +1,5 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | +| **align** | Set the alignment of pagination components. | `"start" | "center" | "end"` | - | | **className** | A string of all className you want applied to the base component. | `string` | - | | **size** | Size the component small or large. | `"sm" | "lg"` | - | diff --git a/docs/4.0/api/CSidebar.api.mdx b/docs/4.0/api/CSidebar.api.mdx index 18613197..915c0afe 100644 --- a/docs/4.0/api/CSidebar.api.mdx +++ b/docs/4.0/api/CSidebar.api.mdx @@ -1,12 +1,13 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the component. | `string` | - | +| **hideBelow** | - | `number | boolean | Breakpoints` | - | +| **hideOnMobile** | Toggle the visibility of sidebar component. | `boolean` | true | | **narrow** | Make sidebar narrow. | `boolean` | - | -| **onHide** | Method called before the hide animation has started. | `() => void` | - | -| **onShow** | Method called before the show animation has started. | `() => void` | - | +| **onVisibleChange** | Method called before the show animation has started. | `(visible: boolean) => void` | - | | **overlaid** | Set sidebar to narrow variant. | `boolean` | - | | **position** | Place sidebar in non-static positions. | `"fixed" | "sticky"` | - | | **selfHiding** | Make any sidebar self hiding across all viewports or pick a maximum breakpoint with which to have a self hiding up to. | `boolean | Breakpoints` | - | | **size** | Size the component small, large, or extra large. | `"sm" | "lg" | "xl"` | - | | **unfoldable** | Expand narrowed sidebar on hover. | `boolean` | - | -| **visible** | Toggle the visibility of sidebar component. | `boolean` | - | +| **visible** | Toggle the visibility of sidebar component. | `boolean` | true | diff --git a/docs/4.0/api/CToast.api.mdx b/docs/4.0/api/CToast.api.mdx index d83405dc..cc4e32d1 100644 --- a/docs/4.0/api/CToast.api.mdx +++ b/docs/4.0/api/CToast.api.mdx @@ -1,8 +1,9 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | +| **animation** | Apply a CSS fade transition to the toast. | `boolean` | true | | **autohide** | Auto hide the toast. | `boolean` | true | | **className** | A string of all className you want applied to the base component. | `string` | - | | **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string` | - | | **delay** | Delay hiding the toast (ms). | `number` | 5000 | | **onDismiss** | Method called before the dissmiss animation has started. | `(index: number) => void` | - | -| **visible** | Toggle the visibility of component. | `boolean` | true | +| **visible** | Toggle the visibility of component. | `boolean` | false | diff --git a/docs/4.0/components/card.mdx b/docs/4.0/components/card.mdx index 3282b250..d3b09583 100644 --- a/docs/4.0/components/card.mdx +++ b/docs/4.0/components/card.mdx @@ -99,7 +99,7 @@ Subtitles are managed by `` component. If the `` also Card title - Card subtitle + Card subtitle Some quick example text to build on the card title and make up the bulk of the card's content. @@ -114,7 +114,7 @@ Subtitles are managed by `` component. If the `` also Card title - Card subtitle + Card subtitle Some quick example text to build on the card title and make up the bulk of the card's content. @@ -352,7 +352,7 @@ Card headers can be styled by adding ex. `component="h5"`. With supporting text below as a natural lead-in to additional content. Go somewhere - 2 days ago + 2 days ago
@@ -364,7 +364,7 @@ Card headers can be styled by adding ex. `component="h5"`. With supporting text below as a natural lead-in to additional content. Go somewhere - 2 days ago + 2 days ago ``` @@ -674,7 +674,7 @@ Similar to headers and footers, cards can include top and bottom "image caps"— This content is a little bit longer. - Last updated 3 mins ago + Last updated 3 mins ago @@ -686,7 +686,7 @@ Similar to headers and footers, cards can include top and bottom "image caps"— This content is a little bit longer. - Last updated 3 mins ago + Last updated 3 mins ago @@ -699,14 +699,14 @@ Similar to headers and footers, cards can include top and bottom "image caps"— Card title This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. - Last updated 3 mins ago + Last updated 3 mins ago Card title This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. - Last updated 3 mins ago + Last updated 3 mins ago @@ -762,7 +762,7 @@ Using a combination of grid and utility classes, cards can be made horizontal in content. This content is a little bit longer. - Last updated 3 mins ago + Last updated 3 mins ago @@ -784,7 +784,7 @@ Using a combination of grid and utility classes, cards can be made horizontal in content. This content is a little bit longer. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1023,7 +1023,7 @@ Use card groups to render cards as a single, attached element with equal width a content. This content is a little bit longer. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1035,7 +1035,7 @@ Use card groups to render cards as a single, attached element with equal width a This card has supporting text below as a natural lead-in to additional content. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1049,7 +1049,7 @@ Use card groups to render cards as a single, attached element with equal width a action. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1067,7 +1067,7 @@ Use card groups to render cards as a single, attached element with equal width a This content is a little bit longer. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1079,7 +1079,7 @@ Use card groups to render cards as a single, attached element with equal width a This card has supporting text below as a natural lead-in to additional content. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1092,7 +1092,7 @@ Use card groups to render cards as a single, attached element with equal width a This card has even longer content than the first to show that equal height action. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1113,7 +1113,7 @@ When using card groups with footers, their content will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1125,7 +1125,7 @@ When using card groups with footers, their content will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1139,7 +1139,7 @@ When using card groups with footers, their content will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1157,7 +1157,7 @@ When using card groups with footers, their content will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1169,7 +1169,7 @@ When using card groups with footers, their content will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1182,7 +1182,7 @@ When using card groups with footers, their content will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1205,7 +1205,7 @@ Use the `CRow` component and set `xs|sm|md|lg|xl|xxl}={{ cols: * }}` property to - Last updated 3 mins ago + Last updated 3 mins ago @@ -1220,7 +1220,7 @@ Use the `CRow` component and set `xs|sm|md|lg|xl|xxl}={{ cols: * }}` property to - Last updated 3 mins ago + Last updated 3 mins ago @@ -1235,7 +1235,7 @@ Use the `CRow` component and set `xs|sm|md|lg|xl|xxl}={{ cols: * }}` property to - Last updated 3 mins ago + Last updated 3 mins ago @@ -1250,7 +1250,7 @@ Use the `CRow` component and set `xs|sm|md|lg|xl|xxl}={{ cols: * }}` property to - Last updated 3 mins ago + Last updated 3 mins ago @@ -1270,7 +1270,7 @@ Use the `CRow` component and set `xs|sm|md|lg|xl|xxl}={{ cols: * }}` property to - Last updated 3 mins ago + Last updated 3 mins ago @@ -1285,7 +1285,7 @@ Use the `CRow` component and set `xs|sm|md|lg|xl|xxl}={{ cols: * }}` property to - Last updated 3 mins ago + Last updated 3 mins ago @@ -1300,7 +1300,7 @@ Use the `CRow` component and set `xs|sm|md|lg|xl|xxl}={{ cols: * }}` property to - Last updated 3 mins ago + Last updated 3 mins ago @@ -1315,7 +1315,7 @@ Use the `CRow` component and set `xs|sm|md|lg|xl|xxl}={{ cols: * }}` property to - Last updated 3 mins ago + Last updated 3 mins ago @@ -1337,7 +1337,7 @@ Change it to `md={{ cols: 3}}` and you'll see the fourth card wrap. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1352,7 +1352,7 @@ Change it to `md={{ cols: 3}}` and you'll see the fourth card wrap. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1367,7 +1367,7 @@ Change it to `md={{ cols: 3}}` and you'll see the fourth card wrap. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1382,7 +1382,7 @@ Change it to `md={{ cols: 3}}` and you'll see the fourth card wrap. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1402,7 +1402,7 @@ Change it to `md={{ cols: 3}}` and you'll see the fourth card wrap. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1417,7 +1417,7 @@ Change it to `md={{ cols: 3}}` and you'll see the fourth card wrap. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1432,7 +1432,7 @@ Change it to `md={{ cols: 3}}` and you'll see the fourth card wrap. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1447,7 +1447,7 @@ Change it to `md={{ cols: 3}}` and you'll see the fourth card wrap. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1577,7 +1577,7 @@ Just like with card groups, card footers will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1591,7 +1591,7 @@ Just like with card groups, card footers will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1607,7 +1607,7 @@ Just like with card groups, card footers will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1627,7 +1627,7 @@ Just like with card groups, card footers will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1641,7 +1641,7 @@ Just like with card groups, card footers will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago @@ -1657,7 +1657,7 @@ Just like with card groups, card footers will automatically line up. - Last updated 3 mins ago + Last updated 3 mins ago diff --git a/docs/4.0/components/dropdown.mdx b/docs/4.0/components/dropdown.mdx index 441f0977..b443271b 100644 --- a/docs/4.0/components/dropdown.mdx +++ b/docs/4.0/components/dropdown.mdx @@ -788,14 +788,14 @@ In the following example we use `div` instead of `` to show ` -
+

Some example text that's free-flowing within the dropdown menu.

And this is more example text.

```jsx -
+

Some example text that's free-flowing within the dropdown menu.

And this is more example text.

diff --git a/docs/4.0/components/list-group.mdx b/docs/4.0/components/list-group.mdx index 3fba6575..0ef98c1a 100644 --- a/docs/4.0/components/list-group.mdx +++ b/docs/4.0/components/list-group.mdx @@ -353,24 +353,24 @@ Add nearly any HTML within, even for linked list groups like the one below, with
List group item heading
- 3 days ago + 3 days ago

Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.

- Donec id elit non mi porta. + Donec id elit non mi porta.
List group item heading
- 3 days ago + 3 days ago

Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.

- Donec id elit non mi porta. + Donec id elit non mi porta.
@@ -390,22 +390,22 @@ Add nearly any HTML within, even for linked list groups like the one below, with
List group item heading
- 3 days ago + 3 days ago

Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.

- Donec id elit non mi porta. + Donec id elit non mi porta.
List group item heading
- 3 days ago + 3 days ago

Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.

- Donec id elit non mi porta. + Donec id elit non mi porta.
``` diff --git a/docs/4.0/components/modal.mdx b/docs/4.0/components/modal.mdx index b5a44d3d..e3b33ee2 100644 --- a/docs/4.0/components/modal.mdx +++ b/docs/4.0/components/modal.mdx @@ -841,7 +841,7 @@ Modals have three optional sizes, available via modifier classes to be placed on
- + diff --git a/docs/4.0/layout/containers.mdx b/docs/4.0/layout/containers.mdx index c24312fe..57743d64 100644 --- a/docs/4.0/layout/containers.mdx +++ b/docs/4.0/layout/containers.mdx @@ -53,7 +53,7 @@ The table below illustrates how each container's `max-width` compares to the ori - + @@ -62,7 +62,7 @@ The table below illustrates how each container's `max-width` compares to the ori - + @@ -71,8 +71,8 @@ The table below illustrates how each container's `max-width` compares to the ori - - + + @@ -80,39 +80,39 @@ The table below illustrates how each container's `max-width` compares to the ori - - - + + + - - - - + + + + - - - - - + + + + + - - - - - - + + + + + +
DefaultNoneNone 500px
<CContainer>100%100% 540px 720px 960px
<CContainer sm>100%100% 540px 720px 960px
<CContainer md>100%100%100%100% 720px 960px 1140px
<CContainer lg>100%100%100%100%100%100% 960px 1140px 1320px
<CContainer xl>100%100%100%100%100%100%100%100% 1140px 1320px
<CContainer xxl>100%100%100%100%100%100%100%100%100%100% 1320px
<CContainer fluid>100%100%100%100%100%100%100%100%100%100%100%100%
From 135a6ba867f2bca64ba563dea69ccf02b648f916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 14 Sep 2021 01:15:07 +0200 Subject: [PATCH 008/493] refactor(accordion): update behavior of component --- docs/4.0/api/CAccordion.api.mdx | 2 + docs/4.0/api/CAccordionButton.api.mdx | 1 - docs/4.0/api/CAccordionItem.api.mdx | 1 + docs/4.0/components/accordion.mdx | 452 +++++++++--------- src/components/accordion/CAccordion.tsx | 27 +- src/components/accordion/CAccordionBody.tsx | 14 +- src/components/accordion/CAccordionButton.tsx | 23 +- src/components/accordion/CAccordionHeader.tsx | 4 +- src/components/accordion/CAccordionItem.tsx | 43 +- src/components/sidebar/CSidebar.tsx | 102 +++- 10 files changed, 415 insertions(+), 254 deletions(-) diff --git a/docs/4.0/api/CAccordion.api.mdx b/docs/4.0/api/CAccordion.api.mdx index 21e9cd26..df3f33e8 100644 --- a/docs/4.0/api/CAccordion.api.mdx +++ b/docs/4.0/api/CAccordion.api.mdx @@ -1,4 +1,6 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | +| **activeItemKey** | The active item key. | `string | number` | undefined | +| **alwaysOpen** | Make accordion items stay open when another item is opened | `boolean` | false | | **className** | A string of all className you want applied to the base component. | `string` | - | | **flush** | Removes the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. | `boolean` | - | diff --git a/docs/4.0/api/CAccordionButton.api.mdx b/docs/4.0/api/CAccordionButton.api.mdx index 3dc5e287..5ca3197a 100644 --- a/docs/4.0/api/CAccordionButton.api.mdx +++ b/docs/4.0/api/CAccordionButton.api.mdx @@ -1,4 +1,3 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | -| **collapsed** | Set button state to collapsed. | `boolean` | - | diff --git a/docs/4.0/api/CAccordionItem.api.mdx b/docs/4.0/api/CAccordionItem.api.mdx index 5ca3197a..e6aeb8b1 100644 --- a/docs/4.0/api/CAccordionItem.api.mdx +++ b/docs/4.0/api/CAccordionItem.api.mdx @@ -1,3 +1,4 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | +| **itemKey** | Item key. | `string | number` | - | diff --git a/docs/4.0/components/accordion.mdx b/docs/4.0/components/accordion.mdx index cb4bb4e5..10484297 100644 --- a/docs/4.0/components/accordion.mdx +++ b/docs/4.0/components/accordion.mdx @@ -22,252 +22,281 @@ import { Click the accordions below to expand/collapse the accordion content. -export const AccordionExample = () => { - const [activeKey, setActiveKey] = useState(0) - return ( - - - - activeKey === 1 ? setActiveKey(0) : setActiveKey(1)}> - Accordion Item #1 - - - - - This is the first item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - - activeKey === 2 ? setActiveKey(0) : setActiveKey(2)}> - Accordion Item #2 - - - - - This is the second item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - - activeKey === 3 ? setActiveKey(0) : setActiveKey(3)}> - Accordion Item #3 - - - - - This is the third item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - ) -} + + + + + Accordion Item #1 + + + This is the first item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + Accordion Item #2 + + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + Accordion Item #3 + + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + +```jsx + + + + Accordion Item #1 + + + This is the first item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + Accordion Item #2 + + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + Accordion Item #3 + + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + +``` + +### Flush + +Add `flush` to remove the default `background-color`, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. - + + + + Accordion Item #1 + + + This is the first item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + Accordion Item #2 + + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + Accordion Item #3 + + + This is the third item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + ```jsx const [activeKey, setActiveKey] = useState(0) return ( - - + + - activeKey === 1 ? setActiveKey(0) : setActiveKey(1)}> - Accordion Item #1 - + Accordion Item #1 - - - This is the first item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - + + This is the first item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + - + - activeKey === 2 ? setActiveKey(0) : setActiveKey(2)}> - Accordion Item #2 - + Accordion Item #2 - - - This is the second item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + - + - activeKey === 3 ? setActiveKey(0) : setActiveKey(3)}> - Accordion Item #3 - + Accordion Item #3 - - - This is the third item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - + + This is the third item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + ) ``` -### Flush +### Always open -Add `flush` to remove the default `background-color`, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. +Add `alwaysOpen` property to make accordion items stay open when another item is opened. - + + + + Accordion Item #1 + + + This is the first item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + Accordion Item #2 + + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + + + Accordion Item #3 + + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + + + -export const AccordionFlushExample = () => { - const [activeKey, setActiveKey] = useState(0) - return ( - - - - activeKey === 1 ? setActiveKey(0) : setActiveKey(1)}> - Accordion Item #1 - - - - - This is the first item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - - activeKey === 2 ? setActiveKey(0) : setActiveKey(2)}> - Accordion Item #2 - - - - - This is the second item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - - activeKey === 3 ? setActiveKey(0) : setActiveKey(3)}> - Accordion Item #3 - - - - - This is the third item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - ) -} - ```jsx -const [activeKey, setActiveKey] = useState(0) -return ( - - + + + - activeKey === 1 ? setActiveKey(0) : setActiveKey(1)}> - Accordion Item #1 - + Accordion Item #1 - - - This is the first item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - + + This is the first item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + - + - activeKey === 2 ? setActiveKey(0) : setActiveKey(2)}> - Accordion Item #2 - + Accordion Item #2 - - - This is the second item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + - + - activeKey === 3 ? setActiveKey(0) : setActiveKey(3)}> - Accordion Item #3 - + Accordion Item #3 - - - This is the third item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - + + This is the second item's accordion body. It is hidden by default, + until the collapse plugin adds the appropriate classes that we use to style each + element. These classes control the overall appearance, as well as the showing and + hiding via CSS transitions. You can modify any of this with custom CSS or overriding + our default variables. It's also worth noting that just about any HTML can go within + the .accordion-body, though the transition does limit overflow. + -) + ``` ## API @@ -281,9 +310,6 @@ return ( ### CAccordionButton `markdown:CAccordionButton.api.mdx` -### CAccordionCollapse -`markdown:CAccordionCollapse.api.mdx` - ### CAccordionHeader `markdown:CAccordionHeader.api.mdx` diff --git a/src/components/accordion/CAccordion.tsx b/src/components/accordion/CAccordion.tsx index eb222edd..416b3509 100644 --- a/src/components/accordion/CAccordion.tsx +++ b/src/components/accordion/CAccordion.tsx @@ -1,8 +1,16 @@ -import React, { forwardRef, HTMLAttributes } from 'react' +import React, { createContext, forwardRef, HTMLAttributes, useState } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' export interface CAccordionProps extends HTMLAttributes { + /** + * The active item key. [docs] + */ + activeItemKey?: number | string + /** + * Make accordion items stay open when another item is opened + */ + alwaysOpen?: boolean /** * A string of all className you want applied to the base component. [docs] */ @@ -13,18 +21,31 @@ export interface CAccordionProps extends HTMLAttributes { flush?: boolean } +export interface CAccordionContextProps { + _activeItemKey?: number | string + alwaysOpen?: boolean + setActiveKey: React.Dispatch> +} + +export const CAccordionContext = createContext({} as CAccordionContextProps) + export const CAccordion = forwardRef( - ({ children, className, flush, ...rest }, ref) => { + ({ children, activeItemKey = undefined, alwaysOpen = false, className, flush, ...rest }, ref) => { + const [_activeItemKey, setActiveKey] = useState(activeItemKey) const _className = classNames('accordion', { 'accordion-flush': flush }, className) return (
- {children} + + {children} +
) }, ) CAccordion.propTypes = { + alwaysOpen: PropTypes.bool, + activeItemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), children: PropTypes.node, className: PropTypes.string, flush: PropTypes.bool, diff --git a/src/components/accordion/CAccordionBody.tsx b/src/components/accordion/CAccordionBody.tsx index cb594940..67a03132 100644 --- a/src/components/accordion/CAccordionBody.tsx +++ b/src/components/accordion/CAccordionBody.tsx @@ -1,7 +1,10 @@ -import React, { forwardRef, HTMLAttributes } from 'react' +import React, { forwardRef, HTMLAttributes, useContext } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' +import { CAccordionItemContext } from './CAccordionItem' + +import { CCollapse } from './../collapse/CCollapse' export interface CAccordionBodyProps extends HTMLAttributes { /** * A string of all className you want applied to the base component. [docs] @@ -11,12 +14,15 @@ export interface CAccordionBodyProps extends HTMLAttributes { export const CAccordionBody = forwardRef( ({ children, className, ...rest }, ref) => { + const { visible } = useContext(CAccordionItemContext) const _className = classNames('accordion-body', className) return ( -
- {children} -
+ +
+ {children} +
+
) }, ) diff --git a/src/components/accordion/CAccordionButton.tsx b/src/components/accordion/CAccordionButton.tsx index d0b3643e..19c81704 100644 --- a/src/components/accordion/CAccordionButton.tsx +++ b/src/components/accordion/CAccordionButton.tsx @@ -1,24 +1,30 @@ -import React, { forwardRef, HTMLAttributes } from 'react' +import React, { forwardRef, HTMLAttributes, useContext } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' +import { CAccordionItemContext } from './CAccordionItem' + export interface CAccordionButtonProps extends HTMLAttributes { /** * A string of all className you want applied to the base component. [docs] */ className?: string - /** - * Set button state to collapsed. [docs] - */ - collapsed?: boolean } export const CAccordionButton = forwardRef( - ({ children, className, collapsed, ...rest }, ref) => { - const _className = classNames('accordion-button', { collapsed: collapsed }, className) + ({ children, className, ...rest }, ref) => { + const { visible, setVisible } = useContext(CAccordionItemContext) + + const _className = classNames('accordion-button', { collapsed: !visible }, className) return ( - ) @@ -28,7 +34,6 @@ export const CAccordionButton = forwardRef { /** * A string of all className you want applied to the base component. [docs] @@ -15,7 +17,7 @@ export const CAccordionHeader = forwardRef - {children} + {children}
) }, diff --git a/src/components/accordion/CAccordionItem.tsx b/src/components/accordion/CAccordionItem.tsx index 2b5d7aaa..30b9f35b 100644 --- a/src/components/accordion/CAccordionItem.tsx +++ b/src/components/accordion/CAccordionItem.tsx @@ -1,21 +1,57 @@ -import React, { forwardRef, HTMLAttributes } from 'react' +import React, { + createContext, + forwardRef, + HTMLAttributes, + useContext, + useEffect, + useRef, + useState, +} from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' +import { CAccordionContext } from './CAccordion' + +export interface CAccordionItemContextProps { + setVisible: (a: boolean) => void + visible?: boolean +} + +export const CAccordionItemContext = createContext({} as CAccordionItemContextProps) + export interface CAccordionItemProps extends HTMLAttributes { /** * A string of all className you want applied to the base component. [docs] */ className?: string + /** + * Item key. [docs] + */ + itemKey?: number | string } export const CAccordionItem = forwardRef( - ({ children, className, ...rest }, ref) => { + ({ children, className, itemKey, ...rest }, ref) => { + const _itemKey = useRef(itemKey ? itemKey : Math.random().toString(36).substr(2, 9)) + + const { _activeItemKey, alwaysOpen, setActiveKey } = useContext(CAccordionContext) + const [visible, setVisible] = useState(Boolean(_activeItemKey === _itemKey.current)) + + useEffect(() => { + !alwaysOpen && visible && setActiveKey(_itemKey.current) + }, [visible]) + + useEffect(() => { + setVisible(Boolean(_activeItemKey === _itemKey.current)) + }, [_activeItemKey]) + const _className = classNames('accordion-item', className) return (
- {children} + + {children} +
) }, @@ -24,6 +60,7 @@ export const CAccordionItem = forwardRef( CAccordionItem.propTypes = { children: PropTypes.node, className: PropTypes.string, + itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), } CAccordionItem.displayName = 'CAccordionItem' diff --git a/src/components/sidebar/CSidebar.tsx b/src/components/sidebar/CSidebar.tsx index 399f5a3a..743c75b7 100644 --- a/src/components/sidebar/CSidebar.tsx +++ b/src/components/sidebar/CSidebar.tsx @@ -4,7 +4,7 @@ import React, { forwardRef, HTMLAttributes, useEffect, - useLayoutEffect, + // useLayoutEffect, useRef, useState, } from 'react' @@ -21,18 +21,15 @@ export interface CSidebarProps extends HTMLAttributes { * A string of all className you want applied to the component. [docs] */ className?: string + hideBelow?: Breakpoints | boolean | number /** * Make sidebar narrow. [docs] */ narrow?: boolean - /** - * Method called before the hide animation has started. [docs] - */ - onHide?: () => void /** * Method called before the show animation has started. [docs] */ - onShow?: () => void + onVisibleChange?: (visible: boolean) => void /** * Set sidebar to narrow variant. [docs] */ @@ -55,8 +52,16 @@ export interface CSidebarProps extends HTMLAttributes { unfoldable?: boolean /** * Toggle the visibility of sidebar component. [docs] + * + * @default true */ visible?: boolean + /** + * Toggle the visibility of sidebar component. [docs] + * + * @default false + */ + hideOnMobile?: boolean } export const CSidebar = forwardRef( @@ -64,9 +69,10 @@ export const CSidebar = forwardRef( { children, className, + hideBelow, + hideOnMobile = true, narrow, - onHide, - onShow, + onVisibleChange, overlaid, position, selfHiding, @@ -77,29 +83,86 @@ export const CSidebar = forwardRef( }, ref, ) => { + const getWidth = () => + window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth + const sidebarRef = useRef(null) const forkedRef = useForkedRef(ref, sidebarRef) const [mobile, setMobile] = useState(false) const [_visible, setVisible] = useState(visible) + const [width, setWidth] = useState(getWidth()) + + const getHideBelowBreakpoint = (element: React.RefObject) => + element.current && + getComputedStyle(element.current).getPropertyValue(`--cui-breakpoint-${hideBelow}`) + + // const callbackFunction = (entries: IntersectionObserverEntry[]) => { + // const [entry] = entries + // onVisibleChange && onVisibleChange(entry.isIntersecting) + // } + + // const options = { + // rootMargin: '0px', + // threshold: 1.0, + // } + + useEffect(() => { + const { current } = sidebarRef + const observer = new IntersectionObserver( + (entries: IntersectionObserverEntry[]) => { + const [entry] = entries + onVisibleChange && onVisibleChange(entry.isIntersecting) + }, + { + rootMargin: '0px', + threshold: 1.0, + }, + ) + + current && observer.observe(current) + + return () => { + current && observer.unobserve(current) + observer.disconnect() + } + }, [sidebarRef]) const isOnMobile = (element: React.RefObject) => Boolean( element.current && getComputedStyle(element.current).getPropertyValue('--cui-is-mobile'), ) - useLayoutEffect(() => { - setMobile(isOnMobile(sidebarRef)) - }) + useEffect(() => { + const resizeListener = () => { + setWidth(getWidth()) + } + window.addEventListener('resize', resizeListener) + + return () => { + window.removeEventListener('resize', resizeListener) + } + }, [sidebarRef]) useEffect(() => { setVisible(visible) - setMobile(isOnMobile(sidebarRef)) }, [visible]) useEffect(() => { - setMobile(isOnMobile(sidebarRef)) - _visible && onShow && onShow() - }, [_visible]) + mobile && hideOnMobile && setVisible(false) + }, [mobile]) + + useEffect(() => { + sidebarRef.current && setMobile(isOnMobile(sidebarRef)) + hideBelow && + sidebarRef.current && + Number(getHideBelowBreakpoint(sidebarRef)?.replace('px', '')) > width && + visible !== true && + setVisible(false) + hideBelow && + sidebarRef.current && + Number(getHideBelowBreakpoint(sidebarRef)?.replace('px', '')) <= width && + setVisible(true) + }, [width]) useEffect(() => { window.addEventListener('mouseup', handleClickOutside) @@ -116,7 +179,6 @@ export const CSidebar = forwardRef( const handleHide = () => { if (_visible) { setVisible(false) - onHide && onHide() } } @@ -157,8 +219,7 @@ export const CSidebar = forwardRef( [`sidebar-self-hiding${typeof selfHiding !== 'boolean' && '-' + selfHiding}`]: selfHiding, [`sidebar-${size}`]: size, 'sidebar-narrow-unfoldable': unfoldable, - show: _visible === true, - hide: _visible === false, + hide: !visible || !_visible, }, className, ) @@ -182,9 +243,9 @@ export const CSidebar = forwardRef( CSidebar.propTypes = { children: PropTypes.node, className: PropTypes.string, + hideBelow: PropTypes.any, narrow: PropTypes.bool, - onHide: PropTypes.func, - onShow: PropTypes.func, + onVisibleChange: PropTypes.func, overlaid: PropTypes.bool, position: PropTypes.oneOf(['fixed', 'sticky']), selfHiding: PropTypes.oneOfType([ @@ -194,6 +255,7 @@ CSidebar.propTypes = { size: PropTypes.oneOf(['sm', 'lg', 'xl']), unfoldable: PropTypes.bool, visible: PropTypes.bool, + hideOnMobile: PropTypes.bool, } CSidebar.displayName = 'CSidebar' From a73f626bcbcf73684b9f10632f12dbe6502c2856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Fri, 17 Sep 2021 00:31:05 +0200 Subject: [PATCH 009/493] docs: update theme --- package.json | 1 + src/docs/components/Header.tsx | 96 +++++++++++++++++++-------------- src/docs/components/Sidebar.tsx | 34 ++++++++++-- src/docs/templates/Docs.tsx | 4 +- yarn.lock | 12 +++++ 5 files changed, 102 insertions(+), 45 deletions(-) diff --git a/package.json b/package.json index 8c00e066..f7cc85bb 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "react": "^17.0.1", "react-docgen-typescript": "^2.1.0", "react-dom": "^17.0.1", + "react-github-btn": "^1.2.1", "react-helmet": "^6.1.0", "react-popper": "^2.2.5", "react-transition-group": "^4.4.2", diff --git a/src/docs/components/Header.tsx b/src/docs/components/Header.tsx index 3ededba0..b92d8549 100644 --- a/src/docs/components/Header.tsx +++ b/src/docs/components/Header.tsx @@ -1,6 +1,7 @@ import React, { FC } from 'react' +import GitHubButton from 'react-github-btn' -import { CHeader, CHeaderNav, CHeaderToggler, CNavItem } from '../../index' +import { CAlert, CHeader, CHeaderNav, CHeaderToggler, CNavItem } from '../../index' import CIcon from '@coreui/icons-react' import { cibDiscourse, cibGithub, cibTwitter, cilCloudDownload, cilMenu } from '@coreui/icons' import { CButton } from '../../components/button/CButton' @@ -9,44 +10,61 @@ import { myContext } from './../templates/Docs' const Header: FC = ({ ...props }) => { return ( - - {(context) => ( - - context.setSidebarVisible(!context.sidebarVisible)} - > - - - - - - - - - - - - - - - Download - - - Get CoreUI PRO - - - )} - + <> + + + If you like this project and want to help us, please give us a star ⭐️ on Github. ➡️ + + + Star + + 🙏 + + + {(context) => ( + + { + context.setSidebarVisible(!context.sidebarVisible) + }} + > + + + + + + + + + + + + + + + Download + + + Get CoreUI PRO + + + )} + + ) } diff --git a/src/docs/components/Sidebar.tsx b/src/docs/components/Sidebar.tsx index 8bf1ec19..f5119ad5 100644 --- a/src/docs/components/Sidebar.tsx +++ b/src/docs/components/Sidebar.tsx @@ -1,7 +1,15 @@ import React, { FC } from 'react' import PropTypes from 'prop-types' -import { CSidebar, CSidebarBrand, CImage } from '../../index' +import { + CDropdown, + CDropdownToggle, + CDropdownMenu, + CDropdownItem, + CSidebar, + CSidebarBrand, + CImage, +} from '../../index' import { SidebarNav } from '.' import { myContext } from './../templates/Docs' @@ -21,15 +29,33 @@ const Sidebar: FC = ({ ...props }) => { context.setSidebarVisible(value)} + onVisibleChange={(value) => { + context.setSidebarVisible(value) + console.log(value) + }} > +
Framework:
+ + + React.js + + + + Angular Work in Progress + + + JavaScript / Vanilla JS + + + Vue.js + + +
)} diff --git a/src/docs/templates/Docs.tsx b/src/docs/templates/Docs.tsx index 2a33d7aa..be55384d 100644 --- a/src/docs/templates/Docs.tsx +++ b/src/docs/templates/Docs.tsx @@ -24,7 +24,8 @@ const components = { } const DocsLayout: FC = ({ data: { mdx } }) => { - const [sidebarVisible, setSidebarVisible] = useState(true) + const [currentSidebarVisible, setCurrentSidebarVisible] = useState() + const [sidebarVisible, setSidebarVisible] = useState() return ( <> @@ -35,7 +36,6 @@ const DocsLayout: FC = ({ data: { mdx } }) => { value={{ sidebarVisible, setSidebarVisible, - // toggleSidebar: () => setSidebarVisible(!sidebarVisible), }} > diff --git a/yarn.lock b/yarn.lock index 1a27cfa2..3e41f45f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6458,6 +6458,11 @@ git-up@^4.0.5: is-ssh "^1.3.0" parse-url "^6.0.0" +github-buttons@^2.8.0: + version "2.19.0" + resolved "https://registry.yarnpkg.com/github-buttons/-/github-buttons-2.19.0.tgz#8eb966fec288038b47cfe1f931355f50c0e10811" + integrity sha512-N483U9QbYIS0lZKLxye2XXMHZ4ISJ9OcYJd1ChtJxYsF475xeKF2zC2Ko51SCiQmi0RnLvk25ocJDq+hOpZLfw== + github-from-package@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" @@ -10931,6 +10936,13 @@ react-fast-compare@^3.0.1, react-fast-compare@^3.1.1: resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== +react-github-btn@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/react-github-btn/-/react-github-btn-1.2.1.tgz#ece93f609a4bad5e7eb9f47ae49bfaba69466dce" + integrity sha512-/gXD01mHAOhW0xYuNJFDn08OGjaMXOjcg6GCKVPdHvQcWzswH4aT85DLDAAJ6Zhw/71veSIH4Kx1BTBfy69SsA== + dependencies: + github-buttons "^2.8.0" + react-helmet@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/react-helmet/-/react-helmet-6.1.0.tgz#a750d5165cb13cf213e44747502652e794468726" From 10f30362fd55f490ea8a1d256b23d2235ee261f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sat, 18 Sep 2021 18:25:20 +0200 Subject: [PATCH 010/493] refactor(CSidebar): update responsive behavior --- src/components/sidebar/CSidebar.tsx | 102 ++++++++++++++-------------- 1 file changed, 50 insertions(+), 52 deletions(-) diff --git a/src/components/sidebar/CSidebar.tsx b/src/components/sidebar/CSidebar.tsx index 399f5a3a..392667f4 100644 --- a/src/components/sidebar/CSidebar.tsx +++ b/src/components/sidebar/CSidebar.tsx @@ -1,18 +1,8 @@ -// TODO: check if element is visible after toggle - -import React, { - forwardRef, - HTMLAttributes, - useEffect, - useLayoutEffect, - useRef, - useState, -} from 'react' +import React, { forwardRef, HTMLAttributes, useEffect, useRef, useState } from 'react' import { createPortal } from 'react-dom' import PropTypes from 'prop-types' import classNames from 'classnames' -import { Breakpoints } from '../Types' import { useForkedRef } from '../../utils/hooks' import { CBackdrop } from '../backdrop/CBackdrop' @@ -26,13 +16,9 @@ export interface CSidebarProps extends HTMLAttributes { */ narrow?: boolean /** - * Method called before the hide animation has started. [docs] + * Event emitted after visibility of component changed. [docs] */ - onHide?: () => void - /** - * Method called before the show animation has started. [docs] - */ - onShow?: () => void + onVisibleChange?: (visible: boolean) => void /** * Set sidebar to narrow variant. [docs] */ @@ -41,10 +27,6 @@ export interface CSidebarProps extends HTMLAttributes { * Place sidebar in non-static positions. [docs] */ position?: 'fixed' | 'sticky' - /** - * Make any sidebar self hiding across all viewports or pick a maximum breakpoint with which to have a self hiding up to. [docs] - */ - selfHiding?: Breakpoints | boolean /** * Size the component small, large, or extra large. [docs] */ @@ -59,17 +41,28 @@ export interface CSidebarProps extends HTMLAttributes { visible?: boolean } +const isOnMobile = (element: HTMLDivElement) => + Boolean(getComputedStyle(element).getPropertyValue('--cui-is-mobile')) + +const isVisible = (element: HTMLDivElement) => { + const rect = element.getBoundingClientRect() + return ( + rect.top >= 0 && + rect.left >= 0 && + rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && + rect.right <= (window.innerWidth || document.documentElement.clientWidth) + ) +} + export const CSidebar = forwardRef( ( { children, className, narrow, - onHide, - onShow, + onVisibleChange, overlaid, position, - selfHiding, size, unfoldable, visible, @@ -81,43 +74,54 @@ export const CSidebar = forwardRef( const forkedRef = useForkedRef(ref, sidebarRef) const [mobile, setMobile] = useState(false) const [_visible, setVisible] = useState(visible) - - const isOnMobile = (element: React.RefObject) => - Boolean( - element.current && getComputedStyle(element.current).getPropertyValue('--cui-is-mobile'), - ) - - useLayoutEffect(() => { - setMobile(isOnMobile(sidebarRef)) - }) + const [inViewport, setInViewport] = useState() useEffect(() => { + sidebarRef.current && setMobile(isOnMobile(sidebarRef.current)) + setVisible(visible) - setMobile(isOnMobile(sidebarRef)) }, [visible]) useEffect(() => { - setMobile(isOnMobile(sidebarRef)) - _visible && onShow && onShow() - }, [_visible]) + typeof inViewport !== 'undefined' && onVisibleChange && onVisibleChange(inViewport) + }, [inViewport]) + + useEffect(() => { + mobile && visible && setVisible(false) + }, [mobile]) useEffect(() => { + sidebarRef.current && setMobile(isOnMobile(sidebarRef.current)) + sidebarRef.current && setInViewport(isVisible(sidebarRef.current)) + + window.addEventListener('resize', () => handleResize()) window.addEventListener('mouseup', handleClickOutside) - sidebarRef.current && sidebarRef.current.addEventListener('mouseup', handleOnClick) window.addEventListener('keyup', handleKeyup) + sidebarRef.current?.addEventListener('mouseup', handleOnClick) + sidebarRef.current?.addEventListener('transitionend', () => { + sidebarRef.current && setInViewport(isVisible(sidebarRef.current)) + }) + return () => { + window.removeEventListener('resize', () => handleResize()) window.removeEventListener('mouseup', handleClickOutside) - sidebarRef.current && sidebarRef.current.removeEventListener('mouseup', handleOnClick) window.removeEventListener('keyup', handleKeyup) + + sidebarRef.current?.removeEventListener('mouseup', handleOnClick) + sidebarRef.current?.removeEventListener('transitionend', () => { + sidebarRef.current && setInViewport(isVisible(sidebarRef.current)) + }) } }) const handleHide = () => { - if (_visible) { - setVisible(false) - onHide && onHide() - } + setVisible(false) + } + + const handleResize = () => { + sidebarRef.current && setMobile(isOnMobile(sidebarRef.current)) + sidebarRef.current && setInViewport(isVisible(sidebarRef.current)) } const handleKeyup = (event: Event) => { @@ -154,11 +158,10 @@ export const CSidebar = forwardRef( 'sidebar-narrow': narrow, 'sidebar-overlaid': overlaid, [`sidebar-${position}`]: position, - [`sidebar-self-hiding${typeof selfHiding !== 'boolean' && '-' + selfHiding}`]: selfHiding, [`sidebar-${size}`]: size, 'sidebar-narrow-unfoldable': unfoldable, - show: _visible === true, - hide: _visible === false, + show: _visible === true && mobile, + hide: _visible === false && !mobile, }, className, ) @@ -183,14 +186,9 @@ CSidebar.propTypes = { children: PropTypes.node, className: PropTypes.string, narrow: PropTypes.bool, - onHide: PropTypes.func, - onShow: PropTypes.func, + onVisibleChange: PropTypes.func, overlaid: PropTypes.bool, position: PropTypes.oneOf(['fixed', 'sticky']), - selfHiding: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), size: PropTypes.oneOf(['sm', 'lg', 'xl']), unfoldable: PropTypes.bool, visible: PropTypes.bool, From 9aa2d619a13ec4911ca226b27b51d0e7279dfb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sat, 18 Sep 2021 18:25:38 +0200 Subject: [PATCH 011/493] docs: update theme --- src/docs/components/Header.tsx | 2 +- src/docs/components/Sidebar.tsx | 1 - src/docs/templates/Docs.tsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/docs/components/Header.tsx b/src/docs/components/Header.tsx index b92d8549..0ba46277 100644 --- a/src/docs/components/Header.tsx +++ b/src/docs/components/Header.tsx @@ -39,7 +39,7 @@ const Header: FC = ({ ...props }) => { - + diff --git a/src/docs/components/Sidebar.tsx b/src/docs/components/Sidebar.tsx index f5119ad5..f648685c 100644 --- a/src/docs/components/Sidebar.tsx +++ b/src/docs/components/Sidebar.tsx @@ -33,7 +33,6 @@ const Sidebar: FC = ({ ...props }) => { visible={context.sidebarVisible} onVisibleChange={(value) => { context.setSidebarVisible(value) - console.log(value) }} > diff --git a/src/docs/templates/Docs.tsx b/src/docs/templates/Docs.tsx index be55384d..8984ed9d 100644 --- a/src/docs/templates/Docs.tsx +++ b/src/docs/templates/Docs.tsx @@ -24,7 +24,6 @@ const components = { } const DocsLayout: FC = ({ data: { mdx } }) => { - const [currentSidebarVisible, setCurrentSidebarVisible] = useState() const [sidebarVisible, setSidebarVisible] = useState() return ( <> From ac955ac9edcb9c822b22014371d74a4a0abecb8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sat, 18 Sep 2021 20:00:13 +0200 Subject: [PATCH 012/493] release: v4.0.0-rc.1 --- package.json | 6 +++--- yarn.lock | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index f7cc85bb..4fa5de7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/react", - "version": "4.0.0-rc.0", + "version": "4.0.0-rc.1", "config": { "version_short": "4.0" }, @@ -29,12 +29,12 @@ "test:update": "jest --coverage --updateSnapshot" }, "peerDependencies": { - "@coreui/coreui": "^4.0.1", + "@coreui/coreui": "^4.0.3", "react": "^17", "react-dom": "^17" }, "devDependencies": { - "@coreui/coreui": "^4.0.1", + "@coreui/coreui": "^4.0.3", "@coreui/icons": "^2.0.1", "@coreui/icons-react": "^2.0.0-rc.5", "@coreui/react-chartjs": "^2.0.0-rc.1", diff --git a/yarn.lock b/yarn.lock index 3e41f45f..d1ef964b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1113,10 +1113,10 @@ resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.0.0.tgz#52ebe0197411a829ba48057ade61923e05859eec" integrity sha512-8vH6fJrmvCR/Oy5v0E+/1AL3Ygb4jhQ7NXK2fMYWJyK13BePDm9muB3y6S0IdqkpBwjY3hHVwHyt2lJqJdesmQ== -"@coreui/coreui@^4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.0.1.tgz#e5faf540aeea31b0cc8d428d73080a364e4bc6fd" - integrity sha512-1mrWnbqoWb7+8ZAMUdlWt0AqVzDEkJglk7F3OaFsQtxienezFvlMNsd1YPPNo+taRzF7HZ8xSDIAItCvlOaMVg== +"@coreui/coreui@^4.0.3": + version "4.0.3" + resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.0.3.tgz#b4ae66d5e71eb8b9bc2edb26a9fad175d1f0e2ed" + integrity sha512-x3Q/o7G2LCq2iVT6iwmnkW+wbptdpPgIsKQzPz+k0Nudim8m4WUskusFK+4gJd6h2q7xJo85v/tOXrasCY4PQQ== "@coreui/icons-react@^2.0.0-rc.5": version "2.0.0-rc.5" From 1d70359da3700645079d76a853b9aebacee1a055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 19 Sep 2021 01:06:42 +0200 Subject: [PATCH 013/493] tests: update tests --- .../sidebar/__tests__/CSidebar.spec.tsx | 13 +--- .../__snapshots__/CSidebar.spec.tsx.snap | 4 +- .../toast/__tests__/CToast.spec.tsx | 41 ++++++++----- .../__snapshots__/CToast.spec.tsx.snap | 60 ++++++++++++++++++- 4 files changed, 88 insertions(+), 30 deletions(-) diff --git a/src/components/sidebar/__tests__/CSidebar.spec.tsx b/src/components/sidebar/__tests__/CSidebar.spec.tsx index ad43ad16..ba91d22c 100644 --- a/src/components/sidebar/__tests__/CSidebar.spec.tsx +++ b/src/components/sidebar/__tests__/CSidebar.spec.tsx @@ -16,7 +16,6 @@ test('CSidebar customize show', async () => { className="bazinga" narrow={true} position="fixed" - selfHiding="lg" visible={true} unfoldable={true} overlaid={true} @@ -30,20 +29,13 @@ test('CSidebar customize show', async () => { expect(container.firstChild).toHaveClass('sidebar-narrow') expect(container.firstChild).toHaveClass('sidebar-overlaid') expect(container.firstChild).toHaveClass('sidebar-fixed') - expect(container.firstChild).toHaveClass('sidebar-self-hiding-lg') expect(container.firstChild).toHaveClass('sidebar-narrow-unfoldable') - expect(container.firstChild).toHaveClass('show') + // expect(container.firstChild).toHaveClass('show') }) test('CSidebar customize hide', async () => { const { container } = render( - + Test , ) @@ -51,5 +43,4 @@ test('CSidebar customize hide', async () => { expect(container.firstChild).toHaveClass('bazinga') expect(container.firstChild).toHaveClass('sidebar') expect(container.firstChild).toHaveClass('sidebar-sticky') - expect(container.firstChild).toHaveClass('sidebar-self-hiding-md') }) diff --git a/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.tsx.snap b/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.tsx.snap index b3988ee4..3782b0bc 100644 --- a/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.tsx.snap +++ b/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.tsx.snap @@ -3,7 +3,7 @@ exports[`CSidebar customize hide 1`] = `
@@ -13,7 +13,7 @@ exports[`CSidebar customize hide 1`] = ` exports[`CSidebar customize show 1`] = `
diff --git a/src/components/toast/__tests__/CToast.spec.tsx b/src/components/toast/__tests__/CToast.spec.tsx index fbd1d76e..d2184631 100644 --- a/src/components/toast/__tests__/CToast.spec.tsx +++ b/src/components/toast/__tests__/CToast.spec.tsx @@ -1,5 +1,5 @@ import * as React from 'react' -import { render, fireEvent } from '@testing-library/react' +import { render, fireEvent, waitFor } from '@testing-library/react' import '@testing-library/jest-dom/extend-expect' import { CToast, CToastBody, CToastHeader } from '../../../index' @@ -22,12 +22,14 @@ test('CToast customize', async () => { Test , ) - expect(container).toMatchSnapshot() - expect(container.firstChild).toHaveClass('bazinga') - expect(container.firstChild).toHaveClass('toast') - expect(container.firstChild).toHaveClass('fade') - expect(container.firstChild).toHaveClass('bg-warning') - expect(container.firstChild).toHaveClass('show') + await waitFor(() => { + expect(container).toMatchSnapshot() + expect(container.firstChild).toHaveClass('bazinga') + expect(container.firstChild).toHaveClass('toast') + expect(container.firstChild).toHaveClass('fade') + expect(container.firstChild).toHaveClass('bg-warning') + expect(container.firstChild).toHaveClass('show') + }) }) test('CToast click on dismiss button', async () => { @@ -61,7 +63,10 @@ test('CToast click on dismiss button', async () => { Hello, world! This is a toast message. , ) - expect(container.firstChild).toHaveClass('show') + await waitFor(() => { + expect(container.firstChild).toHaveClass('show') + }) + expect(onDismiss).toHaveBeenCalledTimes(0) const btn = document.querySelector('.btn-close') if (btn !== null) { @@ -74,14 +79,22 @@ test('CToast click on dismiss button', async () => { }) test('CToast test autohide', async () => { - jest.useFakeTimers() const { container } = render( - + Test , ) - expect(container.firstChild).toHaveClass('show') - jest.runAllTimers() - expect(container.firstChild).toBeNull() - jest.useRealTimers() + + await waitFor(() => { + expect(container.firstChild).toHaveClass('show') + }) + + await waitFor( + () => { + expect(container.firstChild).toBeNull() + }, + { + timeout: 5000, + }, + ) }) diff --git a/src/components/toast/__tests__/__snapshots__/CToast.spec.tsx.snap b/src/components/toast/__tests__/__snapshots__/CToast.spec.tsx.snap index 8ff23744..b90cd957 100644 --- a/src/components/toast/__tests__/__snapshots__/CToast.spec.tsx.snap +++ b/src/components/toast/__tests__/__snapshots__/CToast.spec.tsx.snap @@ -5,7 +5,7 @@ exports[`CToast customize 1`] = ` `; -exports[`loads and displays CToast component 1`] = ` +exports[`CToast customize 2`] = `
`; + +exports[`CToast customize 3`] = ` +
+ +
+`; + +exports[`CToast customize 4`] = ` +
+ +
+`; + +exports[`CToast customize 5`] = ` +
+ +
+`; + +exports[`CToast customize 6`] = ` +
+ +
+`; + +exports[`loads and displays CToast component 1`] = `
`; From ef9df058d0bb79ccaf22c8eab75f60e9bdb8da9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 19 Sep 2021 01:07:12 +0200 Subject: [PATCH 014/493] docs: update documentation --- docs/4.0/api/CSidebar.api.mdx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/4.0/api/CSidebar.api.mdx b/docs/4.0/api/CSidebar.api.mdx index 915c0afe..65e9c16e 100644 --- a/docs/4.0/api/CSidebar.api.mdx +++ b/docs/4.0/api/CSidebar.api.mdx @@ -1,13 +1,10 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the component. | `string` | - | -| **hideBelow** | - | `number | boolean | Breakpoints` | - | -| **hideOnMobile** | Toggle the visibility of sidebar component. | `boolean` | true | | **narrow** | Make sidebar narrow. | `boolean` | - | -| **onVisibleChange** | Method called before the show animation has started. | `(visible: boolean) => void` | - | +| **onVisibleChange** | Event emitted after visibility of component changed. | `(visible: boolean) => void` | - | | **overlaid** | Set sidebar to narrow variant. | `boolean` | - | | **position** | Place sidebar in non-static positions. | `"fixed" | "sticky"` | - | -| **selfHiding** | Make any sidebar self hiding across all viewports or pick a maximum breakpoint with which to have a self hiding up to. | `boolean | Breakpoints` | - | | **size** | Size the component small, large, or extra large. | `"sm" | "lg" | "xl"` | - | | **unfoldable** | Expand narrowed sidebar on hover. | `boolean` | - | -| **visible** | Toggle the visibility of sidebar component. | `boolean` | true | +| **visible** | Toggle the visibility of sidebar component. | `boolean` | - | From f36a5a0df971bf136e28c968df517839c106a076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 19 Sep 2021 01:07:43 +0200 Subject: [PATCH 015/493] chore: update dependencies and devDependencies --- package.json | 40 +- yarn.lock | 2946 ++++++++++++++++++++++---------------------------- 2 files changed, 1292 insertions(+), 1694 deletions(-) diff --git a/package.json b/package.json index 4fa5de7a..b092c511 100644 --- a/package.json +++ b/package.json @@ -40,40 +40,40 @@ "@coreui/react-chartjs": "^2.0.0-rc.1", "@mdx-js/mdx": "^1.6.22", "@mdx-js/react": "^1.6.22", - "@popperjs/core": "^2.9.3", + "@popperjs/core": "^2.10.1", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-node-resolve": "^13.0.4", "@rollup/plugin-typescript": "^8.2.5", "@testing-library/jest-dom": "^5.14.1", - "@testing-library/react": "^12.0.0", - "@types/react": "^17.0.19", + "@testing-library/react": "^12.1.0", + "@types/react": "^17.0.21", "@types/react-dom": "^17.0.9", "@types/react-helmet": "^6.1.2", - "@types/react-transition-group": "^4.4.2", - "@typescript-eslint/eslint-plugin": "^4.29.2", - "@typescript-eslint/parser": "^4.29.2", + "@types/react-transition-group": "^4.4.3", + "@typescript-eslint/eslint-plugin": "^4.31.1", + "@typescript-eslint/parser": "^4.31.1", "classnames": "^2.3.1", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", - "eslint-plugin-jsdoc": "^36.0.7", - "eslint-plugin-prettier": "^3.4.0", - "eslint-plugin-react": "^7.24.0", + "eslint-plugin-jsdoc": "^36.1.0", + "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-react": "^7.25.2", "eslint-plugin-react-hooks": "^4.2.0", - "gatsby": "^3.12.0", + "gatsby": "^3.14.0", "gatsby-plugin-google-gtag": "3", - "gatsby-plugin-manifest": "^3.12.0", - "gatsby-plugin-mdx": "^2.12.0", + "gatsby-plugin-manifest": "^3.14.0", + "gatsby-plugin-mdx": "^2.14.0", "gatsby-plugin-sass": "4", "gatsby-plugin-sitemap": "4", - "gatsby-remark-autolink-headers": "^4.9.0", - "gatsby-source-filesystem": "^3.12.0", + "gatsby-remark-autolink-headers": "^4.11.0", + "gatsby-source-filesystem": "^3.14.0", "glob": "^7.1.7", "globby": "^11.0.4", - "jest": "^27.0.6", + "jest": "^27.2.0", "npm-run-all": "^4.1.5", - "prettier": "^2.3.2", + "prettier": "^2.4.1", "prism-react-renderer": "^1.2.1", - "prismjs": "^1.24.1", + "prismjs": "^1.25.0", "react": "^17.0.1", "react-docgen-typescript": "^2.1.0", "react-dom": "^17.0.1", @@ -81,13 +81,13 @@ "react-helmet": "^6.1.0", "react-popper": "^2.2.5", "react-transition-group": "^4.4.2", - "remark-html": "^13.0.0", + "remark-html": "^13.0.2", "rimraf": "^3.0.2", "rollup": "^2.56.22.56.2", "rollup-plugin-peer-deps-external": "^2.2.4", - "sass": "^1.38.0", + "sass": "^1.41.1", "ts-jest": "^27.0.5", - "typescript": "^4.3.5" + "typescript": "^4.4.3" }, "jest": { "preset": "ts-jest", diff --git a/yarn.lock b/yarn.lock index d1ef964b..f0596321 100644 --- a/yarn.lock +++ b/yarn.lock @@ -79,7 +79,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@^7.1.0", "@babel/core@^7.14.8", "@babel/core@^7.7.2", "@babel/core@^7.7.5": +"@babel/core@^7.1.0", "@babel/core@^7.7.2", "@babel/core@^7.7.5": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.0.tgz#749e57c68778b73ad8082775561f67f5196aafa8" integrity sha512-tXtmTminrze5HEUPn/a0JtOzzfp0nk+UEXQ/tqIJo3WDGypl/2OFQEMll/zSFU8f/lfmfLXvTaORHF3cfXIQMw== @@ -100,16 +100,37 @@ semver "^6.3.0" source-map "^0.5.0" -"@babel/eslint-parser@^7.14.9": - version "7.15.0" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.15.0.tgz#b54f06e04d0e93aebcba99f89251e3bf0ee39f21" - integrity sha512-+gSPtjSBxOZz4Uh8Ggqu7HbfpB8cT1LwW0DnVVLZEJvzXauiD0Di3zszcBkRmfGGrLdYeHUwcflG7i3tr9kQlw== +"@babel/core@^7.15.5": + version "7.15.5" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.5.tgz#f8ed9ace730722544609f90c9bb49162dc3bf5b9" + integrity sha512-pYgXxiwAgQpgM1bNkZsDEq85f0ggXMA5L7c+o3tskGMh2BunCI9QUwB9Z4jpvXUOuMdyGKiGKQiRe11VS6Jzvg== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.4" + "@babel/helper-compilation-targets" "^7.15.4" + "@babel/helper-module-transforms" "^7.15.4" + "@babel/helpers" "^7.15.4" + "@babel/parser" "^7.15.5" + "@babel/template" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.4" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.1.2" + semver "^6.3.0" + source-map "^0.5.0" + +"@babel/eslint-parser@^7.15.4": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.15.7.tgz#2dc3d0ff0ea22bb1e08d93b4eeb1149bf1c75f2d" + integrity sha512-yJkHyomClm6A2Xzb8pdAo4HzYMSXFn1O5zrCYvbFP0yQFvHueLedV8WiEno8yJOKStjUXzBZzJFeWQ7b3YMsqQ== dependencies: eslint-scope "^5.1.1" eslint-visitor-keys "^2.1.0" semver "^6.3.0" -"@babel/generator@^7.10.5", "@babel/generator@^7.12.5", "@babel/generator@^7.14.9", "@babel/generator@^7.15.0", "@babel/generator@^7.7.2": +"@babel/generator@^7.10.5", "@babel/generator@^7.12.5", "@babel/generator@^7.15.0", "@babel/generator@^7.7.2": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.0.tgz#a7d0c172e0d814974bad5aa77ace543b97917f15" integrity sha512-eKl4XdMrbpYvuB505KTta4AV9g+wWzmVBW69tX0H2NwKVKd2YJbKgyK6M8j/rgLbmHOYJn6rUklV677nOyJrEQ== @@ -118,6 +139,15 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.4.tgz#85acb159a267ca6324f9793986991ee2022a05b0" + integrity sha512-d3itta0tu+UayjEORPNz6e1T3FtvWlP5N4V5M+lhp/CxT4oAA7/NcScnpRyspUMLK6tu9MNHmQHxRykuN2R7hw== + dependencies: + "@babel/types" "^7.15.4" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.14.5.tgz#7bf478ec3b71726d56a8ca5775b046fc29879e61" @@ -125,6 +155,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-annotate-as-pure@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz#3d0e43b00c5e49fdb6c57e421601a7a658d5f835" + integrity sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-builder-binary-assignment-operator-visitor@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.14.5.tgz#b939b43f8c37765443a19ae74ad8b15978e0a191" @@ -143,6 +180,16 @@ browserslist "^4.16.6" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz#cf6d94f30fbefc139123e27dd6b02f65aeedb7b9" + integrity sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ== + dependencies: + "@babel/compat-data" "^7.15.0" + "@babel/helper-validator-option" "^7.14.5" + browserslist "^4.16.6" + semver "^6.3.0" + "@babel/helper-create-class-features-plugin@^7.14.5", "@babel/helper-create-class-features-plugin@^7.15.0": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.0.tgz#c9a137a4d137b2d0e2c649acf536d7ba1a76c0f7" @@ -155,6 +202,18 @@ "@babel/helper-replace-supers" "^7.15.0" "@babel/helper-split-export-declaration" "^7.14.5" +"@babel/helper-create-class-features-plugin@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz#7f977c17bd12a5fba363cb19bea090394bf37d2e" + integrity sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.15.4" + "@babel/helper-function-name" "^7.15.4" + "@babel/helper-member-expression-to-functions" "^7.15.4" + "@babel/helper-optimise-call-expression" "^7.15.4" + "@babel/helper-replace-supers" "^7.15.4" + "@babel/helper-split-export-declaration" "^7.15.4" + "@babel/helper-create-regexp-features-plugin@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.5.tgz#c7d5ac5e9cf621c26057722fb7a8a4c5889358c4" @@ -193,6 +252,15 @@ "@babel/template" "^7.14.5" "@babel/types" "^7.14.5" +"@babel/helper-function-name@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz#845744dafc4381a4a5fb6afa6c3d36f98a787ebc" + integrity sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw== + dependencies: + "@babel/helper-get-function-arity" "^7.15.4" + "@babel/template" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/helper-get-function-arity@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz#25fbfa579b0937eee1f3b805ece4ce398c431815" @@ -200,6 +268,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-get-function-arity@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz#098818934a137fce78b536a3e015864be1e2879b" + integrity sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-hoist-variables@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz#e0dd27c33a78e577d7c8884916a3e7ef1f7c7f8d" @@ -207,6 +282,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-hoist-variables@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz#09993a3259c0e918f99d104261dfdfc033f178df" + integrity sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-member-expression-to-functions@^7.15.0": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.0.tgz#0ddaf5299c8179f27f37327936553e9bba60990b" @@ -214,6 +296,13 @@ dependencies: "@babel/types" "^7.15.0" +"@babel/helper-member-expression-to-functions@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz#bfd34dc9bba9824a4658b0317ec2fd571a51e6ef" + integrity sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-module-imports@^7.0.0-beta.49", "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz#6d1a44df6a38c957aa7c312da076429f11b422f3" @@ -221,6 +310,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-module-imports@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz#e18007d230632dea19b47853b984476e7b4e103f" + integrity sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-module-transforms@^7.10.5", "@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.14.5", "@babel/helper-module-transforms@^7.15.0": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.0.tgz#679275581ea056373eddbe360e1419ef23783b08" @@ -235,6 +331,20 @@ "@babel/traverse" "^7.15.0" "@babel/types" "^7.15.0" +"@babel/helper-module-transforms@^7.15.4": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.7.tgz#7da80c8cbc1f02655d83f8b79d25866afe50d226" + integrity sha512-ZNqjjQG/AuFfekFTY+7nY4RgBSklgTu970c7Rj3m/JOhIu5KPBUuTA9AY6zaKcUvk4g6EbDXdBnhi35FAssdSw== + dependencies: + "@babel/helper-module-imports" "^7.15.4" + "@babel/helper-replace-supers" "^7.15.4" + "@babel/helper-simple-access" "^7.15.4" + "@babel/helper-split-export-declaration" "^7.15.4" + "@babel/helper-validator-identifier" "^7.15.7" + "@babel/template" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.6" + "@babel/helper-optimise-call-expression@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz#f27395a8619e0665b3f0364cddb41c25d71b499c" @@ -242,6 +352,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-optimise-call-expression@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz#f310a5121a3b9cc52d9ab19122bd729822dee171" + integrity sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-plugin-utils@7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" @@ -261,6 +378,15 @@ "@babel/helper-wrap-function" "^7.14.5" "@babel/types" "^7.14.5" +"@babel/helper-remap-async-to-generator@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz#2637c0731e4c90fbf58ac58b50b2b5a192fc970f" + integrity sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.15.4" + "@babel/helper-wrap-function" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/helper-replace-supers@^7.14.5", "@babel/helper-replace-supers@^7.15.0": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.15.0.tgz#ace07708f5bf746bf2e6ba99572cce79b5d4e7f4" @@ -271,6 +397,16 @@ "@babel/traverse" "^7.15.0" "@babel/types" "^7.15.0" +"@babel/helper-replace-supers@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz#52a8ab26ba918c7f6dee28628b07071ac7b7347a" + integrity sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.15.4" + "@babel/helper-optimise-call-expression" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/helper-simple-access@^7.14.8": version "7.14.8" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.14.8.tgz#82e1fec0644a7e775c74d305f212c39f8fe73924" @@ -278,6 +414,13 @@ dependencies: "@babel/types" "^7.14.8" +"@babel/helper-simple-access@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz#ac368905abf1de8e9781434b635d8f8674bcc13b" + integrity sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-skip-transparent-expression-wrappers@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.14.5.tgz#96f486ac050ca9f44b009fbe5b7d394cab3a0ee4" @@ -285,6 +428,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-skip-transparent-expression-wrappers@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz#707dbdba1f4ad0fa34f9114fc8197aec7d5da2eb" + integrity sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-split-export-declaration@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz#22b23a54ef51c2b7605d851930c1976dd0bc693a" @@ -292,11 +442,23 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-split-export-declaration@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz#aecab92dcdbef6a10aa3b62ab204b085f776e257" + integrity sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw== + dependencies: + "@babel/types" "^7.15.4" + "@babel/helper-validator-identifier@^7.14.5", "@babel/helper-validator-identifier@^7.14.9": version "7.14.9" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz#6654d171b2024f6d8ee151bf2509699919131d48" integrity sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g== +"@babel/helper-validator-identifier@^7.15.7": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz#220df993bfe904a4a6b02ab4f3385a5ebf6e2389" + integrity sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w== + "@babel/helper-validator-option@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz#6e72a1fff18d5dfcb878e1e62f1a021c4b72d5a3" @@ -312,6 +474,16 @@ "@babel/traverse" "^7.14.5" "@babel/types" "^7.14.5" +"@babel/helper-wrap-function@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz#6f754b2446cfaf3d612523e6ab8d79c27c3a3de7" + integrity sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw== + dependencies: + "@babel/helper-function-name" "^7.15.4" + "@babel/template" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/helpers@^7.10.4", "@babel/helpers@^7.12.5", "@babel/helpers@^7.14.8": version "7.15.3" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.15.3.tgz#c96838b752b95dcd525b4e741ed40bb1dc2a1357" @@ -321,6 +493,15 @@ "@babel/traverse" "^7.15.0" "@babel/types" "^7.15.0" +"@babel/helpers@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.15.4.tgz#5f40f02050a3027121a3cf48d497c05c555eaf43" + integrity sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ== + dependencies: + "@babel/template" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.4" + "@babel/highlight@^7.10.4", "@babel/highlight@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9" @@ -330,27 +511,32 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.10.5", "@babel/parser@^7.12.7", "@babel/parser@^7.14.5", "@babel/parser@^7.14.9", "@babel/parser@^7.15.0", "@babel/parser@^7.7.2": +"@babel/parser@^7.1.0", "@babel/parser@^7.10.5", "@babel/parser@^7.12.7", "@babel/parser@^7.14.5", "@babel/parser@^7.15.0", "@babel/parser@^7.7.2": version "7.15.3" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.3.tgz#3416d9bea748052cfcb63dbcc27368105b1ed862" integrity sha512-O0L6v/HvqbdJawj0iBEfVQMc3/6WP+AeOsovsIgBFyJaG+W2w7eqvZB7puddATmWuARlm1SX7DwxJ/JJUnDpEA== -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz#4b467302e1548ed3b1be43beae2cc9cf45e0bb7e" - integrity sha512-ZoJS2XCKPBfTmL122iP6NM9dOg+d4lc9fFk3zxc8iDjvt8Pk4+TlsHSKhIPf6X+L5ORCdBzqMZDjL/WHj7WknQ== +"@babel/parser@^7.15.4", "@babel/parser@^7.15.5": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.7.tgz#0c3ed4a2eb07b165dfa85b3cc45c727334c4edae" + integrity sha512-rycZXvQ+xS9QyIcJ9HXeDWf1uxqlbVFAUq0Rq0dbc50Zb/+wUe/ehyfzGfm9KZZF0kBejYgxltBXocP+gKdL2g== + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz#dbdeabb1e80f622d9f0b583efb2999605e0a567e" + integrity sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog== dependencies: "@babel/helper-plugin-utils" "^7.14.5" - "@babel/helper-skip-transparent-expression-wrappers" "^7.14.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.15.4" "@babel/plugin-proposal-optional-chaining" "^7.14.5" -"@babel/plugin-proposal-async-generator-functions@^7.14.9": - version "7.14.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.14.9.tgz#7028dc4fa21dc199bbacf98b39bab1267d0eaf9a" - integrity sha512-d1lnh+ZnKrFKwtTYdw320+sQWCTwgkB9fmUhNXRADA4akR6wLjaruSGnIEUjpt9HCOwTr4ynFTKu19b7rFRpmw== +"@babel/plugin-proposal-async-generator-functions@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.4.tgz#f82aabe96c135d2ceaa917feb9f5fca31635277e" + integrity sha512-2zt2g5vTXpMC3OmK6uyjvdXptbhBXfA77XGrd3gh93zwG8lZYBLOBImiGBEG0RANu3JqKEACCz5CGk73OJROBw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" - "@babel/helper-remap-async-to-generator" "^7.14.5" + "@babel/helper-remap-async-to-generator" "^7.15.4" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-proposal-class-properties@^7.14.0", "@babel/plugin-proposal-class-properties@^7.14.5": @@ -361,12 +547,12 @@ "@babel/helper-create-class-features-plugin" "^7.14.5" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-proposal-class-static-block@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.14.5.tgz#158e9e10d449c3849ef3ecde94a03d9f1841b681" - integrity sha512-KBAH5ksEnYHCegqseI5N9skTdxgJdmDoAOc0uXa+4QMYKeZD0w5IARh4FMlTNtaHhbB8v+KzMdTgxMMzsIy6Yg== +"@babel/plugin-proposal-class-static-block@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz#3e7ca6128453c089e8b477a99f970c63fc1cb8d7" + integrity sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.14.5" + "@babel/helper-create-class-features-plugin" "^7.15.4" "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-class-static-block" "^7.14.5" @@ -447,6 +633,17 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-transform-parameters" "^7.14.5" +"@babel/plugin-proposal-object-rest-spread@^7.15.6": + version "7.15.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.15.6.tgz#ef68050c8703d07b25af402cb96cf7f34a68ed11" + integrity sha512-qtOHo7A1Vt+O23qEAX+GdBpqaIuD3i9VRrWgCJeq7WO6H2d14EK3q11urj5Te2MAeK97nMiIdRpwd/ST4JFbNg== + dependencies: + "@babel/compat-data" "^7.15.0" + "@babel/helper-compilation-targets" "^7.15.4" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.15.4" + "@babel/plugin-proposal-optional-catch-binding@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.5.tgz#939dd6eddeff3a67fdf7b3f044b5347262598c3c" @@ -472,13 +669,13 @@ "@babel/helper-create-class-features-plugin" "^7.14.5" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-proposal-private-property-in-object@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.14.5.tgz#9f65a4d0493a940b4c01f8aa9d3f1894a587f636" - integrity sha512-62EyfyA3WA0mZiF2e2IV9mc9Ghwxcg8YTu8BS4Wss4Y3PY725OmS9M0qLORbJwLqFtGh+jiE4wAmocK2CTUK2Q== +"@babel/plugin-proposal-private-property-in-object@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz#55c5e3b4d0261fd44fe637e3f624cfb0f484e3e5" + integrity sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA== dependencies: - "@babel/helper-annotate-as-pure" "^7.14.5" - "@babel/helper-create-class-features-plugin" "^7.14.5" + "@babel/helper-annotate-as-pure" "^7.15.4" + "@babel/helper-create-class-features-plugin" "^7.15.4" "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" @@ -653,24 +850,24 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-block-scoping@^7.14.5": +"@babel/plugin-transform-block-scoping@^7.15.3": version "7.15.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz#94c81a6e2fc230bcce6ef537ac96a1e4d2b3afaf" integrity sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-classes@^7.14.9": - version "7.14.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.14.9.tgz#2a391ffb1e5292710b00f2e2c210e1435e7d449f" - integrity sha512-NfZpTcxU3foGWbl4wxmZ35mTsYJy8oQocbeIMoDAGGFarAmSQlL+LWMkDx/tj6pNotpbX3rltIA4dprgAPOq5A== +"@babel/plugin-transform-classes@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz#50aee17aaf7f332ae44e3bce4c2e10534d5d3bf1" + integrity sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg== dependencies: - "@babel/helper-annotate-as-pure" "^7.14.5" - "@babel/helper-function-name" "^7.14.5" - "@babel/helper-optimise-call-expression" "^7.14.5" + "@babel/helper-annotate-as-pure" "^7.15.4" + "@babel/helper-function-name" "^7.15.4" + "@babel/helper-optimise-call-expression" "^7.15.4" "@babel/helper-plugin-utils" "^7.14.5" - "@babel/helper-replace-supers" "^7.14.5" - "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/helper-replace-supers" "^7.15.4" + "@babel/helper-split-export-declaration" "^7.15.4" globals "^11.1.0" "@babel/plugin-transform-computed-properties@^7.14.5": @@ -710,10 +907,10 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.14.5" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-for-of@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.14.5.tgz#dae384613de8f77c196a8869cbf602a44f7fc0eb" - integrity sha512-CfmqxSUZzBl0rSjpoQSFoR9UEj3HzbGuGNL21/iFTmjb5gFggJp3ph0xR1YBhexmLoKRHzgxuFvty2xdSt6gTA== +"@babel/plugin-transform-for-of@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz#25c62cce2718cfb29715f416e75d5263fb36a8c2" + integrity sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA== dependencies: "@babel/helper-plugin-utils" "^7.14.5" @@ -748,25 +945,25 @@ "@babel/helper-plugin-utils" "^7.14.5" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.15.0": - version "7.15.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.0.tgz#3305896e5835f953b5cdb363acd9e8c2219a5281" - integrity sha512-3H/R9s8cXcOGE8kgMlmjYYC9nqr5ELiPkJn4q0mypBrjhYQoc+5/Maq69vV4xRPWnkzZuwJPf5rArxpB/35Cig== +"@babel/plugin-transform-modules-commonjs@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz#8201101240eabb5a76c08ef61b2954f767b6b4c1" + integrity sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA== dependencies: - "@babel/helper-module-transforms" "^7.15.0" + "@babel/helper-module-transforms" "^7.15.4" "@babel/helper-plugin-utils" "^7.14.5" - "@babel/helper-simple-access" "^7.14.8" + "@babel/helper-simple-access" "^7.15.4" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.14.5.tgz#c75342ef8b30dcde4295d3401aae24e65638ed29" - integrity sha512-mNMQdvBEE5DcMQaL5LbzXFMANrQjd2W7FPzg34Y4yEz7dBgdaC+9B84dSO+/1Wba98zoDbInctCDo4JGxz1VYA== +"@babel/plugin-transform-modules-systemjs@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz#b42890c7349a78c827719f1d2d0cd38c7d268132" + integrity sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw== dependencies: - "@babel/helper-hoist-variables" "^7.14.5" - "@babel/helper-module-transforms" "^7.14.5" + "@babel/helper-hoist-variables" "^7.15.4" + "@babel/helper-module-transforms" "^7.15.4" "@babel/helper-plugin-utils" "^7.14.5" - "@babel/helper-validator-identifier" "^7.14.5" + "@babel/helper-validator-identifier" "^7.14.9" babel-plugin-dynamic-import-node "^2.3.3" "@babel/plugin-transform-modules-umd@^7.14.5": @@ -806,6 +1003,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" +"@babel/plugin-transform-parameters@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz#5f2285cc3160bf48c8502432716b48504d29ed62" + integrity sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-transform-property-literals@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.14.5.tgz#0ddbaa1f83db3606f1cdf4846fa1dfb473458b34" @@ -860,7 +1064,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-runtime@^7.14.5": +"@babel/plugin-transform-runtime@^7.15.0": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.0.tgz#d3aa650d11678ca76ce294071fda53d7804183b3" integrity sha512-sfHYkLGjhzWTq6xsuQ01oEsUYjkHRux9fW1iUA68dC7Qd8BS1Unq4aZ8itmQp95zUzIcyR2EbNMTzAicFj+guw== @@ -932,30 +1136,30 @@ "@babel/helper-create-regexp-features-plugin" "^7.14.5" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/preset-env@^7.14.9": - version "7.15.0" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.15.0.tgz#e2165bf16594c9c05e52517a194bf6187d6fe464" - integrity sha512-FhEpCNFCcWW3iZLg0L2NPE9UerdtsCR6ZcsGHUX6Om6kbCQeL5QZDqFDmeNHC6/fy6UH3jEge7K4qG5uC9In0Q== +"@babel/preset-env@^7.15.4": + version "7.15.6" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.15.6.tgz#0f3898db9d63d320f21b17380d8462779de57659" + integrity sha512-L+6jcGn7EWu7zqaO2uoTDjjMBW+88FXzV8KvrBl2z6MtRNxlsmUNRlZPaNNPUTgqhyC5DHNFk/2Jmra+ublZWw== dependencies: "@babel/compat-data" "^7.15.0" - "@babel/helper-compilation-targets" "^7.15.0" + "@babel/helper-compilation-targets" "^7.15.4" "@babel/helper-plugin-utils" "^7.14.5" "@babel/helper-validator-option" "^7.14.5" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.14.5" - "@babel/plugin-proposal-async-generator-functions" "^7.14.9" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.15.4" + "@babel/plugin-proposal-async-generator-functions" "^7.15.4" "@babel/plugin-proposal-class-properties" "^7.14.5" - "@babel/plugin-proposal-class-static-block" "^7.14.5" + "@babel/plugin-proposal-class-static-block" "^7.15.4" "@babel/plugin-proposal-dynamic-import" "^7.14.5" "@babel/plugin-proposal-export-namespace-from" "^7.14.5" "@babel/plugin-proposal-json-strings" "^7.14.5" "@babel/plugin-proposal-logical-assignment-operators" "^7.14.5" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5" "@babel/plugin-proposal-numeric-separator" "^7.14.5" - "@babel/plugin-proposal-object-rest-spread" "^7.14.7" + "@babel/plugin-proposal-object-rest-spread" "^7.15.6" "@babel/plugin-proposal-optional-catch-binding" "^7.14.5" "@babel/plugin-proposal-optional-chaining" "^7.14.5" "@babel/plugin-proposal-private-methods" "^7.14.5" - "@babel/plugin-proposal-private-property-in-object" "^7.14.5" + "@babel/plugin-proposal-private-property-in-object" "^7.15.4" "@babel/plugin-proposal-unicode-property-regex" "^7.14.5" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" @@ -974,25 +1178,25 @@ "@babel/plugin-transform-arrow-functions" "^7.14.5" "@babel/plugin-transform-async-to-generator" "^7.14.5" "@babel/plugin-transform-block-scoped-functions" "^7.14.5" - "@babel/plugin-transform-block-scoping" "^7.14.5" - "@babel/plugin-transform-classes" "^7.14.9" + "@babel/plugin-transform-block-scoping" "^7.15.3" + "@babel/plugin-transform-classes" "^7.15.4" "@babel/plugin-transform-computed-properties" "^7.14.5" "@babel/plugin-transform-destructuring" "^7.14.7" "@babel/plugin-transform-dotall-regex" "^7.14.5" "@babel/plugin-transform-duplicate-keys" "^7.14.5" "@babel/plugin-transform-exponentiation-operator" "^7.14.5" - "@babel/plugin-transform-for-of" "^7.14.5" + "@babel/plugin-transform-for-of" "^7.15.4" "@babel/plugin-transform-function-name" "^7.14.5" "@babel/plugin-transform-literals" "^7.14.5" "@babel/plugin-transform-member-expression-literals" "^7.14.5" "@babel/plugin-transform-modules-amd" "^7.14.5" - "@babel/plugin-transform-modules-commonjs" "^7.15.0" - "@babel/plugin-transform-modules-systemjs" "^7.14.5" + "@babel/plugin-transform-modules-commonjs" "^7.15.4" + "@babel/plugin-transform-modules-systemjs" "^7.15.4" "@babel/plugin-transform-modules-umd" "^7.14.5" "@babel/plugin-transform-named-capturing-groups-regex" "^7.14.9" "@babel/plugin-transform-new-target" "^7.14.5" "@babel/plugin-transform-object-super" "^7.14.5" - "@babel/plugin-transform-parameters" "^7.14.5" + "@babel/plugin-transform-parameters" "^7.15.4" "@babel/plugin-transform-property-literals" "^7.14.5" "@babel/plugin-transform-regenerator" "^7.14.5" "@babel/plugin-transform-reserved-words" "^7.14.5" @@ -1004,7 +1208,7 @@ "@babel/plugin-transform-unicode-escapes" "^7.14.5" "@babel/plugin-transform-unicode-regex" "^7.14.5" "@babel/preset-modules" "^0.1.4" - "@babel/types" "^7.15.0" + "@babel/types" "^7.15.6" babel-plugin-polyfill-corejs2 "^0.2.2" babel-plugin-polyfill-corejs3 "^0.2.2" babel-plugin-polyfill-regenerator "^0.2.2" @@ -1034,7 +1238,7 @@ "@babel/plugin-transform-react-jsx-development" "^7.14.5" "@babel/plugin-transform-react-pure-annotations" "^7.14.5" -"@babel/preset-typescript@^7.14.0": +"@babel/preset-typescript@^7.15.0": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.15.0.tgz#e8fca638a1a0f64f14e1119f7fe4500277840945" integrity sha512-lt0Y/8V3y06Wq/8H/u0WakrqciZ7Fz7mwPDHWUJAXlABL5hiUG42BNlRXiELNjeWjO5rWmnNKlx+yzJvxezHow== @@ -1058,12 +1262,19 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/standalone@^7.14.9": - version "7.15.3" - resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.15.3.tgz#60f74273202ffcc6bb1428918053449fe477227c" - integrity sha512-Bst2YWEyQ2ROyO0+jxPVnnkSmUh44/x54+LSbe5M4N5LGfOkxpajEUKVE4ndXtIVrLlHCyuiqCPwv3eC1ItnCg== +"@babel/runtime@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.4.tgz#fd17d16bfdf878e6dd02d19753a39fa8a8d9c84a" + integrity sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw== + dependencies: + regenerator-runtime "^0.13.4" -"@babel/template@^7.10.4", "@babel/template@^7.12.7", "@babel/template@^7.14.0", "@babel/template@^7.14.5", "@babel/template@^7.3.3": +"@babel/standalone@^7.15.5": + version "7.15.7" + resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.15.7.tgz#97c04d0dda7c3b2b8d2679957d619ac581471d4d" + integrity sha512-1dPLi+eQEJE0g1GnUM0Ik2GcS5SMXivoxt6meQxQxGWEd/DCdSBRJClUVlQ25Vbqe49g1HG5Ej0ULhmsqtSMmg== + +"@babel/template@^7.10.4", "@babel/template@^7.12.7", "@babel/template@^7.14.5", "@babel/template@^7.3.3": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4" integrity sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g== @@ -1072,7 +1283,16 @@ "@babel/parser" "^7.14.5" "@babel/types" "^7.14.5" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.10.5", "@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.14.9", "@babel/traverse@^7.15.0", "@babel/traverse@^7.7.2": +"@babel/template@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.15.4.tgz#51898d35dcf3faa670c4ee6afcfd517ee139f194" + integrity sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/parser" "^7.15.4" + "@babel/types" "^7.15.4" + +"@babel/traverse@^7.1.0", "@babel/traverse@^7.10.5", "@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.15.0", "@babel/traverse@^7.7.2": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.0.tgz#4cca838fd1b2a03283c1f38e141f639d60b3fc98" integrity sha512-392d8BN0C9eVxVWd8H6x9WfipgVH5IaIoLp23334Sc1vbKKWINnvwRpb4us0xtPaCumlwbTtIYNA0Dv/32sVFw== @@ -1087,6 +1307,21 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.15.4": + version "7.15.4" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.4.tgz#ff8510367a144bfbff552d9e18e28f3e2889c22d" + integrity sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.4" + "@babel/helper-function-name" "^7.15.4" + "@babel/helper-hoist-variables" "^7.15.4" + "@babel/helper-split-export-declaration" "^7.15.4" + "@babel/parser" "^7.15.4" + "@babel/types" "^7.15.4" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.0.0-beta.49", "@babel/types@^7.10.5", "@babel/types@^7.12.7", "@babel/types@^7.14.5", "@babel/types@^7.14.8", "@babel/types@^7.14.9", "@babel/types@^7.15.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.0.tgz#61af11f2286c4e9c69ca8deb5f4375a73c72dcbd" @@ -1095,6 +1330,14 @@ "@babel/helper-validator-identifier" "^7.14.9" to-fast-properties "^2.0.0" +"@babel/types@^7.15.4", "@babel/types@^7.15.6": + version "7.15.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.6.tgz#99abdc48218b2881c058dd0a7ab05b99c9be758f" + integrity sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig== + dependencies: + "@babel/helper-validator-identifier" "^7.14.9" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -1162,6 +1405,15 @@ esquery "^1.4.0" jsdoc-type-pratt-parser "1.1.1" +"@es-joy/jsdoccomment@0.10.8": + version "0.10.8" + resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.10.8.tgz#b3152887e25246410ed4ea569a55926ec13b2b05" + integrity sha512-3P1JiGL4xaR9PoTKUHa2N/LKwa2/eUdRqGwijMWWgBqbFEqJUVpmaOi2TcjcemrsRMgFLBzQCK4ToPhrSVDiFQ== + dependencies: + comment-parser "1.2.4" + esquery "^1.4.0" + jsdoc-type-pratt-parser "1.1.1" + "@eslint/eslintrc@^0.4.3": version "0.4.3" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c" @@ -1442,94 +1694,94 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.0.6.tgz#3eb72ea80897495c3d73dd97aab7f26770e2260f" - integrity sha512-fMlIBocSHPZ3JxgWiDNW/KPj6s+YRd0hicb33IrmelCcjXo/pXPwvuiKFmZz+XuqI/1u7nbUK10zSsWL/1aegg== +"@jest/console@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.2.0.tgz#57f702837ec52899be58c3794dce5941c77a8b63" + integrity sha512-35z+RqsK2CCgNxn+lWyK8X4KkaDtfL4BggT7oeZ0JffIiAiEYFYPo5B67V50ZubqDS1ehBrdCR2jduFnIrZOYw== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^27.0.6" - jest-util "^27.0.6" + jest-message-util "^27.2.0" + jest-util "^27.2.0" slash "^3.0.0" -"@jest/core@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.0.6.tgz#c5f642727a0b3bf0f37c4b46c675372d0978d4a1" - integrity sha512-SsYBm3yhqOn5ZLJCtccaBcvD/ccTLCeuDv8U41WJH/V1MW5eKUkeMHT9U+Pw/v1m1AIWlnIW/eM2XzQr0rEmow== +"@jest/core@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.2.0.tgz#61fc27b244e9709170ed9ffe41b006add569f1b3" + integrity sha512-E/2NHhq+VMo18DpKkoty8Sjey8Kps5Cqa88A8NP757s6JjYqPdioMuyUBhDiIOGCdQByEp0ou3jskkTszMS0nw== dependencies: - "@jest/console" "^27.0.6" - "@jest/reporters" "^27.0.6" - "@jest/test-result" "^27.0.6" - "@jest/transform" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/console" "^27.2.0" + "@jest/reporters" "^27.2.0" + "@jest/test-result" "^27.2.0" + "@jest/transform" "^27.2.0" + "@jest/types" "^27.1.1" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" emittery "^0.8.1" exit "^0.1.2" graceful-fs "^4.2.4" - jest-changed-files "^27.0.6" - jest-config "^27.0.6" - jest-haste-map "^27.0.6" - jest-message-util "^27.0.6" + jest-changed-files "^27.1.1" + jest-config "^27.2.0" + jest-haste-map "^27.2.0" + jest-message-util "^27.2.0" jest-regex-util "^27.0.6" - jest-resolve "^27.0.6" - jest-resolve-dependencies "^27.0.6" - jest-runner "^27.0.6" - jest-runtime "^27.0.6" - jest-snapshot "^27.0.6" - jest-util "^27.0.6" - jest-validate "^27.0.6" - jest-watcher "^27.0.6" + jest-resolve "^27.2.0" + jest-resolve-dependencies "^27.2.0" + jest-runner "^27.2.0" + jest-runtime "^27.2.0" + jest-snapshot "^27.2.0" + jest-util "^27.2.0" + jest-validate "^27.2.0" + jest-watcher "^27.2.0" micromatch "^4.0.4" p-each-series "^2.1.0" rimraf "^3.0.0" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.0.6.tgz#ee293fe996db01d7d663b8108fa0e1ff436219d2" - integrity sha512-4XywtdhwZwCpPJ/qfAkqExRsERW+UaoSRStSHCCiQTUpoYdLukj+YJbQSFrZjhlUDRZeNiU9SFH0u7iNimdiIg== +"@jest/environment@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.2.0.tgz#48d1dbfa65f8e4a5a5c6cbeb9c59d1a5c2776f6b" + integrity sha512-iPWmQI0wRIYSZX3wKu4FXHK4eIqkfq6n1DCDJS+v3uby7SOXrHvX4eiTBuEdSvtDRMTIH2kjrSkjHf/F9JIYyQ== dependencies: - "@jest/fake-timers" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/fake-timers" "^27.2.0" + "@jest/types" "^27.1.1" "@types/node" "*" - jest-mock "^27.0.6" + jest-mock "^27.1.1" -"@jest/fake-timers@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.0.6.tgz#cbad52f3fe6abe30e7acb8cd5fa3466b9588e3df" - integrity sha512-sqd+xTWtZ94l3yWDKnRTdvTeZ+A/V7SSKrxsrOKSqdyddb9CeNRF8fbhAU0D7ZJBpTTW2nbp6MftmKJDZfW2LQ== +"@jest/fake-timers@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.2.0.tgz#560841bc21ae7fbeff0cbff8de8f5cf43ad3561d" + integrity sha512-gSu3YHvQOoVaTWYGgHFB7IYFtcF2HBzX4l7s47VcjvkUgL4/FBnE20x7TNLa3W6ABERtGd5gStSwsA8bcn+c4w== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" "@sinonjs/fake-timers" "^7.0.2" "@types/node" "*" - jest-message-util "^27.0.6" - jest-mock "^27.0.6" - jest-util "^27.0.6" + jest-message-util "^27.2.0" + jest-mock "^27.1.1" + jest-util "^27.2.0" -"@jest/globals@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.0.6.tgz#48e3903f99a4650673d8657334d13c9caf0e8f82" - integrity sha512-DdTGCP606rh9bjkdQ7VvChV18iS7q0IMJVP1piwTWyWskol4iqcVwthZmoJEf7obE1nc34OpIyoVGPeqLC+ryw== +"@jest/globals@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.2.0.tgz#4d7085f51df5ac70c8240eb3501289676503933d" + integrity sha512-raqk9Gf9WC3hlBa57rmRmJfRl9hom2b+qEE/ifheMtwn5USH5VZxzrHHOZg0Zsd/qC2WJ8UtyTwHKQAnNlDMdg== dependencies: - "@jest/environment" "^27.0.6" - "@jest/types" "^27.0.6" - expect "^27.0.6" + "@jest/environment" "^27.2.0" + "@jest/types" "^27.1.1" + expect "^27.2.0" -"@jest/reporters@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.0.6.tgz#91e7f2d98c002ad5df94d5b5167c1eb0b9fd5b00" - integrity sha512-TIkBt09Cb2gptji3yJXb3EE+eVltW6BjO7frO7NEfjI9vSIYoISi5R3aI3KpEDXlB1xwB+97NXIqz84qYeYsfA== +"@jest/reporters@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.2.0.tgz#629886d9a42218e504a424889a293abb27919e25" + integrity sha512-7wfkE3iRTLaT0F51h1mnxH3nQVwDCdbfgXiLuCcNkF1FnxXLH9utHqkSLIiwOTV1AtmiE0YagHbOvx4rnMP/GA== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^27.0.6" - "@jest/test-result" "^27.0.6" - "@jest/transform" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/console" "^27.2.0" + "@jest/test-result" "^27.2.0" + "@jest/transform" "^27.2.0" + "@jest/types" "^27.1.1" chalk "^4.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" @@ -1540,10 +1792,10 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.0.2" - jest-haste-map "^27.0.6" - jest-resolve "^27.0.6" - jest-util "^27.0.6" - jest-worker "^27.0.6" + jest-haste-map "^27.2.0" + jest-resolve "^27.2.0" + jest-util "^27.2.0" + jest-worker "^27.2.0" slash "^3.0.0" source-map "^0.6.0" string-length "^4.0.1" @@ -1559,41 +1811,41 @@ graceful-fs "^4.2.4" source-map "^0.6.0" -"@jest/test-result@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.0.6.tgz#3fa42015a14e4fdede6acd042ce98c7f36627051" - integrity sha512-ja/pBOMTufjX4JLEauLxE3LQBPaI2YjGFtXexRAjt1I/MbfNlMx0sytSX3tn5hSLzQsR3Qy2rd0hc1BWojtj9w== +"@jest/test-result@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.2.0.tgz#377b46a41a6415dd4839fd0bed67b89fecea6b20" + integrity sha512-JPPqn8h0RGr4HyeY1Km+FivDIjTFzDROU46iAvzVjD42ooGwYoqYO/MQTilhfajdz6jpVnnphFrKZI5OYrBONA== dependencies: - "@jest/console" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/console" "^27.2.0" + "@jest/types" "^27.1.1" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.0.6.tgz#80a913ed7a1130545b1cd777ff2735dd3af5d34b" - integrity sha512-bISzNIApazYOlTHDum9PwW22NOyDa6VI31n6JucpjTVM0jD6JDgqEZ9+yn575nDdPF0+4csYDxNNW13NvFQGZA== +"@jest/test-sequencer@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.2.0.tgz#b02b507687825af2fdc84e90c539d36fd8cf7bc9" + integrity sha512-PrqarcpzOU1KSAK7aPwfL8nnpaqTMwPe7JBPnaOYRDSe/C6AoJiL5Kbnonqf1+DregxZIRAoDg69R9/DXMGqXA== dependencies: - "@jest/test-result" "^27.0.6" + "@jest/test-result" "^27.2.0" graceful-fs "^4.2.4" - jest-haste-map "^27.0.6" - jest-runtime "^27.0.6" + jest-haste-map "^27.2.0" + jest-runtime "^27.2.0" -"@jest/transform@^27.0.6": - version "27.0.6" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.0.6.tgz#189ad7107413208f7600f4719f81dd2f7278cc95" - integrity sha512-rj5Dw+mtIcntAUnMlW/Vju5mr73u8yg+irnHwzgtgoeI6cCPOvUwQ0D1uQtc/APmWgvRweEb1g05pkUpxH3iCA== +"@jest/transform@^27.2.0": + version "27.2.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.2.0.tgz#e7e6e49d2591792db2385c33cdbb4379d407068d" + integrity sha512-Q8Q/8xXIZYllk1AF7Ou5sV3egOZsdY/Wlv09CSbcexBRcC1Qt6lVZ7jRFAZtbHsEEzvOCyFEC4PcrwKwyjXtCg== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" babel-plugin-istanbul "^6.0.0" chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.4" - jest-haste-map "^27.0.6" + jest-haste-map "^27.2.0" jest-regex-util "^27.0.6" - jest-util "^27.0.6" + jest-util "^27.2.0" micromatch "^4.0.4" pirates "^4.0.1" slash "^3.0.0" @@ -1621,6 +1873,17 @@ "@types/yargs" "^16.0.0" chalk "^4.0.0" +"@jest/types@^27.1.1": + version "27.1.1" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.1.1.tgz#77a3fc014f906c65752d12123a0134359707c0ad" + integrity sha512-yqJPDDseb0mXgKqmNqypCsb85C22K1aY5+LUxh7syIM9n/b0AsaltxNy+o6tt29VcfGDpYEve175bm3uOhcehA== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^16.0.0" + chalk "^4.0.0" + "@mdx-js/mdx@^1.6.22": version "1.6.22" resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.6.22.tgz#8a723157bf90e78f17dc0f27995398e6c731f1ba" @@ -1699,10 +1962,10 @@ schema-utils "^2.6.5" source-map "^0.7.3" -"@popperjs/core@^2.9.3": - version "2.9.3" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.9.3.tgz#8b68da1ebd7fc603999cf6ebee34a4899a14b88e" - integrity sha512-xDu17cEfh7Kid/d95kB6tZsLOmSWKCZKtprnhVepjsSaCij+lM3mItSJDuuHDMbCWTh8Ejmebwb+KONcCJ0eXQ== +"@popperjs/core@^2.10.1": + version "2.10.1" + resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.10.1.tgz#728ecd95ab207aab8a9a4e421f0422db329232be" + integrity sha512-HnUhk1Sy9IuKrxEMdIRCxpIqPw6BFsbYSEUO9p/hNw5sMld/+3OLMWQP80F8/db9qsv3qUjs7ZR5bS/R+iinXw== "@rollup/plugin-commonjs@^20.0.0": version "20.0.0" @@ -1768,10 +2031,10 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== -"@sindresorhus/is@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd" - integrity sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow== +"@sindresorhus/is@^4.0.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.2.0.tgz#667bfc6186ae7c9e0b45a08960c551437176e1ca" + integrity sha512-VkE3KLBmJwcCaVARtQpfuKcKv8gcBmUubrfHGF84dXuuW6jgsRYxPtzcIhPyK9WAPpRt2/xY6zkD9MnRaJzSyw== "@sindresorhus/slugify@^1.1.2": version "1.1.2" @@ -1810,6 +2073,13 @@ dependencies: defer-to-connect "^1.0.1" +"@szmarczak/http-timer@^4.0.5": + version "4.0.6" + resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" + integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== + dependencies: + defer-to-connect "^2.0.0" + "@testing-library/dom@^8.0.0": version "8.1.0" resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.1.0.tgz#f8358b1883844ea569ba76b7e94582168df5370d" @@ -1839,10 +2109,10 @@ lodash "^4.17.15" redent "^3.0.0" -"@testing-library/react@^12.0.0": - version "12.0.0" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-12.0.0.tgz#9aeb2264521522ab9b68f519eaf15136148f164a" - integrity sha512-sh3jhFgEshFyJ/0IxGltRhwZv2kFKfJ3fN1vTZ6hhMXzz9ZbbcTgmDYM4e+zJv+oiVKKEWZPyqPAh4MQBI65gA== +"@testing-library/react@^12.1.0": + version "12.1.0" + resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-12.1.0.tgz#3e9a4002b0b8f986a738a2f88fc458b5af319f35" + integrity sha512-Ge3Ht3qXE82Yv9lyPpQ7ZWgzo/HgOcHu569Y4ZGWcZME38iOFiOg87qnu6hTEa8jTJVL7zYovnvD3GE2nsNIoQ== dependencies: "@babel/runtime" "^7.12.5" "@testing-library/dom" "^8.0.0" @@ -1912,6 +2182,16 @@ dependencies: "@babel/types" "^7.3.0" +"@types/cacheable-request@^6.0.1": + version "6.0.2" + resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.2.tgz#c324da0197de0a98a2312156536ae262429ff6b9" + integrity sha512-B3xVo+dlKM6nnKTcmm5ZtY/OL8bOAOd2Olee9M1zft65ox50OzjEHW91sDiU9j6cvW8Ejg1/Qkf4xd2kugApUA== + dependencies: + "@types/http-cache-semantics" "*" + "@types/keyv" "*" + "@types/node" "*" + "@types/responselike" "*" + "@types/common-tags@^1.8.0": version "1.8.1" resolved "https://registry.yarnpkg.com/@types/common-tags/-/common-tags-1.8.1.tgz#a5a49ca5ebbb58e0f8947f3ec98950c8970a68a9" @@ -2003,6 +2283,11 @@ dependencies: "@types/unist" "*" +"@types/http-cache-semantics@*": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" + integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== + "@types/http-proxy@^1.17.4": version "1.17.7" resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.7.tgz#30ea85cc2c868368352a37f0d0d3581e24834c6f" @@ -2055,6 +2340,18 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ== +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" + integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= + +"@types/keyv@*": + version "3.1.3" + resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.3.tgz#1c9aae32872ec1f20dcdaee89a9f3ba88f465e41" + integrity sha512-FXCJgyyN3ivVgRoml4h94G/p3kY+u/B86La+QptcqJaWtBWtmc6TtkNfS40n9bIvyLteHh7zXOtgbobORKPbDg== + dependencies: + "@types/node" "*" + "@types/lodash@^4.14.92": version "4.14.172" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.172.tgz#aad774c28e7bfd7a67de25408e03ee5a8c3d028a" @@ -2148,14 +2445,14 @@ dependencies: "@types/react" "*" -"@types/react-transition-group@^4.4.2": - version "4.4.2" - resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.2.tgz#38890fd9db68bf1f2252b99a942998dc7877c5b3" - integrity sha512-KibDWL6nshuOJ0fu8ll7QnV/LVTo3PzQ9aCPnRUYPfX7eZohHwLIdNHj7pftanREzHNP4/nJa8oeM73uSiavMQ== +"@types/react-transition-group@^4.4.3": + version "4.4.3" + resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.3.tgz#b0994da0a7023d67dbb4a8910a62112bc00d5688" + integrity sha512-fUx5muOWSYP8Bw2BUQ9M9RK9+W1XBK/7FLJ8PTQpnpTEkn0ccyMffyEQvan4C3h53gHdx7KE5Qrxi/LnUGQtdg== dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^17.0.19": +"@types/react@*": version "17.0.19" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.19.tgz#8f2a85e8180a43b57966b237d26a29481dacc991" integrity sha512-sX1HisdB1/ZESixMTGnMxH9TDe8Sk709734fEQZzCV/4lSu9kJCPbo2PbTRoZM+53Pp0P10hYVyReUueGwUi4A== @@ -2164,6 +2461,15 @@ "@types/scheduler" "*" csstype "^3.0.2" +"@types/react@^17.0.21": + version "17.0.21" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.21.tgz#069c43177cd419afaab5ce26bb4e9056549f7ea6" + integrity sha512-GzzXCpOthOjXvrAUFQwU/svyxu658cwu00Q9ugujS4qc1zXgLFaO0kS2SLOaMWLt2Jik781yuHCWB7UcYdGAeQ== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + "@types/resolve@1.17.1": version "1.17.1" resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" @@ -2171,6 +2477,13 @@ dependencies: "@types/node" "*" +"@types/responselike@*", "@types/responselike@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" + integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== + dependencies: + "@types/node" "*" + "@types/rimraf@^2.0.2": version "2.0.5" resolved "https://registry.yarnpkg.com/@types/rimraf/-/rimraf-2.0.5.tgz#368fb04d59630b727fc05a74d2ca557f64a8ef98" @@ -2260,7 +2573,7 @@ resolved "https://registry.yarnpkg.com/@types/yoga-layout/-/yoga-layout-1.9.2.tgz#efaf9e991a7390dc081a0b679185979a83a9639a" integrity sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw== -"@typescript-eslint/eslint-plugin@^4.28.1", "@typescript-eslint/eslint-plugin@^4.29.1", "@typescript-eslint/eslint-plugin@^4.29.2": +"@typescript-eslint/eslint-plugin@^4.29.1": version "4.29.2" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.29.2.tgz#f54dc0a32b8f61c6024ab8755da05363b733838d" integrity sha512-x4EMgn4BTfVd9+Z+r+6rmWxoAzBaapt4QFqE+d8L8sUtYZYLDTK6VG/y/SMMWA5t1/BVU5Kf+20rX4PtWzUYZg== @@ -2273,6 +2586,19 @@ semver "^7.3.5" tsutils "^3.21.0" +"@typescript-eslint/eslint-plugin@^4.29.3", "@typescript-eslint/eslint-plugin@^4.31.1": + version "4.31.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.31.1.tgz#e938603a136f01dcabeece069da5fb2e331d4498" + integrity sha512-UDqhWmd5i0TvPLmbK5xY3UZB0zEGseF+DHPghZ37Sb83Qd3p8ujhvAtkU4OF46Ka5Pm5kWvFIx0cCTBFKo0alA== + dependencies: + "@typescript-eslint/experimental-utils" "4.31.1" + "@typescript-eslint/scope-manager" "4.31.1" + debug "^4.3.1" + functional-red-black-tree "^1.0.1" + regexpp "^3.1.0" + semver "^7.3.5" + tsutils "^3.21.0" + "@typescript-eslint/experimental-utils@4.29.2": version "4.29.2" resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.29.2.tgz#5f67fb5c5757ef2cb3be64817468ba35c9d4e3b7" @@ -2285,7 +2611,19 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/parser@^4.28.1", "@typescript-eslint/parser@^4.29.1", "@typescript-eslint/parser@^4.29.2": +"@typescript-eslint/experimental-utils@4.31.1": + version "4.31.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.31.1.tgz#0c900f832f270b88e13e51753647b02d08371ce5" + integrity sha512-NtoPsqmcSsWty0mcL5nTZXMf7Ei0Xr2MT8jWjXMVgRK0/1qeQ2jZzLFUh4QtyJ4+/lPUyMw5cSfeeME+Zrtp9Q== + dependencies: + "@types/json-schema" "^7.0.7" + "@typescript-eslint/scope-manager" "4.31.1" + "@typescript-eslint/types" "4.31.1" + "@typescript-eslint/typescript-estree" "4.31.1" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + +"@typescript-eslint/parser@^4.29.1": version "4.29.2" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.29.2.tgz#1c7744f4c27aeb74610c955d3dce9250e95c370a" integrity sha512-WQ6BPf+lNuwteUuyk1jD/aHKqMQ9jrdCn7Gxt9vvBnzbpj7aWEf+aZsJ1zvTjx5zFxGCt000lsbD9tQPEL8u6g== @@ -2295,6 +2633,16 @@ "@typescript-eslint/typescript-estree" "4.29.2" debug "^4.3.1" +"@typescript-eslint/parser@^4.29.3", "@typescript-eslint/parser@^4.31.1": + version "4.31.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.31.1.tgz#8f9a2672033e6f6d33b1c0260eebdc0ddf539064" + integrity sha512-dnVZDB6FhpIby6yVbHkwTKkn2ypjVIfAR9nh+kYsA/ZL0JlTsd22BiDjouotisY3Irmd3OW1qlk9EI5R8GrvRQ== + dependencies: + "@typescript-eslint/scope-manager" "4.31.1" + "@typescript-eslint/types" "4.31.1" + "@typescript-eslint/typescript-estree" "4.31.1" + debug "^4.3.1" + "@typescript-eslint/scope-manager@4.29.2": version "4.29.2" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.29.2.tgz#442b0f029d981fa402942715b1718ac7fcd5aa1b" @@ -2303,11 +2651,24 @@ "@typescript-eslint/types" "4.29.2" "@typescript-eslint/visitor-keys" "4.29.2" +"@typescript-eslint/scope-manager@4.31.1": + version "4.31.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.31.1.tgz#0c21e8501f608d6a25c842fcf59541ef4f1ab561" + integrity sha512-N1Uhn6SqNtU2XpFSkD4oA+F0PfKdWHyr4bTX0xTj8NRx1314gBDRL1LUuZd5+L3oP+wo6hCbZpaa1in6SwMcVQ== + dependencies: + "@typescript-eslint/types" "4.31.1" + "@typescript-eslint/visitor-keys" "4.31.1" + "@typescript-eslint/types@4.29.2": version "4.29.2" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.29.2.tgz#fc0489c6b89773f99109fb0aa0aaddff21f52fcd" integrity sha512-K6ApnEXId+WTGxqnda8z4LhNMa/pZmbTFkDxEBLQAbhLZL50DjeY0VIDCml/0Y3FlcbqXZrABqrcKxq+n0LwzQ== +"@typescript-eslint/types@4.31.1": + version "4.31.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.31.1.tgz#5f255b695627a13401d2fdba5f7138bc79450d66" + integrity sha512-kixltt51ZJGKENNW88IY5MYqTBA8FR0Md8QdGbJD2pKZ+D5IvxjTYDNtJPDxFBiXmka2aJsITdB1BtO1fsgmsQ== + "@typescript-eslint/typescript-estree@4.29.2": version "4.29.2" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.29.2.tgz#a0ea8b98b274adbb2577100ba545ddf8bf7dc219" @@ -2321,6 +2682,19 @@ semver "^7.3.5" tsutils "^3.21.0" +"@typescript-eslint/typescript-estree@4.31.1": + version "4.31.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.31.1.tgz#4a04d5232cf1031232b7124a9c0310b577a62d17" + integrity sha512-EGHkbsUvjFrvRnusk6yFGqrqMBTue5E5ROnS5puj3laGQPasVUgwhrxfcgkdHNFECHAewpvELE1Gjv0XO3mdWg== + dependencies: + "@typescript-eslint/types" "4.31.1" + "@typescript-eslint/visitor-keys" "4.31.1" + debug "^4.3.1" + globby "^11.0.3" + is-glob "^4.0.1" + semver "^7.3.5" + tsutils "^3.21.0" + "@typescript-eslint/visitor-keys@4.29.2": version "4.29.2" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.29.2.tgz#d2da7341f3519486f50655159f4e5ecdcb2cd1df" @@ -2329,6 +2703,19 @@ "@typescript-eslint/types" "4.29.2" eslint-visitor-keys "^2.0.0" +"@typescript-eslint/visitor-keys@4.31.1": + version "4.31.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.31.1.tgz#f2e7a14c7f20c4ae07d7fc3c5878c4441a1da9cc" + integrity sha512-PCncP8hEqKw6SOJY+3St4LVtoZpPPn+Zlpm7KW5xnviMhdqcsBty4Lsg4J/VECpJjw1CkROaZhH4B8M1OfnXTQ== + dependencies: + "@typescript-eslint/types" "4.31.1" + eslint-visitor-keys "^2.0.0" + +"@vercel/webpack-asset-relocator-loader@^1.6.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.0.tgz#d3b707e0aba3111719f941dacb2408eff3c27319" + integrity sha512-1Dy3BdOliDwxA7VZSIg55E1d/us2KvsCQOZV25fgufG//CsnZBGiSAL7qewTQf7YVHH0A9PHgzwMmKIZ8aFYVw== + "@webassemblyjs/ast@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" @@ -2541,17 +2928,12 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv-errors@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" - integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== - -ajv-keywords@^3.1.0, ajv-keywords@^3.5.2: +ajv-keywords@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== -ajv@^6.1.0, ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5: +ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -2588,11 +2970,6 @@ ansi-align@^3.0.0: dependencies: string-width "^3.0.0" -ansi-colors@^3.0.0: - version "3.2.4" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" - integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== - ansi-colors@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" @@ -2635,7 +3012,7 @@ ansi-regex@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== -ansi-styles@^3.2.0, ansi-styles@^3.2.1: +ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== @@ -2654,14 +3031,6 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== -anymatch@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" - integrity sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw== - dependencies: - micromatch "^3.1.4" - normalize-path "^2.1.1" - anymatch@^3.0.3, anymatch@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" @@ -2748,11 +3117,6 @@ array-flatten@1.1.1: resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= -array-flatten@^2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" - integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== - array-includes@^3.1.1, array-includes@^3.1.2, array-includes@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.3.tgz#c7f619b382ad2afaf5326cddfdc0afc61af7690a" @@ -2769,23 +3133,11 @@ array-iterate@^1.0.0: resolved "https://registry.yarnpkg.com/array-iterate/-/array-iterate-1.1.4.tgz#add1522e9dd9749bb41152d08b845bd08d6af8b7" integrity sha512-sNRaPGh9nnmdC8Zf+pT3UqP8rnWj5Hf9wiFGsX3wUQ2yVSIhO2ShFwCoceIPpB41QF6i2OEmrHmCo36xronCVA== -array-union@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" - integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= - dependencies: - array-uniq "^1.0.1" - array-union@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array-uniq@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" - integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= - array-unique@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" @@ -2837,16 +3189,6 @@ async-cache@^1.1.0: dependencies: lru-cache "^4.0.0" -async-each@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" - integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== - -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - async-retry-ng@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/async-retry-ng/-/async-retry-ng-2.0.1.tgz#f5285ec1c52654a2ba6a505d0c18b1eadfaebd41" @@ -2857,13 +3199,6 @@ async@1.5.2: resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo= -async@^2.6.2: - version "2.6.3" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" - integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== - dependencies: - lodash "^4.17.14" - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2903,16 +3238,16 @@ axobject-query@^2.2.0: resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA== -babel-jest@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.0.6.tgz#e99c6e0577da2655118e3608b68761a5a69bd0d8" - integrity sha512-iTJyYLNc4wRofASmofpOc5NK9QunwMk+TLFgGXsTFS8uEqmd8wdI7sga0FPe2oVH3b5Agt/EAK1QjPEuKL8VfA== +babel-jest@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.2.0.tgz#c0f129a81f1197028aeb4447acbc04564c8bfc52" + integrity sha512-bS2p+KGGVVmWXBa8+i6SO/xzpiz2Q/2LnqLbQknPKefWXVZ67YIjA4iXup/jMOEZplga9PpWn+wrdb3UdDwRaA== dependencies: - "@jest/transform" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/transform" "^27.2.0" + "@jest/types" "^27.1.1" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^27.0.6" + babel-preset-jest "^27.2.0" chalk "^4.0.0" graceful-fs "^4.2.4" slash "^3.0.0" @@ -2965,10 +3300,10 @@ babel-plugin-istanbul@^6.0.0: istanbul-lib-instrument "^4.0.0" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.0.6.tgz#f7c6b3d764af21cb4a2a1ab6870117dbde15b456" - integrity sha512-CewFeM9Vv2gM7Yr9n5eyyLVPRSiBnk6lKZRjgwYnGKSl9M14TMn2vkN02wTF04OGuSDLEzlWiMzvjXuW9mB6Gw== +babel-plugin-jest-hoist@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.2.0.tgz#79f37d43f7e5c4fdc4b2ca3e10cc6cf545626277" + integrity sha512-TOux9khNKdi64mW+0OIhcmbAn75tTlzKhxmiNXevQaPbrBYK7YKjP1jl6NHTJ6XR5UgUrJbCnWlKVnJn29dfjw== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" @@ -3019,10 +3354,13 @@ babel-plugin-polyfill-regenerator@^0.2.2: dependencies: "@babel/helper-define-polyfill-provider" "^0.2.2" -babel-plugin-remove-graphql-queries@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/babel-plugin-remove-graphql-queries/-/babel-plugin-remove-graphql-queries-3.12.0.tgz#b27b2536c893bd706534f2d58be8d9c598f60f04" - integrity sha512-0ZfLBZ3MWJpAOec3x0QqPFOOsHXsSRNtv8OIGE0/bKvG7ke2aUuMldg3REwdN6Aa4S+zYUW02IQfvICsZFryJQ== +babel-plugin-remove-graphql-queries@^3.14.0: + version "3.14.0" + resolved "https://registry.yarnpkg.com/babel-plugin-remove-graphql-queries/-/babel-plugin-remove-graphql-queries-3.14.0.tgz#33b607cbc2824f72aa3d3b68f52912bf295b79c7" + integrity sha512-uRqbsHOcJ1kWn6IK6clZOGHBnQCddiz1LuoGIpv/hcGZCO1nCy16z9KMgEM8TdGG6L6cO31mNr1RcVmvGtcCEw== + dependencies: + "@babel/runtime" "^7.15.4" + gatsby-core-utils "^2.14.0" babel-plugin-transform-react-remove-prop-types@^0.4.24: version "0.4.24" @@ -3047,33 +3385,33 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-gatsby@^1.12.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/babel-preset-gatsby/-/babel-preset-gatsby-1.12.0.tgz#e34ba94b24525cf37471521626c4f4db2f54e2fd" - integrity sha512-8L9E830Pwr15EFarIkBSAP0GU6fVIcdSRaZCgPrHgIUJPjJxeNf+3zB6f3klYiLlj+LICiBpcmls6JosDw+HqQ== +babel-preset-gatsby@^1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/babel-preset-gatsby/-/babel-preset-gatsby-1.14.0.tgz#a2b7ac56c3e2a81909a93b094ec8cccbbdc8b194" + integrity sha512-weu2mSxvlzWUUaSfO67AS005W2+UncMgyTwkGWMoqeNe4MaZxWMtEimxBRVDPHvhW/VQIzeh3aL+gjZ2v9P4oQ== dependencies: "@babel/plugin-proposal-class-properties" "^7.14.0" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5" "@babel/plugin-proposal-optional-chaining" "^7.14.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" - "@babel/plugin-transform-classes" "^7.14.9" - "@babel/plugin-transform-runtime" "^7.14.5" + "@babel/plugin-transform-classes" "^7.15.4" + "@babel/plugin-transform-runtime" "^7.15.0" "@babel/plugin-transform-spread" "^7.14.6" - "@babel/preset-env" "^7.14.9" + "@babel/preset-env" "^7.15.4" "@babel/preset-react" "^7.14.0" - "@babel/runtime" "^7.14.8" + "@babel/runtime" "^7.15.4" babel-plugin-dynamic-import-node "^2.3.3" babel-plugin-macros "^2.8.0" babel-plugin-transform-react-remove-prop-types "^0.4.24" - gatsby-core-utils "^2.12.0" - gatsby-legacy-polyfills "^1.12.0" + gatsby-core-utils "^2.14.0" + gatsby-legacy-polyfills "^1.14.0" -babel-preset-jest@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.0.6.tgz#909ef08e9f24a4679768be2f60a3df0856843f9d" - integrity sha512-WObA0/Biw2LrVVwZkF/2GqbOdzhKD6Fkdwhoy9ASIrOWr/zodcSpQh72JOkEn6NWyjmnPDjNSqaGN4KnpKzhXw== +babel-preset-jest@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.2.0.tgz#556bbbf340608fed5670ab0ea0c8ef2449fba885" + integrity sha512-z7MgQ3peBwN5L5aCqBKnF6iqdlvZvFUQynEhu0J+X9nHLU72jO3iY331lcYrg+AssJ8q7xsv5/3AICzVmJ/wvg== dependencies: - babel-plugin-jest-hoist "^27.0.6" + babel-plugin-jest-hoist "^27.2.0" babel-preset-current-node-syntax "^1.0.0" backo2@^1.0.2, backo2@~1.0.2: @@ -3119,11 +3457,6 @@ base@^0.11.1: mixin-deep "^1.2.0" pascalcase "^0.1.1" -batch@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - integrity sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY= - better-opn@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/better-opn/-/better-opn-2.1.1.tgz#94a55b4695dc79288f31d7d0e5f658320759f7c6" @@ -3150,23 +3483,11 @@ big.js@^5.2.2: resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== -binary-extensions@^1.0.0: - version "1.13.1" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" - integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== - binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -bindings@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - bl@^4.0.0, bl@^4.0.3: version "4.1.0" resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" @@ -3197,18 +3518,6 @@ body-parser@1.19.0, body-parser@^1.19.0: raw-body "2.4.0" type-is "~1.6.17" -bonjour@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5" - integrity sha1-jokKGD2O6aI5OzhExpGkK897yfU= - dependencies: - array-flatten "^2.1.0" - deep-equal "^1.0.1" - dns-equal "^1.0.0" - dns-txt "^2.0.2" - multicast-dns "^6.0.1" - multicast-dns-service-types "^1.1.0" - boolbase@^1.0.0, boolbase@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -3250,7 +3559,7 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^2.3.1, braces@^2.3.2: +braces@^2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== @@ -3318,11 +3627,6 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-indexof@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-indexof/-/buffer-indexof-1.1.1.tgz#52fabcc6a606d1a00302802648ef68f639da268c" - integrity sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g== - buffer@^5.5.0, buffer@^5.7.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" @@ -3378,18 +3682,10 @@ cache-manager@^2.11.1: lodash.clonedeep "4.5.0" lru-cache "4.0.0" -cacheable-request@^2.1.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-2.1.4.tgz#0d808801b6342ad33c91df9d0b44dc09b91e5c3d" - integrity sha1-DYCIAbY0KtM8kd+dC0TcCbkeXD0= - dependencies: - clone-response "1.0.2" - get-stream "3.0.0" - http-cache-semantics "3.8.1" - keyv "3.0.0" - lowercase-keys "1.0.0" - normalize-url "2.0.1" - responselike "1.0.2" +cacheable-lookup@^5.0.3: + version "5.0.4" + resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" + integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== cacheable-request@^6.0.0: version "6.1.0" @@ -3404,6 +3700,19 @@ cacheable-request@^6.0.0: normalize-url "^4.1.0" responselike "^1.0.2" +cacheable-request@^7.0.1: + version "7.0.2" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" + integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== + dependencies: + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^4.0.0" + lowercase-keys "^2.0.0" + normalize-url "^6.0.1" + responselike "^2.0.0" + call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" @@ -3574,7 +3883,7 @@ cheerio@^0.22.0: lodash.reject "^4.4.0" lodash.some "^4.4.0" -"chokidar@>=3.0.0 <4.0.0", chokidar@^3.4.2, chokidar@^3.4.3, chokidar@^3.5.1: +"chokidar@>=3.0.0 <4.0.0", chokidar@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75" integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ== @@ -3589,25 +3898,6 @@ cheerio@^0.22.0: optionalDependencies: fsevents "~2.3.2" -chokidar@^2.1.8: - version "2.1.8" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" - integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== - dependencies: - anymatch "^2.0.0" - async-each "^1.0.1" - braces "^2.3.2" - glob-parent "^3.1.0" - inherits "^2.0.3" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - normalize-path "^3.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.2.1" - upath "^1.1.1" - optionalDependencies: - fsevents "^1.2.7" - chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -3679,15 +3969,6 @@ clipboardy@^2.3.0: execa "^1.0.0" is-wsl "^2.1.1" -cliui@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" - integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== - dependencies: - string-width "^3.1.0" - strip-ansi "^5.2.0" - wrap-ansi "^5.1.0" - cliui@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" @@ -3715,7 +3996,7 @@ clone-deep@^4.0.1: kind-of "^6.0.2" shallow-clone "^3.0.0" -clone-response@1.0.2, clone-response@^1.0.2: +clone-response@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws= @@ -3750,7 +4031,7 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" -color-convert@^1.9.0, color-convert@^1.9.3: +color-convert@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== @@ -3782,12 +4063,12 @@ color-string@^1.6.0: color-name "^1.0.0" simple-swizzle "^0.2.2" -color@^3.1.3: - version "3.2.1" - resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" - integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== +color@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/color/-/color-4.0.1.tgz#21df44cd10245a91b1ccf5ba031609b0e10e7d67" + integrity sha512-rpZjOKN5O7naJxkH2Rx1sZzzBgaiWECc6BYXjeCE6kF0kcASJYbUq02u7JqIHwCb/j3NhV+QhRL2683aICeGZA== dependencies: - color-convert "^1.9.3" + color-convert "^2.0.1" color-string "^1.6.0" colord@^2.0.1, colord@^2.6: @@ -3832,6 +4113,11 @@ comment-parser@1.2.3: resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.2.3.tgz#303a7eb99c9b2632efd594e183ccbd32042caf69" integrity sha512-vnqDwBSXSsdAkGS5NjwMIPelE47q+UkEgWKHvCDNhVIIaQSUFY6sNnEYGzdoPGMdpV+7KR3ZkRd7oyWIjtuvJg== +comment-parser@1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.2.4.tgz#489f3ee55dfd184a6e4bffb31baba284453cb760" + integrity sha512-pm0b+qv+CkWNriSTMsfnjChF9kH0kxz55y44Wo5le9qLxMj5xDQAaEd9ZN1ovSuk9CsrncWaFwgpOMg7ClJwkw== + common-tags@^1.8.0: version "1.8.0" resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937" @@ -3906,11 +4192,6 @@ confusing-browser-globals@^1.0.10: resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz#30d1e7f3d1b882b25ec4933d1d1adac353d20a59" integrity sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA== -connect-history-api-fallback@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" - integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== - console-control-strings@^1.0.0, console-control-strings@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" @@ -4000,19 +4281,6 @@ copy-descriptor@^0.1.0: resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -copyfiles@^2.3.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/copyfiles/-/copyfiles-2.4.1.tgz#d2dcff60aaad1015f09d0b66e7f0f1c5cd3c5da5" - integrity sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg== - dependencies: - glob "^7.0.5" - minimatch "^3.0.3" - mkdirp "^1.0.4" - noms "0.0.0" - through2 "^2.0.1" - untildify "^4.0.0" - yargs "^16.1.0" - core-js-compat@3.9.0: version "3.9.0" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.9.0.tgz#29da39385f16b71e1915565aa0385c4e0963ad56" @@ -4034,10 +4302,10 @@ core-js-pure@^3.16.0: resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.16.2.tgz#0ef4b79cabafb251ea86eb7d139b42bd98c533e8" integrity sha512-oxKe64UH049mJqrKkynWp6Vu0Rlm/BTXO/bJZuN2mmR3RtOFNepLlSWDd1eo16PzHpQAoNG97rLU1V/YxesJjw== -core-js@^3.6.5, core-js@^3.9.0: - version "3.16.2" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.16.2.tgz#3f485822889c7fc48ef463e35be5cc2a4a01a1f4" - integrity sha512-P0KPukO6OjMpjBtHSceAZEWlDD1M2Cpzpg6dBbrjFqFhBHe/BwhxaP820xKOjRn/lZRQirrCusIpLS/n2sgXLQ== +core-js@^3.17.2: + version "3.17.3" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.17.3.tgz#8e8bd20e91df9951e903cabe91f9af4a0895bc1e" + integrity sha512-lyvajs+wd8N1hXfzob1LdOCCHFU4bGMbqqmLn1Q4QlCpDqWPpGf+p0nj+LNrvDDG33j0hZXw2nsvvVpHysxyNw== core-util-is@~1.0.0: version "1.0.2" @@ -4092,10 +4360,12 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -create-gatsby@^1.12.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/create-gatsby/-/create-gatsby-1.12.0.tgz#5b7b74cf30617a2b9d7fad148f46ab532d030869" - integrity sha512-d8wlwgNgKrmd6J+cr4z1Hsis+sCwr9LoxnqSFqFzXcWowlODS5NP8gUZdCZ54hHd+0qIuAA77Wp67GAyhkFlCA== +create-gatsby@^1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/create-gatsby/-/create-gatsby-1.14.0.tgz#ce38df717461757fb6b775e656106c43b55a0f71" + integrity sha512-ba081Li7A7T7cHmcoE4oL+MO12k4ck5MWENPcuF9U8fTbOfICf+r3S0Mr+35YKbxr0w25RzhN5VcOS3+rokgbA== + dependencies: + "@babel/runtime" "^7.15.4" create-require@^1.1.0: version "1.1.1" @@ -4378,7 +4648,7 @@ debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, d dependencies: ms "2.1.2" -debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.6, debug@^3.2.7: +debug@^3.0.0, debug@^3.1.0, debug@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== @@ -4414,23 +4684,18 @@ decompress-response@^4.2.0: dependencies: mimic-response "^2.0.0" +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== + dependencies: + mimic-response "^3.1.0" + dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= -deep-equal@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" - integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== - dependencies: - is-arguments "^1.0.4" - is-date-object "^1.0.1" - is-regex "^1.0.4" - object-is "^1.0.1" - object-keys "^1.1.1" - regexp.prototype.flags "^1.2.0" - deep-extend@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" @@ -4446,19 +4711,16 @@ deepmerge@^4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== -default-gateway@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-4.2.0.tgz#167104c7500c2115f6dd69b0a536bb8ed720552b" - integrity sha512-h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA== - dependencies: - execa "^1.0.0" - ip-regex "^2.1.0" - defer-to-connect@^1.0.1: version "1.1.3" resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== +defer-to-connect@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" + integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== + define-properties@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -4488,19 +4750,6 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" -del@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" - integrity sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ== - dependencies: - "@types/glob" "^7.1.1" - globby "^6.1.0" - is-path-cwd "^2.0.0" - is-path-in-cwd "^2.0.0" - p-map "^2.0.0" - pify "^4.0.1" - rimraf "^2.6.3" - del@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/del/-/del-5.1.0.tgz#d9487c94e367410e6eff2925ee58c0c84a75b3a7" @@ -4560,11 +4809,6 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -detect-node@^2.0.4: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - detect-port-alt@1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/detect-port-alt/-/detect-port-alt-1.1.6.tgz#24707deabe932d4a3cf621302027c2b266568275" @@ -4639,26 +4883,6 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" -dns-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - integrity sha1-s55/HabrCnW6nBcySzR1PEfgZU0= - -dns-packet@^1.3.1: - version "1.3.4" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-1.3.4.tgz#e3455065824a2507ba886c55a89963bb107dec6f" - integrity sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA== - dependencies: - ip "^1.1.0" - safe-buffer "^5.0.1" - -dns-txt@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/dns-txt/-/dns-txt-2.0.2.tgz#b91d806f5d27188e4ab3e7d107d881a1cc4642b6" - integrity sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY= - dependencies: - buffer-indexof "^1.0.0" - doctrine@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" @@ -4931,13 +5155,6 @@ eol@^0.9.1: resolved "https://registry.yarnpkg.com/eol/-/eol-0.9.1.tgz#f701912f504074be35c6117a5c4ade49cd547acd" integrity sha512-Ds/TEoZjwggRoz/Q2O7SE3i4Jm66mqTDfmdHdq/7DKVk3bro9Q8h6WdXKdPqFLMoqxrDK5SVRzHVPOS6uuGtrg== -errno@^0.1.3: - version "0.1.8" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" - integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== - dependencies: - prr "~1.0.1" - error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -5095,10 +5312,10 @@ eslint-module-utils@^2.6.2: debug "^3.2.7" pkg-dir "^2.0.0" -eslint-plugin-flowtype@^5.8.2: - version "5.9.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-5.9.0.tgz#8d2d81d3d79bb53470ed62b97409b31684757e30" - integrity sha512-aBUVPA5Wt0XyuV3Wg8flfVqYJR6yR2nRLuyPwoTjCg5VTk4G1X1zQpInr39tUGgRxqrA+d+B9GYK4+/d1i0Rfw== +eslint-plugin-flowtype@^5.9.2: + version "5.10.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-5.10.0.tgz#7764cc63940f215bf3f0bd2d9a1293b2b9b2b4bb" + integrity sha512-vcz32f+7TP+kvTUyMXZmCnNujBQZDNmcqPImw8b9PZ+16w1Qdm6ryRuYZYVaG9xRqqmAPr2Cs9FAX5gN+x/bjw== dependencies: lodash "^4.17.15" string-natural-compare "^3.0.1" @@ -5113,10 +5330,10 @@ eslint-plugin-graphql@^4.0.0: lodash.flatten "^4.4.0" lodash.without "^4.4.0" -eslint-plugin-import@^2.23.4: - version "2.24.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.24.1.tgz#64aba8b567a1ba9921d5465586e86c491b8e2135" - integrity sha512-KSFWhNxPH8OGJwpRJJs+Z7I0a13E2iFQZJIvSnCu6KUs4qmgAm3xN9GYBCSoiGWmwA7gERZPXqYQjcoCROnYhQ== +eslint-plugin-import@^2.24.2: + version "2.24.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.24.2.tgz#2c8cd2e341f3885918ee27d18479910ade7bb4da" + integrity sha512-hNVtyhiEtZmpsabL4neEj+6M5DCLgpYyG9nzJY8lZQeQXEn5UPW1DpUdsMHMXsq98dbNm7nt1w9ZMSVpfJdi8Q== dependencies: array-includes "^3.1.3" array.prototype.flat "^1.2.4" @@ -5132,7 +5349,7 @@ eslint-plugin-import@^2.23.4: pkg-up "^2.0.0" read-pkg-up "^3.0.0" resolve "^1.20.0" - tsconfig-paths "^3.10.1" + tsconfig-paths "^3.11.0" eslint-plugin-jsdoc@^36.0.7: version "36.0.7" @@ -5149,6 +5366,21 @@ eslint-plugin-jsdoc@^36.0.7: semver "^7.3.5" spdx-expression-parse "^3.0.1" +eslint-plugin-jsdoc@^36.1.0: + version "36.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-36.1.0.tgz#8dfe5f27edfb6aa3812e6d86ccaea849ddc86b03" + integrity sha512-Qpied2AJCQcScxfzTObLKRiP5QgLXjMU/ITjBagEV5p2Q/HpumD1EQtazdRYdjDSwPmXhwOl2yquwOGQ4HOJNw== + dependencies: + "@es-joy/jsdoccomment" "0.10.8" + comment-parser "1.2.4" + debug "^4.3.2" + esquery "^1.4.0" + jsdoc-type-pratt-parser "^1.1.1" + lodash "^4.17.21" + regextras "^0.8.0" + semver "^7.3.5" + spdx-expression-parse "^3.0.1" + eslint-plugin-jsx-a11y@^6.4.1: version "6.4.1" resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.1.tgz#a2d84caa49756942f42f1ffab9002436391718fd" @@ -5173,19 +5405,27 @@ eslint-plugin-prettier@^3.4.0: dependencies: prettier-linter-helpers "^1.0.0" +eslint-plugin-prettier@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.0.0.tgz#8b99d1e4b8b24a762472b4567992023619cb98e0" + integrity sha512-98MqmCJ7vJodoQK359bqQWaxOE0CS8paAz/GgjaZLyex4TTk3g9HugoO89EqWCrFiOqn9EVvcoo7gZzONCWVwQ== + dependencies: + prettier-linter-helpers "^1.0.0" + eslint-plugin-react-hooks@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556" integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ== -eslint-plugin-react@^7.24.0: - version "7.24.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.24.0.tgz#eadedfa351a6f36b490aa17f4fa9b14e842b9eb4" - integrity sha512-KJJIx2SYx7PBx3ONe/mEeMz4YE0Lcr7feJTCMyyKb/341NcjuAgim3Acgan89GfPv7nxXK2+0slu0CWXYM4x+Q== +eslint-plugin-react@^7.25.1, eslint-plugin-react@^7.25.2: + version "7.25.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.25.2.tgz#d567a217d306b76dd110561f28074e2328ae38f8" + integrity sha512-elx4585wgmryanJK4C5IoSKQyVZ+e7H0t2JOOtJNBql0cuercvSShvRReuLBbfx8687yW5yv+UL7pXwMsd6adQ== dependencies: array-includes "^3.1.3" array.prototype.flatmap "^1.2.4" doctrine "^2.1.0" + estraverse "^5.2.0" has "^1.0.3" jsx-ast-utils "^2.4.1 || ^3.0.0" minimatch "^3.0.4" @@ -5389,13 +5629,6 @@ events@^3.2.0: resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== -eventsource@^1.0.7: - version "1.1.0" - resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-1.1.0.tgz#00e8ca7c92109e94b0ddf32dac677d841028cfaf" - integrity sha512-VSJjT5oCNrFvCS6igjzPAt5hBzQ2qPBFIbJ03zLI9SE0mxwZpMw6BfJrbFHm1a141AavMEB8JHmBhWAd66PfCg== - dependencies: - original "^1.0.0" - execa@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" @@ -5447,16 +5680,16 @@ expand-template@^2.0.3: resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== -expect@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/expect/-/expect-27.0.6.tgz#a4d74fbe27222c718fff68ef49d78e26a8fd4c05" - integrity sha512-psNLt8j2kwg42jGBDSfAlU49CEZxejN1f1PlANWDZqIhBOVU/c2Pm888FcjWJzFewhIsNWfZJeLjUjtKGiPuSw== +expect@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-27.2.0.tgz#40eb89a492afb726a3929ccf3611ee0799ab976f" + integrity sha512-oOTbawMQv7AK1FZURbPTgGSzmhxkjFzoARSvDjOMnOpeWuYQx1tP6rXu9MIX5mrACmyCAM7fSNP8IJO2f1p0CQ== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" ansi-styles "^5.0.0" jest-get-type "^27.0.6" - jest-matcher-utils "^27.0.6" - jest-message-util "^27.0.6" + jest-matcher-utils "^27.2.0" + jest-message-util "^27.2.0" jest-regex-util "^27.0.6" express-graphql@^0.12.0: @@ -5608,12 +5841,12 @@ fastq@^1.10.0, fastq@^1.6.0: dependencies: reusify "^1.0.4" -faye-websocket@^0.11.3: - version "0.11.4" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" - integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== +fastq@^1.11.1: + version "1.13.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" + integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== dependencies: - websocket-driver ">=0.5.1" + reusify "^1.0.4" fb-watchman@^2.0.0: version "2.0.1" @@ -5649,7 +5882,7 @@ file-loader@^6.2.0: loader-utils "^2.0.0" schema-utils "^3.0.0" -file-type@^16.0.0, file-type@^16.5.3: +file-type@^16.5.3: version "16.5.3" resolved "https://registry.yarnpkg.com/file-type/-/file-type-16.5.3.tgz#474b7e88c74724046abb505e9b8ed4db30c4fc06" integrity sha512-uVsl7iFhHSOY4bEONLlTK47iAHtNsFHWP5YE4xJfZ4rnX7S1Q3wce09XgqSC7E/xh8Ncv/be1lNoyprlUH/x6A== @@ -5658,11 +5891,6 @@ file-type@^16.0.0, file-type@^16.5.3: strtok3 "^6.2.4" token-types "^4.1.1" -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== - filesize@6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/filesize/-/filesize-6.1.0.tgz#e81bdaa780e2451d714d71c0d7a4f3238d37ad00" @@ -5752,13 +5980,6 @@ follow-redirects@^1.0.0, follow-redirects@^1.10.0: resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.2.tgz#cecb825047c00f5e66b142f90fed4f515dec789b" integrity sha512-yLR6WaE2lbF0x4K2qE2p9PEXKLDjUjnR/xmjS3wHAYxtlsI9MLLBJUZirAHKzUZDGLxje7w/cXR49WOUo4rbsA== -for-each@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" - integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== - dependencies: - is-callable "^1.1.3" - for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" @@ -5817,14 +6038,6 @@ fresh@0.5.2: resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= -from2@^2.1.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8= - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" @@ -5835,14 +6048,14 @@ fs-exists-cached@1.0.0, fs-exists-cached@^1.0.0: resolved "https://registry.yarnpkg.com/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz#cf25554ca050dc49ae6656b41de42258989dcbce" integrity sha1-zyVVTKBQ3EmuZla0HeQiWJidy84= -fs-extra@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" - integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== +fs-extra@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1" + integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ== dependencies: graceful-fs "^4.2.0" - jsonfile "^4.0.0" - universalify "^0.1.0" + jsonfile "^6.0.1" + universalify "^2.0.0" fs-monkey@1.0.3: version "1.0.3" @@ -5854,14 +6067,6 @@ fs.realpath@^1.0.0: resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= -fsevents@^1.2.7: - version "1.2.13" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38" - integrity sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw== - dependencies: - bindings "^1.5.0" - nan "^2.12.1" - fsevents@^2.3.2, fsevents@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" @@ -5877,12 +6082,13 @@ functional-red-black-tree@^1.0.1: resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= -gatsby-cli@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-3.12.0.tgz#207318d4abf0acd63949ef4a9898708d1e230a6e" - integrity sha512-Yf2Xa1mLbRi0yjtIRwklRCuTJB+DEKx5jl/2jFKKZkAdIHU8mXizBEkh4Pf0zeERv/22OjsfeCixjBcAw7WbHA== +gatsby-cli@^3.14.0: + version "3.14.0" + resolved "https://registry.yarnpkg.com/gatsby-cli/-/gatsby-cli-3.14.0.tgz#98fc989062d9956e26304b1c3eac33cd4b5fda70" + integrity sha512-1Az1EEQu0txRE8eZmOo9GOxRSjhJtFseinraiIEtSeHkYuM0/gjuoKVSrtmbBFNWdOZll6QYCO3sRl6sOrwb+g== dependencies: "@babel/code-frame" "^7.14.0" + "@babel/runtime" "^7.15.4" "@types/common-tags" "^1.8.0" better-opn "^2.0.0" chalk "^4.1.2" @@ -5890,14 +6096,14 @@ gatsby-cli@^3.12.0: common-tags "^1.8.0" configstore "^5.0.1" convert-hrtime "^3.0.0" - create-gatsby "^1.12.0" + create-gatsby "^1.14.0" envinfo "^7.7.3" execa "^5.1.1" fs-exists-cached "^1.0.0" - fs-extra "^8.1.0" - gatsby-core-utils "^2.12.0" - gatsby-recipes "^0.23.0" - gatsby-telemetry "^2.12.0" + fs-extra "^10.0.0" + gatsby-core-utils "^2.14.0" + gatsby-recipes "^0.25.0" + gatsby-telemetry "^2.14.0" hosted-git-info "^3.0.6" is-valid-path "^0.1.1" joi "^17.4.0" @@ -5910,7 +6116,7 @@ gatsby-cli@^3.12.0: prompts "^2.3.2" redux "^4.0.5" resolve-cwd "^3.0.0" - semver "^7.3.2" + semver "^7.3.5" signal-exit "^3.0.3" source-map "0.7.3" stack-trace "^0.0.10" @@ -5921,53 +6127,56 @@ gatsby-cli@^3.12.0: yoga-layout-prebuilt "^1.9.6" yurnalist "^2.1.0" -gatsby-core-utils@^2.12.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-2.12.0.tgz#4fcf608aa8c2767e384ed795ef00e12c85528047" - integrity sha512-aN9fub3XX/uEqAstxG3mr8BH6hMGhTmAzANZH3HSV4tyG1Y4a4FKisZA0ggmy/dKOy5cyeuoMHmzAr8+qtHcAw== +gatsby-core-utils@^2.14.0: + version "2.14.0" + resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-2.14.0.tgz#ad0030d11776073cdc6a119f4b81e150f3921aef" + integrity sha512-HDMb1XMqysup9raLYWB0wIQU568R9qPounF7iAwjf2esFUVV5mdBTvxEpune/7yG0RmwhNPhgrEZo2rBHeJf7A== dependencies: + "@babel/runtime" "^7.15.4" ci-info "2.0.0" configstore "^5.0.1" file-type "^16.5.3" - fs-extra "^8.1.0" - node-object-hash "^2.3.8" + fs-extra "^10.0.0" + got "^11.8.2" + node-object-hash "^2.3.9" proper-lockfile "^4.1.2" tmp "^0.2.1" xdg-basedir "^4.0.0" -gatsby-graphiql-explorer@^1.12.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/gatsby-graphiql-explorer/-/gatsby-graphiql-explorer-1.12.0.tgz#9bff842c9fc17b6a6f71b160605f8a98c9770b3b" - integrity sha512-bmMZSTvWWEA76MO9vrYVZOYKkzWvxksexmh0R55cQDbfWXN4btmYhFhM7wqotC8ezX0MqLNo7RGBzWKofbPUJg== +gatsby-graphiql-explorer@^1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/gatsby-graphiql-explorer/-/gatsby-graphiql-explorer-1.14.0.tgz#2049d6b2cf1612c80faf3983c72a41cb9d6bb116" + integrity sha512-OdwNGWDzrzmLHx8n02yrnuQo2ePsEsnrZHI/EZvb6I14fnSBizeW7rV35/5ppxdqV/1nsfNSMpzmFK+5ySVSEA== dependencies: - "@babel/runtime" "^7.14.8" + "@babel/runtime" "^7.15.4" -gatsby-legacy-polyfills@^1.12.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/gatsby-legacy-polyfills/-/gatsby-legacy-polyfills-1.12.0.tgz#9f33647316eac59762615aaa3b2d4656cbe84140" - integrity sha512-vNHDVKORgcm5jiCf2qao4DgYXLtIDQNlpMAb8OCssvPzH6JdFugE1mTFCJv1PMdAfsIsSplnKTzBb1MfC0jUMw== +gatsby-legacy-polyfills@^1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/gatsby-legacy-polyfills/-/gatsby-legacy-polyfills-1.14.0.tgz#b633f8d5433a1545b09f736d89ee7a11371dde7a" + integrity sha512-IGto7YurB4cEm6r07Lr/hSPZZvrkT1/0YdGpZQp7rC6CdSLqyWO9X5CS9F111NJyJhLusHCr9ZuRJG5cA0SYxQ== dependencies: + "@babel/runtime" "^7.15.4" core-js-compat "3.9.0" -gatsby-link@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-3.12.0.tgz#19b6fa76e5a6ed1bc1b5dc44dccb384c35beb33a" - integrity sha512-rtTcM9lEDE9nrKFqL110fqlBJUvqEwjmZmWSDFTiSjqVk6GpVDkegaWhepqg4bwgbobXYtoJ/f/sEq5RRiMU4A== +gatsby-link@^3.14.0: + version "3.14.0" + resolved "https://registry.yarnpkg.com/gatsby-link/-/gatsby-link-3.14.0.tgz#7269a5cb7f267a326fa30c718330e8e39f8685a6" + integrity sha512-a7ZC6aQZ+dz6lhkW0nrg33zlFQq9DADvtl/wwk3W3GdTlseDNOC+iry11tLMEthisUQZ2H3SZGJyVeNuQkdFsw== dependencies: - "@babel/runtime" "^7.14.8" + "@babel/runtime" "^7.15.4" "@types/reach__router" "^1.3.9" prop-types "^15.7.2" -gatsby-page-utils@^1.12.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/gatsby-page-utils/-/gatsby-page-utils-1.12.0.tgz#52f12cacb3b09b2b0c4c7270cb202c9aede74afa" - integrity sha512-ixdKMiPNn5PYA6TcC0fP2j7fvA58x+f6sQSaoN2DYWFx9NFz9XDjHi3omr8o7w5VRFKVdYsGw9nRTY4PRHGIlQ== +gatsby-page-utils@^1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/gatsby-page-utils/-/gatsby-page-utils-1.14.0.tgz#c7363cf20d43c3d32d5293a5cd1bf9e6be501b09" + integrity sha512-Hjyxq4XnbUYCaYc5Ta7xXML1S3qLNkTv3xYQn2W91LuVDY4/u27LaOgzIYOVPMlHUSfocfhu0CMFmXw4fOjGFg== dependencies: - "@babel/runtime" "^7.14.8" + "@babel/runtime" "^7.15.4" bluebird "^3.7.2" - chokidar "^3.5.1" + chokidar "^3.5.2" fs-exists-cached "^1.0.0" - gatsby-core-utils "^2.12.0" + gatsby-core-utils "^2.14.0" glob "^7.1.7" lodash "^4.17.21" micromatch "^4.0.4" @@ -5980,38 +6189,39 @@ gatsby-plugin-google-gtag@3: "@babel/runtime" "^7.14.8" minimatch "^3.0.4" -gatsby-plugin-manifest@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-3.12.0.tgz#6f9aa76489d84f3b71c88e29da209d8d497a9203" - integrity sha512-zEOgYi5sm+5SnElm5EGUkXfCUvyTAn8shWclVASNxGIHGexg2Lzuu90ZLaC8cXCuMwJ7keVIRZvivvBoDleIJQ== +gatsby-plugin-manifest@^3.14.0: + version "3.14.0" + resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-3.14.0.tgz#1f17e35f2e51b86f627d74a6fd6ccfefc4968ddd" + integrity sha512-l++KGG/3/8iwUExJ8oXUHF5ra7P//xQkkhoDybUu3N7+9jpp9S2j4NWqJvgpMhRbh09zcUfuw7usII0sJO24lA== dependencies: - "@babel/runtime" "^7.14.8" - gatsby-core-utils "^2.12.0" - gatsby-plugin-utils "^1.12.0" + "@babel/runtime" "^7.15.4" + gatsby-core-utils "^2.14.0" + gatsby-plugin-utils "^1.14.0" semver "^7.3.5" - sharp "^0.28.3" + sharp "^0.29.0" -gatsby-plugin-mdx@^2.12.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/gatsby-plugin-mdx/-/gatsby-plugin-mdx-2.12.0.tgz#4d6c31bb73aee955a25aa35499996f66e23d53f6" - integrity sha512-8xfk5EyFb7XRviW5tdfZvV2EKNJCBM/HSdfamhDlMA57g2BrgwcVXvvDIr8OSpnFs2TwRuWH/4DkDCrGta7lOQ== +gatsby-plugin-mdx@^2.14.0: + version "2.14.0" + resolved "https://registry.yarnpkg.com/gatsby-plugin-mdx/-/gatsby-plugin-mdx-2.14.0.tgz#adbbe14820de493eb926ee490019c43df4c7d3f3" + integrity sha512-aEAx4KrfSL/A4LFhh5nlOWUZZ2FA70X5xl+j5PiBRFEVTCgSOb8D0XPrHvtwNFYlAhdl/cuH3NcqlbRPJkX+Uw== dependencies: - "@babel/core" "^7.14.8" - "@babel/generator" "^7.14.9" + "@babel/core" "^7.15.5" + "@babel/generator" "^7.15.4" "@babel/helper-plugin-utils" "^7.14.0" "@babel/plugin-proposal-object-rest-spread" "^7.14.7" - "@babel/preset-env" "^7.14.9" + "@babel/preset-env" "^7.15.4" "@babel/preset-react" "^7.14.0" - "@babel/types" "^7.14.9" + "@babel/runtime" "^7.15.4" + "@babel/types" "^7.15.4" camelcase-css "^2.0.1" change-case "^3.1.0" - core-js "^3.6.5" + core-js "^3.17.2" dataloader "^1.4.0" debug "^4.3.1" escape-string-regexp "^1.0.5" eval "^0.1.4" - fs-extra "^8.1.0" - gatsby-core-utils "^2.12.0" + fs-extra "^10.0.0" + gatsby-core-utils "^2.14.0" gray-matter "^4.0.2" json5 "^2.1.3" loader-utils "^1.4.0" @@ -6033,18 +6243,20 @@ gatsby-plugin-mdx@^2.12.0: unist-util-remove "^1.0.3" unist-util-visit "^1.4.1" -gatsby-plugin-page-creator@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-3.12.0.tgz#79a74354e1e5a1400d7721aba5f6127d2de187b2" - integrity sha512-SOEkRp2VY++Tt/vRr7WvHHEyDolXTN1Yodabsjs/OvvG0txL+Sq0hKYQNuPSRHucJY8wNCNOIN/5jsn0FTtAGA== +gatsby-plugin-page-creator@^3.14.0: + version "3.14.0" + resolved "https://registry.yarnpkg.com/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-3.14.0.tgz#d16eba7e270206207309576200881dd95cc46cde" + integrity sha512-Y7Ims8CkdDpDYrr/42aFM4wTdpBTxIYe7VakdV8m0fJGb1OdD1W/7Wc9yOj+yBTqMgeeXXp45pg26wsjiG5H9w== dependencies: - "@babel/traverse" "^7.14.9" + "@babel/runtime" "^7.15.4" + "@babel/traverse" "^7.15.4" "@sindresorhus/slugify" "^1.1.2" - chokidar "^3.5.1" + chokidar "^3.5.2" fs-exists-cached "^1.0.0" - gatsby-core-utils "^2.12.0" - gatsby-page-utils "^1.12.0" - gatsby-telemetry "^2.12.0" + gatsby-core-utils "^2.14.0" + gatsby-page-utils "^1.14.0" + gatsby-plugin-utils "^1.14.0" + gatsby-telemetry "^2.14.0" globby "^11.0.4" lodash "^4.17.21" @@ -6067,52 +6279,54 @@ gatsby-plugin-sitemap@4: minimatch "^3.0.4" sitemap "^7.0.0" -gatsby-plugin-typescript@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/gatsby-plugin-typescript/-/gatsby-plugin-typescript-3.12.0.tgz#fad15b7a6d6495949f7b3fc528b57d6054d463eb" - integrity sha512-lkOV3uL6vhGsYIWIJIRNTr1yjTwu6Ci/iERKk4x91vNc9hCMD9dAVt1HyCc6g4jPS6uVVsqM9VUd8HqEnCPcLw== +gatsby-plugin-typescript@^3.14.0: + version "3.14.0" + resolved "https://registry.yarnpkg.com/gatsby-plugin-typescript/-/gatsby-plugin-typescript-3.14.0.tgz#5f079f59576f768025cad0d79feaf62c00812a96" + integrity sha512-gQVkLFPvO9g+O+DdY9nw+1SAelF2yOQ+CqpFJ9aDllf/JUyxNbajND7nbYkLCiDja86yi3ZNCkZR2yp8qWZnpQ== dependencies: - "@babel/core" "^7.14.8" + "@babel/core" "^7.15.5" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5" "@babel/plugin-proposal-numeric-separator" "^7.14.5" "@babel/plugin-proposal-optional-chaining" "^7.14.5" - "@babel/preset-typescript" "^7.14.0" - "@babel/runtime" "^7.14.8" - babel-plugin-remove-graphql-queries "^3.12.0" + "@babel/preset-typescript" "^7.15.0" + "@babel/runtime" "^7.15.4" + babel-plugin-remove-graphql-queries "^3.14.0" -gatsby-plugin-utils@^1.12.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/gatsby-plugin-utils/-/gatsby-plugin-utils-1.12.0.tgz#c07d7f24cd2c70faa12ce2e8f755494a118b1070" - integrity sha512-IlftnoN9ZNw+nd9HLvCyTajf/SHfV7WOOsQVWsKJmRPoZaeWwAFdtrMXKyqMPVSc1D1JfCg/qxTef+5ypch7OA== +gatsby-plugin-utils@^1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/gatsby-plugin-utils/-/gatsby-plugin-utils-1.14.0.tgz#7813ce967a0bc2fd89560706db879fbf5b894795" + integrity sha512-lYzr9R9yTH/PzgRTWB878yB1xBlJULvyosEoF8LnE62+UyuPXxv+e/frfwZCeCoqsqstuciR0yaMELIPYMna+Q== dependencies: - joi "^17.2.1" + "@babel/runtime" "^7.15.4" + joi "^17.4.2" -gatsby-react-router-scroll@^4.12.0: - version "4.12.0" - resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-4.12.0.tgz#a5ccf7bb5d15d0585c4a5f1632479510d66d4b76" - integrity sha512-dMPQAKJQEI1bim0gd0xl4QZltw3YDrGi1lWwT2qfF/eNIJmruhEsF9COn2wOXYKgVqobZpePsNchQquJ+CR9hw== +gatsby-react-router-scroll@^4.14.0: + version "4.14.0" + resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-4.14.0.tgz#8825c437f2ce07144dff2013f405b43af8159069" + integrity sha512-ahsJqhqSroRsm+BySUUNNrTLWOzjxb8zBP6UNja/VssEYAiGnG3V7ycVqpzMXDnWnZAKTSGIO7B3ZiM5sf6mYw== dependencies: - "@babel/runtime" "^7.14.8" + "@babel/runtime" "^7.15.4" -gatsby-recipes@^0.23.0: - version "0.23.0" - resolved "https://registry.yarnpkg.com/gatsby-recipes/-/gatsby-recipes-0.23.0.tgz#94c0cd958d47ba2bcfa0bacf8674b61438f7cc29" - integrity sha512-dR/u2mFiWhPf+0O8MuFfnl5JTbjOChYKG9+CIhubLwAjJN0cDbvleSJEQ7K32quKd56dqNf1psXqpZ+UUlx8vA== +gatsby-recipes@^0.25.0: + version "0.25.0" + resolved "https://registry.yarnpkg.com/gatsby-recipes/-/gatsby-recipes-0.25.0.tgz#60df7d82344721ad06d4f221a570b6efc38e45a4" + integrity sha512-eEbmmAWY78pL1zLrx0M0CNC4fMbzKza/Ug0vSQ7egfAqNk74Lt0csgODRGdBLVHbmRRKYmJpJIXK7NdE+ZWh4A== dependencies: - "@babel/core" "^7.14.8" - "@babel/generator" "^7.14.9" + "@babel/core" "^7.15.5" + "@babel/generator" "^7.15.4" "@babel/helper-plugin-utils" "^7.14.0" "@babel/plugin-proposal-optional-chaining" "^7.14.5" "@babel/plugin-transform-react-jsx" "^7.14.9" - "@babel/standalone" "^7.14.9" - "@babel/template" "^7.14.0" - "@babel/types" "^7.14.9" + "@babel/runtime" "^7.15.4" + "@babel/standalone" "^7.15.5" + "@babel/template" "^7.15.4" + "@babel/types" "^7.15.4" "@graphql-tools/schema" "^7.0.0" "@graphql-tools/utils" "^7.0.2" "@hapi/hoek" "8.x.x" "@hapi/joi" "^15.1.1" better-queue "^3.8.10" - chokidar "^3.4.2" + chokidar "^3.5.2" contentful-management "^7.5.1" cors "^2.8.5" debug "^4.3.1" @@ -6121,9 +6335,9 @@ gatsby-recipes@^0.23.0: execa "^5.1.1" express "^4.17.1" express-graphql "^0.12.0" - fs-extra "^8.1.0" - gatsby-core-utils "^2.12.0" - gatsby-telemetry "^2.12.0" + fs-extra "^10.0.0" + gatsby-core-utils "^2.14.0" + gatsby-telemetry "^2.14.0" glob "^7.1.6" graphql "^15.4.0" graphql-compose "~7.25.0" @@ -6146,7 +6360,7 @@ gatsby-recipes@^0.23.0: remark-parse "^6.0.3" remark-stringify "^8.1.0" resolve-from "^5.0.0" - semver "^7.3.2" + semver "^7.3.5" single-trailing-newline "^1.0.0" strip-ansi "^6.0.0" style-to-object "^0.3.0" @@ -6158,28 +6372,28 @@ gatsby-recipes@^0.23.0: xstate "^4.9.1" yoga-layout-prebuilt "^1.9.6" -gatsby-remark-autolink-headers@^4.9.0: - version "4.9.0" - resolved "https://registry.yarnpkg.com/gatsby-remark-autolink-headers/-/gatsby-remark-autolink-headers-4.9.0.tgz#61d192a089e1ab53870b904fa62e1e8c6751417b" - integrity sha512-/JY/0bTBWZy8Gk0/5pyaB+6TJ2VnoxANFCnyA2F2QJahae0IGCoTstFx+1uCwF9QbDkoTNOndghuSYYMoUYrmw== +gatsby-remark-autolink-headers@^4.11.0: + version "4.11.0" + resolved "https://registry.yarnpkg.com/gatsby-remark-autolink-headers/-/gatsby-remark-autolink-headers-4.11.0.tgz#829d51672a033a765017c439ce80d991c075e7af" + integrity sha512-wklhIRpVQfv9xMPoSVKDl/DRLBzxKWr13PRQgw602zVmj/IdMzgVarJgU8aCzlyb3+JztlptnKE1U/htFs8HGQ== dependencies: - "@babel/runtime" "^7.14.8" + "@babel/runtime" "^7.15.4" github-slugger "^1.3.0" lodash "^4.17.21" mdast-util-to-string "^2.0.0" unist-util-visit "^2.0.3" -gatsby-source-filesystem@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-3.12.0.tgz#cbd3b0361570f1c612623c48b6d2f52459eb26e6" - integrity sha512-Rs++VHDiyop/yFiNnJhn4+ot3DRwzrjE5fNnrxScTGk0GT8wqcne/c3PFCcQcVOmnu01N2DL1BdPmQP/jF6xAw== +gatsby-source-filesystem@^3.14.0: + version "3.14.0" + resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-3.14.0.tgz#ae2b930091a932b33270cb9cc2d9caaf0abc1742" + integrity sha512-Gg5GGxiWXhjapWMYdXOGk7zp+ajYowS+xNmaDUkL1gH+IQLvE18XbvKh00B/HiFaHm4azJfS2QRrRI/mPTZX+w== dependencies: - "@babel/runtime" "^7.14.8" - better-queue "^3.8.10" - chokidar "^3.4.3" - file-type "^16.0.0" - fs-extra "^8.1.0" - gatsby-core-utils "^2.12.0" + "@babel/runtime" "^7.15.4" + chokidar "^3.5.2" + fastq "^1.11.1" + file-type "^16.5.3" + fs-extra "^10.0.0" + gatsby-core-utils "^2.14.0" got "^9.6.0" md5-file "^5.0.0" mime "^2.5.2" @@ -6188,52 +6402,55 @@ gatsby-source-filesystem@^3.12.0: valid-url "^1.0.9" xstate "^4.14.0" -gatsby-telemetry@^2.12.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/gatsby-telemetry/-/gatsby-telemetry-2.12.0.tgz#9c3838bb29aa6eab8a69853fd3e888ef6acce96e" - integrity sha512-W27oKt7/ThrNz12lPiclb9J7v/Q6ZM5Eh+JQ5w/TRFs4vqLOsfJZxmYG2HzFvAZtoFUB1JsbvmHZDMxUtR84Uw== +gatsby-telemetry@^2.14.0: + version "2.14.0" + resolved "https://registry.yarnpkg.com/gatsby-telemetry/-/gatsby-telemetry-2.14.0.tgz#d4f9ec0623bac509999586e2e9f4a211661d43e7" + integrity sha512-c8/1L1nkK1OcxYV7axyoyM+7nzM1WL7DXvgxJloI7NSwb6M3EgcWvgq9bmqUAfmWM29/whR07mO7nnl1jZntyA== dependencies: "@babel/code-frame" "^7.14.0" - "@babel/runtime" "^7.14.8" + "@babel/runtime" "^7.15.4" "@turist/fetch" "^7.1.7" "@turist/time" "^0.0.2" async-retry-ng "^2.0.1" boxen "^4.2.0" configstore "^5.0.1" - fs-extra "^8.1.0" - gatsby-core-utils "^2.12.0" + fs-extra "^10.0.0" + gatsby-core-utils "^2.14.0" git-up "^4.0.5" is-docker "^2.2.1" lodash "^4.17.21" node-fetch "^2.6.1" uuid "3.4.0" -gatsby-worker@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/gatsby-worker/-/gatsby-worker-0.3.0.tgz#62e359fa707533e46311569a24c20e2d8d948b95" - integrity sha512-p3MeekhBnErQqUwYabpsx6YCMEbP3MNYcB1ZsEe675XEvS3omooomnKcpbLx1ev6245tuxbzdKUd0Tlg1fiXqg== +gatsby-worker@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/gatsby-worker/-/gatsby-worker-0.5.0.tgz#9338367ec1c7af18b1167bd62c2e62cc74bfa888" + integrity sha512-r9BBUqCfHESSHfVvBW4tajacZ+tSxqWm+j5RB+Av8sBEhbMBFCHmWdU2USs7Bt0lvRpybwU5oxswb6nmeKkaSg== dependencies: - "@babel/core" "^7.14.8" + "@babel/core" "^7.15.5" + "@babel/runtime" "^7.15.4" -gatsby@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-3.12.0.tgz#f6e39716b8d9412353be9d2fa880f19dd5f03216" - integrity sha512-H0F2ZNLuYZAg2TyHSjvsKlYfLo9bNUoMha3W4csLeAsI8okP3HV9m0J8FXVMrK4CdGc1RXqQzNu+2HdUpdMZZQ== +gatsby@^3.14.0: + version "3.14.0" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-3.14.0.tgz#06c27464f1a9d044169ec910d0c9d7ef44e0b1d8" + integrity sha512-ikXoVZ9LQO9lZBxVvQxrYkjhX1zz9/7/Iv/6WCt/UPdgYCWCKc6GWOqlbLKmjShM0fBxJHfjmiahNxuTzJIZsw== dependencies: "@babel/code-frame" "^7.14.0" - "@babel/core" "^7.14.8" - "@babel/eslint-parser" "^7.14.9" - "@babel/parser" "^7.14.9" - "@babel/runtime" "^7.14.8" - "@babel/traverse" "^7.14.9" - "@babel/types" "^7.14.9" + "@babel/core" "^7.15.5" + "@babel/eslint-parser" "^7.15.4" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/parser" "^7.15.5" + "@babel/runtime" "^7.15.4" + "@babel/traverse" "^7.15.4" + "@babel/types" "^7.15.4" "@gatsbyjs/reach-router" "^1.3.6" "@gatsbyjs/webpack-hot-middleware" "^2.25.2" "@nodelib/fs.walk" "^1.2.4" "@pmmmwh/react-refresh-webpack-plugin" "^0.4.3" "@types/http-proxy" "^1.17.4" - "@typescript-eslint/eslint-plugin" "^4.28.1" - "@typescript-eslint/parser" "^4.28.1" + "@typescript-eslint/eslint-plugin" "^4.29.3" + "@typescript-eslint/parser" "^4.29.3" + "@vercel/webpack-asset-relocator-loader" "^1.6.0" address "1.1.2" anser "^2.0.1" autoprefixer "^10.2.4" @@ -6242,37 +6459,37 @@ gatsby@^3.12.0: babel-plugin-add-module-exports "^1.0.4" babel-plugin-dynamic-import-node "^2.3.3" babel-plugin-lodash "^3.3.4" - babel-plugin-remove-graphql-queries "^3.12.0" - babel-preset-gatsby "^1.12.0" + babel-plugin-remove-graphql-queries "^3.14.0" + babel-preset-gatsby "^1.14.0" better-opn "^2.0.0" bluebird "^3.7.2" body-parser "^1.19.0" browserslist "^4.12.2" cache-manager "^2.11.1" chalk "^4.1.2" - chokidar "^3.4.2" + chokidar "^3.5.2" common-tags "^1.8.0" compression "^1.7.4" cookie "^0.4.1" - copyfiles "^2.3.0" - core-js "^3.9.0" + core-js "^3.17.2" cors "^2.8.5" css-loader "^5.0.1" css-minimizer-webpack-plugin "^2.0.0" css.escape "^1.5.1" date-fns "^2.14.0" debug "^3.2.7" + deepmerge "^4.2.2" del "^5.1.0" detect-port "^1.3.0" devcert "^1.1.3" dotenv "^8.2.0" eslint "^7.32.0" eslint-config-react-app "^6.0.0" - eslint-plugin-flowtype "^5.8.2" + eslint-plugin-flowtype "^5.9.2" eslint-plugin-graphql "^4.0.0" - eslint-plugin-import "^2.23.4" + eslint-plugin-import "^2.24.2" eslint-plugin-jsx-a11y "^6.4.1" - eslint-plugin-react "^7.24.0" + eslint-plugin-react "^7.25.1" eslint-plugin-react-hooks "^4.2.0" eslint-webpack-plugin "^2.5.4" event-source-polyfill "^1.0.15" @@ -6284,20 +6501,20 @@ gatsby@^3.12.0: file-loader "^6.2.0" find-cache-dir "^3.3.1" fs-exists-cached "1.0.0" - fs-extra "^8.1.0" - gatsby-cli "^3.12.0" - gatsby-core-utils "^2.12.0" - gatsby-graphiql-explorer "^1.12.0" - gatsby-legacy-polyfills "^1.12.0" - gatsby-link "^3.12.0" - gatsby-plugin-page-creator "^3.12.0" - gatsby-plugin-typescript "^3.12.0" - gatsby-plugin-utils "^1.12.0" - gatsby-react-router-scroll "^4.12.0" - gatsby-telemetry "^2.12.0" - gatsby-worker "^0.3.0" + fs-extra "^10.0.0" + gatsby-cli "^3.14.0" + gatsby-core-utils "^2.14.0" + gatsby-graphiql-explorer "^1.14.0" + gatsby-legacy-polyfills "^1.14.0" + gatsby-link "^3.14.0" + gatsby-plugin-page-creator "^3.14.0" + gatsby-plugin-typescript "^3.14.0" + gatsby-plugin-utils "^1.14.0" + gatsby-react-router-scroll "^4.14.0" + gatsby-telemetry "^2.14.0" + gatsby-worker "^0.5.0" glob "^7.1.6" - got "8.3.2" + got "^11.8.2" graphql "^15.4.0" graphql-compose "~7.25.0" graphql-playground-middleware-express "^1.7.18" @@ -6308,7 +6525,6 @@ gatsby@^3.12.0: is-relative-url "^3.0.0" joi "^17.2.1" json-loader "^0.5.7" - json-stringify-safe "^5.0.1" latest-version "5.1.0" lodash "^4.17.21" md5-file "^5.0.0" @@ -6318,10 +6534,8 @@ gatsby@^3.12.0: mime "^2.4.6" mini-css-extract-plugin "1.6.2" mitt "^1.2.0" - mkdirp "^0.5.1" moment "^2.27.0" multer "^1.4.2" - name-all-modules-plugin "^1.0.1" normalize-path "^3.0.0" null-loader "^4.0.1" opentracing "^0.14.4" @@ -6330,7 +6544,6 @@ gatsby@^3.12.0: path-to-regexp "0.1.7" physical-cpu-count "^2.0.0" platform "^1.3.6" - pnp-webpack-plugin "^1.6.4" postcss "^8.3.5" postcss-flexbugs-fixes "^5.0.2" postcss-loader "^5.0.0" @@ -6343,7 +6556,7 @@ gatsby@^3.12.0: redux "^4.0.5" redux-thunk "^2.3.0" resolve-from "^5.0.0" - semver "^7.3.2" + semver "^7.3.5" shallow-compare "^1.2.2" signal-exit "^3.0.3" slugify "^1.4.4" @@ -6361,12 +6574,10 @@ gatsby@^3.12.0: "true-case-path" "^2.2.1" type-of "^2.0.1" url-loader "^4.1.1" - util.promisify "^1.0.1" uuid "3.4.0" v8-compile-cache "^2.2.0" webpack "^5.35.0" webpack-dev-middleware "^4.1.0" - webpack-dev-server "^3.11.2" webpack-merge "^5.7.3" webpack-stats-plugin "^1.0.3" webpack-virtual-modules "^0.3.2" @@ -6421,11 +6632,6 @@ get-stdin@^4.0.1: resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4= -get-stream@3.0.0, get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" - integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= - get-stream@^4.0.0, get-stream@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" @@ -6475,14 +6681,6 @@ github-slugger@^1.2.1, github-slugger@^1.3.0: dependencies: emoji-regex ">=6.0.0 <=6.1.1" -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4= - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - 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" @@ -6495,7 +6693,7 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7: +glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7: version "7.1.7" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== @@ -6592,39 +6790,22 @@ globby@^11.0.3, globby@^11.0.4: merge2 "^1.3.0" slash "^3.0.0" -globby@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" - integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= - dependencies: - array-union "^1.0.1" - glob "^7.0.3" - object-assign "^4.0.1" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -got@8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/got/-/got-8.3.2.tgz#1d23f64390e97f776cac52e5b936e5f514d2e937" - integrity sha512-qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw== - dependencies: - "@sindresorhus/is" "^0.7.0" - cacheable-request "^2.1.1" - decompress-response "^3.3.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - into-stream "^3.1.0" - is-retry-allowed "^1.1.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - mimic-response "^1.0.0" - p-cancelable "^0.4.0" - p-timeout "^2.0.1" - pify "^3.0.0" - safe-buffer "^5.1.1" - timed-out "^4.0.1" - url-parse-lax "^3.0.0" - url-to-options "^1.0.1" +got@^11.8.2: + version "11.8.2" + resolved "https://registry.yarnpkg.com/got/-/got-11.8.2.tgz#7abb3959ea28c31f3576f1576c1effce23f33599" + integrity sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ== + dependencies: + "@sindresorhus/is" "^4.0.0" + "@szmarczak/http-timer" "^4.0.5" + "@types/cacheable-request" "^6.0.1" + "@types/responselike" "^1.0.0" + cacheable-lookup "^5.0.3" + cacheable-request "^7.0.1" + decompress-response "^6.0.0" + http2-wrapper "^1.0.0-beta.5.2" + lowercase-keys "^2.0.0" + p-cancelable "^2.0.0" + responselike "^2.0.0" got@^9.6.0: version "9.6.0" @@ -6643,7 +6824,7 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3, graceful-fs@^4.2.4: +graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3, graceful-fs@^4.2.4: version "4.2.8" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a" integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg== @@ -6727,11 +6908,6 @@ gzip-size@5.1.1: duplexer "^0.1.1" pify "^4.0.1" -handle-thing@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" - integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== - has-bigints@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.1.tgz#64fe6acb020673e3b78db035a5af69aa9d07b113" @@ -6752,23 +6928,11 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-symbol-support-x@^1.4.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz#1409f98bc00247da45da67cee0a36f282ff26455" - integrity sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw== - has-symbols@^1.0.1, has-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423" integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw== -has-to-string-tag-x@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz#a045ab383d7b4b2012a00148ab0aa5f290044d4d" - integrity sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw== - dependencies: - has-symbol-support-x "^1.4.1" - has-tostringtag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" @@ -6966,16 +7130,6 @@ hosted-git-info@^3.0.6: dependencies: lru-cache "^6.0.0" -hpack.js@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - integrity sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI= - dependencies: - inherits "^2.0.1" - obuf "^1.0.0" - readable-stream "^2.0.1" - wbuf "^1.1.0" - html-encoding-sniffer@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" @@ -6983,7 +7137,7 @@ html-encoding-sniffer@^2.0.1: dependencies: whatwg-encoding "^1.0.5" -html-entities@^1.2.1, html-entities@^1.3.1: +html-entities@^1.2.1: version "1.4.0" resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.4.0.tgz#cfbd1b01d2afaf9adca1b10ae7dffab98c71d2dc" integrity sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA== @@ -7025,21 +7179,11 @@ htmlparser2@^6.1.0: domutils "^2.5.2" entities "^2.0.0" -http-cache-semantics@3.8.1: - version "3.8.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" - integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== - http-cache-semantics@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== -http-deceiver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - integrity sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc= - http-errors@1.7.2: version "1.7.2" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f" @@ -7073,21 +7217,6 @@ http-errors@1.8.0: statuses ">= 1.5.0 < 2" toidentifier "1.0.0" -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - integrity sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0= - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - -http-parser-js@>=0.5.1: - version "0.5.3" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.3.tgz#01d2709c79d41698bb01d4decc5e9da4e4a033d9" - integrity sha512-t7hjvef/5HEK7RWTdUzVUhl8zkEu+LlaE0IYzdMuvbSDipxBRpOn4Uhw8ZyECEa808iVT8XCjzo6xmYt4CiLZg== - http-proxy-agent@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" @@ -7097,17 +7226,7 @@ http-proxy-agent@^4.0.1: agent-base "6" debug "4" -http-proxy-middleware@0.19.1: - version "0.19.1" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz#183c7dc4aa1479150306498c210cdaf96080a43a" - integrity sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q== - dependencies: - http-proxy "^1.17.0" - is-glob "^4.0.0" - lodash "^4.17.11" - micromatch "^3.1.10" - -http-proxy@^1.17.0, http-proxy@^1.18.1: +http-proxy@^1.18.1: version "1.18.1" resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== @@ -7116,6 +7235,14 @@ http-proxy@^1.17.0, http-proxy@^1.18.1: follow-redirects "^1.0.0" requires-port "^1.0.0" +http2-wrapper@^1.0.0-beta.5.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" + integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== + dependencies: + quick-lru "^5.1.1" + resolve-alpn "^1.0.0" + https-proxy-agent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" @@ -7181,14 +7308,6 @@ import-lazy@^2.1.0: resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= -import-local@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" - integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== - dependencies: - pkg-dir "^3.0.0" - resolve-cwd "^2.0.0" - import-local@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6" @@ -7259,14 +7378,6 @@ inquirer@^7.0.0: strip-ansi "^6.0.0" through "^2.3.6" -internal-ip@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" - integrity sha512-S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg== - dependencies: - default-gateway "^4.2.0" - ipaddr.js "^1.9.0" - internal-slot@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" @@ -7276,14 +7387,6 @@ internal-slot@^1.0.3: has "^1.0.3" side-channel "^1.0.4" -into-stream@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-3.1.0.tgz#96fb0a936c12babd6ff1752a17d05616abd094c6" - integrity sha1-lvsKk2wSur1v8XUqF9BWFqvQlMY= - dependencies: - from2 "^2.1.1" - p-is-promise "^1.1.0" - invariant@^2.2.3, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" @@ -7291,17 +7394,7 @@ invariant@^2.2.3, invariant@^2.2.4: dependencies: loose-envify "^1.0.0" -ip-regex@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" - integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= - -ip@^1.1.0, ip@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= - -ipaddr.js@1.9.1, ipaddr.js@^1.9.0: +ipaddr.js@1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== @@ -7343,14 +7436,6 @@ is-alphanumerical@^1.0.0: is-alphabetical "^1.0.0" is-decimal "^1.0.0" -is-arguments@^1.0.4: - version "1.1.1" - resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" - integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^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" @@ -7368,13 +7453,6 @@ is-bigint@^1.0.1: dependencies: has-bigints "^1.0.1" -is-binary-path@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg= - dependencies: - binary-extensions "^1.0.0" - is-binary-path@^2.1.0, 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" @@ -7400,7 +7478,7 @@ is-buffer@^2.0.0: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== -is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.3: +is-callable@^1.1.4, is-callable@^1.2.3: version "1.2.4" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== @@ -7492,7 +7570,7 @@ is-extglob@^1.0.0: resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" integrity sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA= -is-extglob@^2.1.0, is-extglob@^2.1.1: +is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= @@ -7533,13 +7611,6 @@ is-glob@^2.0.0: dependencies: is-extglob "^1.0.0" -is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo= - dependencies: - is-extglob "^2.1.0" - is-hexadecimal@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" @@ -7606,36 +7677,17 @@ is-obj@^2.0.0: resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== -is-object@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" - integrity sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA== - -is-path-cwd@^2.0.0, is-path-cwd@^2.2.0: +is-path-cwd@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== -is-path-in-cwd@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb" - integrity sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ== - dependencies: - is-path-inside "^2.1.0" - -is-path-inside@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2" - integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg== - dependencies: - path-is-inside "^1.0.2" - is-path-inside@^3.0.1, is-path-inside@^3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: +is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= @@ -7674,7 +7726,7 @@ is-reference@^1.2.1: dependencies: "@types/estree" "*" -is-regex@^1.0.4, is-regex@^1.1.3: +is-regex@^1.1.3: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== @@ -7701,11 +7753,6 @@ is-resolvable@^1.1.0: resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" integrity sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg== -is-retry-allowed@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" - integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== - is-root@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-root/-/is-root-2.1.0.tgz#809e18129cf1129644302a4f8544035d51984a9c" @@ -7788,11 +7835,6 @@ is-word-character@^1.0.0: resolved "https://registry.yarnpkg.com/is-word-character/-/is-word-character-1.0.4.tgz#ce0e73216f98599060592f62ff31354ddbeb0230" integrity sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA== -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= - is-wsl@^2.1.1: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" @@ -7878,97 +7920,89 @@ istanbul-reports@^3.0.2: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -isurl@^1.0.0-alpha5: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" - integrity sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w== - dependencies: - has-to-string-tag-x "^1.2.0" - is-object "^1.0.1" - iterall@^1.2.1, iterall@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.3.0.tgz#afcb08492e2915cbd8a0884eb93a8c94d0d72fea" integrity sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg== -jest-changed-files@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.0.6.tgz#bed6183fcdea8a285482e3b50a9a7712d49a7a8b" - integrity sha512-BuL/ZDauaq5dumYh5y20sn4IISnf1P9A0TDswTxUi84ORGtVa86ApuBHqICL0vepqAnZiY6a7xeSPWv2/yy4eA== +jest-changed-files@^27.1.1: + version "27.1.1" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.1.1.tgz#9b3f67a34cc58e3e811e2e1e21529837653e4200" + integrity sha512-5TV9+fYlC2A6hu3qtoyGHprBwCAn0AuGA77bZdUgYvVlRMjHXo063VcWTEAyx6XAZ85DYHqp0+aHKbPlfRDRvA== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" execa "^5.0.0" throat "^6.0.1" -jest-circus@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.0.6.tgz#dd4df17c4697db6a2c232aaad4e9cec666926668" - integrity sha512-OJlsz6BBeX9qR+7O9lXefWoc2m9ZqcZ5Ohlzz0pTEAG4xMiZUJoacY8f4YDHxgk0oKYxj277AfOk9w6hZYvi1Q== +jest-circus@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.2.0.tgz#ad0d6d75514050f539d422bae41344224d2328f9" + integrity sha512-WwENhaZwOARB1nmcboYPSv/PwHBUGRpA4MEgszjr9DLCl97MYw0qZprBwLb7rNzvMwfIvNGG7pefQ5rxyBlzIA== dependencies: - "@jest/environment" "^27.0.6" - "@jest/test-result" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/environment" "^27.2.0" + "@jest/test-result" "^27.2.0" + "@jest/types" "^27.1.1" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^0.7.0" - expect "^27.0.6" + expect "^27.2.0" is-generator-fn "^2.0.0" - jest-each "^27.0.6" - jest-matcher-utils "^27.0.6" - jest-message-util "^27.0.6" - jest-runtime "^27.0.6" - jest-snapshot "^27.0.6" - jest-util "^27.0.6" - pretty-format "^27.0.6" + jest-each "^27.2.0" + jest-matcher-utils "^27.2.0" + jest-message-util "^27.2.0" + jest-runtime "^27.2.0" + jest-snapshot "^27.2.0" + jest-util "^27.2.0" + pretty-format "^27.2.0" slash "^3.0.0" stack-utils "^2.0.3" throat "^6.0.1" -jest-cli@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.0.6.tgz#d021e5f4d86d6a212450d4c7b86cb219f1e6864f" - integrity sha512-qUUVlGb9fdKir3RDE+B10ULI+LQrz+MCflEH2UJyoUjoHHCbxDrMxSzjQAPUMsic4SncI62ofYCcAvW6+6rhhg== +jest-cli@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.2.0.tgz#6da5ecca5bd757e20449f5ec1f1cad5b0303d16b" + integrity sha512-bq1X/B/b1kT9y1zIFMEW3GFRX1HEhFybiqKdbxM+j11XMMYSbU9WezfyWIhrSOmPT+iODLATVjfsCnbQs7cfIA== dependencies: - "@jest/core" "^27.0.6" - "@jest/test-result" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/core" "^27.2.0" + "@jest/test-result" "^27.2.0" + "@jest/types" "^27.1.1" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.4" import-local "^3.0.2" - jest-config "^27.0.6" - jest-util "^27.0.6" - jest-validate "^27.0.6" + jest-config "^27.2.0" + jest-util "^27.2.0" + jest-validate "^27.2.0" prompts "^2.0.1" yargs "^16.0.3" -jest-config@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.0.6.tgz#119fb10f149ba63d9c50621baa4f1f179500277f" - integrity sha512-JZRR3I1Plr2YxPBhgqRspDE2S5zprbga3swYNrvY3HfQGu7p/GjyLOqwrYad97tX3U3mzT53TPHVmozacfP/3w== +jest-config@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.2.0.tgz#d1c359253927005c53d11ab3e50d3b2f402a673a" + integrity sha512-Z1romHpxeNwLxQtouQ4xt07bY6HSFGKTo0xJcvOK3u6uJHveA4LB2P+ty9ArBLpTh3AqqPxsyw9l9GMnWBYS9A== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^27.0.6" - "@jest/types" "^27.0.6" - babel-jest "^27.0.6" + "@jest/test-sequencer" "^27.2.0" + "@jest/types" "^27.1.1" + babel-jest "^27.2.0" chalk "^4.0.0" deepmerge "^4.2.2" glob "^7.1.1" graceful-fs "^4.2.4" is-ci "^3.0.0" - jest-circus "^27.0.6" - jest-environment-jsdom "^27.0.6" - jest-environment-node "^27.0.6" + jest-circus "^27.2.0" + jest-environment-jsdom "^27.2.0" + jest-environment-node "^27.2.0" jest-get-type "^27.0.6" - jest-jasmine2 "^27.0.6" + jest-jasmine2 "^27.2.0" jest-regex-util "^27.0.6" - jest-resolve "^27.0.6" - jest-runner "^27.0.6" - jest-util "^27.0.6" - jest-validate "^27.0.6" + jest-resolve "^27.2.0" + jest-runner "^27.2.0" + jest-util "^27.2.0" + jest-validate "^27.2.0" micromatch "^4.0.4" - pretty-format "^27.0.6" + pretty-format "^27.2.0" jest-diff@^25.5.0: version "25.5.0" @@ -7980,7 +8014,7 @@ jest-diff@^25.5.0: jest-get-type "^25.2.6" pretty-format "^25.5.0" -jest-diff@^27.0.0, jest-diff@^27.0.6: +jest-diff@^27.0.0: version "27.0.6" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.0.6.tgz#4a7a19ee6f04ad70e0e3388f35829394a44c7b5e" integrity sha512-Z1mqgkTCSYaFgwTlP/NUiRzdqgxmmhzHY1Tq17zL94morOHfHu3K4bgSgl+CR4GLhpV8VxkuOYuIWnQ9LnFqmg== @@ -7990,6 +8024,16 @@ jest-diff@^27.0.0, jest-diff@^27.0.6: jest-get-type "^27.0.6" pretty-format "^27.0.6" +jest-diff@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.2.0.tgz#bda761c360f751bab1e7a2fe2fc2b0a35ce8518c" + integrity sha512-QSO9WC6btFYWtRJ3Hac0sRrkspf7B01mGrrQEiCW6TobtViJ9RWL0EmOs/WnBsZDsI/Y2IoSHZA2x6offu0sYw== + dependencies: + chalk "^4.0.0" + diff-sequences "^27.0.6" + jest-get-type "^27.0.6" + pretty-format "^27.2.0" + jest-docblock@^27.0.6: version "27.0.6" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.0.6.tgz#cc78266acf7fe693ca462cbbda0ea4e639e4e5f3" @@ -7997,41 +8041,41 @@ jest-docblock@^27.0.6: dependencies: detect-newline "^3.0.0" -jest-each@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.0.6.tgz#cee117071b04060158dc8d9a66dc50ad40ef453b" - integrity sha512-m6yKcV3bkSWrUIjxkE9OC0mhBZZdhovIW5ergBYirqnkLXkyEn3oUUF/QZgyecA1cF1QFyTE8bRRl8Tfg1pfLA== +jest-each@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.2.0.tgz#4c531c7223de289429fc7b2473a86e653c86d61f" + integrity sha512-biDmmUQjg+HZOB7MfY2RHSFL3j418nMoC3TK3pGAj880fQQSxvQe1y2Wy23JJJNUlk6YXiGU0yWy86Le1HBPmA== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" chalk "^4.0.0" jest-get-type "^27.0.6" - jest-util "^27.0.6" - pretty-format "^27.0.6" + jest-util "^27.2.0" + pretty-format "^27.2.0" -jest-environment-jsdom@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.0.6.tgz#f66426c4c9950807d0a9f209c590ce544f73291f" - integrity sha512-FvetXg7lnXL9+78H+xUAsra3IeZRTiegA3An01cWeXBspKXUhAwMM9ycIJ4yBaR0L7HkoMPaZsozCLHh4T8fuw== +jest-environment-jsdom@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.2.0.tgz#c654dfae50ca2272c2a2e2bb95ff0af298283a3c" + integrity sha512-wNQJi6Rd/AkUWqTc4gWhuTIFPo7tlMK0RPZXeM6AqRHZA3D3vwvTa9ktAktyVyWYmUoXdYstOfyYMG3w4jt7eA== dependencies: - "@jest/environment" "^27.0.6" - "@jest/fake-timers" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/environment" "^27.2.0" + "@jest/fake-timers" "^27.2.0" + "@jest/types" "^27.1.1" "@types/node" "*" - jest-mock "^27.0.6" - jest-util "^27.0.6" + jest-mock "^27.1.1" + jest-util "^27.2.0" jsdom "^16.6.0" -jest-environment-node@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.0.6.tgz#a6699b7ceb52e8d68138b9808b0c404e505f3e07" - integrity sha512-+Vi6yLrPg/qC81jfXx3IBlVnDTI6kmRr08iVa2hFCWmJt4zha0XW7ucQltCAPhSR0FEKEoJ3i+W4E6T0s9is0w== +jest-environment-node@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.2.0.tgz#73ef2151cb62206669becb94cd84f33276252de5" + integrity sha512-WbW+vdM4u88iy6Q3ftUEQOSgMPtSgjm3qixYYK2AKEuqmFO2zmACTw1vFUB0qI/QN88X6hA6ZkVKIdIWWzz+yg== dependencies: - "@jest/environment" "^27.0.6" - "@jest/fake-timers" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/environment" "^27.2.0" + "@jest/fake-timers" "^27.2.0" + "@jest/types" "^27.1.1" "@types/node" "*" - jest-mock "^27.0.6" - jest-util "^27.0.6" + jest-mock "^27.1.1" + jest-util "^27.2.0" jest-get-type@^25.2.6: version "25.2.6" @@ -8043,12 +8087,12 @@ jest-get-type@^27.0.6: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.0.6.tgz#0eb5c7f755854279ce9b68a9f1a4122f69047cfe" integrity sha512-XTkK5exIeUbbveehcSR8w0bhH+c0yloW/Wpl+9vZrjzztCPWrxhHwkIFpZzCt71oRBsgxmuUfxEqOYoZI2macg== -jest-haste-map@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.0.6.tgz#4683a4e68f6ecaa74231679dca237279562c8dc7" - integrity sha512-4ldjPXX9h8doB2JlRzg9oAZ2p6/GpQUNAeiYXqcpmrKbP0Qev0wdZlxSMOmz8mPOEnt4h6qIzXFLDi8RScX/1w== +jest-haste-map@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.2.0.tgz#703b3a473e3f2e27d75ab07864ffd7bbaad0d75e" + integrity sha512-laFet7QkNlWjwZtMGHCucLvF8o9PAh2cgePRck1+uadSM4E4XH9J4gnx4do+a6do8ZV5XHNEAXEkIoNg5XUH2Q== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" "@types/graceful-fs" "^4.1.2" "@types/node" "*" anymatch "^3.0.3" @@ -8056,76 +8100,76 @@ jest-haste-map@^27.0.6: graceful-fs "^4.2.4" jest-regex-util "^27.0.6" jest-serializer "^27.0.6" - jest-util "^27.0.6" - jest-worker "^27.0.6" + jest-util "^27.2.0" + jest-worker "^27.2.0" micromatch "^4.0.4" walker "^1.0.7" optionalDependencies: fsevents "^2.3.2" -jest-jasmine2@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.0.6.tgz#fd509a9ed3d92bd6edb68a779f4738b100655b37" - integrity sha512-cjpH2sBy+t6dvCeKBsHpW41mjHzXgsavaFMp+VWRf0eR4EW8xASk1acqmljFtK2DgyIECMv2yCdY41r2l1+4iA== +jest-jasmine2@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.2.0.tgz#1ece0ee37c348b59ed3dfcfe509fc24e3377b12d" + integrity sha512-NcPzZBk6IkDW3Z2V8orGueheGJJYfT5P0zI/vTO/Jp+R9KluUdgFrgwfvZ0A34Kw6HKgiWFILZmh3oQ/eS+UxA== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^27.0.6" + "@jest/environment" "^27.2.0" "@jest/source-map" "^27.0.6" - "@jest/test-result" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/test-result" "^27.2.0" + "@jest/types" "^27.1.1" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" - expect "^27.0.6" + expect "^27.2.0" is-generator-fn "^2.0.0" - jest-each "^27.0.6" - jest-matcher-utils "^27.0.6" - jest-message-util "^27.0.6" - jest-runtime "^27.0.6" - jest-snapshot "^27.0.6" - jest-util "^27.0.6" - pretty-format "^27.0.6" + jest-each "^27.2.0" + jest-matcher-utils "^27.2.0" + jest-message-util "^27.2.0" + jest-runtime "^27.2.0" + jest-snapshot "^27.2.0" + jest-util "^27.2.0" + pretty-format "^27.2.0" throat "^6.0.1" -jest-leak-detector@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.0.6.tgz#545854275f85450d4ef4b8fe305ca2a26450450f" - integrity sha512-2/d6n2wlH5zEcdctX4zdbgX8oM61tb67PQt4Xh8JFAIy6LRKUnX528HulkaG6nD5qDl5vRV1NXejCe1XRCH5gQ== +jest-leak-detector@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.2.0.tgz#9a7ca2dad1a21c4e49ad2a8ad7f1214ffdb86a28" + integrity sha512-e91BIEmbZw5+MHkB4Hnrq7S86coTxUMCkz4n7DLmQYvl9pEKmRx9H/JFH87bBqbIU5B2Ju1soKxRWX6/eGFGpA== dependencies: jest-get-type "^27.0.6" - pretty-format "^27.0.6" + pretty-format "^27.2.0" -jest-matcher-utils@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.0.6.tgz#2a8da1e86c620b39459f4352eaa255f0d43e39a9" - integrity sha512-OFgF2VCQx9vdPSYTHWJ9MzFCehs20TsyFi6bIHbk5V1u52zJOnvF0Y/65z3GLZHKRuTgVPY4Z6LVePNahaQ+tA== +jest-matcher-utils@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.2.0.tgz#b4d224ab88655d5fab64b96b989ac349e2f5da43" + integrity sha512-F+LG3iTwJ0gPjxBX6HCyrARFXq6jjiqhwBQeskkJQgSLeF1j6ui1RTV08SR7O51XTUhtc8zqpDj8iCG4RGmdKw== dependencies: chalk "^4.0.0" - jest-diff "^27.0.6" + jest-diff "^27.2.0" jest-get-type "^27.0.6" - pretty-format "^27.0.6" + pretty-format "^27.2.0" -jest-message-util@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.0.6.tgz#158bcdf4785706492d164a39abca6a14da5ab8b5" - integrity sha512-rBxIs2XK7rGy+zGxgi+UJKP6WqQ+KrBbD1YMj517HYN3v2BG66t3Xan3FWqYHKZwjdB700KiAJ+iES9a0M+ixw== +jest-message-util@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.2.0.tgz#2f65c71df55267208686b1d7514e18106c91ceaf" + integrity sha512-y+sfT/94CiP8rKXgwCOzO1mUazIEdEhrLjuiu+RKmCP+8O/TJTSne9dqQRbFIHBtlR2+q7cddJlWGir8UATu5w== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.4" micromatch "^4.0.4" - pretty-format "^27.0.6" + pretty-format "^27.2.0" slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.0.6.tgz#0efdd40851398307ba16778728f6d34d583e3467" - integrity sha512-lzBETUoK8cSxts2NYXSBWT+EJNzmUVtVVwS1sU9GwE1DLCfGsngg+ZVSIe0yd0ZSm+y791esiuo+WSwpXJQ5Bw== +jest-mock@^27.1.1: + version "27.1.1" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.1.1.tgz#c7a2e81301fdcf3dab114931d23d89ec9d0c3a82" + integrity sha512-SClsFKuYBf+6SSi8jtAYOuPw8DDMsTElUWEae3zq7vDhH01ayVSIHUSIa8UgbDOUalCFp6gNsaikN0rbxN4dbw== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" "@types/node" "*" jest-pnp-resolver@^1.2.2: @@ -8138,86 +8182,88 @@ jest-regex-util@^27.0.6: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.0.6.tgz#02e112082935ae949ce5d13b2675db3d8c87d9c5" integrity sha512-SUhPzBsGa1IKm8hx2F4NfTGGp+r7BXJ4CulsZ1k2kI+mGLG+lxGrs76veN2LF/aUdGosJBzKgXmNCw+BzFqBDQ== -jest-resolve-dependencies@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.0.6.tgz#3e619e0ef391c3ecfcf6ef4056207a3d2be3269f" - integrity sha512-mg9x9DS3BPAREWKCAoyg3QucCr0n6S8HEEsqRCKSPjPcu9HzRILzhdzY3imsLoZWeosEbJZz6TKasveczzpJZA== +jest-resolve-dependencies@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.2.0.tgz#b56a1aab95b0fd21e0a69a15fda985c05f902b8a" + integrity sha512-EY5jc/Y0oxn+oVEEldTidmmdVoZaknKPyDORA012JUdqPyqPL+lNdRyI3pGti0RCydds6coaw6xt4JQY54dKsg== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" jest-regex-util "^27.0.6" - jest-snapshot "^27.0.6" + jest-snapshot "^27.2.0" -jest-resolve@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.0.6.tgz#e90f436dd4f8fbf53f58a91c42344864f8e55bff" - integrity sha512-yKmIgw2LgTh7uAJtzv8UFHGF7Dm7XfvOe/LQ3Txv101fLM8cx2h1QVwtSJ51Q/SCxpIiKfVn6G2jYYMDNHZteA== +jest-resolve@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.2.0.tgz#f5d053693ab3806ec2f778e6df8b0aa4cfaef95f" + integrity sha512-v09p9Ib/VtpHM6Cz+i9lEAv1Z/M5NVxsyghRHRMEUOqwPQs3zwTdwp1xS3O/k5LocjKiGS0OTaJoBSpjbM2Jlw== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" chalk "^4.0.0" escalade "^3.1.1" graceful-fs "^4.2.4" + jest-haste-map "^27.2.0" jest-pnp-resolver "^1.2.2" - jest-util "^27.0.6" - jest-validate "^27.0.6" + jest-util "^27.2.0" + jest-validate "^27.2.0" resolve "^1.20.0" slash "^3.0.0" -jest-runner@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.0.6.tgz#1325f45055539222bbc7256a6976e993ad2f9520" - integrity sha512-W3Bz5qAgaSChuivLn+nKOgjqNxM7O/9JOJoKDCqThPIg2sH/d4A/lzyiaFgnb9V1/w29Le11NpzTJSzga1vyYQ== +jest-runner@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.2.0.tgz#281b255d88a473aebc0b5cb46e58a83a1251cab3" + integrity sha512-Cl+BHpduIc0cIVTjwoyx0pQk4Br8gn+wkr35PmKCmzEdOUnQ2wN7QVXA8vXnMQXSlFkN/+KWnk20TAVBmhgrww== dependencies: - "@jest/console" "^27.0.6" - "@jest/environment" "^27.0.6" - "@jest/test-result" "^27.0.6" - "@jest/transform" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/console" "^27.2.0" + "@jest/environment" "^27.2.0" + "@jest/test-result" "^27.2.0" + "@jest/transform" "^27.2.0" + "@jest/types" "^27.1.1" "@types/node" "*" chalk "^4.0.0" emittery "^0.8.1" exit "^0.1.2" graceful-fs "^4.2.4" jest-docblock "^27.0.6" - jest-environment-jsdom "^27.0.6" - jest-environment-node "^27.0.6" - jest-haste-map "^27.0.6" - jest-leak-detector "^27.0.6" - jest-message-util "^27.0.6" - jest-resolve "^27.0.6" - jest-runtime "^27.0.6" - jest-util "^27.0.6" - jest-worker "^27.0.6" + jest-environment-jsdom "^27.2.0" + jest-environment-node "^27.2.0" + jest-haste-map "^27.2.0" + jest-leak-detector "^27.2.0" + jest-message-util "^27.2.0" + jest-resolve "^27.2.0" + jest-runtime "^27.2.0" + jest-util "^27.2.0" + jest-worker "^27.2.0" source-map-support "^0.5.6" throat "^6.0.1" -jest-runtime@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.0.6.tgz#45877cfcd386afdd4f317def551fc369794c27c9" - integrity sha512-BhvHLRVfKibYyqqEFkybsznKwhrsu7AWx2F3y9G9L95VSIN3/ZZ9vBpm/XCS2bS+BWz3sSeNGLzI3TVQ0uL85Q== +jest-runtime@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.2.0.tgz#998295ccd80008b3031eeb5cc60e801e8551024b" + integrity sha512-6gRE9AVVX49hgBbWQ9PcNDeM4upMUXzTpBs0kmbrjyotyUyIJixLPsYjpeTFwAA07PVLDei1iAm2chmWycdGdQ== dependencies: - "@jest/console" "^27.0.6" - "@jest/environment" "^27.0.6" - "@jest/fake-timers" "^27.0.6" - "@jest/globals" "^27.0.6" + "@jest/console" "^27.2.0" + "@jest/environment" "^27.2.0" + "@jest/fake-timers" "^27.2.0" + "@jest/globals" "^27.2.0" "@jest/source-map" "^27.0.6" - "@jest/test-result" "^27.0.6" - "@jest/transform" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/test-result" "^27.2.0" + "@jest/transform" "^27.2.0" + "@jest/types" "^27.1.1" "@types/yargs" "^16.0.0" chalk "^4.0.0" cjs-module-lexer "^1.0.0" collect-v8-coverage "^1.0.0" + execa "^5.0.0" exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.2.4" - jest-haste-map "^27.0.6" - jest-message-util "^27.0.6" - jest-mock "^27.0.6" + jest-haste-map "^27.2.0" + jest-message-util "^27.2.0" + jest-mock "^27.1.1" jest-regex-util "^27.0.6" - jest-resolve "^27.0.6" - jest-snapshot "^27.0.6" - jest-util "^27.0.6" - jest-validate "^27.0.6" + jest-resolve "^27.2.0" + jest-snapshot "^27.2.0" + jest-util "^27.2.0" + jest-validate "^27.2.0" slash "^3.0.0" strip-bom "^4.0.0" yargs "^16.0.3" @@ -8230,10 +8276,10 @@ jest-serializer@^27.0.6: "@types/node" "*" graceful-fs "^4.2.4" -jest-snapshot@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.0.6.tgz#f4e6b208bd2e92e888344d78f0f650bcff05a4bf" - integrity sha512-NTHaz8He+ATUagUgE7C/UtFcRoHqR2Gc+KDfhQIyx+VFgwbeEMjeP+ILpUTLosZn/ZtbNdCF5LkVnN/l+V751A== +jest-snapshot@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.2.0.tgz#7961e7107ac666a46fbb23e7bb48ce0b8c6a9285" + integrity sha512-MukJvy3KEqemCT2FoT3Gum37CQqso/62PKTfIzWmZVTsLsuyxQmJd2PI5KPcBYFqLlA8LgZLHM8ZlazkVt8LsQ== dependencies: "@babel/core" "^7.7.2" "@babel/generator" "^7.7.2" @@ -8241,26 +8287,26 @@ jest-snapshot@^27.0.6: "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/traverse" "^7.7.2" "@babel/types" "^7.0.0" - "@jest/transform" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/transform" "^27.2.0" + "@jest/types" "^27.1.1" "@types/babel__traverse" "^7.0.4" "@types/prettier" "^2.1.5" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^27.0.6" + expect "^27.2.0" graceful-fs "^4.2.4" - jest-diff "^27.0.6" + jest-diff "^27.2.0" jest-get-type "^27.0.6" - jest-haste-map "^27.0.6" - jest-matcher-utils "^27.0.6" - jest-message-util "^27.0.6" - jest-resolve "^27.0.6" - jest-util "^27.0.6" + jest-haste-map "^27.2.0" + jest-matcher-utils "^27.2.0" + jest-message-util "^27.2.0" + jest-resolve "^27.2.0" + jest-util "^27.2.0" natural-compare "^1.4.0" - pretty-format "^27.0.6" + pretty-format "^27.2.0" semver "^7.3.2" -jest-util@^27.0.0, jest-util@^27.0.6: +jest-util@^27.0.0: version "27.0.6" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.0.6.tgz#e8e04eec159de2f4d5f57f795df9cdc091e50297" integrity sha512-1JjlaIh+C65H/F7D11GNkGDDZtDfMEM8EBXsvd+l/cxtgQ6QhxuloOaiayt89DxUvDarbVhqI98HhgrM1yliFQ== @@ -8272,29 +8318,41 @@ jest-util@^27.0.0, jest-util@^27.0.6: is-ci "^3.0.0" picomatch "^2.2.3" -jest-validate@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.0.6.tgz#930a527c7a951927df269f43b2dc23262457e2a6" - integrity sha512-yhZZOaMH3Zg6DC83n60pLmdU1DQE46DW+KLozPiPbSbPhlXXaiUTDlhHQhHFpaqIFRrInko1FHXjTRpjWRuWfA== +jest-util@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.2.0.tgz#bfccb85cfafae752257319e825a5b8d4ada470dc" + integrity sha512-T5ZJCNeFpqcLBpx+Hl9r9KoxBCUqeWlJ1Htli+vryigZVJ1vuLB9j35grEBASp4R13KFkV7jM52bBGnArpJN6A== + dependencies: + "@jest/types" "^27.1.1" + "@types/node" "*" + chalk "^4.0.0" + graceful-fs "^4.2.4" + is-ci "^3.0.0" + picomatch "^2.2.3" + +jest-validate@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.2.0.tgz#b7535f12d95dd3b4382831f4047384ca098642ab" + integrity sha512-uIEZGkFKk3+4liA81Xu0maG5aGDyPLdp+4ed244c+Ql0k3aLWQYcMbaMLXOIFcb83LPHzYzqQ8hwNnIxTqfAGQ== dependencies: - "@jest/types" "^27.0.6" + "@jest/types" "^27.1.1" camelcase "^6.2.0" chalk "^4.0.0" jest-get-type "^27.0.6" leven "^3.1.0" - pretty-format "^27.0.6" + pretty-format "^27.2.0" -jest-watcher@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.0.6.tgz#89526f7f9edf1eac4e4be989bcb6dec6b8878d9c" - integrity sha512-/jIoKBhAP00/iMGnTwUBLgvxkn7vsOweDrOTSPzc7X9uOyUtJIDthQBTI1EXz90bdkrxorUZVhJwiB69gcHtYQ== +jest-watcher@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.2.0.tgz#dc2eef4c13c6d41cebf3f1fc5f900a54b51c2ea0" + integrity sha512-SjRWhnr+qO8aBsrcnYIyF+qRxNZk6MZH8TIDgvi+VlsyrvOyqg0d+Rm/v9KHiTtC9mGGeFi9BFqgavyWib6xLg== dependencies: - "@jest/test-result" "^27.0.6" - "@jest/types" "^27.0.6" + "@jest/test-result" "^27.2.0" + "@jest/types" "^27.1.1" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" - jest-util "^27.0.6" + jest-util "^27.2.0" string-length "^4.0.1" jest-worker@^26.3.0, jest-worker@^26.6.2: @@ -8306,7 +8364,7 @@ jest-worker@^26.3.0, jest-worker@^26.6.2: merge-stream "^2.0.0" supports-color "^7.0.0" -jest-worker@^27.0.2, jest-worker@^27.0.6: +jest-worker@^27.0.2: version "27.0.6" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.0.6.tgz#a5fdb1e14ad34eb228cfe162d9f729cdbfa28aed" integrity sha512-qupxcj/dRuA3xHPMUd40gr2EaAurFbkwzOh7wfPaeE9id7hyjURRQoqNfHifHK3XjJU6YJJUQKILGUnwGPEOCA== @@ -8315,16 +8373,25 @@ jest-worker@^27.0.2, jest-worker@^27.0.6: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^27.0.6: - version "27.0.6" - resolved "https://registry.yarnpkg.com/jest/-/jest-27.0.6.tgz#10517b2a628f0409087fbf473db44777d7a04505" - integrity sha512-EjV8aETrsD0wHl7CKMibKwQNQc3gIRBXlTikBmmHUeVMKaPFxdcUIBfoDqTSXDoGJIivAYGqCWVlzCSaVjPQsA== +jest-worker@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.2.0.tgz#11eef39f1c88f41384ca235c2f48fe50bc229bc0" + integrity sha512-laB0ZVIBz+voh/QQy9dmUuuDsadixeerrKqyVpgPz+CCWiOYjOBabUXHIXZhsdvkWbLqSHbgkAHWl5cg24Q6RA== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/jest/-/jest-27.2.0.tgz#3bc329287d699d26361e2094919630eefdf1ac0d" + integrity sha512-oUqVXyvh5YwEWl263KWdPUAqEzBFzGHdFLQ05hUnITr1tH+9SscEI9A/GH9eBClA+Nw1ct+KNuuOV6wlnmBPcg== dependencies: - "@jest/core" "^27.0.6" + "@jest/core" "^27.2.0" import-local "^3.0.2" - jest-cli "^27.0.6" + jest-cli "^27.2.0" -joi@^17.2.1, joi@^17.4.0: +joi@^17.2.1, joi@^17.4.0, joi@^17.4.2: version "17.4.2" resolved "https://registry.yarnpkg.com/joi/-/joi-17.4.2.tgz#02f4eb5cf88e515e614830239379dcbbe28ce7f7" integrity sha512-Lm56PP+n0+Z2A2rfRvsfWVDXGEWjXxatPopkQ8qQ5mxCEhwHG+Ettgg5o98FFaxilOxozoa14cFhrE/hOzh/Nw== @@ -8401,6 +8468,11 @@ json-buffer@3.0.0: resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + json-loader@^0.5.7: version "0.5.7" resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d" @@ -8431,17 +8503,7 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= -json-stringify-safe@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= - -json3@^3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81" - integrity sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA== - -json5@2.x, json5@^2.1.2, json5@^2.1.3, json5@^2.2.0: +json5@2.x, json5@^2.1.2, json5@^2.1.3: version "2.2.0" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== @@ -8455,10 +8517,12 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= +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" @@ -8470,13 +8534,6 @@ jsonfile@^4.0.0: array-includes "^3.1.2" object.assign "^4.1.2" -keyv@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.0.0.tgz#44923ba39e68b12a7cec7df6c3268c031f2ef373" - integrity sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA== - dependencies: - json-buffer "3.0.0" - keyv@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" @@ -8484,10 +8541,12 @@ keyv@^3.0.0: dependencies: json-buffer "3.0.0" -killable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892" - integrity sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg== +keyv@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.0.3.tgz#4f3aa98de254803cafcd2896734108daa35e4254" + integrity sha512-zdGa2TOpSZPq5mU6iowDARnMBZgtCqJ11dJROFi6tg6kTn4nuUdU09lFyLFSaHrWqpIJ+EBq4E8/Dc0Vx5vLdA== + dependencies: + json-buffer "3.0.1" kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" @@ -8763,16 +8822,11 @@ lodash.without@^4.4.0: resolved "https://registry.yarnpkg.com/lodash.without/-/lodash.without-4.4.0.tgz#3cd4574a00b67bae373a94b748772640507b7aac" integrity sha1-PNRXSgC2e643OpS3SHcmQFB7eqw= -lodash@4.17.21, lodash@4.x, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.7.0: +lodash@4.17.21, lodash@4.x, lodash@^4.17.10, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -loglevel@^1.6.8: - version "1.7.1" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.7.1.tgz#005fde2f5e6e47068f935ff28573e125ef72f197" - integrity sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw== - longest-streak@^2.0.0, longest-streak@^2.0.1: version "2.0.4" resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" @@ -8804,11 +8858,6 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" -lowercase-keys@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306" - integrity sha1-TjNms55/VFfjXxMkvfb4jQv8cwY= - lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" @@ -9102,14 +9151,6 @@ memoizee@^0.4.15: next-tick "^1.1.0" timers-ext "^0.1.7" -memory-fs@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" - integrity sha1-OpoguEYlI+RHz7x+i7gO1me/xVI= - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - memorystream@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" @@ -9208,7 +9249,7 @@ micromark@~2.11.0: debug "^4.0.0" parse-entities "^2.0.0" -micromatch@^3.1.10, micromatch@^3.1.4: +micromatch@^3.1.10: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== @@ -9240,7 +9281,7 @@ mime-db@1.49.0, "mime-db@>= 1.43.0 < 2": resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.49.0.tgz#f3dfde60c99e9cf3bc9701d687778f537001cbed" integrity sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA== -mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.30, mime-types@~2.1.17, mime-types@~2.1.24: +mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.30, mime-types@~2.1.24: version "2.1.32" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.32.tgz#1d00e89e7de7fe02008db61001d9e02852670fd5" integrity sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A== @@ -9277,6 +9318,11 @@ mimic-response@^2.0.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.1.0.tgz#d13763d35f613d09ec37ebb30bac0469c0ee8f43" integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA== +mimic-response@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== + min-indent@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" @@ -9291,12 +9337,7 @@ mini-css-extract-plugin@1.6.2: schema-utils "^3.0.0" webpack-sources "^1.1.0" -minimalistic-assert@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimatch@3.0.4, minimatch@^3.0.3, minimatch@^3.0.4: +minimatch@3.0.4, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== @@ -9326,18 +9367,13 @@ mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3: resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== -mkdirp@^0.5.1, mkdirp@^0.5.4, mkdirp@^0.5.5: +mkdirp@^0.5.1, mkdirp@^0.5.4: version "0.5.5" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== dependencies: minimist "^1.2.5" -mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - moment@^2.27.0: version "2.29.1" resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" @@ -9377,34 +9413,11 @@ multer@^1.4.2: type-is "^1.6.4" xtend "^4.0.0" -multicast-dns-service-types@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" - integrity sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE= - -multicast-dns@^6.0.1: - version "6.2.3" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.3.tgz#a0ec7bd9055c4282f790c3c82f4e28db3b31b229" - integrity sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g== - dependencies: - dns-packet "^1.3.1" - thunky "^1.0.2" - mute-stream@0.0.8, mute-stream@~0.0.4: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -name-all-modules-plugin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/name-all-modules-plugin/-/name-all-modules-plugin-1.0.1.tgz#0abfb6ad835718b9fb4def0674e06657a954375c" - integrity sha1-Cr+2rYNXGLn7Te8GdOBmV6lUN1w= - -nan@^2.12.1: - version "2.15.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.15.0.tgz#3f34a473ff18e15c1b5626b62903b5ad6e665fee" - integrity sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ== - nanoid@^3.1.23: version "3.1.25" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.25.tgz#09ca32747c0e543f0e1814b7d3793477f9c8e152" @@ -9496,10 +9509,10 @@ node-abi@^2.21.0: dependencies: semver "^5.4.1" -node-addon-api@^3.2.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" - integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== +node-addon-api@^4.1.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-4.2.0.tgz#117cbb5a959dff0992e1c586ae0393573e4d2a87" + integrity sha512-eazsqzwG2lskuzBqCGPi7Ac2UgOoMz8JVOXVhTvvPDYhthvNpefx8jWD8Np7Gv+2Sz0FlPWZk0nJV0z598Wn8Q== node-eta@^0.9.0: version "0.9.0" @@ -9511,11 +9524,6 @@ node-fetch@2.6.1, node-fetch@^2.5.0, node-fetch@^2.6.1: resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== -node-forge@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3" - integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA== - node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -9526,24 +9534,16 @@ node-modules-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA= -node-object-hash@^2.3.8: - version "2.3.9" - resolved "https://registry.yarnpkg.com/node-object-hash/-/node-object-hash-2.3.9.tgz#d6bbea42201e7a7bf32a3064c44662c020653aaf" - integrity sha512-NQt1YURrMPeQGZzW4lRbshUEF2PqxJEZYY4XJ/L+q33dI8yPYvnb7QXmwUcl1EuXluzeY4TEV+H6H0EmtI6f5g== +node-object-hash@^2.3.9: + version "2.3.10" + resolved "https://registry.yarnpkg.com/node-object-hash/-/node-object-hash-2.3.10.tgz#4b0c1a3a8239e955f0db71f8e00b38b5c0b33992" + integrity sha512-jY5dPJzw6NHd/KPSfPKJ+IHoFS81/tJ43r34ZeNMXGzCOM8jwQDCD12HYayKIB6MuznrnqIYy2e891NA2g0ibA== node-releases@^1.1.61, node-releases@^1.1.75: version "1.1.75" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.75.tgz#6dd8c876b9897a1b8e5a02de26afa79bb54ebbfe" integrity sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw== -noms@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859" - integrity sha1-2o69nzr51nYJGbJ9nNyAkqczKFk= - dependencies: - inherits "^2.0.1" - readable-stream "~1.0.31" - normalize-package-data@^2.3.2: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -9571,15 +9571,6 @@ normalize-range@^0.1.2: resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI= -normalize-url@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-2.0.1.tgz#835a9da1551fa26f70e92329069a23aa6574d7e6" - integrity sha512-D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw== - dependencies: - prepend-http "^2.0.0" - query-string "^5.0.1" - sort-keys "^2.0.0" - normalize-url@^4.1.0: version "4.5.1" resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" @@ -9680,14 +9671,6 @@ object-inspect@^1.11.0, object-inspect@^1.9.0: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1" integrity sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg== -object-is@^1.0.1: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" - integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -9734,15 +9717,6 @@ object.fromentries@^2.0.4: es-abstract "^1.18.0-next.2" has "^1.0.3" -object.getownpropertydescriptors@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz#1bd63aeacf0d5d2d2f31b5e393b03a7c601a23f7" - integrity sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.18.0-next.2" - object.pick@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" @@ -9759,11 +9733,6 @@ object.values@^1.1.4: define-properties "^1.1.3" es-abstract "^1.18.2" -obuf@^1.0.0, obuf@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" - integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== - on-finished@^2.3.0, on-finished@~2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" @@ -9803,13 +9772,6 @@ opentracing@^0.14.4: resolved "https://registry.yarnpkg.com/opentracing/-/opentracing-0.14.5.tgz#891fa92cd90a24e64f99bc964370227310926c85" integrity sha512-XLKtEfHxqrWyF1fzxznsv78w3csW41ucHnjiKnfzZLD5FN8UBDZZL1i4q0FR29zjxXhm+2Hop+5Vr/b8tKIvEg== -opn@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" - integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== - dependencies: - is-wsl "^1.1.0" - optionator@^0.8.1: version "0.8.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" @@ -9834,28 +9796,21 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" -original@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f" - integrity sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg== - dependencies: - url-parse "^1.4.3" - os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -p-cancelable@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.4.1.tgz#35f363d67d52081c8d9585e37bcceb7e0bbcb2a0" - integrity sha512-HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ== - p-cancelable@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== +p-cancelable@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" + integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== + p-defer@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" @@ -9876,11 +9831,6 @@ p-finally@^1.0.0: resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= -p-is-promise@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" - integrity sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4= - p-limit@3.1.0, p-limit@^3.0.2, p-limit@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" @@ -9923,11 +9873,6 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" -p-map@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - p-map@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-3.0.0.tgz#d704d9af8a2ba684e2600d9a215983d4141a979d" @@ -9943,20 +9888,6 @@ p-queue@^6.6.2: eventemitter3 "^4.0.4" p-timeout "^3.2.0" -p-retry@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-3.0.1.tgz#316b4c8893e2c8dc1cfa891f406c4b422bebf328" - integrity sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w== - dependencies: - retry "^0.12.0" - -p-timeout@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-2.0.1.tgz#d8dd1979595d2dc0139e1fe46b8b646cb3cdf038" - integrity sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA== - dependencies: - p-finally "^1.0.0" - p-timeout@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" @@ -10094,7 +10025,7 @@ parseuri@0.0.6: resolved "https://registry.yarnpkg.com/parseuri/-/parseuri-0.0.6.tgz#e1496e829e3ac2ff47f39a4dd044b32823c4a25a" integrity sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow== -parseurl@^1.3.3, parseurl@~1.3.2, parseurl@~1.3.3: +parseurl@^1.3.3, parseurl@~1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== @@ -10135,11 +10066,6 @@ path-case@^2.1.0: dependencies: no-case "^2.2.0" -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA= - path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -10155,11 +10081,6 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= - path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" @@ -10212,11 +10133,6 @@ pidtree@^0.3.0: resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a" integrity sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA== -pify@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= - pify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" @@ -10227,18 +10143,6 @@ pify@^4.0.1: resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o= - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= - pirates@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87" @@ -10253,13 +10157,6 @@ pkg-dir@^2.0.0: dependencies: find-up "^2.1.0" -pkg-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" - integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw== - dependencies: - find-up "^3.0.0" - pkg-dir@^4.1.0, pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" @@ -10286,22 +10183,6 @@ platform@^1.3.6: resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.6.tgz#48b4ce983164b209c2d45a107adb31f473a6e7a7" integrity sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg== -pnp-webpack-plugin@^1.6.4: - version "1.7.0" - resolved "https://registry.yarnpkg.com/pnp-webpack-plugin/-/pnp-webpack-plugin-1.7.0.tgz#65741384f6d8056f36e2255a8d67ffc20866f5c9" - integrity sha512-2Rb3vm+EXble/sMXNSu6eoBx8e79gKqhNq9F5ZWW6ERNCTE/Q0wQNne5541tE5vKjfM8hpNCYL+LGc1YTfI0dg== - dependencies: - ts-pnp "^1.1.6" - -portfinder@^1.0.26: - version "1.0.28" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778" - integrity sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA== - dependencies: - async "^2.6.2" - debug "^3.1.1" - mkdirp "^0.5.5" - posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" @@ -10588,7 +10469,7 @@ postcss@^8.2.15, postcss@^8.2.9, postcss@^8.3.5: nanoid "^3.1.23" source-map-js "^0.6.2" -prebuild-install@^6.1.2: +prebuild-install@^6.1.4: version "6.1.4" resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.1.4.tgz#ae3c0142ad611d58570b89af4986088a4937e00f" integrity sha512-Z4vpywnK1lBg+zdPCVCsKq0xO66eEV9rWo2zrROGGiRS4JtueBOdlB1FnY8lcy7JsUud/Q3ijUxyWN26Ika0vQ== @@ -10634,6 +10515,11 @@ prettier@^2.3.2: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d" integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ== +prettier@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c" + integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA== + pretty-bytes@^5.3.0, pretty-bytes@^5.4.1: version "5.6.0" resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb" @@ -10667,15 +10553,25 @@ pretty-format@^27.0.0, pretty-format@^27.0.2, pretty-format@^27.0.6: ansi-styles "^5.0.0" react-is "^17.0.1" +pretty-format@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.2.0.tgz#ee37a94ce2a79765791a8649ae374d468c18ef19" + integrity sha512-KyJdmgBkMscLqo8A7K77omgLx5PWPiXJswtTtFV7XgVZv2+qPk6UivpXXO+5k6ZEbWIbLoKdx1pZ6ldINzbwTA== + dependencies: + "@jest/types" "^27.1.1" + ansi-regex "^5.0.0" + ansi-styles "^5.0.0" + react-is "^17.0.1" + prism-react-renderer@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.2.1.tgz#392460acf63540960e5e3caa699d851264e99b89" integrity sha512-w23ch4f75V1Tnz8DajsYKvY5lF7H1+WvzvLUcF0paFxkTHSp42RS0H5CttdN2Q8RR3DRGZ9v5xD/h3n8C8kGmg== -prismjs@^1.24.1: - version "1.24.1" - resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.24.1.tgz#c4d7895c4d6500289482fa8936d9cdd192684036" - integrity sha512-mNPsedLuk90RVJioIky8ANZEwYm5w9LcvCXrxHlwf4fNVSn8jEipMybMkWUyyF0JhnC+C4VcOVSBuHRKs1L5Ow== +prismjs@^1.25.0: + version "1.25.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.25.0.tgz#6f822df1bdad965734b310b315a23315cf999756" + integrity sha512-WCjJHl1KEWbnkQom1+SzftbtXMKQoezOCYs5rECqMN+jP+apI7ftoflyqigqzopSO3hMhTEb0mFClA8lkolgEg== process-nextick-args@~2.0.0: version "2.0.1" @@ -10741,11 +10637,6 @@ proxy-addr@~2.0.5: forwarded "0.2.0" ipaddr.js "1.9.1" -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= - pseudomap@^1.0.1, pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" @@ -10793,15 +10684,6 @@ qs@^6.9.4: dependencies: side-channel "^1.0.4" -query-string@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" - integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - query-string@^6.13.1, query-string@^6.13.8: version "6.14.1" resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.14.1.tgz#7ac2dca46da7f309449ba0f86b1fd28255b0c86a" @@ -10822,16 +10704,16 @@ querystring@^0.2.0: resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.1.tgz#40d77615bb09d16902a85c3e38aa8b5ed761c2dd" integrity sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg== -querystringify@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" - integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== - queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -11038,7 +10920,7 @@ readable-stream@1.1.x: isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.2.2, readable-stream@~2.3.6: +readable-stream@^2.0.6, readable-stream@^2.2.2: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -11051,7 +10933,7 @@ readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: +readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -11060,16 +10942,6 @@ readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@~1.0.31: - version "1.0.34" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" - integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw= - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - readable-web-to-node-stream@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz#5d52bb5df7b54861fd48d015e93a2cb87b3ee0bb" @@ -11077,15 +10949,6 @@ readable-web-to-node-stream@^3.0.0: dependencies: readable-stream "^3.6.0" -readdirp@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" - integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== - dependencies: - graceful-fs "^4.1.11" - micromatch "^3.1.10" - readable-stream "^2.0.2" - readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -11157,7 +11020,7 @@ regex-parser@^2.2.11: resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.2.11.tgz#3b37ec9049e19479806e878cabe7c1ca83ccfe58" integrity sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q== -regexp.prototype.flags@^1.2.0, regexp.prototype.flags@^1.3.1: +regexp.prototype.flags@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz#7ef352ae8d159e758c0eadca6f8fcb4eef07be26" integrity sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA== @@ -11218,10 +11081,10 @@ remark-footnotes@2.0.0: resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-2.0.0.tgz#9001c4c2ffebba55695d2dd80ffb8b82f7e6303f" integrity sha512-3Clt8ZMH75Ayjp9q4CorNeyjwIxHFcTkaektplKGl2A1jNGEUey8cKL0ZC5vJwfcD5GFGsNLImLG/NGzWIzoMQ== -remark-html@^13.0.0: - version "13.0.1" - resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-13.0.1.tgz#d5b2d8be01203e61fc37403167ca7584879ad675" - integrity sha512-K5KQCXWVz+harnyC+UVM/J9eJWCgjYRqFeZoZf2NgP0iFbuuw/RgMZv3MA34b/OEpGnstl3oiOUtZzD3tJ+CBw== +remark-html@^13.0.2: + version "13.0.2" + resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-13.0.2.tgz#de5f052749ff61fc904c9708c155c88a2e2655dc" + integrity sha512-LhSRQ+3RKdBqB/RGesFWkNNfkGqprDUCwjq54SylfFeNyZby5kqOG8Dn/vYsRoM8htab6EWxFXCY6XIZvMoRiQ== dependencies: hast-util-sanitize "^3.0.0" hast-util-to-html "^7.0.0" @@ -11428,12 +11291,10 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - integrity sha1-AKn3OHVW4nA46uIyyqNypqWbZlo= - dependencies: - resolve-from "^3.0.0" +resolve-alpn@^1.0.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" + integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== resolve-cwd@^3.0.0: version "3.0.0" @@ -11447,11 +11308,6 @@ resolve-from@5.0.0, resolve-from@^5.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - integrity sha1-six699nWiBvItuZTM17rywoYh0g= - resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" @@ -11494,13 +11350,20 @@ resolve@^2.0.0-next.3: is-core-module "^2.2.0" path-parse "^1.0.6" -responselike@1.0.2, responselike@^1.0.2: +responselike@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec= dependencies: lowercase-keys "^1.0.0" +responselike@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.0.tgz#26391bcc3174f750f9a79eacc40a12a5c42d7723" + integrity sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw== + dependencies: + lowercase-keys "^2.0.0" + restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -11545,7 +11408,7 @@ rework@1.0.1: convert-source-map "^0.3.3" css "^2.0.0" -rimraf@^2.6.2, rimraf@^2.6.3: +rimraf@^2.6.2: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== @@ -11595,7 +11458,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -11623,10 +11486,10 @@ sass-loader@^10.1.1: schema-utils "^3.0.0" semver "^7.3.2" -sass@^1.38.0: - version "1.38.0" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.38.0.tgz#2f3e60a1efdcdc910586fa79dc89d3399a145b4f" - integrity sha512-WBccZeMigAGKoI+NgD7Adh0ab1HUq+6BmyBUEaGxtErbUtWUevEbdgo5EZiJQofLUGcKtlNaO2IdN73AHEua5g== +sass@^1.41.1: + version "1.41.1" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.41.1.tgz#bca5bed2154192779c29f48fca9c644c60c38d98" + integrity sha512-vIjX7izRxw3Wsiez7SX7D+j76v7tenfO18P59nonjr/nzCkZuoHuF7I/Fo0ZRZPKr88v29ivIdE9BqGDgQD/Nw== dependencies: chokidar ">=3.0.0 <4.0.0" @@ -11650,15 +11513,6 @@ scheduler@^0.20.2: loose-envify "^1.1.0" object-assign "^4.1.1" -schema-utils@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" - integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== - dependencies: - ajv "^6.1.0" - ajv-errors "^1.0.0" - ajv-keywords "^3.1.0" - schema-utils@^2.6.5: version "2.7.1" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" @@ -11685,18 +11539,6 @@ section-matter@^1.0.0: extend-shallow "^2.0.1" kind-of "^6.0.0" -select-hose@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= - -selfsigned@^1.10.8: - version "1.10.11" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.11.tgz#24929cd906fe0f44b6d01fb23999a739537acbe9" - integrity sha512-aVmbPOfViZqOZPgRBT0+3u4yZFHpmnIghLMlAcb5/xhp5ZtB/RVnKhz5vl2M32CLXAqR4kha9zfhNg0Lf/sxKA== - dependencies: - node-forge "^0.10.0" - semver-diff@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" @@ -11767,19 +11609,6 @@ serialize-javascript@^6.0.0: dependencies: randombytes "^2.1.0" -serve-index@^1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" - integrity sha1-03aNabHn2C5c4FD/9bRTvqEqkjk= - dependencies: - accepts "~1.3.4" - batch "0.6.1" - debug "2.6.9" - escape-html "~1.0.3" - http-errors "~1.6.2" - mime-types "~2.1.17" - parseurl "~1.3.2" - serve-static@1.14.1: version "1.14.1" resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9" @@ -11805,11 +11634,6 @@ set-value@^2.0.0, set-value@^2.0.1: is-plain-object "^2.0.3" split-string "^3.0.1" -setprototypeof@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" - integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== - setprototypeof@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" @@ -11832,15 +11656,15 @@ shallow-compare@^1.2.2: resolved "https://registry.yarnpkg.com/shallow-compare/-/shallow-compare-1.2.2.tgz#fa4794627bf455a47c4f56881d8a6132d581ffdb" integrity sha512-LUMFi+RppPlrHzbqmFnINTrazo0lPNwhcgzuAXVVcfy/mqPDrQmHAyz5bvV0gDAuRFrk804V0HpQ6u9sZ0tBeg== -sharp@^0.28.3: - version "0.28.3" - resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.28.3.tgz#ecd74cefd020bee4891bb137c9850ee2ce277a8b" - integrity sha512-21GEP45Rmr7q2qcmdnjDkNP04Ooh5v0laGS5FDpojOO84D1DJwUijLiSq8XNNM6e8aGXYtoYRh3sVNdm8NodMA== +sharp@^0.29.0: + version "0.29.1" + resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.29.1.tgz#f60b50f24f399464a24187c86bd2da41aae50b85" + integrity sha512-DpgdAny9TuS+oWCQ7MRS8XyY9x6q1+yW3a5wNx0J3HrGuB/Jot/8WcT+lElHY9iJu2pwtegSGxqMaqFiMhs4rQ== dependencies: - color "^3.1.3" + color "^4.0.1" detect-libc "^1.0.3" - node-addon-api "^3.2.0" - prebuild-install "^6.1.2" + node-addon-api "^4.1.0" + prebuild-install "^6.1.4" semver "^7.3.5" simple-get "^3.1.0" tar-fs "^2.1.1" @@ -12030,34 +11854,6 @@ socket.io@3.1.1: socket.io-adapter "~2.1.0" socket.io-parser "~4.0.3" -sockjs-client@^1.5.0: - version "1.5.1" - resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.5.1.tgz#256908f6d5adfb94dabbdbd02c66362cca0f9ea6" - integrity sha512-VnVAb663fosipI/m6pqRXakEOw7nvd7TUgdr3PlR/8V2I95QIdwT8L4nMxhyU8SmDBHYXU1TOElaKOmKLfYzeQ== - dependencies: - debug "^3.2.6" - eventsource "^1.0.7" - faye-websocket "^0.11.3" - inherits "^2.0.4" - json3 "^3.3.3" - url-parse "^1.5.1" - -sockjs@^0.3.21: - version "0.3.21" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.21.tgz#b34ffb98e796930b60a0cfa11904d6a339a7d417" - integrity sha512-DhbPFGpxjc6Z3I+uX07Id5ZO2XwYsWOrYjaSeieES78cq+JaJvVe5q/m1uvjIQhXinhIeCFRH6JgXe+mvVMyXw== - dependencies: - faye-websocket "^0.11.3" - uuid "^3.4.0" - websocket-driver "^0.7.4" - -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - integrity sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg= - dependencies: - is-plain-obj "^1.0.0" - source-list-map@^1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-1.1.2.tgz#9889019d1024cce55cdc069498337ef6186a11a1" @@ -12156,29 +11952,6 @@ spdx-license-ids@^3.0.0: resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz#0d9becccde7003d6c658d487dd48a32f0bf3014b" integrity sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA== -spdy-transport@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" - integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== - dependencies: - debug "^4.1.0" - detect-node "^2.0.4" - hpack.js "^2.1.6" - obuf "^1.1.2" - readable-stream "^3.0.6" - wbuf "^1.7.3" - -spdy@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" - integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== - dependencies: - debug "^4.1.0" - handle-thing "^2.0.0" - http-deceiver "^1.2.7" - select-hose "^2.0.0" - spdy-transport "^3.0.0" - split-on-first@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" @@ -12260,7 +12033,7 @@ static-site-generator-webpack-plugin@^3.4.2: url "^0.11.0" webpack-sources "^0.2.0" -"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@~1.5.0: +"statuses@>= 1.5.0 < 2", statuses@~1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= @@ -12270,11 +12043,6 @@ streamsearch@0.1.2: resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a" integrity sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo= -strict-uri-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" - integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM= - strict-uri-encode@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" @@ -12326,7 +12094,7 @@ string-width@^1.0.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0, string-width@^3.1.0: +string-width@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== @@ -12442,7 +12210,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5.1.0, strip-ansi@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== @@ -12709,29 +12477,11 @@ throat@^6.0.1: resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== -through2@^2.0.1: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - through@^2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= -thunky@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" - integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== - -timed-out@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" - integrity sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8= - timers-ext@^0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/timers-ext/-/timers-ext-0.1.7.tgz#6f57ad8578e07a3fb9f91d9387d65647555e25c6" @@ -12889,17 +12639,13 @@ ts-node@^9: source-map-support "^0.5.17" yn "3.1.1" -ts-pnp@^1.1.6: - version "1.2.0" - resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" - integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== - -tsconfig-paths@^3.10.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.10.1.tgz#79ae67a68c15289fdf5c51cb74f397522d795ed7" - integrity sha512-rETidPDgCpltxF7MjBZlAFPUHv5aHH2MymyPvh+vEyWAED4Eb/WeMbsnD/JDr4OKPOA1TssDHgIcpTN5Kh0p6Q== +tsconfig-paths@^3.11.0: + version "3.11.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.11.0.tgz#954c1fe973da6339c78e06b03ce2e48810b65f36" + integrity sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA== dependencies: - json5 "^2.2.0" + "@types/json5" "^0.0.29" + json5 "^1.0.1" minimist "^1.2.0" strip-bom "^3.0.0" @@ -13011,10 +12757,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^4.3.5: - version "4.3.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4" - integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA== +typescript@^4.4.3: + version "4.4.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324" + integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA== unbox-primitive@^1.0.1: version "1.0.1" @@ -13263,11 +13009,16 @@ unist-util-visit@^1.1.0, unist-util-visit@^1.4.1: dependencies: unist-util-visit-parents "^2.0.0" -universalify@^0.1.0, universalify@^0.1.2: +universalify@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + unixify@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unixify/-/unixify-1.0.0.tgz#3a641c8c2ffbce4da683a5c70f03a462940c2090" @@ -13288,16 +13039,6 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -untildify@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" - integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== - -upath@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" - integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== - update-notifier@^5.0.1: version "5.1.0" resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9" @@ -13358,19 +13099,6 @@ url-parse-lax@^3.0.0: dependencies: prepend-http "^2.0.0" -url-parse@^1.4.3, url-parse@^1.5.1: - version "1.5.3" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.3.tgz#71c1303d38fb6639ade183c2992c8cc0686df862" - integrity sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ== - dependencies: - querystringify "^2.1.1" - requires-port "^1.0.0" - -url-to-options@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" - integrity sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k= - url@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -13389,17 +13117,6 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= -util.promisify@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.1.1.tgz#77832f57ced2c9478174149cae9b96e9918cd54b" - integrity sha512-/s3UsZUrIfa6xDhr7zZhnE9SLQ5RIXyYfiVnMMyMDzOc8WhWN4Nbh36H842OyurKbCDAesZOJaVyvmSl6fhGQw== - dependencies: - call-bind "^1.0.0" - define-properties "^1.1.3" - for-each "^0.3.3" - has-symbols "^1.0.1" - object.getownpropertydescriptors "^2.1.1" - utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" @@ -13410,7 +13127,7 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= -uuid@3.4.0, uuid@^3.0.0, uuid@^3.3.2, uuid@^3.4.0: +uuid@3.4.0, uuid@^3.0.0: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== @@ -13551,13 +13268,6 @@ watchpack@^2.2.0: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" -wbuf@^1.1.0, wbuf@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" - integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== - dependencies: - minimalistic-assert "^1.0.0" - web-namespaces@^1.0.0: version "1.1.4" resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.4.tgz#bc98a3de60dadd7faefc403d1076d529f5e030ec" @@ -13573,17 +13283,6 @@ webidl-conversions@^6.1.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== -webpack-dev-middleware@^3.7.2: - version "3.7.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz#0639372b143262e2b84ab95d3b91a7597061c2c5" - integrity sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ== - dependencies: - memory-fs "^0.4.1" - mime "^2.4.4" - mkdirp "^0.5.1" - range-parser "^1.2.1" - webpack-log "^2.0.0" - webpack-dev-middleware@^4.1.0: version "4.3.0" resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-4.3.0.tgz#179cc40795882cae510b1aa7f3710cbe93c9333e" @@ -13596,53 +13295,6 @@ webpack-dev-middleware@^4.1.0: range-parser "^1.2.1" schema-utils "^3.0.0" -webpack-dev-server@^3.11.2: - version "3.11.2" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.11.2.tgz#695ebced76a4929f0d5de7fd73fafe185fe33708" - integrity sha512-A80BkuHRQfCiNtGBS1EMf2ChTUs0x+B3wGDFmOeT4rmJOHhHTCH2naNxIHhmkr0/UillP4U3yeIyv1pNp+QDLQ== - dependencies: - ansi-html "0.0.7" - bonjour "^3.5.0" - chokidar "^2.1.8" - compression "^1.7.4" - connect-history-api-fallback "^1.6.0" - debug "^4.1.1" - del "^4.1.1" - express "^4.17.1" - html-entities "^1.3.1" - http-proxy-middleware "0.19.1" - import-local "^2.0.0" - internal-ip "^4.3.0" - ip "^1.1.5" - is-absolute-url "^3.0.3" - killable "^1.0.1" - loglevel "^1.6.8" - opn "^5.5.0" - p-retry "^3.0.1" - portfinder "^1.0.26" - schema-utils "^1.0.0" - selfsigned "^1.10.8" - semver "^6.3.0" - serve-index "^1.9.1" - sockjs "^0.3.21" - sockjs-client "^1.5.0" - spdy "^4.0.2" - strip-ansi "^3.0.1" - supports-color "^6.1.0" - url "^0.11.0" - webpack-dev-middleware "^3.7.2" - webpack-log "^2.0.0" - ws "^6.2.1" - yargs "^13.3.2" - -webpack-log@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/webpack-log/-/webpack-log-2.0.0.tgz#5b7928e0637593f119d32f6227c1e0ac31e1b47f" - integrity sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg== - dependencies: - ansi-colors "^3.0.0" - uuid "^3.3.2" - webpack-merge@^5.7.3: version "5.8.0" resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61" @@ -13714,20 +13366,6 @@ webpack@^5.35.0: watchpack "^2.2.0" webpack-sources "^3.2.0" -websocket-driver@>=0.5.1, websocket-driver@^0.7.4: - version "0.7.4" - resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" - integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== - dependencies: - http-parser-js ">=0.5.1" - safe-buffer ">=5.1.0" - websocket-extensions ">=0.1.1" - -websocket-extensions@>=0.1.1: - version "0.1.4" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" - integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== - whatwg-encoding@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" @@ -13810,15 +13448,6 @@ worker-rpc@^0.1.0: dependencies: microevent.ts "~0.1.1" -wrap-ansi@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" - integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== - dependencies: - ansi-styles "^3.2.0" - string-width "^3.0.0" - strip-ansi "^5.0.0" - wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" @@ -13862,13 +13491,6 @@ ws@7.4.5: resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== -ws@^6.2.1: - version "6.2.2" - resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.2.tgz#dd5cdbd57a9979916097652d78f1cc5faea0c32e" - integrity sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw== - dependencies: - async-limiter "~1.0.0" - ws@~7.4.2: version "7.4.6" resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" @@ -13912,7 +13534,7 @@ xstate@^4.11.0, xstate@^4.14.0, xstate@^4.9.1: resolved "https://registry.yarnpkg.com/xstate/-/xstate-4.23.1.tgz#a85ce0ca4ad9737f1497e2da7a3abc6a5697fbcd" integrity sha512-8ZoCe8d6wDSPfkep+GBgi+fKAdMyXcaizoNf5FKceEhlso4+9n1TeK6oviaDsXZ3Z5O8xKkJOxXPNuD4cA9LCw== -xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: +xtend@^4.0.0, xtend@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== @@ -13955,14 +13577,6 @@ yargs-parser@20.x, yargs-parser@^20.2.2: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs-parser@^13.1.2: - version "13.1.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" - integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" @@ -13971,22 +13585,6 @@ yargs-parser@^18.1.2: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@^13.3.2: - version "13.3.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" - integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== - dependencies: - cliui "^5.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.1.2" - yargs@^15.4.1: version "15.4.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" @@ -14004,7 +13602,7 @@ yargs@^15.4.1: y18n "^4.0.0" yargs-parser "^18.1.2" -yargs@^16.0.3, yargs@^16.1.0: +yargs@^16.0.3: version "16.2.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== From bad08ef0725fd7efb049d9d01756b43dd36c7bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 19 Sep 2021 12:19:20 +0200 Subject: [PATCH 016/493] refactor(CCollapse): improve syntax --- src/components/collapse/CCollapse.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/collapse/CCollapse.tsx b/src/components/collapse/CCollapse.tsx index 0f82acd0..7aa67f23 100644 --- a/src/components/collapse/CCollapse.tsx +++ b/src/components/collapse/CCollapse.tsx @@ -33,7 +33,7 @@ export const CCollapse = forwardRef( } const onEntering = () => { - collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight) + collapseRef.current && setHeight(collapseRef.current.scrollHeight) } const onEntered = () => { @@ -41,7 +41,7 @@ export const CCollapse = forwardRef( } const onExit = () => { - collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight) + collapseRef.current && setHeight(collapseRef.current.scrollHeight) } const onExiting = () => { From 8c6b69314533eb465875e8a8e913733f801814ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 19 Sep 2021 12:19:38 +0200 Subject: [PATCH 017/493] refactor(CDropdown): improve syntax --- src/components/dropdown/CDropdown.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/dropdown/CDropdown.tsx b/src/components/dropdown/CDropdown.tsx index 44e50f6f..bee689f9 100644 --- a/src/components/dropdown/CDropdown.tsx +++ b/src/components/dropdown/CDropdown.tsx @@ -145,12 +145,12 @@ export const CDropdown = forwardRef { - if (dropdownRef.current && !dropdownRef.current.contains(event.target as HTMLElement)) { + if (!dropdownRef.current?.contains(event.target as HTMLElement)) { setVisible(false) } } const handleClickOutside = (event: Event) => { - if (dropdownRef.current && !dropdownRef.current.contains(event.target as HTMLElement)) { + if (!dropdownRef.current?.contains(event.target as HTMLElement)) { setVisible(false) } } From 5ce2e52dab83588bdf4b376695e9ae977b284ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 19 Sep 2021 12:20:07 +0200 Subject: [PATCH 018/493] refactor(CModal): improve syntax --- src/components/modal/CModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modal/CModal.tsx b/src/components/modal/CModal.tsx index 9bb60d8b..596e61ff 100644 --- a/src/components/modal/CModal.tsx +++ b/src/components/modal/CModal.tsx @@ -131,7 +131,7 @@ export const CModal = forwardRef( document.body.classList.add('modal-open') setTimeout( () => { - modalRef.current && modalRef.current.focus() + modalRef.current?.focus() }, !transition ? 0 : duration, ) From cdfca2571631b8ebdc6e378faddab68a504f4b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 19 Sep 2021 12:20:33 +0200 Subject: [PATCH 019/493] refactor(CNavGroup): improve syntax --- src/components/nav/CNavGroup.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/nav/CNavGroup.tsx b/src/components/nav/CNavGroup.tsx index 982e53dc..81518fe5 100644 --- a/src/components/nav/CNavGroup.tsx +++ b/src/components/nav/CNavGroup.tsx @@ -66,7 +66,7 @@ export const CNavGroup = forwardRef( } const onEntering = () => { - navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight) + navItemsRef.current && setHeight(navItemsRef.current.scrollHeight) } const onEntered = () => { @@ -74,13 +74,13 @@ export const CNavGroup = forwardRef( } const onExit = () => { - navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight) + navItemsRef.current && setHeight(navItemsRef.current.scrollHeight) } const onExiting = () => { // @ts-expect-error reflow is necessary to get correct height of the element // eslint-disable-next-line @typescript-eslint/no-unused-vars - const reflow = navItemsRef && navItemsRef.current && navItemsRef.current.offsetHeight + const reflow = navItemsRef.current?.offsetHeight setHeight(0) } From e829fdfef45dabfbb7b147ded44a200d13f4254d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 19 Sep 2021 12:21:14 +0200 Subject: [PATCH 020/493] docs(collapse): add prevent default to href --- docs/4.0/components/collapse.mdx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/4.0/components/collapse.mdx b/docs/4.0/components/collapse.mdx index 816d2ef5..f970a1cc 100644 --- a/docs/4.0/components/collapse.mdx +++ b/docs/4.0/components/collapse.mdx @@ -30,7 +30,10 @@ export const BasicExample = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}> + { + event.preventDefault() + setVisible(!visible) + }}> Link setVisible(!visible)}>Button @@ -55,7 +58,10 @@ export const BasicExample = () => { const [visible, setVisible] = useState(false) return ( <> - setVisible(!visible)}> + { + event.preventDefault() + setVisible(!visible) + }}> Link setVisible(!visible)}>Button From ff7c4fec26ee31e991a19b3ee90274bb17b3f4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Mon, 20 Sep 2021 18:02:23 +0200 Subject: [PATCH 021/493] tests: update tests --- .../toast/__tests__/CToast.spec.tsx | 2 -- .../tooltip/__tests__/CTooltip.spec.tsx | 32 +++++++++++++++---- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/src/components/toast/__tests__/CToast.spec.tsx b/src/components/toast/__tests__/CToast.spec.tsx index d2184631..a35b5a64 100644 --- a/src/components/toast/__tests__/CToast.spec.tsx +++ b/src/components/toast/__tests__/CToast.spec.tsx @@ -15,7 +15,6 @@ test('CToast customize', async () => { autohide={false} color="warning" delay={100} - key={1} visible={true} //onDismiss > @@ -41,7 +40,6 @@ test('CToast click on dismiss button', async () => { autohide={false} color="warning" delay={100} - key={1} visible={true} onDismiss={onDismiss} > diff --git a/src/components/tooltip/__tests__/CTooltip.spec.tsx b/src/components/tooltip/__tests__/CTooltip.spec.tsx index f51545db..6da86552 100644 --- a/src/components/tooltip/__tests__/CTooltip.spec.tsx +++ b/src/components/tooltip/__tests__/CTooltip.spec.tsx @@ -1,23 +1,41 @@ import * as React from 'react' -import { act, render, fireEvent } from '@testing-library/react' +import ReactDOM from 'react-dom' +import { act } from 'react-dom/test-utils' +import { fireEvent } from '@testing-library/react' import '@testing-library/jest-dom/extend-expect' import { CTooltip, CLink } from '../../../index' +let container: HTMLDivElement | null + +beforeEach(() => { + container = document.createElement('div') + document.body.appendChild(container) +}) + +afterEach(() => { + container && document.body.removeChild(container) + container = null +}) + test('loads and displays CTooltip component', async () => { - const { container } = render( + ReactDOM.render( Test , + container, ) expect(container).toMatchSnapshot() }) test('CTooltip customize', async () => { - const { container } = render( - - Test - , - ) + act(() => { + ReactDOM.render( + + Test + , + container, + ) + }) const link = document.querySelector('.link') act(() => { if (link !== null) { From e16f962cab418544f8c053aa18ce7e3e20bd999f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 21 Sep 2021 13:46:29 +0200 Subject: [PATCH 022/493] tests: update tests --- src/components/form/__tests__/CFormTextarea.spec.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/form/__tests__/CFormTextarea.spec.tsx b/src/components/form/__tests__/CFormTextarea.spec.tsx index 59e9a5b0..1f6d7634 100644 --- a/src/components/form/__tests__/CFormTextarea.spec.tsx +++ b/src/components/form/__tests__/CFormTextarea.spec.tsx @@ -4,7 +4,7 @@ import '@testing-library/jest-dom/extend-expect' import { CFormTextarea } from '../../../index' test('loads and displays CFormTextarea component', async () => { - const { container } = render() + const { container } = render() expect(container).toMatchSnapshot() expect(container.firstChild).toHaveClass('form-control') }) @@ -18,7 +18,7 @@ test('CFormTextarea customize', async () => { plainText={true} readOnly={true} valid={true} - value="Some value" + defaultValue="Some value" />, ) expect(container).toMatchSnapshot() From f96ac06d0c7afda984265b194a2f0613ec066e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 21 Sep 2021 19:30:44 +0200 Subject: [PATCH 023/493] tests: update tests --- .../accordion/__tests__/CAccordionBody.spec.tsx | 5 ++--- .../__tests__/CAccordionButton.spec.tsx | 7 +------ .../__snapshots__/CAccordionBody.spec.tsx.snap | 16 ++++++++++++---- .../__snapshots__/CAccordionButton.spec.tsx.snap | 4 ++-- .../__snapshots__/CAccordionHeader.spec.tsx.snap | 14 ++++++++++++-- 5 files changed, 29 insertions(+), 17 deletions(-) diff --git a/src/components/accordion/__tests__/CAccordionBody.spec.tsx b/src/components/accordion/__tests__/CAccordionBody.spec.tsx index 38f6cd1e..2bfab592 100644 --- a/src/components/accordion/__tests__/CAccordionBody.spec.tsx +++ b/src/components/accordion/__tests__/CAccordionBody.spec.tsx @@ -9,8 +9,7 @@ test('loads and displays CAccordionBody component', async () => { }) test('CAccordionBody customize', async () => { - const { container } = render(Test) - expect(container.firstChild).toHaveClass('bazinga') - expect(container.firstChild).toHaveClass('accordion-body') + const { container } = render(Test) + expect(container.firstChild?.firstChild).toHaveClass('accordion-body') expect(container).toMatchSnapshot() }) diff --git a/src/components/accordion/__tests__/CAccordionButton.spec.tsx b/src/components/accordion/__tests__/CAccordionButton.spec.tsx index 79363ba4..0c25a020 100644 --- a/src/components/accordion/__tests__/CAccordionButton.spec.tsx +++ b/src/components/accordion/__tests__/CAccordionButton.spec.tsx @@ -9,13 +9,8 @@ test('loads and displays CAccordionButton component', async () => { }) test('CAccordionButton customize', async () => { - const { container } = render( - - Test - , - ) + const { container } = render(Test) expect(container.firstChild).toHaveClass('bazinga') expect(container.firstChild).toHaveClass('accordion-button') - expect(container.firstChild).toHaveClass('collapsed') expect(container).toMatchSnapshot() }) diff --git a/src/components/accordion/__tests__/__snapshots__/CAccordionBody.spec.tsx.snap b/src/components/accordion/__tests__/__snapshots__/CAccordionBody.spec.tsx.snap index 3c8b5020..ec1b95db 100644 --- a/src/components/accordion/__tests__/__snapshots__/CAccordionBody.spec.tsx.snap +++ b/src/components/accordion/__tests__/__snapshots__/CAccordionBody.spec.tsx.snap @@ -3,9 +3,13 @@ exports[`CAccordionBody customize 1`] = `
- Test +
+ Test +
`; @@ -13,9 +17,13 @@ exports[`CAccordionBody customize 1`] = ` exports[`loads and displays CAccordionBody component 1`] = `
- Test +
+ Test +
`; diff --git a/src/components/accordion/__tests__/__snapshots__/CAccordionButton.spec.tsx.snap b/src/components/accordion/__tests__/__snapshots__/CAccordionButton.spec.tsx.snap index ad5943f5..6925cf0d 100644 --- a/src/components/accordion/__tests__/__snapshots__/CAccordionButton.spec.tsx.snap +++ b/src/components/accordion/__tests__/__snapshots__/CAccordionButton.spec.tsx.snap @@ -3,7 +3,7 @@ exports[`CAccordionButton customize 1`] = `
diff --git a/src/components/accordion/__tests__/__snapshots__/CAccordionHeader.spec.tsx.snap b/src/components/accordion/__tests__/__snapshots__/CAccordionHeader.spec.tsx.snap index cedcd36e..b3384593 100644 --- a/src/components/accordion/__tests__/__snapshots__/CAccordionHeader.spec.tsx.snap +++ b/src/components/accordion/__tests__/__snapshots__/CAccordionHeader.spec.tsx.snap @@ -5,7 +5,12 @@ exports[`CAccordionHeader customize 1`] = `
- Test +
`; @@ -15,7 +20,12 @@ exports[`loads and displays CAccordionHeader component 1`] = `
- Test +
`; From 5ce772a3731a0d570c21dcf5b2a38dd30f356e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 21 Sep 2021 22:08:52 +0200 Subject: [PATCH 024/493] refactor(CModal): update onDismisse handler and static backdrop --- docs/4.0/api/CModal.api.mdx | 2 +- docs/4.0/api/CModalHeader.api.mdx | 2 +- docs/4.0/components/modal.mdx | 116 +++++++++--------- src/components/modal/CModal.tsx | 43 +++++-- src/components/modal/CModalHeader.tsx | 16 ++- .../modal/__tests__/CModalHeader.spec.tsx | 15 +-- .../__snapshots__/CModalHeader.spec.tsx.snap | 8 ++ 7 files changed, 113 insertions(+), 89 deletions(-) diff --git a/docs/4.0/api/CModal.api.mdx b/docs/4.0/api/CModal.api.mdx index e5a28234..26266ae3 100644 --- a/docs/4.0/api/CModal.api.mdx +++ b/docs/4.0/api/CModal.api.mdx @@ -1,7 +1,7 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | | **alignment** | Align the modal in the center or top of the screen. | `"top" | "center"` | 'top' | -| **backdrop** | Apply a backdrop on body while modal is open. | `boolean` | true | +| **backdrop** | Apply a backdrop on body while modal is open. | `boolean | "static"` | true | | **className** | A string of all className you want applied to the base component. | `string` | - | | **fullscreen** | Set modal to covers the entire user viewport. | `boolean | "sm" | "md" | "lg" | "xl" | "xxl"` | - | | **keyboard** | Closes the modal when escape key is pressed. | `boolean` | true | diff --git a/docs/4.0/api/CModalHeader.api.mdx b/docs/4.0/api/CModalHeader.api.mdx index 82c0f843..d6fb13f8 100644 --- a/docs/4.0/api/CModalHeader.api.mdx +++ b/docs/4.0/api/CModalHeader.api.mdx @@ -1,4 +1,4 @@ | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | -| **onDismiss** | Add a close button component to the header which will call the provided handler when clicked. | `() => void` | - | +| **closeButton** | Add a close button component to the header. | `boolean` | true | diff --git a/docs/4.0/components/modal.mdx b/docs/4.0/components/modal.mdx index e3b33ee2..60bf824b 100644 --- a/docs/4.0/components/modal.mdx +++ b/docs/4.0/components/modal.mdx @@ -75,7 +75,7 @@ export const LiveDemoExample = () => { <> setVisible(!visible)}>Launch demo modal setVisible(false)}> - setVisible(false)}> + Modal title Woohoo, you're reading this text in a modal! @@ -117,15 +117,15 @@ return ( ### Static backdrop -If you don’t provide an `onDimsiss` handler to the Modal component, your modal will behave as though the backdrop is static, meaning it will not close when clicking outside it. Click the button below to try it. +If you set a `backdrop` to `static`, your modal will behave as though the backdrop is static, meaning it will not close when clicking outside it. Click the button below to try it. export const StaticBackdropExample = () => { const [visible, setVisible] = useState(false) return ( <> setVisible(!visible)}>Launch static backdrop modal - - setVisible(false)}> + setVisible(false)}> + Modal title @@ -151,8 +151,8 @@ const [visible, setVisible] = useState(false) return ( <> setVisible(!visible)}>Launch static backdrop modal - - setVisible(false)}> + setVisible(false)}> + Modal title @@ -179,7 +179,7 @@ export const ScrollingLongContentExample = () => { <> setVisible(!visible)}>Launch demo modal setVisible(false)}> - setVisible(false)}> + Modal title @@ -283,7 +283,7 @@ return ( <> setVisible(!visible)}>Launch demo modal setVisible(false)}> - setVisible(false)}> + Modal title @@ -385,7 +385,7 @@ export const ScrollingLongContentExample2 = () => { <> setVisible(!visible)}>Launch demo modal setVisible(false)}> - setVisible(false)}> + Modal title @@ -489,7 +489,7 @@ return ( <> setVisible(!visible)}>Launch demo modal setVisible(false)}> - setVisible(false)}> + Modal title @@ -592,8 +592,8 @@ export const VerticallyCenteredExample = () => { return ( <> setVisible(!visible)}>Vertically centered modal - - setVisible(false)}> + setVisible(false)}> + Modal title @@ -620,8 +620,8 @@ const [visible, setVisible] = useState(false) return ( <> setVisible(!visible)}>Vertically centered modal - - setVisible(false)}> + setVisible(false)}> + Modal title @@ -644,8 +644,8 @@ export const VerticallyCenteredScrollableExample = () => { return ( <> setVisible(!visible)}>Vertically centered scrollable modal - - setVisible(false)}> + setVisible(false)}> + Modal title @@ -691,8 +691,8 @@ const [visible, setVisible] = useState(false) return ( <> setVisible(!visible)}>Vertically centered scrollable modal - - setVisible(false)}> + setVisible(false)}> + Modal title @@ -738,8 +738,8 @@ export const TooltipsAndPopoversExample = () => { return ( <> setVisible(!visible)}>Launch demo modal - - setVisible(false)}> + setVisible(false)}> + Modal title @@ -782,8 +782,8 @@ const [visible, setVisible] = useState(false) return ( <> setVisible(!visible)}>Launch demo modal - - setVisible(false)}> + setVisible(false)}> + Modal title @@ -876,20 +876,20 @@ export const OptionalSizesExample = () => { setVisibleXL(!visibleXL)}>Extra large modal setVisibleLg(!visibleLg)}>Large modal setVisibleSm(!visibleSm)}>Small modal - - setVisibleXL(false)}> + setVisibleXL(false)}> + Extra large modal ... - - setVisibleLg(false)}> + setVisibleLg(false)}> + Large modal ... - - setVisibleSm(false)}> + setVisibleSm(false)}> + Small modal ... @@ -911,20 +911,20 @@ return ( setVisibleXL(!visibleXL)}>Extra large modal setVisibleLg(!visibleLg)}>Large modal setVisibleSm(!visibleSm)}>Small modal - - setVisibleXL(false)}> + setVisibleXL(false)}> + Extra large modal ... - - setVisibleLg(false)}> + setVisibleLg(false)}> + Large modal ... - - setVisibleSm(false)}> + setVisibleSm(false)}> + Small modal ... @@ -1009,38 +1009,38 @@ export const FullscreenExample = () => { setVisibleLg(!visibleLg)}>Full screen below lg setVisibleXL(!visibleXL)}>Full screen below xl setVisibleXXL(!visibleXXL)}>Full screen below xxl - - setVisible(false)}> + setVisible(false)}> + Full screen ... - - setVisibleSm(false)}> + setVisibleSm(false)}> + Full screen below sm ... - - setVisibleMd(false)}> + setVisibleMd(false)}> + Full screen below md ... - - setVisibleLg(false)}> + setVisibleLg(false)}> + Full screen below lg ... - - setVisibleXL(false)}> + setVisibleXL(false)}> + Full screen below xl ... - - setVisibleXXL(false)}> + setVisibleXXL(false)}> + Full screen below xxl ... @@ -1068,38 +1068,38 @@ return ( setVisibleLg(!visibleLg)}>Full screen below lg setVisibleXL(!visibleXL)}>Full screen below xl setVisibleXXL(!visibleXXL)}>Full screen below xxl - - setVisible(false)}> + setVisible(false)}> + Full screen ... - - setVisibleSm(false)}> + setVisibleSm(false)}> + Full screen below sm ... - - setVisibleMd(false)}> + setVisibleMd(false)}> + Full screen below md ... - - setVisibleLg(false)}> + setVisibleLg(false)}> + Full screen below lg ... - - setVisibleXL(false)}> + setVisibleXL(false)}> + Full screen below xl ... - - setVisibleXXL(false)}> + setVisibleXXL(false)}> + Full screen below xxl ... diff --git a/src/components/modal/CModal.tsx b/src/components/modal/CModal.tsx index 596e61ff..c23b24b7 100644 --- a/src/components/modal/CModal.tsx +++ b/src/components/modal/CModal.tsx @@ -1,7 +1,9 @@ import React, { + createContext, forwardRef, HTMLAttributes, useCallback, + useEffect, useLayoutEffect, useRef, useState, @@ -28,7 +30,7 @@ export interface CModalProps extends HTMLAttributes { * Apply a backdrop on body while modal is open. [docs] * @default true */ - backdrop?: boolean + backdrop?: boolean | 'static' /** * A string of all className you want applied to the base component. [docs] */ @@ -72,6 +74,13 @@ export interface CModalProps extends HTMLAttributes { visible?: boolean } +interface ModalContextProps { + visible?: boolean + setVisible: React.Dispatch> +} + +export const CModalContext = createContext({} as ModalContextProps) + export const CModal = forwardRef( ( { @@ -91,13 +100,23 @@ export const CModal = forwardRef( }, ref, ) => { - const [staticBackdrop, setStaticBackdrop] = useState(false) - const modalRef = useRef(null) const forkedRef = useForkedRef(ref, modalRef) + const [_visible, setVisible] = useState(visible) + const [staticBackdrop, setStaticBackdrop] = useState(false) + + useEffect(() => { + setVisible(visible) + }, [visible]) + + const contextValues = { + visible: _visible, + setVisible, + } + const handleDismiss = () => { - if (typeof onDismiss === 'undefined') { + if (backdrop === 'static') { return setStaticBackdrop(true) } return onDismiss && onDismiss() @@ -127,7 +146,7 @@ export const CModal = forwardRef( // Set focus to modal after open useLayoutEffect(() => { - if (visible) { + if (_visible) { document.body.classList.add('modal-open') setTimeout( () => { @@ -139,7 +158,7 @@ export const CModal = forwardRef( document.body.classList.remove('modal-open') } return () => document.body.classList.remove('modal-open') - }, [visible]) + }, [_visible]) const handleKeyDown = useCallback( (event) => { @@ -152,7 +171,7 @@ export const CModal = forwardRef( const modal = (ref?: React.Ref, transitionClass?: string) => { return ( - <> +
( {children}
- +
) } @@ -177,7 +196,7 @@ export const CModal = forwardRef( <>
(
{typeof window !== 'undefined' && portal - ? backdrop && createPortal(, document.body) - : backdrop && } + ? backdrop && createPortal(, document.body) + : backdrop && } ) }, @@ -201,7 +220,7 @@ export const CModal = forwardRef( CModal.propTypes = { alignment: PropTypes.oneOf(['top', 'center']), - backdrop: PropTypes.bool, + backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf<'static'>(['static'])]), children: PropTypes.node, className: PropTypes.string, duration: PropTypes.number, diff --git a/src/components/modal/CModalHeader.tsx b/src/components/modal/CModalHeader.tsx index 6393009d..2ce75177 100644 --- a/src/components/modal/CModalHeader.tsx +++ b/src/components/modal/CModalHeader.tsx @@ -1,5 +1,6 @@ -import React, { forwardRef, HTMLAttributes } from 'react' +import React, { forwardRef, HTMLAttributes, useContext } from 'react' import PropTypes from 'prop-types' +import { CModalContext } from './CModal' import { CCloseButton } from '../close-button/CCloseButton' import classNames from 'classnames' @@ -9,19 +10,22 @@ export interface CModalHeaderProps extends HTMLAttributes { */ className?: string /** - * Add a close button component to the header which will call the provided handler when clicked. [docs] + * Add a close button component to the header. [docs] + * + * @default true */ - onDismiss?: () => void + closeButton?: boolean } export const CModalHeader = forwardRef( - ({ children, className, onDismiss, ...rest }, ref) => { + ({ children, className, closeButton = true, ...rest }, ref) => { + const { setVisible } = useContext(CModalContext) const _className = classNames('modal-header', className) return (
{children} - {onDismiss && } + {closeButton && setVisible(false)} />}
) }, @@ -30,7 +34,7 @@ export const CModalHeader = forwardRef( CModalHeader.propTypes = { children: PropTypes.node, className: PropTypes.string, - onDismiss: PropTypes.func, + closeButton: PropTypes.bool, } CModalHeader.displayName = 'CModalHeader' diff --git a/src/components/modal/__tests__/CModalHeader.spec.tsx b/src/components/modal/__tests__/CModalHeader.spec.tsx index a8e4f1cb..4121dab2 100644 --- a/src/components/modal/__tests__/CModalHeader.spec.tsx +++ b/src/components/modal/__tests__/CModalHeader.spec.tsx @@ -1,5 +1,5 @@ import * as React from 'react' -import { render, fireEvent } from '@testing-library/react' +import { render } from '@testing-library/react' import '@testing-library/jest-dom/extend-expect' import { CModalHeader } from '../../../index' @@ -15,17 +15,10 @@ test('CModalHeader customize', async () => { expect(container.firstChild).toHaveClass('modal-header') }) -test('CModalHeader click on button close', async () => { +test('CModalHeader has a close button', async () => { const onDismiss = jest.fn() - render( - - Test - , - ) + render(Test) expect(onDismiss).toHaveBeenCalledTimes(0) const btn = document.querySelector('.btn-close') - if (btn !== null) { - fireEvent.click(btn) - } - expect(onDismiss).toHaveBeenCalledTimes(1) + expect(btn).toBeTruthy() }) diff --git a/src/components/modal/__tests__/__snapshots__/CModalHeader.spec.tsx.snap b/src/components/modal/__tests__/__snapshots__/CModalHeader.spec.tsx.snap index 7d7cf3b4..76ec4156 100644 --- a/src/components/modal/__tests__/__snapshots__/CModalHeader.spec.tsx.snap +++ b/src/components/modal/__tests__/__snapshots__/CModalHeader.spec.tsx.snap @@ -6,6 +6,10 @@ exports[`CModalHeader customize 1`] = ` class="modal-header bazinga" > Test +
`; @@ -16,6 +20,10 @@ exports[`loads and displays CModalHeader component 1`] = ` class="modal-header" > Test + + )} @@ -162,7 +275,9 @@ CCarousel.propTypes = { indicators: PropTypes.bool, interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]), onSlideChange: PropTypes.func, + pause: PropTypes.oneOf([false, 'hover']), transition: PropTypes.oneOf(['slide', 'crossfade']), + wrap: PropTypes.bool, } CCarousel.displayName = 'CCarousel' diff --git a/src/components/carousel/CCarouselControl.tsx b/src/components/carousel/CCarouselControl.tsx deleted file mode 100644 index cdc27d56..00000000 --- a/src/components/carousel/CCarouselControl.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import React, { forwardRef, HTMLAttributes, useContext } from 'react' -import PropTypes from 'prop-types' -import classNames from 'classnames' -import { CCarouselContext } from './CCarousel' - -type Direction = 'prev' | 'next' - -export interface CCarouselControlProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string - /** - * Direction. [docs] - * - * @type 'prev' | 'next' - */ - direction: Direction -} - -export const CCarouselControl = forwardRef( - ({ className, children, direction, ...rest }, ref) => { - const { state, setState, itemsNumber, animating } = useContext(CCarouselContext) - - const onClick = (): void => { - if (animating) { - return - } - let newIdx - if (direction === 'next') { - newIdx = itemsNumber === state[1] + 1 ? 0 : state[1] + 1 - } else { - newIdx = state[1] === 0 ? itemsNumber - 1 : state[1] - 1 - } - setState([state[1], newIdx, direction]) - } - - const anchorClasses = classNames(`carousel-control-${direction}`, className) - - return ( - - ) - }, -) - -CCarouselControl.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - direction: PropTypes.oneOf(['prev', 'next']).isRequired, -} - -CCarouselControl.displayName = 'CCarouselControl' diff --git a/src/components/carousel/CCarouselIndicators.tsx b/src/components/carousel/CCarouselIndicators.tsx deleted file mode 100644 index 6ce9cfcf..00000000 --- a/src/components/carousel/CCarouselIndicators.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import React, { forwardRef, HTMLAttributes, useContext } from 'react' -import PropTypes from 'prop-types' -import classNames from 'classnames' -import { CCarouselContext } from './CCarousel' - -export interface CCarouselIndicatorsProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string - /** - * Indicators section user classes. [docs] - */ - indicatorsClass?: string -} - -export const CCarouselIndicators = forwardRef( - ({ className, indicatorsClass = 'carousel-indicators' }, ref) => { - const { itemsNumber, state, setState, animating } = useContext(CCarouselContext) - - const listClasses = classNames(indicatorsClass, className) - - const indicators = Array.from({ length: itemsNumber }, (_, i) => i).map((key) => { - return ( -
  • { - !animating && key !== state[1] && setState([state[1], key]) - }} - className={state[1] === key ? 'active' : ''} - data-coreui-target="" - /> - ) - }) - - return ( -
      - {indicators} -
    - ) - }, -) - -CCarouselIndicators.propTypes = { - className: PropTypes.string, - indicatorsClass: PropTypes.string, -} - -CCarouselIndicators.displayName = 'CCarouselIndicators' diff --git a/src/components/carousel/CCarouselInner.tsx b/src/components/carousel/CCarouselInner.tsx deleted file mode 100644 index 5128dfee..00000000 --- a/src/components/carousel/CCarouselInner.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import React, { Children, forwardRef, HTMLAttributes, useContext, useEffect } from 'react' -import PropTypes from 'prop-types' -import classNames from 'classnames' - -import { CCarouselContext } from './CCarousel' - -export interface CCarouselInnerProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string -} - -export const CCarouselInner = forwardRef( - ({ children, className, ...rest }, ref) => { - const { setItemsNumber } = useContext(CCarouselContext) - const _className = classNames('carousel-inner', className) - - useEffect(() => { - setItemsNumber(Children.toArray(children).length) - }) - - return ( -
    - {Children.map(children, (child, index) => { - if (React.isValidElement(child)) { - return React.cloneElement(child, { key: index, idx: index }) - } - return - })} -
    - ) - }, -) - -CCarouselInner.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -} - -CCarouselInner.displayName = 'CCarouselInner' diff --git a/src/components/carousel/CCarouselItem.tsx b/src/components/carousel/CCarouselItem.tsx index 560b415b..cafac902 100644 --- a/src/components/carousel/CCarouselItem.tsx +++ b/src/components/carousel/CCarouselItem.tsx @@ -1,10 +1,14 @@ -import React, { forwardRef, HTMLAttributes, useContext, useState, useEffect } from 'react' +import React, { forwardRef, HTMLAttributes, useContext, useEffect, useState, useRef } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' -import { CSSTransition } from 'react-transition-group' +import { useForkedRef } from '../../utils/hooks' import { CCarouselContext } from './CCarousel' export interface CCarouselItemProps extends HTMLAttributes { + /** + * @ignore + */ + active?: boolean /** * A string of all className you want applied to the base component. [docs] */ @@ -12,99 +16,106 @@ export interface CCarouselItemProps extends HTMLAttributes { /** * @ignore */ - idx?: number -} - -// eslint-disable-next-line @typescript-eslint/ban-types -const getDirection = (state: object) => { - if (state[2]) { - return state[2] === 'next' ? 'right' : 'left' - } else { - return state[1] > state[0] ? 'right' : 'left' - } + direction?: string + /** + * The amount of time to delay between automatically cycling an item. + */ + interval?: boolean | number } export const CCarouselItem = forwardRef( - ({ children, className, idx, ...rest }, ref) => { - const { animate, state, animating, setAnimating } = useContext(CCarouselContext) + ({ children, className, active, direction, interval = false, ...rest }, ref) => { + const { setAnimating, setCustomInterval } = useContext(CCarouselContext) + const carouselItemRef = useRef(null) + const forkedRef = useForkedRef(ref, carouselItemRef) - const [isIn, setIsIn] = useState(false) - - const onEnter = () => { - setAnimating(false) - } - const onEntering = () => { - setAnimating(true) - } - const onExit = () => { - setAnimating(false) - } - const onExiting = () => { - setAnimating(true) - } - const onExited = () => { - setAnimating(false) - } + const prevActive = useRef() + const [directionClassName, setDirectionClassName] = useState() + const [orderClassName, setOrderClassName] = useState() + const [activeClassName, setActiveClassName] = useState(active && 'active') + const [count, setCount] = useState(0) useEffect(() => { - setIsIn(state[1] === idx) - }, [state]) + if (active) { + setCustomInterval(interval) + if (count !== 0) setOrderClassName(`carousel-item-${direction}`) + } - if (!animate || state[0] === null) { - const itemClasses = classNames('carousel-item', isIn && 'active', className) - return ( -
    - {children} -
    - ) - } + if (prevActive.current && !active) { + setActiveClassName('active') + } - return ( - - {(status) => { - const direction = getDirection(state) - const isActive = status === 'entered' || status === 'exiting' - const directionClassName = - (status === 'entering' || status === 'exiting') && - animating && - (direction === 'right' ? 'carousel-item-start' : 'carousel-item-end') + if (active || prevActive.current) { + setTimeout(() => { + if (count !== 0) { + // @ts-expect-error reflow is necessary to proper transition + // eslint-disable-next-line @typescript-eslint/no-unused-vars + const reflow = carouselItemRef.current?.offsetHeight + setDirectionClassName(`carousel-item-${direction === 'next' ? 'start' : 'end'}`) + } + }, 0) + } - const orderClassName = - status === 'entering' && - (direction === 'right' ? 'carousel-item-next' : 'carousel-item-prev') + prevActive.current = active - const itemClasses = classNames( - 'carousel-item', - isActive && 'active', - orderClassName, - directionClassName, - className, - ) + if (count === 0) setCount(count + 1) + }, [active]) + + useEffect(() => { + carouselItemRef.current?.addEventListener('transitionstart', () => { + active && setAnimating(true) + }) + carouselItemRef.current?.addEventListener('transitionend', () => { + active && setAnimating(false) + setDirectionClassName('') + setOrderClassName('') + if (active) { + setActiveClassName('active') + } + if (!active) { + setActiveClassName('') + } + }) + return () => { + carouselItemRef.current?.removeEventListener('transitionstart', () => { + active && setAnimating(true) + }) + carouselItemRef.current?.removeEventListener('transitionend', () => { + active && setAnimating(false) + setDirectionClassName('') + setOrderClassName('') + if (active) { + setActiveClassName('active') + } + if (!active) { + setActiveClassName('') + } + }) + } + }) - return ( -
    - {children} -
    - ) - }} -
    + const _className = classNames( + 'carousel-item', + activeClassName, + directionClassName, + orderClassName, + className, + ) + + return ( +
    + {children} +
    ) }, ) CCarouselItem.propTypes = { + active: PropTypes.bool, children: PropTypes.node, className: PropTypes.string, - idx: PropTypes.number, + direction: PropTypes.string, + interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]), } CCarouselItem.displayName = 'CCarouselItem' diff --git a/src/index.ts b/src/index.ts index e26d96cc..20220c4d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,9 +29,6 @@ import { CCardText } from './components/card/CCardText' import { CCardTitle } from './components/card/CCardTitle' import { CCarousel } from './components/carousel/CCarousel' import { CCarouselCaption } from './components/carousel/CCarouselCaption' -import { CCarouselControl } from './components/carousel/CCarouselControl' -import { CCarouselIndicators } from './components/carousel/CCarouselIndicators' -import { CCarouselInner } from './components/carousel/CCarouselInner' import { CCarouselItem } from './components/carousel/CCarouselItem' import { CCollapse } from './components/collapse/CCollapse' import { CCloseButton } from './components/close-button/CCloseButton' @@ -153,9 +150,6 @@ export { CCardTitle, CCarousel, CCarouselCaption, - CCarouselControl, - CCarouselIndicators, - CCarouselInner, CCarouselItem, CCloseButton, CCollapse, From 584c54a9a96ac3b0b5d90e90191dbc839c376699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 29 Sep 2021 00:14:47 +0200 Subject: [PATCH 035/493] docs: update content --- docs/4.0/components/accordion.mdx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/4.0/components/accordion.mdx b/docs/4.0/components/accordion.mdx index 5f46a1c6..dac8108e 100644 --- a/docs/4.0/components/accordion.mdx +++ b/docs/4.0/components/accordion.mdx @@ -11,7 +11,6 @@ import { useState } from 'react' import { CAccordion, CAccordionBody, - CAccordionButton, CAccordionCollapse, CAccordionHeader, CAccordionItem @@ -302,9 +301,6 @@ Add `alwaysOpen` property to make accordion items stay open when another item is ### CAccordionBody `markdown:CAccordionBody.api.mdx` -### CAccordionButton -`markdown:CAccordionButton.api.mdx` - ### CAccordionHeader `markdown:CAccordionHeader.api.mdx` From 702da3718035eb2c7d7ef4ffb0299f07b1679ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 29 Sep 2021 23:16:48 +0200 Subject: [PATCH 036/493] refactor(CDropdownToggle): add type button --- src/components/dropdown/CDropdownToggle.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/dropdown/CDropdownToggle.tsx b/src/components/dropdown/CDropdownToggle.tsx index d6921356..528ce9fa 100644 --- a/src/components/dropdown/CDropdownToggle.tsx +++ b/src/components/dropdown/CDropdownToggle.tsx @@ -8,11 +8,9 @@ import { Triggers, triggerPropType } from '../Types' import { CButton, CButtonProps } from '../button/CButton' import { CDropdownContext } from './CDropdown' -export interface CDropdownToggleProps extends CButtonProps { +export interface CDropdownToggleProps extends Omit { /** * Enables pseudo element caret on toggler. [docs] - * - * @default true */ caret?: boolean /** @@ -21,6 +19,8 @@ export interface CDropdownToggleProps extends CButtonProps { split?: boolean /** * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. [docs] + * + * @type 'hover' | 'focus' | 'click' */ trigger?: Triggers | Triggers[] } @@ -70,7 +70,7 @@ export const CDropdownToggle: FC = ({ {children} ) : ( - + {children} {split && Toggle Dropdown} From 5ea05a1d6c833b8a3804061b465b452fbe3bb3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Thu, 30 Sep 2021 19:35:40 +0200 Subject: [PATCH 037/493] docs: update layout and content --- docs/4.0/api/CAccordion.api.mdx | 9 +- docs/4.0/api/CAccordionBody.api.mdx | 7 + docs/4.0/api/CAccordionButton.api.mdx | 7 + docs/4.0/api/CAccordionCollapse.api.mdx | 7 + docs/4.0/api/CAccordionHeader.api.mdx | 7 + docs/4.0/api/CAccordionItem.api.mdx | 9 +- docs/4.0/api/CAlert.api.mdx | 9 +- docs/4.0/api/CAlertHeading.api.mdx | 9 +- docs/4.0/api/CAlertLink.api.mdx | 7 + docs/4.0/api/CAvatar.api.mdx | 15 +- docs/4.0/api/CBackdrop.api.mdx | 7 + docs/4.0/api/CBadge.api.mdx | 17 +- docs/4.0/api/CBreadcrumb.api.mdx | 7 + docs/4.0/api/CBreadcrumbItem.api.mdx | 7 + docs/4.0/api/CButton.api.mdx | 19 +- docs/4.0/api/CButtonGroup.api.mdx | 9 +- docs/4.0/api/CButtonToolbar.api.mdx | 7 + docs/4.0/api/CCallout.api.mdx | 9 +- docs/4.0/api/CCard.api.mdx | 11 +- docs/4.0/api/CCardBody.api.mdx | 7 + docs/4.0/api/CCardFooter.api.mdx | 7 + docs/4.0/api/CCardGroup.api.mdx | 7 + docs/4.0/api/CCardHeader.api.mdx | 9 +- docs/4.0/api/CCardImage.api.mdx | 11 +- docs/4.0/api/CCardImageOverlay.api.mdx | 7 + docs/4.0/api/CCardLink.api.mdx | 7 + docs/4.0/api/CCardSubtitle.api.mdx | 9 +- docs/4.0/api/CCardText.api.mdx | 9 +- docs/4.0/api/CCardTitle.api.mdx | 9 +- docs/4.0/api/CCarousel.api.mdx | 15 +- docs/4.0/api/CCarouselCaption.api.mdx | 7 + docs/4.0/api/CCarouselItem.api.mdx | 9 +- docs/4.0/api/CCloseButton.api.mdx | 7 + docs/4.0/api/CCol.api.mdx | 19 +- docs/4.0/api/CCollapse.api.mdx | 7 + docs/4.0/api/CContainer.api.mdx | 7 + docs/4.0/api/CDropdown.api.mdx | 17 +- docs/4.0/api/CDropdownDivider.api.mdx | 7 + docs/4.0/api/CDropdownHeader.api.mdx | 9 +- docs/4.0/api/CDropdownItem.api.mdx | 9 +- docs/4.0/api/CDropdownItemPlain.api.mdx | 9 +- docs/4.0/api/CDropdownMenu.api.mdx | 11 +- docs/4.0/api/CDropdownToggle.api.mdx | 20 +- docs/4.0/api/CFooter.api.mdx | 9 +- docs/4.0/api/CForm.api.mdx | 7 + docs/4.0/api/CFormCheck.api.mdx | 11 +- docs/4.0/api/CFormFeedback.api.mdx | 9 +- docs/4.0/api/CFormFloating.api.mdx | 7 + docs/4.0/api/CFormInput.api.mdx | 13 +- docs/4.0/api/CFormLabel.api.mdx | 7 + docs/4.0/api/CFormRange.api.mdx | 9 +- docs/4.0/api/CFormSelect.api.mdx | 11 +- docs/4.0/api/CFormSwitch.api.mdx | 11 +- docs/4.0/api/CFormText.api.mdx | 9 +- docs/4.0/api/CFormTextarea.api.mdx | 9 +- docs/4.0/api/CHeader.api.mdx | 11 +- docs/4.0/api/CHeaderBrand.api.mdx | 9 +- docs/4.0/api/CHeaderDivider.api.mdx | 7 + docs/4.0/api/CHeaderNav.api.mdx | 9 +- docs/4.0/api/CHeaderText.api.mdx | 7 + docs/4.0/api/CHeaderToggler.api.mdx | 7 + docs/4.0/api/CImage.api.mdx | 9 +- docs/4.0/api/CInputGroup.api.mdx | 9 +- docs/4.0/api/CInputGroupText.api.mdx | 9 +- docs/4.0/api/CLink.api.mdx | 9 +- docs/4.0/api/CListGroup.api.mdx | 11 +- docs/4.0/api/CListGroupItem.api.mdx | 11 +- docs/4.0/api/CModal.api.mdx | 15 +- docs/4.0/api/CModalBody.api.mdx | 7 + docs/4.0/api/CModalContent.api.mdx | 7 + docs/4.0/api/CModalDialog.api.mdx | 13 +- docs/4.0/api/CModalFooter.api.mdx | 7 + docs/4.0/api/CModalHeader.api.mdx | 7 + docs/4.0/api/CModalTitle.api.mdx | 9 +- docs/4.0/api/CNav.api.mdx | 13 +- docs/4.0/api/CNavGroup.api.mdx | 7 + docs/4.0/api/CNavGroupItems.api.mdx | 7 + docs/4.0/api/CNavItem.api.mdx | 9 +- docs/4.0/api/CNavLink.api.mdx | 9 +- docs/4.0/api/CNavTitle.api.mdx | 7 + docs/4.0/api/CNavbar.api.mdx | 19 +- docs/4.0/api/CNavbarBrand.api.mdx | 9 +- docs/4.0/api/CNavbarNav.api.mdx | 9 +- docs/4.0/api/CNavbarText.api.mdx | 7 + docs/4.0/api/CNavbarToggler.api.mdx | 7 + docs/4.0/api/COffcanvas.api.mdx | 9 +- docs/4.0/api/COffcanvasBody.api.mdx | 7 + docs/4.0/api/COffcanvasHeader.api.mdx | 7 + docs/4.0/api/COffcanvasTitle.api.mdx | 9 +- docs/4.0/api/CPagination.api.mdx | 11 +- docs/4.0/api/CPaginationItem.api.mdx | 9 +- docs/4.0/api/CPopover.api.mdx | 13 +- docs/4.0/api/CPopoverContent.api.mdx | 11 +- docs/4.0/api/CProgress.api.mdx | 11 +- docs/4.0/api/CProgressBar.api.mdx | 11 +- docs/4.0/api/CRow.api.mdx | 19 +- docs/4.0/api/CSidebar.api.mdx | 15 +- docs/4.0/api/CSidebarBrand.api.mdx | 7 + docs/4.0/api/CSidebarFooter.api.mdx | 7 + docs/4.0/api/CSidebarHeader.api.mdx | 7 + docs/4.0/api/CSidebarNav.api.mdx | 7 + docs/4.0/api/CSidebarToggler.api.mdx | 7 + docs/4.0/api/CSpinner.api.mdx | 15 +- docs/4.0/api/CTabContent.api.mdx | 7 + docs/4.0/api/CTabPane.api.mdx | 7 + docs/4.0/api/CTable.api.mdx | 17 +- docs/4.0/api/CTableBody.api.mdx | 9 +- docs/4.0/api/CTableCaption.api.mdx | 7 + docs/4.0/api/CTableDataCell.api.mdx | 11 +- docs/4.0/api/CTableFoot.api.mdx | 9 +- docs/4.0/api/CTableHead.api.mdx | 9 +- docs/4.0/api/CTableHeaderCell.api.mdx | 9 +- docs/4.0/api/CTableRow.api.mdx | 11 +- docs/4.0/api/CToast.api.mdx | 9 +- docs/4.0/api/CToastBody.api.mdx | 7 + docs/4.0/api/CToastClose.api.mdx | 9 +- docs/4.0/api/CToastHeader.api.mdx | 9 +- docs/4.0/api/CToaster.api.mdx | 9 +- docs/4.0/api/CTooltip.api.mdx | 13 +- docs/4.0/api/CTooltipContent.api.mdx | 9 +- docs/4.0/api/CWidgetStatsA.api.mdx | 9 +- docs/4.0/api/CWidgetStatsB.api.mdx | 11 +- docs/4.0/api/CWidgetStatsC.api.mdx | 11 +- docs/4.0/api/CWidgetStatsD.api.mdx | 9 +- docs/4.0/api/CWidgetStatsE.api.mdx | 7 + docs/4.0/api/CWidgetStatsF.api.mdx | 9 +- docs/4.0/components/accordion.mdx | 2 +- docs/4.0/components/alert.mdx | 16 +- docs/4.0/components/avatar.mdx | 2 + docs/4.0/components/button-group.mdx | 4 + docs/4.0/components/card.mdx | 4 + docs/4.0/components/modal.mdx | 10 - docs/4.0/migration/Docs.tsx | 94 ++++ docs/4.0/migration/v4.mdx | 404 ++++++++++++++++-- .../gatsby-remark-import-markdown/index.js | 2 +- src/docs/styles/_dosc.scss | 46 -- src/docs/styles/_table-api.scss | 25 ++ src/docs/styles/styles.scss | 1 + src/docs/templates/Docs.tsx | 4 +- 139 files changed, 1553 insertions(+), 262 deletions(-) create mode 100644 docs/4.0/migration/Docs.tsx delete mode 100644 src/docs/styles/_dosc.scss create mode 100644 src/docs/styles/_table-api.scss diff --git a/docs/4.0/api/CAccordion.api.mdx b/docs/4.0/api/CAccordion.api.mdx index df3f33e8..0a27911d 100644 --- a/docs/4.0/api/CAccordion.api.mdx +++ b/docs/4.0/api/CAccordion.api.mdx @@ -1,6 +1,13 @@ + +```jsx +import { CAccordion } from '@coreui/react' +// or +import CAccordion from '@coreui/react/src/components/accordion/CAccordion' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | -| **activeItemKey** | The active item key. | `string | number` | undefined | +| **activeItemKey** | The active item key. | `string` \| `number` | - | | **alwaysOpen** | Make accordion items stay open when another item is opened | `boolean` | false | | **className** | A string of all className you want applied to the base component. | `string` | - | | **flush** | Removes the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. | `boolean` | - | diff --git a/docs/4.0/api/CAccordionBody.api.mdx b/docs/4.0/api/CAccordionBody.api.mdx index 5ca3197a..9665e4d0 100644 --- a/docs/4.0/api/CAccordionBody.api.mdx +++ b/docs/4.0/api/CAccordionBody.api.mdx @@ -1,3 +1,10 @@ + +```jsx +import { CAccordionBody } from '@coreui/react' +// or +import CAccordionBody from '@coreui/react/src/components/accordion/CAccordionBody' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | diff --git a/docs/4.0/api/CAccordionButton.api.mdx b/docs/4.0/api/CAccordionButton.api.mdx index 5ca3197a..885e6448 100644 --- a/docs/4.0/api/CAccordionButton.api.mdx +++ b/docs/4.0/api/CAccordionButton.api.mdx @@ -1,3 +1,10 @@ + +```jsx +import { CAccordionButton } from '@coreui/react' +// or +import CAccordionButton from '@coreui/react/src/components/accordion/CAccordionButton' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | diff --git a/docs/4.0/api/CAccordionCollapse.api.mdx b/docs/4.0/api/CAccordionCollapse.api.mdx index 5998e683..b5bc09a0 100644 --- a/docs/4.0/api/CAccordionCollapse.api.mdx +++ b/docs/4.0/api/CAccordionCollapse.api.mdx @@ -1,3 +1,10 @@ + +```jsx +import { CAccordionCollapse } from '@coreui/react' +// or +import CAccordionCollapse from '@coreui/react/src/components/accordion/CAccordionCollapse' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | diff --git a/docs/4.0/api/CAccordionHeader.api.mdx b/docs/4.0/api/CAccordionHeader.api.mdx index 5ca3197a..ac19753c 100644 --- a/docs/4.0/api/CAccordionHeader.api.mdx +++ b/docs/4.0/api/CAccordionHeader.api.mdx @@ -1,3 +1,10 @@ + +```jsx +import { CAccordionHeader } from '@coreui/react' +// or +import CAccordionHeader from '@coreui/react/src/components/accordion/CAccordionHeader' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | diff --git a/docs/4.0/api/CAccordionItem.api.mdx b/docs/4.0/api/CAccordionItem.api.mdx index e6aeb8b1..5ef85d86 100644 --- a/docs/4.0/api/CAccordionItem.api.mdx +++ b/docs/4.0/api/CAccordionItem.api.mdx @@ -1,4 +1,11 @@ + +```jsx +import { CAccordionItem } from '@coreui/react' +// or +import CAccordionItem from '@coreui/react/src/components/accordion/CAccordionItem' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | -| **itemKey** | Item key. | `string | number` | - | +| **itemKey** | Item key. | `string` \| `number` | - | diff --git a/docs/4.0/api/CAlert.api.mdx b/docs/4.0/api/CAlert.api.mdx index 04244941..c9372b42 100644 --- a/docs/4.0/api/CAlert.api.mdx +++ b/docs/4.0/api/CAlert.api.mdx @@ -1,7 +1,14 @@ + +```jsx +import { CAlert } from '@coreui/react' +// or +import CAlert from '@coreui/react/src/components/alert/CAlert' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the component. | `string` | - | -| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `{'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string }` | primary | +| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `'primary'` \| `'secondary'` \| `'success'` \| `'danger'` \| `'warning'` \| `'info'` \| `'dark'` \| `'light'` \| `string` | primary | | **dismissible** | Optionally add a close button to alert and allow it to self dismiss. | `boolean` | - | | **onDismiss** | Method called before the dissmiss animation has started. | `() => void` | - | | **onDismissed** | Method called after the dissmiss animation has completed and the component is removed from the dom. | `() => void` | - | diff --git a/docs/4.0/api/CAlertHeading.api.mdx b/docs/4.0/api/CAlertHeading.api.mdx index c4cad02b..5e052158 100644 --- a/docs/4.0/api/CAlertHeading.api.mdx +++ b/docs/4.0/api/CAlertHeading.api.mdx @@ -1,4 +1,11 @@ + +```jsx +import { CAlertHeading } from '@coreui/react' +// or +import CAlertHeading from '@coreui/react/src/components/alert/CAlertHeading' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | -| **component** | Component used for the root node. Either a string to use a HTML element or a component. | `string | ComponentClass | FunctionComponent` | 'h4' | +| **component** | Component used for the root node. Either a string to use a HTML element or a component. | `string` \| `ComponentClass` \| `FunctionComponent` | - | diff --git a/docs/4.0/api/CAlertLink.api.mdx b/docs/4.0/api/CAlertLink.api.mdx index 5ca3197a..027b3254 100644 --- a/docs/4.0/api/CAlertLink.api.mdx +++ b/docs/4.0/api/CAlertLink.api.mdx @@ -1,3 +1,10 @@ + +```jsx +import { CAlertLink } from '@coreui/react' +// or +import CAlertLink from '@coreui/react/src/components/alert/CAlertLink' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | - | diff --git a/docs/4.0/api/CAvatar.api.mdx b/docs/4.0/api/CAvatar.api.mdx index b084f8ec..084f3603 100644 --- a/docs/4.0/api/CAvatar.api.mdx +++ b/docs/4.0/api/CAvatar.api.mdx @@ -1,9 +1,16 @@ + +```jsx +import { CAvatar } from '@coreui/react' +// or +import CAvatar from '@coreui/react/src/components/avatar/CAvatar' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the component. | `string` | - | -| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `{'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string}` | - | -| **shape** | Select the shape of the component. | `{'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string}` | - | +| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `'primary'` \| `'secondary'` \| `'success'` \| `'danger'` \| `'warning'` \| `'info'` \| `'dark'` \| `'light'` \| `string` | - | +| **shape** | Select the shape of the component. | `'rounded'` \| `'rounded-top'` \| `'rounded-end'` \| `'rounded-bottom'` \| `'rounded-start'` \| `'rounded-circle'` \| `'rounded-pill'` \| `'rounded-0'` \| `'rounded-1'` \| `'rounded-2'` \| `'rounded-3'` \| `string` | - | | **size** | Size the component small, large, or extra large. | `string` | - | | **src** | The src attribute for the img element. | `string` | - | -| **status** | Sets the color context of the status indicator to one of CoreUI’s themed colors. | `{'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string}` | - | -| **textColor** | Sets the text color of the component to one of CoreUI’s themed colors. | `'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | string` | - | +| **status** | Sets the color context of the status indicator to one of CoreUI’s themed colors. | `'primary'` \| `'secondary'` \| `'success'` \| `'danger'` \| `'warning'` \| `'info'` \| `'dark'` \| `'light'` \| `string` | - | +| **textColor** | Sets the text color of the component to one of CoreUI’s themed colors. | `'primary'` \| `'secondary'` \| `'success'` \| `'danger'` \| `'warning'` \| `'info'` \| `'dark'` \| `'light'` \| `'white'` \| `'muted'` \| `'high-emphasis'` \| `'medium-emphasis'` \| `'disabled'` \| `'high-emphasis-inverse'` \| `'medium-emphasis-inverse'` \| `'disabled-inverse'` \| `string` | - | diff --git a/docs/4.0/api/CBackdrop.api.mdx b/docs/4.0/api/CBackdrop.api.mdx index e1063a4e..0e202b4e 100644 --- a/docs/4.0/api/CBackdrop.api.mdx +++ b/docs/4.0/api/CBackdrop.api.mdx @@ -1,3 +1,10 @@ + +```jsx +import { CBackdrop } from '@coreui/react' +// or +import CBackdrop from '@coreui/react/src/components/backdrop/CBackdrop' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the base component. | `string` | modal-backdrop | diff --git a/docs/4.0/api/CBadge.api.mdx b/docs/4.0/api/CBadge.api.mdx index f541b0d3..5f7c47a2 100644 --- a/docs/4.0/api/CBadge.api.mdx +++ b/docs/4.0/api/CBadge.api.mdx @@ -1,9 +1,16 @@ + +```jsx +import { CBadge } from '@coreui/react' +// or +import CBadge from '@coreui/react/src/components/badge/CBadge' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the component. | `string` | - | -| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `{'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string}` | - | -| **component** | Component used for the root node. Either a string to use a HTML element or a component. | `string | ComponentClass | FunctionComponent` | 'span' | -| **position** | Position badge in one of the corners of a link or button. | `'top-start' | 'top-end' | 'bottom-end' | 'bottom-start'` | - | -| **shape** | Select the shape of the component. | `'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string` | - | +| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `'primary'` \| `'secondary'` \| `'success'` \| `'danger'` \| `'warning'` \| `'info'` \| `'dark'` \| `'light'` \| `string` | - | +| **component** | Component used for the root node. Either a string to use a HTML element or a component. | `string` \| `ComponentClass` \| `FunctionComponent` | - | +| **position** | Position badge in one of the corners of a link or button. | `'top-start'` \| `'top-end'` \| `'bottom-end'` \| `'bottom-start'` | - | +| **shape** | Select the shape of the component. | `'rounded'` \| `'rounded-top'` \| `'rounded-end'` \| `'rounded-bottom'` \| `'rounded-start'` \| `'rounded-circle'` \| `'rounded-pill'` \| `'rounded-0'` \| `'rounded-1'` \| `'rounded-2'` \| `'rounded-3'` \| `string` | - | | **size** | Size the component small. | `'sm'` | - | -| **textColor** | Sets the text color of the component to one of CoreUI’s themed colors. | `'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | string` | - | +| **textColor** | Sets the text color of the component to one of CoreUI’s themed colors. | `'primary'` \| `'secondary'` \| `'success'` \| `'danger'` \| `'warning'` \| `'info'` \| `'dark'` \| `'light'` \| `'white'` \| `'muted'` \| `'high-emphasis'` \| `'medium-emphasis'` \| `'disabled'` \| `'high-emphasis-inverse'` \| `'medium-emphasis-inverse'` \| `'disabled-inverse'` \| `string` | - | diff --git a/docs/4.0/api/CBreadcrumb.api.mdx b/docs/4.0/api/CBreadcrumb.api.mdx index 64c2c10b..51e20bf3 100644 --- a/docs/4.0/api/CBreadcrumb.api.mdx +++ b/docs/4.0/api/CBreadcrumb.api.mdx @@ -1,3 +1,10 @@ + +```jsx +import { CBreadcrumb } from '@coreui/react' +// or +import CBreadcrumb from '@coreui/react/src/components/breadcrumb/CBreadcrumb' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **className** | A string of all className you want applied to the component. | `string` | - | diff --git a/docs/4.0/api/CBreadcrumbItem.api.mdx b/docs/4.0/api/CBreadcrumbItem.api.mdx index 921c0a04..431f6fb3 100644 --- a/docs/4.0/api/CBreadcrumbItem.api.mdx +++ b/docs/4.0/api/CBreadcrumbItem.api.mdx @@ -1,3 +1,10 @@ + +```jsx +import { CBreadcrumbItem } from '@coreui/react' +// or +import CBreadcrumbItem from '@coreui/react/src/components/breadcrumb/CBreadcrumbItem' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **active** | Toggle the active state for the component. | `boolean` | - | diff --git a/docs/4.0/api/CButton.api.mdx b/docs/4.0/api/CButton.api.mdx index 02e0d34c..b49510c6 100644 --- a/docs/4.0/api/CButton.api.mdx +++ b/docs/4.0/api/CButton.api.mdx @@ -1,13 +1,20 @@ + +```jsx +import { CButton } from '@coreui/react' +// or +import CButton from '@coreui/react/src/components/button/CButton' +``` + | Property | Description | Type | Default | | --- | --- | --- | --- | | **active** | Toggle the active state for the component. | `boolean` | - | | **className** | A string of all className you want applied to the base component. | `string` | - | -| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string` | primary | -| **component** | Component used for the root node. Either a string to use a HTML element or a component. | `string | ComponentClass | FunctionComponent` | button | +| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | `'primary'` \| `'secondary'` \| `'success'` \| `'danger'` \| `'warning'` \| `'info'` \| `'dark'` \| `'light'` \| `string` | primary | +| **component** | Component used for the root node. Either a string to use a HTML element or a component. | `string` \| `ComponentClass` \| `FunctionComponent` | button | | **disabled** | Toggle the disabled state for the component. | `boolean` | - | | **href** | The href attribute specifies the URL of the page the link goes to. | `string` | - | | **role** | The role attribute describes the role of an element in programs that can make use of it, such as screen readers or magnifiers. | `string` | - | -| **shape** | Select the shape of the component. | `'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string` | - | -| **size** | Size the component small or large. | `'sm' | 'lg'` | - | -| **type** | Specifies the type of button. Always specify the type attribute for the `