diff --git a/.github/actions/install-build/action.yml b/.github/actions/install-build/action.yml index b282c1b97c1..f4c161d69f0 100644 --- a/.github/actions/install-build/action.yml +++ b/.github/actions/install-build/action.yml @@ -22,4 +22,4 @@ runs: - name: Run build shell: bash working-directory: ${{ inputs.working_directory }} - run: pnpm exec turbo run build --filter=woocommerce + run: pnpm -- turbo run build --filter=woocommerce diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88d45b60b08..8442f66cab6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,4 +83,4 @@ jobs: run: ./tests/bin/install.sh woo_test root root 127.0.0.1 ${{ matrix.wp }} - name: Run tests - run: pnpm exec turbo run test --filter=woocommerce + run: pnpm -- turbo run test --filter=woocommerce diff --git a/.github/workflows/pr-lint-test-js.yml b/.github/workflows/pr-lint-test-js.yml index 221f69f25d1..04633f4863d 100644 --- a/.github/workflows/pr-lint-test-js.yml +++ b/.github/workflows/pr-lint-test-js.yml @@ -35,7 +35,7 @@ jobs: uses: ./.github/actions/install-build - name: Lint - run: pnpm exec turbo run lint --filter='@woocommerce/admin-library...' --filter='!@woocommerce/e2e*' --filter='!@woocommerce/api' + run: pnpm -- turbo run lint --filter='@woocommerce/admin-library...' --filter='!@woocommerce/e2e*' --filter='!@woocommerce/api' - name: Test - run: pnpm exec turbo run test --filter='@woocommerce/admin-library...' --filter='!@woocommerce/e2e*' --filter='!@woocommerce/api' + run: pnpm -- turbo run test --filter='@woocommerce/admin-library...' --filter='!@woocommerce/e2e*' --filter='!@woocommerce/api' diff --git a/.github/workflows/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index ac91562a8e9..70db7ebcd78 100644 --- a/.github/workflows/pr-unit-tests.yml +++ b/.github/workflows/pr-unit-tests.yml @@ -80,4 +80,4 @@ jobs: run: ./tests/bin/install.sh woo_test root root 127.0.0.1 ${{ matrix.wp }} - name: Run tests - run: pnpm exec turbo run test --filter=woocommerce + run: pnpm -- turbo run test --filter=woocommerce diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 1299a93bc81..65dc2973713 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -1,131 +1,79 @@ -# WooCommerce Development Setup with WP-ENV +# Development -Docker development setup for WooCommerce with WP-ENV. +This document aims to provide as much context as possible to aid in the development of plugins, packages, and tools in the monorepo. -## Prerequisites +## Getting Started -Please install WP-ENV before getting started. You can find more about WP-ENV on [here](https://github.com/WordPress/gutenberg/tree/master/packages/env). +Please refer to [the Getting Started section of the `README.md`](README.md#getting-started) for a general-purpose guide on getting started. The rest of this document will assume that you've installed all of the prequisites and setup described there. -The following command installs WP-ENV globally. +## Turborepo Commands -`npm -g i @wordpress/env` +Our repository uses [Turborepo](https://turborepo.org) for `build`, `lint`, and `test` commands. This tool ensures that all dependencies of a plugin, package, or tool are prepared before running a command. When using `pnpm -- turbo run {command}` without any options, it will execute that command against every project in the repository. You can view a list of the commands Turborepo supports in [our turbo.json file](turbo.json). -If you don't already have [pnpm](https://pnpm.io/installation) installed, you can quickly add it using NPM. +### Plugin, Package, and Tool Filtering -`npm install -g pnpm@^6.24.2` +If you are interested in running a `turbo` command against a single plugin, package, or tool, you can do so with the `--filter` flag. This flag supports the `"name"` option in `package.json` files, paths, and globs. -## Starting WP-ENV +If you would like to read more about the syntax, please check out [the Turborepo filtering documentation](https://turborepo.org/docs/core-concepts/filtering). -1. Navigate to the root of WooCommerce source code. -2. Start the docker container by running `wp-env start` +### Examples -You should see the following output +Here are some examples of the ways you can use Turborepo commands: -``` -WordPress development site started at http://localhost:8888/ -WordPress test site started at http://localhost:8889/ -MySQL is listening on port 55003 +```bash +# Lint and build all plugins, packages, and tools +pnpm -- turbo run lint build + +# Build WooCommerce Core and all of its dependencies +pnpm -- turbo run build --filter='woocommerce' + +# Lint the @woocommerce/components package +pnpm -- turbo run lint --filter='@woocommerce/components' + +# Test all of the @woocommerce scoped packages +pnpm -- turbo run test --filter='@woocommerce/*' + +# Build all of the JavaScript packages +pnpm -- turbo run build --filter='./packages/js/*' + +# Build everything except WooCommerce Core +pnpm -- turbo run build --filter='!woocommerce' + +# Lint everything that has changed since the last commit +pnpm -- turbo run build --filter='[HEAD^1]' ``` -The port # might be different depending on your `.wp-env.override.json` configuration. +## Other Commands -## Getting Started with Developing +Outside of the commands in [our turbo.json file](turbo.json), each plugin, package, and tool may have unique scripts in their `package.json` files. In these cases, you can execute those commands using `pnpm {script}` and the same `--filter` syntax as Turborepo. -Once you have WP-ENV container up, we need to run a few commands to start developing. +### Examples -1. Run `pnpm install` to install npm modules. -2. Run `pnpm exec turbo run build --filter=woocommerce` to build core. +Here are some examples of the commands you will make use of. -You're now ready to develop! +```bash +# Add a changelog entry for WooCommerce Core +pnpm changelog add --filter=woocommerce -### Typescript Checking - -Typescript is progressively being implemented in this repository, and you might come across some files that are `.ts` or `.tsx`. By default, a VSCode environment will run type checking on such files that are currently open. - -As of now, some parts of the codebase that were imported from the Woocommerce-Admin repository, into the `plugins/woocommerce-admin/client` directory, still fail Typescript checking. This has been scheduled on the team's backlog to be fixed. - -In order to run type checking across the entire repository, you can run this command in your shell, from the root of this repository: - -```sh -pnpm tsc -b tsconfig.base.json +# Create the woocommerce.zip file +pnpm build:zip --filter=woocommerce ``` -For better developer experience, the folder `.vscode/tasks.json` has two VSCode tasks to run these commands automatically as well as to parse the output and highlight the errors in the `Problems` tab and in the file explorer pane. The first task runs it once, the second one runs it in the background upon saving of any modified files. This task is also automatically prompted by VSCode to be run upon opening the folder. +## Plugin Development Environments +The plugins in our repository make use of [the `@wordpress/env` package](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/). This supplies convenient commands for creating, destroying, cleaning, and testing WordPress environments. -## Using Xdebug - -Please refer to [WP-ENV official README](https://github.com/WordPress/gutenberg/tree/master/packages/env#using-xdebug) section for setting up Xdebug. - -## Overriding the Default Configuration - -The default configuration comes with PHP 7.4, WooCommerce 5.0, and a few WordPress config values. - -You can create `.wp-env.override.json` file and override the default configuration values. - -You can find more about `.wp-env.override.json` configuration [here](https://github.com/WordPress/gutenberg/tree/master/packages/env#wp-envoverridejson). - -**Example: Overriding PHP version to 8.0** - -Create `.wp-env.override.json` in the root directory with the following content. - -```json -{ - "phpVersion": "8.0" -} +```bash +# Make sure you are in the working directory of the plugin you are interested in setting up the environment for +cd plugins/woocommerce +# Start will create the environment if necessary or start an existing one +pnpm -- wp-env start +# Stop will, well, stop the environment +pnpm -- wp-env stop +# Destroy will remove all of the environment's files. +pnpm -- wp-env destroy ``` -**Exampe: Adding a locally installed plugin** +Each of the [plugins in our repository](plugins) support using this tool to spin up a development environment. Note that rather than having a single top-level environment, each plugin has its own. This is done in order to prevent conflicts between them. -Method 1 - Adding to the `plugins` array - -Open the default `.wp-env.json` and copy `plugins` array and paste it into the `.wp-env.override.json` and add your locally installed plugin. Copying the default `plugins` is needed as WP-ENV does not merge the values of the `plugins`. - -```json -{ - "plugins": [ - "./plugins/woocommerce", - "https://downloads.wordpress.org/plugin/wp-crontrol.1.10.0.zip" - ] -} -``` - -Method 2 - Adding to the `mappings` - -This method is simpler, but the plugin does not get activated on startup. You need to manually activate it yourself on the first startup. - -```json -{ - "mappings": { - "wp-content/plugins/wp-crontrol": "../woocommerce" - } -} -``` - -## Accessing MySQL - -The MySQL port can change when you restart your container. - -You can get the current MySQL port from the output of `wp-env start` command. - -1. Open your choice of MySQL tool. -2. Use the following values to access the MySQL container. - -| Name | Value | -| -------- | --------------------- | -| Host | 127.0.0.1 | -| Username | root | -| Password | password | -| Port | Port from the command | - -## HOWTOs - -##### How do I ssh into the container? - -Run the following command to ssh into the container -`wp-env run wordpress /bin/bash` - -You can run a command in the container with the following syntax. You can find more about on the `run` command [here](https://github.com/WordPress/gutenberg/tree/master/packages/env#wp-env-run-container-command) - -Syntax: -`wp-env run :container-type :linux-command` +Please check out [the official documentation](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/) if you would like to learn more about this tool. diff --git a/README.md b/README.md index 57f7a34606c..f62e2ba8dc8 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,9 @@

WooCommerce

-Welcome to the WooCommerce Monorepo on GitHub. Here you can find all of the packages, plugins, and tools used in the development of the core WooCommerce plugin as well as WooCommerce extensions. You can browse the source, look at open issues, contribute code, and keep tracking of ongoing development. +Welcome to the WooCommerce Monorepo on GitHub. Here you can find all of the plugins, packages, and tools used in the development of the core WooCommerce plugin as well as WooCommerce extensions. You can browse the source, look at open issues, contribute code, and keep tracking of ongoing development. We recommend all developers to follow the [WooCommerce development blog](https://woocommerce.wordpress.com/) to stay up to date about everything happening in the project. You can also [follow @DevelopWC](https://twitter.com/DevelopWC) on Twitter for the latest development updates. -## Repository Structure - -* [**Plugins**](plugins): Our repository contains plugins that relate to or otherwise aid in the development of WooCommerce. - * [**WooCommerce Core**](plugins/woocommerce): The core WooCommerce plugin is available in the plugins directory. -* [**Packages**](packages): Contained within the packages directory are all of the [PHP](packages/php) and [JavaScript](packages/js) provided for the community. Some of these are internal dependencies and are marked with an `internal-` prefix. -* [**Tools**](tools): We also have a growing number of tools within our repository. Many of these are intended to be utilities and scripts for use in the monorepo, but, this directory may also contain external tools. - ## Getting Started To get up and running within the WooCommerce Monorepo, you will need to make sure that you have installed all of the prerequisites. @@ -22,34 +15,27 @@ To get up and running within the WooCommerce Monorepo, you will need to make sur * [PHP 7.2+](https://www.php.net/manual/en/install.php): WooCommerce Core currently features a minimum PHP version of 7.2. While you don't need to use it to run a local development environment, you will need it to utilize Composer. * [Composer](https://getcomposer.org/doc/00-intro.md): We use Composer to manage all of the dependencies for PHP packages and plugins. -Once you've installed all of the prerequisites, you can run the following commands. +Once you've installed all of the prerequisites, you can run the following commands to get everything working. ```bash # Ensure that you're using the correct version of Node nvm use -# Install all of the NPM and Composer dependencies within the Monorepo +# Install the PHP and Composer dependencies for all of the plugins, packages, and tools pnpm install +# Build all of the plugins, packages, and tools in the monorepo +pnpm -- turbo run build ``` -### Building, Linting, and Testing +At this point you are now ready to begin developing and testing. All of the build outputs are cached running `pnpm -- turbo run build` again will only build the plugins, packages, and tools that have changed since the last time you ran the command. -Our repository uses [Turborepo](https://turborepo.org) for running `build`, `lint`, `test`, and `e2e` commands. This tool ensures that all dependencies of a package, plugin, or tool are prepared before running a command. It also provides caching for command outputs in order to ensure that work is not performed unnecessarily. +Check out [our development guide](DEVELOPMENT.md) if you would like a more comprehensive look at working in our repository. -Without any additional flags, running a command will execute it against every project in the monorepo. For example, `pnpm exec turbo run build` will build all of the projects within the monorepo. `pnpm exec turbo run test` will run unit tests for all of the projects within the monorepo. +## Repository Structure -This behavior can be desireable, as the cache should ensure anything that has not changed is not rebuilt. There are times, however, that you may want to explicitly run a command against a specific project. - -This can be done using the `--filter` flag. For example, running `pnpm exec turbo run build --filter=woocommerce` will build the WooCommerce plugin, as well as all of the dependencies required for the plugin to function. - -The `--filter` syntax also supports paths, such as `--filter='./plugins/**'` to build all of the plugins in the monorepo. [You can read more about the filtering syntax in Turborepo's documentation](https://turborepo.org/docs/core-concepts/filtering). - -### Project-Specific Commands - -Outside of the above `turbo` commands, there may be times where you want to run a command on a specific project. This can _also_ be done using the `--filter` syntax, however, you will run these commands using `pnpm`. For example, `pnpm postinstall --filter=woocommerce` will run the `"postinstall"` script from `plugins/woocommerce/package.json`. - -## Development Environments - -Our repository makes use of [the `@wordpress/env` package](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/) for providing development environments out-of-the-box. Once you have installed the package and its related dependencies, you should be able to run `wp-env start` in any of the `plugins/` folders. This will start a development environment and provide you with a URL to begin testing code using. +* [**Plugins**](plugins): Our repository contains plugins that relate to or otherwise aid in the development of WooCommerce. + * [**WooCommerce Core**](plugins/woocommerce): The core WooCommerce plugin is available in the plugins directory. +* [**Packages**](packages): Contained within the packages directory are all of the [PHP](packages/php) and [JavaScript](packages/js) provided for the community. Some of these are internal dependencies and are marked with an `internal-` prefix. +* [**Tools**](tools): We also have a growing number of tools within our repository. Many of these are intended to be utilities and scripts for use in the monorepo, but, this directory may also contain external tools. ## Reporting Security Issues To disclose a security issue to our team, [please submit a report via HackerOne here](https://hackerone.com/automattic/). diff --git a/package.json b/package.json index d946092d89a..99b4cbaff3b 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "request": "^2.88.2", "sass": "^1.49.9", "sass-loader": "^10.2.1", - "turbo": "^1.2.9", + "turbo": "^1.2.16", "typescript": "4.2.4", "url-loader": "^1.1.2", "webpack": "^5.70.0" diff --git a/packages/js/e2e-environment/external.md b/packages/js/e2e-environment/external.md index 71b5200f0de..08fc05f3492 100644 --- a/packages/js/e2e-environment/external.md +++ b/packages/js/e2e-environment/external.md @@ -38,7 +38,7 @@ Again, if you don't have shell access to your test site, through WP Admin ensure 3. You have an admin user set up (if their credentials differ from u/ `admin` and p/ `password` be sure to update `/plugins/woocommerce/tests/e2e/config/default.json`) 4. You have a customer user set up named 'Jane Smith'. This user should be a `subscriber` and again make sure their username and password are reflected in `/plugins/woocommerce/tests/e2e/config/default.json`. -You should then be able to run the e2e tests by running `pnpm exec turbo run e2e --filter=woocommerce`. +You should then be able to run the e2e tests by running `pnpm -- turbo run e2e --filter=woocommerce`. ### Test Sequencer Setup diff --git a/plugins/woocommerce-beta-tester/package.json b/plugins/woocommerce-beta-tester/package.json index 6cbd4dfda4c..227f668ec74 100644 --- a/plugins/woocommerce-beta-tester/package.json +++ b/plugins/woocommerce-beta-tester/package.json @@ -15,6 +15,7 @@ "devDependencies": { "@woocommerce/dependency-extraction-webpack-plugin": "workspace:*", "@woocommerce/eslint-plugin": "workspace:*", + "@wordpress/env": "^4.8.0", "@wordpress/scripts": "^19.2.4", "eslint": "5.16.0", "uglify-js": "^3.5.3" diff --git a/plugins/woocommerce/README.md b/plugins/woocommerce/README.md index ec12b996599..8cac7772589 100644 --- a/plugins/woocommerce/README.md +++ b/plugins/woocommerce/README.md @@ -13,6 +13,21 @@ This is the WooCommerce Core plugin. Here you can browse the source and keep tra If you are not a developer, please use the [WooCommerce plugin page](https://wordpress.org/plugins/woocommerce/) on WordPress.org. +## Getting Started + +Please make sure you follow the [repository's getting started guide](../../README.md#getting-started) first! + +```bash +# Make sure that WooCommerce Core and all of its dependencies are built +pnpm -- turbo run build --filter=woocommerce +# Make sure you're in the WooCommerce Core directory +cd plugins/woocommerce +# Start the development environment +pnpm -- wp-env start +``` + +You should now be able to visit http://docker.local:8888/ and access WooCommerce environment. + ## Documentation * [WooCommerce Documentation](https://docs.woocommerce.com/) * [WooCommerce Developer Documentation](https://github.com/woocommerce/woocommerce/wiki) diff --git a/plugins/woocommerce/bin/build-zip.sh b/plugins/woocommerce/bin/build-zip.sh index cc03b975a42..54b7c531cc4 100755 --- a/plugins/woocommerce/bin/build-zip.sh +++ b/plugins/woocommerce/bin/build-zip.sh @@ -12,7 +12,7 @@ mkdir -p "$DEST_PATH" echo "Installing PHP and JS dependencies..." pnpm install echo "Running JS Build..." -pnpm exec turbo run build --filter=woocommerce || exit "$?" +pnpm -w exec turbo run build --filter=woocommerce || exit "$?" echo "Cleaning up PHP dependencies..." composer install --no-dev || exit "$?" echo "Run makepot..." diff --git a/plugins/woocommerce/changelog/docs-turbo-update b/plugins/woocommerce/changelog/docs-turbo-update new file mode 100644 index 00000000000..7142f86e3a9 --- /dev/null +++ b/plugins/woocommerce/changelog/docs-turbo-update @@ -0,0 +1,5 @@ +Significance: patch +Type: dev +Comment: Updating documentation + + diff --git a/plugins/woocommerce/includes/class-woocommerce.php b/plugins/woocommerce/includes/class-woocommerce.php index 2249a4d8bb4..19783b0f734 100644 --- a/plugins/woocommerce/includes/class-woocommerce.php +++ b/plugins/woocommerce/includes/class-woocommerce.php @@ -971,7 +971,7 @@ final class WooCommerce { return; } - $message_one = __( 'You have installed a development version of WooCommerce which requires files to be built and minified. From the plugin directory, run pnpm install and then pnpm exec turbo run build --filter=woocommerce to build and minify assets.', 'woocommerce' ); + $message_one = __( 'You have installed a development version of WooCommerce which requires files to be built and minified. From the plugin directory, run pnpm install and then pnpm -- turbo run build --filter=woocommerce to build and minify assets.', 'woocommerce' ); $message_two = sprintf( /* translators: 1: URL of WordPress.org Repository 2: URL of the GitHub Repository release page */ __( 'Or you can download a pre-built version of the plugin from the WordPress.org repository or by visiting the releases page in the GitHub repository.', 'woocommerce' ), diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json index f1e580ba3c4..ce20f1478bd 100644 --- a/plugins/woocommerce/package.json +++ b/plugins/woocommerce/package.json @@ -56,6 +56,7 @@ "@woocommerce/woocommerce-rest-api": "^1.0.1", "@wordpress/babel-plugin-import-jsx-pragma": "1.1.3", "@wordpress/babel-preset-default": "3.0.2", + "@wordpress/env": "^4.8.0", "@wordpress/stylelint-config": "19.1.0", "allure-commandline": "^2.17.2", "allure-playwright": "^2.0.0-beta.16", diff --git a/plugins/woocommerce/tests/e2e/README.md b/plugins/woocommerce/tests/e2e/README.md index fb604553e10..16b4ca89913 100644 --- a/plugins/woocommerce/tests/e2e/README.md +++ b/plugins/woocommerce/tests/e2e/README.md @@ -122,7 +122,7 @@ Run the following in a terminal/command line window - `pnpm install` -- `pnpm exec turbo run build --filter=woocommerce` +- `pnpm -- turbo run build --filter=woocommerce` - `npm install jest --global` (this only needs to be done once) @@ -161,7 +161,7 @@ Note that running `pnpm docker:down --filter=woocommerce` and then `pnpm docker: To run e2e tests in headless mode use the following command: ```bash -pnpm exec turbo run e2e --filter=woocommerce +pnpm -- turbo run e2e --filter=woocommerce ``` ### How to run tests in non-headless mode @@ -169,7 +169,7 @@ pnpm exec turbo run e2e --filter=woocommerce Tests run in headless mode by default. However, sometimes it's useful to observe the browser while running or developing tests. To do so, you can run tests in a non-headless (dev) mode: ```bash -pnpm exec turbo run e2e:dev --filter=woocommerce +pnpm -- turbo run e2e:dev --filter=woocommerce ``` The dev mode also enables SlowMo mode. SlowMo slows down Puppeteer’s operations. This makes it easier to see what is happening in the browser. @@ -177,7 +177,7 @@ The dev mode also enables SlowMo mode. SlowMo slows down Puppeteer’s operation By default, SlowMo mode adds a 50 millisecond delay between test steps. If you'd like to override the length of the delay and have the tests run faster or slower in the `-dev` mode, pass `PUPPETEER_SLOWMO` variable when running tests as shown below: ``` -PUPPETEER_SLOWMO=10 pnpm exec turbo run e2e:dev --filter=woocommerce +PUPPETEER_SLOWMO=10 pnpm -- turbo run e2e:dev --filter=woocommerce ``` The faster you want the tests to run, the lower the value should be of `PUPPETEER_SLOWMO` should be. @@ -201,7 +201,7 @@ E2E_RETRY_TIMES=2 pnpm exec wc-e2e test:e2e Tests run in headless mode by default. While writing tests it may be useful to have the debugger loaded while running a test in non-headless mode. To run tests in debug mode: ```bash -pnpm exec turbo run e2e:debug --filter=woocommerce +pnpm -- turbo run e2e:debug --filter=woocommerce ``` When all tests have been completed the debugger remains active. Control doesn't return to the command line until the debugger is closed. Otherwise, debug mode functions the same as non-headless mode. @@ -212,7 +212,7 @@ To run an individual test, use the direct path to the spec. For example: ```bash cd plugins/woocommerce -pnpm exec wc-e2e test:e2e ./tests/e2e/specs/wp-admin/create-order.test.js +pnpm -- wc-e2e test:e2e ./tests/e2e/specs/wp-admin/create-order.test.js ``` ### How to skip tests @@ -380,6 +380,6 @@ The [WooCommerce E2E Tests Boilerplate repo](https://github.com/woocommerce/wooc ## Debugging tests -The test sequencer (`pnpm exec turbo run e2e --filter=woocommerce`) includes support for saving [screenshots on test errors](https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment#test-screenshots) which can be sent to a Slack channel via a [Slackbot](https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment#slackbot-setup). +The test sequencer (`pnpm -- turbo run e2e --filter=woocommerce`) includes support for saving [screenshots on test errors](https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment#test-screenshots) which can be sent to a Slack channel via a [Slackbot](https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment#slackbot-setup). For Puppeteer debugging, follow [Google's documentation](https://developers.google.com/web/tools/puppeteer/debugging). diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 429c07a9bd6..fef1e1b0b4d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -50,7 +50,7 @@ importers: request: ^2.88.2 sass: ^1.49.9 sass-loader: ^10.2.1 - turbo: ^1.2.9 + turbo: ^1.2.16 typescript: 4.2.4 url-loader: ^1.1.2 webpack: ^5.70.0 @@ -84,7 +84,7 @@ importers: '@types/node': 14.14.33 '@woocommerce/eslint-plugin': link:packages/js/eslint-plugin '@wordpress/data': 6.4.1 - '@wordpress/eslint-plugin': 11.0.1_e97ea7521b9baec0e8686a2ccc3f1625 + '@wordpress/eslint-plugin': 11.0.1_45b6e6918fb11850d1105a4fd2c5fed3 '@wordpress/prettier-config': 1.1.1 babel-loader: 8.2.3_d3f6fe5812216e437b67a6bf164a056c chalk: 4.1.2 @@ -99,12 +99,12 @@ importers: moment: 2.29.1 node-stream-zip: 1.15.0 postcss-loader: 3.0.0 - prettier: /wp-prettier/2.2.1-beta-1 + prettier: /wp-prettier/2.6.2 regenerator-runtime: 0.13.9 request: 2.88.2 sass: 1.49.9 sass-loader: 10.2.1_sass@1.49.9+webpack@5.70.0 - turbo: 1.2.9 + turbo: 1.2.16 typescript: 4.2.4 url-loader: 1.1.2_webpack@5.70.0 webpack: 5.70.0 @@ -1207,6 +1207,7 @@ importers: '@woocommerce/woocommerce-rest-api': ^1.0.1 '@wordpress/babel-plugin-import-jsx-pragma': 1.1.3 '@wordpress/babel-preset-default': 3.0.2 + '@wordpress/env': ^4.8.0 '@wordpress/stylelint-config': 19.1.0 allure-commandline: ^2.17.2 allure-playwright: ^2.0.0-beta.16 @@ -1248,6 +1249,7 @@ importers: '@woocommerce/woocommerce-rest-api': 1.0.1 '@wordpress/babel-plugin-import-jsx-pragma': 1.1.3_@babel+core@7.12.9 '@wordpress/babel-preset-default': 3.0.2 + '@wordpress/env': 4.8.0 '@wordpress/stylelint-config': 19.1.0_stylelint@13.13.1 allure-commandline: 2.17.2 allure-playwright: 2.0.0-beta.16 @@ -1614,6 +1616,7 @@ importers: '@wordpress/data': ^4.26.7 '@wordpress/data-controls': ^1.20.7 '@wordpress/element': ^2.19.1 + '@wordpress/env': ^4.8.0 '@wordpress/hooks': ^2.11.1 '@wordpress/scripts': ^19.2.4 eslint: 5.16.0 @@ -1631,6 +1634,7 @@ importers: devDependencies: '@woocommerce/dependency-extraction-webpack-plugin': link:../../packages/js/dependency-extraction-webpack-plugin '@woocommerce/eslint-plugin': link:../../packages/js/eslint-plugin + '@wordpress/env': 4.8.0 '@wordpress/scripts': 19.2.4_ee910045e4cc2812de8b965e303c7169 eslint: 5.16.0 uglify-js: 3.14.5 @@ -8214,7 +8218,7 @@ packages: dependencies: '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 16.10.3 + '@types/node': 17.0.21 jest-mock: 26.6.2 /@jest/environment/27.3.1: @@ -8262,7 +8266,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@sinonjs/fake-timers': 6.0.1 - '@types/node': 16.10.3 + '@types/node': 17.0.21 jest-message-util: 26.6.2 jest-mock: 26.6.2 jest-util: 26.6.2 @@ -8835,6 +8839,18 @@ packages: '@jridgewell/resolve-uri': 3.0.5 '@jridgewell/sourcemap-codec': 1.4.11 + /@kwsites/file-exists/1.1.1: + resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==} + dependencies: + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + + /@kwsites/promise-deferred/1.1.1: + resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==} + dev: true + /@mdx-js/loader/1.6.22: resolution: {integrity: sha512-9CjGwy595NaxAYp0hF9B/A0lH6C8Rms97e2JS9d3jVUtILn6pT5i5IV965ra3lIWc7Rs1GG1tBdVF7dCowYe6Q==} dependencies: @@ -9397,6 +9413,11 @@ packages: resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} dev: true + /@sindresorhus/is/2.1.1: + resolution: {integrity: sha512-/aPsuoj/1Dw/kzhkgz+ES6TxG0zfTMGLwuK2ZG00k/iJzYHTLCE8mVU8EPqEOp/lmxPoq1C1C9RYToRKb2KEfg==} + engines: {node: '>=10'} + dev: true + /@sindresorhus/is/4.6.0: resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} engines: {node: '>=10'} @@ -12046,7 +12067,6 @@ packages: engines: {node: '>=10'} dependencies: defer-to-connect: 2.0.1 - dev: false /@tannin/compile/1.1.0: resolution: {integrity: sha512-n8m9eNDfoNZoxdvWiTfW/hSPhehzLJ3zW7f8E7oT6mCROoMNWCB4TYtv041+2FMAxweiE0j7i1jubQU4MEC/Gg==} @@ -12242,7 +12262,6 @@ packages: '@types/keyv': 3.1.4 '@types/node': 17.0.21 '@types/responselike': 1.0.0 - dev: false /@types/cheerio/0.22.30: resolution: {integrity: sha512-t7ZVArWZlq3dFa9Yt33qFBQIK4CQd1Q3UJp0V+UhP6vgLWLM6Qug7vZuRSGXg45zXeB1Fm5X2vmBkEX58LV2Tw==} @@ -12350,7 +12369,6 @@ packages: /@types/http-cache-semantics/4.0.1: resolution: {integrity: sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==} - dev: false /@types/is-function/1.0.1: resolution: {integrity: sha512-A79HEEiwXTFtfY+Bcbo58M2GRYzCr9itHWzbzHVFNEYCcoU/MMGwYYf721gBrnhpj1s6RGVVha/IgNFnR0Iw/Q==} @@ -13957,8 +13975,8 @@ packages: webpack: 4.x.x || 5.x.x webpack-cli: 4.x.x dependencies: - webpack: 5.70.0_webpack-cli@4.9.2 - webpack-cli: 4.9.2_b04de8011015a40c567469bf79798750 + webpack: 5.70.0_09a0288cc3aa3015774a489e904fdd90 + webpack-cli: 4.9.2_ef5a9a6d45a146bbab2769a98537c0d5 dev: true /@webpack-cli/info/1.4.1_webpack-cli@4.9.2: @@ -13967,7 +13985,7 @@ packages: webpack-cli: 4.x.x dependencies: envinfo: 7.8.1 - webpack-cli: 4.9.2_b04de8011015a40c567469bf79798750 + webpack-cli: 4.9.2_ef5a9a6d45a146bbab2769a98537c0d5 dev: true /@webpack-cli/serve/1.6.1_webpack-cli@4.9.2: @@ -13979,7 +13997,7 @@ packages: webpack-dev-server: optional: true dependencies: - webpack-cli: 4.9.2_b04de8011015a40c567469bf79798750 + webpack-cli: 4.9.2_ef5a9a6d45a146bbab2769a98537c0d5 dev: true /@wojtekmaj/enzyme-adapter-react-17/0.6.6_enzyme@3.11.0: @@ -14912,7 +14930,7 @@ packages: webpack: ^4.8.3 || ^5.0.0 dependencies: json2php: 0.0.4 - webpack: 5.70.0_webpack-cli@3.3.12 + webpack: 5.70.0_09a0288cc3aa3015774a489e904fdd90 webpack-sources: 3.2.3 /@wordpress/deprecated/2.12.3: @@ -15120,6 +15138,26 @@ packages: react-dom: 17.0.2_react@17.0.2 dev: false + /@wordpress/env/4.8.0: + resolution: {integrity: sha512-PiXP4z0txUdjmhW+8/43efa8gajWHr+LIO6OQt1LEM413TBFSjcjQtV4Q1Y/VaOkp7IqQ/XOveFBAVyi2NxkBA==} + hasBin: true + dependencies: + chalk: 4.1.2 + copy-dir: 1.3.0 + docker-compose: 0.22.2 + extract-zip: 1.7.0 + got: 10.7.0 + inquirer: 7.3.3 + js-yaml: 3.14.1 + ora: 4.1.1 + rimraf: 3.0.2 + simple-git: 3.7.1 + terminal-link: 2.1.1 + yargs: 17.5.1 + transitivePeerDependencies: + - supports-color + dev: true + /@wordpress/escape-html/1.12.2: resolution: {integrity: sha512-FabgSwznhdaUwe6hr1CsGpgxQbzqEoGevv73WIL1B9GvlZ6csRWodgHfWh4P6fYqpzxFL4WYB8wPJ1PdO32XFA==} dependencies: @@ -15190,6 +15228,44 @@ packages: - supports-color dev: true + /@wordpress/eslint-plugin/11.0.1_45b6e6918fb11850d1105a4fd2c5fed3: + resolution: {integrity: sha512-HDKwKjOmCaWdyJEtWKRAd0xK/NAXL/ykUP/I8l+zCvzvCXbS1UuixWN09RRzl09tv17JUtPiEqehDilkWRCBZg==} + engines: {node: '>=12', npm: '>=6.9'} + peerDependencies: + '@babel/core': '>=7' + eslint: '>=8' + prettier: '>=2' + typescript: '>=4' + peerDependenciesMeta: + prettier: + optional: true + typescript: + optional: true + dependencies: + '@babel/core': 7.12.9 + '@babel/eslint-parser': 7.17.0_@babel+core@7.12.9 + '@typescript-eslint/eslint-plugin': 5.15.0_db3cd493186c3234b80a3843c7aaf877 + '@typescript-eslint/parser': 5.15.0_typescript@4.2.4 + '@wordpress/babel-preset-default': 6.6.1 + '@wordpress/prettier-config': 1.1.3 + cosmiconfig: 7.0.1 + eslint-config-prettier: 8.5.0 + eslint-plugin-import: 2.25.4 + eslint-plugin-jest: 25.7.0_a17cfd3e96203023414471d4aee9df06 + eslint-plugin-jsdoc: 37.9.7 + eslint-plugin-jsx-a11y: 6.5.1 + eslint-plugin-prettier: 3.4.1_93aed9f9c1dbf782336866b35bfb42b9 + eslint-plugin-react: 7.29.4 + eslint-plugin-react-hooks: 4.3.0 + globals: 13.12.0 + prettier: /wp-prettier/2.6.2 + requireindex: 1.2.0 + typescript: 4.2.4 + transitivePeerDependencies: + - jest + - supports-color + dev: true + /@wordpress/eslint-plugin/11.0.1_7c040a9b494a33cf8bf9079642892fb1: resolution: {integrity: sha512-HDKwKjOmCaWdyJEtWKRAd0xK/NAXL/ykUP/I8l+zCvzvCXbS1UuixWN09RRzl09tv17JUtPiEqehDilkWRCBZg==} engines: {node: '>=12', npm: '>=6.9'} @@ -15228,44 +15304,6 @@ packages: - jest - supports-color - /@wordpress/eslint-plugin/11.0.1_e97ea7521b9baec0e8686a2ccc3f1625: - resolution: {integrity: sha512-HDKwKjOmCaWdyJEtWKRAd0xK/NAXL/ykUP/I8l+zCvzvCXbS1UuixWN09RRzl09tv17JUtPiEqehDilkWRCBZg==} - engines: {node: '>=12', npm: '>=6.9'} - peerDependencies: - '@babel/core': '>=7' - eslint: '>=8' - prettier: '>=2' - typescript: '>=4' - peerDependenciesMeta: - prettier: - optional: true - typescript: - optional: true - dependencies: - '@babel/core': 7.12.9 - '@babel/eslint-parser': 7.17.0_@babel+core@7.12.9 - '@typescript-eslint/eslint-plugin': 5.15.0_db3cd493186c3234b80a3843c7aaf877 - '@typescript-eslint/parser': 5.15.0_typescript@4.2.4 - '@wordpress/babel-preset-default': 6.6.1 - '@wordpress/prettier-config': 1.1.3 - cosmiconfig: 7.0.1 - eslint-config-prettier: 8.5.0 - eslint-plugin-import: 2.25.4 - eslint-plugin-jest: 25.7.0_a17cfd3e96203023414471d4aee9df06 - eslint-plugin-jsdoc: 37.9.7 - eslint-plugin-jsx-a11y: 6.5.1 - eslint-plugin-prettier: 3.4.1_a80e9f01b6decf22ea798f6e74ee3e78 - eslint-plugin-react: 7.29.4 - eslint-plugin-react-hooks: 4.3.0 - globals: 13.12.0 - prettier: /wp-prettier/2.2.1-beta-1 - requireindex: 1.2.0 - typescript: 4.2.4 - transitivePeerDependencies: - - jest - - supports-color - dev: true - /@wordpress/eslint-plugin/7.4.0_eslint@7.32.0+typescript@4.6.2: resolution: {integrity: sha512-HJpDYz2drtC9rY8MiYtYJ3cimioEIweGyb3P2DQTjUZ3sC4AGg+97PhXLHUdKfsFQ31JRxyLS9kKuGdDVBwWww==} engines: {node: '>=10', npm: '>=6.9'} @@ -16694,7 +16732,7 @@ packages: engines: {node: '>=0.10.0'} /ansi-regex/3.0.0: - resolution: {integrity: sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=} + resolution: {integrity: sha512-wFUFA5bg5dviipbQQ32yOQhl6gcJaJXiHE7dvR8VYPG97+J/GNC5FKGepKdEDUFeXRzDxPF1X/Btc8L+v7oqIQ==} engines: {node: '>=4'} /ansi-regex/4.1.0: @@ -16711,7 +16749,7 @@ packages: dev: true /ansi-styles/2.2.1: - resolution: {integrity: sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=} + resolution: {integrity: sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==} engines: {node: '>=0.10.0'} /ansi-styles/3.2.1: @@ -17374,7 +17412,7 @@ packages: loader-utils: 1.4.0 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 4.46.0_webpack-cli@3.3.12 + webpack: 4.46.0 dev: true /babel-loader/8.2.3_d3f6fe5812216e437b67a6bf164a056c: @@ -17404,7 +17442,7 @@ packages: loader-utils: 1.4.0 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.70.0_webpack-cli@4.9.2 + webpack: 5.70.0 dev: true /babel-messages/6.23.0: @@ -18512,6 +18550,14 @@ packages: union-value: 1.0.1 unset-value: 1.0.0 + /cacheable-lookup/2.0.1: + resolution: {integrity: sha512-EMMbsiOTcdngM/K6gV/OxF2x0t07+vMOWxZNSCRQMjO2MY2nhZQ6OYhOOpyQrbhqsgtvKGI7hcq6xjnA92USjg==} + engines: {node: '>=10'} + dependencies: + '@types/keyv': 3.1.4 + keyv: 4.1.1 + dev: true + /cacheable-lookup/5.0.4: resolution: {integrity: sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==} engines: {node: '>=10.6.0'} @@ -18528,7 +18574,6 @@ packages: lowercase-keys: 2.0.0 normalize-url: 6.1.0 responselike: 2.0.0 - dev: false /call-bind/1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} @@ -18707,7 +18752,7 @@ packages: dev: true /chalk/1.1.3: - resolution: {integrity: sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=} + resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==} engines: {node: '>=0.10.0'} dependencies: ansi-styles: 2.2.1 @@ -19017,7 +19062,7 @@ packages: dev: true /cli-cursor/2.1.0: - resolution: {integrity: sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=} + resolution: {integrity: sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==} engines: {node: '>=4'} dependencies: restore-cursor: 2.0.0 @@ -19148,17 +19193,16 @@ packages: dev: true /clone-response/1.0.2: - resolution: {integrity: sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=} + resolution: {integrity: sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==} dependencies: mimic-response: 1.0.1 - dev: false /clone-stats/1.0.0: resolution: {integrity: sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=} dev: true /clone/1.0.4: - resolution: {integrity: sha1-2jCcwmPfFZlMaIypAheco8fNfH4=} + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} /clone/2.1.2: @@ -19547,6 +19591,10 @@ packages: resolution: {integrity: sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=} engines: {node: '>=0.10.0'} + /copy-dir/1.3.0: + resolution: {integrity: sha512-Q4+qBFnN4bwGwvtXXzbp4P/4iNk0MaiGAzvQ8OiMtlLjkIKjmNN689uVzShSM0908q7GoFHXIPx4zi75ocoaHw==} + dev: true + /copy-to-clipboard/3.3.1: resolution: {integrity: sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==} dependencies: @@ -19832,7 +19880,7 @@ packages: postcss-value-parser: 4.2.0 schema-utils: 2.7.1 semver: 6.3.0 - webpack: 4.46.0_webpack-cli@3.3.12 + webpack: 4.46.0 dev: true /css-loader/3.6.0_webpack@5.70.0: @@ -20359,6 +20407,13 @@ packages: resolution: {integrity: sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=} engines: {node: '>=0.10'} + /decompress-response/5.0.0: + resolution: {integrity: sha512-TLZWWybuxWgoW7Lykv+gq9xvzOsUjQ9tF09Tj6NSTYGMTCHNXzrPnD6Hi+TgZq19PyTAGH4Ll/NIM/eTGglnMw==} + engines: {node: '>=10'} + dependencies: + mimic-response: 2.1.0 + dev: true + /decompress-response/6.0.0: resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} engines: {node: '>=10'} @@ -20410,14 +20465,13 @@ packages: dev: true /defaults/1.0.3: - resolution: {integrity: sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=} + resolution: {integrity: sha512-s82itHOnYrN0Ib8r+z7laQz3sdE+4FP3d9Q7VLO7U+KRT+CR0GsWuyHxzdAY82I7cXv0G/twrqomTJLOssO5HA==} dependencies: clone: 1.0.4 /defer-to-connect/2.0.1: resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==} engines: {node: '>=10'} - dev: false /define-properties/1.1.3: resolution: {integrity: sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==} @@ -20609,6 +20663,11 @@ packages: /discontinuous-range/1.0.0: resolution: {integrity: sha1-44Mx8IRLukm5qctxx3FYWqsbxlo=} + /docker-compose/0.22.2: + resolution: {integrity: sha512-iXWb5+LiYmylIMFXvGTYsjI1F+Xyx78Jm/uj1dxwwZLbWkUdH6yOXY5Nr3RjbYX15EgbGJCq78d29CmWQQQMPg==} + engines: {node: '>= 6.0.0'} + dev: true + /doctrine/2.1.0: resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} engines: {node: '>=0.10.0'} @@ -20794,7 +20853,7 @@ packages: dev: true /duplexer3/0.1.4: - resolution: {integrity: sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=} + resolution: {integrity: sha512-CEj8FwwNA4cVH2uFCoHUrmojhYh1vmCdOaneKJXwkeY1i9jnlslVo9dx+hQ5Hl9GnH/Bwy/IjxAyOePyPKYnzA==} dev: true /duplexify/3.7.1: @@ -21252,7 +21311,7 @@ packages: dev: true /escape-string-regexp/1.0.5: - resolution: {integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=} + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} /escape-string-regexp/2.0.0: @@ -21835,7 +21894,7 @@ packages: prettier: /wp-prettier/2.2.1-beta-1 prettier-linter-helpers: 1.0.0 - /eslint-plugin-prettier/3.4.1_a80e9f01b6decf22ea798f6e74ee3e78: + /eslint-plugin-prettier/3.4.1_93aed9f9c1dbf782336866b35bfb42b9: resolution: {integrity: sha512-htg25EUYUeIhKHXjOinK4BgCcDwtLHjqaxCDsMy5nbnUMkKFvIhMVCp+5GFUXQ4Nr8lBsPqtGAqBenbpFqAA2g==} engines: {node: '>=6.0.0'} peerDependencies: @@ -21847,7 +21906,7 @@ packages: optional: true dependencies: eslint-config-prettier: 8.5.0 - prettier: /wp-prettier/2.2.1-beta-1 + prettier: /wp-prettier/2.6.2 prettier-linter-helpers: 1.0.0 dev: true @@ -22675,7 +22734,7 @@ packages: npm-run-path: 4.0.1 onetime: 5.1.2 p-finally: 2.0.1 - signal-exit: 3.0.5 + signal-exit: 3.0.7 strip-final-newline: 2.0.0 /execa/4.1.0: @@ -23038,7 +23097,7 @@ packages: dev: true /figures/2.0.0: - resolution: {integrity: sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=} + resolution: {integrity: sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==} engines: {node: '>=4'} dependencies: escape-string-regexp: 1.0.5 @@ -24259,6 +24318,27 @@ packages: dependencies: delegate: 3.2.0 + /got/10.7.0: + resolution: {integrity: sha512-aWTDeNw9g+XqEZNcTjMMZSy7B7yE9toWOFYip7ofFTLleJhvZwUxxTxkTpKvF+p1SAA4VHmuEy7PiHTHyq8tJg==} + engines: {node: '>=10'} + dependencies: + '@sindresorhus/is': 2.1.1 + '@szmarczak/http-timer': 4.0.6 + '@types/cacheable-request': 6.0.2 + cacheable-lookup: 2.0.1 + cacheable-request: 7.0.2 + decompress-response: 5.0.0 + duplexer3: 0.1.4 + get-stream: 5.2.0 + lowercase-keys: 2.0.0 + mimic-response: 2.1.0 + p-cancelable: 2.1.1 + p-event: 4.2.0 + responselike: 2.0.0 + to-readable-stream: 2.1.0 + type-fest: 0.10.0 + dev: true + /got/11.8.3: resolution: {integrity: sha512-7gtQ5KiPh1RtGS9/Jbv1ofDpBFuq42gyfEib+ejaRBJuj/3tQFeR5+gw57e4ipaU8c/rCjvX6fkQz2lyDlGAOg==} engines: {node: '>=10.19.0'} @@ -24580,7 +24660,7 @@ packages: source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: 3.14.5 + uglify-js: 3.16.0 dev: true /har-schema/2.0.0: @@ -25685,7 +25765,7 @@ packages: dev: true /is-fullwidth-code-point/2.0.0: - resolution: {integrity: sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=} + resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} engines: {node: '>=4'} /is-fullwidth-code-point/3.0.0: @@ -25986,11 +26066,11 @@ packages: dev: false /isarray/0.0.1: - resolution: {integrity: sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=} + resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} dev: false /isarray/1.0.0: - resolution: {integrity: sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=} + resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} /isarray/2.0.1: resolution: {integrity: sha512-c2cu3UxbI+b6kR3fy0nRnAhodsvR9dx7U5+znCOzdj6IfP3upFURTr0Xl5BlQZNKZjEtxrmVyfSdeE3O57smoQ==} @@ -27464,7 +27544,7 @@ packages: engines: {node: '>= 10.14.2'} dependencies: '@jest/types': 26.6.2 - '@types/node': 16.10.3 + '@types/node': 17.0.21 /jest-mock/27.3.0: resolution: {integrity: sha512-ziZiLk0elZOQjD08bLkegBzv5hCABu/c8Ytx45nJKkysQwGaonvmTxwjLqEA4qGdasq9o2I8/HtdGMNnVsMTGw==} @@ -28758,7 +28838,6 @@ packages: /json-buffer/3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} - dev: false /json-parse-better-errors/1.0.2: resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} @@ -28871,7 +28950,6 @@ packages: resolution: {integrity: sha512-tGv1yP6snQVDSM4X6yxrv2zzq/EvpW+oYiUz6aueW1u9CtS8RzUQYxxmFwgZlO2jSgCxQbchhxaqXXp2hnKGpQ==} dependencies: json-buffer: 3.0.1 - dev: false /kind-of/2.0.1: resolution: {integrity: sha512-0u8i1NZ/mg0b+W3MGGw5I7+6Eib2nx72S/QvXa0hYjEkjTknYmEYQJwGu3mLC0BrhtJjtQafTkyRUQ75Kx0LVg==} @@ -29381,7 +29459,6 @@ packages: /lowercase-keys/2.0.0: resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==} engines: {node: '>=8'} - dev: false /lowlight/1.20.0: resolution: {integrity: sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==} @@ -30023,7 +30100,11 @@ packages: /mimic-response/1.0.1: resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==} engines: {node: '>=4'} - dev: false + + /mimic-response/2.1.0: + resolution: {integrity: sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==} + engines: {node: '>=8'} + dev: true /mimic-response/3.1.0: resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} @@ -30060,7 +30141,7 @@ packages: webpack: ^5.0.0 dependencies: schema-utils: 4.0.0 - webpack: 5.70.0 + webpack: 5.70.0_09a0288cc3aa3015774a489e904fdd90 /minimalistic-assert/1.0.1: resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} @@ -30292,7 +30373,7 @@ packages: dev: true /ms/2.0.0: - resolution: {integrity: sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=} + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} /ms/2.1.1: resolution: {integrity: sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==} @@ -30316,7 +30397,7 @@ packages: dev: true /mute-stream/0.0.7: - resolution: {integrity: sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=} + resolution: {integrity: sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==} dev: true /mute-stream/0.0.8: @@ -30706,7 +30787,7 @@ packages: ajv-errors: 1.0.1_ajv@6.12.6 chalk: 4.1.2 cosmiconfig: 7.0.1 - debug: 4.3.3 + debug: 4.3.4 globby: 11.1.0 ignore: 5.2.0 is-plain-obj: 3.0.0 @@ -31000,12 +31081,12 @@ packages: dev: true /once/1.4.0: - resolution: {integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E=} + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} dependencies: wrappy: 1.0.2 /onetime/2.0.1: - resolution: {integrity: sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=} + resolution: {integrity: sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==} engines: {node: '>=4'} dependencies: mimic-fn: 1.2.0 @@ -31060,6 +31141,20 @@ packages: word-wrap: 1.2.3 dev: true + /ora/4.1.1: + resolution: {integrity: sha512-sjYP8QyVWBpBZWD6Vr1M/KwknSw6kJOz41tvGMlwWeClHBtYKTbHMki1PsLZnxKpXMPbTKv9b3pjQu3REib96A==} + engines: {node: '>=8'} + dependencies: + chalk: 3.0.0 + cli-cursor: 3.1.0 + cli-spinners: 2.6.1 + is-interactive: 1.0.0 + log-symbols: 3.0.0 + mute-stream: 0.0.8 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + dev: true + /ora/5.4.1: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} engines: {node: '>=10'} @@ -31091,7 +31186,7 @@ packages: dev: true /os-tmpdir/1.0.2: - resolution: {integrity: sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=} + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} engines: {node: '>=0.10.0'} /osenv/0.1.5: @@ -31115,7 +31210,6 @@ packages: /p-cancelable/2.1.1: resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==} engines: {node: '>=8'} - dev: false /p-defer/1.0.0: resolution: {integrity: sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=} @@ -31148,7 +31242,7 @@ packages: dev: true /p-finally/1.0.0: - resolution: {integrity: sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=} + resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} engines: {node: '>=4'} /p-finally/2.0.1: @@ -34534,7 +34628,7 @@ packages: uuid: 3.4.0 /require-directory/2.1.1: - resolution: {integrity: sha1-jGStX9MNqxyXbiNE/+f3kqam30I=} + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} /require-from-string/2.0.2: @@ -34637,10 +34731,9 @@ packages: resolution: {integrity: sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw==} dependencies: lowercase-keys: 2.0.0 - dev: false /restore-cursor/2.0.0: - resolution: {integrity: sha1-n37ih/gv0ybU/RYpI9YhKe7g368=} + resolution: {integrity: sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==} engines: {node: '>=4'} dependencies: onetime: 2.0.1 @@ -35191,12 +35284,19 @@ packages: get-intrinsic: 1.1.1 object-inspect: 1.12.0 - /signal-exit/3.0.5: - resolution: {integrity: sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==} - /signal-exit/3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + /simple-git/3.7.1: + resolution: {integrity: sha512-+Osjtsumbtew2y9to0pOYjNzSIr4NkKGBg7Po5SUtjQhaJf2QBmiTX/9E9cv9rmc7oUiSGFIB9e7ys5ibnT9+A==} + dependencies: + '@kwsites/file-exists': 1.1.1 + '@kwsites/promise-deferred': 1.1.1 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + /simple-html-tokenizer/0.5.11: resolution: {integrity: sha512-C2WEK/Z3HoSFbYq8tI7ni3eOo/NneSPRoPpcM7WdLjFOArFuyXEjAoCdOC3DgMfRyziZQ1hCNR4mrNdWEvD0og==} dev: false @@ -35493,7 +35593,7 @@ packages: extend-shallow: 3.0.2 /sprintf-js/1.0.3: - resolution: {integrity: sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=} + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} /sprintf-js/1.1.2: resolution: {integrity: sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==} @@ -35731,7 +35831,7 @@ packages: define-properties: 1.1.3 /string_decoder/0.10.31: - resolution: {integrity: sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=} + resolution: {integrity: sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==} dev: true /string_decoder/1.1.1: @@ -35753,13 +35853,13 @@ packages: dev: false /strip-ansi/3.0.1: - resolution: {integrity: sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=} + resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==} engines: {node: '>=0.10.0'} dependencies: ansi-regex: 2.1.1 /strip-ansi/4.0.0: - resolution: {integrity: sha1-qEeQIusaw2iocTibY1JixQXuNo8=} + resolution: {integrity: sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==} engines: {node: '>=4'} dependencies: ansi-regex: 3.0.0 @@ -36060,7 +36160,7 @@ packages: balanced-match: 2.0.0 chalk: 4.1.2 cosmiconfig: 7.0.1 - debug: 4.3.2 + debug: 4.3.4 execall: 2.0.0 fast-glob: 3.2.7 fastest-levenshtein: 1.0.12 @@ -36253,7 +36353,7 @@ packages: dev: false /supports-color/2.0.0: - resolution: {integrity: sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=} + resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==} engines: {node: '>=0.8.0'} /supports-color/3.2.3: @@ -36517,7 +36617,7 @@ packages: serialize-javascript: 4.0.0 source-map: 0.6.1 terser: 4.8.0 - webpack: 4.46.0_webpack-cli@3.3.12 + webpack: 4.46.0 webpack-sources: 1.4.3 worker-farm: 1.7.0 dev: true @@ -36628,7 +36728,7 @@ packages: serialize-javascript: 6.0.0 source-map: 0.6.1 terser: 5.10.0_acorn@8.7.0 - webpack: 5.70.0_webpack-cli@3.3.12 + webpack: 5.70.0 transitivePeerDependencies: - acorn dev: true @@ -36805,7 +36905,7 @@ packages: dev: true /through/2.3.8: - resolution: {integrity: sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=} + resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} /through2/2.0.5: resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} @@ -36901,6 +37001,11 @@ packages: dependencies: kind-of: 3.2.2 + /to-readable-stream/2.1.0: + resolution: {integrity: sha512-o3Qa6DGg1CEXshSdvWNX2sN4QHqg03SPq7U6jPXRahlQdl5dK8oXjkU/2/sGrnOZKeGV1zLSO8qPwyKklPPE7w==} + engines: {node: '>=8'} + dev: true + /to-regex-range/2.1.1: resolution: {integrity: sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=} engines: {node: '>=0.10.0'} @@ -37307,128 +37412,128 @@ packages: /turbo-combine-reducers/1.0.2: resolution: {integrity: sha512-gHbdMZlA6Ym6Ur5pSH/UWrNQMIM9IqTH6SoL1DbHpqEdQ8i+cFunSmSlFykPt0eGQwZ4d/XTHOl74H0/kFBVWw==} - /turbo-darwin-64/1.2.9: - resolution: {integrity: sha512-rVwDQpi6p0GwTiqSsvtA1b3RvKl8l2y+ElZ3EKGiIIJYZt1D6wBMJoADaZ9uZ/LWkT+WKfAWNtKdwRmuBAOS6g==} + /turbo-darwin-64/1.2.16: + resolution: {integrity: sha512-dyitLQJdH3uLVdlH9jAkP4LqEO/K+wOXjUqOzjTciRLjQPzmsNY60/bmFHODADK4eBBl1nxbtn7tmmoT4vS1qA==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64/1.2.9: - resolution: {integrity: sha512-j7NgQHkQWWODw1I/saiqmjjD54uGAEq0qTTtLI3RoLaA+yI+awXmHwsiHRqsvGSyGJlBoKBcbxXkekLf21q3GA==} + /turbo-darwin-arm64/1.2.16: + resolution: {integrity: sha512-Ex6uM4HU7rGXdhvJMpzNpp6qxglJ98nWeIi5qR/lBXHLjK3UCvSW8BEALArUJYJTXS9FZBq1a5LowFqXYsfDcA==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-freebsd-64/1.2.9: - resolution: {integrity: sha512-+tLb3iCOrIeGrcOJZYey5mD9qgNgKYuwRRg6FeX/6TDITvZXcCS50A2uRbaD/PQzQKs1lHcshiCe/DRtbvJ63g==} + /turbo-freebsd-64/1.2.16: + resolution: {integrity: sha512-onRGKMvog8B3XDssSBIAg+FrEq9pcBoAybP7bpi/uYIH1L/WQ7YMmLn88X9JX19ehYuVOVZrjap4jWH2GIkU8A==} cpu: [x64] os: [freebsd] requiresBuild: true dev: true optional: true - /turbo-freebsd-arm64/1.2.9: - resolution: {integrity: sha512-gwI8jocTf036kc9GI1BebzftxrkT5pewHPA2iqvAXAJpX01G1x1iGcl8/uIbkbL5hp038nu+l2Kb+lRI96sJuA==} + /turbo-freebsd-arm64/1.2.16: + resolution: {integrity: sha512-S0EqPqxwnJuVNNXRgcHB0r8ai8LSrpHdihVJKRM7WYmIR7isccBEf/G9agrt73sCXwjvenxFs4HDR7cSvGt14Q==} cpu: [arm64] os: [freebsd] requiresBuild: true dev: true optional: true - /turbo-linux-32/1.2.9: - resolution: {integrity: sha512-Rm47bIsCHIae/DkXJ58YrWvdh8o4Ug9U4VnTDb9byXrz2B7624ol9XdfpXv429z7LXkQR1+WnwCMwFB4K6DyuQ==} + /turbo-linux-32/1.2.16: + resolution: {integrity: sha512-ecbqmGOxgTWePGrowtwyvZGfvwaLxFWmPK21cU0PS+fzoZBaVmzYmniTdd/2EkGCw7TOPhtiT22v96fWcnRycA==} cpu: [ia32] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-64/1.2.9: - resolution: {integrity: sha512-8Gqi+TzEdmOmxxAukU0NO0JlIqdm98C97u9qEsxWrXTFL/xL21gKCixqsBTEO7JOISC4M8VjArxjSsITRbkD5g==} + /turbo-linux-64/1.2.16: + resolution: {integrity: sha512-q6gtdMWCzM0Sktkd73zcaQjNoeM1MjtrbwQBctWN/Sgj0eiPBPnzpIvokvx98x7RLf4qyI99/mlme0Dn5fx21A==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm/1.2.9: - resolution: {integrity: sha512-OS+XCWiGFbuM7UNBVQdVbIJqxhVu9Sr2WxQgDcGZpCYn32yLLPlWDDGL0Cl/EG006J9k+VS1e4OzyM6kfMxS9Q==} + /turbo-linux-arm/1.2.16: + resolution: {integrity: sha512-du7uvExELNb89V3g7iM0XP21fR1Yl3EoHRcOfQz32oUqnS7idCKvbEowM9LtiluQl1dKcOIJjn1nlvvsqzkhOg==} cpu: [arm] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64/1.2.9: - resolution: {integrity: sha512-FVIeM7koUtyu1cNAJhPYjb90kL/ICdWoJr4PoZZYnqty5sxLsBg75bVErEDQeDzKQvwXLlcax2lEzHvaSyn/wg==} + /turbo-linux-arm64/1.2.16: + resolution: {integrity: sha512-gUf67tYJ/N09WAZTTmtUWYrqm381tZxiulnRGAIM+iRsaTrweyUKZaYXwJvlPpI/cQOw25wCG9/IyvxLeagL8A==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-mips64le/1.2.9: - resolution: {integrity: sha512-2zVBnOVivWGpl51qO/lycfw7euM4b04AXYUmhsWkUN3FygIwyNgjuiMU8rxQOlu9VGX8X+WXkX2gfbgTovTeFw==} + /turbo-linux-mips64le/1.2.16: + resolution: {integrity: sha512-U5BM+Ql3z13uRtwMmKH/8eL+9DdTgyijC2gaX4xP0RTlcN7WfAstg8Fg/Tn2Vw9vtpVDdxwpw7dvX4kw2ghhpA==} cpu: [mips64el] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-ppc64le/1.2.9: - resolution: {integrity: sha512-EGgKyzf8IhodOF32BvE3Zlgbr/dSGuUbemC9RGSuhF1F1PMnP1nYS/t3JWN5QKZU4O2uWiIyLdC/0ZjtcGAcZQ==} + /turbo-linux-ppc64le/1.2.16: + resolution: {integrity: sha512-HQWSCmVZyc5chw7Ie2ZcfZPfmM06mbEEu0Wl11Y5QWh1ZzhPNQHs/TsF4I9r146wHi62XgcrKFjkw4ARZiWsLA==} cpu: [ppc64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-32/1.2.9: - resolution: {integrity: sha512-XrMJMUtewlfksBUB0R7Tyw16IoqshVl6f/3R2ccMccddEMcvak0oW03FK9n+Y4F+wyIoJ22AVhu8jMv+HgEehA==} + /turbo-windows-32/1.2.16: + resolution: {integrity: sha512-0ZtPz5FK2qZjznMG4vvRyaabrhO8BgbN+tBx1wjXSuoICTAjYi5TwRVVRh59c3x7qQmR21Cv33CrhLBPRfeAlg==} cpu: [ia32] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-64/1.2.9: - resolution: {integrity: sha512-ewhj4MrqcMpW/keag4xG7YRLTJ7PzcqBc6Kc96OGD2qfK/uJV/r7H3Xt09WuYHRWwPgGEeNn8utpqdqbYfCVDw==} + /turbo-windows-64/1.2.16: + resolution: {integrity: sha512-j8iAIixq/rGfBpHNbYOosxMasZrGuMzLILEuQGDxZgKNpYgobJ15QFHQlGR9sit1b8qPU5zZX4CtByRtkgH1Bw==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64/1.2.9: - resolution: {integrity: sha512-B8BoNb/yZWAyKwQUbs2+UFzLmOu/WGv/+ADT6SQfI8jOaTenS7Od4bbMsGJT0iXcqv+v8TcWKX83KmQ6gxBQpg==} + /turbo-windows-arm64/1.2.16: + resolution: {integrity: sha512-4GpcJG3B8R9WDhwfT8fu6ZmOOfseCg6Q1cy/G8/zpJQk769yYcSnD8MgQhYgHB58aVFxZcMxBvLL6UA0UrpgWA==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo/1.2.9: - resolution: {integrity: sha512-aPGzZqmUHE9yx9TS7wcAJnDmXiuQSNXDwU5b1KrgNlFuID18TL443wna79p7k4awmf4Yuhu1cSZIvO+se72iVQ==} + /turbo/1.2.16: + resolution: {integrity: sha512-PPUa2COKgFkyb6N3uF9AnIY3l9FZkF15QQ3U1K2wpI01D3gyGKQO0Q3DUQ4ipmciP0teBfL7H+l/QTrUA9IVvQ==} hasBin: true requiresBuild: true optionalDependencies: - turbo-darwin-64: 1.2.9 - turbo-darwin-arm64: 1.2.9 - turbo-freebsd-64: 1.2.9 - turbo-freebsd-arm64: 1.2.9 - turbo-linux-32: 1.2.9 - turbo-linux-64: 1.2.9 - turbo-linux-arm: 1.2.9 - turbo-linux-arm64: 1.2.9 - turbo-linux-mips64le: 1.2.9 - turbo-linux-ppc64le: 1.2.9 - turbo-windows-32: 1.2.9 - turbo-windows-64: 1.2.9 - turbo-windows-arm64: 1.2.9 + turbo-darwin-64: 1.2.16 + turbo-darwin-arm64: 1.2.16 + turbo-freebsd-64: 1.2.16 + turbo-freebsd-arm64: 1.2.16 + turbo-linux-32: 1.2.16 + turbo-linux-64: 1.2.16 + turbo-linux-arm: 1.2.16 + turbo-linux-arm64: 1.2.16 + turbo-linux-mips64le: 1.2.16 + turbo-linux-ppc64le: 1.2.16 + turbo-windows-32: 1.2.16 + turbo-windows-64: 1.2.16 + turbo-windows-arm64: 1.2.16 dev: true /tweetnacl/0.14.5: @@ -37451,6 +37556,11 @@ packages: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} + /type-fest/0.10.0: + resolution: {integrity: sha512-EUV9jo4sffrwlg8s0zDhP0T2WD3pru5Xi0+HTE3zTUmBaZNhfkite9PdSJwdXLwPVW0jnAHT56pZHIOYckPEiw==} + engines: {node: '>=8'} + dev: true + /type-fest/0.13.1: resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} engines: {node: '>=10'} @@ -37496,7 +37606,7 @@ packages: is-typedarray: 1.0.0 /typedarray/0.0.6: - resolution: {integrity: sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=} + resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} /typescript/3.9.7: resolution: {integrity: sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==} @@ -37537,6 +37647,14 @@ packages: requiresBuild: true dev: true + /uglify-js/3.16.0: + resolution: {integrity: sha512-FEikl6bR30n0T3amyBh3LoiBdqHRy/f4H80+My34HOesOKyHfOsxAPAxOoqC0JUnC1amnO0IwkYC3sko51caSw==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /unbox-primitive/1.0.1: resolution: {integrity: sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==} dependencies: @@ -38333,7 +38451,7 @@ packages: dev: true /wcwidth/1.0.1: - resolution: {integrity: sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=} + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} dependencies: defaults: 1.0.3 @@ -39058,6 +39176,12 @@ packages: hasBin: true dev: true + /wp-prettier/2.6.2: + resolution: {integrity: sha512-AV33EzqiFJ3fj+mPlKABN59YFPReLkDxQnj067Z3uEOeRQf3g05WprL0RDuqM7UBhSRo9W1rMSC2KvZmjE5UOA==} + engines: {node: '>=10.13.0'} + hasBin: true + dev: true + /wp-textdomain/1.0.1: resolution: {integrity: sha512-6Guapw25yCmnQHyz62TEi1OvRnIzGfyj0sVaPBhwx19QoxeD6HI2zZHWeBIUXSauJK3BIyxWPYnxlwmnqHUskg==} dependencies: @@ -39112,7 +39236,7 @@ packages: strip-ansi: 6.0.1 /wrappy/1.0.2: - resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=} + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} /write-file-atomic/2.4.1: resolution: {integrity: sha512-TGHFeZEZMnv+gBFRfjAcxL5bPHrsGKtnb4qsFAws7/vlh+QfwAaySIw4AXP9ZskTTh5GWu3FLuJhsWVdiJPGvg==} @@ -39312,6 +39436,11 @@ packages: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} + /yargs-parser/21.0.1: + resolution: {integrity: sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==} + engines: {node: '>=12'} + dev: true + /yargs-unparser/1.6.0: resolution: {integrity: sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==} engines: {node: '>=6'} @@ -39379,6 +39508,19 @@ packages: y18n: 5.0.8 yargs-parser: 20.2.9 + /yargs/17.5.1: + resolution: {integrity: sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==} + engines: {node: '>=12'} + dependencies: + cliui: 7.0.4 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.0.1 + dev: true + /yargs/4.8.1: resolution: {integrity: sha1-wMQpJMpKqmsObaFznfshZDn53cA=} dependencies: