diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 9df72622..c3cc2cc8 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo Examples of behavior that contributes to creating a positive environment include: -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members Examples of unacceptable behavior by participants include: -* The use of sexualized language or imagery and unwelcome sexual attention or advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a professional setting +- The use of sexualized language or imagery and unwelcome sexual attention or advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7b2def45..8d62bcc2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,6 +3,7 @@ ✨ Thanks for contributing to **semantic-release**! ✨ As a contributor, here are the guidelines we would like you to follow: + - [Code of conduct](#code-of-conduct) - [How can I contribute?](#how-can-i-contribute) - [Using the issue tracker](#using-the-issue-tracker) @@ -74,24 +75,31 @@ Here is a summary of the steps to follow: 1. [Set up the workspace](#set-up-the-workspace) 2. If you cloned a while ago, get the latest changes from upstream and update dependencies: + ```bash $ git checkout master $ git pull upstream master $ rm -rf node_modules $ npm install ``` + 3. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix: + ```bash $ git checkout -b ``` + 4. Make your code changes, following the [Coding rules](#coding-rules) 5. Push your topic branch up to your fork: + ```bash $ git push origin ``` + 6. [Open a Pull Request](https://help.github.com/articles/creating-a-pull-request/#creating-the-pull-request) with a clear title and description. **Tips**: + - For ambitious tasks, open a Pull Request as soon as possible with the `[WIP]` prefix in the title, in order to get feedback and help from the community. - [Allow semantic-release maintainers to make changes to your Pull Request branch](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork). This way, we can rebase it and make some minor changes if necessary. @@ -102,6 +110,7 @@ $ git push origin ### Source code To ensure consistency and quality throughout the source code, all code modifications must have: + - No [linting](#lint) errors - A [test](#tests) for every possible case introduced by your code change - **100%** test coverage @@ -112,6 +121,7 @@ To ensure consistency and quality throughout the source code, all code modificat ### Documentation To ensure consistency and quality, all documentation modifications must: + - Refer to brand in [bold](https://help.github.com/articles/basic-writing-and-formatting-syntax/#styling-text) with proper capitalization, i.e. **GitHub**, **semantic-release**, **npm** - Prefer [tables](https://help.github.com/articles/organizing-information-with-tables) over [lists](https://help.github.com/articles/basic-writing-and-formatting-syntax/#lists) when listing key values, i.e. List of options with their description - Use [links](https://help.github.com/articles/basic-writing-and-formatting-syntax/#links) when you are referring to: @@ -133,6 +143,7 @@ To ensure consistency and quality, all documentation modifications must: #### Atomic commits If possible, make [atomic commits](https://en.wikipedia.org/wiki/Atomic_commit), which means: + - a commit should contain exactly one self-contained functional change - a functional change should be contained in exactly one commit - a commit should not create an inconsistent state (such as test errors, linting errors, partial fix, feature with documentation etc...) @@ -166,7 +177,7 @@ In the body it should say: `This reverts commit .`, where the hash is the The type must be one of the following: | Type | Description | -|--------------|-------------------------------------------------------------------------------------------------------------| +| ------------ | ----------------------------------------------------------------------------------------------------------- | | **build** | Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) | | **ci** | Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) | | **docs** | Documentation only changes | @@ -186,10 +197,12 @@ The subject contains succinct description of the change: - no dot (.) at the end #### Body + Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes". The body should include the motivation for the change and contrast this with previous behavior. #### Footer + The footer should contain any information about **Breaking Changes** and is also the place to reference GitHub issues that this commit **Closes**. **Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. @@ -240,6 +253,7 @@ Prettier formatting will be automatically verified and fixed by XO. Before pushing your code changes make sure there are no linting errors with `npm run lint`. **Tips**: + - Most linting errors can be automatically fixed with `npm run lint -- --fix`. - Install the [XO plugin](https://github.com/sindresorhus/xo#editor-plugins) for your editor to see linting errors directly in your editor and automatically fix them on save. @@ -256,6 +270,7 @@ $ npm run test ``` **Tips:** During development you can: + - run only a subset of test files with `ava `, for example `ava test/mytestfile.test.js` - run in watch mode with `ava -w` to automatically run a test file when you modify it - run only the test you are working on by adding [`.only` to the test definition](https://github.com/avajs/ava#running-specific-tests) diff --git a/README.md b/README.md index 06c12385..1872eee2 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,10 @@ Tools such as [commitizen](https://github.com/commitizen/cz-cli) or [commitlint] The table below shows which commit message gets you which release type when `semantic-release` runs (using the default configuration): -| Commit message | Release type | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- | -| `fix(pencil): stop graphite breaking when too much pressure applied` | ~~Patch~~ Fix Release | -| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release | +| Commit message | Release type | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | +| `fix(pencil): stop graphite breaking when too much pressure applied` | ~~Patch~~ Fix Release | +| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release | | `perf(pencil): remove graphiteWidth option`

`BREAKING CHANGE: The graphiteWidth option has been removed.`
`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release
(Note that the `BREAKING CHANGE: ` token must be in the footer of the commit) | ### Automation with CI @@ -145,7 +145,6 @@ Let people know that your package is published using **semantic-release** and wh ```md [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release) - ``` ## Team diff --git a/SUMMARY.md b/SUMMARY.md index c0459164..e88726e9 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -1,6 +1,7 @@ # Summary ## Usage + - [Getting started](docs/usage/getting-started.md#getting-started) - [Installation](docs/usage/installation.md#installation) - [CI Configuration](docs/usage/ci-configuration.md#ci-configuration) @@ -10,10 +11,12 @@ - [Shareable configurations](docs/usage/shareable-configurations.md) ## Extending + - [Plugins](docs/extending/plugins-list.md) - [Shareable configuration](docs/extending/shareable-configurations-list.md) ## Recipes + - [CI configurations](docs/recipes/ci-configurations/README.md) - [CircleCI 2.0](docs/recipes/ci-configurations/circleci-workflows.md) - [Travis CI](docs/recipes/ci-configurations/travis.md) @@ -28,11 +31,13 @@ - [Publishing pre-releases](docs/recipes/release-workflow/pre-releases.md) ## Developer guide + - [JavaScript API](docs/developer-guide/js-api.md) - [Plugin development](docs/developer-guide/plugin.md) - [Shareable configuration development](docs/developer-guide/shareable-configuration.md) ## Support + - [Resources](docs/support/resources.md) - [Frequently Asked Questions](docs/support/FAQ.md) - [Troubleshooting](docs/support/troubleshooting.md) diff --git a/bin/semantic-release.js b/bin/semantic-release.js index 3cffd5d5..fb941e8a 100755 --- a/bin/semantic-release.js +++ b/bin/semantic-release.js @@ -2,17 +2,17 @@ /* eslint-disable no-var */ -import semver from 'semver'; -import { execa } from 'execa'; -import findVersions from 'find-versions'; -import cli from '../cli.js'; -import {createRequire} from 'node:module'; +import semver from "semver"; +import { execa } from "execa"; +import findVersions from "find-versions"; +import cli from "../cli.js"; +import { createRequire } from "node:module"; const require = createRequire(import.meta.url); -const { engines } = require('../package.json'); +const { engines } = require("../package.json"); const { satisfies, lt } = semver; -const MIN_GIT_VERSION = '2.7.1'; +const MIN_GIT_VERSION = "2.7.1"; if (!satisfies(process.version, engines.node)) { console.error( @@ -23,8 +23,8 @@ See https://github.com/semantic-release/semantic-release/blob/master/docs/suppor process.exit(1); } -execa('git', ['--version']) - .then(({stdout}) => { +execa("git", ["--version"]) + .then(({ stdout }) => { const gitVersion = findVersions(stdout)[0]; if (lt(gitVersion, MIN_GIT_VERSION)) { console.error(`[semantic-release]: Git version ${MIN_GIT_VERSION} is required. Found ${gitVersion}.`); diff --git a/cli.js b/cli.js index 2d0d10d4..ecdd5d43 100755 --- a/cli.js +++ b/cli.js @@ -1,47 +1,47 @@ -import util from 'node:util'; -import yargs from 'yargs'; -import {hideBin} from 'yargs/helpers'; -import hideSensitive from './lib/hide-sensitive.js'; +import util from "node:util"; +import yargs from "yargs"; +import { hideBin } from "yargs/helpers"; +import hideSensitive from "./lib/hide-sensitive.js"; const stringList = { - type: 'string', + type: "string", array: true, coerce: (values) => - values.length === 1 && values[0].trim() === 'false' + values.length === 1 && values[0].trim() === "false" ? [] - : values.reduce((values, value) => values.concat(value.split(',').map((value) => value.trim())), []), + : values.reduce((values, value) => values.concat(value.split(",").map((value) => value.trim())), []), }; export default async () => { const cli = yargs(hideBin(process.argv)) - .command('$0', 'Run automated package publishing', (yargs) => { + .command("$0", "Run automated package publishing", (yargs) => { yargs.demandCommand(0, 0).usage(`Run automated package publishing Usage: semantic-release [options] [plugins]`); }) - .option('b', {alias: 'branches', describe: 'Git branches to release from', ...stringList, group: 'Options'}) - .option('r', {alias: 'repository-url', describe: 'Git repository URL', type: 'string', group: 'Options'}) - .option('t', {alias: 'tag-format', describe: 'Git tag format', type: 'string', group: 'Options'}) - .option('p', {alias: 'plugins', describe: 'Plugins', ...stringList, group: 'Options'}) - .option('e', {alias: 'extends', describe: 'Shareable configurations', ...stringList, group: 'Options'}) - .option('ci', {describe: 'Toggle CI verifications', type: 'boolean', group: 'Options'}) - .option('verify-conditions', {...stringList, group: 'Plugins'}) - .option('analyze-commits', {type: 'string', group: 'Plugins'}) - .option('verify-release', {...stringList, group: 'Plugins'}) - .option('generate-notes', {...stringList, group: 'Plugins'}) - .option('prepare', {...stringList, group: 'Plugins'}) - .option('publish', {...stringList, group: 'Plugins'}) - .option('success', {...stringList, group: 'Plugins'}) - .option('fail', {...stringList, group: 'Plugins'}) - .option('debug', {describe: 'Output debugging information', type: 'boolean', group: 'Options'}) - .option('d', {alias: 'dry-run', describe: 'Skip publishing', type: 'boolean', group: 'Options'}) - .option('h', {alias: 'help', group: 'Options'}) + .option("b", { alias: "branches", describe: "Git branches to release from", ...stringList, group: "Options" }) + .option("r", { alias: "repository-url", describe: "Git repository URL", type: "string", group: "Options" }) + .option("t", { alias: "tag-format", describe: "Git tag format", type: "string", group: "Options" }) + .option("p", { alias: "plugins", describe: "Plugins", ...stringList, group: "Options" }) + .option("e", { alias: "extends", describe: "Shareable configurations", ...stringList, group: "Options" }) + .option("ci", { describe: "Toggle CI verifications", type: "boolean", group: "Options" }) + .option("verify-conditions", { ...stringList, group: "Plugins" }) + .option("analyze-commits", { type: "string", group: "Plugins" }) + .option("verify-release", { ...stringList, group: "Plugins" }) + .option("generate-notes", { ...stringList, group: "Plugins" }) + .option("prepare", { ...stringList, group: "Plugins" }) + .option("publish", { ...stringList, group: "Plugins" }) + .option("success", { ...stringList, group: "Plugins" }) + .option("fail", { ...stringList, group: "Plugins" }) + .option("debug", { describe: "Output debugging information", type: "boolean", group: "Options" }) + .option("d", { alias: "dry-run", describe: "Skip publishing", type: "boolean", group: "Options" }) + .option("h", { alias: "help", group: "Options" }) .strict(false) .exitProcess(false); try { - const {help, version, ...options} = cli.parse(process.argv.slice(2)); + const { help, version, ...options } = cli.parse(process.argv.slice(2)); if (Boolean(help) || Boolean(version)) { return 0; @@ -49,16 +49,16 @@ Usage: if (options.debug) { // Debug must be enabled before other requires in order to work - (await import('debug')).default.enable('semantic-release:*'); + (await import("debug")).default.enable("semantic-release:*"); } - await (await import('./index.js')).default(options); + await (await import("./index.js")).default(options); return 0; } catch (error) { - if (error.name !== 'YError') { - process.stderr.write(hideSensitive(process.env)(util.inspect(error, {colors: true}))); + if (error.name !== "YError") { + process.stderr.write(hideSensitive(process.env)(util.inspect(error, { colors: true }))); } return 1; } -} +}; diff --git a/docs/developer-guide/js-api.md b/docs/developer-guide/js-api.md index ed4a261a..ceb65f71 100644 --- a/docs/developer-guide/js-api.md +++ b/docs/developer-guide/js-api.md @@ -3,43 +3,48 @@ ## Usage ```js -const semanticRelease = require('semantic-release'); -const {WritableStreamBuffer} = require('stream-buffers'); +const semanticRelease = require("semantic-release"); +const { WritableStreamBuffer } = require("stream-buffers"); const stdoutBuffer = WritableStreamBuffer(); const stderrBuffer = WritableStreamBuffer(); try { - const result = await semanticRelease({ - // Core options - branches: [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'next', - 'next-major', - {name: 'beta', prerelease: true}, - {name: 'alpha', prerelease: true} - ], - repositoryUrl: 'https://github.com/me/my-package.git', - // Shareable config - extends: 'my-shareable-config', - // Plugin options - githubUrl: 'https://my-ghe.com', - githubApiPathPrefix: '/api-prefix' - }, { - // Run semantic-release from `/path/to/git/repo/root` without having to change local process `cwd` with `process.chdir()` - cwd: '/path/to/git/repo/root', - // Pass the variable `MY_ENV_VAR` to semantic-release without having to modify the local `process.env` - env: {...process.env, MY_ENV_VAR: 'MY_ENV_VAR_VALUE'}, - // Store stdout and stderr to use later instead of writing to `process.stdout` and `process.stderr` - stdout: stdoutBuffer, - stderr: stderrBuffer - }); + const result = await semanticRelease( + { + // Core options + branches: [ + "+([0-9])?(.{+([0-9]),x}).x", + "master", + "next", + "next-major", + { name: "beta", prerelease: true }, + { name: "alpha", prerelease: true }, + ], + repositoryUrl: "https://github.com/me/my-package.git", + // Shareable config + extends: "my-shareable-config", + // Plugin options + githubUrl: "https://my-ghe.com", + githubApiPathPrefix: "/api-prefix", + }, + { + // Run semantic-release from `/path/to/git/repo/root` without having to change local process `cwd` with `process.chdir()` + cwd: "/path/to/git/repo/root", + // Pass the variable `MY_ENV_VAR` to semantic-release without having to modify the local `process.env` + env: { ...process.env, MY_ENV_VAR: "MY_ENV_VAR_VALUE" }, + // Store stdout and stderr to use later instead of writing to `process.stdout` and `process.stderr` + stdout: stdoutBuffer, + stderr: stderrBuffer, + } + ); if (result) { - const {lastRelease, commits, nextRelease, releases} = result; + const { lastRelease, commits, nextRelease, releases } = result; - console.log(`Published ${nextRelease.type} release version ${nextRelease.version} containing ${commits.length} commits.`); + console.log( + `Published ${nextRelease.type} release version ${nextRelease.version} containing ${commits.length} commits.` + ); if (lastRelease.version) { console.log(`The last release was "${lastRelease.version}".`); @@ -49,14 +54,14 @@ try { console.log(`The release was published with plugin "${release.pluginName}".`); } } else { - console.log('No release published.'); + console.log("No release published."); } // Get stdout and stderr content - const logs = stdoutBuffer.getContentsAsString('utf8'); - const errors = stderrBuffer.getContentsAsString('utf8'); + const logs = stdoutBuffer.getContentsAsString("utf8"); + const errors = stderrBuffer.getContentsAsString("utf8"); } catch (err) { - console.error('The automated release failed with %O', err) + console.error("The automated release failed with %O", err); } ``` @@ -131,7 +136,7 @@ Type: `Object` Information related to the last release found: | Name | Type | Description | -|---------|----------|-------------------------------------------------------------------------------------------------------------------------------------| +| ------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------- | | version | `String` | The version of the last release. | | gitHead | `String` | The sha of the last commit being part of the last release. | | gitTag | `String` | The [Git tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging) associated with the last release. | @@ -140,6 +145,7 @@ Information related to the last release found: **Notes**: If no previous release is found, `lastRelease` will be an empty `Object`. Example: + ```js { gitHead: 'da39a3ee5e6b4b0d3255bfef95601890afd80709', @@ -157,7 +163,7 @@ The list of commit included in the new release.
Each commit object has the following properties: | Name | Type | Description | -|-----------------|----------|-------------------------------------------------| +| --------------- | -------- | ----------------------------------------------- | | commit | `Object` | The commit abbreviated and full hash. | | commit.long | `String` | The commit hash. | | commit.short | `String` | The commit abbreviated hash. | @@ -179,6 +185,7 @@ Each commit object has the following properties: | committerDate | `String` | The committer date. | Example: + ```js [ { @@ -216,7 +223,7 @@ Type: `Object` Information related to the newly published release: | Name | Type | Description | -|---------|----------|-------------------------------------------------------------------------------------------------------------------------------| +| ------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- | | type | `String` | The [semver](https://semver.org) type of the release (`patch`, `minor` or `major`). | | version | `String` | The version of the new release. | | gitHead | `String` | The sha of the last commit being part of the new release. | @@ -225,6 +232,7 @@ Information related to the newly published release: | channel | `String` | The distribution channel on which the next release will be made available (`undefined` for the default distribution channel). | Example: + ```js { type: 'minor', @@ -244,7 +252,7 @@ The list of releases published or made available to a distribution channel.
Each release object has the following properties: | Name | Type | Description | -|------------|----------|----------------------------------------------------------------------------------------------------------------| +| ---------- | -------- | -------------------------------------------------------------------------------------------------------------- | | name | `String` | **Optional.** The release name, only if set by the corresponding `publish` plugin. | | url | `String` | **Optional.** The release URL, only if set by the corresponding `publish` plugin. | | type | `String` | The [semver](https://semver.org) type of the release (`patch`, `minor` or `major`). | @@ -256,6 +264,7 @@ Each release object has the following properties: | channel | `String` | The distribution channel on which the release is available (`undefined` for the default distribution channel). | Example: + ```js [ { diff --git a/docs/developer-guide/plugin.md b/docs/developer-guide/plugin.md index 5b4fc929..febbfaaa 100644 --- a/docs/developer-guide/plugin.md +++ b/docs/developer-guide/plugin.md @@ -34,7 +34,7 @@ We recommend you setup a linting system to ensure good javascript practices are In your `index.js` file, you can start by writing the following code ```javascript -const verify = require('./src/verify'); +const verify = require("./src/verify"); let verified; @@ -54,7 +54,7 @@ module.exports = { verifyConditions }; Then, in your `src` folder, create a file called `verify.js` and add the following ```javascript -const AggregateError = require('aggregate-error'); +const AggregateError = require("aggregate-error"); /** * A method to verify that the user has given us a slack webhook url to post to @@ -80,10 +80,10 @@ Let's say we want to verify that an `option` is passed. An `option` is a configu ```js { - prepare: { - path: "@semantic-release/my-special-plugin" - message: "My cool release message" - } + prepare: { + path: "@semantic-release/my-special-plugin"; + message: "My cool release message"; + } } ``` @@ -93,7 +93,7 @@ This `message` option will be passed to the `pluginConfig` object mentioned earl const { message } = pluginConfig; if (message.length) { - //... + //... } ``` @@ -101,103 +101,104 @@ if (message.length) { ### Common context keys -* `stdout` -* `stderr` -* `logger` +- `stdout` +- `stderr` +- `logger` ### Context object keys by lifecycle #### verifyConditions Initially the context object contains the following keys (`verifyConditions` lifecycle): -* `cwd` - * Current working directory -* `env` - * Environment variables -* `envCi` - * Information about CI environment - * Contains (at least) the following keys: - * `isCi` - * Boolean, true if the environment is a CI environment - * `commit` - * Commit hash - * `branch` - * Current branch -* `options` - * Options passed to `semantic-release` via CLI, configuration files etc. -* `branch` - * Information on the current branch - * Object keys: - * `channel` - * `tags` - * `type` - * `name` - * `range` - * `accept` - * `main` -* `branches` - * Information on branches - * List of branch objects (see above) + +- `cwd` + - Current working directory +- `env` + - Environment variables +- `envCi` + - Information about CI environment + - Contains (at least) the following keys: + - `isCi` + - Boolean, true if the environment is a CI environment + - `commit` + - Commit hash + - `branch` + - Current branch +- `options` + - Options passed to `semantic-release` via CLI, configuration files etc. +- `branch` + - Information on the current branch + - Object keys: + - `channel` + - `tags` + - `type` + - `name` + - `range` + - `accept` + - `main` +- `branches` + - Information on branches + - List of branch objects (see above) #### analyzeCommits Compared to the verifyConditions, `analyzeCommits` lifecycle context has keys -* `commits` (List) - * List of commits taken into account when determining the new version. - * Keys: - * `commit` (Object) - * Keys: - * `long` (String, Commit hash) - * `short` (String, Commit hash) - * `tree` (Object) - * Keys: - * `long` (String, Commit hash) - * `short` (String, Commit hash) - * `author` (Object) - * Keys: - * `name` (String) - * `email` (String) - * `date` (String, ISO 8601 timestamp) - * `committer` (Object) - * Keys: - * `name` (String) - * `email` (String) - * `date` (String, ISO 8601 timestamp) - * `subject` (String, Commit message subject) - * `body` (String, Commit message body) - * `hash` (String, Commit hash) - * `committerDate` (String, ISO 8601 timestamp) - * `message` (String) - * `gitTags` (String, List of git tags) -* `releases` (List) -* `lastRelease` (Object) - * Keys - * `version` (String) - * `gitTag` (String) - * `channels` (List) - * `gitHead` (String, Commit hash) - * `name` (String) +- `commits` (List) + - List of commits taken into account when determining the new version. + - Keys: + - `commit` (Object) + - Keys: + - `long` (String, Commit hash) + - `short` (String, Commit hash) + - `tree` (Object) + - Keys: + - `long` (String, Commit hash) + - `short` (String, Commit hash) + - `author` (Object) + - Keys: + - `name` (String) + - `email` (String) + - `date` (String, ISO 8601 timestamp) + - `committer` (Object) + - Keys: + - `name` (String) + - `email` (String) + - `date` (String, ISO 8601 timestamp) + - `subject` (String, Commit message subject) + - `body` (String, Commit message body) + - `hash` (String, Commit hash) + - `committerDate` (String, ISO 8601 timestamp) + - `message` (String) + - `gitTags` (String, List of git tags) +- `releases` (List) +- `lastRelease` (Object) + - Keys + - `version` (String) + - `gitTag` (String) + - `channels` (List) + - `gitHead` (String, Commit hash) + - `name` (String) #### verifyRelease Additional keys: -* `nextRelease` (Object) - * `type` (String) - * `channel` (String) - * `gitHead` (String, Git hash) - * `version` (String, version without `v`) - * `gitTag` (String, version with `v`) - * `name` (String) - +- `nextRelease` (Object) + - `type` (String) + - `channel` (String) + - `gitHead` (String, Git hash) + - `version` (String, version without `v`) + - `gitTag` (String, version with `v`) + - `name` (String) + #### generateNotes No new content in the context. #### addChannel -*This is run only if there are releases that have been merged from a higher branch but not added on the channel of the current branch.* +_This is run only if there are releases that have been merged from a higher branch but not added on the channel of the current branch._ Context content is similar to lifecycle `verifyRelease`. @@ -215,8 +216,8 @@ Lifecycles `success` and `fail` are mutually exclusive, only one of them will be Additional keys: -* `releases` - * Populated by `publish` lifecycle +- `releases` + - Populated by `publish` lifecycle #### fail @@ -224,7 +225,7 @@ Lifecycles `success` and `fail` are mutually exclusive, only one of them will be Additional keys: -* `errors` +- `errors` ### Supporting Environment Variables @@ -237,13 +238,15 @@ if (env.GITHUB_TOKEN) { //... } ``` + ## Logger + Use `context.logger` to provide debug logging in the plugin. ```js const { logger } = context; -logger.log('Some message from plugin.'). +logger.log('Some message from plugin.'). ``` The above usage yields the following where `PLUGIN_PACKAGE_NAME` is automatically inferred. @@ -269,12 +272,13 @@ Knowledge that might be useful for plugin developers. While it may be trivial that multiple analyzeCommits (or any lifecycle plugins) can be defined, it is not that self-evident that the plugins executed AFTER the first one (for example, the default one: `commit-analyzer`) can change the result. This way it is possible to create more advanced rules or situations, e.g. if none of the commits would result in new release, then a default can be defined. The commit must be a known release type, for example the commit-analyzer has the following default types: -* major -* premajor -* minor -* preminor -* patch -* prepatch -* prerelease + +- major +- premajor +- minor +- preminor +- patch +- prepatch +- prerelease If the analyzeCommits-lifecycle plugin does not return anything, then the earlier result is used, but if it returns a supported string value, then that overrides the previous result. diff --git a/docs/extending/plugins-list.md b/docs/extending/plugins-list.md index c60a14b2..629bc07f 100644 --- a/docs/extending/plugins-list.md +++ b/docs/extending/plugins-list.md @@ -1,6 +1,7 @@ # Plugins list ## Official plugins + - [@semantic-release/commit-analyzer](https://github.com/semantic-release/commit-analyzer) - **Note**: this is already part of semantic-release and does not have to be installed separately - `analyzeCommits`: Determine the type of release by analyzing commits with [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) @@ -111,10 +112,10 @@ - [semantic-release-rubygem](https://github.com/Gusto/semantic-release-rubygem) - `verifyConditions`: Locate and validate a `.gemspec` file, locate and validate a `lib/**/version.rb` file, verify the presence of the `GEM_HOST_API_KEY` environment variable, and create a credentials file with the API key. - `prepare`: Update the version in the `lib/**/version.rb` version file and [build](https://guides.rubygems.org/command-reference/#gem-build) the gem. - - `publish`: [Push the Ruby gem](https://guides.rubygems.org/command-reference/#gem-push) to the gem server. + - `publish`: [Push the Ruby gem](https://guides.rubygems.org/command-reference/#gem-push) to the gem server. - [semantic-release-npm-deprecate-old-versions](https://github.com/ghusse/semantic-release-npm-deprecate-old-versions) - `verifyConditions`: Validates configuration. - - `publish`: Deprecates old versions, based on the declaration of supported versions in the config. + - `publish`: Deprecates old versions, based on the declaration of supported versions in the config. - [amanda-mitchell/semantic-release-npm-multiple](https://github.com/amanda-mitchell/semantic-release-npm-multiple) - **Note**: this is a thin wrapper around the built-in npm plugin that can target multiple registries - `verifyConditions`: Verify the presence and the validity of the npm authentication and release configuration for multiple registries @@ -124,21 +125,21 @@ - `verifyConditions`: Verify the presence of a license file - `prepare`: Update the license file based on its type - [semantic-release-pypi](https://github.com/abichinger/semantic-release-pypi) - - `verifyConditions`: Verify the environment variable ```PYPI_TOKEN``` and installation of build tools - - `prepare`: Update the version in ```setup.cfg``` and create the distribution packages + - `verifyConditions`: Verify the environment variable `PYPI_TOKEN` and installation of build tools + - `prepare`: Update the version in `setup.cfg` and create the distribution packages - `publish`: Publish the python package to a repository (default: pypi) - [semantic-release-helm](https://github.com/m1pl/semantic-release-helm) - `verifyConditions`: Validate configuration and (if present) credentials - - `prepare`: Update version and appVersion in ```Chart.yaml``` + - `prepare`: Update version and appVersion in `Chart.yaml` - `publish`: Publish the chart to a registry (if configured) - [semantic-release-codeartifact](https://github.com/ryansonshine/semantic-release-codeartifact) - `verifyConditions`: Validate configuration, get AWS CodeArtifact authentication and repository, validate `publishConfig` or `.npmrc` (if they exist), then pass the configuration to the associated plugins. - [semantic-release-telegram](https://github.com/pustovitDmytro/semantic-release-telegram) - - `verifyConditions`: Validate configuration and verify ```TELEGRAM_BOT_ID``` and ```TELEGRAM_BOT_TOKEN``` + - `verifyConditions`: Validate configuration and verify `TELEGRAM_BOT_ID` and `TELEGRAM_BOT_TOKEN` - `success`: Publish a message about the successful release to a telegram chat - `fail`: publish a message about failure to a telegram chat - [semantic-release-heroku](https://github.com/pustovitDmytro/semantic-release-heroku) - - `verifyConditions`: Validate configuration and verify ```HEROKU_API_KEY``` + - `verifyConditions`: Validate configuration and verify `HEROKU_API_KEY` - `prepare`: Update the package.json version and create release tarball - `publish`: Publish version to heroku - [semantic-release-mattermost](https://github.com/ttrobisch/semantic-release-mattermost) diff --git a/docs/extending/shareable-configurations-list.md b/docs/extending/shareable-configurations-list.md index f81615fc..61cb4891 100644 --- a/docs/extending/shareable-configurations-list.md +++ b/docs/extending/shareable-configurations-list.md @@ -1,10 +1,12 @@ # Shareable configurations list ## Official configurations + - [@semantic-release/apm-config](https://github.com/semantic-release/apm-config) - semantic-release shareable configuration for releasing atom packages - [@semantic-release/gitlab-config](https://github.com/semantic-release/gitlab-config) - semantic-release shareable configuration for GitLab ## Community configurations + - [@jedmao/semantic-release-npm-github-config](https://github.com/jedmao/semantic-release-npm-github-config) - Provides an informative [Git](https://github.com/semantic-release/git) commit message for the release commit that does not trigger continuous integration and conforms to the [conventional commits specification](https://www.conventionalcommits.org/) (e.g., `chore(release): 1.2.3 [skip ci]\n\nnotes`). - Creates a tarball that gets uploaded with each [GitHub release](https://github.com/semantic-release/github). diff --git a/docs/recipes/ci-configurations/README.md b/docs/recipes/ci-configurations/README.md index 6a260853..ea0f639b 100644 --- a/docs/recipes/ci-configurations/README.md +++ b/docs/recipes/ci-configurations/README.md @@ -1,4 +1,5 @@ # CI configurations + - [CircleCI 2.0 workflows](circleci-workflows.md) - [Travis CI](travis.md) - [GitLab CI](gitlab-ci.md) diff --git a/docs/recipes/ci-configurations/github-actions.md b/docs/recipes/ci-configurations/github-actions.md index e0a91f97..d555e19d 100644 --- a/docs/recipes/ci-configurations/github-actions.md +++ b/docs/recipes/ci-configurations/github-actions.md @@ -35,7 +35,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 'lts/*' + node-version: "lts/*" - name: Install dependencies run: npm ci - name: Release @@ -64,9 +64,11 @@ If the risk is acceptable, some extra configuration is needed. The [actions/chec ## Trigger semantic-release on demand ### Using GUI: + You can use [Manual Triggers](https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/) for GitHub Actions. ### Using HTTP: + Use [`repository_dispatch`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#repository_dispatch) event to have control on when to generate a release by making an HTTP request, e.g.: ```yaml @@ -85,7 +87,8 @@ $ curl -v -H "Accept: application/vnd.github.everest-preview+json" -H "Authoriza ``` ### Using 3rd party apps: + If you'd like to use a GitHub app to manage this instead of creating a personal access token, you could consider using a project like: -* [Actions Panel](https://www.actionspanel.app/) - A declaratively configured way for triggering GitHub Actions -* [Action Button](https://github-action-button.web.app/#details) - A simple badge based mechanism for triggering GitHub Actions +- [Actions Panel](https://www.actionspanel.app/) - A declaratively configured way for triggering GitHub Actions +- [Action Button](https://github-action-button.web.app/#details) - A simple badge based mechanism for triggering GitHub Actions diff --git a/docs/recipes/ci-configurations/gitlab-ci.md b/docs/recipes/ci-configurations/gitlab-ci.md index a9217545..f6cece60 100644 --- a/docs/recipes/ci-configurations/gitlab-ci.md +++ b/docs/recipes/ci-configurations/gitlab-ci.md @@ -21,8 +21,8 @@ This example is a minimal configuration for **semantic-release** with a build ru ```yaml # The release pipeline will run only if all jobs in the test pipeline are successful stages: - - test - - release + - test + - release before_script: - npm install @@ -52,7 +52,6 @@ This example is a minimal configuration for **semantic-release** with a build ru **Note**: The`semantic-release` execution command varies depending if you are using a [local](../../usage/installation.md#local-installation) or [global](../../usage/installation.md#global-installation) **semantic-release** installation. - ```yaml # The release pipeline will run only on the master branch a commit is triggered stages: diff --git a/docs/recipes/git-hosted-services/README.md b/docs/recipes/git-hosted-services/README.md index 0df19570..8c863934 100644 --- a/docs/recipes/git-hosted-services/README.md +++ b/docs/recipes/git-hosted-services/README.md @@ -1,2 +1,3 @@ # Git hosted services + - [Git authentication with SSH keys](git-auth-ssh-keys.md) diff --git a/docs/recipes/git-hosted-services/git-auth-ssh-keys.md b/docs/recipes/git-hosted-services/git-auth-ssh-keys.md index 69703cf9..0fe2504c 100644 --- a/docs/recipes/git-hosted-services/git-auth-ssh-keys.md +++ b/docs/recipes/git-hosted-services/git-auth-ssh-keys.md @@ -21,6 +21,7 @@ This will generate a public key in `git_deploy_key.pub` and a private key in `gi ## Adding the SSH public key to the Git hosted account Step by step instructions are provided for the following Git hosted services: + - [GitHub](#adding-the-ssh-public-key-to-github) ### Adding the SSH public key to GitHub @@ -44,6 +45,7 @@ See [Adding a new SSH key to your GitHub account](https://help.github.com/articl In order to be available on the CI environment, the SSH private key must be encrypted, committed to the Git repository and decrypted by the CI service. Step by step instructions are provided for the following environments: + - [Travis CI](#adding-the-ssh-private-key-to-travis-ci) - [Circle CI](#adding-the-ssh-private-key-to-circle-ci) @@ -109,7 +111,7 @@ $ git push ### Adding the SSH private key to Circle CI -First we encrypt the `git_deploy_key` (private key) using a symmetric encryption (AES-256). Run the following `openssl` command and *make sure to note the output which we'll need later*: +First we encrypt the `git_deploy_key` (private key) using a symmetric encryption (AES-256). Run the following `openssl` command and _make sure to note the output which we'll need later_: ```bash $ openssl aes-256-cbc -e -p -in git_deploy_key -out git_deploy_key.enc -K `openssl rand -hex 32` -iv `openssl rand -hex 16` @@ -119,6 +121,7 @@ iv =VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV ``` Add the following [environment variables](https://circleci.com/docs/2.0/env-vars/#adding-environment-variables-in-the-app) to Circle CI: + - `SSL_PASSPHRASE` - the value set during the [SSH keys generation](#generating-the-ssh-keys) step. - `REPO_ENC_KEY` - the `key` (KKK) value from the `openssl` step above. - `REPO_ENC_IV` - the `iv` (VVV) value from the `openssl` step above. diff --git a/docs/recipes/release-workflow/README.md b/docs/recipes/release-workflow/README.md index 36f94a49..4597f603 100644 --- a/docs/recipes/release-workflow/README.md +++ b/docs/recipes/release-workflow/README.md @@ -1,4 +1,5 @@ # Release workflow + - [Publishing on distribution channels](distribution-channels.md) - [Publishing maintenance releases](maintenance-releases.md) - [Publishing pre-releases](pre-releases.md) diff --git a/docs/recipes/release-workflow/distribution-channels.md b/docs/recipes/release-workflow/distribution-channels.md index fed027f3..667650e3 100644 --- a/docs/recipes/release-workflow/distribution-channels.md +++ b/docs/recipes/release-workflow/distribution-channels.md @@ -3,6 +3,7 @@ This recipe will walk you through a simple example that uses distribution channels to make releases available only to a subset of users, in order to collect feedback before distributing the release to all users. This example uses the **semantic-release** default configuration: + - [branches](../../usage/configuration.md#branches): `['+([0-9])?(.{+([0-9]),x}).x', 'master', 'next', 'next-major', {name: 'beta', prerelease: true}, {name: 'alpha', prerelease: true}]` - [plugins](../../usage/configuration.md#plugins): `['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/npm', '@semantic-release/github']` diff --git a/docs/recipes/release-workflow/maintenance-releases.md b/docs/recipes/release-workflow/maintenance-releases.md index b0c57153..a745dde3 100644 --- a/docs/recipes/release-workflow/maintenance-releases.md +++ b/docs/recipes/release-workflow/maintenance-releases.md @@ -3,6 +3,7 @@ This recipe will walk you through a simple example that uses Git branches and distribution channels to publish fixes and features for old versions of a package. This example uses the **semantic-release** default configuration: + - [branches](../../usage/configuration.md#branches): `['+([0-9])?(.{+([0-9]),x}).x', 'master', 'next', 'next-major', {name: 'beta', prerelease: true}, {name: 'alpha', prerelease: true}]` - [plugins](../../usage/configuration.md#plugins): `['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/npm', '@semantic-release/github']` diff --git a/docs/recipes/release-workflow/pre-releases.md b/docs/recipes/release-workflow/pre-releases.md index 0b984b7e..0a360901 100644 --- a/docs/recipes/release-workflow/pre-releases.md +++ b/docs/recipes/release-workflow/pre-releases.md @@ -3,6 +3,7 @@ This recipe will walk you through a simple example that uses pre-releases to publish beta versions while working on a future major release and then make only one release on the default distribution. This example uses the **semantic-release** default configuration: + - [branches](../../usage/configuration.md#branches): `['+([0-9])?(.{+([0-9]),x}).x', 'master', 'next', 'next-major', {name: 'beta', prerelease: true}, {name: 'alpha', prerelease: true}]` - [plugins](../../usage/configuration.md#plugins): `['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/npm', '@semantic-release/github']` diff --git a/docs/support/FAQ.md b/docs/support/FAQ.md index 89515b14..c19a05af 100644 --- a/docs/support/FAQ.md +++ b/docs/support/FAQ.md @@ -4,7 +4,7 @@ [`@semantic-release/npm`](https://github.com/semantic-release/npm) takes care of updating the `package.json`’s version before publishing to [npm](https://www.npmjs.com). -By default, only the published package will contain the version, which is the only place where it is *really* required, but the updated `package.json` will not be pushed to the Git repository +By default, only the published package will contain the version, which is the only place where it is _really_ required, but the updated `package.json` will not be pushed to the Git repository However, the [`@semantic-release/git`](https://github.com/semantic-release/git) plugin can be used to push the updated `package.json` as well as other files to the Git repository. @@ -17,19 +17,24 @@ The `package.json`’s version will be updated by the `semantic-release` command As the [`@semantic-release/npm`](https://github.com/semantic-release/npm) plugin uses the [npm CLI](https://docs.npmjs.com/cli/npm) to update the `package.json` version and publish the package, all [npm hook scripts](https://docs.npmjs.com/misc/scripts#description) will be executed. You can run your build script in: + - the `prepublishOnly` or `prepack` hook so it will be executed during the `publish` step of `@semantic-release/npm` - the `postversion` hook so it will be executed during the `prepare` step of `@semantic-release/npm`, which allow for example to update files before committing them with the [`@semantic-release/git`](https://github.com/semantic-release/git) plugin If using npm hook scripts is not possible, and alternative solution is to [`@semantic-release/exec`](https://github.com/semantic-release/exec) plugin to run your script in the `prepare` step: + ```json { "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/npm", - ["@semantic-release/exec", { - "prepareCmd": "./my-build-script.sh ${nextRelease.version}", - }], + [ + "@semantic-release/exec", + { + "prepareCmd": "./my-build-script.sh ${nextRelease.version}" + } + ] ] } ``` @@ -43,6 +48,7 @@ Yes with the [dry-run options](../usage/configuration.md#dryrun) which prints to Yes, **semantic-release** is a Node CLI application, but it can be used to publish any type of packages. To publish a non-Node package (without a `package.json`) you would need to: + - Use a [global](../usage/installation.md#global-installation) **semantic-release** installation - Set **semantic-release** [options](../usage/configuration.md#options) via [CLI arguments or `.rc` file](../usage/configuration.md#configuration) - Make sure your CI job executing the `semantic-release` command has access to a version of Node that [meets our version requirement](./node-version.md) to execute the `semantic-release` command @@ -61,10 +67,13 @@ Here is a basic example to create [GitHub releases](https://help.github.com/arti "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/github", - ["@semantic-release/exec", { - "prepareCmd" : "set-version ${nextRelease.version}", - "publishCmd" : "publish-package" - }] + [ + "@semantic-release/exec", + { + "prepareCmd": "set-version ${nextRelease.version}", + "publishCmd": "publish-package" + } + ] ] } ``` @@ -76,6 +85,7 @@ See the [package managers and languages recipes](../recipes/release-workflow/REA ## Can I use semantic-release with any CI service? Yes, **semantic-release** can be used with any CI service, as long as it provides: + - A way to set [authentication](../usage/ci-configuration.md#authentication) via environment variables - A way to guarantee that the `semantic-release` command is [executed only after all the tests of all the jobs in the CI build pass](../usage/ci-configuration.md#run-semantic-release-only-after-all-tests-succeeded) @@ -99,7 +109,7 @@ See the [GitLab CI recipes](../recipes/ci-configurations/gitlab-ci.md#using-sema ## Can I use semantic-release with any Git hosted environment? -By default **semantic-release** uses the [`@semantic-release/github`](https://github.com/semantic-release/github) plugin to publish a [GitHub release](https://help.github.com/articles/about-releases). For other Git hosted environment the [`@semantic-release/git`](https://github.com/semantic-release/git) and [`@semantic-release/changelog`](https://github.com/semantic-release/changelog) plugins can be used via [plugins configuration](../usage/plugins.md). +By default **semantic-release** uses the [`@semantic-release/github`](https://github.com/semantic-release/github) plugin to publish a [GitHub release](https://help.github.com/articles/about-releases). For other Git hosted environment the [`@semantic-release/git`](https://github.com/semantic-release/git) and [`@semantic-release/changelog`](https://github.com/semantic-release/changelog) plugins can be used via [plugins configuration](../usage/plugins.md). See the [`@semantic-release/git`](https://github.com/semantic-release/git#semantic-releasegit) [`@semantic-release/changelog`](https://github.com/semantic-release/changelog#semantic-releasechangelog) plugins documentation for more details. @@ -112,6 +122,7 @@ See the [`@semantic-release/npm`](https://github.com/semantic-release/npm#semant ## How can I revert a release? If you have introduced a breaking bug in a release you have 2 options: + - If you have a fix immediately ready, commit and push it (or merge it via a pull request) to the release branch - Otherwise, [revert the commit](https://git-scm.com/docs/git-revert) that introduced the bug and push the revert commit (or merge it via a pull request) to the release branch @@ -121,7 +132,7 @@ Depending on the package manager you are using, you might be able to un-publish In any case **do not remove the Git tag associated with the buggy version**, otherwise **semantic-release** will later try to republish that version. Publishing a version after un-publishing is not supported by most package managers. -**Note**: If you are using the default [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines) be aware that it uses a different revert commit format than the standard one created by [git revert](https://git-scm.com/docs/git-revert), contrary to what is [claimed in the convention](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#revert). Therefore, if you revert a commit with [`git revert`](https://git-scm.com/docs/git-revert), use the [`--edit` option](https://git-scm.com/docs/git-revert#git-revert---edit) to format the message according to the [Angular revert commit message format](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#revert). See [conventional-changelog/conventional-changelog#348](https://github.com/conventional-changelog/conventional-changelog/issues/348) for more details. +**Note**: If you are using the default [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines) be aware that it uses a different revert commit format than the standard one created by [git revert](https://git-scm.com/docs/git-revert), contrary to what is [claimed in the convention](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#revert). Therefore, if you revert a commit with [`git revert`](https://git-scm.com/docs/git-revert), use the [`--edit` option](https://git-scm.com/docs/git-revert#git-revert---edit) to format the message according to the [Angular revert commit message format](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#revert). See [conventional-changelog/conventional-changelog#348](https://github.com/conventional-changelog/conventional-changelog/issues/348) for more details. ## Can I use `.npmrc` options? @@ -157,7 +168,7 @@ See [Artifactory - npm Registry](https://www.jfrog.com/confluence/display/RTF/Np ## Can I manually trigger the release of a specific version? -You can trigger a release by pushing to your Git repository. You deliberately cannot trigger a *specific* version release, because this is the whole point of semantic-release. +You can trigger a release by pushing to your Git repository. You deliberately cannot trigger a _specific_ version release, because this is the whole point of semantic-release. ## Can I exclude commits from the analysis? @@ -168,7 +179,7 @@ Yes, every commits that contains `[skip release]` or `[release skip]` in their m By default **semantic-release** uses the [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines) and triggers releases based on the following rules: | Commit | Release type | -|-----------------------------|----------------------------| +| --------------------------- | -------------------------- | | Commit with breaking change | ~~Major~~ Breaking release | | Commit with type `feat` | ~~Minor~~ Feature release | | Commit with type `fix` | Patch release | @@ -178,9 +189,9 @@ See the [`@semantic-release/npm`](https://github.com/semantic-release/npm#npm-co This is fully customizable with the [`@semantic-release/commit-analyzer`](https://github.com/semantic-release/commit-analyzer) plugin's [`release-rules` option](https://github.com/semantic-release/commit-analyzer#release-rules). -## Is it *really* a good idea to release on every push? +## Is it _really_ a good idea to release on every push? -It is indeed a great idea because it *forces* you to follow best practices. If you don’t feel comfortable releasing every feature or fix on your `master` you might not treat your `master` branch as intended. +It is indeed a great idea because it _forces_ you to follow best practices. If you don’t feel comfortable releasing every feature or fix on your `master` you might not treat your `master` branch as intended. From [Understanding the GitHub Flow](https://guides.github.com/introduction/flow/index.html): diff --git a/docs/support/troubleshooting.md b/docs/support/troubleshooting.md index 4684c160..2d9e9f8a 100644 --- a/docs/support/troubleshooting.md +++ b/docs/support/troubleshooting.md @@ -15,6 +15,7 @@ This is most likely related to a misconfiguration of the [npm registry authentic It might also happen if the package name you are trying to publish already exists (in the case of npm, you may be trying to publish a new version of a package that is not yours, hence the permission error). To verify if your package name is available you can use [npm-name-cli](https://github.com/sindresorhus/npm-name-cli): + ```bash $ npm install --global npm-name-cli $ npm-name diff --git a/docs/usage/ci-configuration.md b/docs/usage/ci-configuration.md index e854f575..359974b8 100644 --- a/docs/usage/ci-configuration.md +++ b/docs/usage/ci-configuration.md @@ -4,6 +4,7 @@ The `semantic-release` command must be executed only after all the tests in the CI build pass. If the build runs multiple jobs (for example to test on multiple Operating Systems or Node versions) the CI has to be configured to guarantee that the `semantic-release` command is executed only after all jobs are successful. Here are a few examples of the CI services that can be used to achieve this: + - [Travis Build Stages](https://docs.travis-ci.com/user/build-stages) - [CircleCI Workflows](https://circleci.com/docs/2.0/workflows) - [GitHub Actions](https://github.com/features/actions) @@ -22,11 +23,11 @@ See [CI configuration recipes](../recipes/ci-configurations#ci-configurations) f **semantic-release** requires push access to the project Git repository in order to create [Git tags](https://git-scm.com/book/en/v2/Git-Basics-Tagging). The Git authentication can be set with one of the following environment variables: | Variable | Description | -|-------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `GH_TOKEN` or `GITHUB_TOKEN` | A GitHub [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line). | | `GL_TOKEN` or `GITLAB_TOKEN` | A GitLab [personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html). | | `BB_TOKEN` or `BITBUCKET_TOKEN` | A Bitbucket [personal access token](https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html). | -| `BB_TOKEN_BASIC_AUTH` or `BITBUCKET_TOKEN_BASIC_AUTH` | A Bitbucket [personal access token](https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html) with basic auth support. For clarification `user:token` has to be the value of this env. | +| `BB_TOKEN_BASIC_AUTH` or `BITBUCKET_TOKEN_BASIC_AUTH` | A Bitbucket [personal access token](https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html) with basic auth support. For clarification `user:token` has to be the value of this env. | | `GIT_CREDENTIALS` | [URL encoded](https://en.wikipedia.org/wiki/Percent-encoding) Git username and password in the format `:`. The username and password must each be individually URL encoded, not the `:` separating them. | Alternatively the Git authentication can be set up via [SSH keys](../recipes/git-hosted-services/git-auth-ssh-keys.md). @@ -36,7 +37,7 @@ Alternatively the Git authentication can be set up via [SSH keys](../recipes/git Most **semantic-release** [plugins](plugins.md) require setting up authentication in order to publish to a package manager registry. The default [@semantic-release/npm](https://github.com/semantic-release/npm#environment-variables) and [@semantic-release/github](https://github.com/semantic-release/github#environment-variables) plugins require the following environment variables: | Variable | Description | -|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `NPM_TOKEN` | npm token created via [npm token create](https://docs.npmjs.com/getting-started/working_with_tokens#how-to-create-new-tokens).
**Note**: Only the `auth-only` [level of npm two-factor authentication](https://docs.npmjs.com/getting-started/using-two-factor-authentication#levels-of-authentication) is supported. | | `GH_TOKEN` | GitHub authentication token.
**Note**: Only the [personal token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line) authentication is supported. | diff --git a/docs/usage/configuration.md b/docs/usage/configuration.md index ab043566..92f7932b 100644 --- a/docs/usage/configuration.md +++ b/docs/usage/configuration.md @@ -1,6 +1,7 @@ # Configuration **semantic-release** configuration consists of: + - Git repository ([URL](#repositoryurl) and options [release branches](#branches) and [tag format](#tagformat)) - Plugins [declaration](#plugins) and options - Run mode ([debug](#debug), [dry run](#dryrun) and [local (no CI)](#ci)) @@ -12,6 +13,7 @@ Additionally, metadata of Git tags generated by **semantic-release** can be cust ## Configuration file **semantic-release**’s [options](#options), mode and [plugins](plugins.md) can be set via either: + - A `.releaserc` file, written in YAML or JSON, with optional extensions: `.yaml`/`.yml`/`.json`/`.js`/`.cjs` - A `release.config.(js|cjs)` file that exports an object - A `release` key in the project's `package.json` file @@ -21,6 +23,7 @@ Alternatively, some options can be set via CLI arguments. The following three examples are the same. - Via `release` key in the project's `package.json` file: + ```json { "release": { @@ -30,6 +33,7 @@ The following three examples are the same. ``` - Via `.releaserc` file: + ```json { "branches": ["master", "next"] @@ -37,6 +41,7 @@ The following three examples are the same. ``` - Via CLI argument: + ```bash $ semantic-release --branches next ``` @@ -65,10 +70,11 @@ Default: `['+([0-9])?(.{+([0-9]),x}).x', 'master', 'next', 'next-major', {name: CLI arguments: `--branches` The branches on which releases should happen. By default **semantic-release** will release: + - regular releases to the default distribution channel from the branch `master` - regular releases to a distribution channel matching the branch name from any existing branch with a name matching a maintenance release range (`N.N.x` or `N.x.x` or `N.x` with `N` being a number) - regular releases to the `next` distribution channel from the branch `next` if it exists -- regular releases to the `next-major` distribution channel from the branch `next-major` if it exists +- regular releases to the `next-major` distribution channel from the branch `next-major` if it exists - pre-releases to the `beta` distribution channel from the branch `beta` if it exists - pre-releases to the `alpha` distribution channel from the branch `alpha` if it exists @@ -143,7 +149,7 @@ Output debugging information. This can also be enabled by setting the `DEBUG` en ## Git environment variables | Variable | Description | Default | -|-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------| +| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ | | `GIT_AUTHOR_NAME` | The author name associated with the [Git release tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging). See [Git environment variables](https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables#_committing). | @semantic-release-bot. | | `GIT_AUTHOR_EMAIL` | The author email associated with the [Git release tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging). See [Git environment variables](https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables#_committing). | @semantic-release-bot email address. | | `GIT_COMMITTER_NAME` | The committer name associated with the [Git release tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging). See [Git environment variables](https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables#_committing). | @semantic-release-bot. | diff --git a/docs/usage/plugins.md b/docs/usage/plugins.md index 351f2c25..e56d080b 100644 --- a/docs/usage/plugins.md +++ b/docs/usage/plugins.md @@ -5,7 +5,7 @@ Each [release step](../../README.md#release-steps) is implemented by configurabl A plugin is a npm module that can implement one or more of the following steps: | Step | Required | Description | -|--------------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| ------------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `verifyConditions` | No | Responsible for verifying conditions necessary to proceed with the release: configuration is correct, authentication token are valid, etc... | | `analyzeCommits` | Yes | Responsible for determining the type of the next release (`major`, `minor` or `patch`). If multiple plugins with a `analyzeCommits` step are defined, the release type will be the highest one among plugins output. | | `verifyRelease` | No | Responsible for verifying the parameters (version, type, dist-tag etc...) of the release that is about to be published. | @@ -25,6 +25,7 @@ Release steps will run in that order. At each step, **semantic-release** will ru ### Default plugins These four plugins are already part of **semantic-release** and are listed in order of execution. They do not have to be installed separately: + ``` "@semantic-release/commit-analyzer" "@semantic-release/release-notes-generator" @@ -66,6 +67,7 @@ For each [release step](../../README.md#release-steps) the plugins that implemen ``` With this configuration **semantic-release** will: + - execute the `verifyConditions` implementation of `@semantic-release/npm` then `@semantic-release/git` - execute the `analyzeCommits` implementation of `@semantic-release/commit-analyzer` - execute the `generateNotes` implementation of `@semantic-release/release-notes-generator` @@ -85,9 +87,12 @@ Global plugin configuration can be defined at the root of the **semantic-release "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", - ["@semantic-release/github", { - "assets": ["dist/**"] - }], + [ + "@semantic-release/github", + { + "assets": ["dist/**"] + } + ], "@semantic-release/git" ], "preset": "angular" @@ -95,5 +100,6 @@ Global plugin configuration can be defined at the root of the **semantic-release ``` With this configuration: + - All plugins will receive the `preset` option, which will be used by both `@semantic-release/commit-analyzer` and `@semantic-release/release-notes-generator` (and ignored by `@semantic-release/github` and `@semantic-release/git`) - The `@semantic-release/github` plugin will receive the `assets` options (`@semantic-release/git` will not receive it and therefore will use it's default value for that option) diff --git a/docs/usage/workflow-configuration.md b/docs/usage/workflow-configuration.md index 37d2bdb0..99867c35 100644 --- a/docs/usage/workflow-configuration.md +++ b/docs/usage/workflow-configuration.md @@ -1,6 +1,7 @@ # Workflow configuration **semantic-release** allow to manage and automate complex release workflow, based on multiple Git branches and distribution channels. This allow to: + - Distribute certain releases to a particular group of users via distribution channels - Manage the availability of releases on distribution channels via branches merge - Maintain multiple lines of releases in parallel @@ -12,6 +13,7 @@ The release workflow is configured via the [branches option](./configuration.md# Each branch can be defined either as a string, a [glob](https://github.com/micromatch/micromatch#matching-features) or an object. For string and glob definitions each [property](#branches-properties) will be defaulted. A branch can defined as one of three types: + - [release](#release-branches): to make releases on top of the last version released - [maintenance](#maintenance-branches): to make releases on top of an old release - [pre-release](#pre-release-branches): to make pre-releases @@ -21,7 +23,7 @@ The type of the branch is automatically determined based on naming convention an ## Branches properties | Property | Branch type | Description | Default | -|--------------|-------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------| +| ------------ | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | `name` | All | **Required.** The Git branch holding the commits to analyze and the code to release. See [name](#name). | - The value itself if defined as a `String` or the matching branches name if defined as a glob. | | `channel` | All | The distribution channel on which to publish releases from this branch. Set to `false` to force the default distribution channel instead of using the default. See [channel](#channel). | `undefined` for the first release branch, the value of `name` for subsequent ones. | | `range` | [maintenance](#maintenance-branches) only | **Required unless `name` is formatted like `N.N.x` or `N.x` (`N` is a number).** The range of [semantic versions](https://semver.org) to support on this branch. See [range](#range). | The value of `name`. | @@ -35,14 +37,15 @@ It can be defined as a [glob](https://github.com/micromatch/micromatch#matching- If `name` doesn't match to any branch existing in the repository, the definition will be ignored. For example the default configuration includes the definition `next` and `next-major` which will become active only when the branches `next` and/or `next-major` are created in the repository. This allow to define your workflow once with all potential branches you might use and have the effective configuration evolving as you create new branches. For example the configuration `['+([0-9])?(.{+([0-9]),x}).x', 'master', 'next']` will be expanded as: + ```js { branches: [ - {name: '1.x', range: '1.x', channel: '1.x'}, // Only after the `1.x` is created in the repo - {name: '2.x', range: '2.x', channel: '2.x'}, // Only after the `2.x` is created in the repo - {name: 'master'}, - {name: 'next', channel: 'next'}, // Only after the `next` is created in the repo - ] + { name: "1.x", range: "1.x", channel: "1.x" }, // Only after the `1.x` is created in the repo + { name: "2.x", range: "2.x", channel: "2.x" }, // Only after the `2.x` is created in the repo + { name: "master" }, + { name: "next", channel: "next" }, // Only after the `next` is created in the repo + ]; } ``` @@ -54,12 +57,13 @@ If the `channel` property is set to `false` the default channel will be used. The value of `channel`, if defined as a string, is generated with [Lodash template](https://lodash.com/docs#template) with the variable `name` available. For example the configuration `['master', {name: 'next', channel: 'channel-${name}'}]` will be expanded as: + ```js { branches: [ - {name: 'master'}, // `channel` is undefined so the default distribution channel will be used - {name: 'next', channel: 'channel-next'}, // `channel` is built with the template `channel-${name}` - ] + { name: "master" }, // `channel` is undefined so the default distribution channel will be used + { name: "next", channel: "channel-next" }, // `channel` is built with the template `channel-${name}` + ]; } ``` @@ -68,13 +72,14 @@ For example the configuration `['master', {name: 'next', channel: 'channel-${nam A `range` only applies to maintenance branches, is required and must be formatted like `N.N.x` or `N.x` (`N` is a number). In case the `name` is formatted as a range (for example `1.x` or `1.5.x`) the branch will be considered a maintenance branch and the `name` value will be used for the `range`. For example the configuration `['1.1.x', '1.2.x', 'master']` will be expanded as: + ```js { branches: [ - {name: '1.1.x', range: '1.1.x', channel: '1.1.x'}, - {name: '1.2.x', range: '1.2.x', channel: '1.2.x'}, - {name: 'master'}, - ] + { name: "1.1.x", range: "1.1.x", channel: "1.1.x" }, + { name: "1.2.x", range: "1.2.x", channel: "1.2.x" }, + { name: "master" }, + ]; } ``` @@ -86,13 +91,14 @@ If the `prerelease` property is set to `true` the `name` value will be used. The value of `prerelease`, if defined as a string, is generated with [Lodash template](https://lodash.com/docs#template) with the variable `name` available. For example the configuration `['master', {name: 'pre/rc', prerelease: '${name.replace(/^pre\\//g, "")}'}, {name: 'beta', prerelease: true}]` will be expanded as: + ```js { branches: [ - {name: 'master'}, - {name: 'pre/rc', channel: 'pre/rc', prerelease: 'rc'}, // `prerelease` is built with the template `${name.replace(/^pre\\//g, "")}` - {name: 'beta', channel: 'beta', prerelease: true}, // `prerelease` is set to `beta` as it is the value of `name` - ] + { name: "master" }, + { name: "pre/rc", channel: "pre/rc", prerelease: "rc" }, // `prerelease` is built with the template `${name.replace(/^pre\\//g, "")}` + { name: "beta", channel: "beta", prerelease: true }, // `prerelease` is set to `beta` as it is the value of `name` + ]; } ``` @@ -113,10 +119,12 @@ See [publishing on distribution channels recipe](../recipes/release-workflow/dis #### Pushing to a release branch With the configuration `"branches": ["master", "next"]`, if the last release published from `master` is `1.0.0` and the last one from `next` is `2.0.0` then: + - Only versions in range `1.x.x` can be published from `master`, so only `fix` and `feat` commits can be pushed to `master` - Once `next` get merged into `master` the release `2.0.0` will be made available on the channel associated with `master` and both `master` and `next` will accept any commit type This verification prevent scenario such as: + 1. Create a `feat` commit on `next` which triggers the release of version `1.0.0` on the `next` channel 2. Merge `next` into `master` which adds `1.0.0` on the default channel 3. Create a `feat` commit on `next` which triggers the release of version `1.1.0` on the `next` channel @@ -147,6 +155,7 @@ See [publishing maintenance releases recipe](../recipes/release-workflow/mainten #### Pushing to a maintenance branch With the configuration `"branches": ["1.0.x", "1.x", "master"]`, if the last release published from `master` is `1.5.0` then: + - Only versions in range `>=1.0.0 <1.1.0` can be published from `1.0.x`, so only `fix` commits can be pushed to `1.0.x` - Only versions in range `>=1.1.0 <1.5.0` can be published from `1.x`, so only `fix` and `feat` commits can be pushed to `1.x` as long the resulting release is lower than `1.5.0` - Once `2.0.0` is released from `master`, versions in range `>=1.1.0 <2.0.0` can be published from `1.x`, so any number of `fix` and `feat` commits can be pushed to `1.x` @@ -154,6 +163,7 @@ With the configuration `"branches": ["1.0.x", "1.x", "master"]`, if the last rel #### Merging into a maintenance branch With the configuration `"branches": ["1.0.x", "1.x", "master"]`, if the last release published from `master` is `1.0.0` then: + - Creating the branch `1.0.x` from `master` will make the `1.0.0` release available on the `1.0.x` distribution channel - Pushing a `fix` commit on the `1.0.x` branch will release the version `1.0.1` on the `1.0.x` distribution channel - Creating the branch `1.x` from `master` will make the `1.0.0` release available on the `1.x` distribution channel @@ -176,11 +186,13 @@ See [publishing pre-releases recipe](../recipes/release-workflow/pre-releases.md #### Pushing to a pre-release branch With the configuration `"branches": ["master", {"name": "beta", "prerelease": true}]`, if the last release published from `master` is `1.0.0` then: + - Pushing a `BREAKING CHANGE` commit on the `beta` branch will release the version `2.0.0-beta.1` on the `beta` distribution channel - Pushing either a `fix`, `feat` or a `BREAKING CHANGE` commit on the `beta` branch will release the version `2.0.0-beta.2` (then `2.0.0-beta.3`, `2.0.0-beta.4`, etc...) on the `beta` distribution channel #### Merging into a pre-release branch With the configuration `"branches": ["master", {"name": "beta", "prerelease": true}]`, if the last release published from `master` is `1.0.0` and the last one published from `beta` is `2.0.0-beta.1` then: + - Pushing a `fix` commit on the `master` branch will release the version `1.0.1` on the default distribution channel - Merging the branch `master` into `beta` will release the version `2.0.0-beta.2` on the `beta` distribution channel diff --git a/index.js b/index.js index ee19e073..67877fb4 100644 --- a/index.js +++ b/index.js @@ -1,33 +1,33 @@ -import {createRequire} from 'node:module'; -import {pick} from 'lodash-es'; -import * as marked from 'marked'; -import envCi from 'env-ci'; -import {hookStd} from 'hook-std'; -import semver from 'semver'; -import AggregateError from 'aggregate-error'; -import hideSensitive from './lib/hide-sensitive.js'; -import getConfig from './lib/get-config.js'; -import verify from './lib/verify.js'; -import getNextVersion from './lib/get-next-version.js'; -import getCommits from './lib/get-commits.js'; -import getLastRelease from './lib/get-last-release.js'; -import getReleaseToAdd from './lib/get-release-to-add.js'; -import {extractErrors, makeTag} from './lib/utils.js'; -import getGitAuthUrl from './lib/get-git-auth-url.js'; -import getBranches from './lib/branches/index.js'; -import getLogger from './lib/get-logger.js'; -import {addNote, getGitHead, getTagHead, isBranchUpToDate, push, pushNotes, tag, verifyAuth} from './lib/git.js'; -import getError from './lib/get-error.js'; -import {COMMIT_EMAIL, COMMIT_NAME} from './lib/definitions/constants.js'; +import { createRequire } from "node:module"; +import { pick } from "lodash-es"; +import * as marked from "marked"; +import envCi from "env-ci"; +import { hookStd } from "hook-std"; +import semver from "semver"; +import AggregateError from "aggregate-error"; +import hideSensitive from "./lib/hide-sensitive.js"; +import getConfig from "./lib/get-config.js"; +import verify from "./lib/verify.js"; +import getNextVersion from "./lib/get-next-version.js"; +import getCommits from "./lib/get-commits.js"; +import getLastRelease from "./lib/get-last-release.js"; +import getReleaseToAdd from "./lib/get-release-to-add.js"; +import { extractErrors, makeTag } from "./lib/utils.js"; +import getGitAuthUrl from "./lib/get-git-auth-url.js"; +import getBranches from "./lib/branches/index.js"; +import getLogger from "./lib/get-logger.js"; +import { addNote, getGitHead, getTagHead, isBranchUpToDate, push, pushNotes, tag, verifyAuth } from "./lib/git.js"; +import getError from "./lib/get-error.js"; +import { COMMIT_EMAIL, COMMIT_NAME } from "./lib/definitions/constants.js"; const require = createRequire(import.meta.url); -const pkg = require('./package.json'); +const pkg = require("./package.json"); let markedOptionsSet = false; async function terminalOutput(text) { if (!markedOptionsSet) { - const {default: TerminalRenderer} = await import('marked-terminal'); // eslint-disable-line node/no-unsupported-features/es-syntax - marked.setOptions({renderer: new TerminalRenderer()}); + const { default: TerminalRenderer } = await import("marked-terminal"); // eslint-disable-line node/no-unsupported-features/es-syntax + marked.setOptions({ renderer: new TerminalRenderer() }); markedOptionsSet = true; } @@ -36,12 +36,12 @@ async function terminalOutput(text) { /* eslint complexity: off */ async function run(context, plugins) { - const {cwd, env, options, logger, envCi} = context; - const {isCi, branch, prBranch, isPr} = envCi; + const { cwd, env, options, logger, envCi } = context; + const { isCi, branch, prBranch, isPr } = envCi; const ciBranch = isPr ? prBranch : branch; if (!isCi && !options.dryRun && !options.noCi) { - logger.warn('This run was not triggered in a known CI environment, running in dry-run mode.'); + logger.warn("This run was not triggered in a known CI environment, running in dry-run mode."); options.dryRun = true; } else { // When running on CI, set the commits author and committer info and prevent the `git` CLI to prompt for username/password. See #703. @@ -51,7 +51,7 @@ async function run(context, plugins) { GIT_COMMITTER_NAME: COMMIT_NAME, GIT_COMMITTER_EMAIL: COMMIT_EMAIL, ...env, - GIT_ASKPASS: 'echo', + GIT_ASKPASS: "echo", GIT_TERMINAL_PROMPT: 0, }); } @@ -64,30 +64,30 @@ async function run(context, plugins) { // Verify config await verify(context); - options.repositoryUrl = await getGitAuthUrl({...context, branch: {name: ciBranch}}); + options.repositoryUrl = await getGitAuthUrl({ ...context, branch: { name: ciBranch } }); context.branches = await getBranches(options.repositoryUrl, ciBranch, context); - context.branch = context.branches.find(({name}) => name === ciBranch); + context.branch = context.branches.find(({ name }) => name === ciBranch); if (!context.branch) { logger.log( `This test run was triggered on the branch ${ciBranch}, while semantic-release is configured to only publish from ${context.branches - .map(({name}) => name) - .join(', ')}, therefore a new version won’t be published.` + .map(({ name }) => name) + .join(", ")}, therefore a new version won’t be published.` ); return false; } - logger[options.dryRun ? 'warn' : 'success']( + logger[options.dryRun ? "warn" : "success"]( `Run automated release from branch ${ciBranch} on repository ${options.originalRepositoryURL}${ - options.dryRun ? ' in dry-run mode' : '' + options.dryRun ? " in dry-run mode" : "" }` ); try { try { - await verifyAuth(options.repositoryUrl, context.branch.name, {cwd, env}); + await verifyAuth(options.repositoryUrl, context.branch.name, { cwd, env }); } catch (error) { - if (!(await isBranchUpToDate(options.repositoryUrl, context.branch.name, {cwd, env}))) { + if (!(await isBranchUpToDate(options.repositoryUrl, context.branch.name, { cwd, env }))) { logger.log( `The local branch ${context.branch.name} is behind the remote one, therefore a new version won't be published.` ); @@ -98,7 +98,7 @@ async function run(context, plugins) { } } catch (error) { logger.error(`The command "${error.command}" failed with the error message ${error.stderr}.`); - throw getError('EGITNOPERMISSION', context); + throw getError("EGITNOPERMISSION", context); } logger.success(`Allowed to push to the Git repository`); @@ -110,24 +110,27 @@ async function run(context, plugins) { const releaseToAdd = getReleaseToAdd(context); if (releaseToAdd) { - const {lastRelease, currentRelease, nextRelease} = releaseToAdd; + const { lastRelease, currentRelease, nextRelease } = releaseToAdd; - nextRelease.gitHead = await getTagHead(nextRelease.gitHead, {cwd, env}); - currentRelease.gitHead = await getTagHead(currentRelease.gitHead, {cwd, env}); + nextRelease.gitHead = await getTagHead(nextRelease.gitHead, { cwd, env }); + currentRelease.gitHead = await getTagHead(currentRelease.gitHead, { cwd, env }); if (context.branch.mergeRange && !semver.satisfies(nextRelease.version, context.branch.mergeRange)) { - errors.push(getError('EINVALIDMAINTENANCEMERGE', {...context, nextRelease})); + errors.push(getError("EINVALIDMAINTENANCEMERGE", { ...context, nextRelease })); } else { - const commits = await getCommits({...context, lastRelease, nextRelease}); - nextRelease.notes = await plugins.generateNotes({...context, commits, lastRelease, nextRelease}); + const commits = await getCommits({ ...context, lastRelease, nextRelease }); + nextRelease.notes = await plugins.generateNotes({ ...context, commits, lastRelease, nextRelease }); if (options.dryRun) { logger.warn(`Skip ${nextRelease.gitTag} tag creation in dry-run mode`); } else { - await addNote({channels: [...currentRelease.channels, nextRelease.channel]}, nextRelease.gitHead, {cwd, env}); - await push(options.repositoryUrl, {cwd, env}); - await pushNotes(options.repositoryUrl, {cwd, env}); + await addNote({ channels: [...currentRelease.channels, nextRelease.channel] }, nextRelease.gitHead, { + cwd, + env, + }); + await push(options.repositoryUrl, { cwd, env }); + await pushNotes(options.repositoryUrl, { cwd, env }); logger.success( - `Add ${nextRelease.channel ? `channel ${nextRelease.channel}` : 'default channel'} to tag ${ + `Add ${nextRelease.channel ? `channel ${nextRelease.channel}` : "default channel"} to tag ${ nextRelease.gitTag }` ); @@ -140,9 +143,9 @@ async function run(context, plugins) { gitHead: nextRelease.gitHead, }); - const releases = await plugins.addChannel({...context, commits, lastRelease, currentRelease, nextRelease}); + const releases = await plugins.addChannel({ ...context, commits, lastRelease, currentRelease, nextRelease }); context.releases.push(...releases); - await plugins.success({...context, lastRelease, commits, nextRelease, releases}); + await plugins.success({ ...context, lastRelease, commits, nextRelease, releases }); } } @@ -152,7 +155,7 @@ async function run(context, plugins) { context.lastRelease = getLastRelease(context); if (context.lastRelease.gitHead) { - context.lastRelease.gitHead = await getTagHead(context.lastRelease.gitHead, {cwd, env}); + context.lastRelease.gitHead = await getTagHead(context.lastRelease.gitHead, { cwd, env }); } if (context.lastRelease.gitTag) { @@ -168,11 +171,11 @@ async function run(context, plugins) { const nextRelease = { type: await plugins.analyzeCommits(context), channel: context.branch.channel || null, - gitHead: await getGitHead({cwd, env}), + gitHead: await getGitHead({ cwd, env }), }; if (!nextRelease.type) { - logger.log('There are no relevant changes, so no new version is released.'); - return context.releases.length > 0 ? {releases: context.releases} : false; + logger.log("There are no relevant changes, so no new version is released."); + return context.releases.length > 0 ? { releases: context.releases } : false; } context.nextRelease = nextRelease; @@ -180,11 +183,11 @@ async function run(context, plugins) { nextRelease.gitTag = makeTag(options.tagFormat, nextRelease.version); nextRelease.name = nextRelease.gitTag; - if (context.branch.type !== 'prerelease' && !semver.satisfies(nextRelease.version, context.branch.range)) { - throw getError('EINVALIDNEXTVERSION', { + if (context.branch.type !== "prerelease" && !semver.satisfies(nextRelease.version, context.branch.range)) { + throw getError("EINVALIDNEXTVERSION", { ...context, validBranches: context.branches.filter( - ({type, accept}) => type !== 'prerelease' && accept.includes(nextRelease.type) + ({ type, accept }) => type !== "prerelease" && accept.includes(nextRelease.type) ), }); } @@ -199,20 +202,20 @@ async function run(context, plugins) { logger.warn(`Skip ${nextRelease.gitTag} tag creation in dry-run mode`); } else { // Create the tag before calling the publish plugins as some require the tag to exists - await tag(nextRelease.gitTag, nextRelease.gitHead, {cwd, env}); - await addNote({channels: [nextRelease.channel]}, nextRelease.gitHead, {cwd, env}); - await push(options.repositoryUrl, {cwd, env}); - await pushNotes(options.repositoryUrl, {cwd, env}); + await tag(nextRelease.gitTag, nextRelease.gitHead, { cwd, env }); + await addNote({ channels: [nextRelease.channel] }, nextRelease.gitHead, { cwd, env }); + await push(options.repositoryUrl, { cwd, env }); + await pushNotes(options.repositoryUrl, { cwd, env }); logger.success(`Created tag ${nextRelease.gitTag}`); } const releases = await plugins.publish(context); context.releases.push(...releases); - await plugins.success({...context, releases}); + await plugins.success({ ...context, releases }); logger.success( - `Published release ${nextRelease.version} on ${nextRelease.channel ? nextRelease.channel : 'default'} channel` + `Published release ${nextRelease.version} on ${nextRelease.channel ? nextRelease.channel : "default"} channel` ); if (options.dryRun) { @@ -222,10 +225,10 @@ async function run(context, plugins) { } } - return pick(context, ['lastRelease', 'commits', 'nextRelease', 'releases']); + return pick(context, ["lastRelease", "commits", "nextRelease", "releases"]); } -async function logErrors({logger, stderr}, err) { +async function logErrors({ logger, stderr }, err) { const errors = extractErrors(err).sort((error) => (error.semanticRelease ? -1 : 0)); for (const error of errors) { if (error.semanticRelease) { @@ -234,7 +237,7 @@ async function logErrors({logger, stderr}, err) { stderr.write(await terminalOutput(error.details)); // eslint-disable-line no-await-in-loop } } else { - logger.error('An error occurred while running semantic-release: %O', error); + logger.error("An error occurred while running semantic-release: %O", error); } } } @@ -243,16 +246,16 @@ async function callFail(context, plugins, err) { const errors = extractErrors(err).filter((err) => err.semanticRelease); if (errors.length > 0) { try { - await plugins.fail({...context, errors}); + await plugins.fail({ ...context, errors }); } catch (error) { await logErrors(context, error); } } } -export default async (cliOptions = {}, {cwd = process.cwd(), env = process.env, stdout, stderr} = {}) => { - const {unhook} = hookStd( - {silent: false, streams: [process.stdout, process.stderr, stdout, stderr].filter(Boolean)}, +export default async (cliOptions = {}, { cwd = process.cwd(), env = process.env, stdout, stderr } = {}) => { + const { unhook } = hookStd( + { silent: false, streams: [process.stdout, process.stderr, stdout, stderr].filter(Boolean) }, hideSensitive(env) ); const context = { @@ -260,12 +263,12 @@ export default async (cliOptions = {}, {cwd = process.cwd(), env = process.env, env, stdout: stdout || process.stdout, stderr: stderr || process.stderr, - envCi: envCi({env, cwd}), + envCi: envCi({ env, cwd }), }; context.logger = getLogger(context); context.logger.log(`Running ${pkg.name} version ${pkg.version}`); try { - const {plugins, options} = await getConfig(context, cliOptions); + const { plugins, options } = await getConfig(context, cliOptions); options.originalRepositoryURL = options.repositoryUrl; context.options = options; try { @@ -281,4 +284,4 @@ export default async (cliOptions = {}, {cwd = process.cwd(), env = process.env, unhook(); throw error; } -} +}; diff --git a/lib/get-commits.js b/lib/get-commits.js index f46bc9d9..0ff3f8a8 100644 --- a/lib/get-commits.js +++ b/lib/get-commits.js @@ -1,7 +1,7 @@ -import debugCommits from 'debug'; -import {getCommits} from './git.js'; +import debugCommits from "debug"; +import { getCommits } from "./git.js"; -const debug = debugCommits('semantic-release:get-commits'); +const debug = debugCommits("semantic-release:get-commits"); /** * Retrieve the list of commits on the current branch since the commit sha associated with the last release, or all the commits of the current branch if there is no last released version. @@ -10,16 +10,22 @@ const debug = debugCommits('semantic-release:get-commits'); * * @return {Promise>} The list of commits on the branch `branch` since the last release. */ -export default async ({cwd, env, lastRelease: {gitHead: from}, nextRelease: {gitHead: to = 'HEAD'} = {}, logger}) => { +export default async ({ + cwd, + env, + lastRelease: { gitHead: from }, + nextRelease: { gitHead: to = "HEAD" } = {}, + logger, +}) => { if (from) { - debug('Use from: %s', from); + debug("Use from: %s", from); } else { - logger.log('No previous release found, retrieving all commits'); + logger.log("No previous release found, retrieving all commits"); } - const commits = await getCommits(from, to, {cwd, env}); + const commits = await getCommits(from, to, { cwd, env }); logger.log(`Found ${commits.length} commits since last release`); - debug('Parsed commits: %o', commits); + debug("Parsed commits: %o", commits); return commits; -} +}; diff --git a/lib/get-config.js b/lib/get-config.js index 4dc017b3..429577e1 100644 --- a/lib/get-config.js +++ b/lib/get-config.js @@ -1,39 +1,39 @@ -import {dirname, resolve} from 'node:path'; -import {fileURLToPath} from 'node:url'; -import {createRequire} from 'node:module'; +import { dirname, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; +import { createRequire } from "node:module"; -import {castArray, isNil, isPlainObject, isString, pickBy} from 'lodash-es'; -import {readPackageUp} from 'read-pkg-up'; -import {cosmiconfig} from 'cosmiconfig'; -import resolveFrom from 'resolve-from'; -import debugConfig from 'debug'; -import {repoUrl} from './git.js'; -import PLUGINS_DEFINITIONS from './definitions/plugins.js'; -import plugins from './plugins/index.js'; -import {parseConfig, validatePlugin} from './plugins/utils.js'; +import { castArray, isNil, isPlainObject, isString, pickBy } from "lodash-es"; +import { readPackageUp } from "read-pkg-up"; +import { cosmiconfig } from "cosmiconfig"; +import resolveFrom from "resolve-from"; +import debugConfig from "debug"; +import { repoUrl } from "./git.js"; +import PLUGINS_DEFINITIONS from "./definitions/plugins.js"; +import plugins from "./plugins/index.js"; +import { parseConfig, validatePlugin } from "./plugins/utils.js"; -const debug = debugConfig('semantic-release:config'); +const debug = debugConfig("semantic-release:config"); const __dirname = dirname(fileURLToPath(import.meta.url)); const require = createRequire(import.meta.url); -const CONFIG_NAME = 'release'; +const CONFIG_NAME = "release"; export default async (context, cliOptions) => { - const {cwd, env} = context; - const {config, filepath} = (await cosmiconfig(CONFIG_NAME).search(cwd)) || {}; + const { cwd, env } = context; + const { config, filepath } = (await cosmiconfig(CONFIG_NAME).search(cwd)) || {}; - debug('load config from: %s', filepath); + debug("load config from: %s", filepath); // Merge config file options and CLI/API options - let options = {...config, ...cliOptions}; + let options = { ...config, ...cliOptions }; const pluginsPath = {}; let extendPaths; - ({extends: extendPaths, ...options} = options); + ({ extends: extendPaths, ...options } = options); if (extendPaths) { // If `extends` is defined, load and merge each shareable config with `options` options = { - ...await (castArray(extendPaths).reduce(async(eventualResult, extendPath) => { + ...(await castArray(extendPaths).reduce(async (eventualResult, extendPath) => { const result = await eventualResult; const extendsOptions = require(resolveFrom.silent(__dirname, extendPath) || resolveFrom(cwd, extendPath)); @@ -43,7 +43,7 @@ export default async (context, cliOptions) => { .filter(([, value]) => Boolean(value)) .reduce((pluginsPath, [option, value]) => { castArray(value).forEach((plugin) => { - if (option === 'plugins' && validatePlugin(plugin)) { + if (option === "plugins" && validatePlugin(plugin)) { pluginsPath[parseConfig(plugin)[0]] = extendPath; } else if ( PLUGINS_DEFINITIONS[option] && @@ -55,7 +55,7 @@ export default async (context, cliOptions) => { return pluginsPath; }, pluginsPath); - return {...result, ...extendsOptions}; + return { ...result, ...extendsOptions }; }, {})), ...options, }; @@ -64,36 +64,36 @@ export default async (context, cliOptions) => { // Set default options values if not defined yet options = { branches: [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'next', - 'next-major', - {name: 'beta', prerelease: true}, - {name: 'alpha', prerelease: true}, + "+([0-9])?(.{+([0-9]),x}).x", + "master", + "next", + "next-major", + { name: "beta", prerelease: true }, + { name: "alpha", prerelease: true }, ], - repositoryUrl: (await pkgRepoUrl({normalize: false, cwd})) || (await repoUrl({cwd, env})), + repositoryUrl: (await pkgRepoUrl({ normalize: false, cwd })) || (await repoUrl({ cwd, env })), tagFormat: `v\${version}`, plugins: [ - '@semantic-release/commit-analyzer', - '@semantic-release/release-notes-generator', - '@semantic-release/npm', - '@semantic-release/github', + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + "@semantic-release/npm", + "@semantic-release/github", ], // Remove `null` and `undefined` options, so they can be replaced with default ones ...pickBy(options, (option) => !isNil(option)), - ...(options.branches ? {branches: castArray(options.branches)} : {}), + ...(options.branches ? { branches: castArray(options.branches) } : {}), }; if (options.ci === false) { options.noCi = true; } - debug('options values: %O', options); + debug("options values: %O", options); - return {options, plugins: await plugins({...context, options}, pluginsPath)}; -} + return { options, plugins: await plugins({ ...context, options }, pluginsPath) }; +}; async function pkgRepoUrl(options) { - const {packageJson} = (await readPackageUp(options)) || {}; + const { packageJson } = (await readPackageUp(options)) || {}; return packageJson && (isPlainObject(packageJson.repository) ? packageJson.repository.url : packageJson.repository); } diff --git a/lib/get-error.js b/lib/get-error.js index d80e9b1c..aee11ac1 100644 --- a/lib/get-error.js +++ b/lib/get-error.js @@ -1,7 +1,7 @@ -import SemanticReleaseError from '@semantic-release/error'; -import * as ERROR_DEFINITIONS from './definitions/errors.js'; +import SemanticReleaseError from "@semantic-release/error"; +import * as ERROR_DEFINITIONS from "./definitions/errors.js"; export default (code, ctx = {}) => { - const {message, details} = ERROR_DEFINITIONS[code](ctx); + const { message, details } = ERROR_DEFINITIONS[code](ctx); return new SemanticReleaseError(message, code, details); -} +}; diff --git a/lib/get-git-auth-url.js b/lib/get-git-auth-url.js index 8b5f94e7..201a16d2 100644 --- a/lib/get-git-auth-url.js +++ b/lib/get-git-auth-url.js @@ -1,10 +1,10 @@ -import {format, parse} from 'node:url'; -import {isNil} from 'lodash-es'; -import hostedGitInfo from 'hosted-git-info'; -import debugAuthUrl from 'debug'; -import {verifyAuth} from './git.js'; +import { format, parse } from "node:url"; +import { isNil } from "lodash-es"; +import hostedGitInfo from "hosted-git-info"; +import debugAuthUrl from "debug"; +import { verifyAuth } from "./git.js"; -const debug = debugAuthUrl('semantic-release:get-git-auth-url'); +const debug = debugAuthUrl("semantic-release:get-git-auth-url"); /** * Machinery to format a repository URL with the given credentials @@ -18,15 +18,15 @@ const debug = debugAuthUrl('semantic-release:get-git-auth-url'); function formatAuthUrl(protocol, repositoryUrl, gitCredentials) { const [match, auth, host, basePort, path] = /^(?!.+:\/\/)(?:(?.*)@)?(?.*?):(?\d+)?:?\/?(?.*)$/.exec(repositoryUrl) || []; - const {port, hostname, ...parsed} = parse( - match ? `ssh://${auth ? `${auth}@` : ''}${host}${basePort ? `:${basePort}` : ''}/${path}` : repositoryUrl + const { port, hostname, ...parsed } = parse( + match ? `ssh://${auth ? `${auth}@` : ""}${host}${basePort ? `:${basePort}` : ""}/${path}` : repositoryUrl ); return format({ ...parsed, auth: gitCredentials, - host: `${hostname}${protocol === 'ssh:' ? '' : port ? `:${port}` : ''}`, - protocol: protocol && /http[^s]/.test(protocol) ? 'http' : 'https', + host: `${hostname}${protocol === "ssh:" ? "" : port ? `:${port}` : ""}`, + protocol: protocol && /http[^s]/.test(protocol) ? "http" : "https", }); } @@ -38,9 +38,9 @@ function formatAuthUrl(protocol, repositoryUrl, gitCredentials) { * * @return {String} The authUrl as is if the connection was successfull, null otherwise */ -async function ensureValidAuthUrl({cwd, env, branch}, authUrl) { +async function ensureValidAuthUrl({ cwd, env, branch }, authUrl) { try { - await verifyAuth(authUrl, branch.name, {cwd, env}); + await verifyAuth(authUrl, branch.name, { cwd, env }); return authUrl; } catch (error) { debug(error); @@ -60,44 +60,44 @@ async function ensureValidAuthUrl({cwd, env, branch}, authUrl) { * @return {String} The formatted Git repository URL. */ export default async (context) => { - const {cwd, env, branch} = context; + const { cwd, env, branch } = context; const GIT_TOKENS = { GIT_CREDENTIALS: undefined, GH_TOKEN: undefined, // GitHub Actions require the "x-access-token:" prefix for git access // https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#http-based-git-access-by-an-installation - GITHUB_TOKEN: isNil(env.GITHUB_ACTION) ? undefined : 'x-access-token:', - GL_TOKEN: 'gitlab-ci-token:', - GITLAB_TOKEN: 'gitlab-ci-token:', - BB_TOKEN: 'x-token-auth:', - BITBUCKET_TOKEN: 'x-token-auth:', - BB_TOKEN_BASIC_AUTH: '', - BITBUCKET_TOKEN_BASIC_AUTH: '', + GITHUB_TOKEN: isNil(env.GITHUB_ACTION) ? undefined : "x-access-token:", + GL_TOKEN: "gitlab-ci-token:", + GITLAB_TOKEN: "gitlab-ci-token:", + BB_TOKEN: "x-token-auth:", + BITBUCKET_TOKEN: "x-token-auth:", + BB_TOKEN_BASIC_AUTH: "", + BITBUCKET_TOKEN_BASIC_AUTH: "", }; - let {repositoryUrl} = context.options; - const info = hostedGitInfo.fromUrl(repositoryUrl, {noGitPlus: true}); - const {protocol, ...parsed} = parse(repositoryUrl); + let { repositoryUrl } = context.options; + const info = hostedGitInfo.fromUrl(repositoryUrl, { noGitPlus: true }); + const { protocol, ...parsed } = parse(repositoryUrl); - if (info && info.getDefaultRepresentation() === 'shortcut') { + if (info && info.getDefaultRepresentation() === "shortcut") { // Expand shorthand URLs (such as `owner/repo` or `gitlab:owner/repo`) repositoryUrl = info.https(); - } else if (protocol && protocol.includes('http')) { + } else if (protocol && protocol.includes("http")) { // Replace `git+https` and `git+http` with `https` or `http` - repositoryUrl = format({...parsed, protocol: protocol.includes('https') ? 'https' : 'http', href: null}); + repositoryUrl = format({ ...parsed, protocol: protocol.includes("https") ? "https" : "http", href: null }); } // Test if push is allowed without transforming the URL (e.g. is ssh keys are set up) try { - debug('Verifying ssh auth by attempting to push to %s', repositoryUrl); - await verifyAuth(repositoryUrl, branch.name, {cwd, env}); + debug("Verifying ssh auth by attempting to push to %s", repositoryUrl); + await verifyAuth(repositoryUrl, branch.name, { cwd, env }); } catch { - debug('SSH key auth failed, falling back to https.'); + debug("SSH key auth failed, falling back to https."); const envVars = Object.keys(GIT_TOKENS).filter((envVar) => !isNil(env[envVar])); // Skip verification if there is no ambiguity on which env var to use for authentication if (envVars.length === 1) { - const gitCredentials = `${GIT_TOKENS[envVars[0]] || ''}${env[envVars[0]]}`; + const gitCredentials = `${GIT_TOKENS[envVars[0]] || ""}${env[envVars[0]]}`; return formatAuthUrl(protocol, repositoryUrl, gitCredentials); } @@ -106,7 +106,7 @@ export default async (context) => { const candidateRepositoryUrls = []; for (const envVar of envVars) { - const gitCredentials = `${GIT_TOKENS[envVar] || ''}${env[envVar]}`; + const gitCredentials = `${GIT_TOKENS[envVar] || ""}${env[envVar]}`; const authUrl = formatAuthUrl(protocol, repositoryUrl, gitCredentials); candidateRepositoryUrls.push(ensureValidAuthUrl(context, authUrl)); } @@ -121,4 +121,4 @@ export default async (context) => { } return repositoryUrl; -} +}; diff --git a/lib/get-last-release.js b/lib/get-last-release.js index 676b6615..3c27eb22 100644 --- a/lib/get-last-release.js +++ b/lib/get-last-release.js @@ -1,6 +1,6 @@ -import {isUndefined} from 'lodash-es'; -import semver from 'semver'; -import {isSameChannel, makeTag} from './utils.js'; +import { isUndefined } from "lodash-es"; +import semver from "semver"; +import { isSameChannel, makeTag } from "./utils.js"; /** * Last release. @@ -26,19 +26,19 @@ import {isSameChannel, makeTag} from './utils.js'; * * @return {LastRelease} The last tagged release or empty object if none is found. */ -export default ({branch, options: {tagFormat}}, {before} = {}) => { - const [{version, gitTag, channels} = {}] = branch.tags +export default ({ branch, options: { tagFormat } }, { before } = {}) => { + const [{ version, gitTag, channels } = {}] = branch.tags .filter( (tag) => - ((branch.type === 'prerelease' && tag.channels.some((channel) => isSameChannel(branch.channel, channel))) || + ((branch.type === "prerelease" && tag.channels.some((channel) => isSameChannel(branch.channel, channel))) || !semver.prerelease(tag.version)) && (isUndefined(before) || semver.lt(tag.version, before)) ) .sort((a, b) => semver.rcompare(a.version, b.version)); if (gitTag) { - return {version, gitTag, channels, gitHead: gitTag, name: makeTag(tagFormat, version)}; + return { version, gitTag, channels, gitHead: gitTag, name: makeTag(tagFormat, version) }; } return {}; -} +}; diff --git a/lib/get-logger.js b/lib/get-logger.js index 20c62a6e..889198f0 100644 --- a/lib/get-logger.js +++ b/lib/get-logger.js @@ -1,18 +1,18 @@ -import signale from 'signale'; -import figures from 'figures'; +import signale from "signale"; +import figures from "figures"; -const {Signale} = signale; +const { Signale } = signale; -export default ({stdout, stderr}) => +export default ({ stdout, stderr }) => new Signale({ - config: {displayTimestamp: true, underlineMessage: false, displayLabel: false}, + config: { displayTimestamp: true, underlineMessage: false, displayLabel: false }, disabled: false, interactive: false, - scope: 'semantic-release', + scope: "semantic-release", stream: [stdout], types: { - error: {badge: figures.cross, color: 'red', label: '', stream: [stderr]}, - log: {badge: figures.info, color: 'magenta', label: '', stream: [stdout]}, - success: {badge: figures.tick, color: 'green', label: '', stream: [stdout]}, + error: { badge: figures.cross, color: "red", label: "", stream: [stderr] }, + log: { badge: figures.info, color: "magenta", label: "", stream: [stdout] }, + success: { badge: figures.tick, color: "green", label: "", stream: [stdout] }, }, - }) + }); diff --git a/lib/get-next-version.js b/lib/get-next-version.js index bbfaacc4..c657f10d 100644 --- a/lib/get-next-version.js +++ b/lib/get-next-version.js @@ -1,20 +1,20 @@ -import semver from 'semver'; -import {FIRST_RELEASE, FIRSTPRERELEASE} from './definitions/constants.js'; -import {getLatestVersion, highest, isSameChannel, tagsToVersions} from './utils.js'; +import semver from "semver"; +import { FIRST_RELEASE, FIRSTPRERELEASE } from "./definitions/constants.js"; +import { getLatestVersion, highest, isSameChannel, tagsToVersions } from "./utils.js"; -export default ({branch, nextRelease: {type, channel}, lastRelease, logger}) => { +export default ({ branch, nextRelease: { type, channel }, lastRelease, logger }) => { let version; if (lastRelease.version) { - const {major, minor, patch} = semver.parse(lastRelease.version); + const { major, minor, patch } = semver.parse(lastRelease.version); - if (branch.type === 'prerelease') { + if (branch.type === "prerelease") { if ( semver.prerelease(lastRelease.version) && lastRelease.channels.some((lastReleaseChannel) => isSameChannel(lastReleaseChannel, channel)) ) { version = highest( - semver.inc(lastRelease.version, 'prerelease'), - `${semver.inc(getLatestVersion(tagsToVersions(branch.tags), {withPrerelease: true}), type)}-${ + semver.inc(lastRelease.version, "prerelease"), + `${semver.inc(getLatestVersion(tagsToVersions(branch.tags), { withPrerelease: true }), type)}-${ branch.prerelease }.${FIRSTPRERELEASE}` ); @@ -25,11 +25,11 @@ export default ({branch, nextRelease: {type, channel}, lastRelease, logger}) => version = semver.inc(lastRelease.version, type); } - logger.log('The next release version is %s', version); + logger.log("The next release version is %s", version); } else { - version = branch.type === 'prerelease' ? `${FIRST_RELEASE}-${branch.prerelease}.${FIRSTPRERELEASE}` : FIRST_RELEASE; + version = branch.type === "prerelease" ? `${FIRST_RELEASE}-${branch.prerelease}.${FIRSTPRERELEASE}` : FIRST_RELEASE; logger.log(`There is no previous release, the next release version is ${version}`); } return version; -} +}; diff --git a/lib/get-release-to-add.js b/lib/get-release-to-add.js index 32f48b24..c1e28c7a 100644 --- a/lib/get-release-to-add.js +++ b/lib/get-release-to-add.js @@ -1,8 +1,8 @@ -import {intersection, uniqBy} from 'lodash-es'; -import semver from 'semver'; -import semverDiff from 'semver-diff'; -import getLastRelease from './get-last-release.js'; -import {getLowerBound, makeTag} from './utils.js'; +import { intersection, uniqBy } from "lodash-es"; +import semver from "semver"; +import semverDiff from "semver-diff"; +import getLastRelease from "./get-last-release.js"; +import { getLowerBound, makeTag } from "./utils.js"; /** * Find releases that have been merged from from a higher branch but not added on the channel of the current branch. @@ -15,38 +15,38 @@ export default (context) => { const { branch, branches, - options: {tagFormat}, + options: { tagFormat }, } = context; const higherChannels = branches // Consider only releases of higher branches - .slice(branches.findIndex(({name}) => name === branch.name) + 1) + .slice(branches.findIndex(({ name }) => name === branch.name) + 1) // Exclude prerelease branches - .filter(({type}) => type !== 'prerelease') - .map(({channel}) => channel || null); + .filter(({ type }) => type !== "prerelease") + .map(({ channel }) => channel || null); const versiontoAdd = uniqBy( branch.tags.filter( - ({channels, version}) => + ({ channels, version }) => !channels.includes(branch.channel || null) && intersection(channels, higherChannels).length > 0 && - (branch.type !== 'maintenance' || semver.gte(version, getLowerBound(branch.mergeRange))) + (branch.type !== "maintenance" || semver.gte(version, getLowerBound(branch.mergeRange))) ), - 'version' + "version" ).sort((a, b) => semver.compare(b.version, a.version))[0]; if (versiontoAdd) { - const {version, gitTag, channels} = versiontoAdd; - const lastRelease = getLastRelease(context, {before: version}); + const { version, gitTag, channels } = versiontoAdd; + const lastRelease = getLastRelease(context, { before: version }); if (semver.gt(getLastRelease(context).version, version)) { return; } - const type = lastRelease.version ? semverDiff(lastRelease.version, version) : 'major'; + const type = lastRelease.version ? semverDiff(lastRelease.version, version) : "major"; const name = makeTag(tagFormat, version); return { lastRelease, - currentRelease: {type, version, channels, gitTag, name, gitHead: gitTag}, + currentRelease: { type, version, channels, gitTag, name, gitHead: gitTag }, nextRelease: { type, version, @@ -57,4 +57,4 @@ export default (context) => { }, }; } -} +}; diff --git a/lib/git.js b/lib/git.js index 3745aaaf..fa251735 100644 --- a/lib/git.js +++ b/lib/git.js @@ -1,12 +1,12 @@ -import gitLogParser from 'git-log-parser'; -import getStream from 'get-stream'; -import {execa} from 'execa'; -import debugGit from 'debug'; -import {GIT_NOTE_REF} from './definitions/constants.js'; +import gitLogParser from "git-log-parser"; +import getStream from "get-stream"; +import { execa } from "execa"; +import debugGit from "debug"; +import { GIT_NOTE_REF } from "./definitions/constants.js"; -const debug = debugGit('semantic-release:git'); +const debug = debugGit("semantic-release:git"); -Object.assign(gitLogParser.fields, {hash: 'H', message: 'B', gitTags: 'd', committerDate: {key: 'ci', type: Date}}); +Object.assign(gitLogParser.fields, { hash: "H", message: "B", gitTags: "d", committerDate: { key: "ci", type: Date } }); /** * Get the commit sha for a given tag. @@ -17,7 +17,7 @@ Object.assign(gitLogParser.fields, {hash: 'H', message: 'B', gitTags: 'd', commi * @return {String} The commit sha of the tag in parameter or `null`. */ export async function getTagHead(tagName, execaOptions) { - return (await execa('git', ['rev-list', '-1', tagName], execaOptions)).stdout; + return (await execa("git", ["rev-list", "-1", tagName], execaOptions)).stdout; } /** @@ -30,8 +30,8 @@ export async function getTagHead(tagName, execaOptions) { * @throws {Error} If the `git` command fails. */ export async function getTags(branch, execaOptions) { - return (await execa('git', ['tag', '--merged', branch], execaOptions)).stdout - .split('\n') + return (await execa("git", ["tag", "--merged", branch], execaOptions)).stdout + .split("\n") .map((tag) => tag.trim()) .filter(Boolean); } @@ -48,11 +48,11 @@ export async function getCommits(from, to, execaOptions) { return ( await getStream.array( gitLogParser.parse( - {_: `${from ? from + '..' : ''}${to}`}, - {cwd: execaOptions.cwd, env: {...process.env, ...execaOptions.env}} + { _: `${from ? from + ".." : ""}${to}` }, + { cwd: execaOptions.cwd, env: { ...process.env, ...execaOptions.env } } ) ) - ).map(({message, gitTags, ...commit}) => ({...commit, message: message.trim(), gitTags: gitTags.trim()})); + ).map(({ message, gitTags, ...commit }) => ({ ...commit, message: message.trim(), gitTags: gitTags.trim() })); } /** @@ -65,8 +65,8 @@ export async function getCommits(from, to, execaOptions) { * @throws {Error} If the `git` command fails. */ export async function getBranches(repositoryUrl, execaOptions) { - return (await execa('git', ['ls-remote', '--heads', repositoryUrl], execaOptions)).stdout - .split('\n') + return (await execa("git", ["ls-remote", "--heads", repositoryUrl], execaOptions)).stdout + .split("\n") .filter(Boolean) .map((branch) => branch.match(/^.+refs\/heads\/(?.+)$/)[1]); } @@ -81,7 +81,7 @@ export async function getBranches(repositoryUrl, execaOptions) { */ export async function isRefExists(ref, execaOptions) { try { - return (await execa('git', ['rev-parse', '--verify', ref], execaOptions)).exitCode === 0; + return (await execa("git", ["rev-parse", "--verify", ref], execaOptions)).exitCode === 0; } catch (error) { debug(error); } @@ -103,30 +103,30 @@ export async function isRefExists(ref, execaOptions) { */ export async function fetch(repositoryUrl, branch, ciBranch, execaOptions) { const isDetachedHead = - (await execa('git', ['rev-parse', '--abbrev-ref', 'HEAD'], {...execaOptions, reject: false})).stdout === 'HEAD'; + (await execa("git", ["rev-parse", "--abbrev-ref", "HEAD"], { ...execaOptions, reject: false })).stdout === "HEAD"; try { await execa( - 'git', + "git", [ - 'fetch', - '--unshallow', - '--tags', + "fetch", + "--unshallow", + "--tags", ...(branch === ciBranch && !isDetachedHead ? [repositoryUrl] - : ['--update-head-ok', repositoryUrl, `+refs/heads/${branch}:refs/heads/${branch}`]), + : ["--update-head-ok", repositoryUrl, `+refs/heads/${branch}:refs/heads/${branch}`]), ], execaOptions ); } catch { await execa( - 'git', + "git", [ - 'fetch', - '--tags', + "fetch", + "--tags", ...(branch === ciBranch && !isDetachedHead ? [repositoryUrl] - : ['--update-head-ok', repositoryUrl, `+refs/heads/${branch}:refs/heads/${branch}`]), + : ["--update-head-ok", repositoryUrl, `+refs/heads/${branch}:refs/heads/${branch}`]), ], execaOptions ); @@ -142,12 +142,12 @@ export async function fetch(repositoryUrl, branch, ciBranch, execaOptions) { export async function fetchNotes(repositoryUrl, execaOptions) { try { await execa( - 'git', - ['fetch', '--unshallow', repositoryUrl, `+refs/notes/${GIT_NOTE_REF}:refs/notes/${GIT_NOTE_REF}`], + "git", + ["fetch", "--unshallow", repositoryUrl, `+refs/notes/${GIT_NOTE_REF}:refs/notes/${GIT_NOTE_REF}`], execaOptions ); } catch { - await execa('git', ['fetch', repositoryUrl, `+refs/notes/${GIT_NOTE_REF}:refs/notes/${GIT_NOTE_REF}`], { + await execa("git", ["fetch", repositoryUrl, `+refs/notes/${GIT_NOTE_REF}:refs/notes/${GIT_NOTE_REF}`], { ...execaOptions, reject: false, }); @@ -162,7 +162,7 @@ export async function fetchNotes(repositoryUrl, execaOptions) { * @return {String} the sha of the HEAD commit. */ export async function getGitHead(execaOptions) { - return (await execa('git', ['rev-parse', 'HEAD'], execaOptions)).stdout; + return (await execa("git", ["rev-parse", "HEAD"], execaOptions)).stdout; } /** @@ -174,7 +174,7 @@ export async function getGitHead(execaOptions) { */ export async function repoUrl(execaOptions) { try { - return (await execa('git', ['config', '--get', 'remote.origin.url'], execaOptions)).stdout; + return (await execa("git", ["config", "--get", "remote.origin.url"], execaOptions)).stdout; } catch (error) { debug(error); } @@ -189,7 +189,7 @@ export async function repoUrl(execaOptions) { */ export async function isGitRepo(execaOptions) { try { - return (await execa('git', ['rev-parse', '--git-dir'], execaOptions)).exitCode === 0; + return (await execa("git", ["rev-parse", "--git-dir"], execaOptions)).exitCode === 0; } catch (error) { debug(error); } @@ -206,7 +206,7 @@ export async function isGitRepo(execaOptions) { */ export async function verifyAuth(repositoryUrl, branch, execaOptions) { try { - await execa('git', ['push', '--dry-run', '--no-verify', repositoryUrl, `HEAD:${branch}`], execaOptions); + await execa("git", ["push", "--dry-run", "--no-verify", repositoryUrl, `HEAD:${branch}`], execaOptions); } catch (error) { debug(error); throw error; @@ -223,7 +223,7 @@ export async function verifyAuth(repositoryUrl, branch, execaOptions) { * @throws {Error} if the tag creation failed. */ export async function tag(tagName, ref, execaOptions) { - await execa('git', ['tag', tagName, ref], execaOptions); + await execa("git", ["tag", tagName, ref], execaOptions); } /** @@ -235,7 +235,7 @@ export async function tag(tagName, ref, execaOptions) { * @throws {Error} if the push failed. */ export async function push(repositoryUrl, execaOptions) { - await execa('git', ['push', '--tags', repositoryUrl], execaOptions); + await execa("git", ["push", "--tags", repositoryUrl], execaOptions); } /** @@ -247,7 +247,7 @@ export async function push(repositoryUrl, execaOptions) { * @throws {Error} if the push failed. */ export async function pushNotes(repositoryUrl, execaOptions) { - await execa('git', ['push', repositoryUrl, `refs/notes/${GIT_NOTE_REF}`], execaOptions); + await execa("git", ["push", repositoryUrl, `refs/notes/${GIT_NOTE_REF}`], execaOptions); } /** @@ -260,7 +260,7 @@ export async function pushNotes(repositoryUrl, execaOptions) { */ export async function verifyTagName(tagName, execaOptions) { try { - return (await execa('git', ['check-ref-format', `refs/tags/${tagName}`], execaOptions)).exitCode === 0; + return (await execa("git", ["check-ref-format", `refs/tags/${tagName}`], execaOptions)).exitCode === 0; } catch (error) { debug(error); } @@ -276,7 +276,7 @@ export async function verifyTagName(tagName, execaOptions) { */ export async function verifyBranchName(branch, execaOptions) { try { - return (await execa('git', ['check-ref-format', `refs/heads/${branch}`], execaOptions)).exitCode === 0; + return (await execa("git", ["check-ref-format", `refs/heads/${branch}`], execaOptions)).exitCode === 0; } catch (error) { debug(error); } @@ -294,7 +294,7 @@ export async function verifyBranchName(branch, execaOptions) { export async function isBranchUpToDate(repositoryUrl, branch, execaOptions) { return ( (await getGitHead(execaOptions)) === - (await execa('git', ['ls-remote', '--heads', repositoryUrl, branch], execaOptions)).stdout.match(/^(?\w+)?/)[1] + (await execa("git", ["ls-remote", "--heads", repositoryUrl, branch], execaOptions)).stdout.match(/^(?\w+)?/)[1] ); } @@ -308,7 +308,7 @@ export async function isBranchUpToDate(repositoryUrl, branch, execaOptions) { */ export async function getNote(ref, execaOptions) { try { - return JSON.parse((await execa('git', ['notes', '--ref', GIT_NOTE_REF, 'show', ref], execaOptions)).stdout); + return JSON.parse((await execa("git", ["notes", "--ref", GIT_NOTE_REF, "show", ref], execaOptions)).stdout); } catch (error) { if (error.exitCode === 1) { return {}; @@ -327,5 +327,5 @@ export async function getNote(ref, execaOptions) { * @param {Object} [execaOpts] Options to pass to `execa`. */ export async function addNote(note, ref, execaOptions) { - await execa('git', ['notes', '--ref', GIT_NOTE_REF, 'add', '-f', '-m', JSON.stringify(note), ref], execaOptions); + await execa("git", ["notes", "--ref", GIT_NOTE_REF, "add", "-f", "-m", JSON.stringify(note), ref], execaOptions); } diff --git a/lib/hide-sensitive.js b/lib/hide-sensitive.js index b05f5a93..b2e3b673 100644 --- a/lib/hide-sensitive.js +++ b/lib/hide-sensitive.js @@ -1,10 +1,10 @@ -import {escapeRegExp, isString, size} from 'lodash-es'; -import {SECRET_MIN_SIZE, SECRET_REPLACEMENT} from './definitions/constants.js'; +import { escapeRegExp, isString, size } from "lodash-es"; +import { SECRET_MIN_SIZE, SECRET_REPLACEMENT } from "./definitions/constants.js"; export default (env) => { const toReplace = Object.keys(env).filter((envVar) => { // https://github.com/semantic-release/semantic-release/issues/1558 - if (envVar === 'GOPRIVATE') { + if (envVar === "GOPRIVATE") { return false; } @@ -12,9 +12,9 @@ export default (env) => { }); const regexp = new RegExp( - toReplace.map((envVar) => `${escapeRegExp(env[envVar])}|${escapeRegExp(encodeURI(env[envVar]))}`).join('|'), - 'g' + toReplace.map((envVar) => `${escapeRegExp(env[envVar])}|${escapeRegExp(encodeURI(env[envVar]))}`).join("|"), + "g" ); return (output) => output && isString(output) && toReplace.length > 0 ? output.toString().replace(regexp, SECRET_REPLACEMENT) : output; -} +}; diff --git a/lib/utils.js b/lib/utils.js index 13c820b3..b967f90c 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,6 +1,6 @@ -import {isFunction, template, union} from 'lodash-es'; -import semver from 'semver'; -import hideSensitive from './hide-sensitive.js'; +import { isFunction, template, union } from "lodash-es"; +import semver from "semver"; +import hideSensitive from "./hide-sensitive.js"; export function extractErrors(err) { return err && err.errors ? [...err.errors] : [err]; @@ -19,7 +19,7 @@ export function hideSensitiveValues(env, objs) { } export function tagsToVersions(tags) { - return tags.map(({version}) => version); + return tags.map(({ version }) => version); } export function isMajorRange(range) { @@ -33,16 +33,16 @@ export function isMaintenanceRange(range) { export function getUpperBound(range) { const result = semver.valid(range) ? range - : ((semver.validRange(range) || '').match(/<(?\d+\.\d+\.\d+(-\d+)?)$/) || [])[1]; + : ((semver.validRange(range) || "").match(/<(?\d+\.\d+\.\d+(-\d+)?)$/) || [])[1]; return result ? // https://github.com/npm/node-semver/issues/322 - result.replace(/-\d+$/, '') + result.replace(/-\d+$/, "") : result; } export function getLowerBound(range) { - return ((semver.validRange(range) || '').match(/(?\d+\.\d+\.\d+)/) || [])[1]; + return ((semver.validRange(range) || "").match(/(?\d+\.\d+\.\d+)/) || [])[1]; } export function highest(version1, version2) { @@ -53,16 +53,16 @@ export function lowest(version1, version2) { return version1 && version2 ? (semver.lt(version1, version2) ? version1 : version2) : version1 || version2; } -export function getLatestVersion(versions, {withPrerelease} = {}) { +export function getLatestVersion(versions, { withPrerelease } = {}) { return versions.filter((version) => withPrerelease || !semver.prerelease(version)).sort(semver.rcompare)[0]; } -export function getEarliestVersion(versions, {withPrerelease} = {}) { +export function getEarliestVersion(versions, { withPrerelease } = {}) { return versions.filter((version) => withPrerelease || !semver.prerelease(version)).sort(semver.compare)[0]; } export function getFirstVersion(versions, lowerBranches) { - const lowerVersion = union(...lowerBranches.map(({tags}) => tagsToVersions(tags))).sort(semver.rcompare); + const lowerVersion = union(...lowerBranches.map(({ tags }) => tagsToVersions(tags))).sort(semver.rcompare); if (lowerVersion[0]) { return versions.sort(semver.compare).find((version) => semver.gt(version, lowerVersion[0])); } @@ -71,11 +71,11 @@ export function getFirstVersion(versions, lowerBranches) { } export function getRange(min, max) { - return `>=${min}${max ? ` <${max}` : ''}`; + return `>=${min}${max ? ` <${max}` : ""}`; } export function makeTag(tagFormat, version) { - return template(tagFormat)({version}); + return template(tagFormat)({ version }); } export function isSameChannel(channel, otherChannel) { diff --git a/lib/verify.js b/lib/verify.js index 26735b5e..62419f71 100644 --- a/lib/verify.js +++ b/lib/verify.js @@ -1,43 +1,43 @@ -import {isPlainObject, isString, template} from 'lodash-es'; -import AggregateError from 'aggregate-error'; -import {isGitRepo, verifyTagName} from './git.js'; -import getError from './get-error.js'; +import { isPlainObject, isString, template } from "lodash-es"; +import AggregateError from "aggregate-error"; +import { isGitRepo, verifyTagName } from "./git.js"; +import getError from "./get-error.js"; export default async (context) => { const { cwd, env, - options: {repositoryUrl, tagFormat, branches}, + options: { repositoryUrl, tagFormat, branches }, } = context; const errors = []; - if (!(await isGitRepo({cwd, env}))) { - errors.push(getError('ENOGITREPO', {cwd})); + if (!(await isGitRepo({ cwd, env }))) { + errors.push(getError("ENOGITREPO", { cwd })); } else if (!repositoryUrl) { - errors.push(getError('ENOREPOURL')); + errors.push(getError("ENOREPOURL")); } // Verify that compiling the `tagFormat` produce a valid Git tag - if (!(await verifyTagName(template(tagFormat)({version: '0.0.0'})))) { - errors.push(getError('EINVALIDTAGFORMAT', context)); + if (!(await verifyTagName(template(tagFormat)({ version: "0.0.0" })))) { + errors.push(getError("EINVALIDTAGFORMAT", context)); } // Verify the `tagFormat` contains the variable `version` by compiling the `tagFormat` template // with a space as the `version` value and verify the result contains the space. // The space is used as it's an invalid tag character, so it's guaranteed to no be present in the `tagFormat`. - if ((template(tagFormat)({version: ' '}).match(/ /g) || []).length !== 1) { - errors.push(getError('ETAGNOVERSION', context)); + if ((template(tagFormat)({ version: " " }).match(/ /g) || []).length !== 1) { + errors.push(getError("ETAGNOVERSION", context)); } branches.forEach((branch) => { if ( !((isString(branch) && branch.trim()) || (isPlainObject(branch) && isString(branch.name) && branch.name.trim())) ) { - errors.push(getError('EINVALIDBRANCH', {branch})); + errors.push(getError("EINVALIDBRANCH", { branch })); } }); if (errors.length > 0) { throw new AggregateError(errors); } -} +}; diff --git a/package-lock.json b/package-lock.json index 279fc9c5..bf36fc47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,11 +55,11 @@ "mockserver-client": "5.14.0", "nock": "13.2.9", "p-retry": "^5.1.1", + "prettier": "^2.7.1", "sinon": "14.0.0", "stream-buffers": "3.0.2", "tempy": "^3.0.0", - "testdouble": "3.16.6", - "xo": "0.32.1" + "testdouble": "3.16.6" }, "engines": { "node": ">=18" @@ -73,255 +73,11 @@ "@babel/highlight": "^7.12.13" } }, - "node_modules/@babel/compat-data": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.12.tgz", - "integrity": "sha512-3eJJ841uKxeV8dcN/2yGEUy+RfgQspPEgQat85umsE1rotuquQ2AbIub4S6j7c50a2d+4myc+zSlnXeIHrOnhQ==", - "dev": true - }, - "node_modules/@babel/core": { - "version": "7.13.14", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.14.tgz", - "integrity": "sha512-wZso/vyF4ki0l0znlgM4inxbdrUvCb+cVz8grxDq+6C9k6qbqoIJteQOKicaKjCipU3ISV+XedCqpL2RJJVehA==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.9", - "@babel/helper-compilation-targets": "^7.13.13", - "@babel/helper-module-transforms": "^7.13.14", - "@babel/helpers": "^7.13.10", - "@babel/parser": "^7.13.13", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.13", - "@babel/types": "^7.13.14", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/core/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@babel/eslint-parser": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.17.0.tgz", - "integrity": "sha512-PUEJ7ZBXbRkbq3qqM/jZ2nIuakUBqCYc7Qf52Lj7dlZ6zERnqisdHioL0l4wwQZnmskMeasqUNzLBFKs3nylXA==", - "dev": true, - "dependencies": { - "eslint-scope": "^5.1.1", - "eslint-visitor-keys": "^2.1.0", - "semver": "^6.3.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || >=14.0.0" - }, - "peerDependencies": { - "@babel/core": ">=7.11.0", - "eslint": "^7.5.0 || ^8.0.0" - } - }, - "node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/@babel/eslint-parser/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/generator": { - "version": "7.13.9", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.9.tgz", - "integrity": "sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.13.0", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - } - }, - "node_modules/@babel/generator/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.13.13", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.13.tgz", - "integrity": "sha512-q1kcdHNZehBwD9jYPh3WyXcsFERi39X4I59I3NadciWtNDyZ6x+GboOxncFK0kXlKIv6BJm5acncehXWUjWQMQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.13.12", - "@babel/helper-validator-option": "^7.12.17", - "browserslist": "^4.14.5", - "semver": "^6.3.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz", - "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==", - "dev": true, - "dependencies": { - "@babel/helper-get-function-arity": "^7.12.13", - "@babel/template": "^7.12.13", - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-get-function-arity": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", - "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz", - "integrity": "sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.13.12" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz", - "integrity": "sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.13.12" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.13.14", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz", - "integrity": "sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.13.12", - "@babel/helper-replace-supers": "^7.13.12", - "@babel/helper-simple-access": "^7.13.12", - "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/helper-validator-identifier": "^7.12.11", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.13", - "@babel/types": "^7.13.14" - } - }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", - "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz", - "integrity": "sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==", - "dev": true, - "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.13.12", - "@babel/helper-optimise-call-expression": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.12" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz", - "integrity": "sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.13.12" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", - "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.12.13" - } - }, "node_modules/@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" }, - "node_modules/@babel/helper-validator-option": { - "version": "7.12.17", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz", - "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==", - "dev": true - }, - "node_modules/@babel/helpers": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.10.tgz", - "integrity": "sha512-4VO883+MWPDUVRF3PhiLBUFHoX/bsLTGFpFK/HqvvfBZz2D57u9XzPVNFVBTc0PW/CWR9BXTOKt8NF4DInUHcQ==", - "dev": true, - "dependencies": { - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0" - } - }, "node_modules/@babel/highlight": { "version": "7.13.10", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.10.tgz", @@ -332,56 +88,6 @@ "js-tokens": "^4.0.0" } }, - "node_modules/@babel/parser": { - "version": "7.13.13", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.13.tgz", - "integrity": "sha512-OhsyMrqygfk5v8HmWwOzlYjJrtLaFhF34MrfG/Z73DgYCI6ojNUTUp2TYbtnjo8PegeJp12eamsNettCQjKjVw==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/template": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", - "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@babel/parser": "^7.12.13", - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/traverse": { - "version": "7.13.13", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.13.tgz", - "integrity": "sha512-CblEcwmXKR6eP43oQGG++0QMTtCjAsa3frUuzHoiIJWpaIIi8dwMyEFUJoXRLxagGqCK+jALRwIO+o3R9p/uUg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.9", - "@babel/helper-function-name": "^7.12.13", - "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/parser": "^7.13.13", - "@babel/types": "^7.13.13", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "node_modules/@babel/types": { - "version": "7.13.14", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.14.tgz", - "integrity": "sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.12.11", - "lodash": "^4.17.19", - "to-fast-properties": "^2.0.0" - } - }, "node_modules/@balena/dockerignore": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@balena/dockerignore/-/dockerignore-1.0.2.tgz", @@ -394,107 +100,6 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, - "node_modules/@eslint/eslintrc": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", - "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", - "dev": true, - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.1.1", - "espree": "^7.3.0", - "globals": "^13.9.0", - "ignore": "^4.0.6", - "import-fresh": "^3.2.1", - "js-yaml": "^3.13.1", - "minimatch": "^3.0.4", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.13.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz", - "integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@eslint/eslintrc/node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/@eslint/eslintrc/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/@eslint/eslintrc/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/@eslint/eslintrc/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", - "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", - "dev": true, - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.0", - "debug": "^4.1.1", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true - }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", @@ -504,21 +109,6 @@ "node": ">=8" } }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "dev": true, - "peer": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/resolve-uri": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", @@ -528,27 +118,6 @@ "node": ">=6.0.0" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", - "dev": true, - "peer": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.13", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", @@ -565,19 +134,6 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "node_modules/@mrmlnc/readdir-enhanced": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", - "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", - "dev": true, - "dependencies": { - "call-me-maybe": "^1.0.1", - "glob-to-regexp": "^0.3.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", @@ -1044,15 +600,6 @@ "node": ">=8" } }, - "node_modules/@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/@sinonjs/commons": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", @@ -1088,18 +635,6 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, - "node_modules/@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", - "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "dev": true, - "dependencies": { - "defer-to-connect": "^1.0.1" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", @@ -1108,51 +643,6 @@ "node": ">= 6" } }, - "node_modules/@types/eslint": { - "version": "8.4.3", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.3.tgz", - "integrity": "sha512-YP1S7YJRMPs+7KZKDb9G63n8YejIwW9BALq7a5j2+H4yl6iOv9CB29edho+cuFRrvmJbbaH2yiVChKLJVysDGw==", - "dev": true, - "peer": true, - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", - "dev": true, - "peer": true, - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "node_modules/@types/eslint-visitor-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", - "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==", - "dev": true - }, - "node_modules/@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", - "dev": true, - "peer": true - }, - "node_modules/@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", - "dev": true, - "dependencies": { - "@types/minimatch": "*", - "@types/node": "*" - } - }, "node_modules/@types/http-cache-semantics": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz", @@ -1165,35 +655,11 @@ "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", "dev": true }, - "node_modules/@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", - "dev": true - }, - "node_modules/@types/json5": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", - "dev": true - }, - "node_modules/@types/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", - "dev": true - }, "node_modules/@types/minimist": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" }, - "node_modules/@types/node": { - "version": "14.14.37", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.37.tgz", - "integrity": "sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==", - "dev": true - }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", @@ -1210,319 +676,6 @@ "integrity": "sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==", "dev": true }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.10.1.tgz", - "integrity": "sha512-PQg0emRtzZFWq6PxBcdxRH3QIQiyFO3WCVpRL3fgj5oQS3CDs3AeAKfv4DxNhzn8ITdNJGJ4D3Qw8eAJf3lXeQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/experimental-utils": "3.10.1", - "debug": "^4.1.1", - "functional-red-black-tree": "^1.0.1", - "regexpp": "^3.0.0", - "semver": "^7.3.2", - "tsutils": "^3.17.1" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^3.0.0", - "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/experimental-utils": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.10.1.tgz", - "integrity": "sha512-DewqIgscDzmAfd5nOGe4zm6Bl7PKtMG2Ad0KG8CUZAHlXfAKTF9Ol5PXhiMh39yRL2ChRH1cuuUGOcVyyrhQIw==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.3", - "@typescript-eslint/types": "3.10.1", - "@typescript-eslint/typescript-estree": "3.10.1", - "eslint-scope": "^5.0.0", - "eslint-utils": "^2.0.0" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "*" - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.10.1.tgz", - "integrity": "sha512-Ug1RcWcrJP02hmtaXVS3axPPTTPnZjupqhgj+NnZ6BCkwSImWk/283347+x9wN+lqOdK9Eo3vsyiyDHgsmiEJw==", - "dev": true, - "dependencies": { - "@types/eslint-visitor-keys": "^1.0.0", - "@typescript-eslint/experimental-utils": "3.10.1", - "@typescript-eslint/types": "3.10.1", - "@typescript-eslint/typescript-estree": "3.10.1", - "eslint-visitor-keys": "^1.1.0" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.10.1.tgz", - "integrity": "sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ==", - "dev": true, - "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.10.1.tgz", - "integrity": "sha512-QbcXOuq6WYvnB3XPsZpIwztBoquEYLXh2MtwVU+kO8jgYCiv4G5xrSP/1wg4tkvrEE+esZVquIPX/dxPlePk1w==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "3.10.1", - "@typescript-eslint/visitor-keys": "3.10.1", - "debug": "^4.1.1", - "glob": "^7.1.6", - "is-glob": "^4.0.1", - "lodash": "^4.17.15", - "semver": "^7.3.2", - "tsutils": "^3.17.1" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.10.1.tgz", - "integrity": "sha512-9JgC82AaQeglebjZMgYR5wgmfUdUc+EitGUUMW8u2nDckaeimzW+VsoLV6FoimPv2id3VQzfjwBxEMVz08ameQ==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^1.1.0" - }, - "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", - "dev": true, - "peer": true, - "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", - "dev": true, - "peer": true - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", - "dev": true, - "peer": true - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", - "dev": true, - "peer": true - }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", - "dev": true, - "peer": true, - "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", - "dev": true, - "peer": true - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", - "dev": true, - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" - } - }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", - "dev": true, - "peer": true, - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", - "dev": true, - "peer": true, - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", - "dev": true, - "peer": true - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", - "dev": true, - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", - "dev": true, - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", - "dev": true, - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", - "dev": true, - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", - "dev": true, - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true, - "peer": true - }, - "node_modules/@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true, - "peer": true - }, "node_modules/acorn": { "version": "8.7.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", @@ -1535,25 +688,6 @@ "node": ">=0.4.0" } }, - "node_modules/acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "dev": true, - "peer": true, - "peerDependencies": { - "acorn": "^8" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", - "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, "node_modules/acorn-walk": { "version": "8.2.0", "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", @@ -1600,127 +734,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "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-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "peer": true, - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/ansi-align": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz", - "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==", - "dev": true, - "dependencies": { - "string-width": "^3.0.0" - } - }, - "node_modules/ansi-align/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==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-align/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==", - "dev": true - }, - "node_modules/ansi-align/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": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/ansi-align/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==", - "dev": true, - "dependencies": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-align/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==", - "dev": true, - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "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==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-escapes/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==", - "dev": true, - "engines": { - "node": ">=10" - }, - "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", @@ -1781,39 +794,6 @@ "resolved": "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz", "integrity": "sha1-oMoMvCmltz6Dbuvhy/bF4OTrgvk=" }, - "node_modules/arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-find": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-find/-/array-find-1.0.0.tgz", - "integrity": "sha1-bI4obRHtdoMn+OYuzuhzU8o+eLg=", - "dev": true - }, "node_modules/array-find-index": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", @@ -1828,25 +808,6 @@ "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=" }, - "node_modules/array-includes": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz", - "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2", - "get-intrinsic": "^1.1.1", - "is-string": "^1.0.5" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", @@ -1855,41 +816,6 @@ "node": ">=8" } }, - "node_modules/array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array.prototype.flat": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", - "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/arrgv": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/arrgv/-/arrgv-1.0.2.tgz", @@ -1922,88 +848,6 @@ "safer-buffer": "~2.1.0" } }, - "node_modules/asn1.js": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", - "dev": true, - "dependencies": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" - } - }, - "node_modules/asn1.js/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, - "node_modules/assert": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", - "dev": true, - "dependencies": { - "object-assign": "^4.1.1", - "util": "0.10.3" - } - }, - "node_modules/assert/node_modules/inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - }, - "node_modules/assert/node_modules/util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dev": true, - "dependencies": { - "inherits": "2.0.1" - } - }, - "node_modules/assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true, - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, "node_modules/ava": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.3.tgz", @@ -2372,74 +1216,6 @@ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, - "node_modules/base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "dependencies": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base/node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base/node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base/node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -2500,12 +1276,6 @@ "integrity": "sha512-vE52okJvzsVWhcgUHOv+69OG3Mdg151xyn41aVQN/5W5S+S43qZhxECtYLAEHMSFWX6Mv5IZrzj3T5+JqXfj5Q==", "dev": true }, - "node_modules/bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", - "dev": true - }, "node_modules/bottleneck": { "version": "2.19.5", "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", @@ -2531,139 +1301,12 @@ "node": ">=8" } }, - "node_modules/brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", - "dev": true - }, "node_modules/browser-or-node": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-2.0.0.tgz", "integrity": "sha512-3Lrks/Okgof+/cRguUNG+qRXSeq79SO3hY4QrXJayJofwJwHiGC0qi99uDjsfTwULUFSr1OGVsBkdIkygKjTUA==", "dev": true }, - "node_modules/browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", - "dev": true, - "dependencies": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/browserify-cipher": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "dev": true, - "dependencies": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" - } - }, - "node_modules/browserify-des": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", - "dev": true, - "dependencies": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/browserify-rsa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", - "dev": true, - "dependencies": { - "bn.js": "^5.0.0", - "randombytes": "^2.0.1" - } - }, - "node_modules/browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", - "dev": true, - "dependencies": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", - "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - } - }, - "node_modules/browserify-zlib": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "dev": true, - "dependencies": { - "pako": "~1.0.5" - } - }, - "node_modules/browserslist": { - "version": "4.16.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.5.tgz", - "integrity": "sha512-C2HAjrM1AI/djrpAUU/tr4pml1DqLIzJKSLDBXBrNErl9ZCCTXdhwxdJjYc16953+mBWf7Lw+uUJgpgb8cN71A==", - "dev": true, - "dependencies": { - "caniuse-lite": "^1.0.30001214", - "colorette": "^1.2.2", - "electron-to-chromium": "^1.3.719", - "escalade": "^3.1.1", - "node-releases": "^1.1.71" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/browserslist/node_modules/caniuse-lite": { - "version": "1.0.30001230", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001230.tgz", - "integrity": "sha512-5yBd5nWCBS+jWKTcHOzXwo5xzcj4ePE/yjtkZyUV1BTUmrBaA9MRGC+e7mxnqXSA90CmCA8L3eKLaSUkt099IQ==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/browserslist/node_modules/electron-to-chromium": { - "version": "1.3.739", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.739.tgz", - "integrity": "sha512-+LPJVRsN7hGZ9EIUUiWCpO7l4E3qBYHNadazlucBfsXBbccDFNKUBAgzE68FnkWGJPwD/AfKhSzL+G+Iqb8A4A==", - "dev": true - }, - "node_modules/buf-compare": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buf-compare/-/buf-compare-1.0.1.tgz", - "integrity": "sha1-/vKNqLgROgoNtEMLC2Rntpcws0o=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -2688,19 +1331,6 @@ "ieee754": "^1.1.13" } }, - "node_modules/buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true, - "peer": true - }, - "node_modules/buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", - "dev": true - }, "node_modules/bufferutil": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz", @@ -2711,12 +1341,6 @@ "node-gyp-build": "^4.2.0" } }, - "node_modules/builtin-status-codes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", - "dev": true - }, "node_modules/c8": { "version": "7.12.0", "resolved": "https://registry.npmjs.org/c8/-/c8-7.12.0.tgz", @@ -2833,26 +1457,6 @@ "node": ">=10" } }, - "node_modules/cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, - "dependencies": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/cacheable-lookup": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", @@ -2862,76 +1466,6 @@ "node": ">=14.16" } }, - "node_modules/cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", - "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dev": true, - "dependencies": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cacheable-request/node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cacheable-request/node_modules/lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/cacheable-request/node_modules/normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", - "dev": true - }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -3034,83 +1568,18 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "dev": true }, - "node_modules/chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", - "dev": true, - "peer": true, - "engines": { - "node": ">=6.0" - } - }, "node_modules/chunkd": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/chunkd/-/chunkd-2.0.1.tgz", "integrity": "sha512-7d58XsFmOq0j6el67Ug9mHf9ELUXsQXYJBkyxhH/k+6Ke0qXRnv0kbemx+Twc6fRJ07C49lcbdgm9FL1Ei/6SQ==", "dev": true }, - "node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true - }, "node_modules/ci-parallel-vars": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/ci-parallel-vars/-/ci-parallel-vars-1.0.1.tgz", "integrity": "sha512-uvzpYrpmidaoxvIQHM+rKSrigjOe9feHYbw4uOI2gdfe1C3xIlxO+kVXq83WQWNniTf8bAxVpy+cQeFQsMERKg==", "dev": true }, - "node_modules/cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, - "dependencies": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/clean-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clean-regexp/-/clean-regexp-1.0.0.tgz", - "integrity": "sha1-jffHquUf02h06PjQW5GAvBGj/tc=", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/clean-stack": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", @@ -3173,18 +1642,6 @@ "node": ">=8" } }, - "node_modules/cli-boxes": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", - "dev": true, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/cli-table3": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.1.tgz", @@ -3278,15 +1735,6 @@ "node": ">=12" } }, - "node_modules/clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "dev": true, - "dependencies": { - "mimic-response": "^1.0.0" - } - }, "node_modules/code-excerpt": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz", @@ -3332,19 +1780,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dev": true, - "dependencies": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -3358,12 +1793,6 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, - "node_modules/colorette": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", - "dev": true - }, "node_modules/colors": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", @@ -3373,25 +1802,12 @@ "node": ">=0.1.90" } }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true, - "peer": true - }, "node_modules/common-path-prefix": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", "dev": true }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, "node_modules/compare-func": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", @@ -3401,12 +1817,6 @@ "dot-prop": "^5.1.0" } }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -3431,50 +1841,6 @@ "node": ">=10.18.0 <11 || >=12.14.0 <13 || >=14" } }, - "node_modules/configstore": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", - "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", - "dev": true, - "dependencies": { - "dot-prop": "^5.2.0", - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "unique-string": "^2.0.0", - "write-file-atomic": "^3.0.0", - "xdg-basedir": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/confusing-browser-globals": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.9.tgz", - "integrity": "sha512-KbS1Y0jMtyPgIxjO7ZzMAuUpAKMt1SzCL9fsrKsX6b0zJPTaT0SiSPmewwVZg9UAO83HVIlEhZF84LIjZ0lmAw==", - "dev": true - }, - "node_modules/console-browserify": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", - "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", - "dev": true - }, - "node_modules/constants-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", - "dev": true - }, - "node_modules/contains-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", - "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/conventional-changelog-angular": { "version": "5.0.13", "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", @@ -3573,28 +1939,6 @@ "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, - "node_modules/copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/core-assert": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/core-assert/-/core-assert-0.2.1.tgz", - "integrity": "sha1-+F4s+b/tKPdzzIs/pcW2m9wC/j8=", - "dev": true, - "dependencies": { - "buf-compare": "^1.0.0", - "is-error": "^2.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -3629,49 +1973,6 @@ "node": ">=8.0.0" } }, - "node_modules/create-ecdh": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", - "dev": true, - "dependencies": { - "bn.js": "^4.1.0", - "elliptic": "^6.5.3" - } - }, - "node_modules/create-ecdh/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, - "node_modules/create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "dev": true, - "dependencies": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "node_modules/create-hmac": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", - "dev": true, - "dependencies": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -3685,28 +1986,6 @@ "node": ">= 8" } }, - "node_modules/crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "dev": true, - "dependencies": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" - }, - "engines": { - "node": "*" - } - }, "node_modules/crypto-random-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", @@ -3801,27 +2080,6 @@ "node": ">=0.10.0" } }, - "node_modules/decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "dev": true, - "dependencies": { - "mimic-response": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/deep-extend": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", @@ -3830,93 +2088,6 @@ "node": ">=4.0.0" } }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/deep-strict-equal": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/deep-strict-equal/-/deep-strict-equal-0.2.0.tgz", - "integrity": "sha1-SgeBR6irV/ag1PVUckPNIvROtOQ=", - "dev": true, - "dependencies": { - "core-assert": "^0.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", - "dev": true - }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "dependencies": { - "object-keys": "^1.0.12" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/define-property/node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/define-property/node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/define-property/node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/del": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/del/-/del-6.1.1.tgz", @@ -3989,16 +2160,6 @@ "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" }, - "node_modules/des.js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, "node_modules/diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -4008,23 +2169,6 @@ "node": ">=0.3.1" } }, - "node_modules/diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "dev": true, - "dependencies": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" - } - }, - "node_modules/diffie-hellman/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, "node_modules/dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -4065,28 +2209,6 @@ "node": ">= 8.0" } }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/domain-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", - "dev": true, - "engines": { - "node": ">=0.4", - "npm": ">=1.2" - } - }, "node_modules/dot-prop": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", @@ -4133,39 +2255,12 @@ "safe-buffer": "~5.1.0" } }, - "node_modules/duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", - "dev": true - }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true }, - "node_modules/elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dev": true, - "dependencies": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/elliptic/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, "node_modules/emittery": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.11.0.tgz", @@ -4192,44 +2287,6 @@ "once": "^1.4.0" } }, - "node_modules/enhance-visitors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/enhance-visitors/-/enhance-visitors-1.0.0.tgz", - "integrity": "sha1-qpRdBdpGVnKh69OP7i7T2oUY6Vo=", - "dev": true, - "dependencies": { - "lodash": "^4.13.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/enhanced-resolve": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-0.9.1.tgz", - "integrity": "sha1-TW5omzcl+GCQknzMhs2fFjW4ni4=", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.2.0", - "tapable": "^0.1.8" - }, - "engines": { - "node": ">=0.6" - } - }, - "node_modules/enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "dev": true, - "dependencies": { - "ansi-colors": "^4.1.1" - }, - "engines": { - "node": ">=8.6" - } - }, "node_modules/env-ci": { "version": "8.0.0-beta.1", "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-8.0.0-beta.1.tgz", @@ -4242,15 +2299,6 @@ "node": "^16.10 || >=18" } }, - "node_modules/env-editor": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/env-editor/-/env-editor-0.4.2.tgz", - "integrity": "sha512-ObFo8v4rQJAE59M69QzwloxPZtd33TpYEIjtKD1rrFDcM1Gd7IkDxEBU+HriziN6HSHQnBJi8Dmy+JWkav5HKA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -4259,60 +2307,6 @@ "is-arrayish": "^0.2.1" } }, - "node_modules/es-abstract": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0.tgz", - "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.2", - "is-string": "^1.0.5", - "object-inspect": "^1.9.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", - "dev": true, - "peer": true - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/es5-ext": { "version": "0.10.53", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", @@ -4353,15 +2347,6 @@ "node": ">=6" } }, - "node_modules/escape-goat": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", - "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -4370,1171 +2355,6 @@ "node": ">=0.8.0" } }, - "node_modules/eslint": { - "version": "7.32.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz", - "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", - "dev": true, - "dependencies": { - "@babel/code-frame": "7.12.11", - "@eslint/eslintrc": "^0.4.3", - "@humanwhocodes/config-array": "^0.5.0", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.0.1", - "doctrine": "^3.0.0", - "enquirer": "^2.3.5", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^2.1.0", - "eslint-visitor-keys": "^2.0.0", - "espree": "^7.3.1", - "esquery": "^1.4.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^5.1.2", - "globals": "^13.6.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^3.13.1", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.0.4", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "progress": "^2.0.0", - "regexpp": "^3.1.0", - "semver": "^7.2.1", - "strip-ansi": "^6.0.0", - "strip-json-comments": "^3.1.0", - "table": "^6.0.9", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-ast-utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/eslint-ast-utils/-/eslint-ast-utils-1.1.0.tgz", - "integrity": "sha512-otzzTim2/1+lVrlH19EfQQJEhVJSu0zOb9ygb3iapN6UlyaDtyRq4b5U1FuW0v1lRa9Fp/GJyHkSwm6NqABgCA==", - "dev": true, - "dependencies": { - "lodash.get": "^4.4.2", - "lodash.zip": "^4.2.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-config-prettier": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz", - "integrity": "sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==", - "dev": true, - "dependencies": { - "get-stdin": "^6.0.0" - }, - "bin": { - "eslint-config-prettier-check": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=3.14.1" - } - }, - "node_modules/eslint-config-prettier/node_modules/get-stdin": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", - "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-config-xo": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.30.0.tgz", - "integrity": "sha512-0C+Hl1Mfrbh+LMc2A2v2BabI+n0MoVHYyGJOJoWped/Tfh/OoyZ7gLyed5vLqVR4czjR8Zi7DGW2S1nTGKUY4w==", - "dev": true, - "dependencies": { - "confusing-browser-globals": "1.0.9" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - }, - "peerDependencies": { - "eslint": ">=7" - } - }, - "node_modules/eslint-config-xo-typescript": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/eslint-config-xo-typescript/-/eslint-config-xo-typescript-0.31.0.tgz", - "integrity": "sha512-zxfUdKscsdrZTI5Uz9ZqAAR+W6fuH+DiQnTRRJAwLZaKJemT3hzH0DtIxNhB9t5fxKMwZYNYw2lvW4aWrSMbag==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": ">=3.0.1", - "eslint": ">=6.6.0", - "typescript": ">=3.6.0" - } - }, - "node_modules/eslint-formatter-pretty": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-formatter-pretty/-/eslint-formatter-pretty-3.0.1.tgz", - "integrity": "sha512-hhQ/ASD4i6BAEalcEfUxesFtJFftT8xFsimCzUpPbTzygJ4J17yCGcJ3XKCB2g7XTJTv0pi7rVTadfHVmtfSRA==", - "dev": true, - "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^3.0.0", - "eslint-rule-docs": "^1.1.5", - "log-symbols": "^3.0.0", - "plur": "^3.0.1", - "string-width": "^4.2.0", - "supports-hyperlinks": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint-formatter-pretty/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/eslint-formatter-pretty/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint-formatter-pretty/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/eslint-formatter-pretty/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/eslint-formatter-pretty/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/eslint-formatter-pretty/node_modules/irregular-plurals": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-2.0.0.tgz", - "integrity": "sha512-Y75zBYLkh0lJ9qxeHlMjQ7bSbyiSqNW/UOPWDmzC7cXskL1hekSITh1Oc6JV0XCWWZ9DE8VYSB71xocLk3gmGw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/eslint-formatter-pretty/node_modules/log-symbols": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", - "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", - "dev": true, - "dependencies": { - "chalk": "^2.4.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint-formatter-pretty/node_modules/log-symbols/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==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-formatter-pretty/node_modules/log-symbols/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==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-formatter-pretty/node_modules/log-symbols/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==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/eslint-formatter-pretty/node_modules/log-symbols/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "node_modules/eslint-formatter-pretty/node_modules/log-symbols/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-formatter-pretty/node_modules/log-symbols/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==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-formatter-pretty/node_modules/plur": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/plur/-/plur-3.1.1.tgz", - "integrity": "sha512-t1Ax8KUvV3FFII8ltczPn2tJdjqbd1sIzu6t4JL7nQ3EyeL/lTrj5PWKb06ic5/6XYDr65rQ4uzQEGN70/6X5w==", - "dev": true, - "dependencies": { - "irregular-plurals": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/eslint-formatter-pretty/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/eslint-import-resolver-node": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", - "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", - "dev": true, - "dependencies": { - "debug": "^2.6.9", - "resolve": "^1.13.1" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/eslint-import-resolver-webpack": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-webpack/-/eslint-import-resolver-webpack-0.12.2.tgz", - "integrity": "sha512-7Jnm4YAoNNkvqPaZkKdIHsKGmv8/uNnYC5QsXkiSodvX4XEEfH2AKOna98FK52fCDXm3q4HzuX+7pRMKkJ64EQ==", - "dev": true, - "dependencies": { - "array-find": "^1.0.0", - "debug": "^2.6.9", - "enhanced-resolve": "^0.9.1", - "find-root": "^1.1.0", - "has": "^1.0.3", - "interpret": "^1.2.0", - "lodash": "^4.17.15", - "node-libs-browser": "^1.0.0 || ^2.0.0", - "resolve": "^1.13.1", - "semver": "^5.7.1" - }, - "peerDependencies": { - "eslint-plugin-import": ">=1.4.0", - "webpack": ">=1.11.0" - } - }, - "node_modules/eslint-import-resolver-webpack/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/eslint-import-resolver-webpack/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/eslint-import-resolver-webpack/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/eslint-module-utils": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", - "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", - "dev": true, - "dependencies": { - "debug": "^2.6.9", - "pkg-dir": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-module-utils/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/eslint-module-utils/node_modules/find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "dependencies": { - "locate-path": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-module-utils/node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-module-utils/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/eslint-module-utils/node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-module-utils/node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "dependencies": { - "p-limit": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-module-utils/node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-module-utils/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-module-utils/node_modules/pkg-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", - "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", - "dev": true, - "dependencies": { - "find-up": "^2.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-ava": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-10.5.0.tgz", - "integrity": "sha512-2I0Ze8ZtwbSlLdnzms4bsa6PxxOxGMIJ9d4yy7aRy3yc5zEO2wHJLic8l3Lrct73hb5ML+PLt5VRqvdV87xWdQ==", - "dev": true, - "dependencies": { - "deep-strict-equal": "^0.2.0", - "enhance-visitors": "^1.0.0", - "espree": "^7.1.0", - "espurify": "^2.0.1", - "import-modules": "^2.0.0", - "micro-spelling-correcter": "^1.1.1", - "pkg-dir": "^4.2.0", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=10.18.0 <11 || >=12.14.0 <13 || >=14" - }, - "peerDependencies": { - "eslint": ">=6.2.0" - } - }, - "node_modules/eslint-plugin-es": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", - "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", - "dev": true, - "dependencies": { - "eslint-utils": "^2.0.0", - "regexpp": "^3.0.0" - }, - "engines": { - "node": ">=8.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=4.19.1" - } - }, - "node_modules/eslint-plugin-eslint-comments": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.2.0.tgz", - "integrity": "sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.5", - "ignore": "^5.0.5" - }, - "engines": { - "node": ">=6.5.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=4.19.1" - } - }, - "node_modules/eslint-plugin-import": { - "version": "2.22.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", - "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==", - "dev": true, - "dependencies": { - "array-includes": "^3.1.1", - "array.prototype.flat": "^1.2.3", - "contains-path": "^0.1.0", - "debug": "^2.6.9", - "doctrine": "1.5.0", - "eslint-import-resolver-node": "^0.3.4", - "eslint-module-utils": "^2.6.0", - "has": "^1.0.3", - "minimatch": "^3.0.4", - "object.values": "^1.1.1", - "read-pkg-up": "^2.0.0", - "resolve": "^1.17.0", - "tsconfig-paths": "^3.9.0" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/doctrine": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", - "dev": true, - "dependencies": { - "esutils": "^2.0.2", - "isarray": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "dependencies": { - "locate-path": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", - "dev": true - }, - "node_modules/eslint-plugin-import/node_modules/load-json-file": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/eslint-plugin-import/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/eslint-plugin-import/node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "dependencies": { - "p-limit": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dev": true, - "dependencies": { - "error-ex": "^1.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/path-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", - "dev": true, - "dependencies": { - "pify": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", - "dev": true, - "dependencies": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/read-pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "dev": true, - "dependencies": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-import/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/eslint-plugin-no-use-extend-native": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-no-use-extend-native/-/eslint-plugin-no-use-extend-native-0.5.0.tgz", - "integrity": "sha512-dBNjs8hor8rJgeXLH4HTut5eD3RGWf9JUsadIfuL7UosVQ/dnvOKwxEcRrXrFxrMZ8llUVWT+hOimxJABsAUzQ==", - "dev": true, - "dependencies": { - "is-get-set-prop": "^1.0.0", - "is-js-type": "^2.0.0", - "is-obj-prop": "^1.0.0", - "is-proto-prop": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/eslint-plugin-node": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", - "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", - "dev": true, - "dependencies": { - "eslint-plugin-es": "^3.0.0", - "eslint-utils": "^2.0.0", - "ignore": "^5.1.1", - "minimatch": "^3.0.4", - "resolve": "^1.10.1", - "semver": "^6.1.0" - }, - "engines": { - "node": ">=8.10.0" - }, - "peerDependencies": { - "eslint": ">=5.16.0" - } - }, - "node_modules/eslint-plugin-node/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/eslint-plugin-prettier": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz", - "integrity": "sha512-Rq3jkcFY8RYeQLgk2cCwuc0P7SEFwDravPhsJZOQ5N4YI4DSg50NyqJ/9gdZHzQlHf8MvafSesbNJCcP/FF6pQ==", - "dev": true, - "dependencies": { - "prettier-linter-helpers": "^1.0.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "peerDependencies": { - "eslint": ">=5.0.0", - "prettier": ">=1.13.0" - }, - "peerDependenciesMeta": { - "eslint-config-prettier": { - "optional": true - } - } - }, - "node_modules/eslint-plugin-promise": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.3.1.tgz", - "integrity": "sha512-bY2sGqyptzFBDLh/GMbAxfdJC+b0f23ME63FOE4+Jao0oZ3E1LEwFtWJX/1pGMJLiTtrSSern2CRM/g+dfc0eQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/eslint-plugin-unicorn": { - "version": "20.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-20.1.0.tgz", - "integrity": "sha512-XQxLBJT/gnwyRR6cfYsIK1AdekQchAt5tmcsnldevGjgR2xoZsRUa5/i6e0seNHy2RoT57CkTnbVHwHF8No8LA==", - "dev": true, - "dependencies": { - "ci-info": "^2.0.0", - "clean-regexp": "^1.0.0", - "eslint-ast-utils": "^1.1.0", - "eslint-template-visitor": "^2.0.0", - "eslint-utils": "^2.0.0", - "import-modules": "^2.0.0", - "lodash": "^4.17.15", - "pluralize": "^8.0.0", - "read-pkg-up": "^7.0.1", - "regexp-tree": "^0.1.21", - "reserved-words": "^0.1.2", - "safe-regex": "^2.1.1", - "semver": "^7.3.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-plugin-unicorn/node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint-plugin-unicorn/node_modules/safe-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-2.1.1.tgz", - "integrity": "sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==", - "dev": true, - "dependencies": { - "regexp-tree": "~0.1.1" - } - }, - "node_modules/eslint-plugin-unicorn/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint-rule-docs": { - "version": "1.1.223", - "resolved": "https://registry.npmjs.org/eslint-rule-docs/-/eslint-rule-docs-1.1.223.tgz", - "integrity": "sha512-6HU1vH6b3QBI2RiFyNE1cQWr2pQ+op1zqZRsVXBZsLngF5ePBGDbkwFtr1Ye4Yq1DBKc499TMEkIzx25xVetuw==", - "dev": true - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-template-visitor": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.3.2.tgz", - "integrity": "sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.16", - "@babel/eslint-parser": "^7.12.16", - "eslint-visitor-keys": "^2.0.0", - "esquery": "^1.3.1", - "multimap": "^1.1.0" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-template-visitor/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^1.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint/node_modules/@babel/code-frame": { - "version": "7.12.11", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", - "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.10.4" - } - }, - "node_modules/eslint/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/eslint/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/eslint/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/eslint/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/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint/node_modules/globals": { - "version": "13.13.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz", - "integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/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/eslint/node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/eslint/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/eslint/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/eslint/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/eslint/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/espree": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", - "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", - "dev": true, - "dependencies": { - "acorn": "^7.4.0", - "acorn-jsx": "^5.3.1", - "eslint-visitor-keys": "^1.3.0" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/espree/node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", @@ -5547,63 +2367,6 @@ "node": ">=4" } }, - "node_modules/espurify": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/espurify/-/espurify-2.1.1.tgz", - "integrity": "sha512-zttWvnkhcDyGOhSH4vO2qCBILpdCMv/MX8lp4cqgRkQoDRGK2oZxi2GfWhlP2dIXmk7BaKeOTuzbHhyC68o8XQ==", - "dev": true - }, - "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", - "dev": true, - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", @@ -5613,25 +2376,6 @@ "node": ">=0.10.0" } }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true, - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "dev": true, - "dependencies": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, "node_modules/execa": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/execa/-/execa-6.1.0.tgz", @@ -5654,63 +2398,6 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "dev": true, - "dependencies": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/expand-brackets/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, "node_modules/ext": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", @@ -5726,130 +2413,6 @@ "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==", "dev": true }, - "node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dev": true, - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extend-shallow/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extend-shallow/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "dependencies": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "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==", - "dev": true - }, "node_modules/fast-diff": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", @@ -5871,18 +2434,6 @@ "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==", - "dev": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true - }, "node_modules/fast-url-parser": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", @@ -5932,18 +2483,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, "node_modules/file-url": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/file-url/-/file-url-4.0.0.tgz", @@ -5967,29 +2506,6 @@ "node": ">=8" } }, - "node_modules/find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "dev": true - }, "node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -6016,34 +2532,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", - "dev": true - }, - "node_modules/for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/foreground-child": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", @@ -6066,18 +2554,6 @@ "node": ">= 14.17" } }, - "node_modules/fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dev": true, - "dependencies": { - "map-cache": "^0.2.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/from2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", @@ -6157,21 +2633,6 @@ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, - "node_modules/functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", - "dev": true - }, - "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", @@ -6180,41 +2641,6 @@ "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-set-props": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-set-props/-/get-set-props-0.1.0.tgz", - "integrity": "sha1-mYR1wXhEVobQsyJG2l3428++jqM=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/get-stdin": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", - "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/get-stream": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", @@ -6226,15 +2652,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/git-log-parser": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.0.tgz", @@ -6322,21 +2739,6 @@ "node": ">= 6" } }, - "node_modules/glob-to-regexp": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", - "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=", - "dev": true - }, - "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": "11.0.3", "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz", @@ -6578,15 +2980,6 @@ "node": ">= 0.4.0" } }, - "node_modules/has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -6595,125 +2988,6 @@ "node": ">=4" } }, - "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", - "dev": true, - "dependencies": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-yarn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", - "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "node_modules/hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dev": true, - "dependencies": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "node_modules/hook-std": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/hook-std/-/hook-std-3.0.0.tgz", @@ -6794,12 +3068,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/https-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", - "dev": true - }, "node_modules/https-proxy-agent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", @@ -6900,27 +3168,6 @@ "node": ">=8" } }, - "node_modules/import-lazy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", - "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/import-modules": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-modules/-/import-modules-2.1.0.tgz", - "integrity": "sha512-8HEWcnkbGpovH9yInoisxaSoIg9Brbul+Ju3Kqe2UsYDUBJD/iQjSgEj0zPcTDPKfPp2fs5xlv1i+JSye/m1/A==", - "dev": true, - "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", @@ -6957,15 +3204,6 @@ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, - "node_modules/interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", - "dev": true, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/into-stream": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-6.0.0.tgz", @@ -6990,57 +3228,11 @@ "node": ">=8" } }, - "node_modules/is-absolute": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", - "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", - "dev": true, - "dependencies": { - "is-relative": "^1.0.0", - "is-windows": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, - "node_modules/is-bigint": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz", - "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -7053,51 +3245,6 @@ "node": ">=8" } }, - "node_modules/is-boolean-object": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz", - "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, - "node_modules/is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "dev": true, - "dependencies": { - "ci-info": "^2.0.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, "node_modules/is-core-module": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", @@ -7109,80 +3256,12 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-date-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-error": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-error/-/is-error-2.2.2.tgz", "integrity": "sha512-IOQqts/aHWbiisY5DuPJQ0gcbvaLFCa7fBa9xoLfxBZvQ+ZI/Zh9xoI7Gk+G64N0FdK4AbibytHht2tWgpJWLg==", "dev": true }, - "node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -7199,16 +3278,6 @@ "node": ">=8" } }, - "node_modules/is-get-set-prop": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-get-set-prop/-/is-get-set-prop-1.0.0.tgz", - "integrity": "sha1-JzGHfk14pqae3M5rudaLB3nnYxI=", - "dev": true, - "dependencies": { - "get-set-props": "^0.1.0", - "lowercase-keys": "^1.0.0" - } - }, "node_modules/is-glob": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", @@ -7220,36 +3289,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-js-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-js-type/-/is-js-type-2.0.0.tgz", - "integrity": "sha1-c2FwBtZZtOtHKbunR9KHgt8PfiI=", - "dev": true, - "dependencies": { - "js-types": "^1.0.0" - } - }, - "node_modules/is-negated-glob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz", - "integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -7258,18 +3297,6 @@ "node": ">=0.12.0" } }, - "node_modules/is-number-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", - "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", @@ -7278,16 +3305,6 @@ "node": ">=8" } }, - "node_modules/is-obj-prop": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-obj-prop/-/is-obj-prop-1.0.0.tgz", - "integrity": "sha1-s03nnEULjXxzqyzfZ9yHWtuF+A4=", - "dev": true, - "dependencies": { - "lowercase-keys": "^1.0.0", - "obj-props": "^1.0.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", @@ -7326,32 +3343,6 @@ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", "dev": true }, - "node_modules/is-proto-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-proto-prop/-/is-proto-prop-2.0.0.tgz", - "integrity": "sha512-jl3NbQ/fGLv5Jhan4uX+Ge9ohnemqyblWVVCpAvtTQzNFvV2xhJq+esnkIbYQ9F1nITXoLfDDQLp7LBw/zzncg==", - "dev": true, - "dependencies": { - "lowercase-keys": "^1.0.0", - "proto-props": "^2.0.0" - } - }, - "node_modules/is-regex": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz", - "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-symbols": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-regexp": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", @@ -7361,18 +3352,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-relative": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", - "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", - "dev": true, - "dependencies": { - "is-unc-path": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-stream": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", @@ -7384,33 +3363,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-string": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", - "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-text-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", @@ -7428,18 +3380,6 @@ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, - "node_modules/is-unc-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", - "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", - "dev": true, - "dependencies": { - "unc-path-regex": "^0.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-unicode-supported": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", @@ -7451,30 +3391,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/is-yarn-global": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", - "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==", - "dev": true - }, "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -7485,15 +3401,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/issue-parser": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-6.0.0.tgz", @@ -7574,47 +3481,6 @@ "node": ">= 0.6.0" } }, - "node_modules/jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", - "dev": true, - "peer": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": ">= 10.13.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, - "peer": 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, - "peer": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, "node_modules/js-string-escape": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", @@ -7629,15 +3495,6 @@ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, - "node_modules/js-types": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/js-types/-/js-types-1.0.0.tgz", - "integrity": "sha1-0kLmSU7Vcq08koCfyL7X92h8vwM=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -7656,24 +3513,6 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "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-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", - "dev": true - }, "node_modules/json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", @@ -7684,38 +3523,11 @@ "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==" }, - "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==", - "dev": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", - "dev": true - }, "node_modules/json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" }, - "node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -7756,15 +3568,6 @@ "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", "dev": true }, - "node_modules/keyv": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", - "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "dev": true, - "dependencies": { - "json-buffer": "3.0.0" - } - }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -7773,52 +3576,6 @@ "node": ">=0.10.0" } }, - "node_modules/latest-version": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", - "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", - "dev": true, - "dependencies": { - "package-json": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/line-column-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/line-column-path/-/line-column-path-2.0.0.tgz", - "integrity": "sha512-nz3A+vi4bElhwd62E9+Qk/f9BDYLSzD/4Hy1rir0I4GnMxSTezSymzANyph5N1PgRZ3sSbA+yR5hOuXxc71a0Q==", - "dev": true, - "dependencies": { - "type-fest": "^0.4.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/line-column-path/node_modules/type-fest": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", - "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", @@ -7850,16 +3607,6 @@ "node": ">=4" } }, - "node_modules/loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", - "dev": true, - "peer": true, - "engines": { - "node": ">=6.11.5" - } - }, "node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -7912,38 +3659,11 @@ "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "node_modules/lodash.truncate": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", - "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", - "dev": true - }, "node_modules/lodash.uniqby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", "integrity": "sha1-2ZwHpmnp5tJOE2Lf4mbGdhavEwI=" }, - "node_modules/lodash.zip": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.zip/-/lodash.zip-4.2.0.tgz", - "integrity": "sha1-7GZi5IlkCO1KtsVCo5kLcswIACA=", - "dev": true - }, - "node_modules/lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -7991,15 +3711,6 @@ "node": ">=6" } }, - "node_modules/map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/map-obj": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", @@ -8011,18 +3722,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dev": true, - "dependencies": { - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/marked": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.2.tgz", @@ -8128,17 +3827,6 @@ "node": ">=8" } }, - "node_modules/md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "dev": true, - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, "node_modules/mem": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/mem/-/mem-9.0.2.tgz", @@ -8155,12 +3843,6 @@ "url": "https://github.com/sindresorhus/mem?sponsor=1" } }, - "node_modules/memory-fs": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.2.0.tgz", - "integrity": "sha1-8rslNovBIeORwlIN6Slpyu4KApA=", - "dev": true - }, "node_modules/meow": { "version": "8.1.2", "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", @@ -8222,12 +3904,6 @@ "node": ">= 8" } }, - "node_modules/micro-spelling-correcter": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/micro-spelling-correcter/-/micro-spelling-correcter-1.1.1.tgz", - "integrity": "sha512-lkJ3Rj/mtjlRcHk6YyCbvZhyWTOzdBvTHsxMmZSk5jxN1YyVSQ+JETAom55mdzfcyDrY/49Z7UCW760BK30crg==", - "dev": true - }, "node_modules/micromatch": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", @@ -8240,25 +3916,6 @@ "node": ">=8.6" } }, - "node_modules/miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "dev": true, - "dependencies": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" - }, - "bin": { - "miller-rabin": "bin/miller-rabin" - } - }, - "node_modules/miller-rabin/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, "node_modules/mime": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", @@ -8270,29 +3927,6 @@ "node": ">=4.0.0" } }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, - "peer": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, - "peer": true, - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/mimic-fn": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", @@ -8304,15 +3938,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", @@ -8321,18 +3946,6 @@ "node": ">=4" } }, - "node_modules/minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", - "dev": true - }, - "node_modules/minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", - "dev": true - }, "node_modules/minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", @@ -8362,43 +3975,6 @@ "node": ">= 6" } }, - "node_modules/mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "dependencies": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-deep/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-deep/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/mkdirp-classic": { "version": "0.5.3", "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", @@ -8443,12 +4019,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/multimap": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/multimap/-/multimap-1.1.0.tgz", - "integrity": "sha512-0ZIR9PasPxGXmRsEF8jsDzndzHDj7tIav+JUmvIFB/WHswliFnquxECT/De7GR4yg99ky/NlRKJT82G1y271bw==", - "dev": true - }, "node_modules/nan": { "version": "2.14.2", "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", @@ -8456,34 +4026,6 @@ "dev": true, "optional": true }, - "node_modules/nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true - }, "node_modules/neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", @@ -8566,90 +4108,6 @@ "node-gyp-build-test": "build-test.js" } }, - "node_modules/node-libs-browser": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", - "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", - "dev": true, - "dependencies": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^3.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", - "path-browserify": "0.0.1", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", - "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.11.0", - "vm-browserify": "^1.0.1" - } - }, - "node_modules/node-libs-browser/node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "dev": true, - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/node-libs-browser/node_modules/punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true - }, - "node_modules/node-libs-browser/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/node-libs-browser/node_modules/readable-stream/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/node-libs-browser/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/node-releases": { - "version": "1.1.71", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", - "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==", - "dev": true - }, "node_modules/nofilter": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-3.1.0.tgz", @@ -10975,140 +6433,6 @@ "inBundle": true, "license": "ISC" }, - "node_modules/obj-props": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/obj-props/-/obj-props-1.4.0.tgz", - "integrity": "sha512-p7p/7ltzPDiBs6DqxOrIbtRdwxxVRBj5ROukeNb9RgA+fawhrz5n2hpNz8DDmYR//tviJSj7nUnlppGmONkjiQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dev": true, - "dependencies": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", - "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "dev": true, - "dependencies": { - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.values": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz", - "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2", - "has": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -11131,64 +6455,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/open": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz", - "integrity": "sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==", - "dev": true, - "dependencies": { - "is-wsl": "^1.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/open-editor": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/open-editor/-/open-editor-2.0.1.tgz", - "integrity": "sha512-B3KdD7Pl8jYdpBSBBbdYaqVUI3whQjLl1G1+CvhNc8+d7GzKRUq+VuCIx1thxGiqD2oBGRvsZz7QWrBsFP2yVA==", - "dev": true, - "dependencies": { - "env-editor": "^0.4.0", - "line-column-path": "^2.0.0", - "open": "^6.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "dev": true, - "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/os-browserify": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", - "dev": true - }, - "node_modules/p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/p-defer": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", @@ -11323,70 +6589,6 @@ "node": ">=6" } }, - "node_modules/package-json": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", - "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", - "dev": true, - "dependencies": { - "got": "^9.6.0", - "registry-auth-token": "^4.0.0", - "registry-url": "^5.0.0", - "semver": "^6.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/package-json/node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/package-json/node_modules/got": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", - "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "dev": true, - "dependencies": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/package-json/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", - "dev": true - }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -11398,19 +6600,6 @@ "node": ">=6" } }, - "node_modules/parse-asn1": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", - "dev": true, - "dependencies": { - "asn1.js": "^5.2.0", - "browserify-aes": "^1.0.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3", - "safe-buffer": "^5.1.1" - } - }, "node_modules/parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", @@ -11437,27 +6626,6 @@ "node": ">=6" } }, - "node_modules/pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", - "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", - "dev": true - }, - "node_modules/path-dirname": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", - "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", - "dev": true - }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -11510,22 +6678,6 @@ "node": ">=8" } }, - "node_modules/pbkdf2": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", - "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", - "dev": true, - "dependencies": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - }, - "engines": { - "node": ">=0.12" - } - }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", @@ -11618,18 +6770,6 @@ "node": ">=4" } }, - "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/plur": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/plur/-/plur-5.1.0.tgz", @@ -11645,71 +6785,25 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/pluralize": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", - "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/pop-iterate": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/pop-iterate/-/pop-iterate-1.0.1.tgz", "integrity": "sha1-zqz9q0q/NT16DyqqLB/Hs/lBO6M=", "dev": true }, - "node_modules/posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/prettier": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", - "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", "dev": true, - "peer": true, "bin": { "prettier": "bin-prettier.js" }, "engines": { "node": ">=10.13.0" - } - }, - "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", - "dev": true, - "dependencies": { - "fast-diff": "^1.1.2" }, - "engines": { - "node": ">=6.0.0" + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } }, "node_modules/pretty-ms": { @@ -11727,29 +6821,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "dev": true, - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, - "node_modules/progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/propagate": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", @@ -11759,35 +6835,6 @@ "node": ">= 8" } }, - "node_modules/proto-props": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/proto-props/-/proto-props-2.0.0.tgz", - "integrity": "sha512-2yma2tog9VaRZY2mn3Wq51uiSW4NcPYT1cQdBagwyrznrilKSZwIZ0UG3ZPL/mx+axEns0hE35T5ufOYZXEnBQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/public-encrypt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", - "dev": true, - "dependencies": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/public-encrypt/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -11798,27 +6845,6 @@ "once": "^1.3.1" } }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/pupa": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", - "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", - "dev": true, - "dependencies": { - "escape-goat": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", @@ -11828,25 +6854,6 @@ "teleport": ">=0.2.0" } }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "dev": true, - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/querystring-es3": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", - "dev": true, - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -11888,25 +6895,6 @@ "node": ">=8" } }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/randomfill": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "dev": true, - "dependencies": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" - } - }, "node_modules/rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -12132,40 +7120,6 @@ "esprima": "~4.0.0" } }, - "node_modules/regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, - "dependencies": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regexp-tree": { - "version": "0.1.24", - "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.24.tgz", - "integrity": "sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==", - "dev": true, - "bin": { - "regexp-tree": "bin/regexp-tree" - } - }, - "node_modules/regexpp": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", - "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, "node_modules/registry-auth-token": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", @@ -12177,36 +7131,6 @@ "node": ">=6.0.0" } }, - "node_modules/registry-url": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", - "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", - "dev": true, - "dependencies": { - "rc": "^1.2.8" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/repeat-element": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -12215,21 +7139,6 @@ "node": ">=0.10.0" } }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/reserved-words": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/reserved-words/-/reserved-words-0.1.2.tgz", - "integrity": "sha1-AKCUD5jNUBrqqsMWQR2a3FKzGrE=", - "dev": true - }, "node_modules/resolve": { "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", @@ -12268,31 +7177,6 @@ "node": ">=8" } }, - "node_modules/resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "deprecated": "https://github.com/lydell/resolve-url#deprecated", - "dev": true - }, - "node_modules/responselike": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "dev": true, - "dependencies": { - "lowercase-keys": "^1.0.0" - } - }, - "node_modules/ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true, - "engines": { - "node": ">=0.12" - } - }, "node_modules/retry": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", @@ -12324,16 +7208,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "dev": true, - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -12375,40 +7249,12 @@ } ] }, - "node_modules/safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dev": true, - "dependencies": { - "ret": "~0.1.10" - } - }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, - "node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", - "dev": true, - "peer": true, - "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, "node_modules/semantic-release": { "version": "20.0.0-beta.1", "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-20.0.0-beta.1.tgz", @@ -12522,74 +7368,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", - "dev": true, - "peer": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", - "dev": true - }, - "node_modules/sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - }, - "bin": { - "sha.js": "bin.js" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -12725,161 +7503,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "dependencies": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "dependencies": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, - "dependencies": { - "kind-of": "^3.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/snapdragon/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/snapdragon/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -12888,36 +7511,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "dev": true, - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "peer": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", - "dev": true - }, "node_modules/spawn-error-forwarder": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz", @@ -12968,18 +7561,6 @@ "integrity": "sha1-bIOv82kvphJW4M0ZfgXp3hV2kaY=", "dev": true }, - "node_modules/split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, - "dependencies": { - "extend-shallow": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/split2": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", @@ -13040,71 +7621,6 @@ "node": ">=8" } }, - "node_modules/static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dev": true, - "dependencies": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stream-browserify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", - "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", - "dev": true, - "dependencies": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" - } - }, - "node_modules/stream-browserify/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/stream-browserify/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/stream-browserify/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/stream-buffers": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-3.0.2.tgz", @@ -13159,49 +7675,6 @@ "stubs": "^3.0.0" } }, - "node_modules/stream-http": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", - "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", - "dev": true, - "dependencies": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" - } - }, - "node_modules/stream-http/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/stream-http/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/stream-http/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -13223,32 +7696,6 @@ "node": ">=8" } }, - "node_modules/string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/stringify-object-es5": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/stringify-object-es5/-/stringify-object-es5-2.5.0.tgz", @@ -13426,103 +7873,6 @@ "node": ">=8" } }, - "node_modules/table": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.0.tgz", - "integrity": "sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA==", - "dev": true, - "dependencies": { - "ajv": "^8.0.1", - "lodash.truncate": "^4.4.2", - "slice-ansi": "^4.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/table/node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/table/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/table/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/table/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/table/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/table/node_modules/slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/tapable": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.1.10.tgz", - "integrity": "sha1-KcNXB8K3DlDQdIK10gLo7URtr9Q=", - "dev": true, - "engines": { - "node": ">=0.6" - } - }, "node_modules/tar-fs": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.1.tgz", @@ -13656,72 +8006,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/term-size": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", - "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/terser": { - "version": "5.14.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", - "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", - "dev": true, - "peer": true, - "dependencies": { - "@jridgewell/source-map": "^0.3.2", - "acorn": "^8.5.0", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser-webpack-plugin": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.3.tgz", - "integrity": "sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==", - "dev": true, - "peer": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.7", - "jest-worker": "^27.4.5", - "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "terser": "^5.7.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.1.0" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "uglify-js": { - "optional": true - } - } - }, "node_modules/test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", @@ -13759,12 +8043,6 @@ "node": ">=0.10" } }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", - "dev": true - }, "node_modules/theredoc": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/theredoc/-/theredoc-1.0.0.tgz", @@ -13793,94 +8071,6 @@ "node": ">=4" } }, - "node_modules/timers-browserify": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", - "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", - "dev": true, - "dependencies": { - "setimmediate": "^1.0.4" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/to-absolute-glob": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz", - "integrity": "sha1-GGX0PZ50sIItufFFt4z/fQ98hJs=", - "dev": true, - "dependencies": { - "is-absolute": "^1.0.0", - "is-negated-glob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", - "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": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-object-path/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, - "dependencies": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -13910,57 +8100,6 @@ "node": ">=8" } }, - "node_modules/tsconfig-paths": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz", - "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==", - "dev": true, - "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.1", - "minimist": "^1.2.0", - "strip-bom": "^3.0.0" - } - }, - "node_modules/tsconfig-paths/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } - }, - "node_modules/tty-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", - "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", - "dev": true - }, "node_modules/tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", @@ -13973,18 +8112,6 @@ "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==", "dev": true }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", @@ -14014,19 +8141,6 @@ "is-typedarray": "^1.0.0" } }, - "node_modules/typescript": { - "version": "3.9.9", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz", - "integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, "node_modules/uglify-js": { "version": "3.14.2", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.2.tgz", @@ -14039,45 +8153,6 @@ "node": ">=0.8.0" } }, - "node_modules/unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/unc-path-regex": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", - "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dev": true, - "dependencies": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/unique-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", @@ -14102,103 +8177,11 @@ "node": ">= 10.0.0" } }, - "node_modules/unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dev": true, - "dependencies": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dev": true, - "dependencies": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "dev": true, - "engines": { - "node": ">=0.10.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==", - "dev": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "deprecated": "Please see https://github.com/lydell/urix#deprecated", - "dev": true - }, - "node_modules/url": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dev": true, - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, "node_modules/url-join": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==" }, - "node_modules/url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "dev": true, - "dependencies": { - "prepend-http": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/url/node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", - "dev": true - }, "node_modules/urlgrey": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-1.0.0.tgz", @@ -14208,15 +8191,6 @@ "fast-url-parser": "^1.1.3" } }, - "node_modules/use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/utf-8-validate": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.4.tgz", @@ -14227,32 +8201,11 @@ "node-gyp-build": "^4.2.0" } }, - "node_modules/util": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", - "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", - "dev": true, - "dependencies": { - "inherits": "2.0.3" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, - "node_modules/util/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - }, - "node_modules/v8-compile-cache": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", - "dev": true - }, "node_modules/v8-to-istanbul": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", @@ -14276,33 +8229,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "node_modules/vm-browserify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", - "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", - "dev": true - }, - "node_modules/watchpack": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", - "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", - "dev": true, - "peer": true, - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/watchpack/node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "peer": true - }, "node_modules/weak-map": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.5.tgz", @@ -14314,95 +8240,6 @@ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" }, - "node_modules/webpack": { - "version": "5.73.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", - "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", - "dev": true, - "peer": true, - "dependencies": { - "@types/eslint-scope": "^3.7.3", - "@types/estree": "^0.0.51", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "acorn-import-assertions": "^1.7.6", - "browserslist": "^4.14.5", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.3", - "es-module-lexer": "^0.9.0", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.9", - "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", - "webpack-sources": "^3.2.3" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependenciesMeta": { - "webpack-cli": { - "optional": true - } - } - }, - "node_modules/webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "dev": true, - "peer": true, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/webpack/node_modules/enhanced-resolve": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", - "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", - "dev": true, - "peer": true, - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/webpack/node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "peer": true - }, - "node_modules/webpack/node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=6" - } - }, "node_modules/websocket": { "version": "1.0.34", "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", @@ -14467,43 +8304,6 @@ "node": ">= 8" } }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/widest-line": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", - "dev": true, - "dependencies": { - "string-width": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", @@ -14560,673 +8360,6 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, - "node_modules/write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, - "node_modules/xdg-basedir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/xo": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/xo/-/xo-0.32.1.tgz", - "integrity": "sha512-L43ROY2opNW7yp7byEAibBSk0jYvMuC4yUUrphkqegqU76Bxp5Rc+Gcl62lK1f5zuRrlY0IwMypIfY4EPSzMfQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/eslint-plugin": "^3.1.0", - "@typescript-eslint/parser": "^3.1.0", - "arrify": "^2.0.1", - "cosmiconfig": "^6.0.0", - "debug": "^4.1.1", - "eslint": "^7.1.0", - "eslint-config-prettier": "^6.11.0", - "eslint-config-xo": "^0.30.0", - "eslint-config-xo-typescript": "^0.31.0", - "eslint-formatter-pretty": "^3.0.1", - "eslint-import-resolver-webpack": "^0.12.1", - "eslint-plugin-ava": "^10.3.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-import": "^2.20.2", - "eslint-plugin-no-use-extend-native": "^0.5.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^3.1.3", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-unicorn": "^20.1.0", - "find-cache-dir": "^3.3.1", - "find-up": "^4.1.0", - "fs-extra": "^9.0.0", - "get-stdin": "^8.0.0", - "globby": "^9.0.0", - "has-flag": "^4.0.0", - "imurmurhash": "^0.1.4", - "is-path-inside": "^3.0.2", - "json-stable-stringify-without-jsonify": "^1.0.1", - "json5": "^2.1.3", - "lodash": "^4.17.15", - "meow": "^7.0.1", - "micromatch": "^4.0.2", - "open-editor": "^2.0.1", - "p-reduce": "^2.1.0", - "path-exists": "^4.0.0", - "prettier": "2.0.4", - "resolve-cwd": "^3.0.0", - "resolve-from": "^5.0.0", - "semver": "^7.3.2", - "slash": "^3.0.0", - "to-absolute-glob": "^2.0.2", - "typescript": "^3.3.1", - "update-notifier": "^4.1.0" - }, - "bin": { - "xo": "cli.js" - }, - "engines": { - "node": ">=10.18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/xo/node_modules/@nodelib/fs.stat": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", - "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/xo/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/xo/node_modules/array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "dependencies": { - "array-uniq": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/xo/node_modules/boxen": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", - "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", - "dev": true, - "dependencies": { - "ansi-align": "^3.0.0", - "camelcase": "^5.3.1", - "chalk": "^3.0.0", - "cli-boxes": "^2.2.0", - "string-width": "^4.1.0", - "term-size": "^2.1.0", - "type-fest": "^0.8.1", - "widest-line": "^3.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/xo/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/xo/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/xo/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/xo/node_modules/cosmiconfig": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", - "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", - "dev": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.7.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/xo/node_modules/dir-glob": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", - "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", - "dev": true, - "dependencies": { - "path-type": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/xo/node_modules/dir-glob/node_modules/path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "dependencies": { - "pify": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/xo/node_modules/dir-glob/node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/xo/node_modules/fast-glob": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", - "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==", - "dev": true, - "dependencies": { - "@mrmlnc/readdir-enhanced": "^2.2.1", - "@nodelib/fs.stat": "^1.1.2", - "glob-parent": "^3.1.0", - "is-glob": "^4.0.0", - "merge2": "^1.2.3", - "micromatch": "^3.1.10" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xo/node_modules/fast-glob/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/xo/node_modules/glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "dev": true, - "dependencies": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - } - }, - "node_modules/xo/node_modules/glob-parent/node_modules/is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/global-dirs": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.1.0.tgz", - "integrity": "sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ==", - "dev": true, - "dependencies": { - "ini": "1.3.7" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/xo/node_modules/globby": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz", - "integrity": "sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg==", - "dev": true, - "dependencies": { - "@types/glob": "^7.1.1", - "array-union": "^1.0.2", - "dir-glob": "^2.2.2", - "fast-glob": "^2.2.6", - "glob": "^7.1.3", - "ignore": "^4.0.3", - "pify": "^4.0.1", - "slash": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/xo/node_modules/globby/node_modules/slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/xo/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/xo/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/xo/node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/xo/node_modules/ini": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz", - "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==", - "dev": true - }, - "node_modules/xo/node_modules/is-installed-globally": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", - "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", - "dev": true, - "dependencies": { - "global-dirs": "^2.0.1", - "is-path-inside": "^3.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/xo/node_modules/is-npm": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", - "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/xo/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", - "dev": true, - "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/xo/node_modules/meow/node_modules/type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/xo/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/xo/node_modules/normalize-package-data/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/xo/node_modules/p-reduce": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", - "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/xo/node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/xo/node_modules/prettier": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.4.tgz", - "integrity": "sha512-SVJIQ51spzFDvh4fIbCLvciiDMCrRhlN3mbZvv/+ycjvmF5E73bKdGfU8QDLNmjYJf+lsGnDBC4UUnvTe5OO0w==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/xo/node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/xo/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/xo/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/xo/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/xo/node_modules/update-notifier": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz", - "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==", - "dev": true, - "dependencies": { - "boxen": "^4.2.0", - "chalk": "^3.0.0", - "configstore": "^5.0.1", - "has-yarn": "^2.1.0", - "import-lazy": "^2.1.0", - "is-ci": "^2.0.0", - "is-installed-globally": "^0.3.1", - "is-npm": "^4.0.0", - "is-yarn-global": "^0.3.0", - "latest-version": "^5.0.0", - "pupa": "^2.0.1", - "semver-diff": "^3.1.1", - "xdg-basedir": "^4.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/yeoman/update-notifier?sponsor=1" - } - }, - "node_modules/xo/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==", - "dev": true, - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", @@ -15320,228 +8453,11 @@ "@babel/highlight": "^7.12.13" } }, - "@babel/compat-data": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.12.tgz", - "integrity": "sha512-3eJJ841uKxeV8dcN/2yGEUy+RfgQspPEgQat85umsE1rotuquQ2AbIub4S6j7c50a2d+4myc+zSlnXeIHrOnhQ==", - "dev": true - }, - "@babel/core": { - "version": "7.13.14", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.14.tgz", - "integrity": "sha512-wZso/vyF4ki0l0znlgM4inxbdrUvCb+cVz8grxDq+6C9k6qbqoIJteQOKicaKjCipU3ISV+XedCqpL2RJJVehA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.9", - "@babel/helper-compilation-targets": "^7.13.13", - "@babel/helper-module-transforms": "^7.13.14", - "@babel/helpers": "^7.13.10", - "@babel/parser": "^7.13.13", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.13", - "@babel/types": "^7.13.14", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } - } - }, - "@babel/eslint-parser": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.17.0.tgz", - "integrity": "sha512-PUEJ7ZBXbRkbq3qqM/jZ2nIuakUBqCYc7Qf52Lj7dlZ6zERnqisdHioL0l4wwQZnmskMeasqUNzLBFKs3nylXA==", - "dev": true, - "requires": { - "eslint-scope": "^5.1.1", - "eslint-visitor-keys": "^2.1.0", - "semver": "^6.3.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "@babel/generator": { - "version": "7.13.9", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.9.tgz", - "integrity": "sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==", - "dev": true, - "requires": { - "@babel/types": "^7.13.0", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } - } - }, - "@babel/helper-compilation-targets": { - "version": "7.13.13", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.13.tgz", - "integrity": "sha512-q1kcdHNZehBwD9jYPh3WyXcsFERi39X4I59I3NadciWtNDyZ6x+GboOxncFK0kXlKIv6BJm5acncehXWUjWQMQ==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.13.12", - "@babel/helper-validator-option": "^7.12.17", - "browserslist": "^4.14.5", - "semver": "^6.3.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "@babel/helper-function-name": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz", - "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "^7.12.13", - "@babel/template": "^7.12.13", - "@babel/types": "^7.12.13" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", - "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", - "dev": true, - "requires": { - "@babel/types": "^7.12.13" - } - }, - "@babel/helper-member-expression-to-functions": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz", - "integrity": "sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==", - "dev": true, - "requires": { - "@babel/types": "^7.13.12" - } - }, - "@babel/helper-module-imports": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz", - "integrity": "sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==", - "dev": true, - "requires": { - "@babel/types": "^7.13.12" - } - }, - "@babel/helper-module-transforms": { - "version": "7.13.14", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz", - "integrity": "sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.13.12", - "@babel/helper-replace-supers": "^7.13.12", - "@babel/helper-simple-access": "^7.13.12", - "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/helper-validator-identifier": "^7.12.11", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.13", - "@babel/types": "^7.13.14" - } - }, - "@babel/helper-optimise-call-expression": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", - "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", - "dev": true, - "requires": { - "@babel/types": "^7.12.13" - } - }, - "@babel/helper-replace-supers": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz", - "integrity": "sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==", - "dev": true, - "requires": { - "@babel/helper-member-expression-to-functions": "^7.13.12", - "@babel/helper-optimise-call-expression": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.12" - } - }, - "@babel/helper-simple-access": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz", - "integrity": "sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==", - "dev": true, - "requires": { - "@babel/types": "^7.13.12" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", - "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", - "dev": true, - "requires": { - "@babel/types": "^7.12.13" - } - }, "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" }, - "@babel/helper-validator-option": { - "version": "7.12.17", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz", - "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==", - "dev": true - }, - "@babel/helpers": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.10.tgz", - "integrity": "sha512-4VO883+MWPDUVRF3PhiLBUFHoX/bsLTGFpFK/HqvvfBZz2D57u9XzPVNFVBTc0PW/CWR9BXTOKt8NF4DInUHcQ==", - "dev": true, - "requires": { - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0" - } - }, "@babel/highlight": { "version": "7.13.10", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.10.tgz", @@ -15552,50 +8468,6 @@ "js-tokens": "^4.0.0" } }, - "@babel/parser": { - "version": "7.13.13", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.13.tgz", - "integrity": "sha512-OhsyMrqygfk5v8HmWwOzlYjJrtLaFhF34MrfG/Z73DgYCI6ojNUTUp2TYbtnjo8PegeJp12eamsNettCQjKjVw==", - "dev": true - }, - "@babel/template": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", - "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.12.13", - "@babel/parser": "^7.12.13", - "@babel/types": "^7.12.13" - } - }, - "@babel/traverse": { - "version": "7.13.13", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.13.tgz", - "integrity": "sha512-CblEcwmXKR6eP43oQGG++0QMTtCjAsa3frUuzHoiIJWpaIIi8dwMyEFUJoXRLxagGqCK+jALRwIO+o3R9p/uUg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.9", - "@babel/helper-function-name": "^7.12.13", - "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/parser": "^7.13.13", - "@babel/types": "^7.13.13", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "@babel/types": { - "version": "7.13.14", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.14.tgz", - "integrity": "sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.12.11", - "lodash": "^4.17.19", - "to-fast-properties": "^2.0.0" - } - }, "@balena/dockerignore": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@balena/dockerignore/-/dockerignore-1.0.2.tgz", @@ -15608,121 +8480,18 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, - "@eslint/eslintrc": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", - "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", - "dev": true, - "requires": { - "ajv": "^6.12.4", - "debug": "^4.1.1", - "espree": "^7.3.0", - "globals": "^13.9.0", - "ignore": "^4.0.6", - "import-fresh": "^3.2.1", - "js-yaml": "^3.13.1", - "minimatch": "^3.0.4", - "strip-json-comments": "^3.1.1" - }, - "dependencies": { - "globals": { - "version": "13.13.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz", - "integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } - }, - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - }, - "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, - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "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 - }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true - } - } - }, - "@humanwhocodes/config-array": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", - "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", - "dev": true, - "requires": { - "@humanwhocodes/object-schema": "^1.2.0", - "debug": "^4.1.1", - "minimatch": "^3.0.4" - } - }, - "@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true - }, "@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 }, - "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "dev": true, - "peer": true, - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, "@jridgewell/resolve-uri": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", "dev": true }, - "@jridgewell/set-array": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", - "dev": true, - "peer": true - }, - "@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", - "dev": true, - "peer": true, - "requires": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, "@jridgewell/sourcemap-codec": { "version": "1.4.13", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", @@ -15739,16 +8508,6 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "@mrmlnc/readdir-enhanced": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", - "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", - "dev": true, - "requires": { - "call-me-maybe": "^1.0.1", - "glob-to-regexp": "^0.3.0" - } - }, "@nodelib/fs.scandir": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", @@ -16107,12 +8866,6 @@ } } }, - "@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", - "dev": true - }, "@sinonjs/commons": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", @@ -16148,65 +8901,11 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, - "@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", - "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "dev": true, - "requires": { - "defer-to-connect": "^1.0.1" - } - }, "@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" }, - "@types/eslint": { - "version": "8.4.3", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.3.tgz", - "integrity": "sha512-YP1S7YJRMPs+7KZKDb9G63n8YejIwW9BALq7a5j2+H4yl6iOv9CB29edho+cuFRrvmJbbaH2yiVChKLJVysDGw==", - "dev": true, - "peer": true, - "requires": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "@types/eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", - "dev": true, - "peer": true, - "requires": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "@types/eslint-visitor-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", - "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==", - "dev": true - }, - "@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", - "dev": true, - "peer": true - }, - "@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", - "dev": true, - "requires": { - "@types/minimatch": "*", - "@types/node": "*" - } - }, "@types/http-cache-semantics": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz", @@ -16219,35 +8918,11 @@ "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", "dev": true }, - "@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", - "dev": true - }, - "@types/json5": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", - "dev": true - }, - "@types/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", - "dev": true - }, "@types/minimist": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" }, - "@types/node": { - "version": "14.14.37", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.37.tgz", - "integrity": "sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==", - "dev": true - }, "@types/normalize-package-data": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", @@ -16264,273 +8939,12 @@ "integrity": "sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==", "dev": true }, - "@typescript-eslint/eslint-plugin": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.10.1.tgz", - "integrity": "sha512-PQg0emRtzZFWq6PxBcdxRH3QIQiyFO3WCVpRL3fgj5oQS3CDs3AeAKfv4DxNhzn8ITdNJGJ4D3Qw8eAJf3lXeQ==", - "dev": true, - "requires": { - "@typescript-eslint/experimental-utils": "3.10.1", - "debug": "^4.1.1", - "functional-red-black-tree": "^1.0.1", - "regexpp": "^3.0.0", - "semver": "^7.3.2", - "tsutils": "^3.17.1" - } - }, - "@typescript-eslint/experimental-utils": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.10.1.tgz", - "integrity": "sha512-DewqIgscDzmAfd5nOGe4zm6Bl7PKtMG2Ad0KG8CUZAHlXfAKTF9Ol5PXhiMh39yRL2ChRH1cuuUGOcVyyrhQIw==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.3", - "@typescript-eslint/types": "3.10.1", - "@typescript-eslint/typescript-estree": "3.10.1", - "eslint-scope": "^5.0.0", - "eslint-utils": "^2.0.0" - } - }, - "@typescript-eslint/parser": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.10.1.tgz", - "integrity": "sha512-Ug1RcWcrJP02hmtaXVS3axPPTTPnZjupqhgj+NnZ6BCkwSImWk/283347+x9wN+lqOdK9Eo3vsyiyDHgsmiEJw==", - "dev": true, - "requires": { - "@types/eslint-visitor-keys": "^1.0.0", - "@typescript-eslint/experimental-utils": "3.10.1", - "@typescript-eslint/types": "3.10.1", - "@typescript-eslint/typescript-estree": "3.10.1", - "eslint-visitor-keys": "^1.1.0" - } - }, - "@typescript-eslint/types": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.10.1.tgz", - "integrity": "sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ==", - "dev": true - }, - "@typescript-eslint/typescript-estree": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.10.1.tgz", - "integrity": "sha512-QbcXOuq6WYvnB3XPsZpIwztBoquEYLXh2MtwVU+kO8jgYCiv4G5xrSP/1wg4tkvrEE+esZVquIPX/dxPlePk1w==", - "dev": true, - "requires": { - "@typescript-eslint/types": "3.10.1", - "@typescript-eslint/visitor-keys": "3.10.1", - "debug": "^4.1.1", - "glob": "^7.1.6", - "is-glob": "^4.0.1", - "lodash": "^4.17.15", - "semver": "^7.3.2", - "tsutils": "^3.17.1" - } - }, - "@typescript-eslint/visitor-keys": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.10.1.tgz", - "integrity": "sha512-9JgC82AaQeglebjZMgYR5wgmfUdUc+EitGUUMW8u2nDckaeimzW+VsoLV6FoimPv2id3VQzfjwBxEMVz08ameQ==", - "dev": true, - "requires": { - "eslint-visitor-keys": "^1.1.0" - } - }, - "@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", - "dev": true, - "peer": true, - "requires": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" - } - }, - "@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", - "dev": true, - "peer": true - }, - "@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", - "dev": true, - "peer": true - }, - "@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", - "dev": true, - "peer": true - }, - "@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", - "dev": true, - "peer": true, - "requires": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", - "dev": true, - "peer": true - }, - "@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", - "dev": true, - "peer": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" - } - }, - "@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", - "dev": true, - "peer": true, - "requires": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", - "dev": true, - "peer": true, - "requires": { - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", - "dev": true, - "peer": true - }, - "@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", - "dev": true, - "peer": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" - } - }, - "@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", - "dev": true, - "peer": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", - "dev": true, - "peer": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" - } - }, - "@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", - "dev": true, - "peer": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", - "dev": true, - "peer": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true, - "peer": true - }, - "@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true, - "peer": true - }, "acorn": { "version": "8.7.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", "dev": true }, - "acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "dev": true, - "peer": true, - "requires": {} - }, - "acorn-jsx": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", - "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", - "dev": true, - "requires": {} - }, "acorn-walk": { "version": "8.2.0", "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", @@ -16561,98 +8975,6 @@ } } }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "peer": true, - "requires": {} - }, - "ansi-align": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz", - "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==", - "dev": true, - "requires": { - "string-width": "^3.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", - "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "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": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "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==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, - "ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true - }, - "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==", - "dev": true, - "requires": { - "type-fest": "^0.21.3" - }, - "dependencies": { - "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==", - "dev": true - } - } - }, "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", @@ -16701,30 +9023,6 @@ "resolved": "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz", "integrity": "sha1-oMoMvCmltz6Dbuvhy/bF4OTrgvk=" }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "dev": true - }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true - }, - "arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "dev": true - }, - "array-find": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-find/-/array-find-1.0.0.tgz", - "integrity": "sha1-bI4obRHtdoMn+OYuzuhzU8o+eLg=", - "dev": true - }, "array-find-index": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", @@ -16736,47 +9034,11 @@ "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=" }, - "array-includes": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz", - "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2", - "get-intrinsic": "^1.1.1", - "is-string": "^1.0.5" - } - }, "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==" }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true - }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "dev": true - }, - "array.prototype.flat": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", - "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - } - }, "arrgv": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/arrgv/-/arrgv-1.0.2.tgz", @@ -16803,77 +9065,6 @@ "safer-buffer": "~2.1.0" } }, - "asn1.js": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", - "dev": true, - "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, - "assert": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", - "dev": true, - "requires": { - "object-assign": "^4.1.1", - "util": "0.10.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dev": true, - "requires": { - "inherits": "2.0.1" - } - } - } - }, - "assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "dev": true - }, - "astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", - "dev": true - }, - "at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true - }, "ava": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.3.tgz", @@ -17112,61 +9303,6 @@ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } - } - }, "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -17210,12 +9346,6 @@ "integrity": "sha512-vE52okJvzsVWhcgUHOv+69OG3Mdg151xyn41aVQN/5W5S+S43qZhxECtYLAEHMSFWX6Mv5IZrzj3T5+JqXfj5Q==", "dev": true }, - "bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", - "dev": true - }, "bottleneck": { "version": "2.19.5", "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", @@ -17238,124 +9368,12 @@ "fill-range": "^7.0.1" } }, - "brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", - "dev": true - }, "browser-or-node": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-2.0.0.tgz", "integrity": "sha512-3Lrks/Okgof+/cRguUNG+qRXSeq79SO3hY4QrXJayJofwJwHiGC0qi99uDjsfTwULUFSr1OGVsBkdIkygKjTUA==", "dev": true }, - "browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", - "dev": true, - "requires": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "browserify-cipher": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "dev": true, - "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" - } - }, - "browserify-des": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", - "dev": true, - "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "browserify-rsa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", - "dev": true, - "requires": { - "bn.js": "^5.0.0", - "randombytes": "^2.0.1" - } - }, - "browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", - "dev": true, - "requires": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", - "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - } - }, - "browserify-zlib": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "dev": true, - "requires": { - "pako": "~1.0.5" - } - }, - "browserslist": { - "version": "4.16.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.5.tgz", - "integrity": "sha512-C2HAjrM1AI/djrpAUU/tr4pml1DqLIzJKSLDBXBrNErl9ZCCTXdhwxdJjYc16953+mBWf7Lw+uUJgpgb8cN71A==", - "dev": true, - "requires": { - "caniuse-lite": "^1.0.30001214", - "colorette": "^1.2.2", - "electron-to-chromium": "^1.3.719", - "escalade": "^3.1.1", - "node-releases": "^1.1.71" - }, - "dependencies": { - "caniuse-lite": { - "version": "1.0.30001230", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001230.tgz", - "integrity": "sha512-5yBd5nWCBS+jWKTcHOzXwo5xzcj4ePE/yjtkZyUV1BTUmrBaA9MRGC+e7mxnqXSA90CmCA8L3eKLaSUkt099IQ==", - "dev": true - }, - "electron-to-chromium": { - "version": "1.3.739", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.739.tgz", - "integrity": "sha512-+LPJVRsN7hGZ9EIUUiWCpO7l4E3qBYHNadazlucBfsXBbccDFNKUBAgzE68FnkWGJPwD/AfKhSzL+G+Iqb8A4A==", - "dev": true - } - } - }, - "buf-compare": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buf-compare/-/buf-compare-1.0.1.tgz", - "integrity": "sha1-/vKNqLgROgoNtEMLC2Rntpcws0o=", - "dev": true - }, "buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -17366,19 +9384,6 @@ "ieee754": "^1.1.13" } }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true, - "peer": true - }, - "buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", - "dev": true - }, "bufferutil": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz", @@ -17388,12 +9393,6 @@ "node-gyp-build": "^4.2.0" } }, - "builtin-status-codes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", - "dev": true - }, "c8": { "version": "7.12.0", "resolved": "https://registry.npmjs.org/c8/-/c8-7.12.0.tgz", @@ -17479,83 +9478,12 @@ } } }, - "cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, - "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - } - }, "cacheable-lookup": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==", "dev": true }, - "cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", - "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "dev": true, - "requires": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "dependencies": { - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", - "dev": true - }, - "normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", - "dev": true - } - } - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", - "dev": true - }, "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -17626,73 +9554,18 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "dev": true }, - "chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", - "dev": true, - "peer": true - }, "chunkd": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/chunkd/-/chunkd-2.0.1.tgz", "integrity": "sha512-7d58XsFmOq0j6el67Ug9mHf9ELUXsQXYJBkyxhH/k+6Ke0qXRnv0kbemx+Twc6fRJ07C49lcbdgm9FL1Ei/6SQ==", "dev": true }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true - }, "ci-parallel-vars": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/ci-parallel-vars/-/ci-parallel-vars-1.0.1.tgz", "integrity": "sha512-uvzpYrpmidaoxvIQHM+rKSrigjOe9feHYbw4uOI2gdfe1C3xIlxO+kVXq83WQWNniTf8bAxVpy+cQeFQsMERKg==", "dev": true }, - "cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "dev": true, - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - } - } - }, - "clean-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clean-regexp/-/clean-regexp-1.0.0.tgz", - "integrity": "sha1-jffHquUf02h06PjQW5GAvBGj/tc=", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5" - } - }, "clean-stack": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", @@ -17735,12 +9608,6 @@ } } }, - "cli-boxes": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", - "dev": true - }, "cli-table3": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.1.tgz", @@ -17804,15 +9671,6 @@ "wrap-ansi": "^7.0.0" } }, - "clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "dev": true, - "requires": { - "mimic-response": "^1.0.0" - } - }, "code-excerpt": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz", @@ -17847,16 +9705,6 @@ } } }, - "collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dev": true, - "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - } - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -17870,37 +9718,18 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, - "colorette": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", - "dev": true - }, "colors": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", "optional": true }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true, - "peer": true - }, "common-path-prefix": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", "dev": true }, - "commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, "compare-func": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", @@ -17910,12 +9739,6 @@ "dot-prop": "^5.1.0" } }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -17937,44 +9760,6 @@ "well-known-symbols": "^2.0.0" } }, - "configstore": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", - "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", - "dev": true, - "requires": { - "dot-prop": "^5.2.0", - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "unique-string": "^2.0.0", - "write-file-atomic": "^3.0.0", - "xdg-basedir": "^4.0.0" - } - }, - "confusing-browser-globals": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.9.tgz", - "integrity": "sha512-KbS1Y0jMtyPgIxjO7ZzMAuUpAKMt1SzCL9fsrKsX6b0zJPTaT0SiSPmewwVZg9UAO83HVIlEhZF84LIjZ0lmAw==", - "dev": true - }, - "console-browserify": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", - "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", - "dev": true - }, - "constants-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", - "dev": true - }, - "contains-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", - "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", - "dev": true - }, "conventional-changelog-angular": { "version": "5.0.13", "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", @@ -18053,22 +9838,6 @@ "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==", "dev": true }, - "copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true - }, - "core-assert": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/core-assert/-/core-assert-0.2.1.tgz", - "integrity": "sha1-+F4s+b/tKPdzzIs/pcW2m9wC/j8=", - "dev": true, - "requires": { - "buf-compare": "^1.0.0", - "is-error": "^2.2.0" - } - }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -18096,51 +9865,6 @@ "nan": "^2.14.1" } }, - "create-ecdh": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", - "dev": true, - "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.5.3" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, - "create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "dev": true, - "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "create-hmac": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", - "dev": true, - "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -18151,25 +9875,6 @@ "which": "^2.0.1" } }, - "crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "dev": true, - "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" - } - }, "crypto-random-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", @@ -18237,97 +9942,11 @@ } } }, - "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true - }, - "decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "dev": true, - "requires": { - "mimic-response": "^1.0.0" - } - }, "deep-extend": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" }, - "deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "deep-strict-equal": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/deep-strict-equal/-/deep-strict-equal-0.2.0.tgz", - "integrity": "sha1-SgeBR6irV/ag1PVUckPNIvROtOQ=", - "dev": true, - "requires": { - "core-assert": "^0.2.0" - } - }, - "defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==", - "dev": true - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } - }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "dependencies": { - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } - } - }, "del": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/del/-/del-6.1.1.tgz", @@ -18378,41 +9997,12 @@ "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" }, - "des.js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", - "dev": true, - "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, "diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", "dev": true }, - "diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "dev": true, - "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, "dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -18444,21 +10034,6 @@ "tar-fs": "~2.0.1" } }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "domain-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", - "dev": true - }, "dot-prop": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", @@ -18504,41 +10079,12 @@ } } }, - "duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", - "dev": true - }, "eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true }, - "elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dev": true, - "requires": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, "emittery": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.11.0.tgz", @@ -18559,35 +10105,6 @@ "once": "^1.4.0" } }, - "enhance-visitors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/enhance-visitors/-/enhance-visitors-1.0.0.tgz", - "integrity": "sha1-qpRdBdpGVnKh69OP7i7T2oUY6Vo=", - "dev": true, - "requires": { - "lodash": "^4.13.1" - } - }, - "enhanced-resolve": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-0.9.1.tgz", - "integrity": "sha1-TW5omzcl+GCQknzMhs2fFjW4ni4=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.2.0", - "tapable": "^0.1.8" - } - }, - "enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "dev": true, - "requires": { - "ansi-colors": "^4.1.1" - } - }, "env-ci": { "version": "8.0.0-beta.1", "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-8.0.0-beta.1.tgz", @@ -18597,12 +10114,6 @@ "java-properties": "^1.0.2" } }, - "env-editor": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/env-editor/-/env-editor-0.4.2.tgz", - "integrity": "sha512-ObFo8v4rQJAE59M69QzwloxPZtd33TpYEIjtKD1rrFDcM1Gd7IkDxEBU+HriziN6HSHQnBJi8Dmy+JWkav5HKA==", - "dev": true - }, "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -18611,48 +10122,6 @@ "is-arrayish": "^0.2.1" } }, - "es-abstract": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0.tgz", - "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.2", - "is-string": "^1.0.5", - "object-inspect": "^1.9.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.0" - } - }, - "es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", - "dev": true, - "peer": true - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, "es5-ext": { "version": "0.10.53", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", @@ -18690,968 +10159,22 @@ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, - "escape-goat": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", - "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", - "dev": true - }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, - "eslint": { - "version": "7.32.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz", - "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", - "dev": true, - "requires": { - "@babel/code-frame": "7.12.11", - "@eslint/eslintrc": "^0.4.3", - "@humanwhocodes/config-array": "^0.5.0", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.0.1", - "doctrine": "^3.0.0", - "enquirer": "^2.3.5", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^2.1.0", - "eslint-visitor-keys": "^2.0.0", - "espree": "^7.3.1", - "esquery": "^1.4.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^5.1.2", - "globals": "^13.6.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^3.13.1", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.0.4", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "progress": "^2.0.0", - "regexpp": "^3.1.0", - "semver": "^7.2.1", - "strip-ansi": "^6.0.0", - "strip-json-comments": "^3.1.0", - "table": "^6.0.9", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.12.11", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", - "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", - "dev": true, - "requires": { - "@babel/highlight": "^7.10.4" - } - }, - "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, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "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, - "requires": { - "color-name": "~1.1.4" - } - }, - "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 - }, - "escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true - }, - "eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true - }, - "globals": { - "version": "13.13.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz", - "integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } - }, - "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 - }, - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - }, - "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, - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "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 - }, - "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, - "requires": { - "has-flag": "^4.0.0" - } - }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true - } - } - }, - "eslint-ast-utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/eslint-ast-utils/-/eslint-ast-utils-1.1.0.tgz", - "integrity": "sha512-otzzTim2/1+lVrlH19EfQQJEhVJSu0zOb9ygb3iapN6UlyaDtyRq4b5U1FuW0v1lRa9Fp/GJyHkSwm6NqABgCA==", - "dev": true, - "requires": { - "lodash.get": "^4.4.2", - "lodash.zip": "^4.2.0" - } - }, - "eslint-config-prettier": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz", - "integrity": "sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==", - "dev": true, - "requires": { - "get-stdin": "^6.0.0" - }, - "dependencies": { - "get-stdin": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", - "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", - "dev": true - } - } - }, - "eslint-config-xo": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.30.0.tgz", - "integrity": "sha512-0C+Hl1Mfrbh+LMc2A2v2BabI+n0MoVHYyGJOJoWped/Tfh/OoyZ7gLyed5vLqVR4czjR8Zi7DGW2S1nTGKUY4w==", - "dev": true, - "requires": { - "confusing-browser-globals": "1.0.9" - } - }, - "eslint-config-xo-typescript": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/eslint-config-xo-typescript/-/eslint-config-xo-typescript-0.31.0.tgz", - "integrity": "sha512-zxfUdKscsdrZTI5Uz9ZqAAR+W6fuH+DiQnTRRJAwLZaKJemT3hzH0DtIxNhB9t5fxKMwZYNYw2lvW4aWrSMbag==", - "dev": true, - "requires": {} - }, - "eslint-formatter-pretty": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-formatter-pretty/-/eslint-formatter-pretty-3.0.1.tgz", - "integrity": "sha512-hhQ/ASD4i6BAEalcEfUxesFtJFftT8xFsimCzUpPbTzygJ4J17yCGcJ3XKCB2g7XTJTv0pi7rVTadfHVmtfSRA==", - "dev": true, - "requires": { - "ansi-escapes": "^4.2.1", - "chalk": "^3.0.0", - "eslint-rule-docs": "^1.1.5", - "log-symbols": "^3.0.0", - "plur": "^3.0.1", - "string-width": "^4.2.0", - "supports-hyperlinks": "^2.0.0" - }, - "dependencies": { - "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, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "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, - "requires": { - "color-name": "~1.1.4" - } - }, - "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 - }, - "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 - }, - "irregular-plurals": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-2.0.0.tgz", - "integrity": "sha512-Y75zBYLkh0lJ9qxeHlMjQ7bSbyiSqNW/UOPWDmzC7cXskL1hekSITh1Oc6JV0XCWWZ9DE8VYSB71xocLk3gmGw==", - "dev": true - }, - "log-symbols": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", - "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", - "dev": true, - "requires": { - "chalk": "^2.4.2" - }, - "dependencies": { - "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==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "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==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "plur": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/plur/-/plur-3.1.1.tgz", - "integrity": "sha512-t1Ax8KUvV3FFII8ltczPn2tJdjqbd1sIzu6t4JL7nQ3EyeL/lTrj5PWKb06ic5/6XYDr65rQ4uzQEGN70/6X5w==", - "dev": true, - "requires": { - "irregular-plurals": "^2.0.0" - } - }, - "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, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "eslint-import-resolver-node": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", - "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", - "dev": true, - "requires": { - "debug": "^2.6.9", - "resolve": "^1.13.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } - } - }, - "eslint-import-resolver-webpack": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-webpack/-/eslint-import-resolver-webpack-0.12.2.tgz", - "integrity": "sha512-7Jnm4YAoNNkvqPaZkKdIHsKGmv8/uNnYC5QsXkiSodvX4XEEfH2AKOna98FK52fCDXm3q4HzuX+7pRMKkJ64EQ==", - "dev": true, - "requires": { - "array-find": "^1.0.0", - "debug": "^2.6.9", - "enhanced-resolve": "^0.9.1", - "find-root": "^1.1.0", - "has": "^1.0.3", - "interpret": "^1.2.0", - "lodash": "^4.17.15", - "node-libs-browser": "^1.0.0 || ^2.0.0", - "resolve": "^1.13.1", - "semver": "^5.7.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "eslint-module-utils": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", - "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", - "dev": true, - "requires": { - "debug": "^2.6.9", - "pkg-dir": "^2.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "pkg-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", - "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", - "dev": true, - "requires": { - "find-up": "^2.1.0" - } - } - } - }, - "eslint-plugin-ava": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-ava/-/eslint-plugin-ava-10.5.0.tgz", - "integrity": "sha512-2I0Ze8ZtwbSlLdnzms4bsa6PxxOxGMIJ9d4yy7aRy3yc5zEO2wHJLic8l3Lrct73hb5ML+PLt5VRqvdV87xWdQ==", - "dev": true, - "requires": { - "deep-strict-equal": "^0.2.0", - "enhance-visitors": "^1.0.0", - "espree": "^7.1.0", - "espurify": "^2.0.1", - "import-modules": "^2.0.0", - "micro-spelling-correcter": "^1.1.1", - "pkg-dir": "^4.2.0", - "resolve-from": "^5.0.0" - } - }, - "eslint-plugin-es": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", - "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", - "dev": true, - "requires": { - "eslint-utils": "^2.0.0", - "regexpp": "^3.0.0" - } - }, - "eslint-plugin-eslint-comments": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.2.0.tgz", - "integrity": "sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5", - "ignore": "^5.0.5" - } - }, - "eslint-plugin-import": { - "version": "2.22.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", - "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==", - "dev": true, - "requires": { - "array-includes": "^3.1.1", - "array.prototype.flat": "^1.2.3", - "contains-path": "^0.1.0", - "debug": "^2.6.9", - "doctrine": "1.5.0", - "eslint-import-resolver-node": "^0.3.4", - "eslint-module-utils": "^2.6.0", - "has": "^1.0.3", - "minimatch": "^3.0.4", - "object.values": "^1.1.1", - "read-pkg-up": "^2.0.0", - "resolve": "^1.17.0", - "tsconfig-paths": "^3.9.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "doctrine": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "isarray": "^1.0.0" - } - }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", - "dev": true - }, - "load-json-file": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dev": true, - "requires": { - "error-ex": "^1.2.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "path-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", - "dev": true, - "requires": { - "pify": "^2.0.0" - } - }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - }, - "read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", - "dev": true, - "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" - } - }, - "read-pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "dev": true, - "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "eslint-plugin-no-use-extend-native": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-no-use-extend-native/-/eslint-plugin-no-use-extend-native-0.5.0.tgz", - "integrity": "sha512-dBNjs8hor8rJgeXLH4HTut5eD3RGWf9JUsadIfuL7UosVQ/dnvOKwxEcRrXrFxrMZ8llUVWT+hOimxJABsAUzQ==", - "dev": true, - "requires": { - "is-get-set-prop": "^1.0.0", - "is-js-type": "^2.0.0", - "is-obj-prop": "^1.0.0", - "is-proto-prop": "^2.0.0" - } - }, - "eslint-plugin-node": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", - "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", - "dev": true, - "requires": { - "eslint-plugin-es": "^3.0.0", - "eslint-utils": "^2.0.0", - "ignore": "^5.1.1", - "minimatch": "^3.0.4", - "resolve": "^1.10.1", - "semver": "^6.1.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "eslint-plugin-prettier": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz", - "integrity": "sha512-Rq3jkcFY8RYeQLgk2cCwuc0P7SEFwDravPhsJZOQ5N4YI4DSg50NyqJ/9gdZHzQlHf8MvafSesbNJCcP/FF6pQ==", - "dev": true, - "requires": { - "prettier-linter-helpers": "^1.0.0" - } - }, - "eslint-plugin-promise": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.3.1.tgz", - "integrity": "sha512-bY2sGqyptzFBDLh/GMbAxfdJC+b0f23ME63FOE4+Jao0oZ3E1LEwFtWJX/1pGMJLiTtrSSern2CRM/g+dfc0eQ==", - "dev": true - }, - "eslint-plugin-unicorn": { - "version": "20.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-20.1.0.tgz", - "integrity": "sha512-XQxLBJT/gnwyRR6cfYsIK1AdekQchAt5tmcsnldevGjgR2xoZsRUa5/i6e0seNHy2RoT57CkTnbVHwHF8No8LA==", - "dev": true, - "requires": { - "ci-info": "^2.0.0", - "clean-regexp": "^1.0.0", - "eslint-ast-utils": "^1.1.0", - "eslint-template-visitor": "^2.0.0", - "eslint-utils": "^2.0.0", - "import-modules": "^2.0.0", - "lodash": "^4.17.15", - "pluralize": "^8.0.0", - "read-pkg-up": "^7.0.1", - "regexp-tree": "^0.1.21", - "reserved-words": "^0.1.2", - "safe-regex": "^2.1.1", - "semver": "^7.3.2" - }, - "dependencies": { - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - } - }, - "safe-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-2.1.1.tgz", - "integrity": "sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==", - "dev": true, - "requires": { - "regexp-tree": "~0.1.1" - } - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } - } - }, - "eslint-rule-docs": { - "version": "1.1.223", - "resolved": "https://registry.npmjs.org/eslint-rule-docs/-/eslint-rule-docs-1.1.223.tgz", - "integrity": "sha512-6HU1vH6b3QBI2RiFyNE1cQWr2pQ+op1zqZRsVXBZsLngF5ePBGDbkwFtr1Ye4Yq1DBKc499TMEkIzx25xVetuw==", - "dev": true - }, - "eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - } - }, - "eslint-template-visitor": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.3.2.tgz", - "integrity": "sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==", - "dev": true, - "requires": { - "@babel/core": "^7.12.16", - "@babel/eslint-parser": "^7.12.16", - "eslint-visitor-keys": "^2.0.0", - "esquery": "^1.3.1", - "multimap": "^1.1.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true - } - } - }, - "eslint-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", - "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "dev": true, - "requires": { - "eslint-visitor-keys": "^1.1.0" - } - }, - "eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true - }, - "espree": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", - "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", - "dev": true, - "requires": { - "acorn": "^7.4.0", - "acorn-jsx": "^5.3.1", - "eslint-visitor-keys": "^1.3.0" - }, - "dependencies": { - "acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true - } - } - }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, - "espurify": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/espurify/-/espurify-2.1.1.tgz", - "integrity": "sha512-zttWvnkhcDyGOhSH4vO2qCBILpdCMv/MX8lp4cqgRkQoDRGK2oZxi2GfWhlP2dIXmk7BaKeOTuzbHhyC68o8XQ==", - "dev": true - }, - "esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", - "dev": true, - "requires": { - "estraverse": "^5.1.0" - }, - "dependencies": { - "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true - } - } - }, - "esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "requires": { - "estraverse": "^5.2.0" - }, - "dependencies": { - "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true - } - } - }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - }, "esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true }, - "events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true - }, - "evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "dev": true, - "requires": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, "execa": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/execa/-/execa-6.1.0.tgz", @@ -19668,56 +10191,6 @@ "strip-final-newline": "^3.0.0" } }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "dev": true, - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } - } - }, "ext": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", @@ -19735,107 +10208,6 @@ } } }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dev": true, - "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - } - } - }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } - } - }, - "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==", - "dev": true - }, "fast-diff": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", @@ -19854,18 +10226,6 @@ "micromatch": "^4.0.4" } }, - "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==", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true - }, "fast-url-parser": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", @@ -19907,15 +10267,6 @@ } } }, - "file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, - "requires": { - "flat-cache": "^3.0.4" - } - }, "file-url": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/file-url/-/file-url-4.0.0.tgz", @@ -19930,23 +10281,6 @@ "to-regex-range": "^5.0.1" } }, - "find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - } - }, - "find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "dev": true - }, "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -19964,28 +10298,6 @@ "semver-regex": "^4.0.5" } }, - "flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, - "requires": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - } - }, - "flatted": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", - "dev": true - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true - }, "foreground-child": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", @@ -20002,15 +10314,6 @@ "integrity": "sha512-KqU0nnPMgIJcCOFTNJFEA8epcseEaoox4XZffTgy8jlI6pL/5EFyR54NRG7CnCJN0biY7q52DO3MH6/sJ/TKlQ==", "dev": true }, - "fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dev": true, - "requires": { - "map-cache": "^0.2.2" - } - }, "from2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", @@ -20082,57 +10385,16 @@ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, - "functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", - "dev": true - }, - "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 - }, "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==" }, - "get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "get-set-props": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-set-props/-/get-set-props-0.1.0.tgz", - "integrity": "sha1-mYR1wXhEVobQsyJG2l3428++jqM=", - "dev": true - }, - "get-stdin": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", - "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", - "dev": true - }, "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==" }, - "get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "dev": true - }, "git-log-parser": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.0.tgz", @@ -20213,18 +10475,6 @@ "is-glob": "^4.0.1" } }, - "glob-to-regexp": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", - "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=", - "dev": true - }, - "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 - }, "globby": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz", @@ -20390,113 +10640,11 @@ "function-bind": "^1.1.1" } }, - "has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "dev": true - }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "dev": true - }, - "has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", - "dev": true, - "requires": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - } - }, - "has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "dependencies": { - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "has-yarn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", - "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", - "dev": true - }, - "hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "dev": true, - "requires": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - } - }, - "hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dev": true, - "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "hook-std": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/hook-std/-/hook-std-3.0.0.tgz", @@ -20557,12 +10705,6 @@ } } }, - "https-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", - "dev": true - }, "https-proxy-agent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", @@ -20627,18 +10769,6 @@ "resolve-from": "^5.0.0" } }, - "import-lazy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", - "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", - "dev": true - }, - "import-modules": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-modules/-/import-modules-2.1.0.tgz", - "integrity": "sha512-8HEWcnkbGpovH9yInoisxaSoIg9Brbul+Ju3Kqe2UsYDUBJD/iQjSgEj0zPcTDPKfPp2fs5xlv1i+JSye/m1/A==", - "dev": true - }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -20669,12 +10799,6 @@ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", - "dev": true - }, "into-stream": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-6.0.0.tgz", @@ -20690,47 +10814,11 @@ "integrity": "sha512-MVBLKUTangM3EfRPFROhmWQQKRDsrgI83J8GS3jXy+OwYqiR2/aoWndYQ5416jLE3uaGgLH7ncme3X9y09gZ3g==", "dev": true }, - "is-absolute": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", - "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", - "dev": true, - "requires": { - "is-relative": "^1.0.0", - "is-windows": "^1.0.1" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, - "is-bigint": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz", - "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==", - "dev": true - }, "is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -20740,36 +10828,6 @@ "binary-extensions": "^2.0.0" } }, - "is-boolean-object": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz", - "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==", - "dev": true, - "requires": { - "call-bind": "^1.0.0" - } - }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, - "is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", - "dev": true - }, - "is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "dev": true, - "requires": { - "ci-info": "^2.0.0" - } - }, "is-core-module": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", @@ -20778,63 +10836,12 @@ "has": "^1.0.3" } }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-date-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", - "dev": true - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "dependencies": { - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } - } - }, "is-error": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-error/-/is-error-2.2.2.tgz", "integrity": "sha512-IOQqts/aHWbiisY5DuPJQ0gcbvaLFCa7fBa9xoLfxBZvQ+ZI/Zh9xoI7Gk+G64N0FdK4AbibytHht2tWgpJWLg==", "dev": true }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -20845,16 +10852,6 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, - "is-get-set-prop": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-get-set-prop/-/is-get-set-prop-1.0.0.tgz", - "integrity": "sha1-JzGHfk14pqae3M5rudaLB3nnYxI=", - "dev": true, - "requires": { - "get-set-props": "^0.1.0", - "lowercase-keys": "^1.0.0" - } - }, "is-glob": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", @@ -20863,53 +10860,16 @@ "is-extglob": "^2.1.1" } }, - "is-js-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-js-type/-/is-js-type-2.0.0.tgz", - "integrity": "sha1-c2FwBtZZtOtHKbunR9KHgt8PfiI=", - "dev": true, - "requires": { - "js-types": "^1.0.0" - } - }, - "is-negated-glob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz", - "integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=", - "dev": true - }, - "is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "dev": true - }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" }, - "is-number-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", - "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", - "dev": true - }, "is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" }, - "is-obj-prop": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-obj-prop/-/is-obj-prop-1.0.0.tgz", - "integrity": "sha1-s03nnEULjXxzqyzfZ9yHWtuF+A4=", - "dev": true, - "requires": { - "lowercase-keys": "^1.0.0", - "obj-props": "^1.0.0" - } - }, "is-path-cwd": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", @@ -20936,61 +10896,17 @@ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", "dev": true }, - "is-proto-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-proto-prop/-/is-proto-prop-2.0.0.tgz", - "integrity": "sha512-jl3NbQ/fGLv5Jhan4uX+Ge9ohnemqyblWVVCpAvtTQzNFvV2xhJq+esnkIbYQ9F1nITXoLfDDQLp7LBw/zzncg==", - "dev": true, - "requires": { - "lowercase-keys": "^1.0.0", - "proto-props": "^2.0.0" - } - }, - "is-regex": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz", - "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-symbols": "^1.0.1" - } - }, "is-regexp": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", "integrity": "sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==", "dev": true }, - "is-relative": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", - "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", - "dev": true, - "requires": { - "is-unc-path": "^1.0.0" - } - }, "is-stream": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==" }, - "is-string": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", - "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", - "dev": true - }, - "is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "dev": true, - "requires": { - "has-symbols": "^1.0.1" - } - }, "is-text-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", @@ -21005,38 +10921,11 @@ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, - "is-unc-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", - "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", - "dev": true, - "requires": { - "unc-path-regex": "^0.1.2" - } - }, "is-unicode-supported": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==" }, - "is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true - }, - "is-yarn-global": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", - "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==", - "dev": true - }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -21047,12 +10936,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true - }, "issue-parser": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-6.0.0.tgz", @@ -21114,37 +10997,6 @@ "resolved": "https://registry.npmjs.org/java-properties/-/java-properties-1.0.2.tgz", "integrity": "sha512-qjdpeo2yKlYTH7nFdK0vbZWuTCesk4o63v5iVOlhMQPfuIZQfW/HI35SjfhA+4qpg36rnFSvUK5b1m+ckIblQQ==" }, - "jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", - "dev": true, - "peer": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "dependencies": { - "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, - "peer": true - }, - "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, - "peer": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "js-string-escape": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", @@ -21156,12 +11008,6 @@ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, - "js-types": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/js-types/-/js-types-1.0.0.tgz", - "integrity": "sha1-0kLmSU7Vcq08koCfyL7X92h8vwM=", - "dev": true - }, "js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -21179,18 +11025,6 @@ } } }, - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true - }, - "json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", - "dev": true - }, "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", @@ -21201,32 +11035,11 @@ "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==" }, - "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==", - "dev": true - }, - "json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", - "dev": true - }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" }, - "json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } - }, "jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -21256,56 +11069,11 @@ "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", "dev": true }, - "keyv": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", - "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "dev": true, - "requires": { - "json-buffer": "3.0.0" - } - }, "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, - "latest-version": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", - "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", - "dev": true, - "requires": { - "package-json": "^6.3.0" - } - }, - "levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - } - }, - "line-column-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/line-column-path/-/line-column-path-2.0.0.tgz", - "integrity": "sha512-nz3A+vi4bElhwd62E9+Qk/f9BDYLSzD/4Hy1rir0I4GnMxSTezSymzANyph5N1PgRZ3sSbA+yR5hOuXxc71a0Q==", - "dev": true, - "requires": { - "type-fest": "^0.4.1" - }, - "dependencies": { - "type-fest": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", - "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", - "dev": true - } - } - }, "lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", @@ -21333,13 +11101,6 @@ } } }, - "loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", - "dev": true, - "peer": true - }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -21389,35 +11150,11 @@ "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" }, - "lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "lodash.truncate": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", - "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", - "dev": true - }, "lodash.uniqby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", "integrity": "sha1-2ZwHpmnp5tJOE2Lf4mbGdhavEwI=" }, - "lodash.zip": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.zip/-/lodash.zip-4.2.0.tgz", - "integrity": "sha1-7GZi5IlkCO1KtsVCo5kLcswIACA=", - "dev": true - }, - "lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true - }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -21452,26 +11189,11 @@ "p-defer": "^1.0.0" } }, - "map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "dev": true - }, "map-obj": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==" }, - "map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dev": true, - "requires": { - "object-visit": "^1.0.0" - } - }, "marked": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.2.tgz", @@ -21536,17 +11258,6 @@ "blueimp-md5": "^2.10.0" } }, - "md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "dev": true, - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, "mem": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/mem/-/mem-9.0.2.tgz", @@ -21557,12 +11268,6 @@ "mimic-fn": "^4.0.0" } }, - "memory-fs": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.2.0.tgz", - "integrity": "sha1-8rslNovBIeORwlIN6Slpyu4KApA=", - "dev": true - }, "meow": { "version": "8.1.2", "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", @@ -21610,12 +11315,6 @@ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" }, - "micro-spelling-correcter": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/micro-spelling-correcter/-/micro-spelling-correcter-1.1.1.tgz", - "integrity": "sha512-lkJ3Rj/mtjlRcHk6YyCbvZhyWTOzdBvTHsxMmZSk5jxN1YyVSQ+JETAom55mdzfcyDrY/49Z7UCW760BK30crg==", - "dev": true - }, "micromatch": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", @@ -21625,74 +11324,21 @@ "picomatch": "^2.3.1" } }, - "miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "dev": true, - "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, "mime": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==" }, - "mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, - "peer": true - }, - "mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, - "peer": true, - "requires": { - "mime-db": "1.52.0" - } - }, "mimic-fn": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==" }, - "mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "dev": true - }, "min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" }, - "minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", - "dev": true - }, - "minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", - "dev": true - }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", @@ -21716,36 +11362,6 @@ "kind-of": "^6.0.3" } }, - "mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "requires": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - } - } - }, "mkdirp-classic": { "version": "0.5.3", "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", @@ -21786,12 +11402,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "multimap": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/multimap/-/multimap-1.1.0.tgz", - "integrity": "sha512-0ZIR9PasPxGXmRsEF8jsDzndzHDj7tIav+JUmvIFB/WHswliFnquxECT/De7GR4yg99ky/NlRKJT82G1y271bw==", - "dev": true - }, "nan": { "version": "2.14.2", "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", @@ -21799,31 +11409,6 @@ "dev": true, "optional": true }, - "nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - } - }, - "natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true - }, "neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", @@ -21887,94 +11472,6 @@ "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==", "dev": true }, - "node-libs-browser": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", - "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", - "dev": true, - "requires": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^3.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", - "path-browserify": "0.0.1", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", - "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.11.0", - "vm-browserify": "^1.0.1" - }, - "dependencies": { - "buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "dev": true, - "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true - }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - }, - "dependencies": { - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - } - } - }, - "node-releases": { - "version": "1.1.71", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", - "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==", - "dev": true - }, "nofilter": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-3.1.0.tgz", @@ -23537,103 +13034,6 @@ } } }, - "obj-props": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/obj-props/-/obj-props-1.4.0.tgz", - "integrity": "sha512-p7p/7ltzPDiBs6DqxOrIbtRdwxxVRBj5ROukeNb9RgA+fawhrz5n2hpNz8DDmYR//tviJSj7nUnlppGmONkjiQ==", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true - }, - "object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dev": true, - "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "object-inspect": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", - "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, - "object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "dev": true, - "requires": { - "isobject": "^3.0.0" - } - }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - }, - "object.values": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz", - "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2", - "has": "^1.0.3" - } - }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -23650,52 +13050,6 @@ "mimic-fn": "^4.0.0" } }, - "open": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz", - "integrity": "sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==", - "dev": true, - "requires": { - "is-wsl": "^1.1.0" - } - }, - "open-editor": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/open-editor/-/open-editor-2.0.1.tgz", - "integrity": "sha512-B3KdD7Pl8jYdpBSBBbdYaqVUI3whQjLl1G1+CvhNc8+d7GzKRUq+VuCIx1thxGiqD2oBGRvsZz7QWrBsFP2yVA==", - "dev": true, - "requires": { - "env-editor": "^0.4.0", - "line-column-path": "^2.0.0", - "open": "^6.2.0" - } - }, - "optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "dev": true, - "requires": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - } - }, - "os-browserify": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", - "dev": true - }, - "p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", - "dev": true - }, "p-defer": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", @@ -23776,60 +13130,6 @@ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" }, - "package-json": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", - "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", - "dev": true, - "requires": { - "got": "^9.6.0", - "registry-auth-token": "^4.0.0", - "registry-url": "^5.0.0", - "semver": "^6.2.0" - }, - "dependencies": { - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "got": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", - "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "dev": true, - "requires": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", - "dev": true - }, "parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -23838,19 +13138,6 @@ "callsites": "^3.0.0" } }, - "parse-asn1": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", - "dev": true, - "requires": { - "asn1.js": "^5.2.0", - "browserify-aes": "^1.0.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3", - "safe-buffer": "^5.1.1" - } - }, "parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", @@ -23868,24 +13155,6 @@ "integrity": "sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==", "dev": true }, - "pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "dev": true - }, - "path-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", - "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", - "dev": true - }, - "path-dirname": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", - "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", - "dev": true - }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -23928,19 +13197,6 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" }, - "pbkdf2": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", - "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", - "dev": true, - "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", @@ -24005,15 +13261,6 @@ } } }, - "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, - "requires": { - "find-up": "^4.0.0" - } - }, "plur": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/plur/-/plur-5.1.0.tgz", @@ -24023,51 +13270,17 @@ "irregular-plurals": "^3.3.0" } }, - "pluralize": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", - "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", - "dev": true - }, "pop-iterate": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/pop-iterate/-/pop-iterate-1.0.1.tgz", "integrity": "sha1-zqz9q0q/NT16DyqqLB/Hs/lBO6M=", "dev": true }, - "posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true - }, - "prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true - }, - "prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", - "dev": true - }, "prettier": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", - "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", - "dev": true, - "peer": true - }, - "prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", - "dev": true, - "requires": { - "fast-diff": "^1.1.2" - } + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true }, "pretty-ms": { "version": "7.0.1", @@ -24078,57 +13291,17 @@ "parse-ms": "^2.1.0" } }, - "process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "dev": true - }, "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, - "progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true - }, "propagate": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", "integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==", "dev": true }, - "proto-props": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/proto-props/-/proto-props-2.0.0.tgz", - "integrity": "sha512-2yma2tog9VaRZY2mn3Wq51uiSW4NcPYT1cQdBagwyrznrilKSZwIZ0UG3ZPL/mx+axEns0hE35T5ufOYZXEnBQ==", - "dev": true - }, - "public-encrypt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", - "dev": true, - "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -24139,38 +13312,11 @@ "once": "^1.3.1" } }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true - }, - "pupa": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", - "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", - "dev": true, - "requires": { - "escape-goat": "^2.0.0" - } - }, "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" }, - "querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "dev": true - }, - "querystring-es3": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", - "dev": true - }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -24191,25 +13337,6 @@ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "randomfill": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "dev": true, - "requires": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" - } - }, "rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -24367,28 +13494,6 @@ "esprima": "~4.0.0" } }, - "regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, - "requires": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - } - }, - "regexp-tree": { - "version": "0.1.24", - "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.24.tgz", - "integrity": "sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==", - "dev": true - }, - "regexpp": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", - "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", - "dev": true - }, "registry-auth-token": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", @@ -24397,44 +13502,11 @@ "rc": "^1.2.8" } }, - "registry-url": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", - "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", - "dev": true, - "requires": { - "rc": "^1.2.8" - } - }, - "repeat-element": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", - "dev": true - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true - }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" }, - "require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true - }, - "reserved-words": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/reserved-words/-/reserved-words-0.1.2.tgz", - "integrity": "sha1-AKCUD5jNUBrqqsMWQR2a3FKzGrE=", - "dev": true - }, "resolve": { "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", @@ -24464,27 +13536,6 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" }, - "resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "dev": true - }, - "responselike": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "dev": true, - "requires": { - "lowercase-keys": "^1.0.0" - } - }, - "ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true - }, "retry": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", @@ -24503,16 +13554,6 @@ "glob": "^7.1.3" } }, - "ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "dev": true, - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -24526,33 +13567,12 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, - "safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dev": true, - "requires": { - "ret": "~0.1.10" - } - }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, - "schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", - "dev": true, - "peer": true, - "requires": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - } - }, "semantic-release": { "version": "20.0.0-beta.1", "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-20.0.0-beta.1.tgz", @@ -24634,64 +13654,6 @@ } } }, - "serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", - "dev": true, - "peer": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - } - } - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", - "dev": true - }, - "sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "dev": true, - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -24790,169 +13752,11 @@ } } }, - "snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } - } - }, - "snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } - } - }, - "snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, - "requires": { - "kind-of": "^3.2.0" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, - "source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "dev": true, - "requires": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "peer": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", - "dev": true - }, "spawn-error-forwarder": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz", @@ -25000,15 +13804,6 @@ "integrity": "sha1-bIOv82kvphJW4M0ZfgXp3hV2kaY=", "dev": true }, - "split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, - "requires": { - "extend-shallow": "^3.0.0" - } - }, "split2": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", @@ -25061,69 +13856,6 @@ } } }, - "static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dev": true, - "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - } - } - }, - "stream-browserify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", - "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", - "dev": true, - "requires": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, "stream-buffers": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-3.0.2.tgz", @@ -25177,51 +13909,6 @@ "stubs": "^3.0.0" } }, - "stream-http": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", - "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", - "dev": true, - "requires": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -25240,26 +13927,6 @@ "strip-ansi": "^6.0.1" } }, - "string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, "stringify-object-es5": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/stringify-object-es5/-/stringify-object-es5-2.5.0.tgz", @@ -25384,80 +14051,6 @@ } } }, - "table": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.0.tgz", - "integrity": "sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA==", - "dev": true, - "requires": { - "ajv": "^8.0.1", - "lodash.truncate": "^4.4.2", - "slice-ansi": "^4.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1" - }, - "dependencies": { - "ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "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, - "requires": { - "color-convert": "^2.0.1" - } - }, - "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, - "requires": { - "color-name": "~1.1.4" - } - }, - "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 - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - } - } - } - }, - "tapable": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.1.10.tgz", - "integrity": "sha1-KcNXB8K3DlDQdIK10gLo7URtr9Q=", - "dev": true - }, "tar-fs": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.1.tgz", @@ -25555,39 +14148,6 @@ } } }, - "term-size": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", - "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==", - "dev": true - }, - "terser": { - "version": "5.14.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", - "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", - "dev": true, - "peer": true, - "requires": { - "@jridgewell/source-map": "^0.3.2", - "acorn": "^8.5.0", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - } - }, - "terser-webpack-plugin": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.3.tgz", - "integrity": "sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==", - "dev": true, - "peer": true, - "requires": { - "@jridgewell/trace-mapping": "^0.3.7", - "jest-worker": "^27.4.5", - "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "terser": "^5.7.2" - } - }, "test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", @@ -25616,12 +14176,6 @@ "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==" }, - "text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", - "dev": true - }, "theredoc": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/theredoc/-/theredoc-1.0.0.tgz", @@ -25647,75 +14201,6 @@ "integrity": "sha1-mcW/VZWJZq9tBtg73zgA3IL67F0=", "dev": true }, - "timers-browserify": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", - "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", - "dev": true, - "requires": { - "setimmediate": "^1.0.4" - } - }, - "to-absolute-glob": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz", - "integrity": "sha1-GGX0PZ50sIItufFFt4z/fQ98hJs=", - "dev": true, - "requires": { - "is-absolute": "^1.0.0", - "is-negated-glob": "^1.0.0" - } - }, - "to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", - "dev": true - }, - "to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true - }, - "to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "dev": true - }, - "to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, - "requires": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - } - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -25739,50 +14224,6 @@ "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" }, - "tsconfig-paths": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz", - "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==", - "dev": true, - "requires": { - "@types/json5": "^0.0.29", - "json5": "^1.0.1", - "minimist": "^1.2.0", - "strip-bom": "^3.0.0" - }, - "dependencies": { - "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - } - } - }, - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "requires": { - "tslib": "^1.8.1" - } - }, - "tty-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", - "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", - "dev": true - }, "tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", @@ -25795,15 +14236,6 @@ "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==", "dev": true }, - "type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1" - } - }, "type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", @@ -25824,48 +14256,12 @@ "is-typedarray": "^1.0.0" } }, - "typescript": { - "version": "3.9.9", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz", - "integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==", - "dev": true - }, "uglify-js": { "version": "3.14.2", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.2.tgz", "integrity": "sha512-rtPMlmcO4agTUfz10CbgJ1k6UAoXM2gWb3GoMPPZB/+/Ackf8lNWk11K4rYi2D0apgoFRLtQOZhb+/iGNJq26A==", "optional": true }, - "unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - } - }, - "unc-path-regex": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", - "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=", - "dev": true - }, - "union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - } - }, "unique-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", @@ -25884,93 +14280,11 @@ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" }, - "unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dev": true, - "requires": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "dependencies": { - "has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dev": true, - "requires": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "dependencies": { - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "requires": { - "isarray": "1.0.0" - } - } - } - }, - "has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "dev": true - } - } - }, - "uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "dev": true - }, - "url": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dev": true, - "requires": { - "punycode": "1.3.2", - "querystring": "0.2.0" - }, - "dependencies": { - "punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", - "dev": true - } - } - }, "url-join": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==" }, - "url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "dev": true, - "requires": { - "prepend-http": "^2.0.0" - } - }, "urlgrey": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-1.0.0.tgz", @@ -25980,12 +14294,6 @@ "fast-url-parser": "^1.1.3" } }, - "use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true - }, "utf-8-validate": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.4.tgz", @@ -25995,34 +14303,11 @@ "node-gyp-build": "^4.2.0" } }, - "util": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", - "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", - "dev": true, - "requires": { - "inherits": "2.0.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - } - } - }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, - "v8-compile-cache": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", - "dev": true - }, "v8-to-istanbul": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", @@ -26043,32 +14328,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "vm-browserify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", - "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", - "dev": true - }, - "watchpack": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", - "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", - "dev": true, - "peer": true, - "requires": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "dependencies": { - "glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "peer": true - } - } - }, "weak-map": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.5.tgz", @@ -26080,73 +14339,6 @@ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" }, - "webpack": { - "version": "5.73.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", - "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", - "dev": true, - "peer": true, - "requires": { - "@types/eslint-scope": "^3.7.3", - "@types/estree": "^0.0.51", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "acorn-import-assertions": "^1.7.6", - "browserslist": "^4.14.5", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.3", - "es-module-lexer": "^0.9.0", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.9", - "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", - "webpack-sources": "^3.2.3" - }, - "dependencies": { - "enhanced-resolve": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", - "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", - "dev": true, - "peer": true, - "requires": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - } - }, - "glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "peer": true - }, - "tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "peer": true - } - } - }, - "webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "dev": true, - "peer": true - }, "websocket": { "version": "1.0.34", "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", @@ -26201,34 +14393,6 @@ "isexe": "^2.0.0" } }, - "which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "widest-line": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", - "dev": true, - "requires": { - "string-width": "^4.0.0" - } - }, - "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true - }, "wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", @@ -26272,534 +14436,6 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, - "write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, - "requires": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, - "xdg-basedir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", - "dev": true - }, - "xo": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/xo/-/xo-0.32.1.tgz", - "integrity": "sha512-L43ROY2opNW7yp7byEAibBSk0jYvMuC4yUUrphkqegqU76Bxp5Rc+Gcl62lK1f5zuRrlY0IwMypIfY4EPSzMfQ==", - "dev": true, - "requires": { - "@typescript-eslint/eslint-plugin": "^3.1.0", - "@typescript-eslint/parser": "^3.1.0", - "arrify": "^2.0.1", - "cosmiconfig": "^6.0.0", - "debug": "^4.1.1", - "eslint": "^7.1.0", - "eslint-config-prettier": "^6.11.0", - "eslint-config-xo": "^0.30.0", - "eslint-config-xo-typescript": "^0.31.0", - "eslint-formatter-pretty": "^3.0.1", - "eslint-import-resolver-webpack": "^0.12.1", - "eslint-plugin-ava": "^10.3.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-import": "^2.20.2", - "eslint-plugin-no-use-extend-native": "^0.5.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^3.1.3", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-unicorn": "^20.1.0", - "find-cache-dir": "^3.3.1", - "find-up": "^4.1.0", - "fs-extra": "^9.0.0", - "get-stdin": "^8.0.0", - "globby": "^9.0.0", - "has-flag": "^4.0.0", - "imurmurhash": "^0.1.4", - "is-path-inside": "^3.0.2", - "json-stable-stringify-without-jsonify": "^1.0.1", - "json5": "^2.1.3", - "lodash": "^4.17.15", - "meow": "^7.0.1", - "micromatch": "^4.0.2", - "open-editor": "^2.0.1", - "p-reduce": "^2.1.0", - "path-exists": "^4.0.0", - "prettier": "2.0.4", - "resolve-cwd": "^3.0.0", - "resolve-from": "^5.0.0", - "semver": "^7.3.2", - "slash": "^3.0.0", - "to-absolute-glob": "^2.0.2", - "typescript": "^3.3.1", - "update-notifier": "^4.1.0" - }, - "dependencies": { - "@nodelib/fs.stat": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", - "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", - "dev": true - }, - "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, - "requires": { - "color-convert": "^2.0.1" - } - }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "requires": { - "array-uniq": "^1.0.1" - } - }, - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true - }, - "boxen": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", - "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", - "dev": true, - "requires": { - "ansi-align": "^3.0.0", - "camelcase": "^5.3.1", - "chalk": "^3.0.0", - "cli-boxes": "^2.2.0", - "string-width": "^4.1.0", - "term-size": "^2.1.0", - "type-fest": "^0.8.1", - "widest-line": "^3.1.0" - } - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "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, - "requires": { - "color-name": "~1.1.4" - } - }, - "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 - }, - "cosmiconfig": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", - "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", - "dev": true, - "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.7.2" - } - }, - "dir-glob": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", - "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", - "dev": true, - "requires": { - "path-type": "^3.0.0" - }, - "dependencies": { - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "^3.0.0" - } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } - } - }, - "fast-glob": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", - "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==", - "dev": true, - "requires": { - "@mrmlnc/readdir-enhanced": "^2.2.1", - "@nodelib/fs.stat": "^1.1.2", - "glob-parent": "^3.1.0", - "is-glob": "^4.0.0", - "merge2": "^1.2.3", - "micromatch": "^3.1.10" - }, - "dependencies": { - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - } - } - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "dev": true, - "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - }, - "dependencies": { - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "requires": { - "is-extglob": "^2.1.0" - } - } - } - }, - "global-dirs": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.1.0.tgz", - "integrity": "sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ==", - "dev": true, - "requires": { - "ini": "1.3.7" - } - }, - "globby": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz", - "integrity": "sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg==", - "dev": true, - "requires": { - "@types/glob": "^7.1.1", - "array-union": "^1.0.2", - "dir-glob": "^2.2.2", - "fast-glob": "^2.2.6", - "glob": "^7.1.3", - "ignore": "^4.0.3", - "pify": "^4.0.1", - "slash": "^2.0.0" - }, - "dependencies": { - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true - } - } - }, - "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 - }, - "hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - }, - "ini": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz", - "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==", - "dev": true - }, - "is-installed-globally": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", - "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", - "dev": true, - "requires": { - "global-dirs": "^2.0.1", - "is-path-inside": "^3.0.1" - } - }, - "is-npm": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", - "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==", - "dev": true - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", - "dev": true, - "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - }, - "dependencies": { - "type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", - "dev": true - } - } - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "p-reduce": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", - "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", - "dev": true - }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true - }, - "prettier": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.4.tgz", - "integrity": "sha512-SVJIQ51spzFDvh4fIbCLvciiDMCrRhlN3mbZvv/+ycjvmF5E73bKdGfU8QDLNmjYJf+lsGnDBC4UUnvTe5OO0w==", - "dev": true - }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - } - }, - "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, - "requires": { - "has-flag": "^4.0.0" - } - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - }, - "update-notifier": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz", - "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==", - "dev": true, - "requires": { - "boxen": "^4.2.0", - "chalk": "^3.0.0", - "configstore": "^5.0.1", - "has-yarn": "^2.1.0", - "import-lazy": "^2.1.0", - "is-ci": "^2.0.0", - "is-installed-globally": "^0.3.1", - "is-npm": "^4.0.0", - "is-yarn-global": "^0.3.0", - "latest-version": "^5.0.0", - "pupa": "^2.0.1", - "semver-diff": "^3.1.1", - "xdg-basedir": "^4.0.0" - } - }, - "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } - } - }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/package.json b/package.json index be656281..4604c727 100644 --- a/package.json +++ b/package.json @@ -69,11 +69,11 @@ "mockserver-client": "5.14.0", "nock": "13.2.9", "p-retry": "^5.1.1", + "prettier": "^2.7.1", "sinon": "14.0.0", "stream-buffers": "3.0.2", "tempy": "^3.0.0", - "testdouble": "3.16.6", - "xo": "0.32.1" + "testdouble": "3.16.6" }, "overrides": { "semantic-release": "20.0.0-beta.1" @@ -128,20 +128,13 @@ }, "scripts": { "codecov": "codecov -f coverage/coverage-final.json", - "lint": "xo", + "lint": "prettier --check \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/*.js\"", + "lint:fix": "prettier --write \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"docs/**/*.md\" \"{bin,lib,test}/*.js\"", "pretest": "npm run lint", "semantic-release": "./bin/semantic-release.js", "test": "c8 ava --verbose", "test:ci": "c8 ava --verbose" }, - "xo": { - "prettier": true, - "space": true, - "rules": { - "unicorn/no-reduce": "off", - "unicorn/string-content": "off" - } - }, "renovate": { "extends": [ "github>semantic-release/.github" diff --git a/test/cli.test.js b/test/cli.test.js index a0bf5e49..9fa92914 100644 --- a/test/cli.test.js +++ b/test/cli.test.js @@ -1,19 +1,19 @@ -import test from 'ava'; -import {escapeRegExp} from 'lodash-es'; -import * as td from 'testdouble'; -import {stub} from 'sinon'; -import {SECRET_REPLACEMENT} from '../lib/definitions/constants.js'; +import test from "ava"; +import { escapeRegExp } from "lodash-es"; +import * as td from "testdouble"; +import { stub } from "sinon"; +import { SECRET_REPLACEMENT } from "../lib/definitions/constants.js"; let previousArgv; let previousEnv; test.beforeEach((t) => { - t.context.logs = ''; - t.context.errors = ''; - t.context.stdout = stub(process.stdout, 'write').callsFake((value) => { + t.context.logs = ""; + t.context.errors = ""; + t.context.stdout = stub(process.stdout, "write").callsFake((value) => { t.context.logs += value.toString(); }); - t.context.stderr = stub(process.stderr, 'write').callsFake((value) => { + t.context.stderr = stub(process.stderr, "write").callsFake((value) => { t.context.errors += value.toString(); }); @@ -31,196 +31,202 @@ test.afterEach.always((t) => { td.reset(); }); -test.serial('Pass options to semantic-release API', async (t) => { +test.serial("Pass options to semantic-release API", async (t) => { const argv = [ - '', - '', - '-b', - 'master', - 'next', - '-r', - 'https://github/com/owner/repo.git', - '-t', + "", + "", + "-b", + "master", + "next", + "-r", + "https://github/com/owner/repo.git", + "-t", `v\${version}`, - '-p', - 'plugin1', - 'plugin2', - '-e', - 'config1', - 'config2', - '--verify-conditions', - 'condition1', - 'condition2', - '--analyze-commits', - 'analyze', - '--verify-release', - 'verify1', - 'verify2', - '--generate-notes', - 'notes', - '--prepare', - 'prepare1', - 'prepare2', - '--publish', - 'publish1', - 'publish2', - '--success', - 'success1', - 'success2', - '--fail', - 'fail1', - 'fail2', - '--debug', - '-d', + "-p", + "plugin1", + "plugin2", + "-e", + "config1", + "config2", + "--verify-conditions", + "condition1", + "condition2", + "--analyze-commits", + "analyze", + "--verify-release", + "verify1", + "verify2", + "--generate-notes", + "notes", + "--prepare", + "prepare1", + "prepare2", + "--publish", + "publish1", + "publish2", + "--success", + "success1", + "success2", + "--fail", + "fail1", + "fail2", + "--debug", + "-d", ]; - const index = await td.replaceEsm('../index.js'); + const index = await td.replaceEsm("../index.js"); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); - td.verify(index.default({ - branches: ['master', 'next'], - b: ['master', 'next'], - 'repository-url': 'https://github/com/owner/repo.git', - repositoryUrl: 'https://github/com/owner/repo.git', - r: 'https://github/com/owner/repo.git', - 'tag-format': `v\${version}`, - tagFormat: `v\${version}`, - t: `v\${version}`, - plugins: ['plugin1', 'plugin2'], - p: ['plugin1', 'plugin2'], - extends: ['config1', 'config2'], - e: ['config1', 'config2'], - 'dry-run': true, - dryRun: true, - d: true, - verifyConditions: ['condition1', 'condition2'], - 'verify-conditions': ['condition1', 'condition2'], - analyzeCommits: 'analyze', - 'analyze-commits': 'analyze', - verifyRelease: ['verify1', 'verify2'], - 'verify-release': ['verify1', 'verify2'], - generateNotes: ['notes'], - 'generate-notes': ['notes'], - prepare: ['prepare1', 'prepare2'], - publish: ['publish1', 'publish2'], - success: ['success1', 'success2'], - fail: ['fail1', 'fail2'], - debug: true, - _: [], - '$0': '' - })); + td.verify( + index.default({ + branches: ["master", "next"], + b: ["master", "next"], + "repository-url": "https://github/com/owner/repo.git", + repositoryUrl: "https://github/com/owner/repo.git", + r: "https://github/com/owner/repo.git", + "tag-format": `v\${version}`, + tagFormat: `v\${version}`, + t: `v\${version}`, + plugins: ["plugin1", "plugin2"], + p: ["plugin1", "plugin2"], + extends: ["config1", "config2"], + e: ["config1", "config2"], + "dry-run": true, + dryRun: true, + d: true, + verifyConditions: ["condition1", "condition2"], + "verify-conditions": ["condition1", "condition2"], + analyzeCommits: "analyze", + "analyze-commits": "analyze", + verifyRelease: ["verify1", "verify2"], + "verify-release": ["verify1", "verify2"], + generateNotes: ["notes"], + "generate-notes": ["notes"], + prepare: ["prepare1", "prepare2"], + publish: ["publish1", "publish2"], + success: ["success1", "success2"], + fail: ["fail1", "fail2"], + debug: true, + _: [], + $0: "", + }) + ); t.is(exitCode, 0); }); -test.serial('Pass options to semantic-release API with alias arguments', async (t) => { +test.serial("Pass options to semantic-release API with alias arguments", async (t) => { const argv = [ - '', - '', - '--branches', - 'master', - '--repository-url', - 'https://github/com/owner/repo.git', - '--tag-format', + "", + "", + "--branches", + "master", + "--repository-url", + "https://github/com/owner/repo.git", + "--tag-format", `v\${version}`, - '--plugins', - 'plugin1', - 'plugin2', - '--extends', - 'config1', - 'config2', - '--dry-run', + "--plugins", + "plugin1", + "plugin2", + "--extends", + "config1", + "config2", + "--dry-run", ]; - const index = await td.replaceEsm('../index.js'); + const index = await td.replaceEsm("../index.js"); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); - td.verify(index.default({ - branches: ['master'], - b: ['master'], - 'repository-url': 'https://github/com/owner/repo.git', - repositoryUrl: 'https://github/com/owner/repo.git', - r: 'https://github/com/owner/repo.git', - 'tag-format': `v\${version}`, - tagFormat: `v\${version}`, - t: `v\${version}`, - plugins: ['plugin1', 'plugin2'], - p: ['plugin1', 'plugin2'], - extends: ['config1', 'config2'], - e: ['config1', 'config2'], - 'dry-run': true, - dryRun: true, - d: true, - _: [], - '$0': '' - })); + td.verify( + index.default({ + branches: ["master"], + b: ["master"], + "repository-url": "https://github/com/owner/repo.git", + repositoryUrl: "https://github/com/owner/repo.git", + r: "https://github/com/owner/repo.git", + "tag-format": `v\${version}`, + tagFormat: `v\${version}`, + t: `v\${version}`, + plugins: ["plugin1", "plugin2"], + p: ["plugin1", "plugin2"], + extends: ["config1", "config2"], + e: ["config1", "config2"], + "dry-run": true, + dryRun: true, + d: true, + _: [], + $0: "", + }) + ); t.is(exitCode, 0); }); -test.serial('Pass unknown options to semantic-release API', async (t) => { - const argv = ['', '', '--bool', '--first-option', 'value1', '--second-option', 'value2', '--second-option', 'value3']; - const index = await td.replaceEsm('../index.js'); +test.serial("Pass unknown options to semantic-release API", async (t) => { + const argv = ["", "", "--bool", "--first-option", "value1", "--second-option", "value2", "--second-option", "value3"]; + const index = await td.replaceEsm("../index.js"); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); - td.verify(index.default({ - bool: true, - firstOption: 'value1', - 'first-option': 'value1', - secondOption: ['value2', 'value3'], - 'second-option': ['value2', 'value3'], - _: [], - '$0': '' - })); + td.verify( + index.default({ + bool: true, + firstOption: "value1", + "first-option": "value1", + secondOption: ["value2", "value3"], + "second-option": ["value2", "value3"], + _: [], + $0: "", + }) + ); t.is(exitCode, 0); }); test.serial('Pass empty Array to semantic-release API for list option set to "false"', async (t) => { - const argv = ['', '', '--publish', 'false']; - const index = await td.replaceEsm('../index.js'); + const argv = ["", "", "--publish", "false"]; + const index = await td.replaceEsm("../index.js"); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); - td.verify(index.default({publish: [], _: [], '$0': ''})); + td.verify(index.default({ publish: [], _: [], $0: "" })); t.is(exitCode, 0); }); -test.serial('Do not set properties in option for which arg is not in command line', async (t) => { +test.serial("Do not set properties in option for which arg is not in command line", async (t) => { const run = stub().resolves(true); - const argv = ['', '', '-b', 'master']; - await td.replaceEsm('../index.js', null, run); + const argv = ["", "", "-b", "master"]; + await td.replaceEsm("../index.js", null, run); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; await cli(); - t.false('ci' in run.args[0][0]); - t.false('d' in run.args[0][0]); - t.false('dry-run' in run.args[0][0]); - t.false('debug' in run.args[0][0]); - t.false('r' in run.args[0][0]); - t.false('t' in run.args[0][0]); - t.false('p' in run.args[0][0]); - t.false('e' in run.args[0][0]); + t.false("ci" in run.args[0][0]); + t.false("d" in run.args[0][0]); + t.false("dry-run" in run.args[0][0]); + t.false("debug" in run.args[0][0]); + t.false("r" in run.args[0][0]); + t.false("t" in run.args[0][0]); + t.false("p" in run.args[0][0]); + t.false("e" in run.args[0][0]); }); -test.serial('Display help', async (t) => { +test.serial("Display help", async (t) => { const run = stub().resolves(true); - const argv = ['', '', '--help']; - await td.replaceEsm('../index.js', null, run); + const argv = ["", "", "--help"]; + await td.replaceEsm("../index.js", null, run); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); @@ -228,12 +234,12 @@ test.serial('Display help', async (t) => { t.is(exitCode, 0); }); -test.serial('Return error exitCode and prints help if called with a command', async (t) => { +test.serial("Return error exitCode and prints help if called with a command", async (t) => { const run = stub().resolves(true); - const argv = ['', '', 'pre']; - await td.replaceEsm('../index.js', null, run); + const argv = ["", "", "pre"]; + await td.replaceEsm("../index.js", null, run); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); @@ -242,12 +248,12 @@ test.serial('Return error exitCode and prints help if called with a command', as t.is(exitCode, 1); }); -test.serial('Return error exitCode if multiple plugin are set for single plugin', async (t) => { +test.serial("Return error exitCode if multiple plugin are set for single plugin", async (t) => { const run = stub().resolves(true); - const argv = ['', '', '--analyze-commits', 'analyze1', 'analyze2']; - await td.replaceEsm('../index.js', null, run); + const argv = ["", "", "--analyze-commits", "analyze1", "analyze2"]; + await td.replaceEsm("../index.js", null, run); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); @@ -256,12 +262,12 @@ test.serial('Return error exitCode if multiple plugin are set for single plugin' t.is(exitCode, 1); }); -test.serial('Return error exitCode if semantic-release throw error', async (t) => { - const argv = ['', '']; - const index = await td.replaceEsm('../index.js'); - td.when(index.default({_: [], '$0': ''})).thenReject(new Error('semantic-release error')); +test.serial("Return error exitCode if semantic-release throw error", async (t) => { + const argv = ["", ""]; + const index = await td.replaceEsm("../index.js"); + td.when(index.default({ _: [], $0: "" })).thenReject(new Error("semantic-release error")); process.argv = argv; - const cli = (await import('../cli.js')).default; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); @@ -269,14 +275,14 @@ test.serial('Return error exitCode if semantic-release throw error', async (t) = t.is(exitCode, 1); }); -test.serial('Hide sensitive environment variable values from the logs', async (t) => { - const env = {MY_TOKEN: 'secret token'}; - const argv = ['', '']; - const index = await td.replaceEsm('../index.js'); - td.when(index.default({_: [], '$0': ''})).thenReject(new Error(`Throw error: Exposing token ${env.MY_TOKEN}`)); +test.serial("Hide sensitive environment variable values from the logs", async (t) => { + const env = { MY_TOKEN: "secret token" }; + const argv = ["", ""]; + const index = await td.replaceEsm("../index.js"); + td.when(index.default({ _: [], $0: "" })).thenReject(new Error(`Throw error: Exposing token ${env.MY_TOKEN}`)); process.argv = argv; - process.env = {...process.env, ...env}; - const cli = (await import('../cli.js')).default; + process.env = { ...process.env, ...env }; + const cli = (await import("../cli.js")).default; const exitCode = await cli(); diff --git a/test/get-commits.test.js b/test/get-commits.test.js index 6e2e5eb4..ab2179dd 100644 --- a/test/get-commits.test.js +++ b/test/get-commits.test.js @@ -1,39 +1,39 @@ -import test from 'ava'; -import {stub} from 'sinon'; -import getCommits from '../lib/get-commits.js'; -import {gitCommits, gitDetachedHead, gitRepo} from './helpers/git-utils.js'; +import test from "ava"; +import { stub } from "sinon"; +import getCommits from "../lib/get-commits.js"; +import { gitCommits, gitDetachedHead, gitRepo } from "./helpers/git-utils.js"; test.beforeEach((t) => { // Stub the logger functions t.context.log = stub(); t.context.error = stub(); - t.context.logger = {log: t.context.log, error: t.context.error}; + t.context.logger = { log: t.context.log, error: t.context.error }; }); -test('Get all commits when there is no last release', async (t) => { +test("Get all commits when there is no last release", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First', 'Second'], {cwd}); + const commits = await gitCommits(["First", "Second"], { cwd }); // Retrieve the commits with the commits module - const result = await getCommits({cwd, lastRelease: {}, logger: t.context.logger}); + const result = await getCommits({ cwd, lastRelease: {}, logger: t.context.logger }); // Verify the commits created and retrieved by the module are identical t.is(result.length, 2); t.deepEqual(result, commits); }); -test('Get all commits since gitHead (from lastRelease)', async (t) => { +test("Get all commits since gitHead (from lastRelease)", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First', 'Second', 'Third'], {cwd}); + const commits = await gitCommits(["First", "Second", "Third"], { cwd }); // Retrieve the commits with the commits module, since commit 'First' const result = await getCommits({ cwd, - lastRelease: {gitHead: commits[commits.length - 1].hash}, + lastRelease: { gitHead: commits[commits.length - 1].hash }, logger: t.context.logger, }); @@ -42,18 +42,18 @@ test('Get all commits since gitHead (from lastRelease)', async (t) => { t.deepEqual(result, commits.slice(0, 2)); }); -test('Get all commits since gitHead (from lastRelease) on a detached head repo', async (t) => { +test("Get all commits since gitHead (from lastRelease) on a detached head repo", async (t) => { // Create a git repository, set the current working directory at the root of the repo - let {cwd, repositoryUrl} = await gitRepo(); + let { cwd, repositoryUrl } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First', 'Second', 'Third'], {cwd}); + const commits = await gitCommits(["First", "Second", "Third"], { cwd }); // Create a detached head repo at commit 'feat: Second' cwd = await gitDetachedHead(repositoryUrl, commits[1].hash); // Retrieve the commits with the commits module, since commit 'First' const result = await getCommits({ cwd, - lastRelease: {gitHead: commits[commits.length - 1].hash}, + lastRelease: { gitHead: commits[commits.length - 1].hash }, logger: t.context.logger, }); @@ -66,17 +66,17 @@ test('Get all commits since gitHead (from lastRelease) on a detached head repo', t.truthy(result[0].committer.name); }); -test('Get all commits between lastRelease.gitHead and a shas', async (t) => { +test("Get all commits between lastRelease.gitHead and a shas", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First', 'Second', 'Third'], {cwd}); + const commits = await gitCommits(["First", "Second", "Third"], { cwd }); // Retrieve the commits with the commits module, between commit 'First' and 'Third' const result = await getCommits({ cwd, - lastRelease: {gitHead: commits[commits.length - 1].hash}, - nextRelease: {gitHead: commits[1].hash}, + lastRelease: { gitHead: commits[commits.length - 1].hash }, + nextRelease: { gitHead: commits[1].hash }, logger: t.context.logger, }); @@ -85,16 +85,16 @@ test('Get all commits between lastRelease.gitHead and a shas', async (t) => { t.deepEqual(result, commits.slice(1, -1)); }); -test('Return empty array if lastRelease.gitHead is the last commit', async (t) => { +test("Return empty array if lastRelease.gitHead is the last commit", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First', 'Second'], {cwd}); + const commits = await gitCommits(["First", "Second"], { cwd }); // Retrieve the commits with the commits module, since commit 'Second' (therefore none) const result = await getCommits({ cwd, - lastRelease: {gitHead: commits[0].hash}, + lastRelease: { gitHead: commits[0].hash }, logger: t.context.logger, }); @@ -102,12 +102,12 @@ test('Return empty array if lastRelease.gitHead is the last commit', async (t) = t.deepEqual(result, []); }); -test('Return empty array if there is no commits', async (t) => { +test("Return empty array if there is no commits", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Retrieve the commits with the commits module - const result = await getCommits({cwd, lastRelease: {}, logger: t.context.logger}); + const result = await getCommits({ cwd, lastRelease: {}, logger: t.context.logger }); // Verify no commit is retrieved t.deepEqual(result, []); diff --git a/test/get-config.test.js b/test/get-config.test.js index 838a4c9c..395c8b57 100644 --- a/test/get-config.test.js +++ b/test/get-config.test.js @@ -1,589 +1,597 @@ -import path from 'node:path'; -import {format} from 'node:util'; -import test from 'ava'; -import fsExtra from 'fs-extra'; -import {omit} from 'lodash-es'; -import * as td from 'testdouble'; -import yaml from 'js-yaml'; -import {gitAddConfig, gitCommits, gitRepo, gitShallowClone, gitTagVersion} from './helpers/git-utils.js'; +import path from "node:path"; +import { format } from "node:util"; +import test from "ava"; +import fsExtra from "fs-extra"; +import { omit } from "lodash-es"; +import * as td from "testdouble"; +import yaml from "js-yaml"; +import { gitAddConfig, gitCommits, gitRepo, gitShallowClone, gitTagVersion } from "./helpers/git-utils.js"; -const {outputJson, writeFile} = fsExtra; -const pluginsConfig = {foo: 'bar', baz: 'qux'}; +const { outputJson, writeFile } = fsExtra; +const pluginsConfig = { foo: "bar", baz: "qux" }; let plugins; const DEFAULT_PLUGINS = [ - '@semantic-release/commit-analyzer', - '@semantic-release/release-notes-generator', - '@semantic-release/npm', - '@semantic-release/github', + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + "@semantic-release/npm", + "@semantic-release/github", ]; test.beforeEach(async (t) => { - plugins = (await td.replaceEsm('../lib/plugins/index.js')).default; - t.context.getConfig = (await import('../lib/get-config.js')).default; + plugins = (await td.replaceEsm("../lib/plugins/index.js")).default; + t.context.getConfig = (await import("../lib/get-config.js")).default; }); test.afterEach.always((t) => { td.reset(); }); -test('Default values, reading repositoryUrl from package.json', async (t) => { - const pkg = {repository: 'https://host.null/owner/package.git'}; +test("Default values, reading repositoryUrl from package.json", async (t) => { + const pkg = { repository: "https://host.null/owner/package.git" }; // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); + const { cwd } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); // Add remote.origin.url config - await gitAddConfig('remote.origin.url', 'git@host.null:owner/repo.git', {cwd}); + await gitAddConfig("remote.origin.url", "git@host.null:owner/repo.git", { cwd }); // Create package.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), pkg); + await outputJson(path.resolve(cwd, "package.json"), pkg); - const {options: result} = await t.context.getConfig({cwd}); + const { options: result } = await t.context.getConfig({ cwd }); // Verify the default options are set t.deepEqual(result.branches, [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'next', - 'next-major', - {name: 'beta', prerelease: true}, - {name: 'alpha', prerelease: true}, + "+([0-9])?(.{+([0-9]),x}).x", + "master", + "next", + "next-major", + { name: "beta", prerelease: true }, + { name: "alpha", prerelease: true }, ]); - t.is(result.repositoryUrl, 'https://host.null/owner/package.git'); + t.is(result.repositoryUrl, "https://host.null/owner/package.git"); t.is(result.tagFormat, `v\${version}`); }); -test('Default values, reading repositoryUrl from repo if not set in package.json', async (t) => { +test("Default values, reading repositoryUrl from repo if not set in package.json", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(true); + const { cwd } = await gitRepo(true); // Add remote.origin.url config - await gitAddConfig('remote.origin.url', 'https://host.null/owner/module.git', {cwd}); + await gitAddConfig("remote.origin.url", "https://host.null/owner/module.git", { cwd }); - const {options: result} = await t.context.getConfig({cwd}); + const { options: result } = await t.context.getConfig({ cwd }); // Verify the default options are set t.deepEqual(result.branches, [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'next', - 'next-major', - {name: 'beta', prerelease: true}, - {name: 'alpha', prerelease: true}, + "+([0-9])?(.{+([0-9]),x}).x", + "master", + "next", + "next-major", + { name: "beta", prerelease: true }, + { name: "alpha", prerelease: true }, ]); - t.is(result.repositoryUrl, 'https://host.null/owner/module.git'); + t.is(result.repositoryUrl, "https://host.null/owner/module.git"); t.is(result.tagFormat, `v\${version}`); }); -test('Default values, reading repositoryUrl (http url) from package.json if not set in repo', async (t) => { - const pkg = {repository: 'https://host.null/owner/module.git'}; +test("Default values, reading repositoryUrl (http url) from package.json if not set in repo", async (t) => { + const pkg = { repository: "https://host.null/owner/module.git" }; // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Create package.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), pkg); + await outputJson(path.resolve(cwd, "package.json"), pkg); - const {options: result} = await t.context.getConfig({cwd}); + const { options: result } = await t.context.getConfig({ cwd }); // Verify the default options are set t.deepEqual(result.branches, [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'next', - 'next-major', - {name: 'beta', prerelease: true}, - {name: 'alpha', prerelease: true}, + "+([0-9])?(.{+([0-9]),x}).x", + "master", + "next", + "next-major", + { name: "beta", prerelease: true }, + { name: "alpha", prerelease: true }, ]); - t.is(result.repositoryUrl, 'https://host.null/owner/module.git'); + t.is(result.repositoryUrl, "https://host.null/owner/module.git"); t.is(result.tagFormat, `v\${version}`); }); test('Convert "ci" option to "noCi"', async (t) => { - const pkg = {repository: 'https://host.null/owner/module.git', release: {ci: false}}; + const pkg = { repository: "https://host.null/owner/module.git", release: { ci: false } }; // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Create package.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), pkg); + await outputJson(path.resolve(cwd, "package.json"), pkg); - const {options: result} = await t.context.getConfig({cwd}); + const { options: result } = await t.context.getConfig({ cwd }); t.is(result.noCi, true); }); -test.serial('Read options from package.json', async (t) => { +test.serial("Read options from package.json", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - generateNotes: 'generateNotes', - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + generateNotes: "generateNotes", + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Verify the plugins module is called with the plugin options from package.json - td.when(plugins({cwd, options}, {})).thenResolve(pluginsConfig); + td.when(plugins({ cwd, options }, {})).thenResolve(pluginsConfig); // Create package.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: options}); + await outputJson(path.resolve(cwd, "package.json"), { release: options }); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from package.json - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); -test.serial('Read options from .releaserc.yml', async (t) => { +test.serial("Read options from .releaserc.yml", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Create package.json in repository root - await writeFile(path.resolve(cwd, '.releaserc.yml'), yaml.dump(options)); + await writeFile(path.resolve(cwd, ".releaserc.yml"), yaml.dump(options)); // Verify the plugins module is called with the plugin options from package.json - td.when(plugins({cwd, options}, {})).thenResolve(pluginsConfig); + td.when(plugins({ cwd, options }, {})).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from package.json - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); -test.serial('Read options from .releaserc.json', async (t) => { +test.serial("Read options from .releaserc.json", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Create package.json in repository root - await outputJson(path.resolve(cwd, '.releaserc.json'), options); + await outputJson(path.resolve(cwd, ".releaserc.json"), options); // Verify the plugins module is called with the plugin options from package.json - td.when(plugins({cwd, options}, {})).thenResolve(pluginsConfig); + td.when(plugins({ cwd, options }, {})).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from package.json - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); -test.serial('Read options from .releaserc.js', async (t) => { +test.serial("Read options from .releaserc.js", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Create package.json in repository root - await writeFile(path.resolve(cwd, '.releaserc.js'), `module.exports = ${JSON.stringify(options)}`); + await writeFile(path.resolve(cwd, ".releaserc.js"), `module.exports = ${JSON.stringify(options)}`); // Verify the plugins module is called with the plugin options from package.json - td.when(plugins({cwd, options}, {})).thenResolve(pluginsConfig); + td.when(plugins({ cwd, options }, {})).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from package.json - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); -test.serial('Read options from .releaserc.cjs', async (t) => { +test.serial("Read options from .releaserc.cjs", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Create .releaserc.cjs in repository root - await writeFile(path.resolve(cwd, '.releaserc.cjs'), `module.exports = ${JSON.stringify(options)}`); + await writeFile(path.resolve(cwd, ".releaserc.cjs"), `module.exports = ${JSON.stringify(options)}`); // Verify the plugins module is called with the plugin options from .releaserc.cjs - td.when(plugins({cwd, options}, {})).thenResolve(pluginsConfig); + td.when(plugins({ cwd, options }, {})).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from .releaserc.cjs - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); -test.serial('Read options from release.config.js', async (t) => { +test.serial("Read options from release.config.js", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Create package.json in repository root - await writeFile(path.resolve(cwd, 'release.config.js'), `module.exports = ${JSON.stringify(options)}`); + await writeFile(path.resolve(cwd, "release.config.js"), `module.exports = ${JSON.stringify(options)}`); // Verify the plugins module is called with the plugin options from package.json - td.when(plugins({cwd, options}, {})).thenResolve(pluginsConfig); + td.when(plugins({ cwd, options }, {})).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from package.json - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); -test.serial('Read options from release.config.cjs', async (t) => { +test.serial("Read options from release.config.cjs", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Verify the plugins module is called with the plugin options from release.config.cjs - td.when(plugins({cwd, options}, {})).thenResolve(pluginsConfig); + td.when(plugins({ cwd, options }, {})).thenResolve(pluginsConfig); // Create release.config.cjs in repository root - await writeFile(path.resolve(cwd, 'release.config.cjs'), `module.exports = ${JSON.stringify(options)}`); + await writeFile(path.resolve(cwd, "release.config.cjs"), `module.exports = ${JSON.stringify(options)}`); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from release.config.cjs - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); -test.serial('Prioritise CLI/API parameters over file configuration and git repo', async (t) => { +test.serial("Prioritise CLI/API parameters over file configuration and git repo", async (t) => { // Create a git repository, set the current working directory at the root of the repo - let {cwd, repositoryUrl} = await gitRepo(); - await gitCommits(['First'], {cwd}); + let { cwd, repositoryUrl } = await gitRepo(); + await gitCommits(["First"], { cwd }); // Create a clone cwd = await gitShallowClone(repositoryUrl); const pkgOptions = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_pkg'}, - branches: ['branch_pkg'], + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_pkg" }, + branches: ["branch_pkg"], }; const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_cli'}, - branches: ['branch_cli'], - repositoryUrl: 'http://cli-url.com/owner/package', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_cli" }, + branches: ["branch_cli"], + repositoryUrl: "http://cli-url.com/owner/package", tagFormat: `cli\${version}`, plugins: false, }; // Verify the plugins module is called with the plugin options from CLI/API - td.when(plugins({cwd, options}, {})).thenResolve(pluginsConfig); - const pkg = {release: pkgOptions, repository: 'git@host.null:owner/module.git'}; + td.when(plugins({ cwd, options }, {})).thenResolve(pluginsConfig); + const pkg = { release: pkgOptions, repository: "git@host.null:owner/module.git" }; // Create package.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), pkg); + await outputJson(path.resolve(cwd, "package.json"), pkg); - const result = await t.context.getConfig({cwd}, options); + const result = await t.context.getConfig({ cwd }, options); // Verify the options contains the plugin config from CLI/API - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); test.serial('Read configuration from file path in "extends"', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); - const pkgOptions = {extends: './shareable.json'}; + const { cwd } = await gitRepo(); + const pkgOptions = { extends: "./shareable.json" }; const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - generateNotes: 'generateNotes', - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + generateNotes: "generateNotes", + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, - plugins: ['plugin-1', ['plugin-2', {plugin2Opt: 'value'}]], + plugins: ["plugin-1", ["plugin-2", { plugin2Opt: "value" }]], }; // Create package.json and shareable.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: pkgOptions}); - await outputJson(path.resolve(cwd, 'shareable.json'), options); + await outputJson(path.resolve(cwd, "package.json"), { release: pkgOptions }); + await outputJson(path.resolve(cwd, "shareable.json"), options); // Verify the plugins module is called with the plugin options from shareable.json - td.when(plugins( - {cwd, options}, - { - analyzeCommits: './shareable.json', - generateNotes: './shareable.json', - 'plugin-1': './shareable.json', - 'plugin-2': './shareable.json', - } - )).thenResolve(pluginsConfig); + td.when( + plugins( + { cwd, options }, + { + analyzeCommits: "./shareable.json", + generateNotes: "./shareable.json", + "plugin-1": "./shareable.json", + "plugin-2": "./shareable.json", + } + ) + ).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from shareable.json - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); test.serial('Read configuration from module path in "extends"', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); - const pkgOptions = {extends: 'shareable'}; + const { cwd } = await gitRepo(); + const pkgOptions = { extends: "shareable" }; const options = { - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, - generateNotes: 'generateNotes', - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, + generateNotes: "generateNotes", + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Create package.json and shareable.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: pkgOptions}); - await outputJson(path.resolve(cwd, 'node_modules/shareable/index.json'), options); + await outputJson(path.resolve(cwd, "package.json"), { release: pkgOptions }); + await outputJson(path.resolve(cwd, "node_modules/shareable/index.json"), options); // Verify the plugins module is called with the plugin options from shareable.json - td.when(plugins( - {cwd, options}, - {analyzeCommits: 'shareable', generateNotes: 'shareable'} - )).thenResolve(pluginsConfig); + td.when(plugins({ cwd, options }, { analyzeCommits: "shareable", generateNotes: "shareable" })).thenResolve( + pluginsConfig + ); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from shareable.json - t.deepEqual(result, {options, plugins: pluginsConfig}); + t.deepEqual(result, { options, plugins: pluginsConfig }); }); test.serial('Read configuration from an array of paths in "extends"', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); - const pkgOptions = {extends: ['./shareable1.json', './shareable2.json']}; + const { cwd } = await gitRepo(); + const pkgOptions = { extends: ["./shareable1.json", "./shareable2.json"] }; const options1 = { - verifyRelease: 'verifyRelease1', - analyzeCommits: {path: 'analyzeCommits1', param: 'analyzeCommits_param1'}, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + verifyRelease: "verifyRelease1", + analyzeCommits: { path: "analyzeCommits1", param: "analyzeCommits_param1" }, + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", }; const options2 = { - verifyRelease: 'verifyRelease2', - generateNotes: 'generateNotes2', - analyzeCommits: {path: 'analyzeCommits2', param: 'analyzeCommits_param2'}, - branches: ['test_branch'], + verifyRelease: "verifyRelease2", + generateNotes: "generateNotes2", + analyzeCommits: { path: "analyzeCommits2", param: "analyzeCommits_param2" }, + branches: ["test_branch"], tagFormat: `v\${version}`, plugins: false, }; // Create package.json and shareable.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: pkgOptions}); - await outputJson(path.resolve(cwd, 'shareable1.json'), options1); - await outputJson(path.resolve(cwd, 'shareable2.json'), options2); - const expectedOptions = {...options1, ...options2, branches: ['test_branch']}; + await outputJson(path.resolve(cwd, "package.json"), { release: pkgOptions }); + await outputJson(path.resolve(cwd, "shareable1.json"), options1); + await outputJson(path.resolve(cwd, "shareable2.json"), options2); + const expectedOptions = { ...options1, ...options2, branches: ["test_branch"] }; // Verify the plugins module is called with the plugin options from shareable1.json and shareable2.json - td.when(plugins( - {options: expectedOptions, cwd}, - { - verifyRelease1: './shareable1.json', - verifyRelease2: './shareable2.json', - generateNotes2: './shareable2.json', - analyzeCommits1: './shareable1.json', - analyzeCommits2: './shareable2.json', - } - )).thenResolve(pluginsConfig); + td.when( + plugins( + { options: expectedOptions, cwd }, + { + verifyRelease1: "./shareable1.json", + verifyRelease2: "./shareable2.json", + generateNotes2: "./shareable2.json", + analyzeCommits1: "./shareable1.json", + analyzeCommits2: "./shareable2.json", + } + ) + ).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from shareable1.json and shareable2.json - t.deepEqual(result, {options: expectedOptions, plugins: pluginsConfig}); + t.deepEqual(result, { options: expectedOptions, plugins: pluginsConfig }); }); test.serial('Prioritize configuration from config file over "extends"', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const pkgOptions = { - extends: './shareable.json', - branches: ['test_pkg'], - generateNotes: 'generateNotes', - publish: [{path: 'publishPkg', param: 'publishPkg_param'}], + extends: "./shareable.json", + branches: ["test_pkg"], + generateNotes: "generateNotes", + publish: [{ path: "publishPkg", param: "publishPkg_param" }], }; const options1 = { - analyzeCommits: 'analyzeCommits', - generateNotes: 'generateNotesShareable', - publish: [{path: 'publishShareable', param: 'publishShareable_param'}], - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: "analyzeCommits", + generateNotes: "generateNotesShareable", + publish: [{ path: "publishShareable", param: "publishShareable_param" }], + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", tagFormat: `v\${version}`, plugins: false, }; // Create package.json and shareable.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: pkgOptions}); - await outputJson(path.resolve(cwd, 'shareable.json'), options1); - const expectedOptions = omit({...options1, ...pkgOptions, branches: ['test_pkg']}, 'extends'); + await outputJson(path.resolve(cwd, "package.json"), { release: pkgOptions }); + await outputJson(path.resolve(cwd, "shareable.json"), options1); + const expectedOptions = omit({ ...options1, ...pkgOptions, branches: ["test_pkg"] }, "extends"); // Verify the plugins module is called with the plugin options from package.json and shareable.json - td.when(plugins( - {cwd, options: expectedOptions}, - { - analyzeCommits: './shareable.json', - generateNotesShareable: './shareable.json', - publishShareable: './shareable.json', - } - )).thenResolve(pluginsConfig); + td.when( + plugins( + { cwd, options: expectedOptions }, + { + analyzeCommits: "./shareable.json", + generateNotesShareable: "./shareable.json", + publishShareable: "./shareable.json", + } + ) + ).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from package.json and shareable.json - t.deepEqual(result, {options: expectedOptions, plugins: pluginsConfig}); + t.deepEqual(result, { options: expectedOptions, plugins: pluginsConfig }); }); test.serial('Prioritize configuration from cli/API options over "extends"', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const cliOptions = { - extends: './shareable2.json', - branches: ['branch_opts'], - publish: [{path: 'publishOpts', param: 'publishOpts_param'}], - repositoryUrl: 'https://host.null/owner/module.git', + extends: "./shareable2.json", + branches: ["branch_opts"], + publish: [{ path: "publishOpts", param: "publishOpts_param" }], + repositoryUrl: "https://host.null/owner/module.git", }; const pkgOptions = { - extends: './shareable1.json', - branches: ['branch_pkg'], - generateNotes: 'generateNotes', - publish: [{path: 'publishPkg', param: 'publishPkg_param'}], + extends: "./shareable1.json", + branches: ["branch_pkg"], + generateNotes: "generateNotes", + publish: [{ path: "publishPkg", param: "publishPkg_param" }], }; const options1 = { - analyzeCommits: 'analyzeCommits1', - generateNotes: 'generateNotesShareable1', - publish: [{path: 'publishShareable', param: 'publishShareable_param1'}], - branches: ['test_branch1'], - repositoryUrl: 'https://host.null/owner/module.git', + analyzeCommits: "analyzeCommits1", + generateNotes: "generateNotesShareable1", + publish: [{ path: "publishShareable", param: "publishShareable_param1" }], + branches: ["test_branch1"], + repositoryUrl: "https://host.null/owner/module.git", }; const options2 = { - analyzeCommits: 'analyzeCommits2', - publish: [{path: 'publishShareable', param: 'publishShareable_param2'}], - branches: ['test_branch2'], + analyzeCommits: "analyzeCommits2", + publish: [{ path: "publishShareable", param: "publishShareable_param2" }], + branches: ["test_branch2"], tagFormat: `v\${version}`, plugins: false, }; // Create package.json, shareable1.json and shareable2.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: pkgOptions}); - await outputJson(path.resolve(cwd, 'shareable1.json'), options1); - await outputJson(path.resolve(cwd, 'shareable2.json'), options2); - const expectedOptions = omit({...options2, ...pkgOptions, ...cliOptions, branches: ['branch_opts']}, 'extends'); + await outputJson(path.resolve(cwd, "package.json"), { release: pkgOptions }); + await outputJson(path.resolve(cwd, "shareable1.json"), options1); + await outputJson(path.resolve(cwd, "shareable2.json"), options2); + const expectedOptions = omit({ ...options2, ...pkgOptions, ...cliOptions, branches: ["branch_opts"] }, "extends"); // Verify the plugins module is called with the plugin options from package.json and shareable2.json - td.when(plugins( - {cwd, options: expectedOptions}, - {analyzeCommits2: './shareable2.json', publishShareable: './shareable2.json'} - )).thenResolve(pluginsConfig); + td.when( + plugins( + { cwd, options: expectedOptions }, + { analyzeCommits2: "./shareable2.json", publishShareable: "./shareable2.json" } + ) + ).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}, cliOptions); + const result = await t.context.getConfig({ cwd }, cliOptions); // Verify the options contains the plugin config from package.json and shareable2.json - t.deepEqual(result, {options: expectedOptions, plugins: pluginsConfig}); + t.deepEqual(result, { options: expectedOptions, plugins: pluginsConfig }); }); test.serial('Allow to unset properties defined in shareable config with "null"', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const pkgOptions = { - extends: './shareable.json', + extends: "./shareable.json", analyzeCommits: null, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", plugins: null, }; const options1 = { - generateNotes: 'generateNotes', - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, + generateNotes: "generateNotes", + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, tagFormat: `v\${version}`, - plugins: ['test-plugin'], + plugins: ["test-plugin"], }; // Create package.json and shareable.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: pkgOptions}); - await outputJson(path.resolve(cwd, 'shareable.json'), options1); + await outputJson(path.resolve(cwd, "package.json"), { release: pkgOptions }); + await outputJson(path.resolve(cwd, "shareable.json"), options1); // Verify the plugins module is called with the plugin options from shareable.json and the default `plugins` - td.when(plugins( - { - options: { - ...omit(options1, 'analyzeCommits'), - ...omit(pkgOptions, ['extends', 'analyzeCommits']), - plugins: DEFAULT_PLUGINS, + td.when( + plugins( + { + options: { + ...omit(options1, "analyzeCommits"), + ...omit(pkgOptions, ["extends", "analyzeCommits"]), + plugins: DEFAULT_PLUGINS, + }, + cwd, }, - cwd, - }, - { - generateNotes: './shareable.json', - analyzeCommits: './shareable.json', - 'test-plugin': './shareable.json', - } - )).thenResolve(pluginsConfig); + { + generateNotes: "./shareable.json", + analyzeCommits: "./shareable.json", + "test-plugin": "./shareable.json", + } + ) + ).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from shareable.json and the default `plugins` - t.deepEqual( - result, - { - options: { - ...omit(options1, ['analyzeCommits']), - ...omit(pkgOptions, ['extends', 'analyzeCommits']), - plugins: DEFAULT_PLUGINS, - }, - plugins: pluginsConfig - } - ); + t.deepEqual(result, { + options: { + ...omit(options1, ["analyzeCommits"]), + ...omit(pkgOptions, ["extends", "analyzeCommits"]), + plugins: DEFAULT_PLUGINS, + }, + plugins: pluginsConfig, + }); }); test.serial('Allow to unset properties defined in shareable config with "undefined"', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); const pkgOptions = { - extends: './shareable.json', + extends: "./shareable.json", analyzeCommits: undefined, - branches: ['test_branch'], - repositoryUrl: 'https://host.null/owner/module.git', + branches: ["test_branch"], + repositoryUrl: "https://host.null/owner/module.git", }; const options1 = { - generateNotes: 'generateNotes', - analyzeCommits: {path: 'analyzeCommits', param: 'analyzeCommits_param'}, + generateNotes: "generateNotes", + analyzeCommits: { path: "analyzeCommits", param: "analyzeCommits_param" }, tagFormat: `v\${version}`, plugins: false, }; // Create release.config.js and shareable.json in repository root - await writeFile(path.resolve(cwd, 'release.config.js'), `module.exports = ${format(pkgOptions)}`); - await outputJson(path.resolve(cwd, 'shareable.json'), options1); + await writeFile(path.resolve(cwd, "release.config.js"), `module.exports = ${format(pkgOptions)}`); + await outputJson(path.resolve(cwd, "shareable.json"), options1); const expectedOptions = { - ...omit(options1, 'analyzeCommits'), - ...omit(pkgOptions, ['extends', 'analyzeCommits']), - branches: ['test_branch'], + ...omit(options1, "analyzeCommits"), + ...omit(pkgOptions, ["extends", "analyzeCommits"]), + branches: ["test_branch"], }; // Verify the plugins module is called with the plugin options from shareable.json - td.when(plugins( - {options: expectedOptions, cwd}, - {generateNotes: './shareable.json', analyzeCommits: './shareable.json'} - )).thenResolve(pluginsConfig); + td.when( + plugins( + { options: expectedOptions, cwd }, + { generateNotes: "./shareable.json", analyzeCommits: "./shareable.json" } + ) + ).thenResolve(pluginsConfig); - const result = await t.context.getConfig({cwd}); + const result = await t.context.getConfig({ cwd }); // Verify the options contains the plugin config from shareable.json - t.deepEqual(result, {options: expectedOptions, plugins: pluginsConfig}); + t.deepEqual(result, { options: expectedOptions, plugins: pluginsConfig }); }); -test('Throw an Error if one of the shareable config cannot be found', async (t) => { +test("Throw an Error if one of the shareable config cannot be found", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); - const pkgOptions = {extends: ['./shareable1.json', 'non-existing-path']}; - const options1 = {analyzeCommits: 'analyzeCommits'}; + const { cwd } = await gitRepo(); + const pkgOptions = { extends: ["./shareable1.json", "non-existing-path"] }; + const options1 = { analyzeCommits: "analyzeCommits" }; // Create package.json and shareable.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: pkgOptions}); - await outputJson(path.resolve(cwd, 'shareable1.json'), options1); + await outputJson(path.resolve(cwd, "package.json"), { release: pkgOptions }); + await outputJson(path.resolve(cwd, "shareable1.json"), options1); - await t.throwsAsync(t.context.getConfig({cwd}), { + await t.throwsAsync(t.context.getConfig({ cwd }), { message: /Cannot find module 'non-existing-path'/, - code: 'MODULE_NOT_FOUND', + code: "MODULE_NOT_FOUND", }); }); test('Convert "ci" option to "noCi" when set from extended config', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); - const pkgOptions = {extends: './no-ci.json'}; + const { cwd } = await gitRepo(); + const pkgOptions = { extends: "./no-ci.json" }; const options = { ci: false, }; // Create package.json and shareable.json in repository root - await outputJson(path.resolve(cwd, 'package.json'), {release: pkgOptions}); - await outputJson(path.resolve(cwd, 'no-ci.json'), options); + await outputJson(path.resolve(cwd, "package.json"), { release: pkgOptions }); + await outputJson(path.resolve(cwd, "no-ci.json"), options); - const {options: result} = await t.context.getConfig({cwd}); + const { options: result } = await t.context.getConfig({ cwd }); t.is(result.ci, false); t.is(result.noCi, true); diff --git a/test/get-git-auth-url.test.js b/test/get-git-auth-url.test.js index 48c72ea0..e87c64db 100644 --- a/test/get-git-auth-url.test.js +++ b/test/get-git-auth-url.test.js @@ -1,408 +1,413 @@ -import test from 'ava'; -import getAuthUrl from '../lib/get-git-auth-url.js'; -import {gitRepo} from './helpers/git-utils.js'; +import test from "ava"; +import getAuthUrl from "../lib/get-git-auth-url.js"; +import { gitRepo } from "./helpers/git-utils.js"; -const env = {GIT_ASKPASS: 'echo', GIT_TERMINAL_PROMPT: 0}; +const env = { GIT_ASKPASS: "echo", GIT_TERMINAL_PROMPT: 0 }; test('Return the same "git" formatted URL if "gitCredentials" is not defined', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( - await getAuthUrl({cwd, env, branch: {name: 'master'}, options: {repositoryUrl: 'git@host.null:owner/repo.git'}}), - 'git@host.null:owner/repo.git' + await getAuthUrl({ + cwd, + env, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, + }), + "git@host.null:owner/repo.git" ); }); test('Return the same "https" formatted URL if "gitCredentials" is not defined', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, env, - branch: {name: 'master'}, - options: {repositoryUrl: 'https://host.null/owner/repo.git'}, + branch: { name: "master" }, + options: { repositoryUrl: "https://host.null/owner/repo.git" }, }), - 'https://host.null/owner/repo.git' + "https://host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is not defined and repositoryUrl is a "git+https" URL', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, env, - branch: {name: 'master'}, - options: {repositoryUrl: 'git+https://host.null/owner/repo.git'}, + branch: { name: "master" }, + options: { repositoryUrl: "git+https://host.null/owner/repo.git" }, }), - 'https://host.null/owner/repo.git' + "https://host.null/owner/repo.git" ); }); test('Do not add trailing ".git" if not present in the origian URL', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( - await getAuthUrl({cwd, env, vranch: {name: 'master'}, options: {repositoryUrl: 'git@host.null:owner/repo'}}), - 'git@host.null:owner/repo' + await getAuthUrl({ cwd, env, vranch: { name: "master" }, options: { repositoryUrl: "git@host.null:owner/repo" } }), + "git@host.null:owner/repo" ); }); test('Handle "https" URL with group and subgroup', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, env, - branch: {name: 'master'}, - options: {repositoryUrl: 'https://host.null/group/subgroup/owner/repo.git'}, + branch: { name: "master" }, + options: { repositoryUrl: "https://host.null/group/subgroup/owner/repo.git" }, }), - 'https://host.null/group/subgroup/owner/repo.git' + "https://host.null/group/subgroup/owner/repo.git" ); }); test('Handle "git" URL with group and subgroup', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, env, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:group/subgroup/owner/repo.git'}, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:group/subgroup/owner/repo.git" }, }), - 'git@host.null:group/subgroup/owner/repo.git' + "git@host.null:group/subgroup/owner/repo.git" ); }); -test('Convert shorthand URL', async (t) => { - const {cwd} = await gitRepo(); +test("Convert shorthand URL", async (t) => { + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, env, - branch: {name: 'master'}, - options: {repositoryUrl: 'semantic-release/semantic-release'}, + branch: { name: "master" }, + options: { repositoryUrl: "semantic-release/semantic-release" }, }), - 'https://github.com/semantic-release/semantic-release.git' + "https://github.com/semantic-release/semantic-release.git" ); }); -test('Convert GitLab shorthand URL', async (t) => { - const {cwd} = await gitRepo(); +test("Convert GitLab shorthand URL", async (t) => { + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, env, - branch: {name: 'master'}, - options: {repositoryUrl: 'gitlab:semantic-release/semantic-release'}, + branch: { name: "master" }, + options: { repositoryUrl: "gitlab:semantic-release/semantic-release" }, }), - 'https://gitlab.com/semantic-release/semantic-release.git' + "https://gitlab.com/semantic-release/semantic-release.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined and repositoryUrl is a "git" URL', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://user:pass@host.null/owner/repo.git' + "https://user:pass@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined and repositoryUrl is a "git" URL without user', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - options: {branch: 'master', repositoryUrl: 'host.null:owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + options: { branch: "master", repositoryUrl: "host.null:owner/repo.git" }, }), - 'https://user:pass@host.null/owner/repo.git' + "https://user:pass@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined and repositoryUrl is a "git" URL without user and with a custom port', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - options: {branch: 'master', repositoryUrl: 'host.null:6666:owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + options: { branch: "master", repositoryUrl: "host.null:6666:owner/repo.git" }, }), - 'https://user:pass@host.null:6666/owner/repo.git' + "https://user:pass@host.null:6666/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined and repositoryUrl is a "git" URL without user and with a custom port followed by a slash', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - options: {branch: 'master', repositoryUrl: 'host.null:6666:/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + options: { branch: "master", repositoryUrl: "host.null:6666:/owner/repo.git" }, }), - 'https://user:pass@host.null:6666/owner/repo.git' + "https://user:pass@host.null:6666/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined and repositoryUrl is a "https" URL', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'https://host.null/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + branch: { name: "master" }, + options: { repositoryUrl: "https://host.null/owner/repo.git" }, }), - 'https://user:pass@host.null/owner/repo.git' + "https://user:pass@host.null/owner/repo.git" ); }); test('Return the "http" formatted URL if "gitCredentials" is defined and repositoryUrl is a "http" URL', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'http://host.null/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + branch: { name: "master" }, + options: { repositoryUrl: "http://host.null/owner/repo.git" }, }), - 'http://user:pass@host.null/owner/repo.git' + "http://user:pass@host.null/owner/repo.git" ); }); test('Return the "http" formatted URL if "gitCredentials" is defined and repositoryUrl is a "http" URL with custom port', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - options: {branch: 'master', repositoryUrl: 'http://host.null:8080/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + options: { branch: "master", repositoryUrl: "http://host.null:8080/owner/repo.git" }, }), - 'http://user:pass@host.null:8080/owner/repo.git' + "http://user:pass@host.null:8080/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined and repositoryUrl is a "git+https" URL', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git+https://host.null/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + branch: { name: "master" }, + options: { repositoryUrl: "git+https://host.null/owner/repo.git" }, }), - 'https://user:pass@host.null/owner/repo.git' + "https://user:pass@host.null/owner/repo.git" ); }); test('Return the "http" formatted URL if "gitCredentials" is defined and repositoryUrl is a "git+http" URL', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git+http://host.null/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + branch: { name: "master" }, + options: { repositoryUrl: "git+http://host.null/owner/repo.git" }, }), - 'http://user:pass@host.null/owner/repo.git' + "http://user:pass@host.null/owner/repo.git" ); }); test('Return the "http" formatted URL if "gitCredentials" is defined and repositoryUrl is a "ssh" URL', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - options: {branch: 'master', repositoryUrl: 'ssh://git@host.null:2222/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + options: { branch: "master", repositoryUrl: "ssh://git@host.null:2222/owner/repo.git" }, }), - 'https://user:pass@host.null/owner/repo.git' + "https://user:pass@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined with "GH_TOKEN"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GH_TOKEN: 'token'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, GH_TOKEN: "token" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://token@host.null/owner/repo.git' + "https://token@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined with "GITHUB_TOKEN"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GITHUB_TOKEN: 'token'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, GITHUB_TOKEN: "token" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://token@host.null/owner/repo.git' + "https://token@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined with "GL_TOKEN"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GL_TOKEN: 'token'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, GL_TOKEN: "token" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://gitlab-ci-token:token@host.null/owner/repo.git' + "https://gitlab-ci-token:token@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined with "GITLAB_TOKEN"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GITLAB_TOKEN: 'token'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, GITLAB_TOKEN: "token" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://gitlab-ci-token:token@host.null/owner/repo.git' + "https://gitlab-ci-token:token@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined with "BB_TOKEN"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, BB_TOKEN: 'token'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, BB_TOKEN: "token" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://x-token-auth:token@host.null/owner/repo.git' + "https://x-token-auth:token@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined with "BITBUCKET_TOKEN"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, BITBUCKET_TOKEN: 'token'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, BITBUCKET_TOKEN: "token" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://x-token-auth:token@host.null/owner/repo.git' + "https://x-token-auth:token@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined with "BB_TOKEN_BASIC_AUTH"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, BB_TOKEN_BASIC_AUTH: 'username:token'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, BB_TOKEN_BASIC_AUTH: "username:token" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://username:token@host.null/owner/repo.git' + "https://username:token@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "gitCredentials" is defined with "BITBUCKET_TOKEN_BASIC_AUTH"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, BITBUCKET_TOKEN_BASIC_AUTH: 'username:token'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, BITBUCKET_TOKEN_BASIC_AUTH: "username:token" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://username:token@host.null/owner/repo.git' + "https://username:token@host.null/owner/repo.git" ); }); test('Return the "https" formatted URL if "GITHUB_ACTION" is set', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GITHUB_ACTION: 'foo', GITHUB_TOKEN: 'token'}, - options: {branch: 'master', repositoryUrl: 'git@host.null:owner/repo.git'}, + env: { ...env, GITHUB_ACTION: "foo", GITHUB_TOKEN: "token" }, + options: { branch: "master", repositoryUrl: "git@host.null:owner/repo.git" }, }), - 'https://x-access-token:token@host.null/owner/repo.git' + "https://x-access-token:token@host.null/owner/repo.git" ); }); test('Handle "https" URL with group and subgroup, with "GIT_CREDENTIALS"', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'https://host.null/group/subgroup/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + branch: { name: "master" }, + options: { repositoryUrl: "https://host.null/group/subgroup/owner/repo.git" }, }), - 'https://user:pass@host.null/group/subgroup/owner/repo.git' + "https://user:pass@host.null/group/subgroup/owner/repo.git" ); }); test('Handle "git" URL with group and subgroup, with "GIT_CREDENTIALS', async (t) => { - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - branch: {name: 'master'}, - options: {repositoryUrl: 'git@host.null:group/subgroup/owner/repo.git'}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + branch: { name: "master" }, + options: { repositoryUrl: "git@host.null:group/subgroup/owner/repo.git" }, }), - 'https://user:pass@host.null/group/subgroup/owner/repo.git' + "https://user:pass@host.null/group/subgroup/owner/repo.git" ); }); -test('Do not add git credential to repositoryUrl if push is allowed', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); +test("Do not add git credential to repositoryUrl if push is allowed", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); t.is( await getAuthUrl({ cwd, - env: {...env, GIT_CREDENTIALS: 'user:pass'}, - branch: {name: 'master'}, - options: {repositoryUrl}, + env: { ...env, GIT_CREDENTIALS: "user:pass" }, + branch: { name: "master" }, + options: { repositoryUrl }, }), repositoryUrl ); diff --git a/test/get-last-release.test.js b/test/get-last-release.test.js index 521c2e8b..1ca0611f 100644 --- a/test/get-last-release.test.js +++ b/test/get-last-release.test.js @@ -1,80 +1,80 @@ -import test from 'ava'; -import getLastRelease from '../lib/get-last-release.js'; +import test from "ava"; +import getLastRelease from "../lib/get-last-release.js"; -test('Get the highest non-prerelease valid tag', (t) => { +test("Get the highest non-prerelease valid tag", (t) => { const result = getLastRelease({ branch: { - name: 'master', + name: "master", tags: [ - {version: '2.0.0', gitTag: 'v2.0.0', gitHead: 'v2.0.0'}, - {version: '1.0.0', gitTag: 'v1.0.0', gitHead: 'v1.0.0'}, - {version: '3.0.0-beta.1', gitTag: 'v3.0.0-beta.1', gitHead: 'v3.0.0-beta.1'}, + { version: "2.0.0", gitTag: "v2.0.0", gitHead: "v2.0.0" }, + { version: "1.0.0", gitTag: "v1.0.0", gitHead: "v1.0.0" }, + { version: "3.0.0-beta.1", gitTag: "v3.0.0-beta.1", gitHead: "v3.0.0-beta.1" }, ], - type: 'release', + type: "release", }, - options: {tagFormat: `v\${version}`}, + options: { tagFormat: `v\${version}` }, }); - t.deepEqual(result, {version: '2.0.0', gitTag: 'v2.0.0', name: 'v2.0.0', gitHead: 'v2.0.0', channels: undefined}); + t.deepEqual(result, { version: "2.0.0", gitTag: "v2.0.0", name: "v2.0.0", gitHead: "v2.0.0", channels: undefined }); }); -test('Get the highest prerelease valid tag, ignoring other tags from other prerelease channels', (t) => { +test("Get the highest prerelease valid tag, ignoring other tags from other prerelease channels", (t) => { const result = getLastRelease({ branch: { - name: 'beta', - prerelease: 'beta', - channel: 'beta', + name: "beta", + prerelease: "beta", + channel: "beta", tags: [ - {version: '1.0.0-beta.1', gitTag: 'v1.0.0-beta.1', gitHead: 'v1.0.0-beta.1', channels: ['beta']}, - {version: '1.0.0-beta.2', gitTag: 'v1.0.0-beta.2', gitHead: 'v1.0.0-beta.2', channels: ['beta']}, - {version: '1.0.0-alpha.1', gitTag: 'v1.0.0-alpha.1', gitHead: 'v1.0.0-alpha.1', channels: ['alpha']}, + { version: "1.0.0-beta.1", gitTag: "v1.0.0-beta.1", gitHead: "v1.0.0-beta.1", channels: ["beta"] }, + { version: "1.0.0-beta.2", gitTag: "v1.0.0-beta.2", gitHead: "v1.0.0-beta.2", channels: ["beta"] }, + { version: "1.0.0-alpha.1", gitTag: "v1.0.0-alpha.1", gitHead: "v1.0.0-alpha.1", channels: ["alpha"] }, ], - type: 'prerelease', + type: "prerelease", }, - options: {tagFormat: `v\${version}`}, + options: { tagFormat: `v\${version}` }, }); t.deepEqual(result, { - version: '1.0.0-beta.2', - gitTag: 'v1.0.0-beta.2', - name: 'v1.0.0-beta.2', - gitHead: 'v1.0.0-beta.2', - channels: ['beta'], + version: "1.0.0-beta.2", + gitTag: "v1.0.0-beta.2", + name: "v1.0.0-beta.2", + gitHead: "v1.0.0-beta.2", + channels: ["beta"], }); }); -test('Return empty object if no valid tag is found', (t) => { +test("Return empty object if no valid tag is found", (t) => { const result = getLastRelease({ branch: { - name: 'master', - tags: [{version: '3.0.0-beta.1', gitTag: 'v3.0.0-beta.1', gitHead: 'v3.0.0-beta.1'}], - type: 'release', + name: "master", + tags: [{ version: "3.0.0-beta.1", gitTag: "v3.0.0-beta.1", gitHead: "v3.0.0-beta.1" }], + type: "release", }, - options: {tagFormat: `v\${version}`}, + options: { tagFormat: `v\${version}` }, }); t.deepEqual(result, {}); }); -test('Get the highest non-prerelease valid tag before a certain version', (t) => { +test("Get the highest non-prerelease valid tag before a certain version", (t) => { const result = getLastRelease( { branch: { - name: 'master', + name: "master", channel: undefined, tags: [ - {version: '2.0.0', gitTag: 'v2.0.0', gitHead: 'v2.0.0'}, - {version: '1.0.0', gitTag: 'v1.0.0', gitHead: 'v1.0.0'}, - {version: '2.0.0-beta.1', gitTag: 'v2.0.0-beta.1', gitHead: 'v2.0.0-beta.1'}, - {version: '2.1.0', gitTag: 'v2.1.0', gitHead: 'v2.1.0'}, - {version: '2.1.1', gitTag: 'v2.1.1', gitHead: 'v2.1.1'}, + { version: "2.0.0", gitTag: "v2.0.0", gitHead: "v2.0.0" }, + { version: "1.0.0", gitTag: "v1.0.0", gitHead: "v1.0.0" }, + { version: "2.0.0-beta.1", gitTag: "v2.0.0-beta.1", gitHead: "v2.0.0-beta.1" }, + { version: "2.1.0", gitTag: "v2.1.0", gitHead: "v2.1.0" }, + { version: "2.1.1", gitTag: "v2.1.1", gitHead: "v2.1.1" }, ], - type: 'release', + type: "release", }, - options: {tagFormat: `v\${version}`}, + options: { tagFormat: `v\${version}` }, }, - {before: '2.1.0'} + { before: "2.1.0" } ); - t.deepEqual(result, {version: '2.0.0', gitTag: 'v2.0.0', name: 'v2.0.0', gitHead: 'v2.0.0', channels: undefined}); + t.deepEqual(result, { version: "2.0.0", gitTag: "v2.0.0", name: "v2.0.0", gitHead: "v2.0.0", channels: undefined }); }); diff --git a/test/get-logger.test.js b/test/get-logger.test.js index efa718f0..f6a946e0 100644 --- a/test/get-logger.test.js +++ b/test/get-logger.test.js @@ -1,15 +1,15 @@ -import test from 'ava'; -import {spy} from 'sinon'; -import getLogger from '../lib/get-logger.js'; +import test from "ava"; +import { spy } from "sinon"; +import getLogger from "../lib/get-logger.js"; test('Expose "error", "success" and "log" functions', (t) => { const stdout = spy(); const stderr = spy(); - const logger = getLogger({stdout: {write: stdout}, stderr: {write: stderr}}); + const logger = getLogger({ stdout: { write: stdout }, stderr: { write: stderr } }); - logger.log('test log'); - logger.success('test success'); - logger.error('test error'); + logger.log("test log"); + logger.success("test success"); + logger.error("test error"); t.regex(stdout.args[0][0], /.*test log/); t.regex(stdout.args[1][0], /.*test success/); diff --git a/test/get-next-version.test.js b/test/get-next-version.test.js index 58ddff29..435b3b3f 100644 --- a/test/get-next-version.test.js +++ b/test/get-next-version.test.js @@ -1,277 +1,277 @@ -import test from 'ava'; -import {stub} from 'sinon'; -import getNextVersion from '../lib/get-next-version.js'; +import test from "ava"; +import { stub } from "sinon"; +import getNextVersion from "../lib/get-next-version.js"; test.beforeEach((t) => { // Stub the logger functions t.context.log = stub(); - t.context.logger = {log: t.context.log}; + t.context.logger = { log: t.context.log }; }); -test('Increase version for patch release', (t) => { +test("Increase version for patch release", (t) => { t.is( getNextVersion({ - branch: {name: 'master', type: 'release', tags: [{gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}]}, - nextRelease: {type: 'patch'}, - lastRelease: {version: '1.0.0', channels: [null]}, + branch: { name: "master", type: "release", tags: [{ gitTag: "v1.0.0", version: "1.0.0", channels: [null] }] }, + nextRelease: { type: "patch" }, + lastRelease: { version: "1.0.0", channels: [null] }, logger: t.context.logger, }), - '1.0.1' + "1.0.1" ); }); -test('Increase version for minor release', (t) => { +test("Increase version for minor release", (t) => { t.is( getNextVersion({ - branch: {name: 'master', type: 'release', tags: [{gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}]}, - nextRelease: {type: 'minor'}, - lastRelease: {version: '1.0.0', channels: [null]}, + branch: { name: "master", type: "release", tags: [{ gitTag: "v1.0.0", version: "1.0.0", channels: [null] }] }, + nextRelease: { type: "minor" }, + lastRelease: { version: "1.0.0", channels: [null] }, logger: t.context.logger, }), - '1.1.0' + "1.1.0" ); }); -test('Increase version for major release', (t) => { +test("Increase version for major release", (t) => { t.is( getNextVersion({ - branch: {name: 'master', type: 'release', tags: [{gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}]}, - nextRelease: {type: 'major'}, - lastRelease: {version: '1.0.0', channels: [null]}, + branch: { name: "master", type: "release", tags: [{ gitTag: "v1.0.0", version: "1.0.0", channels: [null] }] }, + nextRelease: { type: "major" }, + lastRelease: { version: "1.0.0", channels: [null] }, logger: t.context.logger, }), - '2.0.0' + "2.0.0" ); }); -test('Return 1.0.0 if there is no previous release', (t) => { +test("Return 1.0.0 if there is no previous release", (t) => { t.is( getNextVersion({ - branch: {name: 'master', type: 'release', tags: []}, - nextRelease: {type: 'minor'}, + branch: { name: "master", type: "release", tags: [] }, + nextRelease: { type: "minor" }, lastRelease: {}, logger: t.context.logger, }), - '1.0.0' + "1.0.0" ); }); -test('Increase version for patch release on prerelease branch', (t) => { +test("Increase version for patch release on prerelease branch", (t) => { t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', - tags: [{gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}], + name: "beta", + type: "prerelease", + prerelease: "beta", + tags: [{ gitTag: "v1.0.0", version: "1.0.0", channels: [null] }], }, - nextRelease: {type: 'patch', channel: 'beta'}, - lastRelease: {version: '1.0.0', channels: [null]}, + nextRelease: { type: "patch", channel: "beta" }, + lastRelease: { version: "1.0.0", channels: [null] }, logger: t.context.logger, }), - '1.0.1-beta.1' + "1.0.1-beta.1" ); t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', + name: "beta", + type: "prerelease", + prerelease: "beta", tags: [ - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v1.0.1-beta.1', version: '1.0.1-beta.1', channels: ['beta']}, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v1.0.1-beta.1", version: "1.0.1-beta.1", channels: ["beta"] }, ], }, - nextRelease: {type: 'patch', channel: 'beta'}, - lastRelease: {version: '1.0.1-beta.1', channels: ['beta']}, + nextRelease: { type: "patch", channel: "beta" }, + lastRelease: { version: "1.0.1-beta.1", channels: ["beta"] }, logger: t.context.logger, }), - '1.0.1-beta.2' + "1.0.1-beta.2" ); t.is( getNextVersion({ branch: { - name: 'alpha', - type: 'prerelease', - prerelease: 'alpha', - tags: [{gitTag: 'v1.0.1-beta.1', version: '1.0.1-beta.1', channels: ['beta']}], + name: "alpha", + type: "prerelease", + prerelease: "alpha", + tags: [{ gitTag: "v1.0.1-beta.1", version: "1.0.1-beta.1", channels: ["beta"] }], }, - nextRelease: {type: 'patch', channel: 'alpha'}, - lastRelease: {version: '1.0.1-beta.1', channels: ['beta']}, + nextRelease: { type: "patch", channel: "alpha" }, + lastRelease: { version: "1.0.1-beta.1", channels: ["beta"] }, logger: t.context.logger, }), - '1.0.2-alpha.1' + "1.0.2-alpha.1" ); }); -test('Increase version for minor release on prerelease branch', (t) => { +test("Increase version for minor release on prerelease branch", (t) => { t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', - tags: [{gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}], + name: "beta", + type: "prerelease", + prerelease: "beta", + tags: [{ gitTag: "v1.0.0", version: "1.0.0", channels: [null] }], }, - nextRelease: {type: 'minor', channel: 'beta'}, - lastRelease: {version: '1.0.0', channels: [null]}, + nextRelease: { type: "minor", channel: "beta" }, + lastRelease: { version: "1.0.0", channels: [null] }, logger: t.context.logger, }), - '1.1.0-beta.1' + "1.1.0-beta.1" ); t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', + name: "beta", + type: "prerelease", + prerelease: "beta", tags: [ - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v1.1.0-beta.1', version: '1.1.0-beta.1', channels: ['beta']}, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v1.1.0-beta.1", version: "1.1.0-beta.1", channels: ["beta"] }, ], }, - nextRelease: {type: 'minor', channel: 'beta'}, - lastRelease: {version: '1.1.0-beta.1', channels: ['beta']}, + nextRelease: { type: "minor", channel: "beta" }, + lastRelease: { version: "1.1.0-beta.1", channels: ["beta"] }, logger: t.context.logger, }), - '1.1.0-beta.2' + "1.1.0-beta.2" ); t.is( getNextVersion({ branch: { - name: 'alpha', - type: 'prerelease', - prerelease: 'alpha', - tags: [{gitTag: 'v1.1.0-beta.1', version: '1.1.0-beta.1', channels: ['beta']}], + name: "alpha", + type: "prerelease", + prerelease: "alpha", + tags: [{ gitTag: "v1.1.0-beta.1", version: "1.1.0-beta.1", channels: ["beta"] }], }, - nextRelease: {type: 'minor', channel: 'alpha'}, - lastRelease: {version: '1.1.0-beta.1', channels: ['beta']}, + nextRelease: { type: "minor", channel: "alpha" }, + lastRelease: { version: "1.1.0-beta.1", channels: ["beta"] }, logger: t.context.logger, }), - '1.2.0-alpha.1' + "1.2.0-alpha.1" ); }); -test('Increase version for major release on prerelease branch', (t) => { +test("Increase version for major release on prerelease branch", (t) => { t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', - tags: [{gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}], + name: "beta", + type: "prerelease", + prerelease: "beta", + tags: [{ gitTag: "v1.0.0", version: "1.0.0", channels: [null] }], }, - nextRelease: {type: 'major', channel: 'beta'}, - lastRelease: {version: '1.0.0', channels: [null]}, + nextRelease: { type: "major", channel: "beta" }, + lastRelease: { version: "1.0.0", channels: [null] }, logger: t.context.logger, }), - '2.0.0-beta.1' + "2.0.0-beta.1" ); t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', + name: "beta", + type: "prerelease", + prerelease: "beta", tags: [ - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v2.0.0-beta.1', version: '2.0.0-beta.1', channels: ['beta']}, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v2.0.0-beta.1", version: "2.0.0-beta.1", channels: ["beta"] }, ], }, - nextRelease: {type: 'major', channel: 'beta'}, - lastRelease: {version: '2.0.0-beta.1', channels: ['beta']}, + nextRelease: { type: "major", channel: "beta" }, + lastRelease: { version: "2.0.0-beta.1", channels: ["beta"] }, logger: t.context.logger, }), - '2.0.0-beta.2' + "2.0.0-beta.2" ); t.is( getNextVersion({ branch: { - name: 'alpha', - type: 'prerelease', - prerelease: 'alpha', - tags: [{gitTag: 'v2.0.0-beta.1', version: '2.0.0-beta.1', channels: ['beta']}], + name: "alpha", + type: "prerelease", + prerelease: "alpha", + tags: [{ gitTag: "v2.0.0-beta.1", version: "2.0.0-beta.1", channels: ["beta"] }], }, - nextRelease: {type: 'major', channel: 'alpha'}, - lastRelease: {version: '2.0.0-beta.1', channels: ['beta']}, + nextRelease: { type: "major", channel: "alpha" }, + lastRelease: { version: "2.0.0-beta.1", channels: ["beta"] }, logger: t.context.logger, }), - '3.0.0-alpha.1' + "3.0.0-alpha.1" ); }); -test('Return 1.0.0 if there is no previous release on prerelease branch', (t) => { +test("Return 1.0.0 if there is no previous release on prerelease branch", (t) => { t.is( getNextVersion({ - branch: {name: 'beta', type: 'prerelease', prerelease: 'beta', tags: []}, - nextRelease: {type: 'minor'}, + branch: { name: "beta", type: "prerelease", prerelease: "beta", tags: [] }, + nextRelease: { type: "minor" }, lastRelease: {}, logger: t.context.logger, }), - '1.0.0-beta.1' + "1.0.0-beta.1" ); }); -test('Increase version for release on prerelease branch after previous commits were merged to release branch', (t) => { +test("Increase version for release on prerelease branch after previous commits were merged to release branch", (t) => { t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', + name: "beta", + type: "prerelease", + prerelease: "beta", tags: [ - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v1.1.0', version: '1.1.0', channels: [null]}, // Version v1.1.0 released on default branch after beta was merged into master - {gitTag: 'v1.1.0-beta.1', version: '1.1.0-beta.1', channels: [null, 'beta']}, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v1.1.0", version: "1.1.0", channels: [null] }, // Version v1.1.0 released on default branch after beta was merged into master + { gitTag: "v1.1.0-beta.1", version: "1.1.0-beta.1", channels: [null, "beta"] }, ], }, - nextRelease: {type: 'minor'}, - lastRelease: {version: '1.1.0', channels: [null]}, + nextRelease: { type: "minor" }, + lastRelease: { version: "1.1.0", channels: [null] }, logger: t.context.logger, }), - '1.2.0-beta.1' + "1.2.0-beta.1" ); }); -test('Increase version for release on prerelease branch based on highest commit type since last regular release', (t) => { +test("Increase version for release on prerelease branch based on highest commit type since last regular release", (t) => { t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', + name: "beta", + type: "prerelease", + prerelease: "beta", tags: [ - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v1.1.0-beta.1', version: '1.1.0-beta.1', channels: [null, 'beta']}, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v1.1.0-beta.1", version: "1.1.0-beta.1", channels: [null, "beta"] }, ], }, - nextRelease: {type: 'major'}, - lastRelease: {version: 'v1.1.0-beta.1', channels: [null]}, + nextRelease: { type: "major" }, + lastRelease: { version: "v1.1.0-beta.1", channels: [null] }, logger: t.context.logger, }), - '2.0.0-beta.1' + "2.0.0-beta.1" ); }); -test('Increase version for release on prerelease branch when there is no regular releases on other branches', (t) => { +test("Increase version for release on prerelease branch when there is no regular releases on other branches", (t) => { t.is( getNextVersion({ branch: { - name: 'beta', - type: 'prerelease', - prerelease: 'beta', - tags: [{gitTag: 'v1.0.0-beta.1', version: '1.0.0-beta.1', channels: ['beta']}], + name: "beta", + type: "prerelease", + prerelease: "beta", + tags: [{ gitTag: "v1.0.0-beta.1", version: "1.0.0-beta.1", channels: ["beta"] }], }, - nextRelease: {type: 'minor', channel: 'beta'}, - lastRelease: {version: 'v1.0.0-beta.1', channels: ['beta']}, + nextRelease: { type: "minor", channel: "beta" }, + lastRelease: { version: "v1.0.0-beta.1", channels: ["beta"] }, logger: t.context.logger, }), - '1.0.0-beta.2' + "1.0.0-beta.2" ); }); diff --git a/test/get-release-to-add.test.js b/test/get-release-to-add.test.js index 964bcc4e..57fbbc57 100644 --- a/test/get-release-to-add.test.js +++ b/test/get-release-to-add.test.js @@ -1,189 +1,189 @@ -import test from 'ava'; -import getReleaseToAdd from '../lib/get-release-to-add.js'; +import test from "ava"; +import getReleaseToAdd from "../lib/get-release-to-add.js"; -test('Return versions merged from release to maintenance branch, excluding lower than branch start range', (t) => { +test("Return versions merged from release to maintenance branch, excluding lower than branch start range", (t) => { const result = getReleaseToAdd({ branch: { - name: '2.x', - channel: '2.x', - type: 'maintenance', - mergeRange: '>=2.0.0 <3.0.0', + name: "2.x", + channel: "2.x", + type: "maintenance", + mergeRange: ">=2.0.0 <3.0.0", tags: [ - {gitTag: 'v2.0.0', version: '2.0.0', channels: ['2.x']}, - {gitTag: 'v2.0.0', version: '2.0.0', channels: [null]}, - {gitTag: 'v2.1.0', version: '2.1.0', channels: [null]}, - {gitTag: 'v2.1.1', version: '2.1.1', channels: [null]}, - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v1.1.0', version: '1.1.0', channels: [null]}, + { gitTag: "v2.0.0", version: "2.0.0", channels: ["2.x"] }, + { gitTag: "v2.0.0", version: "2.0.0", channels: [null] }, + { gitTag: "v2.1.0", version: "2.1.0", channels: [null] }, + { gitTag: "v2.1.1", version: "2.1.1", channels: [null] }, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v1.1.0", version: "1.1.0", channels: [null] }, ], }, - branches: [{name: '2.x', channel: '2.x'}, {name: 'master'}], - options: {tagFormat: `v\${version}`}, + branches: [{ name: "2.x", channel: "2.x" }, { name: "master" }], + options: { tagFormat: `v\${version}` }, }); t.deepEqual(result, { - lastRelease: {version: '2.1.0', channels: [null], gitTag: 'v2.1.0', name: 'v2.1.0', gitHead: 'v2.1.0'}, + lastRelease: { version: "2.1.0", channels: [null], gitTag: "v2.1.0", name: "v2.1.0", gitHead: "v2.1.0" }, currentRelease: { - type: 'patch', - version: '2.1.1', + type: "patch", + version: "2.1.1", channels: [null], - gitTag: 'v2.1.1', - name: 'v2.1.1', - gitHead: 'v2.1.1', + gitTag: "v2.1.1", + name: "v2.1.1", + gitHead: "v2.1.1", }, nextRelease: { - type: 'patch', - version: '2.1.1', - channel: '2.x', - gitTag: 'v2.1.1', - name: 'v2.1.1', - gitHead: 'v2.1.1', + type: "patch", + version: "2.1.1", + channel: "2.x", + gitTag: "v2.1.1", + name: "v2.1.1", + gitHead: "v2.1.1", }, }); }); -test('Return versions merged between release branches', (t) => { +test("Return versions merged between release branches", (t) => { const result = getReleaseToAdd({ branch: { - name: 'master', + name: "master", tags: [ - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null, 'next']}, - {gitTag: 'v1.1.0', version: '1.1.0', channels: ['next']}, - {gitTag: 'v2.0.0', version: '2.0.0', channels: ['next-major']}, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null, "next"] }, + { gitTag: "v1.1.0", version: "1.1.0", channels: ["next"] }, + { gitTag: "v2.0.0", version: "2.0.0", channels: ["next-major"] }, ], }, - branches: [{name: 'master'}, {name: 'next', channel: 'next'}, {name: 'next-major', channel: 'next-major'}], - options: {tagFormat: `v\${version}`}, + branches: [{ name: "master" }, { name: "next", channel: "next" }, { name: "next-major", channel: "next-major" }], + options: { tagFormat: `v\${version}` }, }); t.deepEqual(result, { lastRelease: { - version: '1.1.0', - gitTag: 'v1.1.0', - name: 'v1.1.0', - gitHead: 'v1.1.0', - channels: ['next'], + version: "1.1.0", + gitTag: "v1.1.0", + name: "v1.1.0", + gitHead: "v1.1.0", + channels: ["next"], }, currentRelease: { - type: 'major', - version: '2.0.0', - channels: ['next-major'], - gitTag: 'v2.0.0', - name: 'v2.0.0', - gitHead: 'v2.0.0', + type: "major", + version: "2.0.0", + channels: ["next-major"], + gitTag: "v2.0.0", + name: "v2.0.0", + gitHead: "v2.0.0", }, nextRelease: { - type: 'major', - version: '2.0.0', + type: "major", + version: "2.0.0", channel: null, - gitTag: 'v2.0.0', - name: 'v2.0.0', - gitHead: 'v2.0.0', + gitTag: "v2.0.0", + name: "v2.0.0", + gitHead: "v2.0.0", }, }); }); -test('Return releases sorted by ascending order', (t) => { +test("Return releases sorted by ascending order", (t) => { const result = getReleaseToAdd({ branch: { - name: 'master', + name: "master", tags: [ - {gitTag: 'v2.0.0', version: '2.0.0', channels: ['next-major']}, - {gitTag: 'v1.1.0', version: '1.1.0', channels: ['next']}, - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null, 'next']}, + { gitTag: "v2.0.0", version: "2.0.0", channels: ["next-major"] }, + { gitTag: "v1.1.0", version: "1.1.0", channels: ["next"] }, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null, "next"] }, ], }, - branches: [{name: 'master'}, {name: 'next', channel: 'next'}, {name: 'next-major', channel: 'next-major'}], - options: {tagFormat: `v\${version}`}, + branches: [{ name: "master" }, { name: "next", channel: "next" }, { name: "next-major", channel: "next-major" }], + options: { tagFormat: `v\${version}` }, }); t.deepEqual(result, { - lastRelease: {version: '1.1.0', gitTag: 'v1.1.0', name: 'v1.1.0', gitHead: 'v1.1.0', channels: ['next']}, + lastRelease: { version: "1.1.0", gitTag: "v1.1.0", name: "v1.1.0", gitHead: "v1.1.0", channels: ["next"] }, currentRelease: { - type: 'major', - version: '2.0.0', - channels: ['next-major'], - gitTag: 'v2.0.0', - name: 'v2.0.0', - gitHead: 'v2.0.0', + type: "major", + version: "2.0.0", + channels: ["next-major"], + gitTag: "v2.0.0", + name: "v2.0.0", + gitHead: "v2.0.0", }, nextRelease: { - type: 'major', - version: '2.0.0', + type: "major", + version: "2.0.0", channel: null, - gitTag: 'v2.0.0', - name: 'v2.0.0', - gitHead: 'v2.0.0', + gitTag: "v2.0.0", + name: "v2.0.0", + gitHead: "v2.0.0", }, }); }); -test('No lastRelease', (t) => { +test("No lastRelease", (t) => { const result = getReleaseToAdd({ branch: { - name: 'master', - tags: [{gitTag: 'v1.0.0', version: '1.0.0', channels: ['next']}], + name: "master", + tags: [{ gitTag: "v1.0.0", version: "1.0.0", channels: ["next"] }], }, - branches: [{name: 'master'}, {name: 'next', channel: 'next'}], - options: {tagFormat: `v\${version}`}, + branches: [{ name: "master" }, { name: "next", channel: "next" }], + options: { tagFormat: `v\${version}` }, }); t.deepEqual(result, { lastRelease: {}, currentRelease: { - type: 'major', - version: '1.0.0', - channels: ['next'], - gitTag: 'v1.0.0', - name: 'v1.0.0', - gitHead: 'v1.0.0', + type: "major", + version: "1.0.0", + channels: ["next"], + gitTag: "v1.0.0", + name: "v1.0.0", + gitHead: "v1.0.0", }, nextRelease: { - type: 'major', - version: '1.0.0', + type: "major", + version: "1.0.0", channel: null, - gitTag: 'v1.0.0', - name: 'v1.0.0', - gitHead: 'v1.0.0', + gitTag: "v1.0.0", + name: "v1.0.0", + gitHead: "v1.0.0", }, }); }); -test('Ignore pre-release versions', (t) => { +test("Ignore pre-release versions", (t) => { const result = getReleaseToAdd({ branch: { - name: 'master', + name: "master", tags: [ - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null, 'next']}, - {gitTag: 'v1.1.0', version: '1.1.0', channels: ['next']}, - {gitTag: 'v2.0.0-alpha.1', version: '2.0.0-alpha.1', channels: ['alpha']}, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null, "next"] }, + { gitTag: "v1.1.0", version: "1.1.0", channels: ["next"] }, + { gitTag: "v2.0.0-alpha.1", version: "2.0.0-alpha.1", channels: ["alpha"] }, ], }, branches: [ - {name: 'master'}, - {name: 'next', channel: 'next'}, - {name: 'alpha', type: 'prerelease', channel: 'alpha'}, + { name: "master" }, + { name: "next", channel: "next" }, + { name: "alpha", type: "prerelease", channel: "alpha" }, ], - options: {tagFormat: `v\${version}`}, + options: { tagFormat: `v\${version}` }, }); t.deepEqual(result, { - lastRelease: {version: '1.0.0', channels: [null, 'next'], gitTag: 'v1.0.0', name: 'v1.0.0', gitHead: 'v1.0.0'}, + lastRelease: { version: "1.0.0", channels: [null, "next"], gitTag: "v1.0.0", name: "v1.0.0", gitHead: "v1.0.0" }, currentRelease: { - type: 'minor', - version: '1.1.0', - channels: ['next'], - gitTag: 'v1.1.0', - name: 'v1.1.0', - gitHead: 'v1.1.0', + type: "minor", + version: "1.1.0", + channels: ["next"], + gitTag: "v1.1.0", + name: "v1.1.0", + gitHead: "v1.1.0", }, nextRelease: { - type: 'minor', - version: '1.1.0', + type: "minor", + version: "1.1.0", channel: null, - gitTag: 'v1.1.0', - name: 'v1.1.0', - gitHead: 'v1.1.0', + gitTag: "v1.1.0", + name: "v1.1.0", + gitHead: "v1.1.0", }, }); }); @@ -191,24 +191,24 @@ test('Ignore pre-release versions', (t) => { test('Exclude versions merged from release to maintenance branch if they have the same "channel"', (t) => { const result = getReleaseToAdd({ branch: { - name: '2.x', - channel: 'latest', - type: 'maintenance', - mergeRange: '>=2.0.0 <3.0.0', + name: "2.x", + channel: "latest", + type: "maintenance", + mergeRange: ">=2.0.0 <3.0.0", tags: [ - {gitTag: 'v2.0.0', version: '2.0.0', channels: [null]}, - {gitTag: 'v2.0.0', version: '2.0.0', channels: [null]}, - {gitTag: 'v2.1.0', version: '2.1.0', channels: [null]}, - {gitTag: 'v2.1.1', version: '2.1.1', channels: [null]}, - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v1.1.0', version: '1.1.0', channels: [null]}, + { gitTag: "v2.0.0", version: "2.0.0", channels: [null] }, + { gitTag: "v2.0.0", version: "2.0.0", channels: [null] }, + { gitTag: "v2.1.0", version: "2.1.0", channels: [null] }, + { gitTag: "v2.1.1", version: "2.1.1", channels: [null] }, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v1.1.0", version: "1.1.0", channels: [null] }, ], }, branches: [ - {name: '2.x', channel: 'latest'}, - {name: 'master', channel: 'latest'}, + { name: "2.x", channel: "latest" }, + { name: "master", channel: "latest" }, ], - options: {tagFormat: `v\${version}`}, + options: { tagFormat: `v\${version}` }, }); t.is(result, undefined); @@ -217,20 +217,20 @@ test('Exclude versions merged from release to maintenance branch if they have th test('Exclude versions merged between release branches if they have the same "channel"', (t) => { const result = getReleaseToAdd({ branch: { - name: 'master', - channel: 'latest', + name: "master", + channel: "latest", tags: [ - {gitTag: 'v1.0.0', channels: ['latest'], version: '1.0.0'}, - {gitTag: 'v1.1.0', channels: ['latest'], version: '1.1.0'}, - {gitTag: 'v2.0.0', channels: ['latest'], version: '2.0.0'}, + { gitTag: "v1.0.0", channels: ["latest"], version: "1.0.0" }, + { gitTag: "v1.1.0", channels: ["latest"], version: "1.1.0" }, + { gitTag: "v2.0.0", channels: ["latest"], version: "2.0.0" }, ], }, branches: [ - {name: 'master', channel: 'latest'}, - {name: 'next', channel: 'latest'}, - {name: 'next-major', channel: 'latest'}, + { name: "master", channel: "latest" }, + { name: "next", channel: "latest" }, + { name: "next-major", channel: "latest" }, ], - options: {tagFormat: `v\${version}`}, + options: { tagFormat: `v\${version}` }, }); t.is(result, undefined); @@ -239,43 +239,43 @@ test('Exclude versions merged between release branches if they have the same "ch test('Exclude versions merged between release branches if they all have "channel" set to "false"', (t) => { const result = getReleaseToAdd({ branch: { - name: 'master', + name: "master", channel: false, tags: [ - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v1.1.0', version: '1.1.0', channels: [null]}, - {gitTag: 'v2.0.0', version: '2.0.0', channels: [null]}, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v1.1.0", version: "1.1.0", channels: [null] }, + { gitTag: "v2.0.0", version: "2.0.0", channels: [null] }, ], }, branches: [ - {name: 'master', channel: false}, - {name: 'next', channel: false}, - {name: 'next-major', channel: false}, + { name: "master", channel: false }, + { name: "next", channel: false }, + { name: "next-major", channel: false }, ], - options: {tagFormat: `v\${version}`}, + options: { tagFormat: `v\${version}` }, }); t.is(result, undefined); }); -test('Exclude versions number less than the latest version already released on that branch', (t) => { +test("Exclude versions number less than the latest version already released on that branch", (t) => { const result = getReleaseToAdd({ branch: { - name: '2.x', - channel: '2.x', - type: 'maintenance', - mergeRange: '>=2.0.0 <3.0.0', + name: "2.x", + channel: "2.x", + type: "maintenance", + mergeRange: ">=2.0.0 <3.0.0", tags: [ - {gitTag: 'v2.0.0', version: '2.0.0', channels: ['2.x']}, - {gitTag: 'v2.0.0', version: '2.0.0', channels: [null]}, - {gitTag: 'v2.1.0', version: '2.1.0', channels: [null]}, - {gitTag: 'v2.1.1', version: '2.1.1', channels: [null, '2.x']}, - {gitTag: 'v1.0.0', version: '1.0.0', channels: [null]}, - {gitTag: 'v1.1.0', version: '1.1.0', channels: [null]}, + { gitTag: "v2.0.0", version: "2.0.0", channels: ["2.x"] }, + { gitTag: "v2.0.0", version: "2.0.0", channels: [null] }, + { gitTag: "v2.1.0", version: "2.1.0", channels: [null] }, + { gitTag: "v2.1.1", version: "2.1.1", channels: [null, "2.x"] }, + { gitTag: "v1.0.0", version: "1.0.0", channels: [null] }, + { gitTag: "v1.1.0", version: "1.1.0", channels: [null] }, ], }, - branches: [{name: '2.x', channel: '2.x'}, {name: 'master'}], - options: {tagFormat: `v\${version}`}, + branches: [{ name: "2.x", channel: "2.x" }, { name: "master" }], + options: { tagFormat: `v\${version}` }, }); t.is(result, undefined); diff --git a/test/git.test.js b/test/git.test.js index ca50fe47..157081a3 100644 --- a/test/git.test.js +++ b/test/git.test.js @@ -1,5 +1,5 @@ -import test from 'ava'; -import {temporaryDirectory} from 'tempy'; +import test from "ava"; +import { temporaryDirectory } from "tempy"; import { addNote, fetch, @@ -15,8 +15,8 @@ import { push, repoUrl, tag, - verifyTagName -} from '../lib/git.js'; + verifyTagName, +} from "../lib/git.js"; import { gitAddConfig, gitAddNote, @@ -33,385 +33,385 @@ import { gitRepo, gitShallowClone, gitTagVersion, - initGit -} from './helpers/git-utils.js'; + initGit, +} from "./helpers/git-utils.js"; -test('Get the last commit sha', async (t) => { +test("Get the last commit sha", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First'], {cwd}); + const commits = await gitCommits(["First"], { cwd }); - const result = await getGitHead({cwd}); + const result = await getGitHead({ cwd }); t.is(result, commits[0].hash); }); -test('Throw error if the last commit sha cannot be found', async (t) => { +test("Throw error if the last commit sha cannot be found", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); - await t.throwsAsync(getGitHead({cwd})); + await t.throwsAsync(getGitHead({ cwd })); }); -test('Unshallow and fetch repository', async (t) => { +test("Unshallow and fetch repository", async (t) => { // Create a git repository, set the current working directory at the root of the repo - let {cwd, repositoryUrl} = await gitRepo(); + let { cwd, repositoryUrl } = await gitRepo(); // Add commits to the master branch - await gitCommits(['First', 'Second'], {cwd}); + await gitCommits(["First", "Second"], { cwd }); // Create a shallow clone with only 1 commit cwd = await gitShallowClone(repositoryUrl); // Verify the shallow clone contains only one commit - t.is((await gitGetCommits(undefined, {cwd})).length, 1); + t.is((await gitGetCommits(undefined, { cwd })).length, 1); - await fetch(repositoryUrl, 'master', 'master', {cwd}); + await fetch(repositoryUrl, "master", "master", { cwd }); // Verify the shallow clone contains all the commits - t.is((await gitGetCommits(undefined, {cwd})).length, 2); + t.is((await gitGetCommits(undefined, { cwd })).length, 2); }); -test('Do not throw error when unshallow a complete repository', async (t) => { +test("Do not throw error when unshallow a complete repository", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitCheckout('second-branch', true, {cwd}); - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'second-branch', {cwd}); + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + await gitCheckout("second-branch", true, { cwd }); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "second-branch", { cwd }); - await t.notThrowsAsync(fetch(repositoryUrl, 'master', 'master', {cwd})); - await t.notThrowsAsync(fetch(repositoryUrl, 'second-branch', 'master', {cwd})); + await t.notThrowsAsync(fetch(repositoryUrl, "master", "master", { cwd })); + await t.notThrowsAsync(fetch(repositoryUrl, "second-branch", "master", { cwd })); }); -test('Fetch all tags on a detached head repository', async (t) => { - let {cwd, repositoryUrl} = await gitRepo(); +test("Fetch all tags on a detached head repository", async (t) => { + let { cwd, repositoryUrl } = await gitRepo(); - await gitCommits(['First'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitCommits(['Second'], {cwd}); - await gitTagVersion('v1.0.1', undefined, {cwd}); - const [commit] = await gitCommits(['Third'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["First"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitCommits(["Second"], { cwd }); + await gitTagVersion("v1.0.1", undefined, { cwd }); + const [commit] = await gitCommits(["Third"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); cwd = await gitDetachedHead(repositoryUrl, commit.hash); - await fetch(repositoryUrl, 'master', 'master', {cwd}); + await fetch(repositoryUrl, "master", "master", { cwd }); - t.deepEqual((await getTags('master', {cwd})).sort(), ['v1.0.0', 'v1.0.1', 'v1.1.0'].sort()); + t.deepEqual((await getTags("master", { cwd })).sort(), ["v1.0.0", "v1.0.1", "v1.1.0"].sort()); }); -test('Fetch all tags on a repository with a detached head from branch (CircleCI)', async (t) => { - let {cwd, repositoryUrl} = await gitRepo(); +test("Fetch all tags on a repository with a detached head from branch (CircleCI)", async (t) => { + let { cwd, repositoryUrl } = await gitRepo(); - await gitCommits(['First'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitCommits(['Second'], {cwd}); - await gitTagVersion('v1.0.1', undefined, {cwd}); - const [commit] = await gitCommits(['Third'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitCheckout('other-branch', true, {cwd}); - await gitPush(repositoryUrl, 'other-branch', {cwd}); - await gitCheckout('master', false, {cwd}); - await gitCommits(['Fourth'], {cwd}); - await gitTagVersion('v2.0.0', undefined, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - cwd = await gitDetachedHeadFromBranch(repositoryUrl, 'other-branch', commit.hash); + await gitCommits(["First"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitCommits(["Second"], { cwd }); + await gitTagVersion("v1.0.1", undefined, { cwd }); + const [commit] = await gitCommits(["Third"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + await gitCheckout("other-branch", true, { cwd }); + await gitPush(repositoryUrl, "other-branch", { cwd }); + await gitCheckout("master", false, { cwd }); + await gitCommits(["Fourth"], { cwd }); + await gitTagVersion("v2.0.0", undefined, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + cwd = await gitDetachedHeadFromBranch(repositoryUrl, "other-branch", commit.hash); - await fetch(repositoryUrl, 'master', 'other-branch', {cwd}); - await fetch(repositoryUrl, 'other-branch', 'other-branch', {cwd}); + await fetch(repositoryUrl, "master", "other-branch", { cwd }); + await fetch(repositoryUrl, "other-branch", "other-branch", { cwd }); - t.deepEqual((await getTags('other-branch', {cwd})).sort(), ['v1.0.0', 'v1.0.1', 'v1.1.0'].sort()); - t.deepEqual((await getTags('master', {cwd})).sort(), ['v1.0.0', 'v1.0.1', 'v1.1.0', 'v2.0.0'].sort()); + t.deepEqual((await getTags("other-branch", { cwd })).sort(), ["v1.0.0", "v1.0.1", "v1.1.0"].sort()); + t.deepEqual((await getTags("master", { cwd })).sort(), ["v1.0.0", "v1.0.1", "v1.1.0", "v2.0.0"].sort()); }); -test('Fetch all tags on a detached head repository with outdated cached repo (GitLab CI)', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(); +test("Fetch all tags on a detached head repository with outdated cached repo (GitLab CI)", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(); - await gitCommits(['First'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitCommits(['Second'], {cwd}); - await gitTagVersion('v1.0.1', undefined, {cwd}); - let [commit] = await gitCommits(['Third'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["First"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitCommits(["Second"], { cwd }); + await gitTagVersion("v1.0.1", undefined, { cwd }); + let [commit] = await gitCommits(["Third"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); // Create a clone (as first CI run would) const cloneCwd = await gitShallowClone(repositoryUrl); - await gitFetch(repositoryUrl, {cwd: cloneCwd}); - await gitCheckout(commit.hash, false, {cwd: cloneCwd}); + await gitFetch(repositoryUrl, { cwd: cloneCwd }); + await gitCheckout(commit.hash, false, { cwd: cloneCwd }); // Push tag to remote - [commit] = await gitCommits(['Fourth'], {cwd}); - await gitTagVersion('v1.2.0', undefined, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + [commit] = await gitCommits(["Fourth"], { cwd }); + await gitTagVersion("v1.2.0", undefined, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); // Fetch on the cached repo and make detached head, leaving master outdated - await fetch(repositoryUrl, 'master', 'master', {cwd: cloneCwd}); - await gitCheckout(commit.hash, false, {cwd: cloneCwd}); + await fetch(repositoryUrl, "master", "master", { cwd: cloneCwd }); + await gitCheckout(commit.hash, false, { cwd: cloneCwd }); - t.deepEqual((await getTags('master', {cwd: cloneCwd})).sort(), ['v1.0.0', 'v1.0.1', 'v1.1.0', 'v1.2.0'].sort()); + t.deepEqual((await getTags("master", { cwd: cloneCwd })).sort(), ["v1.0.0", "v1.0.1", "v1.1.0", "v1.2.0"].sort()); }); -test('Verify if a branch exists', async (t) => { +test("Verify if a branch exists", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - await gitCommits(['First'], {cwd}); + await gitCommits(["First"], { cwd }); // Create the new branch 'other-branch' from master - await gitCheckout('other-branch', true, {cwd}); + await gitCheckout("other-branch", true, { cwd }); // Add commits to the 'other-branch' branch - await gitCommits(['Second'], {cwd}); + await gitCommits(["Second"], { cwd }); - t.true(await isRefExists('master', {cwd})); - t.true(await isRefExists('other-branch', {cwd})); - t.falsy(await isRefExists('next', {cwd})); + t.true(await isRefExists("master", { cwd })); + t.true(await isRefExists("other-branch", { cwd })); + t.falsy(await isRefExists("next", { cwd })); }); -test('Get all branches', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitCheckout('second-branch', true, {cwd}); - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'second-branch', {cwd}); - await gitCheckout('third-branch', true, {cwd}); - await gitCommits(['Third'], {cwd}); - await gitPush(repositoryUrl, 'third-branch', {cwd}); +test("Get all branches", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + await gitCheckout("second-branch", true, { cwd }); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "second-branch", { cwd }); + await gitCheckout("third-branch", true, { cwd }); + await gitCommits(["Third"], { cwd }); + await gitPush(repositoryUrl, "third-branch", { cwd }); - t.deepEqual((await getBranches(repositoryUrl, {cwd})).sort(), ['master', 'second-branch', 'third-branch'].sort()); + t.deepEqual((await getBranches(repositoryUrl, { cwd })).sort(), ["master", "second-branch", "third-branch"].sort()); }); -test('Return empty array if there are no branches', async (t) => { - const {cwd, repositoryUrl} = await initGit(true); - t.deepEqual(await getBranches(repositoryUrl, {cwd}), []); +test("Return empty array if there are no branches", async (t) => { + const { cwd, repositoryUrl } = await initGit(true); + t.deepEqual(await getBranches(repositoryUrl, { cwd }), []); }); -test('Get the commit sha for a given tag', async (t) => { +test("Get the commit sha for a given tag", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First'], {cwd}); + const commits = await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); - t.is(await getTagHead('v1.0.0', {cwd}), commits[0].hash); + t.is(await getTagHead("v1.0.0", { cwd }), commits[0].hash); }); -test('Return git remote repository url from config', async (t) => { +test("Return git remote repository url from config", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add remote.origin.url config - await gitAddConfig('remote.origin.url', 'git@hostname.com:owner/package.git', {cwd}); + await gitAddConfig("remote.origin.url", "git@hostname.com:owner/package.git", { cwd }); - t.is(await repoUrl({cwd}), 'git@hostname.com:owner/package.git'); + t.is(await repoUrl({ cwd }), "git@hostname.com:owner/package.git"); }); -test('Return git remote repository url set while cloning', async (t) => { +test("Return git remote repository url set while cloning", async (t) => { // Create a git repository, set the current working directory at the root of the repo - let {cwd, repositoryUrl} = await gitRepo(); - await gitCommits(['First'], {cwd}); + let { cwd, repositoryUrl } = await gitRepo(); + await gitCommits(["First"], { cwd }); // Create a clone cwd = await gitShallowClone(repositoryUrl); - t.is(await repoUrl({cwd}), repositoryUrl); + t.is(await repoUrl({ cwd }), repositoryUrl); }); -test('Return falsy if git repository url is not set', async (t) => { +test("Return falsy if git repository url is not set", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); - t.falsy(await repoUrl({cwd})); + t.falsy(await repoUrl({ cwd })); }); -test('Add tag on head commit', async (t) => { +test("Add tag on head commit", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); - const commits = await gitCommits(['Test commit'], {cwd}); + const { cwd } = await gitRepo(); + const commits = await gitCommits(["Test commit"], { cwd }); - await tag('tag_name', 'HEAD', {cwd}); + await tag("tag_name", "HEAD", { cwd }); - await t.is(await gitCommitTag(commits[0].hash, {cwd}), 'tag_name'); + await t.is(await gitCommitTag(commits[0].hash, { cwd }), "tag_name"); }); -test('Push tag to remote repository', async (t) => { +test("Push tag to remote repository", async (t) => { // Create a git repository with a remote, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); - const commits = await gitCommits(['Test commit'], {cwd}); + const { cwd, repositoryUrl } = await gitRepo(true); + const commits = await gitCommits(["Test commit"], { cwd }); - await tag('tag_name', 'HEAD', {cwd}); - await push(repositoryUrl, {cwd}); + await tag("tag_name", "HEAD", { cwd }); + await push(repositoryUrl, { cwd }); - t.is(await gitRemoteTagHead(repositoryUrl, 'tag_name', {cwd}), commits[0].hash); + t.is(await gitRemoteTagHead(repositoryUrl, "tag_name", { cwd }), commits[0].hash); }); -test('Push tag to remote repository with remote branch ahead', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - const commits = await gitCommits(['First'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); +test("Push tag to remote repository with remote branch ahead", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + const commits = await gitCommits(["First"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const temporaryRepo = await gitShallowClone(repositoryUrl); - await gitCommits(['Second'], {cwd: temporaryRepo}); - await gitPush('origin', 'master', {cwd: temporaryRepo}); + await gitCommits(["Second"], { cwd: temporaryRepo }); + await gitPush("origin", "master", { cwd: temporaryRepo }); - await tag('tag_name', 'HEAD', {cwd}); - await push(repositoryUrl, {cwd}); + await tag("tag_name", "HEAD", { cwd }); + await push(repositoryUrl, { cwd }); - t.is(await gitRemoteTagHead(repositoryUrl, 'tag_name', {cwd}), commits[0].hash); + t.is(await gitRemoteTagHead(repositoryUrl, "tag_name", { cwd }), commits[0].hash); }); test('Return "true" if in a Git repository', async (t) => { // Create a git repository with a remote, set the current working directory at the root of the repo - const {cwd} = await gitRepo(true); + const { cwd } = await gitRepo(true); - t.true(await isGitRepo({cwd})); + t.true(await isGitRepo({ cwd })); }); -test('Return falsy if not in a Git repository', async (t) => { +test("Return falsy if not in a Git repository", async (t) => { const cwd = temporaryDirectory(); - t.falsy(await isGitRepo({cwd})); + t.falsy(await isGitRepo({ cwd })); }); test('Return "true" for valid tag names', async (t) => { - t.true(await verifyTagName('1.0.0')); - t.true(await verifyTagName('v1.0.0')); - t.true(await verifyTagName('tag_name')); - t.true(await verifyTagName('tag/name')); + t.true(await verifyTagName("1.0.0")); + t.true(await verifyTagName("v1.0.0")); + t.true(await verifyTagName("tag_name")); + t.true(await verifyTagName("tag/name")); }); -test('Return falsy for invalid tag names', async (t) => { - t.falsy(await verifyTagName('?1.0.0')); - t.falsy(await verifyTagName('*1.0.0')); - t.falsy(await verifyTagName('[1.0.0]')); - t.falsy(await verifyTagName('1.0.0..')); +test("Return falsy for invalid tag names", async (t) => { + t.falsy(await verifyTagName("?1.0.0")); + t.falsy(await verifyTagName("*1.0.0")); + t.falsy(await verifyTagName("[1.0.0]")); + t.falsy(await verifyTagName("1.0.0..")); }); -test('Throws error if obtaining the tags fails', async (t) => { +test("Throws error if obtaining the tags fails", async (t) => { const cwd = temporaryDirectory(); - await t.throwsAsync(getTags('master', {cwd})); + await t.throwsAsync(getTags("master", { cwd })); }); test('Return "true" if repository is up to date', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); - t.true(await isBranchUpToDate(repositoryUrl, 'master', {cwd})); + t.true(await isBranchUpToDate(repositoryUrl, "master", { cwd })); }); -test('Return falsy if repository is not up to date', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); +test("Return falsy if repository is not up to date", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); - t.true(await isBranchUpToDate(repositoryUrl, 'master', {cwd})); + t.true(await isBranchUpToDate(repositoryUrl, "master", { cwd })); const temporaryRepo = await gitShallowClone(repositoryUrl); - await gitCommits(['Third'], {cwd: temporaryRepo}); - await gitPush('origin', 'master', {cwd: temporaryRepo}); + await gitCommits(["Third"], { cwd: temporaryRepo }); + await gitPush("origin", "master", { cwd: temporaryRepo }); - t.falsy(await isBranchUpToDate(repositoryUrl, 'master', {cwd})); + t.falsy(await isBranchUpToDate(repositoryUrl, "master", { cwd })); }); -test('Return falsy if detached head repository is not up to date', async (t) => { - let {cwd, repositoryUrl} = await gitRepo(); +test("Return falsy if detached head repository is not up to date", async (t) => { + let { cwd, repositoryUrl } = await gitRepo(); - const [commit] = await gitCommits(['First'], {cwd}); - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + const [commit] = await gitCommits(["First"], { cwd }); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); cwd = await gitDetachedHead(repositoryUrl, commit.hash); - await fetch(repositoryUrl, 'master', 'master', {cwd}); + await fetch(repositoryUrl, "master", "master", { cwd }); - t.falsy(await isBranchUpToDate(repositoryUrl, 'master', {cwd})); + t.falsy(await isBranchUpToDate(repositoryUrl, "master", { cwd })); }); -test('Get a commit note', async (t) => { +test("Get a commit note", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First'], {cwd}); + const commits = await gitCommits(["First"], { cwd }); - await gitAddNote(JSON.stringify({note: 'note'}), commits[0].hash, {cwd}); + await gitAddNote(JSON.stringify({ note: "note" }), commits[0].hash, { cwd }); - t.deepEqual(await getNote(commits[0].hash, {cwd}), {note: 'note'}); + t.deepEqual(await getNote(commits[0].hash, { cwd }), { note: "note" }); }); -test('Return empty object if there is no commit note', async (t) => { +test("Return empty object if there is no commit note", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First'], {cwd}); + const commits = await gitCommits(["First"], { cwd }); - t.deepEqual(await getNote(commits[0].hash, {cwd}), {}); + t.deepEqual(await getNote(commits[0].hash, { cwd }), {}); }); -test('Throw error if a commit note in invalid', async (t) => { +test("Throw error if a commit note in invalid", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First'], {cwd}); + const commits = await gitCommits(["First"], { cwd }); - await gitAddNote('non-json note', commits[0].hash, {cwd}); + await gitAddNote("non-json note", commits[0].hash, { cwd }); - await t.throwsAsync(getNote(commits[0].hash, {cwd})); + await t.throwsAsync(getNote(commits[0].hash, { cwd })); }); -test('Add a commit note', async (t) => { +test("Add a commit note", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First'], {cwd}); + const commits = await gitCommits(["First"], { cwd }); - await addNote({note: 'note'}, commits[0].hash, {cwd}); + await addNote({ note: "note" }, commits[0].hash, { cwd }); - t.is(await gitGetNote(commits[0].hash, {cwd}), '{"note":"note"}'); + t.is(await gitGetNote(commits[0].hash, { cwd }), '{"note":"note"}'); }); -test('Overwrite a commit note', async (t) => { +test("Overwrite a commit note", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); + const { cwd } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First'], {cwd}); + const commits = await gitCommits(["First"], { cwd }); - await addNote({note: 'note'}, commits[0].hash, {cwd}); - await addNote({note: 'note2'}, commits[0].hash, {cwd}); + await addNote({ note: "note" }, commits[0].hash, { cwd }); + await addNote({ note: "note2" }, commits[0].hash, { cwd }); - t.is(await gitGetNote(commits[0].hash, {cwd}), '{"note":"note2"}'); + t.is(await gitGetNote(commits[0].hash, { cwd }), '{"note":"note2"}'); }); -test('Unshallow and fetch repository with notes', async (t) => { +test("Unshallow and fetch repository with notes", async (t) => { // Create a git repository, set the current working directory at the root of the repo - let {cwd, repositoryUrl} = await gitRepo(); + let { cwd, repositoryUrl } = await gitRepo(); // Add commits to the master branch - const commits = await gitCommits(['First', 'Second'], {cwd}); - await gitAddNote(JSON.stringify({note: 'note'}), commits[0].hash, {cwd}); + const commits = await gitCommits(["First", "Second"], { cwd }); + await gitAddNote(JSON.stringify({ note: "note" }), commits[0].hash, { cwd }); // Create a shallow clone with only 1 commit cwd = await gitShallowClone(repositoryUrl); // Verify the shallow clone doesn't contains the note - await t.throwsAsync(gitGetNote(commits[0].hash, {cwd})); + await t.throwsAsync(gitGetNote(commits[0].hash, { cwd })); - await fetch(repositoryUrl, 'master', 'master', {cwd}); - await fetchNotes(repositoryUrl, {cwd}); + await fetch(repositoryUrl, "master", "master", { cwd }); + await fetchNotes(repositoryUrl, { cwd }); // Verify the shallow clone contains the note - t.is(await gitGetNote(commits[0].hash, {cwd}), '{"note":"note"}'); + t.is(await gitGetNote(commits[0].hash, { cwd }), '{"note":"note"}'); }); -test('Fetch all notes on a detached head repository', async (t) => { - let {cwd, repositoryUrl} = await gitRepo(); +test("Fetch all notes on a detached head repository", async (t) => { + let { cwd, repositoryUrl } = await gitRepo(); - await gitCommits(['First'], {cwd}); - const [commit] = await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitAddNote(JSON.stringify({note: 'note'}), commit.hash, {cwd}); + await gitCommits(["First"], { cwd }); + const [commit] = await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + await gitAddNote(JSON.stringify({ note: "note" }), commit.hash, { cwd }); cwd = await gitDetachedHead(repositoryUrl, commit.hash); - await fetch(repositoryUrl, 'master', 'master', {cwd}); - await fetchNotes(repositoryUrl, {cwd}); + await fetch(repositoryUrl, "master", "master", { cwd }); + await fetchNotes(repositoryUrl, { cwd }); - t.is(await gitGetNote(commit.hash, {cwd}), '{"note":"note"}'); + t.is(await gitGetNote(commit.hash, { cwd }), '{"note":"note"}'); }); diff --git a/test/hide-sensitive.test.js b/test/hide-sensitive.test.js index 7d5b54a0..2489f657 100644 --- a/test/hide-sensitive.test.js +++ b/test/hide-sensitive.test.js @@ -1,18 +1,18 @@ -import test from 'ava'; -import {repeat} from 'lodash-es'; -import hideSensitive from '../lib/hide-sensitive.js'; -import {SECRET_MIN_SIZE, SECRET_REPLACEMENT} from '../lib/definitions/constants.js'; +import test from "ava"; +import { repeat } from "lodash-es"; +import hideSensitive from "../lib/hide-sensitive.js"; +import { SECRET_MIN_SIZE, SECRET_REPLACEMENT } from "../lib/definitions/constants.js"; -test('Replace multiple sensitive environment variable values', (t) => { - const env = {SOME_PASSWORD: 'password', SOME_TOKEN: 'secret'}; +test("Replace multiple sensitive environment variable values", (t) => { + const env = { SOME_PASSWORD: "password", SOME_TOKEN: "secret" }; t.is( hideSensitive(env)(`https://user:${env.SOME_PASSWORD}@host.com?token=${env.SOME_TOKEN}`), `https://user:${SECRET_REPLACEMENT}@host.com?token=${SECRET_REPLACEMENT}` ); }); -test('Replace multiple occurences of sensitive environment variable values', (t) => { - const env = {secretKey: 'secret'}; +test("Replace multiple occurences of sensitive environment variable values", (t) => { + const env = { secretKey: "secret" }; t.is( hideSensitive(env)(`https://user:${env.secretKey}@host.com?token=${env.secretKey}`), `https://user:${SECRET_REPLACEMENT}@host.com?token=${SECRET_REPLACEMENT}` @@ -20,28 +20,28 @@ test('Replace multiple occurences of sensitive environment variable values', (t) }); test('Replace sensitive environment variable matching specific regex for "private"', (t) => { - const env = {privateKey: 'secret', GOPRIVATE: 'host.com'}; + const env = { privateKey: "secret", GOPRIVATE: "host.com" }; t.is(hideSensitive(env)(`https://host.com?token=${env.privateKey}`), `https://host.com?token=${SECRET_REPLACEMENT}`); }); -test('Replace url-encoded environment variable', (t) => { - const env = {privateKey: 'secret '}; +test("Replace url-encoded environment variable", (t) => { + const env = { privateKey: "secret " }; t.is( hideSensitive(env)(`https://host.com?token=${encodeURI(env.privateKey)}`), `https://host.com?token=${SECRET_REPLACEMENT}` ); }); -test('Escape regexp special characters', (t) => { - const env = {SOME_CREDENTIALS: 'p$^{.+}\\w[a-z]o.*rd'}; +test("Escape regexp special characters", (t) => { + const env = { SOME_CREDENTIALS: "p$^{.+}\\w[a-z]o.*rd" }; t.is( hideSensitive(env)(`https://user:${env.SOME_CREDENTIALS}@host.com`), `https://user:${SECRET_REPLACEMENT}@host.com` ); }); -test('Escape regexp special characters in url-encoded environment variable', (t) => { - const env = {SOME_PASSWORD: 'secret password p$^{.+}\\w[a-z]o.*rd)('}; +test("Escape regexp special characters in url-encoded environment variable", (t) => { + const env = { SOME_PASSWORD: "secret password p$^{.+}\\w[a-z]o.*rd)(" }; t.is( hideSensitive(env)(`https://user:${encodeURI(env.SOME_PASSWORD)}@host.com`), `https://user:${SECRET_REPLACEMENT}@host.com` @@ -52,31 +52,31 @@ test('Accept "undefined" input', (t) => { t.is(hideSensitive({})(), undefined); }); -test('Return same string if no environment variable has to be replaced', (t) => { - t.is(hideSensitive({})('test'), 'test'); +test("Return same string if no environment variable has to be replaced", (t) => { + t.is(hideSensitive({})("test"), "test"); }); -test('Exclude empty environment variables from the regexp', (t) => { - const env = {SOME_PASSWORD: 'password', SOME_TOKEN: ''}; +test("Exclude empty environment variables from the regexp", (t) => { + const env = { SOME_PASSWORD: "password", SOME_TOKEN: "" }; t.is( hideSensitive(env)(`https://user:${env.SOME_PASSWORD}@host.com?token=`), `https://user:${SECRET_REPLACEMENT}@host.com?token=` ); }); -test('Exclude empty environment variables from the regexp if there is only empty ones', (t) => { - t.is(hideSensitive({SOME_PASSWORD: '', SOME_TOKEN: ' \n '})(`https://host.com?token=`), 'https://host.com?token='); +test("Exclude empty environment variables from the regexp if there is only empty ones", (t) => { + t.is(hideSensitive({ SOME_PASSWORD: "", SOME_TOKEN: " \n " })(`https://host.com?token=`), "https://host.com?token="); }); -test('Exclude nonsensitive GOPRIVATE environment variable for Golang projects from the regexp', (t) => { - const env = {GOPRIVATE: 'host.com'}; - t.is(hideSensitive(env)(`https://host.com?token=`), 'https://host.com?token='); +test("Exclude nonsensitive GOPRIVATE environment variable for Golang projects from the regexp", (t) => { + const env = { GOPRIVATE: "host.com" }; + t.is(hideSensitive(env)(`https://host.com?token=`), "https://host.com?token="); }); -test('Exclude environment variables with value shorter than SECRET_MIN_SIZE from the regexp', (t) => { - const SHORT_TOKEN = repeat('a', SECRET_MIN_SIZE - 1); - const LONG_TOKEN = repeat('b', SECRET_MIN_SIZE); - const env = {SHORT_TOKEN, LONG_TOKEN}; +test("Exclude environment variables with value shorter than SECRET_MIN_SIZE from the regexp", (t) => { + const SHORT_TOKEN = repeat("a", SECRET_MIN_SIZE - 1); + const LONG_TOKEN = repeat("b", SECRET_MIN_SIZE); + const env = { SHORT_TOKEN, LONG_TOKEN }; t.is( hideSensitive(env)(`https://user:${SHORT_TOKEN}@host.com?token=${LONG_TOKEN}`), `https://user:${SHORT_TOKEN}@host.com?token=${SECRET_REPLACEMENT}` diff --git a/test/index.test.js b/test/index.test.js index bb5f48e7..e2cf60ab 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -1,11 +1,11 @@ -import test from 'ava'; -import {escapeRegExp, isString, omit, sortBy} from 'lodash-es'; -import * as td from 'testdouble'; -import {spy, stub} from 'sinon'; -import {WritableStreamBuffer} from 'stream-buffers'; -import AggregateError from 'aggregate-error'; -import SemanticReleaseError from '@semantic-release/error'; -import {COMMIT_EMAIL, COMMIT_NAME, SECRET_REPLACEMENT} from '../lib/definitions/constants.js'; +import test from "ava"; +import { escapeRegExp, isString, omit, sortBy } from "lodash-es"; +import * as td from "testdouble"; +import { spy, stub } from "sinon"; +import { WritableStreamBuffer } from "stream-buffers"; +import AggregateError from "aggregate-error"; +import SemanticReleaseError from "@semantic-release/error"; +import { COMMIT_EMAIL, COMMIT_NAME, SECRET_REPLACEMENT } from "../lib/definitions/constants.js"; import { gitAddNote, gitCheckout, @@ -20,9 +20,9 @@ import { gitTagVersion, merge, mergeFf, - rebase -} from './helpers/git-utils.js'; -import pluginNoop from './fixtures/plugin-noop.cjs'; + rebase, +} from "./helpers/git-utils.js"; +import pluginNoop from "./fixtures/plugin-noop.cjs"; test.beforeEach((t) => { // Stub the logger functions @@ -39,38 +39,38 @@ test.beforeEach((t) => { }; }); -test('Plugins are called with expected values', async (t) => { +test("Plugins are called with expected values", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - let commits = await gitCommits(['First'], {cwd}); + let commits = await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['next']}), 'v1.0.0', {cwd}); - commits = (await gitCommits(['Second'], {cwd})).concat(commits); - await gitCheckout('next', true, {cwd}); - await gitPush(repositoryUrl, 'next', {cwd}); - await gitCheckout('master', false, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["next"] }), "v1.0.0", { cwd }); + commits = (await gitCommits(["Second"], { cwd })).concat(commits); + await gitCheckout("next", true, { cwd }); + await gitPush(repositoryUrl, "next", { cwd }); + await gitCheckout("master", false, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const lastRelease = { - version: '1.0.0', + version: "1.0.0", gitHead: commits[commits.length - 1].hash, - gitTag: 'v1.0.0', - name: 'v1.0.0', - channels: ['next'], + gitTag: "v1.0.0", + name: "v1.0.0", + channels: ["next"], }; const nextRelease = { - name: 'v1.1.0', - type: 'minor', - version: '1.1.0', - gitHead: await getGitHead({cwd}), - gitTag: 'v1.1.0', + name: "v1.1.0", + type: "minor", + version: "1.1.0", + gitHead: await getGitHead({ cwd }), + gitTag: "v1.1.0", channel: null, }; - const notes1 = 'Release notes 1'; - const notes2 = 'Release notes 2'; - const notes3 = 'Release notes 3'; + const notes1 = "Release notes 1"; + const notes2 = "Release notes 2"; + const notes3 = "Release notes 3"; const verifyConditions1 = stub().resolves(); const verifyConditions2 = stub().resolves(); const analyzeCommits = stub().resolves(nextRelease.type); @@ -78,37 +78,37 @@ test('Plugins are called with expected values', async (t) => { const generateNotes1 = stub().resolves(notes1); const generateNotes2 = stub().resolves(notes2); const generateNotes3 = stub().resolves(notes3); - const release1 = {name: 'Release 1', url: 'https://release1.com'}; - const release2 = {name: 'Release 2', url: 'https://release2.com'}; + const release1 = { name: "Release 1", url: "https://release1.com" }; + const release2 = { name: "Release 2", url: "https://release2.com" }; const addChannel = stub().resolves(release1); const prepare = stub().resolves(); const publish = stub().resolves(release2); const success = stub().resolves(); const env = {}; const config = { - branches: [{name: 'master'}, {name: 'next'}], + branches: [{ name: "master" }, { name: "next" }], repositoryUrl, originalRepositoryURL: repositoryUrl, - globalOpt: 'global', + globalOpt: "global", tagFormat: `v\${version}`, }; const branches = [ { channel: undefined, - name: 'master', - range: '>=1.0.0', - accept: ['patch', 'minor', 'major'], - tags: [{channels: ['next'], gitTag: 'v1.0.0', version: '1.0.0'}], - type: 'release', + name: "master", + range: ">=1.0.0", + accept: ["patch", "minor", "major"], + tags: [{ channels: ["next"], gitTag: "v1.0.0", version: "1.0.0" }], + type: "release", main: true, }, { - channel: 'next', - name: 'next', - range: '>=1.0.0', - accept: ['patch', 'minor', 'major'], - tags: [{channels: ['next'], gitTag: 'v1.0.0', version: '1.0.0'}], - type: 'release', + channel: "next", + name: "next", + range: ">=1.0.0", + accept: ["patch", "minor", "major"], + tags: [{ channels: ["next"], gitTag: "v1.0.0", version: "1.0.0" }], + type: "release", main: false, }, ]; @@ -125,27 +125,32 @@ test('Plugins are called with expected values', async (t) => { publish: [publish, pluginNoop], success, }; - const envCiResults = {branch: 'master', isCi: true, isPr: false}; + const envCiResults = { branch: "master", isCi: true, isPr: false }; const releases = [ { - ...omit(lastRelease, 'channels'), + ...omit(lastRelease, "channels"), ...release1, - type: 'major', - version: '1.0.0', + type: "major", + version: "1.0.0", channel: null, - gitTag: 'v1.0.0', + gitTag: "v1.0.0", notes: `${notes1}\n\n${notes2}\n\n${notes3}`, - pluginName: '[Function: functionStub]', + pluginName: "[Function: functionStub]", }, - {...nextRelease, ...release2, notes: `${notes1}\n\n${notes2}\n\n${notes3}`, pluginName: '[Function: functionStub]'}, - {...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}`, pluginName: '[Function: noop]'}, + { + ...nextRelease, + ...release2, + notes: `${notes1}\n\n${notes2}\n\n${notes3}`, + pluginName: "[Function: functionStub]", + }, + { ...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}`, pluginName: "[Function: noop]" }, ]; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({env, cwd})).thenReturn(envCiResults); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ env, cwd })).thenReturn(envCiResults); + const semanticRelease = (await import("../index.js")).default; const result = await semanticRelease(options, { cwd, env, @@ -183,12 +188,12 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(generateNotes1.args[0][1].commits[0].hash, commits[1].hash); t.deepEqual(generateNotes1.args[0][1].commits[0].message, commits[1].message); t.deepEqual(generateNotes1.args[0][1].nextRelease, { - ...omit(lastRelease, 'channels'), - type: 'major', - version: '1.0.0', + ...omit(lastRelease, "channels"), + type: "major", + version: "1.0.0", channel: null, - gitTag: 'v1.0.0', - name: 'v1.0.0', + gitTag: "v1.0.0", + name: "v1.0.0", }); t.deepEqual(generateNotes2.args[0][1].envCi, envCiResults); @@ -201,12 +206,12 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(generateNotes2.args[0][1].commits[0].hash, commits[1].hash); t.deepEqual(generateNotes2.args[0][1].commits[0].message, commits[1].message); t.deepEqual(generateNotes2.args[0][1].nextRelease, { - ...omit(lastRelease, 'channels'), - type: 'major', - version: '1.0.0', + ...omit(lastRelease, "channels"), + type: "major", + version: "1.0.0", channel: null, - gitTag: 'v1.0.0', - name: 'v1.0.0', + gitTag: "v1.0.0", + name: "v1.0.0", notes: notes1, }); t.deepEqual(generateNotes2.args[0][1].envCi, envCiResults); @@ -220,20 +225,20 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(generateNotes3.args[0][1].commits[0].hash, commits[1].hash); t.deepEqual(generateNotes3.args[0][1].commits[0].message, commits[1].message); t.deepEqual(generateNotes3.args[0][1].nextRelease, { - ...omit(lastRelease, 'channels'), - type: 'major', - version: '1.0.0', + ...omit(lastRelease, "channels"), + type: "major", + version: "1.0.0", channel: null, - gitTag: 'v1.0.0', - name: 'v1.0.0', + gitTag: "v1.0.0", + name: "v1.0.0", notes: `${notes1}\n\n${notes2}`, }); t.deepEqual(generateNotes3.args[0][1].envCi, envCiResults); branch.tags.push({ - version: '1.0.0', + version: "1.0.0", channel: null, - gitTag: 'v1.0.0', + gitTag: "v1.0.0", gitHead: commits[commits.length - 1].hash, }); @@ -244,14 +249,14 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(addChannel.args[0][1].branches, branches); t.deepEqual(addChannel.args[0][1].logger, t.context.logger); t.deepEqual(addChannel.args[0][1].lastRelease, {}); - t.deepEqual(addChannel.args[0][1].currentRelease, {...lastRelease, type: 'major'}); + t.deepEqual(addChannel.args[0][1].currentRelease, { ...lastRelease, type: "major" }); t.deepEqual(addChannel.args[0][1].nextRelease, { - ...omit(lastRelease, 'channels'), - type: 'major', - version: '1.0.0', + ...omit(lastRelease, "channels"), + type: "major", + version: "1.0.0", channel: null, - gitTag: 'v1.0.0', - name: 'v1.0.0', + gitTag: "v1.0.0", + name: "v1.0.0", notes: `${notes1}\n\n${notes2}\n\n${notes3}`, }); t.deepEqual(addChannel.args[0][1].commits[0].hash, commits[1].hash); @@ -300,7 +305,7 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(generateNotes2.args[1][1].lastRelease, lastRelease); t.deepEqual(generateNotes2.args[1][1].commits[0].hash, commits[0].hash); t.deepEqual(generateNotes2.args[1][1].commits[0].message, commits[0].message); - t.deepEqual(generateNotes2.args[1][1].nextRelease, {...nextRelease, notes: notes1}); + t.deepEqual(generateNotes2.args[1][1].nextRelease, { ...nextRelease, notes: notes1 }); t.deepEqual(generateNotes2.args[1][1].envCi, envCiResults); t.deepEqual(generateNotes3.args[1][0], config); @@ -311,7 +316,7 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(generateNotes3.args[1][1].lastRelease, lastRelease); t.deepEqual(generateNotes3.args[1][1].commits[0].hash, commits[0].hash); t.deepEqual(generateNotes3.args[1][1].commits[0].message, commits[0].message); - t.deepEqual(generateNotes3.args[1][1].nextRelease, {...nextRelease, notes: `${notes1}\n\n${notes2}`}); + t.deepEqual(generateNotes3.args[1][1].nextRelease, { ...nextRelease, notes: `${notes1}\n\n${notes2}` }); t.deepEqual(generateNotes3.args[1][1].envCi, envCiResults); t.is(prepare.callCount, 1); @@ -323,7 +328,7 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(prepare.args[0][1].lastRelease, lastRelease); t.deepEqual(prepare.args[0][1].commits[0].hash, commits[0].hash); t.deepEqual(prepare.args[0][1].commits[0].message, commits[0].message); - t.deepEqual(prepare.args[0][1].nextRelease, {...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}`}); + t.deepEqual(prepare.args[0][1].nextRelease, { ...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}` }); t.deepEqual(prepare.args[0][1].envCi, envCiResults); t.is(publish.callCount, 1); @@ -335,7 +340,7 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(publish.args[0][1].lastRelease, lastRelease); t.deepEqual(publish.args[0][1].commits[0].hash, commits[0].hash); t.deepEqual(publish.args[0][1].commits[0].message, commits[0].message); - t.deepEqual(publish.args[0][1].nextRelease, {...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}`}); + t.deepEqual(publish.args[0][1].nextRelease, { ...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}` }); t.deepEqual(publish.args[0][1].envCi, envCiResults); t.is(success.callCount, 2); @@ -348,12 +353,12 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(success.args[0][1].commits[0].hash, commits[1].hash); t.deepEqual(success.args[0][1].commits[0].message, commits[1].message); t.deepEqual(success.args[0][1].nextRelease, { - ...omit(lastRelease, 'channels'), - type: 'major', - version: '1.0.0', + ...omit(lastRelease, "channels"), + type: "major", + version: "1.0.0", channel: null, - gitTag: 'v1.0.0', - name: 'v1.0.0', + gitTag: "v1.0.0", + name: "v1.0.0", notes: `${notes1}\n\n${notes2}\n\n${notes3}`, }); t.deepEqual(success.args[0][1].releases, [releases[0]]); @@ -367,20 +372,20 @@ test('Plugins are called with expected values', async (t) => { t.deepEqual(success.args[1][1].lastRelease, lastRelease); t.deepEqual(success.args[1][1].commits[0].hash, commits[0].hash); t.deepEqual(success.args[1][1].commits[0].message, commits[0].message); - t.deepEqual(success.args[1][1].nextRelease, {...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}`}); + t.deepEqual(success.args[1][1].nextRelease, { ...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}` }); t.deepEqual(success.args[1][1].releases, [releases[1], releases[2]]); t.deepEqual(success.args[1][1].envCi, envCiResults); t.deepEqual(result, { lastRelease, - commits: [{...commits[0], gitTags: '(HEAD -> master, next)'}], - nextRelease: {...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}`}, + commits: [{ ...commits[0], gitTags: "(HEAD -> master, next)" }], + nextRelease: { ...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}` }, releases, }); // Verify the tag has been created on the local and remote repo and reference the gitHead - t.is(await gitTagHead(nextRelease.gitTag, {cwd}), nextRelease.gitHead); - t.is(await gitRemoteTagHead(repositoryUrl, nextRelease.gitTag, {cwd}), nextRelease.gitHead); + t.is(await gitTagHead(nextRelease.gitTag, { cwd }), nextRelease.gitHead); + t.is(await gitRemoteTagHead(repositoryUrl, nextRelease.gitTag, { cwd }), nextRelease.gitHead); // Verify the author/commiter name and email have been set t.is(env.GIT_AUTHOR_NAME, COMMIT_NAME); @@ -389,22 +394,22 @@ test('Plugins are called with expected values', async (t) => { t.is(env.GIT_COMMITTER_EMAIL, COMMIT_EMAIL); }); -test.serial('Use custom tag format', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitTagVersion('test-1.0.0', undefined, {cwd}); - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); +test.serial("Use custom tag format", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitTagVersion("test-1.0.0", undefined, { cwd }); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const nextRelease = { - name: 'test-2.0.0', - type: 'major', - version: '2.0.0', - gitHead: await getGitHead({cwd}), - gitTag: 'test-2.0.0', + name: "test-2.0.0", + type: "major", + version: "2.0.0", + gitHead: await getGitHead({ cwd }), + gitTag: "test-2.0.0", }; - const notes = 'Release notes'; - const config = {branches: 'master', repositoryUrl, globalOpt: 'global', tagFormat: `test-\${version}`}; + const notes = "Release notes"; + const config = { branches: "master", repositoryUrl, globalOpt: "global", tagFormat: `test-\${version}` }; const options = { ...config, verifyConditions: stub().resolves(), @@ -418,9 +423,9 @@ test.serial('Use custom tag format', async (t) => { fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.truthy( await semanticRelease(options, { cwd, @@ -431,39 +436,39 @@ test.serial('Use custom tag format', async (t) => { ); // Verify the tag has been created on the local and remote repo and reference the gitHead - t.is(await gitTagHead(nextRelease.gitTag, {cwd}), nextRelease.gitHead); - t.is(await gitRemoteTagHead(repositoryUrl, nextRelease.gitTag, {cwd}), nextRelease.gitHead); + t.is(await gitTagHead(nextRelease.gitTag, { cwd }), nextRelease.gitHead); + t.is(await gitRemoteTagHead(repositoryUrl, nextRelease.gitTag, { cwd }), nextRelease.gitHead); }); -test.serial('Use new gitHead, and recreate release notes if a prepare plugin create a commit', async (t) => { +test.serial("Use new gitHead, and recreate release notes if a prepare plugin create a commit", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - let commits = await gitCommits(['First'], {cwd}); + let commits = await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); // Add new commits to the master branch - commits = (await gitCommits(['Second'], {cwd})).concat(commits); - await gitPush(repositoryUrl, 'master', {cwd}); + commits = (await gitCommits(["Second"], { cwd })).concat(commits); + await gitPush(repositoryUrl, "master", { cwd }); const nextRelease = { - name: 'v2.0.0', - type: 'major', - version: '2.0.0', - gitHead: await getGitHead({cwd}), - gitTag: 'v2.0.0', + name: "v2.0.0", + type: "major", + version: "2.0.0", + gitHead: await getGitHead({ cwd }), + gitTag: "v2.0.0", channel: null, }; - const notes = 'Release notes'; + const notes = "Release notes"; const generateNotes = stub().resolves(notes); const prepare1 = stub().callsFake(async () => { - commits = (await gitCommits(['Third'], {cwd})).concat(commits); + commits = (await gitCommits(["Third"], { cwd })).concat(commits); }); const prepare2 = stub().resolves(); const publish = stub().resolves(); const options = { - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions: stub().resolves(), analyzeCommits: stub().resolves(nextRelease.type), @@ -476,9 +481,9 @@ test.serial('Use new gitHead, and recreate release notes if a prepare plugin cre fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.truthy( await semanticRelease(options, { @@ -492,37 +497,37 @@ test.serial('Use new gitHead, and recreate release notes if a prepare plugin cre t.is(generateNotes.callCount, 2); t.deepEqual(generateNotes.args[0][1].nextRelease, nextRelease); t.is(prepare1.callCount, 1); - t.deepEqual(prepare1.args[0][1].nextRelease, {...nextRelease, notes}); + t.deepEqual(prepare1.args[0][1].nextRelease, { ...nextRelease, notes }); - nextRelease.gitHead = await getGitHead({cwd}); + nextRelease.gitHead = await getGitHead({ cwd }); - t.deepEqual(generateNotes.args[1][1].nextRelease, {...nextRelease, notes}); + t.deepEqual(generateNotes.args[1][1].nextRelease, { ...nextRelease, notes }); t.is(prepare2.callCount, 1); - t.deepEqual(prepare2.args[0][1].nextRelease, {...nextRelease, notes}); + t.deepEqual(prepare2.args[0][1].nextRelease, { ...nextRelease, notes }); t.is(publish.callCount, 1); - t.deepEqual(publish.args[0][1].nextRelease, {...nextRelease, notes}); + t.deepEqual(publish.args[0][1].nextRelease, { ...nextRelease, notes }); // Verify the tag has been created on the local and remote repo and reference the last gitHead - t.is(await gitTagHead(nextRelease.gitTag, {cwd}), commits[0].hash); - t.is(await gitRemoteTagHead(repositoryUrl, nextRelease.gitTag, {cwd}), commits[0].hash); + t.is(await gitTagHead(nextRelease.gitTag, { cwd }), commits[0].hash); + t.is(await gitRemoteTagHead(repositoryUrl, nextRelease.gitTag, { cwd }), commits[0].hash); }); -test.serial('Make a new release when a commit is forward-ported to an upper branch', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['feat: initial release'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: [null, '1.0.x']}), 'v1.0.0', {cwd}); - await gitCheckout('1.0.x', true, {cwd}); - await gitCommits(['fix: fix on maintenance version 1.0.x'], {cwd}); - await gitTagVersion('v1.0.1', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['1.0.x']}), 'v1.0.1', {cwd}); - await gitPush('origin', '1.0.x', {cwd}); - await gitCheckout('master', false, {cwd}); - await gitCommits(['feat: new feature on master'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await merge('1.0.x', {cwd}); - await gitPush('origin', 'master', {cwd}); +test.serial("Make a new release when a commit is forward-ported to an upper branch", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["feat: initial release"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: [null, "1.0.x"] }), "v1.0.0", { cwd }); + await gitCheckout("1.0.x", true, { cwd }); + await gitCommits(["fix: fix on maintenance version 1.0.x"], { cwd }); + await gitTagVersion("v1.0.1", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["1.0.x"] }), "v1.0.1", { cwd }); + await gitPush("origin", "1.0.x", { cwd }); + await gitCheckout("master", false, { cwd }); + await gitCommits(["feat: new feature on master"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await merge("1.0.x", { cwd }); + await gitPush("origin", "master", { cwd }); const verifyConditions = stub().resolves(); const verifyRelease = stub().resolves(); @@ -531,7 +536,7 @@ test.serial('Make a new release when a commit is forward-ported to an upper bran const publish = stub().resolves(); const success = stub().resolves(); - const config = {branches: [{name: '1.0.x'}, {name: 'master'}], repositoryUrl, tagFormat: `v\${version}`}; + const config = { branches: [{ name: "1.0.x" }, { name: "master" }], repositoryUrl, tagFormat: `v\${version}` }; const options = { ...config, verifyConditions, @@ -542,33 +547,33 @@ test.serial('Make a new release when a commit is forward-ported to an upper bran success, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; - t.truthy(await semanticRelease(options, {cwd, env: {}, stdout: {write: () => {}}, stderr: {write: () => {}}})); + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; + t.truthy(await semanticRelease(options, { cwd, env: {}, stdout: { write: () => {} }, stderr: { write: () => {} } })); t.is(addChannel.callCount, 0); t.is(publish.callCount, 1); // The release 1.1.1, triggered by the forward-port of "fix: fix on maintenance version 1.0.x" has been published from master - t.is(publish.args[0][1].nextRelease.version, '1.1.1'); + t.is(publish.args[0][1].nextRelease.version, "1.1.1"); t.is(success.callCount, 1); }); -test.serial('Publish a pre-release version', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['feat: initial commit'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitCheckout('beta', true, {cwd}); - await gitCommits(['feat: a feature'], {cwd}); - await gitPush(repositoryUrl, 'beta', {cwd}); +test.serial("Publish a pre-release version", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["feat: initial commit"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + await gitCheckout("beta", true, { cwd }); + await gitCommits(["feat: a feature"], { cwd }); + await gitPush(repositoryUrl, "beta", { cwd }); - const config = {branches: ['master', {name: 'beta', prerelease: true}], repositoryUrl}; + const config = { branches: ["master", { name: "beta", prerelease: true }], repositoryUrl }; const options = { ...config, verifyConditions: stub().resolves(), verifyRelease: stub().resolves(), - generateNotes: stub().resolves(''), + generateNotes: stub().resolves(""), addChannel: false, prepare: stub().resolves(), publish: stub().resolves(), @@ -577,44 +582,49 @@ test.serial('Publish a pre-release version', async (t) => { }; const env = {}; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({env, cwd})).thenReturn({isCi: true, branch: 'beta', isPr: false}); - const semanticRelease = (await import('../index.js')).default; - let {releases} = await semanticRelease(options, {cwd, env: {}, stdout: {write: () => {}}, stderr: {write: () => {}}}); + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ env, cwd })).thenReturn({ isCi: true, branch: "beta", isPr: false }); + const semanticRelease = (await import("../index.js")).default; + let { releases } = await semanticRelease(options, { + cwd, + env: {}, + stdout: { write: () => {} }, + stderr: { write: () => {} }, + }); t.is(releases.length, 1); - t.is(releases[0].version, '1.1.0-beta.1'); - t.is(releases[0].gitTag, 'v1.1.0-beta.1'); - t.is(await gitGetNote('v1.1.0-beta.1', {cwd}), '{"channels":["beta"]}'); + t.is(releases[0].version, "1.1.0-beta.1"); + t.is(releases[0].gitTag, "v1.1.0-beta.1"); + t.is(await gitGetNote("v1.1.0-beta.1", { cwd }), '{"channels":["beta"]}'); - await gitCommits(['fix: a fix'], {cwd}); - ({releases} = await semanticRelease(options, { + await gitCommits(["fix: a fix"], { cwd }); + ({ releases } = await semanticRelease(options, { cwd, env, - stdout: {write: () => {}}, - stderr: {write: () => {}}, + stdout: { write: () => {} }, + stderr: { write: () => {} }, })); t.is(releases.length, 1); - t.is(releases[0].version, '1.1.0-beta.2'); - t.is(releases[0].gitTag, 'v1.1.0-beta.2'); - t.is(await gitGetNote('v1.1.0-beta.2', {cwd}), '{"channels":["beta"]}'); + t.is(releases[0].version, "1.1.0-beta.2"); + t.is(releases[0].gitTag, "v1.1.0-beta.2"); + t.is(await gitGetNote("v1.1.0-beta.2", { cwd }), '{"channels":["beta"]}'); }); -test.serial('Publish releases from different branch on the same channel', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['feat: initial commit'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitCheckout('next-major', true, {cwd}); - await gitPush(repositoryUrl, 'next-major', {cwd}); - await gitCheckout('next', true, {cwd}); - await gitCommits(['feat: a feature'], {cwd}); - await gitPush(repositoryUrl, 'next', {cwd}); +test.serial("Publish releases from different branch on the same channel", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["feat: initial commit"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + await gitCheckout("next-major", true, { cwd }); + await gitPush(repositoryUrl, "next-major", { cwd }); + await gitCheckout("next", true, { cwd }); + await gitCommits(["feat: a feature"], { cwd }); + await gitPush(repositoryUrl, "next", { cwd }); const config = { - branches: ['master', {name: 'next', channel: false}, {name: 'next-major', channel: false}], + branches: ["master", { name: "next", channel: false }, { name: "next-major", channel: false }], repositoryUrl, }; const addChannel = stub().resolves({}); @@ -622,7 +632,7 @@ test.serial('Publish releases from different branch on the same channel', async ...config, verifyConditions: stub().resolves(), verifyRelease: stub().resolves(), - generateNotes: stub().resolves(''), + generateNotes: stub().resolves(""), addChannel, prepare: stub().resolves(), publish: stub().resolves(), @@ -631,58 +641,63 @@ test.serial('Publish releases from different branch on the same channel', async }; const env = {}; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({env, cwd})).thenReturn({isCi: true, branch: 'next', isPr: false}); - let semanticRelease = (await import('../index.js')).default; - let {releases} = await semanticRelease(options, {cwd, env, stdout: {write: () => {}}, stderr: {write: () => {}}}); - - t.is(releases.length, 1); - t.is(releases[0].version, '1.1.0'); - t.is(releases[0].gitTag, 'v1.1.0'); - - await gitCommits(['fix: a fix'], {cwd}); - ({releases} = await semanticRelease(options, { + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ env, cwd })).thenReturn({ isCi: true, branch: "next", isPr: false }); + let semanticRelease = (await import("../index.js")).default; + let { releases } = await semanticRelease(options, { cwd, env, - stdout: {write: () => {}}, - stderr: {write: () => {}}, + stdout: { write: () => {} }, + stderr: { write: () => {} }, + }); + + t.is(releases.length, 1); + t.is(releases[0].version, "1.1.0"); + t.is(releases[0].gitTag, "v1.1.0"); + + await gitCommits(["fix: a fix"], { cwd }); + ({ releases } = await semanticRelease(options, { + cwd, + env, + stdout: { write: () => {} }, + stderr: { write: () => {} }, })); t.is(releases.length, 1); - t.is(releases[0].version, '1.1.1'); - t.is(releases[0].gitTag, 'v1.1.1'); + t.is(releases[0].version, "1.1.1"); + t.is(releases[0].gitTag, "v1.1.1"); - await gitCheckout('master', false, {cwd}); - await merge('next', {cwd}); - await gitPush('origin', 'master', {cwd}); + await gitCheckout("master", false, { cwd }); + await merge("next", { cwd }); + await gitPush("origin", "master", { cwd }); - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + semanticRelease = (await import("../index.js")).default; - t.falsy(await semanticRelease(options, {cwd, env: {}, stdout: {write: () => {}}, stderr: {write: () => {}}})); + t.falsy(await semanticRelease(options, { cwd, env: {}, stdout: { write: () => {} }, stderr: { write: () => {} } })); t.is(addChannel.callCount, 0); }); -test.serial('Publish pre-releases the same channel as regular releases', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['feat: initial commit'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitCheckout('beta', true, {cwd}); - await gitCommits(['feat: a feature'], {cwd}); - await gitPush(repositoryUrl, 'beta', {cwd}); +test.serial("Publish pre-releases the same channel as regular releases", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["feat: initial commit"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + await gitCheckout("beta", true, { cwd }); + await gitCommits(["feat: a feature"], { cwd }); + await gitPush(repositoryUrl, "beta", { cwd }); const config = { - branches: ['master', {name: 'beta', channel: false, prerelease: true}], + branches: ["master", { name: "beta", channel: false, prerelease: true }], repositoryUrl, }; const options = { ...config, verifyConditions: stub().resolves(), verifyRelease: stub().resolves(), - generateNotes: stub().resolves(''), + generateNotes: stub().resolves(""), addChannel: false, prepare: stub().resolves(), publish: stub().resolves(), @@ -691,57 +706,62 @@ test.serial('Publish pre-releases the same channel as regular releases', async ( }; const env = {}; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({cwd, env})).thenReturn({isCi: true, branch: 'beta', isPr: false}); - const semanticRelease = (await import('../index.js')).default; - let {releases} = await semanticRelease(options, {cwd, env, stdout: {write: () => {}}, stderr: {write: () => {}}}); - - t.is(releases.length, 1); - t.is(releases[0].version, '1.1.0-beta.1'); - t.is(releases[0].gitTag, 'v1.1.0-beta.1'); - - await gitCommits(['fix: a fix'], {cwd}); - ({releases} = await semanticRelease(options, { + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ cwd, env })).thenReturn({ isCi: true, branch: "beta", isPr: false }); + const semanticRelease = (await import("../index.js")).default; + let { releases } = await semanticRelease(options, { cwd, env, - stdout: {write: () => {}}, - stderr: {write: () => {}}, + stdout: { write: () => {} }, + stderr: { write: () => {} }, + }); + + t.is(releases.length, 1); + t.is(releases[0].version, "1.1.0-beta.1"); + t.is(releases[0].gitTag, "v1.1.0-beta.1"); + + await gitCommits(["fix: a fix"], { cwd }); + ({ releases } = await semanticRelease(options, { + cwd, + env, + stdout: { write: () => {} }, + stderr: { write: () => {} }, })); t.is(releases.length, 1); - t.is(releases[0].version, '1.1.0-beta.2'); - t.is(releases[0].gitTag, 'v1.1.0-beta.2'); + t.is(releases[0].version, "1.1.0-beta.2"); + t.is(releases[0].gitTag, "v1.1.0-beta.2"); }); -test.serial('Do not add pre-releases to a different channel', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['feat: initial release'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: [null, 'beta']}), 'v1.0.0', {cwd}); - await gitCheckout('beta', true, {cwd}); - await gitCommits(['feat: breaking change/n/nBREAKING CHANGE: break something'], {cwd}); - await gitTagVersion('v2.0.0-beta.1', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['beta']}), 'v2.0.0-beta.1', {cwd}); - await gitCommits(['fix: a fix'], {cwd}); - await gitTagVersion('v2.0.0-beta.2', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['beta']}), 'v2.0.0-beta.2', {cwd}); - await gitPush('origin', 'beta', {cwd}); - await gitCheckout('master', false, {cwd}); - await merge('beta', {cwd}); - await gitPush('origin', 'master', {cwd}); +test.serial("Do not add pre-releases to a different channel", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["feat: initial release"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: [null, "beta"] }), "v1.0.0", { cwd }); + await gitCheckout("beta", true, { cwd }); + await gitCommits(["feat: breaking change/n/nBREAKING CHANGE: break something"], { cwd }); + await gitTagVersion("v2.0.0-beta.1", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["beta"] }), "v2.0.0-beta.1", { cwd }); + await gitCommits(["fix: a fix"], { cwd }); + await gitTagVersion("v2.0.0-beta.2", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["beta"] }), "v2.0.0-beta.2", { cwd }); + await gitPush("origin", "beta", { cwd }); + await gitCheckout("master", false, { cwd }); + await merge("beta", { cwd }); + await gitPush("origin", "master", { cwd }); const verifyConditions = stub().resolves(); const verifyRelease = stub().resolves(); - const generateNotes = stub().resolves('Release notes'); - const release1 = {name: 'Release 1', url: 'https://release1.com'}; + const generateNotes = stub().resolves("Release notes"); + const release1 = { name: "Release 1", url: "https://release1.com" }; const addChannel = stub().resolves(release1); const prepare = stub().resolves(); const publish = stub().resolves(); const success = stub().resolves(); const config = { - branches: [{name: 'master'}, {name: 'beta', prerelease: 'beta'}], + branches: [{ name: "master" }, { name: "beta", prerelease: "beta" }], repositoryUrl, tagFormat: `v\${version}`, }; @@ -758,42 +778,42 @@ test.serial('Do not add pre-releases to a different channel', async (t) => { }; const env = {}; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({cwd, env})).thenReturn({isCi: true, branch: 'master', isPr: false}); - const semanticRelease = (await import('../index.js')).default; - t.truthy(await semanticRelease(options, {cwd, env, stdout: {write: () => {}}, stderr: {write: () => {}}})); + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ cwd, env })).thenReturn({ isCi: true, branch: "master", isPr: false }); + const semanticRelease = (await import("../index.js")).default; + t.truthy(await semanticRelease(options, { cwd, env, stdout: { write: () => {} }, stderr: { write: () => {} } })); t.is(addChannel.callCount, 0); }); async function addChannelMacro(t, mergeFunction) { - const {cwd, repositoryUrl} = await gitRepo(true); - const commits = await gitCommits(['feat: initial release'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: [null, 'next']}), 'v1.0.0', {cwd}); - await gitCheckout('next', true, {cwd}); - commits.push(...(await gitCommits(['feat: breaking change/n/nBREAKING CHANGE: break something'], {cwd}))); - await gitTagVersion('v2.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['next']}), 'v2.0.0', {cwd}); + const { cwd, repositoryUrl } = await gitRepo(true); + const commits = await gitCommits(["feat: initial release"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: [null, "next"] }), "v1.0.0", { cwd }); + await gitCheckout("next", true, { cwd }); + commits.push(...(await gitCommits(["feat: breaking change/n/nBREAKING CHANGE: break something"], { cwd }))); + await gitTagVersion("v2.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["next"] }), "v2.0.0", { cwd }); - commits.push(...(await gitCommits(['fix: a fix'], {cwd}))); - await gitTagVersion('v2.0.1', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['next']}), 'v2.0.1', {cwd}); - commits.push(...(await gitCommits(['feat: a feature'], {cwd}))); - await gitTagVersion('v2.1.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['next']}), 'v2.1.0', {cwd}); - await gitPush('origin', 'next', {cwd}); - await gitCheckout('master', false, {cwd}); + commits.push(...(await gitCommits(["fix: a fix"], { cwd }))); + await gitTagVersion("v2.0.1", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["next"] }), "v2.0.1", { cwd }); + commits.push(...(await gitCommits(["feat: a feature"], { cwd }))); + await gitTagVersion("v2.1.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["next"] }), "v2.1.0", { cwd }); + await gitPush("origin", "next", { cwd }); + await gitCheckout("master", false, { cwd }); // Merge all commits but last one from next to master - await mergeFunction('next~1', {cwd}); - await gitPush('origin', 'master', {cwd}); + await mergeFunction("next~1", { cwd }); + await gitPush("origin", "master", { cwd }); - const notes = 'Release notes'; + const notes = "Release notes"; const verifyConditions = stub().resolves(); const verifyRelease = stub().resolves(); const generateNotes = stub().resolves(notes); - const release1 = {name: 'Release 1', url: 'https://release1.com'}; + const release1 = { name: "Release 1", url: "https://release1.com" }; const addChannel1 = stub().resolves(release1); const addChannel2 = stub().resolves(); const prepare = stub().resolves(); @@ -802,8 +822,8 @@ async function addChannelMacro(t, mergeFunction) { const config = { branches: [ - {name: 'master', channel: 'latest'}, - {name: 'next', channel: 'next'}, + { name: "master", channel: "latest" }, + { name: "next", channel: "next" }, ], repositoryUrl, tagFormat: `v\${version}`, @@ -819,69 +839,69 @@ async function addChannelMacro(t, mergeFunction) { success, }; const nextRelease = { - name: 'v2.0.1', - type: 'patch', - version: '2.0.1', - channel: 'latest', - gitTag: 'v2.0.1', + name: "v2.0.1", + type: "patch", + version: "2.0.1", + channel: "latest", + gitTag: "v2.0.1", gitHead: commits[2].hash, }; const env = {}; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({env, cwd})).thenReturn({isCi: true, branch: 'master', isPr: false}); - const semanticRelease = (await import('../index.js')).default; - const result = await semanticRelease(options, {cwd, env, stdout: {write: () => {}}, stderr: {write: () => {}}}); + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ env, cwd })).thenReturn({ isCi: true, branch: "master", isPr: false }); + const semanticRelease = (await import("../index.js")).default; + const result = await semanticRelease(options, { cwd, env, stdout: { write: () => {} }, stderr: { write: () => {} } }); t.deepEqual(result.releases, [ - {...nextRelease, ...release1, notes, pluginName: '[Function: functionStub]'}, - {...nextRelease, notes, pluginName: '[Function: functionStub]'}, + { ...nextRelease, ...release1, notes, pluginName: "[Function: functionStub]" }, + { ...nextRelease, notes, pluginName: "[Function: functionStub]" }, ]); // Verify the tag has been created on the local and remote repo and reference - t.is(await gitTagHead(nextRelease.gitTag, {cwd}), nextRelease.gitHead); - t.is(await gitRemoteTagHead(repositoryUrl, nextRelease.gitTag, {cwd}), nextRelease.gitHead); + t.is(await gitTagHead(nextRelease.gitTag, { cwd }), nextRelease.gitHead); + t.is(await gitRemoteTagHead(repositoryUrl, nextRelease.gitTag, { cwd }), nextRelease.gitHead); } addChannelMacro.title = (providedTitle) => `Add version to a channel after a merge (${providedTitle})`; -test.serial('fast-forward', addChannelMacro, mergeFf); -test.serial('non fast-forward', addChannelMacro, merge); -test.serial('rebase', addChannelMacro, rebase); +test.serial("fast-forward", addChannelMacro, mergeFf); +test.serial("non fast-forward", addChannelMacro, merge); +test.serial("rebase", addChannelMacro, rebase); test.serial('Call all "success" plugins even if one errors out', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); + await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); // Add new commits to the master branch - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const nextRelease = { - name: 'v2.0.0', - type: 'major', - version: '2.0.0', - gitHead: await getGitHead({cwd}), - gitTag: 'v2.0.0', + name: "v2.0.0", + type: "major", + version: "2.0.0", + gitHead: await getGitHead({ cwd }), + gitTag: "v2.0.0", channel: null, }; - const notes = 'Release notes'; + const notes = "Release notes"; const verifyConditions1 = stub().resolves(); const verifyConditions2 = stub().resolves(); const analyzeCommits = stub().resolves(nextRelease.type); const generateNotes = stub().resolves(notes); - const release = {name: 'Release', url: 'https://release.com'}; + const release = { name: "Release", url: "https://release.com" }; const publish = stub().resolves(release); const success1 = stub().rejects(); const success2 = stub().resolves(); const config = { - branches: [{name: 'master'}], + branches: [{ name: "master" }], repositoryUrl, - globalOpt: 'global', + globalOpt: "global", tagFormat: `v\${version}`, }; const options = { @@ -896,40 +916,40 @@ test.serial('Call all "success" plugins even if one errors out', async (t) => { }; const env = {}; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({cwd, env})).thenReturn({isCi: true, branch: 'master', isPr: false}); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ cwd, env })).thenReturn({ isCi: true, branch: "master", isPr: false }); + const semanticRelease = (await import("../index.js")).default; await t.throwsAsync( - semanticRelease(options, {cwd, env, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}) + semanticRelease(options, { cwd, env, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() }) ); t.is(success1.callCount, 1); t.deepEqual(success1.args[0][0], config); t.deepEqual(success1.args[0][1].releases, [ - {...nextRelease, ...release, notes, pluginName: '[Function: functionStub]'}, + { ...nextRelease, ...release, notes, pluginName: "[Function: functionStub]" }, ]); t.is(success2.callCount, 1); t.deepEqual(success2.args[0][1].releases, [ - {...nextRelease, ...release, notes, pluginName: '[Function: functionStub]'}, + { ...nextRelease, ...release, notes, pluginName: "[Function: functionStub]" }, ]); }); test.serial('Log all "verifyConditions" errors', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["First"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); - const error1 = new Error('error 1'); - const error2 = new SemanticReleaseError('error 2', 'ERR2'); - const error3 = new SemanticReleaseError('error 3', 'ERR3'); + const error1 = new Error("error 1"); + const error2 = new SemanticReleaseError("error 2", "ERR2"); + const error3 = new SemanticReleaseError("error 3", "ERR3"); const fail = stub().resolves(); const config = { - branches: [{name: 'master'}], + branches: [{ name: "master" }], repositoryUrl, originalRepositoryURL: repositoryUrl, tagFormat: `v\${version}`, @@ -941,19 +961,26 @@ test.serial('Log all "verifyConditions" errors', async (t) => { fail, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; const errors = [ - ...(await t.throwsAsync( - semanticRelease(options, {cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}) - )).errors, + ...( + await t.throwsAsync( + semanticRelease(options, { + cwd, + env: {}, + stdout: new WritableStreamBuffer(), + stderr: new WritableStreamBuffer(), + }) + ) + ).errors, ]; - t.deepEqual(sortBy(errors, ['message']), sortBy([error1, error2, error3], ['message'])); - t.true(t.context.error.calledWith('An error occurred while running semantic-release: %O', error1)); - t.true(t.context.error.calledWith('ERR2 error 2')); - t.true(t.context.error.calledWith('ERR3 error 3')); + t.deepEqual(sortBy(errors, ["message"]), sortBy([error1, error2, error3], ["message"])); + t.true(t.context.error.calledWith("An error occurred while running semantic-release: %O", error1)); + t.true(t.context.error.calledWith("ERR2 error 2")); + t.true(t.context.error.calledWith("ERR3 error 3")); t.true(t.context.error.calledAfter(t.context.log)); t.is(fail.callCount, 1); t.deepEqual(fail.args[0][0], config); @@ -964,59 +991,66 @@ test.serial('Log all "verifyConditions" errors', async (t) => { test.serial('Log all "verifyRelease" errors', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); + await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); // Add new commits to the master branch - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); - const error1 = new SemanticReleaseError('error 1', 'ERR1'); - const error2 = new SemanticReleaseError('error 2', 'ERR2'); + const error1 = new SemanticReleaseError("error 1", "ERR1"); + const error2 = new SemanticReleaseError("error 2", "ERR2"); const fail = stub().resolves(); - const config = {branches: [{name: 'master'}], repositoryUrl, tagFormat: `v\${version}`}; + const config = { branches: [{ name: "master" }], repositoryUrl, tagFormat: `v\${version}` }; const options = { ...config, verifyConditions: stub().resolves(), - analyzeCommits: stub().resolves('major'), + analyzeCommits: stub().resolves("major"), verifyRelease: [stub().rejects(error1), stub().rejects(error2)], fail, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; const errors = [ - ...(await t.throwsAsync( - semanticRelease(options, {cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}) - )).errors, + ...( + await t.throwsAsync( + semanticRelease(options, { + cwd, + env: {}, + stdout: new WritableStreamBuffer(), + stderr: new WritableStreamBuffer(), + }) + ) + ).errors, ]; - t.deepEqual(sortBy(errors, ['message']), sortBy([error1, error2], ['message'])); - t.true(t.context.error.calledWith('ERR1 error 1')); - t.true(t.context.error.calledWith('ERR2 error 2')); + t.deepEqual(sortBy(errors, ["message"]), sortBy([error1, error2], ["message"])); + t.true(t.context.error.calledWith("ERR1 error 1")); + t.true(t.context.error.calledWith("ERR2 error 2")); t.is(fail.callCount, 1); t.deepEqual(fail.args[0][0], config); t.deepEqual(fail.args[0][1].errors, [error1, error2]); }); -test.serial('Dry-run skips addChannel, prepare, publish and success', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: [null, 'next']}), 'v1.0.0', {cwd}); - await gitCommits(['Second'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['next']}), 'v1.1.0', {cwd}); +test.serial("Dry-run skips addChannel, prepare, publish and success", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: [null, "next"] }), "v1.0.0", { cwd }); + await gitCommits(["Second"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["next"] }), "v1.1.0", { cwd }); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitCheckout('next', true, {cwd}); - await gitPush('origin', 'next', {cwd}); + await gitPush(repositoryUrl, "master", { cwd }); + await gitCheckout("next", true, { cwd }); + await gitPush("origin", "next", { cwd }); const verifyConditions = stub().resolves(); - const analyzeCommits = stub().resolves('minor'); + const analyzeCommits = stub().resolves("minor"); const verifyRelease = stub().resolves(); const generateNotes = stub().resolves(); const addChannel = stub().resolves(); @@ -1026,7 +1060,7 @@ test.serial('Dry-run skips addChannel, prepare, publish and success', async (t) const options = { dryRun: true, - branches: ['master', 'next'], + branches: ["master", "next"], repositoryUrl, verifyConditions, analyzeCommits, @@ -1038,9 +1072,9 @@ test.serial('Dry-run skips addChannel, prepare, publish and success', async (t) success, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.truthy( await semanticRelease(options, { cwd, @@ -1050,7 +1084,7 @@ test.serial('Dry-run skips addChannel, prepare, publish and success', async (t) }) ); - t.not(t.context.warn.args[0][0], 'This run was not triggered in a known CI environment, running in dry-run mode.'); + t.not(t.context.warn.args[0][0], "This run was not triggered in a known CI environment, running in dry-run mode."); t.is(verifyConditions.callCount, 1); t.is(analyzeCommits.callCount, 1); t.is(verifyRelease.callCount, 1); @@ -1067,65 +1101,72 @@ test.serial('Dry-run skips addChannel, prepare, publish and success', async (t) t.true(t.context.warn.calledWith(`Skip step "success" of plugin "[Function: ${success.name}]" in dry-run mode`)); }); -test.serial('Dry-run skips fail', async (t) => { +test.serial("Dry-run skips fail", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); + await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); // Add new commits to the master branch - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); - const error1 = new SemanticReleaseError('error 1', 'ERR1'); - const error2 = new SemanticReleaseError('error 2', 'ERR2'); + const error1 = new SemanticReleaseError("error 1", "ERR1"); + const error2 = new SemanticReleaseError("error 2", "ERR2"); const fail = stub().resolves(); const options = { dryRun: true, - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions: [stub().rejects(error1), stub().rejects(error2)], fail, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; const errors = [ - ...(await t.throwsAsync( - semanticRelease(options, {cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}) - )).errors, + ...( + await t.throwsAsync( + semanticRelease(options, { + cwd, + env: {}, + stdout: new WritableStreamBuffer(), + stderr: new WritableStreamBuffer(), + }) + ) + ).errors, ]; - t.deepEqual(sortBy(errors, ['message']), sortBy([error1, error2], ['message'])); - t.true(t.context.error.calledWith('ERR1 error 1')); - t.true(t.context.error.calledWith('ERR2 error 2')); + t.deepEqual(sortBy(errors, ["message"]), sortBy([error1, error2], ["message"])); + t.true(t.context.error.calledWith("ERR1 error 1")); + t.true(t.context.error.calledWith("ERR2 error 2")); t.is(fail.callCount, 0); t.true(t.context.warn.calledWith(`Skip step "fail" of plugin "[Function: ${fail.name}]" in dry-run mode`)); }); test.serial('Force a dry-run if not on a CI and "noCi" is not explicitly set', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); + await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); // Add new commits to the master branch - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const nextRelease = { - name: 'v2.0.0', - type: 'major', - version: '2.0.0', - gitHead: await getGitHead({cwd}), - gitTag: 'v2.0.0', + name: "v2.0.0", + type: "major", + version: "2.0.0", + gitHead: await getGitHead({ cwd }), + gitTag: "v2.0.0", channel: undefined, }; - const notes = 'Release notes'; + const notes = "Release notes"; const verifyConditions = stub().resolves(); const analyzeCommits = stub().resolves(nextRelease.type); @@ -1136,7 +1177,7 @@ test.serial('Force a dry-run if not on a CI and "noCi" is not explicitly set', a const options = { dryRun: false, - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions, analyzeCommits, @@ -1149,9 +1190,9 @@ test.serial('Force a dry-run if not on a CI and "noCi" is not explicitly set', a fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: false, branch: 'master'})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: false, branch: "master" })); + const semanticRelease = (await import("../index.js")).default; t.truthy( await semanticRelease(options, { cwd, @@ -1161,7 +1202,7 @@ test.serial('Force a dry-run if not on a CI and "noCi" is not explicitly set', a }) ); - t.true(t.context.warn.calledWith('This run was not triggered in a known CI environment, running in dry-run mode.')); + t.true(t.context.warn.calledWith("This run was not triggered in a known CI environment, running in dry-run mode.")); t.is(verifyConditions.callCount, 1); t.is(analyzeCommits.callCount, 1); t.is(verifyRelease.callCount, 1); @@ -1172,22 +1213,22 @@ test.serial('Force a dry-run if not on a CI and "noCi" is not explicitly set', a test.serial('Dry-run does not print changelog if "generateNotes" return "undefined"', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); + await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); // Add new commits to the master branch - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); - const nextRelease = {type: 'major', version: '2.0.0', gitHead: await getGitHead({cwd}), gitTag: 'v2.0.0'}; + const nextRelease = { type: "major", version: "2.0.0", gitHead: await getGitHead({ cwd }), gitTag: "v2.0.0" }; const analyzeCommits = stub().resolves(nextRelease.type); const generateNotes = stub().resolves(); const options = { dryRun: true, - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions: false, analyzeCommits, @@ -1198,9 +1239,9 @@ test.serial('Dry-run does not print changelog if "generateNotes" return "undefin success: false, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.truthy( await semanticRelease(options, { cwd, @@ -1210,29 +1251,29 @@ test.serial('Dry-run does not print changelog if "generateNotes" return "undefin }) ); - t.deepEqual(t.context.log.args[t.context.log.args.length - 1], ['Release note for version 2.0.0:']); + t.deepEqual(t.context.log.args[t.context.log.args.length - 1], ["Release note for version 2.0.0:"]); }); test.serial('Allow local releases with "noCi" option', async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); + await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); // Add new commits to the master branch - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const nextRelease = { - name: 'v2.0.0', - type: 'major', - version: '2.0.0', - gitHead: await getGitHead({cwd}), - gitTag: 'v2.0.0', + name: "v2.0.0", + type: "major", + version: "2.0.0", + gitHead: await getGitHead({ cwd }), + gitTag: "v2.0.0", channel: undefined, }; - const notes = 'Release notes'; + const notes = "Release notes"; const verifyConditions = stub().resolves(); const analyzeCommits = stub().resolves(nextRelease.type); @@ -1243,7 +1284,7 @@ test.serial('Allow local releases with "noCi" option', async (t) => { const options = { noCi: true, - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions, analyzeCommits, @@ -1256,9 +1297,9 @@ test.serial('Allow local releases with "noCi" option', async (t) => { fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: false, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: false, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.truthy( await semanticRelease(options, { cwd, @@ -1268,7 +1309,7 @@ test.serial('Allow local releases with "noCi" option', async (t) => { }) ); - t.not(t.context.log.args[0][0], 'This run was not triggered in a known CI environment, running in dry-run mode.'); + t.not(t.context.log.args[0][0], "This run was not triggered in a known CI environment, running in dry-run mode."); t.not( t.context.log.args[0][0], "This run was triggered by a pull request and therefore a new version won't be published." @@ -1281,86 +1322,89 @@ test.serial('Allow local releases with "noCi" option', async (t) => { t.is(success.callCount, 1); }); -test.serial('Accept "undefined" value returned by "generateNotes" and "false" by "publish" and "addChannel"', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: [null, 'next']}), 'v1.0.0', {cwd}); - await gitCommits(['Second'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['next']}), 'v1.1.0', {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); - await gitCheckout('next', true, {cwd}); - await gitPush('origin', 'next', {cwd}); - await gitCheckout('master', false, {cwd}); +test.serial( + 'Accept "undefined" value returned by "generateNotes" and "false" by "publish" and "addChannel"', + async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: [null, "next"] }), "v1.0.0", { cwd }); + await gitCommits(["Second"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["next"] }), "v1.1.0", { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); + await gitCheckout("next", true, { cwd }); + await gitPush("origin", "next", { cwd }); + await gitCheckout("master", false, { cwd }); - const nextRelease = { - name: 'v1.2.0', - type: 'minor', - version: '1.2.0', - gitHead: await getGitHead({cwd}), - gitTag: 'v1.2.0', - channel: null, - }; - const analyzeCommits = stub().resolves(nextRelease.type); - const verifyRelease = stub().resolves(); - const generateNotes1 = stub().resolves(); - const notes2 = 'Release notes 2'; - const generateNotes2 = stub().resolves(notes2); - const publish = stub().resolves(false); - const addChannel = stub().resolves(false); - const success = stub().resolves(); + const nextRelease = { + name: "v1.2.0", + type: "minor", + version: "1.2.0", + gitHead: await getGitHead({ cwd }), + gitTag: "v1.2.0", + channel: null, + }; + const analyzeCommits = stub().resolves(nextRelease.type); + const verifyRelease = stub().resolves(); + const generateNotes1 = stub().resolves(); + const notes2 = "Release notes 2"; + const generateNotes2 = stub().resolves(notes2); + const publish = stub().resolves(false); + const addChannel = stub().resolves(false); + const success = stub().resolves(); - const options = { - branches: ['master', 'next'], - repositoryUrl, - verifyConditions: stub().resolves(), - analyzeCommits, - verifyRelease, - generateNotes: [generateNotes1, generateNotes2], - addChannel, - prepare: stub().resolves(), - publish, - success, - fail: stub().resolves(), - }; + const options = { + branches: ["master", "next"], + repositoryUrl, + verifyConditions: stub().resolves(), + analyzeCommits, + verifyRelease, + generateNotes: [generateNotes1, generateNotes2], + addChannel, + prepare: stub().resolves(), + publish, + success, + fail: stub().resolves(), + }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; - t.truthy( - await semanticRelease(options, { - cwd, - env: {}, - stdout: new WritableStreamBuffer(), - stderr: new WritableStreamBuffer(), - }) - ); + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; + t.truthy( + await semanticRelease(options, { + cwd, + env: {}, + stdout: new WritableStreamBuffer(), + stderr: new WritableStreamBuffer(), + }) + ); - t.is(analyzeCommits.callCount, 1); - t.is(verifyRelease.callCount, 1); - t.is(generateNotes1.callCount, 2); - t.is(generateNotes2.callCount, 2); - t.is(addChannel.callCount, 1); - t.is(publish.callCount, 1); - t.is(success.callCount, 2); - t.deepEqual(publish.args[0][1].nextRelease, {...nextRelease, notes: notes2}); - t.deepEqual(success.args[0][1].releases, [{pluginName: '[Function: functionStub]'}]); - t.deepEqual(success.args[1][1].releases, [{pluginName: '[Function: functionStub]'}]); -}); + t.is(analyzeCommits.callCount, 1); + t.is(verifyRelease.callCount, 1); + t.is(generateNotes1.callCount, 2); + t.is(generateNotes2.callCount, 2); + t.is(addChannel.callCount, 1); + t.is(publish.callCount, 1); + t.is(success.callCount, 2); + t.deepEqual(publish.args[0][1].nextRelease, { ...nextRelease, notes: notes2 }); + t.deepEqual(success.args[0][1].releases, [{ pluginName: "[Function: functionStub]" }]); + t.deepEqual(success.args[1][1].releases, [{ pluginName: "[Function: functionStub]" }]); + } +); -test.serial('Returns false if triggered by a PR', async (t) => { +test.serial("Returns false if triggered by a PR", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', prBranch: 'patch-1', isPr: true})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", prBranch: "patch-1", isPr: true })); + const semanticRelease = (await import("../index.js")).default; t.false( await semanticRelease( - {cwd, repositoryUrl}, - {cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()} + { cwd, repositoryUrl }, + { cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() } ) ); t.is( @@ -1369,72 +1413,75 @@ test.serial('Returns false if triggered by a PR', async (t) => { ); }); -test.serial('Throws "EINVALIDNEXTVERSION" if next release is out of range of the current maintenance branch', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['feat: initial commit'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: [null, '1.x']}), 'v1.0.0', {cwd}); - await gitCheckout('1.x', true, {cwd}); - await gitPush('origin', '1.x', {cwd}); - await gitCheckout('master', false, {cwd}); - await gitCommits(['feat: new feature on master'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await gitCheckout('1.x', false, {cwd}); - await gitCommits(['feat: feature on maintenance version 1.x'], {cwd}); - await gitPush('origin', 'master', {cwd}); +test.serial( + 'Throws "EINVALIDNEXTVERSION" if next release is out of range of the current maintenance branch', + async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["feat: initial commit"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: [null, "1.x"] }), "v1.0.0", { cwd }); + await gitCheckout("1.x", true, { cwd }); + await gitPush("origin", "1.x", { cwd }); + await gitCheckout("master", false, { cwd }); + await gitCommits(["feat: new feature on master"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await gitCheckout("1.x", false, { cwd }); + await gitCommits(["feat: feature on maintenance version 1.x"], { cwd }); + await gitPush("origin", "master", { cwd }); - const verifyConditions = stub().resolves(); - const verifyRelease = stub().resolves(); - const addChannel = stub().resolves(); - const prepare = stub().resolves(); - const publish = stub().resolves(); - const success = stub().resolves(); + const verifyConditions = stub().resolves(); + const verifyRelease = stub().resolves(); + const addChannel = stub().resolves(); + const prepare = stub().resolves(); + const publish = stub().resolves(); + const success = stub().resolves(); - const config = { - branches: [{name: '1.x'}, {name: 'master'}], - repositoryUrl, - tagFormat: `v\${version}`, - }; - const options = { - ...config, - verifyConditions, - verifyRelease, - addChannel, - prepare, - publish, - success, - }; + const config = { + branches: [{ name: "1.x" }, { name: "master" }], + repositoryUrl, + tagFormat: `v\${version}`, + }; + const options = { + ...config, + verifyConditions, + verifyRelease, + addChannel, + prepare, + publish, + success, + }; - const env = {}; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({cwd, env})).thenReturn({isCi: true, branch: '1.x', isPr: false}); - const semanticRelease = (await import('../index.js')).default; + const env = {}; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ cwd, env })).thenReturn({ isCi: true, branch: "1.x", isPr: false }); + const semanticRelease = (await import("../index.js")).default; - const error = await t.throwsAsync( - semanticRelease(options, {cwd, env, stdout: {write: () => {}}, stderr: {write: () => {}}}) - ); + const error = await t.throwsAsync( + semanticRelease(options, { cwd, env, stdout: { write: () => {} }, stderr: { write: () => {} } }) + ); - t.is(error.code, 'EINVALIDNEXTVERSION'); - t.is(error.name, 'SemanticReleaseError'); - t.is(error.message, 'The release `1.1.0` on branch `1.x` cannot be published as it is out of range.'); - t.regex(error.details, /A valid branch could be `master`./); -}); + t.is(error.code, "EINVALIDNEXTVERSION"); + t.is(error.name, "SemanticReleaseError"); + t.is(error.message, "The release `1.1.0` on branch `1.x` cannot be published as it is out of range."); + t.regex(error.details, /A valid branch could be `master`./); + } +); test.serial('Throws "EINVALIDNEXTVERSION" if next release is out of range of the current release branch', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['feat: initial commit'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitCheckout('next', true, {cwd}); - await gitCommits(['feat: new feature on next'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: ['next']}), 'v1.1.0', {cwd}); - await gitPush('origin', 'next', {cwd}); - await gitCheckout('next-major', true, {cwd}); - await gitPush('origin', 'next-major', {cwd}); - await gitCheckout('master', false, {cwd}); - await gitCommits(['feat: new feature on master', 'fix: new fix on master'], {cwd}); - await gitPush('origin', 'master', {cwd}); + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["feat: initial commit"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitCheckout("next", true, { cwd }); + await gitCommits(["feat: new feature on next"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: ["next"] }), "v1.1.0", { cwd }); + await gitPush("origin", "next", { cwd }); + await gitCheckout("next-major", true, { cwd }); + await gitPush("origin", "next-major", { cwd }); + await gitCheckout("master", false, { cwd }); + await gitCommits(["feat: new feature on master", "fix: new fix on master"], { cwd }); + await gitPush("origin", "master", { cwd }); const verifyConditions = stub().resolves(); const verifyRelease = stub().resolves(); @@ -1444,7 +1491,7 @@ test.serial('Throws "EINVALIDNEXTVERSION" if next release is out of range of the const success = stub().resolves(); const config = { - branches: [{name: 'master'}, {name: 'next'}, {name: 'next-major'}], + branches: [{ name: "master" }, { name: "next" }, { name: "next-major" }], repositoryUrl, tagFormat: `v\${version}`, }; @@ -1458,41 +1505,41 @@ test.serial('Throws "EINVALIDNEXTVERSION" if next release is out of range of the success, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; const error = await t.throwsAsync( - semanticRelease(options, {cwd, env: {}, stdout: {write: () => {}}, stderr: {write: () => {}}}) + semanticRelease(options, { cwd, env: {}, stdout: { write: () => {} }, stderr: { write: () => {} } }) ); - t.is(error.code, 'EINVALIDNEXTVERSION'); - t.is(error.name, 'SemanticReleaseError'); - t.is(error.message, 'The release `1.1.0` on branch `master` cannot be published as it is out of range.'); + t.is(error.code, "EINVALIDNEXTVERSION"); + t.is(error.name, "SemanticReleaseError"); + t.is(error.message, "The release `1.1.0` on branch `master` cannot be published as it is out of range."); t.regex(error.details, /A valid branch could be `next` or `next-major`./); }); test.serial('Throws "EINVALIDMAINTENANCEMERGE" if merge an out of range release in a maintenance branch', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['First'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: [null, '1.1.x']}), 'v1.0.0', {cwd}); - await gitCommits(['Second'], {cwd}); - await gitTagVersion('v1.1.0', undefined, {cwd}); - await gitAddNote(JSON.stringify({channels: [null, '1.1.x']}), 'v1.1.0', {cwd}); - await gitCheckout('1.1.x', 'master', {cwd}); - await gitPush('origin', '1.1.x', {cwd}); - await gitCheckout('master', false, {cwd}); - await gitCommits(['Third'], {cwd}); - await gitTagVersion('v1.1.1', undefined, {cwd}); - await gitCommits(['Fourth'], {cwd}); - await gitTagVersion('v1.2.0', undefined, {cwd}); - await gitPush('origin', 'master', {cwd}); - await gitCheckout('1.1.x', false, {cwd}); - await merge('master', {cwd}); - await gitPush('origin', '1.1.x', {cwd}); + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["First"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: [null, "1.1.x"] }), "v1.0.0", { cwd }); + await gitCommits(["Second"], { cwd }); + await gitTagVersion("v1.1.0", undefined, { cwd }); + await gitAddNote(JSON.stringify({ channels: [null, "1.1.x"] }), "v1.1.0", { cwd }); + await gitCheckout("1.1.x", "master", { cwd }); + await gitPush("origin", "1.1.x", { cwd }); + await gitCheckout("master", false, { cwd }); + await gitCommits(["Third"], { cwd }); + await gitTagVersion("v1.1.1", undefined, { cwd }); + await gitCommits(["Fourth"], { cwd }); + await gitTagVersion("v1.2.0", undefined, { cwd }); + await gitPush("origin", "master", { cwd }); + await gitCheckout("1.1.x", false, { cwd }); + await merge("master", { cwd }); + await gitPush("origin", "1.1.x", { cwd }); - const notes = 'Release notes'; + const notes = "Release notes"; const verifyConditions = stub().resolves(); const analyzeCommits = stub().resolves(); const verifyRelease = stub().resolves(); @@ -1503,7 +1550,7 @@ test.serial('Throws "EINVALIDMAINTENANCEMERGE" if merge an out of range release const success = stub().resolves(); const fail = stub().resolves(); - const config = {branches: [{name: 'master'}, {name: '1.1.x'}], repositoryUrl, tagFormat: `v\${version}`}; + const config = { branches: [{ name: "master" }, { name: "1.1.x" }], repositoryUrl, tagFormat: `v\${version}` }; const options = { ...config, verifyConditions, @@ -1517,13 +1564,15 @@ test.serial('Throws "EINVALIDMAINTENANCEMERGE" if merge an out of range release fail, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: '1.1.x', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "1.1.x", isPr: false })); + const semanticRelease = (await import("../index.js")).default; const errors = [ - ...(await t.throwsAsync( - semanticRelease(options, {cwd, env: {}, stdout: {write: () => {}}, stderr: {write: () => {}}}) - )).errors, + ...( + await t.throwsAsync( + semanticRelease(options, { cwd, env: {}, stdout: { write: () => {} }, stderr: { write: () => {} } }) + ) + ).errors, ]; t.is(addChannel.callCount, 0); @@ -1535,32 +1584,32 @@ test.serial('Throws "EINVALIDMAINTENANCEMERGE" if merge an out of range release t.is(fail.callCount, 1); t.deepEqual(fail.args[0][1].errors, errors); - t.is(errors[0].code, 'EINVALIDMAINTENANCEMERGE'); - t.is(errors[0].name, 'SemanticReleaseError'); + t.is(errors[0].code, "EINVALIDMAINTENANCEMERGE"); + t.is(errors[0].name, "SemanticReleaseError"); t.truthy(errors[0].message); t.truthy(errors[0].details); }); -test.serial('Returns false value if triggered on an outdated clone', async (t) => { +test.serial("Returns false value if triggered on an outdated clone", async (t) => { // Create a git repository, set the current working directory at the root of the repo - let {cwd, repositoryUrl} = await gitRepo(true); + let { cwd, repositoryUrl } = await gitRepo(true); const repoDir = cwd; // Add commits to the master branch - await gitCommits(['First'], {cwd}); - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["First"], { cwd }); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); cwd = await gitShallowClone(repositoryUrl); - await gitCommits(['Third'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["Third"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.false( await semanticRelease( - {repositoryUrl}, - {cwd: repoDir, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()} + { repositoryUrl }, + { cwd: repoDir, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() } ) ); t.deepEqual(t.context.log.args[t.context.log.args.length - 1], [ @@ -1568,11 +1617,11 @@ test.serial('Returns false value if triggered on an outdated clone', async (t) = ]); }); -test.serial('Returns false if not running from the configured branch', async (t) => { +test.serial("Returns false if not running from the configured branch", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); const options = { - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions: stub().resolves(), analyzeCommits: stub().resolves(), @@ -1585,9 +1634,9 @@ test.serial('Returns false if not running from the configured branch', async (t) fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'other-branch', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "other-branch", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.false( await semanticRelease(options, { @@ -1599,16 +1648,16 @@ test.serial('Returns false if not running from the configured branch', async (t) ); t.is( t.context.log.args[1][0], - 'This test run was triggered on the branch other-branch, while semantic-release is configured to only publish from master, therefore a new version won’t be published.' + "This test run was triggered on the branch other-branch, while semantic-release is configured to only publish from master, therefore a new version won’t be published." ); }); -test.serial('Returns false if there is no relevant changes', async (t) => { +test.serial("Returns false if there is no relevant changes", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["First"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const analyzeCommits = stub().resolves(); const verifyRelease = stub().resolves(); @@ -1616,7 +1665,7 @@ test.serial('Returns false if there is no relevant changes', async (t) => { const publish = stub().resolves(); const options = { - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions: [stub().resolves()], analyzeCommits, @@ -1629,9 +1678,9 @@ test.serial('Returns false if there is no relevant changes', async (t) => { fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.false( await semanticRelease(options, { @@ -1647,30 +1696,30 @@ test.serial('Returns false if there is no relevant changes', async (t) => { t.is(publish.callCount, 0); t.is( t.context.log.args[t.context.log.args.length - 1][0], - 'There are no relevant changes, so no new version is released.' + "There are no relevant changes, so no new version is released." ); }); -test.serial('Exclude commits with [skip release] or [release skip] from analysis', async (t) => { +test.serial("Exclude commits with [skip release] or [release skip] from analysis", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch const commits = await gitCommits( [ - 'Test commit', - 'Test commit [skip release]', - 'Test commit [release skip]', - 'Test commit [Release Skip]', - 'Test commit [Skip Release]', - 'Test commit [skip release]', - 'Test commit\n\n commit body\n[skip release]', - 'Test commit\n\n commit body\n[release skip]', + "Test commit", + "Test commit [skip release]", + "Test commit [release skip]", + "Test commit [Release Skip]", + "Test commit [Skip Release]", + "Test commit [skip release]", + "Test commit\n\n commit body\n[skip release]", + "Test commit\n\n commit body\n[release skip]", ], - {cwd} + { cwd } ); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitPush(repositoryUrl, "master", { cwd }); const analyzeCommits = stub().resolves(); - const config = {branches: ['master'], repositoryUrl, globalOpt: 'global'}; + const config = { branches: ["master"], repositoryUrl, globalOpt: "global" }; const options = { ...config, verifyConditions: [stub().resolves(), stub().resolves()], @@ -1685,10 +1734,10 @@ test.serial('Exclude commits with [skip release] or [release skip] from analysis }; const env = {}; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - const envCi = (await td.replaceEsm('env-ci')).default; - td.when(envCi({env, cwd})).thenReturn({isCi: true, branch: 'master', isPr: false}); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + const envCi = (await td.replaceEsm("env-ci")).default; + td.when(envCi({ env, cwd })).thenReturn({ isCi: true, branch: "master", isPr: false }); + const semanticRelease = (await import("../index.js")).default; await semanticRelease(options, { cwd, env, @@ -1702,89 +1751,94 @@ test.serial('Exclude commits with [skip release] or [release skip] from analysis }); test.serial('Log both plugins errors and errors thrown by "fail" plugin', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - const pluginError = new SemanticReleaseError('Plugin error', 'ERR'); - const failError1 = new Error('Fail error 1'); - const failError2 = new Error('Fail error 2'); + const { cwd, repositoryUrl } = await gitRepo(true); + const pluginError = new SemanticReleaseError("Plugin error", "ERR"); + const failError1 = new Error("Fail error 1"); + const failError2 = new Error("Fail error 2"); const options = { - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions: stub().rejects(pluginError), fail: [stub().rejects(failError1), stub().rejects(failError2)], }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; await t.throwsAsync( - semanticRelease(options, {cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}) + semanticRelease(options, { cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() }) ); - t.is(t.context.error.args[t.context.error.args.length - 1][0], 'ERR Plugin error'); + t.is(t.context.error.args[t.context.error.args.length - 1][0], "ERR Plugin error"); t.is(t.context.error.args[t.context.error.args.length - 3][1], failError1); t.is(t.context.error.args[t.context.error.args.length - 2][1], failError2); }); test.serial('Call "fail" only if a plugin returns a SemanticReleaseError', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - const pluginError = new Error('Plugin error'); + const { cwd, repositoryUrl } = await gitRepo(true); + const pluginError = new Error("Plugin error"); const fail = stub().resolves(); const options = { - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions: stub().rejects(pluginError), fail, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; await t.throwsAsync( - semanticRelease(options, {cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}) + semanticRelease(options, { cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() }) ); t.true(fail.notCalled); t.is(t.context.error.args[t.context.error.args.length - 1][1], pluginError); }); -test.serial('Throw SemanticReleaseError if repositoryUrl is not set and cannot be found from repo config', async (t) => { +test.serial( + "Throw SemanticReleaseError if repositoryUrl is not set and cannot be found from repo config", + async (t) => { + // Create a git repository, set the current working directory at the root of the repo + const { cwd } = await gitRepo(); + + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; + const errors = [ + ...( + await t.throwsAsync( + semanticRelease({}, { cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() }) + ) + ).errors, + ]; + + // Verify error code and type + t.is(errors[0].code, "ENOREPOURL"); + t.is(errors[0].name, "SemanticReleaseError"); + t.truthy(errors[0].message); + t.truthy(errors[0].details); + } +); + +test.serial("Throw an Error if plugin returns an unexpected value", async (t) => { // Create a git repository, set the current working directory at the root of the repo - const {cwd} = await gitRepo(); - - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; - const errors = [ - ...(await t.throwsAsync( - semanticRelease({}, {cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}) - )).errors, - ]; - - // Verify error code and type - t.is(errors[0].code, 'ENOREPOURL'); - t.is(errors[0].name, 'SemanticReleaseError'); - t.truthy(errors[0].message); - t.truthy(errors[0].details); -}); - -test.serial('Throw an Error if plugin returns an unexpected value', async (t) => { - // Create a git repository, set the current working directory at the root of the repo - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); // Add commits to the master branch - await gitCommits(['First'], {cwd}); + await gitCommits(["First"], { cwd }); // Create the tag corresponding to version 1.0.0 - await gitTagVersion('v1.0.0', undefined, {cwd}); + await gitTagVersion("v1.0.0", undefined, { cwd }); // Add new commits to the master branch - await gitCommits(['Second'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + await gitCommits(["Second"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const verifyConditions = stub().resolves(); - const analyzeCommits = stub().resolves('string'); + const analyzeCommits = stub().resolves("string"); const options = { - branches: ['master'], + branches: ["master"], repositoryUrl, verifyConditions: [verifyConditions], analyzeCommits, @@ -1792,28 +1846,28 @@ test.serial('Throw an Error if plugin returns an unexpected value', async (t) => fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; const error = await t.throwsAsync( - semanticRelease(options, {cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}), - {instanceOf: SemanticReleaseError} + semanticRelease(options, { cwd, env: {}, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() }), + { instanceOf: SemanticReleaseError } ); t.regex(error.details, /string/); }); test.serial('Hide sensitive information passed to "fail" plugin', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); + const { cwd, repositoryUrl } = await gitRepo(true); const fail = stub().resolves(); - const env = {MY_TOKEN: 'secret token'}; + const env = { MY_TOKEN: "secret token" }; const options = { - branch: 'master', + branch: "master", repositoryUrl, verifyConditions: stub().throws( new SemanticReleaseError( `Message: Exposing token ${env.MY_TOKEN}`, - 'ERR', + "ERR", `Details: Exposing token ${env.MY_TOKEN}` ) ), @@ -1821,11 +1875,11 @@ test.serial('Hide sensitive information passed to "fail" plugin', async (t) => { fail, }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; await t.throwsAsync( - semanticRelease(options, {cwd, env, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}) + semanticRelease(options, { cwd, env, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() }) ); const error = fail.args[0][1].errors[0]; @@ -1841,16 +1895,16 @@ test.serial('Hide sensitive information passed to "fail" plugin', async (t) => { }); test.serial('Hide sensitive information passed to "success" plugin', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - await gitCommits(['feat: initial release'], {cwd}); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitCommits(['feat: new feature'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); + const { cwd, repositoryUrl } = await gitRepo(true); + await gitCommits(["feat: initial release"], { cwd }); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitCommits(["feat: new feature"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); const success = stub().resolves(); - const env = {MY_TOKEN: 'secret token'}; + const env = { MY_TOKEN: "secret token" }; const options = { - branch: 'master', + branch: "master", repositoryUrl, verifyConditions: false, verifyRelease: false, @@ -1865,10 +1919,10 @@ test.serial('Hide sensitive information passed to "success" plugin', async (t) = fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; - await semanticRelease(options, {cwd, env, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}); + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; + await semanticRelease(options, { cwd, env, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer() }); const release = success.args[0][1].releases[0]; @@ -1882,26 +1936,26 @@ test.serial('Hide sensitive information passed to "success" plugin', async (t) = }); }); -test.serial('Get all commits including the ones not in the shallow clone', async (t) => { - let {cwd, repositoryUrl} = await gitRepo(true); - await gitTagVersion('v1.0.0', undefined, {cwd}); - await gitCommits(['First', 'Second', 'Third'], {cwd}); - await gitPush(repositoryUrl, 'master', {cwd}); +test.serial("Get all commits including the ones not in the shallow clone", async (t) => { + let { cwd, repositoryUrl } = await gitRepo(true); + await gitTagVersion("v1.0.0", undefined, { cwd }); + await gitCommits(["First", "Second", "Third"], { cwd }); + await gitPush(repositoryUrl, "master", { cwd }); cwd = await gitShallowClone(repositoryUrl); const nextRelease = { - name: 'v2.0.0', - type: 'major', - version: '2.0.0', - gitHead: await getGitHead({cwd}), - gitTag: 'v2.0.0', + name: "v2.0.0", + type: "major", + version: "2.0.0", + gitHead: await getGitHead({ cwd }), + gitTag: "v2.0.0", channel: undefined, }; - const notes = 'Release notes'; + const notes = "Release notes"; const analyzeCommits = stub().resolves(nextRelease.type); - const config = {branches: ['master'], repositoryUrl, globalOpt: 'global'}; + const config = { branches: ["master"], repositoryUrl, globalOpt: "global" }; const options = { ...config, verifyConditions: stub().resolves(), @@ -1914,9 +1968,9 @@ test.serial('Get all commits including the ones not in the shallow clone', async fail: stub().resolves(), }; - await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger); - await td.replaceEsm('env-ci', null, () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; + await td.replaceEsm("../lib/get-logger.js", null, () => t.context.logger); + await td.replaceEsm("env-ci", null, () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; t.truthy( await semanticRelease(options, { cwd, diff --git a/test/integration.test.js b/test/integration.test.js index 5be47d6c..47f67117 100644 --- a/test/integration.test.js +++ b/test/integration.test.js @@ -1,14 +1,14 @@ -import path from 'path'; -import test from 'ava'; -import * as td from 'testdouble'; -import {escapeRegExp} from 'lodash-es'; -import fsExtra from 'fs-extra'; -import {execa} from 'execa'; -import {WritableStreamBuffer} from 'stream-buffers'; -import delay from 'delay'; +import path from "path"; +import test from "ava"; +import * as td from "testdouble"; +import { escapeRegExp } from "lodash-es"; +import fsExtra from "fs-extra"; +import { execa } from "execa"; +import { WritableStreamBuffer } from "stream-buffers"; +import delay from "delay"; -import getAuthUrl from '../lib/get-git-auth-url.js'; -import {SECRET_REPLACEMENT} from '../lib/definitions/constants.js'; +import getAuthUrl from "../lib/get-git-auth-url.js"; +import { SECRET_REPLACEMENT } from "../lib/definitions/constants.js"; import { gitCheckout, gitCommits, @@ -18,27 +18,27 @@ import { gitRemoteTagHead, gitRepo, gitTagHead, - merge -} from './helpers/git-utils.js'; -import {npmView} from './helpers/npm-utils.js'; -import * as gitbox from './helpers/gitbox.js'; -import * as mockServer from './helpers/mockserver.js'; -import * as npmRegistry from './helpers/npm-registry.js'; + merge, +} from "./helpers/git-utils.js"; +import { npmView } from "./helpers/npm-utils.js"; +import * as gitbox from "./helpers/gitbox.js"; +import * as mockServer from "./helpers/mockserver.js"; +import * as npmRegistry from "./helpers/npm-registry.js"; -const {readJson, writeJson} = fsExtra; +const { readJson, writeJson } = fsExtra; /* eslint camelcase: ["error", {properties: "never"}] */ // Environment variables used with semantic-release cli (similar to what a user would setup) -const {GITHUB_ACTION, GITHUB_TOKEN, ...processEnvWithoutGitHubActionsVariables} = process.env; +const { GITHUB_ACTION, GITHUB_TOKEN, ...processEnvWithoutGitHubActionsVariables } = process.env; const env = { ...processEnvWithoutGitHubActionsVariables, ...npmRegistry.authEnv, - CI: 'true', + CI: "true", GH_TOKEN: gitbox.gitCredential, - TRAVIS: 'true', - TRAVIS_BRANCH: 'master', - TRAVIS_PULL_REQUEST: 'false', + TRAVIS: "true", + TRAVIS_BRANCH: "master", + TRAVIS_PULL_REQUEST: "false", GITHUB_API_URL: mockServer.url, }; @@ -47,13 +47,13 @@ const npmTestEnv = { ...process.env, ...npmRegistry.authEnv, npm_config_registry: npmRegistry.url, - LEGACY_TOKEN: Buffer.from(`${env.NPM_USERNAME}:${env.NPM_PASSWORD}`, 'utf8').toString('base64'), + LEGACY_TOKEN: Buffer.from(`${env.NPM_USERNAME}:${env.NPM_PASSWORD}`, "utf8").toString("base64"), }; -const cli = path.resolve('./bin/semantic-release.js'); -const pluginError = path.resolve('./test/fixtures/plugin-error'); -const pluginInheritedError = path.resolve('./test/fixtures/plugin-error-inherited'); -const pluginLogEnv = path.resolve('./test/fixtures/plugin-log-env'); +const cli = path.resolve("./bin/semantic-release.js"); +const pluginError = path.resolve("./test/fixtures/plugin-error"); +const pluginInheritedError = path.resolve("./test/fixtures/plugin-error-inherited"); +const pluginLogEnv = path.resolve("./test/fixtures/plugin-log-env"); test.before(async () => { await Promise.all([gitbox.start(), npmRegistry.start(), mockServer.start()]); @@ -63,231 +63,231 @@ test.after.always(async () => { await Promise.all([gitbox.stop(), npmRegistry.stop(), mockServer.stop()]); }); -test('Release patch, minor and major versions', async (t) => { - const packageName = 'test-release'; - const owner = 'git'; +test("Release patch, minor and major versions", async (t) => { + const packageName = "test-release"; + const owner = "git"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository and package.json'); - const {cwd, repositoryUrl, authUrl} = await gitbox.createRepo(packageName); + t.log("Create git repository and package.json"); + const { cwd, repositoryUrl, authUrl } = await gitbox.createRepo(packageName); // Create package.json in repository root - await writeJson(path.resolve(cwd, 'package.json'), { + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: repositoryUrl}, - publishConfig: {registry: npmRegistry.url}, - release: {branches: ['master', 'next'], success: false, fail: false}, + version: "0.0.0-dev", + repository: { url: repositoryUrl }, + publishConfig: { registry: npmRegistry.url }, + release: { branches: ["master", "next"], success: false, fail: false }, }); // Create a npm-shrinkwrap.json file - await execa('npm', ['shrinkwrap'], {env: npmTestEnv, cwd, extendEnv: false}); + await execa("npm", ["shrinkwrap"], { env: npmTestEnv, cwd, extendEnv: false }); /* No release */ let verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); - t.log('Commit a chore'); - await gitCommits(['chore: Init repository'], {cwd}); - t.log('$ semantic-release'); - let {stdout, exitCode} = await execa(cli, [], {env, cwd, extendEnv: false}); + t.log("Commit a chore"); + await gitCommits(["chore: Init repository"], { cwd }); + t.log("$ semantic-release"); + let { stdout, exitCode } = await execa(cli, [], { env, cwd, extendEnv: false }); t.regex(stdout, /There are no relevant changes, so no new version is released/); t.is(exitCode, 0); /* Initial release */ - let version = '1.0.0'; + let version = "1.0.0"; verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); let createReleaseMock = await mockServer.mock( `/repos/${owner}/${packageName}/releases`, { - body: {tag_name: `v${version}`, name: `v${version}`}, - headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}], + body: { tag_name: `v${version}`, name: `v${version}` }, + headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }], }, - {body: {html_url: `release-url/${version}`}} + { body: { html_url: `release-url/${version}` } } ); - t.log('Commit a feature'); - await gitCommits(['feat: Initial commit'], {cwd}); - t.log('$ semantic-release'); - ({stdout, exitCode} = await execa(cli, [], {env, cwd, extendEnv: false})); + t.log("Commit a feature"); + await gitCommits(["feat: Initial commit"], { cwd }); + t.log("$ semantic-release"); + ({ stdout, exitCode } = await execa(cli, [], { env, cwd, extendEnv: false })); t.regex(stdout, new RegExp(`Published GitHub release: release-url/${version}`)); t.regex(stdout, new RegExp(`Publishing version ${version} to npm registry`)); t.is(exitCode, 0); // Verify package.json and npm-shrinkwrap.json have been updated - t.is((await readJson(path.resolve(cwd, 'package.json'))).version, version); - t.is((await readJson(path.resolve(cwd, 'npm-shrinkwrap.json'))).version, version); + t.is((await readJson(path.resolve(cwd, "package.json"))).version, version); + t.is((await readJson(path.resolve(cwd, "npm-shrinkwrap.json"))).version, version); // Retrieve the published package from the registry and check version and gitHead let { - 'dist-tags': {latest: releasedVersion}, + "dist-tags": { latest: releasedVersion }, } = await npmView(packageName, npmTestEnv); - let head = await gitHead({cwd}); + let head = await gitHead({ cwd }); t.is(releasedVersion, version); - t.is(await gitTagHead(`v${version}`, {cwd}), head); - t.is(await gitRemoteTagHead(authUrl, `v${version}`, {cwd}), head); + t.is(await gitTagHead(`v${version}`, { cwd }), head); + t.is(await gitRemoteTagHead(authUrl, `v${version}`, { cwd }), head); t.log(`+ released ${releasedVersion}`); await mockServer.verify(verifyMock); await mockServer.verify(createReleaseMock); /* Patch release */ - version = '1.0.1'; + version = "1.0.1"; verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); createReleaseMock = await mockServer.mock( `/repos/${owner}/${packageName}/releases`, { - body: {tag_name: `v${version}`, name: `v${version}`}, - headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}], + body: { tag_name: `v${version}`, name: `v${version}` }, + headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }], }, - {body: {html_url: `release-url/${version}`}} + { body: { html_url: `release-url/${version}` } } ); - t.log('Commit a fix'); - await gitCommits(['fix: bar'], {cwd}); - t.log('$ semantic-release'); - ({stdout, exitCode} = await execa(cli, [], {env, cwd, extendEnv: false})); + t.log("Commit a fix"); + await gitCommits(["fix: bar"], { cwd }); + t.log("$ semantic-release"); + ({ stdout, exitCode } = await execa(cli, [], { env, cwd, extendEnv: false })); t.regex(stdout, new RegExp(`Published GitHub release: release-url/${version}`)); t.regex(stdout, new RegExp(`Publishing version ${version} to npm registry`)); t.is(exitCode, 0); // Verify package.json and npm-shrinkwrap.json have been updated - t.is((await readJson(path.resolve(cwd, 'package.json'))).version, version); - t.is((await readJson(path.resolve(cwd, 'npm-shrinkwrap.json'))).version, version); + t.is((await readJson(path.resolve(cwd, "package.json"))).version, version); + t.is((await readJson(path.resolve(cwd, "npm-shrinkwrap.json"))).version, version); // Retrieve the published package from the registry and check version and gitHead ({ - 'dist-tags': {latest: releasedVersion}, + "dist-tags": { latest: releasedVersion }, } = await npmView(packageName, npmTestEnv)); - head = await gitHead({cwd}); + head = await gitHead({ cwd }); t.is(releasedVersion, version); - t.is(await gitTagHead(`v${version}`, {cwd}), head); - t.is(await gitRemoteTagHead(authUrl, `v${version}`, {cwd}), head); + t.is(await gitTagHead(`v${version}`, { cwd }), head); + t.is(await gitRemoteTagHead(authUrl, `v${version}`, { cwd }), head); t.log(`+ released ${releasedVersion}`); await mockServer.verify(verifyMock); await mockServer.verify(createReleaseMock); /* Minor release */ - version = '1.1.0'; + version = "1.1.0"; verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); createReleaseMock = await mockServer.mock( `/repos/${owner}/${packageName}/releases`, { - body: {tag_name: `v${version}`, name: `v${version}`}, - headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}], + body: { tag_name: `v${version}`, name: `v${version}` }, + headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }], }, - {body: {html_url: `release-url/${version}`}} + { body: { html_url: `release-url/${version}` } } ); - t.log('Commit a feature'); - await gitCommits(['feat: baz'], {cwd}); - t.log('$ semantic-release'); - ({stdout, exitCode} = await execa(cli, [], {env, cwd, extendEnv: false})); + t.log("Commit a feature"); + await gitCommits(["feat: baz"], { cwd }); + t.log("$ semantic-release"); + ({ stdout, exitCode } = await execa(cli, [], { env, cwd, extendEnv: false })); t.regex(stdout, new RegExp(`Published GitHub release: release-url/${version}`)); t.regex(stdout, new RegExp(`Publishing version ${version} to npm registry`)); t.is(exitCode, 0); // Verify package.json and npm-shrinkwrap.json have been updated - t.is((await readJson(path.resolve(cwd, 'package.json'))).version, version); - t.is((await readJson(path.resolve(cwd, 'npm-shrinkwrap.json'))).version, version); + t.is((await readJson(path.resolve(cwd, "package.json"))).version, version); + t.is((await readJson(path.resolve(cwd, "npm-shrinkwrap.json"))).version, version); // Retrieve the published package from the registry and check version and gitHead ({ - 'dist-tags': {latest: releasedVersion}, + "dist-tags": { latest: releasedVersion }, } = await npmView(packageName, npmTestEnv)); - head = await gitHead({cwd}); + head = await gitHead({ cwd }); t.is(releasedVersion, version); - t.is(await gitTagHead(`v${version}`, {cwd}), head); - t.is(await gitRemoteTagHead(authUrl, `v${version}`, {cwd}), head); + t.is(await gitTagHead(`v${version}`, { cwd }), head); + t.is(await gitRemoteTagHead(authUrl, `v${version}`, { cwd }), head); t.log(`+ released ${releasedVersion}`); await mockServer.verify(verifyMock); await mockServer.verify(createReleaseMock); /* Major release on next */ - version = '2.0.0'; + version = "2.0.0"; verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); createReleaseMock = await mockServer.mock( `/repos/${owner}/${packageName}/releases`, { - body: {tag_name: `v${version}`, name: `v${version}`}, - headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}], + body: { tag_name: `v${version}`, name: `v${version}` }, + headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }], }, - {body: {html_url: `release-url/${version}`}} + { body: { html_url: `release-url/${version}` } } ); - t.log('Commit a breaking change on next'); - await gitCheckout('next', true, {cwd}); - await gitPush('origin', 'next', {cwd}); - await gitCommits(['feat: foo\n\n BREAKING CHANGE: bar'], {cwd}); - t.log('$ semantic-release'); - ({stdout, exitCode} = await execa(cli, [], {env: {...env, TRAVIS_BRANCH: 'next'}, cwd, extendEnv: false})); + t.log("Commit a breaking change on next"); + await gitCheckout("next", true, { cwd }); + await gitPush("origin", "next", { cwd }); + await gitCommits(["feat: foo\n\n BREAKING CHANGE: bar"], { cwd }); + t.log("$ semantic-release"); + ({ stdout, exitCode } = await execa(cli, [], { env: { ...env, TRAVIS_BRANCH: "next" }, cwd, extendEnv: false })); t.regex(stdout, new RegExp(`Published GitHub release: release-url/${version}`)); t.regex(stdout, new RegExp(`Publishing version ${version} to npm registry`)); t.is(exitCode, 0); // Verify package.json and npm-shrinkwrap.json have been updated - t.is((await readJson(path.resolve(cwd, 'package.json'))).version, version); - t.is((await readJson(path.resolve(cwd, 'npm-shrinkwrap.json'))).version, version); + t.is((await readJson(path.resolve(cwd, "package.json"))).version, version); + t.is((await readJson(path.resolve(cwd, "npm-shrinkwrap.json"))).version, version); // Retrieve the published package from the registry and check version and gitHead ({ - 'dist-tags': {next: releasedVersion}, + "dist-tags": { next: releasedVersion }, } = await npmView(packageName, npmTestEnv)); - head = await gitHead({cwd}); + head = await gitHead({ cwd }); t.is(releasedVersion, version); - t.is(await gitGetNote(`v${version}`, {cwd}), '{"channels":["next"]}'); - t.is(await gitTagHead(`v${version}`, {cwd}), head); - t.is(await gitRemoteTagHead(authUrl, `v${version}`, {cwd}), head); + t.is(await gitGetNote(`v${version}`, { cwd }), '{"channels":["next"]}'); + t.is(await gitTagHead(`v${version}`, { cwd }), head); + t.is(await gitRemoteTagHead(authUrl, `v${version}`, { cwd }), head); t.log(`+ released ${releasedVersion} on @next`); await mockServer.verify(verifyMock); await mockServer.verify(createReleaseMock); /* Merge next into master */ - version = '2.0.0'; + version = "2.0.0"; const releaseId = 1; verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); const getReleaseMock = await mockServer.mock( `/repos/${owner}/${packageName}/releases/tags/v2.0.0`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {id: releaseId}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { id: releaseId }, method: "GET" } ); const updateReleaseMock = await mockServer.mock( `/repos/${owner}/${packageName}/releases/${releaseId}`, { - body: {name: `v${version}`, prerelease: false}, - headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}], + body: { name: `v${version}`, prerelease: false }, + headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }], }, - {body: {html_url: `release-url/${version}`}, method: 'PATCH'} + { body: { html_url: `release-url/${version}` }, method: "PATCH" } ); - t.log('Merge next into master'); - await gitCheckout('master', false, {cwd}); - await merge('next', {cwd}); - await gitPush('origin', 'master', {cwd}); - t.log('$ semantic-release'); - ({stdout, exitCode} = await execa(cli, [], {env, cwd, extendEnv: false})); + t.log("Merge next into master"); + await gitCheckout("master", false, { cwd }); + await merge("next", { cwd }); + await gitPush("origin", "master", { cwd }); + t.log("$ semantic-release"); + ({ stdout, exitCode } = await execa(cli, [], { env, cwd, extendEnv: false })); t.regex(stdout, new RegExp(`Updated GitHub release: release-url/${version}`)); t.regex(stdout, new RegExp(`Adding version ${version} to npm registry on dist-tag latest`)); t.is(exitCode, 0); @@ -296,12 +296,15 @@ test('Release patch, minor and major versions', async (t) => { await delay(3000); // Retrieve the published package from the registry and check version and gitHead ({ - 'dist-tags': {latest: releasedVersion}, + "dist-tags": { latest: releasedVersion }, } = await npmView(packageName, npmTestEnv)); t.is(releasedVersion, version); - t.is(await gitGetNote(`v${version}`, {cwd}), '{"channels":["next",null]}'); - t.is(await gitTagHead(`v${version}`, {cwd}), await gitTagHead(`v${version}`, {cwd})); - t.is(await gitRemoteTagHead(authUrl, `v${version}`, {cwd}), await gitRemoteTagHead(authUrl, `v${version}`, {cwd})); + t.is(await gitGetNote(`v${version}`, { cwd }), '{"channels":["next",null]}'); + t.is(await gitTagHead(`v${version}`, { cwd }), await gitTagHead(`v${version}`, { cwd })); + t.is( + await gitRemoteTagHead(authUrl, `v${version}`, { cwd }), + await gitRemoteTagHead(authUrl, `v${version}`, { cwd }) + ); t.log(`+ added ${releasedVersion}`); await mockServer.verify(verifyMock); @@ -309,221 +312,221 @@ test('Release patch, minor and major versions', async (t) => { await mockServer.verify(updateReleaseMock); }); -test('Exit with 1 if a plugin is not found', async (t) => { - const packageName = 'test-plugin-not-found'; - const owner = 'test-repo'; +test("Exit with 1 if a plugin is not found", async (t) => { + const packageName = "test-plugin-not-found"; + const owner = "test-repo"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository'); - const {cwd} = await gitRepo(); - await writeJson(path.resolve(cwd, 'package.json'), { + t.log("Create git repository"); + const { cwd } = await gitRepo(); + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: `git+https://github.com/${owner}/${packageName}`}, - release: {analyzeCommits: 'non-existing-path', success: false, fail: false}, + version: "0.0.0-dev", + repository: { url: `git+https://github.com/${owner}/${packageName}` }, + release: { analyzeCommits: "non-existing-path", success: false, fail: false }, }); - const {exitCode, stderr} = await t.throwsAsync(execa(cli, [], {env, cwd, extendEnv: false})); + const { exitCode, stderr } = await t.throwsAsync(execa(cli, [], { env, cwd, extendEnv: false })); t.is(exitCode, 1); t.regex(stderr, /Cannot find module/); }); -test('Exit with 1 if a shareable config is not found', async (t) => { - const packageName = 'test-config-not-found'; - const owner = 'test-repo'; +test("Exit with 1 if a shareable config is not found", async (t) => { + const packageName = "test-config-not-found"; + const owner = "test-repo"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository'); - const {cwd} = await gitRepo(); - await writeJson(path.resolve(cwd, 'package.json'), { + t.log("Create git repository"); + const { cwd } = await gitRepo(); + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: `git+https://github.com/${owner}/${packageName}`}, - release: {extends: 'non-existing-path', success: false, fail: false}, + version: "0.0.0-dev", + repository: { url: `git+https://github.com/${owner}/${packageName}` }, + release: { extends: "non-existing-path", success: false, fail: false }, }); - const {exitCode, stderr} = await t.throwsAsync(execa(cli, [], {env, cwd, extendEnv: false})); + const { exitCode, stderr } = await t.throwsAsync(execa(cli, [], { env, cwd, extendEnv: false })); t.is(exitCode, 1); t.regex(stderr, /Cannot find module/); }); -test('Exit with 1 if a shareable config reference a not found plugin', async (t) => { - const packageName = 'test-config-ref-not-found'; - const owner = 'test-repo'; - const shareable = {analyzeCommits: 'non-existing-path'}; +test("Exit with 1 if a shareable config reference a not found plugin", async (t) => { + const packageName = "test-config-ref-not-found"; + const owner = "test-repo"; + const shareable = { analyzeCommits: "non-existing-path" }; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository'); - const {cwd} = await gitRepo(); - await writeJson(path.resolve(cwd, 'package.json'), { + t.log("Create git repository"); + const { cwd } = await gitRepo(); + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: `git+https://github.com/${owner}/${packageName}`}, - release: {extends: './shareable.json', success: false, fail: false}, + version: "0.0.0-dev", + repository: { url: `git+https://github.com/${owner}/${packageName}` }, + release: { extends: "./shareable.json", success: false, fail: false }, }); - await writeJson(path.resolve(cwd, 'shareable.json'), shareable); + await writeJson(path.resolve(cwd, "shareable.json"), shareable); - const {exitCode, stderr} = await t.throwsAsync(execa(cli, [], {env, cwd, extendEnv: false})); + const { exitCode, stderr } = await t.throwsAsync(execa(cli, [], { env, cwd, extendEnv: false })); t.is(exitCode, 1); t.regex(stderr, /Cannot find module/); }); -test('Dry-run', async (t) => { - const packageName = 'test-dry-run'; - const owner = 'git'; +test("Dry-run", async (t) => { + const packageName = "test-dry-run"; + const owner = "git"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository and package.json'); - const {cwd, repositoryUrl} = await gitbox.createRepo(packageName); + t.log("Create git repository and package.json"); + const { cwd, repositoryUrl } = await gitbox.createRepo(packageName); // Create package.json in repository root - await writeJson(path.resolve(cwd, 'package.json'), { + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: repositoryUrl}, - publishConfig: {registry: npmRegistry.url}, - release: {success: false, fail: false}, + version: "0.0.0-dev", + repository: { url: repositoryUrl }, + publishConfig: { registry: npmRegistry.url }, + release: { success: false, fail: false }, }); /* Initial release */ const verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); - const version = '1.0.0'; - t.log('Commit a feature'); - await gitCommits(['feat: Initial commit'], {cwd}); - t.log('$ semantic-release -d'); - const {stdout, exitCode} = await execa(cli, ['-d'], {env, cwd, extendEnv: false}); + const version = "1.0.0"; + t.log("Commit a feature"); + await gitCommits(["feat: Initial commit"], { cwd }); + t.log("$ semantic-release -d"); + const { stdout, exitCode } = await execa(cli, ["-d"], { env, cwd, extendEnv: false }); t.regex(stdout, new RegExp(`There is no previous release, the next release version is ${version}`)); t.regex(stdout, new RegExp(`Release note for version ${version}`)); t.regex(stdout, /Initial commit/); t.is(exitCode, 0); // Verify package.json and has not been modified - t.is((await readJson(path.resolve(cwd, 'package.json'))).version, '0.0.0-dev'); + t.is((await readJson(path.resolve(cwd, "package.json"))).version, "0.0.0-dev"); await mockServer.verify(verifyMock); }); test('Allow local releases with "noCi" option', async (t) => { - const envNoCi = {...env}; + const envNoCi = { ...env }; delete envNoCi.CI; - const packageName = 'test-no-ci'; - const owner = 'git'; + const packageName = "test-no-ci"; + const owner = "git"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository and package.json'); - const {cwd, repositoryUrl, authUrl} = await gitbox.createRepo(packageName); + t.log("Create git repository and package.json"); + const { cwd, repositoryUrl, authUrl } = await gitbox.createRepo(packageName); // Create package.json in repository root - await writeJson(path.resolve(cwd, 'package.json'), { + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: repositoryUrl}, - publishConfig: {registry: npmRegistry.url}, - release: {success: false, fail: false}, + version: "0.0.0-dev", + repository: { url: repositoryUrl }, + publishConfig: { registry: npmRegistry.url }, + release: { success: false, fail: false }, }); /* Initial release */ - const version = '1.0.0'; + const version = "1.0.0"; const verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); const createReleaseMock = await mockServer.mock( `/repos/${owner}/${packageName}/releases`, { - body: {tag_name: `v${version}`, name: `v${version}`}, - headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}], + body: { tag_name: `v${version}`, name: `v${version}` }, + headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }], }, - {body: {html_url: `release-url/${version}`}} + { body: { html_url: `release-url/${version}` } } ); - t.log('Commit a feature'); - await gitCommits(['feat: Initial commit'], {cwd}); - t.log('$ semantic-release --no-ci'); - const {stdout, exitCode} = await execa(cli, ['--no-ci'], {env: envNoCi, cwd, extendEnv: false}); + t.log("Commit a feature"); + await gitCommits(["feat: Initial commit"], { cwd }); + t.log("$ semantic-release --no-ci"); + const { stdout, exitCode } = await execa(cli, ["--no-ci"], { env: envNoCi, cwd, extendEnv: false }); t.regex(stdout, new RegExp(`Published GitHub release: release-url/${version}`)); t.regex(stdout, new RegExp(`Publishing version ${version} to npm registry`)); t.is(exitCode, 0); // Verify package.json and has been updated - t.is((await readJson(path.resolve(cwd, 'package.json'))).version, version); + t.is((await readJson(path.resolve(cwd, "package.json"))).version, version); // Retrieve the published package from the registry and check version and gitHead - const {version: releasedVersion, gitHead: releasedGitHead} = await npmView(packageName, npmTestEnv); + const { version: releasedVersion, gitHead: releasedGitHead } = await npmView(packageName, npmTestEnv); - const head = await gitHead({cwd}); + const head = await gitHead({ cwd }); t.is(releasedVersion, version); t.is(releasedGitHead, head); - t.is(await gitTagHead(`v${version}`, {cwd}), head); - t.is(await gitRemoteTagHead(authUrl, `v${version}`, {cwd}), head); + t.is(await gitTagHead(`v${version}`, { cwd }), head); + t.is(await gitRemoteTagHead(authUrl, `v${version}`, { cwd }), head); t.log(`+ released ${releasedVersion} with head ${releasedGitHead}`); await mockServer.verify(verifyMock); await mockServer.verify(createReleaseMock); }); -test('Pass options via CLI arguments', async (t) => { - const packageName = 'test-cli'; +test("Pass options via CLI arguments", async (t) => { + const packageName = "test-cli"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository and package.json'); - const {cwd, repositoryUrl, authUrl} = await gitbox.createRepo(packageName); + t.log("Create git repository and package.json"); + const { cwd, repositoryUrl, authUrl } = await gitbox.createRepo(packageName); // Create package.json in repository root - await writeJson(path.resolve(cwd, 'package.json'), { + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: repositoryUrl}, - publishConfig: {registry: npmRegistry.url}, + version: "0.0.0-dev", + repository: { url: repositoryUrl }, + publishConfig: { registry: npmRegistry.url }, }); /* Initial release */ - const version = '1.0.0'; - t.log('Commit a feature'); - await gitCommits(['feat: Initial commit'], {cwd}); - t.log('$ semantic-release'); - const {stdout, exitCode} = await execa( + const version = "1.0.0"; + t.log("Commit a feature"); + await gitCommits(["feat: Initial commit"], { cwd }); + t.log("$ semantic-release"); + const { stdout, exitCode } = await execa( cli, [ - '--verify-conditions', - '@semantic-release/npm', - '--publish', - '@semantic-release/npm', + "--verify-conditions", + "@semantic-release/npm", + "--publish", + "@semantic-release/npm", `--success`, false, `--fail`, false, - '--debug', + "--debug", ], - {env, cwd, extendEnv: false} + { env, cwd, extendEnv: false } ); t.regex(stdout, new RegExp(`Publishing version ${version} to npm registry`)); t.is(exitCode, 0); // Verify package.json and has been updated - t.is((await readJson(path.resolve(cwd, 'package.json'))).version, version); + t.is((await readJson(path.resolve(cwd, "package.json"))).version, version); // Retrieve the published package from the registry and check version and gitHead - const {version: releasedVersion, gitHead: releasedGitHead} = await npmView(packageName, npmTestEnv); - const head = await gitHead({cwd}); + const { version: releasedVersion, gitHead: releasedGitHead } = await npmView(packageName, npmTestEnv); + const head = await gitHead({ cwd }); t.is(releasedVersion, version); t.is(releasedGitHead, head); - t.is(await gitTagHead(`v${version}`, {cwd}), head); - t.is(await gitRemoteTagHead(authUrl, `v${version}`, {cwd}), head); + t.is(await gitTagHead(`v${version}`, { cwd }), head); + t.is(await gitRemoteTagHead(authUrl, `v${version}`, { cwd }), head); t.log(`+ released ${releasedVersion} with head ${releasedGitHead}`); }); -test('Run via JS API', async (t) => { - td.replace('../lib/logger', {log: () => {}, error: () => {}, stdout: () => {}}); - td.replace('env-ci', () => ({isCi: true, branch: 'master', isPr: false})); - const semanticRelease = (await import('../index.js')).default; - const packageName = 'test-js-api'; - const owner = 'git'; +test("Run via JS API", async (t) => { + td.replace("../lib/logger", { log: () => {}, error: () => {}, stdout: () => {} }); + td.replace("env-ci", () => ({ isCi: true, branch: "master", isPr: false })); + const semanticRelease = (await import("../index.js")).default; + const packageName = "test-js-api"; + const owner = "git"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository and package.json'); - const {cwd, repositoryUrl, authUrl} = await gitbox.createRepo(packageName); + t.log("Create git repository and package.json"); + const { cwd, repositoryUrl, authUrl } = await gitbox.createRepo(packageName); // Create package.json in repository root - await writeJson(path.resolve(cwd, 'package.json'), { + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: repositoryUrl}, - publishConfig: {registry: npmRegistry.url}, + version: "0.0.0-dev", + repository: { url: repositoryUrl }, + publishConfig: { registry: npmRegistry.url }, release: { fail: false, success: false, @@ -531,60 +534,65 @@ test('Run via JS API', async (t) => { }); /* Initial release */ - const version = '1.0.0'; + const version = "1.0.0"; const verifyMock = await mockServer.mock( `/repos/${owner}/${packageName}`, - {headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}]}, - {body: {permissions: {push: true}}, method: 'GET'} + { headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }] }, + { body: { permissions: { push: true } }, method: "GET" } ); const createReleaseMock = await mockServer.mock( `/repos/${owner}/${packageName}/releases`, { - body: {tag_name: `v${version}`, name: `v${version}`}, - headers: [{name: 'Authorization', values: [`token ${env.GH_TOKEN}`]}], + body: { tag_name: `v${version}`, name: `v${version}` }, + headers: [{ name: "Authorization", values: [`token ${env.GH_TOKEN}`] }], }, - {body: {html_url: `release-url/${version}`}} + { body: { html_url: `release-url/${version}` } } ); - t.log('Commit a feature'); - await gitCommits(['feat: Initial commit'], {cwd}); - t.log('$ Call semantic-release via API'); - await semanticRelease(undefined, {cwd, env, stdout: new WritableStreamBuffer(), stderr: new WritableStreamBuffer()}); + t.log("Commit a feature"); + await gitCommits(["feat: Initial commit"], { cwd }); + t.log("$ Call semantic-release via API"); + await semanticRelease(undefined, { + cwd, + env, + stdout: new WritableStreamBuffer(), + stderr: new WritableStreamBuffer(), + }); // Verify package.json and has been updated - t.is((await readJson(path.resolve(cwd, 'package.json'))).version, version); + t.is((await readJson(path.resolve(cwd, "package.json"))).version, version); // Retrieve the published package from the registry and check version and gitHead - const {version: releasedVersion, gitHead: releasedGitHead} = await npmView(packageName, npmTestEnv); - const head = await gitHead({cwd}); + const { version: releasedVersion, gitHead: releasedGitHead } = await npmView(packageName, npmTestEnv); + const head = await gitHead({ cwd }); t.is(releasedVersion, version); t.is(releasedGitHead, head); - t.is(await gitTagHead(`v${version}`, {cwd}), head); - t.is(await gitRemoteTagHead(authUrl, `v${version}`, {cwd}), head); + t.is(await gitTagHead(`v${version}`, { cwd }), head); + t.is(await gitRemoteTagHead(authUrl, `v${version}`, { cwd }), head); t.log(`+ released ${releasedVersion} with head ${releasedGitHead}`); await mockServer.verify(verifyMock); await mockServer.verify(createReleaseMock); }); -test('Log unexpected errors from plugins and exit with 1', async (t) => { - const packageName = 'test-unexpected-error'; +test("Log unexpected errors from plugins and exit with 1", async (t) => { + const packageName = "test-unexpected-error"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository and package.json'); - const {cwd, repositoryUrl} = await gitbox.createRepo(packageName); + t.log("Create git repository and package.json"); + const { cwd, repositoryUrl } = await gitbox.createRepo(packageName); // Create package.json in repository root - await writeJson(path.resolve(cwd, 'package.json'), { + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: repositoryUrl}, - release: {verifyConditions: pluginError, fail: false, success: false}, + version: "0.0.0-dev", + repository: { url: repositoryUrl }, + release: { verifyConditions: pluginError, fail: false, success: false }, }); /* Initial release */ - t.log('Commit a feature'); - await gitCommits(['feat: Initial commit'], {cwd}); - t.log('$ semantic-release'); - const {stderr, exitCode} = await execa(cli, [], {env, cwd, reject: false, extendEnv: false}); + t.log("Commit a feature"); + await gitCommits(["feat: Initial commit"], { cwd }); + t.log("$ semantic-release"); + const { stderr, exitCode } = await execa(cli, [], { env, cwd, reject: false, extendEnv: false }); // Verify the type and message are logged t.regex(stderr, /Error: a/); // Verify the the stacktrace is logged @@ -594,66 +602,66 @@ test('Log unexpected errors from plugins and exit with 1', async (t) => { t.is(exitCode, 1); }); -test('Log errors inheriting SemanticReleaseError and exit with 1', async (t) => { - const packageName = 'test-inherited-error'; +test("Log errors inheriting SemanticReleaseError and exit with 1", async (t) => { + const packageName = "test-inherited-error"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository and package.json'); - const {cwd, repositoryUrl} = await gitbox.createRepo(packageName); + t.log("Create git repository and package.json"); + const { cwd, repositoryUrl } = await gitbox.createRepo(packageName); // Create package.json in repository root - await writeJson(path.resolve(cwd, 'package.json'), { + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: repositoryUrl}, - release: {verifyConditions: pluginInheritedError, fail: false, success: false}, + version: "0.0.0-dev", + repository: { url: repositoryUrl }, + release: { verifyConditions: pluginInheritedError, fail: false, success: false }, }); /* Initial release */ - t.log('Commit a feature'); - await gitCommits(['feat: Initial commit'], {cwd}); - t.log('$ semantic-release'); - const {stderr, exitCode} = await execa(cli, [], {env, cwd, reject: false, extendEnv: false}); + t.log("Commit a feature"); + await gitCommits(["feat: Initial commit"], { cwd }); + t.log("$ semantic-release"); + const { stderr, exitCode } = await execa(cli, [], { env, cwd, reject: false, extendEnv: false }); // Verify the type and message are logged t.regex(stderr, /EINHERITED Inherited error/); t.is(exitCode, 1); }); -test('Exit with 1 if missing permission to push to the remote repository', async (t) => { - const packageName = 'unauthorized'; +test("Exit with 1 if missing permission to push to the remote repository", async (t) => { + const packageName = "unauthorized"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository'); - const {cwd} = await gitbox.createRepo(packageName); - await writeJson(path.resolve(cwd, 'package.json'), {name: packageName, version: '0.0.0-dev'}); + t.log("Create git repository"); + const { cwd } = await gitbox.createRepo(packageName); + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, version: "0.0.0-dev" }); /* Initial release */ - t.log('Commit a feature'); - await gitCommits(['feat: Initial commit'], {cwd}); - await gitPush('origin', 'master', {cwd}); - t.log('$ semantic-release'); - const {stderr, exitCode} = await execa( + t.log("Commit a feature"); + await gitCommits(["feat: Initial commit"], { cwd }); + await gitPush("origin", "master", { cwd }); + t.log("$ semantic-release"); + const { stderr, exitCode } = await execa( cli, - ['--repository-url', 'http://user:wrong_pass@localhost:2080/git/unauthorized.git'], - {env: {...env, GH_TOKEN: 'user:wrong_pass'}, cwd, reject: false, extendEnv: false} + ["--repository-url", "http://user:wrong_pass@localhost:2080/git/unauthorized.git"], + { env: { ...env, GH_TOKEN: "user:wrong_pass" }, cwd, reject: false, extendEnv: false } ); // Verify the type and message are logged t.regex(stderr, /EGITNOPERMISSION/); t.is(exitCode, 1); }); -test('Hide sensitive environment variable values from the logs', async (t) => { - const packageName = 'log-secret'; +test("Hide sensitive environment variable values from the logs", async (t) => { + const packageName = "log-secret"; // Create a git repository, set the current working directory at the root of the repo - t.log('Create git repository'); - const {cwd, repositoryUrl} = await gitbox.createRepo(packageName); - await writeJson(path.resolve(cwd, 'package.json'), { + t.log("Create git repository"); + const { cwd, repositoryUrl } = await gitbox.createRepo(packageName); + await writeJson(path.resolve(cwd, "package.json"), { name: packageName, - version: '0.0.0-dev', - repository: {url: repositoryUrl}, - release: {verifyConditions: [pluginLogEnv], fail: false, success: false}, + version: "0.0.0-dev", + repository: { url: repositoryUrl }, + release: { verifyConditions: [pluginLogEnv], fail: false, success: false }, }); - t.log('$ semantic-release'); - const {stdout, stderr} = await execa(cli, [], { - env: {...env, MY_TOKEN: 'secret token'}, + t.log("$ semantic-release"); + const { stdout, stderr } = await execa(cli, [], { + env: { ...env, MY_TOKEN: "secret token" }, cwd, reject: false, extendEnv: false, @@ -665,41 +673,41 @@ test('Hide sensitive environment variable values from the logs', async (t) => { t.regex(stderr, new RegExp(`Throw error: Exposing ${escapeRegExp(SECRET_REPLACEMENT)}`)); }); -test('Use the valid git credentials when multiple are provided', async (t) => { - const {cwd, authUrl} = await gitbox.createRepo('test-auth'); +test("Use the valid git credentials when multiple are provided", async (t) => { + const { cwd, authUrl } = await gitbox.createRepo("test-auth"); t.is( await getAuthUrl({ cwd, env: { - GITHUB_TOKEN: 'dummy', - GITLAB_TOKEN: 'trash', + GITHUB_TOKEN: "dummy", + GITLAB_TOKEN: "trash", BB_TOKEN_BASIC_AUTH: gitbox.gitCredential, - GIT_ASKPASS: 'echo', + GIT_ASKPASS: "echo", GIT_TERMINAL_PROMPT: 0, }, - branch: {name: 'master'}, - options: {repositoryUrl: 'http://toto@localhost:2080/git/test-auth.git'}, + branch: { name: "master" }, + options: { repositoryUrl: "http://toto@localhost:2080/git/test-auth.git" }, }), authUrl ); }); -test('Use the repository URL as is if none of the given git credentials are valid', async (t) => { - const {cwd} = await gitbox.createRepo('test-invalid-auth'); - const dummyUrl = 'http://toto@localhost:2080/git/test-invalid-auth.git'; +test("Use the repository URL as is if none of the given git credentials are valid", async (t) => { + const { cwd } = await gitbox.createRepo("test-invalid-auth"); + const dummyUrl = "http://toto@localhost:2080/git/test-invalid-auth.git"; t.is( await getAuthUrl({ cwd, env: { - GITHUB_TOKEN: 'dummy', - GITLAB_TOKEN: 'trash', - GIT_ASKPASS: 'echo', + GITHUB_TOKEN: "dummy", + GITLAB_TOKEN: "trash", + GIT_ASKPASS: "echo", GIT_TERMINAL_PROMPT: 0, }, - branch: {name: 'master'}, - options: {repositoryUrl: dummyUrl}, + branch: { name: "master" }, + options: { repositoryUrl: dummyUrl }, }), dummyUrl ); diff --git a/test/utils.test.js b/test/utils.test.js index 037727e7..aaaed41a 100644 --- a/test/utils.test.js +++ b/test/utils.test.js @@ -1,5 +1,5 @@ -import test from 'ava'; -import AggregateError from 'aggregate-error'; +import test from "ava"; +import AggregateError from "aggregate-error"; import { extractErrors, getEarliestVersion, @@ -14,173 +14,176 @@ import { isSameChannel, lowest, makeTag, - tagsToVersions -} from '../lib/utils.js'; + tagsToVersions, +} from "../lib/utils.js"; -test('extractErrors', (t) => { - const errors = [new Error('Error 1'), new Error('Error 2')]; +test("extractErrors", (t) => { + const errors = [new Error("Error 1"), new Error("Error 2")]; t.deepEqual(extractErrors(new AggregateError(errors)), errors); t.deepEqual(extractErrors(errors[0]), [errors[0]]); }); -test('tagsToVersions', (t) => { - t.deepEqual(tagsToVersions([{version: '1.0.0'}, {version: '1.1.0'}, {version: '1.2.0'}]), [ - '1.0.0', - '1.1.0', - '1.2.0', +test("tagsToVersions", (t) => { + t.deepEqual(tagsToVersions([{ version: "1.0.0" }, { version: "1.1.0" }, { version: "1.2.0" }]), [ + "1.0.0", + "1.1.0", + "1.2.0", ]); }); -test('isMajorRange', (t) => { - t.false(isMajorRange('1.1.x')); - t.false(isMajorRange('1.11.x')); - t.false(isMajorRange('11.1.x')); - t.false(isMajorRange('11.11.x')); - t.false(isMajorRange('1.1.X')); - t.false(isMajorRange('1.1.0')); +test("isMajorRange", (t) => { + t.false(isMajorRange("1.1.x")); + t.false(isMajorRange("1.11.x")); + t.false(isMajorRange("11.1.x")); + t.false(isMajorRange("11.11.x")); + t.false(isMajorRange("1.1.X")); + t.false(isMajorRange("1.1.0")); - t.true(isMajorRange('1.x.x')); - t.true(isMajorRange('11.x.x')); - t.true(isMajorRange('1.X.X')); - t.true(isMajorRange('1.x')); - t.true(isMajorRange('11.x')); - t.true(isMajorRange('1.X')); + t.true(isMajorRange("1.x.x")); + t.true(isMajorRange("11.x.x")); + t.true(isMajorRange("1.X.X")); + t.true(isMajorRange("1.x")); + t.true(isMajorRange("11.x")); + t.true(isMajorRange("1.X")); }); -test('isMaintenanceRange', (t) => { - t.true(isMaintenanceRange('1.1.x')); - t.true(isMaintenanceRange('11.1.x')); - t.true(isMaintenanceRange('11.11.x')); - t.true(isMaintenanceRange('1.11.x')); - t.true(isMaintenanceRange('1.x.x')); - t.true(isMaintenanceRange('11.x.x')); - t.true(isMaintenanceRange('1.x')); - t.true(isMaintenanceRange('11.x')); - t.true(isMaintenanceRange('1.1.X')); - t.true(isMaintenanceRange('1.X.X')); - t.true(isMaintenanceRange('1.X')); +test("isMaintenanceRange", (t) => { + t.true(isMaintenanceRange("1.1.x")); + t.true(isMaintenanceRange("11.1.x")); + t.true(isMaintenanceRange("11.11.x")); + t.true(isMaintenanceRange("1.11.x")); + t.true(isMaintenanceRange("1.x.x")); + t.true(isMaintenanceRange("11.x.x")); + t.true(isMaintenanceRange("1.x")); + t.true(isMaintenanceRange("11.x")); + t.true(isMaintenanceRange("1.1.X")); + t.true(isMaintenanceRange("1.X.X")); + t.true(isMaintenanceRange("1.X")); - t.false(isMaintenanceRange('1.1.0')); - t.false(isMaintenanceRange('11.1.0')); - t.false(isMaintenanceRange('1.11.0')); - t.false(isMaintenanceRange('11.11.0')); - t.false(isMaintenanceRange('~1.0.0')); - t.false(isMaintenanceRange('^1.0.0')); + t.false(isMaintenanceRange("1.1.0")); + t.false(isMaintenanceRange("11.1.0")); + t.false(isMaintenanceRange("1.11.0")); + t.false(isMaintenanceRange("11.11.0")); + t.false(isMaintenanceRange("~1.0.0")); + t.false(isMaintenanceRange("^1.0.0")); }); -test('getUpperBound', (t) => { - t.is(getUpperBound('1.x.x'), '2.0.0'); - t.is(getUpperBound('1.X.X'), '2.0.0'); - t.is(getUpperBound('10.x.x'), '11.0.0'); - t.is(getUpperBound('1.x'), '2.0.0'); - t.is(getUpperBound('10.x'), '11.0.0'); - t.is(getUpperBound('1.0.x'), '1.1.0'); - t.is(getUpperBound('10.0.x'), '10.1.0'); - t.is(getUpperBound('10.10.x'), '10.11.0'); - t.is(getUpperBound('1.0.0'), '1.0.0'); - t.is(getUpperBound('10.0.0'), '10.0.0'); +test("getUpperBound", (t) => { + t.is(getUpperBound("1.x.x"), "2.0.0"); + t.is(getUpperBound("1.X.X"), "2.0.0"); + t.is(getUpperBound("10.x.x"), "11.0.0"); + t.is(getUpperBound("1.x"), "2.0.0"); + t.is(getUpperBound("10.x"), "11.0.0"); + t.is(getUpperBound("1.0.x"), "1.1.0"); + t.is(getUpperBound("10.0.x"), "10.1.0"); + t.is(getUpperBound("10.10.x"), "10.11.0"); + t.is(getUpperBound("1.0.0"), "1.0.0"); + t.is(getUpperBound("10.0.0"), "10.0.0"); - t.is(getUpperBound('foo'), undefined); + t.is(getUpperBound("foo"), undefined); }); -test('getLowerBound', (t) => { - t.is(getLowerBound('1.x.x'), '1.0.0'); - t.is(getLowerBound('1.X.X'), '1.0.0'); - t.is(getLowerBound('10.x.x'), '10.0.0'); - t.is(getLowerBound('1.x'), '1.0.0'); - t.is(getLowerBound('10.x'), '10.0.0'); - t.is(getLowerBound('1.0.x'), '1.0.0'); - t.is(getLowerBound('10.0.x'), '10.0.0'); - t.is(getLowerBound('1.10.x'), '1.10.0'); - t.is(getLowerBound('1.0.0'), '1.0.0'); - t.is(getLowerBound('10.0.0'), '10.0.0'); +test("getLowerBound", (t) => { + t.is(getLowerBound("1.x.x"), "1.0.0"); + t.is(getLowerBound("1.X.X"), "1.0.0"); + t.is(getLowerBound("10.x.x"), "10.0.0"); + t.is(getLowerBound("1.x"), "1.0.0"); + t.is(getLowerBound("10.x"), "10.0.0"); + t.is(getLowerBound("1.0.x"), "1.0.0"); + t.is(getLowerBound("10.0.x"), "10.0.0"); + t.is(getLowerBound("1.10.x"), "1.10.0"); + t.is(getLowerBound("1.0.0"), "1.0.0"); + t.is(getLowerBound("10.0.0"), "10.0.0"); - t.is(getLowerBound('foo'), undefined); + t.is(getLowerBound("foo"), undefined); }); -test('highest', (t) => { - t.is(highest('1.0.0', '2.0.0'), '2.0.0'); - t.is(highest('1.1.1', '1.1.0'), '1.1.1'); - t.is(highest(null, '1.0.0'), '1.0.0'); - t.is(highest('1.0.0'), '1.0.0'); +test("highest", (t) => { + t.is(highest("1.0.0", "2.0.0"), "2.0.0"); + t.is(highest("1.1.1", "1.1.0"), "1.1.1"); + t.is(highest(null, "1.0.0"), "1.0.0"); + t.is(highest("1.0.0"), "1.0.0"); t.is(highest(), undefined); }); -test('lowest', (t) => { - t.is(lowest('1.0.0', '2.0.0'), '1.0.0'); - t.is(lowest('1.1.1', '1.1.0'), '1.1.0'); - t.is(lowest(null, '1.0.0'), '1.0.0'); +test("lowest", (t) => { + t.is(lowest("1.0.0", "2.0.0"), "1.0.0"); + t.is(lowest("1.1.1", "1.1.0"), "1.1.0"); + t.is(lowest(null, "1.0.0"), "1.0.0"); t.is(lowest(), undefined); }); -test.serial('getLatestVersion', (t) => { - t.is(getLatestVersion(['1.2.3-alpha.3', '1.2.0', '1.0.1', '1.0.0-alpha.1']), '1.2.0'); - t.is(getLatestVersion(['1.2.3-alpha.3', '1.2.3-alpha.2']), undefined); +test.serial("getLatestVersion", (t) => { + t.is(getLatestVersion(["1.2.3-alpha.3", "1.2.0", "1.0.1", "1.0.0-alpha.1"]), "1.2.0"); + t.is(getLatestVersion(["1.2.3-alpha.3", "1.2.3-alpha.2"]), undefined); - t.is(getLatestVersion(['1.2.3-alpha.3', '1.2.0', '1.0.1', '1.0.0-alpha.1']), '1.2.0'); - t.is(getLatestVersion(['1.2.3-alpha.3', '1.2.3-alpha.2']), undefined); + t.is(getLatestVersion(["1.2.3-alpha.3", "1.2.0", "1.0.1", "1.0.0-alpha.1"]), "1.2.0"); + t.is(getLatestVersion(["1.2.3-alpha.3", "1.2.3-alpha.2"]), undefined); - t.is(getLatestVersion(['1.2.3-alpha.3', '1.2.0', '1.0.1', '1.0.0-alpha.1'], {withPrerelease: true}), '1.2.3-alpha.3'); - t.is(getLatestVersion(['1.2.3-alpha.3', '1.2.3-alpha.2'], {withPrerelease: true}), '1.2.3-alpha.3'); + t.is( + getLatestVersion(["1.2.3-alpha.3", "1.2.0", "1.0.1", "1.0.0-alpha.1"], { withPrerelease: true }), + "1.2.3-alpha.3" + ); + t.is(getLatestVersion(["1.2.3-alpha.3", "1.2.3-alpha.2"], { withPrerelease: true }), "1.2.3-alpha.3"); t.is(getLatestVersion([]), undefined); }); -test.serial('getEarliestVersion', (t) => { - t.is(getEarliestVersion(['1.2.3-alpha.3', '1.2.0', '1.0.0', '1.0.1-alpha.1']), '1.0.0'); - t.is(getEarliestVersion(['1.2.3-alpha.3', '1.2.3-alpha.2']), undefined); +test.serial("getEarliestVersion", (t) => { + t.is(getEarliestVersion(["1.2.3-alpha.3", "1.2.0", "1.0.0", "1.0.1-alpha.1"]), "1.0.0"); + t.is(getEarliestVersion(["1.2.3-alpha.3", "1.2.3-alpha.2"]), undefined); - t.is(getEarliestVersion(['1.2.3-alpha.3', '1.2.0', '1.0.0', '1.0.1-alpha.1']), '1.0.0'); - t.is(getEarliestVersion(['1.2.3-alpha.3', '1.2.3-alpha.2']), undefined); + t.is(getEarliestVersion(["1.2.3-alpha.3", "1.2.0", "1.0.0", "1.0.1-alpha.1"]), "1.0.0"); + t.is(getEarliestVersion(["1.2.3-alpha.3", "1.2.3-alpha.2"]), undefined); t.is( - getEarliestVersion(['1.2.3-alpha.3', '1.2.0', '1.0.1', '1.0.0-alpha.1'], {withPrerelease: true}), - '1.0.0-alpha.1' + getEarliestVersion(["1.2.3-alpha.3", "1.2.0", "1.0.1", "1.0.0-alpha.1"], { withPrerelease: true }), + "1.0.0-alpha.1" ); - t.is(getEarliestVersion(['1.2.3-alpha.3', '1.2.3-alpha.2'], {withPrerelease: true}), '1.2.3-alpha.2'); + t.is(getEarliestVersion(["1.2.3-alpha.3", "1.2.3-alpha.2"], { withPrerelease: true }), "1.2.3-alpha.2"); t.is(getEarliestVersion([]), undefined); }); -test('getFirstVersion', (t) => { - t.is(getFirstVersion(['1.2.0', '1.0.0', '1.3.0', '1.1.0', '1.4.0'], []), '1.0.0'); +test("getFirstVersion", (t) => { + t.is(getFirstVersion(["1.2.0", "1.0.0", "1.3.0", "1.1.0", "1.4.0"], []), "1.0.0"); t.is( getFirstVersion( - ['1.2.0', '1.0.0', '1.3.0', '1.1.0', '1.4.0'], + ["1.2.0", "1.0.0", "1.3.0", "1.1.0", "1.4.0"], [ - {name: 'master', tags: [{version: '1.0.0'}, {version: '1.1.0'}]}, - {name: 'next', tags: [{version: '1.0.0'}, {version: '1.1.0'}, {version: '1.2.0'}]}, + { name: "master", tags: [{ version: "1.0.0" }, { version: "1.1.0" }] }, + { name: "next", tags: [{ version: "1.0.0" }, { version: "1.1.0" }, { version: "1.2.0" }] }, ] ), - '1.3.0' + "1.3.0" ); t.is( getFirstVersion( - ['1.2.0', '1.0.0', '1.1.0'], + ["1.2.0", "1.0.0", "1.1.0"], [ - {name: 'master', tags: [{version: '1.0.0'}, {version: '1.1.0'}]}, - {name: 'next', tags: [{version: '1.0.0'}, {version: '1.1.0'}, {version: '1.2.0'}]}, + { name: "master", tags: [{ version: "1.0.0" }, { version: "1.1.0" }] }, + { name: "next", tags: [{ version: "1.0.0" }, { version: "1.1.0" }, { version: "1.2.0" }] }, ] ), undefined ); }); -test('getRange', (t) => { - t.is(getRange('1.0.0', '1.1.0'), '>=1.0.0 <1.1.0'); - t.is(getRange('1.0.0'), '>=1.0.0'); +test("getRange", (t) => { + t.is(getRange("1.0.0", "1.1.0"), ">=1.0.0 <1.1.0"); + t.is(getRange("1.0.0"), ">=1.0.0"); }); -test('makeTag', (t) => { - t.is(makeTag(`v\${version}`, '1.0.0'), 'v1.0.0'); +test("makeTag", (t) => { + t.is(makeTag(`v\${version}`, "1.0.0"), "v1.0.0"); }); -test('isSameChannel', (t) => { - t.true(isSameChannel('next', 'next')); +test("isSameChannel", (t) => { + t.true(isSameChannel("next", "next")); t.true(isSameChannel(null, undefined)); t.true(isSameChannel(false, undefined)); - t.true(isSameChannel('', false)); + t.true(isSameChannel("", false)); - t.false(isSameChannel('next', false)); + t.false(isSameChannel("next", false)); }); diff --git a/test/verify.test.js b/test/verify.test.js index 0157fb7f..75cff5e7 100644 --- a/test/verify.test.js +++ b/test/verify.test.js @@ -1,117 +1,117 @@ -import test from 'ava'; -import {temporaryDirectory} from 'tempy'; -import verify from '../lib/verify.js'; -import {gitRepo} from './helpers/git-utils.js'; +import test from "ava"; +import { temporaryDirectory } from "tempy"; +import verify from "../lib/verify.js"; +import { gitRepo } from "./helpers/git-utils.js"; -test('Throw a AggregateError', async (t) => { - const {cwd} = await gitRepo(); - const options = {branches: [{name: 'master'}, {name: ''}]}; +test("Throw a AggregateError", async (t) => { + const { cwd } = await gitRepo(); + const options = { branches: [{ name: "master" }, { name: "" }] }; - const errors = [...(await t.throwsAsync(verify({cwd, options}))).errors]; + const errors = [...(await t.throwsAsync(verify({ cwd, options }))).errors]; - t.is(errors[0].name, 'SemanticReleaseError'); - t.is(errors[0].code, 'ENOREPOURL'); + t.is(errors[0].name, "SemanticReleaseError"); + t.is(errors[0].code, "ENOREPOURL"); t.truthy(errors[0].message); t.truthy(errors[0].details); - t.is(errors[1].name, 'SemanticReleaseError'); - t.is(errors[1].code, 'EINVALIDTAGFORMAT'); + t.is(errors[1].name, "SemanticReleaseError"); + t.is(errors[1].code, "EINVALIDTAGFORMAT"); t.truthy(errors[1].message); t.truthy(errors[1].details); - t.is(errors[2].name, 'SemanticReleaseError'); - t.is(errors[2].code, 'ETAGNOVERSION'); + t.is(errors[2].name, "SemanticReleaseError"); + t.is(errors[2].code, "ETAGNOVERSION"); t.truthy(errors[2].message); t.truthy(errors[2].details); - t.is(errors[3].name, 'SemanticReleaseError'); - t.is(errors[3].code, 'EINVALIDBRANCH'); + t.is(errors[3].name, "SemanticReleaseError"); + t.is(errors[3].code, "EINVALIDBRANCH"); t.truthy(errors[3].message); t.truthy(errors[3].details); }); -test('Throw a SemanticReleaseError if does not run on a git repository', async (t) => { +test("Throw a SemanticReleaseError if does not run on a git repository", async (t) => { const cwd = temporaryDirectory(); - const options = {branches: []}; + const options = { branches: [] }; - const errors = [...(await t.throwsAsync(verify({cwd, options}))).errors]; + const errors = [...(await t.throwsAsync(verify({ cwd, options }))).errors]; - t.is(errors[0].name, 'SemanticReleaseError'); - t.is(errors[0].code, 'ENOGITREPO'); + t.is(errors[0].name, "SemanticReleaseError"); + t.is(errors[0].code, "ENOGITREPO"); t.truthy(errors[0].message); t.truthy(errors[0].details); }); test('Throw a SemanticReleaseError if the "tagFormat" is not valid', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - const options = {repositoryUrl, tagFormat: `?\${version}`, branches: []}; + const { cwd, repositoryUrl } = await gitRepo(true); + const options = { repositoryUrl, tagFormat: `?\${version}`, branches: [] }; - const errors = [...(await t.throwsAsync(verify({cwd, options}))).errors]; + const errors = [...(await t.throwsAsync(verify({ cwd, options }))).errors]; - t.is(errors[0].name, 'SemanticReleaseError'); - t.is(errors[0].code, 'EINVALIDTAGFORMAT'); + t.is(errors[0].name, "SemanticReleaseError"); + t.is(errors[0].code, "EINVALIDTAGFORMAT"); t.truthy(errors[0].message); t.truthy(errors[0].details); }); test('Throw a SemanticReleaseError if the "tagFormat" does not contains the "version" variable', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - const options = {repositoryUrl, tagFormat: 'test', branches: []}; + const { cwd, repositoryUrl } = await gitRepo(true); + const options = { repositoryUrl, tagFormat: "test", branches: [] }; - const errors = [...(await t.throwsAsync(verify({cwd, options}))).errors]; + const errors = [...(await t.throwsAsync(verify({ cwd, options }))).errors]; - t.is(errors[0].name, 'SemanticReleaseError'); - t.is(errors[0].code, 'ETAGNOVERSION'); + t.is(errors[0].name, "SemanticReleaseError"); + t.is(errors[0].code, "ETAGNOVERSION"); t.truthy(errors[0].message); t.truthy(errors[0].details); }); test('Throw a SemanticReleaseError if the "tagFormat" contains multiple "version" variables', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - const options = {repositoryUrl, tagFormat: `\${version}v\${version}`, branches: []}; + const { cwd, repositoryUrl } = await gitRepo(true); + const options = { repositoryUrl, tagFormat: `\${version}v\${version}`, branches: [] }; - const errors = [...(await t.throwsAsync(verify({cwd, options}))).errors]; + const errors = [...(await t.throwsAsync(verify({ cwd, options }))).errors]; - t.is(errors[0].name, 'SemanticReleaseError'); - t.is(errors[0].code, 'ETAGNOVERSION'); + t.is(errors[0].name, "SemanticReleaseError"); + t.is(errors[0].code, "ETAGNOVERSION"); t.truthy(errors[0].message); t.truthy(errors[0].details); }); -test('Throw a SemanticReleaseError for each invalid branch', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); +test("Throw a SemanticReleaseError for each invalid branch", async (t) => { + const { cwd, repositoryUrl } = await gitRepo(true); const options = { repositoryUrl, tagFormat: `v\${version}`, - branches: [{name: ''}, {name: ' '}, {name: 1}, {}, {name: ''}, 1, 'master'], + branches: [{ name: "" }, { name: " " }, { name: 1 }, {}, { name: "" }, 1, "master"], }; - const errors = [...(await t.throwsAsync(verify({cwd, options}))).errors]; + const errors = [...(await t.throwsAsync(verify({ cwd, options }))).errors]; - t.is(errors[0].name, 'SemanticReleaseError'); - t.is(errors[0].code, 'EINVALIDBRANCH'); + t.is(errors[0].name, "SemanticReleaseError"); + t.is(errors[0].code, "EINVALIDBRANCH"); t.truthy(errors[0].message); t.truthy(errors[0].details); - t.is(errors[1].name, 'SemanticReleaseError'); - t.is(errors[1].code, 'EINVALIDBRANCH'); + t.is(errors[1].name, "SemanticReleaseError"); + t.is(errors[1].code, "EINVALIDBRANCH"); t.truthy(errors[1].message); t.truthy(errors[1].details); - t.is(errors[2].name, 'SemanticReleaseError'); - t.is(errors[2].code, 'EINVALIDBRANCH'); + t.is(errors[2].name, "SemanticReleaseError"); + t.is(errors[2].code, "EINVALIDBRANCH"); t.truthy(errors[2].message); t.truthy(errors[2].details); - t.is(errors[3].name, 'SemanticReleaseError'); - t.is(errors[3].code, 'EINVALIDBRANCH'); + t.is(errors[3].name, "SemanticReleaseError"); + t.is(errors[3].code, "EINVALIDBRANCH"); t.truthy(errors[3].message); t.truthy(errors[3].details); - t.is(errors[4].code, 'EINVALIDBRANCH'); + t.is(errors[4].code, "EINVALIDBRANCH"); t.truthy(errors[4].message); t.truthy(errors[4].details); - t.is(errors[5].code, 'EINVALIDBRANCH'); + t.is(errors[5].code, "EINVALIDBRANCH"); t.truthy(errors[5].message); t.truthy(errors[5].details); }); test('Return "true" if all verification pass', async (t) => { - const {cwd, repositoryUrl} = await gitRepo(true); - const options = {repositoryUrl, tagFormat: `v\${version}`, branches: [{name: 'master'}]}; + const { cwd, repositoryUrl } = await gitRepo(true); + const options = { repositoryUrl, tagFormat: `v\${version}`, branches: [{ name: "master" }] }; - await t.notThrowsAsync(verify({cwd, options})); + await t.notThrowsAsync(verify({ cwd, options })); });