diff --git a/.gitattributes b/.gitattributes index 757b6c2fd..7ed09c65c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,8 +12,6 @@ /setup export-ignore /CODE_OF_CONDUCT.md export-ignore /CHANGELOG.md export-ignore= -/tests export-ignore -/__mocks__ export-ignore /readme export-ignore /.eslintignore export-ignore diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3471bc6ae..ce4fbc865 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,6 @@ -name: Continuous integration checks +name: Continuous Integration on: - # Run on PRs and pushes, only on significant changes. push: branches: - develop @@ -12,105 +11,21 @@ on: paths-ignore: - '**.md' -# Cancels all previous workflow runs for the same branch that have not yet completed. concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: lint: - name: File linting on Node v${{ matrix.node }} + name: Lint assets JS and CSS using Node version - ${{ matrix.node }} runs-on: ubuntu-latest - continue-on-error: ${{ matrix.allowed_failure }} strategy: fail-fast: false matrix: - node: [ '18' ] - allowed_failure: [ false ] - include: - # Test against latest Node version, but allow it to fail. - # We need success only on LTS versions. - - node: '20' - allowed_failure: true - + node: [ 'latest' ] steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set Node.js version - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node }} - - - name: Install node packages - run: npm install - - - name: Run linters - run: npm run lint - - phpcs: - name: PHPCS check on PHP ${{ matrix.php }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - php: [ '8.2' ] - - steps: - # Checkout repository - - name: Checkout - uses: actions/checkout@v3 - - # Setup PHP versions, run checks - - name: PHP setup - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - coverage: none - tools: cs2pr - - # Install dependencies and handle caching in one go. - # @link https://github.com/marketplace/actions/install-composer-dependencies - - name: Install Composer dependencies - uses: ramsey/composer-install@v2 + - name: Lint assets + uses: infinum/eightshift-deploy-actions-public/.github/actions/lint-assets@main with: - dependency-versions: highest - - - name: Check coding standards using PHPCS - continue-on-error: true - run: composer standards:check -- --runtime-set testVersion ${{ matrix.php }}- --report-full --report-checkstyle=./phpcs-report.xml - - - name: Show PHPCS results in PR - run: cs2pr ./phpcs-report.xml - - phpstan: - name: PHPStan check - runs-on: ubuntu-latest - continue-on-error: ${{ matrix.allowed_failure }} - strategy: - fail-fast: false - matrix: - php: [ '8.2' ] - allowed_failure: [ true ] - - steps: - # Checkout repository - - name: Checkout - uses: actions/checkout@v3 - - # Setup PHP versions, run checks - - name: PHP setup - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - coverage: none - - # Install dependencies and handle caching in one go. - # @link https://github.com/marketplace/actions/install-composer-dependencies - - name: Install Composer dependencies - uses: ramsey/composer-install@v2 - with: - dependency-versions: highest - - - name: Check code consistency using PHPStan - run: composer test:types + NODE_VERSION: ${{ matrix.node }} + PROJECT_PATH: '/' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index 36659a6f6..000000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: Tests - -on: - # Run on PRs and pushes, only on significant changes. - push: - branches: - - develop - - main - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' - -# Cancels all previous workflow runs for the same branch that have not yet completed. -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - tests: - name: Jest - Unit tests on Node ${{ matrix.node }} - runs-on: ubuntu-latest - continue-on-error: ${{ matrix.allowed_failure }} - strategy: - fail-fast: false - matrix: - node: [ '18' ] - allowed_failure: [ false ] - include: - # Test against latest Node version, but allow it to fail. - # We need success only on LTS versions. - - node: '20' - allowed_failure: true - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set Node.js version - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node }} - - - name: Install node packages - run: npm install - - - name: Install node packages in setup - working-directory: ./setup/create-wp-project - run: npm install - - - name: Run coverage generation - run: npm run test:coverage - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage/clover.xml - flags: unittests - name: frontend-libs-codecov - fail_ci_if_error: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 602028ef8..41e0c72b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/). -## [12.0.0] - TBA +## [12.0.0] Dependant to [Eightshift-libs@8.0.0](https://github.com/infinum/eightshift-libs/releases/tag/8.0.0) diff --git a/LICENSE b/LICENSE index e8f0ee5b6..255fb936c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Infinum and Eightshift +Copyright Infinum Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index aadc29a8c..e83e6c351 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,4 @@ Eightshift Frontend Libs is maintained and sponsored by [Eightshift](https://eightshift.com) and [Infinum](https://infinum.com). ## License -Eightshift Frontend Libs ©2022 [Eightshift](https://eightshift.com) and [Infinum](https://infinum.com). It is free software, and may be redistributed under the terms specified in the LICENSE file. +Eightshift Frontend Libs [Eightshift](https://eightshift.com) and [Infinum](https://infinum.com). It is free software, and may be redistributed under the terms specified in the LICENSE file. diff --git a/__mocks__/@eightshift/frontend-libs/mocks/wrapper.js b/__mocks__/@eightshift/frontend-libs/mocks/wrapper.js deleted file mode 100644 index 364398b0b..000000000 --- a/__mocks__/@eightshift/frontend-libs/mocks/wrapper.js +++ /dev/null @@ -1,5 +0,0 @@ -export const Wrapper = (props) => { - return ( -
{props.children}
- ); -}; \ No newline at end of file diff --git a/__mocks__/@eightshift/frontend-libs/scripts/editor.js b/__mocks__/@eightshift/frontend-libs/scripts/editor.js deleted file mode 100644 index 278531908..000000000 --- a/__mocks__/@eightshift/frontend-libs/scripts/editor.js +++ /dev/null @@ -1,2 +0,0 @@ -import editor from '../../../../scripts/editor'; -export default editor; \ No newline at end of file diff --git a/__mocks__/@eightshift/frontend-libs/scripts/helpers.js b/__mocks__/@eightshift/frontend-libs/scripts/helpers.js deleted file mode 100644 index 7a37dc79d..000000000 --- a/__mocks__/@eightshift/frontend-libs/scripts/helpers.js +++ /dev/null @@ -1,2 +0,0 @@ -import helpers from '../../../../scripts/helpers'; -export default helpers; \ No newline at end of file diff --git a/__mocks__/@wordpress/block-editor.js b/__mocks__/@wordpress/block-editor.js deleted file mode 100644 index e708020f5..000000000 --- a/__mocks__/@wordpress/block-editor.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Mock of the @wordpress/block-editor package. You can add mocks for new stores to the `mockSelectors` method. - */ - -/** - * Mock of the import { InnerBlocks } from '@wordpress/block-editor'; - */ -export const InnerBlocks = () => { - return ( -
InnerBlocks
- ); -}; - -export const InspectorControls = (props) => { - return ( -
{props.children}
- ); -}; \ No newline at end of file diff --git a/__mocks__/@wordpress/blocks.js b/__mocks__/@wordpress/blocks.js deleted file mode 100644 index f29cb68d1..000000000 --- a/__mocks__/@wordpress/blocks.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Mock of the @wordpress/blocks package. You can add mocks for new stores to the `mockSelectors` method. - */ - -/** - * Mock of the import { registerBlockType } from '@wordpress/blocks'; - */ -export const registerBlockType = (blockName, options = {}) => { - return { - blockName, - options - }; -}; - -/** - * Mock of the import { registerBlockVariation } from '@wordpress/blocks'; - */ -export const registerBlockVariation = (blockName, options = {}) => { - return { - blockName, - options - }; -}; diff --git a/__mocks__/@wordpress/data.js b/__mocks__/@wordpress/data.js deleted file mode 100644 index 1dba513be..000000000 --- a/__mocks__/@wordpress/data.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Mock of the @wordpress/data package. You can add mocks for new stores to the `mockSelectors` method. - */ - -/** - * Mock of the `select('core/block-editor)`; - */ -const storeCoreBlockEditor = () => ({ - getSettings: () => ({ - colors: [ - { "name": "Primary", "slug": "primary", "color": "#022687" }, - { "name": "Black", "slug": "black", "color": "#000000" }, - { "name": "White", "slug": "white", "color": "#FFFFFF" }, - { "name": "Secondary", "slug": "secondary", "color": "#05A8AA" }, - { "name": "Caribbean", "slug": "caribbean", "color": "#06BDBF" }, - { "name": "Transparent", "slug": "transparent", "color": "transparent" } - ], - }), -}); - -/** - * Mock different stores, each should be defined in it's own function for readability's sake. - */ -const mockSelectors = { - 'core/block-editor': storeCoreBlockEditor(), -}; - -/** - * Mock of the select function. - * - * @param {string} storeName Name of the store. For example "core/block-editor" - */ -export const select = ((storeName) => mockSelectors[storeName]); - -/** - * Mock of the useSelect((select) => {}) function. - */ -export const useSelect = jest.fn(fn => fn(select)); diff --git a/__mocks__/@wordpress/element.js b/__mocks__/@wordpress/element.js deleted file mode 100644 index 6c26d37bb..000000000 --- a/__mocks__/@wordpress/element.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Mock of the @wordpress/element package. You can add mocks for new stores to the `mockSelectors` method. - */ - -/** - * Mock of the import { createElement } from '@wordpress/element'; - */ -export const createElement = () => { - return 'createElement'; -}; - -export const Fragment = (props) => { - return ( -
{props.children}
- ); -}; diff --git a/__mocks__/react-html-parser.js b/__mocks__/react-html-parser.js deleted file mode 100644 index 20dc7d2d1..000000000 --- a/__mocks__/react-html-parser.js +++ /dev/null @@ -1,7 +0,0 @@ -const reactHtmlParser = () => { - return [ - '' - ]; -}; - -export default reactHtmlParser; \ No newline at end of file diff --git a/babel/babel.config.js b/babel/babel.config.js index 63dea3d5a..c86fdac04 100644 --- a/babel/babel.config.js +++ b/babel/babel.config.js @@ -1,6 +1,4 @@ module.exports = api => { - const isTest = api.env('test'); - return { presets: [ [ @@ -8,7 +6,7 @@ module.exports = api => { { useBuiltIns: 'usage', corejs: '3', - modules: isTest ? 'auto' : false, + modules: false, }, ], ['@babel/preset-react'], diff --git a/blocks/init/src/Blocks/components/admin-header-footer-picker/admin-header-footer-picker.php b/blocks/init/src/Blocks/components/admin-header-footer-picker/admin-header-footer-picker.php index 548ce4324..8b1db11cd 100644 --- a/blocks/init/src/Blocks/components/admin-header-footer-picker/admin-header-footer-picker.php +++ b/blocks/init/src/Blocks/components/admin-header-footer-picker/admin-header-footer-picker.php @@ -3,20 +3,20 @@ /** * Template for the Admin header/footer picker settings screen. * - * @package EightshiftBoilerplate + * @package %g_namespace% */ -use EightshiftBoilerplate\AdminMenus\ReusableBlocksHeaderFooter; -use EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components; +use %g_namespace%\AdminMenus\ReusableBlocksHeaderFooter; +use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers; -$manifest = Components::getManifestByDir(__DIR__); +$manifest = Helpers::getManifestByDir(__DIR__); ?>
diff --git a/blocks/init/src/Blocks/components/button/button.php b/blocks/init/src/Blocks/components/button/button.php index 8353db90c..4908c9945 100644 --- a/blocks/init/src/Blocks/components/button/button.php +++ b/blocks/init/src/Blocks/components/button/button.php @@ -3,32 +3,32 @@ /** * Template for the Button Component. * - * @package EightshiftBoilerplate + * @package %g_namespace% */ -use EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components; +use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers; -$manifest = Components::getManifestByDir(__DIR__); +$manifest = Helpers::getManifestByDir(__DIR__); -$buttonUse = Components::checkAttr('buttonUse', $attributes, $manifest); +$buttonUse = Helpers::checkAttr('buttonUse', $attributes, $manifest); if (!$buttonUse) { return; } -$unique = Components::getUnique(); +$unique = Helpers::getUnique(); $componentClass = $manifest['componentClass'] ?? ''; $additionalClass = $attributes['additionalClass'] ?? ''; $blockClass = $attributes['blockClass'] ?? ''; $selectorClass = $attributes['selectorClass'] ?? $componentClass; -$buttonUrl = Components::checkAttr('buttonUrl', $attributes, $manifest); -$buttonContent = Components::checkAttr('buttonContent', $attributes, $manifest); -$buttonIsAnchor = Components::checkAttr('buttonIsAnchor', $attributes, $manifest); -$buttonId = Components::checkAttr('buttonId', $attributes, $manifest); -$buttonIsNewTab = Components::checkAttr('buttonIsNewTab', $attributes, $manifest); -$buttonAriaLabel = Components::checkAttr('buttonAriaLabel', $attributes, $manifest); -$buttonAttrs = (array)Components::checkAttr('buttonAttrs', $attributes, $manifest); +$buttonUrl = Helpers::checkAttr('buttonUrl', $attributes, $manifest); +$buttonContent = Helpers::checkAttr('buttonContent', $attributes, $manifest); +$buttonIsAnchor = Helpers::checkAttr('buttonIsAnchor', $attributes, $manifest); +$buttonId = Helpers::checkAttr('buttonId', $attributes, $manifest); +$buttonIsNewTab = Helpers::checkAttr('buttonIsNewTab', $attributes, $manifest); +$buttonAriaLabel = Helpers::checkAttr('buttonAriaLabel', $attributes, $manifest); +$buttonAttrs = (array)Helpers::checkAttr('buttonAttrs', $attributes, $manifest); $buttonAttrs['title'] = $buttonContent; $buttonAttrs['data-id'] = $unique; @@ -50,18 +50,18 @@ $buttonAttrs['aria-label'] = $buttonAriaLabel; } -$buttonClass = Components::classnames([ - Components::selector($componentClass, $componentClass), - Components::selector($blockClass, $blockClass, $selectorClass), - Components::selector($additionalClass, $additionalClass), - Components::selector($buttonIsAnchor, 'js-scroll-to-anchor'), +$buttonClass = Helpers::classnames([ + Helpers::selector($componentClass, $componentClass), + Helpers::selector($blockClass, $blockClass, $selectorClass), + Helpers::selector($additionalClass, $additionalClass), + Helpers::selector($buttonIsAnchor, 'js-scroll-to-anchor'), ]); $buttonTag = $buttonUrl ? 'a' : 'button'; ?> @@ -76,7 +76,7 @@ class="" ?> > $componentClass, ])); ?> diff --git a/blocks/init/src/Blocks/components/button/components/button-editor.js b/blocks/init/src/Blocks/components/button/components/button-editor.js index e9b8c46cb..399ee786a 100644 --- a/blocks/init/src/Blocks/components/button/components/button-editor.js +++ b/blocks/init/src/Blocks/components/button/components/button-editor.js @@ -18,7 +18,7 @@ export const ButtonEditor = (attributes) => { selectorClass = componentClass, additionalClass, blockClass, - placeholder = __('Add content', 'eightshift-frontend-libs'), + placeholder = __('Add content', '%g_textdomain%'), } = attributes; const buttonContent = checkAttr('buttonContent', attributes, manifest); diff --git a/blocks/init/src/Blocks/components/button/components/button-options.js b/blocks/init/src/Blocks/components/button/components/button-options.js index af944d4d7..152ff7608 100644 --- a/blocks/init/src/Blocks/components/button/components/button-options.js +++ b/blocks/init/src/Blocks/components/button/components/button-options.js @@ -56,7 +56,7 @@ export const ButtonOptions = (attributes) => { {!hideVariantPicker && setAttributes({ [getAttrKey('buttonVariant', attributes, manifest)]: value })} options={getOption('buttonVariant', attributes, manifest)} @@ -69,12 +69,12 @@ export const ButtonOptions = (attributes) => { {!hideColorPicker && setAttributes({ [getAttrKey('buttonColor', attributes, manifest)]: value })} options={getOption('buttonColor', attributes, manifest)} colors={getOption('buttonColor', attributes, manifest, true)} - tooltip={__('Color', 'eightshift-frontend-libs')} + tooltip={__('Color', '%g_textdomain%')} inlineLabel expanded border @@ -91,18 +91,18 @@ export const ButtonOptions = (attributes) => { hideSizePicker /> -
+
} + label={} value={buttonAriaLabel} onChange={(value) => setAttributes({ [getAttrKey('buttonAriaLabel', attributes, manifest)]: value })} - help={__('Description of the button.', 'eightshift-frontend-libs')} + help={__('Description of the button.', '%g_textdomain%')} />
-
+
} + label={} value={buttonId} onChange={(value) => setAttributes({ [getAttrKey('buttonId', attributes, manifest)]: value })} /> diff --git a/blocks/init/src/Blocks/components/card/card.php b/blocks/init/src/Blocks/components/card/card.php index 5828b0dcf..af7f40ef1 100644 --- a/blocks/init/src/Blocks/components/card/card.php +++ b/blocks/init/src/Blocks/components/card/card.php @@ -3,49 +3,49 @@ /** * Template for the Card Component. * - * @package EightshiftBoilerplate + * @package %g_namespace% */ -use EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components; +use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers; -$manifest = Components::getManifestByDir(__DIR__); +$manifest = Helpers::getManifestByDir(__DIR__); $componentClass = $manifest['componentClass'] ?? ''; $additionalClass = $attributes['additionalClass'] ?? ''; $blockClass = $attributes['blockClass'] ?? ''; $selectorClass = $attributes['selectorClass'] ?? $componentClass; -$unique = Components::getUnique(); +$unique = Helpers::getUnique(); -$cardClass = Components::classnames([ - Components::selector($componentClass, $componentClass), - Components::selector($blockClass, $blockClass, $selectorClass), - Components::selector($additionalClass, $additionalClass), +$cardClass = Helpers::classnames([ + Helpers::selector($componentClass, $componentClass), + Helpers::selector($blockClass, $blockClass, $selectorClass), + Helpers::selector($additionalClass, $additionalClass), ]); ?>
$componentClass, ])), - Components::render('heading', Components::props('intro', $attributes, [ + Helpers::render('heading', Helpers::props('intro', $attributes, [ 'selectorClass' => 'intro', 'blockClass' => $componentClass ])), - Components::render('heading', Components::props('heading', $attributes, [ + Helpers::render('heading', Helpers::props('heading', $attributes, [ 'blockClass' => $componentClass ])), - Components::render('paragraph', Components::props('paragraph', $attributes, [ + Helpers::render('paragraph', Helpers::props('paragraph', $attributes, [ 'blockClass' => $componentClass ])), - Components::render('button', Components::props('button', $attributes, [ + Helpers::render('button', Helpers::props('button', $attributes, [ 'blockClass' => $componentClass ])); ?> diff --git a/blocks/init/src/Blocks/components/card/components/card-options.js b/blocks/init/src/Blocks/components/card/components/card-options.js index d8b5c69d4..356bbdfda 100644 --- a/blocks/init/src/Blocks/components/card/components/card-options.js +++ b/blocks/init/src/Blocks/components/card/components/card-options.js @@ -32,7 +32,7 @@ export const CardOptions = (attributes) => { diff --git a/blocks/init/src/Blocks/components/copyright/components/copyright-options.js b/blocks/init/src/Blocks/components/copyright/components/copyright-options.js index e68546a61..50d8b314e 100644 --- a/blocks/init/src/Blocks/components/copyright/components/copyright-options.js +++ b/blocks/init/src/Blocks/components/copyright/components/copyright-options.js @@ -12,7 +12,7 @@ export const CopyrightOptions = (attributes) => { return ( setAttributes({ [getAttrKey('copyrightUse', attributes, manifest)]: value })} reducedBottomSpacing diff --git a/blocks/init/src/Blocks/components/copyright/copyright.php b/blocks/init/src/Blocks/components/copyright/copyright.php index 3c0c16754..69e58e2e6 100644 --- a/blocks/init/src/Blocks/components/copyright/copyright.php +++ b/blocks/init/src/Blocks/components/copyright/copyright.php @@ -3,14 +3,14 @@ /** * Copyright component responsible for rendering site's copyright. * - * @package EightshiftBoilerplate + * @package %g_namespace% */ -use EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components; +use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers; -$manifest = Components::getManifestByDir(__DIR__); +$manifest = Helpers::getManifestByDir(__DIR__); -$copyrightUse = Components::checkAttr('copyrightUse', $attributes, $manifest); +$copyrightUse = Helpers::checkAttr('copyrightUse', $attributes, $manifest); if (!$copyrightUse) { return; } @@ -23,10 +23,10 @@ $copyrightYear = date('Y'); $copyrightContent = Components::checkAttr('copyrightContent', $attributes, $manifest); -$copyrightClass = Components::classnames([ - Components::selector($componentClass, $componentClass), - Components::selector($blockClass, $blockClass, $selectorClass), - Components::selector($additionalClass, $additionalClass), +$copyrightClass = Helpers::classnames([ + Helpers::selector($componentClass, $componentClass), + Helpers::selector($blockClass, $blockClass, $selectorClass), + Helpers::selector($additionalClass, $additionalClass), ]); ?> diff --git a/blocks/init/src/Blocks/components/drawer/drawer.php b/blocks/init/src/Blocks/components/drawer/drawer.php index 5b630fc67..4916687db 100644 --- a/blocks/init/src/Blocks/components/drawer/drawer.php +++ b/blocks/init/src/Blocks/components/drawer/drawer.php @@ -3,14 +3,14 @@ /** * Mobile menu as drawer * - * @package EightshiftBoilerplate + * @package %g_namespace% */ -use EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components; +use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers; -$manifest = Components::getManifestByDir(__DIR__); +$manifest = Helpers::getManifestByDir(__DIR__); -$drawerUse = Components::checkAttr('drawerUse', $attributes, $manifest); +$drawerUse = Helpers::checkAttr('drawerUse', $attributes, $manifest); if (!$drawerUse) { return; } @@ -21,17 +21,17 @@ $selectorClass = $attributes['selectorClass'] ?? $componentClass; $componentJsClass = $manifest['componentJsClass'] ?? ''; -$drawerMenu = Components::checkAttr('drawerMenu', $attributes, $manifest); -$drawerTrigger = Components::checkAttr('drawerTrigger', $attributes, $manifest); +$drawerMenu = Helpers::checkAttr('drawerMenu', $attributes, $manifest); +$drawerTrigger = Helpers::checkAttr('drawerTrigger', $attributes, $manifest); -$drawerClass = Components::classnames([ +$drawerClass = Helpers::classnames([ $componentClass, $componentJsClass, - Components::selector($blockClass, $blockClass, $selectorClass), + Helpers::selector($blockClass, $blockClass, $selectorClass), $additionalClass, ]); -$drawerInnerClass = Components::selector($componentClass, $componentClass, 'inner'); +$drawerInnerClass = Helpers::selector($componentClass, $componentClass, 'inner'); ?>
} @@ -310,10 +310,10 @@ export const MapOptions = ({ attributes, setAttributes }) => { })} - + { const newValue = { ...mapControls }; @@ -325,7 +325,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapControls }; @@ -337,7 +337,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapControls }; @@ -349,7 +349,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapControls }; @@ -361,7 +361,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapControls }; @@ -373,7 +373,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapControls }; @@ -383,11 +383,11 @@ export const MapOptions = ({ attributes, setAttributes }) => { }} /> - + { const newValue = { ...mapControls }; @@ -400,7 +400,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapControls }; @@ -413,7 +413,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapControls }; @@ -425,16 +425,16 @@ export const MapOptions = ({ attributes, setAttributes }) => { - + { const newValue = { ...mapInteractions }; @@ -446,14 +446,14 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -466,7 +466,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -476,10 +476,10 @@ export const MapOptions = ({ attributes, setAttributes }) => { }} /> - + { const newValue = { ...mapInteractions }; @@ -492,7 +492,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -505,7 +505,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -518,7 +518,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -531,7 +531,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -547,7 +547,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -562,7 +562,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -574,7 +574,7 @@ export const MapOptions = ({ attributes, setAttributes }) => { { const newValue = { ...mapInteractions }; @@ -586,8 +586,8 @@ export const MapOptions = ({ attributes, setAttributes }) => { diff --git a/blocks/init/src/Blocks/custom/map/map.php b/blocks/init/src/Blocks/custom/map/map.php index 78efda87f..445ac1694 100644 --- a/blocks/init/src/Blocks/custom/map/map.php +++ b/blocks/init/src/Blocks/custom/map/map.php @@ -3,27 +3,27 @@ /** * Template for the Map Block view. * - * @package EightshiftBoilerplate + * @package %g_namespace% */ - use EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components; + use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers; -$manifest = Components::getManifestByDir(__DIR__); +$manifest = Helpers::getManifestByDir(__DIR__); $blockClass = $attributes['blockClass'] ?? ''; $blockJsClass = $attributes['blockJsClass'] ?? ''; -$mapClasses = Components::classnames([ +$mapClasses = Helpers::classnames([ $blockClass, $blockJsClass, ]); -$mapLayers = Components::checkAttr('mapLayers', $attributes, $manifest); -$mapCenterLat = Components::checkAttr('mapCenterLat', $attributes, $manifest); -$mapCenterLon = Components::checkAttr('mapCenterLon', $attributes, $manifest); -$mapZoom = Components::checkAttr('mapZoom', $attributes, $manifest); -$mapInteractions = Components::checkAttr('mapInteractions', $attributes, $manifest); -$mapControls = Components::checkAttr('mapControls', $attributes, $manifest); +$mapLayers = Helpers::checkAttr('mapLayers', $attributes, $manifest); +$mapCenterLat = Helpers::checkAttr('mapCenterLat', $attributes, $manifest); +$mapCenterLon = Helpers::checkAttr('mapCenterLon', $attributes, $manifest); +$mapZoom = Helpers::checkAttr('mapZoom', $attributes, $manifest); +$mapInteractions = Helpers::checkAttr('mapInteractions', $attributes, $manifest); +$mapControls = Helpers::checkAttr('mapControls', $attributes, $manifest); // Take only active map layers and clean them up a bit so the output JSON is smaller. $activeLayers = array_filter($mapLayers, fn ($layer) => $layer['hidden'] === false); // @phpstan-ignore-line diff --git a/blocks/init/src/Blocks/custom/paragraph/components/paragraph-options.js b/blocks/init/src/Blocks/custom/paragraph/components/paragraph-options.js index 683e948d9..f4dcd9a2c 100644 --- a/blocks/init/src/Blocks/custom/paragraph/components/paragraph-options.js +++ b/blocks/init/src/Blocks/custom/paragraph/components/paragraph-options.js @@ -9,7 +9,7 @@ export const ParagraphOptions = ({ attributes, setAttributes }) => { const paragraphAlign = checkAttr('paragraphAlign', attributes, manifest); return ( - +
diff --git a/blocks/init/src/Blocks/custom/quote/components/quote-options.js b/blocks/init/src/Blocks/custom/quote/components/quote-options.js index 7f6a4568d..cdcd55a7d 100644 --- a/blocks/init/src/Blocks/custom/quote/components/quote-options.js +++ b/blocks/init/src/Blocks/custom/quote/components/quote-options.js @@ -9,7 +9,7 @@ export const QuoteOptions = ({ attributes, setAttributes }) => { const quoteAlign = checkAttr('quoteAlign', attributes, manifest); return ( - +
diff --git a/blocks/init/src/Blocks/custom/site-footer/components/site-footer-editor.js b/blocks/init/src/Blocks/custom/site-footer/components/site-footer-editor.js index 4a775da26..f67b90070 100644 --- a/blocks/init/src/Blocks/custom/site-footer/components/site-footer-editor.js +++ b/blocks/init/src/Blocks/custom/site-footer/components/site-footer-editor.js @@ -70,7 +70,7 @@ export const SiteFooterEditor = ({ attributes, setAttributes }) => { return ( 0 ? link.text : {__('New link', 'eightshift-frontend-libs')}} + title={link?.text?.length > 0 ? link.text : {__('New link', '%g_textdomain%')}} preIcon={
@@ -278,7 +278,7 @@ export const WrapperOptions = ({ attributes, setAttributes }) => { {wrapperUse && showWrapperTag && {
{showWrapperSpacingTop && { {showWrapperSpacingBottom && { } {(!noLeftSpacingInSelector || !noRightSpacingSelector) && - + {!noLeftSpacingSelector && { {!noRightSpacingSelector && { {showWrapperSpacingTopIn && { {showWrapperSpacingBottomIn && { } {(!noLeftSpacingInSelector || !noRightSpacingInSelector) && - + {!noLeftSpacingInSelector && { {!noRightSpacingInSelector && { // eslint-disable-next-line max-len showIf={(showWrapperDividerTop || showWrapperDividerBottom || showWrapperDividerLeft || showWrapperDividerRight || showWrapperDividerColor || showWrapperRoundedCorners)} icon={icons.design} - label={__('Design', 'eightshift-frontend-libs')} + label={__('Design', '%g_textdomain%')} > {showWrapperBgColorPicker && { types={ [ { - label: __('None', 'eightshift-frontend-libs'), + label: __('None', '%g_textdomain%'), value: '', icon: icons.emptyCircle, }, { - label: __('Project color', 'eightshift-frontend-libs'), + label: __('Project color', '%g_textdomain%'), value: 'project', icon: icons.colorAlt, }, { - label: __('Gradient', 'eightshift-frontend-libs'), + label: __('Gradient', '%g_textdomain%'), value: 'gradient', icon: icons.gradient, } @@ -495,7 +495,7 @@ export const WrapperOptions = ({ attributes, setAttributes }) => { {showWrapperRoundedCorners && { {(showWrapperDividerTop || showWrapperDividerBottom || showWrapperDividerLeft || showWrapperDividerRight || showWrapperDividerColor) && {__('Color not set!', 'eightshift-frontend-libs')} + {__('Color not set!', '%g_textdomain%')} } actions={ (wrapperDividerTopLarge || wrapperDividerRightLarge || wrapperDividerBottomLarge || wrapperDividerLeftLarge) && @@ -537,34 +537,34 @@ export const WrapperOptions = ({ attributes, setAttributes }) => { > {showWrapperDividerColor && setAttributes({ wrapperDividerColor: value })} additionalTriggerClasses='es-p-0! es-button-square-24' - pickerPopupTitle={__('Divider color', 'eightshift-frontend-libs')} - label={__('Color', 'eightshift-frontend-libs')} + pickerPopupTitle={__('Divider color', '%g_textdomain%')} + label={__('Color', '%g_textdomain%')} icon={icons.colorAlt} /> } {[ showWrapperDividerTop && { - label: __('Top', 'eightshift-frontend-libs'), + label: __('Top', '%g_textdomain%'), attributeKey: 'wrapperDividerTop', icon: React.cloneElement(icons.dividerSide, { style: { '--top-opacity': 1 } }), }, showWrapperDividerRight && { - label: __('Right', 'eightshift-frontend-libs'), + label: __('Right', '%g_textdomain%'), attributeKey: 'wrapperDividerRight', icon: React.cloneElement(icons.dividerSide, { style: { '--right-opacity': 1 } }), }, showWrapperDividerBottom && { - label: __('Bottom', 'eightshift-frontend-libs'), + label: __('Bottom', '%g_textdomain%'), attributeKey: 'wrapperDividerBottom', icon: React.cloneElement(icons.dividerSide, { style: { '--bottom-opacity': 1 } }), }, showWrapperDividerLeft && { - label: __('Left', 'eightshift-frontend-libs'), + label: __('Left', '%g_textdomain%'), attributeKey: 'wrapperDividerLeft', icon: React.cloneElement(icons.dividerSide, { style: { '--left-opacity': 1 } }), } @@ -602,7 +602,7 @@ export const WrapperOptions = ({ attributes, setAttributes }) => { })} onClick={() => setAttributes({ [attributeName]: !attributeValue })} className='es-button-square-30 es-button-icon-30' - label={attributeValue ? __('On', 'eightshift-frontend-libs') : __('Off', 'eightshift-frontend-libs')} + label={attributeValue ? __('On', '%g_textdomain%') : __('Off', '%g_textdomain%')} showTooltip /> ); @@ -618,8 +618,8 @@ export const WrapperOptions = ({ attributes, setAttributes }) => {
@@ -631,14 +631,14 @@ export const WrapperOptions = ({ attributes, setAttributes }) => { setAttributes: setAttributes, manifest: manifest, })} - label={__('Hide', 'eightshift-frontend-libs')} + label={__('Hide', '%g_textdomain%')} icon={icons.hide} /> } {showWrapperAnchorId && } + label={} value={wrapperAnchorId} onChange={(value) => setAttributes({ wrapperAnchorId: value })} className='es-mb-5!' @@ -647,7 +647,7 @@ export const WrapperOptions = ({ attributes, setAttributes }) => { {showWrapperId && } + label={} value={wrapperId} onChange={(value) => setAttributes({ wrapperId: value })} /> diff --git a/blocks/init/src/Blocks/wrapper/wrapper-drag-n-drop-editing.js b/blocks/init/src/Blocks/wrapper/wrapper-drag-n-drop-editing.js index 250d6f6d9..011a799fd 100644 --- a/blocks/init/src/Blocks/wrapper/wrapper-drag-n-drop-editing.js +++ b/blocks/init/src/Blocks/wrapper/wrapper-drag-n-drop-editing.js @@ -22,8 +22,8 @@ export const WrapperDragNDropEditOptionsComponent = ({ attributes }) => { dispatch(WRAPPER_STORE_NAME).toggleGraphicalEditing()} checked={isGraphicalEditingMode} noBottomSpacing diff --git a/blocks/init/src/Blocks/wrapper/wrapper.php b/blocks/init/src/Blocks/wrapper/wrapper.php index 0e43d95be..707e8c0b7 100644 --- a/blocks/init/src/Blocks/wrapper/wrapper.php +++ b/blocks/init/src/Blocks/wrapper/wrapper.php @@ -3,20 +3,20 @@ /** * Template for the Wrapper block. * - * @package EightshiftBoilerplate + * @package %g_namespace% */ -use EightshiftBoilerplateVendor\EightshiftLibs\Helpers\Components; +use %g_namespace_vendor_prefix%\EightshiftLibs\Helpers\Helpers; -$manifest = Components::getManifestByDir(__DIR__); +$manifest = Helpers::getManifestByDir(__DIR__); // Used to add or remove wrapper. -$wrapperUse = Components::checkAttr('wrapperUse', $attributes, $manifest); -$wrapperNoControls = Components::checkAttr('wrapperNoControls', $attributes, $manifest); -$wrapperParentClass = Components::checkAttr('wrapperParentClass', $attributes, $manifest); -$wrapperSimple = Components::checkAttr('wrapperSimple', $attributes, $manifest); -$wrapperUseInner = Components::checkAttr('wrapperUseInner', $attributes, $manifest); -$wrapperOnlyOutput = Components::checkAttr('wrapperOnlyOutput', $attributes, $manifest); +$wrapperUse = Helpers::checkAttr('wrapperUse', $attributes, $manifest); +$wrapperNoControls = Helpers::checkAttr('wrapperNoControls', $attributes, $manifest); +$wrapperParentClass = Helpers::checkAttr('wrapperParentClass', $attributes, $manifest); +$wrapperSimple = Helpers::checkAttr('wrapperSimple', $attributes, $manifest); +$wrapperUseInner = Helpers::checkAttr('wrapperUseInner', $attributes, $manifest); +$wrapperOnlyOutput = Helpers::checkAttr('wrapperOnlyOutput', $attributes, $manifest); if (! $wrapperUse || $wrapperNoControls) { if ($wrapperParentClass) { @@ -34,18 +34,18 @@ return; } -$wrapperTag = Components::checkAttr('wrapperTag', $attributes, $manifest); -$wrapperId = Components::checkAttr('wrapperId', $attributes, $manifest); -$wrapperAnchorId = Components::checkAttr('wrapperAnchorId', $attributes, $manifest); +$wrapperTag = Helpers::checkAttr('wrapperTag', $attributes, $manifest); +$wrapperId = Helpers::checkAttr('wrapperId', $attributes, $manifest); +$wrapperAnchorId = Helpers::checkAttr('wrapperAnchorId', $attributes, $manifest); $wrapperMainClass = $attributes['componentClass'] ?? $manifest['componentClass']; -$wrapperClass = Components::classnames([ +$wrapperClass = Helpers::classnames([ $wrapperMainClass, $wrapperSimple ? "{$wrapperMainClass}--simple" : '', ]); $wrapperInnerClass = "{$wrapperMainClass}__inner"; -$unique = Components::getUnique(); +$unique = Helpers::getUnique(); $attributes["uniqueWrapperId"] = $unique; ?> @@ -56,7 +56,7 @@ class="" >
=8.0", - "ext-json": "*" - }, - "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^v1.0.0", - "infinum/eightshift-coding-standards": "2.0.0-beta", - "infinum/eightshift-libs-stubs": "^0.7.0", - "php-stubs/wordpress-stubs": "^6.3", - "szepeviktor/phpstan-wordpress": "^1.3" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "config": { - "sort-packages": true, - "optimize-autoloader": true, - "process-timeout": 2000, - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } - }, - "scripts": { - "test:types": "@php ./vendor/bin/phpstan analyze", - "test:standards": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 8.2-", - "test": [ - "@test:standards", - "@test:types" - ] - } -} diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index aab1ecb03..000000000 --- a/jest.config.js +++ /dev/null @@ -1,45 +0,0 @@ -module.exports = { - verbose: true, - transform: { - '\\.js$': [ - 'babel-jest', - { - configFile: './babel/babel.config.js', - }, - ], - }, - setupFiles: ['./tests/setup-global.js'], - testEnvironment: 'jsdom', - transformIgnorePatterns: [ - 'node_modules/(?!(' + - '|chalk' + - '|inquirer' + - '|ansi-escapes' + - '|chalk' + - '|cli-cursor' + - '|cli-width' + - '|external-editor' + - '|figures' + - '|lodash' + - '|mute-stream' + - '|ora' + - '|run-async' + - '|rxjs' + - '|string-width' + - '|strip-ansi' + - '|through' + - '|wrap-ans' + - '|escape-string-regexp' + - '|is-unicode-supported' + - '|restore-cursor' + - '|wrap-ansi' + - '|ansi-regex' + - '|ansi-styles' + - '|log-symbols' + - '|is-interactive' + - ')/)', - ], - moduleNameMapper: { - "#(.*)": "/node_modules/$1" - }, -}; diff --git a/package.json b/package.json index 167c8915b..67755ddf3 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,6 @@ "lintStyle": "stylelint **/*.scss", "lintJs": "eslint blocks/ setup/ webpack/ scripts/ babel/ linters/", "lint": "npm run lintJs && npm run lintStyle", - "test": "jest --maxWorkers=2", - "test:coverage": "jest --maxWorkers=2 --testPathPattern=tests/unit --coverage", - "test:unit": "jest --testPathPattern=tests/unit", - "test:integration": "jest --testPathPattern=tests/integration", "prepare": "husky" }, "homepage": "https://github.com/infinum/eightshift-frontend-libs#readme", @@ -102,12 +98,8 @@ "webpack-merge": "^5.10.0" }, "devDependencies": { - "@jest/globals": "^29.7.0", - "babel-jest": "^29.7.0", "chalk": "^5.3.0", "gh-pages": "^6.1.1", - "jest": "^29.7.0", - "jest-environment-jsdom": "30.0.0-alpha.3", "lint-staged": "^15.2.2", "micromodal": "^0.4.10", "ol": "^9.1.0", diff --git a/phpcs.xml.dist b/phpcs.xml.dist deleted file mode 100644 index 09b63db3a..000000000 --- a/phpcs.xml.dist +++ /dev/null @@ -1,26 +0,0 @@ - - - Eightshift Library uses extended WordPress coding standards with some minor corrections. - - - - */tests/* - */vendor/* - */node_modules/* - - - - - - - - - blocks/init/src - - - - - - - - diff --git a/phpstan.neon.dist b/phpstan.neon.dist deleted file mode 100644 index 35787a455..000000000 --- a/phpstan.neon.dist +++ /dev/null @@ -1,24 +0,0 @@ -includes: - - vendor/szepeviktor/phpstan-wordpress/extension.neon -parameters: - level: max - inferPrivatePropertyTypeFromConstructor: true - treatPhpDocTypesAsCertain: false - bootstrapFiles: - - %currentWorkingDirectory%/vendor/infinum/eightshift-libs-stubs/eightshift-libs-stubs.php - paths: - - blocks/init/src/ - reportUnmatchedIgnoredErrors: false - ignoreErrors: - # Ignore errors about reflection class variable being undefined. Errors are caught. - - '/^Variable (\$attributes|\$innerBlockContent|\$this|\$templatePath|\$reflectionClass|\$renderContent) might not be defined\.$/' - - '/^Parameter \#1 [\$a-z0-9\_]+ of function (get_the_post_thumbnail_url|get_the_title|get_the_excerpt|get_the_permalink) expects int\|WP_Post\|null, [a-zA-Z0-9\_\|<>]+ given\.$/' - - '/^Parameter #\d \$\w+ of static method (\w+\\)+Components::(classnames|selector|responsiveSelectors|ensureString)\(\) expects [\w\d\s\|,<>]+ given.\s*$/' - - '/^Parameter #\d \$\w+ of function esc_attr expects [\w\d\s\|,<>]+ given.\s*$/' - - '/^Part \$\w+ \(mixed\) of encapsed string cannot be cast to string\.?\s?$/' - - '/^Parameter \#\d+ \$\w+ of function esc_url expects string, mixed given\.?\s?$/' - - '/^Parameter \#\d+ \$\w+ of function esc_html expects string, mixed given\.?\s?$/' - - "/^Cannot access offset '[\\w_]+' on mixed\\.?\\s?$/" - - '/^Parameter #\d+ \(mixed\) of echo cannot be converted to string\.?\s?$/' - - '/^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.?\s?$/' - - '/^Access to constant [A-Z_]+ on an unknown class EightshiftBoilerplate\\AdminMenus\\ReusableBlocksHeaderFooter\.$/' diff --git a/readme/packages.md b/readme/packages.md index 130fdb7ae..705dfe083 100644 --- a/readme/packages.md +++ b/readme/packages.md @@ -62,13 +62,9 @@ This is a document explaining what each `package.json` package is used for. * @babel/preset-env - Is a smart preset that allows you to use the latest JavaScript without needing to micromanage. * @babel/preset-react - Babel preset for React. * @eightshift/storybook - Our storybook used for frontend libs. -* @jest/globals - Jest testing globals. -* babel-jest - Jest testing Babel preset. * chalk - Terminal coloring library. Used in project setup. * del - Terminal delete library. Used in project setup. * gh-pages - Terminal GH pages lib for deployment to GH pages. -* jest - Jest testing lib. -* jest-environment-jsdom - Package used for tests to provide enviroment. * micromodal - Modal component used in the project here only for storybook. * ol - Map component used in the project here only for storybook. * ol-mapbox-style - Map component used in the project here only for storybook. diff --git a/schemas/block.json b/schemas/block.json index d55e1b583..cf1ae73d2 100644 --- a/schemas/block.json +++ b/schemas/block.json @@ -231,7 +231,7 @@ }, "hasInnerBlocks": { "type": "boolean", - "description": "If the hasInnerBlocks key is set to true, the block's save method for inner blocks will be used. This method is used when the block has InnerBlocks. In the PHP view file, you will have the $innerBlockContent variable available. Default: false." + "description": "If the hasInnerBlocks key is set to true, the block's save method for inner blocks will be used. This method is used when the block has InnerBlocks. In the PHP view file, you will have the $renderContent variable available. Default: false." }, "components": { "type": "object", diff --git a/setup/create-wp-project/create-wp-project.js b/setup/create-wp-project/create-wp-project.js deleted file mode 100755 index 498bb73cf..000000000 --- a/setup/create-wp-project/create-wp-project.js +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env node -require('yargs') - .commandDir('./src/commands') - .demandCommand() - .help() - .argv; diff --git a/setup/create-wp-project/package-lock.json b/setup/create-wp-project/package-lock.json deleted file mode 100644 index a6043f115..000000000 --- a/setup/create-wp-project/package-lock.json +++ /dev/null @@ -1,6408 +0,0 @@ -{ - "name": "create-wp-project", - "version": "3.1.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "create-wp-project", - "version": "3.1.0", - "license": "MIT", - "dependencies": { - "chalk": "^2.4.1", - "cross-env": "^5.2.0", - "del": "^5.0.0", - "eightshift-scripts": "^0.0.10", - "figlet-promised": "^1.0.0", - "file-loader": "^2.0.0", - "fs-extra": "^7.0.1", - "generate-password": "^1.4.1", - "inquirer": "^7.0.0", - "jest-runner-groups": "^2.2.0", - "minimist": "^1.2.0", - "node-emoji": "^1.8.1", - "node-wget-promise": "^0.1.6", - "ora": "^3.0.0", - "promisify-child-process": "^2.1.2", - "prompt-sync": "^4.1.6", - "replace-in-file": "^3.4.2", - "yargs": "^15.0.0" - }, - "bin": { - "create-wp-project": "create-wp-project.js" - }, - "devDependencies": { - "jest": "^29.1.1" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", - "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.23.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.7.tgz", - "integrity": "sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.7", - "@babel/parser": "^7.23.6", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.7", - "@babel/types": "^7.23.6", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/generator": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", - "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.23.6", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", - "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.23.5", - "@babel/helper-validator-option": "^7.23.5", - "browserslist": "^4.22.2", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", - "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", - "dev": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", - "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", - "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.23.8", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.8.tgz", - "integrity": "sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ==", - "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.7", - "@babel/types": "^7.23.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", - "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz", - "integrity": "sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz", - "integrity": "sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.23.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.7.tgz", - "integrity": "sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.6", - "@babel/types": "^7.23.6", - "debug": "^4.3.1", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", - "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true - }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/console": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", - "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/console/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@jest/console/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@jest/console/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@jest/console/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/@jest/console/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/console/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/core": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", - "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/core/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@jest/core/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@jest/core/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@jest/core/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/@jest/core/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/core/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", - "dev": true, - "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", - "dev": true, - "dependencies": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", - "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", - "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/globals": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", - "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/reporters": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", - "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", - "dev": true, - "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^6.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", - "v8-to-istanbul": "^9.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/reporters/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@jest/reporters/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@jest/reporters/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@jest/reporters/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/@jest/reporters/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/reporters/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", - "dev": true, - "dependencies": { - "@sinclair/typebox": "^0.27.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/source-map": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", - "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-result": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", - "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-sequencer": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", - "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", - "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/transform/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@jest/transform/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@jest/transform/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@jest/transform/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/@jest/transform/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/transform/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/types/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@jest/types/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@jest/types/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@jest/types/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/@jest/types/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/types/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true - }, - "node_modules/@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^3.0.0" - } - }, - "node_modules/@types/babel__core": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", - "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "node_modules/@types/babel__generator": { - "version": "7.6.8", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", - "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__template": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", - "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__traverse": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz", - "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==", - "dev": true, - "dependencies": { - "@babel/types": "^7.20.7" - } - }, - "node_modules/@types/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", - "dependencies": { - "@types/minimatch": "*", - "@types/node": "*" - } - }, - "node_modules/@types/graceful-fs": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", - "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", - "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", - "dev": true - }, - "node_modules/@types/istanbul-lib-report": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", - "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "*" - } - }, - "node_modules/@types/istanbul-reports": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", - "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-report": "*" - } - }, - "node_modules/@types/minimatch": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", - "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==" - }, - "node_modules/@types/node": { - "version": "20.10.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.7.tgz", - "integrity": "sha512-fRbIKb8C/Y2lXxB5eVMj4IU7xpdox0Lh8bUPEdtLysaylsml1hOOx1+STloRs/B9nf7C6kPRmmg/V7aQW7usNg==", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@types/stack-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", - "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", - "dev": true - }, - "node_modules/@types/yargs": { - "version": "17.0.32", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", - "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@types/yargs-parser": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", - "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", - "dev": true - }, - "node_modules/aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-errors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", - "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", - "peerDependencies": { - "ajv": ">=5.0.0" - } - }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", - "dev": true, - "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" - } - }, - "node_modules/babel-jest/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/babel-jest/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/babel-jest/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/babel-jest/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/babel-jest/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-jest/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", - "dev": true, - "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", - "dev": true, - "dependencies": { - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", - "dev": true, - "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "engines": { - "node": "*" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.22.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", - "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "caniuse-lite": "^1.0.30001565", - "electron-to-chromium": "^1.4.601", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", - "dev": true, - "dependencies": { - "node-int64": "^0.4.0" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001576", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz", - "integrity": "sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/char-regex": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - }, - "node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "engines": { - "node": ">=8" - } - }, - "node_modules/cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true - }, - "node_modules/clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", - "engines": { - "node": ">=6" - } - }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", - "engines": { - "node": ">= 10" - } - }, - "node_modules/cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", - "dev": true, - "engines": { - "iojs": ">= 1.0.0", - "node": ">= 0.12.0" - } - }, - "node_modules/collect-v8-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", - "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", - "dev": true - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true - }, - "node_modules/create-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", - "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - }, - "bin": { - "create-jest": "bin/create-jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/create-jest/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/create-jest/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/create-jest/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/create-jest/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/create-jest/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/create-jest/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cross-env": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.2.1.tgz", - "integrity": "sha512-1yHhtcfAd1r4nwQgknowuUNfIT9E8dOMMspC36g45dN+iD1blloi7xp8X/xAIDnjHWyt1uQ8PHk2fkNaym7soQ==", - "dependencies": { - "cross-spawn": "^6.0.5" - }, - "bin": { - "cross-env": "dist/bin/cross-env.js", - "cross-env-shell": "dist/bin/cross-env-shell.js" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/dedent": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz", - "integrity": "sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==", - "dev": true, - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true - } - } - }, - "node_modules/deepmerge": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/defaults": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/del": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/del/-/del-5.1.0.tgz", - "integrity": "sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==", - "dependencies": { - "globby": "^10.0.1", - "graceful-fs": "^4.2.2", - "is-glob": "^4.0.1", - "is-path-cwd": "^2.2.0", - "is-path-inside": "^3.0.1", - "p-map": "^3.0.0", - "rimraf": "^3.0.0", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/eightshift-scripts": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/eightshift-scripts/-/eightshift-scripts-0.0.10.tgz", - "integrity": "sha512-1ml3mfAQfx6H6ciESSjkK+k4RVkItUfF91QlLI0fbmppFJpOFVpo1ZQEzHTeFq8ZtpIM7GN70dsHV07nc+qE3A==", - "dependencies": { - "chalk": "^2.4.1", - "cross-env": "^5.2.0", - "figlet": "^1.2.3", - "file-loader": "^2.0.0", - "fs-extra": "^7.0.1", - "generate-password": "^1.4.1", - "inquirer": "^6.4.1", - "minimist": "^1.2.0", - "node-emoji": "^1.8.1", - "ora": "^3.0.0", - "promisify-child-process": "^2.1.2", - "prompt-sync": "^4.1.6", - "replace-in-file": "^3.4.2" - } - }, - "node_modules/eightshift-scripts/node_modules/ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/ansi-regex": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", - "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", - "engines": { - "node": ">=6" - } - }, - "node_modules/eightshift-scripts/node_modules/cli-cursor": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", - "dependencies": { - "restore-cursor": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/cli-width": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", - "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==" - }, - "node_modules/eightshift-scripts/node_modules/figures": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/inquirer": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz", - "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==", - "dependencies": { - "ansi-escapes": "^3.2.0", - "chalk": "^2.4.2", - "cli-cursor": "^2.1.0", - "cli-width": "^2.0.0", - "external-editor": "^3.0.3", - "figures": "^2.0.0", - "lodash": "^4.17.12", - "mute-stream": "0.0.7", - "run-async": "^2.2.0", - "rxjs": "^6.4.0", - "string-width": "^2.1.0", - "strip-ansi": "^5.1.0", - "through": "^2.3.6" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/eightshift-scripts/node_modules/is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/mimic-fn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/mute-stream": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "integrity": "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==" - }, - "node_modules/eightshift-scripts/node_modules/onetime": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", - "dependencies": { - "mimic-fn": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/restore-cursor": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", - "dependencies": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dependencies": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/string-width/node_modules/ansi-regex": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", - "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/string-width/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", - "dependencies": { - "ansi-regex": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eightshift-scripts/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.4.625", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.625.tgz", - "integrity": "sha512-DENMhh3MFgaPDoXWrVIqSPInQoLImywfCwrSmVl3cf9QHzoZSiutHwGaB/Ql3VkqcQV30rzgdM+BjKqBAJxo5Q==", - "dev": true - }, - "node_modules/emittery": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", - "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", - "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", - "engines": { - "node": ">= 4" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/execa/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/execa/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/execa/node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/execa/node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/execa/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", - "dev": true, - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "node_modules/fastq": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", - "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fb-watchman": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", - "dev": true, - "dependencies": { - "bser": "2.1.1" - } - }, - "node_modules/figlet": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/figlet/-/figlet-1.7.0.tgz", - "integrity": "sha512-gO8l3wvqo0V7wEFLXPbkX83b7MVjRrk1oRLfYlZXol8nEpb/ON9pcKLI4qpBv5YtOTfrINtqb7b40iYY2FTWFg==", - "bin": { - "figlet": "bin/index.js" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/figlet-promised": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/figlet-promised/-/figlet-promised-1.0.0.tgz", - "integrity": "sha512-3f7PAgxWbPGNCRBNZHPobZ2Nu/OHXAw/DXF5RfSVQVOLCPrI0nghHaI+ZkS/D3e8c03ota4JaulDVqsdleffHg==", - "dependencies": { - "figlet": "^1.2.4" - } - }, - "node_modules/figures": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/file-loader": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-2.0.0.tgz", - "integrity": "sha512-YCsBfd1ZGCyonOKLxPiKPdu+8ld9HAaMEvJewzz+b2eTF7uL5Zm/HdBF6FjCrpCMRq25Mi0U1gl4pwn2TlH7hQ==", - "dependencies": { - "loader-utils": "^1.0.2", - "schema-utils": "^1.0.0" - }, - "engines": { - "node": ">= 6.9.0 < 7.0.0 || >= 8.9.0" - }, - "peerDependencies": { - "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/generate-password": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/generate-password/-/generate-password-1.7.1.tgz", - "integrity": "sha512-9bVYY+16m7W7GczRBDqXE+VVuCX+bWNrfYKC/2p2JkZukFb2sKxT6E3zZ3mJGz7GMe5iRK0A/WawSL3jQfJuNQ==" - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "dev": true, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/globby": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz", - "integrity": "sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==", - "dependencies": { - "@types/glob": "^7.1.1", - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.0.3", - "glob": "^7.1.3", - "ignore": "^5.1.1", - "merge2": "^1.2.3", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "engines": { - "node": ">=4" - } - }, - "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", - "dev": true, - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/inquirer": { - "version": "7.3.3", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", - "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", - "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.19", - "mute-stream": "0.0.8", - "run-async": "^2.4.0", - "rxjs": "^6.6.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/inquirer/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/inquirer/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/inquirer/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/inquirer/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/inquirer/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/inquirer/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dev": true, - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-generator-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-path-cwd": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", - "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", - "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.1.tgz", - "integrity": "sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-instrument/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-instrument/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/istanbul-lib-report": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", - "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", - "dev": true, - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^4.0.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-report/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-report/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", - "dev": true, - "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-reports": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", - "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", - "dev": true, - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", - "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-changed-files": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", - "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", - "dev": true, - "dependencies": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", - "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-circus/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-circus/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-circus/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-circus/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-circus/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-cli": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", - "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-cli/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-cli/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-cli/node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/jest-cli/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-cli/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-cli/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-cli/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-cli/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/jest-cli/node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest-cli/node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dev": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/jest-cli/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/jest-config": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", - "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@types/node": "*", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/jest-config/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-config/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-config/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-config/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-config/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-config/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-diff/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-diff/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-diff/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-diff/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-diff/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-diff/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-docblock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", - "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", - "dev": true, - "dependencies": { - "detect-newline": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-each": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", - "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-each/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-each/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-each/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-each/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-each/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-each/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" - } - }, - "node_modules/jest-leak-detector": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", - "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-matcher-utils/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-matcher-utils/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-matcher-utils/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-matcher-utils/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-matcher-utils/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-matcher-utils/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-message-util/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-message-util/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-message-util/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-message-util/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-message-util/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-message-util/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } - } - }, - "node_modules/jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", - "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve-dependencies": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", - "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", - "dev": true, - "dependencies": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-resolve/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-resolve/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-resolve/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-resolve/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-resolve/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-runner": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", - "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner-groups": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/jest-runner-groups/-/jest-runner-groups-2.2.0.tgz", - "integrity": "sha512-Sp/B9ZX0CDAKa9dIkgH0sGyl2eDuScV4SVvOxqhBMxqWpsNAkmol/C58aTFmPWZj+C0ZTW1r1BSu66MTCN+voA==", - "engines": { - "node": ">= 10.14.2" - }, - "peerDependencies": { - "jest-docblock": ">= 24", - "jest-runner": ">= 24" - } - }, - "node_modules/jest-runner/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-runner/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-runner/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-runner/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-runner/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-runner/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-runtime": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", - "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runtime/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-runtime/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-runtime/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-runtime/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-runtime/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-runtime/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-snapshot": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", - "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-snapshot/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-snapshot/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-snapshot/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-snapshot/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest-snapshot/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-snapshot/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-util/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-util/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-util/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-util/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-util/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-util/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "leven": "^3.1.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-validate/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-validate/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-validate/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-validate/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-validate/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-watcher": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", - "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-watcher/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-watcher/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-watcher/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/jest-watcher/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/jest-watcher/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-watcher/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "dev": true, - "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/loader-utils": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", - "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/loader-utils/node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/log-symbols": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", - "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", - "dependencies": { - "chalk": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/make-dir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", - "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", - "dev": true, - "dependencies": { - "semver": "^7.5.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-dir/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "dev": true, - "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true - }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" - }, - "node_modules/node-emoji": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", - "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", - "dependencies": { - "lodash": "^4.17.21" - } - }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true - }, - "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", - "dev": true - }, - "node_modules/node-wget-promise": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/node-wget-promise/-/node-wget-promise-0.1.6.tgz", - "integrity": "sha512-EB1aleH7rp+rjdZRugezC8Nk7QJ6uXueYDUumFXkXQy7Z3HoW+0G6/cxjVMSmQHZmt4TC7xdpleOYnw65/ciLw==" - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm-run-path/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz", - "integrity": "sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg==", - "dependencies": { - "chalk": "^2.4.2", - "cli-cursor": "^2.1.0", - "cli-spinners": "^2.0.0", - "log-symbols": "^2.2.0", - "strip-ansi": "^5.2.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/ora/node_modules/ansi-regex": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", - "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", - "engines": { - "node": ">=6" - } - }, - "node_modules/ora/node_modules/cli-cursor": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", - "dependencies": { - "restore-cursor": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/ora/node_modules/mimic-fn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/ora/node_modules/onetime": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", - "dependencies": { - "mimic-fn": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/ora/node_modules/restore-cursor": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", - "dependencies": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/ora/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-locate/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-map": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", - "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", - "engines": { - "node": ">=4" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/promisify-child-process": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/promisify-child-process/-/promisify-child-process-2.1.2.tgz", - "integrity": "sha512-j2BRwNaM7fUwrd67avtqSTRevQXZiqS+T4Ky3VVaQdvzkPpsTByBAv+ZyBxuXgV/eUrCe2qYrOZvPvd+sMryeg==", - "dependencies": { - "@types/node": "^10.11.3" - } - }, - "node_modules/promisify-child-process/node_modules/@types/node": { - "version": "10.17.60", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", - "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" - }, - "node_modules/prompt-sync": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/prompt-sync/-/prompt-sync-4.2.0.tgz", - "integrity": "sha512-BuEzzc5zptP5LsgV5MZETjDaKSWfchl5U9Luiu8SKp7iZWD5tZalOxvNcZRwv+d2phNFr8xlbxmFNcRKfJOzJw==", - "dependencies": { - "strip-ansi": "^5.0.0" - } - }, - "node_modules/prompt-sync/node_modules/ansi-regex": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", - "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", - "engines": { - "node": ">=6" - } - }, - "node_modules/prompt-sync/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/pure-rand": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.4.tgz", - "integrity": "sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/dubzzz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fast-check" - } - ] - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true - }, - "node_modules/replace-in-file": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/replace-in-file/-/replace-in-file-3.4.4.tgz", - "integrity": "sha512-ehq0dFsxSpfPiPLBU5kli38Ud8bZL0CQKG8WQVbvhmyilXaMJ8y4LtDZs/K3MD8C0+rHbsfW8c9r2bUEy0B/6Q==", - "dependencies": { - "chalk": "^2.4.2", - "glob": "^7.1.3", - "yargs": "^13.2.2" - }, - "bin": { - "replace-in-file": "bin/cli.js" - } - }, - "node_modules/replace-in-file/node_modules/ansi-regex": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", - "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", - "engines": { - "node": ">=6" - } - }, - "node_modules/replace-in-file/node_modules/cliui": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", - "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", - "dependencies": { - "string-width": "^3.1.0", - "strip-ansi": "^5.2.0", - "wrap-ansi": "^5.1.0" - } - }, - "node_modules/replace-in-file/node_modules/emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" - }, - "node_modules/replace-in-file/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/replace-in-file/node_modules/is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", - "engines": { - "node": ">=4" - } - }, - "node_modules/replace-in-file/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/replace-in-file/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/replace-in-file/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/replace-in-file/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/replace-in-file/node_modules/string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dependencies": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/replace-in-file/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/replace-in-file/node_modules/wrap-ansi": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", - "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", - "dependencies": { - "ansi-styles": "^3.2.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/replace-in-file/node_modules/yargs": { - "version": "13.3.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", - "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" - } - }, - "node_modules/replace-in-file/node_modules/yargs-parser": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", - "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve.exports": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", - "dependencies": { - "tslib": "^1.9.0" - }, - "engines": { - "npm": ">=2.0.0" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dependencies": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" - }, - "node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/stack-utils/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", - "dev": true, - "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" - }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" - }, - "node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/v8-to-istanbul": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", - "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^2.0.0" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "dev": true, - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/which-module": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", - "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==" - }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" - }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true - }, - "node_modules/yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "dependencies": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.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": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - } -} diff --git a/setup/create-wp-project/package.json b/setup/create-wp-project/package.json deleted file mode 100644 index 76c99ce69..000000000 --- a/setup/create-wp-project/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "create-wp-project", - "description": "This is a setup script for creating a WordPress project.", - "version": "3.1.0", - "author": "Team Eightshift", - "main": "", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/infinum/eightshift-frontend-libs" - }, - "bugs": { - "url": "https://github.com/infinum/eightshift-frontend-libs/issues" - }, - "scripts": { - "build": "cross-env NODE_ENV=production webpack --progress --mode production", - "test": "jest", - "develop": "node create-wp-project.js" - }, - "bin": { - "create-wp-project": "./create-wp-project.js" - }, - "dependencies": { - "chalk": "^2.4.1", - "cross-env": "^5.2.0", - "del": "^5.0.0", - "eightshift-scripts": "^0.0.10", - "figlet-promised": "^1.0.0", - "file-loader": "^2.0.0", - "fs-extra": "^7.0.1", - "generate-password": "^1.4.1", - "inquirer": "^7.0.0", - "jest-runner-groups": "^2.2.0", - "minimist": "^1.2.0", - "node-emoji": "^1.8.1", - "node-wget-promise": "^0.1.6", - "ora": "^3.0.0", - "promisify-child-process": "^2.1.2", - "prompt-sync": "^4.1.6", - "replace-in-file": "^3.4.2", - "yargs": "^15.0.0" - }, - "devDependencies": { - "jest": "^29.1.1" - }, - "jest": { - "runner": "groups" - } -} diff --git a/setup/create-wp-project/readme.md b/setup/create-wp-project/readme.md deleted file mode 100644 index 605bec5ab..000000000 --- a/setup/create-wp-project/readme.md +++ /dev/null @@ -1,97 +0,0 @@ -# Create a new WordPress theme - -## Requirements - -To have the smoothest development and setup experience, you need to install a few things on your computer. Please install these packages before you start the setup: - -- [Node.js](https://nodejs.org/en/) -- [Composer](https://getcomposer.org/) -- [WP-CLI](https://wp-cli.org/) -- [Git](https://git-scm.com/) - -Make sure that you have all these packages installed and ready to use on your system. To make sure that they work, run these commands: - -- `node -v` -- `composer -v` -- `wp --info` -- `git --version` - -If it doesn't return any errors, you are good to go. - -## Installation - -Navigate to your WordPress theme folder and run the following command: - -`npx create-wp-project` - -The script will prompt you for a theme name, local development URL (used for BrowserSync) and project description. After that, your new theme will be installed. - -After the script is finished, please follow the instructions provided by the setup script. - -All additional steps after the initial setup are done using WP_CLI commands, so please make sure that you have WP-CLI set and ready to use. - -To make sure you use the latest version of npx command you can add `@latest` flag to the command: - -`npx create-wp-project@latest` - -## Specify version to create - -If you want to specify a version of Eightshift Libs or Frontend Libs to use, you can use add two additional attributes to this command to specify a branch or release to use: - -``` ---eightshiftLibsBranch ---eightshiftFrontendLibsBranch -``` - -Example: -If you want to pull the develop branch of the Eightshift Frontend libs and a specific release of the Eightshift Libs: - -``` -npx create-wp-project --eightshiftLibsBranch="release/6.0.0" --eightshiftFrontendLibsBranch="develop" -``` - -You can also specify the version of the create-wp-project script like this: - -``` -npx create-wp-project@2.0.12 --eightshiftLibsBranch="release/6.0.0" --eightshiftFrontendLibsBranch="develop" -``` - - -## Use a different repository - -If you want to specify a different repository from where to pull the boilerplate installation, you can use an additional attribute to this command to specify which git repository to use: - -``` ---eightshiftBoilerplateRepo ---eightshiftBoilerplateBranch -``` - -Example: -If you want to pull the develop branch of the Eightshift Frontend libs and a specific release of the Eightshift Libs: - - -``` -npx create-wp-project --eightshiftBoilerplateRepo="https://github.com/example-repository/eightshift-boilerplate.git" -``` - -You can also specify which branch to use like this: - - -``` -npx create-wp-project --eightshiftBoilerplateRepo="https://github.com/example-repository/eightshift-boilerplate.git" --eightshiftBoilerplateBranch="develop" -``` - -You can get a list of available script arguments by running: - -`npx create-wp-project --help` - - -## Development - -To do any development on the actual setup script you can run it locally by using this command: - -``` -npm run develop -``` - -This command will run the script from the code directly and it will output the theme/plugin to the setup folder. diff --git a/setup/create-wp-project/src/arguments.js b/setup/create-wp-project/src/arguments.js deleted file mode 100644 index fb6ad295d..000000000 --- a/setup/create-wp-project/src/arguments.js +++ /dev/null @@ -1,74 +0,0 @@ -const scriptArguments = { - projectName: { - type: 'text', - name: 'projectName', - describe: 'Project name (e.g. Infinum):', - }, - url: { - type: 'text', - name: 'url', - describe: 'Development URL (e.g. dev.infinum.com):', - }, - description: { - type: 'text', - name: 'description', - describe: 'Project description:', - }, - package: { - type: 'text', - name: 'package', - describe: 'Package name: name of the folder, text domain name (e.g. package-name):', - buildFrom: { - name: 'projectName', - how: (sourceArg) => sourceArg.replace(/[^a-z0-9 -]/gi, '').toLowerCase().trim().split(' ').join('-'), - }, - }, - namespace: { - type: 'text', - name: 'namespace', - describe: 'Namespace for your project / files (e.g. PackageName):', - buildFrom: { - name: 'projectName', - how: (sourceArg) => sourceArg - .replace(/[^a-z0-9 _]/gi, '') // leave only digits, letters, spaces and underscores - .toLowerCase() - .split(/[ _]+/) // split on space and underscore - .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) // capitalize first letter of each word - .join(''), - }, - }, - noSummary: { - name: 'noSummary', - describe: 'Skip the summary prompt', - type: 'boolean', - skipPrompt: true, - }, - eightshiftBoilerplateRepo: { - name: 'eightshiftBoilerplateRepo', - describe: 'Use this to override which eightshift-boilerplate repository is used.', - type: 'text', - skipPrompt: true, - }, - eightshiftBoilerplateBranch: { - name: 'eightshiftBoilerplateBranch', - describe: 'Use this to override which infinum/eightshift-boilerplate version is loaded (mainly used for testing).', - type: 'text', - skipPrompt: true, - }, - eightshiftLibsBranch: { - name: 'eightshiftLibsBranch', - describe: 'Use this to override which infinum/eightshift-libs version is loaded (mainly used for testing).', - type: 'text', - skipPrompt: true, - }, - eightshiftFrontendLibsBranch: { - name: 'eightshiftFrontendLibsBranch', - describe: 'Use this to override which @eightshift/frontend-libs version is loaded (mainly used for testing).', - type: 'text', - skipPrompt: true, - }, -}; - -module.exports = { - scriptArguments, -}; diff --git a/setup/create-wp-project/src/basics/argument-operations.js b/setup/create-wp-project/src/basics/argument-operations.js deleted file mode 100644 index 601fc37ca..000000000 --- a/setup/create-wp-project/src/basics/argument-operations.js +++ /dev/null @@ -1,187 +0,0 @@ -const inquirer = require('inquirer'); -const { log, error, alertBox } = require('./misc'); -const { eightshiftForbiddenKeywords } = require('./variables'); -const chalk = require('chalk'); - -/** - * Output a summary for all user-provided answers and ask for a confirmation. - * - * @param {array} answers Array of user-provided answers. - * @return {bool} - */ -const summary = async (answers) => { - const summaryLabel = { - projectName: 'Project name', - url: 'Development URL', - description: 'Description', - package: 'Package name', - namespace: 'Namespace', - }; - - alertBox([ - '', - ...Object.keys(answers).map((key, i, arr) => { - if (i === arr.length - 1) { - return [chalk.gray(summaryLabel[key]), answers[key]].join("\n"); - } - - return [chalk.gray(summaryLabel[key]), answers[key], ''].join("\n"); - }), - ].join("\n"), 'Summary'); - - const { confirmSummary } = await inquirer.prompt({ - name: 'confirmSummary', - type: 'confirm', - message: 'Looks good?', - }); - - return confirmSummary; -}; -/** - * Output a requirements message and ask if everything is ready. - * - * @return {bool} - */ -const requirementCheck = async () => { - alertBox([ - 'Before we continue, please check that you have these dependencies set up and ready to go:', - ' ', - '- Node (LTS recommended)', - `${chalk.gray(' Check with')} ${chalk.gray.underline('node -v')}`, - '- Composer (LTS recommended)', - `${chalk.gray(' Check with')} ${chalk.gray.underline('composer -V')}`, - '- WP CLI (2.9.0+)', `${chalk.gray(' Check with')} ${chalk.gray.underline('wp --info')}`, - '- Git', - `${chalk.gray(' Check with')} ${chalk.gray.underline('git --version')}` - ].join("\n"), 'Requirements'); - - // If in a test environment, skip the prompt. - if (typeof jest !== 'undefined') { - return true; - } - - const { confirmSummary } = await inquirer.prompt({ - name: 'confirmSummary', - type: 'confirm', - message: 'Dependencies ready?', - }); - - return confirmSummary; -}; - -/** - * Should prompt the user for all scriptArguments. - * - * @param {array} scriptArguments Array of defined script arguments. - * @param {array} argv Array of CLI arguments. - * @return {array} - */ -const maybePrompt = async (scriptArguments, argv) => { - let answers = {}; - let confirm = false; - let prompted = false; - let mustPrompt = false; - const argsArray = Object.keys(scriptArguments); - - do { - for (let i = 0; i < argsArray.length - 1; i++) { - const argName = argsArray[i]; - - if (Object.prototype.hasOwnProperty.call(scriptArguments, argName)) { - const argument = { - ...scriptArguments[argName], - message: scriptArguments[argName].describe, - }; - - // Use what's provided from CLI, prompt or build the arguments, depending on their settings. - if (argument.skipPrompt) { - continue; - } else if (typeof (argv[argName]) === "undefined" && argument.buildFrom) { - const { how, name } = argument.buildFrom; - answers = { ...answers, [argument.name]: how(answers[name]) }; - } else { - - // If argument is provided from CLI use that, otherwise prompt. - const answer = argv[argName] && !mustPrompt ? { [argName]: argv[argName] } : await inquirer.prompt(argument); - - if (typeof (argv[argName]) === "undefined") { - prompted = true; - } - - // Check if the project name matches a forbidden keyword. - if (argName === 'projectName' && !projectNameValidator(answer[argName], false)) { - error(`Project name '${answer.projectName}' cannot be used. Choose a different name.`); - mustPrompt = true; - i--; - continue; - } else { - mustPrompt = false; - } - - answers = { ...answers, ...answer }; - } - } - } - - // Skip summary if noSummary argument is provided - if (!argv.noSummary) { - confirm = await summary(answers); - - if (!confirm && prompted === false) { - process.exit(0); - } - - log(''); - } else { - confirm = true; - } - } while (confirm !== true); - - const requirementsValid = await requirementCheck(answers); - - // console.log({answers, requirementsValid}); - - if (!requirementsValid) { - alertBox('Install/update the dependencies, check versions, and run the script again.', 'Requirements not met', 'error'); - process.exit(0); - } - - - return answers; -}; - -/** - * Converts a y/n prompt question to a boolean - * - * @param {string} prompt Answer to prompted y/n question - * @return {bool} - */ -const promptToBool = async (prompt) => { - const lwrPrompt = prompt.toLowerCase(); - - return lwrPrompt === 'y' || - lwrPrompt === 'yes' || - lwrPrompt === '1' || - lwrPrompt === 'confirm' || - lwrPrompt === 'i do'; -}; - -/** - * Checks if entered project named is the same as forbidden keywords. - * - * @param {string} input String entered in prompt - * @return {bool} - */ -const projectNameValidator = (input) => { - if (eightshiftForbiddenKeywords.find((word) => word === input)) { - return false; - } - return true; -}; - -module.exports = { - maybePrompt, - promptToBool, - projectNameValidator, - requirementCheck, -}; diff --git a/setup/create-wp-project/src/basics/command-line.js b/setup/create-wp-project/src/basics/command-line.js deleted file mode 100644 index 9b4247eee..000000000 --- a/setup/create-wp-project/src/basics/command-line.js +++ /dev/null @@ -1,64 +0,0 @@ - -const { exec } = require('promisify-child-process'); - -// Required because 'npm run build' sometimes throws an error: -// RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stderr maxBuffer length exceeded -const cloneTimeout = 45000; - -// Check Node.js version -const checkNodeVersion = async () => exec(`node -v`); -// Check Composer version -const checkComposerVersion = async () => exec(`composer -v`); -// Check WP-Cli version -const checkWPCliVersion = async () => exec(`wp --info`); -// Check Git version -const checkGitVersion = async () => exec(`git --version`); - -// Go trough every requirement and check for errors. If there are any errors script will fail -const checkRequirements = async () => { - const nodeVersion = await checkNodeVersion(); - if (nodeVersion.stderr !== '') process.exit(1); - - const composerVersion = await checkComposerVersion(); - if (composerVersion.stderr !== '') process.exit(1); - - const wpCliVersion = await checkWPCliVersion(); - if (wpCliVersion.stderr !== '') process.exit(1); - - const gitVersion = await checkGitVersion(); - if (gitVersion.stderr !== '') process.exit(1); - - return true; -}; - -const cloneRepoTo = async (repo, folderName, branch = '') => { - const repoCommand = branch.length ? `-b ${branch} ${repo}` : repo; - const command = `git clone ${repoCommand} "${folderName}"`; - return exec(command, { timeout: cloneTimeout }); -}; -const installNodeDependencies = async (projectPath) => exec(`cd "${projectPath}" && npm install`); -const installNodePackage = async (projectPath, packageToInstall) => exec(`cd "${projectPath}" && npm install ${packageToInstall}`); -const installComposerDependencies = async (projectPath) => exec(`cd "${projectPath}" && composer install --ignore-platform-reqs`); -// eslint-disable-next-line max-len -const installComposerPackage = async (projectPath, packageToInstall) => exec(`cd "${projectPath}" && composer require ${packageToInstall} --ignore-platform-reqs`); -const wpCoreDownload = async (projectPath) => exec(`cd "${projectPath}" && wp core download`); -const wpThemeActivate = async (themeName) => exec(`wp theme activate ${themeName}`); -const boilerplateThemeInit = async (themeName) => exec(`cd "${themeName}" && wp boilerplate init theme && npm run build`); -const initReusableHeaderFooter = async () => exec('wp boilerplate init header-footer'); - -module.exports = { - cloneRepoTo, - checkRequirements, - checkNodeVersion, - checkComposerVersion, - checkWPCliVersion, - checkGitVersion, - installNodeDependencies, - installNodePackage, - installComposerDependencies, - installComposerPackage, - wpCoreDownload, - wpThemeActivate, - boilerplateThemeInit, - initReusableHeaderFooter, -}; diff --git a/setup/create-wp-project/src/basics/console.js b/setup/create-wp-project/src/basics/console.js deleted file mode 100644 index 17c9f6e20..000000000 --- a/setup/create-wp-project/src/basics/console.js +++ /dev/null @@ -1,128 +0,0 @@ -const ora = require('ora'); -const emoji = require('node-emoji'); -const prompt = require('prompt-sync')(); -const chalk = require('chalk'); -const { - log, - error, - label, - capCase, -} = require('./misc.js'); -const figlet = require('figlet'); - -/** - * Prompts a user for something - * - * @param {object} settings - */ -const promptFor = ({ - icon = '', - title, - promptLabel, - minLength = 0, -}) => { - let userInput = ''; - - label(`${emoji.get(icon) || ''} ${title}`); - do { - userInput = prompt(`${promptLabel}: `); - - if (userInput.length <= minLength) { - error(error); - } - } while (userInput.length <= minLength && userInput !== 'exit'); - label(''); - if (userInput === 'exit') { - log('Exiting script...'); - process.exit(); - } - - return userInput; -}; - -/** - * Performs an install step with the ora spinner. - */ -const installStep = async ({ describe, thisHappens, isFatal = true }) => { - const spinner = ora({ text: describe, color: 'blue' }).start(); - - if (!thisHappens) { - throw new Error(`Missing 'thisHappens' parameter for step ${describe}, don't know what needs to be done at this step, aborting.`); - } - - await thisHappens.then(() => { - spinner.succeed(); - }).catch((exception) => { - spinner.fail(); - error(exception); - - if (isFatal) { - error(`'${describe}' was a required step, exiting.`); - process.exit(1); - } - }); -}; - -/** - * Prompts the user for all things defined in whatToPromptFor. - */ -const promptData = async (whatToPromptFor) => { - const data = {}; - whatToPromptFor.forEach(async (singlePrompt) => { - data[singlePrompt.key] = promptFor(singlePrompt); - }); - - // Implicitly build other things we need from the name. - if (data.name) { - data.packageName = data.name.toLowerCase().split(' ').join('-'); - data.namespace = capCase(data.packageName); - } - - return data; -}; - -/** - * Empties the console. - */ -const clearConsole = async () => { - process.stdout.write('\x1Bc'); -}; - -/** - * Writes the Boilerplate intro. - */ -const writeIntro = async () => { - const figletOpts = { - font: 'ANSI Regular', - width: 74, - whitespaceBreak: true, - verticalLayout: 'fitted', - }; - - const topBar = chalk.dim(`╭${'─'.repeat(76)}╮`); - const bottomBar = chalk.dim(`╰${'─'.repeat(76)}╯`); - const emptyBar = chalk.dim(`│${' '.repeat(76)}│`); - const midBar = chalk.dim(`├${'─'.repeat(76)}┤`); - - // eslint-disable-next-line max-len - const processFiglet = (input) => input.split("\n").filter((line) => line.trim().length > 0).map((line) => `${chalk.dim('│')} ${line.trim().padEnd(74, ' ')}${chalk.dim('│')}`).join("\n"); - const processRedFiglet = (input) => input.map((line) => `${chalk.dim('│')} ${chalk.redBright(line.padEnd(74, ' '))}${chalk.dim('│')}`).join("\n"); - const processLine = (input) => `${chalk.dim('│')} ${input.trim().padEnd(74, ' ')}${chalk.dim('│')}`; - - const infinumLogoRaw = [" ███████ ███████", "██ ██ ██", "██ ██ ██", " ███████ ███████"]; - - const infinumLogo = processRedFiglet(infinumLogoRaw); - const esText = processFiglet(figlet.textSync('Eightshift', figletOpts)); - const devKitText = processFiglet(figlet.textSync('DevKit', figletOpts)); - - // eslint-disable-next-line max-len - console.log([topBar, emptyBar, infinumLogo, emptyBar, esText, emptyBar, devKitText, emptyBar, midBar, emptyBar, processLine('Thank you for using Eightshift DevKit!'), emptyBar, bottomBar, ''].join("\n")); -}; - -module.exports = { - promptFor, - installStep, - promptData, - clearConsole, - writeIntro, -}; diff --git a/setup/create-wp-project/src/basics/files.js b/setup/create-wp-project/src/basics/files.js deleted file mode 100644 index f9d91c531..000000000 --- a/setup/create-wp-project/src/basics/files.js +++ /dev/null @@ -1,77 +0,0 @@ -const replace = require('replace-in-file'); -const path = require('path'); -const { readdir, rename } = require('fs-extra'); - -const fullPath = path.join(process.cwd()); - -/** - * Checks and returns required directory path. - * - * @param {string} requiredFolder Folder where installation must occur. - */ -const installPath = async (requiredFolder = 'themes') => { - const currentPath = path.join(process.cwd()); - const currentDirName = path.basename(currentPath); - - if (currentDirName === requiredFolder) { - return currentPath; - } - - const requiredPath = (currentDirName === 'wp-content') ? - `${currentPath}/${requiredFolder}` : - `${currentPath}/wp-content/${requiredFolder}`; - - return requiredPath; -}; - -/** - * Performs a wide search & replace. - * - * @param {string} pathToFolder - * @param {string} findString - * @param {string} replaceString - */ -const findReplace = async (pathToFolder, findString, replaceString) => { - const regex = new RegExp(findString, 'g'); - const options = { - files: `${pathToFolder}/**/*`, - from: regex, - to: replaceString, - ignore: [ - path.join(`${pathToFolder}/node_modules/**/*`), - path.join(`${pathToFolder}/.git/**/*`), - path.join(`${pathToFolder}/.github/**/*`), - path.join(`${pathToFolder}/vendor/**/*`), - path.join(`${pathToFolder}/packages/**/*`), - path.join(`${pathToFolder}/bin/*.js`), - path.join(`${pathToFolder}/bin/setup/*`), - ], - }; - - if (findString !== replaceString) { - await replace(options); - } -}; - -/** - * Async implementation of reading a directory. - * - * @param {string} dirPath - */ -const readdirAsync = async (dirPath) => new Promise((resolve, reject) => { - readdir(dirPath, (error, result) => { - if (error) { - reject(error); - } else { - resolve(result); - } - }); -}); - -module.exports = { - fullPath, - findReplace, - installPath, - readdirAsync, - rename, -}; diff --git a/setup/create-wp-project/src/basics/index.js b/setup/create-wp-project/src/basics/index.js deleted file mode 100644 index 42a30408b..000000000 --- a/setup/create-wp-project/src/basics/index.js +++ /dev/null @@ -1,15 +0,0 @@ -const console = require('./console'); -const files = require('./files'); -const misc = require('./misc'); -const variables = require('./variables'); -const commandLine = require('./command-line'); -const argumentOperations = require('./argument-operations'); - -module.exports = { - console, - files, - misc, - variables, - commandLine, - argumentOperations, -}; diff --git a/setup/create-wp-project/src/basics/misc.js b/setup/create-wp-project/src/basics/misc.js deleted file mode 100644 index 6f178e072..000000000 --- a/setup/create-wp-project/src/basics/misc.js +++ /dev/null @@ -1,61 +0,0 @@ -const chalk = require('chalk'); - -const log = (msg) => console.log(msg); -const error = (msg) => log(`${chalk.bgRed('Error')}${chalk.red(' - ')}${msg}`); -const label = (msg) => chalk.green(msg); -const variable = (msg) => chalk.cyan(msg); - -const alertBox = (msg, title, type = 'info', config = {}) => { - // If in a test environment, skip the prompt. - if (typeof jest !== 'undefined') { - return `[${type.toUpperCase()}] ${title}: ${msg}`; - } - - let autoTitle = ''; - - const colorText = (input, bold = false) => { - if (type === 'error') { - autoTitle = 'Something went wrong'; - return bold ? chalk.red.bold(input) : chalk.red(input); - } else if (type === 'success') { - autoTitle = 'Success'; - return bold ? chalk.green.bold(input) : chalk.green(input); - } - - autoTitle = 'Info'; - return bold ? chalk.blue.bold(input) : chalk.blue(input); - }; - - const omitFirstLine = config?.omitFirstLine ?? false; - const omitLastLine = config?.omitLastLine ?? false; - - const formattedMsg = msg.split("\n").map((line) => `${colorText('│')}${chalk.reset()} ${line.trim().replace("\n", '')}`); - // eslint-disable-next-line max-len - const formattedTitle = (title ?? autoTitle).length > 0 ? (title ?? autoTitle).split("\n").map((line) => `${colorText('│')}${chalk.reset()} ${colorText(line.trim().replace("\n", ''), true)}`) : []; - - const alertBody = [ - ...formattedTitle, - ...formattedMsg, - ]; - - if (omitFirstLine && !omitLastLine) { - console.log([...alertBody, colorText('╰')].join("\n")); - } else if (!omitFirstLine && omitLastLine) { - console.log([colorText('╭'), ...alertBody].join("\n")); - } else if (omitFirstLine && omitLastLine) { - console.log(alertBody.join("\n")); - } else { - console.log([colorText('╭'), ...alertBody, colorText('╰')].join("\n")); - } -}; - -const capCase = (string) => string.toLowerCase().replace(/\W+/g, '_').split('_').map((item) => item[0].toUpperCase() + item.slice(1)).join('_'); - -module.exports = { - log, - error, - variable, - label, - capCase, - alertBox, -}; diff --git a/setup/create-wp-project/src/basics/variables.js b/setup/create-wp-project/src/basics/variables.js deleted file mode 100644 index 3071b7d6a..000000000 --- a/setup/create-wp-project/src/basics/variables.js +++ /dev/null @@ -1,97 +0,0 @@ -const { join } = require('path'); - -const eightshiftLibsModuleName = join('infinum/eightshift-libs'); -const eightshiftBlocksModuleName = join('infinum/eightshift-blocks'); -const eightshiftBlocksPath = join(`vendor/${eightshiftBlocksModuleName}`); -const eightshiftForbiddenKeywords = [ - '', - '__halt_compiler', - 'abstract', - 'and', - 'array', - 'as', - 'bool', - 'break', - 'callable', - 'case', - 'catch', - 'class', - 'clone', - 'const', - 'continue', - 'declare', - 'default', - 'die', - 'do', - 'echo', - 'else', - 'elseif', - 'empty', - 'enddeclare', - 'endfor', - 'endforeach', - 'endif', - 'endswitch', - 'endwhile', - 'eval', - 'exit', - 'extends', - 'false', - 'final', - 'float', - 'for', - 'foreach', - 'function', - 'global', - 'goto', - 'if', - 'implements', - 'include', - 'include_once', - 'instanceof', - 'insteadof', - 'int', - 'interface', - 'isset', - 'list', - 'namespace', - 'null', - 'new', - 'or', - 'parent', - 'print', - 'private', - 'protected', - 'public', - 'require', - 'require_once', - 'return', - 'self', - 'static', - 'string', - 'switch', - 'throw', - 'trait', - 'true', - 'try', - 'unset', - 'use', - 'var', - 'while', - 'xor', - '__CLASS__', - '__DIR__', - '__FILE__', - '__FUNCTION__', - '__LINE__', - '__METHOD__', - '__NAMESPACE__', - '__TRAIT__', -]; - -module.exports = { - eightshiftLibsModuleName, - eightshiftBlocksModuleName, - eightshiftBlocksPath, - eightshiftForbiddenKeywords, -}; diff --git a/setup/create-wp-project/src/cleanup.js b/setup/create-wp-project/src/cleanup.js deleted file mode 100644 index 77c438162..000000000 --- a/setup/create-wp-project/src/cleanup.js +++ /dev/null @@ -1,14 +0,0 @@ -const del = require('del'); -const { join } = require('path'); - -const cleanup = async (projectPath) => { - - // Delete cloned folder. - await del(join(projectPath, '.git')); - await del(join(projectPath, '.github')); - await del(join(projectPath, '.gitattributes')); -}; - -module.exports = { - cleanup, -}; diff --git a/setup/create-wp-project/src/commands/plugin.js b/setup/create-wp-project/src/commands/plugin.js deleted file mode 100644 index a50c3e802..000000000 --- a/setup/create-wp-project/src/commands/plugin.js +++ /dev/null @@ -1,101 +0,0 @@ -#!/usr/bin/env node -const path = require('path'); - -const { - console: { - clearConsole, - installStep, - writeIntro, - }, - argumentOperations: { - maybePrompt, - }, - commandLine: { - cloneRepoTo, - installNodeDependencies, - installComposerDependencies, - }, - files: { installPath }, - misc: { log }, -} = require('../basics'); -const { searchReplace } = require('../search-replace'); -const { cleanup } = require('../cleanup'); -const { scriptArguments } = require('../arguments'); -const { installModifiedComposerDependencies, installModifiedNodeDependencies } = require('../dependencies'); -const { alertBox } = require('../basics/misc'); -const chalk = require('chalk'); - -exports.command = 'plugin'; -exports.desc = 'Setup a new WordPress plugin. Should be run inside your plugins folder (wp-content/plugins).'; -exports.builder = scriptArguments; - -exports.handler = async (argv) => { - await clearConsole(); - await writeIntro(); - - const promptedInfo = await maybePrompt(scriptArguments, argv); - const requiredPath = await installPath('plugins'); - const projectPath = path.join(requiredPath, promptedInfo.package); - - log(''); - - alertBox("Sit back and relax!\n", 'Setting up your plugin', 'success', { omitLastLine: true }); - - await installStep({ - describe: `Cloning the repository`, - // eslint-disable-next-line max-len - thisHappens: cloneRepoTo('https://github.com/infinum/eightshift-boilerplate-plugin', projectPath, argv.eightshiftBoilerplateBranch ? argv.eightshiftBoilerplateBranch : ''), - }); - - // Install all node packages as is or overwrite frontend-libs - if (argv.eightshiftFrontendLibsBranch) { - await installStep({ - describe: `Installing Node packages`, - thisHappens: installModifiedNodeDependencies(projectPath, argv.eightshiftFrontendLibsBranch), - }); - } else { - await installStep({ - describe: `Installing Node packages`, - thisHappens: installNodeDependencies(projectPath), - }); - } - - await installStep({ - describe: `Replacing info`, - thisHappens: searchReplace(promptedInfo, projectPath), - }); - - // Install all composer packages as is or overwrite libs - if (argv.eightshiftLibsBranch) { - await installStep({ - describe: `Installing Composer packages`, - thisHappens: installModifiedComposerDependencies(projectPath, argv.eightshiftLibsBranch), - }); - } else { - await installStep({ - describe: `Installing Composer packages`, - thisHappens: installComposerDependencies(projectPath), - }); - } - - await installStep({ - describe: `Cleaning up`, - thisHappens: cleanup(projectPath), - }); - - alertBox([ - '', - chalk.bold('Next steps'), - '- Activate the plugin', - chalk.gray(` ${chalk.underline(`wp plugin activate ${promptedInfo.package}`)}`), - '- Initialize the plugin', - chalk.gray(` ${chalk.underline(`cd ${promptedInfo.package}`)}, then ${chalk.underline('wp boilerplate init plugin')}`), - '', - `Check the documentation at ${chalk.underline('eightshift.com')} if you want to learn more, have any questions, or run into any issues.`, - `You can also run ${chalk.gray.underline('wp boilerplate --help')} to see what's possible using our WP CLI commands.`, - '', - 'Have fun!', - ].join("\n"), "\n...done!", 'success', { omitFirstLine: true }); - - process.exit(0); -}; diff --git a/setup/create-wp-project/src/commands/theme.js b/setup/create-wp-project/src/commands/theme.js deleted file mode 100644 index a23b0f1c8..000000000 --- a/setup/create-wp-project/src/commands/theme.js +++ /dev/null @@ -1,137 +0,0 @@ -#!/usr/bin/env node -const path = require('path'); - -const { - console: { - clearConsole, - installStep, - writeIntro, - }, - argumentOperations: { maybePrompt }, - commandLine: { - cloneRepoTo, - checkRequirements, - installNodeDependencies, - installComposerDependencies, - wpThemeActivate, - boilerplateThemeInit, - initReusableHeaderFooter, - }, - files: { installPath }, - misc: { log }, -} = require('../basics'); -const { searchReplace } = require('../search-replace'); -const { replaceVersionNumbers } = require('../replace-version-numbers'); -const { cleanup } = require('../cleanup'); -const { scriptArguments } = require('../arguments'); -const { installModifiedNodeDependencies, installModifiedComposerDependencies } = require('../dependencies'); -const { alertBox } = require('../basics/misc'); -const chalk = require('chalk'); - -exports.command = ['*', 'theme']; -exports.desc = 'Setup a new WordPress theme. Should be run inside your theme folder (wp-content/themes).'; -exports.builder = scriptArguments; - -exports.handler = async (argv) => { - await clearConsole(); - await writeIntro(); - - // Trigger prompts if any of the required arguments was not set - const promptedInfo = await maybePrompt(scriptArguments, argv); - - log(''); - - alertBox("Sit back and relax!\n", 'Setting up theme', 'success', { omitLastLine: true }); - - // Check if you are in the required folder - const requiredPath = await installPath('themes'); - const projectPath = path.join(requiredPath, promptedInfo.package); - const boilerplateRepoUrl = argv.eightshiftBoilerplateRepo ?? 'https://github.com/infinum/eightshift-boilerplate.git'; - const boilerplateRepoBranch = argv.eightshiftBoilerplateBranch ?? ''; - - // Check if all requirements are installed - await installStep({ - describe: `Getting ready`, - thisHappens: checkRequirements(), - }); - - // Clone repo from git with given arguments - await installStep({ - describe: `Cloning the repository`, - thisHappens: cloneRepoTo(boilerplateRepoUrl, projectPath, boilerplateRepoBranch), - }); - - // Install all node packages as is or overwrite frontend-libs - if (argv.eightshiftFrontendLibsBranch) { - await installStep({ - describe: `Installing Node packages`, - thisHappens: installModifiedNodeDependencies(projectPath, argv.eightshiftFrontendLibsBranch), - }); - } else { - await installStep({ - describe: `Installing Node packages`, - thisHappens: installNodeDependencies(projectPath), - }); - } - - // Replace default theme information with the prompted information - await installStep({ - describe: `Replacing theme info`, - thisHappens: searchReplace(promptedInfo, projectPath), - }); - - // Install all composer packages as is or overwrite libs - if (argv.eightshiftLibsBranch) { - await installStep({ - describe: `Installing Composer packages`, - thisHappens: installModifiedComposerDependencies(projectPath, argv.eightshiftLibsBranch), - }); - } else { - await installStep({ - describe: `Installing Composer packages`, - thisHappens: installComposerDependencies(projectPath), - }); - } - - // Remove unused cloned folders and files - await installStep({ - describe: `Cleaning up`, - thisHappens: cleanup(projectPath), - }); - - // Reset version numbers to 1.0.0 - await installStep({ - describe: `Replacing version numbers`, - thisHappens: replaceVersionNumbers(projectPath, promptedInfo.projectName), - }); - - // Activate theme. - await installStep({ - describe: `Activating theme`, - thisHappens: wpThemeActivate(promptedInfo.package), - }); - - // Initialize theme. - await installStep({ - describe: `Initializing theme`, - thisHappens: boilerplateThemeInit(promptedInfo.package), - }); - - // Initialize reusable header/footer. - await installStep({ - describe: `Setting up header and footer`, - thisHappens: initReusableHeaderFooter(), - }); - - // Show success message and exit successfully. - alertBox([ - '', - 'Theme has been set up, activated and is ready to use.', - '', - `Check the documentation at ${chalk.underline('eightshift.com')} if you want to learn more, have any questions, or run into any issues.`, - '', - 'Have fun!', - ].join("\n"), "\n...done!", 'success', { omitFirstLine: true }); - - process.exit(0); -}; diff --git a/setup/create-wp-project/src/dependencies.js b/setup/create-wp-project/src/dependencies.js deleted file mode 100644 index e1264c973..000000000 --- a/setup/create-wp-project/src/dependencies.js +++ /dev/null @@ -1,44 +0,0 @@ -const { installNodePackage, installComposerPackage } = require('./basics/command-line'); - -const eightshiftLibsName = ''; -const eightshiftLibsRepo = 'infinum/eightshift-libs'; -const eightshiftFrontendLibsRepo = 'infinum/eightshift-frontend-libs'; -const eightshiftFrontendLibsRepoUrl = 'https://github.com/infinum/eightshift-frontend-libs'; - -/** - * Check if we need to modify dependencies (if user passed an alternative branch for any dependency - * as argument) - * - * @param {object} argv List of CLI arguments. - */ -const areDependenciesModified = (argv) => { - return argv.eightshiftLibsBranch || argv.eightshiftFrontendLibsBranch; -}; - -/** - * Installs node packages and modifies the frontendLibs to a specific branch. - * - * @param {string} projectPath Path to the project. - * @param {array} branch Name of the branch to pull from. - */ -const installModifiedNodeDependencies = async (projectPath, branch) => { - return installNodePackage(projectPath, `${eightshiftFrontendLibsRepoUrl}#${branch} --save`); -}; - -/** - * Installs composer packages and modifies the libs to a specific branch. - * - * @param {string} projectPath Path to the project. - * @param {array} branch Name of the branch to pull from. - */ -const installModifiedComposerDependencies = async (projectPath, branch) => { - return installComposerPackage(projectPath, `${eightshiftLibsRepo}:dev-${branch}`); -}; - -module.exports = { - eightshiftLibsName, - eightshiftFrontendLibsRepo, - areDependenciesModified, - installModifiedNodeDependencies, - installModifiedComposerDependencies, -}; diff --git a/setup/create-wp-project/src/replace-version-numbers.js b/setup/create-wp-project/src/replace-version-numbers.js deleted file mode 100644 index 15031eb5c..000000000 --- a/setup/create-wp-project/src/replace-version-numbers.js +++ /dev/null @@ -1,73 +0,0 @@ - -const replace = require('replace-in-file'); -const path = require('path'); -const fs = require('fs-extra'); - -const replaceVersionNumbers = async (projectPath, themeName) => { - const styleCssPath = path.join(projectPath, 'style.css'); - const functionsPhpPath = path.join(projectPath, 'functions.php'); - const packageLockPath = path.join(projectPath, 'package-lock.json'); - const packageJsonPath = path.join(projectPath, 'package.json'); - const changelogPath = path.join(projectPath, 'CHANGELOG.md'); - - // style.css - if (await fs.pathExists(styleCssPath)) { - await replace({ - files: styleCssPath, - from: /^Version: .*$/m, - to: 'Version: 1.0.0', - }); - } - - // functions.php - if (await fs.pathExists(functionsPhpPath)) { - await replace({ - files: functionsPhpPath, - from: /^ \* Version: .*$/m, - to: ' * Version: 1.0.0', - }); - } - - // package-lock.json - if (await fs.pathExists(packageLockPath)) { - await replace({ - files: packageLockPath, - from: /^\t"version": ".*",$/m, - to: `\t"version": "1.0.0",\n`, - }); - } - - // package.json - if (await fs.pathExists(packageJsonPath)) { - await replace({ - files: packageJsonPath, - from: /^\t"version": ".*",$/m, - to: `\t"version": "1.0.0",\n`, - }); - } - - // CHANGELOG.md - if (await fs.pathExists(changelogPath)) { - const newChangelog = [ - `# Changelog for the ${themeName}`, - 'All notable changes to this project will be documented in this file.\n', - 'This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).\n', - '## [Unreleased] - TBD\n', - '### Added\n', - '### Changed\n', - '### Deprecated\n', - '### Removed\n', - '### Fixed\n', - '## [1.0.0] - \n', - 'Initial tagged release.\n', - '[Unreleased]: https://github.com/infinum/eightshift-boilerplate/compare/master...HEAD\n\n', - '[1.0.0]: https://github.com/infinum/eightshift-boilerplate/compare/INIT_COMMIT...1.0.0`', - ].join('\n'); - - await fs.writeFile(changelogPath, newChangelog, 'utf-8'); - } -}; - -module.exports = { - replaceVersionNumbers, -}; diff --git a/setup/create-wp-project/src/search-replace.js b/setup/create-wp-project/src/search-replace.js deleted file mode 100644 index 4e827491e..000000000 --- a/setup/create-wp-project/src/search-replace.js +++ /dev/null @@ -1,107 +0,0 @@ - -const replace = require('replace-in-file'); -const path = require('path'); -const fs = require('fs-extra'); - -const { - files: { - findReplace, - }, -} = require('eightshift-scripts'); - -const defaultValues = { - package: 'eightshift-boilerplate', - namespace: 'EightshiftBoilerplate', - url: 'dev.boilerplate.com', -}; - -const searchReplace = async(data, projectPath) => { - const pathFunctionsPhp = path.join(projectPath, 'functions.php'); - const pathStyleCss = path.join(projectPath, 'style.css'); - const pathWebpackConfigJs = path.join(projectPath, 'webpack.config.js'); - const pathEntryFile = path.join(projectPath, `${defaultValues.package}.php`); - - // functions.php. - if (data.projectName && await fs.pathExists(pathFunctionsPhp)) { - await replace({ - files: pathFunctionsPhp, - from: /^ \* Theme Name:.*$/m, - to: ` * Theme Name: ${data.projectName}`, - }); - } - - if (data.description && await fs.pathExists(pathFunctionsPhp)) { - await replace({ - files: pathFunctionsPhp, - from: /^ \* Description:.*$/m, - to: ` * Description: ${data.description}`, - }); - } - - // style.css - if (data.projectName && await fs.pathExists(pathStyleCss)) { - await replace({ - files: pathStyleCss, - from: /^Theme Name: .*$/m, - to: `Theme Name: ${data.projectName}`, - }); - await replace({ - files: pathStyleCss, - from: /^Plugin Name: .*$/m, - to: `Plugin Name: ${data.projectName}`, - }); - } - - if (data.description && await fs.pathExists(pathStyleCss)) { - await replace({ - files: pathStyleCss, - from: /^Description: .*$/m, - to: `Description: ${data.description}`, - }); - } - - // eightshift-boilerplate.php - if (data.projectName && await fs.pathExists(pathEntryFile)) { - await replace({ - files: pathEntryFile, - from: /^ \* Plugin Name:.*$/m, - to: ` * Plugin Name: ${data.projectName}`, - }); - } - if (data.description && await fs.pathExists(pathEntryFile)) { - await replace({ - files: pathEntryFile, - from: /^ \* Description:.*$/m, - to: ` * Description: ${data.description}`, - }); - } - - // Package - if (data.package) { - await findReplace(projectPath, defaultValues.package, data.package); - } - - // Namespace - if (data.namespace) { - await findReplace(projectPath, defaultValues.namespace, data.namespace); - } - - // webpack.config.js - BrowserSync proxy url. - if (data.url && await fs.pathExists(pathWebpackConfigJs)) { - await replace({ - files: pathWebpackConfigJs, - from: new RegExp(defaultValues.url, 'g'), - to: data.url, - }); - } - - // Rename plugin entrypoint (if setting up a plugin). - if (await fs.pathExists(pathEntryFile)) { - fs.rename(pathEntryFile, path.join(projectPath, `${data.package}.php`)); - } -}; - -module.exports = { - searchReplace, - defaultValues, -}; diff --git a/tests/data/block-attributes.js b/tests/data/block-attributes.js deleted file mode 100644 index 713bbe433..000000000 --- a/tests/data/block-attributes.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Define all expected block attributes (after taking into consideration their dependencies) - * you wish to test here. - */ -export const blockAttributes = { - carousel: { - expected:[ - 'wrapperUse', - 'carouselAllowedBlocks' - ], - notExpected: [ - 'headingContent', - ] - }, - 'mock-blockquote': { - expected:[ - 'mockBlockquoteBlockquoteBlockquoteHeadingContent', - 'mockBlockquoteBlockquoteBlockquoteIntroMockTypographyUse', - 'mockBlockquoteBlockquoteBlockquoteParagraphMockTypographyContent' - ], - notExpected: [ - 'headingContent', - 'cardHeadingContent', - ] - }, -}; diff --git a/tests/data/props-output.js b/tests/data/props-output.js deleted file mode 100644 index fdc3f2cbe..000000000 --- a/tests/data/props-output.js +++ /dev/null @@ -1,148 +0,0 @@ -/** - * Define what props should or should not return on each level of a dependency tree, using the newName to identify - * dependencies. - * - * Ideally all blocks from the project should have a top level entry here with - * their dependency tree and `expected` / `notExpected` attributes and `prefix` defined. - */ -export const propsOutput = { - // Mock blockquote block - 'mock-blockquote': { - components: { - blockquote: { - expected: [ - 'mockBlockquoteBlockquoteBlockquoteImageUrl', - 'mockBlockquoteBlockquoteBlockquoteHeadingContent', - ], - notExpected: [ - 'blockquoteCardImageUrl', - ], - prefix: 'mockBlockquoteBlockquote', - subComponents: { - blockquote: { - expected: [ - 'mockBlockquoteBlockquoteBlockquoteImageUrl', - 'mockBlockquoteBlockquoteBlockquoteHeadingContent', - ], - notExpected: [ - 'blockquoteCardImageUrl', - ], - prefix: 'blockquoteBlockquote', - components: { - image: { - expected: [ - 'mockBlockquoteBlockquoteBlockquoteImageUrl', - ], - notExpected: [ - 'blockquoteBlockquoteHeadingContent', - 'blockquoteBlockquoteIntroContent', - ], - prefix: 'blockquoteBlockquoteImage', - }, - heading: { - expected: [ - 'mockBlockquoteBlockquoteBlockquoteHeadingContent', - ], - notExpected: [ - 'blockquoteBlockquoteImageUrl', - 'blockquoteBlockquoteIntroContent', - ], - prefix: 'blockquoteBlockquoteHeading', - }, - intro: { - expected: [ - 'mockBlockquoteBlockquoteBlockquoteIntroMockTypographyContent', - ], - notExpected: [ - 'blockquoteBlockquoteImageUrl', - 'blockquoteBlockquoteIntroContent', - 'blockquoteBlockquoteHeadingContent', - ], - prefix: 'blockquoteBlockquoteIntro', - }, - } - } - } - } - } - }, - // Card block. - card: { - components: { - card: { - expected: [ - 'cardCardAlign', - 'cardCardHeadingContent', - 'cardCardImageUrl', - 'cardCardButtonContent', - ], - notExpected: [ - 'blockquoteCardImageUrl' - ], - prefix: "cardCard", - components: { - image: { - expected: [ - 'cardCardImageUrl', - ], - notExpected: [ - 'blockquoteCardImageUrl', - 'cardCardAlign', - 'cardHeadingContent', - 'cardButtonContent', - ], - prefix: 'cardCardImage', - }, - intro: { - expected: [ - 'cardCardIntroContent', - ], - notExpected: [ - 'blockquoteCardImageUrl', - 'cardCardAlign', - 'cardHeadingContent', - 'cardButtonContent', - ], - prefix: 'cardCardIntro', - }, - heading: { - expected: [ - 'cardCardHeadingContent', - ], - notExpected: [ - 'blockquoteCardImageUrl', - 'cardCardAlign', - 'cardIntroContent', - 'cardButtonContent', - ], - prefix: 'cardCardHeading', - }, - paragraph: { - expected: [ - 'cardCardParagraphContent', - ], - notExpected: [ - 'blockquoteCardImageUrl', - 'cardCardAlign', - 'cardIntroContent', - 'cardButtonContent', - ], - prefix: 'cardCardParagraph', - }, - button: { - expected: [ - 'cardCardButtonContent', - ], - notExpected: [ - 'blockquoteCardImageUrl', - 'cardCardAlign', - 'cardIntroContent', - 'cardParagraphContent', - ], - prefix: 'cardCardButton', - } - } - } - } - } -}; diff --git a/tests/data/src/Blocks/components/mock-attribute-override/manifest.json b/tests/data/src/Blocks/components/mock-attribute-override/manifest.json deleted file mode 100644 index 279c28d82..000000000 --- a/tests/data/src/Blocks/components/mock-attribute-override/manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "componentName": "mock-attribute-override", - "title": "Mock attribute override", - "description" : "Component used for testing overriding component attributes.", - "category": "eightshift", - "icon": { - "src": "es-card-review" - }, - "attributes": { - "mockParagraphMockTypographyContent": { - "type": "string", - "default": "This is lvl 3 override" - } - }, - "components": { - "mockParagraph": "mock-paragraph" - } -} diff --git a/tests/data/src/Blocks/components/mock-blockquote/manifest.json b/tests/data/src/Blocks/components/mock-blockquote/manifest.json deleted file mode 100644 index 06a5ecbb2..000000000 --- a/tests/data/src/Blocks/components/mock-blockquote/manifest.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "componentName": "mock-blockquote", - "title": "mock blockquote", - "componentClass": "blockquote", - "components": { - "blockquote": "mock-card" - } -} diff --git a/tests/data/src/Blocks/components/mock-card/manifest.json b/tests/data/src/Blocks/components/mock-card/manifest.json deleted file mode 100644 index ab8761a12..000000000 --- a/tests/data/src/Blocks/components/mock-card/manifest.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "componentName": "mock-card", - "title": "Mock Card", - "componentClass": "mock-card", - "example": { - "attributes": { - "introContent": "This is intro", - "introSize": "small", - "introColor": "light" - } - }, - "attributes": { - "cardAlign": { - "type": "string", - "default": "left" - }, - "cardMediaInset": { - "type": "integer", - "default": 0 - }, - "cardContentInset": { - "type": "integer", - "default": 0 - }, - "cardSyncInsets": { - "type": "boolean", - "default": true - }, - "cardIntroBelow": { - "type": "boolean", - "default": false - }, - "cardShowBorder": { - "type": "boolean", - "default": false - }, - "introUse": { - "type": "boolean", - "default": false - }, - "buttonUse": { - "type": "boolean", - "default": false - }, - "chevronUse": { - "type": "boolean", - "default": false - }, - "imageUse": { - "type": "boolean", - "default": false - }, - "iconUse": { - "type": "boolean", - "default": false - }, - "iconSize": { - "type": "string", - "default": "6" - }, - "introUppercase": { - "type": "boolean", - "default": true - }, - "headingSize": { - "type": "string", - "default": "36-bold" - }, - "introSize": { - "type": "string", - "default": "14-regular" - }, - "paragraphSize": { - "type": "string", - "default": "16-regular" - } - }, - "components": { - "image": "image", - "heading": "heading", - "intro": "mock-paragraph", - "paragraph": "mock-paragraph", - "icon": "icon", - "button": "button" - } -} diff --git a/tests/data/src/Blocks/components/mock-no-override/manifest.json b/tests/data/src/Blocks/components/mock-no-override/manifest.json deleted file mode 100644 index e191ca792..000000000 --- a/tests/data/src/Blocks/components/mock-no-override/manifest.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "componentName": "mock-no-override", - "title": "Mock no override", - "description" : "Component used in the overriding attributes test. This one doesn't override any lvl but the block extending this component does.", - "category": "eightshift", - "icon": { - "src": "es-card-review" - }, - "components": { - "mockParagraph": "mock-paragraph" - } -} diff --git a/tests/data/src/Blocks/components/mock-paragraph/manifest.json b/tests/data/src/Blocks/components/mock-paragraph/manifest.json deleted file mode 100644 index 0ff0d17d4..000000000 --- a/tests/data/src/Blocks/components/mock-paragraph/manifest.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "componentName": "mock-paragraph", - "title": "Mock Paragraph", - "componentClass": "mock-paragraph", - "example": { - "attributes": { - "mockTypographyContent": "This is paragraph", - "mockParagraphTypographyLevel": 2, - "mockParagraphTypographyTag": "p", - "mockParagraphTypographySize": "16-regular", - "mockParagraphTypographyColor": "black", - "mockParagraphTypographyUppercase": false, - "mockParagraphTypographyUse": true - } - }, - "attributes": { - "mockParagraphMockTypographyContent": { - "type": "string", - "default": "This is lvl 2 override" - } - }, - "components": { - "mockParagraph": "mock-typography" - } -} diff --git a/tests/data/src/Blocks/components/mock-typography/manifest.json b/tests/data/src/Blocks/components/mock-typography/manifest.json deleted file mode 100644 index c7bf4b0a1..000000000 --- a/tests/data/src/Blocks/components/mock-typography/manifest.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "componentName": "mock-typography", - "title": "Mock Typography", - "componentClass": "mock-typography", - "example": { - "attributes": { - "typographyContent": "This is typography", - "typographyLevel": 2, - "typographyTag": "p", - "typographySize": "16-regular", - "typographyColor": "black", - "typographyUppercase": false, - "typographyUse": true - } - }, - "attributes": { - "mockTypographyContent": { - "type": "string" - }, - "mockTypographyTag": { - "type": "string", - "default": "p" - }, - "mockTypographyLevel": { - "type": "integer", - "default": 2 - }, - "mockTypographySize": { - "type": "string", - "default": "16-regular" - }, - "mockTypographyColor": { - "type": "string" - }, - "mockTypographyUppercase": { - "type": "boolean", - "default": false - }, - "mockTypographyUse": { - "type": "boolean", - "default": true - }, - "mockTypographyHighlightColor": { - "type": "string", - "default": "" - } - } -} diff --git a/tests/data/src/Blocks/custom/mock-attribute-override-skip/manifest.json b/tests/data/src/Blocks/custom/mock-attribute-override-skip/manifest.json deleted file mode 100644 index 38b0b2b7c..000000000 --- a/tests/data/src/Blocks/custom/mock-attribute-override-skip/manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "blockName": "mock-attribute-override-skip", - "title": "Mock attribute override skip", - "description" : "Block used for testing overriding component attributes when override doesnt happen in the adjacent lvl.", - "category": "eightshift", - "icon": { - "src": "es-card-review" - }, - "attributes": { - "mockNoOverrideMockParagraphMockTypographyContent": { - "type": "string", - "default": "This is lvl 4 override" - } - }, - "components": { - "mockNoOverride": "mock-no-override" - } -} diff --git a/tests/data/src/Blocks/custom/mock-attribute-override/manifest.json b/tests/data/src/Blocks/custom/mock-attribute-override/manifest.json deleted file mode 100644 index 4b8315341..000000000 --- a/tests/data/src/Blocks/custom/mock-attribute-override/manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "blockName": "mock-attribute-override", - "title": "Mock attribute override", - "description" : "Block used for testing overriding component attributes.", - "category": "eightshift", - "icon": { - "src": "es-card-review" - }, - "attributes": { - "mockAttributeOverrideMockParagraphMockTypographyContent": { - "type": "string", - "default": "This is lvl 4 override" - } - }, - "components": { - "mockAttributeOverride": "mock-attribute-override" - } -} diff --git a/tests/data/src/Blocks/custom/mock-blockquote/manifest.json b/tests/data/src/Blocks/custom/mock-blockquote/manifest.json deleted file mode 100644 index bf6f6f35a..000000000 --- a/tests/data/src/Blocks/custom/mock-blockquote/manifest.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "blockName": "mock-blockquote", - "title": "Mock blockquote", - "description" : "Blockquote block with custom settings.", - "category": "eightshift", - "icon": { - "src": "es-card-review" - }, - "keywords": [ - "blockquote", - "quote" - ], - "components": { - "blockquote": "mock-blockquote" - } -} diff --git a/tests/helpers/blocks.js b/tests/helpers/blocks.js deleted file mode 100644 index 999e3f3ed..000000000 --- a/tests/helpers/blocks.js +++ /dev/null @@ -1,139 +0,0 @@ -import Path from 'path'; -import { readdirSync, readFileSync } from "fs"; -import { props } from '../../scripts/editor/attributes'; - -const pathToBlocksFolder = Path.resolve(__dirname, '..', '..', 'blocks', 'init', 'src', 'Blocks'); -const pathToComponents = Path.resolve(pathToBlocksFolder, 'components'); -const pathToBlocks = Path.resolve(pathToBlocksFolder, 'custom'); - -const pathToMockBlocksFolder = Path.resolve(__dirname, '..', 'data', 'src', 'Blocks'); -const pathToMockComponents = Path.resolve(pathToMockBlocksFolder, 'components'); -const pathToMockBlocks = Path.resolve(pathToMockBlocksFolder, 'custom'); - -/** - * Returns all manifests from directories inside `dir`. - * - * @param {string} dir Full path to dir in which we're looking for other - * dirs (components / blocks) which have manifest.json inside. - * Example: 'blocks/init/src/Blocks/components' - * @returns {array} Array of manifest.json contents - */ -const getAllManifestsFromDir = (dir) => { - const manifestDirs = readdirSync(dir).filter((item) => !item.startsWith('.')); - - return manifestDirs.map((manifestDir) => { - const manifestPath = Path.resolve(dir, manifestDir, 'manifest.json'); - return JSON.parse(readFileSync(manifestPath)); - }); -} - -/** - * Get all components, both the mock ones specifically for tests and the actual libs blocks. - * - * @return {array} - */ -export const getAllComponentManifests = () => [ - ...getAllManifestsFromDir(pathToComponents), - ...getAllManifestsFromDir(pathToMockComponents) -]; - -/** - * Get all components, both the mock ones specifically for tests and the actual libs blocks. - * - * @return {array} - */ -export const getAllBlockManifests = () => [ - ...getAllManifestsFromDir(pathToBlocks), - ...getAllManifestsFromDir(pathToMockBlocks) -]; - -const getManifest = (path, name) => { - const manifestPath = Path.resolve(path, name, 'manifest.json'); - return JSON.parse(readFileSync(manifestPath)); -} - -export const getComponentManifest = (componentName) => getManifest(pathToComponents, componentName); -export const getSettingsBlock = (blockName) => getManifest(pathToBlocks, blockName); -export const getMockComponentManifest = (componentName) => getManifest(pathToMockComponents, componentName); -export const getMockBlockManifest = (blockName) => getManifest(pathToMockBlocks, blockName); - -/** - * Returns an object composed of all component dependencies (if they exist) if the following format: - * { - * newName: realName, - * ... - * } - * - * @param {array} componentManifests Array of all component manifests - * @param {string} componentName Component name for which we want to get dependency components - * - * @return {object} - */ -export const getComponentDependencies = (componentManifests, componentName) => { - let components = {}; - - for (const componentManifest of componentManifests) { - if (componentManifest.componentName === componentName && componentManifest.components) { - components = componentManifest.components; - break; - } - } - - return components; -} - -/** - * Returns an object composed of all component dependencies (if they exist) if the following format: - * { - * newName: realName - * ... - * } - * - * @param {array} blockManifests Array of all block manifests - * @param {string} blockName Block name for which we want to get dependency components - * - * @return {object} - */ -export const getBlockDependencies = (blockManifests, blockName) => { - let components = {}; - - for (const blockManifest of blockManifests) { - if (blockManifest.blockName === blockName && blockManifest.components) { - components = blockManifest.components; - break; - } - } - - return components; -} - -/** - * Recursively builds props for a block and all it's sub dependencies. - * - * @return {array} - */ -export const recursiveBuildProps = (attributes, componentManifests, realName, newName) => { - - // Output props for all components. - let propsArray = []; - const newComponentAttributes = props(newName, attributes); - - const componentOutput = { - realName, - newName, - attributes: newComponentAttributes, - subComponents: [], - }; - - // Check if this component has any sub-components and recursively call this function. - const components = getComponentDependencies(componentManifests, newName); - for (const subNewName of Object.keys(components)) { - const subRealName = components[subNewName]; - componentOutput.subComponents = [ - ...componentOutput.subComponents, - ...recursiveBuildProps(newComponentAttributes, componentManifests, subRealName, subNewName) - ]; - } - - return [...propsArray, componentOutput]; -} diff --git a/tests/integration/create-wp-project/create-wp-project-plugin.test.js b/tests/integration/create-wp-project/create-wp-project-plugin.test.js deleted file mode 100644 index f26b5811c..000000000 --- a/tests/integration/create-wp-project/create-wp-project-plugin.test.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Integration test for testing the create-wp-project script. - * - * @group integration - */ -import { exec } from 'promisify-child-process'; -import { ensureDir } from 'fs-extra'; -const del = require('del'); - -const { log } = console; -const timeout = 600000; // in ms -const testingFolder = './temp-plugin'; - -beforeEach(async () => { - await del(testingFolder); - await ensureDir(testingFolder); -}, timeout); - -afterEach(async () => { - await del(testingFolder); -}, timeout); - -it('tests create-wp-project script (npx version) - creates a plugin', async () => { - - // When this runs on Travis, make sure to override boilerplate's frontend-libs version - // with the Pull Request branch. - const overrideBranch = process.env.TRAVIS_PULL_REQUEST_BRANCH ? ` --eightshiftFrontendLibsBranch="${process.env.TRAVIS_PULL_REQUEST_BRANCH}"` : ''; - - const command = `npx create-wp-project@latest plugin --projectName="Test plugin" --url="eightshift.local" --description="This is a description for a plugin" --noSummary ${overrideBranch}`; - log('Running command: ', command); - const { err } = await exec(`cd ${testingFolder} && ${command}`); - - expect(err).toBeFalsy(); -}, timeout); diff --git a/tests/integration/create-wp-project/create-wp-project-theme.test.js b/tests/integration/create-wp-project/create-wp-project-theme.test.js deleted file mode 100644 index 53d4eb7a8..000000000 --- a/tests/integration/create-wp-project/create-wp-project-theme.test.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Integration test for testing the create-wp-project script. - * - * @group integration - */ -import { exec } from 'promisify-child-process'; -import { ensureDir } from 'fs-extra'; -const del = require('del'); - -const { log } = console; -const timeout = 360000; // in ms -const testingFolder = './temp-theme'; - -beforeEach(async () => { - await del(testingFolder); - await ensureDir(testingFolder); -}, timeout); - -afterEach(async () => { - await del(testingFolder); -}, timeout); - -it('tests create-wp-project script (npx version) - creates a theme', async() => { - - // When this runs on Travis, make sure to override boilerplate's frontend-libs version - // with the Pull Request branch. - const overrideBranch = process.env.TRAVIS_PULL_REQUEST_BRANCH ? ` --eightshiftFrontendLibsBranch="${process.env.TRAVIS_PULL_REQUEST_BRANCH}"` : ''; - - const command = `npx create-wp-project@latest --projectName="Test theme" --url="eightshift.local" --description="This is a description for a theme" --noSummary ${overrideBranch}`; - log('Running command: ', command); - const { err } = await exec(`cd ${testingFolder} && ${command}`); - - expect(err).toBeFalsy(); -}, timeout); diff --git a/tests/setup-global.js b/tests/setup-global.js deleted file mode 100644 index b535f6a2c..000000000 --- a/tests/setup-global.js +++ /dev/null @@ -1 +0,0 @@ -import 'regenerator-runtime/runtime'; diff --git a/tests/unit/blocks/block-registration.test.js b/tests/unit/blocks/block-registration.test.js deleted file mode 100644 index 7d9870537..000000000 --- a/tests/unit/blocks/block-registration.test.js +++ /dev/null @@ -1,267 +0,0 @@ -/** - * @jest-environment jsdom - */ -import { getAttributes } from '../../../scripts/editor/registration'; -import wrapperManifest from '../../../blocks/init/src/Blocks/wrapper/manifest.json'; -import globalManifest from '../../../blocks/init/src/Blocks/manifest.json'; -import { blockAttributes } from '../../data/block-attributes'; -import { expect } from '@jest/globals'; -import { - getAllComponentManifests, - getAllBlockManifests, - getComponentDependencies, - recursiveBuildProps, - getBlockDependencies, - getComponentManifest, - getSettingsBlock, - getMockComponentManifest, - getMockBlockManifest, -} from '../../helpers/blocks'; -import { propsOutput } from '../../data/props-output'; - -/** - * Returns the name of the component from builtProps. - * - * @param {object} builtProps Built props for a component - * - * @returns {string} - */ -const debugName = (builtProps) => { - return `"${builtProps.realName}" (newName: "${builtProps.newName || builtProps.realName}") component`; -} - -/** - * Asserts that built props match the expected output. - * - * @param {object} expectedProps propsOutput object for specific component - * @param {object} builtProps Props built for this object. - */ -const recursiveAssertProps = (expectedProps, builtProps, isBlock = false) => { - - // Some sanity check - try { - expect(builtProps).toHaveProperty('attributes'); - } catch(e) { - throw Error(`Missing attributes key in built props for: ${debugName(builtProps)}`); - } - - try { - expect(typeof builtProps.attributes).toBe('object'); - } catch(e) { - throw Error(`Attributes key found but is not an array in built props for: ${debugName(builtProps)}`); - } - - // Check expected - if (!isBlock || expectedProps.expected) { - for (const expected of expectedProps.expected) { - try { - expect(builtProps.attributes).toHaveProperty(expected); - } catch(e) { - throw Error(`Missing expected property in built props for: ${debugName(builtProps)}`); - } - } - } - - // Check not expected - if (!isBlock || expectedProps.notExpected) { - for (const notExpected of expectedProps.notExpected) { - try { - expect(builtProps.attributes).not.toHaveProperty(notExpected); - } catch(e) { - throw Error(`Found not-expected property in built props for: ${debugName(builtProps)}`); - } - } - } - - // Check prefix (but only if expected) - if (!isBlock || expectedProps.prefix) { - try { - expect(builtProps.attributes).toHaveProperty('prefix'); - } catch(e) { - throw Error(`Missing "prefix" key in built props for ${debugName(builtProps)}`); - } - - try { - expect(builtProps.attributes.prefix).toEqual(expectedProps.prefix); - } catch(e) { - throw Error(`Prefix key not correct when sending props to ${debugName(builtProps)}`); - } - } - - // Repeat if expected has subComponents - if (expectedProps.components && Object.keys(expectedProps.components).length > 0) { - for (const componentKey of Object.keys(expectedProps.components)) { - - // Expect built props has subComponents - try { - expect(builtProps).toHaveProperty('subComponents'); - } catch(e) { - throw Error(`Missing "subComponents" key in built props for ${debugName(builtProps)}. Expecting one because this has subComponents defined in props-output.js`); - } - - try { - expect(builtProps.subComponents).not.toEqual([]); - } catch(e) { - throw Error(`"subComponents" key in built props empty for ${debugName(builtProps)}.`); - } - - // Find the correct subComponent - const subComponent = builtProps.subComponents.filter((subComponent) => { - const relevantName = subComponent.newName ? subComponent.newName : subComponent.realName; - return relevantName === componentKey - }); - - // Expect to find exactly 1 sub component - try { - expect(subComponent).toHaveLength(1); - } catch(e) { - throw Error(`Expected subComponent not found in built props for ${debugName(builtProps)}.`); - } - - // Repeat for all subComponents - recursiveAssertProps(expectedProps.components[componentKey], subComponent[0]); - } - } -} - -/** - * Unit tests for block registration. All of the tests below are built so they run through the entire block / component tree - * defined in blocks/init/src/Blocks (blocks / components available in boilerplate) - * as well as tests/data/src/Blocks (blocks / components used for testing) - * - * @group unit - */ -it('tests block registration properly inherits all component attributes', () => { - - const componentManifests = getAllComponentManifests(); - const blockManifests = getAllBlockManifests(); - - // Test all block manifests. - for (const blockManifest of blockManifests) { - const blockName = blockManifest.blockName; - const attributeNames = Object.keys(getAttributes(globalManifest, wrapperManifest, componentManifests, blockManifest)); - - // Only test blocks which expected / not expected attributes defined. - if (!blockAttributes[blockName]) { - continue; - } - - // Make sure the block contains all expected attributes. - if (blockAttributes[blockName].expected) { - try { - expect(attributeNames).toEqual(expect.arrayContaining(blockAttributes[blockName].expected)); - } catch(e) { - throw Error(`Block ${blockName} does not contain all expected attributes`); - } - } - - // Make sure the block does not contain nonExpected attributes. - if (blockAttributes[blockName].notExpected) { - for (const notExpected of blockAttributes[blockName].notExpected) { - try { - expect(attributeNames).not.toEqual(expect.arrayContaining([notExpected])); - } catch(e) { - throw Error(`Block ${blockName} contains some non-expected attributes`); - } - } - } - } -}); - -/** - * Unit tests for prop passing. All of the tests below are built so they run through the entire block / component tree - * defined in blocks/init/src/Blocks (blocks / components available in boilerplate) - * as well as tests/data/src/Blocks (blocks / components used for testing) - * - * @group unit - */ -it('tests that props helper builds the attributes / prefix correctly for all blocks', () => { - const componentManifests = getAllComponentManifests(); - const blockManifests = getAllBlockManifests(); - - // Test all block manifests. - for (const blockManifest of blockManifests) { - const attributes = getAttributes(globalManifest, wrapperManifest, componentManifests, blockManifest); - - // Build props for the current component. - let props = []; - const blockOutput = { - attributes, - realName: blockManifest.blockName, - newName: '', - subComponents: [] - }; - - const components = getBlockDependencies(blockManifests, blockManifest.blockName); - for (const newName of Object.keys(components)) { - const realName = components[newName]; - blockOutput.subComponents = [...blockOutput.subComponents, ...recursiveBuildProps(attributes, componentManifests, realName, newName)]; - } - - props = [...props, blockOutput]; - - for (let blockProps of props) { - - // Only run on on blocks we manually defined props output for. - if (!propsOutput[blockProps.realName]) { - continue - } - - const blockExpectedProps = propsOutput[blockProps.realName]; - - recursiveAssertProps(blockExpectedProps, blockProps, true); - } - } -}); - -/** - * Unit tests for attribute overriding in parent blocks. Each block / component should be able - * to override its child attributes. - * - * @group unit - */ -it('tests block / component attribute generation and overriding attributes in parent component / blocks', () => { - const componentManifests = getAllComponentManifests(); - - // Test bottom level, mock paragraph extending mock typography - const lvl2Manifest = getMockComponentManifest('mock-paragraph'); - const lvl2Attributes = getAttributes(globalManifest, wrapperManifest, componentManifests, lvl2Manifest); - - expect(lvl2Attributes).toHaveProperty('mockParagraphMockTypographyContent'); - expect(lvl2Attributes.mockParagraphMockTypographyContent).toHaveProperty('default'); - expect(lvl2Attributes.mockParagraphMockTypographyContent.default).toBe('This is lvl 2 override'); - - // Test level 3: component overriding attributes 1 level below it. - const lvl3Manifest = getMockComponentManifest('mock-attribute-override'); - const lvl3Attributes = getAttributes(globalManifest, wrapperManifest, componentManifests, lvl3Manifest); - - expect(lvl3Attributes).toHaveProperty('mockAttributeOverrideMockParagraphMockTypographyContent'); - expect(lvl3Attributes.mockAttributeOverrideMockParagraphMockTypographyContent).toHaveProperty('default'); - expect(lvl3Attributes.mockAttributeOverrideMockParagraphMockTypographyContent.default).toBe('This is lvl 3 override'); - - // Test level 4: component overriding attributes 1 level below it where attribute has already been overridden. - const lvl4Manifest = getMockBlockManifest('mock-attribute-override'); - const lvl4Attributes = getAttributes(globalManifest, wrapperManifest, componentManifests, lvl4Manifest); - expect(lvl4Attributes).toHaveProperty('mockAttributeOverrideMockParagraphMockTypographyContent'); - expect(lvl4Attributes.mockAttributeOverrideMockParagraphMockTypographyContent).toHaveProperty('default'); - expect(lvl4Attributes.mockAttributeOverrideMockParagraphMockTypographyContent.default).toBe('This is lvl 4 override'); -}); - -it('tests block / component attribute overriding when overriding happens on top and bottom lvl, but not in the middle component', () => { - const componentManifests = getAllComponentManifests(); - - // Test bottom level, mock paragraph extending mock typography - const lvl2Manifest = getMockComponentManifest('mock-paragraph'); - const lvl2Attributes = getAttributes(globalManifest, wrapperManifest, componentManifests, lvl2Manifest); - - expect(lvl2Attributes).toHaveProperty('mockParagraphMockTypographyContent'); - expect(lvl2Attributes.mockParagraphMockTypographyContent).toHaveProperty('default'); - expect(lvl2Attributes.mockParagraphMockTypographyContent.default).toBe('This is lvl 2 override'); - - // Test level 4: component overriding attributes 1 level below it where attribute has already been overridden. - const lvl4Manifest = getMockBlockManifest('mock-attribute-override-skip'); - const lvl4Attributes = getAttributes(globalManifest, wrapperManifest, componentManifests, lvl4Manifest); - expect(lvl4Attributes).toHaveProperty('mockAttributeOverrideSkipMockNoOverrideMockParagraphMockTypographyContent'); - expect(lvl4Attributes.mockAttributeOverrideSkipMockNoOverrideMockParagraphMockTypographyContent).toHaveProperty('default'); - expect(lvl4Attributes.mockAttributeOverrideSkipMockNoOverrideMockParagraphMockTypographyContent.default).toBe('This is lvl 4 override'); -}); diff --git a/tests/unit/create-wp-project/arguments.test.js b/tests/unit/create-wp-project/arguments.test.js deleted file mode 100644 index f272f25fb..000000000 --- a/tests/unit/create-wp-project/arguments.test.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Unit tests for files.js - * - * @group unit - */ -import { scriptArguments } from '../../../setup/create-wp-project/src/arguments.js'; - -it('tests PACKAGE argument build method', async() => { - const packageName = scriptArguments.package; - expect(packageName.buildFrom.how('Test name 1')).toBe('test-name-1'); - expect(packageName.buildFrom.how('baNana 1')).toBe('banana-1'); - expect(packageName.buildFrom.how('#2a24 ?-.,b')).toBe('2a24--b'); -}); - -it('tests NAMESPACE argument build method', async() => { - const { namespace } = scriptArguments; - expect(namespace.buildFrom.how('banana')).toBe('Banana'); - expect(namespace.buildFrom.how('Test name 1')).toBe('TestName1'); - expect(namespace.buildFrom.how('TEST name 1')).toBe('TestName1'); - expect(namespace.buildFrom.how('TEST name ab')).toBe('TestNameAb'); - expect(namespace.buildFrom.how('TEST name Ab')).toBe('TestNameAb'); - expect(namespace.buildFrom.how('baNana a')).toBe('BananaA'); - expect(namespace.buildFrom.how('#2a24 ?-.,b_ca#,')).toBe('2a24BCa'); -}); diff --git a/tests/unit/create-wp-project/basics/argument-operations.test.js b/tests/unit/create-wp-project/basics/argument-operations.test.js deleted file mode 100644 index fd8c3e524..000000000 --- a/tests/unit/create-wp-project/basics/argument-operations.test.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Unit tests for argument-operations.js - * - * @group unit - */ - -const { scriptArguments } = require('../../../../setup/create-wp-project/src/arguments'); - -const { - maybePrompt, - projectNameValidator, -} = require('../../../../setup/create-wp-project/src/basics/argument-operations'); - -const testArguments = { - projectName: 'TestTheme', - url: 'dev-url.test', - description: 'Test description', - noSummary: true, -}; - -describe('Create wp project prompts will pass', () => { - test('Project name validator will succeed if none of forbidden keywords is used.', async () => { - expect(projectNameValidator('Test Theme')).toBe(true); - expect(projectNameValidator('Test Theme')).not.toBe(false); - }); - - test('Project name validator will fail if any of forbidden keywords is used.', async () => { - expect(projectNameValidator('final')).toBe(false); - expect(projectNameValidator('final')).not.toBe(true); - }); - - test('URL argument will be the same as entered.', async () => { - const data = await maybePrompt(scriptArguments, testArguments); - - expect(data.url).toBe(testArguments.url); - expect(data.url).not.toBeUndefined(); - }); - - test('Description argument will be the same as entered.', async () => { - const data = await maybePrompt(scriptArguments, testArguments); - - expect(data.description).toBe(testArguments.description); - expect(data.description).not.toBeUndefined(); - }); - - test('Undefined arguments will be skipped entirely.', async () => { - const newArguments = { - testProp: 'Some text', - ...testArguments, - }; - const data = await maybePrompt(scriptArguments, newArguments); - - expect(data.testProp).toBeUndefined(); - expect(data.testProp).not.toBeTruthy(); - }); - - test('Arguments with "skipPrompt" will skip prompt and won\'t be shown in answers.', async () => { - const newArguments = { - eightshiftBoilerplateRepo: 'eightshiftBoilerplateRepo', - ...testArguments, - }; - - const data = await maybePrompt(scriptArguments, newArguments); - - expect(data.eightshiftBoilerplateRepo).toBeUndefined(); - expect(data.eightshiftBoilerplateRepo).not.toBeTruthy(); - }); - - test('Argument package will build correctly.', async () => { - const data = await maybePrompt(scriptArguments, testArguments); - - expect(data.package).toBe('testtheme'); - expect(data.package).not.toBeUndefined(); - }); - - test('Argument nameSpace will build correctly.', async () => { - const data = await maybePrompt(scriptArguments, testArguments); - - expect(data.namespace).toBe('Testtheme'); - expect(data.namespace).not.toBeUndefined(); - }); - - test('Project name will result in a correct project package.', async () => { - const inputArgs = { - projectName: 'Test Theme ', - url: 'dev-url.test', - description: 'Test description', - noSummary: true, - }; - - const data = await maybePrompt(scriptArguments, inputArgs); - - expect(data.package).toBe('test-theme'); - }); -}) diff --git a/tests/unit/create-wp-project/basics/files.test.js b/tests/unit/create-wp-project/basics/files.test.js deleted file mode 100644 index 70efe4e6d..000000000 --- a/tests/unit/create-wp-project/basics/files.test.js +++ /dev/null @@ -1,92 +0,0 @@ -/** - * Unit tests for files.js - * - * @group unit - */ -import path from 'path'; -const del = require('del'); -import { - existsSync, - writeFileSync, - readFile, - mkdirSync, -} from 'fs'; -import { fullPath, findReplace, readdirAsync } from '../../../../setup/create-wp-project/src/basics/files.js'; -import { promisify } from 'util'; - -const testFiles = { - dir: path.join(`${fullPath}/jestTestDir`), - dirEmpty: path.join(`${fullPath}/jestTestDirEmpty`), - file: path.join(`${fullPath}/jestTestDir/test.json`), - file2: path.join(`${fullPath}/jestTestDir/test2.json`), - ignoredDir: path.join(`${fullPath}/jestTestDir/node_modules`), - ignoredDirFile: path.join(`${fullPath}/jestTestDir/node_modules/test.json`), -}; - -beforeEach(() => { - const testData = { - name: 'This is a test string.', - }; - - if (!existsSync(testFiles.dir)) { - mkdirSync(testFiles.dir); - } - - if (!existsSync(testFiles.dirEmpty)) { - mkdirSync(testFiles.dirEmpty); - } - - if (!existsSync(testFiles.ignoredDir)) { - mkdirSync(testFiles.ignoredDir); - } - - writeFileSync(testFiles.file, JSON.stringify(testData)); - writeFileSync(testFiles.file2, JSON.stringify(testData)); - writeFileSync(testFiles.ignoredDirFile, JSON.stringify(testData)); -}); - -afterEach(async () => { - await del(testFiles.dir); - await del(testFiles.dirEmpty); -}); - - -// Test readdirAsync -test('Make sure we got the correct number of files back', async () => { - const files = await readdirAsync(testFiles.dir); - expect(files.length === 3 && files.some((file) => file === 'test.json')).toBe(true); -}); - -test('Make sure we receive nothing from empty directory', async () => { - const files = await readdirAsync(testFiles.dirEmpty); - expect(files.length).toBe(0); -}); - -// Test findReplace -test('Make sure find & replace replaced the search string', async () => { - await findReplace(testFiles.dir, 'test string', 'hello world'); - const readFileAsync = promisify(readFile); - const fileContents = JSON.parse(await readFileAsync(testFiles.file, 'utf-8')); - expect(fileContents.name).not.toMatch('This is a test string.'); -}); - -test('Make sure find & replace inserted the new string', async () => { - await findReplace(testFiles.dir, 'test string', 'hello world'); - const readFileAsync = promisify(readFile); - const fileContents = JSON.parse(await readFileAsync(testFiles.file, 'utf-8')); - expect(fileContents.name).toMatch('hello world'); -}); - -test('Make sure find & replace is working in multiple files', async () => { - await findReplace(testFiles.dir, 'test string', 'hello world'); - const readFileAsync = promisify(readFile); - const fileContents = JSON.parse(await readFileAsync(testFiles.file2, 'utf-8')); - expect(fileContents.name).toMatch('hello world'); -}); - -test('Make sure find & replace didn\'t do anything in an ignored folder', async () => { - await findReplace(testFiles.dir, 'test string', 'hello world'); - const readFileAsync = promisify(readFile); - const fileContents = JSON.parse(await readFileAsync(testFiles.ignoredDirFile, 'utf-8')); - expect(fileContents.name).not.toMatch('hello world'); -}); diff --git a/tests/unit/create-wp-project/basics/misc.test.js b/tests/unit/create-wp-project/basics/misc.test.js deleted file mode 100644 index 6c4e7c574..000000000 --- a/tests/unit/create-wp-project/basics/misc.test.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Unit tests for misc.js - * - * @group unit - */ -import { capCase } from '../../../../setup/create-wp-project/src/basics/misc.js'; - -test('Should make cap case of: aaa aaa', () => { - expect(capCase('aaa aaa')).toBe('Aaa_Aaa'); -}); - -test('Should make cap case of: AAA', () => { - expect(capCase('AAA')).toBe('Aaa'); -}); - -test('Should make cap case of: Aaa Aaa', () => { - expect(capCase('Aaa Aaa')).toBe('Aaa_Aaa'); -}); - -test('Should do nothing for: 111', () => { - expect(capCase('111')).toBe('111'); -}); diff --git a/tests/unit/scripts/editor/hex-to-rgb.test.js b/tests/unit/scripts/editor/hex-to-rgb.test.js deleted file mode 100644 index b31dac7e0..000000000 --- a/tests/unit/scripts/editor/hex-to-rgb.test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { hexToRgb } from '../../../../scripts/editor/css-variables'; - -test.each([ - {input: '', expected: '0 0 0'}, - {input: '#fff', expected: '255 255 255'}, - {input: 'invalid', expected: '0 0 0'}, - {input: '#ooolll', expected: '0 0 0'}, - {input: '#', expected: '0 0 0'}, - {input: '#123456', expected: '18 52 86'}, -])('tests hextToRgb returns a valid value %s', ({input, expected}) => { - expect(hexToRgb(input)).toBe(expected); -}); diff --git a/tests/unit/scripts/editor/ucfirst.test.js b/tests/unit/scripts/editor/ucfirst.test.js deleted file mode 100644 index c77e9eb21..000000000 --- a/tests/unit/scripts/editor/ucfirst.test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { ucfirst } from "../../../../scripts/editor/utility"; - -test.each([ - {input: 'aaa', expected: 'Aaa'}, - {input: 'snake_case', expected: 'Snake_case'}, - {input: 'camelCase', expected: 'CamelCase'}, - {input: '111numbers', expected: '111numbers'}, - {input: '"$#!"$!"', expected: '"$#!"$!"'}, - {input: '', expected: ''}, -])('tests ucfirst always returns the first letter %s', ({input, expected}) => { - expect(ucfirst(input)).toBe(expected); -}); diff --git a/tests/unit/scripts/helpers/check-attr.test.js b/tests/unit/scripts/helpers/check-attr.test.js deleted file mode 100644 index d1818739d..000000000 --- a/tests/unit/scripts/helpers/check-attr.test.js +++ /dev/null @@ -1,45 +0,0 @@ -import { checkAttr } from "../../../../scripts/editor/attributes"; -import { getComponentManifest, getMockComponentManifest } from "../../../helpers/blocks"; - -it('tests checkAttr returns attributes with prefix', () => { - const buttonManifest = getComponentManifest('button'); - const mockAttributes = { - componentName: 'button', - prefix: 'mockButtonOverride', - mockButtonOverrideContent: 'Some value' - }; - - const buttonContent = checkAttr('buttonContent', mockAttributes, buttonManifest); - expect(buttonContent).toBe('Some value'); -}); - -it('tests checkAttr returns exact attribute value when there is no prefix', () => { - const buttonManifest = getComponentManifest('button'); - const mockAttributes = { - componentName: 'button', - buttonContent: 'Some value' - }; - - const buttonContent = checkAttr('buttonContent', mockAttributes, buttonManifest); - expect(buttonContent).toBe('Some value'); -}); - -it('tests checkAttr returns manifest default when there is nothing provided', () => { - const mockTypographyManifest = getMockComponentManifest('mock-typography'); - const mockAttributes = { - componentName: 'mock-typography', - }; - - const mockTypographySize = checkAttr('mockTypographySize', mockAttributes, mockTypographyManifest); - expect(mockTypographySize).toBe('16-regular'); -}); - -it('tests checkAttr returns default empty value for a specific type when there is no manifest default', () => { - const buttonManifest = getComponentManifest('button'); - const mockAttributes = { - componentName: 'button', - }; - - const buttonContent = checkAttr('buttonContent', mockAttributes, buttonManifest); - expect(buttonContent).toBe(''); -}); diff --git a/tests/unit/scripts/helpers/lodash-replacement-helpers.test.js b/tests/unit/scripts/helpers/lodash-replacement-helpers.test.js deleted file mode 100644 index 86dffe463..000000000 --- a/tests/unit/scripts/helpers/lodash-replacement-helpers.test.js +++ /dev/null @@ -1,151 +0,0 @@ -import { - camelCase, - pascalCase, - snakeCase, - kebabCase, - isEmpty, - lowerFirst, - upperFirst, - has, - isPlainObject, - isObject, - isEqual, -} from '../../../../scripts/helpers/es-dash'; - -test.each([ - { input: 'Test string.', expected: 'testString' }, - { input: 'Test string.', expected: 'testString' }, - { input: '--TEST-STRING--', expected: 'testString' }, - { input: '__TEST_STRING__', expected: 'testString' }, - { input: '-Test-string_', expected: 'testString' }, - { input: 'test-string', expected: 'testString' }, - { input: 'testString', expected: 'testString' }, - { input: 'TestString', expected: 'testString' }, - { input: 'TESTstring', expected: 'tesTstring' }, - { input: null, expected: '' }, -])('camelCase gives a correct output %s', ({ input, expected }) => { - expect(camelCase(input)).toBe(expected); -}); - -test.each([ - { input: 'Test string.', expected: 'TestString' }, - { input: 'Test string.', expected: 'TestString' }, - { input: '--TEST-STRING--', expected: 'TestString' }, - { input: '__TEST_STRING__', expected: 'TestString' }, - { input: '-Test-string_', expected: 'TestString' }, - { input: 'test-string', expected: 'TestString' }, - { input: 'testString', expected: 'TestString' }, - { input: 'TestString', expected: 'TestString' }, - { input: 'TESTstring', expected: 'TesTstring' }, - { input: null, expected: '' }, -])('PascalCase gives a correct output %s', ({ input, expected }) => { - expect(pascalCase(input)).toBe(expected); -}); - -test.each([ - { input: 'Test string.', expected: 'test-string' }, - { input: 'Test string.', expected: 'test-string' }, - { input: '--TEST-STRING--', expected: 'test-string' }, - { input: '__TEST_STRING__', expected: 'test-string' }, - { input: '-Test-string_', expected: 'test-string' }, - { input: 'test-string', expected: 'test-string' }, - { input: 'testString', expected: 'test-string' }, - { input: 'TestString', expected: 'test-string' }, - { input: 'TESTstring', expected: 'tes-tstring' }, - { input: null, expected: '' }, -])('kebab-case gives a correct output %s', ({ input, expected }) => { - expect(kebabCase(input)).toBe(expected); -}); - -test.each([ - { input: 'Test string.', expected: 'test_string' }, - { input: 'Test string.', expected: 'test_string' }, - { input: '--TEST-STRING--', expected: 'test_string' }, - { input: '__TEST_STRING__', expected: 'test_string' }, - { input: '-Test-string_', expected: 'test_string' }, - { input: 'test-string', expected: 'test_string' }, - { input: 'testString', expected: 'test_string' }, - { input: 'TestString', expected: 'test_string' }, - { input: 'TESTstring', expected: 'tes_tstring' }, - { input: null, expected: '' }, -])('snake_case gives a correct output %s', ({ input, expected }) => { - expect(snakeCase(input)).toBe(expected); -}); - -test.each([ - { input: 'Test string.', expected: 'Test string.', }, - { input: 'Test string.', expected: 'Test string.', }, - { input: '--TEST-STRING--', expected: '--TEST-STRING--', }, - { input: '__TEST_STRING__', expected: '__TEST_STRING__', }, - { input: '-Test-string_', expected: '-Test-string_', }, - { input: 'test-string', expected: 'Test-string', }, - { input: 'testString', expected: 'TestString', }, - { input: 'TestString', expected: 'TestString', }, - { input: 'TESTstring', expected: 'TESTstring', }, - { input: '1TESTstring', expected: '1TESTstring', }, - { input: null, expected: '' }, -])('upperFirst gives a correct output %s', ({ input, expected }) => { - expect(upperFirst(input)).toBe(expected); -}); - -test.each([ - { input: 'Test string.', expected: 'test string.', }, - { input: 'Test string.', expected: 'test string.', }, - { input: '--TEST-STRING--', expected: '--TEST-STRING--', }, - { input: '__TEST_STRING__', expected: '__TEST_STRING__', }, - { input: '-Test-string_', expected: '-Test-string_', }, - { input: 'test-string', expected: 'test-string', }, - { input: 'testString', expected: 'testString', }, - { input: 'TestString', expected: 'testString', }, - { input: 'TESTstring', expected: 'tESTstring', }, - { input: '1TESTstring', expected: '1TESTstring', }, - { input: null, expected: '' }, -])('upperFirst gives a correct output %s', ({ input, expected }) => { - expect(lowerFirst(input)).toBe(expected); -}); - -test.each([ - { input: {}, expected: true }, - { input: [], expected: true }, - { input: '', expected: true }, - { input: { a: 1 }, expected: false }, - { input: [1, 2, 3], expected: false }, - { input: null, expected: true }, -])('isEmpty gives a correct output %s', ({ input, expected }) => { - expect(isEmpty(input)).toBe(expected); -}); - -test.each([ - { input1: { a: 1 }, input2: 'a', expected: true }, - { input1: { a: 1 }, input2: 'b', expected: false }, - { input1: { a: { b: 2 } }, input2: 'a.b', expected: true }, - { input1: { a: { b: 3 } }, input2: 'a.c', expected: false }, -])('has gives a correct output %s', ({ input1, input2, expected }) => { - expect(has(input1, input2)).toBe(expected); -}); - -test.each([ - { input: { a: 2 }, expected: true }, - { input: 'Lorem', expected: false }, - { input: [], expected: false }, - { input: new Boolean(), expected: false }, -])('isPlainObject gives a correct output %s', ({ input, expected }) => { - expect(isPlainObject(input)).toBe(expected); -}); - -test.each([ - { input: {}, expected: true }, - { input: [1, 2, 3], expected: true }, - { input: () => { }, expected: true }, - { input: null, expected: false }, -])('isObject gives a correct output %s', ({ input, expected }) => { - expect(isObject(input)).toBe(expected); -}); - -test.each([ - { input1: { a: 1 }, input2: { a: 1 }, expected: true }, - { input1: { a: 1 }, input2: { a: 2 }, expected: false }, - { input1: { a: 1 }, input2: 'b', expected: false }, -])('isEqual gives a correct output %s', ({ input1, input2, expected }) => { - expect(isEqual(input1, input2)).toBe(expected); -}); diff --git a/tests/unit/scripts/helpers/text-helpers.test.js b/tests/unit/scripts/helpers/text-helpers.test.js deleted file mode 100644 index 7c49e4ded..000000000 --- a/tests/unit/scripts/helpers/text-helpers.test.js +++ /dev/null @@ -1,34 +0,0 @@ -import { truncate, truncateMiddle, unescapeHTML } from '../../../../scripts/helpers/text-helpers'; - -test.each([ - { inputString: 'Lorem ipsum dolor sit amet.', maxLength: 8, expected: 'Lor...t.' }, - { inputString: 'Lorem', maxLength: 8, expected: 'Lorem' }, - { inputString: 'Lorem ipsum dolor', maxLength: 10, inputSeparator: ':', expected: 'Lorem:olor' }, - { inputString: 'Lorem ipsum dolor sit amet.', inputSeparator: '........', maxLength: 8, shouldError: true }, -])('tests truncateMiddle returns a valid value %s', ({ inputString, maxLength, inputSeparator, expected, shouldError = false }) => { - if (shouldError) { - expect(() => truncateMiddle(inputString, maxLength, inputSeparator)).toThrow(); - } else { - expect(truncateMiddle(inputString, maxLength, inputSeparator)).toBe(expected); - } -}); - -test.each([ - { inputString: 'Lorem ipsum dolor sit amet.', maxLength: 8, expected: 'Lorem...' }, - { inputString: 'Lorem', maxLength: 8, expected: 'Lorem' }, - { inputString: 'Lorem ipsum dolor', maxLength: 10, inputSeparator: ':', expected: 'Lorem ips:' }, - { inputString: 'Lorem ipsum dolor sit amet.', inputSeparator: '........', maxLength: 8, shouldError: true }, -])('tests truncate returns a valid value %s', ({ inputString, maxLength, inputSeparator, expected, shouldError = false }) => { - if (shouldError) { - expect(() => truncate(inputString, maxLength, inputSeparator)).toThrow(); - } else { - expect(truncate(inputString, maxLength, inputSeparator)).toBe(expected); - } -}); - -test.each([ - { input: 'Test string.', expected: 'Test string.' }, - { input: 'Test&string', expected: 'Test&string' }, -])('tests hextToRgb returns a valid value %s', ({ input, expected }) => { - expect(unescapeHTML(input)).toBe(expected); -});