From 7bae76f496e5d807649d779bea658df2b08d447b Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Tue, 19 Dec 2023 15:32:16 +0100 Subject: [PATCH 01/98] docs: include Deno usage instructions in the documentation --- README.md | 8 +- docs/src/content/docs/commands/list.mdx | 13 +- docs/src/content/docs/commands/new.mdx | 13 +- docs/src/content/docs/commands/remove.mdx | 13 +- docs/src/content/docs/commands/up.mdx | 13 +- docs/src/content/docs/intro/quick-start.mdx | 136 ++++++++++++++++-- .../src/content/docs/intro/whats-emigrate.mdx | 2 +- .../content/docs/plugins/generators/js.mdx | 47 +++++- .../content/docs/plugins/generators/mysql.mdx | 47 +++++- .../docs/plugins/generators/postgres.mdx | 47 +++++- .../content/docs/plugins/loaders/mysql.mdx | 47 +++++- .../content/docs/plugins/loaders/postgres.mdx | 47 +++++- .../content/docs/plugins/reporters/pino.mdx | 47 +++++- .../docs/plugins/storage/file-system.mdx | 9 ++ .../content/docs/plugins/storage/mysql.mdx | 9 ++ .../content/docs/plugins/storage/postgres.mdx | 9 ++ packages/cli/README.md | 8 +- packages/mysql/README.md | 8 +- packages/plugin-generate-js/README.md | 8 +- packages/postgres/README.md | 8 +- packages/reporter-pino/README.md | 8 +- packages/storage-fs/README.md | 8 +- 22 files changed, 505 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index 94c3271..85dfe0d 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,13 @@ It's effectively a successor of [klei-migrate](https://www.npmjs.com/package/kle Install the Emigrate CLI in your project: ```bash -npm install --save-dev @emigrate/cli +npm install @emigrate/cli # or -pnpm add --save-dev @emigrate/cli +pnpm add @emigrate/cli # or -yarn add --dev @emigrate/cli +yarn add @emigrate/cli # or -bun add --dev @emigrate/cli +bun add @emigrate/cli ``` ## Usage diff --git a/docs/src/content/docs/commands/list.mdx b/docs/src/content/docs/commands/list.mdx index cb05c16..7c79628 100644 --- a/docs/src/content/docs/commands/list.mdx +++ b/docs/src/content/docs/commands/list.mdx @@ -34,14 +34,21 @@ It then sorts the migrations by filename in ascending order and outputs them and bunx --bun emigrate list [options] ``` - - ```json {3} + + ```json title="package.json" {3,6} { "scripts": { - "emigrate": "emigrate list [options]" + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" } } ``` + + ```bash + deno task emigrate list [options] + ``` diff --git a/docs/src/content/docs/commands/new.mdx b/docs/src/content/docs/commands/new.mdx index 18b97a8..a411b29 100644 --- a/docs/src/content/docs/commands/new.mdx +++ b/docs/src/content/docs/commands/new.mdx @@ -33,14 +33,21 @@ The migration file can be based on a template, generated by a - ```json {3} + + ```json title="package.json" {3,6} { "scripts": { - "emigrate": "emigrate new [options] " + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" } } ``` + + ```bash + deno task emigrate new [options] + ``` diff --git a/docs/src/content/docs/commands/remove.mdx b/docs/src/content/docs/commands/remove.mdx index 600a1df..d1e8ebe 100644 --- a/docs/src/content/docs/commands/remove.mdx +++ b/docs/src/content/docs/commands/remove.mdx @@ -31,14 +31,21 @@ The `remove` command is used to remove a migration from the history. This is use bunx --bun emigrate remove [options] ``` - - ```json {3} + + ```json title="package.json" {3,6} { "scripts": { - "emigrate": "emigrate remove [options] " + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" } } ``` + + ```bash + deno task emigrate remove [options] + ``` diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index 76d6683..3868217 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -36,14 +36,21 @@ If any of the migrations fail, the command will be aborted and the rest of the m bunx --bun emigrate up [options] ``` - - ```json {3} + + ```json title="package.json" {3,6} { "scripts": { - "emigrate": "emigrate up [options]" + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" } } ``` + + ```bash + deno task emigrate up [options] + ``` diff --git a/docs/src/content/docs/intro/quick-start.mdx b/docs/src/content/docs/intro/quick-start.mdx index 77233c8..905e078 100644 --- a/docs/src/content/docs/intro/quick-start.mdx +++ b/docs/src/content/docs/intro/quick-start.mdx @@ -40,6 +40,18 @@ But for now, this is the way to go. bun add @emigrate/cli ``` + + ```json title="package.json" {3,6} + { + "scripts": { + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" + } + } + ``` + ### Pick a storage plugin @@ -69,15 +81,57 @@ Install the plugin you want to use, for example the + ```json title="package.json" {4} + { + "dependencies": { + "@emigrate/cli": "*", + "@emigrate/postgres": "*" + } + } + ``` + ### Create your first migration Create a new migration file in your project using: -```bash title="Create a new migration file" -npx emigrate new --plugin postgres create users table -``` + + + ```bash title="Create a new migration file" + npx emigrate new --plugin postgres create users table + ``` + + + ```bash title="Create a new migration file" + pnpm emigrate new --plugin postgres create users table + ``` + + + ```bash title="Create a new migration file" + yarn emigrate new --plugin postgres create users table + ``` + + + ```bash title="Create a new migration file" + bunx --bun emigrate new --plugin postgres create users table + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash title="Create a new migration file" + deno task emigrate new --plugin postgres create users table + ``` + + ```txt title="Output" Emigrate new v0.10.0 /your/project/path @@ -119,9 +173,41 @@ There's no magic about the first line comment as when using Liquibase, it's just To show both pending and already applied migrations (or previously failed), use the `list` command: -```bash title="Show all migrations" -npx emigrate list --storage postgres -``` + + + ```bash title="Show all migrations" + npx emigrate list --storage postgres + ``` + + + ```bash title="Show all migrations" + pnpm emigrate list --storage postgres + ``` + + + ```bash title="Show all migrations" + yarn emigrate list --storage postgres + ``` + + + ```bash title="Show all migrations" + bunx --bun emigrate list --storage postgres + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash title="Show all migrations" + deno task emigrate list --storage postgres + ``` + + ```txt title="Example output" Emigrate list v0.10.0 /your/project/path @@ -137,9 +223,41 @@ Emigrate list v0.10.0 /your/project/path A good way to test your configuration is to run the migrations in dry mode: -```bash title="Show pending migrations" -npx emigrate up --storage postgres --plugin postgres --dry -``` + + + ```bash title="Show pending migrations" + npx emigrate up --storage postgres --plugin postgres --dry + ``` + + + ```bash title="Show pending migrations" + pnpm emigrate up --storage postgres --plugin postgres --dry + ``` + + + ```bash title="Show pending migrations" + yarn emigrate up --storage postgres --plugin postgres --dry + ``` + + + ```bash title="Show pending migrations" + bunx --bun emigrate up --storage postgres --plugin postgres --dry + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash title="Show pending migrations" + deno task emigrate up --storage postgres --plugin postgres --dry + ``` + + :::note This will connect to the database using some default values. For ways to configure the connection, see Configuration. diff --git a/docs/src/content/docs/intro/whats-emigrate.mdx b/docs/src/content/docs/intro/whats-emigrate.mdx index fc1a7bd..58ff0c5 100644 --- a/docs/src/content/docs/intro/whats-emigrate.mdx +++ b/docs/src/content/docs/intro/whats-emigrate.mdx @@ -8,7 +8,7 @@ import Link from '@components/Link.astro'; Emigrate is written in [TypeScript](https://www.typescriptlang.org) and is a migration tool for any database or data. * It's database agnostic - you can use it with any database, or even with non-database data. -* It can be run on multiple platforms - currently [NodeJS](https://nodejs.org) and [Bun](https://bun.sh) is supported, but more platforms is planned. +* It can be run on multiple platforms - currently [NodeJS](https://nodejs.org), [Bun](https://bun.sh) and [Deno](https://deno.com) is supported, but more platforms is planned. * It's the successor of [klei-migrate](https://github.com/klei/migrate) and is designed to be compatible with [Immigration](https://github.com/blakeembrey/node-immigration) and many of its storage plugins, as well as [Migrate](https://github.com/tj/node-migrate). * It supports migration files written using CommonJS or ES Modules out of the box, with any of the following extensions: `.js`, `.cjs` or `.mjs`, and supports [async functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function), [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) or using the [NodeJS Callback Pattern](https://nodejs.org/en/learn/asynchronous-work/javascript-asynchronous-programming-and-callbacks#handling-errors-in-callbacks). * Other languages can be used by using a Loader Plugin. diff --git a/docs/src/content/docs/plugins/generators/js.mdx b/docs/src/content/docs/plugins/generators/js.mdx index 1e1fae2..b77c6be 100644 --- a/docs/src/content/docs/plugins/generators/js.mdx +++ b/docs/src/content/docs/plugins/generators/js.mdx @@ -30,12 +30,53 @@ A generator plugin for generating new m bun add @emigrate/plugin-generate-js ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/plugin-generate-js": "*" + } + } + ``` + ## Usage -```bash -emigrate new --plugin generate-js create some fancy table -``` + + + ```bash + npx emigrate new --plugin generate-js create some fancy table + ``` + + + ```bash + pnpm emigrate new --plugin generate-js create some fancy table + ``` + + + ```bash + yarn emigrate new --plugin generate-js create some fancy table + ``` + + + ```bash + bunx --bun emigrate new --plugin generate-js create some fancy table + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash + deno task emigrate new --plugin generate-js create some fancy table + ``` + + For more information see the `new` command's documentation. diff --git a/docs/src/content/docs/plugins/generators/mysql.mdx b/docs/src/content/docs/plugins/generators/mysql.mdx index 786fde0..d36e7d3 100644 --- a/docs/src/content/docs/plugins/generators/mysql.mdx +++ b/docs/src/content/docs/plugins/generators/mysql.mdx @@ -30,12 +30,53 @@ The MySQL generator creates new migration files with the `.sql` extension. In th bun add @emigrate/mysql ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/mysql": "*" + } + } + ``` + ## Usage -```bash -emigrate new --plugin mysql create some fancy table -``` + + + ```bash + npx emigrate new --plugin mysql create some fancy table + ``` + + + ```bash + pnpm emigrate new --plugin mysql create some fancy table + ``` + + + ```bash + yarn emigrate new --plugin mysql create some fancy table + ``` + + + ```bash + bunx --bun emigrate new --plugin mysql create some fancy table + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash + deno task emigrate new --plugin mysql create some fancy table + ``` + + For more information see the `new` command's documentation. diff --git a/docs/src/content/docs/plugins/generators/postgres.mdx b/docs/src/content/docs/plugins/generators/postgres.mdx index d6e670c..748c511 100644 --- a/docs/src/content/docs/plugins/generators/postgres.mdx +++ b/docs/src/content/docs/plugins/generators/postgres.mdx @@ -30,12 +30,53 @@ The PostgreSQL generator creates new migration files with the `.sql` extension. bun add @emigrate/postgres ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/postgres": "*" + } + } + ``` + ## Usage -```bash -emigrate new --plugin postgres create some fancy table -``` + + + ```bash + npx emigrate new --plugin postgres create some fancy table + ``` + + + ```bash + pnpm emigrate new --plugin postgres create some fancy table + ``` + + + ```bash + yarn emigrate new --plugin postgres create some fancy table + ``` + + + ```bash + bunx --bun emigrate new --plugin postgres create some fancy table + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash + deno task emigrate new --plugin postgres create some fancy table + ``` + + For more information see the `new` command's documentation. diff --git a/docs/src/content/docs/plugins/loaders/mysql.mdx b/docs/src/content/docs/plugins/loaders/mysql.mdx index 52249d0..47dc6f3 100644 --- a/docs/src/content/docs/plugins/loaders/mysql.mdx +++ b/docs/src/content/docs/plugins/loaders/mysql.mdx @@ -30,6 +30,15 @@ The MySQL loader plugin transforms `.sql` files into JavaScript functions that E bun add @emigrate/mysql ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/mysql": "*" + } + } + ``` + ## Configuration @@ -78,9 +87,41 @@ The `MYSQL_URL` environment variable takes precedence over the other environment The environment variables are used when the plugin is used using the `--plugin` command line option: -```bash -npx emigrate list --plugin mysql -``` + + + ```bash + npx emigrate list --plugin mysql + ``` + + + ```bash + pnpm emigrate list --plugin mysql + ``` + + + ```bash + yarn emigrate list --plugin mysql + ``` + + + ```bash + bunx --bun emigrate list --plugin mysql + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash + deno task emigrate list --plugin mysql + ``` + + Or when specifying the plugin in the `emigrate.config.js` file as a string: diff --git a/docs/src/content/docs/plugins/loaders/postgres.mdx b/docs/src/content/docs/plugins/loaders/postgres.mdx index 39a9f15..2c7d6d3 100644 --- a/docs/src/content/docs/plugins/loaders/postgres.mdx +++ b/docs/src/content/docs/plugins/loaders/postgres.mdx @@ -30,6 +30,15 @@ The PostgreSQL loader plugin transforms `.sql` files into JavaScript functions t bun add @emigrate/postgres ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/postgres": "*" + } + } + ``` + ## Configuration @@ -78,9 +87,41 @@ The `POSTGRES_URL` environment variable takes precedence over the other environm The environment variables are used when the plugin is used using the `--plugin` command line option: -```bash -npx emigrate list --plugin postgres -``` + + + ```bash + npx emigrate list --plugin postgres + ``` + + + ```bash + pnpm emigrate list --plugin postgres + ``` + + + ```bash + yarn emigrate list --plugin postgres + ``` + + + ```bash + bunx --bun emigrate list --plugin postgres + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash + deno task emigrate list --plugin postgres + ``` + + Or when specifying the plugin in the `emigrate.config.js` file as a string: diff --git a/docs/src/content/docs/plugins/reporters/pino.mdx b/docs/src/content/docs/plugins/reporters/pino.mdx index 5ff75be..2ee3c19 100644 --- a/docs/src/content/docs/plugins/reporters/pino.mdx +++ b/docs/src/content/docs/plugins/reporters/pino.mdx @@ -32,6 +32,15 @@ This is useful in production environments where you want all logs as JSON, which bun add @emigrate/reporter-pino ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/reporter-pino": "*" + } + } + ``` + ## Usage @@ -42,9 +51,41 @@ The `@emigrate/reporter-` prefix is optional when using this reporter. ### Via CLI -```bash -emigrate --reporter pino -``` + + + ```bash + npx emigrate --reporter pino + ``` + + + ```bash + pnpm emigrate --reporter pino + ``` + + + ```bash + yarn emigrate --reporter pino + ``` + + + ```bash + bunx --bun emigrate --reporter pino + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash + deno task emigrate --reporter pino + ``` + + See for instance the Reporter Option for the `up` command for more information. diff --git a/docs/src/content/docs/plugins/storage/file-system.mdx b/docs/src/content/docs/plugins/storage/file-system.mdx index f969129..0d865de 100644 --- a/docs/src/content/docs/plugins/storage/file-system.mdx +++ b/docs/src/content/docs/plugins/storage/file-system.mdx @@ -34,6 +34,15 @@ This is suitable for simple setups, but for more advanced setups for instance wh bun add @emigrate/storage-fs ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/storage-fs": "*" + } + } + ``` + ## Configuration diff --git a/docs/src/content/docs/plugins/storage/mysql.mdx b/docs/src/content/docs/plugins/storage/mysql.mdx index 1816179..62a49c7 100644 --- a/docs/src/content/docs/plugins/storage/mysql.mdx +++ b/docs/src/content/docs/plugins/storage/mysql.mdx @@ -30,6 +30,15 @@ The MySQL storage plugin uses a MySQL database to store the migration history (* bun add @emigrate/mysql ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/mysql": "*" + } + } + ``` + ## Configuration diff --git a/docs/src/content/docs/plugins/storage/postgres.mdx b/docs/src/content/docs/plugins/storage/postgres.mdx index 7e586ed..a4c8503 100644 --- a/docs/src/content/docs/plugins/storage/postgres.mdx +++ b/docs/src/content/docs/plugins/storage/postgres.mdx @@ -30,6 +30,15 @@ The PostgreSQL storage plugin uses a PostgreSQL database to store the migration bun add @emigrate/postgres ``` + + ```json title="package.json" {3} + { + "dependencies": { + "@emigrate/postgres": "*" + } + } + ``` + ## Configuration diff --git a/packages/cli/README.md b/packages/cli/README.md index 6e01f65..8c84c57 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -7,7 +7,13 @@ Emigrate is a tool for managing database migrations. It is designed to be simple Install the Emigrate CLI in your project: ```bash -npm install --save-dev @emigrate/cli +npm install @emigrate/cli +# or +pnpm add @emigrate/cli +# or +yarn add @emigrate/cli +# or +bun add @emigrate/cli ``` ## Usage diff --git a/packages/mysql/README.md b/packages/mysql/README.md index 54abfe7..c9a174c 100644 --- a/packages/mysql/README.md +++ b/packages/mysql/README.md @@ -17,7 +17,13 @@ This plugin is actually three different Emigrate plugins in one: Install the plugin in your project, alongside the Emigrate CLI: ```bash -npm install --save-dev @emigrate/cli @emigrate/mysql +npm install @emigrate/cli @emigrate/mysql +# or +pnpm add @emigrate/cli @emigrate/mysql +# or +yarn add @emigrate/cli @emigrate/mysql +# or +bun add @emigrate/cli @emigrate/mysql ``` ## Usage diff --git a/packages/plugin-generate-js/README.md b/packages/plugin-generate-js/README.md index c04e9c8..3147665 100644 --- a/packages/plugin-generate-js/README.md +++ b/packages/plugin-generate-js/README.md @@ -7,7 +7,13 @@ This package contains an Emigrate plugin for generating migration files using Ja Install the package: ```bash -npm install --save-dev @emigrate/plugin-generate-js +npm install @emigrate/cli @emigrate/plugin-generate-js +# or +pnpm add @emigrate/cli @emigrate/plugin-generate-js +# or +yarn add @emigrate/cli @emigrate/plugin-generate-js +# or +bun add @emigrate/cli @emigrate/plugin-generate-js ``` Use the plugin with the `emigrate new` command: diff --git a/packages/postgres/README.md b/packages/postgres/README.md index 1e397c3..aa606b9 100644 --- a/packages/postgres/README.md +++ b/packages/postgres/README.md @@ -17,7 +17,13 @@ This plugin is actually three different Emigrate plugins in one: Install the plugin in your project, alongside the Emigrate CLI: ```bash -npm install --save-dev @emigrate/cli @emigrate/postgres +npm install @emigrate/cli @emigrate/postgres +# or +pnpm add @emigrate/cli @emigrate/postgres +# or +yarn add @emigrate/cli @emigrate/postgres +# or +bun add @emigrate/cli @emigrate/postgres ``` ## Usage diff --git a/packages/reporter-pino/README.md b/packages/reporter-pino/README.md index 975623f..73b8eb7 100644 --- a/packages/reporter-pino/README.md +++ b/packages/reporter-pino/README.md @@ -8,7 +8,13 @@ Which is great both in production environments and for piping the output to othe Install the reporter in your project, alongside the Emigrate CLI: ```bash -npm install --save-dev @emigrate/cli @emigrate/reporter-pino +npm install @emigrate/cli @emigrate/reporter-pino +# or +pnpm add @emigrate/cli @emigrate/reporter-pino +# or +yarn add @emigrate/cli @emigrate/reporter-pino +# or +bun add @emigrate/cli @emigrate/reporter-pino ``` ## Usage diff --git a/packages/storage-fs/README.md b/packages/storage-fs/README.md index 3fc6e65..d83805b 100644 --- a/packages/storage-fs/README.md +++ b/packages/storage-fs/README.md @@ -7,7 +7,13 @@ A file system storage plugin for Emigrate, suitable for simple migration setups. Install the storage plugin in your project, alongside the Emigrate CLI: ```bash -npm install --save-dev @emigrate/cli @emigrate/storage-fs +npm install @emigrate/cli @emigrate/storage-fs +# or +pnpm add @emigrate/cli @emigrate/storage-fs +# or +yarn add @emigrate/cli @emigrate/storage-fs +# or +bun add @emigrate/cli @emigrate/storage-fs ``` ## Usage From f9a16d87a1b874623d0bd9cc9efed241f4499406 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Wed, 20 Dec 2023 09:06:13 +0100 Subject: [PATCH 02/98] feat: add `color` option to CLI and configuration file The option is used to force enable/disable color output and is passed to the reporter which should respect it --- .changeset/funny-ladybugs-cheat.md | 6 +++ docs/src/content/docs/commands/list.mdx | 4 ++ docs/src/content/docs/commands/new.mdx | 4 ++ docs/src/content/docs/commands/remove.mdx | 4 ++ docs/src/content/docs/commands/up.mdx | 4 ++ .../content/docs/reference/configuration.mdx | 15 ++++++ packages/cli/src/cli.ts | 51 +++++++++++++++++-- packages/cli/src/commands/list.ts | 9 +++- packages/cli/src/commands/new.ts | 4 +- packages/cli/src/commands/remove.ts | 4 +- packages/cli/src/commands/up.test.ts | 7 +++ packages/cli/src/commands/up.ts | 3 +- packages/cli/src/types.ts | 1 + packages/types/src/index.ts | 7 +++ 14 files changed, 112 insertions(+), 11 deletions(-) create mode 100644 .changeset/funny-ladybugs-cheat.md diff --git a/.changeset/funny-ladybugs-cheat.md b/.changeset/funny-ladybugs-cheat.md new file mode 100644 index 0000000..4d48eb7 --- /dev/null +++ b/.changeset/funny-ladybugs-cheat.md @@ -0,0 +1,6 @@ +--- +'@emigrate/types': minor +'@emigrate/cli': minor +--- + +Add `color` option to the CLI and configuration file, which is used to force enable/disable color output from the reporter (the option is passed to the chosen reporter which should respect it) diff --git a/docs/src/content/docs/commands/list.mdx b/docs/src/content/docs/commands/list.mdx index 7c79628..6120302 100644 --- a/docs/src/content/docs/commands/list.mdx +++ b/docs/src/content/docs/commands/list.mdx @@ -91,3 +91,7 @@ The name can be either a path to a module or a package name. For package names E And then try to load the module/package with the given name. For example, if you want to use the `emigrate-reporter-somereporter` package, you can specify either `emigrate-reporter-somereporter` or just `somereporter` as the name. + +### `--color`, `--no-color` + +Force enable/disable colored output, option is passed to the reporter which should respect it. diff --git a/docs/src/content/docs/commands/new.mdx b/docs/src/content/docs/commands/new.mdx index a411b29..0c0721d 100644 --- a/docs/src/content/docs/commands/new.mdx +++ b/docs/src/content/docs/commands/new.mdx @@ -108,3 +108,7 @@ The name can be either a path to a module or a package name. For package names E And then try to load the module/package with the given name. For example, if you want to use the `emigrate-reporter-somereporter` package, you can specify either `emigrate-reporter-somereporter` or just `somereporter` as the name. + +### `--color`, `--no-color` + +Force enable/disable colored output, option is passed to the reporter which should respect it. diff --git a/docs/src/content/docs/commands/remove.mdx b/docs/src/content/docs/commands/remove.mdx index d1e8ebe..af17a52 100644 --- a/docs/src/content/docs/commands/remove.mdx +++ b/docs/src/content/docs/commands/remove.mdx @@ -98,3 +98,7 @@ The name can be either a path to a module or a package name. For package names E And then try to load the module/package with the given name. For example, if you want to use the `emigrate-reporter-somereporter` package, you can specify either `emigrate-reporter-somereporter` or just `somereporter` as the name. + +### `--color`, `--no-color` + +Force enable/disable colored output, option is passed to the reporter which should respect it. diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index 3868217..d431807 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -112,3 +112,7 @@ The name can be either a path to a module or a package name. For package names E And then try to load the module/package with the given name. For example, if you want to use the `emigrate-reporter-somereporter` package, you can specify either `emigrate-reporter-somereporter` or just `somereporter` as the name. + +### `--color`, `--no-color` + +Force enable/disable colored output, option is passed to the reporter which should respect it. diff --git a/docs/src/content/docs/reference/configuration.mdx b/docs/src/content/docs/reference/configuration.mdx index 5294cc3..46d0a67 100644 --- a/docs/src/content/docs/reference/configuration.mdx +++ b/docs/src/content/docs/reference/configuration.mdx @@ -46,6 +46,7 @@ Set the directory where your migrations are located, relative to the project roo ### `reporter` **type:** `string | EmigrateReporter | Promise | (() => Promise)` + **default:** `"default"` - the default reporter Set the reporter to use for the different commands. Specifying a reporter is most useful in a CI or production environment where you either ship logs or want to have a machine-readable format. @@ -74,6 +75,20 @@ Commands that are not specified will use the default reporter. The default reporter automatically detects if the current environment is an interactive terminal or not, and will only render animations and similar if it is. ::: +### `color` + +**type:** `boolean | undefined` + +**default:** `undefined` + +Set whether to force colors in the output or not. This option is passed to the reporter which should respect it. + +```js title="emigrate.config.js" {2} +export default { + color: false, +}; +``` + ### `storage` **type:** `string | EmigrateStorage | Promise | (() => Promise)` diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index de7132b..4ad8ace 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -6,6 +6,14 @@ import { getConfig } from './get-config.js'; type Action = (args: string[]) => Promise; +const useColors = (values: { color?: boolean; 'no-color'?: boolean }) => { + if (values['no-color']) { + return false; + } + + return values.color; +}; + const up: Action = async (args) => { const config = await getConfig('up'); const { values } = parseArgs({ @@ -36,6 +44,12 @@ const up: Action = async (args) => { multiple: true, default: [], }, + color: { + type: 'boolean', + }, + 'no-color': { + type: 'boolean', + }, }, allowPositionals: false, }); @@ -52,6 +66,8 @@ Options: -p, --plugin The plugin(s) to use (can be specified multiple times) -r, --reporter The reporter to use for reporting the migration progress --dry List the pending migrations that would be run without actually running them + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: @@ -71,7 +87,7 @@ Examples: try { const { default: upCommand } = await import('./commands/up.js'); - process.exitCode = await upCommand({ storage, reporter, directory, plugins, dry }); + process.exitCode = await upCommand({ storage, reporter, directory, plugins, dry, color: useColors(values) }); } catch (error) { if (error instanceof ShowUsageError) { console.error(error.message, '\n'); @@ -115,6 +131,12 @@ const newMigration: Action = async (args) => { multiple: true, default: [], }, + color: { + type: 'boolean', + }, + 'no-color': { + type: 'boolean', + }, }, allowPositionals: true, }); @@ -137,6 +159,8 @@ Options: (if the extension option is not provided the template file's extension will be used) -e, --extension The extension to use for the new migration file (if no template or plugin is provided an empty migration file will be created with the given extension) + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) One of the --template, --extension or the --plugin options must be specified @@ -165,7 +189,7 @@ Examples: try { const { default: newCommand } = await import('./commands/new.js'); - await newCommand({ directory, template, plugins, extension, reporter }, name); + await newCommand({ directory, template, plugins, extension, reporter, color: useColors(values) }, name); } catch (error) { if (error instanceof ShowUsageError) { console.error(error.message, '\n'); @@ -199,6 +223,12 @@ const list: Action = async (args) => { type: 'string', short: 's', }, + color: { + type: 'boolean', + }, + 'no-color': { + type: 'boolean', + }, }, allowPositionals: false, }); @@ -213,6 +243,8 @@ Options: -d, --directory The directory where the migration files are located (required) -r, --reporter The reporter to use for reporting the migrations -s, --storage The storage to use to get the migration history (required) + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: @@ -230,7 +262,7 @@ Examples: try { const { default: listCommand } = await import('./commands/list.js'); - process.exitCode = await listCommand({ directory, storage, reporter }); + process.exitCode = await listCommand({ directory, storage, reporter, color: useColors(values) }); } catch (error) { if (error instanceof ShowUsageError) { console.error(error.message, '\n'); @@ -268,6 +300,12 @@ const remove: Action = async (args) => { type: 'string', short: 's', }, + color: { + type: 'boolean', + }, + 'no-color': { + type: 'boolean', + }, }, allowPositionals: true, }); @@ -289,6 +327,8 @@ Options: -s, --storage The storage to use to get the migration history (required) -f, --force Force removal of the migration history entry even if the migration file does not exist or it's in a non-failed state + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: @@ -306,7 +346,10 @@ Examples: try { const { default: removeCommand } = await import('./commands/remove.js'); - process.exitCode = await removeCommand({ directory, storage, reporter, force }, positionals[0] ?? ''); + process.exitCode = await removeCommand( + { directory, storage, reporter, force, color: useColors(values) }, + positionals[0] ?? '', + ); } catch (error) { if (error instanceof ShowUsageError) { console.error(error.message, '\n'); diff --git a/packages/cli/src/commands/list.ts b/packages/cli/src/commands/list.ts index d0ed7b5..726351f 100644 --- a/packages/cli/src/commands/list.ts +++ b/packages/cli/src/commands/list.ts @@ -10,7 +10,12 @@ import { version } from '../get-package-info.js'; const lazyDefaultReporter = async () => import('../reporters/default.js'); -export default async function listCommand({ directory, reporter: reporterConfig, storage: storageConfig }: Config) { +export default async function listCommand({ + directory, + reporter: reporterConfig, + storage: storageConfig, + color, +}: Config) { if (!directory) { throw MissingOptionError.fromOption('directory'); } @@ -31,7 +36,7 @@ export default async function listCommand({ directory, reporter: reporterConfig, ); } - await reporter.onInit?.({ command: 'list', version, cwd, dry: false, directory }); + await reporter.onInit?.({ command: 'list', version, cwd, dry: false, directory, color }); const [storage, storageError] = await exec(async () => storagePlugin.initializeStorage()); diff --git a/packages/cli/src/commands/new.ts b/packages/cli/src/commands/new.ts index 8c551c4..bd4f682 100644 --- a/packages/cli/src/commands/new.ts +++ b/packages/cli/src/commands/new.ts @@ -19,7 +19,7 @@ import { getDuration } from '../get-duration.js'; const lazyDefaultReporter = async () => import('../reporters/default.js'); export default async function newCommand( - { directory, template, reporter: reporterConfig, plugins = [], extension }: Config, + { directory, template, reporter: reporterConfig, plugins = [], extension, color }: Config, name: string, ) { if (!directory) { @@ -45,7 +45,7 @@ export default async function newCommand( ); } - await reporter.onInit?.({ command: 'new', version, cwd, dry: false, directory }); + await reporter.onInit?.({ command: 'new', version, cwd, dry: false, directory, color }); const start = process.hrtime(); diff --git a/packages/cli/src/commands/remove.ts b/packages/cli/src/commands/remove.ts index 852a34e..b74ecaf 100644 --- a/packages/cli/src/commands/remove.ts +++ b/packages/cli/src/commands/remove.ts @@ -22,7 +22,7 @@ type ExtraFlags = { const lazyDefaultReporter = async () => import('../reporters/default.js'); export default async function removeCommand( - { directory, reporter: reporterConfig, storage: storageConfig, force }: Config & ExtraFlags, + { directory, reporter: reporterConfig, storage: storageConfig, color, force = false }: Config & ExtraFlags, name: string, ) { if (!directory) { @@ -57,7 +57,7 @@ export default async function removeCommand( return 1; } - await reporter.onInit?.({ command: 'remove', version, cwd, dry: false, directory }); + await reporter.onInit?.({ command: 'remove', version, cwd, dry: false, directory, color }); const [migrationFile, fileError] = await exec(async () => getMigration(cwd, directory, name, !force)); diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index c0b63c4..fe88b74 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -33,6 +33,7 @@ describe('up', () => { command: 'up', cwd: '/emigrate', dry: false, + color: undefined, version, directory: 'migrations', }, @@ -111,6 +112,7 @@ describe('up', () => { cwd: '/emigrate', version, dry: false, + color: undefined, directory: 'migrations', }, ]); @@ -152,6 +154,7 @@ describe('up', () => { cwd: '/emigrate', version, dry: true, + color: undefined, directory: 'migrations', }, ]); @@ -193,6 +196,7 @@ describe('up', () => { cwd: '/emigrate', version, dry: false, + color: undefined, directory: 'migrations', }, ]); @@ -219,6 +223,7 @@ describe('up', () => { cwd: '/emigrate', version, dry: false, + color: undefined, directory: 'migrations', }, ]); @@ -265,6 +270,7 @@ describe('up', () => { cwd: '/emigrate', version, dry: false, + color: undefined, directory: 'migrations', }, ]); @@ -312,6 +318,7 @@ describe('up', () => { cwd: '/emigrate', version, dry: false, + color: undefined, directory: 'migrations', }, ]); diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index 07ec7c9..2423286 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -25,6 +25,7 @@ export default async function upCommand({ storage: storageConfig, reporter: reporterConfig, directory, + color, dry = false, plugins = [], cwd = process.cwd(), @@ -49,7 +50,7 @@ export default async function upCommand({ ); } - await reporter.onInit?.({ command: 'up', version, cwd, dry, directory }); + await reporter.onInit?.({ command: 'up', version, cwd, dry, directory, color }); const [storage, storageError] = await exec(async () => storagePlugin.initializeStorage()); diff --git a/packages/cli/src/types.ts b/packages/cli/src/types.ts index 2880bd8..bc4e000 100644 --- a/packages/cli/src/types.ts +++ b/packages/cli/src/types.ts @@ -11,6 +11,7 @@ export type Config = { directory?: string; template?: string; extension?: string; + color?: boolean; }; export type EmigrateConfig = Config & { diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index a062519..dea668d 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -229,6 +229,13 @@ export type ReporterInitParameters = { * Will only be true when the command is 'up' and the --dry option is specified. */ dry: boolean; + /** + * Forcibly enable or disable colors in the output. + * + * If set to true, the reporter should use colors in the output. + * If set to false, the reporter should not use colors in the output. + */ + color?: boolean; }; export type EmigrateReporter = Partial<{ From e6e4433018f5ea22818930f273879a06eec7b8f7 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Wed, 20 Dec 2023 09:22:42 +0100 Subject: [PATCH 03/98] feat(cli): rename extension short option from `-e` to `-x` BREAKING CHANGE: if you've been using the `-e` short option you should change it to `-x` or use the long option name `--extension` --- .changeset/sharp-eggs-poke.md | 5 +++++ README.md | 8 ++++---- docs/src/content/docs/commands/new.mdx | 8 ++++++-- packages/cli/README.md | 10 +++++++++- packages/cli/src/cli.ts | 8 ++++---- 5 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 .changeset/sharp-eggs-poke.md diff --git a/.changeset/sharp-eggs-poke.md b/.changeset/sharp-eggs-poke.md new file mode 100644 index 0000000..cc6ae22 --- /dev/null +++ b/.changeset/sharp-eggs-poke.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +BREAKING CHANGE: Rename the `extension` short CLI option from `-e` to `-x` in preparation for an upcoming option that will take its place diff --git a/README.md b/README.md index 85dfe0d..d494410 100644 --- a/README.md +++ b/README.md @@ -44,13 +44,13 @@ bun add @emigrate/cli Create a new migration: ```bash -npx emigrate new -d migrations -e .js create some fancy table +npx emigrate new -d migrations create some fancy table # or -pnpm emigrate new -d migrations -e .js create some fancy table +pnpm emigrate new -d migrations create some fancy table # or -yarn emigrate new -d migrations -e .js create some fancy table +yarn emigrate new -d migrations create some fancy table # or -bunx --bun emigrate new -d migrations -e .js create some fancy table +bunx --bun emigrate new -d migrations create some fancy table ``` Will create a new empty JavaScript migration file with the name "YYYYMMDDHHmmssuuu_create_some_fancy_table.js" in the `migrations` directory. diff --git a/docs/src/content/docs/commands/new.mdx b/docs/src/content/docs/commands/new.mdx index 0c0721d..671b918 100644 --- a/docs/src/content/docs/commands/new.mdx +++ b/docs/src/content/docs/commands/new.mdx @@ -74,12 +74,16 @@ The directory where the migration files are located. The given path should be ab The template file to use for generating the migration file. The given path should be absolute or relative to the current working directory. -The template can contain a `{{name}}` placeholder which will be replaced with the migration name provided to the command. The generated file will have the same extension as the template file, unless the [`--extension`](#-e---extension-ext) option is used. +The template can contain a `{{name}}` placeholder which will be replaced with the migration name provided to the command. The generated file will have the same extension as the template file, unless the [`--extension`](#-x---extension-ext) option is used. -### `-e`, `--extension ` +### `-x`, `--extension ` The extension to use for the migration file. Unless the [`--template`](#-t---template-path) option is also specified the file will be empty. +If both the `--template` and `--extension` options are specified, the extension will override the template file extension. + +**Example:** `--extension .sql` will generate a file with the `.sql` extension. + ### `-p`, `--plugin ` The generator plugin to use. The generator plugin is responsible for generating the migration filename and its contents. diff --git a/packages/cli/README.md b/packages/cli/README.md index 8c84c57..19f8c42 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -2,6 +2,8 @@ Emigrate is a tool for managing database migrations. It is designed to be simple yet support advanced setups, modular and extensible. +📖 Read the [documentation](https://emigrate.dev) for more information! + ## Installation Install the Emigrate CLI in your project: @@ -21,7 +23,13 @@ bun add @emigrate/cli Create a new migration: ```bash -emigrate new -d migrations -e .js create some fancy table +npx emigrate new -d migrations create some fancy table +# or +pnpm emigrate new -d migrations create some fancy table +# or +yarn emigrate new -d migrations create some fancy table +# or +bunx --bun emigrate new -d migrations create some fancy table ``` Will create a new empty JavaScript migration file with the name "YYYYMMDDHHmmssuuu_create_some_fancy_table.js" in the `migrations` directory. diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index 4ad8ace..ca31f55 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -123,7 +123,7 @@ const newMigration: Action = async (args) => { }, extension: { type: 'string', - short: 'e', + short: 'x', }, plugin: { type: 'string', @@ -157,7 +157,7 @@ Options: -p, --plugin The plugin(s) to use (can be specified multiple times) -t, --template A template file to use as contents for the new migration file (if the extension option is not provided the template file's extension will be used) - -e, --extension The extension to use for the new migration file + -x, --extension The extension to use for the new migration file (if no template or plugin is provided an empty migration file will be created with the given extension) --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) @@ -168,8 +168,8 @@ Examples: emigrate new -d src/migrations -t migration-template.js create users table emigrate new --directory ./migrations --plugin @emigrate/postgres create_users_table - emigrate new -d ./migrations -e .sql create_users_table - emigrate new -d ./migrations -t .migration-template -e .sql "drop some table" + emigrate new -d ./migrations -x .sql create_users_table + emigrate new -d ./migrations -t .migration-template -x .sql "drop some table" `; if (values.help) { From 9f91bdcfa08ebb76ac2aa1d5fea6f2dfedba4c29 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Wed, 20 Dec 2023 11:01:01 +0100 Subject: [PATCH 04/98] feat(cli): add the `--import` option for importing modules/packages before commands are run Can for instance be used to load environment variables using Dotenv --- .changeset/curvy-days-teach.md | 5 ++ docs/src/content/docs/commands/list.mdx | 6 ++ docs/src/content/docs/commands/remove.mdx | 6 ++ docs/src/content/docs/commands/up.mdx | 6 ++ packages/cli/package.json | 1 + packages/cli/src/cli.ts | 102 +++++++++++++++++----- packages/cli/src/commands/list.ts | 9 +- packages/cli/src/commands/new.ts | 16 ++-- packages/cli/src/commands/remove.ts | 8 +- packages/cli/src/commands/up.ts | 5 +- packages/cli/src/migration-runner.ts | 4 +- pnpm-lock.yaml | 3 + 12 files changed, 131 insertions(+), 40 deletions(-) create mode 100644 .changeset/curvy-days-teach.md diff --git a/.changeset/curvy-days-teach.md b/.changeset/curvy-days-teach.md new file mode 100644 index 0000000..cea91df --- /dev/null +++ b/.changeset/curvy-days-teach.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add support for the `--import` option to import modules/packages before any command is run. This can for instance be used to load environment variables using the [dotenv](https://github.com/motdotla/dotenv) package with `--import dotenv/config`. diff --git a/docs/src/content/docs/commands/list.mdx b/docs/src/content/docs/commands/list.mdx index 6120302..8e1fb92 100644 --- a/docs/src/content/docs/commands/list.mdx +++ b/docs/src/content/docs/commands/list.mdx @@ -62,6 +62,12 @@ Show command help and exit The directory where the migration files are located. The given path should be absolute or relative to the current working directory. +### `-i`, `--import ` + +A module to import before listing the migrations. This option can be specified multiple times. + +Can for instance be used to load environment variables using [dotenv](https://github.com/motdotla/dotenv) with `--import dotenv/config`. + ### `-s`, `--storage ` The storage plugin to use, which is responsible for where to store the migration history. diff --git a/docs/src/content/docs/commands/remove.mdx b/docs/src/content/docs/commands/remove.mdx index af17a52..421b7de 100644 --- a/docs/src/content/docs/commands/remove.mdx +++ b/docs/src/content/docs/commands/remove.mdx @@ -69,6 +69,12 @@ The directory where the migration files are located. The given path should be ab Force removal of the migration history entry even if the migration file does not exist or it's in a non-failed state. +### `-i`, `--import ` + +A module to import before remove the migration. This option can be specified multiple times. + +Can for instance be used to load environment variables using [dotenv](https://github.com/motdotla/dotenv) with `--import dotenv/config`. + ### `-s`, `--storage ` The storage plugin to use, which is responsible for where to store the migration history. diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index d431807..64db94c 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -68,6 +68,12 @@ List the pending migrations that would be run without actually running them The directory where the migration files are located. The given path should be absolute or relative to the current working directory. +### `-i`, `--import ` + +A module to import before running the migrations. This option can be specified multiple times. + +Can for instance be used to load environment variables using [dotenv](https://github.com/motdotla/dotenv) with `--import dotenv/config`. + ### `-s`, `--storage ` The storage plugin to use, which is responsible for where to store the migration history. diff --git a/packages/cli/package.json b/packages/cli/package.json index e2ead0c..3a0e7e4 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -49,6 +49,7 @@ "cosmiconfig": "8.3.6", "elegant-spinner": "3.0.0", "figures": "6.0.1", + "import-from-esm": "1.3.3", "is-interactive": "2.0.0", "log-update": "6.0.0", "pretty-ms": "8.0.0", diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index ca31f55..ca1b0d7 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -1,6 +1,7 @@ #!/usr/bin/env node --enable-source-maps import process from 'node:process'; import { parseArgs } from 'node:util'; +import importFromEsm from 'import-from-esm'; import { ShowUsageError } from './errors.js'; import { getConfig } from './get-config.js'; @@ -14,6 +15,12 @@ const useColors = (values: { color?: boolean; 'no-color'?: boolean }) => { return values.color; }; +const importAll = async (cwd: string, modules: string[]) => { + for await (const module of modules) { + await importFromEsm(cwd, module); + } +}; + const up: Action = async (args) => { const config = await getConfig('up'); const { values } = parseArgs({ @@ -27,6 +34,12 @@ const up: Action = async (args) => { type: 'string', short: 'd', }, + import: { + type: 'string', + short: 'i', + multiple: true, + default: [], + }, reporter: { type: 'string', short: 'r', @@ -60,20 +73,23 @@ Run all pending migrations Options: - -h, --help Show this help message and exit - -d, --directory The directory where the migration files are located (required) - -s, --storage The storage to use for where to store the migration history (required) - -p, --plugin The plugin(s) to use (can be specified multiple times) - -r, --reporter The reporter to use for reporting the migration progress - --dry List the pending migrations that would be run without actually running them - --color Force color output (this option is passed to the reporter) - --no-color Disable color output (this option is passed to the reporter) + -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before running the migrations (can be specified multiple times) + For example if you want to use Dotenv to load environment variables or when using TypeScript + -s, --storage The storage to use for where to store the migration history (required) + -p, --plugin The plugin(s) to use (can be specified multiple times) + -r, --reporter The reporter to use for reporting the migration progress + --dry List the pending migrations that would be run without actually running them + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: emigrate up --directory src/migrations -s fs emigrate up -d ./migrations --storage @emigrate/mysql emigrate up -d src/migrations -s postgres -r json --dry + emigrate up -d ./migrations -s mysql --import dotenv/config `; if (values.help) { @@ -82,12 +98,21 @@ Examples: return; } - const { directory = config.directory, storage = config.storage, reporter = config.reporter, dry } = values; + const cwd = process.cwd(); + const { + directory = config.directory, + storage = config.storage, + reporter = config.reporter, + dry, + import: imports = [], + } = values; const plugins = [...(config.plugins ?? []), ...(values.plugin ?? [])]; + await importAll(cwd, imports); + try { const { default: upCommand } = await import('./commands/up.js'); - process.exitCode = await upCommand({ storage, reporter, directory, plugins, dry, color: useColors(values) }); + process.exitCode = await upCommand({ storage, reporter, directory, plugins, cwd, dry, color: useColors(values) }); } catch (error) { if (error instanceof ShowUsageError) { console.error(error.message, '\n'); @@ -178,6 +203,7 @@ Examples: return; } + const cwd = process.cwd(); const { directory = config.directory, template = config.template, @@ -189,7 +215,7 @@ Examples: try { const { default: newCommand } = await import('./commands/new.js'); - await newCommand({ directory, template, plugins, extension, reporter, color: useColors(values) }, name); + await newCommand({ directory, template, plugins, extension, reporter, cwd, color: useColors(values) }, name); } catch (error) { if (error instanceof ShowUsageError) { console.error(error.message, '\n'); @@ -215,6 +241,12 @@ const list: Action = async (args) => { type: 'string', short: 'd', }, + import: { + type: 'string', + short: 'i', + multiple: true, + default: [], + }, reporter: { type: 'string', short: 'r', @@ -239,10 +271,12 @@ List all migrations and their status. This command does not run any migrations. Options: - -h, --help Show this help message and exit - -d, --directory The directory where the migration files are located (required) - -r, --reporter The reporter to use for reporting the migrations - -s, --storage The storage to use to get the migration history (required) + -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before listing the migrations (can be specified multiple times) + For example if you want to use Dotenv to load environment variables + -r, --reporter The reporter to use for reporting the migrations + -s, --storage The storage to use to get the migration history (required) --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) @@ -258,11 +292,19 @@ Examples: return; } - const { directory = config.directory, storage = config.storage, reporter = config.reporter } = values; + const cwd = process.cwd(); + const { + directory = config.directory, + storage = config.storage, + reporter = config.reporter, + import: imports = [], + } = values; + + await importAll(cwd, imports); try { const { default: listCommand } = await import('./commands/list.js'); - process.exitCode = await listCommand({ directory, storage, reporter, color: useColors(values) }); + process.exitCode = await listCommand({ directory, storage, reporter, cwd, color: useColors(values) }); } catch (error) { if (error instanceof ShowUsageError) { console.error(error.message, '\n'); @@ -288,6 +330,12 @@ const remove: Action = async (args) => { type: 'string', short: 'd', }, + import: { + type: 'string', + short: 'i', + multiple: true, + default: [], + }, force: { type: 'boolean', short: 'f', @@ -323,6 +371,8 @@ Options: -h, --help Show this help message and exit -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before removing the migration (can be specified multiple times) + For example if you want to use Dotenv to load environment variables -r, --reporter The reporter to use for reporting the removal process -s, --storage The storage to use to get the migration history (required) -f, --force Force removal of the migration history entry even if the migration file does not exist @@ -334,6 +384,7 @@ Examples: emigrate remove -d migrations -s fs 20231122120529381_some_migration_file.js emigrate remove --directory ./migrations --storage postgres 20231122120529381_some_migration_file.sql + emigrate remove -i dotenv/config -d ./migrations -s postgres 20231122120529381_some_migration_file.sql `; if (values.help) { @@ -342,12 +393,21 @@ Examples: return; } - const { directory = config.directory, storage = config.storage, reporter = config.reporter, force } = values; + const cwd = process.cwd(); + const { + directory = config.directory, + storage = config.storage, + reporter = config.reporter, + force, + import: imports = [], + } = values; + + await importAll(cwd, imports); try { const { default: removeCommand } = await import('./commands/remove.js'); process.exitCode = await removeCommand( - { directory, storage, reporter, force, color: useColors(values) }, + { directory, storage, reporter, force, cwd, color: useColors(values) }, positionals[0] ?? '', ); } catch (error) { @@ -428,9 +488,9 @@ try { await main(process.argv.slice(2)); } catch (error) { if (error instanceof Error) { - console.error(error.message); + console.error(error); if (error.cause instanceof Error) { - console.error(error.cause.stack); + console.error(error.cause); } } else { console.error(error); diff --git a/packages/cli/src/commands/list.ts b/packages/cli/src/commands/list.ts index 726351f..add45d0 100644 --- a/packages/cli/src/commands/list.ts +++ b/packages/cli/src/commands/list.ts @@ -1,4 +1,3 @@ -import process from 'node:process'; import { getOrLoadReporter, getOrLoadStorage } from '@emigrate/plugin-tools'; import { BadOptionError, MissingOptionError, StorageInitError, toError } from '../errors.js'; import { type Config } from '../types.js'; @@ -10,17 +9,21 @@ import { version } from '../get-package-info.js'; const lazyDefaultReporter = async () => import('../reporters/default.js'); +type ExtraFlags = { + cwd: string; +}; + export default async function listCommand({ directory, reporter: reporterConfig, storage: storageConfig, color, -}: Config) { + cwd, +}: Config & ExtraFlags) { if (!directory) { throw MissingOptionError.fromOption('directory'); } - const cwd = process.cwd(); const storagePlugin = await getOrLoadStorage([storageConfig]); if (!storagePlugin) { diff --git a/packages/cli/src/commands/new.ts b/packages/cli/src/commands/new.ts index bd4f682..81351b8 100644 --- a/packages/cli/src/commands/new.ts +++ b/packages/cli/src/commands/new.ts @@ -1,4 +1,4 @@ -import process from 'node:process'; +import { hrtime } from 'node:process'; import fs from 'node:fs/promises'; import path from 'node:path'; import { getTimestampPrefix, sanitizeMigrationName, getOrLoadPlugin, getOrLoadReporter } from '@emigrate/plugin-tools'; @@ -18,8 +18,12 @@ import { getDuration } from '../get-duration.js'; const lazyDefaultReporter = async () => import('../reporters/default.js'); +type ExtraFlags = { + cwd: string; +}; + export default async function newCommand( - { directory, template, reporter: reporterConfig, plugins = [], extension, color }: Config, + { directory, template, reporter: reporterConfig, plugins = [], cwd, extension, color }: Config & ExtraFlags, name: string, ) { if (!directory) { @@ -34,8 +38,6 @@ export default async function newCommand( throw MissingOptionError.fromOption(['extension', 'template', 'plugin']); } - const cwd = process.cwd(); - const reporter = await getOrLoadReporter([reporterConfig ?? lazyDefaultReporter]); if (!reporter) { @@ -47,14 +49,14 @@ export default async function newCommand( await reporter.onInit?.({ command: 'new', version, cwd, dry: false, directory, color }); - const start = process.hrtime(); + const start = hrtime(); let filename: string | undefined; let content: string | undefined; if (template) { const fs = await import('node:fs/promises'); - const templatePath = path.resolve(process.cwd(), template); + const templatePath = path.resolve(cwd, template); const fileExtension = path.extname(templatePath); try { @@ -98,7 +100,7 @@ export default async function newCommand( ); } - const directoryPath = path.resolve(process.cwd(), directory); + const directoryPath = path.resolve(cwd, directory); const filePath = path.resolve(directoryPath, filename); const migration: MigrationMetadata = { diff --git a/packages/cli/src/commands/remove.ts b/packages/cli/src/commands/remove.ts index b74ecaf..cd2a42d 100644 --- a/packages/cli/src/commands/remove.ts +++ b/packages/cli/src/commands/remove.ts @@ -16,13 +16,14 @@ import { exec } from '../exec.js'; import { version } from '../get-package-info.js'; type ExtraFlags = { + cwd: string; force?: boolean; }; const lazyDefaultReporter = async () => import('../reporters/default.js'); export default async function removeCommand( - { directory, reporter: reporterConfig, storage: storageConfig, color, force = false }: Config & ExtraFlags, + { directory, reporter: reporterConfig, storage: storageConfig, color, cwd, force = false }: Config & ExtraFlags, name: string, ) { if (!directory) { @@ -33,7 +34,6 @@ export default async function removeCommand( throw MissingArgumentsError.fromArgument('name'); } - const cwd = process.cwd(); const storagePlugin = await getOrLoadStorage([storageConfig]); if (!storagePlugin) { @@ -49,6 +49,8 @@ export default async function removeCommand( ); } + await reporter.onInit?.({ command: 'remove', version, cwd, dry: false, directory, color }); + const [storage, storageError] = await exec(async () => storagePlugin.initializeStorage()); if (storageError) { @@ -57,8 +59,6 @@ export default async function removeCommand( return 1; } - await reporter.onInit?.({ command: 'remove', version, cwd, dry: false, directory, color }); - const [migrationFile, fileError] = await exec(async () => getMigration(cwd, directory, name, !force)); if (fileError) { diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index 2423286..c260c46 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -1,4 +1,3 @@ -import process from 'node:process'; import { getOrLoadPlugins, getOrLoadReporter, getOrLoadStorage } from '@emigrate/plugin-tools'; import { isFinishedMigration, type LoaderPlugin } from '@emigrate/types'; import { BadOptionError, MigrationLoadError, MissingOptionError, StorageInitError, toError } from '../errors.js'; @@ -13,7 +12,7 @@ import { arrayFromAsync } from '../array-from-async.js'; import { version } from '../get-package-info.js'; type ExtraFlags = { - cwd?: string; + cwd: string; dry?: boolean; getMigrations?: GetMigrationsFunction; }; @@ -28,7 +27,7 @@ export default async function upCommand({ color, dry = false, plugins = [], - cwd = process.cwd(), + cwd, getMigrations, }: Config & ExtraFlags): Promise { if (!directory) { diff --git a/packages/cli/src/migration-runner.ts b/packages/cli/src/migration-runner.ts index a8914e2..8cdf88c 100644 --- a/packages/cli/src/migration-runner.ts +++ b/packages/cli/src/migration-runner.ts @@ -1,4 +1,4 @@ -import process from 'node:process'; +import { hrtime } from 'node:process'; import { isFinishedMigration, isFailedMigration, @@ -123,7 +123,7 @@ export const migrationRunner = async ({ await reporter.onMigrationStart?.(migration); - const start = process.hrtime(); + const start = hrtime(); const [, migrationError] = await exec(async () => execute(migration)); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08e785c..daf748b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -89,6 +89,9 @@ importers: figures: specifier: 6.0.1 version: 6.0.1 + import-from-esm: + specifier: 1.3.3 + version: 1.3.3 is-interactive: specifier: 2.0.0 version: 2.0.0 From 59eb90b8cb3d1f2b3c3792ee0c3d55ad03ff4e58 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 20 Dec 2023 10:09:03 +0000 Subject: [PATCH 05/98] chore(release): version packages --- .changeset/curvy-days-teach.md | 5 ----- .changeset/funny-ladybugs-cheat.md | 6 ------ .changeset/sharp-eggs-poke.md | 5 ----- packages/cli/CHANGELOG.md | 14 ++++++++++++++ packages/cli/package.json | 2 +- packages/mysql/CHANGELOG.md | 8 ++++++++ packages/mysql/package.json | 2 +- packages/plugin-generate-js/CHANGELOG.md | 8 ++++++++ packages/plugin-generate-js/package.json | 2 +- packages/plugin-tools/CHANGELOG.md | 7 +++++++ packages/plugin-tools/package.json | 2 +- packages/postgres/CHANGELOG.md | 8 ++++++++ packages/postgres/package.json | 2 +- packages/reporter-pino/CHANGELOG.md | 7 +++++++ packages/reporter-pino/package.json | 2 +- packages/storage-fs/CHANGELOG.md | 7 +++++++ packages/storage-fs/package.json | 2 +- packages/types/CHANGELOG.md | 6 ++++++ packages/types/package.json | 2 +- 19 files changed, 73 insertions(+), 24 deletions(-) delete mode 100644 .changeset/curvy-days-teach.md delete mode 100644 .changeset/funny-ladybugs-cheat.md delete mode 100644 .changeset/sharp-eggs-poke.md diff --git a/.changeset/curvy-days-teach.md b/.changeset/curvy-days-teach.md deleted file mode 100644 index cea91df..0000000 --- a/.changeset/curvy-days-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add support for the `--import` option to import modules/packages before any command is run. This can for instance be used to load environment variables using the [dotenv](https://github.com/motdotla/dotenv) package with `--import dotenv/config`. diff --git a/.changeset/funny-ladybugs-cheat.md b/.changeset/funny-ladybugs-cheat.md deleted file mode 100644 index 4d48eb7..0000000 --- a/.changeset/funny-ladybugs-cheat.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@emigrate/types': minor -'@emigrate/cli': minor ---- - -Add `color` option to the CLI and configuration file, which is used to force enable/disable color output from the reporter (the option is passed to the chosen reporter which should respect it) diff --git a/.changeset/sharp-eggs-poke.md b/.changeset/sharp-eggs-poke.md deleted file mode 100644 index cc6ae22..0000000 --- a/.changeset/sharp-eggs-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -BREAKING CHANGE: Rename the `extension` short CLI option from `-e` to `-x` in preparation for an upcoming option that will take its place diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index a24ce1c..e82bbf6 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,19 @@ # @emigrate/cli +## 0.12.0 + +### Minor Changes + +- 9f91bdc: Add support for the `--import` option to import modules/packages before any command is run. This can for instance be used to load environment variables using the [dotenv](https://github.com/motdotla/dotenv) package with `--import dotenv/config`. +- f9a16d8: Add `color` option to the CLI and configuration file, which is used to force enable/disable color output from the reporter (the option is passed to the chosen reporter which should respect it) +- e6e4433: BREAKING CHANGE: Rename the `extension` short CLI option from `-e` to `-x` in preparation for an upcoming option that will take its place + +### Patch Changes + +- Updated dependencies [f9a16d8] + - @emigrate/types@0.10.0 + - @emigrate/plugin-tools@0.9.3 + ## 0.11.2 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 3a0e7e4..ed00390 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.11.2", + "version": "0.12.0", "publishConfig": { "access": "public" }, diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index bfcfe8a..22016d4 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/mysql +## 0.2.3 + +### Patch Changes + +- Updated dependencies [f9a16d8] + - @emigrate/types@0.10.0 + - @emigrate/plugin-tools@0.9.3 + ## 0.2.2 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 5b4a2f4..d62be01 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.2.2", + "version": "0.2.3", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-generate-js/CHANGELOG.md b/packages/plugin-generate-js/CHANGELOG.md index 728cf02..9464f5f 100644 --- a/packages/plugin-generate-js/CHANGELOG.md +++ b/packages/plugin-generate-js/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-generate-js +## 0.3.3 + +### Patch Changes + +- Updated dependencies [f9a16d8] + - @emigrate/types@0.10.0 + - @emigrate/plugin-tools@0.9.3 + ## 0.3.2 ### Patch Changes diff --git a/packages/plugin-generate-js/package.json b/packages/plugin-generate-js/package.json index 90a8d11..c9fc1d5 100644 --- a/packages/plugin-generate-js/package.json +++ b/packages/plugin-generate-js/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-generate-js", - "version": "0.3.2", + "version": "0.3.3", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-tools/CHANGELOG.md b/packages/plugin-tools/CHANGELOG.md index ea70371..67cf09f 100644 --- a/packages/plugin-tools/CHANGELOG.md +++ b/packages/plugin-tools/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/plugin-tools +## 0.9.3 + +### Patch Changes + +- Updated dependencies [f9a16d8] + - @emigrate/types@0.10.0 + ## 0.9.2 ### Patch Changes diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index cc698b9..28ea06b 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-tools", - "version": "0.9.2", + "version": "0.9.3", "publishConfig": { "access": "public" }, diff --git a/packages/postgres/CHANGELOG.md b/packages/postgres/CHANGELOG.md index beb36c3..413f87d 100644 --- a/packages/postgres/CHANGELOG.md +++ b/packages/postgres/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/postgres +## 0.2.3 + +### Patch Changes + +- Updated dependencies [f9a16d8] + - @emigrate/types@0.10.0 + - @emigrate/plugin-tools@0.9.3 + ## 0.2.2 ### Patch Changes diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 3f48d05..1a08f90 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/postgres", - "version": "0.2.2", + "version": "0.2.3", "publishConfig": { "access": "public" }, diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index c8c28ee..a62e206 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/reporter-pino +## 0.4.3 + +### Patch Changes + +- Updated dependencies [f9a16d8] + - @emigrate/types@0.10.0 + ## 0.4.2 ### Patch Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 493508d..0dfd986 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.4.2", + "version": "0.4.3", "publishConfig": { "access": "public" }, diff --git a/packages/storage-fs/CHANGELOG.md b/packages/storage-fs/CHANGELOG.md index 13fedf4..70927ed 100644 --- a/packages/storage-fs/CHANGELOG.md +++ b/packages/storage-fs/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/storage-fs +## 0.4.3 + +### Patch Changes + +- Updated dependencies [f9a16d8] + - @emigrate/types@0.10.0 + ## 0.4.2 ### Patch Changes diff --git a/packages/storage-fs/package.json b/packages/storage-fs/package.json index f180395..1b54191 100644 --- a/packages/storage-fs/package.json +++ b/packages/storage-fs/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/storage-fs", - "version": "0.4.2", + "version": "0.4.3", "publishConfig": { "access": "public" }, diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 5df7e88..4fdf48a 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/types +## 0.10.0 + +### Minor Changes + +- f9a16d8: Add `color` option to the CLI and configuration file, which is used to force enable/disable color output from the reporter (the option is passed to the chosen reporter which should respect it) + ## 0.9.1 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 5c9029c..ec20393 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/types", - "version": "0.9.1", + "version": "0.10.0", "publishConfig": { "access": "public" }, From 9a605a85f125c2f342f38a5881318c67bffbf1fc Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Wed, 20 Dec 2023 12:06:20 +0100 Subject: [PATCH 06/98] feat: add support for TypeScript migration files And add a guide to the documentation on how to set it up for NodeJS --- .changeset/fresh-coins-teach.md | 5 + .changeset/tough-snakes-float.md | 5 + docs/astro.config.mjs | 9 ++ docs/src/content/docs/commands/up.mdx | 3 +- docs/src/content/docs/guides/example.md | 11 -- docs/src/content/docs/guides/typescript.mdx | 132 ++++++++++++++++++ .../content/docs/plugins/loaders/default.mdx | 10 +- packages/cli/src/plugin-loader-js.ts | 2 +- 8 files changed, 163 insertions(+), 14 deletions(-) create mode 100644 .changeset/fresh-coins-teach.md create mode 100644 .changeset/tough-snakes-float.md delete mode 100644 docs/src/content/docs/guides/example.md create mode 100644 docs/src/content/docs/guides/typescript.mdx diff --git a/.changeset/fresh-coins-teach.md b/.changeset/fresh-coins-teach.md new file mode 100644 index 0000000..c501941 --- /dev/null +++ b/.changeset/fresh-coins-teach.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add support for loading TypeScript migration files in the default loader diff --git a/.changeset/tough-snakes-float.md b/.changeset/tough-snakes-float.md new file mode 100644 index 0000000..a84cd4e --- /dev/null +++ b/.changeset/tough-snakes-float.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add a guide for running migration files written in TypeScript to the documentation diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 6d0a145..063a49e 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -98,6 +98,15 @@ export default defineConfig({ }, ], }, + { + label: 'Guides', + items: [ + { + label: 'Using TypeScript', + link: '/guides/typescript/', + }, + ], + }, { label: 'Plugins', items: [ diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index 64db94c..2c2dd8a 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -72,7 +72,8 @@ The directory where the migration files are located. The given path should be ab A module to import before running the migrations. This option can be specified multiple times. -Can for instance be used to load environment variables using [dotenv](https://github.com/motdotla/dotenv) with `--import dotenv/config`. +Can for instance be used to load environment variables using [dotenv](https://github.com/motdotla/dotenv) with `--import dotenv/config`, +or for running migrations in NodeJS written in TypeScript with [tsx](https://github.com/privatenumber/tsx) (`--import tsx`), see the TypeScript guide for more information. ### `-s`, `--storage ` diff --git a/docs/src/content/docs/guides/example.md b/docs/src/content/docs/guides/example.md deleted file mode 100644 index ebd0f3b..0000000 --- a/docs/src/content/docs/guides/example.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Example Guide -description: A guide in my new Starlight docs site. ---- - -Guides lead a user through a specific task they want to accomplish, often with a sequence of steps. -Writing a good guide requires thinking about what your users are trying to do. - -## Further reading - -- Read [about how-to guides](https://diataxis.fr/how-to-guides/) in the Diátaxis framework diff --git a/docs/src/content/docs/guides/typescript.mdx b/docs/src/content/docs/guides/typescript.mdx new file mode 100644 index 0000000..8e580a4 --- /dev/null +++ b/docs/src/content/docs/guides/typescript.mdx @@ -0,0 +1,132 @@ +--- +title: Using TypeScript +description: A guide on how to support migration files written in TypeScript +--- + +import { Tabs, TabItem } from '@astrojs/starlight/components'; +import Link from '@components/Link.astro'; + +:::tip[Using Bun or Deno?] +If you are using [Bun](https://bun.sh) or [Deno](https://deno.land) you are already good to go as they both support TypeScript out of the box. +::: + +You have at least the two following options to support running TypeScript migration files in NodeJS. + +## Using `tsx` + +If you want to be able to write and run migration files written in TypeScript the easiest way is to install the [`tsx`](https://github.com/privatenumber/tsx) package. + +### Installing `tsx` + + + + ```bash + npm install tsx + ``` + + + ```bash + pnpm add tsx + ``` + + + ```bash + yarn add tsx + ``` + + + +:::note +You must install `tsx` as an ordinary dependency, not as a dev dependency, +in case you are pruning your development dependencies before deploying your application (which you should). +::: + +### Loading TypeScript migrations + +After installing `tsx` you can load it in two ways. + +#### Via CLI + +Using the `--import` flag you can load `tsx` before running your migration files. + + + + ```bash + npx emigrate up --import tsx + ``` + + + ```bash + pnpm emigrate up --import tsx + ``` + + + ```bash + yarn emigrate up --import tsx + ``` + + + +#### Via configuration file + +You can also directly import `tsx` in your configuration file. + +```js title="emigrate.config.js" {1} +import 'tsx'; + +export default { + // ... +}; +``` + +Then you can run your migration files as usual: + + + + ```bash + npx emigrate up + ``` + + + ```bash + pnpm emigrate up + ``` + + + ```bash + yarn emigrate up + ``` + + + +## Building TypeScript migrations + +If you don't want to have `tsx` (or similar) as a dependency included in your production environment then +you can build your TypeScript migration files using the [`tsc`](https://www.typescriptlang.org/docs/handbook/compiler-options.html) compiler or +some other tool that are already part of your build process when transpiling your TypeScript code to JavaScript. + +Assume that you have all of your migrations in a `src/migrations` directory and you have built them to a `dist/migrations` directory. + +Then you can run your migration files by pointing to the `dist/migrations` directory: + + + + ```bash + npx emigrate up -d dist/migrations + ``` + + + ```bash + pnpm emigrate up -d dist/migrations + ``` + + + ```bash + yarn emigrate up -d dist/migrations + ``` + + + +:::note +If you're mixing languages for your migration files, e.g. you have both `.sql` and `.ts` files in `src/migrations`, make sure that they are all copied to the destination directory if not part of the TypeScript build process. +::: diff --git a/docs/src/content/docs/plugins/loaders/default.mdx b/docs/src/content/docs/plugins/loaders/default.mdx index d7c32b3..2c881bc 100644 --- a/docs/src/content/docs/plugins/loaders/default.mdx +++ b/docs/src/content/docs/plugins/loaders/default.mdx @@ -3,8 +3,9 @@ title: Default Loader Plugin --- import { Tabs, TabItem } from '@astrojs/starlight/components'; +import Link from '@components/Link.astro'; -The default loader plugin is responsible for importing migration files written in JavaScript. +The default loader plugin is responsible for importing migration files written in JavaScript or TypeScript. Migration files can be written using either CommonJS or ES Modules. ## Supported extensions @@ -14,6 +15,13 @@ The default loader plugin supports the following extensions: * `.js` - either CommonJS or ES Modules depending on your package.json's [`type` field](https://nodejs.org/api/packages.html#type) * `.cjs` - CommonJS * `.mjs` - ES Modules +* `.ts` - either CommonJS or ES Modules written in TypeScript +* `.cts` - CommonJS written in TypeScript +* `.mts` - ES Modules written in TypeScript + +:::note +To enable TypeScript support in NodeJS you also need to follow the TypeScript setup guide. +::: ## Supported exports diff --git a/packages/cli/src/plugin-loader-js.ts b/packages/cli/src/plugin-loader-js.ts index 3a502ac..1f044fe 100644 --- a/packages/cli/src/plugin-loader-js.ts +++ b/packages/cli/src/plugin-loader-js.ts @@ -17,7 +17,7 @@ const promisifyIfNeeded = (fn: T) => { }; const loaderJs: LoaderPlugin = { - loadableExtensions: ['.js', '.cjs', '.mjs'], + loadableExtensions: ['.js', '.cjs', '.mjs', '.ts', '.cts', '.mts'], async loadMigration(migration) { const migrationModule: unknown = await import(migration.filePath); From 3c54917c3532b41b45d34eb38642d40981c77852 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 20 Dec 2023 14:27:33 +0000 Subject: [PATCH 07/98] chore(release): version packages --- .changeset/fresh-coins-teach.md | 5 ----- .changeset/tough-snakes-float.md | 5 ----- packages/cli/CHANGELOG.md | 7 +++++++ packages/cli/package.json | 2 +- 4 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 .changeset/fresh-coins-teach.md delete mode 100644 .changeset/tough-snakes-float.md diff --git a/.changeset/fresh-coins-teach.md b/.changeset/fresh-coins-teach.md deleted file mode 100644 index c501941..0000000 --- a/.changeset/fresh-coins-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add support for loading TypeScript migration files in the default loader diff --git a/.changeset/tough-snakes-float.md b/.changeset/tough-snakes-float.md deleted file mode 100644 index a84cd4e..0000000 --- a/.changeset/tough-snakes-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add a guide for running migration files written in TypeScript to the documentation diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index e82bbf6..187a41d 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/cli +## 0.13.0 + +### Minor Changes + +- 9a605a8: Add support for loading TypeScript migration files in the default loader +- 9a605a8: Add a guide for running migration files written in TypeScript to the documentation + ## 0.12.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index ed00390..1e9eff1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.12.0", + "version": "0.13.0", "publishConfig": { "access": "public" }, From a130248687fd36a77785fd41b4ce0e25af6b595e Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 8 Jan 2024 10:19:37 +0100 Subject: [PATCH 08/98] docs: update loader plugin intro after adding TypeScript support --- docs/src/content/docs/plugins/loaders/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/plugins/loaders/index.mdx b/docs/src/content/docs/plugins/loaders/index.mdx index bca094b..01101eb 100644 --- a/docs/src/content/docs/plugins/loaders/index.mdx +++ b/docs/src/content/docs/plugins/loaders/index.mdx @@ -7,7 +7,7 @@ import Link from '@components/Link.astro'; Loader plugins are used to transform any file type into a JavaScript function that will be called when the migration file is executed. -Out of the box, Emigrate supports the following file extensions: `.js`, `.cjs` and `.mjs`. And both CommonJS and ES Modules are supported. See the Default Loader for more information. +Out of the box, Emigrate supports the following file extensions: `.js`, `.cjs`, `.mjs`, `.ts`, `.cts` and `.mts`. And both CommonJS and ES Modules are supported. See the Default Loader for more information. ## Using a loader plugin @@ -21,14 +21,14 @@ Or set it up in your configuration file, see default loader will be used for all other file types, and doesn't need to be specified. ::: ## Available Loader Plugins - + From 0cce84743d3f855c6b40513a6d5c606955d0131a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 19:57:55 +0000 Subject: [PATCH 09/98] chore(deps): bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9a3a0a4..fd1fd6d 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout your repository using git - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Show vars run: | echo $ASTRO_SITE From a5264ab3d423171cce73da2b6bcf42966ac17c6c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 07:53:22 +0000 Subject: [PATCH 10/98] chore(deps): bump lint-staged from 15.1.0 to 15.2.0 Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.1.0 to 15.2.0. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md) - [Commits](https://github.com/okonet/lint-staged/compare/v15.1.0...v15.2.0) --- updated-dependencies: - dependency-name: lint-staged dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- pnpm-lock.yaml | 55 +++++++++++++++----------------------------------- 2 files changed, 17 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index c1bd171..d0b379f 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@types/node": "20.10.4", "glob": "10.3.10", "husky": "8.0.3", - "lint-staged": "15.1.0", + "lint-staged": "15.2.0", "npm-run-all": "4.1.5", "prettier": "3.1.1", "tsx": "4.6.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index daf748b..a36c2a3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: 8.0.3 version: 8.0.3 lint-staged: - specifier: 15.1.0 - version: 15.1.0 + specifier: 15.2.0 + version: 15.2.0 npm-run-all: specifier: 4.1.5 version: 4.1.5 @@ -2207,13 +2207,6 @@ packages: type-fest: 0.21.3 dev: false - /ansi-escapes@5.0.0: - resolution: {integrity: sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA==} - engines: {node: '>=12'} - dependencies: - type-fest: 1.4.0 - dev: false - /ansi-escapes@6.2.0: resolution: {integrity: sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==} engines: {node: '>=14.16'} @@ -2796,12 +2789,12 @@ packages: engines: {node: '>=6'} dev: false - /cli-truncate@3.1.0: - resolution: {integrity: sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + /cli-truncate@4.0.0: + resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==} + engines: {node: '>=18'} dependencies: slice-ansi: 5.0.0 - string-width: 5.1.2 + string-width: 7.0.0 dev: false /cliui@6.0.0: @@ -5419,8 +5412,8 @@ packages: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} dev: false - /lint-staged@15.1.0: - resolution: {integrity: sha512-ZPKXWHVlL7uwVpy8OZ7YQjYDAuO5X4kMh0XgZvPNxLcCCngd0PO5jKQyy3+s4TL2EnHoIXIzP1422f/l3nZKMw==} + /lint-staged@15.2.0: + resolution: {integrity: sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==} engines: {node: '>=18.12.0'} hasBin: true dependencies: @@ -5428,8 +5421,8 @@ packages: commander: 11.1.0 debug: 4.3.4 execa: 8.0.1 - lilconfig: 2.1.0 - listr2: 7.0.2 + lilconfig: 3.0.0 + listr2: 8.0.0 micromatch: 4.0.5 pidtree: 0.6.0 string-argv: 0.3.2 @@ -5438,16 +5431,16 @@ packages: - supports-color dev: false - /listr2@7.0.2: - resolution: {integrity: sha512-rJysbR9GKIalhTbVL2tYbF2hVyDnrf7pFUZBwjPaMIdadYHmeT+EVi/Bu3qd7ETQPahTotg2WRCatXwRBW554g==} - engines: {node: '>=16.0.0'} + /listr2@8.0.0: + resolution: {integrity: sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==} + engines: {node: '>=18.0.0'} dependencies: - cli-truncate: 3.1.0 + cli-truncate: 4.0.0 colorette: 2.0.20 eventemitter3: 5.0.1 - log-update: 5.0.1 + log-update: 6.0.0 rfdc: 1.3.0 - wrap-ansi: 8.1.0 + wrap-ansi: 9.0.0 dev: false /load-json-file@4.0.0: @@ -5560,17 +5553,6 @@ packages: is-unicode-supported: 1.3.0 dev: false - /log-update@5.0.1: - resolution: {integrity: sha512-5UtUDQ/6edw4ofyljDNcOVJQ4c7OjDro4h3y8e1GQL5iYElYclVHJ3zeWchylvMaKnDbDilC8irOVyexnA/Slw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - ansi-escapes: 5.0.0 - cli-cursor: 4.0.0 - slice-ansi: 5.0.0 - strip-ansi: 7.1.0 - wrap-ansi: 8.1.0 - dev: false - /log-update@6.0.0: resolution: {integrity: sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==} engines: {node: '>=18'} @@ -8520,11 +8502,6 @@ packages: engines: {node: '>=8'} dev: false - /type-fest@1.4.0: - resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} - engines: {node: '>=10'} - dev: false - /type-fest@2.19.0: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} From af83bf6d7fec6628f0f8a4e1f761d5adc217395a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 08:51:46 +0000 Subject: [PATCH 11/98] chore(deps): bump tsx from 4.6.2 to 4.7.0 Bumps [tsx](https://github.com/privatenumber/tsx) from 4.6.2 to 4.7.0. - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/develop/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.6.2...v4.7.0) --- updated-dependencies: - dependency-name: tsx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- pnpm-lock.yaml | 156 ++++++++++++++++++++++++++----------------------- 2 files changed, 84 insertions(+), 74 deletions(-) diff --git a/package.json b/package.json index d0b379f..4beaf20 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "lint-staged": "15.2.0", "npm-run-all": "4.1.5", "prettier": "3.1.1", - "tsx": "4.6.2", + "tsx": "4.7.0", "turbo": "1.10.16", "typescript": "5.2.2", "xo": "0.56.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a36c2a3..da8ea85 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ importers: specifier: 3.1.1 version: 3.1.1 tsx: - specifier: 4.6.2 - version: 4.6.2 + specifier: 4.7.0 + version: 4.7.0 turbo: specifier: 1.10.16 version: 1.10.16 @@ -943,8 +943,17 @@ packages: engines: {node: '>=10'} dev: false - /@esbuild/android-arm64@0.18.20: - resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} + /@esbuild/aix-ppc64@0.19.11: + resolution: {integrity: sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + requiresBuild: true + dev: false + optional: true + + /@esbuild/android-arm64@0.19.11: + resolution: {integrity: sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -961,8 +970,8 @@ packages: dev: false optional: true - /@esbuild/android-arm@0.18.20: - resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} + /@esbuild/android-arm@0.19.11: + resolution: {integrity: sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==} engines: {node: '>=12'} cpu: [arm] os: [android] @@ -979,8 +988,8 @@ packages: dev: false optional: true - /@esbuild/android-x64@0.18.20: - resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} + /@esbuild/android-x64@0.19.11: + resolution: {integrity: sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -997,8 +1006,8 @@ packages: dev: false optional: true - /@esbuild/darwin-arm64@0.18.20: - resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} + /@esbuild/darwin-arm64@0.19.11: + resolution: {integrity: sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -1015,8 +1024,8 @@ packages: dev: false optional: true - /@esbuild/darwin-x64@0.18.20: - resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} + /@esbuild/darwin-x64@0.19.11: + resolution: {integrity: sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -1033,8 +1042,8 @@ packages: dev: false optional: true - /@esbuild/freebsd-arm64@0.18.20: - resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} + /@esbuild/freebsd-arm64@0.19.11: + resolution: {integrity: sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -1051,8 +1060,8 @@ packages: dev: false optional: true - /@esbuild/freebsd-x64@0.18.20: - resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} + /@esbuild/freebsd-x64@0.19.11: + resolution: {integrity: sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -1069,8 +1078,8 @@ packages: dev: false optional: true - /@esbuild/linux-arm64@0.18.20: - resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} + /@esbuild/linux-arm64@0.19.11: + resolution: {integrity: sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -1087,8 +1096,8 @@ packages: dev: false optional: true - /@esbuild/linux-arm@0.18.20: - resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} + /@esbuild/linux-arm@0.19.11: + resolution: {integrity: sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -1105,8 +1114,8 @@ packages: dev: false optional: true - /@esbuild/linux-ia32@0.18.20: - resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} + /@esbuild/linux-ia32@0.19.11: + resolution: {integrity: sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -1123,8 +1132,8 @@ packages: dev: false optional: true - /@esbuild/linux-loong64@0.18.20: - resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} + /@esbuild/linux-loong64@0.19.11: + resolution: {integrity: sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -1141,8 +1150,8 @@ packages: dev: false optional: true - /@esbuild/linux-mips64el@0.18.20: - resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} + /@esbuild/linux-mips64el@0.19.11: + resolution: {integrity: sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -1159,8 +1168,8 @@ packages: dev: false optional: true - /@esbuild/linux-ppc64@0.18.20: - resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} + /@esbuild/linux-ppc64@0.19.11: + resolution: {integrity: sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -1177,8 +1186,8 @@ packages: dev: false optional: true - /@esbuild/linux-riscv64@0.18.20: - resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} + /@esbuild/linux-riscv64@0.19.11: + resolution: {integrity: sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -1195,8 +1204,8 @@ packages: dev: false optional: true - /@esbuild/linux-s390x@0.18.20: - resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} + /@esbuild/linux-s390x@0.19.11: + resolution: {integrity: sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -1213,8 +1222,8 @@ packages: dev: false optional: true - /@esbuild/linux-x64@0.18.20: - resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} + /@esbuild/linux-x64@0.19.11: + resolution: {integrity: sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -1231,8 +1240,8 @@ packages: dev: false optional: true - /@esbuild/netbsd-x64@0.18.20: - resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} + /@esbuild/netbsd-x64@0.19.11: + resolution: {integrity: sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -1249,8 +1258,8 @@ packages: dev: false optional: true - /@esbuild/openbsd-x64@0.18.20: - resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} + /@esbuild/openbsd-x64@0.19.11: + resolution: {integrity: sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -1267,8 +1276,8 @@ packages: dev: false optional: true - /@esbuild/sunos-x64@0.18.20: - resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} + /@esbuild/sunos-x64@0.19.11: + resolution: {integrity: sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -1285,8 +1294,8 @@ packages: dev: false optional: true - /@esbuild/win32-arm64@0.18.20: - resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} + /@esbuild/win32-arm64@0.19.11: + resolution: {integrity: sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -1303,8 +1312,8 @@ packages: dev: false optional: true - /@esbuild/win32-ia32@0.18.20: - resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} + /@esbuild/win32-ia32@0.19.11: + resolution: {integrity: sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -1321,8 +1330,8 @@ packages: dev: false optional: true - /@esbuild/win32-x64@0.18.20: - resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} + /@esbuild/win32-x64@0.19.11: + resolution: {integrity: sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -3399,34 +3408,35 @@ packages: is-symbol: 1.0.4 dev: false - /esbuild@0.18.20: - resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} + /esbuild@0.19.11: + resolution: {integrity: sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': 0.18.20 - '@esbuild/android-arm64': 0.18.20 - '@esbuild/android-x64': 0.18.20 - '@esbuild/darwin-arm64': 0.18.20 - '@esbuild/darwin-x64': 0.18.20 - '@esbuild/freebsd-arm64': 0.18.20 - '@esbuild/freebsd-x64': 0.18.20 - '@esbuild/linux-arm': 0.18.20 - '@esbuild/linux-arm64': 0.18.20 - '@esbuild/linux-ia32': 0.18.20 - '@esbuild/linux-loong64': 0.18.20 - '@esbuild/linux-mips64el': 0.18.20 - '@esbuild/linux-ppc64': 0.18.20 - '@esbuild/linux-riscv64': 0.18.20 - '@esbuild/linux-s390x': 0.18.20 - '@esbuild/linux-x64': 0.18.20 - '@esbuild/netbsd-x64': 0.18.20 - '@esbuild/openbsd-x64': 0.18.20 - '@esbuild/sunos-x64': 0.18.20 - '@esbuild/win32-arm64': 0.18.20 - '@esbuild/win32-ia32': 0.18.20 - '@esbuild/win32-x64': 0.18.20 + '@esbuild/aix-ppc64': 0.19.11 + '@esbuild/android-arm': 0.19.11 + '@esbuild/android-arm64': 0.19.11 + '@esbuild/android-x64': 0.19.11 + '@esbuild/darwin-arm64': 0.19.11 + '@esbuild/darwin-x64': 0.19.11 + '@esbuild/freebsd-arm64': 0.19.11 + '@esbuild/freebsd-x64': 0.19.11 + '@esbuild/linux-arm': 0.19.11 + '@esbuild/linux-arm64': 0.19.11 + '@esbuild/linux-ia32': 0.19.11 + '@esbuild/linux-loong64': 0.19.11 + '@esbuild/linux-mips64el': 0.19.11 + '@esbuild/linux-ppc64': 0.19.11 + '@esbuild/linux-riscv64': 0.19.11 + '@esbuild/linux-s390x': 0.19.11 + '@esbuild/linux-x64': 0.19.11 + '@esbuild/netbsd-x64': 0.19.11 + '@esbuild/openbsd-x64': 0.19.11 + '@esbuild/sunos-x64': 0.19.11 + '@esbuild/win32-arm64': 0.19.11 + '@esbuild/win32-ia32': 0.19.11 + '@esbuild/win32-x64': 0.19.11 dev: false /esbuild@0.19.9: @@ -8374,12 +8384,12 @@ packages: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: false - /tsx@4.6.2: - resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==} + /tsx@4.7.0: + resolution: {integrity: sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg==} engines: {node: '>=18.0.0'} hasBin: true dependencies: - esbuild: 0.18.20 + esbuild: 0.19.11 get-tsconfig: 4.7.2 optionalDependencies: fsevents: 2.3.3 From 9bfd0e44c39858f0d768372305f8488667093dac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 08:58:06 +0000 Subject: [PATCH 12/98] chore(deps): bump typescript from 5.2.2 to 5.3.3 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- pnpm-lock.yaml | 114 ++++++++++++++++++++++++------------------------- 2 files changed, 58 insertions(+), 58 deletions(-) diff --git a/package.json b/package.json index 4beaf20..e195014 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "prettier": "3.1.1", "tsx": "4.7.0", "turbo": "1.10.16", - "typescript": "5.2.2", + "typescript": "5.3.3", "xo": "0.56.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index da8ea85..f44a527 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 2.27.1 '@commitlint/cli': specifier: 18.4.3 - version: 18.4.3(typescript@5.2.2) + version: 18.4.3(typescript@5.3.3) '@commitlint/config-conventional': specifier: 18.4.3 version: 18.4.3 @@ -42,8 +42,8 @@ importers: specifier: 1.10.16 version: 1.10.16 typescript: - specifier: 5.2.2 - version: 5.2.2 + specifier: 5.3.3 + version: 5.3.3 xo: specifier: 0.56.0 version: 0.56.0(webpack@5.89.0) @@ -61,7 +61,7 @@ importers: version: 5.0.3(astro@4.0.5)(tailwindcss@3.3.6) astro: specifier: ^4.0.1 - version: 4.0.5(@types/node@20.10.4)(typescript@5.2.2) + version: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) sharp: specifier: ^0.32.5 version: 0.32.6 @@ -82,7 +82,7 @@ importers: version: 2.0.3 cosmiconfig: specifier: 8.3.6 - version: 8.3.6(typescript@5.2.2) + version: 8.3.6(typescript@5.3.3) elegant-spinner: specifier: 3.0.0 version: 3.0.0 @@ -256,7 +256,7 @@ packages: '@astrojs/markdown-remark': 4.0.1 '@mdx-js/mdx': 3.0.0 acorn: 8.11.2 - astro: 4.0.5(@types/node@20.10.4)(typescript@5.2.2) + astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) es-module-lexer: 1.4.1 estree-util-visit: 2.0.0 github-slugger: 2.0.0 @@ -309,7 +309,7 @@ packages: '@pagefind/default-ui': 1.0.4 '@types/hast': 3.0.3 '@types/mdast': 4.0.3 - astro: 4.0.5(@types/node@20.10.4)(typescript@5.2.2) + astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) astro-expressive-code: 0.29.4(astro@4.0.5) bcp-47: 2.1.0 execa: 8.0.1 @@ -333,7 +333,7 @@ packages: astro: ^3.0.0 || ^4.0.0 tailwindcss: ^3.0.24 dependencies: - astro: 4.0.5(@types/node@20.10.4)(typescript@5.2.2) + astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) autoprefixer: 10.4.16(postcss@8.4.32) postcss: 8.4.32 postcss-load-config: 4.0.2(postcss@8.4.32) @@ -774,14 +774,14 @@ packages: prettier: 2.8.8 dev: false - /@commitlint/cli@18.4.3(typescript@5.2.2): + /@commitlint/cli@18.4.3(typescript@5.3.3): resolution: {integrity: sha512-zop98yfB3A6NveYAZ3P1Mb6bIXuCeWgnUfVNkH4yhIMQpQfzFwseadazOuSn0OOfTt0lWuFauehpm9GcqM5lww==} engines: {node: '>=v18'} hasBin: true dependencies: '@commitlint/format': 18.4.3 '@commitlint/lint': 18.4.3 - '@commitlint/load': 18.4.3(typescript@5.2.2) + '@commitlint/load': 18.4.3(typescript@5.3.3) '@commitlint/read': 18.4.3 '@commitlint/types': 18.4.3 execa: 5.1.1 @@ -851,7 +851,7 @@ packages: '@commitlint/types': 18.4.3 dev: false - /@commitlint/load@18.4.3(typescript@5.2.2): + /@commitlint/load@18.4.3(typescript@5.3.3): resolution: {integrity: sha512-v6j2WhvRQJrcJaj5D+EyES2WKTxPpxENmNpNG3Ww8MZGik3jWRXtph0QTzia5ZJyPh2ib5aC/6BIDymkUUM58Q==} engines: {node: '>=v18'} dependencies: @@ -861,8 +861,8 @@ packages: '@commitlint/types': 18.4.3 '@types/node': 18.19.3 chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.2.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.2.2) + cosmiconfig: 8.3.6(typescript@5.3.3) + cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.3.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -1886,7 +1886,7 @@ packages: resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} dev: false - /@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2): + /@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3): resolution: {integrity: sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1898,10 +1898,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) '@typescript-eslint/scope-manager': 6.10.0 - '@typescript-eslint/type-utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2) + '@typescript-eslint/type-utils': 6.10.0(eslint@8.53.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.10.0 debug: 4.3.4 eslint: 8.53.0 @@ -1909,13 +1909,13 @@ packages: ignore: 5.2.4 natural-compare: 1.4.0 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.2.2): + /@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.3.3): resolution: {integrity: sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1927,11 +1927,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 6.10.0 '@typescript-eslint/types': 6.10.0 - '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.10.0 debug: 4.3.4 eslint: 8.53.0 - typescript: 5.2.2 + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: false @@ -1944,7 +1944,7 @@ packages: '@typescript-eslint/visitor-keys': 6.10.0 dev: false - /@typescript-eslint/type-utils@6.10.0(eslint@8.53.0)(typescript@5.2.2): + /@typescript-eslint/type-utils@6.10.0(eslint@8.53.0)(typescript@5.3.3): resolution: {integrity: sha512-wYpPs3hgTFblMYwbYWPT3eZtaDOjbLyIYuqpwuLBBqhLiuvJ+9sEp2gNRJEtR5N/c9G1uTtQQL5AhV0fEPJYcg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1954,12 +1954,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2) - '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.3.3) + '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.53.0 - ts-api-utils: 1.0.3(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: false @@ -1969,7 +1969,7 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: false - /@typescript-eslint/typescript-estree@6.10.0(typescript@5.2.2): + /@typescript-eslint/typescript-estree@6.10.0(typescript@5.3.3): resolution: {integrity: sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1984,13 +1984,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/utils@6.10.0(eslint@8.53.0)(typescript@5.2.2): + /@typescript-eslint/utils@6.10.0(eslint@8.53.0)(typescript@5.3.3): resolution: {integrity: sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2001,7 +2001,7 @@ packages: '@types/semver': 7.5.5 '@typescript-eslint/scope-manager': 6.10.0 '@typescript-eslint/types': 6.10.0 - '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.3.3) eslint: 8.53.0 semver: 7.5.4 transitivePeerDependencies: @@ -2380,11 +2380,11 @@ packages: peerDependencies: astro: ^3.0.0-beta || ^4.0.0-beta dependencies: - astro: 4.0.5(@types/node@20.10.4)(typescript@5.2.2) + astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) remark-expressive-code: 0.29.4 dev: false - /astro@4.0.5(@types/node@20.10.4)(typescript@5.2.2): + /astro@4.0.5(@types/node@20.10.4)(typescript@5.3.3): resolution: {integrity: sha512-OTiTEiXYdXTkVJXNNKIWdYG1z2wpTST+92Qcldm36x91Pe4fKpLxeuRloy5cW175oHi8lvXytgG3Gl3VBP18RQ==} engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true @@ -2442,7 +2442,7 @@ packages: shikiji: 0.6.13 string-width: 7.0.0 strip-ansi: 7.1.0 - tsconfck: 3.0.0(typescript@5.2.2) + tsconfck: 3.0.0(typescript@5.3.3) unist-util-visit: 5.0.0 vfile: 6.0.1 vite: 5.0.9(@types/node@20.10.4) @@ -2952,7 +2952,7 @@ packages: engines: {node: '>= 0.6'} dev: false - /cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.2.2): + /cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.3.3): resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} engines: {node: '>=v16'} peerDependencies: @@ -2961,12 +2961,12 @@ packages: typescript: '>=4' dependencies: '@types/node': 18.19.3 - cosmiconfig: 8.3.6(typescript@5.2.2) + cosmiconfig: 8.3.6(typescript@5.3.3) jiti: 1.21.0 - typescript: 5.2.2 + typescript: 5.3.3 dev: false - /cosmiconfig@8.3.6(typescript@5.2.2): + /cosmiconfig@8.3.6(typescript@5.3.3): resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} engines: {node: '>=14'} peerDependencies: @@ -2979,7 +2979,7 @@ packages: js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 - typescript: 5.2.2 + typescript: 5.3.3 dev: false /cross-spawn@5.1.0: @@ -3498,7 +3498,7 @@ packages: eslint: 8.53.0 dev: false - /eslint-config-xo-typescript@1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2): + /eslint-config-xo-typescript@1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3): resolution: {integrity: sha512-vPQssnRSUgBFOEfB/KY12CXwltwFSn4RSCfa+w7gjBC2PFQ7Yfgmyei+1XUZ3K+8LRGef2NMJUcxts7PldhDjg==} engines: {node: '>=16'} peerDependencies: @@ -3507,10 +3507,10 @@ packages: eslint: '>=8.0.0' typescript: '>=4.7' dependencies: - '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2) - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) eslint: 8.53.0 - typescript: 5.2.2 + typescript: 5.3.3 dev: false /eslint-config-xo@0.43.1(eslint@8.53.0): @@ -3592,7 +3592,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.53.0 eslint-import-resolver-node: 0.3.9 @@ -3650,7 +3650,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 @@ -8345,20 +8345,20 @@ packages: resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} dev: false - /ts-api-utils@1.0.3(typescript@5.2.2): + /ts-api-utils@1.0.3(typescript@5.3.3): resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} engines: {node: '>=16.13.0'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.2.2 + typescript: 5.3.3 dev: false /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: false - /tsconfck@3.0.0(typescript@5.2.2): + /tsconfck@3.0.0(typescript@5.3.3): resolution: {integrity: sha512-w3wnsIrJNi7avf4Zb0VjOoodoO0woEqGgZGQm+LHH9przdUI+XDKsWAXwxHA1DaRTjeuZNcregSzr7RaA8zG9A==} engines: {node: ^18 || >=20} hasBin: true @@ -8368,7 +8368,7 @@ packages: typescript: optional: true dependencies: - typescript: 5.2.2 + typescript: 5.3.3 dev: false /tsconfig-paths@3.14.2: @@ -8560,8 +8560,8 @@ packages: is-typed-array: 1.1.12 dev: false - /typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} + /typescript@5.3.3: + resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} engines: {node: '>=14.17'} hasBin: true dev: false @@ -9041,15 +9041,15 @@ packages: optional: true dependencies: '@eslint/eslintrc': 2.1.3 - '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2) - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) arrify: 3.0.0 - cosmiconfig: 8.3.6(typescript@5.2.2) + cosmiconfig: 8.3.6(typescript@5.3.3) define-lazy-prop: 3.0.0 eslint: 8.53.0 eslint-config-prettier: 8.10.0(eslint@8.53.0) eslint-config-xo: 0.43.1(eslint@8.53.0) - eslint-config-xo-typescript: 1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2) + eslint-config-xo-typescript: 1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) eslint-formatter-pretty: 5.0.0 eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.89.0) eslint-plugin-ava: 14.0.0(eslint@8.53.0) @@ -9075,7 +9075,7 @@ packages: semver: 7.5.4 slash: 5.1.0 to-absolute-glob: 3.0.0 - typescript: 5.2.2 + typescript: 5.3.3 webpack: 5.89.0 transitivePeerDependencies: - '@types/eslint' From a6e096bcbc9611f2ec5cfffc7ec0049cdad8f4c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 09:22:37 +0000 Subject: [PATCH 13/98] chore(deps): bump turbo from 1.10.16 to 1.11.3 Bumps [turbo](https://github.com/vercel/turbo) from 1.10.16 to 1.11.3. - [Release notes](https://github.com/vercel/turbo/releases) - [Changelog](https://github.com/vercel/turbo/blob/main/release.md) - [Commits](https://github.com/vercel/turbo/compare/v1.10.16...v1.11.3) --- updated-dependencies: - dependency-name: turbo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- pnpm-lock.yaml | 44 ++++++++++++++++++++++---------------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index e195014..1621f6d 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "npm-run-all": "4.1.5", "prettier": "3.1.1", "tsx": "4.7.0", - "turbo": "1.10.16", + "turbo": "1.11.3", "typescript": "5.3.3", "xo": "0.56.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f44a527..21478c6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: 4.7.0 version: 4.7.0 turbo: - specifier: 1.10.16 - version: 1.10.16 + specifier: 1.11.3 + version: 1.11.3 typescript: specifier: 5.3.3 version: 5.3.3 @@ -8415,64 +8415,64 @@ packages: safe-buffer: 5.2.1 dev: false - /turbo-darwin-64@1.10.16: - resolution: {integrity: sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==} + /turbo-darwin-64@1.11.3: + resolution: {integrity: sha512-IsOOg2bVbIt3o/X8Ew9fbQp5t1hTHN3fGNQYrPQwMR2W1kIAC6RfbVD4A9OeibPGyEPUpwOH79hZ9ydFH5kifw==} cpu: [x64] os: [darwin] requiresBuild: true dev: false optional: true - /turbo-darwin-arm64@1.10.16: - resolution: {integrity: sha512-jqGpFZipIivkRp/i+jnL8npX0VssE6IAVNKtu573LXtssZdV/S+fRGYA16tI46xJGxSAivrZ/IcgZrV6Jk80bw==} + /turbo-darwin-arm64@1.11.3: + resolution: {integrity: sha512-FsJL7k0SaPbJzI/KCnrf/fi3PgCDCjTliMc/kEFkuWVA6Httc3Q4lxyLIIinz69q6JTx8wzh6yznUMzJRI3+dg==} cpu: [arm64] os: [darwin] requiresBuild: true dev: false optional: true - /turbo-linux-64@1.10.16: - resolution: {integrity: sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==} + /turbo-linux-64@1.11.3: + resolution: {integrity: sha512-SvW7pvTVRGsqtSkII5w+wriZXvxqkluw5FO/MNAdFw0qmoov+PZ237+37/NgArqE3zVn1GX9P6nUx9VO+xcQAg==} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /turbo-linux-arm64@1.10.16: - resolution: {integrity: sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==} + /turbo-linux-arm64@1.11.3: + resolution: {integrity: sha512-YhUfBi1deB3m+3M55X458J6B7RsIS7UtM3P1z13cUIhF+pOt65BgnaSnkHLwETidmhRh8Dl3GelaQGrB3RdCDw==} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /turbo-windows-64@1.10.16: - resolution: {integrity: sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==} + /turbo-windows-64@1.11.3: + resolution: {integrity: sha512-s+vEnuM2TiZuAUUUpmBHDr6vnNbJgj+5JYfnYmVklYs16kXh+EppafYQOAkcRIMAh7GjV3pLq5/uGqc7seZeHA==} cpu: [x64] os: [win32] requiresBuild: true dev: false optional: true - /turbo-windows-arm64@1.10.16: - resolution: {integrity: sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==} + /turbo-windows-arm64@1.11.3: + resolution: {integrity: sha512-ZR5z5Zpc7cASwfdRAV5yNScCZBsgGSbcwiA/u3farCacbPiXsfoWUkz28iyrx21/TRW0bi6dbsB2v17swa8bjw==} cpu: [arm64] os: [win32] requiresBuild: true dev: false optional: true - /turbo@1.10.16: - resolution: {integrity: sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==} + /turbo@1.11.3: + resolution: {integrity: sha512-RCJOUFcFMQNIGKSjC9YmA5yVP1qtDiBA0Lv9VIgrXraI5Da1liVvl3VJPsoDNIR9eFMyA/aagx1iyj6UWem5hA==} hasBin: true optionalDependencies: - turbo-darwin-64: 1.10.16 - turbo-darwin-arm64: 1.10.16 - turbo-linux-64: 1.10.16 - turbo-linux-arm64: 1.10.16 - turbo-windows-64: 1.10.16 - turbo-windows-arm64: 1.10.16 + turbo-darwin-64: 1.11.3 + turbo-darwin-arm64: 1.11.3 + turbo-linux-64: 1.11.3 + turbo-linux-arm64: 1.11.3 + turbo-windows-64: 1.11.3 + turbo-windows-arm64: 1.11.3 dev: false /type-check@0.4.0: From 83dc618c2e9cfe499579bf7b65bbaeeeb8f6b802 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 18 Jan 2024 10:40:53 +0100 Subject: [PATCH 14/98] fix(cli): remove --enable-source-maps flag --- .changeset/large-cats-whisper.md | 5 +++++ packages/cli/src/cli.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/large-cats-whisper.md diff --git a/.changeset/large-cats-whisper.md b/.changeset/large-cats-whisper.md new file mode 100644 index 0000000..8e2d12f --- /dev/null +++ b/.changeset/large-cats-whisper.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Remove the --enable-source-maps flag from the shebang for better NodeJS compatibility diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index ca1b0d7..f17f37d 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -1,4 +1,4 @@ -#!/usr/bin/env node --enable-source-maps +#!/usr/bin/env node import process from 'node:process'; import { parseArgs } from 'node:util'; import importFromEsm from 'import-from-esm'; From 9130af7b12aae56c05d1b147b9b68c2a45ac2090 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 18 Jan 2024 09:48:01 +0000 Subject: [PATCH 15/98] chore(release): version packages --- .changeset/large-cats-whisper.md | 5 ----- packages/cli/CHANGELOG.md | 6 ++++++ packages/cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/large-cats-whisper.md diff --git a/.changeset/large-cats-whisper.md b/.changeset/large-cats-whisper.md deleted file mode 100644 index 8e2d12f..0000000 --- a/.changeset/large-cats-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Remove the --enable-source-maps flag from the shebang for better NodeJS compatibility diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 187a41d..0959a94 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/cli +## 0.13.1 + +### Patch Changes + +- 83dc618: Remove the --enable-source-maps flag from the shebang for better NodeJS compatibility + ## 0.13.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 1e9eff1..5e28181 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.13.0", + "version": "0.13.1", "publishConfig": { "access": "public" }, From 891402c7d4f1045325bb767af62308ca58d92603 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 18 Jan 2024 11:02:07 +0100 Subject: [PATCH 16/98] ci: does this make the release flow work? --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0e19219..e8dbde0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,6 +15,7 @@ jobs: contents: write packages: write pull-requests: write + actions: read steps: - name: Checkout Repo uses: actions/checkout@v4 @@ -35,7 +36,7 @@ jobs: run: pnpm install - name: Create Release Pull Request - uses: changesets/action@v1 + uses: changesets/action@v1.4.5 with: publish: pnpm run release commit: 'chore(release): version packages' From 1b8439a5304dfef66a6c9a09f6175b4dc3af6819 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 18 Jan 2024 11:09:12 +0100 Subject: [PATCH 17/98] ci: and does this make any difference? --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e8dbde0..b984a29 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,6 +21,8 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.PAT_GITHUB_TOKEN }} + persist-credentials: false + fetch-depth: 0 - uses: pnpm/action-setup@v2.4.0 with: From cbc3193626f1386962e453c1f381fd462982a4e4 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 18 Jan 2024 11:13:28 +0100 Subject: [PATCH 18/98] chore(deps): downgrade Turbo to 1.10.16 as it did work in the CI env --- package.json | 2 +- pnpm-lock.yaml | 44 ++++++++++++++++++++++---------------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 1621f6d..e195014 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "npm-run-all": "4.1.5", "prettier": "3.1.1", "tsx": "4.7.0", - "turbo": "1.11.3", + "turbo": "1.10.16", "typescript": "5.3.3", "xo": "0.56.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 21478c6..f44a527 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: 4.7.0 version: 4.7.0 turbo: - specifier: 1.11.3 - version: 1.11.3 + specifier: 1.10.16 + version: 1.10.16 typescript: specifier: 5.3.3 version: 5.3.3 @@ -8415,64 +8415,64 @@ packages: safe-buffer: 5.2.1 dev: false - /turbo-darwin-64@1.11.3: - resolution: {integrity: sha512-IsOOg2bVbIt3o/X8Ew9fbQp5t1hTHN3fGNQYrPQwMR2W1kIAC6RfbVD4A9OeibPGyEPUpwOH79hZ9ydFH5kifw==} + /turbo-darwin-64@1.10.16: + resolution: {integrity: sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==} cpu: [x64] os: [darwin] requiresBuild: true dev: false optional: true - /turbo-darwin-arm64@1.11.3: - resolution: {integrity: sha512-FsJL7k0SaPbJzI/KCnrf/fi3PgCDCjTliMc/kEFkuWVA6Httc3Q4lxyLIIinz69q6JTx8wzh6yznUMzJRI3+dg==} + /turbo-darwin-arm64@1.10.16: + resolution: {integrity: sha512-jqGpFZipIivkRp/i+jnL8npX0VssE6IAVNKtu573LXtssZdV/S+fRGYA16tI46xJGxSAivrZ/IcgZrV6Jk80bw==} cpu: [arm64] os: [darwin] requiresBuild: true dev: false optional: true - /turbo-linux-64@1.11.3: - resolution: {integrity: sha512-SvW7pvTVRGsqtSkII5w+wriZXvxqkluw5FO/MNAdFw0qmoov+PZ237+37/NgArqE3zVn1GX9P6nUx9VO+xcQAg==} + /turbo-linux-64@1.10.16: + resolution: {integrity: sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /turbo-linux-arm64@1.11.3: - resolution: {integrity: sha512-YhUfBi1deB3m+3M55X458J6B7RsIS7UtM3P1z13cUIhF+pOt65BgnaSnkHLwETidmhRh8Dl3GelaQGrB3RdCDw==} + /turbo-linux-arm64@1.10.16: + resolution: {integrity: sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /turbo-windows-64@1.11.3: - resolution: {integrity: sha512-s+vEnuM2TiZuAUUUpmBHDr6vnNbJgj+5JYfnYmVklYs16kXh+EppafYQOAkcRIMAh7GjV3pLq5/uGqc7seZeHA==} + /turbo-windows-64@1.10.16: + resolution: {integrity: sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==} cpu: [x64] os: [win32] requiresBuild: true dev: false optional: true - /turbo-windows-arm64@1.11.3: - resolution: {integrity: sha512-ZR5z5Zpc7cASwfdRAV5yNScCZBsgGSbcwiA/u3farCacbPiXsfoWUkz28iyrx21/TRW0bi6dbsB2v17swa8bjw==} + /turbo-windows-arm64@1.10.16: + resolution: {integrity: sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==} cpu: [arm64] os: [win32] requiresBuild: true dev: false optional: true - /turbo@1.11.3: - resolution: {integrity: sha512-RCJOUFcFMQNIGKSjC9YmA5yVP1qtDiBA0Lv9VIgrXraI5Da1liVvl3VJPsoDNIR9eFMyA/aagx1iyj6UWem5hA==} + /turbo@1.10.16: + resolution: {integrity: sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==} hasBin: true optionalDependencies: - turbo-darwin-64: 1.11.3 - turbo-darwin-arm64: 1.11.3 - turbo-linux-64: 1.11.3 - turbo-linux-arm64: 1.11.3 - turbo-windows-64: 1.11.3 - turbo-windows-arm64: 1.11.3 + turbo-darwin-64: 1.10.16 + turbo-darwin-arm64: 1.10.16 + turbo-linux-64: 1.10.16 + turbo-linux-arm64: 1.10.16 + turbo-windows-64: 1.10.16 + turbo-windows-arm64: 1.10.16 dev: false /type-check@0.4.0: From b083e88bac83117e7f98efed4d6be37dfbac8681 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 13:07:12 +0000 Subject: [PATCH 19/98] chore(deps): bump cosmiconfig from 8.3.6 to 9.0.0 Bumps [cosmiconfig](https://github.com/cosmiconfig/cosmiconfig) from 8.3.6 to 9.0.0. - [Release notes](https://github.com/cosmiconfig/cosmiconfig/releases) - [Changelog](https://github.com/cosmiconfig/cosmiconfig/blob/main/CHANGELOG.md) - [Commits](https://github.com/cosmiconfig/cosmiconfig/compare/cosmiconfig-v8.3.6...v9.0.0) --- updated-dependencies: - dependency-name: cosmiconfig dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .changeset/clean-turtles-sparkle.md | 5 +++++ packages/cli/package.json | 2 +- pnpm-lock.yaml | 25 +++++++++++++++++++++++-- 3 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 .changeset/clean-turtles-sparkle.md diff --git a/.changeset/clean-turtles-sparkle.md b/.changeset/clean-turtles-sparkle.md new file mode 100644 index 0000000..fa21b04 --- /dev/null +++ b/.changeset/clean-turtles-sparkle.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Upgrade cosmiconfig to 9.0.0 diff --git a/packages/cli/package.json b/packages/cli/package.json index 5e28181..3d51232 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -46,7 +46,7 @@ "@emigrate/plugin-tools": "workspace:*", "@emigrate/types": "workspace:*", "ansis": "2.0.3", - "cosmiconfig": "8.3.6", + "cosmiconfig": "9.0.0", "elegant-spinner": "3.0.0", "figures": "6.0.1", "import-from-esm": "1.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f44a527..2910926 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,8 +81,8 @@ importers: specifier: 2.0.3 version: 2.0.3 cosmiconfig: - specifier: 8.3.6 - version: 8.3.6(typescript@5.3.3) + specifier: 9.0.0 + version: 9.0.0(typescript@5.3.3) elegant-spinner: specifier: 3.0.0 version: 3.0.0 @@ -2982,6 +2982,22 @@ packages: typescript: 5.3.3 dev: false + /cosmiconfig@9.0.0(typescript@5.3.3): + resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + env-paths: 2.2.1 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + parse-json: 5.2.0 + typescript: 5.3.3 + dev: false + /cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} dependencies: @@ -3329,6 +3345,11 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: false + /env-paths@2.2.1: + resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} + engines: {node: '>=6'} + dev: false + /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: From 114979f1549ee0d26eb3489841fa6d2f30586b5b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 18 Jan 2024 13:50:50 +0000 Subject: [PATCH 20/98] chore(release): version packages --- .changeset/clean-turtles-sparkle.md | 5 ----- packages/cli/CHANGELOG.md | 6 ++++++ packages/cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/clean-turtles-sparkle.md diff --git a/.changeset/clean-turtles-sparkle.md b/.changeset/clean-turtles-sparkle.md deleted file mode 100644 index fa21b04..0000000 --- a/.changeset/clean-turtles-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Upgrade cosmiconfig to 9.0.0 diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 0959a94..e8b08ff 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/cli +## 0.14.0 + +### Minor Changes + +- b083e88: Upgrade cosmiconfig to 9.0.0 + ## 0.13.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 3d51232..a67ebdd 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.13.1", + "version": "0.14.0", "publishConfig": { "access": "public" }, From 73a8a42e5fa5bf9ac66960eed906cbd21a0ea3a5 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 18 Jan 2024 15:11:51 +0100 Subject: [PATCH 21/98] fix(history): support a migration history with entries without file extensions (.js is assumed in such case) --- .changeset/real-parrots-chew.md | 5 +++ packages/cli/src/collect-migrations.ts | 5 ++- packages/cli/src/commands/up.test.ts | 54 ++++++++++++++++++++++++++ packages/cli/src/get-migrations.ts | 5 ++- 4 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 .changeset/real-parrots-chew.md diff --git a/.changeset/real-parrots-chew.md b/.changeset/real-parrots-chew.md new file mode 100644 index 0000000..6f5d15c --- /dev/null +++ b/.changeset/real-parrots-chew.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Support stored migration histories that have only stored the migration file names without file extension and assume it's .js files in that case. This is to be compatible with a migration history generated by Immigration. diff --git a/packages/cli/src/collect-migrations.ts b/packages/cli/src/collect-migrations.ts index d583a44..dc1ce8f 100644 --- a/packages/cli/src/collect-migrations.ts +++ b/packages/cli/src/collect-migrations.ts @@ -1,3 +1,4 @@ +import { extname } from 'node:path'; import { type MigrationHistoryEntry, type MigrationMetadata, type MigrationMetadataFinished } from '@emigrate/types'; import { toMigrationMetadata } from './to-migration-metadata.js'; import { getMigrations as getMigrationsOriginal } from './get-migrations.js'; @@ -11,7 +12,9 @@ export async function* collectMigrations( const allMigrations = await getMigrations(cwd, directory); const seen = new Set(); - for await (const entry of history) { + for await (const entry_ of history) { + const entry = extname(entry_.name) === '' ? { ...entry_, name: `${entry_.name}.js` } : entry_; + const index = allMigrations.findIndex((migrationFile) => migrationFile.name === entry.name); if (index === -1) { diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index fe88b74..5cdae25 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -48,6 +48,60 @@ describe('up', () => { assert.deepStrictEqual(reporter.onFinished.mock.calls[0]?.arguments, [[], undefined]); }); + it('returns 0 and finishes without an error when all migrations have already been run', async () => { + const { reporter, run } = getUpCommand(['my_migration.js'], getStorage(['my_migration.js'])); + + const exitCode = await run(); + + assert.strictEqual(exitCode, 0); + assert.strictEqual(reporter.onInit.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ + { + command: 'up', + cwd: '/emigrate', + dry: false, + color: undefined, + version, + directory: 'migrations', + }, + ]); + assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); + assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); + assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0); + assert.strictEqual(reporter.onFinished.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onFinished.mock.calls[0]?.arguments, [[], undefined]); + }); + + it('returns 0 and finishes without an error when all migrations have already been run even when the history responds without file extensions', async () => { + const { reporter, run } = getUpCommand(['my_migration.js'], getStorage(['my_migration'])); + + const exitCode = await run(); + + assert.strictEqual(exitCode, 0); + assert.strictEqual(reporter.onInit.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ + { + command: 'up', + cwd: '/emigrate', + dry: false, + color: undefined, + version, + directory: 'migrations', + }, + ]); + assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); + assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); + assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0); + assert.strictEqual(reporter.onFinished.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onFinished.mock.calls[0]?.arguments, [[], undefined]); + }); + it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin', async () => { const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], getStorage([])); diff --git a/packages/cli/src/get-migrations.ts b/packages/cli/src/get-migrations.ts index 735fc49..e208ac7 100644 --- a/packages/cli/src/get-migrations.ts +++ b/packages/cli/src/get-migrations.ts @@ -23,7 +23,10 @@ export const getMigrations = async (cwd: string, directory: string): Promise file.isFile() && !file.name.startsWith('.') && !file.name.startsWith('_')) + .filter( + (file) => + file.isFile() && !file.name.startsWith('.') && !file.name.startsWith('_') && path.extname(file.name) !== '', + ) .sort((a, b) => a.name.localeCompare(b.name)) .map(({ name }) => { const filePath = path.join(directoryPath, name); From 424d3e990346bfb8ec00a62e238e731d11f7d6eb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 18 Jan 2024 14:19:02 +0000 Subject: [PATCH 22/98] chore(release): version packages --- .changeset/real-parrots-chew.md | 5 ----- packages/cli/CHANGELOG.md | 6 ++++++ packages/cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/real-parrots-chew.md diff --git a/.changeset/real-parrots-chew.md b/.changeset/real-parrots-chew.md deleted file mode 100644 index 6f5d15c..0000000 --- a/.changeset/real-parrots-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Support stored migration histories that have only stored the migration file names without file extension and assume it's .js files in that case. This is to be compatible with a migration history generated by Immigration. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index e8b08ff..5b991fd 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/cli +## 0.14.1 + +### Patch Changes + +- 73a8a42: Support stored migration histories that have only stored the migration file names without file extension and assume it's .js files in that case. This is to be compatible with a migration history generated by Immigration. + ## 0.14.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index a67ebdd..d85ddfb 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.14.0", + "version": "0.14.1", "publishConfig": { "access": "public" }, From bf4d596980fd3d1892c78b0c801aa8e4f8010395 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 18 Jan 2024 16:34:47 +0100 Subject: [PATCH 23/98] fix(cli): clarify which options that takes parameters --- .changeset/grumpy-files-heal.md | 5 +++ packages/cli/src/cli.ts | 76 ++++++++++++++++----------------- 2 files changed, 43 insertions(+), 38 deletions(-) create mode 100644 .changeset/grumpy-files-heal.md diff --git a/.changeset/grumpy-files-heal.md b/.changeset/grumpy-files-heal.md new file mode 100644 index 0000000..187b4b4 --- /dev/null +++ b/.changeset/grumpy-files-heal.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Clarify which cli options that needs parameters diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index f17f37d..5bec5df 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -73,16 +73,16 @@ Run all pending migrations Options: - -h, --help Show this help message and exit - -d, --directory The directory where the migration files are located (required) - -i, --import Additional modules/packages to import before running the migrations (can be specified multiple times) - For example if you want to use Dotenv to load environment variables or when using TypeScript - -s, --storage The storage to use for where to store the migration history (required) - -p, --plugin The plugin(s) to use (can be specified multiple times) - -r, --reporter The reporter to use for reporting the migration progress - --dry List the pending migrations that would be run without actually running them - --color Force color output (this option is passed to the reporter) - --no-color Disable color output (this option is passed to the reporter) + -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before running the migrations (can be specified multiple times) + For example if you want to use Dotenv to load environment variables or when using TypeScript + -s, --storage The storage to use for where to store the migration history (required) + -p, --plugin The plugin(s) to use (can be specified multiple times) + -r, --reporter The reporter to use for reporting the migration progress + --dry List the pending migrations that would be run without actually running them + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: @@ -176,16 +176,16 @@ Arguments: Options: - -h, --help Show this help message and exit - -d, --directory The directory where the migration files are located (required) - -r, --reporter The reporter to use for reporting the migration file creation progress - -p, --plugin The plugin(s) to use (can be specified multiple times) - -t, --template A template file to use as contents for the new migration file - (if the extension option is not provided the template file's extension will be used) - -x, --extension The extension to use for the new migration file - (if no template or plugin is provided an empty migration file will be created with the given extension) - --color Force color output (this option is passed to the reporter) - --no-color Disable color output (this option is passed to the reporter) + -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -r, --reporter The reporter to use for reporting the migration file creation progress + -p, --plugin The plugin(s) to use (can be specified multiple times) + -t, --template A template file to use as contents for the new migration file + (if the extension option is not provided the template file's extension will be used) + -x, --extension The extension to use for the new migration file + (if no template or plugin is provided an empty migration file will be created with the given extension) + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) One of the --template, --extension or the --plugin options must be specified @@ -271,14 +271,14 @@ List all migrations and their status. This command does not run any migrations. Options: - -h, --help Show this help message and exit - -d, --directory The directory where the migration files are located (required) - -i, --import Additional modules/packages to import before listing the migrations (can be specified multiple times) - For example if you want to use Dotenv to load environment variables - -r, --reporter The reporter to use for reporting the migrations - -s, --storage The storage to use to get the migration history (required) - --color Force color output (this option is passed to the reporter) - --no-color Disable color output (this option is passed to the reporter) + -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before listing the migrations (can be specified multiple times) + For example if you want to use Dotenv to load environment variables + -r, --reporter The reporter to use for reporting the migrations + -s, --storage The storage to use to get the migration history (required) + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: @@ -369,16 +369,16 @@ Arguments: Options: - -h, --help Show this help message and exit - -d, --directory The directory where the migration files are located (required) - -i, --import Additional modules/packages to import before removing the migration (can be specified multiple times) - For example if you want to use Dotenv to load environment variables - -r, --reporter The reporter to use for reporting the removal process - -s, --storage The storage to use to get the migration history (required) - -f, --force Force removal of the migration history entry even if the migration file does not exist - or it's in a non-failed state - --color Force color output (this option is passed to the reporter) - --no-color Disable color output (this option is passed to the reporter) + -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before removing the migration (can be specified multiple times) + For example if you want to use Dotenv to load environment variables + -r, --reporter The reporter to use for reporting the removal process + -s, --storage The storage to use to get the migration history (required) + -f, --force Force removal of the migration history entry even if the migration file does not exist + or it's in a non-failed state + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: From 02c142e39a235315cb4b1643e376e5d7147de6df Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 18 Jan 2024 19:01:23 +0100 Subject: [PATCH 24/98] feat(up): add --limit option to limit the number of migrations to run --- .changeset/sharp-buses-draw.md | 5 ++ docs/src/content/docs/commands/up.mdx | 5 ++ packages/cli/README.md | 29 +++++++++ packages/cli/src/cli.ts | 26 +++++++- packages/cli/src/commands/up.test.ts | 93 ++++++++++++++++++++++++++- packages/cli/src/commands/up.ts | 3 + packages/cli/src/migration-runner.ts | 20 +++++- 7 files changed, 176 insertions(+), 5 deletions(-) create mode 100644 .changeset/sharp-buses-draw.md diff --git a/.changeset/sharp-buses-draw.md b/.changeset/sharp-buses-draw.md new file mode 100644 index 0000000..1070334 --- /dev/null +++ b/.changeset/sharp-buses-draw.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add --limit option to the "up" command, for limiting the number of migrations to run diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index 2c2dd8a..c80a715 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -64,6 +64,11 @@ Show command help and exit List the pending migrations that would be run without actually running them +### `-l, --limit ` + +Limit the number of migrations to run. Can be combined with `--dry` which will show "pending" for the migrations that would be run if not in dry-run mode, +and "skipped" for the migrations that also haven't been run but won't because of the set limit. + ### `-d`, `--directory ` The directory where the migration files are located. The given path should be absolute or relative to the current working directory. diff --git a/packages/cli/README.md b/packages/cli/README.md index 19f8c42..f398240 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -20,6 +20,35 @@ bun add @emigrate/cli ## Usage +```text +Usage: emigrate up [options] + +Run all pending migrations + +Options: + + -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before running the migrations (can be specified multiple times) + For example if you want to use Dotenv to load environment variables or when using TypeScript + -s, --storage The storage to use for where to store the migration history (required) + -p, --plugin The plugin(s) to use (can be specified multiple times) + -r, --reporter The reporter to use for reporting the migration progress + -l, --limit Limit the number of migrations to run + --dry List the pending migrations that would be run without actually running them + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) + +Examples: + + emigrate up --directory src/migrations -s fs + emigrate up -d ./migrations --storage @emigrate/mysql + emigrate up -d src/migrations -s postgres -r json --dry + emigrate up -d ./migrations -s mysql --import dotenv/config +``` + +### Examples + Create a new migration: ```bash diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index 5bec5df..203287a 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -48,6 +48,10 @@ const up: Action = async (args) => { type: 'string', short: 's', }, + limit: { + type: 'string', + short: 'l', + }, dry: { type: 'boolean', }, @@ -80,6 +84,7 @@ Options: -s, --storage The storage to use for where to store the migration history (required) -p, --plugin The plugin(s) to use (can be specified multiple times) -r, --reporter The reporter to use for reporting the migration progress + -l, --limit Limit the number of migrations to run --dry List the pending migrations that would be run without actually running them --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) @@ -104,15 +109,34 @@ Examples: storage = config.storage, reporter = config.reporter, dry, + limit: limitString, import: imports = [], } = values; const plugins = [...(config.plugins ?? []), ...(values.plugin ?? [])]; + const limit = limitString === undefined ? undefined : Number.parseInt(limitString, 10); + + if (Number.isNaN(limit)) { + console.error('Invalid limit value, expected an integer but was:', limitString); + console.log(usage); + process.exitCode = 1; + return; + } + await importAll(cwd, imports); try { const { default: upCommand } = await import('./commands/up.js'); - process.exitCode = await upCommand({ storage, reporter, directory, plugins, cwd, dry, color: useColors(values) }); + process.exitCode = await upCommand({ + storage, + reporter, + directory, + plugins, + cwd, + dry, + limit, + color: useColors(values), + }); } catch (error) { if (error instanceof ShowUsageError) { console.error(error.message, '\n'); diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index 5cdae25..f9d42cd 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -198,7 +198,7 @@ describe('up', () => { const failedEntry = toEntry('some_failed_migration.js', 'failed'); const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], getStorage([failedEntry])); - const exitCode = await run(true); + const exitCode = await run({ dry: true }); assert.strictEqual(exitCode, 1); assert.strictEqual(reporter.onInit.mock.calls.length, 1); @@ -344,6 +344,88 @@ describe('up', () => { ); }); + it('returns 0 and finishes without an error when the given number of pending migrations are run successfully', async () => { + const { reporter, run } = getUpCommand( + ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], + getStorage(['some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return async () => { + // Success + }; + }, + }, + ], + ); + + const exitCode = await run({ limit: 1 }); + + assert.strictEqual(exitCode, 0); + assert.strictEqual(reporter.onInit.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ + { + command: 'up', + cwd: '/emigrate', + version, + dry: false, + color: undefined, + directory: 'migrations', + }, + ]); + assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); + assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); + assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 1); + assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 1); + assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 1); + assert.strictEqual(reporter.onFinished.mock.calls.length, 1); + const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; + assert.strictEqual(error, undefined); + assert.strictEqual(entries?.length, 2); + assert.deepStrictEqual( + entries.map((entry) => `${entry.name} (${entry.status})`), + ['some_migration.js (done)', 'some_other_migration.js (skipped)'], + ); + }); + + it('returns 0 and finishes without an error with the given number of pending migrations are validated and listed successfully in dry-mode', async () => { + const { reporter, run } = getUpCommand( + ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], + getStorage(['some_already_run_migration.js']), + ); + + const exitCode = await run({ dry: true, limit: 1 }); + + assert.strictEqual(exitCode, 0); + assert.strictEqual(reporter.onInit.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ + { + command: 'up', + cwd: '/emigrate', + version, + dry: true, + color: undefined, + directory: 'migrations', + }, + ]); + assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); + assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); + assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); + assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 2); + assert.strictEqual(reporter.onFinished.mock.calls.length, 1); + const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; + assert.strictEqual(error, undefined); + assert.strictEqual(entries?.length, 2); + assert.deepStrictEqual( + entries.map((entry) => `${entry.name} (${entry.status})`), + ['some_migration.js (pending)', 'some_other_migration.js (skipped)'], + ); + }); + it('returns 1 and finishes with an error when a pending migration throw when run', async () => { const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'fail.js', 'some_other_migration.js'], @@ -495,7 +577,12 @@ function getUpCommand(migrationFiles: string[], storage?: Mocked, plugi onMigrationSkip: mock.fn(noop), }; - const run = async (dry = false) => { + const run = async ( + options?: Omit< + Parameters[0], + 'cwd' | 'directory' | 'storage' | 'reporter' | 'plugins' | 'getMigrations' + >, + ) => { return upCommand({ cwd: '/emigrate', directory: 'migrations', @@ -509,11 +596,11 @@ function getUpCommand(migrationFiles: string[], storage?: Mocked, plugi }, }, reporter, - dry, plugins: plugins ?? [], async getMigrations(cwd, directory) { return toMigrations(cwd, directory, migrationFiles); }, + ...options, }); }; diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index c260c46..9613982 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -14,6 +14,7 @@ import { version } from '../get-package-info.js'; type ExtraFlags = { cwd: string; dry?: boolean; + limit?: number; getMigrations?: GetMigrationsFunction; }; @@ -25,6 +26,7 @@ export default async function upCommand({ reporter: reporterConfig, directory, color, + limit, dry = false, plugins = [], cwd, @@ -83,6 +85,7 @@ export default async function upCommand({ const error = await migrationRunner({ dry, + limit, reporter, storage, migrations: await arrayFromAsync(collectedMigrations), diff --git a/packages/cli/src/migration-runner.ts b/packages/cli/src/migration-runner.ts index 8cdf88c..f62011e 100644 --- a/packages/cli/src/migration-runner.ts +++ b/packages/cli/src/migration-runner.ts @@ -15,6 +15,7 @@ import { getDuration } from './get-duration.js'; type MigrationRunnerParameters = { dry: boolean; + limit?: number; reporter: EmigrateReporter; storage: Storage; migrations: Array; @@ -24,6 +25,7 @@ type MigrationRunnerParameters = { export const migrationRunner = async ({ dry, + limit, reporter, storage, migrations, @@ -70,7 +72,12 @@ export const migrationRunner = async ({ } } - const [lockedMigrations, lockError] = dry ? [migrationsToRun] : await exec(async () => storage.lock(migrationsToRun)); + const migrationsToLock = limit ? migrationsToRun.slice(0, limit) : migrationsToRun; + const migrationsToSkip = limit ? migrationsToRun.slice(limit) : []; + + const [lockedMigrations, lockError] = dry + ? [migrationsToLock] + : await exec(async () => storage.lock(migrationsToLock)); if (lockError) { for await (const migration of migrationsToRun) { @@ -152,6 +159,17 @@ export const migrationRunner = async ({ } } + for await (const migration of migrationsToSkip) { + const finishedMigration: MigrationMetadataFinished = { + ...migration, + status: 'skipped', + }; + + await reporter.onMigrationSkip?.(finishedMigration); + + finishedMigrations.push(finishedMigration); + } + const [, unlockError] = dry ? [] : await exec(async () => storage.unlock(lockedMigrations ?? [])); // eslint-disable-next-line unicorn/no-array-callback-reference From 9ef0fa2776f8bf3820944ee714dfa5b2b9137ec6 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 19 Jan 2024 10:34:06 +0100 Subject: [PATCH 25/98] feat(cli): add --from and --to options to limit what migrations to run --- .changeset/quiet-ravens-sleep.md | 5 + README.md | 35 ++ docs/src/content/docs/commands/up.mdx | 18 + packages/cli/README.md | 6 + packages/cli/src/cli.ts | 18 + packages/cli/src/commands/up.test.ts | 621 ++++++++++++++------------ packages/cli/src/commands/up.ts | 6 + packages/cli/src/migration-runner.ts | 122 +++-- 8 files changed, 485 insertions(+), 346 deletions(-) create mode 100644 .changeset/quiet-ravens-sleep.md diff --git a/.changeset/quiet-ravens-sleep.md b/.changeset/quiet-ravens-sleep.md new file mode 100644 index 0000000..24023cf --- /dev/null +++ b/.changeset/quiet-ravens-sleep.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add --from and --to CLI options to control which migrations to include or skip when executing migrations. diff --git a/README.md b/README.md index d494410..bd62417 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,41 @@ bun add @emigrate/cli ## Usage +```text +Usage: emigrate up [options] + +Run all pending migrations + +Options: + + -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before running the migrations (can be specified multiple times) + For example if you want to use Dotenv to load environment variables or when using TypeScript + -s, --storage The storage to use for where to store the migration history (required) + -p, --plugin The plugin(s) to use (can be specified multiple times) + -r, --reporter The reporter to use for reporting the migration progress + -l, --limit Limit the number of migrations to run + -f, --from Start running migrations from the given migration name, the given name doesn't need to exist + and is compared in lexicographical order + -t, --to Skip migrations after the given migration name, the given name doesn't need to exist + and is compared in lexicographical order + --dry List the pending migrations that would be run without actually running them + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) + +Examples: + + emigrate up --directory src/migrations -s fs + emigrate up -d ./migrations --storage @emigrate/mysql + emigrate up -d src/migrations -s postgres -r json --dry + emigrate up -d ./migrations -s mysql --import dotenv/config + emigrate up --limit 1 + emigrate up --to 20231122120529381_some_migration_file.js +``` + +### Examples + Create a new migration: ```bash diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index c80a715..39d6151 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -73,6 +73,24 @@ and "skipped" for the migrations that also haven't been run but won't because of The directory where the migration files are located. The given path should be absolute or relative to the current working directory. +### `-f`, `--from ` + +The name of the migration to start from. This can be used to run only a subset of the pending migrations. + +The given migration name does not need to exist and is compared in lexicographical order with the migration names, so it can be a prefix of a migration name or similar. + +Can be combined with `--dry` which will show "pending" for the migrations that would be run if not in dry-run mode, +and "skipped" for the migrations that also haven't been run but won't because of the set "from". + +### `-t`, `--to ` + +The name of the migration to end at. This can be used to run only a subset of the pending migrations. + +The given migration name does not need to exist and is compared in lexicographical order with the migration names, so it can be a prefix of a migration name or similar. + +Can be combined with `--dry` which will show "pending" for the migrations that would be run if not in dry-run mode, +and "skipped" for the migrations that also haven't been run but won't because of the set "to". + ### `-i`, `--import ` A module to import before running the migrations. This option can be specified multiple times. diff --git a/packages/cli/README.md b/packages/cli/README.md index f398240..95945ef 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -35,6 +35,10 @@ Options: -p, --plugin The plugin(s) to use (can be specified multiple times) -r, --reporter The reporter to use for reporting the migration progress -l, --limit Limit the number of migrations to run + -f, --from Start running migrations from the given migration name, the given name doesn't need to exist + and is compared in lexicographical order + -t, --to Skip migrations after the given migration name, the given name doesn't need to exist + and is compared in lexicographical order --dry List the pending migrations that would be run without actually running them --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) @@ -45,6 +49,8 @@ Examples: emigrate up -d ./migrations --storage @emigrate/mysql emigrate up -d src/migrations -s postgres -r json --dry emigrate up -d ./migrations -s mysql --import dotenv/config + emigrate up --limit 1 + emigrate up --to 20231122120529381_some_migration_file.js ``` ### Examples diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index 203287a..1ac7520 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -52,6 +52,14 @@ const up: Action = async (args) => { type: 'string', short: 'l', }, + from: { + type: 'string', + short: 'f', + }, + to: { + type: 'string', + short: 't', + }, dry: { type: 'boolean', }, @@ -85,6 +93,10 @@ Options: -p, --plugin The plugin(s) to use (can be specified multiple times) -r, --reporter The reporter to use for reporting the migration progress -l, --limit Limit the number of migrations to run + -f, --from Start running migrations from the given migration name, the given name doesn't need to exist + and is compared in lexicographical order + -t, --to Skip migrations after the given migration name, the given name doesn't need to exist + and is compared in lexicographical order --dry List the pending migrations that would be run without actually running them --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) @@ -95,6 +107,8 @@ Examples: emigrate up -d ./migrations --storage @emigrate/mysql emigrate up -d src/migrations -s postgres -r json --dry emigrate up -d ./migrations -s mysql --import dotenv/config + emigrate up --limit 1 + emigrate up --to 20231122120529381_some_migration_file.js `; if (values.help) { @@ -109,6 +123,8 @@ Examples: storage = config.storage, reporter = config.reporter, dry, + from, + to, limit: limitString, import: imports = [], } = values; @@ -135,6 +151,8 @@ Examples: cwd, dry, limit, + from, + to, color: useColors(values), }); } catch (error) { diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index f9d42cd..df4a07e 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -10,9 +10,11 @@ import { type SerializedError, type FailedMigrationHistoryEntry, type NonFailedMigrationHistoryEntry, + type MigrationMetadataFinished, } from '@emigrate/types'; import { deserializeError } from 'serialize-error'; import { version } from '../get-package-info.js'; +import { BadOptionError, MigrationHistoryError, MigrationRunError, StorageInitError } from '../errors.js'; import upCommand from './up.js'; type Mocked = { @@ -27,25 +29,7 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 0); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - dry: false, - color: undefined, - version, - directory: 'migrations', - }, - ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onFinished.mock.calls[0]?.arguments, [[], undefined]); + assertPreconditionsFulfilled({ dry: false }, reporter, []); }); it('returns 0 and finishes without an error when all migrations have already been run', async () => { @@ -54,25 +38,7 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 0); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - dry: false, - color: undefined, - version, - directory: 'migrations', - }, - ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onFinished.mock.calls[0]?.arguments, [[], undefined]); + assertPreconditionsFulfilled({ dry: false }, reporter, []); }); it('returns 0 and finishes without an error when all migrations have already been run even when the history responds without file extensions', async () => { @@ -81,25 +47,7 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 0); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - dry: false, - color: undefined, - version, - directory: 'migrations', - }, - ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onFinished.mock.calls[0]?.arguments, [[], undefined]); + assertPreconditionsFulfilled({ dry: false }, reporter, []); }); it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin', async () => { @@ -108,48 +56,40 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 1); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 1); - const args = reporter.onFinished.mock.calls[0]?.arguments; - assert.strictEqual(args?.length, 2); - const entries = args[0]; - const error = args[1]; - assert.deepStrictEqual( - entries.map((entry) => `${entry.name} (${entry.status})`), - ['some_other.js (skipped)', 'some_file.sql (failed)'], + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { name: 'some_other.js', status: 'skipped' }, + { + name: 'some_file.sql', + status: 'failed', + error: BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), + }, + ], + BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), ); - assert.strictEqual(entries.length, 2); - assert.strictEqual(error?.message, 'No loader plugin found for file extension: .sql'); }); it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin in dry-run mode as well', async () => { const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], getStorage([])); - const exitCode = await run(); + const exitCode = await run({ dry: true }); assert.strictEqual(exitCode, 1); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 1); - const args = reporter.onFinished.mock.calls[0]?.arguments; - assert.strictEqual(args?.length, 2); - const entries = args[0]; - const error = args[1]; - assert.strictEqual(entries.length, 2); - assert.deepStrictEqual( - entries.map((entry) => `${entry.name} (${entry.status})`), - ['some_other.js (skipped)', 'some_file.sql (failed)'], + assertPreconditionsFulfilled( + { dry: true }, + reporter, + [ + { name: 'some_other.js', status: 'skipped' }, + { + name: 'some_file.sql', + status: 'failed', + error: BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), + }, + ], + BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), ); - assert.strictEqual(error?.message, 'No loader plugin found for file extension: .sql'); }); it('returns 1 and finishes with an error when there are failed migrations in the history', async () => { @@ -159,38 +99,24 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 1); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - version, - dry: false, - color: undefined, - directory: 'migrations', - }, - ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 1); - assert.deepStrictEqual( - getErrorCause(reporter.onMigrationError.mock.calls[0]?.arguments[1]), - deserializeError(failedEntry.error), - ); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 1); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.strictEqual( - error?.message, - `Migration ${failedEntry.name} is in a failed state, it should be fixed and removed`, - ); - assert.deepStrictEqual(getErrorCause(error), deserializeError(failedEntry.error)); - assert.strictEqual(entries?.length, 2); - assert.deepStrictEqual( - entries.map((entry) => `${entry.name} (${entry.status})`), - ['some_failed_migration.js (failed)', 'some_file.js (skipped)'], + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { + name: 'some_failed_migration.js', + status: 'failed', + error: new MigrationHistoryError( + 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', + { cause: failedEntry.error }, + ), + }, + { name: 'some_file.js', status: 'skipped' }, + ], + new MigrationHistoryError( + 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', + { cause: failedEntry.error }, + ), ); }); @@ -201,38 +127,24 @@ describe('up', () => { const exitCode = await run({ dry: true }); assert.strictEqual(exitCode, 1); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - version, - dry: true, - color: undefined, - directory: 'migrations', - }, - ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 1); - assert.deepStrictEqual( - getErrorCause(reporter.onMigrationError.mock.calls[0]?.arguments[1]), - deserializeError(failedEntry.error), - ); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 1); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.strictEqual( - error?.message, - `Migration ${failedEntry.name} is in a failed state, it should be fixed and removed`, - ); - assert.deepStrictEqual(getErrorCause(error), deserializeError(failedEntry.error)); - assert.strictEqual(entries?.length, 2); - assert.deepStrictEqual( - entries.map((entry) => `${entry.name} (${entry.status})`), - ['some_failed_migration.js (failed)', 'some_file.js (pending)'], + assertPreconditionsFulfilled( + { dry: true }, + reporter, + [ + { + name: 'some_failed_migration.js', + status: 'failed', + error: new MigrationHistoryError( + 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', + { cause: failedEntry.error }, + ), + }, + { name: 'some_file.js', status: 'skipped' }, + ], + new MigrationHistoryError( + 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', + { cause: failedEntry.error }, + ), ); }); @@ -243,25 +155,7 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 0); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - version, - dry: false, - color: undefined, - directory: 'migrations', - }, - ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onFinished.mock.calls[0]?.arguments, [[], undefined]); + assertPreconditionsFulfilled({ dry: false }, reporter, []); }); it("returns 1 and finishes with an error when the storage couldn't be initialized", async () => { @@ -270,32 +164,7 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 1); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - version, - dry: false, - color: undefined, - directory: 'migrations', - }, - ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 0); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - const args = reporter.onFinished.mock.calls[0]?.arguments; - assert.strictEqual(args?.length, 2); - const entries = args[0]; - const error = args[1]; - const cause = getErrorCause(error); - assert.deepStrictEqual(entries, []); - assert.strictEqual(error?.message, 'Could not initialize storage'); - assert.strictEqual(cause?.message, 'No storage configured'); + assertPreconditionsFailed({ dry: false }, reporter, StorageInitError.fromError(new Error('No storage configured'))); }); it('returns 0 and finishes without an error when all pending migrations are run successfully', async () => { @@ -317,31 +186,10 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 0); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - version, - dry: false, - color: undefined, - directory: 'migrations', - }, + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: 'some_migration.js', status: 'done', started: true }, + { name: 'some_other_migration.js', status: 'done', started: true }, ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 2); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 2); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.strictEqual(error, undefined); - assert.strictEqual(entries?.length, 2); - assert.deepStrictEqual( - entries.map((entry) => `${entry.name} (${entry.status})`), - ['some_migration.js (done)', 'some_other_migration.js (done)'], - ); }); it('returns 0 and finishes without an error when the given number of pending migrations are run successfully', async () => { @@ -363,31 +211,10 @@ describe('up', () => { const exitCode = await run({ limit: 1 }); assert.strictEqual(exitCode, 0); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - version, - dry: false, - color: undefined, - directory: 'migrations', - }, + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: 'some_migration.js', status: 'done', started: true }, + { name: 'some_other_migration.js', status: 'skipped' }, ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 1); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.strictEqual(error, undefined); - assert.strictEqual(entries?.length, 2); - assert.deepStrictEqual( - entries.map((entry) => `${entry.name} (${entry.status})`), - ['some_migration.js (done)', 'some_other_migration.js (skipped)'], - ); }); it('returns 0 and finishes without an error with the given number of pending migrations are validated and listed successfully in dry-mode', async () => { @@ -399,31 +226,125 @@ describe('up', () => { const exitCode = await run({ dry: true, limit: 1 }); assert.strictEqual(exitCode, 0); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - version, - dry: true, - color: undefined, - directory: 'migrations', - }, + assertPreconditionsFulfilled({ dry: true }, reporter, [ + { name: 'some_migration.js', status: 'pending' }, + { name: 'some_other_migration.js', status: 'skipped' }, ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 2); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.strictEqual(error, undefined); - assert.strictEqual(entries?.length, 2); - assert.deepStrictEqual( - entries.map((entry) => `${entry.name} (${entry.status})`), - ['some_migration.js (pending)', 'some_other_migration.js (skipped)'], + }); + + it('returns 0 and finishes without an error when pending migrations after given "from" parameter are run successfully, even when the "from" is not an existing migration', async () => { + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return async () => { + // Success + }; + }, + }, + ], ); + + const exitCode = await run({ from: '3_non_existing_migration.js' }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '4_some_other_migration.js', status: 'done', started: true }, + ]); + }); + + it('returns 0 and finishes without an error when pending migrations after given "from" parameter are validated and listed successfully in dry-mode, even when the "from" is not an existing migration', async () => { + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + ); + + const exitCode = await run({ dry: true, from: '3_non_existing_migration.js' }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: true }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '4_some_other_migration.js', status: 'pending' }, + ]); + }); + + it('returns 0 and finishes without an error when pending migrations before given "to" parameter are run successfully, even when the "to" is not an existing migration', async () => { + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return async () => { + // Success + }; + }, + }, + ], + ); + + const exitCode = await run({ to: '3_non_existing_migration.js' }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'skipped' }, + ]); + }); + + it('returns 0 and finishes without an error when pending migrations after given "to" parameter are validated and listed successfully in dry-mode, even when the "to" is not an existing migration', async () => { + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + ); + + const exitCode = await run({ dry: true, to: '3_non_existing_migration.js' }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: true }, reporter, [ + { name: '2_some_migration.js', status: 'pending' }, + { name: '4_some_other_migration.js', status: 'skipped' }, + ]); + }); + + it('returns 0 and finishes without an error when the pending migrations fulfilling "from", "to" and "limit" are run successfully', async () => { + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_another_migration.js', + '4_some_other_migration.js', + '5_yet_another_migration.js', + '6_some_more_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return async () => { + // Success + }; + }, + }, + ], + ); + + const exitCode = await run({ from: '3_another_migration.js', to: '5_yet_another_migration.js', limit: 2 }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '3_another_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'done', started: true }, + { name: '5_yet_another_migration.js', status: 'skipped' }, + { name: '6_some_more_migration.js', status: 'skipped' }, + ]); }); it('returns 1 and finishes with an error when a pending migration throw when run', async () => { @@ -447,33 +368,15 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 1); - assert.strictEqual(reporter.onInit.mock.calls.length, 1); - assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ - { - command: 'up', - cwd: '/emigrate', - version, - dry: false, - color: undefined, - directory: 'migrations', - }, - ]); - assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 2); - assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationError.mock.calls.length, 1); - assert.strictEqual(reporter.onMigrationError.mock.calls[0]?.arguments[1]?.message, 'Oh noes!'); - assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 1); - assert.strictEqual(reporter.onFinished.mock.calls.length, 1); - const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.strictEqual(error?.message, 'Failed to run migration: migrations/fail.js'); - const cause = getErrorCause(error); - assert.strictEqual(cause?.message, 'Oh noes!'); - assert.strictEqual(entries?.length, 3); - assert.deepStrictEqual( - entries.map((entry) => `${entry.name} (${entry.status})`), - ['some_migration.js (done)', 'fail.js (failed)', 'some_other_migration.js (skipped)'], + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { name: 'some_migration.js', status: 'done', started: true }, + { name: 'fail.js', status: 'failed', started: true, error: new Error('Oh noes!') }, + { name: 'some_other_migration.js', status: 'skipped' }, + ], + new MigrationRunError('Failed to run migration: migrations/fail.js', { cause: new Error('Oh noes!') }), ); }); }); @@ -610,3 +513,127 @@ function getUpCommand(migrationFiles: string[], storage?: Mocked, plugi run, }; } + +function assertPreconditionsFulfilled( + options: { dry: boolean }, + reporter: Mocked>, + expected: Array<{ name: string; status: MigrationMetadataFinished['status']; started?: boolean; error?: Error }>, + finishedError?: Error, +) { + assert.strictEqual(reporter.onInit.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ + { + command: 'up', + cwd: '/emigrate', + version, + dry: options.dry, + color: undefined, + directory: 'migrations', + }, + ]); + + let started = 0; + let done = 0; + let failed = 0; + let skipped = 0; + let pending = 0; + const failedEntries: typeof expected = []; + + for (const entry of expected) { + if (entry.started) { + started++; + } + + // eslint-disable-next-line default-case + switch (entry.status) { + case 'done': { + done++; + break; + } + + case 'failed': { + failed++; + failedEntries.push(entry); + break; + } + + case 'skipped': { + skipped++; + break; + } + + case 'pending': { + pending++; + break; + } + } + } + + assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1, 'Collected call'); + assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 1, 'Locked call'); + assert.strictEqual(reporter.onMigrationStart.mock.calls.length, started, 'Started migrations'); + assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, done, 'Successful migrations'); + assert.strictEqual(reporter.onMigrationError.mock.calls.length, failed, 'Failed migrations'); + + for (const [index, entry] of failedEntries.entries()) { + if (entry.status === 'failed') { + const error = reporter.onMigrationError.mock.calls[index]?.arguments[1]; + assert.deepStrictEqual(error, entry.error, 'Error'); + const cause = entry.error?.cause; + assert.deepStrictEqual(error?.cause, cause ? deserializeError(cause) : cause, 'Error cause'); + } + } + + assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, pending + skipped, 'Total pending and skipped'); + assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); + const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; + assert.deepStrictEqual(error, finishedError, 'Finished error'); + const cause = getErrorCause(error); + const expectedCause = finishedError?.cause; + assert.deepStrictEqual( + cause, + expectedCause ? deserializeError(expectedCause) : expectedCause, + 'Finished error cause', + ); + assert.strictEqual(entries?.length, expected.length, 'Finished entries length'); + assert.deepStrictEqual( + entries.map((entry) => `${entry.name} (${entry.status})`), + expected.map((entry) => `${entry.name} (${entry.status})`), + 'Finished entries', + ); +} + +function assertPreconditionsFailed( + options: { dry: boolean }, + reporter: Mocked>, + finishedError?: Error, +) { + assert.strictEqual(reporter.onInit.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ + { + command: 'up', + cwd: '/emigrate', + version, + dry: options.dry, + color: undefined, + directory: 'migrations', + }, + ]); + assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 0, 'Collected call'); + assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 0, 'Locked call'); + assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0, 'Started migrations'); + assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0, 'Successful migrations'); + assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0, 'Failed migrations'); + assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0, 'Total pending and skipped'); + assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); + const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; + assert.deepStrictEqual(error, finishedError, 'Finished error'); + const cause = getErrorCause(error); + const expectedCause = finishedError?.cause; + assert.deepStrictEqual( + cause, + expectedCause ? deserializeError(expectedCause) : expectedCause, + 'Finished error cause', + ); + assert.strictEqual(entries?.length, 0, 'Finished entries length'); +} diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index 9613982..6ffecdc 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -15,6 +15,8 @@ type ExtraFlags = { cwd: string; dry?: boolean; limit?: number; + from?: string; + to?: string; getMigrations?: GetMigrationsFunction; }; @@ -27,6 +29,8 @@ export default async function upCommand({ directory, color, limit, + from, + to, dry = false, plugins = [], cwd, @@ -86,6 +90,8 @@ export default async function upCommand({ const error = await migrationRunner({ dry, limit, + from, + to, reporter, storage, migrations: await arrayFromAsync(collectedMigrations), diff --git a/packages/cli/src/migration-runner.ts b/packages/cli/src/migration-runner.ts index f62011e..e09d6c4 100644 --- a/packages/cli/src/migration-runner.ts +++ b/packages/cli/src/migration-runner.ts @@ -16,6 +16,8 @@ import { getDuration } from './get-duration.js'; type MigrationRunnerParameters = { dry: boolean; limit?: number; + from?: string; + to?: string; reporter: EmigrateReporter; storage: Storage; migrations: Array; @@ -26,6 +28,8 @@ type MigrationRunnerParameters = { export const migrationRunner = async ({ dry, limit, + from, + to, reporter, storage, migrations, @@ -34,8 +38,8 @@ export const migrationRunner = async ({ }: MigrationRunnerParameters): Promise => { await reporter.onCollectedMigrations?.(migrations); - const finishedMigrations: MigrationMetadataFinished[] = []; - const migrationsToRun: MigrationMetadata[] = []; + const validatedMigrations: Array = []; + const migrationsToLock: MigrationMetadata[] = []; let skip = false; @@ -43,24 +47,35 @@ export const migrationRunner = async ({ if (isFinishedMigration(migration)) { skip ||= migration.status === 'failed' || migration.status === 'skipped'; - finishedMigrations.push(migration); - } else if (skip) { - finishedMigrations.push({ + validatedMigrations.push(migration); + } else if ( + skip || + Boolean(from && migration.name < from) || + Boolean(to && migration.name > to) || + (limit && migrationsToLock.length >= limit) + ) { + validatedMigrations.push({ ...migration, - status: dry ? 'pending' : 'skipped', + status: 'skipped', }); } else { try { await validate(migration); - migrationsToRun.push(migration); + migrationsToLock.push(migration); + validatedMigrations.push(migration); } catch (error) { - for await (const migration of migrationsToRun) { - finishedMigrations.push({ ...migration, status: 'skipped' }); + for (const migration of migrationsToLock) { + const validatedIndex = validatedMigrations.indexOf(migration); + + validatedMigrations[validatedIndex] = { + ...migration, + status: 'skipped', + }; } - migrationsToRun.length = 0; + migrationsToLock.length = 0; - finishedMigrations.push({ + validatedMigrations.push({ ...migration, status: 'failed', duration: 0, @@ -72,50 +87,70 @@ export const migrationRunner = async ({ } } - const migrationsToLock = limit ? migrationsToRun.slice(0, limit) : migrationsToRun; - const migrationsToSkip = limit ? migrationsToRun.slice(limit) : []; - const [lockedMigrations, lockError] = dry ? [migrationsToLock] : await exec(async () => storage.lock(migrationsToLock)); if (lockError) { - for await (const migration of migrationsToRun) { - finishedMigrations.push({ ...migration, status: 'skipped' }); + for (const migration of migrationsToLock) { + const validatedIndex = validatedMigrations.indexOf(migration); + + validatedMigrations[validatedIndex] = { + ...migration, + status: 'skipped', + }; } - migrationsToRun.length = 0; + migrationsToLock.length = 0; skip = true; } else { + for (const migration of migrationsToLock) { + const isLocked = lockedMigrations.some((lockedMigration) => lockedMigration.name === migration.name); + + if (!isLocked) { + const validatedIndex = validatedMigrations.indexOf(migration); + + validatedMigrations[validatedIndex] = { + ...migration, + status: 'skipped', + }; + } + } + await reporter.onLockedMigrations?.(lockedMigrations); } - for await (const finishedMigration of finishedMigrations) { - switch (finishedMigration.status) { - case 'failed': { - await reporter.onMigrationError?.(finishedMigration, finishedMigration.error); - break; + const finishedMigrations: MigrationMetadataFinished[] = []; + + for await (const migration of validatedMigrations) { + if (isFinishedMigration(migration)) { + switch (migration.status) { + case 'failed': { + await reporter.onMigrationError?.(migration, migration.error); + break; + } + + case 'pending': { + await reporter.onMigrationSkip?.(migration); + break; + } + + case 'skipped': { + await reporter.onMigrationSkip?.(migration); + break; + } + + default: { + await reporter.onMigrationSuccess?.(migration); + break; + } } - case 'pending': { - await reporter.onMigrationSkip?.(finishedMigration); - break; - } - - case 'skipped': { - await reporter.onMigrationSkip?.(finishedMigration); - break; - } - - default: { - await reporter.onMigrationSuccess?.(finishedMigration); - break; - } + finishedMigrations.push(migration); + continue; } - } - for await (const migration of lockedMigrations ?? []) { if (dry || skip) { const finishedMigration: MigrationMetadataFinished = { ...migration, @@ -159,17 +194,6 @@ export const migrationRunner = async ({ } } - for await (const migration of migrationsToSkip) { - const finishedMigration: MigrationMetadataFinished = { - ...migration, - status: 'skipped', - }; - - await reporter.onMigrationSkip?.(finishedMigration); - - finishedMigrations.push(finishedMigration); - } - const [, unlockError] = dry ? [] : await exec(async () => storage.unlock(lockedMigrations ?? [])); // eslint-disable-next-line unicorn/no-array-callback-reference From e71c318ea5fb01fe9e57773309e1138ef96a3130 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 19 Jan 2024 11:05:23 +0100 Subject: [PATCH 26/98] test(up): structure the up tests in a better way --- packages/cli/src/commands/up.test.ts | 566 ++++++++++++++------------- 1 file changed, 291 insertions(+), 275 deletions(-) diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index df4a07e..dce2c1e 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -23,6 +23,15 @@ type Mocked = { }; describe('up', () => { + it("returns 1 and finishes with an error when the storage couldn't be initialized", async () => { + const { reporter, run } = getUpCommand(['some_migration.js']); + + const exitCode = await run(); + + assert.strictEqual(exitCode, 1); + assertPreconditionsFailed({ dry: false }, reporter, StorageInitError.fromError(new Error('No storage configured'))); + }); + it('returns 0 and finishes without an error when there are no migrations to run', async () => { const { reporter, run } = getUpCommand([], getStorage([])); @@ -50,124 +59,10 @@ describe('up', () => { assertPreconditionsFulfilled({ dry: false }, reporter, []); }); - it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin', async () => { - const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], getStorage([])); - - const exitCode = await run(); - - assert.strictEqual(exitCode, 1); - assertPreconditionsFulfilled( - { dry: false }, - reporter, - [ - { name: 'some_other.js', status: 'skipped' }, - { - name: 'some_file.sql', - status: 'failed', - error: BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), - }, - ], - BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), - ); - }); - - it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin in dry-run mode as well', async () => { - const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], getStorage([])); - - const exitCode = await run({ dry: true }); - - assert.strictEqual(exitCode, 1); - assertPreconditionsFulfilled( - { dry: true }, - reporter, - [ - { name: 'some_other.js', status: 'skipped' }, - { - name: 'some_file.sql', - status: 'failed', - error: BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), - }, - ], - BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), - ); - }); - - it('returns 1 and finishes with an error when there are failed migrations in the history', async () => { - const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], getStorage([failedEntry])); - - const exitCode = await run(); - - assert.strictEqual(exitCode, 1); - assertPreconditionsFulfilled( - { dry: false }, - reporter, - [ - { - name: 'some_failed_migration.js', - status: 'failed', - error: new MigrationHistoryError( - 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', - { cause: failedEntry.error }, - ), - }, - { name: 'some_file.js', status: 'skipped' }, - ], - new MigrationHistoryError( - 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', - { cause: failedEntry.error }, - ), - ); - }); - - it('returns 1 and finishes with an error when there are failed migrations in the history in dry-run mode as well', async () => { - const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], getStorage([failedEntry])); - - const exitCode = await run({ dry: true }); - - assert.strictEqual(exitCode, 1); - assertPreconditionsFulfilled( - { dry: true }, - reporter, - [ - { - name: 'some_failed_migration.js', - status: 'failed', - error: new MigrationHistoryError( - 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', - { cause: failedEntry.error }, - ), - }, - { name: 'some_file.js', status: 'skipped' }, - ], - new MigrationHistoryError( - 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', - { cause: failedEntry.error }, - ), - ); - }); - - it('returns 0 and finishes without an error when the failed migrations in the history are not part of the current set of migrations', async () => { - const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const { reporter, run } = getUpCommand([], getStorage([failedEntry])); - - const exitCode = await run(); - - assert.strictEqual(exitCode, 0); - assertPreconditionsFulfilled({ dry: false }, reporter, []); - }); - - it("returns 1 and finishes with an error when the storage couldn't be initialized", async () => { - const { reporter, run } = getUpCommand(['some_migration.js']); - - const exitCode = await run(); - - assert.strictEqual(exitCode, 1); - assertPreconditionsFailed({ dry: false }, reporter, StorageInitError.fromError(new Error('No storage configured'))); - }); - it('returns 0 and finishes without an error when all pending migrations are run successfully', async () => { + const migration = mock.fn(async () => { + // Success + }); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], getStorage(['some_already_run_migration.js']), @@ -175,9 +70,7 @@ describe('up', () => { { loadableExtensions: ['.js'], async loadMigration() { - return async () => { - // Success - }; + return migration; }, }, ], @@ -190,161 +83,7 @@ describe('up', () => { { name: 'some_migration.js', status: 'done', started: true }, { name: 'some_other_migration.js', status: 'done', started: true }, ]); - }); - - it('returns 0 and finishes without an error when the given number of pending migrations are run successfully', async () => { - const { reporter, run } = getUpCommand( - ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], - getStorage(['some_already_run_migration.js']), - [ - { - loadableExtensions: ['.js'], - async loadMigration() { - return async () => { - // Success - }; - }, - }, - ], - ); - - const exitCode = await run({ limit: 1 }); - - assert.strictEqual(exitCode, 0); - assertPreconditionsFulfilled({ dry: false }, reporter, [ - { name: 'some_migration.js', status: 'done', started: true }, - { name: 'some_other_migration.js', status: 'skipped' }, - ]); - }); - - it('returns 0 and finishes without an error with the given number of pending migrations are validated and listed successfully in dry-mode', async () => { - const { reporter, run } = getUpCommand( - ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], - getStorage(['some_already_run_migration.js']), - ); - - const exitCode = await run({ dry: true, limit: 1 }); - - assert.strictEqual(exitCode, 0); - assertPreconditionsFulfilled({ dry: true }, reporter, [ - { name: 'some_migration.js', status: 'pending' }, - { name: 'some_other_migration.js', status: 'skipped' }, - ]); - }); - - it('returns 0 and finishes without an error when pending migrations after given "from" parameter are run successfully, even when the "from" is not an existing migration', async () => { - const { reporter, run } = getUpCommand( - ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), - [ - { - loadableExtensions: ['.js'], - async loadMigration() { - return async () => { - // Success - }; - }, - }, - ], - ); - - const exitCode = await run({ from: '3_non_existing_migration.js' }); - - assert.strictEqual(exitCode, 0); - assertPreconditionsFulfilled({ dry: false }, reporter, [ - { name: '2_some_migration.js', status: 'skipped' }, - { name: '4_some_other_migration.js', status: 'done', started: true }, - ]); - }); - - it('returns 0 and finishes without an error when pending migrations after given "from" parameter are validated and listed successfully in dry-mode, even when the "from" is not an existing migration', async () => { - const { reporter, run } = getUpCommand( - ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), - ); - - const exitCode = await run({ dry: true, from: '3_non_existing_migration.js' }); - - assert.strictEqual(exitCode, 0); - assertPreconditionsFulfilled({ dry: true }, reporter, [ - { name: '2_some_migration.js', status: 'skipped' }, - { name: '4_some_other_migration.js', status: 'pending' }, - ]); - }); - - it('returns 0 and finishes without an error when pending migrations before given "to" parameter are run successfully, even when the "to" is not an existing migration', async () => { - const { reporter, run } = getUpCommand( - ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), - [ - { - loadableExtensions: ['.js'], - async loadMigration() { - return async () => { - // Success - }; - }, - }, - ], - ); - - const exitCode = await run({ to: '3_non_existing_migration.js' }); - - assert.strictEqual(exitCode, 0); - assertPreconditionsFulfilled({ dry: false }, reporter, [ - { name: '2_some_migration.js', status: 'done', started: true }, - { name: '4_some_other_migration.js', status: 'skipped' }, - ]); - }); - - it('returns 0 and finishes without an error when pending migrations after given "to" parameter are validated and listed successfully in dry-mode, even when the "to" is not an existing migration', async () => { - const { reporter, run } = getUpCommand( - ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), - ); - - const exitCode = await run({ dry: true, to: '3_non_existing_migration.js' }); - - assert.strictEqual(exitCode, 0); - assertPreconditionsFulfilled({ dry: true }, reporter, [ - { name: '2_some_migration.js', status: 'pending' }, - { name: '4_some_other_migration.js', status: 'skipped' }, - ]); - }); - - it('returns 0 and finishes without an error when the pending migrations fulfilling "from", "to" and "limit" are run successfully', async () => { - const { reporter, run } = getUpCommand( - [ - '1_some_already_run_migration.js', - '2_some_migration.js', - '3_another_migration.js', - '4_some_other_migration.js', - '5_yet_another_migration.js', - '6_some_more_migration.js', - ], - getStorage(['1_some_already_run_migration.js']), - [ - { - loadableExtensions: ['.js'], - async loadMigration() { - return async () => { - // Success - }; - }, - }, - ], - ); - - const exitCode = await run({ from: '3_another_migration.js', to: '5_yet_another_migration.js', limit: 2 }); - - assert.strictEqual(exitCode, 0); - assertPreconditionsFulfilled({ dry: false }, reporter, [ - { name: '2_some_migration.js', status: 'skipped' }, - { name: '3_another_migration.js', status: 'done', started: true }, - { name: '4_some_other_migration.js', status: 'done', started: true }, - { name: '5_yet_another_migration.js', status: 'skipped' }, - { name: '6_some_more_migration.js', status: 'skipped' }, - ]); + assert.strictEqual(migration.mock.calls.length, 2); }); it('returns 1 and finishes with an error when a pending migration throw when run', async () => { @@ -379,6 +118,283 @@ describe('up', () => { new MigrationRunError('Failed to run migration: migrations/fail.js', { cause: new Error('Oh noes!') }), ); }); + + describe('each migration file extension needs a corresponding loader plugin', () => { + it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin', async () => { + const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], getStorage([])); + + const exitCode = await run(); + + assert.strictEqual(exitCode, 1); + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { name: 'some_other.js', status: 'skipped' }, + { + name: 'some_file.sql', + status: 'failed', + error: BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), + }, + ], + BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), + ); + }); + + it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin in dry-run mode as well', async () => { + const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], getStorage([])); + + const exitCode = await run({ dry: true }); + + assert.strictEqual(exitCode, 1); + assertPreconditionsFulfilled( + { dry: true }, + reporter, + [ + { name: 'some_other.js', status: 'skipped' }, + { + name: 'some_file.sql', + status: 'failed', + error: BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), + }, + ], + BadOptionError.fromOption('plugin', 'No loader plugin found for file extension: .sql'), + ); + }); + }); + + describe('failed migrations in the history are blocking', () => { + it('returns 1 and finishes with an error when there are failed migrations in the history', async () => { + const failedEntry = toEntry('some_failed_migration.js', 'failed'); + const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], getStorage([failedEntry])); + + const exitCode = await run(); + + assert.strictEqual(exitCode, 1); + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { + name: 'some_failed_migration.js', + status: 'failed', + error: new MigrationHistoryError( + 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', + { cause: failedEntry.error }, + ), + }, + { name: 'some_file.js', status: 'skipped' }, + ], + new MigrationHistoryError( + 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', + { cause: failedEntry.error }, + ), + ); + }); + + it('returns 1 and finishes with an error when there are failed migrations in the history in dry-run mode as well', async () => { + const failedEntry = toEntry('some_failed_migration.js', 'failed'); + const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], getStorage([failedEntry])); + + const exitCode = await run({ dry: true }); + + assert.strictEqual(exitCode, 1); + assertPreconditionsFulfilled( + { dry: true }, + reporter, + [ + { + name: 'some_failed_migration.js', + status: 'failed', + error: new MigrationHistoryError( + 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', + { cause: failedEntry.error }, + ), + }, + { name: 'some_file.js', status: 'skipped' }, + ], + new MigrationHistoryError( + 'Migration some_failed_migration.js is in a failed state, it should be fixed and removed', + { cause: failedEntry.error }, + ), + ); + }); + + it('returns 0 and finishes without an error when the failed migrations in the history are not part of the current set of migrations', async () => { + const failedEntry = toEntry('some_failed_migration.js', 'failed'); + const { reporter, run } = getUpCommand([], getStorage([failedEntry])); + + const exitCode = await run(); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: false }, reporter, []); + }); + }); + + it('returns 0 and finishes without an error when the given number of pending migrations are run successfully', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], + getStorage(['some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ limit: 1 }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: 'some_migration.js', status: 'done', started: true }, + { name: 'some_other_migration.js', status: 'skipped' }, + ]); + assert.strictEqual(migration.mock.calls.length, 1); + }); + + describe('limiting which pending migrations to run', () => { + it('returns 0 and finishes without an error with the given number of pending migrations are validated and listed successfully in dry-mode', async () => { + const { reporter, run } = getUpCommand( + ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], + getStorage(['some_already_run_migration.js']), + ); + + const exitCode = await run({ dry: true, limit: 1 }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: true }, reporter, [ + { name: 'some_migration.js', status: 'pending' }, + { name: 'some_other_migration.js', status: 'skipped' }, + ]); + }); + + it('returns 0 and finishes without an error when pending migrations after given "from" parameter are run successfully, even when the "from" is not an existing migration', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ from: '3_non_existing_migration.js' }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '4_some_other_migration.js', status: 'done', started: true }, + ]); + assert.strictEqual(migration.mock.calls.length, 1); + }); + + it('returns 0 and finishes without an error when pending migrations after given "from" parameter are validated and listed successfully in dry-mode, even when the "from" is not an existing migration', async () => { + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + ); + + const exitCode = await run({ dry: true, from: '3_non_existing_migration.js' }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: true }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '4_some_other_migration.js', status: 'pending' }, + ]); + }); + + it('returns 0 and finishes without an error when pending migrations before given "to" parameter are run successfully, even when the "to" is not an existing migration', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ to: '3_non_existing_migration.js' }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'skipped' }, + ]); + assert.strictEqual(migration.mock.calls.length, 1); + }); + + it('returns 0 and finishes without an error when pending migrations after given "to" parameter are validated and listed successfully in dry-mode, even when the "to" is not an existing migration', async () => { + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + ); + + const exitCode = await run({ dry: true, to: '3_non_existing_migration.js' }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: true }, reporter, [ + { name: '2_some_migration.js', status: 'pending' }, + { name: '4_some_other_migration.js', status: 'skipped' }, + ]); + }); + + it('returns 0 and finishes without an error when the pending migrations fulfilling "from", "to" and "limit" are run successfully', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_another_migration.js', + '4_some_other_migration.js', + '5_yet_another_migration.js', + '6_some_more_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ from: '3_another_migration.js', to: '5_yet_another_migration.js', limit: 2 }); + + assert.strictEqual(exitCode, 0); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '3_another_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'done', started: true }, + { name: '5_yet_another_migration.js', status: 'skipped' }, + { name: '6_some_more_migration.js', status: 'skipped' }, + ]); + assert.strictEqual(migration.mock.calls.length, 2); + }); + }); }); function getErrorCause(error: Error | undefined): Error | SerializedError | undefined { From f515c8a8547baded645444400985979e314e9e24 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 19 Jan 2024 13:13:33 +0100 Subject: [PATCH 27/98] feat(cli): add --no-execution option to the "up" command ...which can be used to log manually run migrations as successful or for baselining a database. --- .changeset/beige-bottles-tie.md | 5 ++ README.md | 3 + docs/src/content/docs/commands/up.mdx | 5 ++ packages/cli/README.md | 3 + packages/cli/src/cli.ts | 8 ++ packages/cli/src/commands/up.test.ts | 122 ++++++++++++++++++++++---- packages/cli/src/commands/up.ts | 10 +++ 7 files changed, 138 insertions(+), 18 deletions(-) create mode 100644 .changeset/beige-bottles-tie.md diff --git a/.changeset/beige-bottles-tie.md b/.changeset/beige-bottles-tie.md new file mode 100644 index 0000000..148f832 --- /dev/null +++ b/.changeset/beige-bottles-tie.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add support for the --no-execution option to the "up" command to be able to log migrations as successful without actually running them. Can for instance be used for baselining a database or logging manually run migrations as successful. diff --git a/README.md b/README.md index bd62417..1d1521f 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ Options: --dry List the pending migrations that would be run without actually running them --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) + --no-execution Mark the migrations as executed and successful without actually running them, + which is useful if you want to mark migrations as successful after running them manually Examples: @@ -72,6 +74,7 @@ Examples: emigrate up -d ./migrations -s mysql --import dotenv/config emigrate up --limit 1 emigrate up --to 20231122120529381_some_migration_file.js + emigrate up --to 20231122120529381_some_migration_file.js --no-execution ``` ### Examples diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index 39d6151..1b6eedc 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -146,3 +146,8 @@ For example, if you want to use the `emigrate-reporter-somereporter` package, yo ### `--color`, `--no-color` Force enable/disable colored output, option is passed to the reporter which should respect it. + +### `--no-execution` + +Mark the migrations as executed and successful without actually running them, +which is useful if you want to mark migrations as successful after running them manually diff --git a/packages/cli/README.md b/packages/cli/README.md index 95945ef..87ee365 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -42,6 +42,8 @@ Options: --dry List the pending migrations that would be run without actually running them --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) + --no-execution Mark the migrations as executed and successful without actually running them, + which is useful if you want to mark migrations as successful after running them manually Examples: @@ -51,6 +53,7 @@ Examples: emigrate up -d ./migrations -s mysql --import dotenv/config emigrate up --limit 1 emigrate up --to 20231122120529381_some_migration_file.js + emigrate up --to 20231122120529381_some_migration_file.js --no-execution ``` ### Examples diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index 1ac7520..999ef57 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -72,6 +72,9 @@ const up: Action = async (args) => { color: { type: 'boolean', }, + 'no-execution': { + type: 'boolean', + }, 'no-color': { type: 'boolean', }, @@ -100,6 +103,8 @@ Options: --dry List the pending migrations that would be run without actually running them --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) + --no-execution Mark the migrations as executed and successful without actually running them, + which is useful if you want to mark migrations as successful after running them manually Examples: @@ -109,6 +114,7 @@ Examples: emigrate up -d ./migrations -s mysql --import dotenv/config emigrate up --limit 1 emigrate up --to 20231122120529381_some_migration_file.js + emigrate up --to 20231122120529381_some_migration_file.js --no-execution `; if (values.help) { @@ -127,6 +133,7 @@ Examples: to, limit: limitString, import: imports = [], + 'no-execution': noExecution, } = values; const plugins = [...(config.plugins ?? []), ...(values.plugin ?? [])]; @@ -153,6 +160,7 @@ Examples: limit, from, to, + noExecution, color: useColors(values), }); } catch (error) { diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index dce2c1e..0ce4cde 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -28,7 +28,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 1); + assert.strictEqual(exitCode, 1, 'Exit code'); assertPreconditionsFailed({ dry: false }, reporter, StorageInitError.fromError(new Error('No storage configured'))); }); @@ -37,7 +37,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, []); }); @@ -46,7 +46,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, []); }); @@ -55,7 +55,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, []); }); @@ -78,7 +78,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, [ { name: 'some_migration.js', status: 'done', started: true }, { name: 'some_other_migration.js', status: 'done', started: true }, @@ -106,7 +106,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 1); + assert.strictEqual(exitCode, 1, 'Exit code'); assertPreconditionsFulfilled( { dry: false }, reporter, @@ -125,7 +125,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 1); + assert.strictEqual(exitCode, 1, 'Exit code'); assertPreconditionsFulfilled( { dry: false }, reporter, @@ -146,7 +146,7 @@ describe('up', () => { const exitCode = await run({ dry: true }); - assert.strictEqual(exitCode, 1); + assert.strictEqual(exitCode, 1, 'Exit code'); assertPreconditionsFulfilled( { dry: true }, reporter, @@ -170,7 +170,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 1); + assert.strictEqual(exitCode, 1, 'Exit code'); assertPreconditionsFulfilled( { dry: false }, reporter, @@ -198,7 +198,7 @@ describe('up', () => { const exitCode = await run({ dry: true }); - assert.strictEqual(exitCode, 1); + assert.strictEqual(exitCode, 1, 'Exit code'); assertPreconditionsFulfilled( { dry: true }, reporter, @@ -226,7 +226,7 @@ describe('up', () => { const exitCode = await run(); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, []); }); }); @@ -250,7 +250,7 @@ describe('up', () => { const exitCode = await run({ limit: 1 }); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, [ { name: 'some_migration.js', status: 'done', started: true }, { name: 'some_other_migration.js', status: 'skipped' }, @@ -267,7 +267,7 @@ describe('up', () => { const exitCode = await run({ dry: true, limit: 1 }); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: true }, reporter, [ { name: 'some_migration.js', status: 'pending' }, { name: 'some_other_migration.js', status: 'skipped' }, @@ -293,7 +293,7 @@ describe('up', () => { const exitCode = await run({ from: '3_non_existing_migration.js' }); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '4_some_other_migration.js', status: 'done', started: true }, @@ -309,7 +309,7 @@ describe('up', () => { const exitCode = await run({ dry: true, from: '3_non_existing_migration.js' }); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: true }, reporter, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '4_some_other_migration.js', status: 'pending' }, @@ -335,7 +335,7 @@ describe('up', () => { const exitCode = await run({ to: '3_non_existing_migration.js' }); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, [ { name: '2_some_migration.js', status: 'done', started: true }, { name: '4_some_other_migration.js', status: 'skipped' }, @@ -351,7 +351,7 @@ describe('up', () => { const exitCode = await run({ dry: true, to: '3_non_existing_migration.js' }); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: true }, reporter, [ { name: '2_some_migration.js', status: 'pending' }, { name: '4_some_other_migration.js', status: 'skipped' }, @@ -384,7 +384,7 @@ describe('up', () => { const exitCode = await run({ from: '3_another_migration.js', to: '5_yet_another_migration.js', limit: 2 }); - assert.strictEqual(exitCode, 0); + assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: false }, reporter, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '3_another_migration.js', status: 'done', started: true }, @@ -395,6 +395,92 @@ describe('up', () => { assert.strictEqual(migration.mock.calls.length, 2); }); }); + + describe('marking migrations as successful without running them', () => { + it('returns 0 and finishes without an error when the pending migrations have been marked as successful without executing them', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_another_migration.js', + '4_some_other_migration.js', + '5_yet_another_migration.js', + '6_some_more_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ + from: '3_another_migration.js', + to: '5_yet_another_migration.js', + limit: 2, + noExecution: true, + }); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '3_another_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'done', started: true }, + { name: '5_yet_another_migration.js', status: 'skipped' }, + { name: '6_some_more_migration.js', status: 'skipped' }, + ]); + assert.strictEqual(migration.mock.calls.length, 0); + }); + }); + + it('returns 0 and finishes without an error when the pending migrations have been marked as successful without executing them even though they have no corresponding loader', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_another_migration.js', + '4_some_other_migration.sql', + '5_yet_another_migration.js', + '6_some_more_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ + from: '3_another_migration.js', + to: '5_yet_another_migration.js', + limit: 2, + noExecution: true, + }); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '3_another_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.sql', status: 'done', started: true }, + { name: '5_yet_another_migration.js', status: 'skipped' }, + { name: '6_some_more_migration.js', status: 'skipped' }, + ]); + assert.strictEqual(migration.mock.calls.length, 0); + }); }); function getErrorCause(error: Error | undefined): Error | SerializedError | undefined { diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index 6ffecdc..896c443 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -17,6 +17,7 @@ type ExtraFlags = { limit?: number; from?: string; to?: string; + noExecution?: boolean; getMigrations?: GetMigrationsFunction; }; @@ -31,6 +32,7 @@ export default async function upCommand({ limit, from, to, + noExecution, dry = false, plugins = [], cwd, @@ -96,6 +98,10 @@ export default async function upCommand({ storage, migrations: await arrayFromAsync(collectedMigrations), async validate(migration) { + if (noExecution) { + return; + } + const loader = getLoaderByExtension(migration.extension); if (!loader) { @@ -106,6 +112,10 @@ export default async function upCommand({ } }, async execute(migration) { + if (noExecution) { + return; + } + const loader = getLoaderByExtension(migration.extension)!; const [migrationFunction, loadError] = await exec(async () => loader.loadMigration(migration)); From e739e453d7cd96e31a86842f68e8b6eda2730da1 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 19 Jan 2024 13:18:29 +0100 Subject: [PATCH 28/98] docs: add Baseline guide --- docs/astro.config.mjs | 14 +- docs/src/content/docs/commands/up.mdx | 4 + docs/src/content/docs/guides/baseline.mdx | 255 ++++++++++++++++++++ docs/src/content/docs/intro/quick-start.mdx | 10 +- 4 files changed, 276 insertions(+), 7 deletions(-) create mode 100644 docs/src/content/docs/guides/baseline.mdx diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 063a49e..679de7d 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -105,13 +105,17 @@ export default defineConfig({ label: 'Using TypeScript', link: '/guides/typescript/', }, + { + label: 'Baseline', + link: '/guides/baseline/', + }, ], }, { label: 'Plugins', items: [ { - label: 'Introduction', + label: 'Plugins Introduction', link: '/plugins/', }, { @@ -119,7 +123,7 @@ export default defineConfig({ collapsed: true, items: [ { - label: 'Introduction', + label: 'Storage Plugins', link: '/plugins/storage/', }, { @@ -141,7 +145,7 @@ export default defineConfig({ collapsed: true, items: [ { - label: 'Introduction', + label: 'Loader Plugins', link: '/plugins/loaders/', }, { @@ -163,7 +167,7 @@ export default defineConfig({ collapsed: true, items: [ { - label: 'Introduction', + label: 'Reporters', link: '/plugins/reporters/', }, { @@ -181,7 +185,7 @@ export default defineConfig({ collapsed: true, items: [ { - label: 'Introduction', + label: 'Generator Plugins', link: '/plugins/generators/', }, { diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index 1b6eedc..b3afb2a 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -151,3 +151,7 @@ Force enable/disable colored output, option is passed to the reporter which shou Mark the migrations as executed and successful without actually running them, which is useful if you want to mark migrations as successful after running them manually + +:::tip +See the Baseline guide for example usage of the `--no-execution` option +::: diff --git a/docs/src/content/docs/guides/baseline.mdx b/docs/src/content/docs/guides/baseline.mdx new file mode 100644 index 0000000..2e2df5e --- /dev/null +++ b/docs/src/content/docs/guides/baseline.mdx @@ -0,0 +1,255 @@ +--- +title: Baseline +description: A guide on how to baseline an existing database at a specific version +--- + +import { Tabs, TabItem, LinkCard } from '@astrojs/starlight/components'; +import Link from '@components/Link.astro'; + +A common scenario is to have an existing database that you want to start managing with Emigrate. This is called baselining. + +## Baselining an existing database schema + +Let's assume you have a PostgreSQL database with the following schema: + +```sql +CREATE TABLE public.users ( + id SERIAL PRIMARY KEY, + name VARCHAR(255) NOT NULL, + email VARCHAR(255) NOT NULL, + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW() +); + +CREATE TABLE public.posts ( + id SERIAL PRIMARY KEY, + user_id INTEGER NOT NULL REFERENCES public.users(id), + title VARCHAR(255) NOT NULL, + body TEXT NOT NULL, + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW() +); +``` + + + + + +### Create a baseline migration + +You can baseline this database by first creating a baseline migration (here we name it "baseline"): + + + + ```bash + npx emigrate new --plugin postgres baseline + ``` + + + ```bash + pnpm emigrate new --plugin postgres baseline + ``` + + + ```bash + yarn emigrate new --plugin postgres baseline + ``` + + + ```bash + bunx --bun emigrate new --plugin postgres baseline + ``` + + + ```json title="package.json" {3,6} + { + "scripts": { + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" + } + } + ``` + + ```bash + deno task emigrate new --plugin postgres baseline + ``` + + + +Which will generate an empty migration file in your migration directory: + +```sql title="migrations/20240118123456789_baseline.sql" +-- Migration: baseline + +``` + +You can then add the SQL statements for your database schema to this migration file: + +```sql title="migrations/20240118123456789_baseline.sql" +-- Migration: baseline +CREATE TABLE public.users ( + id SERIAL PRIMARY KEY, + name VARCHAR(255) NOT NULL, + email VARCHAR(255) NOT NULL, + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW() +); + +CREATE TABLE public.posts ( + id SERIAL PRIMARY KEY, + user_id INTEGER NOT NULL REFERENCES public.users(id), + title VARCHAR(255) NOT NULL, + body TEXT NOT NULL, + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW() +); +``` + +### Log the baseline migration + +For new environments this baseline migration will automatically be run when you run `emigrate up`. +For any existing environments you will need to run `emigrate up` with the `--no-execution` flag to prevent the migration from being executed and only log the migration: + + + + ```bash + npx emigrate up --no-execution + ``` + + + ```bash + pnpm emigrate up --no-execution + ``` + + + ```bash + yarn emigrate up --no-execution + ``` + + + ```bash + bunx --bun emigrate up --no-execution + ``` + + + ```json title="package.json" {3,6} + { + "scripts": { + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" + } + } + ``` + + ```bash + deno task emigrate up --no-execution + ``` + + + +In case you have already added more migration files to your migration directory you can limit the "up" command to just log the baseline migration by specifying the `--to` option: + + + + ```bash + npx emigrate up --no-execution --to 20240118123456789_baseline.sql + ``` + + + ```bash + pnpm emigrate up --no-execution --to 20240118123456789_baseline.sql + ``` + + + ```bash + yarn emigrate up --no-execution --to 20240118123456789_baseline.sql + ``` + + + ```bash + bunx --bun emigrate up --no-execution --to 20240118123456789_baseline.sql + ``` + + + ```json title="package.json" {3,6} + { + "scripts": { + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" + } + } + ``` + + ```bash + deno task emigrate up --no-execution --to 20240118123456789_baseline.sql + ``` + + + +### Verify the baseline migration status + +You can verify the status of the baseline migration by running the `emigrate list` command: + + + + ```bash + npx emigrate list + ``` + + + ```bash + pnpm emigrate list + ``` + + + ```bash + yarn emigrate list + ``` + + + ```bash + bunx --bun emigrate list + ``` + + + ```json title="package.json" {3,6} + { + "scripts": { + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" + } + } + ``` + + ```bash + deno task emigrate list + ``` + + + +Which should output something like this: + +```txt title="emigrate list" +Emigrate list v0.14.1 /your/project/path + + ✔ migrations/20240118123456789_baseline.sql (done) + + 1 done (1 total) +``` + +### Happy migrating! + +You can now start adding new migrations to your migration directory and run `emigrate up` to apply them to your database. +Which should be part of your CD pipeline to ensure that your database schema is always up to date in each environment. diff --git a/docs/src/content/docs/intro/quick-start.mdx b/docs/src/content/docs/intro/quick-start.mdx index 905e078..82a962e 100644 --- a/docs/src/content/docs/intro/quick-start.mdx +++ b/docs/src/content/docs/intro/quick-start.mdx @@ -95,6 +95,12 @@ Install the plugin you want to use, for example the + Create a new migration file in your project using: @@ -133,7 +139,7 @@ Create a new migration file in your project using: -```txt title="Output" +```txt title="emigrate new" Emigrate new v0.10.0 /your/project/path ✔ migrations/20231215125421364_create_users_table.sql (done) 3ms @@ -209,7 +215,7 @@ To show both pending and already applied migrations (or previously failed), use -```txt title="Example output" +```txt title="emigrate list" Emigrate list v0.10.0 /your/project/path ✔ migrations/20231211090830577_another_table.sql (done) From cbc35bd64657a0c9a09d560a6c58601dbbb116b1 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 19 Jan 2024 13:23:43 +0100 Subject: [PATCH 29/98] chore: start writing changesets for the documentation --- .changeset/stupid-kings-battle.md | 5 +++++ .changeset/unlucky-seals-camp.md | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changeset/stupid-kings-battle.md create mode 100644 .changeset/unlucky-seals-camp.md diff --git a/.changeset/stupid-kings-battle.md b/.changeset/stupid-kings-battle.md new file mode 100644 index 0000000..f1fd283 --- /dev/null +++ b/.changeset/stupid-kings-battle.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +Add first version of the [Baseline guide](https://emigrate.dev/guides/baseline) diff --git a/.changeset/unlucky-seals-camp.md b/.changeset/unlucky-seals-camp.md new file mode 100644 index 0000000..fe808e4 --- /dev/null +++ b/.changeset/unlucky-seals-camp.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +Document the new --limit, --from and --to options for the ["up" command](https://emigrate.dev/commands/up/) From 98adcda37e08ab50a20bf625c3873a2d04edc2ff Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 19 Jan 2024 13:30:17 +0100 Subject: [PATCH 30/98] fix(reporters): use better wording in the header in the default reporter Also show the number of skipped migrations --- .changeset/smart-ducks-cheer.md | 5 ++++ packages/cli/src/reporters/default.ts | 41 +++++++++++++++++++-------- 2 files changed, 34 insertions(+), 12 deletions(-) create mode 100644 .changeset/smart-ducks-cheer.md diff --git a/.changeset/smart-ducks-cheer.md b/.changeset/smart-ducks-cheer.md new file mode 100644 index 0000000..6115706 --- /dev/null +++ b/.changeset/smart-ducks-cheer.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Use better wording in the header in the console output from the default reporter diff --git a/packages/cli/src/reporters/default.ts b/packages/cli/src/reporters/default.ts index b90078c..210c4f7 100644 --- a/packages/cli/src/reporters/default.ts +++ b/packages/cli/src/reporters/default.ts @@ -1,4 +1,4 @@ -import { black, blueBright, bold, cyan, dim, faint, gray, green, red, redBright, yellow } from 'ansis'; +import { black, blueBright, bold, cyan, dim, faint, gray, green, red, redBright, yellow, yellowBright } from 'ansis'; import logUpdate from 'log-update'; import elegantSpinner from 'elegant-spinner'; import figures from 'figures'; @@ -232,26 +232,43 @@ const getHeaderMessage = ( } if (migrations.length === 0) { - return ' No pending migrations found'; + return ' No migrations found'; } + const statusText = command === 'list' ? 'migrations are pending' : 'pending migrations to run'; + if (migrations.length === lockedMigrations.length) { - return ` ${bold(migrations.length.toString())} ${dim('pending migrations to run')}`; + return ` ${bold(migrations.length.toString())} ${dim(statusText)}`; } - const nonLockedMigrations = migrations.filter( - (migration) => !lockedMigrations.some((lockedMigration) => lockedMigration.name === migration.name), - ); - const failedMigrations = nonLockedMigrations.filter( - (migration) => 'status' in migration && migration.status === 'failed', - ); - const unlockableCount = command === 'up' ? nonLockedMigrations.length - failedMigrations.length : 0; + let skippedCount = 0; + let failedCount = 0; + let unlockableCount = 0; + + for (const migration of migrations) { + const isLocked = lockedMigrations.some((lockedMigration) => lockedMigration.name === migration.name); + + if (isLocked) { + continue; + } + + if ('status' in migration) { + if (migration.status === 'failed') { + failedCount += 1; + } else if (migration.status === 'skipped') { + skippedCount += 1; + } else { + unlockableCount += 1; + } + } + } const parts = [ bold(`${lockedMigrations.length} of ${migrations.length}`), - dim`pending migrations to run`, + dim(statusText), unlockableCount > 0 ? yellow(`(${unlockableCount} locked)`) : '', - failedMigrations.length > 0 ? redBright(`(${failedMigrations.length} failed)`) : '', + skippedCount > 0 ? yellowBright(`(${skippedCount} skipped)`) : '', + failedCount > 0 ? redBright(`(${failedCount} failed)`) : '', ].filter(Boolean); return ` ${parts.join(' ')}`; From 49d8925778ec734b359e9ef1d52bf6e0cd7d73c7 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 19 Jan 2024 13:38:58 +0100 Subject: [PATCH 31/98] fix(docs): remove access control from package config --- docs/package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/package.json b/docs/package.json index 5a0ec0a..6bbd190 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,9 +1,6 @@ { "name": "@emigrate/docs", "private": true, - "publishConfig": { - "access": "public" - }, "type": "module", "version": "0.0.1", "scripts": { From 576dfbb1246b667daf836fb48b6a48b719790cb6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 19 Jan 2024 12:44:24 +0000 Subject: [PATCH 32/98] chore(release): version packages --- .changeset/beige-bottles-tie.md | 5 ----- .changeset/grumpy-files-heal.md | 5 ----- .changeset/quiet-ravens-sleep.md | 5 ----- .changeset/sharp-buses-draw.md | 5 ----- .changeset/smart-ducks-cheer.md | 5 ----- .changeset/stupid-kings-battle.md | 5 ----- .changeset/unlucky-seals-camp.md | 5 ----- docs/CHANGELOG.md | 8 ++++++++ docs/package.json | 2 +- packages/cli/CHANGELOG.md | 13 +++++++++++++ packages/cli/package.json | 2 +- 11 files changed, 23 insertions(+), 37 deletions(-) delete mode 100644 .changeset/beige-bottles-tie.md delete mode 100644 .changeset/grumpy-files-heal.md delete mode 100644 .changeset/quiet-ravens-sleep.md delete mode 100644 .changeset/sharp-buses-draw.md delete mode 100644 .changeset/smart-ducks-cheer.md delete mode 100644 .changeset/stupid-kings-battle.md delete mode 100644 .changeset/unlucky-seals-camp.md create mode 100644 docs/CHANGELOG.md diff --git a/.changeset/beige-bottles-tie.md b/.changeset/beige-bottles-tie.md deleted file mode 100644 index 148f832..0000000 --- a/.changeset/beige-bottles-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add support for the --no-execution option to the "up" command to be able to log migrations as successful without actually running them. Can for instance be used for baselining a database or logging manually run migrations as successful. diff --git a/.changeset/grumpy-files-heal.md b/.changeset/grumpy-files-heal.md deleted file mode 100644 index 187b4b4..0000000 --- a/.changeset/grumpy-files-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Clarify which cli options that needs parameters diff --git a/.changeset/quiet-ravens-sleep.md b/.changeset/quiet-ravens-sleep.md deleted file mode 100644 index 24023cf..0000000 --- a/.changeset/quiet-ravens-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add --from and --to CLI options to control which migrations to include or skip when executing migrations. diff --git a/.changeset/sharp-buses-draw.md b/.changeset/sharp-buses-draw.md deleted file mode 100644 index 1070334..0000000 --- a/.changeset/sharp-buses-draw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add --limit option to the "up" command, for limiting the number of migrations to run diff --git a/.changeset/smart-ducks-cheer.md b/.changeset/smart-ducks-cheer.md deleted file mode 100644 index 6115706..0000000 --- a/.changeset/smart-ducks-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Use better wording in the header in the console output from the default reporter diff --git a/.changeset/stupid-kings-battle.md b/.changeset/stupid-kings-battle.md deleted file mode 100644 index f1fd283..0000000 --- a/.changeset/stupid-kings-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -Add first version of the [Baseline guide](https://emigrate.dev/guides/baseline) diff --git a/.changeset/unlucky-seals-camp.md b/.changeset/unlucky-seals-camp.md deleted file mode 100644 index fe808e4..0000000 --- a/.changeset/unlucky-seals-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -Document the new --limit, --from and --to options for the ["up" command](https://emigrate.dev/commands/up/) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md new file mode 100644 index 0000000..1fec6e8 --- /dev/null +++ b/docs/CHANGELOG.md @@ -0,0 +1,8 @@ +# @emigrate/docs + +## 0.1.0 + +### Minor Changes + +- cbc35bd: Add first version of the [Baseline guide](https://emigrate.dev/guides/baseline) +- cbc35bd: Document the new --limit, --from and --to options for the ["up" command](https://emigrate.dev/commands/up/) diff --git a/docs/package.json b/docs/package.json index 6bbd190..bdc380e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,7 +2,7 @@ "name": "@emigrate/docs", "private": true, "type": "module", - "version": "0.0.1", + "version": "0.1.0", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 5b991fd..09e5617 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,18 @@ # @emigrate/cli +## 0.15.0 + +### Minor Changes + +- f515c8a: Add support for the --no-execution option to the "up" command to be able to log migrations as successful without actually running them. Can for instance be used for baselining a database or logging manually run migrations as successful. +- 9ef0fa2: Add --from and --to CLI options to control which migrations to include or skip when executing migrations. +- 02c142e: Add --limit option to the "up" command, for limiting the number of migrations to run + +### Patch Changes + +- bf4d596: Clarify which cli options that needs parameters +- 98adcda: Use better wording in the header in the console output from the default reporter + ## 0.14.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index d85ddfb..280cdce 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.14.1", + "version": "0.15.0", "publishConfig": { "access": "public" }, From ce15648251512e20bcc7e528c4070e05672f2e7d Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 22 Jan 2024 10:16:35 +0100 Subject: [PATCH 33/98] feat(types): add type for the onAbort Reporter method --- .changeset/late-phones-smile.md | 5 +++++ packages/types/src/index.ts | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 .changeset/late-phones-smile.md diff --git a/.changeset/late-phones-smile.md b/.changeset/late-phones-smile.md new file mode 100644 index 0000000..31a36d0 --- /dev/null +++ b/.changeset/late-phones-smile.md @@ -0,0 +1,5 @@ +--- +'@emigrate/types': minor +--- + +Add type for onAbort Reporter method diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index dea668d..89a546a 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -243,6 +243,14 @@ export type EmigrateReporter = Partial<{ * Called when the reporter is initialized, which is the first method that is called when a command is executed. */ onInit(parameters: ReporterInitParameters): Awaitable; + /** + * Called when the current command (in practice the "up" command) is aborted. + * + * This is called when the process is interrupted, e.g. by a SIGTERM or SIGINT signal, or an unhandled error occurs. + * + * @param reason The reason why the command was aborted. + */ + onAbort(reason: Error): Awaitable; /** * Called when all pending migrations that should be executed have been collected. * From a4da353d5a594fe389665a85a25b2eda8511e722 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 22 Jan 2024 10:53:01 +0100 Subject: [PATCH 34/98] feat(cli): add graceful process abort Using an AbortSignal and Promise.race we abandon running migrations that take longer to complete after the process is aborted than the given abortRespite period --- .changeset/bright-poems-fold.md | 5 + .changeset/pink-hairs-kiss.md | 5 + .changeset/wicked-turkeys-smile.md | 5 + README.md | 1 + docs/src/content/docs/commands/up.mdx | 9 ++ .../content/docs/reference/configuration.mdx | 13 ++ packages/cli/README.md | 1 + packages/cli/src/cli.ts | 78 +++++++--- packages/cli/src/commands/up.test.ts | 141 +++++++++++++++++- packages/cli/src/commands/up.ts | 6 + packages/cli/src/defaults.ts | 2 + packages/cli/src/errors.ts | 26 ++++ packages/cli/src/exec.ts | 55 ++++++- packages/cli/src/migration-runner.ts | 31 +++- packages/cli/src/reporters/default.ts | 26 ++++ packages/cli/src/types.ts | 1 + packages/reporter-pino/src/index.ts | 4 + 17 files changed, 378 insertions(+), 31 deletions(-) create mode 100644 .changeset/bright-poems-fold.md create mode 100644 .changeset/pink-hairs-kiss.md create mode 100644 .changeset/wicked-turkeys-smile.md create mode 100644 packages/cli/src/defaults.ts diff --git a/.changeset/bright-poems-fold.md b/.changeset/bright-poems-fold.md new file mode 100644 index 0000000..3ccb9b4 --- /dev/null +++ b/.changeset/bright-poems-fold.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +Document the --abort-respite CLI option and the corresponding abortRespite config diff --git a/.changeset/pink-hairs-kiss.md b/.changeset/pink-hairs-kiss.md new file mode 100644 index 0000000..9f9df38 --- /dev/null +++ b/.changeset/pink-hairs-kiss.md @@ -0,0 +1,5 @@ +--- +'@emigrate/reporter-pino': minor +--- + +Handle the new onAbort method diff --git a/.changeset/wicked-turkeys-smile.md b/.changeset/wicked-turkeys-smile.md new file mode 100644 index 0000000..5ea24ad --- /dev/null +++ b/.changeset/wicked-turkeys-smile.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Handle process interruptions gracefully, e.g. due to receiving a SIGINT or SIGTERM signal. If a migration is currently running when the process is about to shutdown it will have a maximum of 10 more seconds to finish before being deserted (there's no way to cancel a promise sadly, and many database queries are not easy to abort either). The 10 second respite length can be customized using the --abort-respite CLI option or the abortRespite config. diff --git a/README.md b/README.md index 1d1521f..7d0ec15 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ Options: --no-color Disable color output (this option is passed to the reporter) --no-execution Mark the migrations as executed and successful without actually running them, which is useful if you want to mark migrations as successful after running them manually + --abort-respite The number of seconds to wait before abandoning running migrations after the command has been aborted (default: 10) Examples: diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index b3afb2a..3008376 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -66,6 +66,8 @@ List the pending migrations that would be run without actually running them ### `-l, --limit ` +**type:** `number` + Limit the number of migrations to run. Can be combined with `--dry` which will show "pending" for the migrations that would be run if not in dry-run mode, and "skipped" for the migrations that also haven't been run but won't because of the set limit. @@ -155,3 +157,10 @@ which is useful if you want to mark migrations as successful after running them :::tip See the Baseline guide for example usage of the `--no-execution` option ::: + +### `--abort-respite` + +**type:** `number` +**default:** `10` + +Customize the number of seconds to wait before abandoning a running migration when the process is about to shutdown, for instance when the user presses `Ctrl+C` or when the container is being stopped (if running inside a container). diff --git a/docs/src/content/docs/reference/configuration.mdx b/docs/src/content/docs/reference/configuration.mdx index 46d0a67..524e4d9 100644 --- a/docs/src/content/docs/reference/configuration.mdx +++ b/docs/src/content/docs/reference/configuration.mdx @@ -157,3 +157,16 @@ export default { ``` Will create new migration files with the `.ts` extension. + +### `abortRespite` + +**type:** `number` +**default:** `10` + +Customize the number of seconds to wait before abandoning a running migration when the process is about to shutdown, for instance when the user presses `Ctrl+C` or when the container is being stopped (if running inside a container). + +```js title="emigrate.config.js" {2} +export default { + abortRespite: 10, +}; +``` diff --git a/packages/cli/README.md b/packages/cli/README.md index 87ee365..156321a 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -44,6 +44,7 @@ Options: --no-color Disable color output (this option is passed to the reporter) --no-execution Mark the migrations as executed and successful without actually running them, which is useful if you want to mark migrations as successful after running them manually + --abort-respite The number of seconds to wait before abandoning running migrations after the command has been aborted (default: 10) Examples: diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index 999ef57..cababf1 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -2,10 +2,11 @@ import process from 'node:process'; import { parseArgs } from 'node:util'; import importFromEsm from 'import-from-esm'; -import { ShowUsageError } from './errors.js'; +import { CommandAbortError, ShowUsageError } from './errors.js'; import { getConfig } from './get-config.js'; +import { DEFAULT_RESPITE_SECONDS } from './defaults.js'; -type Action = (args: string[]) => Promise; +type Action = (args: string[], abortSignal: AbortSignal) => Promise; const useColors = (values: { color?: boolean; 'no-color'?: boolean }) => { if (values['no-color']) { @@ -21,7 +22,7 @@ const importAll = async (cwd: string, modules: string[]) => { } }; -const up: Action = async (args) => { +const up: Action = async (args, abortSignal) => { const config = await getConfig('up'); const { values } = parseArgs({ args, @@ -78,6 +79,9 @@ const up: Action = async (args) => { 'no-color': { type: 'boolean', }, + 'abort-respite': { + type: 'string', + }, }, allowPositionals: false, }); @@ -105,6 +109,7 @@ Options: --no-color Disable color output (this option is passed to the reporter) --no-execution Mark the migrations as executed and successful without actually running them, which is useful if you want to mark migrations as successful after running them manually + --abort-respite The number of seconds to wait before abandoning running migrations after the command has been aborted (default: ${DEFAULT_RESPITE_SECONDS}) Examples: @@ -133,11 +138,13 @@ Examples: to, limit: limitString, import: imports = [], + 'abort-respite': abortRespiteString, 'no-execution': noExecution, } = values; const plugins = [...(config.plugins ?? []), ...(values.plugin ?? [])]; const limit = limitString === undefined ? undefined : Number.parseInt(limitString, 10); + const abortRespite = abortRespiteString === undefined ? config.abortRespite : Number.parseInt(abortRespiteString, 10); if (Number.isNaN(limit)) { console.error('Invalid limit value, expected an integer but was:', limitString); @@ -146,6 +153,16 @@ Examples: return; } + if (Number.isNaN(abortRespite)) { + console.error( + 'Invalid abortRespite value, expected an integer but was:', + abortRespiteString ?? config.abortRespite, + ); + console.log(usage); + process.exitCode = 1; + return; + } + await importAll(cwd, imports); try { @@ -161,6 +178,8 @@ Examples: from, to, noExecution, + abortSignal, + abortRespite: (abortRespite ?? DEFAULT_RESPITE_SECONDS) * 1000, color: useColors(values), }); } catch (error) { @@ -479,7 +498,7 @@ const commands: Record = { new: newMigration, }; -const main: Action = async (args) => { +const main: Action = async (args, abortSignal) => { const { values, positionals } = parseArgs({ args, options: { @@ -531,20 +550,43 @@ Commands: return; } - await action(process.argv.slice(3)); + try { + await action(process.argv.slice(3), abortSignal); + } catch (error) { + if (error instanceof Error) { + console.error(error); + if (error.cause instanceof Error) { + console.error(error.cause); + } + } else { + console.error(error); + } + + process.exitCode = 1; + } }; -try { - await main(process.argv.slice(2)); -} catch (error) { - if (error instanceof Error) { - console.error(error); - if (error.cause instanceof Error) { - console.error(error.cause); - } - } else { - console.error(error); - } +const controller = new AbortController(); - process.exitCode = 1; -} +process.on('SIGINT', () => { + controller.abort(CommandAbortError.fromSignal('SIGINT')); +}); + +process.on('SIGTERM', () => { + controller.abort(CommandAbortError.fromSignal('SIGTERM')); +}); + +process.on('uncaughtException', (error) => { + controller.abort(CommandAbortError.fromReason('Uncaught exception', error)); +}); + +process.on('unhandledRejection', (error) => { + controller.abort(CommandAbortError.fromReason('Unhandled rejection', error)); +}); + +await main(process.argv.slice(2), controller.signal); + +setTimeout(() => { + console.error('Process did not exit within 10 seconds, forcing exit'); + process.exit(1); +}, 10_000).unref(); diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index 0ce4cde..bc1f840 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -12,9 +12,16 @@ import { type NonFailedMigrationHistoryEntry, type MigrationMetadataFinished, } from '@emigrate/types'; -import { deserializeError } from 'serialize-error'; +import { deserializeError, serializeError } from 'serialize-error'; import { version } from '../get-package-info.js'; -import { BadOptionError, MigrationHistoryError, MigrationRunError, StorageInitError } from '../errors.js'; +import { + BadOptionError, + CommandAbortError, + ExecutionDesertedError, + MigrationHistoryError, + MigrationRunError, + StorageInitError, +} from '../errors.js'; import upCommand from './up.js'; type Mocked = { @@ -481,6 +488,123 @@ describe('up', () => { ]); assert.strictEqual(migration.mock.calls.length, 0); }); + + describe("aborting the migration process before it's finished", () => { + it('returns 1 and finishes with a command abort error when the migration process is aborted prematurely', async () => { + const controller = new AbortController(); + const migration = mock.fn( + async () => { + // Success on second call, and abort + controller.abort(CommandAbortError.fromSignal('SIGINT')); + }, + async () => { + // Success on first call + }, + { times: 1 }, + ); + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_another_migration.js', + '4_some_other_migration.js', + '5_yet_another_migration.js', + '6_some_more_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ + abortSignal: controller.signal, + }); + + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { name: '2_some_migration.js', status: 'done', started: true }, + { name: '3_another_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'skipped' }, + { name: '5_yet_another_migration.js', status: 'skipped' }, + { name: '6_some_more_migration.js', status: 'skipped' }, + ], + CommandAbortError.fromSignal('SIGINT'), + ); + assert.strictEqual(reporter.onAbort.mock.calls.length, 1); + assert.strictEqual(migration.mock.calls.length, 2); + }); + }); + + it('returns 1 and finishes with a deserted error with a command abort error as cause when the migration process is aborted prematurely and stops waiting on migrations taking longer than the respite period after the abort', async () => { + const controller = new AbortController(); + const migration = mock.fn( + async () => { + // Success on second call, and abort + controller.abort(CommandAbortError.fromSignal('SIGINT')); + return new Promise((resolve) => { + setTimeout(resolve, 100); // Take longer than the respite period + }); + }, + async () => { + // Success on first call + }, + { times: 1 }, + ); + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_another_migration.js', + '4_some_other_migration.js', + '5_yet_another_migration.js', + '6_some_more_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ + abortSignal: controller.signal, + abortRespite: 10, + }); + + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { name: '2_some_migration.js', status: 'done', started: true }, + { + name: '3_another_migration.js', + status: 'failed', + started: true, + error: ExecutionDesertedError.fromReason('Deserted after 10ms', CommandAbortError.fromSignal('SIGINT')), + }, + { name: '4_some_other_migration.js', status: 'skipped' }, + { name: '5_yet_another_migration.js', status: 'skipped' }, + { name: '6_some_more_migration.js', status: 'skipped' }, + ], + ExecutionDesertedError.fromReason('Deserted after 10ms', CommandAbortError.fromSignal('SIGINT')), + ); + assert.strictEqual(reporter.onAbort.mock.calls.length, 1); + assert.strictEqual(migration.mock.calls.length, 2); + }); }); function getErrorCause(error: Error | undefined): Error | SerializedError | undefined { @@ -570,6 +694,7 @@ function getUpCommand(migrationFiles: string[], storage?: Mocked, plugi const reporter: Mocked> = { onFinished: mock.fn(noop), onInit: mock.fn(noop), + onAbort: mock.fn(noop), onCollectedMigrations: mock.fn(noop), onLockedMigrations: mock.fn(noop), onNewMigration: mock.fn(noop), @@ -689,7 +814,17 @@ function assertPreconditionsFulfilled( assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, pending + skipped, 'Total pending and skipped'); assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.deepStrictEqual(error, finishedError, 'Finished error'); + if (finishedError instanceof DOMException || error instanceof DOMException) { + // The assert library doesn't support DOMException apparently, so ugly workaround here: + assert.deepStrictEqual( + deserializeError(serializeError(error)), + deserializeError(serializeError(finishedError)), + 'Finished error', + ); + } else { + assert.deepStrictEqual(error, finishedError, 'Finished error'); + } + const cause = getErrorCause(error); const expectedCause = finishedError?.cause; assert.deepStrictEqual( diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index 896c443..aebf3c3 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -19,6 +19,8 @@ type ExtraFlags = { to?: string; noExecution?: boolean; getMigrations?: GetMigrationsFunction; + abortSignal?: AbortSignal; + abortRespite?: number; }; const lazyDefaultReporter = async () => import('../reporters/default.js'); @@ -33,6 +35,8 @@ export default async function upCommand({ from, to, noExecution, + abortSignal, + abortRespite, dry = false, plugins = [], cwd, @@ -94,6 +98,8 @@ export default async function upCommand({ limit, from, to, + abortSignal, + abortRespite, reporter, storage, migrations: await arrayFromAsync(collectedMigrations), diff --git a/packages/cli/src/defaults.ts b/packages/cli/src/defaults.ts new file mode 100644 index 0000000..18901d0 --- /dev/null +++ b/packages/cli/src/defaults.ts @@ -0,0 +1,2 @@ +// eslint-disable-next-line @typescript-eslint/naming-convention +export const DEFAULT_RESPITE_SECONDS = 10; diff --git a/packages/cli/src/errors.ts b/packages/cli/src/errors.ts index 4038901..b867021 100644 --- a/packages/cli/src/errors.ts +++ b/packages/cli/src/errors.ts @@ -146,6 +146,30 @@ export class StorageInitError extends EmigrateError { } } +export class CommandAbortError extends EmigrateError { + static fromSignal(signal: NodeJS.Signals) { + return new CommandAbortError(`Command aborted due to signal: ${signal}`); + } + + static fromReason(reason: string, cause?: unknown) { + return new CommandAbortError(`Command aborted: ${reason}`, { cause }); + } + + constructor(message: string | undefined, options?: ErrorOptions) { + super(message, options, 'ERR_COMMAND_ABORT'); + } +} + +export class ExecutionDesertedError extends EmigrateError { + static fromReason(reason: string, cause?: Error) { + return new ExecutionDesertedError(`Execution deserted: ${reason}`, { cause }); + } + + constructor(message: string | undefined, options?: ErrorOptions) { + super(message, options, 'ERR_EXECUTION_DESERTED'); + } +} + errorConstructors.set('EmigrateError', EmigrateError as ErrorConstructor); errorConstructors.set('ShowUsageError', ShowUsageError as ErrorConstructor); errorConstructors.set('MissingOptionError', MissingOptionError as unknown as ErrorConstructor); @@ -158,3 +182,5 @@ errorConstructors.set('MigrationLoadError', MigrationLoadError as unknown as Err errorConstructors.set('MigrationRunError', MigrationRunError as unknown as ErrorConstructor); errorConstructors.set('MigrationNotRunError', MigrationNotRunError as unknown as ErrorConstructor); errorConstructors.set('StorageInitError', StorageInitError as unknown as ErrorConstructor); +errorConstructors.set('CommandAbortError', CommandAbortError as unknown as ErrorConstructor); +errorConstructors.set('ExecutionDesertedError', ExecutionDesertedError as unknown as ErrorConstructor); diff --git a/packages/cli/src/exec.ts b/packages/cli/src/exec.ts index 200521d..3f39d1a 100644 --- a/packages/cli/src/exec.ts +++ b/packages/cli/src/exec.ts @@ -1,22 +1,65 @@ -import { toError } from './errors.js'; +import prettyMs from 'pretty-ms'; +import { ExecutionDesertedError, toError } from './errors.js'; +import { DEFAULT_RESPITE_SECONDS } from './defaults.js'; -type Fn = (...args: Args) => Result; type Result = [value: T, error: undefined] | [value: undefined, error: Error]; +type ExecOptions = { + abortSignal?: AbortSignal; + abortRespite?: number; +}; + /** * Execute a function and return a result tuple * * This is a helper function to make it easier to handle errors without the extra nesting of try/catch + * If an abort signal is provided the function will reject with an ExecutionDesertedError if the signal is aborted + * and the given function has not yet resolved within the given respite time (or a default of 30 seconds) + * + * @param fn The function to execute + * @param options Options for the execution */ -export const exec = async >( - fn: Fn, - ...args: Args +export const exec = async >( + fn: () => Return, + options: ExecOptions = {}, ): Promise>> => { try { - const result = await fn(...args); + const aborter = options.abortSignal ? getAborter(options.abortSignal, options.abortRespite) : undefined; + const result = await Promise.race(aborter ? [aborter, fn()] : [fn()]); return [result, undefined]; } catch (error) { return [undefined, toError(error)]; } }; + +/** + * Returns a promise that rejects after a given time after the given signal is aborted + * + * @param signal The abort signal to listen to + * @param respite The time in milliseconds to wait before rejecting + */ +const getAborter = async (signal: AbortSignal, respite = DEFAULT_RESPITE_SECONDS * 1000): Promise => { + return new Promise((_, reject) => { + if (signal.aborted) { + setTimeout( + reject, + respite, + ExecutionDesertedError.fromReason(`Deserted after ${prettyMs(respite)}`, toError(signal.reason)), + ).unref(); + return; + } + + signal.addEventListener( + 'abort', + () => { + setTimeout( + reject, + respite, + ExecutionDesertedError.fromReason(`Deserted after ${prettyMs(respite)}`, toError(signal.reason)), + ).unref(); + }, + { once: true }, + ); + }); +}; diff --git a/packages/cli/src/migration-runner.ts b/packages/cli/src/migration-runner.ts index e09d6c4..dac5620 100644 --- a/packages/cli/src/migration-runner.ts +++ b/packages/cli/src/migration-runner.ts @@ -18,6 +18,8 @@ type MigrationRunnerParameters = { limit?: number; from?: string; to?: string; + abortSignal?: AbortSignal; + abortRespite?: number; reporter: EmigrateReporter; storage: Storage; migrations: Array; @@ -30,6 +32,8 @@ export const migrationRunner = async ({ limit, from, to, + abortSignal, + abortRespite, reporter, storage, migrations, @@ -43,6 +47,22 @@ export const migrationRunner = async ({ let skip = false; + abortSignal?.addEventListener( + 'abort', + () => { + skip = true; + reporter.onAbort?.(toError(abortSignal.reason))?.then( + () => { + /* noop */ + }, + () => { + /* noop */ + }, + ); + }, + { once: true }, + ); + for await (const migration of migrations) { if (isFinishedMigration(migration)) { skip ||= migration.status === 'failed' || migration.status === 'skipped'; @@ -89,7 +109,7 @@ export const migrationRunner = async ({ const [lockedMigrations, lockError] = dry ? [migrationsToLock] - : await exec(async () => storage.lock(migrationsToLock)); + : await exec(async () => storage.lock(migrationsToLock), { abortSignal, abortRespite }); if (lockError) { for (const migration of migrationsToLock) { @@ -167,7 +187,7 @@ export const migrationRunner = async ({ const start = hrtime(); - const [, migrationError] = await exec(async () => execute(migration)); + const [, migrationError] = await exec(async () => execute(migration), { abortSignal, abortRespite }); const duration = getDuration(start); @@ -194,7 +214,9 @@ export const migrationRunner = async ({ } } - const [, unlockError] = dry ? [] : await exec(async () => storage.unlock(lockedMigrations ?? [])); + const [, unlockError] = dry + ? [] + : await exec(async () => storage.unlock(lockedMigrations ?? []), { abortSignal, abortRespite }); // eslint-disable-next-line unicorn/no-array-callback-reference const firstFailed = finishedMigrations.find(isFailedMigration); @@ -204,7 +226,8 @@ export const migrationRunner = async ({ : firstFailed ? MigrationRunError.fromMetadata(firstFailed) : undefined; - const error = unlockError ?? firstError ?? lockError; + const error = + unlockError ?? firstError ?? lockError ?? (abortSignal?.aborted ? toError(abortSignal.reason) : undefined); await reporter.onFinished?.(finishedMigrations, error); diff --git a/packages/cli/src/reporters/default.ts b/packages/cli/src/reporters/default.ts index 210c4f7..1caeda7 100644 --- a/packages/cli/src/reporters/default.ts +++ b/packages/cli/src/reporters/default.ts @@ -165,6 +165,20 @@ const getError = (error?: ErrorLike, indent = ' ') => { return parts.join('\n'); }; +const getAbortMessage = (reason?: Error) => { + if (!reason) { + return ''; + } + + const parts = [` ${red.bold(reason.message)}`]; + + if (isErrorLike(reason.cause)) { + parts.push(getError(reason.cause, ' ')); + } + + return parts.join('\n'); +}; + const getSummary = ( command: ReporterInitParameters['command'], migrations: Array = [], @@ -281,6 +295,7 @@ class DefaultFancyReporter implements Required { #error: Error | undefined; #parameters!: ReporterInitParameters; #interval: NodeJS.Timeout | undefined; + #abortReason: Error | undefined; onInit(parameters: ReporterInitParameters): void | PromiseLike { this.#parameters = parameters; @@ -288,6 +303,10 @@ class DefaultFancyReporter implements Required { this.#start(); } + onAbort(reason: Error): void | PromiseLike { + this.#abortReason = reason; + } + onCollectedMigrations(migrations: MigrationMetadata[]): void | PromiseLike { this.#migrations = migrations; } @@ -358,6 +377,7 @@ class DefaultFancyReporter implements Required { getTitle(this.#parameters), getHeaderMessage(this.#parameters.command, this.#migrations, this.#lockedMigrations), this.#migrations?.map((migration) => getMigrationText(migration, this.#activeMigration)).join('\n') ?? '', + getAbortMessage(this.#abortReason), getSummary(this.#parameters.command, this.#migrations), getError(this.#error), ]; @@ -403,6 +423,12 @@ class DefaultReporter implements Required { console.log(''); } + onAbort(reason: Error): void | PromiseLike { + console.log(''); + console.error(getAbortMessage(reason)); + console.log(''); + } + onCollectedMigrations(migrations: MigrationMetadata[]): void | PromiseLike { this.#migrations = migrations; } diff --git a/packages/cli/src/types.ts b/packages/cli/src/types.ts index bc4e000..7d6b400 100644 --- a/packages/cli/src/types.ts +++ b/packages/cli/src/types.ts @@ -12,6 +12,7 @@ export type Config = { template?: string; extension?: string; color?: boolean; + abortRespite?: number; }; export type EmigrateConfig = Config & { diff --git a/packages/reporter-pino/src/index.ts b/packages/reporter-pino/src/index.ts index 65e8a10..942c55d 100644 --- a/packages/reporter-pino/src/index.ts +++ b/packages/reporter-pino/src/index.ts @@ -57,6 +57,10 @@ class PinoReporter implements Required { this.#logger.info({ parameters }, `Emigrate "${command}" initialized${parameters.dry ? ' (dry-run)' : ''}`); } + onAbort(reason: Error): Awaitable { + this.#logger.error({ reason }, `Emigrate "${this.#command}" shutting down`); + } + onCollectedMigrations(migrations: MigrationMetadata[]): Awaitable { this.#migrations = migrations; } From bddb2d6b140d3f4261659b1c9a7a7b402cd6d86c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 Jan 2024 10:30:34 +0000 Subject: [PATCH 35/98] chore(release): version packages --- .changeset/bright-poems-fold.md | 5 ----- .changeset/late-phones-smile.md | 5 ----- .changeset/pink-hairs-kiss.md | 5 ----- .changeset/wicked-turkeys-smile.md | 5 ----- docs/CHANGELOG.md | 6 ++++++ docs/package.json | 2 +- packages/cli/CHANGELOG.md | 12 ++++++++++++ packages/cli/package.json | 2 +- packages/mysql/CHANGELOG.md | 8 ++++++++ packages/mysql/package.json | 2 +- packages/plugin-generate-js/CHANGELOG.md | 8 ++++++++ packages/plugin-generate-js/package.json | 2 +- packages/plugin-tools/CHANGELOG.md | 7 +++++++ packages/plugin-tools/package.json | 2 +- packages/postgres/CHANGELOG.md | 8 ++++++++ packages/postgres/package.json | 2 +- packages/reporter-pino/CHANGELOG.md | 11 +++++++++++ packages/reporter-pino/package.json | 2 +- packages/storage-fs/CHANGELOG.md | 7 +++++++ packages/storage-fs/package.json | 2 +- packages/types/CHANGELOG.md | 6 ++++++ packages/types/package.json | 2 +- 22 files changed, 82 insertions(+), 29 deletions(-) delete mode 100644 .changeset/bright-poems-fold.md delete mode 100644 .changeset/late-phones-smile.md delete mode 100644 .changeset/pink-hairs-kiss.md delete mode 100644 .changeset/wicked-turkeys-smile.md diff --git a/.changeset/bright-poems-fold.md b/.changeset/bright-poems-fold.md deleted file mode 100644 index 3ccb9b4..0000000 --- a/.changeset/bright-poems-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -Document the --abort-respite CLI option and the corresponding abortRespite config diff --git a/.changeset/late-phones-smile.md b/.changeset/late-phones-smile.md deleted file mode 100644 index 31a36d0..0000000 --- a/.changeset/late-phones-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/types': minor ---- - -Add type for onAbort Reporter method diff --git a/.changeset/pink-hairs-kiss.md b/.changeset/pink-hairs-kiss.md deleted file mode 100644 index 9f9df38..0000000 --- a/.changeset/pink-hairs-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/reporter-pino': minor ---- - -Handle the new onAbort method diff --git a/.changeset/wicked-turkeys-smile.md b/.changeset/wicked-turkeys-smile.md deleted file mode 100644 index 5ea24ad..0000000 --- a/.changeset/wicked-turkeys-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Handle process interruptions gracefully, e.g. due to receiving a SIGINT or SIGTERM signal. If a migration is currently running when the process is about to shutdown it will have a maximum of 10 more seconds to finish before being deserted (there's no way to cancel a promise sadly, and many database queries are not easy to abort either). The 10 second respite length can be customized using the --abort-respite CLI option or the abortRespite config. diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 1fec6e8..aa71ff8 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/docs +## 0.2.0 + +### Minor Changes + +- a4da353: Document the --abort-respite CLI option and the corresponding abortRespite config + ## 0.1.0 ### Minor Changes diff --git a/docs/package.json b/docs/package.json index bdc380e..c70d3a0 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,7 +2,7 @@ "name": "@emigrate/docs", "private": true, "type": "module", - "version": "0.1.0", + "version": "0.2.0", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 09e5617..b62cbbe 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,17 @@ # @emigrate/cli +## 0.16.0 + +### Minor Changes + +- a4da353: Handle process interruptions gracefully, e.g. due to receiving a SIGINT or SIGTERM signal. If a migration is currently running when the process is about to shutdown it will have a maximum of 10 more seconds to finish before being deserted (there's no way to cancel a promise sadly, and many database queries are not easy to abort either). The 10 second respite length can be customized using the --abort-respite CLI option or the abortRespite config. + +### Patch Changes + +- Updated dependencies [ce15648] + - @emigrate/types@0.11.0 + - @emigrate/plugin-tools@0.9.4 + ## 0.15.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 280cdce..8ebfe63 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.15.0", + "version": "0.16.0", "publishConfig": { "access": "public" }, diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index 22016d4..3231cc3 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/mysql +## 0.2.4 + +### Patch Changes + +- Updated dependencies [ce15648] + - @emigrate/types@0.11.0 + - @emigrate/plugin-tools@0.9.4 + ## 0.2.3 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index d62be01..6f7e1f4 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.2.3", + "version": "0.2.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-generate-js/CHANGELOG.md b/packages/plugin-generate-js/CHANGELOG.md index 9464f5f..12f2bed 100644 --- a/packages/plugin-generate-js/CHANGELOG.md +++ b/packages/plugin-generate-js/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-generate-js +## 0.3.4 + +### Patch Changes + +- Updated dependencies [ce15648] + - @emigrate/types@0.11.0 + - @emigrate/plugin-tools@0.9.4 + ## 0.3.3 ### Patch Changes diff --git a/packages/plugin-generate-js/package.json b/packages/plugin-generate-js/package.json index c9fc1d5..472c930 100644 --- a/packages/plugin-generate-js/package.json +++ b/packages/plugin-generate-js/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-generate-js", - "version": "0.3.3", + "version": "0.3.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-tools/CHANGELOG.md b/packages/plugin-tools/CHANGELOG.md index 67cf09f..17a97f6 100644 --- a/packages/plugin-tools/CHANGELOG.md +++ b/packages/plugin-tools/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/plugin-tools +## 0.9.4 + +### Patch Changes + +- Updated dependencies [ce15648] + - @emigrate/types@0.11.0 + ## 0.9.3 ### Patch Changes diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index 28ea06b..b1098ad 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-tools", - "version": "0.9.3", + "version": "0.9.4", "publishConfig": { "access": "public" }, diff --git a/packages/postgres/CHANGELOG.md b/packages/postgres/CHANGELOG.md index 413f87d..a2955b8 100644 --- a/packages/postgres/CHANGELOG.md +++ b/packages/postgres/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/postgres +## 0.2.4 + +### Patch Changes + +- Updated dependencies [ce15648] + - @emigrate/types@0.11.0 + - @emigrate/plugin-tools@0.9.4 + ## 0.2.3 ### Patch Changes diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 1a08f90..9cfd051 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/postgres", - "version": "0.2.3", + "version": "0.2.4", "publishConfig": { "access": "public" }, diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index a62e206..4d18577 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,16 @@ # @emigrate/reporter-pino +## 0.5.0 + +### Minor Changes + +- a4da353: Handle the new onAbort method + +### Patch Changes + +- Updated dependencies [ce15648] + - @emigrate/types@0.11.0 + ## 0.4.3 ### Patch Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 0dfd986..71cefec 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.4.3", + "version": "0.5.0", "publishConfig": { "access": "public" }, diff --git a/packages/storage-fs/CHANGELOG.md b/packages/storage-fs/CHANGELOG.md index 70927ed..f3548d4 100644 --- a/packages/storage-fs/CHANGELOG.md +++ b/packages/storage-fs/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/storage-fs +## 0.4.4 + +### Patch Changes + +- Updated dependencies [ce15648] + - @emigrate/types@0.11.0 + ## 0.4.3 ### Patch Changes diff --git a/packages/storage-fs/package.json b/packages/storage-fs/package.json index 1b54191..d763f26 100644 --- a/packages/storage-fs/package.json +++ b/packages/storage-fs/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/storage-fs", - "version": "0.4.3", + "version": "0.4.4", "publishConfig": { "access": "public" }, diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 4fdf48a..78f9264 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/types +## 0.11.0 + +### Minor Changes + +- ce15648: Add type for onAbort Reporter method + ## 0.10.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index ec20393..116b525 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/types", - "version": "0.10.0", + "version": "0.11.0", "publishConfig": { "access": "public" }, From 121492b30309d041fa867b7e825a5826269ee093 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 22 Jan 2024 13:39:38 +0100 Subject: [PATCH 36/98] fix(cli): sort migrations lexicographically for real --- .changeset/funny-pants-heal.md | 5 + packages/cli/src/get-migrations.test.ts | 134 ++++++++++++++++++++++++ packages/cli/src/get-migrations.ts | 16 +-- 3 files changed, 144 insertions(+), 11 deletions(-) create mode 100644 .changeset/funny-pants-heal.md create mode 100644 packages/cli/src/get-migrations.test.ts diff --git a/.changeset/funny-pants-heal.md b/.changeset/funny-pants-heal.md new file mode 100644 index 0000000..2e4e2e7 --- /dev/null +++ b/.changeset/funny-pants-heal.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Sort migration files lexicographically correctly by using the default Array.sort implementation diff --git a/packages/cli/src/get-migrations.test.ts b/packages/cli/src/get-migrations.test.ts new file mode 100644 index 0000000..3391b04 --- /dev/null +++ b/packages/cli/src/get-migrations.test.ts @@ -0,0 +1,134 @@ +import fs from 'node:fs/promises'; +import { afterEach, beforeEach, describe, it, mock } from 'node:test'; +import assert from 'node:assert'; +import { getMigrations } from './get-migrations.js'; + +const originalReaddir = fs.readdir; +const readdirMock = mock.fn(originalReaddir); + +describe('get-migrations', () => { + beforeEach(() => { + fs.readdir = readdirMock; + }); + + afterEach(() => { + readdirMock.mock.restore(); + fs.readdir = originalReaddir; + }); + + it('should skip files with leading periods', async () => { + readdirMock.mock.mockImplementation(async () => ['.foo.js', 'bar.js', 'baz.js']); + + const migrations = await getMigrations('/cwd/', 'directory'); + + assert.deepStrictEqual(migrations, [ + { + name: 'bar.js', + filePath: '/cwd/directory/bar.js', + relativeFilePath: 'directory/bar.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + { + name: 'baz.js', + filePath: '/cwd/directory/baz.js', + relativeFilePath: 'directory/baz.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + ]); + }); + + it('should skip files with leading underscores', async () => { + readdirMock.mock.mockImplementation(async () => ['_foo.js', 'bar.js', 'baz.js']); + + const migrations = await getMigrations('/cwd/', 'directory'); + + assert.deepStrictEqual(migrations, [ + { + name: 'bar.js', + filePath: '/cwd/directory/bar.js', + relativeFilePath: 'directory/bar.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + { + name: 'baz.js', + filePath: '/cwd/directory/baz.js', + relativeFilePath: 'directory/baz.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + ]); + }); + + it('should skip files without file extensions', async () => { + readdirMock.mock.mockImplementation(async () => ['foo', 'bar.js', 'baz.js']); + + const migrations = await getMigrations('/cwd/', 'directory'); + + assert.deepStrictEqual(migrations, [ + { + name: 'bar.js', + filePath: '/cwd/directory/bar.js', + relativeFilePath: 'directory/bar.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + { + name: 'baz.js', + filePath: '/cwd/directory/baz.js', + relativeFilePath: 'directory/baz.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + ]); + }); + + it('should sort them in lexicographical order', async () => { + readdirMock.mock.mockImplementation(async () => ['foo.js', 'bar_data.js', 'bar.js', 'baz.js']); + + const migrations = await getMigrations('/cwd/', 'directory'); + + assert.deepStrictEqual(migrations, [ + { + name: 'bar.js', + filePath: '/cwd/directory/bar.js', + relativeFilePath: 'directory/bar.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + { + name: 'bar_data.js', + filePath: '/cwd/directory/bar_data.js', + relativeFilePath: 'directory/bar_data.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + { + name: 'baz.js', + filePath: '/cwd/directory/baz.js', + relativeFilePath: 'directory/baz.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + { + name: 'foo.js', + filePath: '/cwd/directory/foo.js', + relativeFilePath: 'directory/foo.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + ]); + }); +}); diff --git a/packages/cli/src/get-migrations.ts b/packages/cli/src/get-migrations.ts index e208ac7..228b132 100644 --- a/packages/cli/src/get-migrations.ts +++ b/packages/cli/src/get-migrations.ts @@ -1,17 +1,14 @@ import path from 'node:path'; import fs from 'node:fs/promises'; -import { type Dirent } from 'node:fs'; import { type MigrationMetadata } from '@emigrate/types'; import { withLeadingPeriod } from './with-leading-period.js'; import { BadOptionError } from './errors.js'; export type GetMigrationsFunction = typeof getMigrations; -const tryReadDirectory = async (directoryPath: string): Promise => { +const tryReadDirectory = async (directoryPath: string): Promise => { try { - return await fs.readdir(directoryPath, { - withFileTypes: true, - }); + return await fs.readdir(directoryPath); } catch { throw BadOptionError.fromOption('directory', `Couldn't read directory: ${directoryPath}`); } @@ -23,12 +20,9 @@ export const getMigrations = async (cwd: string, directory: string): Promise - file.isFile() && !file.name.startsWith('.') && !file.name.startsWith('_') && path.extname(file.name) !== '', - ) - .sort((a, b) => a.name.localeCompare(b.name)) - .map(({ name }) => { + .filter((name) => !name.startsWith('.') && !name.startsWith('_') && path.extname(name) !== '') + .sort() + .map((name) => { const filePath = path.join(directoryPath, name); return { From ea327bbc494e91c1114a7052fbd04baf56823db7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 Jan 2024 12:48:35 +0000 Subject: [PATCH 37/98] chore(release): version packages --- .changeset/funny-pants-heal.md | 5 ----- packages/cli/CHANGELOG.md | 6 ++++++ packages/cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/funny-pants-heal.md diff --git a/.changeset/funny-pants-heal.md b/.changeset/funny-pants-heal.md deleted file mode 100644 index 2e4e2e7..0000000 --- a/.changeset/funny-pants-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Sort migration files lexicographically correctly by using the default Array.sort implementation diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index b62cbbe..600112d 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/cli +## 0.16.1 + +### Patch Changes + +- 121492b: Sort migration files lexicographically correctly by using the default Array.sort implementation + ## 0.16.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 8ebfe63..4591ed7 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.16.0", + "version": "0.16.1", "publishConfig": { "access": "public" }, From b56b6daf73240f5bc72719fb139d2269f28d4eb4 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Tue, 23 Jan 2024 11:32:58 +0100 Subject: [PATCH 38/98] fix(cli): handle migration history entries without file extensions correctly ...even when the migration file names include periods in their names. --- .changeset/eleven-knives-learn.md | 5 ++ packages/cli/src/collect-migrations.test.ts | 99 +++++++++++++++++++++ packages/cli/src/collect-migrations.ts | 15 ++-- packages/cli/src/commands/up.test.ts | 54 +---------- packages/cli/src/test-utils.ts | 56 ++++++++++++ 5 files changed, 168 insertions(+), 61 deletions(-) create mode 100644 .changeset/eleven-knives-learn.md create mode 100644 packages/cli/src/collect-migrations.test.ts create mode 100644 packages/cli/src/test-utils.ts diff --git a/.changeset/eleven-knives-learn.md b/.changeset/eleven-knives-learn.md new file mode 100644 index 0000000..a7110c7 --- /dev/null +++ b/.changeset/eleven-knives-learn.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Handle migration history entries without file extensions for migration files with periods in their names that are not part of the file extension. Previously Emigrate would attempt to re-run these migrations, but now it will correctly ignore them. E.g. the migration history contains an entry for "migration.file.name" and the migration file is named "migration.file.name.js" it will not be re-run. diff --git a/packages/cli/src/collect-migrations.test.ts b/packages/cli/src/collect-migrations.test.ts new file mode 100644 index 0000000..f5a2b72 --- /dev/null +++ b/packages/cli/src/collect-migrations.test.ts @@ -0,0 +1,99 @@ +import { describe, it } from 'node:test'; +import assert from 'node:assert'; +import { collectMigrations } from './collect-migrations.js'; +import { toEntries, toEntry, toMigration, toMigrations } from './test-utils.js'; +import { arrayFromAsync } from './array-from-async.js'; +import { MigrationHistoryError } from './errors.js'; + +describe('collect-migrations', () => { + it('returns all migrations from the history and all pending migrations', async () => { + const cwd = '/cwd'; + const directory = 'directory'; + const history = { + async *[Symbol.asyncIterator]() { + yield* toEntries(['migration1.js', 'migration2.js']); + }, + }; + const getMigrations = async () => toMigrations(cwd, directory, ['migration1.js', 'migration2.js', 'migration3.js']); + + const result = await arrayFromAsync(collectMigrations(cwd, directory, history, getMigrations)); + + assert.deepStrictEqual(result, [ + { + ...toMigration(cwd, directory, 'migration1.js'), + duration: 0, + status: 'done', + }, + { + ...toMigration(cwd, directory, 'migration2.js'), + duration: 0, + status: 'done', + }, + toMigration(cwd, directory, 'migration3.js'), + ]); + }); + + it('includes any errors from the history', async () => { + const entry = toEntry('migration1.js', 'failed'); + const cwd = '/cwd'; + const directory = 'directory'; + const history = { + async *[Symbol.asyncIterator]() { + yield* [entry]; + }, + }; + const getMigrations = async () => toMigrations(cwd, directory, ['migration1.js', 'migration2.js', 'migration3.js']); + + const result = await arrayFromAsync(collectMigrations(cwd, directory, history, getMigrations)); + + assert.deepStrictEqual(result, [ + { + ...toMigration(cwd, directory, 'migration1.js'), + duration: 0, + status: 'failed', + error: MigrationHistoryError.fromHistoryEntry(entry), + }, + toMigration(cwd, directory, 'migration2.js'), + toMigration(cwd, directory, 'migration3.js'), + ]); + }); + + it('can handle a migration history without file extensions', async () => { + const cwd = '/cwd'; + const directory = 'directory'; + const history = { + async *[Symbol.asyncIterator]() { + yield* toEntries(['migration1']); + }, + }; + const getMigrations = async () => toMigrations(cwd, directory, ['migration1.js', 'migration2.js', 'migration3.js']); + + const result = await arrayFromAsync(collectMigrations(cwd, directory, history, getMigrations)); + + assert.deepStrictEqual(result, [ + { ...toMigration(cwd, directory, 'migration1.js'), duration: 0, status: 'done' }, + toMigration(cwd, directory, 'migration2.js'), + toMigration(cwd, directory, 'migration3.js'), + ]); + }); + + it('can handle a migration history without file extensions even if the migration name contains periods', async () => { + const cwd = '/cwd'; + const directory = 'directory'; + const history = { + async *[Symbol.asyncIterator]() { + yield* toEntries(['mig.ration1']); + }, + }; + const getMigrations = async () => + toMigrations(cwd, directory, ['mig.ration1.js', 'migration2.js', 'migration3.js']); + + const result = await arrayFromAsync(collectMigrations(cwd, directory, history, getMigrations)); + + assert.deepStrictEqual(result, [ + { ...toMigration(cwd, directory, 'mig.ration1.js'), duration: 0, status: 'done' }, + toMigration(cwd, directory, 'migration2.js'), + toMigration(cwd, directory, 'migration3.js'), + ]); + }); +}); diff --git a/packages/cli/src/collect-migrations.ts b/packages/cli/src/collect-migrations.ts index dc1ce8f..0c1886a 100644 --- a/packages/cli/src/collect-migrations.ts +++ b/packages/cli/src/collect-migrations.ts @@ -1,4 +1,3 @@ -import { extname } from 'node:path'; import { type MigrationHistoryEntry, type MigrationMetadata, type MigrationMetadataFinished } from '@emigrate/types'; import { toMigrationMetadata } from './to-migration-metadata.js'; import { getMigrations as getMigrationsOriginal } from './get-migrations.js'; @@ -12,18 +11,18 @@ export async function* collectMigrations( const allMigrations = await getMigrations(cwd, directory); const seen = new Set(); - for await (const entry_ of history) { - const entry = extname(entry_.name) === '' ? { ...entry_, name: `${entry_.name}.js` } : entry_; + for await (const entry of history) { + const migration = allMigrations.find((migrationFile) => { + return migrationFile.name === entry.name || migrationFile.name === `${entry.name}.js`; + }); - const index = allMigrations.findIndex((migrationFile) => migrationFile.name === entry.name); - - if (index === -1) { + if (!migration) { continue; } - yield toMigrationMetadata(entry, { cwd, directory }); + yield toMigrationMetadata({ ...entry, name: migration.name }, { cwd, directory }); - seen.add(entry.name); + seen.add(migration.name); } yield* allMigrations.filter((migration) => !seen.has(migration.name)); diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index bc1f840..f58ce8d 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -1,15 +1,11 @@ import { describe, it, mock, type Mock } from 'node:test'; import assert from 'node:assert'; -import path from 'node:path'; import { type EmigrateReporter, type MigrationHistoryEntry, - type MigrationMetadata, type Storage, type Plugin, type SerializedError, - type FailedMigrationHistoryEntry, - type NonFailedMigrationHistoryEntry, type MigrationMetadataFinished, } from '@emigrate/types'; import { deserializeError, serializeError } from 'serialize-error'; @@ -22,6 +18,7 @@ import { MigrationRunError, StorageInitError, } from '../errors.js'; +import { toEntries, toEntry, toMigrations } from '../test-utils.js'; import upCommand from './up.js'; type Mocked = { @@ -619,55 +616,6 @@ function getErrorCause(error: Error | undefined): Error | SerializedError | unde return undefined; } -function toMigration(cwd: string, directory: string, name: string): MigrationMetadata { - return { - name, - filePath: `${cwd}/${directory}/${name}`, - relativeFilePath: `${directory}/${name}`, - extension: path.extname(name), - directory, - cwd, - }; -} - -function toMigrations(cwd: string, directory: string, names: string[]): MigrationMetadata[] { - return names.map((name) => toMigration(cwd, directory, name)); -} - -function toEntry(name: MigrationHistoryEntry): MigrationHistoryEntry; -function toEntry( - name: string, - status?: S, -): S extends 'failed' ? FailedMigrationHistoryEntry : NonFailedMigrationHistoryEntry; - -function toEntry(name: string | MigrationHistoryEntry, status?: 'done' | 'failed'): MigrationHistoryEntry { - if (typeof name !== 'string') { - return name.status === 'failed' ? name : name; - } - - if (status === 'failed') { - return { - name, - status, - date: new Date(), - error: { name: 'Error', message: 'Failed' }, - }; - } - - return { - name, - status: status ?? 'done', - date: new Date(), - }; -} - -function toEntries( - names: Array, - status?: MigrationHistoryEntry['status'], -): MigrationHistoryEntry[] { - return names.map((name) => (typeof name === 'string' ? toEntry(name, status) : name)); -} - async function noop() { // noop } diff --git a/packages/cli/src/test-utils.ts b/packages/cli/src/test-utils.ts new file mode 100644 index 0000000..2e1b7cc --- /dev/null +++ b/packages/cli/src/test-utils.ts @@ -0,0 +1,56 @@ +import path from 'node:path'; +import { + type FailedMigrationHistoryEntry, + type MigrationHistoryEntry, + type MigrationMetadata, + type NonFailedMigrationHistoryEntry, +} from '@emigrate/types'; + +export function toMigration(cwd: string, directory: string, name: string): MigrationMetadata { + return { + name, + filePath: `${cwd}/${directory}/${name}`, + relativeFilePath: `${directory}/${name}`, + extension: path.extname(name), + directory, + cwd, + }; +} + +export function toMigrations(cwd: string, directory: string, names: string[]): MigrationMetadata[] { + return names.map((name) => toMigration(cwd, directory, name)); +} + +export function toEntry(name: MigrationHistoryEntry): MigrationHistoryEntry; +export function toEntry( + name: string, + status?: S, +): S extends 'failed' ? FailedMigrationHistoryEntry : NonFailedMigrationHistoryEntry; + +export function toEntry(name: string | MigrationHistoryEntry, status?: 'done' | 'failed'): MigrationHistoryEntry { + if (typeof name !== 'string') { + return name.status === 'failed' ? name : name; + } + + if (status === 'failed') { + return { + name, + status, + date: new Date(), + error: { name: 'Error', message: 'Failed' }, + }; + } + + return { + name, + status: status ?? 'done', + date: new Date(), + }; +} + +export function toEntries( + names: Array, + status?: MigrationHistoryEntry['status'], +): MigrationHistoryEntry[] { + return names.map((name) => (typeof name === 'string' ? toEntry(name, status) : name)); +} From 986456b03800a1da6beaaaa60038732e1b4faacd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 23 Jan 2024 10:37:12 +0000 Subject: [PATCH 39/98] chore(release): version packages --- .changeset/eleven-knives-learn.md | 5 ----- packages/cli/CHANGELOG.md | 6 ++++++ packages/cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/eleven-knives-learn.md diff --git a/.changeset/eleven-knives-learn.md b/.changeset/eleven-knives-learn.md deleted file mode 100644 index a7110c7..0000000 --- a/.changeset/eleven-knives-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Handle migration history entries without file extensions for migration files with periods in their names that are not part of the file extension. Previously Emigrate would attempt to re-run these migrations, but now it will correctly ignore them. E.g. the migration history contains an entry for "migration.file.name" and the migration file is named "migration.file.name.js" it will not be re-run. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 600112d..ea9622a 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/cli +## 0.16.2 + +### Patch Changes + +- b56b6da: Handle migration history entries without file extensions for migration files with periods in their names that are not part of the file extension. Previously Emigrate would attempt to re-run these migrations, but now it will correctly ignore them. E.g. the migration history contains an entry for "migration.file.name" and the migration file is named "migration.file.name.js" it will not be re-run. + ## 0.16.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 4591ed7..dbc092e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.16.1", + "version": "0.16.2", "publishConfig": { "access": "public" }, From 9109238b86f75da1b3248976557b3c3f813743da Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 25 Jan 2024 17:59:20 +0100 Subject: [PATCH 40/98] feat(cli): improve the "up" commands --from and --to options The given values can either be migration names or relative paths to migration files. The given migration must exist to avoid accidentally running migrations that wasn't intended to run. --- .changeset/plenty-insects-accept.md | 5 + .changeset/tricky-turkeys-refuse.md | 5 + .changeset/twelve-hairs-relate.md | 5 + README.md | 21 ++- docs/src/content/docs/commands/up.mdx | 22 ++- packages/cli/README.md | 21 ++- packages/cli/src/cli.ts | 21 ++- packages/cli/src/commands/list.ts | 3 +- packages/cli/src/commands/up.test.ts | 212 +++++++++++++++++++++++--- packages/cli/src/commands/up.ts | 21 ++- packages/cli/src/filter-async.ts | 13 -- packages/cli/src/migration-runner.ts | 62 +++++++- 12 files changed, 346 insertions(+), 65 deletions(-) create mode 100644 .changeset/plenty-insects-accept.md create mode 100644 .changeset/tricky-turkeys-refuse.md create mode 100644 .changeset/twelve-hairs-relate.md delete mode 100644 packages/cli/src/filter-async.ts diff --git a/.changeset/plenty-insects-accept.md b/.changeset/plenty-insects-accept.md new file mode 100644 index 0000000..c28ddad --- /dev/null +++ b/.changeset/plenty-insects-accept.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +When the `--from` or `--to` CLI options are used the given migration name (or path to migration file) must exist. This is a BREAKING CHANGE from before. The reasoning is that by forcing the migrations to exist you avoid accidentally running migrations you don't intend to, because a simple typo could have the effect that many unwanted migrations is executed so it's better to show an error if that's the case. diff --git a/.changeset/tricky-turkeys-refuse.md b/.changeset/tricky-turkeys-refuse.md new file mode 100644 index 0000000..9e57a25 --- /dev/null +++ b/.changeset/tricky-turkeys-refuse.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +Document the changes to the "up" command's `--from` and `--to` options, specifically that they can take relative file paths and that the given migration must exist. diff --git a/.changeset/twelve-hairs-relate.md b/.changeset/twelve-hairs-relate.md new file mode 100644 index 0000000..46e52ba --- /dev/null +++ b/.changeset/twelve-hairs-relate.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add support for passing relative paths to migration files as the `--from` and `--to` CLI options. This is very useful from terminals that support autocomplete for file paths. It also makes it possible to copy the path to a migration file from Emigrate's output and use that as either `--from` and `--to` directly. diff --git a/README.md b/README.md index 7d0ec15..3715a10 100644 --- a/README.md +++ b/README.md @@ -49,22 +49,35 @@ Run all pending migrations Options: -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before running the migrations (can be specified multiple times) For example if you want to use Dotenv to load environment variables or when using TypeScript + -s, --storage The storage to use for where to store the migration history (required) + -p, --plugin The plugin(s) to use (can be specified multiple times) + -r, --reporter The reporter to use for reporting the migration progress + -l, --limit Limit the number of migrations to run - -f, --from Start running migrations from the given migration name, the given name doesn't need to exist - and is compared in lexicographical order - -t, --to Skip migrations after the given migration name, the given name doesn't need to exist - and is compared in lexicographical order + + -f, --from Start running migrations from the given migration name or relative file path to a migration file, + the given name or path needs to exist. The same migration and those after it lexicographically will be run + + -t, --to Skip migrations after the given migration name or relative file path to a migration file, + the given name or path needs to exist. The same migration and those before it lexicographically will be run + --dry List the pending migrations that would be run without actually running them + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) + --no-execution Mark the migrations as executed and successful without actually running them, which is useful if you want to mark migrations as successful after running them manually + --abort-respite The number of seconds to wait before abandoning running migrations after the command has been aborted (default: 10) Examples: diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index 3008376..cc12ad1 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -75,20 +75,34 @@ and "skipped" for the migrations that also haven't been run but won't because of The directory where the migration files are located. The given path should be absolute or relative to the current working directory. -### `-f`, `--from ` +### `-f`, `--from ` The name of the migration to start from. This can be used to run only a subset of the pending migrations. -The given migration name does not need to exist and is compared in lexicographical order with the migration names, so it can be a prefix of a migration name or similar. +The given migration need to exist and is compared in lexicographical order with all migrations, the migration with the same name and those lexicographically after it will be migrated. +It's okay to use an already executed migration as the "from" migration, it won't be executed again. + +The reason for why the given migration name must exist and cannot be just a prefix is to avoid accidentally running migrations that you didn't intend to run. + +The given name can also be a relative path to a migration file, which makes it easier to use with terminals that support tab completion +or when copying the output from Emigrate and using it directly as the value of the `--from` option. +Relative paths are resolved relative to the current working directory. Can be combined with `--dry` which will show "pending" for the migrations that would be run if not in dry-run mode, and "skipped" for the migrations that also haven't been run but won't because of the set "from". -### `-t`, `--to ` +### `-t`, `--to ` The name of the migration to end at. This can be used to run only a subset of the pending migrations. -The given migration name does not need to exist and is compared in lexicographical order with the migration names, so it can be a prefix of a migration name or similar. +The given migration name need to exist and is compared in lexicographical order with all migrations, the migration with the same name and those lexicographically before it will be migrated. +It's okay to use an already executed migration as the "to" migration, it won't be executed again. + +The reason for why the given migration name must exist and cannot be just a prefix is to avoid accidentally running migrations that you didn't intend to run. + +The given name can also be a relative path to a migration file, which makes it easier to use with terminals that support tab completion +or when copying the output from Emigrate and using it directly as the value of the `--to` option. +Relative paths are resolved relative to the current working directory. Can be combined with `--dry` which will show "pending" for the migrations that would be run if not in dry-run mode, and "skipped" for the migrations that also haven't been run but won't because of the set "to". diff --git a/packages/cli/README.md b/packages/cli/README.md index 156321a..0769765 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -28,22 +28,35 @@ Run all pending migrations Options: -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before running the migrations (can be specified multiple times) For example if you want to use Dotenv to load environment variables or when using TypeScript + -s, --storage The storage to use for where to store the migration history (required) + -p, --plugin The plugin(s) to use (can be specified multiple times) + -r, --reporter The reporter to use for reporting the migration progress + -l, --limit Limit the number of migrations to run - -f, --from Start running migrations from the given migration name, the given name doesn't need to exist - and is compared in lexicographical order - -t, --to Skip migrations after the given migration name, the given name doesn't need to exist - and is compared in lexicographical order + + -f, --from Start running migrations from the given migration name or relative file path to a migration file, + the given name or path needs to exist. The same migration and those after it lexicographically will be run + + -t, --to Skip migrations after the given migration name or relative file path to a migration file, + the given name or path needs to exist. The same migration and those before it lexicographically will be run + --dry List the pending migrations that would be run without actually running them + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) + --no-execution Mark the migrations as executed and successful without actually running them, which is useful if you want to mark migrations as successful after running them manually + --abort-respite The number of seconds to wait before abandoning running migrations after the command has been aborted (default: 10) Examples: diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index cababf1..d6a2e81 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -93,22 +93,35 @@ Run all pending migrations Options: -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before running the migrations (can be specified multiple times) For example if you want to use Dotenv to load environment variables or when using TypeScript + -s, --storage The storage to use for where to store the migration history (required) + -p, --plugin The plugin(s) to use (can be specified multiple times) + -r, --reporter The reporter to use for reporting the migration progress + -l, --limit Limit the number of migrations to run - -f, --from Start running migrations from the given migration name, the given name doesn't need to exist - and is compared in lexicographical order - -t, --to Skip migrations after the given migration name, the given name doesn't need to exist - and is compared in lexicographical order + + -f, --from Start running migrations from the given migration name or relative file path to a migration file, + the given name or path needs to exist. The same migration and those after it lexicographically will be run + + -t, --to Skip migrations after the given migration name or relative file path to a migration file, + the given name or path needs to exist. The same migration and those before it lexicographically will be run + --dry List the pending migrations that would be run without actually running them + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) + --no-execution Mark the migrations as executed and successful without actually running them, which is useful if you want to mark migrations as successful after running them manually + --abort-respite The number of seconds to wait before abandoning running migrations after the command has been aborted (default: ${DEFAULT_RESPITE_SECONDS}) Examples: diff --git a/packages/cli/src/commands/list.ts b/packages/cli/src/commands/list.ts index add45d0..8d40265 100644 --- a/packages/cli/src/commands/list.ts +++ b/packages/cli/src/commands/list.ts @@ -3,7 +3,6 @@ import { BadOptionError, MissingOptionError, StorageInitError, toError } from '. import { type Config } from '../types.js'; import { exec } from '../exec.js'; import { migrationRunner } from '../migration-runner.js'; -import { arrayFromAsync } from '../array-from-async.js'; import { collectMigrations } from '../collect-migrations.js'; import { version } from '../get-package-info.js'; @@ -56,7 +55,7 @@ export default async function listCommand({ dry: true, reporter, storage, - migrations: await arrayFromAsync(collectedMigrations), + migrations: collectedMigrations, async validate() { // No-op }, diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index f58ce8d..b55aabb 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -278,7 +278,100 @@ describe('up', () => { ]); }); - it('returns 0 and finishes without an error when pending migrations after given "from" parameter are run successfully, even when the "from" is not an existing migration', async () => { + it('returns 0 and finishes without an error when pending migrations after given "from" parameter are run successfully', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_existing_migration.js', + '4_some_other_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ from: '3_existing_migration.js' }); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '3_existing_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'done', started: true }, + ]); + assert.strictEqual(migration.mock.calls.length, 2); + }); + + it('returns 0 and finishes without an error when pending migrations after given "from" parameter are run successfully, when the "from" parameter is a relative path', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_existing_migration.js', + '4_some_other_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ from: 'migrations/3_existing_migration.js' }); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '3_existing_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'done', started: true }, + ]); + assert.strictEqual(migration.mock.calls.length, 2); + }); + + it('returns 0 and runs all pending migrations, if "from" is an already executed migration', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ from: '1_some_already_run_migration.js' }); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'done', started: true }, + ]); + assert.strictEqual(migration.mock.calls.length, 2); + }); + + it('returns 1 and finishes with an error when the given "from" migration name does not exist', async () => { const migration = mock.fn(async () => { // Success }); @@ -297,30 +390,71 @@ describe('up', () => { const exitCode = await run({ from: '3_non_existing_migration.js' }); - assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ - { name: '2_some_migration.js', status: 'skipped' }, - { name: '4_some_other_migration.js', status: 'done', started: true }, - ]); - assert.strictEqual(migration.mock.calls.length, 1); + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '4_some_other_migration.js', status: 'skipped' }, + ], + BadOptionError.fromOption( + 'from', + 'The "from" migration: "migrations/3_non_existing_migration.js" was not found', + ), + ); + assert.strictEqual(migration.mock.calls.length, 0); }); - it('returns 0 and finishes without an error when pending migrations after given "from" parameter are validated and listed successfully in dry-mode, even when the "from" is not an existing migration', async () => { + it('returns 0 and finishes without an error when pending migrations after given "from" parameter are validated and listed successfully in dry-mode', async () => { const { reporter, run } = getUpCommand( - ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], + ['1_some_already_run_migration.js', '2_some_migration.js', '3_some_other_migration.js'], getStorage(['1_some_already_run_migration.js']), ); - const exitCode = await run({ dry: true, from: '3_non_existing_migration.js' }); + const exitCode = await run({ dry: true, from: '3_some_other_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: true }, reporter, [ { name: '2_some_migration.js', status: 'skipped' }, - { name: '4_some_other_migration.js', status: 'pending' }, + { name: '3_some_other_migration.js', status: 'pending' }, ]); }); - it('returns 0 and finishes without an error when pending migrations before given "to" parameter are run successfully, even when the "to" is not an existing migration', async () => { + it('returns 0 and finishes without an error when pending migrations before given "to" parameter are run successfully', async () => { + const migration = mock.fn(async () => { + // Success + }); + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_existing_migration.js', + '4_some_other_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], + ); + + const exitCode = await run({ to: '3_existing_migration.js' }); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'done', started: true }, + { name: '3_existing_migration.js', status: 'done', started: true }, + { name: '4_some_other_migration.js', status: 'skipped' }, + ]); + assert.strictEqual(migration.mock.calls.length, 2); + }); + + it('returns 1 and finishes with an error when the given "to" migration name does not exist', async () => { const migration = mock.fn(async () => { // Success }); @@ -339,25 +473,63 @@ describe('up', () => { const exitCode = await run({ to: '3_non_existing_migration.js' }); - assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ - { name: '2_some_migration.js', status: 'done', started: true }, - { name: '4_some_other_migration.js', status: 'skipped' }, - ]); - assert.strictEqual(migration.mock.calls.length, 1); + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFulfilled( + { dry: false }, + reporter, + [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '4_some_other_migration.js', status: 'skipped' }, + ], + BadOptionError.fromOption('to', 'The "to" migration: "migrations/3_non_existing_migration.js" was not found'), + ); + assert.strictEqual(migration.mock.calls.length, 0); }); - it('returns 0 and finishes without an error when pending migrations after given "to" parameter are validated and listed successfully in dry-mode, even when the "to" is not an existing migration', async () => { + it('returns 0 and runs no migrations, if "to" is an already executed migration', async () => { + const migration = mock.fn(async () => { + // Success + }); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], getStorage(['1_some_already_run_migration.js']), + [ + { + loadableExtensions: ['.js'], + async loadMigration() { + return migration; + }, + }, + ], ); - const exitCode = await run({ dry: true, to: '3_non_existing_migration.js' }); + const exitCode = await run({ to: '1_some_already_run_migration.js' }); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled({ dry: false }, reporter, [ + { name: '2_some_migration.js', status: 'skipped' }, + { name: '4_some_other_migration.js', status: 'skipped' }, + ]); + assert.strictEqual(migration.mock.calls.length, 0); + }); + + it('returns 0 and finishes without an error when pending migrations after given "to" parameter are validated and listed successfully in dry-mode', async () => { + const { reporter, run } = getUpCommand( + [ + '1_some_already_run_migration.js', + '2_some_migration.js', + '3_existing_migration.js', + '4_some_other_migration.js', + ], + getStorage(['1_some_already_run_migration.js']), + ); + + const exitCode = await run({ dry: true, to: '3_existing_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); assertPreconditionsFulfilled({ dry: true }, reporter, [ { name: '2_some_migration.js', status: 'pending' }, + { name: '3_existing_migration.js', status: 'pending' }, { name: '4_some_other_migration.js', status: 'skipped' }, ]); }); diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index aebf3c3..5488f2a 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -1,3 +1,4 @@ +import path from 'node:path'; import { getOrLoadPlugins, getOrLoadReporter, getOrLoadStorage } from '@emigrate/plugin-tools'; import { isFinishedMigration, type LoaderPlugin } from '@emigrate/types'; import { BadOptionError, MigrationLoadError, MissingOptionError, StorageInitError, toError } from '../errors.js'; @@ -6,9 +7,7 @@ import { withLeadingPeriod } from '../with-leading-period.js'; import { type GetMigrationsFunction } from '../get-migrations.js'; import { exec } from '../exec.js'; import { migrationRunner } from '../migration-runner.js'; -import { filterAsync } from '../filter-async.js'; import { collectMigrations } from '../collect-migrations.js'; -import { arrayFromAsync } from '../array-from-async.js'; import { version } from '../get-package-info.js'; type ExtraFlags = { @@ -72,10 +71,7 @@ export default async function upCommand({ } try { - const collectedMigrations = filterAsync( - collectMigrations(cwd, directory, storage.getHistory(), getMigrations), - (migration) => !isFinishedMigration(migration) || migration.status === 'failed', - ); + const collectedMigrations = collectMigrations(cwd, directory, storage.getHistory(), getMigrations); const loaderPlugins = await getOrLoadPlugins('loader', [lazyPluginLoaderJs, ...plugins]); @@ -93,6 +89,14 @@ export default async function upCommand({ return loaderByExtension.get(extension); }; + if (from && !from.includes(path.sep)) { + from = path.join(directory, from); + } + + if (to && !to.includes(path.sep)) { + to = path.join(directory, to); + } + const error = await migrationRunner({ dry, limit, @@ -102,7 +106,10 @@ export default async function upCommand({ abortRespite, reporter, storage, - migrations: await arrayFromAsync(collectedMigrations), + migrations: collectedMigrations, + migrationFilter(migration) { + return !isFinishedMigration(migration) || migration.status === 'failed'; + }, async validate(migration) { if (noExecution) { return; diff --git a/packages/cli/src/filter-async.ts b/packages/cli/src/filter-async.ts deleted file mode 100644 index 77a62ce..0000000 --- a/packages/cli/src/filter-async.ts +++ /dev/null @@ -1,13 +0,0 @@ -export function filterAsync( - iterable: AsyncIterable, - filter: (item: T) => item is S, -): AsyncIterable; -export function filterAsync(iterable: AsyncIterable, filter: (item: T) => unknown): AsyncIterable; - -export async function* filterAsync(iterable: AsyncIterable, filter: (item: T) => unknown): AsyncIterable { - for await (const item of iterable) { - if (filter(item)) { - yield item; - } - } -} diff --git a/packages/cli/src/migration-runner.ts b/packages/cli/src/migration-runner.ts index dac5620..a8ee424 100644 --- a/packages/cli/src/migration-runner.ts +++ b/packages/cli/src/migration-runner.ts @@ -9,7 +9,7 @@ import { type FailedMigrationMetadata, type SuccessfulMigrationMetadata, } from '@emigrate/types'; -import { toError, EmigrateError, MigrationRunError, toSerializedError } from './errors.js'; +import { toError, EmigrateError, MigrationRunError, toSerializedError, BadOptionError } from './errors.js'; import { exec } from './exec.js'; import { getDuration } from './get-duration.js'; @@ -22,7 +22,8 @@ type MigrationRunnerParameters = { abortRespite?: number; reporter: EmigrateReporter; storage: Storage; - migrations: Array; + migrations: AsyncIterable; + migrationFilter?: (migration: MigrationMetadata | MigrationMetadataFinished) => boolean; validate: (migration: MigrationMetadata) => Promise; execute: (migration: MigrationMetadata) => Promise; }; @@ -39,9 +40,9 @@ export const migrationRunner = async ({ migrations, validate, execute, + migrationFilter = () => true, }: MigrationRunnerParameters): Promise => { - await reporter.onCollectedMigrations?.(migrations); - + const collectedMigrations: Array = []; const validatedMigrations: Array = []; const migrationsToLock: MigrationMetadata[] = []; @@ -63,15 +64,32 @@ export const migrationRunner = async ({ { once: true }, ); + let fromFound = false; + let toFound = false; + for await (const migration of migrations) { + if (from && migration.relativeFilePath === from) { + fromFound = true; + } + + if (to && migration.relativeFilePath === to) { + toFound = true; + } + + if (!migrationFilter(migration)) { + continue; + } + + collectedMigrations.push(migration); + if (isFinishedMigration(migration)) { skip ||= migration.status === 'failed' || migration.status === 'skipped'; validatedMigrations.push(migration); } else if ( skip || - Boolean(from && migration.name < from) || - Boolean(to && migration.name > to) || + Boolean(from && migration.relativeFilePath < from) || + Boolean(to && migration.relativeFilePath > to) || (limit && migrationsToLock.length >= limit) ) { validatedMigrations.push({ @@ -107,6 +125,32 @@ export const migrationRunner = async ({ } } + await reporter.onCollectedMigrations?.(collectedMigrations); + + let optionError: Error | undefined; + + if (from && !fromFound) { + optionError = BadOptionError.fromOption('from', `The "from" migration: "${from}" was not found`); + } else if (to && !toFound) { + optionError = BadOptionError.fromOption('to', `The "to" migration: "${to}" was not found`); + } + + if (optionError) { + dry = true; + skip = true; + + for (const migration of migrationsToLock) { + const validatedIndex = validatedMigrations.indexOf(migration); + + validatedMigrations[validatedIndex] = { + ...migration, + status: 'skipped', + }; + } + + migrationsToLock.length = 0; + } + const [lockedMigrations, lockError] = dry ? [migrationsToLock] : await exec(async () => storage.lock(migrationsToLock), { abortSignal, abortRespite }); @@ -227,7 +271,11 @@ export const migrationRunner = async ({ ? MigrationRunError.fromMetadata(firstFailed) : undefined; const error = - unlockError ?? firstError ?? lockError ?? (abortSignal?.aborted ? toError(abortSignal.reason) : undefined); + optionError ?? + unlockError ?? + firstError ?? + lockError ?? + (abortSignal?.aborted ? toError(abortSignal.reason) : undefined); await reporter.onFinished?.(finishedMigrations, error); From f1b90987504027a7c9f275e4eb2d10692f207891 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 26 Jan 2024 09:17:47 +0100 Subject: [PATCH 41/98] fix(migrations): don't include folders when collecting migrations It should be possible to have folders inside your migrations folder --- .changeset/cuddly-peaches-look.md | 5 ++ packages/cli/src/get-migrations.test.ts | 74 ++++++++++++++++++++++--- packages/cli/src/get-migrations.ts | 45 ++++++++------- 3 files changed, 95 insertions(+), 29 deletions(-) create mode 100644 .changeset/cuddly-peaches-look.md diff --git a/.changeset/cuddly-peaches-look.md b/.changeset/cuddly-peaches-look.md new file mode 100644 index 0000000..26aa479 --- /dev/null +++ b/.changeset/cuddly-peaches-look.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Only include files when collecting migrations, i.e. it should be possible to have folders inside your migrations folder. diff --git a/packages/cli/src/get-migrations.test.ts b/packages/cli/src/get-migrations.test.ts index 3391b04..8c9e5d1 100644 --- a/packages/cli/src/get-migrations.test.ts +++ b/packages/cli/src/get-migrations.test.ts @@ -3,21 +3,27 @@ import { afterEach, beforeEach, describe, it, mock } from 'node:test'; import assert from 'node:assert'; import { getMigrations } from './get-migrations.js'; -const originalReaddir = fs.readdir; -const readdirMock = mock.fn(originalReaddir); +const originalOpendir = fs.opendir; +const opendirMock = mock.fn(originalOpendir); describe('get-migrations', () => { beforeEach(() => { - fs.readdir = readdirMock; + fs.opendir = opendirMock; }); afterEach(() => { - readdirMock.mock.restore(); - fs.readdir = originalReaddir; + opendirMock.mock.restore(); + fs.opendir = originalOpendir; }); it('should skip files with leading periods', async () => { - readdirMock.mock.mockImplementation(async () => ['.foo.js', 'bar.js', 'baz.js']); + opendirMock.mock.mockImplementation(async function* () { + yield* [ + { name: '.foo.js', isFile: () => true }, + { name: 'bar.js', isFile: () => true }, + { name: 'baz.js', isFile: () => true }, + ]; + }); const migrations = await getMigrations('/cwd/', 'directory'); @@ -42,7 +48,13 @@ describe('get-migrations', () => { }); it('should skip files with leading underscores', async () => { - readdirMock.mock.mockImplementation(async () => ['_foo.js', 'bar.js', 'baz.js']); + opendirMock.mock.mockImplementation(async function* () { + yield* [ + { name: '_foo.js', isFile: () => true }, + { name: 'bar.js', isFile: () => true }, + { name: 'baz.js', isFile: () => true }, + ]; + }); const migrations = await getMigrations('/cwd/', 'directory'); @@ -67,7 +79,44 @@ describe('get-migrations', () => { }); it('should skip files without file extensions', async () => { - readdirMock.mock.mockImplementation(async () => ['foo', 'bar.js', 'baz.js']); + opendirMock.mock.mockImplementation(async function* () { + yield* [ + { name: 'foo', isFile: () => true }, + { name: 'bar.js', isFile: () => true }, + { name: 'baz.js', isFile: () => true }, + ]; + }); + + const migrations = await getMigrations('/cwd/', 'directory'); + + assert.deepStrictEqual(migrations, [ + { + name: 'bar.js', + filePath: '/cwd/directory/bar.js', + relativeFilePath: 'directory/bar.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + { + name: 'baz.js', + filePath: '/cwd/directory/baz.js', + relativeFilePath: 'directory/baz.js', + extension: '.js', + directory: 'directory', + cwd: '/cwd/', + }, + ]); + }); + + it('should skip non-files', async () => { + opendirMock.mock.mockImplementation(async function* () { + yield* [ + { name: 'foo.js', isFile: () => false }, + { name: 'bar.js', isFile: () => true }, + { name: 'baz.js', isFile: () => true }, + ]; + }); const migrations = await getMigrations('/cwd/', 'directory'); @@ -92,7 +141,14 @@ describe('get-migrations', () => { }); it('should sort them in lexicographical order', async () => { - readdirMock.mock.mockImplementation(async () => ['foo.js', 'bar_data.js', 'bar.js', 'baz.js']); + opendirMock.mock.mockImplementation(async function* () { + yield* [ + { name: 'foo.js', isFile: () => true }, + { name: 'bar_data.js', isFile: () => true }, + { name: 'bar.js', isFile: () => true }, + { name: 'baz.js', isFile: () => true }, + ]; + }); const migrations = await getMigrations('/cwd/', 'directory'); diff --git a/packages/cli/src/get-migrations.ts b/packages/cli/src/get-migrations.ts index 228b132..fb6033d 100644 --- a/packages/cli/src/get-migrations.ts +++ b/packages/cli/src/get-migrations.ts @@ -3,37 +3,42 @@ import fs from 'node:fs/promises'; import { type MigrationMetadata } from '@emigrate/types'; import { withLeadingPeriod } from './with-leading-period.js'; import { BadOptionError } from './errors.js'; +import { arrayFromAsync } from './array-from-async.js'; export type GetMigrationsFunction = typeof getMigrations; -const tryReadDirectory = async (directoryPath: string): Promise => { +async function* tryReadDirectory(directoryPath: string): AsyncIterable { try { - return await fs.readdir(directoryPath); + for await (const entry of await fs.opendir(directoryPath)) { + if ( + entry.isFile() && + !entry.name.startsWith('.') && + !entry.name.startsWith('_') && + path.extname(entry.name) !== '' + ) { + yield entry.name; + } + } } catch { throw BadOptionError.fromOption('directory', `Couldn't read directory: ${directoryPath}`); } -}; +} export const getMigrations = async (cwd: string, directory: string): Promise => { const directoryPath = path.resolve(cwd, directory); - const allFilesInMigrationDirectory = await tryReadDirectory(directoryPath); + const allFilesInMigrationDirectory = await arrayFromAsync(tryReadDirectory(directoryPath)); - const migrationFiles: MigrationMetadata[] = allFilesInMigrationDirectory - .filter((name) => !name.startsWith('.') && !name.startsWith('_') && path.extname(name) !== '') - .sort() - .map((name) => { - const filePath = path.join(directoryPath, name); + return allFilesInMigrationDirectory.sort().map((name) => { + const filePath = path.join(directoryPath, name); - return { - name, - filePath, - relativeFilePath: path.relative(cwd, filePath), - extension: withLeadingPeriod(path.extname(name)), - directory, - cwd, - }; - }); - - return migrationFiles; + return { + name, + filePath, + relativeFilePath: path.relative(cwd, filePath), + extension: withLeadingPeriod(path.extname(name)), + directory, + cwd, + } satisfies MigrationMetadata; + }); }; From f2d4bb346e02012322885b91b729c1bed196d7f4 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 26 Jan 2024 11:25:34 +0100 Subject: [PATCH 42/98] fix(cli): make sure errors passed to the storage are serialized correctly --- .changeset/sharp-cows-joke.md | 5 + packages/cli/src/commands/up.test.ts | 186 +++++++++++++++++++-------- packages/cli/src/errors.ts | 1 + 3 files changed, 138 insertions(+), 54 deletions(-) create mode 100644 .changeset/sharp-cows-joke.md diff --git a/.changeset/sharp-cows-joke.md b/.changeset/sharp-cows-joke.md new file mode 100644 index 0000000..db9d413 --- /dev/null +++ b/.changeset/sharp-cows-joke.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Set Emigrate error instance names from their respective constructor's name for consistency and correct error deserialization. diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index b55aabb..17f1b39 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -8,7 +8,7 @@ import { type SerializedError, type MigrationMetadataFinished, } from '@emigrate/types'; -import { deserializeError, serializeError } from 'serialize-error'; +import { deserializeError } from 'serialize-error'; import { version } from '../get-package-info.js'; import { BadOptionError, @@ -17,6 +17,7 @@ import { MigrationHistoryError, MigrationRunError, StorageInitError, + toSerializedError, } from '../errors.js'; import { toEntries, toEntry, toMigrations } from '../test-utils.js'; import upCommand from './up.js'; @@ -37,39 +38,43 @@ describe('up', () => { }); it('returns 0 and finishes without an error when there are no migrations to run', async () => { - const { reporter, run } = getUpCommand([], getStorage([])); + const storage = getStorage([]); + const { reporter, run } = getUpCommand([], storage); const exitCode = await run(); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, []); + assertPreconditionsFulfilled({ dry: false }, reporter, storage, []); }); it('returns 0 and finishes without an error when all migrations have already been run', async () => { - const { reporter, run } = getUpCommand(['my_migration.js'], getStorage(['my_migration.js'])); + const storage = getStorage(['my_migration.js']); + const { reporter, run } = getUpCommand(['my_migration.js'], storage); const exitCode = await run(); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, []); + assertPreconditionsFulfilled({ dry: false }, reporter, storage, []); }); it('returns 0 and finishes without an error when all migrations have already been run even when the history responds without file extensions', async () => { - const { reporter, run } = getUpCommand(['my_migration.js'], getStorage(['my_migration'])); + const storage = getStorage(['my_migration']); + const { reporter, run } = getUpCommand(['my_migration.js'], storage); const exitCode = await run(); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, []); + assertPreconditionsFulfilled({ dry: false }, reporter, storage, []); }); it('returns 0 and finishes without an error when all pending migrations are run successfully', async () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], - getStorage(['some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -83,7 +88,7 @@ describe('up', () => { const exitCode = await run(); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: 'some_migration.js', status: 'done', started: true }, { name: 'some_other_migration.js', status: 'done', started: true }, ]); @@ -91,9 +96,10 @@ describe('up', () => { }); it('returns 1 and finishes with an error when a pending migration throw when run', async () => { + const storage = getStorage(['some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'fail.js', 'some_other_migration.js'], - getStorage(['some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -114,6 +120,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: false }, reporter, + storage, [ { name: 'some_migration.js', status: 'done', started: true }, { name: 'fail.js', status: 'failed', started: true, error: new Error('Oh noes!') }, @@ -125,7 +132,8 @@ describe('up', () => { describe('each migration file extension needs a corresponding loader plugin', () => { it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin', async () => { - const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], getStorage([])); + const storage = getStorage([]); + const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], storage); const exitCode = await run(); @@ -133,6 +141,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: false }, reporter, + storage, [ { name: 'some_other.js', status: 'skipped' }, { @@ -146,7 +155,8 @@ describe('up', () => { }); it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin in dry-run mode as well', async () => { - const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], getStorage([])); + const storage = getStorage([]); + const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], storage); const exitCode = await run({ dry: true }); @@ -154,6 +164,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: true }, reporter, + storage, [ { name: 'some_other.js', status: 'skipped' }, { @@ -170,7 +181,8 @@ describe('up', () => { describe('failed migrations in the history are blocking', () => { it('returns 1 and finishes with an error when there are failed migrations in the history', async () => { const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], getStorage([failedEntry])); + const storage = getStorage([failedEntry]); + const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], storage); const exitCode = await run(); @@ -178,6 +190,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: false }, reporter, + storage, [ { name: 'some_failed_migration.js', @@ -198,7 +211,8 @@ describe('up', () => { it('returns 1 and finishes with an error when there are failed migrations in the history in dry-run mode as well', async () => { const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], getStorage([failedEntry])); + const storage = getStorage([failedEntry]); + const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], storage); const exitCode = await run({ dry: true }); @@ -206,6 +220,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: true }, reporter, + storage, [ { name: 'some_failed_migration.js', @@ -226,12 +241,13 @@ describe('up', () => { it('returns 0 and finishes without an error when the failed migrations in the history are not part of the current set of migrations', async () => { const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const { reporter, run } = getUpCommand([], getStorage([failedEntry])); + const storage = getStorage([failedEntry]); + const { reporter, run } = getUpCommand([], storage); const exitCode = await run(); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, []); + assertPreconditionsFulfilled({ dry: false }, reporter, storage, []); }); }); @@ -239,9 +255,10 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], - getStorage(['some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -255,7 +272,7 @@ describe('up', () => { const exitCode = await run({ limit: 1 }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: 'some_migration.js', status: 'done', started: true }, { name: 'some_other_migration.js', status: 'skipped' }, ]); @@ -264,15 +281,16 @@ describe('up', () => { describe('limiting which pending migrations to run', () => { it('returns 0 and finishes without an error with the given number of pending migrations are validated and listed successfully in dry-mode', async () => { + const storage = getStorage(['some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], - getStorage(['some_already_run_migration.js']), + storage, ); const exitCode = await run({ dry: true, limit: 1 }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: true }, reporter, [ + assertPreconditionsFulfilled({ dry: true }, reporter, storage, [ { name: 'some_migration.js', status: 'pending' }, { name: 'some_other_migration.js', status: 'skipped' }, ]); @@ -282,6 +300,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -289,7 +308,7 @@ describe('up', () => { '3_existing_migration.js', '4_some_other_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -303,7 +322,7 @@ describe('up', () => { const exitCode = await run({ from: '3_existing_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '3_existing_migration.js', status: 'done', started: true }, { name: '4_some_other_migration.js', status: 'done', started: true }, @@ -315,6 +334,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -322,7 +342,7 @@ describe('up', () => { '3_existing_migration.js', '4_some_other_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -336,7 +356,7 @@ describe('up', () => { const exitCode = await run({ from: 'migrations/3_existing_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '3_existing_migration.js', status: 'done', started: true }, { name: '4_some_other_migration.js', status: 'done', started: true }, @@ -348,9 +368,10 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -364,7 +385,7 @@ describe('up', () => { const exitCode = await run({ from: '1_some_already_run_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: '2_some_migration.js', status: 'done', started: true }, { name: '4_some_other_migration.js', status: 'done', started: true }, ]); @@ -375,9 +396,10 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -394,6 +416,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: false }, reporter, + storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '4_some_other_migration.js', status: 'skipped' }, @@ -407,15 +430,16 @@ describe('up', () => { }); it('returns 0 and finishes without an error when pending migrations after given "from" parameter are validated and listed successfully in dry-mode', async () => { + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '3_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), + storage, ); const exitCode = await run({ dry: true, from: '3_some_other_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: true }, reporter, [ + assertPreconditionsFulfilled({ dry: true }, reporter, storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '3_some_other_migration.js', status: 'pending' }, ]); @@ -425,6 +449,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -432,7 +457,7 @@ describe('up', () => { '3_existing_migration.js', '4_some_other_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -446,7 +471,7 @@ describe('up', () => { const exitCode = await run({ to: '3_existing_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: '2_some_migration.js', status: 'done', started: true }, { name: '3_existing_migration.js', status: 'done', started: true }, { name: '4_some_other_migration.js', status: 'skipped' }, @@ -458,9 +483,10 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -477,6 +503,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: false }, reporter, + storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '4_some_other_migration.js', status: 'skipped' }, @@ -490,9 +517,10 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -506,7 +534,7 @@ describe('up', () => { const exitCode = await run({ to: '1_some_already_run_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '4_some_other_migration.js', status: 'skipped' }, ]); @@ -514,6 +542,7 @@ describe('up', () => { }); it('returns 0 and finishes without an error when pending migrations after given "to" parameter are validated and listed successfully in dry-mode', async () => { + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -521,13 +550,13 @@ describe('up', () => { '3_existing_migration.js', '4_some_other_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, ); const exitCode = await run({ dry: true, to: '3_existing_migration.js' }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: true }, reporter, [ + assertPreconditionsFulfilled({ dry: true }, reporter, storage, [ { name: '2_some_migration.js', status: 'pending' }, { name: '3_existing_migration.js', status: 'pending' }, { name: '4_some_other_migration.js', status: 'skipped' }, @@ -538,6 +567,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -547,7 +577,7 @@ describe('up', () => { '5_yet_another_migration.js', '6_some_more_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -561,7 +591,7 @@ describe('up', () => { const exitCode = await run({ from: '3_another_migration.js', to: '5_yet_another_migration.js', limit: 2 }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '3_another_migration.js', status: 'done', started: true }, { name: '4_some_other_migration.js', status: 'done', started: true }, @@ -577,6 +607,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -586,7 +617,7 @@ describe('up', () => { '5_yet_another_migration.js', '6_some_more_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -605,7 +636,7 @@ describe('up', () => { }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '3_another_migration.js', status: 'done', started: true }, { name: '4_some_other_migration.js', status: 'done', started: true }, @@ -620,6 +651,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -629,7 +661,7 @@ describe('up', () => { '5_yet_another_migration.js', '6_some_more_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -648,7 +680,7 @@ describe('up', () => { }); assert.strictEqual(exitCode, 0, 'Exit code'); - assertPreconditionsFulfilled({ dry: false }, reporter, [ + assertPreconditionsFulfilled({ dry: false }, reporter, storage, [ { name: '2_some_migration.js', status: 'skipped' }, { name: '3_another_migration.js', status: 'done', started: true }, { name: '4_some_other_migration.sql', status: 'done', started: true }, @@ -671,6 +703,7 @@ describe('up', () => { }, { times: 1 }, ); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -680,7 +713,7 @@ describe('up', () => { '5_yet_another_migration.js', '6_some_more_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -699,6 +732,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: false }, reporter, + storage, [ { name: '2_some_migration.js', status: 'done', started: true }, { name: '3_another_migration.js', status: 'done', started: true }, @@ -728,6 +762,7 @@ describe('up', () => { }, { times: 1 }, ); + const storage = getStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -737,7 +772,7 @@ describe('up', () => { '5_yet_another_migration.js', '6_some_more_migration.js', ], - getStorage(['1_some_already_run_migration.js']), + storage, [ { loadableExtensions: ['.js'], @@ -757,6 +792,7 @@ describe('up', () => { assertPreconditionsFulfilled( { dry: false }, reporter, + storage, [ { name: '2_some_migration.js', status: 'done', started: true }, { @@ -864,6 +900,7 @@ function getUpCommand(migrationFiles: string[], storage?: Mocked, plugi function assertPreconditionsFulfilled( options: { dry: boolean }, reporter: Mocked>, + storage: Mocked, expected: Array<{ name: string; status: MigrationMetadataFinished['status']; started?: boolean; error?: Error }>, finishedError?: Error, ) { @@ -884,7 +921,9 @@ function assertPreconditionsFulfilled( let failed = 0; let skipped = 0; let pending = 0; + let failedAndStarted = 0; const failedEntries: typeof expected = []; + const successfulEntries: typeof expected = []; for (const entry of expected) { if (entry.started) { @@ -895,12 +934,22 @@ function assertPreconditionsFulfilled( switch (entry.status) { case 'done': { done++; + + if (entry.started) { + successfulEntries.push(entry); + } + break; } case 'failed': { failed++; failedEntries.push(entry); + + if (entry.started) { + failedAndStarted++; + } + break; } @@ -922,28 +971,29 @@ function assertPreconditionsFulfilled( assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, done, 'Successful migrations'); assert.strictEqual(reporter.onMigrationError.mock.calls.length, failed, 'Failed migrations'); + assert.strictEqual(storage.onSuccess.mock.calls.length, successfulEntries.length, 'Storage onSuccess calls'); + assert.strictEqual(storage.onError.mock.calls.length, failedAndStarted, 'Storage onError calls'); + for (const [index, entry] of failedEntries.entries()) { if (entry.status === 'failed') { const error = reporter.onMigrationError.mock.calls[index]?.arguments[1]; assert.deepStrictEqual(error, entry.error, 'Error'); const cause = entry.error?.cause; assert.deepStrictEqual(error?.cause, cause ? deserializeError(cause) : cause, 'Error cause'); + + if (entry.started) { + const [finishedMigration, error] = storage.onError.mock.calls[index]?.arguments ?? []; + assert.strictEqual(finishedMigration?.name, entry.name); + assert.strictEqual(finishedMigration?.status, entry.status); + assertErrorEqualEnough(error, entry.error); + } } } assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, pending + skipped, 'Total pending and skipped'); assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - if (finishedError instanceof DOMException || error instanceof DOMException) { - // The assert library doesn't support DOMException apparently, so ugly workaround here: - assert.deepStrictEqual( - deserializeError(serializeError(error)), - deserializeError(serializeError(finishedError)), - 'Finished error', - ); - } else { - assert.deepStrictEqual(error, finishedError, 'Finished error'); - } + assertErrorEqualEnough(error, finishedError); const cause = getErrorCause(error); const expectedCause = finishedError?.cause; @@ -958,6 +1008,14 @@ function assertPreconditionsFulfilled( expected.map((entry) => `${entry.name} (${entry.status})`), 'Finished entries', ); + + for (const [index, entry] of successfulEntries.entries()) { + const [finishedMigration] = storage.onSuccess.mock.calls[index]?.arguments ?? []; + assert.strictEqual(finishedMigration?.name, entry.name); + assert.strictEqual(finishedMigration?.status, entry.status); + } + + assert.strictEqual(storage.end.mock.calls.length, 1, 'Storage end should always be called'); } function assertPreconditionsFailed( @@ -994,3 +1052,23 @@ function assertPreconditionsFailed( ); assert.strictEqual(entries?.length, 0, 'Finished entries length'); } + +function assertErrorEqualEnough(actual?: Error | SerializedError, expected?: Error) { + if (expected === undefined) { + assert.strictEqual(actual, undefined); + return; + } + + const { + cause: actualCause, + stack: actualStack, + ...actualError + } = actual instanceof Error ? toSerializedError(actual) : actual ?? {}; + const { cause: expectedCause, stack: expectedStack, ...expectedError } = toSerializedError(expected); + // @ts-expect-error Ignore + const { stack: actualCauseStack, ...actualCauseRest } = actualCause ?? {}; + // @ts-expect-error Ignore + const { stack: expectedCauseStack, ...expectedCauseRest } = expectedCause ?? {}; + assert.deepStrictEqual(actualError, expectedError); + assert.deepStrictEqual(actualCauseRest, expectedCauseRest); +} diff --git a/packages/cli/src/errors.ts b/packages/cli/src/errors.ts index b867021..8582050 100644 --- a/packages/cli/src/errors.ts +++ b/packages/cli/src/errors.ts @@ -23,6 +23,7 @@ export class EmigrateError extends Error { public code?: string, ) { super(message, options); + this.name = this.constructor.name; } } From 94ad9feae95ea5cc0728220211d3cc0fe503a35f Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 26 Jan 2024 15:05:06 +0100 Subject: [PATCH 43/98] feat(types): simplify the EmigrateReporter interface by removing the "remove" specific methods --- .changeset/eleven-files-love.md | 5 +++++ packages/types/src/index.ts | 29 +++++++---------------------- 2 files changed, 12 insertions(+), 22 deletions(-) create mode 100644 .changeset/eleven-files-love.md diff --git a/.changeset/eleven-files-love.md b/.changeset/eleven-files-love.md new file mode 100644 index 0000000..c4fbcd7 --- /dev/null +++ b/.changeset/eleven-files-love.md @@ -0,0 +1,5 @@ +--- +'@emigrate/types': minor +--- + +Remove the "remove" command specific reporter methods. So instead of using `onMigrationRemoveStart`, `onMigrationRemoveSuccess` and `onMigrationRemoveError` the `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` methods should be used and the reporter can still format the output differently depending on the current command (which it receives in the `onInit` method). This is a BREAKING CHANGE. diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 89a546a..9461bd9 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -272,36 +272,20 @@ export type EmigrateReporter = Partial<{ * This is only called when the command is 'new'. */ onNewMigration(migration: MigrationMetadata, content: string): Awaitable; - /** - * Called when a migration is about to be removed from the migration history. - * - * This is only called when the command is 'remove'. - */ - onMigrationRemoveStart(migration: MigrationMetadata): Awaitable; - /** - * Called when a migration is successfully removed from the migration history. - * - * This is only called when the command is 'remove'. - */ - onMigrationRemoveSuccess(migration: SuccessfulMigrationMetadata): Awaitable; - /** - * Called when a migration couldn't be removed from the migration history. - * - * This is only called when the command is 'remove'. - */ - onMigrationRemoveError(migration: FailedMigrationMetadata, error: Error): Awaitable; /** * Called when a migration is about to be executed. * - * Will only be called for each migration when the command is "up". + * Will be called for each migration when the command is "up", + * or before removing each migration from the history when the command is "remove". * - * @param migration Information about the migration that is about to be executed. + * @param migration Information about the migration that is about to be executed/removed. */ onMigrationStart(migration: MigrationMetadata): Awaitable; /** * Called when a migration has been successfully executed. * - * Will be called after a successful migration when the command is "up" + * Will be called after a successful migration when the command is "up", + * or after a successful removal of a migration from the history when the command is "remove", * or for each successful migration from the history when the command is "list". * * @param migration Information about the migration that was executed. @@ -310,7 +294,8 @@ export type EmigrateReporter = Partial<{ /** * Called when a migration has failed. * - * Will be called after a failed migration when the command is "up" + * Will be called after a failed migration when the command is "up", + * or after a failed removal of a migration from the history when the command is "remove", * or for each failed migration from the history when the command is "list" (will be at most one in this case). * * @param migration Information about the migration that failed. From 86e0d52e5c7bcd538c10e52c573fc66055460041 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 26 Jan 2024 15:05:43 +0100 Subject: [PATCH 44/98] feat(reporter-pino): adapt to the new Reporter interface --- .changeset/tame-apples-lick.md | 5 ++++ packages/reporter-pino/src/index.ts | 36 +++++++++-------------------- 2 files changed, 16 insertions(+), 25 deletions(-) create mode 100644 .changeset/tame-apples-lick.md diff --git a/.changeset/tame-apples-lick.md b/.changeset/tame-apples-lick.md new file mode 100644 index 0000000..ef6ad0a --- /dev/null +++ b/.changeset/tame-apples-lick.md @@ -0,0 +1,5 @@ +--- +'@emigrate/reporter-pino': minor +--- + +Adapt to the new Reporter interface, i.e. the removal of the "remove" command related methods diff --git a/packages/reporter-pino/src/index.ts b/packages/reporter-pino/src/index.ts index 942c55d..a6c519c 100644 --- a/packages/reporter-pino/src/index.ts +++ b/packages/reporter-pino/src/index.ts @@ -104,27 +104,14 @@ class PinoReporter implements Required { ); } - onMigrationRemoveStart(migration: MigrationMetadata): Awaitable { - this.#logger.debug({ migration: migration.relativeFilePath }, `Removing migration: ${migration.name}`); - } - - onMigrationRemoveSuccess(migration: MigrationMetadataFinished): Awaitable { - this.#logger.info({ migration: migration.relativeFilePath }, `Successfully removed migration: ${migration.name}`); - } - - onMigrationRemoveError(migration: MigrationMetadataFinished, error: Error): Awaitable { - this.#logger.error( - { migration: migration.relativeFilePath, [this.errorKey]: error }, - `Failed to remove migration: ${migration.name}`, - ); - } - onMigrationStart(migration: MigrationMetadata): Awaitable { - this.#logger.info({ migration: migration.relativeFilePath }, `${migration.name} (running)`); + const status = this.#command === 'up' ? 'running' : 'removing'; + this.#logger.info({ migration: migration.relativeFilePath }, `${migration.name} (${status})`); } onMigrationSuccess(migration: MigrationMetadataFinished): Awaitable { - this.#logger.info({ migration: migration.relativeFilePath }, `${migration.name} (${migration.status})`); + const status = this.#command === 'up' ? 'done' : 'removed'; + this.#logger.info({ migration: migration.relativeFilePath }, `${migration.name} (${status})`); } onMigrationError(migration: MigrationMetadataFinished, error: Error): Awaitable { @@ -174,16 +161,15 @@ class PinoReporter implements Required { } } + const result = + this.#command === 'remove' + ? { removed: done, failed, skipped, pending, total } + : { done, failed, skipped, pending, total }; + if (error) { - this.#logger.error( - { result: { failed, done, skipped, pending, total }, [this.errorKey]: error }, - `Emigrate "${this.#command}" failed`, - ); + this.#logger.error({ result, [this.errorKey]: error }, `Emigrate "${this.#command}" failed`); } else { - this.#logger.info( - { result: { failed, done, skipped, pending, total } }, - `Emigrate "${this.#command}" finished successfully`, - ); + this.#logger.info({ result }, `Emigrate "${this.#command}" finished successfully`); } } } From 1f139fd975b7b8a0ee5d3a0d070dc5dd58508547 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 26 Jan 2024 15:11:02 +0100 Subject: [PATCH 45/98] feat(remove): rework the "remove" command to be more similar to "up" and "list" The old reporter methods related to the "remove" command is not used anymore and instead the shared `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` methods are used. Some preparation has also been made to support for removing multiple migrations at once in the future, similar to how the `--from` and `--to` CLI options work for the "up" command. --- .changeset/thin-pillows-obey.md | 5 + packages/cli/src/array-map-async.ts | 5 + packages/cli/src/cli.ts | 3 +- packages/cli/src/commands/list.ts | 6 + packages/cli/src/commands/remove.test.ts | 306 +++++++++++++++++++++++ packages/cli/src/commands/remove.ts | 157 +++++++----- packages/cli/src/commands/up.test.ts | 119 +++------ packages/cli/src/commands/up.ts | 15 +- packages/cli/src/errors.ts | 11 + packages/cli/src/migration-runner.ts | 53 ++-- packages/cli/src/reporters/default.ts | 64 ++--- packages/cli/src/test-utils.ts | 58 +++++ 12 files changed, 593 insertions(+), 209 deletions(-) create mode 100644 .changeset/thin-pillows-obey.md create mode 100644 packages/cli/src/array-map-async.ts create mode 100644 packages/cli/src/commands/remove.test.ts diff --git a/.changeset/thin-pillows-obey.md b/.changeset/thin-pillows-obey.md new file mode 100644 index 0000000..2f94c63 --- /dev/null +++ b/.changeset/thin-pillows-obey.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Completely rework how the "remove" command is run, this is to make it more similar to the "up" and "list" command as now it will also use the `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` reporter methods when reporting the command progress. It's also in preparation for adding `--from` and `--to` CLI options for the "remove" command, similar to how the same options work for the "up" command. diff --git a/packages/cli/src/array-map-async.ts b/packages/cli/src/array-map-async.ts new file mode 100644 index 0000000..e602c5a --- /dev/null +++ b/packages/cli/src/array-map-async.ts @@ -0,0 +1,5 @@ +export async function* arrayMapAsync(iterable: AsyncIterable, mapper: (item: T) => U): AsyncIterable { + for await (const item of iterable) { + yield mapper(item); + } +} diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index d6a2e81..bd74870 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -457,8 +457,7 @@ Options: For example if you want to use Dotenv to load environment variables -r, --reporter The reporter to use for reporting the removal process -s, --storage The storage to use to get the migration history (required) - -f, --force Force removal of the migration history entry even if the migration file does not exist - or it's in a non-failed state + -f, --force Force removal of the migration history entry even if the migration is not in a failed state --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) diff --git a/packages/cli/src/commands/list.ts b/packages/cli/src/commands/list.ts index 8d40265..0dcdcf9 100644 --- a/packages/cli/src/commands/list.ts +++ b/packages/cli/src/commands/list.ts @@ -62,6 +62,12 @@ export default async function listCommand({ async execute() { throw new Error('Unexpected execute call'); }, + async onSuccess() { + throw new Error('Unexpected onSuccess call'); + }, + async onError() { + throw new Error('Unexpected onError call'); + }, }); return error ? 1 : 0; diff --git a/packages/cli/src/commands/remove.test.ts b/packages/cli/src/commands/remove.test.ts new file mode 100644 index 0000000..a283551 --- /dev/null +++ b/packages/cli/src/commands/remove.test.ts @@ -0,0 +1,306 @@ +import { describe, it } from 'node:test'; +import assert from 'node:assert'; +import { type EmigrateReporter, type Storage, type Plugin, type MigrationMetadataFinished } from '@emigrate/types'; +import { deserializeError } from 'serialize-error'; +import { version } from '../get-package-info.js'; +import { + BadOptionError, + MigrationNotRunError, + MigrationRemovalError, + OptionNeededError, + StorageInitError, +} from '../errors.js'; +import { + getErrorCause, + getMockedReporter, + getMockedStorage, + toEntry, + toMigrations, + type Mocked, +} from '../test-utils.js'; +import removeCommand from './remove.js'; + +describe('remove', () => { + it("returns 1 and finishes with an error when the storage couldn't be initialized", async () => { + const { reporter, run } = getRemoveCommand([]); + + const exitCode = await run('some_migration.js'); + + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFailed(reporter, StorageInitError.fromError(new Error('No storage configured'))); + }); + + it('returns 1 and finishes with an error when the given migration has not been executed', async () => { + const storage = getMockedStorage(['some_other_migration.js']); + const { reporter, run } = getRemoveCommand(['some_migration.js'], storage); + + const exitCode = await run('some_migration.js'); + + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFulfilled( + reporter, + storage, + [ + { + name: 'some_migration.js', + status: 'failed', + error: new MigrationNotRunError('Migration "some_migration.js" is not in the migration history'), + }, + ], + new MigrationNotRunError('Migration "some_migration.js" is not in the migration history'), + ); + }); + + it('returns 1 and finishes with an error when the given migration is not in a failed state in the history', async () => { + const storage = getMockedStorage(['1_old_migration.js', '2_some_migration.js', '3_new_migration.js']); + const { reporter, run } = getRemoveCommand(['2_some_migration.js'], storage); + + const exitCode = await run('2_some_migration.js'); + + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFulfilled( + reporter, + storage, + [ + { + name: '2_some_migration.js', + status: 'failed', + error: OptionNeededError.fromOption( + 'force', + 'The migration "2_some_migration.js" is not in a failed state. Use the "force" option to force its removal', + ), + }, + ], + OptionNeededError.fromOption( + 'force', + 'The migration "2_some_migration.js" is not in a failed state. Use the "force" option to force its removal', + ), + ); + }); + + it('returns 1 and finishes with an error when the given migration does not exist at all', async () => { + const storage = getMockedStorage(['some_migration.js']); + const { reporter, run } = getRemoveCommand(['some_migration.js'], storage); + + const exitCode = await run('some_other_migration.js'); + + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFulfilled( + reporter, + storage, + [], + BadOptionError.fromOption('name', 'The migration: "migrations/some_other_migration.js" was not found'), + ); + }); + + it('returns 0, removes the migration from the history and finishes without an error when the given migration is in a failed state', async () => { + const storage = getMockedStorage([toEntry('some_migration.js', 'failed')]); + const { reporter, run } = getRemoveCommand(['some_migration.js'], storage); + + const exitCode = await run('some_migration.js'); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled(reporter, storage, [{ name: 'some_migration.js', status: 'done', started: true }]); + }); + + it('returns 0, removes the migration from the history and finishes without an error when the given migration is not in a failed state but "force" is true', async () => { + const storage = getMockedStorage(['1_old_migration.js', '2_some_migration.js', '3_new_migration.js']); + const { reporter, run } = getRemoveCommand(['2_some_migration.js'], storage); + + const exitCode = await run('2_some_migration.js', { force: true }); + + assert.strictEqual(exitCode, 0, 'Exit code'); + assertPreconditionsFulfilled(reporter, storage, [{ name: '2_some_migration.js', status: 'done', started: true }]); + }); + + it('returns 1 and finishes with an error when the removal of the migration crashes', async () => { + const storage = getMockedStorage([toEntry('some_migration.js', 'failed')]); + storage.remove.mock.mockImplementation(async () => { + throw new Error('Some error'); + }); + const { reporter, run } = getRemoveCommand(['some_migration.js'], storage); + + const exitCode = await run('some_migration.js'); + + assert.strictEqual(exitCode, 1, 'Exit code'); + assertPreconditionsFulfilled( + reporter, + storage, + [ + { + name: 'some_migration.js', + status: 'failed', + error: new Error('Some error'), + started: true, + }, + ], + new MigrationRemovalError('Failed to remove migration: migrations/some_migration.js', { + cause: new Error('Some error'), + }), + ); + }); +}); + +function getRemoveCommand(migrationFiles: string[], storage?: Mocked, plugins?: Plugin[]) { + const reporter = getMockedReporter(); + + const run = async ( + name: string, + options?: Omit[0], 'cwd' | 'directory' | 'storage' | 'reporter' | 'plugins'>, + ) => { + return removeCommand( + { + cwd: '/emigrate', + directory: 'migrations', + storage: { + async initializeStorage() { + if (!storage) { + throw new Error('No storage configured'); + } + + return storage; + }, + }, + reporter, + plugins: plugins ?? [], + async getMigrations(cwd, directory) { + return toMigrations(cwd, directory, migrationFiles); + }, + ...options, + }, + name, + ); + }; + + return { + reporter, + storage, + run, + }; +} + +function assertPreconditionsFailed(reporter: Mocked>, finishedError?: Error) { + assert.strictEqual(reporter.onInit.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ + { + command: 'remove', + cwd: '/emigrate', + version, + dry: false, + color: undefined, + directory: 'migrations', + }, + ]); + assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 0, 'Collected call'); + assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 0, 'Locked call'); + assert.strictEqual(reporter.onMigrationStart.mock.calls.length, 0, 'Started migrations'); + assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, 0, 'Successful migrations'); + assert.strictEqual(reporter.onMigrationError.mock.calls.length, 0, 'Failed migrations'); + assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0, 'Total pending and skipped'); + assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); + const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; + assert.deepStrictEqual(error, finishedError, 'Finished error'); + const cause = getErrorCause(error); + const expectedCause = finishedError?.cause; + assert.deepStrictEqual( + cause, + expectedCause ? deserializeError(expectedCause) : expectedCause, + 'Finished error cause', + ); + assert.strictEqual(entries?.length, 0, 'Finished entries length'); +} + +function assertPreconditionsFulfilled( + reporter: Mocked>, + storage: Mocked, + expected: Array<{ name: string; status: MigrationMetadataFinished['status']; started?: boolean; error?: Error }>, + finishedError?: Error, +) { + assert.strictEqual(reporter.onInit.mock.calls.length, 1); + assert.deepStrictEqual(reporter.onInit.mock.calls[0]?.arguments, [ + { + command: 'remove', + cwd: '/emigrate', + version, + dry: false, + color: undefined, + directory: 'migrations', + }, + ]); + + let started = 0; + let done = 0; + let failed = 0; + let skipped = 0; + let pending = 0; + let failedAndStarted = 0; + const failedEntries: typeof expected = []; + const successfulEntries: typeof expected = []; + + for (const entry of expected) { + if (entry.started) { + started++; + } + + // eslint-disable-next-line default-case + switch (entry.status) { + case 'done': { + done++; + + if (entry.started) { + successfulEntries.push(entry); + } + + break; + } + + case 'failed': { + failed++; + failedEntries.push(entry); + + if (entry.started) { + failedAndStarted++; + } + + break; + } + + case 'skipped': { + skipped++; + break; + } + + case 'pending': { + pending++; + break; + } + } + } + + assert.strictEqual(reporter.onCollectedMigrations.mock.calls.length, 1, 'Collected call'); + assert.strictEqual(storage.lock.mock.calls.length, 0, 'Storage lock never called'); + assert.strictEqual(storage.unlock.mock.calls.length, 0, 'Storage unlock never called'); + assert.strictEqual(reporter.onLockedMigrations.mock.calls.length, 0, 'Locked call'); + assert.strictEqual(reporter.onMigrationStart.mock.calls.length, started, 'Started migrations'); + assert.strictEqual(reporter.onMigrationSuccess.mock.calls.length, successfulEntries.length, 'Successful migrations'); + assert.strictEqual(storage.remove.mock.calls.length, started, 'Storage remove called'); + assert.strictEqual(reporter.onMigrationError.mock.calls.length, failedEntries.length, 'Failed migrations'); + assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0, 'Total pending and skipped'); + assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); + const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; + assert.deepStrictEqual(error, finishedError, 'Finished error'); + const cause = getErrorCause(error); + const expectedCause = finishedError?.cause; + assert.deepStrictEqual( + cause, + expectedCause ? deserializeError(expectedCause) : expectedCause, + 'Finished error cause', + ); + assert.strictEqual(entries?.length, expected.length, 'Finished entries length'); + assert.deepStrictEqual( + entries.map((entry) => `${entry.name} (${entry.status})`), + expected.map((entry) => `${entry.name} (${entry.status})`), + 'Finished entries', + ); + assert.strictEqual(storage.end.mock.calls.length, 1, 'Storage end called once'); +} diff --git a/packages/cli/src/commands/remove.ts b/packages/cli/src/commands/remove.ts index cd2a42d..6b3d977 100644 --- a/packages/cli/src/commands/remove.ts +++ b/packages/cli/src/commands/remove.ts @@ -1,29 +1,44 @@ -import process from 'node:process'; +import path from 'node:path'; import { getOrLoadReporter, getOrLoadStorage } from '@emigrate/plugin-tools'; -import { type MigrationHistoryEntry, type MigrationMetadataFinished } from '@emigrate/types'; +import { type MigrationMetadata, isFinishedMigration } from '@emigrate/types'; import { BadOptionError, MigrationNotRunError, + MigrationRemovalError, MissingArgumentsError, MissingOptionError, OptionNeededError, StorageInitError, + toError, } from '../errors.js'; import { type Config } from '../types.js'; -import { getMigration } from '../get-migration.js'; -import { getDuration } from '../get-duration.js'; import { exec } from '../exec.js'; import { version } from '../get-package-info.js'; +import { collectMigrations } from '../collect-migrations.js'; +import { migrationRunner } from '../migration-runner.js'; +import { arrayMapAsync } from '../array-map-async.js'; +import { type GetMigrationsFunction } from '../get-migrations.js'; type ExtraFlags = { cwd: string; force?: boolean; + getMigrations?: GetMigrationsFunction; }; +type RemovableMigrationMetadata = MigrationMetadata & { originalStatus?: 'done' | 'failed' }; + const lazyDefaultReporter = async () => import('../reporters/default.js'); export default async function removeCommand( - { directory, reporter: reporterConfig, storage: storageConfig, color, cwd, force = false }: Config & ExtraFlags, + { + directory, + reporter: reporterConfig, + storage: storageConfig, + color, + cwd, + force = false, + getMigrations, + }: Config & ExtraFlags, name: string, ) { if (!directory) { @@ -59,71 +74,79 @@ export default async function removeCommand( return 1; } - const [migrationFile, fileError] = await exec(async () => getMigration(cwd, directory, name, !force)); + try { + const collectedMigrations = arrayMapAsync( + collectMigrations(cwd, directory, storage.getHistory(), getMigrations), + (migration) => { + if (isFinishedMigration(migration)) { + if (migration.status === 'failed') { + const { status, duration, error, ...pendingMigration } = migration; + const removableMigration: RemovableMigrationMetadata = { ...pendingMigration, originalStatus: status }; - if (fileError) { - await reporter.onFinished?.([], fileError); + return removableMigration; + } - await storage.end(); + if (migration.status === 'done') { + const { status, duration, ...pendingMigration } = migration; + const removableMigration: RemovableMigrationMetadata = { ...pendingMigration, originalStatus: status }; + + return removableMigration; + } + + throw new Error(`Unexpected migration status: ${migration.status}`); + } + + return migration as RemovableMigrationMetadata; + }, + ); + + if (!name.includes(path.sep)) { + name = path.join(directory, name); + } + + const error = await migrationRunner({ + dry: false, + lock: false, + name, + reporter, + storage, + migrations: collectedMigrations, + migrationFilter(migration) { + return migration.relativeFilePath === name; + }, + async validate(migration) { + if (migration.originalStatus === 'done' && !force) { + throw OptionNeededError.fromOption( + 'force', + `The migration "${migration.name}" is not in a failed state. Use the "force" option to force its removal`, + ); + } + + if (!migration.originalStatus) { + throw MigrationNotRunError.fromMetadata(migration); + } + }, + async execute(migration) { + try { + await storage.remove(migration); + } catch (error) { + throw MigrationRemovalError.fromMetadata(migration, toError(error)); + } + }, + async onSuccess() { + // No-op + }, + async onError() { + // No-op + }, + }); + + return error ? 1 : 0; + } catch (error) { + await reporter.onFinished?.([], toError(error)); return 1; + } finally { + await storage.end(); } - - const finishedMigrations: MigrationMetadataFinished[] = []; - let historyEntry: MigrationHistoryEntry | undefined; - let removalError: Error | undefined; - - for await (const migrationHistoryEntry of storage.getHistory()) { - if (migrationHistoryEntry.name !== migrationFile.name) { - continue; - } - - if (migrationHistoryEntry.status === 'done' && !force) { - removalError = OptionNeededError.fromOption( - 'force', - `The migration "${migrationFile.name}" is not in a failed state. Use the "force" option to force its removal`, - ); - } else { - historyEntry = migrationHistoryEntry; - } - } - - await reporter.onMigrationRemoveStart?.(migrationFile); - - const start = process.hrtime(); - - if (historyEntry) { - try { - await storage.remove(migrationFile); - - const duration = getDuration(start); - const finishedMigration: MigrationMetadataFinished = { ...migrationFile, status: 'done', duration }; - - await reporter.onMigrationRemoveSuccess?.(finishedMigration); - - finishedMigrations.push(finishedMigration); - } catch (error) { - removalError = error instanceof Error ? error : new Error(String(error)); - } - } else if (!removalError) { - removalError = MigrationNotRunError.fromMetadata(migrationFile); - } - - if (removalError) { - const duration = getDuration(start); - const finishedMigration: MigrationMetadataFinished = { - ...migrationFile, - status: 'failed', - error: removalError, - duration, - }; - await reporter.onMigrationRemoveError?.(finishedMigration, removalError); - finishedMigrations.push(finishedMigration); - } - - await reporter.onFinished?.(finishedMigrations, removalError); - - await storage.end(); - - return removalError ? 1 : 0; } diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index 17f1b39..869af10 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -1,8 +1,7 @@ -import { describe, it, mock, type Mock } from 'node:test'; +import { describe, it, mock } from 'node:test'; import assert from 'node:assert'; import { type EmigrateReporter, - type MigrationHistoryEntry, type Storage, type Plugin, type SerializedError, @@ -19,14 +18,16 @@ import { StorageInitError, toSerializedError, } from '../errors.js'; -import { toEntries, toEntry, toMigrations } from '../test-utils.js'; +import { + type Mocked, + toEntry, + toMigrations, + getMockedReporter, + getMockedStorage, + getErrorCause, +} from '../test-utils.js'; import upCommand from './up.js'; -type Mocked = { - // @ts-expect-error - This is a mock - [K in keyof T]: Mock; -}; - describe('up', () => { it("returns 1 and finishes with an error when the storage couldn't be initialized", async () => { const { reporter, run } = getUpCommand(['some_migration.js']); @@ -38,7 +39,7 @@ describe('up', () => { }); it('returns 0 and finishes without an error when there are no migrations to run', async () => { - const storage = getStorage([]); + const storage = getMockedStorage([]); const { reporter, run } = getUpCommand([], storage); const exitCode = await run(); @@ -48,7 +49,7 @@ describe('up', () => { }); it('returns 0 and finishes without an error when all migrations have already been run', async () => { - const storage = getStorage(['my_migration.js']); + const storage = getMockedStorage(['my_migration.js']); const { reporter, run } = getUpCommand(['my_migration.js'], storage); const exitCode = await run(); @@ -58,7 +59,7 @@ describe('up', () => { }); it('returns 0 and finishes without an error when all migrations have already been run even when the history responds without file extensions', async () => { - const storage = getStorage(['my_migration']); + const storage = getMockedStorage(['my_migration']); const { reporter, run } = getUpCommand(['my_migration.js'], storage); const exitCode = await run(); @@ -71,7 +72,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['some_already_run_migration.js']); + const storage = getMockedStorage(['some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], storage, @@ -96,7 +97,7 @@ describe('up', () => { }); it('returns 1 and finishes with an error when a pending migration throw when run', async () => { - const storage = getStorage(['some_already_run_migration.js']); + const storage = getMockedStorage(['some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'fail.js', 'some_other_migration.js'], storage, @@ -132,7 +133,7 @@ describe('up', () => { describe('each migration file extension needs a corresponding loader plugin', () => { it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin', async () => { - const storage = getStorage([]); + const storage = getMockedStorage([]); const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], storage); const exitCode = await run(); @@ -155,7 +156,7 @@ describe('up', () => { }); it('returns 1 and finishes with an error when there are migration file extensions without a corresponding loader plugin in dry-run mode as well', async () => { - const storage = getStorage([]); + const storage = getMockedStorage([]); const { reporter, run } = getUpCommand(['some_other.js', 'some_file.sql'], storage); const exitCode = await run({ dry: true }); @@ -181,7 +182,7 @@ describe('up', () => { describe('failed migrations in the history are blocking', () => { it('returns 1 and finishes with an error when there are failed migrations in the history', async () => { const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const storage = getStorage([failedEntry]); + const storage = getMockedStorage([failedEntry]); const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], storage); const exitCode = await run(); @@ -211,7 +212,7 @@ describe('up', () => { it('returns 1 and finishes with an error when there are failed migrations in the history in dry-run mode as well', async () => { const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const storage = getStorage([failedEntry]); + const storage = getMockedStorage([failedEntry]); const { reporter, run } = getUpCommand([failedEntry.name, 'some_file.js'], storage); const exitCode = await run({ dry: true }); @@ -241,7 +242,7 @@ describe('up', () => { it('returns 0 and finishes without an error when the failed migrations in the history are not part of the current set of migrations', async () => { const failedEntry = toEntry('some_failed_migration.js', 'failed'); - const storage = getStorage([failedEntry]); + const storage = getMockedStorage([failedEntry]); const { reporter, run } = getUpCommand([], storage); const exitCode = await run(); @@ -255,7 +256,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['some_already_run_migration.js']); + const storage = getMockedStorage(['some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], storage, @@ -281,7 +282,7 @@ describe('up', () => { describe('limiting which pending migrations to run', () => { it('returns 0 and finishes without an error with the given number of pending migrations are validated and listed successfully in dry-mode', async () => { - const storage = getStorage(['some_already_run_migration.js']); + const storage = getMockedStorage(['some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['some_already_run_migration.js', 'some_migration.js', 'some_other_migration.js'], storage, @@ -300,7 +301,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -334,7 +335,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -368,7 +369,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], storage, @@ -396,7 +397,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], storage, @@ -430,7 +431,7 @@ describe('up', () => { }); it('returns 0 and finishes without an error when pending migrations after given "from" parameter are validated and listed successfully in dry-mode', async () => { - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '3_some_other_migration.js'], storage, @@ -449,7 +450,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -483,7 +484,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], storage, @@ -517,7 +518,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( ['1_some_already_run_migration.js', '2_some_migration.js', '4_some_other_migration.js'], storage, @@ -542,7 +543,7 @@ describe('up', () => { }); it('returns 0 and finishes without an error when pending migrations after given "to" parameter are validated and listed successfully in dry-mode', async () => { - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -567,7 +568,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -607,7 +608,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -651,7 +652,7 @@ describe('up', () => { const migration = mock.fn(async () => { // Success }); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -703,7 +704,7 @@ describe('up', () => { }, { times: 1 }, ); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -762,7 +763,7 @@ describe('up', () => { }, { times: 1 }, ); - const storage = getStorage(['1_some_already_run_migration.js']); + const storage = getMockedStorage(['1_some_already_run_migration.js']); const { reporter, run } = getUpCommand( [ '1_some_already_run_migration.js', @@ -812,56 +813,8 @@ describe('up', () => { }); }); -function getErrorCause(error: Error | undefined): Error | SerializedError | undefined { - if (error?.cause instanceof Error) { - return error.cause; - } - - if (typeof error?.cause === 'object' && error.cause !== null) { - return error.cause as unknown as SerializedError; - } - - return undefined; -} - -async function noop() { - // noop -} - -function getStorage(historyEntries: Array) { - const storage: Mocked = { - lock: mock.fn(async (migrations) => migrations), - unlock: mock.fn(async () => { - // void - }), - getHistory: mock.fn(async function* () { - yield* toEntries(historyEntries); - }), - remove: mock.fn(), - onSuccess: mock.fn(), - onError: mock.fn(), - end: mock.fn(), - }; - - return storage; -} - function getUpCommand(migrationFiles: string[], storage?: Mocked, plugins?: Plugin[]) { - const reporter: Mocked> = { - onFinished: mock.fn(noop), - onInit: mock.fn(noop), - onAbort: mock.fn(noop), - onCollectedMigrations: mock.fn(noop), - onLockedMigrations: mock.fn(noop), - onNewMigration: mock.fn(noop), - onMigrationRemoveStart: mock.fn(noop), - onMigrationRemoveSuccess: mock.fn(noop), - onMigrationRemoveError: mock.fn(noop), - onMigrationStart: mock.fn(noop), - onMigrationSuccess: mock.fn(noop), - onMigrationError: mock.fn(noop), - onMigrationSkip: mock.fn(noop), - }; + const reporter = getMockedReporter(); const run = async ( options?: Omit< diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index 5488f2a..e0faba4 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -1,7 +1,14 @@ import path from 'node:path'; import { getOrLoadPlugins, getOrLoadReporter, getOrLoadStorage } from '@emigrate/plugin-tools'; import { isFinishedMigration, type LoaderPlugin } from '@emigrate/types'; -import { BadOptionError, MigrationLoadError, MissingOptionError, StorageInitError, toError } from '../errors.js'; +import { + BadOptionError, + MigrationLoadError, + MissingOptionError, + StorageInitError, + toError, + toSerializedError, +} from '../errors.js'; import { type Config } from '../types.js'; import { withLeadingPeriod } from '../with-leading-period.js'; import { type GetMigrationsFunction } from '../get-migrations.js'; @@ -138,6 +145,12 @@ export default async function upCommand({ await migrationFunction(); }, + async onSuccess(migration) { + await storage.onSuccess(migration); + }, + async onError(migration, error) { + await storage.onError(migration, toSerializedError(error)); + }, }); return error ? 1 : 0; diff --git a/packages/cli/src/errors.ts b/packages/cli/src/errors.ts index 8582050..5e276bb 100644 --- a/packages/cli/src/errors.ts +++ b/packages/cli/src/errors.ts @@ -137,6 +137,16 @@ export class MigrationNotRunError extends EmigrateError { } } +export class MigrationRemovalError extends EmigrateError { + static fromMetadata(metadata: MigrationMetadata, cause?: Error) { + return new MigrationRemovalError(`Failed to remove migration: ${metadata.relativeFilePath}`, { cause }); + } + + constructor(message: string | undefined, options?: ErrorOptions) { + super(message, options, 'ERR_MIGRATION_REMOVE'); + } +} + export class StorageInitError extends EmigrateError { static fromError(error: Error) { return new StorageInitError('Could not initialize storage', { cause: error }); @@ -182,6 +192,7 @@ errorConstructors.set('MigrationHistoryError', MigrationHistoryError as unknown errorConstructors.set('MigrationLoadError', MigrationLoadError as unknown as ErrorConstructor); errorConstructors.set('MigrationRunError', MigrationRunError as unknown as ErrorConstructor); errorConstructors.set('MigrationNotRunError', MigrationNotRunError as unknown as ErrorConstructor); +errorConstructors.set('MigrationRemovalError', MigrationRemovalError as unknown as ErrorConstructor); errorConstructors.set('StorageInitError', StorageInitError as unknown as ErrorConstructor); errorConstructors.set('CommandAbortError', CommandAbortError as unknown as ErrorConstructor); errorConstructors.set('ExecutionDesertedError', ExecutionDesertedError as unknown as ErrorConstructor); diff --git a/packages/cli/src/migration-runner.ts b/packages/cli/src/migration-runner.ts index a8ee424..1aeea3f 100644 --- a/packages/cli/src/migration-runner.ts +++ b/packages/cli/src/migration-runner.ts @@ -9,28 +9,34 @@ import { type FailedMigrationMetadata, type SuccessfulMigrationMetadata, } from '@emigrate/types'; -import { toError, EmigrateError, MigrationRunError, toSerializedError, BadOptionError } from './errors.js'; +import { toError, EmigrateError, MigrationRunError, BadOptionError } from './errors.js'; import { exec } from './exec.js'; import { getDuration } from './get-duration.js'; -type MigrationRunnerParameters = { +type MigrationRunnerParameters = { dry: boolean; + lock?: boolean; limit?: number; + name?: string; from?: string; to?: string; abortSignal?: AbortSignal; abortRespite?: number; reporter: EmigrateReporter; storage: Storage; - migrations: AsyncIterable; - migrationFilter?: (migration: MigrationMetadata | MigrationMetadataFinished) => boolean; - validate: (migration: MigrationMetadata) => Promise; - execute: (migration: MigrationMetadata) => Promise; + migrations: AsyncIterable; + migrationFilter?: (migration: T) => boolean; + validate: (migration: T) => Promise; + execute: (migration: T) => Promise; + onSuccess: (migration: SuccessfulMigrationMetadata) => Promise; + onError: (migration: FailedMigrationMetadata, error: Error) => Promise; }; -export const migrationRunner = async ({ +export const migrationRunner = async ({ dry, + lock = true, limit, + name, from, to, abortSignal, @@ -40,8 +46,10 @@ export const migrationRunner = async ({ migrations, validate, execute, + onSuccess, + onError, migrationFilter = () => true, -}: MigrationRunnerParameters): Promise => { +}: MigrationRunnerParameters): Promise => { const collectedMigrations: Array = []; const validatedMigrations: Array = []; const migrationsToLock: MigrationMetadata[] = []; @@ -64,10 +72,15 @@ export const migrationRunner = async ({ { once: true }, ); + let nameFound = false; let fromFound = false; let toFound = false; for await (const migration of migrations) { + if (name && migration.relativeFilePath === name) { + nameFound = true; + } + if (from && migration.relativeFilePath === from) { fromFound = true; } @@ -129,7 +142,9 @@ export const migrationRunner = async ({ let optionError: Error | undefined; - if (from && !fromFound) { + if (name && !nameFound) { + optionError = BadOptionError.fromOption('name', `The migration: "${name}" was not found`); + } else if (from && !fromFound) { optionError = BadOptionError.fromOption('from', `The "from" migration: "${from}" was not found`); } else if (to && !toFound) { optionError = BadOptionError.fromOption('to', `The "to" migration: "${to}" was not found`); @@ -151,9 +166,10 @@ export const migrationRunner = async ({ migrationsToLock.length = 0; } - const [lockedMigrations, lockError] = dry - ? [migrationsToLock] - : await exec(async () => storage.lock(migrationsToLock), { abortSignal, abortRespite }); + const [lockedMigrations, lockError] = + dry || !lock + ? [migrationsToLock] + : await exec(async () => storage.lock(migrationsToLock), { abortSignal, abortRespite }); if (lockError) { for (const migration of migrationsToLock) { @@ -168,7 +184,7 @@ export const migrationRunner = async ({ migrationsToLock.length = 0; skip = true; - } else { + } else if (lock) { for (const migration of migrationsToLock) { const isLocked = lockedMigrations.some((lockedMigration) => lockedMigration.name === migration.name); @@ -231,7 +247,7 @@ export const migrationRunner = async ({ const start = hrtime(); - const [, migrationError] = await exec(async () => execute(migration), { abortSignal, abortRespite }); + const [, migrationError] = await exec(async () => execute(migration as T), { abortSignal, abortRespite }); const duration = getDuration(start); @@ -242,7 +258,7 @@ export const migrationRunner = async ({ duration, error: migrationError, }; - await storage.onError(finishedMigration, toSerializedError(migrationError)); + await onError(finishedMigration, migrationError); await reporter.onMigrationError?.(finishedMigration, migrationError); finishedMigrations.push(finishedMigration); skip = true; @@ -252,15 +268,14 @@ export const migrationRunner = async ({ status: 'done', duration, }; - await storage.onSuccess(finishedMigration); + await onSuccess(finishedMigration); await reporter.onMigrationSuccess?.(finishedMigration); finishedMigrations.push(finishedMigration); } } - const [, unlockError] = dry - ? [] - : await exec(async () => storage.unlock(lockedMigrations ?? []), { abortSignal, abortRespite }); + const [, unlockError] = + dry || !lock ? [] : await exec(async () => storage.unlock(lockedMigrations ?? []), { abortSignal, abortRespite }); // eslint-disable-next-line unicorn/no-array-callback-reference const firstFailed = finishedMigrations.find(isFailedMigration); diff --git a/packages/cli/src/reporters/default.ts b/packages/cli/src/reporters/default.ts index 1caeda7..c1bc4d1 100644 --- a/packages/cli/src/reporters/default.ts +++ b/packages/cli/src/reporters/default.ts @@ -13,6 +13,7 @@ import { } from '@emigrate/types'; type Status = ReturnType; +type Command = ReporterInitParameters['command']; const interactive = isInteractive(); const spinner = interactive ? elegantSpinner() : () => figures.pointerSmall; @@ -30,11 +31,16 @@ const getTitle = ({ command, version, dry, cwd }: ReporterInitParameters) => { }; const getMigrationStatus = ( + command: Command, migration: MigrationMetadata | MigrationMetadataFinished, activeMigration?: MigrationMetadata, ) => { if ('status' in migration) { - return migration.status; + return command === 'remove' && migration.status === 'done' ? 'removed' : migration.status; + } + + if (command === 'remove' && migration.name === activeMigration?.name) { + return 'removing'; } return migration.name === activeMigration?.name ? 'running' : 'pending'; @@ -42,6 +48,10 @@ const getMigrationStatus = ( const getIcon = (status: Status) => { switch (status) { + case 'removing': { + return cyan(spinner()); + } + case 'running': { return cyan(spinner()); } @@ -50,6 +60,10 @@ const getIcon = (status: Status) => { return gray(figures.pointerSmall); } + case 'removed': { + return green(figures.tick); + } + case 'done': { return green(figures.tick); } @@ -89,20 +103,19 @@ const getName = (name: string, status?: Status) => { }; const getMigrationText = ( + command: Command, migration: MigrationMetadata | MigrationMetadataFinished, activeMigration?: MigrationMetadata, ) => { const pathWithoutName = migration.relativeFilePath.slice(0, -migration.name.length); const nameWithoutExtension = migration.name.slice(0, -migration.extension.length); - const status = getMigrationStatus(migration, activeMigration); + const status = getMigrationStatus(command, migration, activeMigration); const parts = [' ', getIcon(status)]; parts.push(`${dim(pathWithoutName)}${getName(nameWithoutExtension, status)}${dim(migration.extension)}`); - if ('status' in migration) { - parts.push(gray`(${migration.status})`); - } else if (migration.name === activeMigration?.name) { - parts.push(gray`(running)`); + if ('status' in migration || migration.name === activeMigration?.name) { + parts.push(gray`(${status})`); } if ('duration' in migration && migration.duration) { @@ -319,19 +332,6 @@ class DefaultFancyReporter implements Required { this.#migrations = [migration]; } - onMigrationRemoveStart(migration: MigrationMetadata): Awaitable { - this.#migrations = [migration]; - this.#activeMigration = migration; - } - - onMigrationRemoveSuccess(migration: MigrationMetadataFinished): Awaitable { - this.#finishMigration(migration); - } - - onMigrationRemoveError(migration: MigrationMetadataFinished, _error: Error): Awaitable { - this.#finishMigration(migration); - } - onMigrationStart(migration: MigrationMetadata): void | PromiseLike { this.#activeMigration = migration; } @@ -376,7 +376,9 @@ class DefaultFancyReporter implements Required { const parts = [ getTitle(this.#parameters), getHeaderMessage(this.#parameters.command, this.#migrations, this.#lockedMigrations), - this.#migrations?.map((migration) => getMigrationText(migration, this.#activeMigration)).join('\n') ?? '', + this.#migrations + ?.map((migration) => getMigrationText(this.#parameters.command, migration, this.#activeMigration)) + .join('\n') ?? '', getAbortMessage(this.#abortReason), getSummary(this.#parameters.command, this.#migrations), getError(this.#error), @@ -441,35 +443,23 @@ class DefaultReporter implements Required { } onNewMigration(migration: MigrationMetadata, _content: string): Awaitable { - console.log(getMigrationText(migration)); - } - - onMigrationRemoveStart(migration: MigrationMetadata): Awaitable { - console.log(getMigrationText(migration)); - } - - onMigrationRemoveSuccess(migration: MigrationMetadataFinished): Awaitable { - console.log(getMigrationText(migration)); - } - - onMigrationRemoveError(migration: MigrationMetadataFinished, _error: Error): Awaitable { - console.error(getMigrationText(migration)); + console.log(getMigrationText(this.#parameters.command, migration)); } onMigrationStart(migration: MigrationMetadata): void | PromiseLike { - console.log(getMigrationText(migration, migration)); + console.log(getMigrationText(this.#parameters.command, migration, migration)); } onMigrationSuccess(migration: MigrationMetadataFinished): void | PromiseLike { - console.log(getMigrationText(migration)); + console.log(getMigrationText(this.#parameters.command, migration)); } onMigrationError(migration: MigrationMetadataFinished, _error: Error): void | PromiseLike { - console.error(getMigrationText(migration)); + console.error(getMigrationText(this.#parameters.command, migration)); } onMigrationSkip(migration: MigrationMetadataFinished): void | PromiseLike { - console.log(getMigrationText(migration)); + console.log(getMigrationText(this.#parameters.command, migration)); } onFinished(migrations: MigrationMetadataFinished[], error?: Error | undefined): void | PromiseLike { diff --git a/packages/cli/src/test-utils.ts b/packages/cli/src/test-utils.ts index 2e1b7cc..b6228d2 100644 --- a/packages/cli/src/test-utils.ts +++ b/packages/cli/src/test-utils.ts @@ -1,11 +1,69 @@ +import { mock, type Mock } from 'node:test'; import path from 'node:path'; import { + type SerializedError, + type EmigrateReporter, type FailedMigrationHistoryEntry, type MigrationHistoryEntry, type MigrationMetadata, type NonFailedMigrationHistoryEntry, + type Storage, } from '@emigrate/types'; +export type Mocked = { + // @ts-expect-error - This is a mock + [K in keyof T]: Mock; +}; + +export async function noop() { + // noop +} + +export function getErrorCause(error: Error | undefined): Error | SerializedError | undefined { + if (error?.cause instanceof Error) { + return error.cause; + } + + if (typeof error?.cause === 'object' && error.cause !== null) { + return error.cause as unknown as SerializedError; + } + + return undefined; +} + +export function getMockedStorage(historyEntries: Array) { + const storage: Mocked = { + lock: mock.fn(async (migrations) => migrations), + unlock: mock.fn(async () => { + // void + }), + getHistory: mock.fn(async function* () { + yield* toEntries(historyEntries); + }), + remove: mock.fn(), + onSuccess: mock.fn(), + onError: mock.fn(), + end: mock.fn(), + }; + + return storage; +} + +export function getMockedReporter(): Mocked> { + return { + onFinished: mock.fn(noop), + onInit: mock.fn(noop), + onAbort: mock.fn(noop), + onCollectedMigrations: mock.fn(noop), + onLockedMigrations: mock.fn(noop), + onNewMigration: mock.fn(noop), + onMigrationStart: mock.fn(noop), + onMigrationSuccess: mock.fn(noop), + onMigrationError: mock.fn(noop), + onMigrationSkip: mock.fn(noop), + }; +} + export function toMigration(cwd: string, directory: string, name: string): MigrationMetadata { return { name, From 2f6b4d23e0b3b2efd9ea343cb2347775850ff72e Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 26 Jan 2024 15:11:43 +0100 Subject: [PATCH 46/98] fix(reporter-default): don't dim decimal points in durations in the default reporter --- .changeset/purple-eagles-speak.md | 5 +++++ packages/cli/src/reporters/default.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/purple-eagles-speak.md diff --git a/.changeset/purple-eagles-speak.md b/.changeset/purple-eagles-speak.md new file mode 100644 index 0000000..9d1a6f7 --- /dev/null +++ b/.changeset/purple-eagles-speak.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Don't dim decimal points in durations in the default reporter diff --git a/packages/cli/src/reporters/default.ts b/packages/cli/src/reporters/default.ts index c1bc4d1..aba377f 100644 --- a/packages/cli/src/reporters/default.ts +++ b/packages/cli/src/reporters/default.ts @@ -21,7 +21,7 @@ const spinner = interactive ? elegantSpinner() : () => figures.pointerSmall; const formatDuration = (duration: number): string => { const pretty = prettyMs(duration); - return yellow(pretty.replaceAll(/([^\s\d]+)/g, dim('$1'))); + return yellow(pretty.replaceAll(/([^\s\d.]+)/g, dim('$1'))); }; const getTitle = ({ command, version, dry, cwd }: ReporterInitParameters) => { From 0faebbe647782cd60ab189bb16eb095bf9ecd111 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 26 Jan 2024 15:21:44 +0100 Subject: [PATCH 47/98] docs(cli): document the relative file path support for the "remove" command --- .changeset/odd-foxes-mix.md | 5 +++++ docs/src/content/docs/commands/remove.mdx | 16 +++++++++------- packages/cli/README.md | 18 ++++++++++++++++++ packages/cli/src/cli.ts | 5 +++-- 4 files changed, 35 insertions(+), 9 deletions(-) create mode 100644 .changeset/odd-foxes-mix.md diff --git a/.changeset/odd-foxes-mix.md b/.changeset/odd-foxes-mix.md new file mode 100644 index 0000000..feb3220 --- /dev/null +++ b/.changeset/odd-foxes-mix.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add support for passing the relative path to a migration file to remove from the history using the "remove" command diff --git a/docs/src/content/docs/commands/remove.mdx b/docs/src/content/docs/commands/remove.mdx index 421b7de..fde9919 100644 --- a/docs/src/content/docs/commands/remove.mdx +++ b/docs/src/content/docs/commands/remove.mdx @@ -13,22 +13,22 @@ The `remove` command is used to remove a migration from the history. This is use ```bash - npx emigrate remove [options] + npx emigrate remove [options] ``` ```bash - pnpm emigrate remove [options] + pnpm emigrate remove [options] ``` ```bash - yarn emigrate remove [options] + yarn emigrate remove [options] ``` ```bash - bunx --bun emigrate remove [options] + bunx --bun emigrate remove [options] ``` @@ -44,16 +44,18 @@ The `remove` command is used to remove a migration from the history. This is use ``` ```bash - deno task emigrate remove [options] + deno task emigrate remove [options] ``` ## Arguments -### `` +### `` -The name of the migration file to remove, including the extension, e.g. `20200101000000_some_migration.js`. +The name of the migration file to remove, including the extension, e.g. `20200101000000_some_migration.js`, or a relative file path to a migration file to remove, e.g: `migrations/20200101000000_some_migration.js`. + +Using relative file paths is useful in terminals that support autocomplete, and also when you copy and use the relative migration file path from the output of the `list` command. ## Options diff --git a/packages/cli/README.md b/packages/cli/README.md index 0769765..e1cf709 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -20,6 +20,24 @@ bun add @emigrate/cli ## Usage +```text +Usage: emigrate / + +Options: + + -h, --help Show this help message and exit + -v, --version Print version number and exit + +Commands: + + up Run all pending migrations (or do a dry run) + new Create a new migration file + list List all migrations and their status + remove Remove entries from the migration history +``` + +### `emigrate up` + ```text Usage: emigrate up [options] diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index bd74870..c4c031e 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -440,14 +440,14 @@ const remove: Action = async (args) => { allowPositionals: true, }); - const usage = `Usage: emigrate remove [options] + const usage = `Usage: emigrate remove [options] Remove entries from the migration history. This is useful if you want to retry a migration that has failed. Arguments: - name The name of the migration file to remove from the history (required) + name/path The name of or relative path to the migration file to remove from the history (required) Options: @@ -466,6 +466,7 @@ Examples: emigrate remove -d migrations -s fs 20231122120529381_some_migration_file.js emigrate remove --directory ./migrations --storage postgres 20231122120529381_some_migration_file.sql emigrate remove -i dotenv/config -d ./migrations -s postgres 20231122120529381_some_migration_file.sql + emigrate remove -i dotenv/config -d ./migrations -s postgres migrations/20231122120529381_some_migration_file.sql `; if (values.help) { From 69bd88afdbbfd73c9ebd7fb60af076175c0eadae Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 26 Jan 2024 15:32:58 +0100 Subject: [PATCH 48/98] chore: allow many parameters in test files --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e195014..3a58112 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,8 @@ { "files": "packages/**/*.test.ts", "rules": { - "@typescript-eslint/no-floating-promises": 0 + "@typescript-eslint/no-floating-promises": 0, + "max-params": 0 } } ] From ef45be9233c47ac9e0259bac03345bc43ddfd1d5 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 5 Feb 2024 14:12:39 +0100 Subject: [PATCH 49/98] fix(reporters): show number of skipped migrations correctly in command output --- .changeset/thick-days-look.md | 6 ++++ packages/cli/src/migration-runner.ts | 5 +--- packages/cli/src/reporters/default.ts | 4 --- packages/reporter-pino/src/index.ts | 41 +++++++++++++++++---------- 4 files changed, 33 insertions(+), 23 deletions(-) create mode 100644 .changeset/thick-days-look.md diff --git a/.changeset/thick-days-look.md b/.changeset/thick-days-look.md new file mode 100644 index 0000000..4cea0e8 --- /dev/null +++ b/.changeset/thick-days-look.md @@ -0,0 +1,6 @@ +--- +'@emigrate/reporter-pino': patch +'@emigrate/cli': patch +--- + +Show number of skipped migrations correctly in the command output diff --git a/packages/cli/src/migration-runner.ts b/packages/cli/src/migration-runner.ts index 1aeea3f..645bea2 100644 --- a/packages/cli/src/migration-runner.ts +++ b/packages/cli/src/migration-runner.ts @@ -50,7 +50,6 @@ export const migrationRunner = async true, }: MigrationRunnerParameters): Promise => { - const collectedMigrations: Array = []; const validatedMigrations: Array = []; const migrationsToLock: MigrationMetadata[] = []; @@ -93,8 +92,6 @@ export const migrationRunner = async lockedMigration.name === migration.name); @@ -284,8 +283,6 @@ const getHeaderMessage = ( failedCount += 1; } else if (migration.status === 'skipped') { skippedCount += 1; - } else { - unlockableCount += 1; } } } @@ -293,7 +290,6 @@ const getHeaderMessage = ( const parts = [ bold(`${lockedMigrations.length} of ${migrations.length}`), dim(statusText), - unlockableCount > 0 ? yellow(`(${unlockableCount} locked)`) : '', skippedCount > 0 ? yellowBright(`(${skippedCount} skipped)`) : '', failedCount > 0 ? redBright(`(${failedCount} failed)`) : '', ].filter(Boolean); diff --git a/packages/reporter-pino/src/index.ts b/packages/reporter-pino/src/index.ts index a6c519c..1e2a141 100644 --- a/packages/reporter-pino/src/index.ts +++ b/packages/reporter-pino/src/index.ts @@ -69,29 +69,40 @@ class PinoReporter implements Required { const migrations = this.#migrations ?? []; if (migrations.length === 0) { - this.#logger.info('No pending migrations found'); + this.#logger.info('No migrations found'); return; } + const statusText = this.#command === 'list' ? 'migrations are pending' : 'pending migrations to run'; + if (migrations.length === lockedMigrations.length) { - this.#logger.info( - { migrationCount: lockedMigrations.length }, - `${lockedMigrations.length} pending migrations to run`, - ); + this.#logger.info({ migrationCount: lockedMigrations.length }, `${lockedMigrations.length} ${statusText}`); return; } - const nonLockedMigrations = migrations.filter( - (migration) => !lockedMigrations.some((lockedMigration) => lockedMigration.name === migration.name), - ); - const failedMigrations = nonLockedMigrations.filter( - (migration) => 'status' in migration && migration.status === 'failed', - ); - const unlockableCount = this.#command === 'up' ? nonLockedMigrations.length - failedMigrations.length : 0; + let skippedCount = 0; + let failedCount = 0; + + for (const migration of migrations) { + const isLocked = lockedMigrations.some((lockedMigration) => lockedMigration.name === migration.name); + + if (isLocked) { + continue; + } + + if ('status' in migration) { + if (migration.status === 'failed') { + failedCount += 1; + } else if (migration.status === 'skipped') { + skippedCount += 1; + } + } + } + const parts = [ - `${lockedMigrations.length} of ${migrations.length} pending migrations to run`, - unlockableCount > 0 ? `(${unlockableCount} locked)` : '', - failedMigrations.length > 0 ? `(${failedMigrations.length} failed)` : '', + `${lockedMigrations.length} of ${migrations.length} ${statusText}`, + skippedCount > 0 ? `(${skippedCount} skipped)` : '', + failedCount > 0 ? `(${failedCount} failed)` : '', ].filter(Boolean); this.#logger.info({ migrationCount: lockedMigrations.length }, parts.join(' ')); From f6761fe434feaa1e43a79a14c4c3b9a325c899a3 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 5 Feb 2024 14:17:14 +0100 Subject: [PATCH 50/98] chore: add missing docs changeset --- .changeset/rude-eels-tap.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rude-eels-tap.md diff --git a/.changeset/rude-eels-tap.md b/.changeset/rude-eels-tap.md new file mode 100644 index 0000000..880aecd --- /dev/null +++ b/.changeset/rude-eels-tap.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +Document the changes to the "remove" command, specifically that it also accepts relative file paths now From f8a5cc728d91432108de7fec180e112cdbb8a84b Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 5 Feb 2024 14:41:03 +0100 Subject: [PATCH 51/98] fix(storage): make sure the storage initialization crashes when db connection can't be established --- .changeset/tasty-bulldogs-guess.md | 6 ++++++ packages/mysql/src/index.ts | 2 ++ packages/postgres/src/index.ts | 14 +++++++------- 3 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 .changeset/tasty-bulldogs-guess.md diff --git a/.changeset/tasty-bulldogs-guess.md b/.changeset/tasty-bulldogs-guess.md new file mode 100644 index 0000000..eb34947 --- /dev/null +++ b/.changeset/tasty-bulldogs-guess.md @@ -0,0 +1,6 @@ +--- +'@emigrate/postgres': patch +'@emigrate/mysql': patch +--- + +Make sure the storage initialization crashes when a database connection can't be established diff --git a/packages/mysql/src/index.ts b/packages/mysql/src/index.ts index 46a1f55..de253c9 100644 --- a/packages/mysql/src/index.ts +++ b/packages/mysql/src/index.ts @@ -171,6 +171,8 @@ export const createMysqlStorage = ({ table = defaultTable, connection }: MysqlSt async initializeStorage() { const pool = getPool(connection); + await pool.query('SELECT 1'); + try { await initializeTable(pool, table); } catch (error) { diff --git a/packages/postgres/src/index.ts b/packages/postgres/src/index.ts index bcbe9e1..b6e3e4c 100644 --- a/packages/postgres/src/index.ts +++ b/packages/postgres/src/index.ts @@ -32,12 +32,12 @@ export type PostgresLoaderOptions = { connection: ConnectionOptions | string; }; -const getPool = (connection: ConnectionOptions | string) => { - if (typeof connection === 'string') { - return postgres(connection); - } +const getPool = async (connection: ConnectionOptions | string): Promise => { + const sql = typeof connection === 'string' ? postgres(connection) : postgres(connection); - return postgres(connection); + await sql`SELECT 1`; + + return sql; }; const lockMigration = async (sql: Sql, table: string, migration: MigrationMetadata) => { @@ -122,7 +122,7 @@ export const createPostgresStorage = ({ }: PostgresStorageOptions): EmigrateStorage => { return { async initializeStorage() { - const sql = getPool(connection); + const sql = await getPool(connection); try { await initializeTable(sql, table); @@ -211,7 +211,7 @@ export const createPostgresLoader = ({ connection }: PostgresLoaderOptions): Loa loadableExtensions: ['.sql'], async loadMigration(migration) { return async () => { - const sql = getPool(connection); + const sql = await getPool(connection); try { // @ts-expect-error The "simple" option is not documented, but it exists From ff89dd4f86ed1e56f215b58d4d2f41f3fa075ac5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 5 Feb 2024 13:50:43 +0000 Subject: [PATCH 52/98] chore(release): version packages --- .changeset/cuddly-peaches-look.md | 5 ----- .changeset/eleven-files-love.md | 5 ----- .changeset/odd-foxes-mix.md | 5 ----- .changeset/plenty-insects-accept.md | 5 ----- .changeset/purple-eagles-speak.md | 5 ----- .changeset/rude-eels-tap.md | 5 ----- .changeset/sharp-cows-joke.md | 5 ----- .changeset/tame-apples-lick.md | 5 ----- .changeset/tasty-bulldogs-guess.md | 6 ------ .changeset/thick-days-look.md | 6 ------ .changeset/thin-pillows-obey.md | 5 ----- .changeset/tricky-turkeys-refuse.md | 5 ----- .changeset/twelve-hairs-relate.md | 5 ----- docs/CHANGELOG.md | 7 +++++++ docs/package.json | 2 +- packages/cli/CHANGELOG.md | 19 +++++++++++++++++++ packages/cli/package.json | 2 +- packages/mysql/CHANGELOG.md | 9 +++++++++ packages/mysql/package.json | 2 +- packages/plugin-generate-js/CHANGELOG.md | 8 ++++++++ packages/plugin-generate-js/package.json | 2 +- packages/plugin-tools/CHANGELOG.md | 7 +++++++ packages/plugin-tools/package.json | 2 +- packages/postgres/CHANGELOG.md | 9 +++++++++ packages/postgres/package.json | 2 +- packages/reporter-pino/CHANGELOG.md | 12 ++++++++++++ packages/reporter-pino/package.json | 2 +- packages/storage-fs/CHANGELOG.md | 7 +++++++ packages/storage-fs/package.json | 2 +- packages/types/CHANGELOG.md | 6 ++++++ packages/types/package.json | 2 +- 31 files changed, 93 insertions(+), 76 deletions(-) delete mode 100644 .changeset/cuddly-peaches-look.md delete mode 100644 .changeset/eleven-files-love.md delete mode 100644 .changeset/odd-foxes-mix.md delete mode 100644 .changeset/plenty-insects-accept.md delete mode 100644 .changeset/purple-eagles-speak.md delete mode 100644 .changeset/rude-eels-tap.md delete mode 100644 .changeset/sharp-cows-joke.md delete mode 100644 .changeset/tame-apples-lick.md delete mode 100644 .changeset/tasty-bulldogs-guess.md delete mode 100644 .changeset/thick-days-look.md delete mode 100644 .changeset/thin-pillows-obey.md delete mode 100644 .changeset/tricky-turkeys-refuse.md delete mode 100644 .changeset/twelve-hairs-relate.md diff --git a/.changeset/cuddly-peaches-look.md b/.changeset/cuddly-peaches-look.md deleted file mode 100644 index 26aa479..0000000 --- a/.changeset/cuddly-peaches-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Only include files when collecting migrations, i.e. it should be possible to have folders inside your migrations folder. diff --git a/.changeset/eleven-files-love.md b/.changeset/eleven-files-love.md deleted file mode 100644 index c4fbcd7..0000000 --- a/.changeset/eleven-files-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/types': minor ---- - -Remove the "remove" command specific reporter methods. So instead of using `onMigrationRemoveStart`, `onMigrationRemoveSuccess` and `onMigrationRemoveError` the `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` methods should be used and the reporter can still format the output differently depending on the current command (which it receives in the `onInit` method). This is a BREAKING CHANGE. diff --git a/.changeset/odd-foxes-mix.md b/.changeset/odd-foxes-mix.md deleted file mode 100644 index feb3220..0000000 --- a/.changeset/odd-foxes-mix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add support for passing the relative path to a migration file to remove from the history using the "remove" command diff --git a/.changeset/plenty-insects-accept.md b/.changeset/plenty-insects-accept.md deleted file mode 100644 index c28ddad..0000000 --- a/.changeset/plenty-insects-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -When the `--from` or `--to` CLI options are used the given migration name (or path to migration file) must exist. This is a BREAKING CHANGE from before. The reasoning is that by forcing the migrations to exist you avoid accidentally running migrations you don't intend to, because a simple typo could have the effect that many unwanted migrations is executed so it's better to show an error if that's the case. diff --git a/.changeset/purple-eagles-speak.md b/.changeset/purple-eagles-speak.md deleted file mode 100644 index 9d1a6f7..0000000 --- a/.changeset/purple-eagles-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Don't dim decimal points in durations in the default reporter diff --git a/.changeset/rude-eels-tap.md b/.changeset/rude-eels-tap.md deleted file mode 100644 index 880aecd..0000000 --- a/.changeset/rude-eels-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -Document the changes to the "remove" command, specifically that it also accepts relative file paths now diff --git a/.changeset/sharp-cows-joke.md b/.changeset/sharp-cows-joke.md deleted file mode 100644 index db9d413..0000000 --- a/.changeset/sharp-cows-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Set Emigrate error instance names from their respective constructor's name for consistency and correct error deserialization. diff --git a/.changeset/tame-apples-lick.md b/.changeset/tame-apples-lick.md deleted file mode 100644 index ef6ad0a..0000000 --- a/.changeset/tame-apples-lick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/reporter-pino': minor ---- - -Adapt to the new Reporter interface, i.e. the removal of the "remove" command related methods diff --git a/.changeset/tasty-bulldogs-guess.md b/.changeset/tasty-bulldogs-guess.md deleted file mode 100644 index eb34947..0000000 --- a/.changeset/tasty-bulldogs-guess.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@emigrate/postgres': patch -'@emigrate/mysql': patch ---- - -Make sure the storage initialization crashes when a database connection can't be established diff --git a/.changeset/thick-days-look.md b/.changeset/thick-days-look.md deleted file mode 100644 index 4cea0e8..0000000 --- a/.changeset/thick-days-look.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@emigrate/reporter-pino': patch -'@emigrate/cli': patch ---- - -Show number of skipped migrations correctly in the command output diff --git a/.changeset/thin-pillows-obey.md b/.changeset/thin-pillows-obey.md deleted file mode 100644 index 2f94c63..0000000 --- a/.changeset/thin-pillows-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Completely rework how the "remove" command is run, this is to make it more similar to the "up" and "list" command as now it will also use the `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` reporter methods when reporting the command progress. It's also in preparation for adding `--from` and `--to` CLI options for the "remove" command, similar to how the same options work for the "up" command. diff --git a/.changeset/tricky-turkeys-refuse.md b/.changeset/tricky-turkeys-refuse.md deleted file mode 100644 index 9e57a25..0000000 --- a/.changeset/tricky-turkeys-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -Document the changes to the "up" command's `--from` and `--to` options, specifically that they can take relative file paths and that the given migration must exist. diff --git a/.changeset/twelve-hairs-relate.md b/.changeset/twelve-hairs-relate.md deleted file mode 100644 index 46e52ba..0000000 --- a/.changeset/twelve-hairs-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add support for passing relative paths to migration files as the `--from` and `--to` CLI options. This is very useful from terminals that support autocomplete for file paths. It also makes it possible to copy the path to a migration file from Emigrate's output and use that as either `--from` and `--to` directly. diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index aa71ff8..25808b5 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/docs +## 0.3.0 + +### Minor Changes + +- f6761fe: Document the changes to the "remove" command, specifically that it also accepts relative file paths now +- 9109238: Document the changes to the "up" command's `--from` and `--to` options, specifically that they can take relative file paths and that the given migration must exist. + ## 0.2.0 ### Minor Changes diff --git a/docs/package.json b/docs/package.json index c70d3a0..8cde013 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,7 +2,7 @@ "name": "@emigrate/docs", "private": true, "type": "module", - "version": "0.2.0", + "version": "0.3.0", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index ea9622a..3805a52 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,24 @@ # @emigrate/cli +## 0.17.0 + +### Minor Changes + +- 0faebbe: Add support for passing the relative path to a migration file to remove from the history using the "remove" command +- 9109238: When the `--from` or `--to` CLI options are used the given migration name (or path to migration file) must exist. This is a BREAKING CHANGE from before. The reasoning is that by forcing the migrations to exist you avoid accidentally running migrations you don't intend to, because a simple typo could have the effect that many unwanted migrations is executed so it's better to show an error if that's the case. +- 1f139fd: Completely rework how the "remove" command is run, this is to make it more similar to the "up" and "list" command as now it will also use the `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` reporter methods when reporting the command progress. It's also in preparation for adding `--from` and `--to` CLI options for the "remove" command, similar to how the same options work for the "up" command. +- 9109238: Add support for passing relative paths to migration files as the `--from` and `--to` CLI options. This is very useful from terminals that support autocomplete for file paths. It also makes it possible to copy the path to a migration file from Emigrate's output and use that as either `--from` and `--to` directly. + +### Patch Changes + +- f1b9098: Only include files when collecting migrations, i.e. it should be possible to have folders inside your migrations folder. +- 2f6b4d2: Don't dim decimal points in durations in the default reporter +- f2d4bb3: Set Emigrate error instance names from their respective constructor's name for consistency and correct error deserialization. +- ef45be9: Show number of skipped migrations correctly in the command output +- Updated dependencies [94ad9fe] + - @emigrate/types@0.12.0 + - @emigrate/plugin-tools@0.9.5 + ## 0.16.2 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index dbc092e..0d38d82 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.16.2", + "version": "0.17.0", "publishConfig": { "access": "public" }, diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index 3231cc3..6683fd2 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/mysql +## 0.2.5 + +### Patch Changes + +- f8a5cc7: Make sure the storage initialization crashes when a database connection can't be established +- Updated dependencies [94ad9fe] + - @emigrate/types@0.12.0 + - @emigrate/plugin-tools@0.9.5 + ## 0.2.4 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 6f7e1f4..8065ec2 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.2.4", + "version": "0.2.5", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-generate-js/CHANGELOG.md b/packages/plugin-generate-js/CHANGELOG.md index 12f2bed..5763e69 100644 --- a/packages/plugin-generate-js/CHANGELOG.md +++ b/packages/plugin-generate-js/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-generate-js +## 0.3.5 + +### Patch Changes + +- Updated dependencies [94ad9fe] + - @emigrate/types@0.12.0 + - @emigrate/plugin-tools@0.9.5 + ## 0.3.4 ### Patch Changes diff --git a/packages/plugin-generate-js/package.json b/packages/plugin-generate-js/package.json index 472c930..353c65d 100644 --- a/packages/plugin-generate-js/package.json +++ b/packages/plugin-generate-js/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-generate-js", - "version": "0.3.4", + "version": "0.3.5", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-tools/CHANGELOG.md b/packages/plugin-tools/CHANGELOG.md index 17a97f6..f4d7120 100644 --- a/packages/plugin-tools/CHANGELOG.md +++ b/packages/plugin-tools/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/plugin-tools +## 0.9.5 + +### Patch Changes + +- Updated dependencies [94ad9fe] + - @emigrate/types@0.12.0 + ## 0.9.4 ### Patch Changes diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index b1098ad..9fcb5c2 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-tools", - "version": "0.9.4", + "version": "0.9.5", "publishConfig": { "access": "public" }, diff --git a/packages/postgres/CHANGELOG.md b/packages/postgres/CHANGELOG.md index a2955b8..16a4e5d 100644 --- a/packages/postgres/CHANGELOG.md +++ b/packages/postgres/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/postgres +## 0.2.5 + +### Patch Changes + +- f8a5cc7: Make sure the storage initialization crashes when a database connection can't be established +- Updated dependencies [94ad9fe] + - @emigrate/types@0.12.0 + - @emigrate/plugin-tools@0.9.5 + ## 0.2.4 ### Patch Changes diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 9cfd051..8e0f028 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/postgres", - "version": "0.2.4", + "version": "0.2.5", "publishConfig": { "access": "public" }, diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index 4d18577..cdd9baa 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,17 @@ # @emigrate/reporter-pino +## 0.6.0 + +### Minor Changes + +- 86e0d52: Adapt to the new Reporter interface, i.e. the removal of the "remove" command related methods + +### Patch Changes + +- ef45be9: Show number of skipped migrations correctly in the command output +- Updated dependencies [94ad9fe] + - @emigrate/types@0.12.0 + ## 0.5.0 ### Minor Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 71cefec..0e5d88a 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.5.0", + "version": "0.6.0", "publishConfig": { "access": "public" }, diff --git a/packages/storage-fs/CHANGELOG.md b/packages/storage-fs/CHANGELOG.md index f3548d4..d10b390 100644 --- a/packages/storage-fs/CHANGELOG.md +++ b/packages/storage-fs/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/storage-fs +## 0.4.5 + +### Patch Changes + +- Updated dependencies [94ad9fe] + - @emigrate/types@0.12.0 + ## 0.4.4 ### Patch Changes diff --git a/packages/storage-fs/package.json b/packages/storage-fs/package.json index d763f26..964d713 100644 --- a/packages/storage-fs/package.json +++ b/packages/storage-fs/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/storage-fs", - "version": "0.4.4", + "version": "0.4.5", "publishConfig": { "access": "public" }, diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 78f9264..cb9b699 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/types +## 0.12.0 + +### Minor Changes + +- 94ad9fe: Remove the "remove" command specific reporter methods. So instead of using `onMigrationRemoveStart`, `onMigrationRemoveSuccess` and `onMigrationRemoveError` the `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` methods should be used and the reporter can still format the output differently depending on the current command (which it receives in the `onInit` method). This is a BREAKING CHANGE. + ## 0.11.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index 116b525..a73d7e5 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/types", - "version": "0.11.0", + "version": "0.12.0", "publishConfig": { "access": "public" }, From db656c2310db49bb088410a3b03e27a418754327 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 5 Feb 2024 15:05:32 +0100 Subject: [PATCH 53/98] chore: enable NPM provenance --- .changeset/wicked-experts-greet.md | 12 ++++++++++++ .github/workflows/release.yaml | 1 + packages/cli/package.json | 3 ++- packages/mysql/package.json | 3 ++- packages/plugin-tools/package.json | 3 ++- packages/postgres/package.json | 3 ++- packages/reporter-pino/package.json | 3 ++- packages/storage-fs/package.json | 3 ++- packages/tsconfig/package.json | 3 ++- packages/types/package.json | 3 ++- 10 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 .changeset/wicked-experts-greet.md diff --git a/.changeset/wicked-experts-greet.md b/.changeset/wicked-experts-greet.md new file mode 100644 index 0000000..a04b226 --- /dev/null +++ b/.changeset/wicked-experts-greet.md @@ -0,0 +1,12 @@ +--- +'@emigrate/reporter-pino': patch +'@emigrate/plugin-tools': patch +'@emigrate/storage-fs': patch +'@emigrate/postgres': patch +'@emigrate/tsconfig': patch +'@emigrate/mysql': patch +'@emigrate/types': patch +'@emigrate/cli': patch +--- + +Enable NPM provenance diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b984a29..a06c061 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,6 +16,7 @@ jobs: packages: write pull-requests: write actions: read + id-token: write steps: - name: Checkout Repo uses: actions/checkout@v4 diff --git a/packages/cli/package.json b/packages/cli/package.json index 0d38d82..95d1ff1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -2,7 +2,8 @@ "name": "@emigrate/cli", "version": "0.17.0", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "description": "", "type": "module", diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 8065ec2..64c5f32 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -2,7 +2,8 @@ "name": "@emigrate/mysql", "version": "0.2.5", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "description": "A MySQL plugin for Emigrate. Uses a MySQL database for storing migration history. Can load and generate .sql migration files.", "main": "dist/index.js", diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index 9fcb5c2..c3b90a9 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -2,7 +2,8 @@ "name": "@emigrate/plugin-tools", "version": "0.9.5", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "description": "", "main": "dist/index.js", diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 8e0f028..ad77bce 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -2,7 +2,8 @@ "name": "@emigrate/postgres", "version": "0.2.5", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "description": "A PostgreSQL plugin for Emigrate. Uses a PostgreSQL database for storing migration history. Can load and generate .sql migration files.", "main": "dist/index.js", diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 0e5d88a..7787828 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -2,7 +2,8 @@ "name": "@emigrate/reporter-pino", "version": "0.6.0", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "description": "A Pino reporter for Emigrate for logging the migration process.", "main": "dist/index.js", diff --git a/packages/storage-fs/package.json b/packages/storage-fs/package.json index 964d713..88683f0 100644 --- a/packages/storage-fs/package.json +++ b/packages/storage-fs/package.json @@ -2,7 +2,8 @@ "name": "@emigrate/storage-fs", "version": "0.4.5", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "description": "A storage plugin for Emigrate for storing the migration history in a file", "main": "dist/index.js", diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json index 0a21b5e..4baf381 100644 --- a/packages/tsconfig/package.json +++ b/packages/tsconfig/package.json @@ -2,7 +2,8 @@ "name": "@emigrate/tsconfig", "version": "1.0.1", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "files": [ "base.json", diff --git a/packages/types/package.json b/packages/types/package.json index a73d7e5..3d42554 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -2,7 +2,8 @@ "name": "@emigrate/types", "version": "0.12.0", "publishConfig": { - "access": "public" + "access": "public", + "provenance": true }, "description": "Common Emigrate TypeScript types to ease plugin development.", "main": "dist/index.js", From 543b7f6f77c1a7326642324d369d671e16893074 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 5 Feb 2024 15:09:29 +0100 Subject: [PATCH 54/98] fix(bun): import setTimeout/setInterval from "node:timers" for .unref() to correctly work --- .changeset/late-suits-destroy.md | 5 +++++ packages/cli/src/cli.ts | 1 + packages/cli/src/exec.ts | 1 + packages/cli/src/reporters/default.ts | 1 + 4 files changed, 8 insertions(+) create mode 100644 .changeset/late-suits-destroy.md diff --git a/.changeset/late-suits-destroy.md b/.changeset/late-suits-destroy.md new file mode 100644 index 0000000..68dabbf --- /dev/null +++ b/.changeset/late-suits-destroy.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Use setTimeout/setInterval from "node:timers" so that .unref() correctly works with Bun diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index c4c031e..daf7976 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -1,6 +1,7 @@ #!/usr/bin/env node import process from 'node:process'; import { parseArgs } from 'node:util'; +import { setTimeout } from 'node:timers'; import importFromEsm from 'import-from-esm'; import { CommandAbortError, ShowUsageError } from './errors.js'; import { getConfig } from './get-config.js'; diff --git a/packages/cli/src/exec.ts b/packages/cli/src/exec.ts index 3f39d1a..887f737 100644 --- a/packages/cli/src/exec.ts +++ b/packages/cli/src/exec.ts @@ -1,3 +1,4 @@ +import { setTimeout } from 'node:timers'; import prettyMs from 'pretty-ms'; import { ExecutionDesertedError, toError } from './errors.js'; import { DEFAULT_RESPITE_SECONDS } from './defaults.js'; diff --git a/packages/cli/src/reporters/default.ts b/packages/cli/src/reporters/default.ts index a522a0a..1db53a3 100644 --- a/packages/cli/src/reporters/default.ts +++ b/packages/cli/src/reporters/default.ts @@ -1,3 +1,4 @@ +import { setInterval } from 'node:timers'; import { black, blueBright, bold, cyan, dim, faint, gray, green, red, redBright, yellow, yellowBright } from 'ansis'; import logUpdate from 'log-update'; import elegantSpinner from 'elegant-spinner'; From f720aae83d6b4a185f807e59a98e4b89482b021a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 5 Feb 2024 14:12:56 +0000 Subject: [PATCH 55/98] chore(release): version packages --- .changeset/late-suits-destroy.md | 5 ----- .changeset/wicked-experts-greet.md | 12 ------------ packages/cli/CHANGELOG.md | 10 ++++++++++ packages/cli/package.json | 2 +- packages/mysql/CHANGELOG.md | 9 +++++++++ packages/mysql/package.json | 2 +- packages/plugin-generate-js/CHANGELOG.md | 8 ++++++++ packages/plugin-generate-js/package.json | 2 +- packages/plugin-tools/CHANGELOG.md | 8 ++++++++ packages/plugin-tools/package.json | 2 +- packages/postgres/CHANGELOG.md | 9 +++++++++ packages/postgres/package.json | 2 +- packages/reporter-pino/CHANGELOG.md | 8 ++++++++ packages/reporter-pino/package.json | 2 +- packages/storage-fs/CHANGELOG.md | 8 ++++++++ packages/storage-fs/package.json | 2 +- packages/tsconfig/CHANGELOG.md | 6 ++++++ packages/tsconfig/package.json | 2 +- packages/types/CHANGELOG.md | 6 ++++++ packages/types/package.json | 2 +- 20 files changed, 81 insertions(+), 26 deletions(-) delete mode 100644 .changeset/late-suits-destroy.md delete mode 100644 .changeset/wicked-experts-greet.md diff --git a/.changeset/late-suits-destroy.md b/.changeset/late-suits-destroy.md deleted file mode 100644 index 68dabbf..0000000 --- a/.changeset/late-suits-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Use setTimeout/setInterval from "node:timers" so that .unref() correctly works with Bun diff --git a/.changeset/wicked-experts-greet.md b/.changeset/wicked-experts-greet.md deleted file mode 100644 index a04b226..0000000 --- a/.changeset/wicked-experts-greet.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@emigrate/reporter-pino': patch -'@emigrate/plugin-tools': patch -'@emigrate/storage-fs': patch -'@emigrate/postgres': patch -'@emigrate/tsconfig': patch -'@emigrate/mysql': patch -'@emigrate/types': patch -'@emigrate/cli': patch ---- - -Enable NPM provenance diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 3805a52..726baee 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,15 @@ # @emigrate/cli +## 0.17.1 + +### Patch Changes + +- 543b7f6: Use setTimeout/setInterval from "node:timers" so that .unref() correctly works with Bun +- db656c2: Enable NPM provenance +- Updated dependencies [db656c2] + - @emigrate/plugin-tools@0.9.6 + - @emigrate/types@0.12.1 + ## 0.17.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 95d1ff1..9b9ec0d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.17.0", + "version": "0.17.1", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index 6683fd2..4a2a3ee 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/mysql +## 0.2.6 + +### Patch Changes + +- db656c2: Enable NPM provenance +- Updated dependencies [db656c2] + - @emigrate/plugin-tools@0.9.6 + - @emigrate/types@0.12.1 + ## 0.2.5 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 64c5f32..32e5988 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.2.5", + "version": "0.2.6", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/plugin-generate-js/CHANGELOG.md b/packages/plugin-generate-js/CHANGELOG.md index 5763e69..04b0a8e 100644 --- a/packages/plugin-generate-js/CHANGELOG.md +++ b/packages/plugin-generate-js/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-generate-js +## 0.3.6 + +### Patch Changes + +- Updated dependencies [db656c2] + - @emigrate/plugin-tools@0.9.6 + - @emigrate/types@0.12.1 + ## 0.3.5 ### Patch Changes diff --git a/packages/plugin-generate-js/package.json b/packages/plugin-generate-js/package.json index 353c65d..936e097 100644 --- a/packages/plugin-generate-js/package.json +++ b/packages/plugin-generate-js/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-generate-js", - "version": "0.3.5", + "version": "0.3.6", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-tools/CHANGELOG.md b/packages/plugin-tools/CHANGELOG.md index f4d7120..f169f02 100644 --- a/packages/plugin-tools/CHANGELOG.md +++ b/packages/plugin-tools/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-tools +## 0.9.6 + +### Patch Changes + +- db656c2: Enable NPM provenance +- Updated dependencies [db656c2] + - @emigrate/types@0.12.1 + ## 0.9.5 ### Patch Changes diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index c3b90a9..6237b13 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-tools", - "version": "0.9.5", + "version": "0.9.6", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/postgres/CHANGELOG.md b/packages/postgres/CHANGELOG.md index 16a4e5d..67dbb5a 100644 --- a/packages/postgres/CHANGELOG.md +++ b/packages/postgres/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/postgres +## 0.2.6 + +### Patch Changes + +- db656c2: Enable NPM provenance +- Updated dependencies [db656c2] + - @emigrate/plugin-tools@0.9.6 + - @emigrate/types@0.12.1 + ## 0.2.5 ### Patch Changes diff --git a/packages/postgres/package.json b/packages/postgres/package.json index ad77bce..2c40b67 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/postgres", - "version": "0.2.5", + "version": "0.2.6", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index cdd9baa..f048fb2 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/reporter-pino +## 0.6.1 + +### Patch Changes + +- db656c2: Enable NPM provenance +- Updated dependencies [db656c2] + - @emigrate/types@0.12.1 + ## 0.6.0 ### Minor Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 7787828..6c0269a 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.6.0", + "version": "0.6.1", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/storage-fs/CHANGELOG.md b/packages/storage-fs/CHANGELOG.md index d10b390..788ac24 100644 --- a/packages/storage-fs/CHANGELOG.md +++ b/packages/storage-fs/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/storage-fs +## 0.4.6 + +### Patch Changes + +- db656c2: Enable NPM provenance +- Updated dependencies [db656c2] + - @emigrate/types@0.12.1 + ## 0.4.5 ### Patch Changes diff --git a/packages/storage-fs/package.json b/packages/storage-fs/package.json index 88683f0..0f15617 100644 --- a/packages/storage-fs/package.json +++ b/packages/storage-fs/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/storage-fs", - "version": "0.4.5", + "version": "0.4.6", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/tsconfig/CHANGELOG.md b/packages/tsconfig/CHANGELOG.md index f7aa1e7..b4e6ba7 100644 --- a/packages/tsconfig/CHANGELOG.md +++ b/packages/tsconfig/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/tsconfig +## 1.0.2 + +### Patch Changes + +- db656c2: Enable NPM provenance + ## 1.0.1 ### Patch Changes diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json index 4baf381..7ae8cf1 100644 --- a/packages/tsconfig/package.json +++ b/packages/tsconfig/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/tsconfig", - "version": "1.0.1", + "version": "1.0.2", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index cb9b699..df62e7e 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/types +## 0.12.1 + +### Patch Changes + +- db656c2: Enable NPM provenance + ## 0.12.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index 3d42554..666a252 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/types", - "version": "0.12.0", + "version": "0.12.1", "publishConfig": { "access": "public", "provenance": true From 61cbcbd69191b35ec85b30513d15541c5251601f Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 5 Feb 2024 15:46:56 +0100 Subject: [PATCH 56/98] fix(cli): force exiting after 10 seconds should not change the exit code If all migrations have been run successfully we want the exit code to be 0 even though we had to force exit the process. This is because on some platforms (e.g. Bun) all handles are not cleaned up the same as in NodeJS, so lets be forgiving. --- .changeset/wicked-months-kneel.md | 5 +++++ packages/cli/src/cli.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/wicked-months-kneel.md diff --git a/.changeset/wicked-months-kneel.md b/.changeset/wicked-months-kneel.md new file mode 100644 index 0000000..a93d580 --- /dev/null +++ b/.changeset/wicked-months-kneel.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Force exiting after 10 seconds should not change the exit code, i.e. if all migrations have run successfully the exit code should be 0 diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index daf7976..2ba0513 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -602,5 +602,5 @@ await main(process.argv.slice(2), controller.signal); setTimeout(() => { console.error('Process did not exit within 10 seconds, forcing exit'); - process.exit(1); + process.exit(process.exitCode); }, 10_000).unref(); From 4e8ac5294ddf3a1a5aa32026215bc6b80120902c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 5 Feb 2024 14:49:22 +0000 Subject: [PATCH 57/98] chore(release): version packages --- .changeset/wicked-months-kneel.md | 5 ----- packages/cli/CHANGELOG.md | 6 ++++++ packages/cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/wicked-months-kneel.md diff --git a/.changeset/wicked-months-kneel.md b/.changeset/wicked-months-kneel.md deleted file mode 100644 index a93d580..0000000 --- a/.changeset/wicked-months-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Force exiting after 10 seconds should not change the exit code, i.e. if all migrations have run successfully the exit code should be 0 diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 726baee..5610be2 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/cli +## 0.17.2 + +### Patch Changes + +- 61cbcbd: Force exiting after 10 seconds should not change the exit code, i.e. if all migrations have run successfully the exit code should be 0 + ## 0.17.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 9b9ec0d..75feef4 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.17.1", + "version": "0.17.2", "publishConfig": { "access": "public", "provenance": true From 18382ce96145113d0a9ad93af9381778dc029cb0 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Tue, 6 Feb 2024 09:15:16 +0100 Subject: [PATCH 58/98] feat(reporters): add built-in "json" reporter and rename "default" to "pretty" --- .changeset/famous-elephants-fail.md | 5 +++ .changeset/slimy-tomatoes-taste.md | 5 +++ packages/cli/src/cli.ts | 8 ++-- packages/cli/src/commands/list.ts | 5 +-- packages/cli/src/commands/new.ts | 5 +-- packages/cli/src/commands/remove.ts | 5 +-- packages/cli/src/commands/up.ts | 4 +- packages/cli/src/reporters/get.ts | 14 +++++++ packages/cli/src/reporters/index.ts | 2 + packages/cli/src/reporters/json.ts | 60 +++++++++++++++++++++++++++++ packages/cli/src/types.ts | 5 ++- 11 files changed, 102 insertions(+), 16 deletions(-) create mode 100644 .changeset/famous-elephants-fail.md create mode 100644 .changeset/slimy-tomatoes-taste.md create mode 100644 packages/cli/src/reporters/get.ts create mode 100644 packages/cli/src/reporters/index.ts create mode 100644 packages/cli/src/reporters/json.ts diff --git a/.changeset/famous-elephants-fail.md b/.changeset/famous-elephants-fail.md new file mode 100644 index 0000000..b97a70a --- /dev/null +++ b/.changeset/famous-elephants-fail.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Add a built-in "json" reporter for outputting a single JSON object diff --git a/.changeset/slimy-tomatoes-taste.md b/.changeset/slimy-tomatoes-taste.md new file mode 100644 index 0000000..1f3b288 --- /dev/null +++ b/.changeset/slimy-tomatoes-taste.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Rename the "default" reporter to "pretty" and make it possible to specify it using the `--reporter` CLI option or in the configuration file diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index 2ba0513..377cffd 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -104,7 +104,7 @@ Options: -p, --plugin The plugin(s) to use (can be specified multiple times) - -r, --reporter The reporter to use for reporting the migration progress + -r, --reporter The reporter to use for reporting the migration progress (default: pretty) -l, --limit Limit the number of migrations to run @@ -261,7 +261,7 @@ Options: -h, --help Show this help message and exit -d, --directory The directory where the migration files are located (required) - -r, --reporter The reporter to use for reporting the migration file creation progress + -r, --reporter The reporter to use for reporting the migration file creation progress (default: pretty) -p, --plugin The plugin(s) to use (can be specified multiple times) -t, --template A template file to use as contents for the new migration file (if the extension option is not provided the template file's extension will be used) @@ -358,7 +358,7 @@ Options: -d, --directory The directory where the migration files are located (required) -i, --import Additional modules/packages to import before listing the migrations (can be specified multiple times) For example if you want to use Dotenv to load environment variables - -r, --reporter The reporter to use for reporting the migrations + -r, --reporter The reporter to use for reporting the migrations (default: pretty) -s, --storage The storage to use to get the migration history (required) --color Force color output (this option is passed to the reporter) --no-color Disable color output (this option is passed to the reporter) @@ -456,7 +456,7 @@ Options: -d, --directory The directory where the migration files are located (required) -i, --import Additional modules/packages to import before removing the migration (can be specified multiple times) For example if you want to use Dotenv to load environment variables - -r, --reporter The reporter to use for reporting the removal process + -r, --reporter The reporter to use for reporting the removal process (default: pretty) -s, --storage The storage to use to get the migration history (required) -f, --force Force removal of the migration history entry even if the migration is not in a failed state --color Force color output (this option is passed to the reporter) diff --git a/packages/cli/src/commands/list.ts b/packages/cli/src/commands/list.ts index 0dcdcf9..ec8fc22 100644 --- a/packages/cli/src/commands/list.ts +++ b/packages/cli/src/commands/list.ts @@ -5,8 +5,7 @@ import { exec } from '../exec.js'; import { migrationRunner } from '../migration-runner.js'; import { collectMigrations } from '../collect-migrations.js'; import { version } from '../get-package-info.js'; - -const lazyDefaultReporter = async () => import('../reporters/default.js'); +import { getStandardReporter } from '../reporters/get.js'; type ExtraFlags = { cwd: string; @@ -29,7 +28,7 @@ export default async function listCommand({ throw BadOptionError.fromOption('storage', 'No storage found, please specify a storage using the storage option'); } - const reporter = await getOrLoadReporter([reporterConfig ?? lazyDefaultReporter]); + const reporter = getStandardReporter(reporterConfig) ?? (await getOrLoadReporter([reporterConfig])); if (!reporter) { throw BadOptionError.fromOption( diff --git a/packages/cli/src/commands/new.ts b/packages/cli/src/commands/new.ts index 81351b8..c921808 100644 --- a/packages/cli/src/commands/new.ts +++ b/packages/cli/src/commands/new.ts @@ -15,8 +15,7 @@ import { type Config } from '../types.js'; import { withLeadingPeriod } from '../with-leading-period.js'; import { version } from '../get-package-info.js'; import { getDuration } from '../get-duration.js'; - -const lazyDefaultReporter = async () => import('../reporters/default.js'); +import { getStandardReporter } from '../reporters/get.js'; type ExtraFlags = { cwd: string; @@ -38,7 +37,7 @@ export default async function newCommand( throw MissingOptionError.fromOption(['extension', 'template', 'plugin']); } - const reporter = await getOrLoadReporter([reporterConfig ?? lazyDefaultReporter]); + const reporter = getStandardReporter(reporterConfig) ?? (await getOrLoadReporter([reporterConfig])); if (!reporter) { throw BadOptionError.fromOption( diff --git a/packages/cli/src/commands/remove.ts b/packages/cli/src/commands/remove.ts index 6b3d977..de5490c 100644 --- a/packages/cli/src/commands/remove.ts +++ b/packages/cli/src/commands/remove.ts @@ -18,6 +18,7 @@ import { collectMigrations } from '../collect-migrations.js'; import { migrationRunner } from '../migration-runner.js'; import { arrayMapAsync } from '../array-map-async.js'; import { type GetMigrationsFunction } from '../get-migrations.js'; +import { getStandardReporter } from '../reporters/get.js'; type ExtraFlags = { cwd: string; @@ -27,8 +28,6 @@ type ExtraFlags = { type RemovableMigrationMetadata = MigrationMetadata & { originalStatus?: 'done' | 'failed' }; -const lazyDefaultReporter = async () => import('../reporters/default.js'); - export default async function removeCommand( { directory, @@ -55,7 +54,7 @@ export default async function removeCommand( throw BadOptionError.fromOption('storage', 'No storage found, please specify a storage using the storage option'); } - const reporter = await getOrLoadReporter([reporterConfig ?? lazyDefaultReporter]); + const reporter = getStandardReporter(reporterConfig) ?? (await getOrLoadReporter([reporterConfig])); if (!reporter) { throw BadOptionError.fromOption( diff --git a/packages/cli/src/commands/up.ts b/packages/cli/src/commands/up.ts index e0faba4..e47897b 100644 --- a/packages/cli/src/commands/up.ts +++ b/packages/cli/src/commands/up.ts @@ -16,6 +16,7 @@ import { exec } from '../exec.js'; import { migrationRunner } from '../migration-runner.js'; import { collectMigrations } from '../collect-migrations.js'; import { version } from '../get-package-info.js'; +import { getStandardReporter } from '../reporters/get.js'; type ExtraFlags = { cwd: string; @@ -29,7 +30,6 @@ type ExtraFlags = { abortRespite?: number; }; -const lazyDefaultReporter = async () => import('../reporters/default.js'); const lazyPluginLoaderJs = async () => import('../plugin-loader-js.js'); export default async function upCommand({ @@ -58,7 +58,7 @@ export default async function upCommand({ throw BadOptionError.fromOption('storage', 'No storage found, please specify a storage using the storage option'); } - const reporter = await getOrLoadReporter([reporterConfig ?? lazyDefaultReporter]); + const reporter = getStandardReporter(reporterConfig) ?? (await getOrLoadReporter([reporterConfig])); if (!reporter) { throw BadOptionError.fromOption( diff --git a/packages/cli/src/reporters/get.ts b/packages/cli/src/reporters/get.ts new file mode 100644 index 0000000..c3935c3 --- /dev/null +++ b/packages/cli/src/reporters/get.ts @@ -0,0 +1,14 @@ +import { type Config } from '../types.js'; +import * as reporters from './index.js'; + +export const getStandardReporter = (reporter?: Config['reporter']) => { + if (!reporter) { + return reporters.pretty; + } + + if (typeof reporter === 'string' && reporter in reporters) { + return reporters[reporter as keyof typeof reporters]; + } + + return; // eslint-disable-line no-useless-return +}; diff --git a/packages/cli/src/reporters/index.ts b/packages/cli/src/reporters/index.ts new file mode 100644 index 0000000..c1784a9 --- /dev/null +++ b/packages/cli/src/reporters/index.ts @@ -0,0 +1,2 @@ +export { default as pretty } from './default.js'; +export { default as json } from './json.js'; diff --git a/packages/cli/src/reporters/json.ts b/packages/cli/src/reporters/json.ts new file mode 100644 index 0000000..4a3dcc3 --- /dev/null +++ b/packages/cli/src/reporters/json.ts @@ -0,0 +1,60 @@ +import { type ReporterInitParameters, type EmigrateReporter, type MigrationMetadataFinished } from '@emigrate/types'; +import { toSerializedError } from '../errors.js'; + +class JsonReporter implements EmigrateReporter { + #parameters!: ReporterInitParameters; + #startTime!: number; + + onInit(parameters: ReporterInitParameters): void { + this.#startTime = Date.now(); + this.#parameters = parameters; + } + + onFinished(migrations: MigrationMetadataFinished[], error?: Error | undefined): void { + const { command, version } = this.#parameters; + + let numberDoneMigrations = 0; + let numberSkippedMigrations = 0; + let numberFailedMigrations = 0; + let numberPendingMigrations = 0; + + for (const migration of migrations) { + // eslint-disable-next-line unicorn/prefer-switch + if (migration.status === 'done') { + numberDoneMigrations++; + } else if (migration.status === 'skipped') { + numberSkippedMigrations++; + } else if (migration.status === 'failed') { + numberFailedMigrations++; + } else { + numberPendingMigrations++; + } + } + + const result = { + command, + version, + numberTotalMigrations: migrations.length, + numberDoneMigrations, + numberSkippedMigrations, + numberFailedMigrations, + numberPendingMigrations, + success: !error, + startTime: this.#startTime, + endTime: Date.now(), + error: error ? toSerializedError(error) : undefined, + migrations: migrations.map((migration) => ({ + name: migration.filePath, + status: migration.status, + duration: 'duration' in migration ? migration.duration : 0, + error: 'error' in migration ? toSerializedError(migration.error) : undefined, + })), + }; + + console.log(JSON.stringify(result, undefined, 2)); + } +} + +const jsonReporter = new JsonReporter() as EmigrateReporter; + +export default jsonReporter; diff --git a/packages/cli/src/types.ts b/packages/cli/src/types.ts index 7d6b400..c45b744 100644 --- a/packages/cli/src/types.ts +++ b/packages/cli/src/types.ts @@ -1,4 +1,7 @@ import { type EmigrateStorage, type Awaitable, type Plugin, type EmigrateReporter } from '@emigrate/types'; +import type * as reporters from './reporters/index.js'; + +export type StandardReporter = keyof typeof reporters; export type EmigratePlugin = Plugin; @@ -6,7 +9,7 @@ type StringOrModule = string | T | (() => Awaitable) | (() => Awaitable<{ export type Config = { storage?: StringOrModule; - reporter?: StringOrModule; + reporter?: StandardReporter | StringOrModule; plugins?: Array>; directory?: string; template?: string; From b62c6928461657ad8adb97c8f237d59d93477229 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Tue, 6 Feb 2024 09:17:22 +0100 Subject: [PATCH 59/98] docs(reporters): add "json" reporter and rename "default" to "pretty" --- .changeset/cyan-cows-cheer.md | 5 + .changeset/pink-bobcats-prove.md | 5 + docs/astro.config.mjs | 8 +- docs/src/content/docs/commands/list.mdx | 3 + docs/src/content/docs/commands/new.mdx | 3 + docs/src/content/docs/commands/remove.mdx | 3 + docs/src/content/docs/commands/up.mdx | 3 + .../docs/plugins/reporters/default.mdx | 23 ---- .../content/docs/plugins/reporters/index.mdx | 5 +- .../content/docs/plugins/reporters/json.mdx | 102 ++++++++++++++++++ .../content/docs/plugins/reporters/pino.mdx | 26 ++++- .../content/docs/plugins/reporters/pretty.mdx | 90 ++++++++++++++++ .../content/docs/reference/configuration.mdx | 7 +- 13 files changed, 249 insertions(+), 34 deletions(-) create mode 100644 .changeset/cyan-cows-cheer.md create mode 100644 .changeset/pink-bobcats-prove.md delete mode 100644 docs/src/content/docs/plugins/reporters/default.mdx create mode 100644 docs/src/content/docs/plugins/reporters/json.mdx create mode 100644 docs/src/content/docs/plugins/reporters/pretty.mdx diff --git a/.changeset/cyan-cows-cheer.md b/.changeset/cyan-cows-cheer.md new file mode 100644 index 0000000..ed85812 --- /dev/null +++ b/.changeset/cyan-cows-cheer.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +Add documentation for the built-in "json" reporter diff --git a/.changeset/pink-bobcats-prove.md b/.changeset/pink-bobcats-prove.md new file mode 100644 index 0000000..fbefd77 --- /dev/null +++ b/.changeset/pink-bobcats-prove.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +The "default" reporter is now named "pretty" diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 679de7d..d4df70c 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -171,8 +171,12 @@ export default defineConfig({ link: '/plugins/reporters/', }, { - label: 'Default Reporter', - link: '/plugins/reporters/default/', + label: 'Pretty Reporter (default)', + link: '/plugins/reporters/pretty/', + }, + { + label: 'JSON Reporter', + link: '/plugins/reporters/json/', }, { label: 'Pino Reporter', diff --git a/docs/src/content/docs/commands/list.mdx b/docs/src/content/docs/commands/list.mdx index 8e1fb92..059bf8e 100644 --- a/docs/src/content/docs/commands/list.mdx +++ b/docs/src/content/docs/commands/list.mdx @@ -86,6 +86,9 @@ In case you have both a `emigrate-storage-somedb` and a `somedb` package install ### `-r`, `--reporter ` +**type:** `"pretty" | "json" | string` +**default:** `"pretty"` + The reporter to use for listing the migrations. The name can be either a path to a module or a package name. For package names Emigrate will automatically prefix the given name with these prefixes in order: diff --git a/docs/src/content/docs/commands/new.mdx b/docs/src/content/docs/commands/new.mdx index 671b918..cb89f33 100644 --- a/docs/src/content/docs/commands/new.mdx +++ b/docs/src/content/docs/commands/new.mdx @@ -101,6 +101,9 @@ In case you have both a `emigrate-plugin-someplugin` and a `someplugin` package ### `-r`, `--reporter ` +**type:** `"pretty" | "json" | string` +**default:** `"pretty"` + The reporter to use for listing the migrations. The name can be either a path to a module or a package name. For package names Emigrate will automatically prefix the given name with these prefixes in order: diff --git a/docs/src/content/docs/commands/remove.mdx b/docs/src/content/docs/commands/remove.mdx index fde9919..d6adb9f 100644 --- a/docs/src/content/docs/commands/remove.mdx +++ b/docs/src/content/docs/commands/remove.mdx @@ -95,6 +95,9 @@ In case you have both a `emigrate-storage-somedb` and a `somedb` package install ### `-r`, `--reporter ` +**type:** `"pretty" | "json" | string` +**default:** `"pretty"` + The reporter to use for listing the migrations. The name can be either a path to a module or a package name. For package names Emigrate will automatically prefix the given name with these prefixes in order: diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/commands/up.mdx index cc12ad1..3829882 100644 --- a/docs/src/content/docs/commands/up.mdx +++ b/docs/src/content/docs/commands/up.mdx @@ -147,6 +147,9 @@ In case you have both a `emigrate-plugin-someplugin` and a `someplugin` package ### `-r`, `--reporter ` +**type:** `"pretty" | "json" | string` +**default:** `"pretty"` + The reporter to use for reporting the migration progress. The name can be either a path to a module or a package name. For package names Emigrate will automatically prefix the given name with these prefixes in order: diff --git a/docs/src/content/docs/plugins/reporters/default.mdx b/docs/src/content/docs/plugins/reporters/default.mdx deleted file mode 100644 index 8a76ff2..0000000 --- a/docs/src/content/docs/plugins/reporters/default.mdx +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: Default Reporter ---- - -Emigrate's default reporter. The default reporter recognizes if the current terminal is an interactive shell (or if it's a CI environment), if that's the case _no_ animations will be shown. - -## Usage - -By default, Emigrate uses the default reporter. - -## Example output - -```bash - -Emigrate up v0.10.0 /Users/joakim/dev/@aboviq/test-emigrate (dry run) - - 1 pending migrations to run - - › migration-folder/20231218135441244_create_some_table.sql (pending) - - 1 pending (1 total) - -``` diff --git a/docs/src/content/docs/plugins/reporters/index.mdx b/docs/src/content/docs/plugins/reporters/index.mdx index be0a1ec..bdc8aca 100644 --- a/docs/src/content/docs/plugins/reporters/index.mdx +++ b/docs/src/content/docs/plugins/reporters/index.mdx @@ -20,6 +20,7 @@ Or set it up in your configuration file, see - + + + diff --git a/docs/src/content/docs/plugins/reporters/json.mdx b/docs/src/content/docs/plugins/reporters/json.mdx new file mode 100644 index 0000000..a1118fd --- /dev/null +++ b/docs/src/content/docs/plugins/reporters/json.mdx @@ -0,0 +1,102 @@ +--- +title: JSON Reporter +--- + +import { Tabs, TabItem } from '@astrojs/starlight/components'; +import Link from '@components/Link.astro'; + +An Emigrate reporter that outputs a JSON object. + +The reporter is included by default and does not need to be installed separately. + +## Usage + +### Via CLI + + + + ```bash + npx emigrate --reporter json + ``` + + + ```bash + pnpm emigrate --reporter json + ``` + + + ```bash + yarn emigrate --reporter json + ``` + + + ```bash + bunx --bun emigrate --reporter json + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash + deno task emigrate --reporter json + ``` + + + +See for instance the Reporter Option for the `up` command for more information. + +### Via configuration file + + + + ```js title="emigrate.config.js" + /** @type {import('@emigrate/cli').EmigrateConfig} */ + export default { + reporter: 'json', + }; + ``` + + + ```ts title="emigrate.config.ts" + import { type EmigrateConfig } from '@emigrate/cli'; + + const config: EmigrateConfig = { + reporter: 'json', + }; + + export default config; + ``` + + + +See Reporter Configuration for more information. + +## Example output + +```json +{ + "command": "up", + "version": "0.17.2", + "numberTotalMigrations": 1, + "numberDoneMigrations": 0, + "numberSkippedMigrations": 0, + "numberFailedMigrations": 0, + "numberPendingMigrations": 1, + "success": true, + "startTime": 1707206599968, + "endTime": 1707206600005, + "migrations": [ + { + "name": "/your/project/migrations/20240206075446123_some_other_table.sql", + "status": "pending", + "duration": 0 + } + ] +} +``` diff --git a/docs/src/content/docs/plugins/reporters/pino.mdx b/docs/src/content/docs/plugins/reporters/pino.mdx index 2ee3c19..e76d6ff 100644 --- a/docs/src/content/docs/plugins/reporters/pino.mdx +++ b/docs/src/content/docs/plugins/reporters/pino.mdx @@ -91,11 +91,27 @@ See for instance the Reporter Opti ### Via configuration file -```js title="emigrate.config.js" {2} -export default { - reporter: 'pino', -}; -``` + + + ```js title="emigrate.config.js" + /** @type {import('@emigrate/cli').EmigrateConfig} */ + export default { + reporter: 'pino', + }; + ``` + + + ```ts title="emigrate.config.ts" + import { type EmigrateConfig } from '@emigrate/cli'; + + const config: EmigrateConfig = { + reporter: 'pino', + }; + + export default config; + ``` + + See Reporter Configuration for more information. diff --git a/docs/src/content/docs/plugins/reporters/pretty.mdx b/docs/src/content/docs/plugins/reporters/pretty.mdx new file mode 100644 index 0000000..1f0cbe0 --- /dev/null +++ b/docs/src/content/docs/plugins/reporters/pretty.mdx @@ -0,0 +1,90 @@ +--- +title: Pretty Reporter (default) +--- + +import { Tabs, TabItem } from '@astrojs/starlight/components'; +import Link from '@components/Link.astro'; + +Emigrate's default reporter. It recognizes if the current terminal is an interactive shell (or if it's a CI environment), if that's the case _no_ animations will be shown. + +The reporter is included by default and does not need to be installed separately. + +## Usage + +By default, Emigrate uses the "pretty" reporter, but it can also be explicitly set by using the `--reporter` flag. + + + + ```bash + npx emigrate --reporter pretty + ``` + + + ```bash + pnpm emigrate --reporter pretty + ``` + + + ```bash + yarn emigrate --reporter pretty + ``` + + + ```bash + bunx --bun emigrate --reporter pretty + ``` + + + ```json title="package.json" {3} + { + "scripts": { + "emigrate": "emigrate" + } + } + ``` + + ```bash + deno task emigrate --reporter pretty + ``` + + + +Or by setting it in the configuration file. + + + + ```js title="emigrate.config.js" + /** @type {import('@emigrate/cli').EmigrateConfig} */ + export default { + reporter: 'pretty', + }; + ``` + + + ```ts title="emigrate.config.ts" + import { type EmigrateConfig } from '@emigrate/cli'; + + const config: EmigrateConfig = { + reporter: 'pretty', + }; + + export default config; + ``` + + + +See Reporter Configuration for more information. + +## Example output + +```bash + +Emigrate up v0.17.2 /your/working/directory (dry run) + + 1 pending migrations to run + + › migration-folder/20231218135441244_create_some_table.sql (pending) + + 1 pending (1 total) + +``` diff --git a/docs/src/content/docs/reference/configuration.mdx b/docs/src/content/docs/reference/configuration.mdx index 524e4d9..1f48e0f 100644 --- a/docs/src/content/docs/reference/configuration.mdx +++ b/docs/src/content/docs/reference/configuration.mdx @@ -45,9 +45,9 @@ Set the directory where your migrations are located, relative to the project roo ### `reporter` -**type:** `string | EmigrateReporter | Promise | (() => Promise)` +**type:** `"pretty" | "json" | string | EmigrateReporter | Promise | (() => Promise)` -**default:** `"default"` - the default reporter +**default:** `"pretty"` - the default reporter Set the reporter to use for the different commands. Specifying a reporter is most useful in a CI or production environment where you either ship logs or want to have a machine-readable format. @@ -64,6 +64,9 @@ export default { up: { reporter: 'json', }, + new: { + reporter: 'pretty', // Not really necessary, as it's the default + }, }; ``` From e7ec75d9e15134cca4a99c9e6d07e6a04f2ba3ce Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Tue, 6 Feb 2024 09:29:53 +0100 Subject: [PATCH 60/98] docs(faq): add note on using Emigrate for existing databases --- .changeset/shy-nails-refuse.md | 5 +++++ docs/src/content/docs/intro/faq.mdx | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .changeset/shy-nails-refuse.md diff --git a/.changeset/shy-nails-refuse.md b/.changeset/shy-nails-refuse.md new file mode 100644 index 0000000..0099677 --- /dev/null +++ b/.changeset/shy-nails-refuse.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +Add note in FAQ on using Emigrate for existing databases diff --git a/docs/src/content/docs/intro/faq.mdx b/docs/src/content/docs/intro/faq.mdx index a97574c..ac120b1 100644 --- a/docs/src/content/docs/intro/faq.mdx +++ b/docs/src/content/docs/intro/faq.mdx @@ -3,11 +3,13 @@ title: "FAQ" description: "Frequently asked questions about Emigrate." --- +import Link from '@components/Link.astro'; + ## Why no `down` migrations? > Always forward never backwards. -Many other migration tools support `down` migrations, but in all the years we have been +Many other migration tools support `down` (or undo) migrations, but in all the years we have been doing migrations we have never needed to rollback a migration in production, in that case we would just write a new migration to fix the problem. @@ -17,3 +19,7 @@ and in such case you just revert the migration manually and fix the `up` migrati The benefit of this is that you don't have to worry about writing `down` migrations, and you can focus on writing the `up` migrations. This way you will only ever have to write `down` migrations when they are really necessary instead of for every migration (which makes it the exception rather than the rule, which is closer to the truth). + +## Can I use Emigrate with my existing database? + +Yes, you can use Emigrate with an existing database. See the Baseline guide for more information. From 198aa545ebd4d3937ae34a8a99139c2e323b5c3f Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 9 Feb 2024 13:10:02 +0100 Subject: [PATCH 61/98] fix(mysql): unreference all connections so that the process can exit cleanly In a NodeJS environment it will just work as before, but in a Bun environment it will make the "forced exit" error message disappear and remove the 10 s waiting period when migrations are done. --- .changeset/spotty-singers-shake.md | 5 +++++ packages/mysql/src/index.ts | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .changeset/spotty-singers-shake.md diff --git a/.changeset/spotty-singers-shake.md b/.changeset/spotty-singers-shake.md new file mode 100644 index 0000000..6fe0f77 --- /dev/null +++ b/.changeset/spotty-singers-shake.md @@ -0,0 +1,5 @@ +--- +'@emigrate/mysql': patch +--- + +Unreference all connections automatically so that they don't hinder the process from exiting. This is especially needed in Bun environments as it seems to handle sockets differently regarding this matter than NodeJS. diff --git a/packages/mysql/src/index.ts b/packages/mysql/src/index.ts index de253c9..6c009e9 100644 --- a/packages/mysql/src/index.ts +++ b/packages/mysql/src/index.ts @@ -171,6 +171,12 @@ export const createMysqlStorage = ({ table = defaultTable, connection }: MysqlSt async initializeStorage() { const pool = getPool(connection); + pool.on('connection', (connection) => { + // @ts-expect-error stream is not in the types but it's there + // eslint-disable-next-line @typescript-eslint/no-unsafe-call + connection.stream.unref(); + }); + await pool.query('SELECT 1'); try { @@ -268,6 +274,10 @@ export const createMysqlLoader = ({ connection }: MysqlLoaderOptions): LoaderPlu const contents = await fs.readFile(migration.filePath, 'utf8'); const conn = await getConnection(connection); + // @ts-expect-error the connection is not in the types but it's there + // eslint-disable-next-line @typescript-eslint/no-unsafe-call + conn.connection.stream.unref(); + try { await conn.query(contents); } finally { From c838ffb7f3ad281743675bc3612c6dc9979a6e0e Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 9 Feb 2024 13:50:16 +0100 Subject: [PATCH 62/98] fix(typescript): load config written in TypeScript without the `typescript` package when using Bun, Deno or `tsx` --- .changeset/breezy-sheep-yawn.md | 5 ++ .changeset/cool-spies-behave.md | 5 ++ .changeset/tidy-shrimps-hide.md | 5 ++ docs/src/content/docs/guides/typescript.mdx | 12 ++- packages/cli/package.json | 4 +- packages/cli/src/cli.ts | 83 +++++++++++++++------ packages/cli/src/deno.d.ts | 6 ++ packages/cli/src/get-config.ts | 11 ++- pnpm-lock.yaml | 33 +++++++- 9 files changed, 132 insertions(+), 32 deletions(-) create mode 100644 .changeset/breezy-sheep-yawn.md create mode 100644 .changeset/cool-spies-behave.md create mode 100644 .changeset/tidy-shrimps-hide.md create mode 100644 packages/cli/src/deno.d.ts diff --git a/.changeset/breezy-sheep-yawn.md b/.changeset/breezy-sheep-yawn.md new file mode 100644 index 0000000..1fc9664 --- /dev/null +++ b/.changeset/breezy-sheep-yawn.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': minor +--- + +Make it possible to write the Emigrate configuration file in TypeScript and load it using `tsx` in a NodeJS environment by importing packages provided using the `--import` CLI option before loading the configuration file. This makes it possible to run Emigrate in production with a configuration file written in TypeScript without having the `typescript` package installed. diff --git a/.changeset/cool-spies-behave.md b/.changeset/cool-spies-behave.md new file mode 100644 index 0000000..8efe0e7 --- /dev/null +++ b/.changeset/cool-spies-behave.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': patch +--- + +Add note on how to write Emigrate's config using TypeScript in a production environment without having `typescript` installed. diff --git a/.changeset/tidy-shrimps-hide.md b/.changeset/tidy-shrimps-hide.md new file mode 100644 index 0000000..3d86eaf --- /dev/null +++ b/.changeset/tidy-shrimps-hide.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Don't use the `typescript` package for loading an Emigrate configuration file written in TypeScript in a Bun or Deno environment diff --git a/docs/src/content/docs/guides/typescript.mdx b/docs/src/content/docs/guides/typescript.mdx index 8e580a4..267846a 100644 --- a/docs/src/content/docs/guides/typescript.mdx +++ b/docs/src/content/docs/guides/typescript.mdx @@ -7,14 +7,14 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; import Link from '@components/Link.astro'; :::tip[Using Bun or Deno?] -If you are using [Bun](https://bun.sh) or [Deno](https://deno.land) you are already good to go as they both support TypeScript out of the box. +If you are using [Bun](https://bun.sh) or [Deno](https://deno.land) you are already good to go as they both support TypeScript out of the box! ::: -You have at least the two following options to support running TypeScript migration files in NodeJS. +If you're using NodeJS you have at least the two following options to support running TypeScript migration files in NodeJS. ## Using `tsx` -If you want to be able to write and run migration files written in TypeScript the easiest way is to install the [`tsx`](https://github.com/privatenumber/tsx) package. +If you want to be able to write and run migration files written in TypeScript an easy way is to install the [`tsx`](https://github.com/privatenumber/tsx) package. ### Installing `tsx` @@ -67,9 +67,13 @@ Using the `--import` flag y +:::note +This method is necessary if you want to write your configuration file in TypeScript without having `typescript` installed in your production environment, as `tsx` must be loaded before the configuration file is loaded. +::: + #### Via configuration file -You can also directly import `tsx` in your configuration file. +You can also directly import `tsx` in your configuration file (will only work if you're not using TypeScript for your configuration file). ```js title="emigrate.config.js" {1} import 'tsx'; diff --git a/packages/cli/package.json b/packages/cli/package.json index 75feef4..9f0c34f 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -36,7 +36,9 @@ "immigration" ], "devDependencies": { - "@emigrate/tsconfig": "workspace:*" + "@emigrate/tsconfig": "workspace:*", + "@types/bun": "1.0.5", + "bun-types": "1.0.26" }, "author": "Aboviq AB (https://www.aboviq.com)", "homepage": "https://github.com/aboviq/emigrate/tree/main/packages/cli#readme", diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index 377cffd..8bb797e 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -24,7 +24,6 @@ const importAll = async (cwd: string, modules: string[]) => { }; const up: Action = async (args, abortSignal) => { - const config = await getConfig('up'); const { values } = parseArgs({ args, options: { @@ -143,6 +142,14 @@ Examples: } const cwd = process.cwd(); + + if (values.import) { + await importAll(cwd, values.import); + } + + const forceImportTypeScriptAsIs = values.import?.some((module) => module === 'tsx' || module.startsWith('tsx/')); + + const config = await getConfig('up', forceImportTypeScriptAsIs); const { directory = config.directory, storage = config.storage, @@ -151,7 +158,6 @@ Examples: from, to, limit: limitString, - import: imports = [], 'abort-respite': abortRespiteString, 'no-execution': noExecution, } = values; @@ -177,8 +183,6 @@ Examples: return; } - await importAll(cwd, imports); - try { const { default: upCommand } = await import('./commands/up.js'); process.exitCode = await upCommand({ @@ -209,7 +213,6 @@ Examples: }; const newMigration: Action = async (args) => { - const config = await getConfig('new'); const { values, positionals } = parseArgs({ args, options: { @@ -239,6 +242,12 @@ const newMigration: Action = async (args) => { multiple: true, default: [], }, + import: { + type: 'string', + short: 'i', + multiple: true, + default: [], + }, color: { type: 'boolean', }, @@ -260,14 +269,24 @@ Arguments: Options: -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + + -i, --import Additional modules/packages to import before creating the migration (can be specified multiple times) + For example if you want to use Dotenv to load environment variables or when using TypeScript + -r, --reporter The reporter to use for reporting the migration file creation progress (default: pretty) + -p, --plugin The plugin(s) to use (can be specified multiple times) + -t, --template A template file to use as contents for the new migration file (if the extension option is not provided the template file's extension will be used) + -x, --extension The extension to use for the new migration file (if no template or plugin is provided an empty migration file will be created with the given extension) + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) One of the --template, --extension or the --plugin options must be specified @@ -287,6 +306,14 @@ Examples: } const cwd = process.cwd(); + + if (values.import) { + await importAll(cwd, values.import); + } + + const forceImportTypeScriptAsIs = values.import?.some((module) => module === 'tsx' || module.startsWith('tsx/')); + + const config = await getConfig('new', forceImportTypeScriptAsIs); const { directory = config.directory, template = config.template, @@ -312,7 +339,6 @@ Examples: }; const list: Action = async (args) => { - const config = await getConfig('list'); const { values } = parseArgs({ args, options: { @@ -355,12 +381,18 @@ List all migrations and their status. This command does not run any migrations. Options: -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before listing the migrations (can be specified multiple times) For example if you want to use Dotenv to load environment variables + -r, --reporter The reporter to use for reporting the migrations (default: pretty) + -s, --storage The storage to use to get the migration history (required) + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: @@ -376,14 +408,15 @@ Examples: } const cwd = process.cwd(); - const { - directory = config.directory, - storage = config.storage, - reporter = config.reporter, - import: imports = [], - } = values; - await importAll(cwd, imports); + if (values.import) { + await importAll(cwd, values.import); + } + + const forceImportTypeScriptAsIs = values.import?.some((module) => module === 'tsx' || module.startsWith('tsx/')); + + const config = await getConfig('list', forceImportTypeScriptAsIs); + const { directory = config.directory, storage = config.storage, reporter = config.reporter } = values; try { const { default: listCommand } = await import('./commands/list.js'); @@ -401,7 +434,6 @@ Examples: }; const remove: Action = async (args) => { - const config = await getConfig('remove'); const { values, positionals } = parseArgs({ args, options: { @@ -453,13 +485,20 @@ Arguments: Options: -h, --help Show this help message and exit + -d, --directory The directory where the migration files are located (required) + -i, --import Additional modules/packages to import before removing the migration (can be specified multiple times) For example if you want to use Dotenv to load environment variables + -r, --reporter The reporter to use for reporting the removal process (default: pretty) + -s, --storage The storage to use to get the migration history (required) + -f, --force Force removal of the migration history entry even if the migration is not in a failed state + --color Force color output (this option is passed to the reporter) + --no-color Disable color output (this option is passed to the reporter) Examples: @@ -477,15 +516,15 @@ Examples: } const cwd = process.cwd(); - const { - directory = config.directory, - storage = config.storage, - reporter = config.reporter, - force, - import: imports = [], - } = values; - await importAll(cwd, imports); + if (values.import) { + await importAll(cwd, values.import); + } + + const forceImportTypeScriptAsIs = values.import?.some((module) => module === 'tsx' || module.startsWith('tsx/')); + + const config = await getConfig('remove', forceImportTypeScriptAsIs); + const { directory = config.directory, storage = config.storage, reporter = config.reporter, force } = values; try { const { default: removeCommand } = await import('./commands/remove.js'); diff --git a/packages/cli/src/deno.d.ts b/packages/cli/src/deno.d.ts new file mode 100644 index 0000000..bc23737 --- /dev/null +++ b/packages/cli/src/deno.d.ts @@ -0,0 +1,6 @@ +declare global { + // eslint-disable-next-line @typescript-eslint/naming-convention + const Deno: any; +} + +export {}; diff --git a/packages/cli/src/get-config.ts b/packages/cli/src/get-config.ts index 0d9dbd4..4db33a7 100644 --- a/packages/cli/src/get-config.ts +++ b/packages/cli/src/get-config.ts @@ -1,11 +1,16 @@ -import { cosmiconfig } from 'cosmiconfig'; +import process from 'node:process'; +import { cosmiconfig, defaultLoaders } from 'cosmiconfig'; import { type Config, type EmigrateConfig } from './types.js'; const commands = ['up', 'list', 'new', 'remove'] as const; type Command = (typeof commands)[number]; +const canImportTypeScriptAsIs = Boolean(process.isBun) || typeof Deno !== 'undefined'; -export const getConfig = async (command: Command): Promise => { - const explorer = cosmiconfig('emigrate'); +export const getConfig = async (command: Command, forceImportTypeScriptAsIs = false): Promise => { + const explorer = cosmiconfig('emigrate', { + // eslint-disable-next-line @typescript-eslint/naming-convention + loaders: forceImportTypeScriptAsIs || canImportTypeScriptAsIs ? { '.ts': defaultLoaders['.js'] } : undefined, + }); const result = await explorer.search(); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2910926..de45949 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -108,6 +108,12 @@ importers: '@emigrate/tsconfig': specifier: workspace:* version: link:../tsconfig + '@types/bun': + specifier: 1.0.5 + version: 1.0.5 + bun-types: + specifier: 1.0.26 + version: 1.0.26 packages/mysql: dependencies: @@ -1759,6 +1765,12 @@ packages: '@babel/types': 7.23.6 dev: false + /@types/bun@1.0.5: + resolution: {integrity: sha512-c14fs5QLLanldcZpX/GjIEKeo++NDzOlixUZ7IUWzN7AoBTisYyWxaxdXNhpAP5I1mPcd92Zagq8sdgTnUXWjg==} + dependencies: + bun-types: 1.0.26 + dev: true + /@types/debug@4.1.12: resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} dependencies: @@ -1858,7 +1870,12 @@ packages: resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==} dependencies: undici-types: 5.26.5 - dev: false + + /@types/node@20.11.17: + resolution: {integrity: sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==} + dependencies: + undici-types: 5.26.5 + dev: true /@types/normalize-package-data@2.4.4: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1886,6 +1903,12 @@ packages: resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} dev: false + /@types/ws@8.5.10: + resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} + dependencies: + '@types/node': 20.10.4 + dev: true + /@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3): resolution: {integrity: sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg==} engines: {node: ^16.0.0 || >=18.0.0} @@ -2646,6 +2669,13 @@ packages: semver: 7.5.4 dev: false + /bun-types@1.0.26: + resolution: {integrity: sha512-VcSj+SCaWIcMb0uSGIAtr8P92zq9q+unavcQmx27fk6HulCthXHBVrdGuXxAZbFtv7bHVjizRzR2mk9r/U8Nkg==} + dependencies: + '@types/node': 20.11.17 + '@types/ws': 8.5.10 + dev: true + /bundle-name@3.0.0: resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} engines: {node: '>=12'} @@ -8603,7 +8633,6 @@ packages: /undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - dev: false /unherit@3.0.1: resolution: {integrity: sha512-akOOQ/Yln8a2sgcLj4U0Jmx0R5jpIg2IUyRrWOzmEbjBtGzBdHtSeFKgoEcoH4KYIG/Pb8GQ/BwtYm0GCq1Sqg==} From 0360d0b82ffab3e2df537428a18b958960a0cf78 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 9 Feb 2024 13:01:02 +0000 Subject: [PATCH 63/98] chore(release): version packages --- .changeset/breezy-sheep-yawn.md | 5 ----- .changeset/cool-spies-behave.md | 5 ----- .changeset/cyan-cows-cheer.md | 5 ----- .changeset/famous-elephants-fail.md | 5 ----- .changeset/pink-bobcats-prove.md | 5 ----- .changeset/shy-nails-refuse.md | 5 ----- .changeset/slimy-tomatoes-taste.md | 5 ----- .changeset/spotty-singers-shake.md | 5 ----- .changeset/tidy-shrimps-hide.md | 5 ----- docs/CHANGELOG.md | 12 ++++++++++++ docs/package.json | 2 +- packages/cli/CHANGELOG.md | 12 ++++++++++++ packages/cli/package.json | 2 +- packages/mysql/CHANGELOG.md | 6 ++++++ packages/mysql/package.json | 2 +- 15 files changed, 33 insertions(+), 48 deletions(-) delete mode 100644 .changeset/breezy-sheep-yawn.md delete mode 100644 .changeset/cool-spies-behave.md delete mode 100644 .changeset/cyan-cows-cheer.md delete mode 100644 .changeset/famous-elephants-fail.md delete mode 100644 .changeset/pink-bobcats-prove.md delete mode 100644 .changeset/shy-nails-refuse.md delete mode 100644 .changeset/slimy-tomatoes-taste.md delete mode 100644 .changeset/spotty-singers-shake.md delete mode 100644 .changeset/tidy-shrimps-hide.md diff --git a/.changeset/breezy-sheep-yawn.md b/.changeset/breezy-sheep-yawn.md deleted file mode 100644 index 1fc9664..0000000 --- a/.changeset/breezy-sheep-yawn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Make it possible to write the Emigrate configuration file in TypeScript and load it using `tsx` in a NodeJS environment by importing packages provided using the `--import` CLI option before loading the configuration file. This makes it possible to run Emigrate in production with a configuration file written in TypeScript without having the `typescript` package installed. diff --git a/.changeset/cool-spies-behave.md b/.changeset/cool-spies-behave.md deleted file mode 100644 index 8efe0e7..0000000 --- a/.changeset/cool-spies-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': patch ---- - -Add note on how to write Emigrate's config using TypeScript in a production environment without having `typescript` installed. diff --git a/.changeset/cyan-cows-cheer.md b/.changeset/cyan-cows-cheer.md deleted file mode 100644 index ed85812..0000000 --- a/.changeset/cyan-cows-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -Add documentation for the built-in "json" reporter diff --git a/.changeset/famous-elephants-fail.md b/.changeset/famous-elephants-fail.md deleted file mode 100644 index b97a70a..0000000 --- a/.changeset/famous-elephants-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Add a built-in "json" reporter for outputting a single JSON object diff --git a/.changeset/pink-bobcats-prove.md b/.changeset/pink-bobcats-prove.md deleted file mode 100644 index fbefd77..0000000 --- a/.changeset/pink-bobcats-prove.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -The "default" reporter is now named "pretty" diff --git a/.changeset/shy-nails-refuse.md b/.changeset/shy-nails-refuse.md deleted file mode 100644 index 0099677..0000000 --- a/.changeset/shy-nails-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -Add note in FAQ on using Emigrate for existing databases diff --git a/.changeset/slimy-tomatoes-taste.md b/.changeset/slimy-tomatoes-taste.md deleted file mode 100644 index 1f3b288..0000000 --- a/.changeset/slimy-tomatoes-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Rename the "default" reporter to "pretty" and make it possible to specify it using the `--reporter` CLI option or in the configuration file diff --git a/.changeset/spotty-singers-shake.md b/.changeset/spotty-singers-shake.md deleted file mode 100644 index 6fe0f77..0000000 --- a/.changeset/spotty-singers-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/mysql': patch ---- - -Unreference all connections automatically so that they don't hinder the process from exiting. This is especially needed in Bun environments as it seems to handle sockets differently regarding this matter than NodeJS. diff --git a/.changeset/tidy-shrimps-hide.md b/.changeset/tidy-shrimps-hide.md deleted file mode 100644 index 3d86eaf..0000000 --- a/.changeset/tidy-shrimps-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Don't use the `typescript` package for loading an Emigrate configuration file written in TypeScript in a Bun or Deno environment diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 25808b5..676bea6 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,17 @@ # @emigrate/docs +## 0.4.0 + +### Minor Changes + +- b62c692: Add documentation for the built-in "json" reporter +- b62c692: The "default" reporter is now named "pretty" +- e7ec75d: Add note in FAQ on using Emigrate for existing databases + +### Patch Changes + +- c838ffb: Add note on how to write Emigrate's config using TypeScript in a production environment without having `typescript` installed. + ## 0.3.0 ### Minor Changes diff --git a/docs/package.json b/docs/package.json index 8cde013..2313a81 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,7 +2,7 @@ "name": "@emigrate/docs", "private": true, "type": "module", - "version": "0.3.0", + "version": "0.4.0", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 5610be2..dd7de8e 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,17 @@ # @emigrate/cli +## 0.18.0 + +### Minor Changes + +- c838ffb: Make it possible to write the Emigrate configuration file in TypeScript and load it using `tsx` in a NodeJS environment by importing packages provided using the `--import` CLI option before loading the configuration file. This makes it possible to run Emigrate in production with a configuration file written in TypeScript without having the `typescript` package installed. +- 18382ce: Add a built-in "json" reporter for outputting a single JSON object +- 18382ce: Rename the "default" reporter to "pretty" and make it possible to specify it using the `--reporter` CLI option or in the configuration file + +### Patch Changes + +- c838ffb: Don't use the `typescript` package for loading an Emigrate configuration file written in TypeScript in a Bun or Deno environment + ## 0.17.2 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 9f0c34f..27817a8 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.17.2", + "version": "0.18.0", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index 4a2a3ee..3742eba 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/mysql +## 0.2.7 + +### Patch Changes + +- 198aa54: Unreference all connections automatically so that they don't hinder the process from exiting. This is especially needed in Bun environments as it seems to handle sockets differently regarding this matter than NodeJS. + ## 0.2.6 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 32e5988..310f6c5 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.2.6", + "version": "0.2.7", "publishConfig": { "access": "public", "provenance": true From 0c597fd7a880a2ec05ed6bd7d3341dd38860dc16 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 9 Feb 2024 14:04:52 +0100 Subject: [PATCH 64/98] docs(cli): add a main page for Emigrate's CLI --- .changeset/popular-points-exist.md | 5 ++ docs/astro.config.mjs | 37 +++++++----- docs/src/content/docs/commands/index.mdx | 73 ++++++++++++++++++++++++ 3 files changed, 101 insertions(+), 14 deletions(-) create mode 100644 .changeset/popular-points-exist.md create mode 100644 docs/src/content/docs/commands/index.mdx diff --git a/.changeset/popular-points-exist.md b/.changeset/popular-points-exist.md new file mode 100644 index 0000000..8496b79 --- /dev/null +++ b/.changeset/popular-points-exist.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': minor +--- + +Add a separate page for the Emigrate CLI itself, with all the commands as sub pages diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index d4df70c..17b41c2 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -78,23 +78,32 @@ export default defineConfig({ ], }, { - label: 'Commands', + label: 'Command Line Interface', items: [ { - label: 'emigrate up', - link: '/commands/up/', + label: 'Introduction', + link: '/commands/', }, { - label: 'emigrate list', - link: '/commands/list/', - }, - { - label: 'emigrate new', - link: '/commands/new/', - }, - { - label: 'emigrate remove', - link: '/commands/remove/', + label: 'Commands', + items: [ + { + label: 'emigrate up', + link: '/commands/up/', + }, + { + label: 'emigrate list', + link: '/commands/list/', + }, + { + label: 'emigrate new', + link: '/commands/new/', + }, + { + label: 'emigrate remove', + link: '/commands/remove/', + }, + ], }, ], }, @@ -106,7 +115,7 @@ export default defineConfig({ link: '/guides/typescript/', }, { - label: 'Baseline', + label: 'Baseline existing database', link: '/guides/baseline/', }, ], diff --git a/docs/src/content/docs/commands/index.mdx b/docs/src/content/docs/commands/index.mdx new file mode 100644 index 0000000..c01c189 --- /dev/null +++ b/docs/src/content/docs/commands/index.mdx @@ -0,0 +1,73 @@ +--- +title: "CLI Introduction" +description: "Some basic information about the Emigrate CLI." +--- + +import { Tabs, TabItem, LinkCard } from '@astrojs/starlight/components'; +import Link from '@components/Link.astro'; + +Emigrate comes with a CLI that you can use to manage your migrations. The CLI is a powerful tool that allows you to create, run, and manage migrations. + +### Installing the Emigrate CLI + + + + ```bash + npm install @emigrate/cli + ``` + + + ```bash + pnpm add @emigrate/cli + ``` + + + ```bash + yarn add @emigrate/cli + ``` + + + ```bash + bun add @emigrate/cli + ``` + + + ```json title="package.json" {3,6} + { + "scripts": { + "emigrate": "emigrate" + }, + "dependencies": { + "@emigrate/cli": "*" + } + } + ``` + + + +### Existing commands + + + + + + + + + From 1d33d65135f314ba1999ee1791dab4ce1846e09e Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 9 Feb 2024 14:35:32 +0100 Subject: [PATCH 65/98] docs(cli): change URL path from /commands/ to /cli/ --- .changeset/funny-elephants-live.md | 5 +++++ docs/CHANGELOG.md | 2 +- docs/astro.config.mjs | 10 +++++----- docs/src/content/docs/{commands => cli}/index.mdx | 0 docs/src/content/docs/{commands => cli}/list.mdx | 0 docs/src/content/docs/{commands => cli}/new.mdx | 0 docs/src/content/docs/{commands => cli}/remove.mdx | 2 +- docs/src/content/docs/{commands => cli}/up.mdx | 0 docs/src/content/docs/guides/baseline.mdx | 10 +++++----- docs/src/content/docs/guides/typescript.mdx | 2 +- docs/src/content/docs/plugins/generators/index.mdx | 2 +- docs/src/content/docs/plugins/generators/js.mdx | 2 +- docs/src/content/docs/plugins/generators/mysql.mdx | 2 +- docs/src/content/docs/plugins/generators/postgres.mdx | 2 +- docs/src/content/docs/plugins/reporters/json.mdx | 2 +- docs/src/content/docs/plugins/reporters/pino.mdx | 2 +- docs/src/content/docs/plugins/reporters/pretty.mdx | 2 +- 17 files changed, 25 insertions(+), 20 deletions(-) create mode 100644 .changeset/funny-elephants-live.md rename docs/src/content/docs/{commands => cli}/index.mdx (100%) rename docs/src/content/docs/{commands => cli}/list.mdx (100%) rename docs/src/content/docs/{commands => cli}/new.mdx (100%) rename docs/src/content/docs/{commands => cli}/remove.mdx (97%) rename docs/src/content/docs/{commands => cli}/up.mdx (100%) diff --git a/.changeset/funny-elephants-live.md b/.changeset/funny-elephants-live.md new file mode 100644 index 0000000..f629de9 --- /dev/null +++ b/.changeset/funny-elephants-live.md @@ -0,0 +1,5 @@ +--- +'@emigrate/docs': major +--- + +Rename the URL path "/commands/" to "/cli/" to make it more clear that those pages are the documentation for the CLI. This change is a BREAKING CHANGE because it changes the URL path of the pages. diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 676bea6..c36d9a8 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -30,4 +30,4 @@ ### Minor Changes - cbc35bd: Add first version of the [Baseline guide](https://emigrate.dev/guides/baseline) -- cbc35bd: Document the new --limit, --from and --to options for the ["up" command](https://emigrate.dev/commands/up/) +- cbc35bd: Document the new --limit, --from and --to options for the ["up" command](https://emigrate.dev/cli/up/) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 17b41c2..a35ee37 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -82,26 +82,26 @@ export default defineConfig({ items: [ { label: 'Introduction', - link: '/commands/', + link: '/cli/', }, { label: 'Commands', items: [ { label: 'emigrate up', - link: '/commands/up/', + link: '/cli/up/', }, { label: 'emigrate list', - link: '/commands/list/', + link: '/cli/list/', }, { label: 'emigrate new', - link: '/commands/new/', + link: '/cli/new/', }, { label: 'emigrate remove', - link: '/commands/remove/', + link: '/cli/remove/', }, ], }, diff --git a/docs/src/content/docs/commands/index.mdx b/docs/src/content/docs/cli/index.mdx similarity index 100% rename from docs/src/content/docs/commands/index.mdx rename to docs/src/content/docs/cli/index.mdx diff --git a/docs/src/content/docs/commands/list.mdx b/docs/src/content/docs/cli/list.mdx similarity index 100% rename from docs/src/content/docs/commands/list.mdx rename to docs/src/content/docs/cli/list.mdx diff --git a/docs/src/content/docs/commands/new.mdx b/docs/src/content/docs/cli/new.mdx similarity index 100% rename from docs/src/content/docs/commands/new.mdx rename to docs/src/content/docs/cli/new.mdx diff --git a/docs/src/content/docs/commands/remove.mdx b/docs/src/content/docs/cli/remove.mdx similarity index 97% rename from docs/src/content/docs/commands/remove.mdx rename to docs/src/content/docs/cli/remove.mdx index d6adb9f..6590d17 100644 --- a/docs/src/content/docs/commands/remove.mdx +++ b/docs/src/content/docs/cli/remove.mdx @@ -55,7 +55,7 @@ The `remove` command is used to remove a migration from the history. This is use The name of the migration file to remove, including the extension, e.g. `20200101000000_some_migration.js`, or a relative file path to a migration file to remove, e.g: `migrations/20200101000000_some_migration.js`. -Using relative file paths is useful in terminals that support autocomplete, and also when you copy and use the relative migration file path from the output of the `list` command. +Using relative file paths is useful in terminals that support autocomplete, and also when you copy and use the relative migration file path from the output of the `list` command. ## Options diff --git a/docs/src/content/docs/commands/up.mdx b/docs/src/content/docs/cli/up.mdx similarity index 100% rename from docs/src/content/docs/commands/up.mdx rename to docs/src/content/docs/cli/up.mdx diff --git a/docs/src/content/docs/guides/baseline.mdx b/docs/src/content/docs/guides/baseline.mdx index 2e2df5e..62381f0 100644 --- a/docs/src/content/docs/guides/baseline.mdx +++ b/docs/src/content/docs/guides/baseline.mdx @@ -113,8 +113,8 @@ CREATE TABLE public.posts ( ### Log the baseline migration -For new environments this baseline migration will automatically be run when you run `emigrate up`. -For any existing environments you will need to run `emigrate up` with the `--no-execution` flag to prevent the migration from being executed and only log the migration: +For new environments this baseline migration will automatically be run when you run `emigrate up`. +For any existing environments you will need to run `emigrate up` with the `--no-execution` flag to prevent the migration from being executed and only log the migration: @@ -155,7 +155,7 @@ For any existing environments you will need to run `emigrate up` with the -In case you have already added more migration files to your migration directory you can limit the "up" command to just log the baseline migration by specifying the `--to` option: +In case you have already added more migration files to your migration directory you can limit the "up" command to just log the baseline migration by specifying the `--to` option: @@ -198,7 +198,7 @@ In case you have already added more migration files to your migration directory ### Verify the baseline migration status -You can verify the status of the baseline migration by running the `emigrate list` command: +You can verify the status of the baseline migration by running the `emigrate list` command: @@ -251,5 +251,5 @@ Emigrate list v0.14.1 /your/project/path ### Happy migrating! -You can now start adding new migrations to your migration directory and run `emigrate up` to apply them to your database. +You can now start adding new migrations to your migration directory and run `emigrate up` to apply them to your database. Which should be part of your CD pipeline to ensure that your database schema is always up to date in each environment. diff --git a/docs/src/content/docs/guides/typescript.mdx b/docs/src/content/docs/guides/typescript.mdx index 267846a..7214f5c 100644 --- a/docs/src/content/docs/guides/typescript.mdx +++ b/docs/src/content/docs/guides/typescript.mdx @@ -47,7 +47,7 @@ After installing `tsx` you can load it in two ways. #### Via CLI -Using the `--import` flag you can load `tsx` before running your migration files. +Using the `--import` flag you can load `tsx` before running your migration files. diff --git a/docs/src/content/docs/plugins/generators/index.mdx b/docs/src/content/docs/plugins/generators/index.mdx index de8c0da..69be705 100644 --- a/docs/src/content/docs/plugins/generators/index.mdx +++ b/docs/src/content/docs/plugins/generators/index.mdx @@ -22,5 +22,5 @@ The generator is responsible for generating migration files in a specific format :::note -Instead of having to install a generator plugin, you can also use the much simpler `--template` option to specify a custom template file for new migrations. +Instead of having to install a generator plugin, you can also use the much simpler `--template` option to specify a custom template file for new migrations. ::: diff --git a/docs/src/content/docs/plugins/generators/js.mdx b/docs/src/content/docs/plugins/generators/js.mdx index b77c6be..e45a8d3 100644 --- a/docs/src/content/docs/plugins/generators/js.mdx +++ b/docs/src/content/docs/plugins/generators/js.mdx @@ -79,4 +79,4 @@ A generator plugin for generating new m -For more information see the `new` command's documentation. +For more information see the `new` command's documentation. diff --git a/docs/src/content/docs/plugins/generators/mysql.mdx b/docs/src/content/docs/plugins/generators/mysql.mdx index d36e7d3..9793eaf 100644 --- a/docs/src/content/docs/plugins/generators/mysql.mdx +++ b/docs/src/content/docs/plugins/generators/mysql.mdx @@ -79,4 +79,4 @@ The MySQL generator creates new migration files with the `.sql` extension. In th -For more information see the `new` command's documentation. +For more information see the `new` command's documentation. diff --git a/docs/src/content/docs/plugins/generators/postgres.mdx b/docs/src/content/docs/plugins/generators/postgres.mdx index 748c511..524d632 100644 --- a/docs/src/content/docs/plugins/generators/postgres.mdx +++ b/docs/src/content/docs/plugins/generators/postgres.mdx @@ -79,4 +79,4 @@ The PostgreSQL generator creates new migration files with the `.sql` extension. -For more information see the `new` command's documentation. +For more information see the `new` command's documentation. diff --git a/docs/src/content/docs/plugins/reporters/json.mdx b/docs/src/content/docs/plugins/reporters/json.mdx index a1118fd..f9a5d4f 100644 --- a/docs/src/content/docs/plugins/reporters/json.mdx +++ b/docs/src/content/docs/plugins/reporters/json.mdx @@ -49,7 +49,7 @@ The reporter is included by default and does not need to be installed separately -See for instance the Reporter Option for the `up` command for more information. +See for instance the Reporter Option for the `up` command for more information. ### Via configuration file diff --git a/docs/src/content/docs/plugins/reporters/pino.mdx b/docs/src/content/docs/plugins/reporters/pino.mdx index e76d6ff..46adc8a 100644 --- a/docs/src/content/docs/plugins/reporters/pino.mdx +++ b/docs/src/content/docs/plugins/reporters/pino.mdx @@ -87,7 +87,7 @@ The `@emigrate/reporter-` prefix is optional when using this reporter. -See for instance the Reporter Option for the `up` command for more information. +See for instance the Reporter Option for the `up` command for more information. ### Via configuration file diff --git a/docs/src/content/docs/plugins/reporters/pretty.mdx b/docs/src/content/docs/plugins/reporters/pretty.mdx index 1f0cbe0..c81cb77 100644 --- a/docs/src/content/docs/plugins/reporters/pretty.mdx +++ b/docs/src/content/docs/plugins/reporters/pretty.mdx @@ -11,7 +11,7 @@ The reporter is included by default and does not need to be installed separately ## Usage -By default, Emigrate uses the "pretty" reporter, but it can also be explicitly set by using the `--reporter` flag. +By default, Emigrate uses the "pretty" reporter, but it can also be explicitly set by using the `--reporter` flag. From 98e3ed5c1b564ffaa20a6f9e38472a3a2a6f3471 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 03:05:23 +0000 Subject: [PATCH 66/98] chore(deps): bump pnpm/action-setup from 2.4.0 to 3.0.0 Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2.4.0 to 3.0.0. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/v2.4.0...v3.0.0) --- updated-dependencies: - dependency-name: pnpm/action-setup dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e8c3a14..a71605b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: with: fetch-depth: 2 - - uses: pnpm/action-setup@v2.4.0 + - uses: pnpm/action-setup@v3.0.0 with: version: 8.3.1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a06c061..898def5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,7 @@ jobs: persist-credentials: false fetch-depth: 0 - - uses: pnpm/action-setup@v2.4.0 + - uses: pnpm/action-setup@v3.0.0 with: version: 8.3.1 From 17feb2d2c271d81ce682d18b9ca1b4424522e09a Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 12 Feb 2024 13:30:08 +0100 Subject: [PATCH 67/98] fix(mysql): only unreference connections in a Bun environment as it has problems with Node for some reason --- .changeset/sharp-houses-smell.md | 5 +++++ packages/mysql/package.json | 4 +++- packages/mysql/src/index.ts | 20 ++++++++++++-------- pnpm-lock.yaml | 6 ++++++ 4 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 .changeset/sharp-houses-smell.md diff --git a/.changeset/sharp-houses-smell.md b/.changeset/sharp-houses-smell.md new file mode 100644 index 0000000..a2cd931 --- /dev/null +++ b/.changeset/sharp-houses-smell.md @@ -0,0 +1,5 @@ +--- +'@emigrate/mysql': patch +--- + +Only unreference connections in a Bun environment as it crashes Node for some reason, without even throwing an error that is diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 310f6c5..67cd832 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -43,7 +43,9 @@ "mysql2": "3.6.5" }, "devDependencies": { - "@emigrate/tsconfig": "workspace:*" + "@emigrate/tsconfig": "workspace:*", + "@types/bun": "1.0.5", + "bun-types": "1.0.26" }, "volta": { "extends": "../../package.json" diff --git a/packages/mysql/src/index.ts b/packages/mysql/src/index.ts index 6c009e9..cc659e6 100644 --- a/packages/mysql/src/index.ts +++ b/packages/mysql/src/index.ts @@ -171,11 +171,13 @@ export const createMysqlStorage = ({ table = defaultTable, connection }: MysqlSt async initializeStorage() { const pool = getPool(connection); - pool.on('connection', (connection) => { - // @ts-expect-error stream is not in the types but it's there - // eslint-disable-next-line @typescript-eslint/no-unsafe-call - connection.stream.unref(); - }); + if (process.isBun) { + pool.on('connection', (connection) => { + // @ts-expect-error stream is not in the types but it's there + // eslint-disable-next-line @typescript-eslint/no-unsafe-call + connection.stream.unref(); + }); + } await pool.query('SELECT 1'); @@ -274,9 +276,11 @@ export const createMysqlLoader = ({ connection }: MysqlLoaderOptions): LoaderPlu const contents = await fs.readFile(migration.filePath, 'utf8'); const conn = await getConnection(connection); - // @ts-expect-error the connection is not in the types but it's there - // eslint-disable-next-line @typescript-eslint/no-unsafe-call - conn.connection.stream.unref(); + if (process.isBun) { + // @ts-expect-error the connection is not in the types but it's there + // eslint-disable-next-line @typescript-eslint/no-unsafe-call + conn.connection.stream.unref(); + } try { await conn.query(contents); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de45949..fd9a40c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -130,6 +130,12 @@ importers: '@emigrate/tsconfig': specifier: workspace:* version: link:../tsconfig + '@types/bun': + specifier: 1.0.5 + version: 1.0.5 + bun-types: + specifier: 1.0.26 + version: 1.0.26 packages/plugin-generate-js: dependencies: From 10653224357a8fb890e49336c7281ad3ab91e00e Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 12 Feb 2024 13:35:06 +0100 Subject: [PATCH 68/98] fix(pino): show correct statuses for the "list" and "new" commands --- .changeset/tender-timers-remember.md | 5 +++++ packages/reporter-pino/src/index.ts | 18 ++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .changeset/tender-timers-remember.md diff --git a/.changeset/tender-timers-remember.md b/.changeset/tender-timers-remember.md new file mode 100644 index 0000000..96fffba --- /dev/null +++ b/.changeset/tender-timers-remember.md @@ -0,0 +1,5 @@ +--- +'@emigrate/reporter-pino': patch +--- + +Show correct status for migrations for the "list" and "new" commands diff --git a/packages/reporter-pino/src/index.ts b/packages/reporter-pino/src/index.ts index 1e2a141..8a23570 100644 --- a/packages/reporter-pino/src/index.ts +++ b/packages/reporter-pino/src/index.ts @@ -116,12 +116,26 @@ class PinoReporter implements Required { } onMigrationStart(migration: MigrationMetadata): Awaitable { - const status = this.#command === 'up' ? 'running' : 'removing'; + let status = 'running'; + + if (this.#command === 'remove') { + status = 'removing'; + } else if (this.#command === 'new') { + status = 'creating'; + } + this.#logger.info({ migration: migration.relativeFilePath }, `${migration.name} (${status})`); } onMigrationSuccess(migration: MigrationMetadataFinished): Awaitable { - const status = this.#command === 'up' ? 'done' : 'removed'; + let status = 'done'; + + if (this.#command === 'remove') { + status = 'removed'; + } else if (this.#command === 'new') { + status = 'created'; + } + this.#logger.info({ migration: migration.relativeFilePath }, `${migration.name} (${status})`); } From ae9e8b1b045f86122436e7cf8d4caffd657e5ebb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 12 Feb 2024 12:48:26 +0000 Subject: [PATCH 69/98] chore(release): version packages --- .changeset/funny-elephants-live.md | 5 ----- .changeset/popular-points-exist.md | 5 ----- .changeset/sharp-houses-smell.md | 5 ----- .changeset/tender-timers-remember.md | 5 ----- docs/CHANGELOG.md | 10 ++++++++++ docs/package.json | 2 +- packages/mysql/CHANGELOG.md | 6 ++++++ packages/mysql/package.json | 2 +- packages/reporter-pino/CHANGELOG.md | 6 ++++++ packages/reporter-pino/package.json | 2 +- 10 files changed, 25 insertions(+), 23 deletions(-) delete mode 100644 .changeset/funny-elephants-live.md delete mode 100644 .changeset/popular-points-exist.md delete mode 100644 .changeset/sharp-houses-smell.md delete mode 100644 .changeset/tender-timers-remember.md diff --git a/.changeset/funny-elephants-live.md b/.changeset/funny-elephants-live.md deleted file mode 100644 index f629de9..0000000 --- a/.changeset/funny-elephants-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': major ---- - -Rename the URL path "/commands/" to "/cli/" to make it more clear that those pages are the documentation for the CLI. This change is a BREAKING CHANGE because it changes the URL path of the pages. diff --git a/.changeset/popular-points-exist.md b/.changeset/popular-points-exist.md deleted file mode 100644 index 8496b79..0000000 --- a/.changeset/popular-points-exist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/docs': minor ---- - -Add a separate page for the Emigrate CLI itself, with all the commands as sub pages diff --git a/.changeset/sharp-houses-smell.md b/.changeset/sharp-houses-smell.md deleted file mode 100644 index a2cd931..0000000 --- a/.changeset/sharp-houses-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/mysql': patch ---- - -Only unreference connections in a Bun environment as it crashes Node for some reason, without even throwing an error that is diff --git a/.changeset/tender-timers-remember.md b/.changeset/tender-timers-remember.md deleted file mode 100644 index 96fffba..0000000 --- a/.changeset/tender-timers-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/reporter-pino': patch ---- - -Show correct status for migrations for the "list" and "new" commands diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c36d9a8..ba66044 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,15 @@ # @emigrate/docs +## 1.0.0 + +### Major Changes + +- 1d33d65: Rename the URL path "/commands/" to "/cli/" to make it more clear that those pages are the documentation for the CLI. This change is a BREAKING CHANGE because it changes the URL path of the pages. + +### Minor Changes + +- 0c597fd: Add a separate page for the Emigrate CLI itself, with all the commands as sub pages + ## 0.4.0 ### Minor Changes diff --git a/docs/package.json b/docs/package.json index 2313a81..d445425 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,7 +2,7 @@ "name": "@emigrate/docs", "private": true, "type": "module", - "version": "0.4.0", + "version": "1.0.0", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index 3742eba..3830c42 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/mysql +## 0.2.8 + +### Patch Changes + +- 17feb2d: Only unreference connections in a Bun environment as it crashes Node for some reason, without even throwing an error that is + ## 0.2.7 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 67cd832..f3837fb 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.2.7", + "version": "0.2.8", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index f048fb2..280f20c 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/reporter-pino +## 0.6.2 + +### Patch Changes + +- 1065322: Show correct status for migrations for the "list" and "new" commands + ## 0.6.1 ### Patch Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 6c0269a..b417d19 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.6.1", + "version": "0.6.2", "publishConfig": { "access": "public", "provenance": true From 57a099169e127868d40a41aaa0a10e431d6a9fed Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 12 Feb 2024 20:56:02 +0100 Subject: [PATCH 70/98] fix(cli): cleanup AbortSignal event listeners to avoid MaxListenersExceededWarning --- .changeset/blue-candles-boil.md | 5 ++++ packages/cli/src/exec.ts | 51 ++++++++++++++++++++++----------- 2 files changed, 40 insertions(+), 16 deletions(-) create mode 100644 .changeset/blue-candles-boil.md diff --git a/.changeset/blue-candles-boil.md b/.changeset/blue-candles-boil.md new file mode 100644 index 0000000..5d2de1d --- /dev/null +++ b/.changeset/blue-candles-boil.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Cleanup AbortSignal listeners when they are not needed to avoid MaxListenersExceededWarning when migrating many migrations at once diff --git a/packages/cli/src/exec.ts b/packages/cli/src/exec.ts index 887f737..cac2a28 100644 --- a/packages/cli/src/exec.ts +++ b/packages/cli/src/exec.ts @@ -28,6 +28,8 @@ export const exec = async >( const aborter = options.abortSignal ? getAborter(options.abortSignal, options.abortRespite) : undefined; const result = await Promise.race(aborter ? [aborter, fn()] : [fn()]); + aborter?.cancel(); + return [result, undefined]; } catch (error) { return [undefined, toError(error)]; @@ -40,27 +42,44 @@ export const exec = async >( * @param signal The abort signal to listen to * @param respite The time in milliseconds to wait before rejecting */ -const getAborter = async (signal: AbortSignal, respite = DEFAULT_RESPITE_SECONDS * 1000): Promise => { - return new Promise((_, reject) => { - if (signal.aborted) { - setTimeout( +const getAborter = ( + signal: AbortSignal, + respite = DEFAULT_RESPITE_SECONDS * 1000, +): PromiseLike & { cancel: () => void } => { + const cleanups: Array<() => void> = []; + + const aborter = new Promise((_, reject) => { + const abortListener = () => { + const timer = setTimeout( reject, respite, ExecutionDesertedError.fromReason(`Deserted after ${prettyMs(respite)}`, toError(signal.reason)), - ).unref(); + ); + timer.unref(); + cleanups.push(() => { + clearTimeout(timer); + }); + }; + + if (signal.aborted) { + abortListener(); return; } - signal.addEventListener( - 'abort', - () => { - setTimeout( - reject, - respite, - ExecutionDesertedError.fromReason(`Deserted after ${prettyMs(respite)}`, toError(signal.reason)), - ).unref(); - }, - { once: true }, - ); + signal.addEventListener('abort', abortListener, { once: true }); + + cleanups.push(() => { + signal.removeEventListener('abort', abortListener); + }); }); + + const cancel = () => { + for (const cleanup of cleanups) { + cleanup(); + } + + cleanups.length = 0; + }; + + return Object.assign(aborter, { cancel }); }; From 6c4e441eff9d026a023161c2ed87c71b9a1438b9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 12 Feb 2024 19:59:59 +0000 Subject: [PATCH 71/98] chore(release): version packages --- .changeset/blue-candles-boil.md | 5 ----- packages/cli/CHANGELOG.md | 6 ++++++ packages/cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/blue-candles-boil.md diff --git a/.changeset/blue-candles-boil.md b/.changeset/blue-candles-boil.md deleted file mode 100644 index 5d2de1d..0000000 --- a/.changeset/blue-candles-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Cleanup AbortSignal listeners when they are not needed to avoid MaxListenersExceededWarning when migrating many migrations at once diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index dd7de8e..cdf27d5 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/cli +## 0.18.1 + +### Patch Changes + +- 57a0991: Cleanup AbortSignal listeners when they are not needed to avoid MaxListenersExceededWarning when migrating many migrations at once + ## 0.18.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 27817a8..bda6434 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.18.0", + "version": "0.18.1", "publishConfig": { "access": "public", "provenance": true From 6763f338ce587a854fbfc6e4c39fbac949fd0d11 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 12:06:01 +0000 Subject: [PATCH 72/98] chore(deps): bump the commitlint group with 2 updates Bumps the commitlint group with 2 updates: [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) and [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional). Updates `@commitlint/cli` from 18.4.3 to 18.6.1 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.6.1/@commitlint/cli) Updates `@commitlint/config-conventional` from 18.4.3 to 18.6.1 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.6.1/@commitlint/config-conventional) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: commitlint - dependency-name: "@commitlint/config-conventional" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: commitlint ... Signed-off-by: dependabot[bot] --- package.json | 4 +- pnpm-lock.yaml | 321 ++++++++++++++++++++++++++++--------------------- 2 files changed, 185 insertions(+), 140 deletions(-) diff --git a/package.json b/package.json index 3a58112..a7e1419 100644 --- a/package.json +++ b/package.json @@ -71,8 +71,8 @@ }, "dependencies": { "@changesets/cli": "2.27.1", - "@commitlint/cli": "18.4.3", - "@commitlint/config-conventional": "18.4.3", + "@commitlint/cli": "18.6.1", + "@commitlint/config-conventional": "18.6.1", "@types/node": "20.10.4", "glob": "10.3.10", "husky": "8.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fd9a40c..8371ed7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,11 +12,11 @@ importers: specifier: 2.27.1 version: 2.27.1 '@commitlint/cli': - specifier: 18.4.3 - version: 18.4.3(typescript@5.3.3) + specifier: 18.6.1 + version: 18.6.1(@types/node@20.10.4)(typescript@5.3.3) '@commitlint/config-conventional': - specifier: 18.4.3 - version: 18.4.3 + specifier: 18.6.1 + version: 18.6.1 '@types/node': specifier: 20.10.4 version: 20.10.4 @@ -46,7 +46,7 @@ importers: version: 5.3.3 xo: specifier: 0.56.0 - version: 0.56.0(webpack@5.89.0) + version: 0.56.0(webpack@5.90.1) docs: dependencies: @@ -786,45 +786,47 @@ packages: prettier: 2.8.8 dev: false - /@commitlint/cli@18.4.3(typescript@5.3.3): - resolution: {integrity: sha512-zop98yfB3A6NveYAZ3P1Mb6bIXuCeWgnUfVNkH4yhIMQpQfzFwseadazOuSn0OOfTt0lWuFauehpm9GcqM5lww==} + /@commitlint/cli@18.6.1(@types/node@20.10.4)(typescript@5.3.3): + resolution: {integrity: sha512-5IDE0a+lWGdkOvKH892HHAZgbAjcj1mT5QrfA/SVbLJV/BbBMGyKN0W5mhgjekPJJwEQdVNvhl9PwUacY58Usw==} engines: {node: '>=v18'} hasBin: true dependencies: - '@commitlint/format': 18.4.3 - '@commitlint/lint': 18.4.3 - '@commitlint/load': 18.4.3(typescript@5.3.3) - '@commitlint/read': 18.4.3 - '@commitlint/types': 18.4.3 + '@commitlint/format': 18.6.1 + '@commitlint/lint': 18.6.1 + '@commitlint/load': 18.6.1(@types/node@20.10.4)(typescript@5.3.3) + '@commitlint/read': 18.6.1 + '@commitlint/types': 18.6.1 execa: 5.1.1 lodash.isfunction: 3.0.9 resolve-from: 5.0.0 resolve-global: 1.0.0 yargs: 17.7.2 transitivePeerDependencies: + - '@types/node' - typescript dev: false - /@commitlint/config-conventional@18.4.3: - resolution: {integrity: sha512-729eRRaNta7JZF07qf6SAGSghoDEp9mH7yHU0m7ff0q89W97wDrWCyZ3yoV3mcQJwbhlmVmZPTkPcm7qiAu8WA==} + /@commitlint/config-conventional@18.6.1: + resolution: {integrity: sha512-ftpfAOQyI+IHvut0cRF4EFM39PWCqde+uOXCjH9NpK6FpqfhncAbEvP0E7OIpFsrDX0aS7k81tzH5Yz7prcNxA==} engines: {node: '>=v18'} dependencies: + '@commitlint/types': 18.6.1 conventional-changelog-conventionalcommits: 7.0.2 dev: false - /@commitlint/config-validator@18.4.3: - resolution: {integrity: sha512-FPZZmTJBARPCyef9ohRC9EANiQEKSWIdatx5OlgeHKu878dWwpyeFauVkhzuBRJFcCA4Uvz/FDtlDKs008IHcA==} + /@commitlint/config-validator@18.6.1: + resolution: {integrity: sha512-05uiToBVfPhepcQWE1ZQBR/Io3+tb3gEotZjnI4tTzzPk16NffN6YABgwFQCLmzZefbDcmwWqJWc2XT47q7Znw==} engines: {node: '>=v18'} dependencies: - '@commitlint/types': 18.4.3 + '@commitlint/types': 18.6.1 ajv: 8.12.0 dev: false - /@commitlint/ensure@18.4.3: - resolution: {integrity: sha512-MI4fwD9TWDVn4plF5+7JUyLLbkOdzIRBmVeNlk4dcGlkrVA+/l5GLcpN66q9LkFsFv6G2X31y89ApA3hqnqIFg==} + /@commitlint/ensure@18.6.1: + resolution: {integrity: sha512-BPm6+SspyxQ7ZTsZwXc7TRQL5kh5YWt3euKmEIBZnocMFkJevqs3fbLRb8+8I/cfbVcAo4mxRlpTPfz8zX7SnQ==} engines: {node: '>=v18'} dependencies: - '@commitlint/types': 18.4.3 + '@commitlint/types': 18.6.1 lodash.camelcase: 4.3.0 lodash.kebabcase: 4.1.1 lodash.snakecase: 4.1.1 @@ -832,119 +834,118 @@ packages: lodash.upperfirst: 4.3.1 dev: false - /@commitlint/execute-rule@18.4.3: - resolution: {integrity: sha512-t7FM4c+BdX9WWZCPrrbV5+0SWLgT3kCq7e7/GhHCreYifg3V8qyvO127HF796vyFql75n4TFF+5v1asOOWkV1Q==} + /@commitlint/execute-rule@18.6.1: + resolution: {integrity: sha512-7s37a+iWyJiGUeMFF6qBlyZciUkF8odSAnHijbD36YDctLhGKoYltdvuJ/AFfRm6cBLRtRk9cCVPdsEFtt/2rg==} engines: {node: '>=v18'} dev: false - /@commitlint/format@18.4.3: - resolution: {integrity: sha512-8b+ItXYHxAhRAXFfYki5PpbuMMOmXYuzLxib65z2XTqki59YDQJGpJ/wB1kEE5MQDgSTQWtKUrA8n9zS/1uIDQ==} + /@commitlint/format@18.6.1: + resolution: {integrity: sha512-K8mNcfU/JEFCharj2xVjxGSF+My+FbUHoqR+4GqPGrHNqXOGNio47ziiR4HQUPKtiNs05o8/WyLBoIpMVOP7wg==} engines: {node: '>=v18'} dependencies: - '@commitlint/types': 18.4.3 + '@commitlint/types': 18.6.1 chalk: 4.1.2 dev: false - /@commitlint/is-ignored@18.4.3: - resolution: {integrity: sha512-ZseOY9UfuAI32h9w342Km4AIaTieeFskm2ZKdrG7r31+c6zGBzuny9KQhwI9puc0J3GkUquEgKJblCl7pMnjwg==} + /@commitlint/is-ignored@18.6.1: + resolution: {integrity: sha512-MOfJjkEJj/wOaPBw5jFjTtfnx72RGwqYIROABudOtJKW7isVjFe9j0t8xhceA02QebtYf4P/zea4HIwnXg8rvA==} engines: {node: '>=v18'} dependencies: - '@commitlint/types': 18.4.3 - semver: 7.5.4 + '@commitlint/types': 18.6.1 + semver: 7.6.0 dev: false - /@commitlint/lint@18.4.3: - resolution: {integrity: sha512-18u3MRgEXNbnYkMOWoncvq6QB8/90m9TbERKgdPqVvS+zQ/MsuRhdvHYCIXGXZxUb0YI4DV2PC4bPneBV/fYuA==} + /@commitlint/lint@18.6.1: + resolution: {integrity: sha512-8WwIFo3jAuU+h1PkYe5SfnIOzp+TtBHpFr4S8oJWhu44IWKuVx6GOPux3+9H1iHOan/rGBaiacicZkMZuluhfQ==} engines: {node: '>=v18'} dependencies: - '@commitlint/is-ignored': 18.4.3 - '@commitlint/parse': 18.4.3 - '@commitlint/rules': 18.4.3 - '@commitlint/types': 18.4.3 + '@commitlint/is-ignored': 18.6.1 + '@commitlint/parse': 18.6.1 + '@commitlint/rules': 18.6.1 + '@commitlint/types': 18.6.1 dev: false - /@commitlint/load@18.4.3(typescript@5.3.3): - resolution: {integrity: sha512-v6j2WhvRQJrcJaj5D+EyES2WKTxPpxENmNpNG3Ww8MZGik3jWRXtph0QTzia5ZJyPh2ib5aC/6BIDymkUUM58Q==} + /@commitlint/load@18.6.1(@types/node@20.10.4)(typescript@5.3.3): + resolution: {integrity: sha512-p26x8734tSXUHoAw0ERIiHyW4RaI4Bj99D8YgUlVV9SedLf8hlWAfyIFhHRIhfPngLlCe0QYOdRKYFt8gy56TA==} engines: {node: '>=v18'} dependencies: - '@commitlint/config-validator': 18.4.3 - '@commitlint/execute-rule': 18.4.3 - '@commitlint/resolve-extends': 18.4.3 - '@commitlint/types': 18.4.3 - '@types/node': 18.19.3 + '@commitlint/config-validator': 18.6.1 + '@commitlint/execute-rule': 18.6.1 + '@commitlint/resolve-extends': 18.6.1 + '@commitlint/types': 18.6.1 chalk: 4.1.2 cosmiconfig: 8.3.6(typescript@5.3.3) - cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.3.3) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6)(typescript@5.3.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 resolve-from: 5.0.0 transitivePeerDependencies: + - '@types/node' - typescript dev: false - /@commitlint/message@18.4.3: - resolution: {integrity: sha512-ddJ7AztWUIoEMAXoewx45lKEYEOeOlBVWjk8hDMUGpprkuvWULpaXczqdjwVtjrKT3JhhN+gMs8pm5G3vB2how==} + /@commitlint/message@18.6.1: + resolution: {integrity: sha512-VKC10UTMLcpVjMIaHHsY1KwhuTQtdIKPkIdVEwWV+YuzKkzhlI3aNy6oo1eAN6b/D2LTtZkJe2enHmX0corYRw==} engines: {node: '>=v18'} dev: false - /@commitlint/parse@18.4.3: - resolution: {integrity: sha512-eoH7CXM9L+/Me96KVcfJ27EIIbA5P9sqw3DqjJhRYuhaULIsPHFs5S5GBDCqT0vKZQDx0DgxhMpW6AQbnKrFtA==} + /@commitlint/parse@18.6.1: + resolution: {integrity: sha512-eS/3GREtvVJqGZrwAGRwR9Gdno3YcZ6Xvuaa+vUF8j++wsmxrA2En3n0ccfVO2qVOLJC41ni7jSZhQiJpMPGOQ==} engines: {node: '>=v18'} dependencies: - '@commitlint/types': 18.4.3 + '@commitlint/types': 18.6.1 conventional-changelog-angular: 7.0.0 conventional-commits-parser: 5.0.0 dev: false - /@commitlint/read@18.4.3: - resolution: {integrity: sha512-H4HGxaYA6OBCimZAtghL+B+SWu8ep4X7BwgmedmqWZRHxRLcX2q0bWBtUm5FsMbluxbOfrJwOs/Z0ah4roP/GQ==} + /@commitlint/read@18.6.1: + resolution: {integrity: sha512-ia6ODaQFzXrVul07ffSgbZGFajpe8xhnDeLIprLeyfz3ivQU1dIoHp7yz0QIorZ6yuf4nlzg4ZUkluDrGN/J/w==} engines: {node: '>=v18'} dependencies: - '@commitlint/top-level': 18.4.3 - '@commitlint/types': 18.4.3 - fs-extra: 11.2.0 + '@commitlint/top-level': 18.6.1 + '@commitlint/types': 18.6.1 git-raw-commits: 2.0.11 minimist: 1.2.8 dev: false - /@commitlint/resolve-extends@18.4.3: - resolution: {integrity: sha512-30sk04LZWf8+SDgJrbJCjM90gTg2LxsD9cykCFeFu+JFHvBFq5ugzp2eO/DJGylAdVaqxej3c7eTSE64hR/lnw==} + /@commitlint/resolve-extends@18.6.1: + resolution: {integrity: sha512-ifRAQtHwK+Gj3Bxj/5chhc4L2LIc3s30lpsyW67yyjsETR6ctHAHRu1FSpt0KqahK5xESqoJ92v6XxoDRtjwEQ==} engines: {node: '>=v18'} dependencies: - '@commitlint/config-validator': 18.4.3 - '@commitlint/types': 18.4.3 + '@commitlint/config-validator': 18.6.1 + '@commitlint/types': 18.6.1 import-fresh: 3.3.0 lodash.mergewith: 4.6.2 resolve-from: 5.0.0 resolve-global: 1.0.0 dev: false - /@commitlint/rules@18.4.3: - resolution: {integrity: sha512-8KIeukDf45BiY+Lul1T0imSNXF0sMrlLG6JpLLKolkmYVQ6PxxoNOriwyZ3UTFFpaVbPy0rcITaV7U9JCAfDTA==} + /@commitlint/rules@18.6.1: + resolution: {integrity: sha512-kguM6HxZDtz60v/zQYOe0voAtTdGybWXefA1iidjWYmyUUspO1zBPQEmJZ05/plIAqCVyNUTAiRPWIBKLCrGew==} engines: {node: '>=v18'} dependencies: - '@commitlint/ensure': 18.4.3 - '@commitlint/message': 18.4.3 - '@commitlint/to-lines': 18.4.3 - '@commitlint/types': 18.4.3 + '@commitlint/ensure': 18.6.1 + '@commitlint/message': 18.6.1 + '@commitlint/to-lines': 18.6.1 + '@commitlint/types': 18.6.1 execa: 5.1.1 dev: false - /@commitlint/to-lines@18.4.3: - resolution: {integrity: sha512-fy1TAleik4Zfru1RJ8ZU6cOSvgSVhUellxd3WZV1D5RwHZETt1sZdcA4mQN2y3VcIZsUNKkW0Mq8CM9/L9harQ==} + /@commitlint/to-lines@18.6.1: + resolution: {integrity: sha512-Gl+orGBxYSNphx1+83GYeNy5N0dQsHBQ9PJMriaLQDB51UQHCVLBT/HBdOx5VaYksivSf5Os55TLePbRLlW50Q==} engines: {node: '>=v18'} dev: false - /@commitlint/top-level@18.4.3: - resolution: {integrity: sha512-E6fJPBLPFL5R8+XUNSYkj4HekIOuGMyJo3mIx2PkYc3clel+pcWQ7TConqXxNWW4x1ugigiIY2RGot55qUq1hw==} + /@commitlint/top-level@18.6.1: + resolution: {integrity: sha512-HyiHQZUTf0+r0goTCDs/bbVv/LiiQ7AVtz6KIar+8ZrseB9+YJAIo8HQ2IC2QT1y3N1lbW6OqVEsTHjbT6hGSw==} engines: {node: '>=v18'} dependencies: find-up: 5.0.0 dev: false - /@commitlint/types@18.4.3: - resolution: {integrity: sha512-cvzx+vtY/I2hVBZHCLrpoh+sA0hfuzHwDc+BAFPimYLjJkpHnghQM+z8W/KyLGkygJh3BtI3xXXq+dKjnSWEmA==} + /@commitlint/types@18.6.1: + resolution: {integrity: sha512-gwRLBLra/Dozj2OywopeuHj2ac26gjGkz2cZ+86cTJOdtWfiRRr4+e77ZDAGc6MDWxaWheI+mAV5TLWWRwqrFg==} engines: {node: '>=v18'} dependencies: chalk: 4.1.2 @@ -1484,7 +1485,7 @@ packages: resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} dependencies: '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.20 + '@jridgewell/trace-mapping': 0.3.22 dev: false /@jridgewell/sourcemap-codec@1.4.15: @@ -1498,6 +1499,13 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: false + /@jridgewell/trace-mapping@0.3.22: + resolution: {integrity: sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==} + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: false + /@manypkg/find-root@1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} dependencies: @@ -1786,7 +1794,7 @@ packages: /@types/eslint-scope@3.7.7: resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} dependencies: - '@types/eslint': 8.44.9 + '@types/eslint': 8.56.2 '@types/estree': 1.0.5 dev: false @@ -1797,8 +1805,8 @@ packages: '@types/json-schema': 7.0.15 dev: false - /@types/eslint@8.44.9: - resolution: {integrity: sha512-6yBxcvwnnYoYT1Uk2d+jvIfsuP4mb2EdIxFnrPABj5a/838qe5bGkNLFOiipX4ULQ7XVQvTxOh7jO+BTAiqsEw==} + /@types/eslint@8.56.2: + resolution: {integrity: sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==} dependencies: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 @@ -1866,12 +1874,6 @@ packages: resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} dev: false - /@types/node@18.19.3: - resolution: {integrity: sha512-k5fggr14DwAytoA/t8rPrIz++lXK7/DqckthCmoZOKNsEbJkId4Z//BqgApXBUGrGddrigYa1oqheo/7YmW4rg==} - dependencies: - undici-types: 5.26.5 - dev: false - /@types/node@20.10.4: resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==} dependencies: @@ -2179,12 +2181,12 @@ packages: event-target-shim: 5.0.1 dev: false - /acorn-import-assertions@1.9.0(acorn@8.11.2): + /acorn-import-assertions@1.9.0(acorn@8.11.3): resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} peerDependencies: acorn: ^8 dependencies: - acorn: 8.11.2 + acorn: 8.11.3 dev: false /acorn-jsx@5.3.2(acorn@8.11.2): @@ -2201,6 +2203,12 @@ packages: hasBin: true dev: false + /acorn@8.11.3: + resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: false + /ajv-keywords@3.5.2(ajv@6.12.6): resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} peerDependencies: @@ -2646,6 +2654,17 @@ packages: update-browserslist-db: 1.0.13(browserslist@4.22.2) dev: false + /browserslist@4.22.3: + resolution: {integrity: sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001587 + electron-to-chromium: 1.4.667 + node-releases: 2.0.14 + update-browserslist-db: 1.0.13(browserslist@4.22.3) + dev: false + /buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} dev: false @@ -2730,6 +2749,10 @@ packages: resolution: {integrity: sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==} dev: false + /caniuse-lite@1.0.30001587: + resolution: {integrity: sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==} + dev: false + /ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} dev: false @@ -2839,7 +2862,7 @@ packages: engines: {node: '>=18'} dependencies: slice-ansi: 5.0.0 - string-width: 7.0.0 + string-width: 7.1.0 dev: false /cliui@6.0.0: @@ -2988,7 +3011,7 @@ packages: engines: {node: '>= 0.6'} dev: false - /cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.3.3): + /cosmiconfig-typescript-loader@5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6)(typescript@5.3.3): resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} engines: {node: '>=v16'} peerDependencies: @@ -2996,7 +3019,7 @@ packages: cosmiconfig: '>=8.2' typescript: '>=4' dependencies: - '@types/node': 18.19.3 + '@types/node': 20.10.4 cosmiconfig: 8.3.6(typescript@5.3.3) jiti: 1.21.0 typescript: 5.3.3 @@ -3316,6 +3339,10 @@ packages: resolution: {integrity: sha512-r4x5+FowKG6q+/Wj0W9nidx7QO31BJwmR2uEo+Qh3YLGQ8SbBAFuDFpTxzly/I2gsbrFwBuIjrMp423L3O5U3w==} dev: false + /electron-to-chromium@1.4.667: + resolution: {integrity: sha512-66L3pLlWhTNVUhnmSA5+qDM3fwnXsM6KAqE36e2w4KN0g6pkEtlT5bs41FQtQwVwKnfhNBXiWRLPs30HSxd7Kw==} + dev: false + /elegant-spinner@3.0.0: resolution: {integrity: sha512-nWUuor3FWTGYAch7SY0unb5qLzs7eAc24ic9PBh+eQctFNQ4IDWJqBpBgsL4SrrGHHN0mJoL7CpWZby5t2KjFg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -3453,7 +3480,7 @@ packages: /es-shim-unscopables@1.0.2: resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} dependencies: - hasown: 2.0.0 + hasown: 2.0.1 dev: false /es-to-primitive@1.2.1: @@ -3531,6 +3558,11 @@ packages: engines: {node: '>=6'} dev: false + /escalade@3.1.2: + resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} + engines: {node: '>=6'} + dev: false + /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} @@ -3604,7 +3636,7 @@ packages: - supports-color dev: false - /eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.89.0): + /eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1): resolution: {integrity: sha512-Y7WIaXWV+Q21Rz/PJgUxiW/FTBOWmU8NTLdz+nz9mMoiz5vAev/fOaQxwD7qRzTfE3HSm1qsxZ5uRd7eX+VEtA==} engines: {node: '>= 6'} peerDependencies: @@ -3616,14 +3648,14 @@ packages: enhanced-resolve: 0.9.1 eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) find-root: 1.1.0 - hasown: 2.0.0 + hasown: 2.0.1 interpret: 1.4.0 is-core-module: 2.13.1 is-regex: 1.1.4 lodash: 4.17.21 resolve: 2.0.0-next.5 semver: 5.7.2 - webpack: 5.89.0 + webpack: 5.90.1 transitivePeerDependencies: - supports-color dev: false @@ -3653,7 +3685,7 @@ packages: debug: 3.2.7 eslint: 8.53.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.89.0) + eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) transitivePeerDependencies: - supports-color dev: false @@ -4023,7 +4055,7 @@ packages: human-signals: 4.3.1 is-stream: 3.0.0 merge-stream: 2.0.0 - npm-run-path: 5.1.0 + npm-run-path: 5.2.0 onetime: 6.0.0 signal-exit: 3.0.7 strip-final-newline: 3.0.0 @@ -4038,7 +4070,7 @@ packages: human-signals: 5.0.0 is-stream: 3.0.0 merge-stream: 2.0.0 - npm-run-path: 5.1.0 + npm-run-path: 5.2.0 onetime: 6.0.0 signal-exit: 4.1.0 strip-final-newline: 3.0.0 @@ -4228,15 +4260,6 @@ packages: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} dev: false - /fs-extra@11.2.0: - resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} - engines: {node: '>=14.14'} - dependencies: - graceful-fs: 4.2.11 - jsonfile: 6.1.0 - universalify: 2.0.1 - dev: false - /fs-extra@7.0.1: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} @@ -4552,6 +4575,13 @@ packages: function-bind: 1.1.2 dev: false + /hasown@2.0.1: + resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} + engines: {node: '>= 0.4'} + dependencies: + function-bind: 1.1.2 + dev: false + /hast-util-from-html@2.0.1: resolution: {integrity: sha512-RXQBLMl9kjKVNkJTIO6bZyb2n+cUH8LFaSSzo82jiLT6Tfc+Pt7VQCS+/h3YwG4jaNE2TA2sdJisGWR+aJrp0g==} dependencies: @@ -5028,7 +5058,7 @@ packages: /is-core-module@2.13.1: resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} dependencies: - hasown: 2.0.0 + hasown: 2.0.1 dev: false /is-date-object@1.0.5: @@ -5416,14 +5446,6 @@ packages: graceful-fs: 4.2.11 dev: false - /jsonfile@6.1.0: - resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} - dependencies: - universalify: 2.0.1 - optionalDependencies: - graceful-fs: 4.2.11 - dev: false - /jsonparse@1.3.1: resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==} engines: {'0': node >= 0.2.0} @@ -6522,7 +6544,7 @@ packages: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.13.1 - semver: 7.5.4 + semver: 7.6.0 validate-npm-package-license: 3.0.4 dev: false @@ -6563,8 +6585,8 @@ packages: path-key: 3.1.1 dev: false - /npm-run-path@5.1.0: - resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==} + /npm-run-path@5.2.0: + resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: path-key: 4.0.0 @@ -7690,6 +7712,14 @@ packages: lru-cache: 6.0.0 dev: false + /semver@7.6.0: + resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: false + /seq-queue@0.0.5: resolution: {integrity: sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==} dev: false @@ -7701,8 +7731,8 @@ packages: type-fest: 2.19.0 dev: false - /serialize-javascript@6.0.1: - resolution: {integrity: sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==} + /serialize-javascript@6.0.2: + resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} dependencies: randombytes: 2.1.0 dev: false @@ -8036,6 +8066,15 @@ packages: strip-ansi: 7.1.0 dev: false + /string-width@7.1.0: + resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} + engines: {node: '>=18'} + dependencies: + emoji-regex: 10.3.0 + get-east-asian-width: 1.2.0 + strip-ansi: 7.1.0 + dev: false + /string.prototype.padend@3.1.5: resolution: {integrity: sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA==} engines: {node: '>= 0.4'} @@ -8284,8 +8323,8 @@ packages: engines: {node: '>=8'} dev: false - /terser-webpack-plugin@5.3.9(webpack@5.89.0): - resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} + /terser-webpack-plugin@5.3.10(webpack@5.90.1): + resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==} engines: {node: '>= 10.13.0'} peerDependencies: '@swc/core': '*' @@ -8300,21 +8339,21 @@ packages: uglify-js: optional: true dependencies: - '@jridgewell/trace-mapping': 0.3.20 + '@jridgewell/trace-mapping': 0.3.22 jest-worker: 27.5.1 schema-utils: 3.3.0 - serialize-javascript: 6.0.1 - terser: 5.26.0 - webpack: 5.89.0 + serialize-javascript: 6.0.2 + terser: 5.27.0 + webpack: 5.90.1 dev: false - /terser@5.26.0: - resolution: {integrity: sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==} + /terser@5.27.0: + resolution: {integrity: sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==} engines: {node: '>=10'} hasBin: true dependencies: '@jridgewell/source-map': 0.3.5 - acorn: 8.11.2 + acorn: 8.11.3 commander: 2.20.3 source-map-support: 0.5.21 dev: false @@ -8773,11 +8812,6 @@ packages: engines: {node: '>= 4.0.0'} dev: false - /universalify@2.0.1: - resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} - engines: {node: '>= 10.0.0'} - dev: false - /untildify@4.0.0: resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} engines: {node: '>=8'} @@ -8794,6 +8828,17 @@ packages: picocolors: 1.0.0 dev: false + /update-browserslist-db@1.0.13(browserslist@4.22.3): + resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.22.3 + escalade: 3.1.1 + picocolors: 1.0.0 + dev: false + /uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: @@ -8938,8 +8983,8 @@ packages: engines: {node: '>=10.13.0'} dev: false - /webpack@5.89.0: - resolution: {integrity: sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==} + /webpack@5.90.1: + resolution: {integrity: sha512-SstPdlAC5IvgFnhiRok8hqJo/+ArAbNv7rhU4fnWGHNVfN59HSQFaxZDSAL3IFG2YmqxuRs+IU33milSxbPlog==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -8953,9 +8998,9 @@ packages: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/wasm-edit': 1.11.6 '@webassemblyjs/wasm-parser': 1.11.6 - acorn: 8.11.2 - acorn-import-assertions: 1.9.0(acorn@8.11.2) - browserslist: 4.22.2 + acorn: 8.11.3 + acorn-import-assertions: 1.9.0(acorn@8.11.3) + browserslist: 4.22.3 chrome-trace-event: 1.0.3 enhanced-resolve: 5.15.0 es-module-lexer: 1.4.1 @@ -8969,7 +9014,7 @@ packages: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.9(webpack@5.89.0) + terser-webpack-plugin: 5.3.10(webpack@5.90.1) watchpack: 2.4.0 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -9086,7 +9131,7 @@ packages: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: false - /xo@0.56.0(webpack@5.89.0): + /xo@0.56.0(webpack@5.90.1): resolution: {integrity: sha512-ohzSqgQ8POgZ3KNaEK/gxDovb6h3cglxv8+xi9Dn7gmRe8g4qotpOZpMs5ACJhvkJDmJOhiKbk6Uq6Mx1Di9DA==} engines: {node: '>=16'} hasBin: true @@ -9107,7 +9152,7 @@ packages: eslint-config-xo: 0.43.1(eslint@8.53.0) eslint-config-xo-typescript: 1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) eslint-formatter-pretty: 5.0.0 - eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.89.0) + eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) eslint-plugin-ava: 14.0.0(eslint@8.53.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.53.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) @@ -9132,7 +9177,7 @@ packages: slash: 5.1.0 to-absolute-glob: 3.0.0 typescript: 5.3.3 - webpack: 5.89.0 + webpack: 5.90.1 transitivePeerDependencies: - '@types/eslint' - eslint-import-resolver-typescript @@ -9205,7 +9250,7 @@ packages: engines: {node: '>=12'} dependencies: cliui: 8.0.1 - escalade: 3.1.1 + escalade: 3.1.2 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3 From 41522094dd6390e5cb5a82f30826ac130422e967 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 19 Feb 2024 09:25:56 +0100 Subject: [PATCH 73/98] fix(cli): handle the case where the config is returned as an object with a nested `default` property --- .changeset/old-pigs-dance.md | 5 +++++ packages/cli/src/get-config.ts | 14 +++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .changeset/old-pigs-dance.md diff --git a/.changeset/old-pigs-dance.md b/.changeset/old-pigs-dance.md new file mode 100644 index 0000000..95a0442 --- /dev/null +++ b/.changeset/old-pigs-dance.md @@ -0,0 +1,5 @@ +--- +'@emigrate/cli': patch +--- + +Handle the case where the config is returned as an object with a nested `default` property diff --git a/packages/cli/src/get-config.ts b/packages/cli/src/get-config.ts index 4db33a7..f70fac9 100644 --- a/packages/cli/src/get-config.ts +++ b/packages/cli/src/get-config.ts @@ -6,6 +6,18 @@ const commands = ['up', 'list', 'new', 'remove'] as const; type Command = (typeof commands)[number]; const canImportTypeScriptAsIs = Boolean(process.isBun) || typeof Deno !== 'undefined'; +const getEmigrateConfig = (config: any): EmigrateConfig => { + if ('default' in config && typeof config.default === 'object' && config.default !== null) { + return config.default as EmigrateConfig; + } + + if (typeof config === 'object' && config !== null) { + return config as EmigrateConfig; + } + + return {}; +}; + export const getConfig = async (command: Command, forceImportTypeScriptAsIs = false): Promise => { const explorer = cosmiconfig('emigrate', { // eslint-disable-next-line @typescript-eslint/naming-convention @@ -18,7 +30,7 @@ export const getConfig = async (command: Command, forceImportTypeScriptAsIs = fa return {}; } - const config = result.config as EmigrateConfig; + const config = getEmigrateConfig(result.config); const commandConfig = config[command]; From d1bd8fc74f2c073824afec5a0a4de5da9268e326 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 19 Feb 2024 09:59:34 +0000 Subject: [PATCH 74/98] chore(release): version packages --- .changeset/old-pigs-dance.md | 5 ----- packages/cli/CHANGELOG.md | 6 ++++++ packages/cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/old-pigs-dance.md diff --git a/.changeset/old-pigs-dance.md b/.changeset/old-pigs-dance.md deleted file mode 100644 index 95a0442..0000000 --- a/.changeset/old-pigs-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Handle the case where the config is returned as an object with a nested `default` property diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index cdf27d5..8d872a9 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/cli +## 0.18.2 + +### Patch Changes + +- 4152209: Handle the case where the config is returned as an object with a nested `default` property + ## 0.18.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index bda6434..a7c0579 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.18.1", + "version": "0.18.2", "publishConfig": { "access": "public", "provenance": true From 520fdd94ef8123007f080d1c8d98ee6143025ae4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 09:22:09 +0000 Subject: [PATCH 75/98] chore(deps): bump changesets/action from 1.4.5 to 1.4.6 Bumps [changesets/action](https://github.com/changesets/action) from 1.4.5 to 1.4.6. - [Release notes](https://github.com/changesets/action/releases) - [Changelog](https://github.com/changesets/action/blob/main/CHANGELOG.md) - [Commits](https://github.com/changesets/action/compare/v1.4.5...v1.4.6) --- updated-dependencies: - dependency-name: changesets/action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 898def5..adc6786 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,7 +39,7 @@ jobs: run: pnpm install - name: Create Release Pull Request - uses: changesets/action@v1.4.5 + uses: changesets/action@v1.4.6 with: publish: pnpm run release commit: 'chore(release): version packages' From 081ab34cb4f47f675f578d619cc130c9c8ea2d98 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 4 Apr 2024 14:43:38 +0200 Subject: [PATCH 76/98] fix(reporter-pino): make sure the Pino reporter outputs logs in Bun environments --- .changeset/afraid-rules-wait.md | 5 +++++ packages/reporter-pino/package.json | 4 +++- packages/reporter-pino/src/index.ts | 1 + pnpm-lock.yaml | 6 ++++++ 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .changeset/afraid-rules-wait.md diff --git a/.changeset/afraid-rules-wait.md b/.changeset/afraid-rules-wait.md new file mode 100644 index 0000000..2365b49 --- /dev/null +++ b/.changeset/afraid-rules-wait.md @@ -0,0 +1,5 @@ +--- +'@emigrate/reporter-pino': patch +--- + +Make sure Pino outputs logs in Bun environments diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index b417d19..0ac7a26 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -40,7 +40,9 @@ "pino": "8.16.2" }, "devDependencies": { - "@emigrate/tsconfig": "workspace:*" + "@emigrate/tsconfig": "workspace:*", + "@types/bun": "1.0.5", + "bun-types": "1.0.26" }, "volta": { "extends": "../../package.json" diff --git a/packages/reporter-pino/src/index.ts b/packages/reporter-pino/src/index.ts index 8a23570..690b628 100644 --- a/packages/reporter-pino/src/index.ts +++ b/packages/reporter-pino/src/index.ts @@ -52,6 +52,7 @@ class PinoReporter implements Required { scope: command, version, }, + transport: process.isBun ? { target: 'pino/file', options: { destination: 1 } } : undefined, }); this.#logger.info({ parameters }, `Emigrate "${command}" initialized${parameters.dry ? ' (dry-run)' : ''}`); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8371ed7..d6a9a95 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -191,6 +191,12 @@ importers: '@emigrate/tsconfig': specifier: workspace:* version: link:../tsconfig + '@types/bun': + specifier: 1.0.5 + version: 1.0.5 + bun-types: + specifier: 1.0.26 + version: 1.0.26 packages/storage-fs: dependencies: From e396266f3d35f5d04f84ee5a099071bee27880df Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 4 Apr 2024 12:44:51 +0000 Subject: [PATCH 77/98] chore(release): version packages --- .changeset/afraid-rules-wait.md | 5 ----- packages/reporter-pino/CHANGELOG.md | 6 ++++++ packages/reporter-pino/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/afraid-rules-wait.md diff --git a/.changeset/afraid-rules-wait.md b/.changeset/afraid-rules-wait.md deleted file mode 100644 index 2365b49..0000000 --- a/.changeset/afraid-rules-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/reporter-pino': patch ---- - -Make sure Pino outputs logs in Bun environments diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index 280f20c..765a84b 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/reporter-pino +## 0.6.3 + +### Patch Changes + +- 081ab34: Make sure Pino outputs logs in Bun environments + ## 0.6.2 ### Patch Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 0ac7a26..0205002 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.6.2", + "version": "0.6.3", "publishConfig": { "access": "public", "provenance": true From aef2d7c861964d018aff72b7c9b90faf13c1ddfc Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Wed, 29 May 2024 15:06:10 +0200 Subject: [PATCH 78/98] fix(mysql): handle table initialization better in clustered database environments The CREATE TABLE IF NOT EXISTS yields more locks than checking if the table exists using a SELECT first before running CREATE TABLE. This makes more sense as the table usually already exists, so we optimize for the happy path. --- .changeset/thirty-beds-fetch.md | 5 +++++ packages/mysql/src/index.ts | 19 ++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .changeset/thirty-beds-fetch.md diff --git a/.changeset/thirty-beds-fetch.md b/.changeset/thirty-beds-fetch.md new file mode 100644 index 0000000..9819f69 --- /dev/null +++ b/.changeset/thirty-beds-fetch.md @@ -0,0 +1,5 @@ +--- +'@emigrate/mysql': patch +--- + +Avoid "CREATE TABLE IF NOT EXISTS" as it's too locking in a clustered database when running it concurrently diff --git a/packages/mysql/src/index.ts b/packages/mysql/src/index.ts index cc659e6..2a1354e 100644 --- a/packages/mysql/src/index.ts +++ b/packages/mysql/src/index.ts @@ -156,9 +156,26 @@ const deleteMigration = async (pool: Pool, table: string, migration: MigrationMe }; const initializeTable = async (pool: Pool, table: string) => { + const [result] = await pool.execute({ + sql: ` + SELECT + 1 as table_exists + FROM + information_schema.tables + WHERE + table_schema = DATABASE() + AND table_name = ? + `, + values: [table], + }); + + if (result[0]?.['table_exists']) { + return; + } + // This table definition is compatible with the one used by the immigration-mysql package await pool.execute(` - CREATE TABLE IF NOT EXISTS ${escapeId(table)} ( + CREATE TABLE ${escapeId(table)} ( name varchar(255) not null primary key, status varchar(32), date datetime not null From 44426042cf58cbf47088ac90d4ff9696b78894c6 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Wed, 29 May 2024 15:56:21 +0200 Subject: [PATCH 79/98] feat(mysql,postgres): automatically create the database if it doesn't exist (fixes #147) --- .changeset/seven-wasps-happen.md | 6 +++ packages/mysql/src/index.ts | 65 +++++++++++++++++++++++++++++++- packages/postgres/src/index.ts | 60 +++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 .changeset/seven-wasps-happen.md diff --git a/.changeset/seven-wasps-happen.md b/.changeset/seven-wasps-happen.md new file mode 100644 index 0000000..366e79d --- /dev/null +++ b/.changeset/seven-wasps-happen.md @@ -0,0 +1,6 @@ +--- +'@emigrate/postgres': minor +'@emigrate/mysql': minor +--- + +Automatically create the database if it doesn't exist, and the user have the permissions to do so diff --git a/packages/mysql/src/index.ts b/packages/mysql/src/index.ts index 2a1354e..5b97560 100644 --- a/packages/mysql/src/index.ts +++ b/packages/mysql/src/index.ts @@ -9,6 +9,7 @@ import { type Pool, type ResultSetHeader, type RowDataPacket, + type Connection, } from 'mysql2/promise'; import { getTimestampPrefix, sanitizeMigrationName } from '@emigrate/plugin-tools'; import { @@ -155,6 +156,66 @@ const deleteMigration = async (pool: Pool, table: string, migration: MigrationMe return result.affectedRows === 1; }; +const getDatabaseName = (config: ConnectionOptions | string) => { + if (typeof config === 'string') { + const uri = new URL(config); + + return uri.pathname.replace(/^\//u, ''); + } + + return config.database ?? ''; +}; + +const setDatabaseName = (config: T, databaseName: string): T => { + if (typeof config === 'string') { + const uri = new URL(config); + + uri.pathname = `/${databaseName}`; + + return uri.toString() as T; + } + + if (typeof config === 'object') { + return { + ...config, + database: databaseName, + }; + } + + throw new Error('Invalid connection config'); +}; + +const initializeDatabase = async (config: ConnectionOptions | string) => { + let connection: Connection | undefined; + + try { + connection = await getConnection(config); + await connection.query('SELECT 1'); + await connection.end(); + } catch (error) { + await connection?.end(); + + // The ER_BAD_DB_ERROR error code is thrown when the database does not exist but the user might have the permissions to create it + // Otherwise the error code is ER_DBACCESS_DENIED_ERROR + if (error && typeof error === 'object' && 'code' in error && error.code === 'ER_BAD_DB_ERROR') { + const databaseName = getDatabaseName(config); + + const informationSchemaConfig = setDatabaseName(config, 'information_schema'); + + const informationSchemaConnection = await getConnection(informationSchemaConfig); + try { + await informationSchemaConnection.query(`CREATE DATABASE ${escapeId(databaseName)}`); + // Any database creation error here will be propagated + } finally { + await informationSchemaConnection.end(); + } + } else { + // In this case we don't know how to handle the error, so we rethrow it + throw error; + } + } +}; + const initializeTable = async (pool: Pool, table: string) => { const [result] = await pool.execute({ sql: ` @@ -186,6 +247,8 @@ const initializeTable = async (pool: Pool, table: string) => { export const createMysqlStorage = ({ table = defaultTable, connection }: MysqlStorageOptions): EmigrateStorage => { return { async initializeStorage() { + await initializeDatabase(connection); + const pool = getPool(connection); if (process.isBun) { @@ -196,8 +259,6 @@ export const createMysqlStorage = ({ table = defaultTable, connection }: MysqlSt }); } - await pool.query('SELECT 1'); - try { await initializeTable(pool, table); } catch (error) { diff --git a/packages/postgres/src/index.ts b/packages/postgres/src/index.ts index b6e3e4c..44af95b 100644 --- a/packages/postgres/src/index.ts +++ b/packages/postgres/src/index.ts @@ -92,6 +92,64 @@ const deleteMigration = async (sql: Sql, table: string, migration: MigrationMeta return result.count === 1; }; +const getDatabaseName = (config: ConnectionOptions | string) => { + if (typeof config === 'string') { + const uri = new URL(config); + + return uri.pathname.replace(/^\//u, ''); + } + + return config.database ?? ''; +}; + +const setDatabaseName = (config: T, databaseName: string): T => { + if (typeof config === 'string') { + const uri = new URL(config); + + uri.pathname = `/${databaseName}`; + + return uri.toString() as T; + } + + if (typeof config === 'object') { + return { + ...config, + database: databaseName, + }; + } + + throw new Error('Invalid connection config'); +}; + +const initializeDatabase = async (config: ConnectionOptions | string) => { + let sql: Sql | undefined; + + try { + sql = await getPool(config); + await sql.end(); + } catch (error) { + await sql?.end(); + + // The error code 3D000 means that the database does not exist, but the user might have the permissions to create it + if (error && typeof error === 'object' && 'code' in error && error.code === '3D000') { + const databaseName = getDatabaseName(config); + + const postgresConfig = setDatabaseName(config, 'postgres'); + + const postgresSql = await getPool(postgresConfig); + try { + await postgresSql`CREATE DATABASE ${postgresSql(databaseName)}`; + // Any database creation error here will be propagated + } finally { + await postgresSql.end(); + } + } else { + // In this case we don't know how to handle the error, so we rethrow it + throw error; + } + } +}; + const initializeTable = async (sql: Sql, table: string) => { const [row] = await sql>` SELECT 1 as exists @@ -122,6 +180,8 @@ export const createPostgresStorage = ({ }: PostgresStorageOptions): EmigrateStorage => { return { async initializeStorage() { + await initializeDatabase(connection); + const sql = await getPool(connection); try { From f300f147faf2dcad2fbc82984dab22fdd50fbde8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 29 May 2024 14:20:01 +0000 Subject: [PATCH 80/98] chore(release): version packages --- .changeset/seven-wasps-happen.md | 6 ------ .changeset/thirty-beds-fetch.md | 5 ----- packages/mysql/CHANGELOG.md | 10 ++++++++++ packages/mysql/package.json | 2 +- packages/postgres/CHANGELOG.md | 6 ++++++ packages/postgres/package.json | 2 +- 6 files changed, 18 insertions(+), 13 deletions(-) delete mode 100644 .changeset/seven-wasps-happen.md delete mode 100644 .changeset/thirty-beds-fetch.md diff --git a/.changeset/seven-wasps-happen.md b/.changeset/seven-wasps-happen.md deleted file mode 100644 index 366e79d..0000000 --- a/.changeset/seven-wasps-happen.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@emigrate/postgres': minor -'@emigrate/mysql': minor ---- - -Automatically create the database if it doesn't exist, and the user have the permissions to do so diff --git a/.changeset/thirty-beds-fetch.md b/.changeset/thirty-beds-fetch.md deleted file mode 100644 index 9819f69..0000000 --- a/.changeset/thirty-beds-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/mysql': patch ---- - -Avoid "CREATE TABLE IF NOT EXISTS" as it's too locking in a clustered database when running it concurrently diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index 3830c42..3720b66 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,15 @@ # @emigrate/mysql +## 0.3.0 + +### Minor Changes + +- 4442604: Automatically create the database if it doesn't exist, and the user have the permissions to do so + +### Patch Changes + +- aef2d7c: Avoid "CREATE TABLE IF NOT EXISTS" as it's too locking in a clustered database when running it concurrently + ## 0.2.8 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index f3837fb..8c92a2d 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.2.8", + "version": "0.3.0", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/postgres/CHANGELOG.md b/packages/postgres/CHANGELOG.md index 67dbb5a..7ddd588 100644 --- a/packages/postgres/CHANGELOG.md +++ b/packages/postgres/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/postgres +## 0.3.0 + +### Minor Changes + +- 4442604: Automatically create the database if it doesn't exist, and the user have the permissions to do so + ## 0.2.6 ### Patch Changes diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 2c40b67..ccd8997 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/postgres", - "version": "0.2.6", + "version": "0.3.0", "publishConfig": { "access": "public", "provenance": true From ca154fadeb87ada6610bb7c8b8b10dc6dc73d4e5 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 30 May 2024 10:09:32 +0200 Subject: [PATCH 81/98] fix: exclude tsbuildinfo files from published packages for smaller bundles --- .changeset/pretty-actors-prove.md | 11 +++++++++++ packages/cli/package.json | 3 ++- packages/mysql/package.json | 3 ++- packages/plugin-tools/package.json | 3 ++- packages/postgres/package.json | 3 ++- packages/reporter-pino/package.json | 3 ++- packages/storage-fs/package.json | 3 ++- packages/types/package.json | 3 ++- 8 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 .changeset/pretty-actors-prove.md diff --git a/.changeset/pretty-actors-prove.md b/.changeset/pretty-actors-prove.md new file mode 100644 index 0000000..01d20d3 --- /dev/null +++ b/.changeset/pretty-actors-prove.md @@ -0,0 +1,11 @@ +--- +'@emigrate/reporter-pino': patch +'@emigrate/plugin-tools': patch +'@emigrate/storage-fs': patch +'@emigrate/postgres': patch +'@emigrate/mysql': patch +'@emigrate/types': patch +'@emigrate/cli': patch +--- + +Minimize package size by excluding \*.tsbuildinfo files diff --git a/packages/cli/package.json b/packages/cli/package.json index a7c0579..1c49194 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -19,7 +19,8 @@ "emigrate": "dist/cli.js" }, "files": [ - "dist" + "dist", + "!dist/*.tsbuildinfo" ], "scripts": { "build": "tsc --pretty", diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 8c92a2d..4073107 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -16,7 +16,8 @@ } }, "files": [ - "dist" + "dist", + "!dist/*.tsbuildinfo" ], "scripts": { "build": "tsc --pretty", diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index 6237b13..484a8e1 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -16,7 +16,8 @@ } }, "files": [ - "dist" + "dist", + "!dist/*.tsbuildinfo" ], "scripts": { "build": "tsc --pretty", diff --git a/packages/postgres/package.json b/packages/postgres/package.json index ccd8997..5bd9f7e 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -16,7 +16,8 @@ } }, "files": [ - "dist" + "dist", + "!dist/*.tsbuildinfo" ], "scripts": { "build": "tsc --pretty", diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 0205002..acf5b50 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -16,7 +16,8 @@ } }, "files": [ - "dist" + "dist", + "!dist/*.tsbuildinfo" ], "scripts": { "build": "tsc --pretty", diff --git a/packages/storage-fs/package.json b/packages/storage-fs/package.json index 0f15617..be03133 100644 --- a/packages/storage-fs/package.json +++ b/packages/storage-fs/package.json @@ -16,7 +16,8 @@ } }, "files": [ - "dist" + "dist", + "!dist/*.tsbuildinfo" ], "scripts": { "build": "tsc --pretty", diff --git a/packages/types/package.json b/packages/types/package.json index 666a252..1c4ed5b 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -16,7 +16,8 @@ } }, "files": [ - "dist" + "dist", + "!dist/*.tsbuildinfo" ], "scripts": { "build": "tsc --pretty", From cf620a191d699072ef3486d5960af391f1d8e4ce Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 30 May 2024 08:13:02 +0000 Subject: [PATCH 82/98] chore(release): version packages --- .changeset/pretty-actors-prove.md | 11 ----------- packages/cli/CHANGELOG.md | 9 +++++++++ packages/cli/package.json | 2 +- packages/mysql/CHANGELOG.md | 9 +++++++++ packages/mysql/package.json | 2 +- packages/plugin-generate-js/CHANGELOG.md | 8 ++++++++ packages/plugin-generate-js/package.json | 2 +- packages/plugin-tools/CHANGELOG.md | 8 ++++++++ packages/plugin-tools/package.json | 2 +- packages/postgres/CHANGELOG.md | 9 +++++++++ packages/postgres/package.json | 2 +- packages/reporter-pino/CHANGELOG.md | 8 ++++++++ packages/reporter-pino/package.json | 2 +- packages/storage-fs/CHANGELOG.md | 8 ++++++++ packages/storage-fs/package.json | 2 +- packages/types/CHANGELOG.md | 6 ++++++ packages/types/package.json | 2 +- 17 files changed, 73 insertions(+), 19 deletions(-) delete mode 100644 .changeset/pretty-actors-prove.md diff --git a/.changeset/pretty-actors-prove.md b/.changeset/pretty-actors-prove.md deleted file mode 100644 index 01d20d3..0000000 --- a/.changeset/pretty-actors-prove.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@emigrate/reporter-pino': patch -'@emigrate/plugin-tools': patch -'@emigrate/storage-fs': patch -'@emigrate/postgres': patch -'@emigrate/mysql': patch -'@emigrate/types': patch -'@emigrate/cli': patch ---- - -Minimize package size by excluding \*.tsbuildinfo files diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 8d872a9..2743465 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/cli +## 0.18.3 + +### Patch Changes + +- ca154fa: Minimize package size by excluding \*.tsbuildinfo files +- Updated dependencies [ca154fa] + - @emigrate/plugin-tools@0.9.7 + - @emigrate/types@0.12.2 + ## 0.18.2 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 1c49194..61b513e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.18.2", + "version": "0.18.3", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index 3720b66..c18a11d 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/mysql +## 0.3.1 + +### Patch Changes + +- ca154fa: Minimize package size by excluding \*.tsbuildinfo files +- Updated dependencies [ca154fa] + - @emigrate/plugin-tools@0.9.7 + - @emigrate/types@0.12.2 + ## 0.3.0 ### Minor Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 4073107..afa751d 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.3.0", + "version": "0.3.1", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/plugin-generate-js/CHANGELOG.md b/packages/plugin-generate-js/CHANGELOG.md index 04b0a8e..1809ad4 100644 --- a/packages/plugin-generate-js/CHANGELOG.md +++ b/packages/plugin-generate-js/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-generate-js +## 0.3.7 + +### Patch Changes + +- Updated dependencies [ca154fa] + - @emigrate/plugin-tools@0.9.7 + - @emigrate/types@0.12.2 + ## 0.3.6 ### Patch Changes diff --git a/packages/plugin-generate-js/package.json b/packages/plugin-generate-js/package.json index 936e097..da3d174 100644 --- a/packages/plugin-generate-js/package.json +++ b/packages/plugin-generate-js/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-generate-js", - "version": "0.3.6", + "version": "0.3.7", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-tools/CHANGELOG.md b/packages/plugin-tools/CHANGELOG.md index f169f02..6028801 100644 --- a/packages/plugin-tools/CHANGELOG.md +++ b/packages/plugin-tools/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-tools +## 0.9.7 + +### Patch Changes + +- ca154fa: Minimize package size by excluding \*.tsbuildinfo files +- Updated dependencies [ca154fa] + - @emigrate/types@0.12.2 + ## 0.9.6 ### Patch Changes diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index 484a8e1..46dc18d 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-tools", - "version": "0.9.6", + "version": "0.9.7", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/postgres/CHANGELOG.md b/packages/postgres/CHANGELOG.md index 7ddd588..726b5cb 100644 --- a/packages/postgres/CHANGELOG.md +++ b/packages/postgres/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/postgres +## 0.3.1 + +### Patch Changes + +- ca154fa: Minimize package size by excluding \*.tsbuildinfo files +- Updated dependencies [ca154fa] + - @emigrate/plugin-tools@0.9.7 + - @emigrate/types@0.12.2 + ## 0.3.0 ### Minor Changes diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 5bd9f7e..5b870b0 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/postgres", - "version": "0.3.0", + "version": "0.3.1", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index 765a84b..fff8c18 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/reporter-pino +## 0.6.4 + +### Patch Changes + +- ca154fa: Minimize package size by excluding \*.tsbuildinfo files +- Updated dependencies [ca154fa] + - @emigrate/types@0.12.2 + ## 0.6.3 ### Patch Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index acf5b50..a2ed264 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.6.3", + "version": "0.6.4", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/storage-fs/CHANGELOG.md b/packages/storage-fs/CHANGELOG.md index 788ac24..299c68a 100644 --- a/packages/storage-fs/CHANGELOG.md +++ b/packages/storage-fs/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/storage-fs +## 0.4.7 + +### Patch Changes + +- ca154fa: Minimize package size by excluding \*.tsbuildinfo files +- Updated dependencies [ca154fa] + - @emigrate/types@0.12.2 + ## 0.4.6 ### Patch Changes diff --git a/packages/storage-fs/package.json b/packages/storage-fs/package.json index be03133..8bc1a05 100644 --- a/packages/storage-fs/package.json +++ b/packages/storage-fs/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/storage-fs", - "version": "0.4.6", + "version": "0.4.7", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index df62e7e..dd9ade2 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/types +## 0.12.2 + +### Patch Changes + +- ca154fa: Minimize package size by excluding \*.tsbuildinfo files + ## 0.12.1 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 1c4ed5b..6b4e32d 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/types", - "version": "0.12.1", + "version": "0.12.2", "publishConfig": { "access": "public", "provenance": true From 57498db2487e179b0989a6712bf285fcdb505edb Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Mon, 24 Jun 2024 15:50:50 +0200 Subject: [PATCH 83/98] fix(mysql): close database connections gracefully when using Bun --- .changeset/gentle-yaks-cough.md | 5 +++++ packages/mysql/package.json | 4 ++-- packages/mysql/src/index.ts | 40 ++++++++++++++++++--------------- pnpm-lock.yaml | 27 ++++++++++++++++++---- 4 files changed, 52 insertions(+), 24 deletions(-) create mode 100644 .changeset/gentle-yaks-cough.md diff --git a/.changeset/gentle-yaks-cough.md b/.changeset/gentle-yaks-cough.md new file mode 100644 index 0000000..87769ca --- /dev/null +++ b/.changeset/gentle-yaks-cough.md @@ -0,0 +1,5 @@ +--- +'@emigrate/mysql': patch +--- + +Unreference all connections when run using Bun, to not keep the process open unnecessarily long diff --git a/packages/mysql/package.json b/packages/mysql/package.json index afa751d..e162e75 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -45,8 +45,8 @@ }, "devDependencies": { "@emigrate/tsconfig": "workspace:*", - "@types/bun": "1.0.5", - "bun-types": "1.0.26" + "@types/bun": "1.1.2", + "bun-types": "1.1.8" }, "volta": { "extends": "../../package.json" diff --git a/packages/mysql/src/index.ts b/packages/mysql/src/index.ts index 5b97560..22b8271 100644 --- a/packages/mysql/src/index.ts +++ b/packages/mysql/src/index.ts @@ -41,9 +41,11 @@ export type MysqlLoaderOptions = { connection: ConnectionOptions | string; }; -const getConnection = async (connection: ConnectionOptions | string) => { - if (typeof connection === 'string') { - const uri = new URL(connection); +const getConnection = async (options: ConnectionOptions | string) => { + let connection: Connection; + + if (typeof options === 'string') { + const uri = new URL(options); // client side connectTimeout is unstable in mysql2 library // it throws an error you can't catch and crashes node @@ -51,17 +53,25 @@ const getConnection = async (connection: ConnectionOptions | string) => { uri.searchParams.set('connectTimeout', '0'); uri.searchParams.set('multipleStatements', 'true'); - return createConnection(uri.toString()); + connection = await createConnection(uri.toString()); + } else { + connection = await createConnection({ + ...options, + // client side connectTimeout is unstable in mysql2 library + // it throws an error you can't catch and crashes node + // best to leave this at 0 (disabled) + connectTimeout: 0, + multipleStatements: true, + }); } - return createConnection({ - ...connection, - // client side connectTimeout is unstable in mysql2 library - // it throws an error you can't catch and crashes node - // best to leave this at 0 (disabled) - connectTimeout: 0, - multipleStatements: true, - }); + if (process.isBun) { + // @ts-expect-error the connection is not in the types but it's there + // eslint-disable-next-line @typescript-eslint/no-unsafe-call + connection.connection.stream.unref(); + } + + return connection; }; const getPool = (connection: PoolOptions | string) => { @@ -354,12 +364,6 @@ export const createMysqlLoader = ({ connection }: MysqlLoaderOptions): LoaderPlu const contents = await fs.readFile(migration.filePath, 'utf8'); const conn = await getConnection(connection); - if (process.isBun) { - // @ts-expect-error the connection is not in the types but it's there - // eslint-disable-next-line @typescript-eslint/no-unsafe-call - conn.connection.stream.unref(); - } - try { await conn.query(contents); } finally { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d6a9a95..e880a00 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -131,11 +131,11 @@ importers: specifier: workspace:* version: link:../tsconfig '@types/bun': - specifier: 1.0.5 - version: 1.0.5 + specifier: 1.1.2 + version: 1.1.2 bun-types: - specifier: 1.0.26 - version: 1.0.26 + specifier: 1.1.8 + version: 1.1.8 packages/plugin-generate-js: dependencies: @@ -1791,6 +1791,12 @@ packages: bun-types: 1.0.26 dev: true + /@types/bun@1.1.2: + resolution: {integrity: sha512-pRBDD3EDqPf83qe95i3EpYu5G2J8bbb78a3736vnCm2K8YWtEE5cvJUq2jkKvJhW07YTfQtbImywIwRhWL8z3Q==} + dependencies: + bun-types: 1.1.8 + dev: true + /@types/debug@4.1.12: resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} dependencies: @@ -1891,6 +1897,12 @@ packages: undici-types: 5.26.5 dev: true + /@types/node@20.12.14: + resolution: {integrity: sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg==} + dependencies: + undici-types: 5.26.5 + dev: true + /@types/normalize-package-data@2.4.4: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} dev: false @@ -2707,6 +2719,13 @@ packages: '@types/ws': 8.5.10 dev: true + /bun-types@1.1.8: + resolution: {integrity: sha512-dwhfuUKSGK8hm5Llcvb5+ejRh+4mIt8ibObJVKhZBsi0ScpXmt+AlaS1eDW6uRXCHj084Qt0kIqAJ08/7ZGC9Q==} + dependencies: + '@types/node': 20.12.14 + '@types/ws': 8.5.10 + dev: true + /bundle-name@3.0.0: resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} engines: {node: '>=12'} From 31693ddb3c60029f50f719171ab74893eecb7e88 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 25 Jun 2024 06:23:35 +0000 Subject: [PATCH 84/98] chore(release): version packages --- .changeset/gentle-yaks-cough.md | 5 ----- packages/mysql/CHANGELOG.md | 6 ++++++ packages/mysql/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/gentle-yaks-cough.md diff --git a/.changeset/gentle-yaks-cough.md b/.changeset/gentle-yaks-cough.md deleted file mode 100644 index 87769ca..0000000 --- a/.changeset/gentle-yaks-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/mysql': patch ---- - -Unreference all connections when run using Bun, to not keep the process open unnecessarily long diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index c18a11d..a80e9ae 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/mysql +## 0.3.2 + +### Patch Changes + +- 57498db: Unreference all connections when run using Bun, to not keep the process open unnecessarily long + ## 0.3.1 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index e162e75..66fa554 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.3.1", + "version": "0.3.2", "publishConfig": { "access": "public", "provenance": true From 0ff9f60d5972a04b67d1f4e60abb6c6e618341d2 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 27 Jun 2024 10:52:52 +0200 Subject: [PATCH 85/98] chore(deps): upgrade all action dependencies Closes #70, #128, #135, #145 --- .github/workflows/ci.yaml | 2 +- .github/workflows/deploy.yaml | 5 +++-- .github/workflows/release.yaml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a71605b..8278d67 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: with: fetch-depth: 2 - - uses: pnpm/action-setup@v3.0.0 + - uses: pnpm/action-setup@v4.0.0 with: version: 8.3.1 diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index fd1fd6d..bbae087 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -10,6 +10,7 @@ on: # Allow this job to clone the repo and create a page deployment permissions: + actions: read contents: read pages: write id-token: write @@ -29,7 +30,7 @@ jobs: echo $ASTRO_SITE echo $ASTRO_BASE - name: Install, build, and upload your site output - uses: withastro/action@v1 + uses: withastro/action@v2 with: path: ./docs # The root location of your Astro project inside the repository. (optional) node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional) @@ -44,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index adc6786..aebd63b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,7 @@ jobs: persist-credentials: false fetch-depth: 0 - - uses: pnpm/action-setup@v3.0.0 + - uses: pnpm/action-setup@v4.0.0 with: version: 8.3.1 @@ -39,7 +39,7 @@ jobs: run: pnpm install - name: Create Release Pull Request - uses: changesets/action@v1.4.6 + uses: changesets/action@v1.4.7 with: publish: pnpm run release commit: 'chore(release): version packages' From 2cefa2508b072cfde1b730af7ccc946ce9cd43cb Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 27 Jun 2024 11:12:21 +0200 Subject: [PATCH 86/98] chore(deps): upgrade PNPM to v9.4.0 --- .github/workflows/deploy.yaml | 2 +- package.json | 3 +- pnpm-lock.yaml | 10457 ++++++++++++++++++-------------- 3 files changed, 5785 insertions(+), 4677 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index bbae087..4de2b27 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -34,7 +34,7 @@ jobs: with: path: ./docs # The root location of your Astro project inside the repository. (optional) node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional) - package-manager: pnpm@8.10.2 # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) + package-manager: pnpm@9.4.0 # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) deploy: needs: build diff --git a/package.json b/package.json index a7e1419..a82612b 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,9 @@ "license": "MIT", "volta": { "node": "20.9.0", - "pnpm": "8.10.2" + "pnpm": "9.4.0" }, + "packageManager": "pnpm@9.4.0", "engines": { "node": ">=18" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e880a00..56721e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.0' +lockfileVersion: '9.0' settings: autoInstallPeers: true @@ -218,34 +218,4621 @@ importers: packages: - /@aashutoshrathi/word-wrap@1.2.6: + '@aashutoshrathi/word-wrap@1.2.6': resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} engines: {node: '>=0.10.0'} - dev: false - /@alloc/quick-lru@5.2.0: + '@alloc/quick-lru@5.2.0': resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} - dev: false - /@ampproject/remapping@2.2.1: + '@ampproject/remapping@2.2.1': resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} engines: {node: '>=6.0.0'} + + '@astrojs/compiler@2.3.2': + resolution: {integrity: sha512-jkY7bCVxl27KeZsSxIZ+pqACe+g8VQUdTiSJRj/sXYdIaZlW3ZMq4qF2M17P/oDt3LBq0zLNwQr4Cb7fSpRGxQ==} + + '@astrojs/internal-helpers@0.2.1': + resolution: {integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A==} + + '@astrojs/markdown-remark@4.0.1': + resolution: {integrity: sha512-RU4ESnqvyLpj8WZs0n5elS6idaDdtIIm7mIpMaRNPCebpxMjfcfdwcmBwz83ktAj5d2eO5bC3z92TcGdli+lRw==} + + '@astrojs/mdx@2.0.1': + resolution: {integrity: sha512-lWbiNoVV/6DO8hAf6eZmcN28hY/herif9eglw2PXZ5lEPoRu175BvBtuNTt9rH9YA/Ldm5mkNXhvMWNEnMqJkw==} + engines: {node: '>=18.14.1'} + peerDependencies: + astro: ^4.0.0 + + '@astrojs/prism@3.0.0': + resolution: {integrity: sha512-g61lZupWq1bYbcBnYZqdjndShr/J3l/oFobBKPA3+qMat146zce3nz2kdO4giGbhYDt4gYdhmoBz0vZJ4sIurQ==} + engines: {node: '>=18.14.1'} + + '@astrojs/sitemap@3.0.3': + resolution: {integrity: sha512-+GRKp1yho9dpHBcMcU6JpbL41k0yYZghOkNsMRb8QIRflbGHvd787tdv9oIZ5NJj0SqAuOlqp2UpqLkJXuAe2A==} + + '@astrojs/starlight-tailwind@2.0.1': + resolution: {integrity: sha512-niMgFcR7NHcsBVy8UAN3F2gqhmoN5v83st5Hu4YzvUL+6SNwjQmIipXppXdN9+iVneRjPr6PLGzDfI+wnjSBWQ==} + peerDependencies: + '@astrojs/starlight': '>=0.9.0' + '@astrojs/tailwind': ^5.0.0 + tailwindcss: ^3.3.3 + + '@astrojs/starlight@0.15.0': + resolution: {integrity: sha512-epLRrGP9+5gIP/ZXeRtkY/tA00yzY8iBBqYRGxkoj44fokCiDg+iKCnE9BXooAK08ELyizD8nwenUmVzDTDRXA==} + peerDependencies: + astro: ^4.0.0 + + '@astrojs/tailwind@5.0.3': + resolution: {integrity: sha512-p+uFa1PNuV8RxhGkPUFgVq8CUbmS3xr0u5k1An2xKECLotRh7vsrGcPUijHvYOt42URohcg8rIq0CxNoVMhReg==} + peerDependencies: + astro: ^3.0.0 || ^4.0.0 + tailwindcss: ^3.0.24 + + '@astrojs/telemetry@3.0.4': + resolution: {integrity: sha512-A+0c7k/Xy293xx6odsYZuXiaHO0PL+bnDoXOc47sGDF5ffIKdKQGRPFl2NMlCF4L0NqN4Ynbgnaip+pPF0s7pQ==} + engines: {node: '>=18.14.1'} + + '@babel/code-frame@7.23.5': + resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==} + engines: {node: '>=6.9.0'} + + '@babel/compat-data@7.23.5': + resolution: {integrity: sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==} + engines: {node: '>=6.9.0'} + + '@babel/core@7.23.6': + resolution: {integrity: sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.23.6': + resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-annotate-as-pure@7.22.5': + resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-compilation-targets@7.23.6': + resolution: {integrity: sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-environment-visitor@7.22.20': + resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-function-name@7.23.0': + resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-hoist-variables@7.22.5': + resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-imports@7.22.15': + resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-transforms@7.23.3': + resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-plugin-utils@7.22.5': + resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-simple-access@7.22.5': + resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} + engines: {node: '>=6.9.0'} + + '@babel/helper-split-export-declaration@7.22.6': + resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} + engines: {node: '>=6.9.0'} + + '@babel/helper-string-parser@7.23.4': + resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.22.20': + resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-option@7.23.5': + resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} + engines: {node: '>=6.9.0'} + + '@babel/helpers@7.23.6': + resolution: {integrity: sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==} + engines: {node: '>=6.9.0'} + + '@babel/highlight@7.23.4': + resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.23.6': + resolution: {integrity: sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/plugin-syntax-jsx@7.23.3': + resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-react-jsx@7.23.4': + resolution: {integrity: sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/runtime@7.23.2': + resolution: {integrity: sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==} + engines: {node: '>=6.9.0'} + + '@babel/template@7.22.15': + resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} + engines: {node: '>=6.9.0'} + + '@babel/traverse@7.23.6': + resolution: {integrity: sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.23.6': + resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} + engines: {node: '>=6.9.0'} + + '@changesets/apply-release-plan@7.0.0': + resolution: {integrity: sha512-vfi69JR416qC9hWmFGSxj7N6wA5J222XNBmezSVATPWDVPIF7gkd4d8CpbEbXmRWbVrkoli3oerGS6dcL/BGsQ==} + + '@changesets/assemble-release-plan@6.0.0': + resolution: {integrity: sha512-4QG7NuisAjisbW4hkLCmGW2lRYdPrKzro+fCtZaILX+3zdUELSvYjpL4GTv0E4aM9Mef3PuIQp89VmHJ4y2bfw==} + + '@changesets/changelog-git@0.2.0': + resolution: {integrity: sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==} + + '@changesets/cli@2.27.1': + resolution: {integrity: sha512-iJ91xlvRnnrJnELTp4eJJEOPjgpF3NOh4qeQehM6Ugiz9gJPRZ2t+TsXun6E3AMN4hScZKjqVXl0TX+C7AB3ZQ==} + hasBin: true + + '@changesets/config@3.0.0': + resolution: {integrity: sha512-o/rwLNnAo/+j9Yvw9mkBQOZySDYyOr/q+wptRLcAVGlU6djOeP9v1nlalbL9MFsobuBVQbZCTp+dIzdq+CLQUA==} + + '@changesets/errors@0.2.0': + resolution: {integrity: sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==} + + '@changesets/get-dependents-graph@2.0.0': + resolution: {integrity: sha512-cafUXponivK4vBgZ3yLu944mTvam06XEn2IZGjjKc0antpenkYANXiiE6GExV/yKdsCnE8dXVZ25yGqLYZmScA==} + + '@changesets/get-release-plan@4.0.0': + resolution: {integrity: sha512-9L9xCUeD/Tb6L/oKmpm8nyzsOzhdNBBbt/ZNcjynbHC07WW4E1eX8NMGC5g5SbM5z/V+MOrYsJ4lRW41GCbg3w==} + + '@changesets/get-version-range-type@0.4.0': + resolution: {integrity: sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==} + + '@changesets/git@3.0.0': + resolution: {integrity: sha512-vvhnZDHe2eiBNRFHEgMiGd2CT+164dfYyrJDhwwxTVD/OW0FUD6G7+4DIx1dNwkwjHyzisxGAU96q0sVNBns0w==} + + '@changesets/logger@0.1.0': + resolution: {integrity: sha512-pBrJm4CQm9VqFVwWnSqKEfsS2ESnwqwH+xR7jETxIErZcfd1u2zBSqrHbRHR7xjhSgep9x2PSKFKY//FAshA3g==} + + '@changesets/parse@0.4.0': + resolution: {integrity: sha512-TS/9KG2CdGXS27S+QxbZXgr8uPsP4yNJYb4BC2/NeFUj80Rni3TeD2qwWmabymxmrLo7JEsytXH1FbpKTbvivw==} + + '@changesets/pre@2.0.0': + resolution: {integrity: sha512-HLTNYX/A4jZxc+Sq8D1AMBsv+1qD6rmmJtjsCJa/9MSRybdxh0mjbTvE6JYZQ/ZiQ0mMlDOlGPXTm9KLTU3jyw==} + + '@changesets/read@0.6.0': + resolution: {integrity: sha512-ZypqX8+/im1Fm98K4YcZtmLKgjs1kDQ5zHpc2U1qdtNBmZZfo/IBiG162RoP0CUF05tvp2y4IspH11PLnPxuuw==} + + '@changesets/types@4.1.0': + resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} + + '@changesets/types@6.0.0': + resolution: {integrity: sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ==} + + '@changesets/write@0.3.0': + resolution: {integrity: sha512-slGLb21fxZVUYbyea+94uFiD6ntQW0M2hIKNznFizDhZPDgn2c/fv1UzzlW43RVzh1BEDuIqW6hzlJ1OflNmcw==} + + '@commitlint/cli@18.6.1': + resolution: {integrity: sha512-5IDE0a+lWGdkOvKH892HHAZgbAjcj1mT5QrfA/SVbLJV/BbBMGyKN0W5mhgjekPJJwEQdVNvhl9PwUacY58Usw==} + engines: {node: '>=v18'} + hasBin: true + + '@commitlint/config-conventional@18.6.1': + resolution: {integrity: sha512-ftpfAOQyI+IHvut0cRF4EFM39PWCqde+uOXCjH9NpK6FpqfhncAbEvP0E7OIpFsrDX0aS7k81tzH5Yz7prcNxA==} + engines: {node: '>=v18'} + + '@commitlint/config-validator@18.6.1': + resolution: {integrity: sha512-05uiToBVfPhepcQWE1ZQBR/Io3+tb3gEotZjnI4tTzzPk16NffN6YABgwFQCLmzZefbDcmwWqJWc2XT47q7Znw==} + engines: {node: '>=v18'} + + '@commitlint/ensure@18.6.1': + resolution: {integrity: sha512-BPm6+SspyxQ7ZTsZwXc7TRQL5kh5YWt3euKmEIBZnocMFkJevqs3fbLRb8+8I/cfbVcAo4mxRlpTPfz8zX7SnQ==} + engines: {node: '>=v18'} + + '@commitlint/execute-rule@18.6.1': + resolution: {integrity: sha512-7s37a+iWyJiGUeMFF6qBlyZciUkF8odSAnHijbD36YDctLhGKoYltdvuJ/AFfRm6cBLRtRk9cCVPdsEFtt/2rg==} + engines: {node: '>=v18'} + + '@commitlint/format@18.6.1': + resolution: {integrity: sha512-K8mNcfU/JEFCharj2xVjxGSF+My+FbUHoqR+4GqPGrHNqXOGNio47ziiR4HQUPKtiNs05o8/WyLBoIpMVOP7wg==} + engines: {node: '>=v18'} + + '@commitlint/is-ignored@18.6.1': + resolution: {integrity: sha512-MOfJjkEJj/wOaPBw5jFjTtfnx72RGwqYIROABudOtJKW7isVjFe9j0t8xhceA02QebtYf4P/zea4HIwnXg8rvA==} + engines: {node: '>=v18'} + + '@commitlint/lint@18.6.1': + resolution: {integrity: sha512-8WwIFo3jAuU+h1PkYe5SfnIOzp+TtBHpFr4S8oJWhu44IWKuVx6GOPux3+9H1iHOan/rGBaiacicZkMZuluhfQ==} + engines: {node: '>=v18'} + + '@commitlint/load@18.6.1': + resolution: {integrity: sha512-p26x8734tSXUHoAw0ERIiHyW4RaI4Bj99D8YgUlVV9SedLf8hlWAfyIFhHRIhfPngLlCe0QYOdRKYFt8gy56TA==} + engines: {node: '>=v18'} + + '@commitlint/message@18.6.1': + resolution: {integrity: sha512-VKC10UTMLcpVjMIaHHsY1KwhuTQtdIKPkIdVEwWV+YuzKkzhlI3aNy6oo1eAN6b/D2LTtZkJe2enHmX0corYRw==} + engines: {node: '>=v18'} + + '@commitlint/parse@18.6.1': + resolution: {integrity: sha512-eS/3GREtvVJqGZrwAGRwR9Gdno3YcZ6Xvuaa+vUF8j++wsmxrA2En3n0ccfVO2qVOLJC41ni7jSZhQiJpMPGOQ==} + engines: {node: '>=v18'} + + '@commitlint/read@18.6.1': + resolution: {integrity: sha512-ia6ODaQFzXrVul07ffSgbZGFajpe8xhnDeLIprLeyfz3ivQU1dIoHp7yz0QIorZ6yuf4nlzg4ZUkluDrGN/J/w==} + engines: {node: '>=v18'} + + '@commitlint/resolve-extends@18.6.1': + resolution: {integrity: sha512-ifRAQtHwK+Gj3Bxj/5chhc4L2LIc3s30lpsyW67yyjsETR6ctHAHRu1FSpt0KqahK5xESqoJ92v6XxoDRtjwEQ==} + engines: {node: '>=v18'} + + '@commitlint/rules@18.6.1': + resolution: {integrity: sha512-kguM6HxZDtz60v/zQYOe0voAtTdGybWXefA1iidjWYmyUUspO1zBPQEmJZ05/plIAqCVyNUTAiRPWIBKLCrGew==} + engines: {node: '>=v18'} + + '@commitlint/to-lines@18.6.1': + resolution: {integrity: sha512-Gl+orGBxYSNphx1+83GYeNy5N0dQsHBQ9PJMriaLQDB51UQHCVLBT/HBdOx5VaYksivSf5Os55TLePbRLlW50Q==} + engines: {node: '>=v18'} + + '@commitlint/top-level@18.6.1': + resolution: {integrity: sha512-HyiHQZUTf0+r0goTCDs/bbVv/LiiQ7AVtz6KIar+8ZrseB9+YJAIo8HQ2IC2QT1y3N1lbW6OqVEsTHjbT6hGSw==} + engines: {node: '>=v18'} + + '@commitlint/types@18.6.1': + resolution: {integrity: sha512-gwRLBLra/Dozj2OywopeuHj2ac26gjGkz2cZ+86cTJOdtWfiRRr4+e77ZDAGc6MDWxaWheI+mAV5TLWWRwqrFg==} + engines: {node: '>=v18'} + + '@ctrl/tinycolor@3.6.1': + resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} + engines: {node: '>=10'} + + '@esbuild/aix-ppc64@0.19.11': + resolution: {integrity: sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.19.11': + resolution: {integrity: sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.19.9': + resolution: {integrity: sha512-q4cR+6ZD0938R19MyEW3jEsMzbb/1rulLXiNAJQADD/XYp7pT+rOS5JGxvpRW8dFDEfjW4wLgC/3FXIw4zYglQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.19.11': + resolution: {integrity: sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.19.9': + resolution: {integrity: sha512-jkYjjq7SdsWuNI6b5quymW0oC83NN5FdRPuCbs9HZ02mfVdAP8B8eeqLSYU3gb6OJEaY5CQabtTFbqBf26H3GA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.19.11': + resolution: {integrity: sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/android-x64@0.19.9': + resolution: {integrity: sha512-KOqoPntWAH6ZxDwx1D6mRntIgZh9KodzgNOy5Ebt9ghzffOk9X2c1sPwtM9P+0eXbefnDhqYfkh5PLP5ULtWFA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.19.11': + resolution: {integrity: sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.19.9': + resolution: {integrity: sha512-KBJ9S0AFyLVx2E5D8W0vExqRW01WqRtczUZ8NRu+Pi+87opZn5tL4Y0xT0mA4FtHctd0ZgwNoN639fUUGlNIWw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.19.11': + resolution: {integrity: sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/darwin-x64@0.19.9': + resolution: {integrity: sha512-vE0VotmNTQaTdX0Q9dOHmMTao6ObjyPm58CHZr1UK7qpNleQyxlFlNCaHsHx6Uqv86VgPmR4o2wdNq3dP1qyDQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.19.11': + resolution: {integrity: sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.19.9': + resolution: {integrity: sha512-uFQyd/o1IjiEk3rUHSwUKkqZwqdvuD8GevWF065eqgYfexcVkxh+IJgwTaGZVu59XczZGcN/YMh9uF1fWD8j1g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.19.11': + resolution: {integrity: sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.19.9': + resolution: {integrity: sha512-WMLgWAtkdTbTu1AWacY7uoj/YtHthgqrqhf1OaEWnZb7PQgpt8eaA/F3LkV0E6K/Lc0cUr/uaVP/49iE4M4asA==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.19.11': + resolution: {integrity: sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm64@0.19.9': + resolution: {integrity: sha512-PiPblfe1BjK7WDAKR1Cr9O7VVPqVNpwFcPWgfn4xu0eMemzRp442hXyzF/fSwgrufI66FpHOEJk0yYdPInsmyQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.19.11': + resolution: {integrity: sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-arm@0.19.9': + resolution: {integrity: sha512-C/ChPohUYoyUaqn1h17m/6yt6OB14hbXvT8EgM1ZWaiiTYz7nWZR0SYmMnB5BzQA4GXl3BgBO1l8MYqL/He3qw==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.19.11': + resolution: {integrity: sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-ia32@0.19.9': + resolution: {integrity: sha512-f37i/0zE0MjDxijkPSQw1CO/7C27Eojqb+r3BbHVxMLkj8GCa78TrBZzvPyA/FNLUMzP3eyHCVkAopkKVja+6Q==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.19.11': + resolution: {integrity: sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-loong64@0.19.9': + resolution: {integrity: sha512-t6mN147pUIf3t6wUt3FeumoOTPfmv9Cc6DQlsVBpB7eCpLOqQDyWBP1ymXn1lDw4fNUSb/gBcKAmvTP49oIkaA==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.19.11': + resolution: {integrity: sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-mips64el@0.19.9': + resolution: {integrity: sha512-jg9fujJTNTQBuDXdmAg1eeJUL4Jds7BklOTkkH80ZgQIoCTdQrDaHYgbFZyeTq8zbY+axgptncko3v9p5hLZtw==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.19.11': + resolution: {integrity: sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-ppc64@0.19.9': + resolution: {integrity: sha512-tkV0xUX0pUUgY4ha7z5BbDS85uI7ABw3V1d0RNTii7E9lbmV8Z37Pup2tsLV46SQWzjOeyDi1Q7Wx2+QM8WaCQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.19.11': + resolution: {integrity: sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-riscv64@0.19.9': + resolution: {integrity: sha512-DfLp8dj91cufgPZDXr9p3FoR++m3ZJ6uIXsXrIvJdOjXVREtXuQCjfMfvmc3LScAVmLjcfloyVtpn43D56JFHg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.19.11': + resolution: {integrity: sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.19.9': + resolution: {integrity: sha512-zHbglfEdC88KMgCWpOl/zc6dDYJvWGLiUtmPRsr1OgCViu3z5GncvNVdf+6/56O2Ca8jUU+t1BW261V6kp8qdw==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.19.11': + resolution: {integrity: sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/linux-x64@0.19.9': + resolution: {integrity: sha512-JUjpystGFFmNrEHQnIVG8hKwvA2DN5o7RqiO1CVX8EN/F/gkCjkUMgVn6hzScpwnJtl2mPR6I9XV1oW8k9O+0A==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-x64@0.19.11': + resolution: {integrity: sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.19.9': + resolution: {integrity: sha512-GThgZPAwOBOsheA2RUlW5UeroRfESwMq/guy8uEe3wJlAOjpOXuSevLRd70NZ37ZrpO6RHGHgEHvPg1h3S1Jug==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-x64@0.19.11': + resolution: {integrity: sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.19.9': + resolution: {integrity: sha512-Ki6PlzppaFVbLnD8PtlVQfsYw4S9n3eQl87cqgeIw+O3sRr9IghpfSKY62mggdt1yCSZ8QWvTZ9jo9fjDSg9uw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.19.11': + resolution: {integrity: sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.19.9': + resolution: {integrity: sha512-MLHj7k9hWh4y1ddkBpvRj2b9NCBhfgBt3VpWbHQnXRedVun/hC7sIyTGDGTfsGuXo4ebik2+3ShjcPbhtFwWDw==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.19.11': + resolution: {integrity: sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.19.9': + resolution: {integrity: sha512-GQoa6OrQ8G08guMFgeXPH7yE/8Dt0IfOGWJSfSH4uafwdC7rWwrfE6P9N8AtPGIjUzdo2+7bN8Xo3qC578olhg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.19.11': + resolution: {integrity: sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-ia32@0.19.9': + resolution: {integrity: sha512-UOozV7Ntykvr5tSOlGCrqU3NBr3d8JqPes0QWN2WOXfvkWVGRajC+Ym0/Wj88fUgecUCLDdJPDF0Nna2UK3Qtg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.19.11': + resolution: {integrity: sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@esbuild/win32-x64@0.19.9': + resolution: {integrity: sha512-oxoQgglOP7RH6iasDrhY+R/3cHrfwIDvRlT4CGChflq6twk8iENeVvMJjmvBb94Ik1Z+93iGO27err7w6l54GQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@eslint-community/eslint-utils@4.4.0': + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + + '@eslint-community/regexpp@4.10.0': + resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + '@eslint/eslintrc@2.1.3': + resolution: {integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + '@eslint/js@8.53.0': + resolution: {integrity: sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + '@expressive-code/core@0.29.4': + resolution: {integrity: sha512-XBdMPO4BBgPxE+txtNdjkDmLwGxJpU+QqLQ/WrHWPcj1lTXcoFQTUqFO4Eav+hv/Yn+lEjiv792RrcUe2o0anA==} + + '@expressive-code/plugin-frames@0.29.4': + resolution: {integrity: sha512-GE3sB7JTqjhTz7LrCm+mL9x+bIdud76AVqJa/brJgqpYFcl5aJcHtyR0PSZQqTXHL3sBIj8w0wbh+ieVM43JnQ==} + + '@expressive-code/plugin-shiki@0.29.4': + resolution: {integrity: sha512-vOM2JFVEClg3EAWHVd+ma8y/EsINqzCrQP1PS9sZgn2KASE3C6JBkNRXzUXKGkjDn0dsWJVYYvIsH+4xNpygZA==} + + '@expressive-code/plugin-text-markers@0.29.4': + resolution: {integrity: sha512-U8rouNRrLzAo11Ihoi4iqEH7FD+VEUb6Pe7xJxlFJ7HRhgaFIcuHyYyn6jA1WmGP5k9BFLhYBk53+oKvlmEkKw==} + + '@humanwhocodes/config-array@0.11.13': + resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} + engines: {node: '>=10.10.0'} + + '@humanwhocodes/module-importer@1.0.1': + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} + + '@humanwhocodes/object-schema@2.0.1': + resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} + + '@isaacs/cliui@8.0.2': + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + + '@jridgewell/gen-mapping@0.3.3': + resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + engines: {node: '>=6.0.0'} + + '@jridgewell/resolve-uri@3.1.1': + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} + + '@jridgewell/set-array@1.1.2': + resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/source-map@0.3.5': + resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} + + '@jridgewell/sourcemap-codec@1.4.15': + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + + '@jridgewell/trace-mapping@0.3.20': + resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + + '@jridgewell/trace-mapping@0.3.22': + resolution: {integrity: sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==} + + '@manypkg/find-root@1.1.0': + resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} + + '@manypkg/get-packages@1.1.3': + resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} + + '@mdx-js/mdx@3.0.0': + resolution: {integrity: sha512-Icm0TBKBLYqroYbNW3BPnzMGn+7mwpQOK310aZ7+fkCtiU3aqv2cdcX+nd0Ydo3wI5Rx8bX2Z2QmGb/XcAClCw==} + + '@nodelib/fs.scandir@2.1.5': + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + + '@nodelib/fs.stat@2.0.5': + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + + '@nodelib/fs.walk@1.2.8': + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + + '@pagefind/darwin-arm64@1.0.4': + resolution: {integrity: sha512-2OcthvceX2xhm5XbgOmW+lT45oLuHqCmvFeFtxh1gsuP5cO8vcD8ZH8Laj4pXQFCcK6eAdSShx+Ztx/LsQWZFQ==} + cpu: [arm64] + os: [darwin] + + '@pagefind/darwin-x64@1.0.4': + resolution: {integrity: sha512-xkdvp0D9Ld/ZKsjo/y1bgfhTEU72ITimd2PMMQtts7jf6JPIOJbsiErCvm37m/qMFuPGEq/8d+fZ4pydOj08HQ==} + cpu: [x64] + os: [darwin] + + '@pagefind/default-ui@1.0.4': + resolution: {integrity: sha512-edkcaPSKq67C49Vehjo+LQCpT615v4d7JRhfGzFPccePvdklaL+VXrfghN/uIfsdoG+HoLI1PcYy2iFcB9CTkw==} + + '@pagefind/linux-arm64@1.0.4': + resolution: {integrity: sha512-jGBrcCzIrMnNxLKVtogaQyajVfTAXM59KlBEwg6vTn8NW4fQ6nuFbbhlG4dTIsaamjEM5e8ZBEAKZfTB/qd9xw==} + cpu: [arm64] + os: [linux] + + '@pagefind/linux-x64@1.0.4': + resolution: {integrity: sha512-LIn/QcvcEtLEBqKe5vpSbSC2O3fvqbRCWOTIklslqSORisCsvzsWbP6j+LYxE9q0oWIfkdMoWV1vrE/oCKRxHg==} + cpu: [x64] + os: [linux] + + '@pagefind/windows-x64@1.0.4': + resolution: {integrity: sha512-QlBCVeZfj9fc9sbUgdOz76ZDbeK4xZihOBAFqGuRJeChfM8pnVeH9iqSnXgO3+m9oITugTf7PicyRUFAG76xeQ==} + cpu: [x64] + os: [win32] + + '@pkgjs/parseargs@0.11.0': + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + + '@pkgr/utils@2.4.2': + resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + + '@rollup/rollup-android-arm-eabi@4.9.0': + resolution: {integrity: sha512-+1ge/xmaJpm1KVBuIH38Z94zj9fBD+hp+/5WLaHgyY8XLq1ibxk/zj6dTXaqM2cAbYKq8jYlhHd6k05If1W5xA==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.9.0': + resolution: {integrity: sha512-im6hUEyQ7ZfoZdNvtwgEJvBWZYauC9KVKq1w58LG2Zfz6zMd8gRrbN+xCVoqA2hv/v6fm9lp5LFGJ3za8EQH3A==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.9.0': + resolution: {integrity: sha512-u7aTMskN6Dmg1lCT0QJ+tINRt+ntUrvVkhbPfFz4bCwRZvjItx2nJtwJnJRlKMMaQCHRjrNqHRDYvE4mBm3DlQ==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.9.0': + resolution: {integrity: sha512-8FvEl3w2ExmpcOmX5RJD0yqXcVSOqAJJUJ29Lca29Ik+3zPS1yFimr2fr5JSZ4Z5gt8/d7WqycpgkX9nocijSw==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-linux-arm-gnueabihf@4.9.0': + resolution: {integrity: sha512-lHoKYaRwd4gge+IpqJHCY+8Vc3hhdJfU6ukFnnrJasEBUvVlydP8PuwndbWfGkdgSvZhHfSEw6urrlBj0TSSfg==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.9.0': + resolution: {integrity: sha512-JbEPfhndYeWHfOSeh4DOFvNXrj7ls9S/2omijVsao+LBPTPayT1uKcK3dHW3MwDJ7KO11t9m2cVTqXnTKpeaiw==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.9.0': + resolution: {integrity: sha512-ahqcSXLlcV2XUBM3/f/C6cRoh7NxYA/W7Yzuv4bDU1YscTFw7ay4LmD7l6OS8EMhTNvcrWGkEettL1Bhjf+B+w==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.9.0': + resolution: {integrity: sha512-uwvOYNtLw8gVtrExKhdFsYHA/kotURUmZYlinH2VcQxNCQJeJXnkmWgw2hI9Xgzhgu7J9QvWiq9TtTVwWMDa+w==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.9.0': + resolution: {integrity: sha512-m6pkSwcZZD2LCFHZX/zW2aLIISyzWLU3hrLLzQKMI12+OLEzgruTovAxY5sCZJkipklaZqPy/2bEEBNjp+Y7xg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.9.0': + resolution: {integrity: sha512-VFAC1RDRSbU3iOF98X42KaVicAfKf0m0OvIu8dbnqhTe26Kh6Ym9JrDulz7Hbk7/9zGc41JkV02g+p3BivOdAg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-win32-arm64-msvc@4.9.0': + resolution: {integrity: sha512-9jPgMvTKXARz4inw6jezMLA2ihDBvgIU9Ml01hjdVpOcMKyxFBJrn83KVQINnbeqDv0+HdO1c09hgZ8N0s820Q==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.9.0': + resolution: {integrity: sha512-WE4pT2kTXQN2bAv40Uog0AsV7/s9nT9HBWXAou8+++MBCnY51QS02KYtm6dQxxosKi1VIz/wZIrTQO5UP2EW+Q==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.9.0': + resolution: {integrity: sha512-aPP5Q5AqNGuT0tnuEkK/g4mnt3ZhheiXrDIiSVIHN9mcN21OyXDVbEMqmXPE7e2OplNLDkcvV+ZoGJa2ZImFgw==} + cpu: [x64] + os: [win32] + + '@types/acorn@4.0.6': + resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==} + + '@types/babel__core@7.20.5': + resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} + + '@types/babel__generator@7.6.7': + resolution: {integrity: sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ==} + + '@types/babel__template@7.4.4': + resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} + + '@types/babel__traverse@7.20.4': + resolution: {integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==} + + '@types/bun@1.0.5': + resolution: {integrity: sha512-c14fs5QLLanldcZpX/GjIEKeo++NDzOlixUZ7IUWzN7AoBTisYyWxaxdXNhpAP5I1mPcd92Zagq8sdgTnUXWjg==} + + '@types/bun@1.1.2': + resolution: {integrity: sha512-pRBDD3EDqPf83qe95i3EpYu5G2J8bbb78a3736vnCm2K8YWtEE5cvJUq2jkKvJhW07YTfQtbImywIwRhWL8z3Q==} + + '@types/debug@4.1.12': + resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} + + '@types/eslint-scope@3.7.7': + resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} + + '@types/eslint@8.44.7': + resolution: {integrity: sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==} + + '@types/eslint@8.56.2': + resolution: {integrity: sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==} + + '@types/estree-jsx@1.0.3': + resolution: {integrity: sha512-pvQ+TKeRHeiUGRhvYwRrQ/ISnohKkSJR14fT2yqyZ4e9K5vqc7hrtY2Y1Dw0ZwAzQ6DQsxsaCUuSIIi8v0Cq6w==} + + '@types/estree@1.0.5': + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + + '@types/hast@2.3.8': + resolution: {integrity: sha512-aMIqAlFd2wTIDZuvLbhUT+TGvMxrNC8ECUIVtH6xxy0sQLs3iu6NO8Kp/VT5je7i5ufnebXzdV1dNDMnvaH6IQ==} + + '@types/hast@3.0.3': + resolution: {integrity: sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@types/json5@0.0.29': + resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} + + '@types/mdast@4.0.3': + resolution: {integrity: sha512-LsjtqsyF+d2/yFOYaN22dHZI1Cpwkrj+g06G8+qtUKlhovPW89YhqSnfKtMbkgmEtYpH2gydRNULd6y8mciAFg==} + + '@types/mdx@2.0.10': + resolution: {integrity: sha512-Rllzc5KHk0Al5/WANwgSPl1/CwjqCy+AZrGd78zuK+jO9aDM6ffblZ+zIjgPNAaEBmlO0RYDvLNh7wD0zKVgEg==} + + '@types/minimist@1.2.5': + resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} + + '@types/ms@0.7.34': + resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} + + '@types/nlcst@1.0.4': + resolution: {integrity: sha512-ABoYdNQ/kBSsLvZAekMhIPMQ3YUZvavStpKYs7BjLLuKVmIMA0LUgZ7b54zzuWJRbHF80v1cNf4r90Vd6eMQDg==} + + '@types/node@12.20.55': + resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + + '@types/node@17.0.45': + resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} + + '@types/node@20.10.4': + resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==} + + '@types/node@20.11.17': + resolution: {integrity: sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==} + + '@types/node@20.12.14': + resolution: {integrity: sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg==} + + '@types/normalize-package-data@2.4.4': + resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} + + '@types/parse5@6.0.3': + resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} + + '@types/sax@1.2.7': + resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} + + '@types/semver@7.5.5': + resolution: {integrity: sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg==} + + '@types/unist@2.0.10': + resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} + + '@types/unist@3.0.2': + resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} + + '@types/ws@8.5.10': + resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} + + '@typescript-eslint/eslint-plugin@6.10.0': + resolution: {integrity: sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/parser@6.10.0': + resolution: {integrity: sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/scope-manager@6.10.0': + resolution: {integrity: sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg==} + engines: {node: ^16.0.0 || >=18.0.0} + + '@typescript-eslint/type-utils@6.10.0': + resolution: {integrity: sha512-wYpPs3hgTFblMYwbYWPT3eZtaDOjbLyIYuqpwuLBBqhLiuvJ+9sEp2gNRJEtR5N/c9G1uTtQQL5AhV0fEPJYcg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/types@6.10.0': + resolution: {integrity: sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg==} + engines: {node: ^16.0.0 || >=18.0.0} + + '@typescript-eslint/typescript-estree@6.10.0': + resolution: {integrity: sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/utils@6.10.0': + resolution: {integrity: sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + + '@typescript-eslint/visitor-keys@6.10.0': + resolution: {integrity: sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg==} + engines: {node: ^16.0.0 || >=18.0.0} + + '@ungap/structured-clone@1.2.0': + resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + + '@webassemblyjs/ast@1.11.6': + resolution: {integrity: sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==} + + '@webassemblyjs/floating-point-hex-parser@1.11.6': + resolution: {integrity: sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==} + + '@webassemblyjs/helper-api-error@1.11.6': + resolution: {integrity: sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==} + + '@webassemblyjs/helper-buffer@1.11.6': + resolution: {integrity: sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==} + + '@webassemblyjs/helper-numbers@1.11.6': + resolution: {integrity: sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==} + + '@webassemblyjs/helper-wasm-bytecode@1.11.6': + resolution: {integrity: sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==} + + '@webassemblyjs/helper-wasm-section@1.11.6': + resolution: {integrity: sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==} + + '@webassemblyjs/ieee754@1.11.6': + resolution: {integrity: sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==} + + '@webassemblyjs/leb128@1.11.6': + resolution: {integrity: sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==} + + '@webassemblyjs/utf8@1.11.6': + resolution: {integrity: sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==} + + '@webassemblyjs/wasm-edit@1.11.6': + resolution: {integrity: sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==} + + '@webassemblyjs/wasm-gen@1.11.6': + resolution: {integrity: sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==} + + '@webassemblyjs/wasm-opt@1.11.6': + resolution: {integrity: sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==} + + '@webassemblyjs/wasm-parser@1.11.6': + resolution: {integrity: sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==} + + '@webassemblyjs/wast-printer@1.11.6': + resolution: {integrity: sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==} + + '@xtuc/ieee754@1.2.0': + resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} + + '@xtuc/long@4.2.2': + resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + + JSONStream@1.3.5: + resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} + hasBin: true + + abort-controller@3.0.0: + resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} + engines: {node: '>=6.5'} + + acorn-import-assertions@1.9.0: + resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} + peerDependencies: + acorn: ^8 + + acorn-jsx@5.3.2: + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + + acorn@8.11.2: + resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} + engines: {node: '>=0.4.0'} + hasBin: true + + acorn@8.11.3: + resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} + engines: {node: '>=0.4.0'} + hasBin: true + + ajv-keywords@3.5.2: + resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} + peerDependencies: + ajv: ^6.9.1 + + ajv@6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + + ajv@8.12.0: + resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + + ansi-align@3.0.1: + resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} + + ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + + ansi-escapes@4.3.2: + resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} + engines: {node: '>=8'} + + ansi-escapes@6.2.0: + resolution: {integrity: sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==} + engines: {node: '>=14.16'} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + ansi-regex@6.0.1: + resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} + engines: {node: '>=12'} + + ansi-sequence-parser@1.1.1: + resolution: {integrity: sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==} + + ansi-styles@3.2.1: + resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} + engines: {node: '>=4'} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + + ansi-styles@6.2.1: + resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + engines: {node: '>=12'} + + ansis@2.0.3: + resolution: {integrity: sha512-tcSGX0mhuDFHsgRrT56xnZ9v2X+TOeKhJ75YopI5OBgyT7tGaG5m6BmeC+6KHjiucfBvUHehQMecHbULIAkFPA==} + engines: {node: '>=12.13'} + + any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + + anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + + arg@5.0.2: + resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} + + argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + + argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + array-buffer-byte-length@1.0.0: + resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} + + array-ify@1.0.0: + resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==} + + array-includes@3.1.7: + resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} + engines: {node: '>= 0.4'} + + array-iterate@2.0.1: + resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==} + + array-union@2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + + array.prototype.find@2.2.2: + resolution: {integrity: sha512-DRumkfW97iZGOfn+lIXbkVrXL04sfYKX+EfOodo8XboR5sxPDVvOjZTF/rysusa9lmhmSOeD6Vp6RKQP+eP4Tg==} + + array.prototype.flat@1.3.2: + resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} + engines: {node: '>= 0.4'} + + array.prototype.flatmap@1.3.2: + resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} + engines: {node: '>= 0.4'} + + arraybuffer.prototype.slice@1.0.2: + resolution: {integrity: sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==} + engines: {node: '>= 0.4'} + + arrify@1.0.1: + resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} + engines: {node: '>=0.10.0'} + + arrify@3.0.0: + resolution: {integrity: sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==} + engines: {node: '>=12'} + + astring@1.8.6: + resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==} + hasBin: true + + astro-expressive-code@0.29.4: + resolution: {integrity: sha512-FoOp0gq+BOss92Tqm1tmUJwVsmCE9odEfura/an27l2tc6LU9Ki2NX3N6TWpvl95NLKQZeFpBl26ZB2yhjrt2Q==} + peerDependencies: + astro: ^3.0.0-beta || ^4.0.0-beta + + astro@4.0.5: + resolution: {integrity: sha512-OTiTEiXYdXTkVJXNNKIWdYG1z2wpTST+92Qcldm36x91Pe4fKpLxeuRloy5cW175oHi8lvXytgG3Gl3VBP18RQ==} + engines: {node: '>=18.14.1', npm: '>=6.14.0'} + hasBin: true + + atomic-sleep@1.0.0: + resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} + engines: {node: '>=8.0.0'} + + autoprefixer@10.4.16: + resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + + available-typed-arrays@1.0.5: + resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} + engines: {node: '>= 0.4'} + + b4a@1.6.4: + resolution: {integrity: sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==} + + bail@2.0.2: + resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} + + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + base-64@1.0.0: + resolution: {integrity: sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==} + + base64-js@1.5.1: + resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + + bcp-47-match@2.0.3: + resolution: {integrity: sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==} + + bcp-47@2.1.0: + resolution: {integrity: sha512-9IIS3UPrvIa1Ej+lVDdDwO7zLehjqsaByECw0bu2RRGP73jALm6FYbzI5gWbgHLvNdkvfXB5YrSbocZdOS0c0w==} + + better-path-resolve@1.0.0: + resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} + engines: {node: '>=4'} + + big-integer@1.6.51: + resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==} + engines: {node: '>=0.6'} + + binary-extensions@2.2.0: + resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} + engines: {node: '>=8'} + + bl@4.1.0: + resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + + bl@5.1.0: + resolution: {integrity: sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==} + + boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + + boxen@7.1.1: + resolution: {integrity: sha512-2hCgjEmP8YLWQ130n2FerGv7rYpfBmnmp9Uy2Le1vge6X3gZIfSmEzP5QTDElFxcvVcXlEn8Aq6MU/PZygIOog==} + engines: {node: '>=14.16'} + + bplist-parser@0.2.0: + resolution: {integrity: sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==} + engines: {node: '>= 5.10.0'} + + brace-expansion@1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + + brace-expansion@2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + + braces@3.0.2: + resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + engines: {node: '>=8'} + + breakword@1.0.6: + resolution: {integrity: sha512-yjxDAYyK/pBvws9H4xKYpLDpYKEH6CzrBPAuXq3x18I+c/2MkVtT3qAr7Oloi6Dss9qNhPVueAAVU1CSeNDIXw==} + + browserslist@4.22.2: + resolution: {integrity: sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + browserslist@4.22.3: + resolution: {integrity: sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + + buffer@5.7.1: + resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} + + buffer@6.0.3: + resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} + + builtin-modules@3.3.0: + resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} + engines: {node: '>=6'} + + builtins@5.0.1: + resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} + + bun-types@1.0.26: + resolution: {integrity: sha512-VcSj+SCaWIcMb0uSGIAtr8P92zq9q+unavcQmx27fk6HulCthXHBVrdGuXxAZbFtv7bHVjizRzR2mk9r/U8Nkg==} + + bun-types@1.1.8: + resolution: {integrity: sha512-dwhfuUKSGK8hm5Llcvb5+ejRh+4mIt8ibObJVKhZBsi0ScpXmt+AlaS1eDW6uRXCHj084Qt0kIqAJ08/7ZGC9Q==} + + bundle-name@3.0.0: + resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} + engines: {node: '>=12'} + + call-bind@1.0.5: + resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} + + callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + + camelcase-css@2.0.1: + resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} + engines: {node: '>= 6'} + + camelcase-keys@6.2.2: + resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} + engines: {node: '>=8'} + + camelcase@5.3.1: + resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} + engines: {node: '>=6'} + + camelcase@7.0.1: + resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} + engines: {node: '>=14.16'} + + caniuse-lite@1.0.30001570: + resolution: {integrity: sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==} + + caniuse-lite@1.0.30001587: + resolution: {integrity: sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==} + + ccount@2.0.1: + resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} + + chalk@2.4.2: + resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} + engines: {node: '>=4'} + + chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + + chalk@5.3.0: + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + + character-entities-html4@2.1.0: + resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} + + character-entities-legacy@3.0.0: + resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==} + + character-entities@2.0.2: + resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} + + character-reference-invalid@2.0.1: + resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==} + + chardet@0.7.0: + resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + + chokidar@3.5.3: + resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} + engines: {node: '>= 8.10.0'} + + chownr@1.1.4: + resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} + + chrome-trace-event@1.0.3: + resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} + engines: {node: '>=6.0'} + + ci-info@3.9.0: + resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} + engines: {node: '>=8'} + + ci-info@4.0.0: + resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==} + engines: {node: '>=8'} + + clean-regexp@1.0.0: + resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} + engines: {node: '>=4'} + + cli-boxes@3.0.0: + resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} + engines: {node: '>=10'} + + cli-cursor@4.0.0: + resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} + engines: {node: '>=6'} + + cli-truncate@4.0.0: + resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==} + engines: {node: '>=18'} + + cliui@6.0.0: + resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} + + cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + + clone@1.0.4: + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} + engines: {node: '>=0.8'} + + clsx@2.0.0: + resolution: {integrity: sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==} + engines: {node: '>=6'} + + collapse-white-space@2.1.0: + resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==} + + color-convert@1.9.3: + resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.3: + resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + color-string@1.9.1: + resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} + + color@4.2.3: + resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} + engines: {node: '>=12.5.0'} + + colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + + comma-separated-tokens@2.0.3: + resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} + + commander@11.1.0: + resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==} + engines: {node: '>=16'} + + commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + + commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + + common-ancestor-path@1.0.1: + resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==} + + common-path-prefix@3.0.0: + resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==} + + compare-func@2.0.0: + resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + confusing-browser-globals@1.0.11: + resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==} + + conventional-changelog-angular@7.0.0: + resolution: {integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==} + engines: {node: '>=16'} + + conventional-changelog-conventionalcommits@7.0.2: + resolution: {integrity: sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==} + engines: {node: '>=16'} + + conventional-commits-parser@5.0.0: + resolution: {integrity: sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==} + engines: {node: '>=16'} + hasBin: true + + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + + cookie@0.6.0: + resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} + engines: {node: '>= 0.6'} + + cosmiconfig-typescript-loader@5.0.0: + resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} + engines: {node: '>=v16'} + peerDependencies: + '@types/node': '*' + cosmiconfig: '>=8.2' + typescript: '>=4' + + cosmiconfig@8.3.6: + resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + + cosmiconfig@9.0.0: + resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + + cross-spawn@5.1.0: + resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} + + cross-spawn@6.0.5: + resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} + engines: {node: '>=4.8'} + + cross-spawn@7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + engines: {node: '>= 8'} + + css-selector-parser@3.0.3: + resolution: {integrity: sha512-HAcgYSBFKo1jnglINdHeBPIscPOCOh8vCDCaOV5xkwMSlGPEnfdynxBuWkgZMwXltMKgFbDcr4EPmDpSWi34MA==} + + cssesc@3.0.0: + resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} + engines: {node: '>=4'} + hasBin: true + + csv-generate@3.4.3: + resolution: {integrity: sha512-w/T+rqR0vwvHqWs/1ZyMDWtHHSJaN06klRqJXBEpDJaM/+dZkso0OKh1VcuuYvK3XM53KysVNq8Ko/epCK8wOw==} + + csv-parse@4.16.3: + resolution: {integrity: sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==} + + csv-stringify@5.6.5: + resolution: {integrity: sha512-PjiQ659aQ+fUTQqSrd1XEDnOr52jh30RBurfzkscaE2tPaFsDH5wOAHJiw8XAHphRknCwMUE9KRayc4K/NbO8A==} + + csv@5.5.3: + resolution: {integrity: sha512-QTaY0XjjhTQOdguARF0lGKm5/mEq9PD9/VhZZegHDIBq2tQwgNpHc3dneD4mGo2iJs+fTKv5Bp0fZ+BRuY3Z0g==} + engines: {node: '>= 0.1.90'} + + dargs@7.0.0: + resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==} + engines: {node: '>=8'} + + debug@2.6.9: + resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@3.2.7: + resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + decamelize-keys@1.1.1: + resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} + engines: {node: '>=0.10.0'} + + decamelize@1.2.0: + resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} + engines: {node: '>=0.10.0'} + + decode-named-character-reference@1.0.2: + resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} + + decompress-response@6.0.0: + resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} + engines: {node: '>=10'} + + deep-extend@0.6.0: + resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} + engines: {node: '>=4.0.0'} + + deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + + default-browser-id@3.0.0: + resolution: {integrity: sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==} + engines: {node: '>=12'} + + default-browser@4.0.0: + resolution: {integrity: sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==} + engines: {node: '>=14.16'} + + defaults@1.0.4: + resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + + define-data-property@1.1.1: + resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} + engines: {node: '>= 0.4'} + + define-lazy-prop@2.0.0: + resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} + engines: {node: '>=8'} + + define-lazy-prop@3.0.0: + resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==} + engines: {node: '>=12'} + + define-properties@1.2.1: + resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} + engines: {node: '>= 0.4'} + + denque@2.1.0: + resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} + engines: {node: '>=0.10'} + + dequal@2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + + detect-indent@6.1.0: + resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} + engines: {node: '>=8'} + + detect-libc@2.0.2: + resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} + engines: {node: '>=8'} + + deterministic-object-hash@2.0.2: + resolution: {integrity: sha512-KxektNH63SrbfUyDiwXqRb1rLwKt33AmMv+5Nhsw1kqZ13SJBRTgZHtGbE+hH3a1mVW1cz+4pqSWVPAtLVXTzQ==} + engines: {node: '>=18'} + + devalue@4.3.2: + resolution: {integrity: sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg==} + + devlop@1.1.0: + resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + + didyoumean@1.2.2: + resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} + + diff@5.1.0: + resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} + engines: {node: '>=0.3.1'} + + dir-glob@3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + + direction@2.0.1: + resolution: {integrity: sha512-9S6m9Sukh1cZNknO1CWAr2QAWsbKLafQiyM5gZ7VgXHeuaoUwffKN4q6NC4A/Mf9iiPlOXQEKW/Mv/mh9/3YFA==} + hasBin: true + + dlv@1.1.3: + resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} + + doctrine@2.1.0: + resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} + engines: {node: '>=0.10.0'} + + doctrine@3.0.0: + resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} + engines: {node: '>=6.0.0'} + + dot-prop@5.3.0: + resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} + engines: {node: '>=8'} + + dset@3.1.3: + resolution: {integrity: sha512-20TuZZHCEZ2O71q9/+8BwKwZ0QtD9D8ObhrihJPr+vLLYlSuAU3/zL4cSlgbfeoGHTjCSJBa7NGcrF9/Bx/WJQ==} + engines: {node: '>=4'} + + eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + + electron-to-chromium@1.4.613: + resolution: {integrity: sha512-r4x5+FowKG6q+/Wj0W9nidx7QO31BJwmR2uEo+Qh3YLGQ8SbBAFuDFpTxzly/I2gsbrFwBuIjrMp423L3O5U3w==} + + electron-to-chromium@1.4.667: + resolution: {integrity: sha512-66L3pLlWhTNVUhnmSA5+qDM3fwnXsM6KAqE36e2w4KN0g6pkEtlT5bs41FQtQwVwKnfhNBXiWRLPs30HSxd7Kw==} + + elegant-spinner@3.0.0: + resolution: {integrity: sha512-nWUuor3FWTGYAch7SY0unb5qLzs7eAc24ic9PBh+eQctFNQ4IDWJqBpBgsL4SrrGHHN0mJoL7CpWZby5t2KjFg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + emoji-regex@10.3.0: + resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + + end-of-stream@1.4.4: + resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} + + enhance-visitors@1.0.0: + resolution: {integrity: sha512-+29eJLiUixTEDRaZ35Vu8jP3gPLNcQQkQkOQjLp2X+6cZGGPDD/uasbFzvLsJKnGZnvmyZ0srxudwOtskHeIDA==} + engines: {node: '>=4.0.0'} + + enhanced-resolve@0.9.1: + resolution: {integrity: sha512-kxpoMgrdtkXZ5h0SeraBS1iRntpTpQ3R8ussdb38+UAFnMGX5DDyJXePm+OCHOcoXvHDw7mc2erbJBpDnl7TPw==} + engines: {node: '>=0.6'} + + enhanced-resolve@5.15.0: + resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==} + engines: {node: '>=10.13.0'} + + enquirer@2.4.1: + resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} + engines: {node: '>=8.6'} + + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + env-editor@1.1.0: + resolution: {integrity: sha512-7AXskzN6T7Q9TFcKAGJprUbpQa4i1VsAetO9rdBqbGMGlragTziBgWt4pVYJMBWHQlLoX0buy6WFikzPH4Qjpw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + env-paths@2.2.1: + resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} + engines: {node: '>=6'} + + error-ex@1.3.2: + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + + es-abstract@1.22.3: + resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} + engines: {node: '>= 0.4'} + + es-module-lexer@1.4.1: + resolution: {integrity: sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==} + + es-set-tostringtag@2.0.2: + resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} + engines: {node: '>= 0.4'} + + es-shim-unscopables@1.0.2: + resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} + + es-to-primitive@1.2.1: + resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} + engines: {node: '>= 0.4'} + + esbuild@0.19.11: + resolution: {integrity: sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==} + engines: {node: '>=12'} + hasBin: true + + esbuild@0.19.9: + resolution: {integrity: sha512-U9CHtKSy+EpPsEBa+/A2gMs/h3ylBC0H0KSqIg7tpztHerLi6nrrcoUJAkNCEPumx8yJ+Byic4BVwHgRbN0TBg==} + engines: {node: '>=12'} + hasBin: true + + escalade@3.1.1: + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} + + escalade@3.1.2: + resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} + engines: {node: '>=6'} + + escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + + escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + + escape-string-regexp@5.0.0: + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} + engines: {node: '>=12'} + + eslint-config-prettier@8.10.0: + resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==} + hasBin: true + peerDependencies: + eslint: '>=7.0.0' + + eslint-config-xo-typescript@1.0.1: + resolution: {integrity: sha512-vPQssnRSUgBFOEfB/KY12CXwltwFSn4RSCfa+w7gjBC2PFQ7Yfgmyei+1XUZ3K+8LRGef2NMJUcxts7PldhDjg==} + engines: {node: '>=16'} + peerDependencies: + '@typescript-eslint/eslint-plugin': '>=6.0.0' + '@typescript-eslint/parser': '>=6.0.0' + eslint: '>=8.0.0' + typescript: '>=4.7' + + eslint-config-xo@0.43.1: + resolution: {integrity: sha512-azv1L2PysRA0NkZOgbndUpN+581L7wPqkgJOgxxw3hxwXAbJgD6Hqb/SjHRiACifXt/AvxCzE/jIKFAlI7XjvQ==} + engines: {node: '>=12'} + peerDependencies: + eslint: '>=8.27.0' + + eslint-formatter-pretty@5.0.0: + resolution: {integrity: sha512-Uick451FoL22/wXqyScX3inW8ZlD/GQO7eFXj3bqb6N/ZtuuF00/CwSNIKLbFCJPrX5V4EdQBSgJ/UVnmLRnug==} + engines: {node: '>=14.16'} + + eslint-import-resolver-node@0.3.9: + resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} + + eslint-import-resolver-webpack@0.13.8: + resolution: {integrity: sha512-Y7WIaXWV+Q21Rz/PJgUxiW/FTBOWmU8NTLdz+nz9mMoiz5vAev/fOaQxwD7qRzTfE3HSm1qsxZ5uRd7eX+VEtA==} + engines: {node: '>= 6'} + peerDependencies: + eslint-plugin-import: '>=1.4.0' + webpack: '>=1.11.0' + + eslint-module-utils@2.8.0: + resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true + + eslint-plugin-ava@14.0.0: + resolution: {integrity: sha512-XmKT6hppaipwwnLVwwvQliSU6AF1QMHiNoLD5JQfzhUhf0jY7CO0O624fQrE+Y/fTb9vbW8r77nKf7M/oHulxw==} + engines: {node: '>=14.17 <15 || >=16.4'} + peerDependencies: + eslint: '>=8.26.0' + + eslint-plugin-es-x@7.3.0: + resolution: {integrity: sha512-W9zIs+k00I/I13+Bdkl/zG1MEO07G97XjUSQuH117w620SJ6bHtLUmoMvkGA2oYnI/gNdr+G7BONLyYnFaLLEQ==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + eslint: '>=8' + + eslint-plugin-eslint-comments@3.2.0: + resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} + engines: {node: '>=6.5.0'} + peerDependencies: + eslint: '>=4.19.1' + + eslint-plugin-import@2.27.5: + resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + + eslint-plugin-n@16.3.0: + resolution: {integrity: sha512-/XZLH5CUXGK3laz3xYFNza8ZxLCq8ZNW6MsVw5z3d5hc2AwZzi0fPiySFZHQTdVDOHGs2cGv91aqzWmgBdq2gQ==} + engines: {node: '>=16.0.0'} + peerDependencies: + eslint: '>=7.0.0' + + eslint-plugin-no-use-extend-native@0.5.0: + resolution: {integrity: sha512-dBNjs8hor8rJgeXLH4HTut5eD3RGWf9JUsadIfuL7UosVQ/dnvOKwxEcRrXrFxrMZ8llUVWT+hOimxJABsAUzQ==} + engines: {node: '>=6.0.0'} + + eslint-plugin-prettier@5.0.1: + resolution: {integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + '@types/eslint': '>=8.0.0' + eslint: '>=8.0.0' + eslint-config-prettier: '*' + prettier: '>=3.0.0' + peerDependenciesMeta: + '@types/eslint': + optional: true + eslint-config-prettier: + optional: true + + eslint-plugin-unicorn@48.0.1: + resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} + engines: {node: '>=16'} + peerDependencies: + eslint: '>=8.44.0' + + eslint-rule-docs@1.1.235: + resolution: {integrity: sha512-+TQ+x4JdTnDoFEXXb3fDvfGOwnyNV7duH8fXWTPD1ieaBmB8omj7Gw/pMBBu4uI2uJCCU8APDaQJzWuXnTsH4A==} + + eslint-scope@5.1.1: + resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} + engines: {node: '>=8.0.0'} + + eslint-scope@7.2.2: + resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + eslint-utils@3.0.0: + resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} + engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} + peerDependencies: + eslint: '>=5' + + eslint-visitor-keys@2.1.0: + resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} + engines: {node: '>=10'} + + eslint-visitor-keys@3.4.3: + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + eslint@8.53.0: + resolution: {integrity: sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + hasBin: true + + esm-utils@4.2.1: + resolution: {integrity: sha512-a7t8pDmZ5MeYfo2pM5EcqeU+BqKobUFKnWkM17JOhTlR88OSosLa9Ak4bgm+htoF15HRf7tfrXNR62UogmIODg==} + + espree@9.6.1: + resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + esprima@4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + + espurify@2.1.1: + resolution: {integrity: sha512-zttWvnkhcDyGOhSH4vO2qCBILpdCMv/MX8lp4cqgRkQoDRGK2oZxi2GfWhlP2dIXmk7BaKeOTuzbHhyC68o8XQ==} + + esquery@1.5.0: + resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} + engines: {node: '>=0.10'} + + esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + + estraverse@4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + + estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + + estree-util-attach-comments@3.0.0: + resolution: {integrity: sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==} + + estree-util-build-jsx@3.0.1: + resolution: {integrity: sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ==} + + estree-util-is-identifier-name@3.0.0: + resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} + + estree-util-to-js@2.0.0: + resolution: {integrity: sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==} + + estree-util-visit@2.0.0: + resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + + event-target-shim@5.0.1: + resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} + engines: {node: '>=6'} + + eventemitter3@5.0.1: + resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} + + events@3.3.0: + resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} + engines: {node: '>=0.8.x'} + + execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} + + execa@7.2.0: + resolution: {integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==} + engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0} + + execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} + + expand-template@2.0.3: + resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} + engines: {node: '>=6'} + + expressive-code@0.29.4: + resolution: {integrity: sha512-MA0cdWkFsIPQ/DAiPgL49y1mZiOXOuxiBXlZ28SrtItNeoh3/NwUhZ21z5BwlaC7b6nkXfkI4E+HWguuIpEhSA==} + + extend-shallow@2.0.1: + resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} + engines: {node: '>=0.10.0'} + + extend@3.0.2: + resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + + extendable-error@0.1.7: + resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} + + external-editor@3.1.0: + resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} + engines: {node: '>=4'} + + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + + fast-diff@1.3.0: + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + + fast-fifo@1.3.2: + resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} + + fast-glob@3.3.2: + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} + + fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + + fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + + fast-redact@3.3.0: + resolution: {integrity: sha512-6T5V1QK1u4oF+ATxs1lWUmlEk6P2T9HqJG3e2DnHOdVgZy2rFJBoEnrIedcTXlkAHU/zKC+7KETJ+KGGKwxgMQ==} + engines: {node: '>=6'} + + fastq@1.15.0: + resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} + + figures@6.0.1: + resolution: {integrity: sha512-0oY/olScYD4IhQ8u//gCPA4F3mlTn2dacYmiDm/mbDQvpmLjV4uH+zhsQ5IyXRyvqkvtUkXkNdGvg5OFJTCsuQ==} + engines: {node: '>=18'} + + file-entry-cache@6.0.1: + resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} + engines: {node: ^10.12.0 || >=12.0.0} + + fill-range@7.0.1: + resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + engines: {node: '>=8'} + + find-cache-dir@4.0.0: + resolution: {integrity: sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg==} + engines: {node: '>=14.16'} + + find-root@1.1.0: + resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==} + + find-up@4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + + find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + + find-up@6.3.0: + resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + find-yarn-workspace-root2@1.2.16: + resolution: {integrity: sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==} + + flat-cache@3.1.1: + resolution: {integrity: sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==} + engines: {node: '>=12.0.0'} + + flatted@3.2.9: + resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} + + flattie@1.1.0: + resolution: {integrity: sha512-xU99gDEnciIwJdGcBmNHnzTJ/w5AT+VFJOu6sTB6WM8diOYNA3Sa+K1DiEBQ7XH4QikQq3iFW1U+jRVcotQnBw==} + engines: {node: '>=8'} + + for-each@0.3.3: + resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + + foreground-child@3.1.1: + resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} + engines: {node: '>=14'} + + fraction.js@4.3.7: + resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} + + fs-constants@1.0.0: + resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} + + fs-extra@7.0.1: + resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} + engines: {node: '>=6 <7 || >=8'} + + fs-extra@8.1.0: + resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} + engines: {node: '>=6 <7 || >=8'} + + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + function.prototype.name@1.1.6: + resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} + engines: {node: '>= 0.4'} + + functions-have-names@1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + + generate-function@2.3.1: + resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==} + + gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + get-east-asian-width@1.2.0: + resolution: {integrity: sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==} + engines: {node: '>=18'} + + get-intrinsic@1.2.2: + resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} + + get-set-props@0.1.0: + resolution: {integrity: sha512-7oKuKzAGKj0ag+eWZwcGw2fjiZ78tXnXQoBgY0aU7ZOxTu4bB7hSuQSDgtKy978EDH062P5FmD2EWiDpQS9K9Q==} + engines: {node: '>=0.10.0'} + + get-stdin@9.0.0: + resolution: {integrity: sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==} + engines: {node: '>=12'} + + get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + + get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} + + get-symbol-description@1.0.0: + resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} + engines: {node: '>= 0.4'} + + get-tsconfig@4.7.2: + resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} + + git-raw-commits@2.0.11: + resolution: {integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==} + engines: {node: '>=10'} + hasBin: true + + github-from-package@0.0.0: + resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} + + github-slugger@2.0.0: + resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==} + + glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + + glob-parent@6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + + glob-to-regexp@0.4.1: + resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} + + glob@10.3.10: + resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + + glob@7.1.6: + resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} + + glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + + global-dirs@0.1.1: + resolution: {integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==} + engines: {node: '>=4'} + + globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + + globals@13.23.0: + resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==} + engines: {node: '>=8'} + + globalthis@1.0.3: + resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} + engines: {node: '>= 0.4'} + + globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + + globby@13.2.2: + resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + gopd@1.0.1: + resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + grapheme-splitter@1.0.4: + resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} + + graphemer@1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + + gray-matter@4.0.3: + resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==} + engines: {node: '>=6.0'} + + hard-rejection@2.1.0: + resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} + engines: {node: '>=6'} + + has-bigints@1.0.2: + resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} + + has-flag@3.0.0: + resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} + engines: {node: '>=4'} + + has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + has-property-descriptors@1.0.1: + resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} + + has-proto@1.0.1: + resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} + engines: {node: '>= 0.4'} + + has-symbols@1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + + has-tostringtag@1.0.0: + resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} + engines: {node: '>= 0.4'} + + has@1.0.4: + resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} + engines: {node: '>= 0.4.0'} + + hasown@2.0.0: + resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} + engines: {node: '>= 0.4'} + + hasown@2.0.1: + resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} + engines: {node: '>= 0.4'} + + hast-util-from-html@2.0.1: + resolution: {integrity: sha512-RXQBLMl9kjKVNkJTIO6bZyb2n+cUH8LFaSSzo82jiLT6Tfc+Pt7VQCS+/h3YwG4jaNE2TA2sdJisGWR+aJrp0g==} + + hast-util-from-parse5@7.1.2: + resolution: {integrity: sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw==} + + hast-util-from-parse5@8.0.1: + resolution: {integrity: sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ==} + + hast-util-has-property@3.0.0: + resolution: {integrity: sha512-MNilsvEKLFpV604hwfhVStK0usFY/QmM5zX16bo7EjnAEGofr5YyI37kzopBlZJkHD4t887i+q/C8/tr5Q94cA==} + + hast-util-parse-selector@3.1.1: + resolution: {integrity: sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==} + + hast-util-parse-selector@4.0.0: + resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==} + + hast-util-raw@7.2.3: + resolution: {integrity: sha512-RujVQfVsOrxzPOPSzZFiwofMArbQke6DJjnFfceiEbFh7S05CbPt0cYN+A5YeD3pso0JQk6O1aHBnx9+Pm2uqg==} + + hast-util-raw@9.0.1: + resolution: {integrity: sha512-5m1gmba658Q+lO5uqL5YNGQWeh1MYWZbZmWrM5lncdcuiXuo5E2HT/CIOp0rLF8ksfSwiCVJ3twlgVRyTGThGA==} + + hast-util-select@6.0.2: + resolution: {integrity: sha512-hT/SD/d/Meu+iobvgkffo1QecV8WeKWxwsNMzcTJsKw1cKTQKSR/7ArJeURLNJF9HDjp9nVoORyNNJxrvBye8Q==} + + hast-util-to-estree@3.1.0: + resolution: {integrity: sha512-lfX5g6hqVh9kjS/B9E2gSkvHH4SZNiQFiqWS0x9fENzEl+8W12RqdRxX6d/Cwxi30tPQs3bIO+aolQJNp1bIyw==} + + hast-util-to-html@8.0.4: + resolution: {integrity: sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA==} + + hast-util-to-html@9.0.0: + resolution: {integrity: sha512-IVGhNgg7vANuUA2XKrT6sOIIPgaYZnmLx3l/CCOAK0PtgfoHrZwX7jCSYyFxHTrGmC6S9q8aQQekjp4JPZF+cw==} + + hast-util-to-jsx-runtime@2.3.0: + resolution: {integrity: sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==} + + hast-util-to-parse5@7.1.0: + resolution: {integrity: sha512-YNRgAJkH2Jky5ySkIqFXTQiaqcAtJyVE+D5lkN6CdtOqrnkLfGYYrEcKuHOJZlp+MwjSwuD3fZuawI+sic/RBw==} + + hast-util-to-parse5@8.0.0: + resolution: {integrity: sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==} + + hast-util-to-string@3.0.0: + resolution: {integrity: sha512-OGkAxX1Ua3cbcW6EJ5pT/tslVb90uViVkcJ4ZZIMW/R33DX/AkcJcRrPebPwJkHYwlDHXz4aIwvAAaAdtrACFA==} + + hast-util-whitespace@2.0.1: + resolution: {integrity: sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==} + + hast-util-whitespace@3.0.0: + resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} + + hastscript@7.2.0: + resolution: {integrity: sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==} + + hastscript@8.0.0: + resolution: {integrity: sha512-dMOtzCEd3ABUeSIISmrETiKuyydk1w0pa+gE/uormcTpSYuaNJPbX1NU3JLyscSLjwAQM8bWMhhIlnCqnRvDTw==} + + hosted-git-info@2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + + hosted-git-info@4.1.0: + resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} + engines: {node: '>=10'} + + html-escaper@3.0.3: + resolution: {integrity: sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==} + + html-void-elements@2.0.1: + resolution: {integrity: sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==} + + html-void-elements@3.0.0: + resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} + + http-cache-semantics@4.1.1: + resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==} + + human-id@1.0.2: + resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} + + human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} + + human-signals@4.3.1: + resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==} + engines: {node: '>=14.18.0'} + + human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} + + husky@8.0.3: + resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} + engines: {node: '>=14'} + hasBin: true + + iconv-lite@0.4.24: + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} + + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + + ieee754@1.2.1: + resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} + + ignore@5.2.4: + resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} + engines: {node: '>= 4'} + + import-fresh@3.3.0: + resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} + engines: {node: '>=6'} + + import-from-esm@1.3.3: + resolution: {integrity: sha512-U3Qt/CyfFpTUv6LOP2jRTLYjphH6zg3okMfHbyqRa/W2w6hr8OsJWVggNlR4jxuojQy81TgTJTxgSkyoteRGMQ==} + engines: {node: '>=16.20'} + + import-meta-resolve@4.0.0: + resolution: {integrity: sha512-okYUR7ZQPH+efeuMJGlq4f8ubUgO50kByRPyt/Cy1Io4PSRsPjxME+YlVaCOx+NIToW7hCsZNFJyTPFFKepRSA==} + + import-modules@2.1.0: + resolution: {integrity: sha512-8HEWcnkbGpovH9yInoisxaSoIg9Brbul+Ju3Kqe2UsYDUBJD/iQjSgEj0zPcTDPKfPp2fs5xlv1i+JSye/m1/A==} + engines: {node: '>=8'} + + imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + + indent-string@4.0.0: + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} + + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + ini@1.3.8: + resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + + inline-style-parser@0.1.1: + resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==} + + inline-style-parser@0.2.2: + resolution: {integrity: sha512-EcKzdTHVe8wFVOGEYXiW9WmJXPjqi1T+234YpJr98RiFYKHV3cdy1+3mkTE+KHTHxFFLH51SfaGOoUdW+v7ViQ==} + + internal-slot@1.0.6: + resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} + engines: {node: '>= 0.4'} + + interpret@1.4.0: + resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} + engines: {node: '>= 0.10'} + + irregular-plurals@3.5.0: + resolution: {integrity: sha512-1ANGLZ+Nkv1ptFb2pa8oG8Lem4krflKuX/gINiHJHjJUKaJHk/SXk5x6K3J+39/p0h1RQ2saROclJJ+QLvETCQ==} + engines: {node: '>=8'} + + is-absolute@1.0.0: + resolution: {integrity: sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==} + engines: {node: '>=0.10.0'} + + is-alphabetical@2.0.1: + resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==} + + is-alphanumerical@2.0.1: + resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==} + + is-array-buffer@3.0.2: + resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} + + is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + + is-arrayish@0.3.2: + resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} + + is-bigint@1.0.4: + resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} + + is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + + is-boolean-object@1.1.2: + resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} + engines: {node: '>= 0.4'} + + is-buffer@2.0.5: + resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} + engines: {node: '>=4'} + + is-builtin-module@3.2.1: + resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} + engines: {node: '>=6'} + + is-callable@1.2.7: + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} + engines: {node: '>= 0.4'} + + is-core-module@2.13.1: + resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + + is-date-object@1.0.5: + resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} + engines: {node: '>= 0.4'} + + is-decimal@2.0.1: + resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==} + + is-docker@2.2.1: + resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} + engines: {node: '>=8'} + hasBin: true + + is-docker@3.0.0: + resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + hasBin: true + + is-extendable@0.1.1: + resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} + engines: {node: '>=0.10.0'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + is-fullwidth-code-point@4.0.0: + resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} + engines: {node: '>=12'} + + is-fullwidth-code-point@5.0.0: + resolution: {integrity: sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==} + engines: {node: '>=18'} + + is-get-set-prop@1.0.0: + resolution: {integrity: sha512-DvAYZ1ZgGUz4lzxKMPYlt08qAUqyG9ckSg2pIjfvcQ7+pkVNUHk8yVLXOnCLe5WKXhLop8oorWFBJHpwWQpszQ==} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-hexadecimal@2.0.1: + resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==} + + is-inside-container@1.0.0: + resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} + engines: {node: '>=14.16'} + hasBin: true + + is-interactive@2.0.0: + resolution: {integrity: sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==} + engines: {node: '>=12'} + + is-js-type@2.0.0: + resolution: {integrity: sha512-Aj13l47+uyTjlQNHtXBV8Cji3jb037vxwMWCgopRR8h6xocgBGW3qG8qGlIOEmbXQtkKShKuBM9e8AA1OeQ+xw==} + + is-negated-glob@1.0.0: + resolution: {integrity: sha512-czXVVn/QEmgvej1f50BZ648vUI+em0xqMq2Sn+QncCLN4zj1UAxlT+kw/6ggQTOaZPd1HqKQGEqbpQVtJucWug==} + engines: {node: '>=0.10.0'} + + is-negative-zero@2.0.2: + resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} + engines: {node: '>= 0.4'} + + is-number-object@1.0.7: + resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} + engines: {node: '>= 0.4'} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + is-obj-prop@1.0.0: + resolution: {integrity: sha512-5Idb61slRlJlsAzi0Wsfwbp+zZY+9LXKUAZpvT/1ySw+NxKLRWfa0Bzj+wXI3fX5O9hiddm5c3DAaRSNP/yl2w==} + + is-obj@2.0.0: + resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==} + engines: {node: '>=8'} + + is-path-inside@3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + + is-plain-obj@1.1.0: + resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} + engines: {node: '>=0.10.0'} + + is-plain-obj@4.1.0: + resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} + engines: {node: '>=12'} + + is-property@1.0.2: + resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} + + is-proto-prop@2.0.0: + resolution: {integrity: sha512-jl3NbQ/fGLv5Jhan4uX+Ge9ohnemqyblWVVCpAvtTQzNFvV2xhJq+esnkIbYQ9F1nITXoLfDDQLp7LBw/zzncg==} + + is-reference@3.0.2: + resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==} + + is-regex@1.1.4: + resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} + engines: {node: '>= 0.4'} + + is-relative@1.0.0: + resolution: {integrity: sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==} + engines: {node: '>=0.10.0'} + + is-shared-array-buffer@1.0.2: + resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} + + is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + + is-stream@3.0.0: + resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + is-string@1.0.7: + resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} + engines: {node: '>= 0.4'} + + is-subdir@1.2.0: + resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==} + engines: {node: '>=4'} + + is-symbol@1.0.4: + resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} + engines: {node: '>= 0.4'} + + is-text-path@2.0.0: + resolution: {integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==} + engines: {node: '>=8'} + + is-typed-array@1.1.12: + resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} + engines: {node: '>= 0.4'} + + is-unc-path@1.0.0: + resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} + engines: {node: '>=0.10.0'} + + is-unicode-supported@0.1.0: + resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} + engines: {node: '>=10'} + + is-unicode-supported@1.3.0: + resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==} + engines: {node: '>=12'} + + is-unicode-supported@2.0.0: + resolution: {integrity: sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==} + engines: {node: '>=18'} + + is-weakref@1.0.2: + resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} + + is-windows@1.0.2: + resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} + engines: {node: '>=0.10.0'} + + is-wsl@2.2.0: + resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} + engines: {node: '>=8'} + + is-wsl@3.1.0: + resolution: {integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==} + engines: {node: '>=16'} + + isarray@2.0.5: + resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + jackspeak@2.3.6: + resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} + engines: {node: '>=14'} + + jest-worker@27.5.1: + resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} + engines: {node: '>= 10.13.0'} + + jiti@1.21.0: + resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} + hasBin: true + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + js-types@1.0.0: + resolution: {integrity: sha512-bfwqBW9cC/Lp7xcRpug7YrXm0IVw+T9e3g4mCYnv0Pjr3zIzU9PCQElYU9oSGAWzXlbdl9X5SAMPejO9sxkeUw==} + engines: {node: '>=0.10.0'} + + js-yaml@3.14.1: + resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} + hasBin: true + + js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + + jsesc@0.5.0: + resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + hasBin: true + + jsesc@2.5.2: + resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} + engines: {node: '>=4'} + hasBin: true + + jsesc@3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + + json-buffer@3.0.1: + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + + json-parse-better-errors@1.0.2: + resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} + + json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + + json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + + json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + + json5@1.0.2: + resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} + hasBin: true + + json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + + jsonc-parser@3.2.0: + resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} + + jsonfile@4.0.0: + resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + + jsonparse@1.3.1: + resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==} + engines: {'0': node >= 0.2.0} + + keyv@4.5.4: + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + + kind-of@6.0.3: + resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} + engines: {node: '>=0.10.0'} + + kleur@3.0.3: + resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} + engines: {node: '>=6'} + + kleur@4.1.5: + resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} + engines: {node: '>=6'} + + levn@0.4.1: + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} + + lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + + lilconfig@3.0.0: + resolution: {integrity: sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==} + engines: {node: '>=14'} + + line-column-path@3.0.0: + resolution: {integrity: sha512-Atocnm7Wr9nuvAn97yEPQa3pcQI5eLQGBz+m6iTb+CVw+IOzYB9MrYK7jI7BfC9ISnT4Fu0eiwhAScV//rp4Hw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + + lint-staged@15.2.0: + resolution: {integrity: sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==} + engines: {node: '>=18.12.0'} + hasBin: true + + listr2@8.0.0: + resolution: {integrity: sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==} + engines: {node: '>=18.0.0'} + + load-json-file@4.0.0: + resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} + engines: {node: '>=4'} + + load-yaml-file@0.2.0: + resolution: {integrity: sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw==} + engines: {node: '>=6'} + + loader-runner@4.3.0: + resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} + engines: {node: '>=6.11.5'} + + locate-path@5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + + locate-path@7.2.0: + resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + lodash-es@4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + + lodash.camelcase@4.3.0: + resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} + + lodash.isfunction@3.0.9: + resolution: {integrity: sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==} + + lodash.isplainobject@4.0.6: + resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} + + lodash.kebabcase@4.1.1: + resolution: {integrity: sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==} + + lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + + lodash.mergewith@4.6.2: + resolution: {integrity: sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==} + + lodash.snakecase@4.1.1: + resolution: {integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==} + + lodash.startcase@4.4.0: + resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} + + lodash.uniq@4.5.0: + resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} + + lodash.upperfirst@4.3.1: + resolution: {integrity: sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==} + + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + + log-symbols@4.1.0: + resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} + engines: {node: '>=10'} + + log-symbols@5.1.0: + resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==} + engines: {node: '>=12'} + + log-update@6.0.0: + resolution: {integrity: sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==} + engines: {node: '>=18'} + + long@5.2.3: + resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} + + longest-streak@3.1.0: + resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} + + lowercase-keys@1.0.1: + resolution: {integrity: sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==} + engines: {node: '>=0.10.0'} + + lru-cache@10.0.1: + resolution: {integrity: sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==} + engines: {node: 14 || >=16.14} + + lru-cache@4.1.5: + resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} + + lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + + lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + + lru-cache@7.18.3: + resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} + engines: {node: '>=12'} + + lru-cache@8.0.5: + resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==} + engines: {node: '>=16.14'} + + magic-string@0.30.5: + resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} + engines: {node: '>=12'} + + map-obj@1.0.1: + resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} + engines: {node: '>=0.10.0'} + + map-obj@4.3.0: + resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} + engines: {node: '>=8'} + + markdown-extensions@2.0.0: + resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==} + engines: {node: '>=16'} + + markdown-table@3.0.3: + resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==} + + mdast-util-definitions@6.0.0: + resolution: {integrity: sha512-scTllyX6pnYNZH/AIp/0ePz6s4cZtARxImwoPJ7kS42n+MnVsI4XbnG6d4ibehRIldYMWM2LD7ImQblVhUejVQ==} + + mdast-util-directive@3.0.0: + resolution: {integrity: sha512-JUpYOqKI4mM3sZcNxmF/ox04XYFFkNwr0CFlrQIkCwbvH0xzMCqkMqAde9wRd80VAhaUrwFwKm2nxretdT1h7Q==} + + mdast-util-find-and-replace@3.0.1: + resolution: {integrity: sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==} + + mdast-util-from-markdown@2.0.0: + resolution: {integrity: sha512-n7MTOr/z+8NAX/wmhhDji8O3bRvPTV/U0oTCaZJkjhPSKTPhS3xufVhKGF8s1pJ7Ox4QgoIU7KHseh09S+9rTA==} + + mdast-util-gfm-autolink-literal@2.0.0: + resolution: {integrity: sha512-FyzMsduZZHSc3i0Px3PQcBT4WJY/X/RCtEJKuybiC6sjPqLv7h1yqAkmILZtuxMSsUyaLUWNp71+vQH2zqp5cg==} + + mdast-util-gfm-footnote@2.0.0: + resolution: {integrity: sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==} + + mdast-util-gfm-strikethrough@2.0.0: + resolution: {integrity: sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==} + + mdast-util-gfm-table@2.0.0: + resolution: {integrity: sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==} + + mdast-util-gfm-task-list-item@2.0.0: + resolution: {integrity: sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==} + + mdast-util-gfm@3.0.0: + resolution: {integrity: sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==} + + mdast-util-mdx-expression@2.0.0: + resolution: {integrity: sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw==} + + mdast-util-mdx-jsx@3.0.0: + resolution: {integrity: sha512-XZuPPzQNBPAlaqsTTgRrcJnyFbSOBovSadFgbFu8SnuNgm+6Bdx1K+IWoitsmj6Lq6MNtI+ytOqwN70n//NaBA==} + + mdast-util-mdx@3.0.0: + resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} + + mdast-util-mdxjs-esm@2.0.1: + resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==} + + mdast-util-phrasing@4.0.0: + resolution: {integrity: sha512-xadSsJayQIucJ9n053dfQwVu1kuXg7jCTdYsMK8rqzKZh52nLfSH/k0sAxE0u+pj/zKZX+o5wB+ML5mRayOxFA==} + + mdast-util-to-hast@13.0.2: + resolution: {integrity: sha512-U5I+500EOOw9e3ZrclN3Is3fRpw8c19SMyNZlZ2IS+7vLsNzb2Om11VpIVOR+/0137GhZsFEF6YiKD5+0Hr2Og==} + + mdast-util-to-markdown@2.1.0: + resolution: {integrity: sha512-SR2VnIEdVNCJbP6y7kVTJgPLifdr8WEU440fQec7qHoHOUz/oJ2jmNRqdDQ3rbiStOXb2mCDGTuwsK5OPUgYlQ==} + + mdast-util-to-string@4.0.0: + resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} + + memory-fs@0.2.0: + resolution: {integrity: sha512-+y4mDxU4rvXXu5UDSGCGNiesFmwCHuefGMoPCO1WYucNYj7DsLqrFaa2fXVI0H+NNiPTwwzKwspn9yTZqUGqng==} + + memorystream@0.3.1: + resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} + engines: {node: '>= 0.10.0'} + + meow@12.1.1: + resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==} + engines: {node: '>=16.10'} + + meow@6.1.1: + resolution: {integrity: sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==} + engines: {node: '>=8'} + + meow@8.1.2: + resolution: {integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==} + engines: {node: '>=10'} + + merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + + merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + + micro-spelling-correcter@1.1.1: + resolution: {integrity: sha512-lkJ3Rj/mtjlRcHk6YyCbvZhyWTOzdBvTHsxMmZSk5jxN1YyVSQ+JETAom55mdzfcyDrY/49Z7UCW760BK30crg==} + + micromark-core-commonmark@2.0.0: + resolution: {integrity: sha512-jThOz/pVmAYUtkroV3D5c1osFXAMv9e0ypGDOIZuCeAe91/sD6BoE2Sjzt30yuXtwOYUmySOhMas/PVyh02itA==} + + micromark-extension-directive@3.0.0: + resolution: {integrity: sha512-61OI07qpQrERc+0wEysLHMvoiO3s2R56x5u7glHq2Yqq6EHbH4dW25G9GfDdGCDYqA21KE6DWgNSzxSwHc2hSg==} + + micromark-extension-gfm-autolink-literal@2.0.0: + resolution: {integrity: sha512-rTHfnpt/Q7dEAK1Y5ii0W8bhfJlVJFnJMHIPisfPK3gpVNuOP0VnRl96+YJ3RYWV/P4gFeQoGKNlT3RhuvpqAg==} + + micromark-extension-gfm-footnote@2.0.0: + resolution: {integrity: sha512-6Rzu0CYRKDv3BfLAUnZsSlzx3ak6HAoI85KTiijuKIz5UxZxbUI+pD6oHgw+6UtQuiRwnGRhzMmPRv4smcz0fg==} + + micromark-extension-gfm-strikethrough@2.0.0: + resolution: {integrity: sha512-c3BR1ClMp5fxxmwP6AoOY2fXO9U8uFMKs4ADD66ahLTNcwzSCyRVU4k7LPV5Nxo/VJiR4TdzxRQY2v3qIUceCw==} + + micromark-extension-gfm-table@2.0.0: + resolution: {integrity: sha512-PoHlhypg1ItIucOaHmKE8fbin3vTLpDOUg8KAr8gRCF1MOZI9Nquq2i/44wFvviM4WuxJzc3demT8Y3dkfvYrw==} + + micromark-extension-gfm-tagfilter@2.0.0: + resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==} + + micromark-extension-gfm-task-list-item@2.0.1: + resolution: {integrity: sha512-cY5PzGcnULaN5O7T+cOzfMoHjBW7j+T9D2sucA5d/KbsBTPcYdebm9zUd9zzdgJGCwahV+/W78Z3nbulBYVbTw==} + + micromark-extension-gfm@3.0.0: + resolution: {integrity: sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==} + + micromark-extension-mdx-expression@3.0.0: + resolution: {integrity: sha512-sI0nwhUDz97xyzqJAbHQhp5TfaxEvZZZ2JDqUo+7NvyIYG6BZ5CPPqj2ogUoPJlmXHBnyZUzISg9+oUmU6tUjQ==} + + micromark-extension-mdx-jsx@3.0.0: + resolution: {integrity: sha512-uvhhss8OGuzR4/N17L1JwvmJIpPhAd8oByMawEKx6NVdBCbesjH4t+vjEp3ZXft9DwvlKSD07fCeI44/N0Vf2w==} + + micromark-extension-mdx-md@2.0.0: + resolution: {integrity: sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==} + + micromark-extension-mdxjs-esm@3.0.0: + resolution: {integrity: sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==} + + micromark-extension-mdxjs@3.0.0: + resolution: {integrity: sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==} + + micromark-factory-destination@2.0.0: + resolution: {integrity: sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA==} + + micromark-factory-label@2.0.0: + resolution: {integrity: sha512-RR3i96ohZGde//4WSe/dJsxOX6vxIg9TimLAS3i4EhBAFx8Sm5SmqVfR8E87DPSR31nEAjZfbt91OMZWcNgdZw==} + + micromark-factory-mdx-expression@2.0.1: + resolution: {integrity: sha512-F0ccWIUHRLRrYp5TC9ZYXmZo+p2AM13ggbsW4T0b5CRKP8KHVRB8t4pwtBgTxtjRmwrK0Irwm7vs2JOZabHZfg==} + + micromark-factory-space@2.0.0: + resolution: {integrity: sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg==} + + micromark-factory-title@2.0.0: + resolution: {integrity: sha512-jY8CSxmpWLOxS+t8W+FG3Xigc0RDQA9bKMY/EwILvsesiRniiVMejYTE4wumNc2f4UbAa4WsHqe3J1QS1sli+A==} + + micromark-factory-whitespace@2.0.0: + resolution: {integrity: sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==} + + micromark-util-character@2.0.1: + resolution: {integrity: sha512-3wgnrmEAJ4T+mGXAUfMvMAbxU9RDG43XmGce4j6CwPtVxB3vfwXSZ6KhFwDzZ3mZHhmPimMAXg71veiBGzeAZw==} + + micromark-util-chunked@2.0.0: + resolution: {integrity: sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg==} + + micromark-util-classify-character@2.0.0: + resolution: {integrity: sha512-S0ze2R9GH+fu41FA7pbSqNWObo/kzwf8rN/+IGlW/4tC6oACOs8B++bh+i9bVyNnwCcuksbFwsBme5OCKXCwIw==} + + micromark-util-combine-extensions@2.0.0: + resolution: {integrity: sha512-vZZio48k7ON0fVS3CUgFatWHoKbbLTK/rT7pzpJ4Bjp5JjkZeasRfrS9wsBdDJK2cJLHMckXZdzPSSr1B8a4oQ==} + + micromark-util-decode-numeric-character-reference@2.0.1: + resolution: {integrity: sha512-bmkNc7z8Wn6kgjZmVHOX3SowGmVdhYS7yBpMnuMnPzDq/6xwVA604DuOXMZTO1lvq01g+Adfa0pE2UKGlxL1XQ==} + + micromark-util-decode-string@2.0.0: + resolution: {integrity: sha512-r4Sc6leeUTn3P6gk20aFMj2ntPwn6qpDZqWvYmAG6NgvFTIlj4WtrAudLi65qYoaGdXYViXYw2pkmn7QnIFasA==} + + micromark-util-encode@2.0.0: + resolution: {integrity: sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA==} + + micromark-util-events-to-acorn@2.0.2: + resolution: {integrity: sha512-Fk+xmBrOv9QZnEDguL9OI9/NQQp6Hz4FuQ4YmCb/5V7+9eAh1s6AYSvL20kHkD67YIg7EpE54TiSlcsf3vyZgA==} + + micromark-util-html-tag-name@2.0.0: + resolution: {integrity: sha512-xNn4Pqkj2puRhKdKTm8t1YHC/BAjx6CEwRFXntTaRf/x16aqka6ouVoutm+QdkISTlT7e2zU7U4ZdlDLJd2Mcw==} + + micromark-util-normalize-identifier@2.0.0: + resolution: {integrity: sha512-2xhYT0sfo85FMrUPtHcPo2rrp1lwbDEEzpx7jiH2xXJLqBuy4H0GgXk5ToU8IEwoROtXuL8ND0ttVa4rNqYK3w==} + + micromark-util-resolve-all@2.0.0: + resolution: {integrity: sha512-6KU6qO7DZ7GJkaCgwBNtplXCvGkJToU86ybBAUdavvgsCiG8lSSvYxr9MhwmQ+udpzywHsl4RpGJsYWG1pDOcA==} + + micromark-util-sanitize-uri@2.0.0: + resolution: {integrity: sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw==} + + micromark-util-subtokenize@2.0.0: + resolution: {integrity: sha512-vc93L1t+gpR3p8jxeVdaYlbV2jTYteDje19rNSS/H5dlhxUYll5Fy6vJ2cDwP8RnsXi818yGty1ayP55y3W6fg==} + + micromark-util-symbol@2.0.0: + resolution: {integrity: sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw==} + + micromark-util-types@2.0.0: + resolution: {integrity: sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w==} + + micromark@4.0.0: + resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} + + micromatch@4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + mime@3.0.0: + resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} + engines: {node: '>=10.0.0'} + hasBin: true + + mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} + + mimic-fn@4.0.0: + resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} + engines: {node: '>=12'} + + mimic-response@3.1.0: + resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} + engines: {node: '>=10'} + + min-indent@1.0.1: + resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} + engines: {node: '>=4'} + + minimatch@3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + + minimatch@9.0.3: + resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} + engines: {node: '>=16 || 14 >=14.17'} + + minimist-options@4.1.0: + resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} + engines: {node: '>= 6'} + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + minipass@7.0.4: + resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} + engines: {node: '>=16 || 14 >=14.17'} + + mixme@0.5.9: + resolution: {integrity: sha512-VC5fg6ySUscaWUpI4gxCBTQMH2RdUpNrk+MsbpCYtIvf9SBJdiUey4qE7BXviJsJR4nDQxCZ+3yaYNW3guz/Pw==} + engines: {node: '>= 8.0.0'} + + mkdirp-classic@0.5.3: + resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} + + ms@2.0.0: + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + + ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + + mysql2@3.6.5: + resolution: {integrity: sha512-pS/KqIb0xlXmtmqEuTvBXTmLoQ5LmAz5NW/r8UyQ1ldvnprNEj3P9GbmuQQ2J0A4LO+ynotGi6TbscPa8OUb+w==} + engines: {node: '>= 8.0'} + + mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + + named-placeholders@1.1.3: + resolution: {integrity: sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==} + engines: {node: '>=12.0.0'} + + nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + napi-build-utils@1.0.2: + resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} + + natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + + needle@2.9.1: + resolution: {integrity: sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==} + engines: {node: '>= 4.4.x'} + hasBin: true + + neo-async@2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + + nice-try@1.0.5: + resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} + + nlcst-to-string@3.1.1: + resolution: {integrity: sha512-63mVyqaqt0cmn2VcI2aH6kxe1rLAmSROqHMA0i4qqg1tidkfExgpb0FGMikMCn86mw5dFtBtEANfmSSK7TjNHw==} + + node-abi@3.52.0: + resolution: {integrity: sha512-JJ98b02z16ILv7859irtXn4oUaFWADtvkzy2c0IAatNVX2Mc9Yoh8z6hZInn3QwvMEYhHuQloYi+TTQy67SIdQ==} + engines: {node: '>=10'} + + node-addon-api@6.1.0: + resolution: {integrity: sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==} + + node-releases@2.0.14: + resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} + + normalize-package-data@2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + + normalize-package-data@3.0.3: + resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} + engines: {node: '>=10'} + + normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + + normalize-range@0.1.2: + resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} + engines: {node: '>=0.10.0'} + + not@0.1.0: + resolution: {integrity: sha512-5PDmaAsVfnWUgTUbJ3ERwn7u79Z0dYxN9ErxCpVJJqe2RK0PJ3z+iFUxuqjwtlDDegXvtWoxD/3Fzxox7tFGWA==} + + npm-run-all@4.1.5: + resolution: {integrity: sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==} + engines: {node: '>= 4'} + hasBin: true + + npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} + + npm-run-path@5.2.0: + resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + + obj-props@1.4.0: + resolution: {integrity: sha512-p7p/7ltzPDiBs6DqxOrIbtRdwxxVRBj5ROukeNb9RgA+fawhrz5n2hpNz8DDmYR//tviJSj7nUnlppGmONkjiQ==} + engines: {node: '>=0.10.0'} + + object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + + object-hash@3.0.0: + resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} + engines: {node: '>= 6'} + + object-inspect@1.13.1: + resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} + + object-keys@1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + + object.assign@4.1.4: + resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} + engines: {node: '>= 0.4'} + + object.values@1.1.7: + resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} + engines: {node: '>= 0.4'} + + on-exit-leak-free@2.1.2: + resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} + engines: {node: '>=14.0.0'} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} + + onetime@6.0.0: + resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} + engines: {node: '>=12'} + + open-editor@4.1.1: + resolution: {integrity: sha512-SYtGeZ9Zkzj/naoZaEF9LzwDYEGwuqQ4Fx5E3xdVRN98LFJjvMhG/ElByFEOVOiXepGra/Wi1fA4i/E1fXSBsw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + open@8.4.2: + resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} + engines: {node: '>=12'} + + open@9.1.0: + resolution: {integrity: sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==} + engines: {node: '>=14.16'} + + optionator@0.9.3: + resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} + engines: {node: '>= 0.8.0'} + + ora@7.0.1: + resolution: {integrity: sha512-0TUxTiFJWv+JnjWm4o9yvuskpEJLXTcng8MJuKd+SzAzp2o+OP3HWqNhB4OdJRt1Vsd9/mR0oyaEYlOnL7XIRw==} + engines: {node: '>=16'} + + os-tmpdir@1.0.2: + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} + + outdent@0.5.0: + resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} + + p-filter@2.1.0: + resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} + engines: {node: '>=8'} + + p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + + p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + + p-limit@4.0.0: + resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + + p-locate@4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + + p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + + p-locate@6.0.0: + resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + p-map@2.1.0: + resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} + engines: {node: '>=6'} + + p-queue@7.4.1: + resolution: {integrity: sha512-vRpMXmIkYF2/1hLBKisKeVYJZ8S2tZ0zEAmIJgdVKP2nq0nh4qCdf8bgw+ZgKrkh71AOCaqzwbJJk1WtdcF3VA==} + engines: {node: '>=12'} + + p-timeout@5.1.0: + resolution: {integrity: sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==} + engines: {node: '>=12'} + + p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + + pagefind@1.0.4: + resolution: {integrity: sha512-oRIizYe+zSI2Jw4zcMU0ebDZm27751hRFiSOBLwc1OIYMrsZKk+3m8p9EVaOmc6zZdtqwwdilNUNxXvBeHcP9w==} + hasBin: true + + parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + + parse-entities@4.0.1: + resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==} + + parse-json@4.0.0: + resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} + engines: {node: '>=4'} + + parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + + parse-latin@5.0.1: + resolution: {integrity: sha512-b/K8ExXaWC9t34kKeDV8kGXBkXZ1HCSAZRYE7HR14eA1GlXX5L8iWhs8USJNhQU9q5ci413jCKF0gOyovvyRBg==} + + parse-ms@3.0.0: + resolution: {integrity: sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==} + engines: {node: '>=12'} + + parse5@6.0.1: + resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} + + parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + + path-exists@5.0.0: + resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + path-key@2.0.1: + resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} + engines: {node: '>=4'} + + path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + + path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + path-scurry@1.10.1: + resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} + engines: {node: '>=16 || 14 >=14.17'} + + path-to-regexp@6.2.1: + resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==} + + path-type@3.0.0: + resolution: {integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==} + engines: {node: '>=4'} + + path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + + periscopic@3.1.0: + resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} + + picocolors@1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + + picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + pidtree@0.3.1: + resolution: {integrity: sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==} + engines: {node: '>=0.10'} + hasBin: true + + pidtree@0.6.0: + resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==} + engines: {node: '>=0.10'} + hasBin: true + + pify@2.3.0: + resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} + engines: {node: '>=0.10.0'} + + pify@3.0.0: + resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==} + engines: {node: '>=4'} + + pify@4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + + pino-abstract-transport@1.1.0: + resolution: {integrity: sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==} + + pino-std-serializers@6.2.2: + resolution: {integrity: sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==} + + pino@8.16.2: + resolution: {integrity: sha512-2advCDGVEvkKu9TTVSa/kWW7Z3htI/sBKEZpqiHk6ive0i/7f5b1rsU8jn0aimxqfnSz5bj/nOYkwhBUn5xxvg==} + hasBin: true + + pirates@4.0.6: + resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} + engines: {node: '>= 6'} + + pkg-dir@4.2.0: + resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} + engines: {node: '>=8'} + + pkg-dir@5.0.0: + resolution: {integrity: sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==} + engines: {node: '>=10'} + + pkg-dir@7.0.0: + resolution: {integrity: sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA==} + engines: {node: '>=14.16'} + + plur@4.0.0: + resolution: {integrity: sha512-4UGewrYgqDFw9vV6zNV+ADmPAUAfJPKtGvb/VdpQAx25X5f3xXdGdyOEVFwkl8Hl/tl7+xbeHqSEM+D5/TirUg==} + engines: {node: '>=10'} + + pluralize@8.0.0: + resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} + engines: {node: '>=4'} + + postcss-import@15.1.0: + resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} + engines: {node: '>=14.0.0'} + peerDependencies: + postcss: ^8.0.0 + + postcss-js@4.0.1: + resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} + engines: {node: ^12 || ^14 || >= 16} + peerDependencies: + postcss: ^8.4.21 + + postcss-load-config@4.0.2: + resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} + engines: {node: '>= 14'} + peerDependencies: + postcss: '>=8.0.9' + ts-node: '>=9.0.0' + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + + postcss-nested@6.0.1: + resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.2.14 + + postcss-selector-parser@6.0.13: + resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==} + engines: {node: '>=4'} + + postcss-value-parser@4.2.0: + resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} + + postcss@8.4.32: + resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} + engines: {node: ^10 || ^12 || >=14} + + postgres@3.4.3: + resolution: {integrity: sha512-iHJn4+M9vbTdHSdDzNkC0crHq+1CUdFhx+YqCE+SqWxPjm+Zu63jq7yZborOBF64c8pc58O5uMudyL1FQcHacA==} + engines: {node: '>=12'} + + prebuild-install@7.1.1: + resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} + engines: {node: '>=10'} + hasBin: true + + preferred-pm@3.1.2: + resolution: {integrity: sha512-nk7dKrcW8hfCZ4H6klWcdRknBOXWzNQByJ0oJyX97BOupsYD+FzLS4hflgEu/uPUEHZCuRfMxzCBsuWd7OzT8Q==} + engines: {node: '>=10'} + + prelude-ls@1.2.1: + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} + + prettier-linter-helpers@1.0.0: + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} + + prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} + hasBin: true + + prettier@3.1.1: + resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} + engines: {node: '>=14'} + hasBin: true + + pretty-ms@8.0.0: + resolution: {integrity: sha512-ASJqOugUF1bbzI35STMBUpZqdfYKlJugy6JBziGi2EE+AL5JPJGSzvpeVXojxrr0ViUYoToUjb5kjSEGf7Y83Q==} + engines: {node: '>=14.16'} + + prismjs@1.29.0: + resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} + engines: {node: '>=6'} + + probe-image-size@7.2.3: + resolution: {integrity: sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w==} + + process-warning@2.3.2: + resolution: {integrity: sha512-n9wh8tvBe5sFmsqlg+XQhaQLumwpqoAUruLwjCopgTmUBjJ/fjtBsJzKleCaIGBOMXYEhp1YfKl4d7rJ5ZKJGA==} + + process@0.11.10: + resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} + engines: {node: '>= 0.6.0'} + + prompts@2.4.2: + resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} + engines: {node: '>= 6'} + + property-information@6.4.0: + resolution: {integrity: sha512-9t5qARVofg2xQqKtytzt+lZ4d1Qvj8t5B8fEwXK6qOfgRLgH/b13QlgEyDh033NOS31nXeFbYv7CLUDG1CeifQ==} + + proto-props@2.0.0: + resolution: {integrity: sha512-2yma2tog9VaRZY2mn3Wq51uiSW4NcPYT1cQdBagwyrznrilKSZwIZ0UG3ZPL/mx+axEns0hE35T5ufOYZXEnBQ==} + engines: {node: '>=4'} + + pseudomap@1.0.2: + resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} + + pump@3.0.0: + resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} + + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + queue-tick@1.0.1: + resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==} + + quick-format-unescaped@4.0.4: + resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} + + quick-lru@4.0.1: + resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} + engines: {node: '>=8'} + + randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + + rc@1.2.8: + resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} + hasBin: true + + read-cache@1.0.0: + resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} + + read-pkg-up@7.0.1: + resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} + engines: {node: '>=8'} + + read-pkg@3.0.0: + resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==} + engines: {node: '>=4'} + + read-pkg@5.2.0: + resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} + engines: {node: '>=8'} + + read-yaml-file@1.1.0: + resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} + engines: {node: '>=6'} + + readable-stream@3.6.2: + resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} + engines: {node: '>= 6'} + + readable-stream@4.4.2: + resolution: {integrity: sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + + real-require@0.2.0: + resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} + engines: {node: '>= 12.13.0'} + + redent@3.0.0: + resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} + engines: {node: '>=8'} + + regenerator-runtime@0.14.0: + resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} + + regexp-tree@0.1.27: + resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} + hasBin: true + + regexp.prototype.flags@1.5.1: + resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} + engines: {node: '>= 0.4'} + + regjsparser@0.10.0: + resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} + hasBin: true + + rehype-parse@9.0.0: + resolution: {integrity: sha512-WG7nfvmWWkCR++KEkZevZb/uw41E8TsH4DsY9UxsTbIXCVGbAs4S+r8FrQ+OtH5EEQAs+5UxKC42VinkmpA1Yw==} + + rehype-raw@7.0.0: + resolution: {integrity: sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==} + + rehype-stringify@10.0.0: + resolution: {integrity: sha512-1TX1i048LooI9QoecrXy7nGFFbFSufxVRAfc6Y9YMRAi56l+oB0zP51mLSV312uRuvVLPV1opSlJmslozR1XHQ==} + + rehype@13.0.1: + resolution: {integrity: sha512-AcSLS2mItY+0fYu9xKxOu1LhUZeBZZBx8//5HKzF+0XP+eP8+6a5MXn2+DW2kfXR6Dtp1FEXMVrjyKAcvcU8vg==} + + remark-directive@3.0.0: + resolution: {integrity: sha512-l1UyWJ6Eg1VPU7Hm/9tt0zKtReJQNOA4+iDMAxTyZNWnJnFlbS/7zhiel/rogTLQ2vMYwDzSJa4BiVNqGlqIMA==} + + remark-expressive-code@0.29.4: + resolution: {integrity: sha512-7PX6TgPKFDfrixlBugCXYQGb6HWWGCyMcLBSpUZG8aiJvbFEaERYTMhj3WPKc2haAqliCcMjzGV4Kdbl+ci0yA==} + + remark-gfm@4.0.0: + resolution: {integrity: sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==} + + remark-mdx@3.0.0: + resolution: {integrity: sha512-O7yfjuC6ra3NHPbRVxfflafAj3LTwx3b73aBvkEFU5z4PsD6FD4vrqJAkE5iNGLz71GdjXfgRqm3SQ0h0VuE7g==} + + remark-parse@11.0.0: + resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} + + remark-rehype@11.0.0: + resolution: {integrity: sha512-vx8x2MDMcxuE4lBmQ46zYUDfcFMmvg80WYX+UNLeG6ixjdCCLcw1lrgAukwBTuOFsS78eoAedHGn9sNM0w7TPw==} + + remark-smartypants@2.0.0: + resolution: {integrity: sha512-Rc0VDmr/yhnMQIz8n2ACYXlfw/P/XZev884QU1I5u+5DgJls32o97Vc1RbK3pfumLsJomS2yy8eT4Fxj/2MDVA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + remark-stringify@11.0.0: + resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} + + require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + + require-main-filename@2.0.0: + resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} + + resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + + resolve-from@5.0.0: + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} + + resolve-global@1.0.0: + resolution: {integrity: sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==} + engines: {node: '>=8'} + + resolve-pkg-maps@1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + + resolve@1.22.8: + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + hasBin: true + + resolve@2.0.0-next.5: + resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==} + hasBin: true + + restore-cursor@4.0.0: + resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + retext-latin@3.1.0: + resolution: {integrity: sha512-5MrD1tuebzO8ppsja5eEu+ZbBeUNCjoEarn70tkXOS7Bdsdf6tNahsv2bY0Z8VooFF6cw7/6S+d3yI/TMlMVVQ==} + + retext-smartypants@5.2.0: + resolution: {integrity: sha512-Do8oM+SsjrbzT2UNIKgheP0hgUQTDDQYyZaIY3kfq0pdFzoPk+ZClYJ+OERNXveog4xf1pZL4PfRxNoVL7a/jw==} + + retext-stringify@3.1.0: + resolution: {integrity: sha512-767TLOaoXFXyOnjx/EggXlb37ZD2u4P1n0GJqVdpipqACsQP+20W+BNpMYrlJkq7hxffnFk+jc6mAK9qrbuB8w==} + + retext@8.1.0: + resolution: {integrity: sha512-N9/Kq7YTn6ZpzfiGW45WfEGJqFf1IM1q8OsRa1CGzIebCJBNCANDRmOrholiDRGKo/We7ofKR4SEvcGAWEMD3Q==} + + reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + + rfdc@1.3.0: + resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==} + + rimraf@3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + hasBin: true + + rollup@4.9.0: + resolution: {integrity: sha512-bUHW/9N21z64gw8s6tP4c88P382Bq/L5uZDowHlHx6s/QWpjJXivIAbEw6LZthgSvlEizZBfLC4OAvWe7aoF7A==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + run-applescript@5.0.0: + resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} + engines: {node: '>=12'} + + run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + + safe-array-concat@1.0.1: + resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} + engines: {node: '>=0.4'} + + safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + + safe-regex-test@1.0.0: + resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} + + safe-stable-stringify@2.4.3: + resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} + engines: {node: '>=10'} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + sax@1.3.0: + resolution: {integrity: sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==} + + schema-utils@3.3.0: + resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} + engines: {node: '>= 10.13.0'} + + section-matter@1.0.0: + resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} + engines: {node: '>=4'} + + semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + hasBin: true + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + semver@7.5.4: + resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} + engines: {node: '>=10'} + hasBin: true + + semver@7.6.0: + resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} + engines: {node: '>=10'} + hasBin: true + + seq-queue@0.0.5: + resolution: {integrity: sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==} + + serialize-error@11.0.3: + resolution: {integrity: sha512-2G2y++21dhj2R7iHAdd0FIzjGwuKZld+7Pl/bTU6YIkrC2ZMbVUjm+luj6A6V34Rv9XfKJDKpTWu9W4Gse1D9g==} + engines: {node: '>=14.16'} + + serialize-javascript@6.0.2: + resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} + + server-destroy@1.0.1: + resolution: {integrity: sha512-rb+9B5YBIEzYcD6x2VKidaa+cqYBJQKnU4oe4E3ANwRRN56yk/ua1YCJT1n21NTS8w6CcOclAKNP3PhdCXKYtQ==} + + set-blocking@2.0.0: + resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + + set-function-length@1.1.1: + resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==} + engines: {node: '>= 0.4'} + + set-function-name@2.0.1: + resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} + engines: {node: '>= 0.4'} + + sharp@0.32.6: + resolution: {integrity: sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==} + engines: {node: '>=14.15.0'} + + shebang-command@1.2.0: + resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} + engines: {node: '>=0.10.0'} + + shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + + shebang-regex@1.0.0: + resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} + engines: {node: '>=0.10.0'} + + shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + + shell-quote@1.8.1: + resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} + + shiki@0.14.6: + resolution: {integrity: sha512-R4koBBlQP33cC8cpzX0hAoOURBHJILp4Aaduh2eYi+Vj8ZBqtK/5SWNEHBS3qwUMu8dqOtI/ftno3ESfNeVW9g==} + + shikiji@0.6.13: + resolution: {integrity: sha512-4T7X39csvhT0p7GDnq9vysWddf2b6BeioiN3Ymhnt3xcy9tXmDcnsEFVxX18Z4YcQgEE/w48dLJ4pPPUcG9KkA==} + + side-channel@1.0.4: + resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} + + signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + simple-concat@1.0.1: + resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} + + simple-get@4.0.1: + resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} + + simple-swizzle@0.2.2: + resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} + + sisteransi@1.0.5: + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + + sitemap@7.1.1: + resolution: {integrity: sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg==} + engines: {node: '>=12.0.0', npm: '>=5.6.0'} + hasBin: true + + slash@3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + + slash@4.0.0: + resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} + engines: {node: '>=12'} + + slash@5.1.0: + resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} + engines: {node: '>=14.16'} + + slice-ansi@5.0.0: + resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} + engines: {node: '>=12'} + + slice-ansi@7.1.0: + resolution: {integrity: sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==} + engines: {node: '>=18'} + + smartwrap@2.0.2: + resolution: {integrity: sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==} + engines: {node: '>=6'} + hasBin: true + + sonic-boom@3.7.0: + resolution: {integrity: sha512-IudtNvSqA/ObjN97tfgNmOKyDOs4dNcg4cUUsHDebqsgb8wGBBwb31LIgShNO8fye0dFI52X1+tFoKKI6Rq1Gg==} + + source-map-js@1.0.2: + resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + engines: {node: '>=0.10.0'} + + source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + source-map@0.7.4: + resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} + engines: {node: '>= 8'} + + space-separated-tokens@2.0.2: + resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} + + spawndamnit@2.0.0: + resolution: {integrity: sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==} + + spdx-correct@3.2.0: + resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} + + spdx-exceptions@2.3.0: + resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + + spdx-expression-parse@3.0.1: + resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + + spdx-license-ids@3.0.16: + resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} + + split2@3.2.2: + resolution: {integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==} + + split2@4.2.0: + resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} + engines: {node: '>= 10.x'} + + sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + + sqlstring@2.3.3: + resolution: {integrity: sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==} + engines: {node: '>= 0.6'} + + stdin-discarder@0.1.0: + resolution: {integrity: sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + stream-parser@0.3.1: + resolution: {integrity: sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ==} + + stream-transform@2.1.3: + resolution: {integrity: sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ==} + + streamx@2.15.6: + resolution: {integrity: sha512-q+vQL4AAz+FdfT137VF69Cc/APqUbxy+MDOImRrMvchJpigHj9GksgDU2LYbO9rx7RX6osWgxJB2WxhYv4SZAw==} + + string-argv@0.3.2: + resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} + engines: {node: '>=0.6.19'} + + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + + string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + + string-width@6.1.0: + resolution: {integrity: sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==} + engines: {node: '>=16'} + + string-width@7.0.0: + resolution: {integrity: sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==} + engines: {node: '>=18'} + + string-width@7.1.0: + resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} + engines: {node: '>=18'} + + string.prototype.padend@3.1.5: + resolution: {integrity: sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA==} + engines: {node: '>= 0.4'} + + string.prototype.trim@1.2.8: + resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} + engines: {node: '>= 0.4'} + + string.prototype.trimend@1.0.7: + resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} + + string.prototype.trimstart@1.0.7: + resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} + + string_decoder@1.3.0: + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + + stringify-entities@4.0.3: + resolution: {integrity: sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g==} + + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-ansi@7.1.0: + resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + engines: {node: '>=12'} + + strip-bom-string@1.0.0: + resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} + engines: {node: '>=0.10.0'} + + strip-bom@3.0.0: + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} + + strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} + + strip-final-newline@3.0.0: + resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} + engines: {node: '>=12'} + + strip-indent@3.0.0: + resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} + engines: {node: '>=8'} + + strip-json-comments@2.0.1: + resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} + engines: {node: '>=0.10.0'} + + strip-json-comments@3.1.1: + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} + + style-to-object@0.4.4: + resolution: {integrity: sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==} + + style-to-object@1.0.5: + resolution: {integrity: sha512-rDRwHtoDD3UMMrmZ6BzOW0naTjMsVZLIjsGleSKS/0Oz+cgCfAPRspaqJuE8rDzpKha/nEvnM0IF4seEAZUTKQ==} + + sucrase@3.34.0: + resolution: {integrity: sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==} + engines: {node: '>=8'} + hasBin: true + + supports-color@5.5.0: + resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} + engines: {node: '>=4'} + + supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + + supports-color@8.1.1: + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} + + supports-hyperlinks@2.3.0: + resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} + engines: {node: '>=8'} + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + synckit@0.8.5: + resolution: {integrity: sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==} + engines: {node: ^14.18.0 || >=16.0.0} + + tailwindcss@3.3.6: + resolution: {integrity: sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==} + engines: {node: '>=14.0.0'} + hasBin: true + + tapable@0.1.10: + resolution: {integrity: sha512-jX8Et4hHg57mug1/079yitEKWGB3LCwoxByLsNim89LABq8NqgiX+6iYVOsq0vX8uJHkU+DZ5fnq95f800bEsQ==} + engines: {node: '>=0.6'} + + tapable@2.2.1: + resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} + engines: {node: '>=6'} + + tar-fs@2.1.1: + resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==} + + tar-fs@3.0.4: + resolution: {integrity: sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==} + + tar-stream@2.2.0: + resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} + engines: {node: '>=6'} + + tar-stream@3.1.6: + resolution: {integrity: sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==} + + term-size@2.2.1: + resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} + engines: {node: '>=8'} + + terser-webpack-plugin@5.3.10: + resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@swc/core': '*' + esbuild: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@swc/core': + optional: true + esbuild: + optional: true + uglify-js: + optional: true + + terser@5.27.0: + resolution: {integrity: sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==} + engines: {node: '>=10'} + hasBin: true + + text-extensions@2.4.0: + resolution: {integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==} + engines: {node: '>=8'} + + text-table@0.2.0: + resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + + thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + + thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + + thread-stream@2.4.1: + resolution: {integrity: sha512-d/Ex2iWd1whipbT681JmTINKw0ZwOUBZm7+Gjs64DHuX34mmw8vJL2bFAaNacaW72zYiTJxSHi5abUuOi5nsfg==} + + through2@4.0.2: + resolution: {integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==} + + through@2.3.8: + resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} + + titleize@3.0.0: + resolution: {integrity: sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==} + engines: {node: '>=12'} + + tmp@0.0.33: + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} + + to-absolute-glob@3.0.0: + resolution: {integrity: sha512-loO/XEWTRqpfcpI7+Jr2RR2Umaaozx1t6OSVWtMi0oy5F/Fxg3IC+D/TToDnxyAGs7uZBGT/6XmyDUxgsObJXA==} + engines: {node: '>=0.10.0'} + + to-fast-properties@2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + + trim-lines@3.0.1: + resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} + + trim-newlines@3.0.1: + resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} + engines: {node: '>=8'} + + trough@2.1.0: + resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} + + ts-api-utils@1.0.3: + resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} + engines: {node: '>=16.13.0'} + peerDependencies: + typescript: '>=4.2.0' + + ts-interface-checker@0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + + tsconfck@3.0.0: + resolution: {integrity: sha512-w3wnsIrJNi7avf4Zb0VjOoodoO0woEqGgZGQm+LHH9przdUI+XDKsWAXwxHA1DaRTjeuZNcregSzr7RaA8zG9A==} + engines: {node: ^18 || >=20} + hasBin: true + peerDependencies: + typescript: ^5.0.0 + peerDependenciesMeta: + typescript: + optional: true + + tsconfig-paths@3.14.2: + resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} + + tslib@2.6.2: + resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + + tsx@4.7.0: + resolution: {integrity: sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg==} + engines: {node: '>=18.0.0'} + hasBin: true + + tty-table@4.2.3: + resolution: {integrity: sha512-Fs15mu0vGzCrj8fmJNP7Ynxt5J7praPXqFN0leZeZBXJwkMxv9cb2D454k1ltrtUSJbZ4yH4e0CynsHLxmUfFA==} + engines: {node: '>=8.0.0'} + hasBin: true + + tunnel-agent@0.6.0: + resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} + + turbo-darwin-64@1.10.16: + resolution: {integrity: sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==} + cpu: [x64] + os: [darwin] + + turbo-darwin-arm64@1.10.16: + resolution: {integrity: sha512-jqGpFZipIivkRp/i+jnL8npX0VssE6IAVNKtu573LXtssZdV/S+fRGYA16tI46xJGxSAivrZ/IcgZrV6Jk80bw==} + cpu: [arm64] + os: [darwin] + + turbo-linux-64@1.10.16: + resolution: {integrity: sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==} + cpu: [x64] + os: [linux] + + turbo-linux-arm64@1.10.16: + resolution: {integrity: sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==} + cpu: [arm64] + os: [linux] + + turbo-windows-64@1.10.16: + resolution: {integrity: sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==} + cpu: [x64] + os: [win32] + + turbo-windows-arm64@1.10.16: + resolution: {integrity: sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==} + cpu: [arm64] + os: [win32] + + turbo@1.10.16: + resolution: {integrity: sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==} + hasBin: true + + type-check@0.4.0: + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} + + type-fest@0.13.1: + resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} + engines: {node: '>=10'} + + type-fest@0.18.1: + resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} + engines: {node: '>=10'} + + type-fest@0.20.2: + resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} + engines: {node: '>=10'} + + type-fest@0.21.3: + resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} + engines: {node: '>=10'} + + type-fest@0.6.0: + resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} + engines: {node: '>=8'} + + type-fest@0.8.1: + resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} + engines: {node: '>=8'} + + type-fest@2.19.0: + resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} + engines: {node: '>=12.20'} + + type-fest@3.13.1: + resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} + engines: {node: '>=14.16'} + + typed-array-buffer@1.0.0: + resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} + engines: {node: '>= 0.4'} + + typed-array-byte-length@1.0.0: + resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} + engines: {node: '>= 0.4'} + + typed-array-byte-offset@1.0.0: + resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} + engines: {node: '>= 0.4'} + + typed-array-length@1.0.4: + resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} + + typescript@5.3.3: + resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} + engines: {node: '>=14.17'} + hasBin: true + + unbox-primitive@1.0.2: + resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + + unc-path-regex@0.1.2: + resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} + engines: {node: '>=0.10.0'} + + undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + + unherit@3.0.1: + resolution: {integrity: sha512-akOOQ/Yln8a2sgcLj4U0Jmx0R5jpIg2IUyRrWOzmEbjBtGzBdHtSeFKgoEcoH4KYIG/Pb8GQ/BwtYm0GCq1Sqg==} + + unified@10.1.2: + resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==} + + unified@11.0.4: + resolution: {integrity: sha512-apMPnyLjAX+ty4OrNap7yumyVAMlKx5IWU2wlzzUdYJO9A8f1p9m/gywF/GM2ZDFcjQPrx59Mc90KwmxsoklxQ==} + + unist-util-is@5.2.1: + resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==} + + unist-util-is@6.0.0: + resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} + + unist-util-modify-children@3.1.1: + resolution: {integrity: sha512-yXi4Lm+TG5VG+qvokP6tpnk+r1EPwyYL04JWDxLvgvPV40jANh7nm3udk65OOWquvbMDe+PL9+LmkxDpTv/7BA==} + + unist-util-position-from-estree@2.0.0: + resolution: {integrity: sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==} + + unist-util-position@4.0.4: + resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==} + + unist-util-position@5.0.0: + resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==} + + unist-util-remove-position@5.0.0: + resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==} + + unist-util-remove@4.0.0: + resolution: {integrity: sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==} + + unist-util-stringify-position@3.0.3: + resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} + + unist-util-stringify-position@4.0.0: + resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} + + unist-util-visit-children@2.0.2: + resolution: {integrity: sha512-+LWpMFqyUwLGpsQxpumsQ9o9DG2VGLFrpz+rpVXYIEdPy57GSy5HioC0g3bg/8WP9oCLlapQtklOzQ8uLS496Q==} + + unist-util-visit-parents@5.1.3: + resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==} + + unist-util-visit-parents@6.0.1: + resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==} + + unist-util-visit@4.1.2: + resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==} + + unist-util-visit@5.0.0: + resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} + + universalify@0.1.2: + resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} + engines: {node: '>= 4.0.0'} + + untildify@4.0.0: + resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} + engines: {node: '>=8'} + + update-browserslist-db@1.0.13: + resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + + url-or-path@2.1.0: + resolution: {integrity: sha512-dsBD6GbytSMj9YDb3jVzSRENwFh50oUORnWBeSHfo0Lnwv2KMm/J4npyGy1P9rivUPsUGLjTA53XqAFqpe0nww==} + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + + validate-npm-package-license@3.0.4: + resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + + vfile-location@4.1.0: + resolution: {integrity: sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw==} + + vfile-location@5.0.2: + resolution: {integrity: sha512-NXPYyxyBSH7zB5U6+3uDdd6Nybz6o6/od9rk8bp9H8GR3L+cm/fC0uUTbqBmUTnMCUDslAGBOIKNfvvb+gGlDg==} + + vfile-message@3.1.4: + resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==} + + vfile-message@4.0.2: + resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==} + + vfile@5.3.7: + resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==} + + vfile@6.0.1: + resolution: {integrity: sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw==} + + vite@5.0.9: + resolution: {integrity: sha512-wVqMd5kp28QWGgfYPDfrj771VyHTJ4UDlCteLH7bJDGDEamaz5hV8IX6h1brSGgnnyf9lI2RnzXq/JmD0c2wwg==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + + vitefu@0.2.5: + resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} + peerDependencies: + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + peerDependenciesMeta: + vite: + optional: true + + vscode-oniguruma@1.7.0: + resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==} + + vscode-textmate@8.0.0: + resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} + + watchpack@2.4.0: + resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} + engines: {node: '>=10.13.0'} + + wcwidth@1.0.1: + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + + web-namespaces@2.0.1: + resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==} + + webpack-sources@3.2.3: + resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} + engines: {node: '>=10.13.0'} + + webpack@5.90.1: + resolution: {integrity: sha512-SstPdlAC5IvgFnhiRok8hqJo/+ArAbNv7rhU4fnWGHNVfN59HSQFaxZDSAL3IFG2YmqxuRs+IU33milSxbPlog==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + + which-boxed-primitive@1.0.2: + resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} + + which-module@2.0.1: + resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} + + which-pm-runs@1.1.0: + resolution: {integrity: sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA==} + engines: {node: '>=4'} + + which-pm@2.0.0: + resolution: {integrity: sha512-Lhs9Pmyph0p5n5Z3mVnN0yWcbQYUAD7rbQUiMsQxOJ3T57k7RFe35SUwWMf7dsbDZks1uOmw4AecB/JMDj3v/w==} + engines: {node: '>=8.15'} + + which-pm@2.1.1: + resolution: {integrity: sha512-xzzxNw2wMaoCWXiGE8IJ9wuPMU+EYhFksjHxrRT8kMT5SnocBPRg69YAMtyV4D12fP582RA+k3P8H9J5EMdIxQ==} + engines: {node: '>=8.15'} + + which-typed-array@1.1.13: + resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==} + engines: {node: '>= 0.4'} + + which@1.3.1: + resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} + hasBin: true + + which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + + widest-line@4.0.1: + resolution: {integrity: sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==} + engines: {node: '>=12'} + + wrap-ansi@6.2.0: + resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} + engines: {node: '>=8'} + + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + + wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + + wrap-ansi@9.0.0: + resolution: {integrity: sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==} + engines: {node: '>=18'} + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + xo@0.56.0: + resolution: {integrity: sha512-ohzSqgQ8POgZ3KNaEK/gxDovb6h3cglxv8+xi9Dn7gmRe8g4qotpOZpMs5ACJhvkJDmJOhiKbk6Uq6Mx1Di9DA==} + engines: {node: '>=16'} + hasBin: true + peerDependencies: + webpack: '>=1.11.0' + peerDependenciesMeta: + webpack: + optional: true + + y18n@4.0.3: + resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} + + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + yallist@2.1.2: + resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} + + yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + + yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + + yaml@2.3.4: + resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==} + engines: {node: '>= 14'} + + yargs-parser@18.1.3: + resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} + engines: {node: '>=6'} + + yargs-parser@20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + + yargs@15.4.1: + resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==} + engines: {node: '>=8'} + + yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + + yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + + yocto-queue@1.0.0: + resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + engines: {node: '>=12.20'} + + zod@3.22.4: + resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} + + zwitch@2.0.4: + resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + +snapshots: + + '@aashutoshrathi/word-wrap@1.2.6': {} + + '@alloc/quick-lru@5.2.0': {} + + '@ampproject/remapping@2.2.1': dependencies: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.20 - dev: false - /@astrojs/compiler@2.3.2: - resolution: {integrity: sha512-jkY7bCVxl27KeZsSxIZ+pqACe+g8VQUdTiSJRj/sXYdIaZlW3ZMq4qF2M17P/oDt3LBq0zLNwQr4Cb7fSpRGxQ==} - dev: false + '@astrojs/compiler@2.3.2': {} - /@astrojs/internal-helpers@0.2.1: - resolution: {integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A==} - dev: false + '@astrojs/internal-helpers@0.2.1': {} - /@astrojs/markdown-remark@4.0.1: - resolution: {integrity: sha512-RU4ESnqvyLpj8WZs0n5elS6idaDdtIIm7mIpMaRNPCebpxMjfcfdwcmBwz83ktAj5d2eO5bC3z92TcGdli+lRw==} + '@astrojs/markdown-remark@4.0.1': dependencies: '@astrojs/prism': 3.0.0 github-slugger: 2.0.0 @@ -263,13 +4850,8 @@ packages: vfile: 6.0.1 transitivePeerDependencies: - supports-color - dev: false - /@astrojs/mdx@2.0.1(astro@4.0.5): - resolution: {integrity: sha512-lWbiNoVV/6DO8hAf6eZmcN28hY/herif9eglw2PXZ5lEPoRu175BvBtuNTt9rH9YA/Ldm5mkNXhvMWNEnMqJkw==} - engines: {node: '>=18.14.1'} - peerDependencies: - astro: ^4.0.0 + '@astrojs/mdx@2.0.1(astro@4.0.5)': dependencies: '@astrojs/markdown-remark': 4.0.1 '@mdx-js/mdx': 3.0.0 @@ -289,38 +4871,23 @@ packages: vfile: 6.0.1 transitivePeerDependencies: - supports-color - dev: false - /@astrojs/prism@3.0.0: - resolution: {integrity: sha512-g61lZupWq1bYbcBnYZqdjndShr/J3l/oFobBKPA3+qMat146zce3nz2kdO4giGbhYDt4gYdhmoBz0vZJ4sIurQ==} - engines: {node: '>=18.14.1'} + '@astrojs/prism@3.0.0': dependencies: prismjs: 1.29.0 - dev: false - /@astrojs/sitemap@3.0.3: - resolution: {integrity: sha512-+GRKp1yho9dpHBcMcU6JpbL41k0yYZghOkNsMRb8QIRflbGHvd787tdv9oIZ5NJj0SqAuOlqp2UpqLkJXuAe2A==} + '@astrojs/sitemap@3.0.3': dependencies: sitemap: 7.1.1 zod: 3.22.4 - dev: false - /@astrojs/starlight-tailwind@2.0.1(@astrojs/starlight@0.15.0)(@astrojs/tailwind@5.0.3)(tailwindcss@3.3.6): - resolution: {integrity: sha512-niMgFcR7NHcsBVy8UAN3F2gqhmoN5v83st5Hu4YzvUL+6SNwjQmIipXppXdN9+iVneRjPr6PLGzDfI+wnjSBWQ==} - peerDependencies: - '@astrojs/starlight': '>=0.9.0' - '@astrojs/tailwind': ^5.0.0 - tailwindcss: ^3.3.3 + '@astrojs/starlight-tailwind@2.0.1(@astrojs/starlight@0.15.0)(@astrojs/tailwind@5.0.3)(tailwindcss@3.3.6)': dependencies: '@astrojs/starlight': 0.15.0(astro@4.0.5) '@astrojs/tailwind': 5.0.3(astro@4.0.5)(tailwindcss@3.3.6) tailwindcss: 3.3.6 - dev: false - /@astrojs/starlight@0.15.0(astro@4.0.5): - resolution: {integrity: sha512-epLRrGP9+5gIP/ZXeRtkY/tA00yzY8iBBqYRGxkoj44fokCiDg+iKCnE9BXooAK08ELyizD8nwenUmVzDTDRXA==} - peerDependencies: - astro: ^4.0.0 + '@astrojs/starlight@0.15.0(astro@4.0.5)': dependencies: '@astrojs/mdx': 2.0.1(astro@4.0.5) '@astrojs/sitemap': 3.0.3 @@ -343,13 +4910,8 @@ packages: vfile: 6.0.1 transitivePeerDependencies: - supports-color - dev: false - /@astrojs/tailwind@5.0.3(astro@4.0.5)(tailwindcss@3.3.6): - resolution: {integrity: sha512-p+uFa1PNuV8RxhGkPUFgVq8CUbmS3xr0u5k1An2xKECLotRh7vsrGcPUijHvYOt42URohcg8rIq0CxNoVMhReg==} - peerDependencies: - astro: ^3.0.0 || ^4.0.0 - tailwindcss: ^3.0.24 + '@astrojs/tailwind@5.0.3(astro@4.0.5)(tailwindcss@3.3.6)': dependencies: astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) autoprefixer: 10.4.16(postcss@8.4.32) @@ -358,11 +4920,8 @@ packages: tailwindcss: 3.3.6 transitivePeerDependencies: - ts-node - dev: false - /@astrojs/telemetry@3.0.4: - resolution: {integrity: sha512-A+0c7k/Xy293xx6odsYZuXiaHO0PL+bnDoXOc47sGDF5ffIKdKQGRPFl2NMlCF4L0NqN4Ynbgnaip+pPF0s7pQ==} - engines: {node: '>=18.14.1'} + '@astrojs/telemetry@3.0.4': dependencies: ci-info: 3.9.0 debug: 4.3.4 @@ -373,24 +4932,15 @@ packages: which-pm-runs: 1.1.0 transitivePeerDependencies: - supports-color - dev: false - /@babel/code-frame@7.23.5: - resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==} - engines: {node: '>=6.9.0'} + '@babel/code-frame@7.23.5': dependencies: '@babel/highlight': 7.23.4 chalk: 2.4.2 - dev: false - /@babel/compat-data@7.23.5: - resolution: {integrity: sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==} - engines: {node: '>=6.9.0'} - dev: false + '@babel/compat-data@7.23.5': {} - /@babel/core@7.23.6: - resolution: {integrity: sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==} - engines: {node: '>=6.9.0'} + '@babel/core@7.23.6': dependencies: '@ampproject/remapping': 2.2.1 '@babel/code-frame': 7.23.5 @@ -409,68 +4959,42 @@ packages: semver: 6.3.1 transitivePeerDependencies: - supports-color - dev: false - /@babel/generator@7.23.6: - resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} - engines: {node: '>=6.9.0'} + '@babel/generator@7.23.6': dependencies: '@babel/types': 7.23.6 '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.20 jsesc: 2.5.2 - dev: false - /@babel/helper-annotate-as-pure@7.22.5: - resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} - engines: {node: '>=6.9.0'} + '@babel/helper-annotate-as-pure@7.22.5': dependencies: '@babel/types': 7.23.6 - dev: false - /@babel/helper-compilation-targets@7.23.6: - resolution: {integrity: sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==} - engines: {node: '>=6.9.0'} + '@babel/helper-compilation-targets@7.23.6': dependencies: '@babel/compat-data': 7.23.5 '@babel/helper-validator-option': 7.23.5 browserslist: 4.22.2 lru-cache: 5.1.1 semver: 6.3.1 - dev: false - /@babel/helper-environment-visitor@7.22.20: - resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} - engines: {node: '>=6.9.0'} - dev: false + '@babel/helper-environment-visitor@7.22.20': {} - /@babel/helper-function-name@7.23.0: - resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} - engines: {node: '>=6.9.0'} + '@babel/helper-function-name@7.23.0': dependencies: '@babel/template': 7.22.15 '@babel/types': 7.23.6 - dev: false - /@babel/helper-hoist-variables@7.22.5: - resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} - engines: {node: '>=6.9.0'} + '@babel/helper-hoist-variables@7.22.5': dependencies: '@babel/types': 7.23.6 - dev: false - /@babel/helper-module-imports@7.22.15: - resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} - engines: {node: '>=6.9.0'} + '@babel/helper-module-imports@7.22.15': dependencies: '@babel/types': 7.23.6 - dev: false - /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.6): - resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 + '@babel/helper-module-transforms@7.23.3(@babel/core@7.23.6)': dependencies: '@babel/core': 7.23.6 '@babel/helper-environment-visitor': 7.22.20 @@ -478,85 +5002,47 @@ packages: '@babel/helper-simple-access': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 '@babel/helper-validator-identifier': 7.22.20 - dev: false - /@babel/helper-plugin-utils@7.22.5: - resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} - engines: {node: '>=6.9.0'} - dev: false + '@babel/helper-plugin-utils@7.22.5': {} - /@babel/helper-simple-access@7.22.5: - resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} - engines: {node: '>=6.9.0'} + '@babel/helper-simple-access@7.22.5': dependencies: '@babel/types': 7.23.6 - dev: false - /@babel/helper-split-export-declaration@7.22.6: - resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} - engines: {node: '>=6.9.0'} + '@babel/helper-split-export-declaration@7.22.6': dependencies: '@babel/types': 7.23.6 - dev: false - /@babel/helper-string-parser@7.23.4: - resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} - engines: {node: '>=6.9.0'} - dev: false + '@babel/helper-string-parser@7.23.4': {} - /@babel/helper-validator-identifier@7.22.20: - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - dev: false + '@babel/helper-validator-identifier@7.22.20': {} - /@babel/helper-validator-option@7.23.5: - resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} - engines: {node: '>=6.9.0'} - dev: false + '@babel/helper-validator-option@7.23.5': {} - /@babel/helpers@7.23.6: - resolution: {integrity: sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==} - engines: {node: '>=6.9.0'} + '@babel/helpers@7.23.6': dependencies: '@babel/template': 7.22.15 '@babel/traverse': 7.23.6 '@babel/types': 7.23.6 transitivePeerDependencies: - supports-color - dev: false - /@babel/highlight@7.23.4: - resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} - engines: {node: '>=6.9.0'} + '@babel/highlight@7.23.4': dependencies: '@babel/helper-validator-identifier': 7.22.20 chalk: 2.4.2 js-tokens: 4.0.0 - dev: false - /@babel/parser@7.23.6: - resolution: {integrity: sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==} - engines: {node: '>=6.0.0'} - hasBin: true + '@babel/parser@7.23.6': dependencies: '@babel/types': 7.23.6 - dev: false - /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.6): - resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 + '@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.6)': dependencies: '@babel/core': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 - dev: false - /@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.23.6): - resolution: {integrity: sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.23.6)': dependencies: '@babel/core': 7.23.6 '@babel/helper-annotate-as-pure': 7.22.5 @@ -564,27 +5050,18 @@ packages: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.6) '@babel/types': 7.23.6 - dev: false - /@babel/runtime@7.23.2: - resolution: {integrity: sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==} - engines: {node: '>=6.9.0'} + '@babel/runtime@7.23.2': dependencies: regenerator-runtime: 0.14.0 - dev: false - /@babel/template@7.22.15: - resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} - engines: {node: '>=6.9.0'} + '@babel/template@7.22.15': dependencies: '@babel/code-frame': 7.23.5 '@babel/parser': 7.23.6 '@babel/types': 7.23.6 - dev: false - /@babel/traverse@7.23.6: - resolution: {integrity: sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==} - engines: {node: '>=6.9.0'} + '@babel/traverse@7.23.6': dependencies: '@babel/code-frame': 7.23.5 '@babel/generator': 7.23.6 @@ -598,19 +5075,14 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: false - /@babel/types@7.23.6: - resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} - engines: {node: '>=6.9.0'} + '@babel/types@7.23.6': dependencies: '@babel/helper-string-parser': 7.23.4 '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 - dev: false - /@changesets/apply-release-plan@7.0.0: - resolution: {integrity: sha512-vfi69JR416qC9hWmFGSxj7N6wA5J222XNBmezSVATPWDVPIF7gkd4d8CpbEbXmRWbVrkoli3oerGS6dcL/BGsQ==} + '@changesets/apply-release-plan@7.0.0': dependencies: '@babel/runtime': 7.23.2 '@changesets/config': 3.0.0 @@ -625,10 +5097,8 @@ packages: prettier: 2.8.8 resolve-from: 5.0.0 semver: 7.5.4 - dev: false - /@changesets/assemble-release-plan@6.0.0: - resolution: {integrity: sha512-4QG7NuisAjisbW4hkLCmGW2lRYdPrKzro+fCtZaILX+3zdUELSvYjpL4GTv0E4aM9Mef3PuIQp89VmHJ4y2bfw==} + '@changesets/assemble-release-plan@6.0.0': dependencies: '@babel/runtime': 7.23.2 '@changesets/errors': 0.2.0 @@ -636,17 +5106,12 @@ packages: '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 semver: 7.5.4 - dev: false - /@changesets/changelog-git@0.2.0: - resolution: {integrity: sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==} + '@changesets/changelog-git@0.2.0': dependencies: '@changesets/types': 6.0.0 - dev: false - /@changesets/cli@2.27.1: - resolution: {integrity: sha512-iJ91xlvRnnrJnELTp4eJJEOPjgpF3NOh4qeQehM6Ugiz9gJPRZ2t+TsXun6E3AMN4hScZKjqVXl0TX+C7AB3ZQ==} - hasBin: true + '@changesets/cli@2.27.1': dependencies: '@babel/runtime': 7.23.2 '@changesets/apply-release-plan': 7.0.0 @@ -680,10 +5145,8 @@ packages: spawndamnit: 2.0.0 term-size: 2.2.1 tty-table: 4.2.3 - dev: false - /@changesets/config@3.0.0: - resolution: {integrity: sha512-o/rwLNnAo/+j9Yvw9mkBQOZySDYyOr/q+wptRLcAVGlU6djOeP9v1nlalbL9MFsobuBVQbZCTp+dIzdq+CLQUA==} + '@changesets/config@3.0.0': dependencies: '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.0.0 @@ -692,26 +5155,20 @@ packages: '@manypkg/get-packages': 1.1.3 fs-extra: 7.0.1 micromatch: 4.0.5 - dev: false - /@changesets/errors@0.2.0: - resolution: {integrity: sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==} + '@changesets/errors@0.2.0': dependencies: extendable-error: 0.1.7 - dev: false - /@changesets/get-dependents-graph@2.0.0: - resolution: {integrity: sha512-cafUXponivK4vBgZ3yLu944mTvam06XEn2IZGjjKc0antpenkYANXiiE6GExV/yKdsCnE8dXVZ25yGqLYZmScA==} + '@changesets/get-dependents-graph@2.0.0': dependencies: '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 chalk: 2.4.2 fs-extra: 7.0.1 semver: 7.5.4 - dev: false - /@changesets/get-release-plan@4.0.0: - resolution: {integrity: sha512-9L9xCUeD/Tb6L/oKmpm8nyzsOzhdNBBbt/ZNcjynbHC07WW4E1eX8NMGC5g5SbM5z/V+MOrYsJ4lRW41GCbg3w==} + '@changesets/get-release-plan@4.0.0': dependencies: '@babel/runtime': 7.23.2 '@changesets/assemble-release-plan': 6.0.0 @@ -720,14 +5177,10 @@ packages: '@changesets/read': 0.6.0 '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 - dev: false - /@changesets/get-version-range-type@0.4.0: - resolution: {integrity: sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==} - dev: false + '@changesets/get-version-range-type@0.4.0': {} - /@changesets/git@3.0.0: - resolution: {integrity: sha512-vvhnZDHe2eiBNRFHEgMiGd2CT+164dfYyrJDhwwxTVD/OW0FUD6G7+4DIx1dNwkwjHyzisxGAU96q0sVNBns0w==} + '@changesets/git@3.0.0': dependencies: '@babel/runtime': 7.23.2 '@changesets/errors': 0.2.0 @@ -736,33 +5189,25 @@ packages: is-subdir: 1.2.0 micromatch: 4.0.5 spawndamnit: 2.0.0 - dev: false - /@changesets/logger@0.1.0: - resolution: {integrity: sha512-pBrJm4CQm9VqFVwWnSqKEfsS2ESnwqwH+xR7jETxIErZcfd1u2zBSqrHbRHR7xjhSgep9x2PSKFKY//FAshA3g==} + '@changesets/logger@0.1.0': dependencies: chalk: 2.4.2 - dev: false - /@changesets/parse@0.4.0: - resolution: {integrity: sha512-TS/9KG2CdGXS27S+QxbZXgr8uPsP4yNJYb4BC2/NeFUj80Rni3TeD2qwWmabymxmrLo7JEsytXH1FbpKTbvivw==} + '@changesets/parse@0.4.0': dependencies: '@changesets/types': 6.0.0 js-yaml: 3.14.1 - dev: false - /@changesets/pre@2.0.0: - resolution: {integrity: sha512-HLTNYX/A4jZxc+Sq8D1AMBsv+1qD6rmmJtjsCJa/9MSRybdxh0mjbTvE6JYZQ/ZiQ0mMlDOlGPXTm9KLTU3jyw==} + '@changesets/pre@2.0.0': dependencies: '@babel/runtime': 7.23.2 '@changesets/errors': 0.2.0 '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 fs-extra: 7.0.1 - dev: false - /@changesets/read@0.6.0: - resolution: {integrity: sha512-ZypqX8+/im1Fm98K4YcZtmLKgjs1kDQ5zHpc2U1qdtNBmZZfo/IBiG162RoP0CUF05tvp2y4IspH11PLnPxuuw==} + '@changesets/read@0.6.0': dependencies: '@babel/runtime': 7.23.2 '@changesets/git': 3.0.0 @@ -772,30 +5217,20 @@ packages: chalk: 2.4.2 fs-extra: 7.0.1 p-filter: 2.1.0 - dev: false - /@changesets/types@4.1.0: - resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} - dev: false + '@changesets/types@4.1.0': {} - /@changesets/types@6.0.0: - resolution: {integrity: sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ==} - dev: false + '@changesets/types@6.0.0': {} - /@changesets/write@0.3.0: - resolution: {integrity: sha512-slGLb21fxZVUYbyea+94uFiD6ntQW0M2hIKNznFizDhZPDgn2c/fv1UzzlW43RVzh1BEDuIqW6hzlJ1OflNmcw==} + '@changesets/write@0.3.0': dependencies: '@babel/runtime': 7.23.2 '@changesets/types': 6.0.0 fs-extra: 7.0.1 human-id: 1.0.2 prettier: 2.8.8 - dev: false - /@commitlint/cli@18.6.1(@types/node@20.10.4)(typescript@5.3.3): - resolution: {integrity: sha512-5IDE0a+lWGdkOvKH892HHAZgbAjcj1mT5QrfA/SVbLJV/BbBMGyKN0W5mhgjekPJJwEQdVNvhl9PwUacY58Usw==} - engines: {node: '>=v18'} - hasBin: true + '@commitlint/cli@18.6.1(@types/node@20.10.4)(typescript@5.3.3)': dependencies: '@commitlint/format': 18.6.1 '@commitlint/lint': 18.6.1 @@ -810,27 +5245,18 @@ packages: transitivePeerDependencies: - '@types/node' - typescript - dev: false - /@commitlint/config-conventional@18.6.1: - resolution: {integrity: sha512-ftpfAOQyI+IHvut0cRF4EFM39PWCqde+uOXCjH9NpK6FpqfhncAbEvP0E7OIpFsrDX0aS7k81tzH5Yz7prcNxA==} - engines: {node: '>=v18'} + '@commitlint/config-conventional@18.6.1': dependencies: '@commitlint/types': 18.6.1 conventional-changelog-conventionalcommits: 7.0.2 - dev: false - /@commitlint/config-validator@18.6.1: - resolution: {integrity: sha512-05uiToBVfPhepcQWE1ZQBR/Io3+tb3gEotZjnI4tTzzPk16NffN6YABgwFQCLmzZefbDcmwWqJWc2XT47q7Znw==} - engines: {node: '>=v18'} + '@commitlint/config-validator@18.6.1': dependencies: '@commitlint/types': 18.6.1 ajv: 8.12.0 - dev: false - /@commitlint/ensure@18.6.1: - resolution: {integrity: sha512-BPm6+SspyxQ7ZTsZwXc7TRQL5kh5YWt3euKmEIBZnocMFkJevqs3fbLRb8+8I/cfbVcAo4mxRlpTPfz8zX7SnQ==} - engines: {node: '>=v18'} + '@commitlint/ensure@18.6.1': dependencies: '@commitlint/types': 18.6.1 lodash.camelcase: 4.3.0 @@ -838,42 +5264,27 @@ packages: lodash.snakecase: 4.1.1 lodash.startcase: 4.4.0 lodash.upperfirst: 4.3.1 - dev: false - /@commitlint/execute-rule@18.6.1: - resolution: {integrity: sha512-7s37a+iWyJiGUeMFF6qBlyZciUkF8odSAnHijbD36YDctLhGKoYltdvuJ/AFfRm6cBLRtRk9cCVPdsEFtt/2rg==} - engines: {node: '>=v18'} - dev: false + '@commitlint/execute-rule@18.6.1': {} - /@commitlint/format@18.6.1: - resolution: {integrity: sha512-K8mNcfU/JEFCharj2xVjxGSF+My+FbUHoqR+4GqPGrHNqXOGNio47ziiR4HQUPKtiNs05o8/WyLBoIpMVOP7wg==} - engines: {node: '>=v18'} + '@commitlint/format@18.6.1': dependencies: '@commitlint/types': 18.6.1 chalk: 4.1.2 - dev: false - /@commitlint/is-ignored@18.6.1: - resolution: {integrity: sha512-MOfJjkEJj/wOaPBw5jFjTtfnx72RGwqYIROABudOtJKW7isVjFe9j0t8xhceA02QebtYf4P/zea4HIwnXg8rvA==} - engines: {node: '>=v18'} + '@commitlint/is-ignored@18.6.1': dependencies: '@commitlint/types': 18.6.1 semver: 7.6.0 - dev: false - /@commitlint/lint@18.6.1: - resolution: {integrity: sha512-8WwIFo3jAuU+h1PkYe5SfnIOzp+TtBHpFr4S8oJWhu44IWKuVx6GOPux3+9H1iHOan/rGBaiacicZkMZuluhfQ==} - engines: {node: '>=v18'} + '@commitlint/lint@18.6.1': dependencies: '@commitlint/is-ignored': 18.6.1 '@commitlint/parse': 18.6.1 '@commitlint/rules': 18.6.1 '@commitlint/types': 18.6.1 - dev: false - /@commitlint/load@18.6.1(@types/node@20.10.4)(typescript@5.3.3): - resolution: {integrity: sha512-p26x8734tSXUHoAw0ERIiHyW4RaI4Bj99D8YgUlVV9SedLf8hlWAfyIFhHRIhfPngLlCe0QYOdRKYFt8gy56TA==} - engines: {node: '>=v18'} + '@commitlint/load@18.6.1(@types/node@20.10.4)(typescript@5.3.3)': dependencies: '@commitlint/config-validator': 18.6.1 '@commitlint/execute-rule': 18.6.1 @@ -889,35 +5300,23 @@ packages: transitivePeerDependencies: - '@types/node' - typescript - dev: false - /@commitlint/message@18.6.1: - resolution: {integrity: sha512-VKC10UTMLcpVjMIaHHsY1KwhuTQtdIKPkIdVEwWV+YuzKkzhlI3aNy6oo1eAN6b/D2LTtZkJe2enHmX0corYRw==} - engines: {node: '>=v18'} - dev: false + '@commitlint/message@18.6.1': {} - /@commitlint/parse@18.6.1: - resolution: {integrity: sha512-eS/3GREtvVJqGZrwAGRwR9Gdno3YcZ6Xvuaa+vUF8j++wsmxrA2En3n0ccfVO2qVOLJC41ni7jSZhQiJpMPGOQ==} - engines: {node: '>=v18'} + '@commitlint/parse@18.6.1': dependencies: '@commitlint/types': 18.6.1 conventional-changelog-angular: 7.0.0 conventional-commits-parser: 5.0.0 - dev: false - /@commitlint/read@18.6.1: - resolution: {integrity: sha512-ia6ODaQFzXrVul07ffSgbZGFajpe8xhnDeLIprLeyfz3ivQU1dIoHp7yz0QIorZ6yuf4nlzg4ZUkluDrGN/J/w==} - engines: {node: '>=v18'} + '@commitlint/read@18.6.1': dependencies: '@commitlint/top-level': 18.6.1 '@commitlint/types': 18.6.1 git-raw-commits: 2.0.11 minimist: 1.2.8 - dev: false - /@commitlint/resolve-extends@18.6.1: - resolution: {integrity: sha512-ifRAQtHwK+Gj3Bxj/5chhc4L2LIc3s30lpsyW67yyjsETR6ctHAHRu1FSpt0KqahK5xESqoJ92v6XxoDRtjwEQ==} - engines: {node: '>=v18'} + '@commitlint/resolve-extends@18.6.1': dependencies: '@commitlint/config-validator': 18.6.1 '@commitlint/types': 18.6.1 @@ -925,466 +5324,170 @@ packages: lodash.mergewith: 4.6.2 resolve-from: 5.0.0 resolve-global: 1.0.0 - dev: false - /@commitlint/rules@18.6.1: - resolution: {integrity: sha512-kguM6HxZDtz60v/zQYOe0voAtTdGybWXefA1iidjWYmyUUspO1zBPQEmJZ05/plIAqCVyNUTAiRPWIBKLCrGew==} - engines: {node: '>=v18'} + '@commitlint/rules@18.6.1': dependencies: '@commitlint/ensure': 18.6.1 '@commitlint/message': 18.6.1 '@commitlint/to-lines': 18.6.1 '@commitlint/types': 18.6.1 execa: 5.1.1 - dev: false - /@commitlint/to-lines@18.6.1: - resolution: {integrity: sha512-Gl+orGBxYSNphx1+83GYeNy5N0dQsHBQ9PJMriaLQDB51UQHCVLBT/HBdOx5VaYksivSf5Os55TLePbRLlW50Q==} - engines: {node: '>=v18'} - dev: false + '@commitlint/to-lines@18.6.1': {} - /@commitlint/top-level@18.6.1: - resolution: {integrity: sha512-HyiHQZUTf0+r0goTCDs/bbVv/LiiQ7AVtz6KIar+8ZrseB9+YJAIo8HQ2IC2QT1y3N1lbW6OqVEsTHjbT6hGSw==} - engines: {node: '>=v18'} + '@commitlint/top-level@18.6.1': dependencies: find-up: 5.0.0 - dev: false - /@commitlint/types@18.6.1: - resolution: {integrity: sha512-gwRLBLra/Dozj2OywopeuHj2ac26gjGkz2cZ+86cTJOdtWfiRRr4+e77ZDAGc6MDWxaWheI+mAV5TLWWRwqrFg==} - engines: {node: '>=v18'} + '@commitlint/types@18.6.1': dependencies: chalk: 4.1.2 - dev: false - /@ctrl/tinycolor@3.6.1: - resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} - engines: {node: '>=10'} - dev: false + '@ctrl/tinycolor@3.6.1': {} - /@esbuild/aix-ppc64@0.19.11: - resolution: {integrity: sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [aix] - requiresBuild: true - dev: false + '@esbuild/aix-ppc64@0.19.11': optional: true - /@esbuild/android-arm64@0.19.11: - resolution: {integrity: sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: false + '@esbuild/android-arm64@0.19.11': optional: true - /@esbuild/android-arm64@0.19.9: - resolution: {integrity: sha512-q4cR+6ZD0938R19MyEW3jEsMzbb/1rulLXiNAJQADD/XYp7pT+rOS5JGxvpRW8dFDEfjW4wLgC/3FXIw4zYglQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: false + '@esbuild/android-arm64@0.19.9': optional: true - /@esbuild/android-arm@0.19.11: - resolution: {integrity: sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: false + '@esbuild/android-arm@0.19.11': optional: true - /@esbuild/android-arm@0.19.9: - resolution: {integrity: sha512-jkYjjq7SdsWuNI6b5quymW0oC83NN5FdRPuCbs9HZ02mfVdAP8B8eeqLSYU3gb6OJEaY5CQabtTFbqBf26H3GA==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: false + '@esbuild/android-arm@0.19.9': optional: true - /@esbuild/android-x64@0.19.11: - resolution: {integrity: sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: false + '@esbuild/android-x64@0.19.11': optional: true - /@esbuild/android-x64@0.19.9: - resolution: {integrity: sha512-KOqoPntWAH6ZxDwx1D6mRntIgZh9KodzgNOy5Ebt9ghzffOk9X2c1sPwtM9P+0eXbefnDhqYfkh5PLP5ULtWFA==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: false + '@esbuild/android-x64@0.19.9': optional: true - /@esbuild/darwin-arm64@0.19.11: - resolution: {integrity: sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false + '@esbuild/darwin-arm64@0.19.11': optional: true - /@esbuild/darwin-arm64@0.19.9: - resolution: {integrity: sha512-KBJ9S0AFyLVx2E5D8W0vExqRW01WqRtczUZ8NRu+Pi+87opZn5tL4Y0xT0mA4FtHctd0ZgwNoN639fUUGlNIWw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false + '@esbuild/darwin-arm64@0.19.9': optional: true - /@esbuild/darwin-x64@0.19.11: - resolution: {integrity: sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false + '@esbuild/darwin-x64@0.19.11': optional: true - /@esbuild/darwin-x64@0.19.9: - resolution: {integrity: sha512-vE0VotmNTQaTdX0Q9dOHmMTao6ObjyPm58CHZr1UK7qpNleQyxlFlNCaHsHx6Uqv86VgPmR4o2wdNq3dP1qyDQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false + '@esbuild/darwin-x64@0.19.9': optional: true - /@esbuild/freebsd-arm64@0.19.11: - resolution: {integrity: sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: false + '@esbuild/freebsd-arm64@0.19.11': optional: true - /@esbuild/freebsd-arm64@0.19.9: - resolution: {integrity: sha512-uFQyd/o1IjiEk3rUHSwUKkqZwqdvuD8GevWF065eqgYfexcVkxh+IJgwTaGZVu59XczZGcN/YMh9uF1fWD8j1g==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: false + '@esbuild/freebsd-arm64@0.19.9': optional: true - /@esbuild/freebsd-x64@0.19.11: - resolution: {integrity: sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: false + '@esbuild/freebsd-x64@0.19.11': optional: true - /@esbuild/freebsd-x64@0.19.9: - resolution: {integrity: sha512-WMLgWAtkdTbTu1AWacY7uoj/YtHthgqrqhf1OaEWnZb7PQgpt8eaA/F3LkV0E6K/Lc0cUr/uaVP/49iE4M4asA==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: false + '@esbuild/freebsd-x64@0.19.9': optional: true - /@esbuild/linux-arm64@0.19.11: - resolution: {integrity: sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-arm64@0.19.11': optional: true - /@esbuild/linux-arm64@0.19.9: - resolution: {integrity: sha512-PiPblfe1BjK7WDAKR1Cr9O7VVPqVNpwFcPWgfn4xu0eMemzRp442hXyzF/fSwgrufI66FpHOEJk0yYdPInsmyQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-arm64@0.19.9': optional: true - /@esbuild/linux-arm@0.19.11: - resolution: {integrity: sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-arm@0.19.11': optional: true - /@esbuild/linux-arm@0.19.9: - resolution: {integrity: sha512-C/ChPohUYoyUaqn1h17m/6yt6OB14hbXvT8EgM1ZWaiiTYz7nWZR0SYmMnB5BzQA4GXl3BgBO1l8MYqL/He3qw==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-arm@0.19.9': optional: true - /@esbuild/linux-ia32@0.19.11: - resolution: {integrity: sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-ia32@0.19.11': optional: true - /@esbuild/linux-ia32@0.19.9: - resolution: {integrity: sha512-f37i/0zE0MjDxijkPSQw1CO/7C27Eojqb+r3BbHVxMLkj8GCa78TrBZzvPyA/FNLUMzP3eyHCVkAopkKVja+6Q==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-ia32@0.19.9': optional: true - /@esbuild/linux-loong64@0.19.11: - resolution: {integrity: sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-loong64@0.19.11': optional: true - /@esbuild/linux-loong64@0.19.9: - resolution: {integrity: sha512-t6mN147pUIf3t6wUt3FeumoOTPfmv9Cc6DQlsVBpB7eCpLOqQDyWBP1ymXn1lDw4fNUSb/gBcKAmvTP49oIkaA==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-loong64@0.19.9': optional: true - /@esbuild/linux-mips64el@0.19.11: - resolution: {integrity: sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-mips64el@0.19.11': optional: true - /@esbuild/linux-mips64el@0.19.9: - resolution: {integrity: sha512-jg9fujJTNTQBuDXdmAg1eeJUL4Jds7BklOTkkH80ZgQIoCTdQrDaHYgbFZyeTq8zbY+axgptncko3v9p5hLZtw==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-mips64el@0.19.9': optional: true - /@esbuild/linux-ppc64@0.19.11: - resolution: {integrity: sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-ppc64@0.19.11': optional: true - /@esbuild/linux-ppc64@0.19.9: - resolution: {integrity: sha512-tkV0xUX0pUUgY4ha7z5BbDS85uI7ABw3V1d0RNTii7E9lbmV8Z37Pup2tsLV46SQWzjOeyDi1Q7Wx2+QM8WaCQ==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-ppc64@0.19.9': optional: true - /@esbuild/linux-riscv64@0.19.11: - resolution: {integrity: sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-riscv64@0.19.11': optional: true - /@esbuild/linux-riscv64@0.19.9: - resolution: {integrity: sha512-DfLp8dj91cufgPZDXr9p3FoR++m3ZJ6uIXsXrIvJdOjXVREtXuQCjfMfvmc3LScAVmLjcfloyVtpn43D56JFHg==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-riscv64@0.19.9': optional: true - /@esbuild/linux-s390x@0.19.11: - resolution: {integrity: sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-s390x@0.19.11': optional: true - /@esbuild/linux-s390x@0.19.9: - resolution: {integrity: sha512-zHbglfEdC88KMgCWpOl/zc6dDYJvWGLiUtmPRsr1OgCViu3z5GncvNVdf+6/56O2Ca8jUU+t1BW261V6kp8qdw==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-s390x@0.19.9': optional: true - /@esbuild/linux-x64@0.19.11: - resolution: {integrity: sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-x64@0.19.11': optional: true - /@esbuild/linux-x64@0.19.9: - resolution: {integrity: sha512-JUjpystGFFmNrEHQnIVG8hKwvA2DN5o7RqiO1CVX8EN/F/gkCjkUMgVn6hzScpwnJtl2mPR6I9XV1oW8k9O+0A==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false + '@esbuild/linux-x64@0.19.9': optional: true - /@esbuild/netbsd-x64@0.19.11: - resolution: {integrity: sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: false + '@esbuild/netbsd-x64@0.19.11': optional: true - /@esbuild/netbsd-x64@0.19.9: - resolution: {integrity: sha512-GThgZPAwOBOsheA2RUlW5UeroRfESwMq/guy8uEe3wJlAOjpOXuSevLRd70NZ37ZrpO6RHGHgEHvPg1h3S1Jug==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: false + '@esbuild/netbsd-x64@0.19.9': optional: true - /@esbuild/openbsd-x64@0.19.11: - resolution: {integrity: sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: false + '@esbuild/openbsd-x64@0.19.11': optional: true - /@esbuild/openbsd-x64@0.19.9: - resolution: {integrity: sha512-Ki6PlzppaFVbLnD8PtlVQfsYw4S9n3eQl87cqgeIw+O3sRr9IghpfSKY62mggdt1yCSZ8QWvTZ9jo9fjDSg9uw==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: false + '@esbuild/openbsd-x64@0.19.9': optional: true - /@esbuild/sunos-x64@0.19.11: - resolution: {integrity: sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: false + '@esbuild/sunos-x64@0.19.11': optional: true - /@esbuild/sunos-x64@0.19.9: - resolution: {integrity: sha512-MLHj7k9hWh4y1ddkBpvRj2b9NCBhfgBt3VpWbHQnXRedVun/hC7sIyTGDGTfsGuXo4ebik2+3ShjcPbhtFwWDw==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: false + '@esbuild/sunos-x64@0.19.9': optional: true - /@esbuild/win32-arm64@0.19.11: - resolution: {integrity: sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: false + '@esbuild/win32-arm64@0.19.11': optional: true - /@esbuild/win32-arm64@0.19.9: - resolution: {integrity: sha512-GQoa6OrQ8G08guMFgeXPH7yE/8Dt0IfOGWJSfSH4uafwdC7rWwrfE6P9N8AtPGIjUzdo2+7bN8Xo3qC578olhg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: false + '@esbuild/win32-arm64@0.19.9': optional: true - /@esbuild/win32-ia32@0.19.11: - resolution: {integrity: sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: false + '@esbuild/win32-ia32@0.19.11': optional: true - /@esbuild/win32-ia32@0.19.9: - resolution: {integrity: sha512-UOozV7Ntykvr5tSOlGCrqU3NBr3d8JqPes0QWN2WOXfvkWVGRajC+Ym0/Wj88fUgecUCLDdJPDF0Nna2UK3Qtg==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: false + '@esbuild/win32-ia32@0.19.9': optional: true - /@esbuild/win32-x64@0.19.11: - resolution: {integrity: sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false + '@esbuild/win32-x64@0.19.11': optional: true - /@esbuild/win32-x64@0.19.9: - resolution: {integrity: sha512-oxoQgglOP7RH6iasDrhY+R/3cHrfwIDvRlT4CGChflq6twk8iENeVvMJjmvBb94Ik1Z+93iGO27err7w6l54GQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false + '@esbuild/win32-x64@0.19.9': optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.53.0): - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + '@eslint-community/eslint-utils@4.4.0(eslint@8.53.0)': dependencies: eslint: 8.53.0 eslint-visitor-keys: 3.4.3 - dev: false - /@eslint-community/regexpp@4.10.0: - resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - dev: false + '@eslint-community/regexpp@4.10.0': {} - /@eslint/eslintrc@2.1.3: - resolution: {integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/eslintrc@2.1.3': dependencies: ajv: 6.12.6 debug: 4.3.4 @@ -1397,132 +5500,89 @@ packages: strip-json-comments: 3.1.1 transitivePeerDependencies: - supports-color - dev: false - /@eslint/js@8.53.0: - resolution: {integrity: sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: false + '@eslint/js@8.53.0': {} - /@expressive-code/core@0.29.4: - resolution: {integrity: sha512-XBdMPO4BBgPxE+txtNdjkDmLwGxJpU+QqLQ/WrHWPcj1lTXcoFQTUqFO4Eav+hv/Yn+lEjiv792RrcUe2o0anA==} + '@expressive-code/core@0.29.4': dependencies: '@ctrl/tinycolor': 3.6.1 hast-util-to-html: 8.0.4 hastscript: 7.2.0 postcss: 8.4.32 postcss-nested: 6.0.1(postcss@8.4.32) - dev: false - /@expressive-code/plugin-frames@0.29.4: - resolution: {integrity: sha512-GE3sB7JTqjhTz7LrCm+mL9x+bIdud76AVqJa/brJgqpYFcl5aJcHtyR0PSZQqTXHL3sBIj8w0wbh+ieVM43JnQ==} + '@expressive-code/plugin-frames@0.29.4': dependencies: '@expressive-code/core': 0.29.4 hastscript: 7.2.0 - dev: false - /@expressive-code/plugin-shiki@0.29.4: - resolution: {integrity: sha512-vOM2JFVEClg3EAWHVd+ma8y/EsINqzCrQP1PS9sZgn2KASE3C6JBkNRXzUXKGkjDn0dsWJVYYvIsH+4xNpygZA==} + '@expressive-code/plugin-shiki@0.29.4': dependencies: '@expressive-code/core': 0.29.4 shiki: 0.14.6 - dev: false - /@expressive-code/plugin-text-markers@0.29.4: - resolution: {integrity: sha512-U8rouNRrLzAo11Ihoi4iqEH7FD+VEUb6Pe7xJxlFJ7HRhgaFIcuHyYyn6jA1WmGP5k9BFLhYBk53+oKvlmEkKw==} + '@expressive-code/plugin-text-markers@0.29.4': dependencies: '@expressive-code/core': 0.29.4 hastscript: 7.2.0 unist-util-visit-parents: 5.1.3 - dev: false - /@humanwhocodes/config-array@0.11.13: - resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} - engines: {node: '>=10.10.0'} + '@humanwhocodes/config-array@0.11.13': dependencies: '@humanwhocodes/object-schema': 2.0.1 debug: 4.3.4 minimatch: 3.1.2 transitivePeerDependencies: - supports-color - dev: false - /@humanwhocodes/module-importer@1.0.1: - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} - dev: false + '@humanwhocodes/module-importer@1.0.1': {} - /@humanwhocodes/object-schema@2.0.1: - resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} - dev: false + '@humanwhocodes/object-schema@2.0.1': {} - /@isaacs/cliui@8.0.2: - resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} - engines: {node: '>=12'} + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 - string-width-cjs: /string-width@4.2.3 + string-width-cjs: string-width@4.2.3 strip-ansi: 7.1.0 - strip-ansi-cjs: /strip-ansi@6.0.1 + strip-ansi-cjs: strip-ansi@6.0.1 wrap-ansi: 8.1.0 - wrap-ansi-cjs: /wrap-ansi@7.0.0 - dev: false + wrap-ansi-cjs: wrap-ansi@7.0.0 - /@jridgewell/gen-mapping@0.3.3: - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} - engines: {node: '>=6.0.0'} + '@jridgewell/gen-mapping@0.3.3': dependencies: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/trace-mapping': 0.3.20 - dev: false - /@jridgewell/resolve-uri@3.1.1: - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} - engines: {node: '>=6.0.0'} - dev: false + '@jridgewell/resolve-uri@3.1.1': {} - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} - engines: {node: '>=6.0.0'} - dev: false + '@jridgewell/set-array@1.1.2': {} - /@jridgewell/source-map@0.3.5: - resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} + '@jridgewell/source-map@0.3.5': dependencies: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.22 - dev: false - /@jridgewell/sourcemap-codec@1.4.15: - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - dev: false + '@jridgewell/sourcemap-codec@1.4.15': {} - /@jridgewell/trace-mapping@0.3.20: - resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + '@jridgewell/trace-mapping@0.3.20': dependencies: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - dev: false - /@jridgewell/trace-mapping@0.3.22: - resolution: {integrity: sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==} + '@jridgewell/trace-mapping@0.3.22': dependencies: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - dev: false - /@manypkg/find-root@1.1.0: - resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} + '@manypkg/find-root@1.1.0': dependencies: '@babel/runtime': 7.23.2 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 - dev: false - /@manypkg/get-packages@1.1.3: - resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} + '@manypkg/get-packages@1.1.3': dependencies: '@babel/runtime': 7.23.2 '@changesets/types': 4.1.0 @@ -1530,10 +5590,8 @@ packages: fs-extra: 8.1.0 globby: 11.1.0 read-yaml-file: 1.1.0 - dev: false - /@mdx-js/mdx@3.0.0: - resolution: {integrity: sha512-Icm0TBKBLYqroYbNW3BPnzMGn+7mwpQOK310aZ7+fkCtiU3aqv2cdcX+nd0Ydo3wI5Rx8bX2Z2QmGb/XcAClCw==} + '@mdx-js/mdx@3.0.0': dependencies: '@types/estree': 1.0.5 '@types/estree-jsx': 1.0.3 @@ -1560,83 +5618,40 @@ packages: vfile: 6.0.1 transitivePeerDependencies: - supports-color - dev: false - /@nodelib/fs.scandir@2.1.5: - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} + '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 run-parallel: 1.2.0 - dev: false - /@nodelib/fs.stat@2.0.5: - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - dev: false + '@nodelib/fs.stat@2.0.5': {} - /@nodelib/fs.walk@1.2.8: - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} + '@nodelib/fs.walk@1.2.8': dependencies: '@nodelib/fs.scandir': 2.1.5 fastq: 1.15.0 - dev: false - /@pagefind/darwin-arm64@1.0.4: - resolution: {integrity: sha512-2OcthvceX2xhm5XbgOmW+lT45oLuHqCmvFeFtxh1gsuP5cO8vcD8ZH8Laj4pXQFCcK6eAdSShx+Ztx/LsQWZFQ==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false + '@pagefind/darwin-arm64@1.0.4': optional: true - /@pagefind/darwin-x64@1.0.4: - resolution: {integrity: sha512-xkdvp0D9Ld/ZKsjo/y1bgfhTEU72ITimd2PMMQtts7jf6JPIOJbsiErCvm37m/qMFuPGEq/8d+fZ4pydOj08HQ==} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false + '@pagefind/darwin-x64@1.0.4': optional: true - /@pagefind/default-ui@1.0.4: - resolution: {integrity: sha512-edkcaPSKq67C49Vehjo+LQCpT615v4d7JRhfGzFPccePvdklaL+VXrfghN/uIfsdoG+HoLI1PcYy2iFcB9CTkw==} - dev: false + '@pagefind/default-ui@1.0.4': {} - /@pagefind/linux-arm64@1.0.4: - resolution: {integrity: sha512-jGBrcCzIrMnNxLKVtogaQyajVfTAXM59KlBEwg6vTn8NW4fQ6nuFbbhlG4dTIsaamjEM5e8ZBEAKZfTB/qd9xw==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false + '@pagefind/linux-arm64@1.0.4': optional: true - /@pagefind/linux-x64@1.0.4: - resolution: {integrity: sha512-LIn/QcvcEtLEBqKe5vpSbSC2O3fvqbRCWOTIklslqSORisCsvzsWbP6j+LYxE9q0oWIfkdMoWV1vrE/oCKRxHg==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false + '@pagefind/linux-x64@1.0.4': optional: true - /@pagefind/windows-x64@1.0.4: - resolution: {integrity: sha512-QlBCVeZfj9fc9sbUgdOz76ZDbeK4xZihOBAFqGuRJeChfM8pnVeH9iqSnXgO3+m9oITugTf7PicyRUFAG76xeQ==} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false + '@pagefind/windows-x64@1.0.4': optional: true - /@pkgjs/parseargs@0.11.0: - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} - requiresBuild: true - dev: false + '@pkgjs/parseargs@0.11.0': optional: true - /@pkgr/utils@2.4.2: - resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@pkgr/utils@2.4.2': dependencies: cross-spawn: 7.0.3 fast-glob: 3.3.2 @@ -1644,307 +5659,165 @@ packages: open: 9.1.0 picocolors: 1.0.0 tslib: 2.6.2 - dev: false - /@rollup/rollup-android-arm-eabi@4.9.0: - resolution: {integrity: sha512-+1ge/xmaJpm1KVBuIH38Z94zj9fBD+hp+/5WLaHgyY8XLq1ibxk/zj6dTXaqM2cAbYKq8jYlhHd6k05If1W5xA==} - cpu: [arm] - os: [android] - requiresBuild: true - dev: false + '@rollup/rollup-android-arm-eabi@4.9.0': optional: true - /@rollup/rollup-android-arm64@4.9.0: - resolution: {integrity: sha512-im6hUEyQ7ZfoZdNvtwgEJvBWZYauC9KVKq1w58LG2Zfz6zMd8gRrbN+xCVoqA2hv/v6fm9lp5LFGJ3za8EQH3A==} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: false + '@rollup/rollup-android-arm64@4.9.0': optional: true - /@rollup/rollup-darwin-arm64@4.9.0: - resolution: {integrity: sha512-u7aTMskN6Dmg1lCT0QJ+tINRt+ntUrvVkhbPfFz4bCwRZvjItx2nJtwJnJRlKMMaQCHRjrNqHRDYvE4mBm3DlQ==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false + '@rollup/rollup-darwin-arm64@4.9.0': optional: true - /@rollup/rollup-darwin-x64@4.9.0: - resolution: {integrity: sha512-8FvEl3w2ExmpcOmX5RJD0yqXcVSOqAJJUJ29Lca29Ik+3zPS1yFimr2fr5JSZ4Z5gt8/d7WqycpgkX9nocijSw==} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false + '@rollup/rollup-darwin-x64@4.9.0': optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.9.0: - resolution: {integrity: sha512-lHoKYaRwd4gge+IpqJHCY+8Vc3hhdJfU6ukFnnrJasEBUvVlydP8PuwndbWfGkdgSvZhHfSEw6urrlBj0TSSfg==} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: false + '@rollup/rollup-linux-arm-gnueabihf@4.9.0': optional: true - /@rollup/rollup-linux-arm64-gnu@4.9.0: - resolution: {integrity: sha512-JbEPfhndYeWHfOSeh4DOFvNXrj7ls9S/2omijVsao+LBPTPayT1uKcK3dHW3MwDJ7KO11t9m2cVTqXnTKpeaiw==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false + '@rollup/rollup-linux-arm64-gnu@4.9.0': optional: true - /@rollup/rollup-linux-arm64-musl@4.9.0: - resolution: {integrity: sha512-ahqcSXLlcV2XUBM3/f/C6cRoh7NxYA/W7Yzuv4bDU1YscTFw7ay4LmD7l6OS8EMhTNvcrWGkEettL1Bhjf+B+w==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false + '@rollup/rollup-linux-arm64-musl@4.9.0': optional: true - /@rollup/rollup-linux-riscv64-gnu@4.9.0: - resolution: {integrity: sha512-uwvOYNtLw8gVtrExKhdFsYHA/kotURUmZYlinH2VcQxNCQJeJXnkmWgw2hI9Xgzhgu7J9QvWiq9TtTVwWMDa+w==} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: false + '@rollup/rollup-linux-riscv64-gnu@4.9.0': optional: true - /@rollup/rollup-linux-x64-gnu@4.9.0: - resolution: {integrity: sha512-m6pkSwcZZD2LCFHZX/zW2aLIISyzWLU3hrLLzQKMI12+OLEzgruTovAxY5sCZJkipklaZqPy/2bEEBNjp+Y7xg==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false + '@rollup/rollup-linux-x64-gnu@4.9.0': optional: true - /@rollup/rollup-linux-x64-musl@4.9.0: - resolution: {integrity: sha512-VFAC1RDRSbU3iOF98X42KaVicAfKf0m0OvIu8dbnqhTe26Kh6Ym9JrDulz7Hbk7/9zGc41JkV02g+p3BivOdAg==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false + '@rollup/rollup-linux-x64-musl@4.9.0': optional: true - /@rollup/rollup-win32-arm64-msvc@4.9.0: - resolution: {integrity: sha512-9jPgMvTKXARz4inw6jezMLA2ihDBvgIU9Ml01hjdVpOcMKyxFBJrn83KVQINnbeqDv0+HdO1c09hgZ8N0s820Q==} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: false + '@rollup/rollup-win32-arm64-msvc@4.9.0': optional: true - /@rollup/rollup-win32-ia32-msvc@4.9.0: - resolution: {integrity: sha512-WE4pT2kTXQN2bAv40Uog0AsV7/s9nT9HBWXAou8+++MBCnY51QS02KYtm6dQxxosKi1VIz/wZIrTQO5UP2EW+Q==} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: false + '@rollup/rollup-win32-ia32-msvc@4.9.0': optional: true - /@rollup/rollup-win32-x64-msvc@4.9.0: - resolution: {integrity: sha512-aPP5Q5AqNGuT0tnuEkK/g4mnt3ZhheiXrDIiSVIHN9mcN21OyXDVbEMqmXPE7e2OplNLDkcvV+ZoGJa2ZImFgw==} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false + '@rollup/rollup-win32-x64-msvc@4.9.0': optional: true - /@types/acorn@4.0.6: - resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==} + '@types/acorn@4.0.6': dependencies: '@types/estree': 1.0.5 - dev: false - /@types/babel__core@7.20.5: - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} + '@types/babel__core@7.20.5': dependencies: '@babel/parser': 7.23.6 '@babel/types': 7.23.6 '@types/babel__generator': 7.6.7 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.4 - dev: false - /@types/babel__generator@7.6.7: - resolution: {integrity: sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ==} + '@types/babel__generator@7.6.7': dependencies: '@babel/types': 7.23.6 - dev: false - /@types/babel__template@7.4.4: - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} + '@types/babel__template@7.4.4': dependencies: '@babel/parser': 7.23.6 '@babel/types': 7.23.6 - dev: false - /@types/babel__traverse@7.20.4: - resolution: {integrity: sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==} + '@types/babel__traverse@7.20.4': dependencies: '@babel/types': 7.23.6 - dev: false - /@types/bun@1.0.5: - resolution: {integrity: sha512-c14fs5QLLanldcZpX/GjIEKeo++NDzOlixUZ7IUWzN7AoBTisYyWxaxdXNhpAP5I1mPcd92Zagq8sdgTnUXWjg==} + '@types/bun@1.0.5': dependencies: bun-types: 1.0.26 - dev: true - /@types/bun@1.1.2: - resolution: {integrity: sha512-pRBDD3EDqPf83qe95i3EpYu5G2J8bbb78a3736vnCm2K8YWtEE5cvJUq2jkKvJhW07YTfQtbImywIwRhWL8z3Q==} + '@types/bun@1.1.2': dependencies: bun-types: 1.1.8 - dev: true - /@types/debug@4.1.12: - resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} + '@types/debug@4.1.12': dependencies: '@types/ms': 0.7.34 - dev: false - /@types/eslint-scope@3.7.7: - resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} + '@types/eslint-scope@3.7.7': dependencies: '@types/eslint': 8.56.2 '@types/estree': 1.0.5 - dev: false - /@types/eslint@8.44.7: - resolution: {integrity: sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==} + '@types/eslint@8.44.7': dependencies: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 - dev: false - /@types/eslint@8.56.2: - resolution: {integrity: sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==} + '@types/eslint@8.56.2': dependencies: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 - dev: false - /@types/estree-jsx@1.0.3: - resolution: {integrity: sha512-pvQ+TKeRHeiUGRhvYwRrQ/ISnohKkSJR14fT2yqyZ4e9K5vqc7hrtY2Y1Dw0ZwAzQ6DQsxsaCUuSIIi8v0Cq6w==} + '@types/estree-jsx@1.0.3': dependencies: '@types/estree': 1.0.5 - dev: false - /@types/estree@1.0.5: - resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - dev: false + '@types/estree@1.0.5': {} - /@types/hast@2.3.8: - resolution: {integrity: sha512-aMIqAlFd2wTIDZuvLbhUT+TGvMxrNC8ECUIVtH6xxy0sQLs3iu6NO8Kp/VT5je7i5ufnebXzdV1dNDMnvaH6IQ==} + '@types/hast@2.3.8': dependencies: '@types/unist': 2.0.10 - dev: false - /@types/hast@3.0.3: - resolution: {integrity: sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==} + '@types/hast@3.0.3': dependencies: '@types/unist': 3.0.2 - dev: false - /@types/json-schema@7.0.15: - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - dev: false + '@types/json-schema@7.0.15': {} - /@types/json5@0.0.29: - resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} - dev: false + '@types/json5@0.0.29': {} - /@types/mdast@4.0.3: - resolution: {integrity: sha512-LsjtqsyF+d2/yFOYaN22dHZI1Cpwkrj+g06G8+qtUKlhovPW89YhqSnfKtMbkgmEtYpH2gydRNULd6y8mciAFg==} + '@types/mdast@4.0.3': dependencies: '@types/unist': 3.0.2 - dev: false - /@types/mdx@2.0.10: - resolution: {integrity: sha512-Rllzc5KHk0Al5/WANwgSPl1/CwjqCy+AZrGd78zuK+jO9aDM6ffblZ+zIjgPNAaEBmlO0RYDvLNh7wD0zKVgEg==} - dev: false + '@types/mdx@2.0.10': {} - /@types/minimist@1.2.5: - resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} - dev: false + '@types/minimist@1.2.5': {} - /@types/ms@0.7.34: - resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - dev: false + '@types/ms@0.7.34': {} - /@types/nlcst@1.0.4: - resolution: {integrity: sha512-ABoYdNQ/kBSsLvZAekMhIPMQ3YUZvavStpKYs7BjLLuKVmIMA0LUgZ7b54zzuWJRbHF80v1cNf4r90Vd6eMQDg==} + '@types/nlcst@1.0.4': dependencies: '@types/unist': 2.0.10 - dev: false - /@types/node@12.20.55: - resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - dev: false + '@types/node@12.20.55': {} - /@types/node@17.0.45: - resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} - dev: false + '@types/node@17.0.45': {} - /@types/node@20.10.4: - resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==} + '@types/node@20.10.4': dependencies: undici-types: 5.26.5 - /@types/node@20.11.17: - resolution: {integrity: sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==} + '@types/node@20.11.17': dependencies: undici-types: 5.26.5 - dev: true - /@types/node@20.12.14: - resolution: {integrity: sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg==} + '@types/node@20.12.14': dependencies: undici-types: 5.26.5 - dev: true - /@types/normalize-package-data@2.4.4: - resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - dev: false + '@types/normalize-package-data@2.4.4': {} - /@types/parse5@6.0.3: - resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} - dev: false + '@types/parse5@6.0.3': {} - /@types/sax@1.2.7: - resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} + '@types/sax@1.2.7': dependencies: '@types/node': 20.10.4 - dev: false - /@types/semver@7.5.5: - resolution: {integrity: sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg==} - dev: false + '@types/semver@7.5.5': {} - /@types/unist@2.0.10: - resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} - dev: false + '@types/unist@2.0.10': {} - /@types/unist@3.0.2: - resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} - dev: false + '@types/unist@3.0.2': {} - /@types/ws@8.5.10: - resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} + '@types/ws@8.5.10': dependencies: '@types/node': 20.10.4 - dev: true - /@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3): - resolution: {integrity: sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + '@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3)': dependencies: '@eslint-community/regexpp': 4.10.0 '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) @@ -1962,17 +5835,8 @@ packages: typescript: 5.3.3 transitivePeerDependencies: - supports-color - dev: false - /@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.3.3): - resolution: {integrity: sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + '@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.3.3)': dependencies: '@typescript-eslint/scope-manager': 6.10.0 '@typescript-eslint/types': 6.10.0 @@ -1983,25 +5847,13 @@ packages: typescript: 5.3.3 transitivePeerDependencies: - supports-color - dev: false - /@typescript-eslint/scope-manager@6.10.0: - resolution: {integrity: sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/scope-manager@6.10.0': dependencies: '@typescript-eslint/types': 6.10.0 '@typescript-eslint/visitor-keys': 6.10.0 - dev: false - /@typescript-eslint/type-utils@6.10.0(eslint@8.53.0)(typescript@5.3.3): - resolution: {integrity: sha512-wYpPs3hgTFblMYwbYWPT3eZtaDOjbLyIYuqpwuLBBqhLiuvJ+9sEp2gNRJEtR5N/c9G1uTtQQL5AhV0fEPJYcg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + '@typescript-eslint/type-utils@6.10.0(eslint@8.53.0)(typescript@5.3.3)': dependencies: '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.3.3) '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.3.3) @@ -2011,21 +5863,10 @@ packages: typescript: 5.3.3 transitivePeerDependencies: - supports-color - dev: false - /@typescript-eslint/types@6.10.0: - resolution: {integrity: sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg==} - engines: {node: ^16.0.0 || >=18.0.0} - dev: false + '@typescript-eslint/types@6.10.0': {} - /@typescript-eslint/typescript-estree@6.10.0(typescript@5.3.3): - resolution: {integrity: sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + '@typescript-eslint/typescript-estree@6.10.0(typescript@5.3.3)': dependencies: '@typescript-eslint/types': 6.10.0 '@typescript-eslint/visitor-keys': 6.10.0 @@ -2037,13 +5878,8 @@ packages: typescript: 5.3.3 transitivePeerDependencies: - supports-color - dev: false - /@typescript-eslint/utils@6.10.0(eslint@8.53.0)(typescript@5.3.3): - resolution: {integrity: sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + '@typescript-eslint/utils@6.10.0(eslint@8.53.0)(typescript@5.3.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0) '@types/json-schema': 7.0.15 @@ -2056,78 +5892,51 @@ packages: transitivePeerDependencies: - supports-color - typescript - dev: false - /@typescript-eslint/visitor-keys@6.10.0: - resolution: {integrity: sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/visitor-keys@6.10.0': dependencies: '@typescript-eslint/types': 6.10.0 eslint-visitor-keys: 3.4.3 - dev: false - /@ungap/structured-clone@1.2.0: - resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - dev: false + '@ungap/structured-clone@1.2.0': {} - /@webassemblyjs/ast@1.11.6: - resolution: {integrity: sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==} + '@webassemblyjs/ast@1.11.6': dependencies: '@webassemblyjs/helper-numbers': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - dev: false - /@webassemblyjs/floating-point-hex-parser@1.11.6: - resolution: {integrity: sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==} - dev: false + '@webassemblyjs/floating-point-hex-parser@1.11.6': {} - /@webassemblyjs/helper-api-error@1.11.6: - resolution: {integrity: sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==} - dev: false + '@webassemblyjs/helper-api-error@1.11.6': {} - /@webassemblyjs/helper-buffer@1.11.6: - resolution: {integrity: sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==} - dev: false + '@webassemblyjs/helper-buffer@1.11.6': {} - /@webassemblyjs/helper-numbers@1.11.6: - resolution: {integrity: sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==} + '@webassemblyjs/helper-numbers@1.11.6': dependencies: '@webassemblyjs/floating-point-hex-parser': 1.11.6 '@webassemblyjs/helper-api-error': 1.11.6 '@xtuc/long': 4.2.2 - dev: false - /@webassemblyjs/helper-wasm-bytecode@1.11.6: - resolution: {integrity: sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==} - dev: false + '@webassemblyjs/helper-wasm-bytecode@1.11.6': {} - /@webassemblyjs/helper-wasm-section@1.11.6: - resolution: {integrity: sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==} + '@webassemblyjs/helper-wasm-section@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-buffer': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/wasm-gen': 1.11.6 - dev: false - /@webassemblyjs/ieee754@1.11.6: - resolution: {integrity: sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==} + '@webassemblyjs/ieee754@1.11.6': dependencies: '@xtuc/ieee754': 1.2.0 - dev: false - /@webassemblyjs/leb128@1.11.6: - resolution: {integrity: sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==} + '@webassemblyjs/leb128@1.11.6': dependencies: '@xtuc/long': 4.2.2 - dev: false - /@webassemblyjs/utf8@1.11.6: - resolution: {integrity: sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==} - dev: false + '@webassemblyjs/utf8@1.11.6': {} - /@webassemblyjs/wasm-edit@1.11.6: - resolution: {integrity: sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==} + '@webassemblyjs/wasm-edit@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-buffer': 1.11.6 @@ -2137,29 +5946,23 @@ packages: '@webassemblyjs/wasm-opt': 1.11.6 '@webassemblyjs/wasm-parser': 1.11.6 '@webassemblyjs/wast-printer': 1.11.6 - dev: false - /@webassemblyjs/wasm-gen@1.11.6: - resolution: {integrity: sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==} + '@webassemblyjs/wasm-gen@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/ieee754': 1.11.6 '@webassemblyjs/leb128': 1.11.6 '@webassemblyjs/utf8': 1.11.6 - dev: false - /@webassemblyjs/wasm-opt@1.11.6: - resolution: {integrity: sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==} + '@webassemblyjs/wasm-opt@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-buffer': 1.11.6 '@webassemblyjs/wasm-gen': 1.11.6 '@webassemblyjs/wasm-parser': 1.11.6 - dev: false - /@webassemblyjs/wasm-parser@1.11.6: - resolution: {integrity: sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==} + '@webassemblyjs/wasm-parser@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-api-error': 1.11.6 @@ -2167,244 +5970,143 @@ packages: '@webassemblyjs/ieee754': 1.11.6 '@webassemblyjs/leb128': 1.11.6 '@webassemblyjs/utf8': 1.11.6 - dev: false - /@webassemblyjs/wast-printer@1.11.6: - resolution: {integrity: sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==} + '@webassemblyjs/wast-printer@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@xtuc/long': 4.2.2 - dev: false - /@xtuc/ieee754@1.2.0: - resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} - dev: false + '@xtuc/ieee754@1.2.0': {} - /@xtuc/long@4.2.2: - resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} - dev: false + '@xtuc/long@4.2.2': {} - /JSONStream@1.3.5: - resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} - hasBin: true + JSONStream@1.3.5: dependencies: jsonparse: 1.3.1 through: 2.3.8 - dev: false - /abort-controller@3.0.0: - resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} - engines: {node: '>=6.5'} + abort-controller@3.0.0: dependencies: event-target-shim: 5.0.1 - dev: false - /acorn-import-assertions@1.9.0(acorn@8.11.3): - resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} - peerDependencies: - acorn: ^8 + acorn-import-assertions@1.9.0(acorn@8.11.3): dependencies: acorn: 8.11.3 - dev: false - /acorn-jsx@5.3.2(acorn@8.11.2): - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + acorn-jsx@5.3.2(acorn@8.11.2): dependencies: acorn: 8.11.2 - dev: false - /acorn@8.11.2: - resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: false + acorn@8.11.2: {} - /acorn@8.11.3: - resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: false + acorn@8.11.3: {} - /ajv-keywords@3.5.2(ajv@6.12.6): - resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} - peerDependencies: - ajv: ^6.9.1 + ajv-keywords@3.5.2(ajv@6.12.6): dependencies: ajv: 6.12.6 - dev: false - /ajv@6.12.6: - resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + ajv@6.12.6: dependencies: fast-deep-equal: 3.1.3 fast-json-stable-stringify: 2.1.0 json-schema-traverse: 0.4.1 uri-js: 4.4.1 - dev: false - /ajv@8.12.0: - resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + ajv@8.12.0: dependencies: fast-deep-equal: 3.1.3 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 uri-js: 4.4.1 - dev: false - /ansi-align@3.0.1: - resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} + ansi-align@3.0.1: dependencies: string-width: 4.2.3 - dev: false - /ansi-colors@4.1.3: - resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} - engines: {node: '>=6'} - dev: false + ansi-colors@4.1.3: {} - /ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} + ansi-escapes@4.3.2: dependencies: type-fest: 0.21.3 - dev: false - /ansi-escapes@6.2.0: - resolution: {integrity: sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==} - engines: {node: '>=14.16'} + ansi-escapes@6.2.0: dependencies: type-fest: 3.13.1 - dev: false - /ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} - dev: false + ansi-regex@5.0.1: {} - /ansi-regex@6.0.1: - resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} - engines: {node: '>=12'} - dev: false + ansi-regex@6.0.1: {} - /ansi-sequence-parser@1.1.1: - resolution: {integrity: sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==} - dev: false + ansi-sequence-parser@1.1.1: {} - /ansi-styles@3.2.1: - resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} - engines: {node: '>=4'} + ansi-styles@3.2.1: dependencies: color-convert: 1.9.3 - dev: false - /ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} + ansi-styles@4.3.0: dependencies: color-convert: 2.0.1 - dev: false - /ansi-styles@6.2.1: - resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} - engines: {node: '>=12'} - dev: false + ansi-styles@6.2.1: {} - /ansis@2.0.3: - resolution: {integrity: sha512-tcSGX0mhuDFHsgRrT56xnZ9v2X+TOeKhJ75YopI5OBgyT7tGaG5m6BmeC+6KHjiucfBvUHehQMecHbULIAkFPA==} - engines: {node: '>=12.13'} - dev: false + ansis@2.0.3: {} - /any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} - dev: false + any-promise@1.3.0: {} - /anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} + anymatch@3.1.3: dependencies: normalize-path: 3.0.0 picomatch: 2.3.1 - dev: false - /arg@5.0.2: - resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} - dev: false + arg@5.0.2: {} - /argparse@1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + argparse@1.0.10: dependencies: sprintf-js: 1.0.3 - dev: false - /argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - dev: false + argparse@2.0.1: {} - /array-buffer-byte-length@1.0.0: - resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} + array-buffer-byte-length@1.0.0: dependencies: call-bind: 1.0.5 is-array-buffer: 3.0.2 - dev: false - /array-ify@1.0.0: - resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==} - dev: false + array-ify@1.0.0: {} - /array-includes@3.1.7: - resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} - engines: {node: '>= 0.4'} + array-includes@3.1.7: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 get-intrinsic: 1.2.2 is-string: 1.0.7 - dev: false - /array-iterate@2.0.1: - resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==} - dev: false + array-iterate@2.0.1: {} - /array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} - dev: false + array-union@2.1.0: {} - /array.prototype.find@2.2.2: - resolution: {integrity: sha512-DRumkfW97iZGOfn+lIXbkVrXL04sfYKX+EfOodo8XboR5sxPDVvOjZTF/rysusa9lmhmSOeD6Vp6RKQP+eP4Tg==} + array.prototype.find@2.2.2: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 es-shim-unscopables: 1.0.2 - dev: false - /array.prototype.flat@1.3.2: - resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} - engines: {node: '>= 0.4'} + array.prototype.flat@1.3.2: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 es-shim-unscopables: 1.0.2 - dev: false - /array.prototype.flatmap@1.3.2: - resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} - engines: {node: '>= 0.4'} + array.prototype.flatmap@1.3.2: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 es-shim-unscopables: 1.0.2 - dev: false - /arraybuffer.prototype.slice@1.0.2: - resolution: {integrity: sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==} - engines: {node: '>= 0.4'} + arraybuffer.prototype.slice@1.0.2: dependencies: array-buffer-byte-length: 1.0.0 call-bind: 1.0.5 @@ -2413,36 +6115,19 @@ packages: get-intrinsic: 1.2.2 is-array-buffer: 3.0.2 is-shared-array-buffer: 1.0.2 - dev: false - /arrify@1.0.1: - resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} - engines: {node: '>=0.10.0'} - dev: false + arrify@1.0.1: {} - /arrify@3.0.0: - resolution: {integrity: sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==} - engines: {node: '>=12'} - dev: false + arrify@3.0.0: {} - /astring@1.8.6: - resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==} - hasBin: true - dev: false + astring@1.8.6: {} - /astro-expressive-code@0.29.4(astro@4.0.5): - resolution: {integrity: sha512-FoOp0gq+BOss92Tqm1tmUJwVsmCE9odEfura/an27l2tc6LU9Ki2NX3N6TWpvl95NLKQZeFpBl26ZB2yhjrt2Q==} - peerDependencies: - astro: ^3.0.0-beta || ^4.0.0-beta + astro-expressive-code@0.29.4(astro@4.0.5): dependencies: astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) remark-expressive-code: 0.29.4 - dev: false - /astro@4.0.5(@types/node@20.10.4)(typescript@5.3.3): - resolution: {integrity: sha512-OTiTEiXYdXTkVJXNNKIWdYG1z2wpTST+92Qcldm36x91Pe4fKpLxeuRloy5cW175oHi8lvXytgG3Gl3VBP18RQ==} - engines: {node: '>=18.14.1', npm: '>=6.14.0'} - hasBin: true + astro@4.0.5(@types/node@20.10.4)(typescript@5.3.3): dependencies: '@astrojs/compiler': 2.3.2 '@astrojs/internal-helpers': 0.2.1 @@ -2517,19 +6202,10 @@ packages: - supports-color - terser - typescript - dev: false - /atomic-sleep@1.0.0: - resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} - engines: {node: '>=8.0.0'} - dev: false + atomic-sleep@1.0.0: {} - /autoprefixer@10.4.16(postcss@8.4.32): - resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==} - engines: {node: ^10 || ^12 || >=14} - hasBin: true - peerDependencies: - postcss: ^8.1.0 + autoprefixer@10.4.16(postcss@8.4.32): dependencies: browserslist: 4.22.2 caniuse-lite: 1.0.30001570 @@ -2538,85 +6214,50 @@ packages: picocolors: 1.0.0 postcss: 8.4.32 postcss-value-parser: 4.2.0 - dev: false - /available-typed-arrays@1.0.5: - resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} - engines: {node: '>= 0.4'} - dev: false + available-typed-arrays@1.0.5: {} - /b4a@1.6.4: - resolution: {integrity: sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==} - dev: false + b4a@1.6.4: {} - /bail@2.0.2: - resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} - dev: false + bail@2.0.2: {} - /balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - dev: false + balanced-match@1.0.2: {} - /base-64@1.0.0: - resolution: {integrity: sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==} - dev: false + base-64@1.0.0: {} - /base64-js@1.5.1: - resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - dev: false + base64-js@1.5.1: {} - /bcp-47-match@2.0.3: - resolution: {integrity: sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==} - dev: false + bcp-47-match@2.0.3: {} - /bcp-47@2.1.0: - resolution: {integrity: sha512-9IIS3UPrvIa1Ej+lVDdDwO7zLehjqsaByECw0bu2RRGP73jALm6FYbzI5gWbgHLvNdkvfXB5YrSbocZdOS0c0w==} + bcp-47@2.1.0: dependencies: is-alphabetical: 2.0.1 is-alphanumerical: 2.0.1 is-decimal: 2.0.1 - dev: false - /better-path-resolve@1.0.0: - resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} - engines: {node: '>=4'} + better-path-resolve@1.0.0: dependencies: is-windows: 1.0.2 - dev: false - /big-integer@1.6.51: - resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==} - engines: {node: '>=0.6'} - dev: false + big-integer@1.6.51: {} - /binary-extensions@2.2.0: - resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} - engines: {node: '>=8'} - dev: false + binary-extensions@2.2.0: {} - /bl@4.1.0: - resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + bl@4.1.0: dependencies: buffer: 5.7.1 inherits: 2.0.4 readable-stream: 3.6.2 - dev: false - /bl@5.1.0: - resolution: {integrity: sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==} + bl@5.1.0: dependencies: buffer: 6.0.3 inherits: 2.0.4 readable-stream: 3.6.2 - dev: false - /boolbase@1.0.0: - resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} - dev: false + boolbase@1.0.0: {} - /boxen@7.1.1: - resolution: {integrity: sha512-2hCgjEmP8YLWQ130n2FerGv7rYpfBmnmp9Uy2Le1vge6X3gZIfSmEzP5QTDElFxcvVcXlEn8Aq6MU/PZygIOog==} - engines: {node: '>=14.16'} + boxen@7.1.1: dependencies: ansi-align: 3.0.1 camelcase: 7.0.1 @@ -2626,207 +6267,124 @@ packages: type-fest: 2.19.0 widest-line: 4.0.1 wrap-ansi: 8.1.0 - dev: false - /bplist-parser@0.2.0: - resolution: {integrity: sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==} - engines: {node: '>= 5.10.0'} + bplist-parser@0.2.0: dependencies: big-integer: 1.6.51 - dev: false - /brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + brace-expansion@1.1.11: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 - dev: false - /brace-expansion@2.0.1: - resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + brace-expansion@2.0.1: dependencies: balanced-match: 1.0.2 - dev: false - /braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} - engines: {node: '>=8'} + braces@3.0.2: dependencies: fill-range: 7.0.1 - dev: false - /breakword@1.0.6: - resolution: {integrity: sha512-yjxDAYyK/pBvws9H4xKYpLDpYKEH6CzrBPAuXq3x18I+c/2MkVtT3qAr7Oloi6Dss9qNhPVueAAVU1CSeNDIXw==} + breakword@1.0.6: dependencies: wcwidth: 1.0.1 - dev: false - /browserslist@4.22.2: - resolution: {integrity: sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true + browserslist@4.22.2: dependencies: caniuse-lite: 1.0.30001570 electron-to-chromium: 1.4.613 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.2) - dev: false - /browserslist@4.22.3: - resolution: {integrity: sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true + browserslist@4.22.3: dependencies: caniuse-lite: 1.0.30001587 electron-to-chromium: 1.4.667 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.3) - dev: false - /buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} - dev: false + buffer-from@1.1.2: {} - /buffer@5.7.1: - resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} + buffer@5.7.1: dependencies: base64-js: 1.5.1 ieee754: 1.2.1 - dev: false - /buffer@6.0.3: - resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} + buffer@6.0.3: dependencies: base64-js: 1.5.1 ieee754: 1.2.1 - dev: false - /builtin-modules@3.3.0: - resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} - engines: {node: '>=6'} - dev: false + builtin-modules@3.3.0: {} - /builtins@5.0.1: - resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} + builtins@5.0.1: dependencies: semver: 7.5.4 - dev: false - /bun-types@1.0.26: - resolution: {integrity: sha512-VcSj+SCaWIcMb0uSGIAtr8P92zq9q+unavcQmx27fk6HulCthXHBVrdGuXxAZbFtv7bHVjizRzR2mk9r/U8Nkg==} + bun-types@1.0.26: dependencies: '@types/node': 20.11.17 '@types/ws': 8.5.10 - dev: true - /bun-types@1.1.8: - resolution: {integrity: sha512-dwhfuUKSGK8hm5Llcvb5+ejRh+4mIt8ibObJVKhZBsi0ScpXmt+AlaS1eDW6uRXCHj084Qt0kIqAJ08/7ZGC9Q==} + bun-types@1.1.8: dependencies: '@types/node': 20.12.14 '@types/ws': 8.5.10 - dev: true - /bundle-name@3.0.0: - resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} - engines: {node: '>=12'} + bundle-name@3.0.0: dependencies: run-applescript: 5.0.0 - dev: false - /call-bind@1.0.5: - resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} + call-bind@1.0.5: dependencies: function-bind: 1.1.2 get-intrinsic: 1.2.2 set-function-length: 1.1.1 - dev: false - /callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - dev: false + callsites@3.1.0: {} - /camelcase-css@2.0.1: - resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} - engines: {node: '>= 6'} - dev: false + camelcase-css@2.0.1: {} - /camelcase-keys@6.2.2: - resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} - engines: {node: '>=8'} + camelcase-keys@6.2.2: dependencies: camelcase: 5.3.1 map-obj: 4.3.0 quick-lru: 4.0.1 - dev: false - /camelcase@5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} - dev: false + camelcase@5.3.1: {} - /camelcase@7.0.1: - resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} - engines: {node: '>=14.16'} - dev: false + camelcase@7.0.1: {} - /caniuse-lite@1.0.30001570: - resolution: {integrity: sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==} - dev: false + caniuse-lite@1.0.30001570: {} - /caniuse-lite@1.0.30001587: - resolution: {integrity: sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==} - dev: false + caniuse-lite@1.0.30001587: {} - /ccount@2.0.1: - resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} - dev: false + ccount@2.0.1: {} - /chalk@2.4.2: - resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} - engines: {node: '>=4'} + chalk@2.4.2: dependencies: ansi-styles: 3.2.1 escape-string-regexp: 1.0.5 supports-color: 5.5.0 - dev: false - /chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} + chalk@4.1.2: dependencies: ansi-styles: 4.3.0 supports-color: 7.2.0 - dev: false - /chalk@5.3.0: - resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} - engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} - dev: false + chalk@5.3.0: {} - /character-entities-html4@2.1.0: - resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} - dev: false + character-entities-html4@2.1.0: {} - /character-entities-legacy@3.0.0: - resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==} - dev: false + character-entities-legacy@3.0.0: {} - /character-entities@2.0.2: - resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} - dev: false + character-entities@2.0.2: {} - /character-reference-invalid@2.0.1: - resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==} - dev: false + character-reference-invalid@2.0.1: {} - /chardet@0.7.0: - resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} - dev: false + chardet@0.7.0: {} - /chokidar@3.5.3: - resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} - engines: {node: '>= 8.10.0'} + chokidar@3.5.3: dependencies: anymatch: 3.1.3 braces: 3.0.2 @@ -2837,616 +6395,332 @@ packages: readdirp: 3.6.0 optionalDependencies: fsevents: 2.3.3 - dev: false - /chownr@1.1.4: - resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} - dev: false + chownr@1.1.4: {} - /chrome-trace-event@1.0.3: - resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} - engines: {node: '>=6.0'} - dev: false + chrome-trace-event@1.0.3: {} - /ci-info@3.9.0: - resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} - engines: {node: '>=8'} - dev: false + ci-info@3.9.0: {} - /ci-info@4.0.0: - resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==} - engines: {node: '>=8'} - dev: false + ci-info@4.0.0: {} - /clean-regexp@1.0.0: - resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} - engines: {node: '>=4'} + clean-regexp@1.0.0: dependencies: escape-string-regexp: 1.0.5 - dev: false - /cli-boxes@3.0.0: - resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} - engines: {node: '>=10'} - dev: false + cli-boxes@3.0.0: {} - /cli-cursor@4.0.0: - resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + cli-cursor@4.0.0: dependencies: restore-cursor: 4.0.0 - dev: false - /cli-spinners@2.9.2: - resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} - engines: {node: '>=6'} - dev: false + cli-spinners@2.9.2: {} - /cli-truncate@4.0.0: - resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==} - engines: {node: '>=18'} + cli-truncate@4.0.0: dependencies: slice-ansi: 5.0.0 string-width: 7.1.0 - dev: false - /cliui@6.0.0: - resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} + cliui@6.0.0: dependencies: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 6.2.0 - dev: false - /cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} + cliui@8.0.1: dependencies: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 7.0.0 - dev: false - /clone@1.0.4: - resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} - engines: {node: '>=0.8'} - dev: false + clone@1.0.4: {} - /clsx@2.0.0: - resolution: {integrity: sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==} - engines: {node: '>=6'} - dev: false + clsx@2.0.0: {} - /collapse-white-space@2.1.0: - resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==} - dev: false + collapse-white-space@2.1.0: {} - /color-convert@1.9.3: - resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + color-convert@1.9.3: dependencies: color-name: 1.1.3 - dev: false - /color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} + color-convert@2.0.1: dependencies: color-name: 1.1.4 - dev: false - /color-name@1.1.3: - resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} - dev: false + color-name@1.1.3: {} - /color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - dev: false + color-name@1.1.4: {} - /color-string@1.9.1: - resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} + color-string@1.9.1: dependencies: color-name: 1.1.4 simple-swizzle: 0.2.2 - dev: false - /color@4.2.3: - resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} - engines: {node: '>=12.5.0'} + color@4.2.3: dependencies: color-convert: 2.0.1 color-string: 1.9.1 - dev: false - /colorette@2.0.20: - resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} - dev: false + colorette@2.0.20: {} - /comma-separated-tokens@2.0.3: - resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} - dev: false + comma-separated-tokens@2.0.3: {} - /commander@11.1.0: - resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==} - engines: {node: '>=16'} - dev: false + commander@11.1.0: {} - /commander@2.20.3: - resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} - dev: false + commander@2.20.3: {} - /commander@4.1.1: - resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} - engines: {node: '>= 6'} - dev: false + commander@4.1.1: {} - /common-ancestor-path@1.0.1: - resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==} - dev: false + common-ancestor-path@1.0.1: {} - /common-path-prefix@3.0.0: - resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==} - dev: false + common-path-prefix@3.0.0: {} - /compare-func@2.0.0: - resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} + compare-func@2.0.0: dependencies: array-ify: 1.0.0 dot-prop: 5.3.0 - dev: false - /concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - dev: false + concat-map@0.0.1: {} - /confusing-browser-globals@1.0.11: - resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==} - dev: false + confusing-browser-globals@1.0.11: {} - /conventional-changelog-angular@7.0.0: - resolution: {integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==} - engines: {node: '>=16'} + conventional-changelog-angular@7.0.0: dependencies: compare-func: 2.0.0 - dev: false - /conventional-changelog-conventionalcommits@7.0.2: - resolution: {integrity: sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==} - engines: {node: '>=16'} + conventional-changelog-conventionalcommits@7.0.2: dependencies: compare-func: 2.0.0 - dev: false - /conventional-commits-parser@5.0.0: - resolution: {integrity: sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==} - engines: {node: '>=16'} - hasBin: true + conventional-commits-parser@5.0.0: dependencies: JSONStream: 1.3.5 is-text-path: 2.0.0 meow: 12.1.1 split2: 4.2.0 - dev: false - /convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - dev: false + convert-source-map@2.0.0: {} - /cookie@0.6.0: - resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} - engines: {node: '>= 0.6'} - dev: false + cookie@0.6.0: {} - /cosmiconfig-typescript-loader@5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6)(typescript@5.3.3): - resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} - engines: {node: '>=v16'} - peerDependencies: - '@types/node': '*' - cosmiconfig: '>=8.2' - typescript: '>=4' + cosmiconfig-typescript-loader@5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6)(typescript@5.3.3): dependencies: '@types/node': 20.10.4 cosmiconfig: 8.3.6(typescript@5.3.3) jiti: 1.21.0 typescript: 5.3.3 - dev: false - /cosmiconfig@8.3.6(typescript@5.3.3): - resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} - engines: {node: '>=14'} - peerDependencies: - typescript: '>=4.9.5' - peerDependenciesMeta: - typescript: - optional: true + cosmiconfig@8.3.6(typescript@5.3.3): dependencies: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 typescript: 5.3.3 - dev: false - /cosmiconfig@9.0.0(typescript@5.3.3): - resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} - engines: {node: '>=14'} - peerDependencies: - typescript: '>=4.9.5' - peerDependenciesMeta: - typescript: - optional: true + cosmiconfig@9.0.0(typescript@5.3.3): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 typescript: 5.3.3 - dev: false - /cross-spawn@5.1.0: - resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} + cross-spawn@5.1.0: dependencies: lru-cache: 4.1.5 shebang-command: 1.2.0 which: 1.3.1 - dev: false - /cross-spawn@6.0.5: - resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} - engines: {node: '>=4.8'} + cross-spawn@6.0.5: dependencies: nice-try: 1.0.5 path-key: 2.0.1 semver: 5.7.2 shebang-command: 1.2.0 which: 1.3.1 - dev: false - /cross-spawn@7.0.3: - resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} - engines: {node: '>= 8'} + cross-spawn@7.0.3: dependencies: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 - dev: false - /css-selector-parser@3.0.3: - resolution: {integrity: sha512-HAcgYSBFKo1jnglINdHeBPIscPOCOh8vCDCaOV5xkwMSlGPEnfdynxBuWkgZMwXltMKgFbDcr4EPmDpSWi34MA==} - dev: false + css-selector-parser@3.0.3: {} - /cssesc@3.0.0: - resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} - engines: {node: '>=4'} - hasBin: true - dev: false + cssesc@3.0.0: {} - /csv-generate@3.4.3: - resolution: {integrity: sha512-w/T+rqR0vwvHqWs/1ZyMDWtHHSJaN06klRqJXBEpDJaM/+dZkso0OKh1VcuuYvK3XM53KysVNq8Ko/epCK8wOw==} - dev: false + csv-generate@3.4.3: {} - /csv-parse@4.16.3: - resolution: {integrity: sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==} - dev: false + csv-parse@4.16.3: {} - /csv-stringify@5.6.5: - resolution: {integrity: sha512-PjiQ659aQ+fUTQqSrd1XEDnOr52jh30RBurfzkscaE2tPaFsDH5wOAHJiw8XAHphRknCwMUE9KRayc4K/NbO8A==} - dev: false + csv-stringify@5.6.5: {} - /csv@5.5.3: - resolution: {integrity: sha512-QTaY0XjjhTQOdguARF0lGKm5/mEq9PD9/VhZZegHDIBq2tQwgNpHc3dneD4mGo2iJs+fTKv5Bp0fZ+BRuY3Z0g==} - engines: {node: '>= 0.1.90'} + csv@5.5.3: dependencies: csv-generate: 3.4.3 csv-parse: 4.16.3 csv-stringify: 5.6.5 stream-transform: 2.1.3 - dev: false - /dargs@7.0.0: - resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==} - engines: {node: '>=8'} - dev: false + dargs@7.0.0: {} - /debug@2.6.9: - resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true + debug@2.6.9: dependencies: ms: 2.0.0 - dev: false - /debug@3.2.7: - resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true + debug@3.2.7: dependencies: ms: 2.1.2 - dev: false - /debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true + debug@4.3.4: dependencies: ms: 2.1.2 - dev: false - /decamelize-keys@1.1.1: - resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} - engines: {node: '>=0.10.0'} + decamelize-keys@1.1.1: dependencies: decamelize: 1.2.0 map-obj: 1.0.1 - dev: false - /decamelize@1.2.0: - resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} - engines: {node: '>=0.10.0'} - dev: false + decamelize@1.2.0: {} - /decode-named-character-reference@1.0.2: - resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} + decode-named-character-reference@1.0.2: dependencies: character-entities: 2.0.2 - dev: false - /decompress-response@6.0.0: - resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} - engines: {node: '>=10'} + decompress-response@6.0.0: dependencies: mimic-response: 3.1.0 - dev: false - /deep-extend@0.6.0: - resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} - engines: {node: '>=4.0.0'} - dev: false + deep-extend@0.6.0: {} - /deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - dev: false + deep-is@0.1.4: {} - /default-browser-id@3.0.0: - resolution: {integrity: sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==} - engines: {node: '>=12'} + default-browser-id@3.0.0: dependencies: bplist-parser: 0.2.0 untildify: 4.0.0 - dev: false - /default-browser@4.0.0: - resolution: {integrity: sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==} - engines: {node: '>=14.16'} + default-browser@4.0.0: dependencies: bundle-name: 3.0.0 default-browser-id: 3.0.0 execa: 7.2.0 titleize: 3.0.0 - dev: false - /defaults@1.0.4: - resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + defaults@1.0.4: dependencies: clone: 1.0.4 - dev: false - /define-data-property@1.1.1: - resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} - engines: {node: '>= 0.4'} + define-data-property@1.1.1: dependencies: get-intrinsic: 1.2.2 gopd: 1.0.1 has-property-descriptors: 1.0.1 - dev: false - /define-lazy-prop@2.0.0: - resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} - engines: {node: '>=8'} - dev: false + define-lazy-prop@2.0.0: {} - /define-lazy-prop@3.0.0: - resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==} - engines: {node: '>=12'} - dev: false + define-lazy-prop@3.0.0: {} - /define-properties@1.2.1: - resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} - engines: {node: '>= 0.4'} + define-properties@1.2.1: dependencies: define-data-property: 1.1.1 has-property-descriptors: 1.0.1 object-keys: 1.1.1 - dev: false - /denque@2.1.0: - resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} - engines: {node: '>=0.10'} - dev: false + denque@2.1.0: {} - /dequal@2.0.3: - resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} - engines: {node: '>=6'} - dev: false + dequal@2.0.3: {} - /detect-indent@6.1.0: - resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} - engines: {node: '>=8'} - dev: false + detect-indent@6.1.0: {} - /detect-libc@2.0.2: - resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} - engines: {node: '>=8'} - dev: false + detect-libc@2.0.2: {} - /deterministic-object-hash@2.0.2: - resolution: {integrity: sha512-KxektNH63SrbfUyDiwXqRb1rLwKt33AmMv+5Nhsw1kqZ13SJBRTgZHtGbE+hH3a1mVW1cz+4pqSWVPAtLVXTzQ==} - engines: {node: '>=18'} + deterministic-object-hash@2.0.2: dependencies: base-64: 1.0.0 - dev: false - /devalue@4.3.2: - resolution: {integrity: sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg==} - dev: false + devalue@4.3.2: {} - /devlop@1.1.0: - resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + devlop@1.1.0: dependencies: dequal: 2.0.3 - dev: false - /didyoumean@1.2.2: - resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} - dev: false + didyoumean@1.2.2: {} - /diff@5.1.0: - resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} - engines: {node: '>=0.3.1'} - dev: false + diff@5.1.0: {} - /dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} + dir-glob@3.0.1: dependencies: path-type: 4.0.0 - dev: false - /direction@2.0.1: - resolution: {integrity: sha512-9S6m9Sukh1cZNknO1CWAr2QAWsbKLafQiyM5gZ7VgXHeuaoUwffKN4q6NC4A/Mf9iiPlOXQEKW/Mv/mh9/3YFA==} - hasBin: true - dev: false + direction@2.0.1: {} - /dlv@1.1.3: - resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} - dev: false + dlv@1.1.3: {} - /doctrine@2.1.0: - resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} - engines: {node: '>=0.10.0'} + doctrine@2.1.0: dependencies: esutils: 2.0.3 - dev: false - /doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} + doctrine@3.0.0: dependencies: esutils: 2.0.3 - dev: false - /dot-prop@5.3.0: - resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} - engines: {node: '>=8'} + dot-prop@5.3.0: dependencies: is-obj: 2.0.0 - dev: false - /dset@3.1.3: - resolution: {integrity: sha512-20TuZZHCEZ2O71q9/+8BwKwZ0QtD9D8ObhrihJPr+vLLYlSuAU3/zL4cSlgbfeoGHTjCSJBa7NGcrF9/Bx/WJQ==} - engines: {node: '>=4'} - dev: false + dset@3.1.3: {} - /eastasianwidth@0.2.0: - resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - dev: false + eastasianwidth@0.2.0: {} - /electron-to-chromium@1.4.613: - resolution: {integrity: sha512-r4x5+FowKG6q+/Wj0W9nidx7QO31BJwmR2uEo+Qh3YLGQ8SbBAFuDFpTxzly/I2gsbrFwBuIjrMp423L3O5U3w==} - dev: false + electron-to-chromium@1.4.613: {} - /electron-to-chromium@1.4.667: - resolution: {integrity: sha512-66L3pLlWhTNVUhnmSA5+qDM3fwnXsM6KAqE36e2w4KN0g6pkEtlT5bs41FQtQwVwKnfhNBXiWRLPs30HSxd7Kw==} - dev: false + electron-to-chromium@1.4.667: {} - /elegant-spinner@3.0.0: - resolution: {integrity: sha512-nWUuor3FWTGYAch7SY0unb5qLzs7eAc24ic9PBh+eQctFNQ4IDWJqBpBgsL4SrrGHHN0mJoL7CpWZby5t2KjFg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false + elegant-spinner@3.0.0: {} - /emoji-regex@10.3.0: - resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} - dev: false + emoji-regex@10.3.0: {} - /emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - dev: false + emoji-regex@8.0.0: {} - /emoji-regex@9.2.2: - resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - dev: false + emoji-regex@9.2.2: {} - /end-of-stream@1.4.4: - resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} + end-of-stream@1.4.4: dependencies: once: 1.4.0 - dev: false - /enhance-visitors@1.0.0: - resolution: {integrity: sha512-+29eJLiUixTEDRaZ35Vu8jP3gPLNcQQkQkOQjLp2X+6cZGGPDD/uasbFzvLsJKnGZnvmyZ0srxudwOtskHeIDA==} - engines: {node: '>=4.0.0'} + enhance-visitors@1.0.0: dependencies: lodash: 4.17.21 - dev: false - /enhanced-resolve@0.9.1: - resolution: {integrity: sha512-kxpoMgrdtkXZ5h0SeraBS1iRntpTpQ3R8ussdb38+UAFnMGX5DDyJXePm+OCHOcoXvHDw7mc2erbJBpDnl7TPw==} - engines: {node: '>=0.6'} + enhanced-resolve@0.9.1: dependencies: graceful-fs: 4.2.11 memory-fs: 0.2.0 tapable: 0.1.10 - dev: false - /enhanced-resolve@5.15.0: - resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==} - engines: {node: '>=10.13.0'} + enhanced-resolve@5.15.0: dependencies: graceful-fs: 4.2.11 tapable: 2.2.1 - dev: false - /enquirer@2.4.1: - resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} - engines: {node: '>=8.6'} + enquirer@2.4.1: dependencies: ansi-colors: 4.1.3 strip-ansi: 6.0.1 - dev: false - /entities@4.5.0: - resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} - engines: {node: '>=0.12'} - dev: false + entities@4.5.0: {} - /env-editor@1.1.0: - resolution: {integrity: sha512-7AXskzN6T7Q9TFcKAGJprUbpQa4i1VsAetO9rdBqbGMGlragTziBgWt4pVYJMBWHQlLoX0buy6WFikzPH4Qjpw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false + env-editor@1.1.0: {} - /env-paths@2.2.1: - resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} - engines: {node: '>=6'} - dev: false + env-paths@2.2.1: {} - /error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + error-ex@1.3.2: dependencies: is-arrayish: 0.2.1 - dev: false - /es-abstract@1.22.3: - resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} - engines: {node: '>= 0.4'} + es-abstract@1.22.3: dependencies: array-buffer-byte-length: 1.0.0 arraybuffer.prototype.slice: 1.0.2 @@ -3487,41 +6761,26 @@ packages: typed-array-length: 1.0.4 unbox-primitive: 1.0.2 which-typed-array: 1.1.13 - dev: false - /es-module-lexer@1.4.1: - resolution: {integrity: sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==} - dev: false + es-module-lexer@1.4.1: {} - /es-set-tostringtag@2.0.2: - resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} - engines: {node: '>= 0.4'} + es-set-tostringtag@2.0.2: dependencies: get-intrinsic: 1.2.2 has-tostringtag: 1.0.0 hasown: 2.0.0 - dev: false - /es-shim-unscopables@1.0.2: - resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} + es-shim-unscopables@1.0.2: dependencies: hasown: 2.0.1 - dev: false - /es-to-primitive@1.2.1: - resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} - engines: {node: '>= 0.4'} + es-to-primitive@1.2.1: dependencies: is-callable: 1.2.7 is-date-object: 1.0.5 is-symbol: 1.0.4 - dev: false - /esbuild@0.19.11: - resolution: {integrity: sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true + esbuild@0.19.11: optionalDependencies: '@esbuild/aix-ppc64': 0.19.11 '@esbuild/android-arm': 0.19.11 @@ -3546,13 +6805,8 @@ packages: '@esbuild/win32-arm64': 0.19.11 '@esbuild/win32-ia32': 0.19.11 '@esbuild/win32-x64': 0.19.11 - dev: false - /esbuild@0.19.9: - resolution: {integrity: sha512-U9CHtKSy+EpPsEBa+/A2gMs/h3ylBC0H0KSqIg7tpztHerLi6nrrcoUJAkNCEPumx8yJ+Byic4BVwHgRbN0TBg==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true + esbuild@0.19.9: optionalDependencies: '@esbuild/android-arm': 0.19.9 '@esbuild/android-arm64': 0.19.9 @@ -3576,70 +6830,34 @@ packages: '@esbuild/win32-arm64': 0.19.9 '@esbuild/win32-ia32': 0.19.9 '@esbuild/win32-x64': 0.19.9 - dev: false - /escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} - engines: {node: '>=6'} - dev: false + escalade@3.1.1: {} - /escalade@3.1.2: - resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} - engines: {node: '>=6'} - dev: false + escalade@3.1.2: {} - /escape-string-regexp@1.0.5: - resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} - engines: {node: '>=0.8.0'} - dev: false + escape-string-regexp@1.0.5: {} - /escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} - dev: false + escape-string-regexp@4.0.0: {} - /escape-string-regexp@5.0.0: - resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} - engines: {node: '>=12'} - dev: false + escape-string-regexp@5.0.0: {} - /eslint-config-prettier@8.10.0(eslint@8.53.0): - resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==} - hasBin: true - peerDependencies: - eslint: '>=7.0.0' + eslint-config-prettier@8.10.0(eslint@8.53.0): dependencies: eslint: 8.53.0 - dev: false - /eslint-config-xo-typescript@1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3): - resolution: {integrity: sha512-vPQssnRSUgBFOEfB/KY12CXwltwFSn4RSCfa+w7gjBC2PFQ7Yfgmyei+1XUZ3K+8LRGef2NMJUcxts7PldhDjg==} - engines: {node: '>=16'} - peerDependencies: - '@typescript-eslint/eslint-plugin': '>=6.0.0' - '@typescript-eslint/parser': '>=6.0.0' - eslint: '>=8.0.0' - typescript: '>=4.7' + eslint-config-xo-typescript@1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3): dependencies: '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) eslint: 8.53.0 typescript: 5.3.3 - dev: false - /eslint-config-xo@0.43.1(eslint@8.53.0): - resolution: {integrity: sha512-azv1L2PysRA0NkZOgbndUpN+581L7wPqkgJOgxxw3hxwXAbJgD6Hqb/SjHRiACifXt/AvxCzE/jIKFAlI7XjvQ==} - engines: {node: '>=12'} - peerDependencies: - eslint: '>=8.27.0' + eslint-config-xo@0.43.1(eslint@8.53.0): dependencies: confusing-browser-globals: 1.0.11 eslint: 8.53.0 - dev: false - /eslint-formatter-pretty@5.0.0: - resolution: {integrity: sha512-Uick451FoL22/wXqyScX3inW8ZlD/GQO7eFXj3bqb6N/ZtuuF00/CwSNIKLbFCJPrX5V4EdQBSgJ/UVnmLRnug==} - engines: {node: '>=14.16'} + eslint-formatter-pretty@5.0.0: dependencies: '@types/eslint': 8.44.7 ansi-escapes: 4.3.2 @@ -3649,24 +6867,16 @@ packages: plur: 4.0.0 string-width: 4.2.3 supports-hyperlinks: 2.3.0 - dev: false - /eslint-import-resolver-node@0.3.9: - resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} + eslint-import-resolver-node@0.3.9: dependencies: debug: 3.2.7 is-core-module: 2.13.1 resolve: 1.22.8 transitivePeerDependencies: - supports-color - dev: false - /eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1): - resolution: {integrity: sha512-Y7WIaXWV+Q21Rz/PJgUxiW/FTBOWmU8NTLdz+nz9mMoiz5vAev/fOaQxwD7qRzTfE3HSm1qsxZ5uRd7eX+VEtA==} - engines: {node: '>= 6'} - peerDependencies: - eslint-plugin-import: '>=1.4.0' - webpack: '>=1.11.0' + eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1): dependencies: array.prototype.find: 2.2.2 debug: 3.2.7 @@ -3683,28 +6893,8 @@ packages: webpack: 5.90.1 transitivePeerDependencies: - supports-color - dev: false - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - eslint: - optional: true - eslint-import-resolver-node: - optional: true - eslint-import-resolver-typescript: - optional: true - eslint-import-resolver-webpack: - optional: true + eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0): dependencies: '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) debug: 3.2.7 @@ -3713,13 +6903,8 @@ packages: eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) transitivePeerDependencies: - supports-color - dev: false - /eslint-plugin-ava@14.0.0(eslint@8.53.0): - resolution: {integrity: sha512-XmKT6hppaipwwnLVwwvQliSU6AF1QMHiNoLD5JQfzhUhf0jY7CO0O624fQrE+Y/fTb9vbW8r77nKf7M/oHulxw==} - engines: {node: '>=14.17 <15 || >=16.4'} - peerDependencies: - eslint: '>=8.26.0' + eslint-plugin-ava@14.0.0(eslint@8.53.0): dependencies: enhance-visitors: 1.0.0 eslint: 8.53.0 @@ -3730,39 +6915,20 @@ packages: micro-spelling-correcter: 1.1.1 pkg-dir: 5.0.0 resolve-from: 5.0.0 - dev: false - /eslint-plugin-es-x@7.3.0(eslint@8.53.0): - resolution: {integrity: sha512-W9zIs+k00I/I13+Bdkl/zG1MEO07G97XjUSQuH117w620SJ6bHtLUmoMvkGA2oYnI/gNdr+G7BONLyYnFaLLEQ==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - eslint: '>=8' + eslint-plugin-es-x@7.3.0(eslint@8.53.0): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0) '@eslint-community/regexpp': 4.10.0 eslint: 8.53.0 - dev: false - /eslint-plugin-eslint-comments@3.2.0(eslint@8.53.0): - resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} - engines: {node: '>=6.5.0'} - peerDependencies: - eslint: '>=4.19.1' + eslint-plugin-eslint-comments@3.2.0(eslint@8.53.0): dependencies: escape-string-regexp: 1.0.5 eslint: 8.53.0 ignore: 5.2.4 - dev: false - /eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0): - resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true + eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0): dependencies: '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) array-includes: 3.1.7 @@ -3785,13 +6951,8 @@ packages: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - dev: false - /eslint-plugin-n@16.3.0(eslint@8.53.0): - resolution: {integrity: sha512-/XZLH5CUXGK3laz3xYFNza8ZxLCq8ZNW6MsVw5z3d5hc2AwZzi0fPiySFZHQTdVDOHGs2cGv91aqzWmgBdq2gQ==} - engines: {node: '>=16.0.0'} - peerDependencies: - eslint: '>=7.0.0' + eslint-plugin-n@16.3.0(eslint@8.53.0): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0) builtins: 5.0.1 @@ -3803,44 +6964,23 @@ packages: minimatch: 3.1.2 resolve: 1.22.8 semver: 7.5.4 - dev: false - /eslint-plugin-no-use-extend-native@0.5.0: - resolution: {integrity: sha512-dBNjs8hor8rJgeXLH4HTut5eD3RGWf9JUsadIfuL7UosVQ/dnvOKwxEcRrXrFxrMZ8llUVWT+hOimxJABsAUzQ==} - engines: {node: '>=6.0.0'} + eslint-plugin-no-use-extend-native@0.5.0: 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 - dev: false - /eslint-plugin-prettier@5.0.1(eslint-config-prettier@8.10.0)(eslint@8.53.0)(prettier@3.1.1): - resolution: {integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - '@types/eslint': '>=8.0.0' - eslint: '>=8.0.0' - eslint-config-prettier: '*' - prettier: '>=3.0.0' - peerDependenciesMeta: - '@types/eslint': - optional: true - eslint-config-prettier: - optional: true + eslint-plugin-prettier@5.0.1(eslint-config-prettier@8.10.0)(eslint@8.53.0)(prettier@3.1.1): dependencies: eslint: 8.53.0 eslint-config-prettier: 8.10.0(eslint@8.53.0) prettier: 3.1.1 prettier-linter-helpers: 1.0.0 synckit: 0.8.5 - dev: false - /eslint-plugin-unicorn@48.0.1(eslint@8.53.0): - resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} - engines: {node: '>=16'} - peerDependencies: - eslint: '>=8.44.0' + eslint-plugin-unicorn@48.0.1(eslint@8.53.0): dependencies: '@babel/helper-validator-identifier': 7.22.20 '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0) @@ -3858,52 +6998,29 @@ packages: regjsparser: 0.10.0 semver: 7.5.4 strip-indent: 3.0.0 - dev: false - /eslint-rule-docs@1.1.235: - resolution: {integrity: sha512-+TQ+x4JdTnDoFEXXb3fDvfGOwnyNV7duH8fXWTPD1ieaBmB8omj7Gw/pMBBu4uI2uJCCU8APDaQJzWuXnTsH4A==} - dev: false + eslint-rule-docs@1.1.235: {} - /eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} + eslint-scope@5.1.1: dependencies: esrecurse: 4.3.0 estraverse: 4.3.0 - dev: false - /eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-scope@7.2.2: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 - dev: false - /eslint-utils@3.0.0(eslint@8.53.0): - resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} - engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} - peerDependencies: - eslint: '>=5' + eslint-utils@3.0.0(eslint@8.53.0): dependencies: eslint: 8.53.0 eslint-visitor-keys: 2.1.0 - dev: false - /eslint-visitor-keys@2.1.0: - resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} - engines: {node: '>=10'} - dev: false + eslint-visitor-keys@2.1.0: {} - /eslint-visitor-keys@3.4.3: - resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: false + eslint-visitor-keys@3.4.3: {} - /eslint@8.53.0: - resolution: {integrity: sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - hasBin: true + eslint@8.53.0: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0) '@eslint-community/regexpp': 4.10.0 @@ -3945,120 +7062,71 @@ packages: text-table: 0.2.0 transitivePeerDependencies: - supports-color - dev: false - /esm-utils@4.2.1: - resolution: {integrity: sha512-a7t8pDmZ5MeYfo2pM5EcqeU+BqKobUFKnWkM17JOhTlR88OSosLa9Ak4bgm+htoF15HRf7tfrXNR62UogmIODg==} + esm-utils@4.2.1: dependencies: import-meta-resolve: 4.0.0 url-or-path: 2.1.0 - dev: false - /espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + espree@9.6.1: dependencies: acorn: 8.11.2 acorn-jsx: 5.3.2(acorn@8.11.2) eslint-visitor-keys: 3.4.3 - dev: false - /esprima@4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} - hasBin: true - dev: false + esprima@4.0.1: {} - /espurify@2.1.1: - resolution: {integrity: sha512-zttWvnkhcDyGOhSH4vO2qCBILpdCMv/MX8lp4cqgRkQoDRGK2oZxi2GfWhlP2dIXmk7BaKeOTuzbHhyC68o8XQ==} - dev: false + espurify@2.1.1: {} - /esquery@1.5.0: - resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} - engines: {node: '>=0.10'} + esquery@1.5.0: dependencies: estraverse: 5.3.0 - dev: false - /esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} + esrecurse@4.3.0: dependencies: estraverse: 5.3.0 - dev: false - /estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - dev: false + estraverse@4.3.0: {} - /estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} - dev: false + estraverse@5.3.0: {} - /estree-util-attach-comments@3.0.0: - resolution: {integrity: sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==} + estree-util-attach-comments@3.0.0: dependencies: '@types/estree': 1.0.5 - dev: false - /estree-util-build-jsx@3.0.1: - resolution: {integrity: sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ==} + estree-util-build-jsx@3.0.1: dependencies: '@types/estree-jsx': 1.0.3 devlop: 1.1.0 estree-util-is-identifier-name: 3.0.0 estree-walker: 3.0.3 - dev: false - /estree-util-is-identifier-name@3.0.0: - resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} - dev: false + estree-util-is-identifier-name@3.0.0: {} - /estree-util-to-js@2.0.0: - resolution: {integrity: sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==} + estree-util-to-js@2.0.0: dependencies: '@types/estree-jsx': 1.0.3 astring: 1.8.6 source-map: 0.7.4 - dev: false - /estree-util-visit@2.0.0: - resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==} + estree-util-visit@2.0.0: dependencies: '@types/estree-jsx': 1.0.3 '@types/unist': 3.0.2 - dev: false - /estree-walker@3.0.3: - resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + estree-walker@3.0.3: dependencies: '@types/estree': 1.0.5 - dev: false - /esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} - dev: false + esutils@2.0.3: {} - /event-target-shim@5.0.1: - resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} - engines: {node: '>=6'} - dev: false + event-target-shim@5.0.1: {} - /eventemitter3@5.0.1: - resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} - dev: false + eventemitter3@5.0.1: {} - /events@3.3.0: - resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} - engines: {node: '>=0.8.x'} - dev: false + events@3.3.0: {} - /execa@5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} - engines: {node: '>=10'} + execa@5.1.1: dependencies: cross-spawn: 7.0.3 get-stream: 6.0.1 @@ -4069,11 +7137,8 @@ packages: onetime: 5.1.2 signal-exit: 3.0.7 strip-final-newline: 2.0.0 - dev: false - /execa@7.2.0: - resolution: {integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==} - engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0} + execa@7.2.0: dependencies: cross-spawn: 7.0.3 get-stream: 6.0.1 @@ -4084,11 +7149,8 @@ packages: onetime: 6.0.0 signal-exit: 3.0.7 strip-final-newline: 3.0.0 - dev: false - /execa@8.0.1: - resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} - engines: {node: '>=16.17'} + execa@8.0.1: dependencies: cross-spawn: 7.0.3 get-stream: 8.0.1 @@ -4099,356 +7161,209 @@ packages: onetime: 6.0.0 signal-exit: 4.1.0 strip-final-newline: 3.0.0 - dev: false - /expand-template@2.0.3: - resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} - engines: {node: '>=6'} - dev: false + expand-template@2.0.3: {} - /expressive-code@0.29.4: - resolution: {integrity: sha512-MA0cdWkFsIPQ/DAiPgL49y1mZiOXOuxiBXlZ28SrtItNeoh3/NwUhZ21z5BwlaC7b6nkXfkI4E+HWguuIpEhSA==} + expressive-code@0.29.4: dependencies: '@expressive-code/core': 0.29.4 '@expressive-code/plugin-frames': 0.29.4 '@expressive-code/plugin-shiki': 0.29.4 '@expressive-code/plugin-text-markers': 0.29.4 - dev: false - /extend-shallow@2.0.1: - resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} - engines: {node: '>=0.10.0'} + extend-shallow@2.0.1: dependencies: is-extendable: 0.1.1 - dev: false - /extend@3.0.2: - resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} - dev: false + extend@3.0.2: {} - /extendable-error@0.1.7: - resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} - dev: false + extendable-error@0.1.7: {} - /external-editor@3.1.0: - resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} - engines: {node: '>=4'} + external-editor@3.1.0: dependencies: chardet: 0.7.0 iconv-lite: 0.4.24 tmp: 0.0.33 - dev: false - /fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - dev: false + fast-deep-equal@3.1.3: {} - /fast-diff@1.3.0: - resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} - dev: false + fast-diff@1.3.0: {} - /fast-fifo@1.3.2: - resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} - dev: false + fast-fifo@1.3.2: {} - /fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} + fast-glob@3.3.2: dependencies: '@nodelib/fs.stat': 2.0.5 '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 micromatch: 4.0.5 - dev: false - /fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - dev: false + fast-json-stable-stringify@2.1.0: {} - /fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - dev: false + fast-levenshtein@2.0.6: {} - /fast-redact@3.3.0: - resolution: {integrity: sha512-6T5V1QK1u4oF+ATxs1lWUmlEk6P2T9HqJG3e2DnHOdVgZy2rFJBoEnrIedcTXlkAHU/zKC+7KETJ+KGGKwxgMQ==} - engines: {node: '>=6'} - dev: false + fast-redact@3.3.0: {} - /fastq@1.15.0: - resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} + fastq@1.15.0: dependencies: reusify: 1.0.4 - dev: false - /figures@6.0.1: - resolution: {integrity: sha512-0oY/olScYD4IhQ8u//gCPA4F3mlTn2dacYmiDm/mbDQvpmLjV4uH+zhsQ5IyXRyvqkvtUkXkNdGvg5OFJTCsuQ==} - engines: {node: '>=18'} + figures@6.0.1: dependencies: is-unicode-supported: 2.0.0 - dev: false - /file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} + file-entry-cache@6.0.1: dependencies: flat-cache: 3.1.1 - dev: false - /fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} - engines: {node: '>=8'} + fill-range@7.0.1: dependencies: to-regex-range: 5.0.1 - dev: false - /find-cache-dir@4.0.0: - resolution: {integrity: sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg==} - engines: {node: '>=14.16'} + find-cache-dir@4.0.0: dependencies: common-path-prefix: 3.0.0 pkg-dir: 7.0.0 - dev: false - /find-root@1.1.0: - resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==} - dev: false + find-root@1.1.0: {} - /find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} + find-up@4.1.0: dependencies: locate-path: 5.0.0 path-exists: 4.0.0 - dev: false - /find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} + find-up@5.0.0: dependencies: locate-path: 6.0.0 path-exists: 4.0.0 - dev: false - /find-up@6.3.0: - resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + find-up@6.3.0: dependencies: locate-path: 7.2.0 path-exists: 5.0.0 - dev: false - /find-yarn-workspace-root2@1.2.16: - resolution: {integrity: sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==} + find-yarn-workspace-root2@1.2.16: dependencies: micromatch: 4.0.5 pkg-dir: 4.2.0 - dev: false - /flat-cache@3.1.1: - resolution: {integrity: sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==} - engines: {node: '>=12.0.0'} + flat-cache@3.1.1: dependencies: flatted: 3.2.9 keyv: 4.5.4 rimraf: 3.0.2 - dev: false - /flatted@3.2.9: - resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} - dev: false + flatted@3.2.9: {} - /flattie@1.1.0: - resolution: {integrity: sha512-xU99gDEnciIwJdGcBmNHnzTJ/w5AT+VFJOu6sTB6WM8diOYNA3Sa+K1DiEBQ7XH4QikQq3iFW1U+jRVcotQnBw==} - engines: {node: '>=8'} - dev: false + flattie@1.1.0: {} - /for-each@0.3.3: - resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + for-each@0.3.3: dependencies: is-callable: 1.2.7 - dev: false - /foreground-child@3.1.1: - resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} - engines: {node: '>=14'} + foreground-child@3.1.1: dependencies: cross-spawn: 7.0.3 signal-exit: 4.1.0 - dev: false - /fraction.js@4.3.7: - resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} - dev: false + fraction.js@4.3.7: {} - /fs-constants@1.0.0: - resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} - dev: false + fs-constants@1.0.0: {} - /fs-extra@7.0.1: - resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} - engines: {node: '>=6 <7 || >=8'} + fs-extra@7.0.1: dependencies: graceful-fs: 4.2.11 jsonfile: 4.0.0 universalify: 0.1.2 - dev: false - /fs-extra@8.1.0: - resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} - engines: {node: '>=6 <7 || >=8'} + fs-extra@8.1.0: dependencies: graceful-fs: 4.2.11 jsonfile: 4.0.0 universalify: 0.1.2 - dev: false - /fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - dev: false + fs.realpath@1.0.0: {} - /fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: false + fsevents@2.3.3: optional: true - /function-bind@1.1.2: - resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} - dev: false + function-bind@1.1.2: {} - /function.prototype.name@1.1.6: - resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} - engines: {node: '>= 0.4'} + function.prototype.name@1.1.6: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 functions-have-names: 1.2.3 - dev: false - /functions-have-names@1.2.3: - resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} - dev: false + functions-have-names@1.2.3: {} - /generate-function@2.3.1: - resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==} + generate-function@2.3.1: dependencies: is-property: 1.0.2 - dev: false - /gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - dev: false + gensync@1.0.0-beta.2: {} - /get-caller-file@2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} - dev: false + get-caller-file@2.0.5: {} - /get-east-asian-width@1.2.0: - resolution: {integrity: sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==} - engines: {node: '>=18'} - dev: false + get-east-asian-width@1.2.0: {} - /get-intrinsic@1.2.2: - resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} + get-intrinsic@1.2.2: dependencies: function-bind: 1.1.2 has-proto: 1.0.1 has-symbols: 1.0.3 hasown: 2.0.0 - dev: false - /get-set-props@0.1.0: - resolution: {integrity: sha512-7oKuKzAGKj0ag+eWZwcGw2fjiZ78tXnXQoBgY0aU7ZOxTu4bB7hSuQSDgtKy978EDH062P5FmD2EWiDpQS9K9Q==} - engines: {node: '>=0.10.0'} - dev: false + get-set-props@0.1.0: {} - /get-stdin@9.0.0: - resolution: {integrity: sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==} - engines: {node: '>=12'} - dev: false + get-stdin@9.0.0: {} - /get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} - dev: false + get-stream@6.0.1: {} - /get-stream@8.0.1: - resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} - engines: {node: '>=16'} - dev: false + get-stream@8.0.1: {} - /get-symbol-description@1.0.0: - resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} - engines: {node: '>= 0.4'} + get-symbol-description@1.0.0: dependencies: call-bind: 1.0.5 get-intrinsic: 1.2.2 - dev: false - /get-tsconfig@4.7.2: - resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} + get-tsconfig@4.7.2: dependencies: resolve-pkg-maps: 1.0.0 - dev: false - /git-raw-commits@2.0.11: - resolution: {integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==} - engines: {node: '>=10'} - hasBin: true + git-raw-commits@2.0.11: dependencies: dargs: 7.0.0 lodash: 4.17.21 meow: 8.1.2 split2: 3.2.2 through2: 4.0.2 - dev: false - /github-from-package@0.0.0: - resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} - dev: false + github-from-package@0.0.0: {} - /github-slugger@2.0.0: - resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==} - dev: false + github-slugger@2.0.0: {} - /glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} + glob-parent@5.1.2: dependencies: is-glob: 4.0.3 - dev: false - /glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} + glob-parent@6.0.2: dependencies: is-glob: 4.0.3 - dev: false - /glob-to-regexp@0.4.1: - resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} - dev: false + glob-to-regexp@0.4.1: {} - /glob@10.3.10: - resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} - engines: {node: '>=16 || 14 >=14.17'} - hasBin: true + glob@10.3.10: dependencies: foreground-child: 3.1.1 jackspeak: 2.3.6 minimatch: 9.0.3 minipass: 7.0.4 path-scurry: 1.10.1 - dev: false - /glob@7.1.6: - resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} + glob@7.1.6: dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -4456,10 +7371,8 @@ packages: minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 - dev: false - /glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + glob@7.2.3: dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -4467,37 +7380,22 @@ packages: minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 - dev: false - /global-dirs@0.1.1: - resolution: {integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==} - engines: {node: '>=4'} + global-dirs@0.1.1: dependencies: ini: 1.3.8 - dev: false - /globals@11.12.0: - resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} - engines: {node: '>=4'} - dev: false + globals@11.12.0: {} - /globals@13.23.0: - resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==} - engines: {node: '>=8'} + globals@13.23.0: dependencies: type-fest: 0.20.2 - dev: false - /globalthis@1.0.3: - resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} - engines: {node: '>= 0.4'} + globalthis@1.0.3: dependencies: define-properties: 1.2.1 - dev: false - /globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} + globby@11.1.0: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 @@ -4505,110 +7403,63 @@ packages: ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 - dev: false - /globby@13.2.2: - resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + globby@13.2.2: dependencies: dir-glob: 3.0.1 fast-glob: 3.3.2 ignore: 5.2.4 merge2: 1.4.1 slash: 4.0.0 - dev: false - /gopd@1.0.1: - resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + gopd@1.0.1: dependencies: get-intrinsic: 1.2.2 - dev: false - /graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - dev: false + graceful-fs@4.2.11: {} - /grapheme-splitter@1.0.4: - resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} - dev: false + grapheme-splitter@1.0.4: {} - /graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - dev: false + graphemer@1.4.0: {} - /gray-matter@4.0.3: - resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==} - engines: {node: '>=6.0'} + gray-matter@4.0.3: dependencies: js-yaml: 3.14.1 kind-of: 6.0.3 section-matter: 1.0.0 strip-bom-string: 1.0.0 - dev: false - /hard-rejection@2.1.0: - resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} - engines: {node: '>=6'} - dev: false + hard-rejection@2.1.0: {} - /has-bigints@1.0.2: - resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} - dev: false + has-bigints@1.0.2: {} - /has-flag@3.0.0: - resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} - engines: {node: '>=4'} - dev: false + has-flag@3.0.0: {} - /has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} - dev: false + has-flag@4.0.0: {} - /has-property-descriptors@1.0.1: - resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} + has-property-descriptors@1.0.1: dependencies: get-intrinsic: 1.2.2 - dev: false - /has-proto@1.0.1: - resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} - engines: {node: '>= 0.4'} - dev: false + has-proto@1.0.1: {} - /has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} - engines: {node: '>= 0.4'} - dev: false + has-symbols@1.0.3: {} - /has-tostringtag@1.0.0: - resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} - engines: {node: '>= 0.4'} + has-tostringtag@1.0.0: dependencies: has-symbols: 1.0.3 - dev: false - /has@1.0.4: - resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} - engines: {node: '>= 0.4.0'} - dev: false + has@1.0.4: {} - /hasown@2.0.0: - resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} - engines: {node: '>= 0.4'} + hasown@2.0.0: dependencies: function-bind: 1.1.2 - dev: false - /hasown@2.0.1: - resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} - engines: {node: '>= 0.4'} + hasown@2.0.1: dependencies: function-bind: 1.1.2 - dev: false - /hast-util-from-html@2.0.1: - resolution: {integrity: sha512-RXQBLMl9kjKVNkJTIO6bZyb2n+cUH8LFaSSzo82jiLT6Tfc+Pt7VQCS+/h3YwG4jaNE2TA2sdJisGWR+aJrp0g==} + hast-util-from-html@2.0.1: dependencies: '@types/hast': 3.0.3 devlop: 1.1.0 @@ -4616,10 +7467,8 @@ packages: parse5: 7.1.2 vfile: 6.0.1 vfile-message: 4.0.2 - dev: false - /hast-util-from-parse5@7.1.2: - resolution: {integrity: sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw==} + hast-util-from-parse5@7.1.2: dependencies: '@types/hast': 2.3.8 '@types/unist': 2.0.10 @@ -4628,10 +7477,8 @@ packages: vfile: 5.3.7 vfile-location: 4.1.0 web-namespaces: 2.0.1 - dev: false - /hast-util-from-parse5@8.0.1: - resolution: {integrity: sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ==} + hast-util-from-parse5@8.0.1: dependencies: '@types/hast': 3.0.3 '@types/unist': 3.0.2 @@ -4641,28 +7488,20 @@ packages: vfile: 6.0.1 vfile-location: 5.0.2 web-namespaces: 2.0.1 - dev: false - /hast-util-has-property@3.0.0: - resolution: {integrity: sha512-MNilsvEKLFpV604hwfhVStK0usFY/QmM5zX16bo7EjnAEGofr5YyI37kzopBlZJkHD4t887i+q/C8/tr5Q94cA==} + hast-util-has-property@3.0.0: dependencies: '@types/hast': 3.0.3 - dev: false - /hast-util-parse-selector@3.1.1: - resolution: {integrity: sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==} + hast-util-parse-selector@3.1.1: dependencies: '@types/hast': 2.3.8 - dev: false - /hast-util-parse-selector@4.0.0: - resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==} + hast-util-parse-selector@4.0.0: dependencies: '@types/hast': 3.0.3 - dev: false - /hast-util-raw@7.2.3: - resolution: {integrity: sha512-RujVQfVsOrxzPOPSzZFiwofMArbQke6DJjnFfceiEbFh7S05CbPt0cYN+A5YeD3pso0JQk6O1aHBnx9+Pm2uqg==} + hast-util-raw@7.2.3: dependencies: '@types/hast': 2.3.8 '@types/parse5': 6.0.3 @@ -4675,10 +7514,8 @@ packages: vfile: 5.3.7 web-namespaces: 2.0.1 zwitch: 2.0.4 - dev: false - /hast-util-raw@9.0.1: - resolution: {integrity: sha512-5m1gmba658Q+lO5uqL5YNGQWeh1MYWZbZmWrM5lncdcuiXuo5E2HT/CIOp0rLF8ksfSwiCVJ3twlgVRyTGThGA==} + hast-util-raw@9.0.1: dependencies: '@types/hast': 3.0.3 '@types/unist': 3.0.2 @@ -4693,10 +7530,8 @@ packages: vfile: 6.0.1 web-namespaces: 2.0.1 zwitch: 2.0.4 - dev: false - /hast-util-select@6.0.2: - resolution: {integrity: sha512-hT/SD/d/Meu+iobvgkffo1QecV8WeKWxwsNMzcTJsKw1cKTQKSR/7ArJeURLNJF9HDjp9nVoORyNNJxrvBye8Q==} + hast-util-select@6.0.2: dependencies: '@types/hast': 3.0.3 '@types/unist': 3.0.2 @@ -4714,10 +7549,8 @@ packages: space-separated-tokens: 2.0.2 unist-util-visit: 5.0.0 zwitch: 2.0.4 - dev: false - /hast-util-to-estree@3.1.0: - resolution: {integrity: sha512-lfX5g6hqVh9kjS/B9E2gSkvHH4SZNiQFiqWS0x9fENzEl+8W12RqdRxX6d/Cwxi30tPQs3bIO+aolQJNp1bIyw==} + hast-util-to-estree@3.1.0: dependencies: '@types/estree': 1.0.5 '@types/estree-jsx': 1.0.3 @@ -4737,10 +7570,8 @@ packages: zwitch: 2.0.4 transitivePeerDependencies: - supports-color - dev: false - /hast-util-to-html@8.0.4: - resolution: {integrity: sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA==} + hast-util-to-html@8.0.4: dependencies: '@types/hast': 2.3.8 '@types/unist': 2.0.10 @@ -4753,10 +7584,8 @@ packages: space-separated-tokens: 2.0.2 stringify-entities: 4.0.3 zwitch: 2.0.4 - dev: false - /hast-util-to-html@9.0.0: - resolution: {integrity: sha512-IVGhNgg7vANuUA2XKrT6sOIIPgaYZnmLx3l/CCOAK0PtgfoHrZwX7jCSYyFxHTrGmC6S9q8aQQekjp4JPZF+cw==} + hast-util-to-html@9.0.0: dependencies: '@types/hast': 3.0.3 '@types/unist': 3.0.2 @@ -4770,10 +7599,8 @@ packages: space-separated-tokens: 2.0.2 stringify-entities: 4.0.3 zwitch: 2.0.4 - dev: false - /hast-util-to-jsx-runtime@2.3.0: - resolution: {integrity: sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==} + hast-util-to-jsx-runtime@2.3.0: dependencies: '@types/estree': 1.0.5 '@types/hast': 3.0.3 @@ -4792,10 +7619,8 @@ packages: vfile-message: 4.0.2 transitivePeerDependencies: - supports-color - dev: false - /hast-util-to-parse5@7.1.0: - resolution: {integrity: sha512-YNRgAJkH2Jky5ySkIqFXTQiaqcAtJyVE+D5lkN6CdtOqrnkLfGYYrEcKuHOJZlp+MwjSwuD3fZuawI+sic/RBw==} + hast-util-to-parse5@7.1.0: dependencies: '@types/hast': 2.3.8 comma-separated-tokens: 2.0.3 @@ -4803,10 +7628,8 @@ packages: space-separated-tokens: 2.0.2 web-namespaces: 2.0.1 zwitch: 2.0.4 - dev: false - /hast-util-to-parse5@8.0.0: - resolution: {integrity: sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==} + hast-util-to-parse5@8.0.0: dependencies: '@types/hast': 3.0.3 comma-separated-tokens: 2.0.3 @@ -4815,721 +7638,386 @@ packages: space-separated-tokens: 2.0.2 web-namespaces: 2.0.1 zwitch: 2.0.4 - dev: false - /hast-util-to-string@3.0.0: - resolution: {integrity: sha512-OGkAxX1Ua3cbcW6EJ5pT/tslVb90uViVkcJ4ZZIMW/R33DX/AkcJcRrPebPwJkHYwlDHXz4aIwvAAaAdtrACFA==} + hast-util-to-string@3.0.0: dependencies: '@types/hast': 3.0.3 - dev: false - /hast-util-whitespace@2.0.1: - resolution: {integrity: sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==} - dev: false + hast-util-whitespace@2.0.1: {} - /hast-util-whitespace@3.0.0: - resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} + hast-util-whitespace@3.0.0: dependencies: '@types/hast': 3.0.3 - dev: false - /hastscript@7.2.0: - resolution: {integrity: sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==} + hastscript@7.2.0: dependencies: '@types/hast': 2.3.8 comma-separated-tokens: 2.0.3 hast-util-parse-selector: 3.1.1 property-information: 6.4.0 space-separated-tokens: 2.0.2 - dev: false - /hastscript@8.0.0: - resolution: {integrity: sha512-dMOtzCEd3ABUeSIISmrETiKuyydk1w0pa+gE/uormcTpSYuaNJPbX1NU3JLyscSLjwAQM8bWMhhIlnCqnRvDTw==} + hastscript@8.0.0: dependencies: '@types/hast': 3.0.3 comma-separated-tokens: 2.0.3 hast-util-parse-selector: 4.0.0 property-information: 6.4.0 space-separated-tokens: 2.0.2 - dev: false - /hosted-git-info@2.8.9: - resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} - dev: false + hosted-git-info@2.8.9: {} - /hosted-git-info@4.1.0: - resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} - engines: {node: '>=10'} + hosted-git-info@4.1.0: dependencies: lru-cache: 6.0.0 - dev: false - /html-escaper@3.0.3: - resolution: {integrity: sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==} - dev: false + html-escaper@3.0.3: {} - /html-void-elements@2.0.1: - resolution: {integrity: sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==} - dev: false + html-void-elements@2.0.1: {} - /html-void-elements@3.0.0: - resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} - dev: false + html-void-elements@3.0.0: {} - /http-cache-semantics@4.1.1: - resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==} - dev: false + http-cache-semantics@4.1.1: {} - /human-id@1.0.2: - resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} - dev: false + human-id@1.0.2: {} - /human-signals@2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} - engines: {node: '>=10.17.0'} - dev: false + human-signals@2.1.0: {} - /human-signals@4.3.1: - resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==} - engines: {node: '>=14.18.0'} - dev: false + human-signals@4.3.1: {} - /human-signals@5.0.0: - resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} - engines: {node: '>=16.17.0'} - dev: false + human-signals@5.0.0: {} - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} - hasBin: true - dev: false + husky@8.0.3: {} - /iconv-lite@0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} - engines: {node: '>=0.10.0'} + iconv-lite@0.4.24: dependencies: safer-buffer: 2.1.2 - dev: false - /iconv-lite@0.6.3: - resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} - engines: {node: '>=0.10.0'} + iconv-lite@0.6.3: dependencies: safer-buffer: 2.1.2 - dev: false - /ieee754@1.2.1: - resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - dev: false + ieee754@1.2.1: {} - /ignore@5.2.4: - resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} - engines: {node: '>= 4'} - dev: false + ignore@5.2.4: {} - /import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} + import-fresh@3.3.0: dependencies: parent-module: 1.0.1 resolve-from: 4.0.0 - dev: false - /import-from-esm@1.3.3: - resolution: {integrity: sha512-U3Qt/CyfFpTUv6LOP2jRTLYjphH6zg3okMfHbyqRa/W2w6hr8OsJWVggNlR4jxuojQy81TgTJTxgSkyoteRGMQ==} - engines: {node: '>=16.20'} + import-from-esm@1.3.3: dependencies: debug: 4.3.4 import-meta-resolve: 4.0.0 transitivePeerDependencies: - supports-color - dev: false - /import-meta-resolve@4.0.0: - resolution: {integrity: sha512-okYUR7ZQPH+efeuMJGlq4f8ubUgO50kByRPyt/Cy1Io4PSRsPjxME+YlVaCOx+NIToW7hCsZNFJyTPFFKepRSA==} - dev: false + import-meta-resolve@4.0.0: {} - /import-modules@2.1.0: - resolution: {integrity: sha512-8HEWcnkbGpovH9yInoisxaSoIg9Brbul+Ju3Kqe2UsYDUBJD/iQjSgEj0zPcTDPKfPp2fs5xlv1i+JSye/m1/A==} - engines: {node: '>=8'} - dev: false + import-modules@2.1.0: {} - /imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} - dev: false + imurmurhash@0.1.4: {} - /indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} - dev: false + indent-string@4.0.0: {} - /inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + inflight@1.0.6: dependencies: once: 1.4.0 wrappy: 1.0.2 - dev: false - /inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - dev: false + inherits@2.0.4: {} - /ini@1.3.8: - resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} - dev: false + ini@1.3.8: {} - /inline-style-parser@0.1.1: - resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==} - dev: false + inline-style-parser@0.1.1: {} - /inline-style-parser@0.2.2: - resolution: {integrity: sha512-EcKzdTHVe8wFVOGEYXiW9WmJXPjqi1T+234YpJr98RiFYKHV3cdy1+3mkTE+KHTHxFFLH51SfaGOoUdW+v7ViQ==} - dev: false + inline-style-parser@0.2.2: {} - /internal-slot@1.0.6: - resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} - engines: {node: '>= 0.4'} + internal-slot@1.0.6: dependencies: get-intrinsic: 1.2.2 hasown: 2.0.0 side-channel: 1.0.4 - dev: false - /interpret@1.4.0: - resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} - engines: {node: '>= 0.10'} - dev: false + interpret@1.4.0: {} - /irregular-plurals@3.5.0: - resolution: {integrity: sha512-1ANGLZ+Nkv1ptFb2pa8oG8Lem4krflKuX/gINiHJHjJUKaJHk/SXk5x6K3J+39/p0h1RQ2saROclJJ+QLvETCQ==} - engines: {node: '>=8'} - dev: false + irregular-plurals@3.5.0: {} - /is-absolute@1.0.0: - resolution: {integrity: sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==} - engines: {node: '>=0.10.0'} + is-absolute@1.0.0: dependencies: is-relative: 1.0.0 is-windows: 1.0.2 - dev: false - /is-alphabetical@2.0.1: - resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==} - dev: false + is-alphabetical@2.0.1: {} - /is-alphanumerical@2.0.1: - resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==} + is-alphanumerical@2.0.1: dependencies: is-alphabetical: 2.0.1 is-decimal: 2.0.1 - dev: false - /is-array-buffer@3.0.2: - resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} + is-array-buffer@3.0.2: dependencies: call-bind: 1.0.5 get-intrinsic: 1.2.2 is-typed-array: 1.1.12 - dev: false - /is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - dev: false + is-arrayish@0.2.1: {} - /is-arrayish@0.3.2: - resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} - dev: false + is-arrayish@0.3.2: {} - /is-bigint@1.0.4: - resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} + is-bigint@1.0.4: dependencies: has-bigints: 1.0.2 - dev: false - /is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} + is-binary-path@2.1.0: dependencies: binary-extensions: 2.2.0 - dev: false - /is-boolean-object@1.1.2: - resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} - engines: {node: '>= 0.4'} + is-boolean-object@1.1.2: dependencies: call-bind: 1.0.5 has-tostringtag: 1.0.0 - dev: false - /is-buffer@2.0.5: - resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} - engines: {node: '>=4'} - dev: false + is-buffer@2.0.5: {} - /is-builtin-module@3.2.1: - resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} - engines: {node: '>=6'} + is-builtin-module@3.2.1: dependencies: builtin-modules: 3.3.0 - dev: false - /is-callable@1.2.7: - resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} - engines: {node: '>= 0.4'} - dev: false + is-callable@1.2.7: {} - /is-core-module@2.13.1: - resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + is-core-module@2.13.1: dependencies: hasown: 2.0.1 - dev: false - /is-date-object@1.0.5: - resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} - engines: {node: '>= 0.4'} + is-date-object@1.0.5: dependencies: has-tostringtag: 1.0.0 - dev: false - /is-decimal@2.0.1: - resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==} - dev: false + is-decimal@2.0.1: {} - /is-docker@2.2.1: - resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} - engines: {node: '>=8'} - hasBin: true - dev: false + is-docker@2.2.1: {} - /is-docker@3.0.0: - resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - hasBin: true - dev: false + is-docker@3.0.0: {} - /is-extendable@0.1.1: - resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} - engines: {node: '>=0.10.0'} - dev: false + is-extendable@0.1.1: {} - /is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} - dev: false + is-extglob@2.1.1: {} - /is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - dev: false + is-fullwidth-code-point@3.0.0: {} - /is-fullwidth-code-point@4.0.0: - resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} - engines: {node: '>=12'} - dev: false + is-fullwidth-code-point@4.0.0: {} - /is-fullwidth-code-point@5.0.0: - resolution: {integrity: sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==} - engines: {node: '>=18'} + is-fullwidth-code-point@5.0.0: dependencies: get-east-asian-width: 1.2.0 - dev: false - /is-get-set-prop@1.0.0: - resolution: {integrity: sha512-DvAYZ1ZgGUz4lzxKMPYlt08qAUqyG9ckSg2pIjfvcQ7+pkVNUHk8yVLXOnCLe5WKXhLop8oorWFBJHpwWQpszQ==} + is-get-set-prop@1.0.0: dependencies: get-set-props: 0.1.0 lowercase-keys: 1.0.1 - dev: false - /is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} + is-glob@4.0.3: dependencies: is-extglob: 2.1.1 - dev: false - /is-hexadecimal@2.0.1: - resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==} - dev: false + is-hexadecimal@2.0.1: {} - /is-inside-container@1.0.0: - resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} - engines: {node: '>=14.16'} - hasBin: true + is-inside-container@1.0.0: dependencies: is-docker: 3.0.0 - dev: false - /is-interactive@2.0.0: - resolution: {integrity: sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==} - engines: {node: '>=12'} - dev: false + is-interactive@2.0.0: {} - /is-js-type@2.0.0: - resolution: {integrity: sha512-Aj13l47+uyTjlQNHtXBV8Cji3jb037vxwMWCgopRR8h6xocgBGW3qG8qGlIOEmbXQtkKShKuBM9e8AA1OeQ+xw==} + is-js-type@2.0.0: dependencies: js-types: 1.0.0 - dev: false - /is-negated-glob@1.0.0: - resolution: {integrity: sha512-czXVVn/QEmgvej1f50BZ648vUI+em0xqMq2Sn+QncCLN4zj1UAxlT+kw/6ggQTOaZPd1HqKQGEqbpQVtJucWug==} - engines: {node: '>=0.10.0'} - dev: false + is-negated-glob@1.0.0: {} - /is-negative-zero@2.0.2: - resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} - engines: {node: '>= 0.4'} - dev: false + is-negative-zero@2.0.2: {} - /is-number-object@1.0.7: - resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} - engines: {node: '>= 0.4'} + is-number-object@1.0.7: dependencies: has-tostringtag: 1.0.0 - dev: false - /is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} - dev: false + is-number@7.0.0: {} - /is-obj-prop@1.0.0: - resolution: {integrity: sha512-5Idb61slRlJlsAzi0Wsfwbp+zZY+9LXKUAZpvT/1ySw+NxKLRWfa0Bzj+wXI3fX5O9hiddm5c3DAaRSNP/yl2w==} + is-obj-prop@1.0.0: dependencies: lowercase-keys: 1.0.1 obj-props: 1.4.0 - dev: false - /is-obj@2.0.0: - resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==} - engines: {node: '>=8'} - dev: false + is-obj@2.0.0: {} - /is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - dev: false + is-path-inside@3.0.3: {} - /is-plain-obj@1.1.0: - resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} - engines: {node: '>=0.10.0'} - dev: false + is-plain-obj@1.1.0: {} - /is-plain-obj@4.1.0: - resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} - engines: {node: '>=12'} - dev: false + is-plain-obj@4.1.0: {} - /is-property@1.0.2: - resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} - dev: false + is-property@1.0.2: {} - /is-proto-prop@2.0.0: - resolution: {integrity: sha512-jl3NbQ/fGLv5Jhan4uX+Ge9ohnemqyblWVVCpAvtTQzNFvV2xhJq+esnkIbYQ9F1nITXoLfDDQLp7LBw/zzncg==} + is-proto-prop@2.0.0: dependencies: lowercase-keys: 1.0.1 proto-props: 2.0.0 - dev: false - /is-reference@3.0.2: - resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==} + is-reference@3.0.2: dependencies: '@types/estree': 1.0.5 - dev: false - /is-regex@1.1.4: - resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} - engines: {node: '>= 0.4'} + is-regex@1.1.4: dependencies: call-bind: 1.0.5 has-tostringtag: 1.0.0 - dev: false - /is-relative@1.0.0: - resolution: {integrity: sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==} - engines: {node: '>=0.10.0'} + is-relative@1.0.0: dependencies: is-unc-path: 1.0.0 - dev: false - /is-shared-array-buffer@1.0.2: - resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} + is-shared-array-buffer@1.0.2: dependencies: call-bind: 1.0.5 - dev: false - /is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} - dev: false + is-stream@2.0.1: {} - /is-stream@3.0.0: - resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false + is-stream@3.0.0: {} - /is-string@1.0.7: - resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} - engines: {node: '>= 0.4'} + is-string@1.0.7: dependencies: has-tostringtag: 1.0.0 - dev: false - /is-subdir@1.2.0: - resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==} - engines: {node: '>=4'} + is-subdir@1.2.0: dependencies: better-path-resolve: 1.0.0 - dev: false - /is-symbol@1.0.4: - resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} - engines: {node: '>= 0.4'} + is-symbol@1.0.4: dependencies: has-symbols: 1.0.3 - dev: false - /is-text-path@2.0.0: - resolution: {integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==} - engines: {node: '>=8'} + is-text-path@2.0.0: dependencies: text-extensions: 2.4.0 - dev: false - /is-typed-array@1.1.12: - resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} - engines: {node: '>= 0.4'} + is-typed-array@1.1.12: dependencies: which-typed-array: 1.1.13 - dev: false - /is-unc-path@1.0.0: - resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} - engines: {node: '>=0.10.0'} + is-unc-path@1.0.0: dependencies: unc-path-regex: 0.1.2 - dev: false - /is-unicode-supported@0.1.0: - resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} - engines: {node: '>=10'} - dev: false + is-unicode-supported@0.1.0: {} - /is-unicode-supported@1.3.0: - resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==} - engines: {node: '>=12'} - dev: false + is-unicode-supported@1.3.0: {} - /is-unicode-supported@2.0.0: - resolution: {integrity: sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==} - engines: {node: '>=18'} - dev: false + is-unicode-supported@2.0.0: {} - /is-weakref@1.0.2: - resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} + is-weakref@1.0.2: dependencies: call-bind: 1.0.5 - dev: false - /is-windows@1.0.2: - resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} - engines: {node: '>=0.10.0'} - dev: false + is-windows@1.0.2: {} - /is-wsl@2.2.0: - resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} - engines: {node: '>=8'} + is-wsl@2.2.0: dependencies: is-docker: 2.2.1 - dev: false - /is-wsl@3.1.0: - resolution: {integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==} - engines: {node: '>=16'} + is-wsl@3.1.0: dependencies: is-inside-container: 1.0.0 - dev: false - /isarray@2.0.5: - resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} - dev: false + isarray@2.0.5: {} - /isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - dev: false + isexe@2.0.0: {} - /jackspeak@2.3.6: - resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} - engines: {node: '>=14'} + jackspeak@2.3.6: dependencies: '@isaacs/cliui': 8.0.2 optionalDependencies: '@pkgjs/parseargs': 0.11.0 - dev: false - /jest-worker@27.5.1: - resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} - engines: {node: '>= 10.13.0'} + jest-worker@27.5.1: dependencies: '@types/node': 20.10.4 merge-stream: 2.0.0 supports-color: 8.1.1 - dev: false - /jiti@1.21.0: - resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} - hasBin: true - dev: false + jiti@1.21.0: {} - /js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - dev: false + js-tokens@4.0.0: {} - /js-types@1.0.0: - resolution: {integrity: sha512-bfwqBW9cC/Lp7xcRpug7YrXm0IVw+T9e3g4mCYnv0Pjr3zIzU9PCQElYU9oSGAWzXlbdl9X5SAMPejO9sxkeUw==} - engines: {node: '>=0.10.0'} - dev: false + js-types@1.0.0: {} - /js-yaml@3.14.1: - resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} - hasBin: true + js-yaml@3.14.1: dependencies: argparse: 1.0.10 esprima: 4.0.1 - dev: false - /js-yaml@4.1.0: - resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} - hasBin: true + js-yaml@4.1.0: dependencies: argparse: 2.0.1 - dev: false - /jsesc@0.5.0: - resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} - hasBin: true - dev: false + jsesc@0.5.0: {} - /jsesc@2.5.2: - resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} - engines: {node: '>=4'} - hasBin: true - dev: false + jsesc@2.5.2: {} - /jsesc@3.0.2: - resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} - engines: {node: '>=6'} - hasBin: true - dev: false + jsesc@3.0.2: {} - /json-buffer@3.0.1: - resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} - dev: false + json-buffer@3.0.1: {} - /json-parse-better-errors@1.0.2: - resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} - dev: false + json-parse-better-errors@1.0.2: {} - /json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - dev: false + json-parse-even-better-errors@2.3.1: {} - /json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} - dev: false + json-schema-traverse@0.4.1: {} - /json-schema-traverse@1.0.0: - resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - dev: false + json-schema-traverse@1.0.0: {} - /json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - dev: false + json-stable-stringify-without-jsonify@1.0.1: {} - /json5@1.0.2: - resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} - hasBin: true + json5@1.0.2: dependencies: minimist: 1.2.8 - dev: false - /json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - dev: false + json5@2.2.3: {} - /jsonc-parser@3.2.0: - resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} - dev: false + jsonc-parser@3.2.0: {} - /jsonfile@4.0.0: - resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + jsonfile@4.0.0: optionalDependencies: graceful-fs: 4.2.11 - dev: false - /jsonparse@1.3.1: - resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==} - engines: {'0': node >= 0.2.0} - dev: false + jsonparse@1.3.1: {} - /keyv@4.5.4: - resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + keyv@4.5.4: dependencies: json-buffer: 3.0.1 - dev: false - /kind-of@6.0.3: - resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} - engines: {node: '>=0.10.0'} - dev: false + kind-of@6.0.3: {} - /kleur@3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} - dev: false + kleur@3.0.3: {} - /kleur@4.1.5: - resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} - engines: {node: '>=6'} - dev: false + kleur@4.1.5: {} - /levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} + levn@0.4.1: dependencies: prelude-ls: 1.2.1 type-check: 0.4.0 - dev: false - /lilconfig@2.1.0: - resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} - engines: {node: '>=10'} - dev: false + lilconfig@2.1.0: {} - /lilconfig@3.0.0: - resolution: {integrity: sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==} - engines: {node: '>=14'} - dev: false + lilconfig@3.0.0: {} - /line-column-path@3.0.0: - resolution: {integrity: sha512-Atocnm7Wr9nuvAn97yEPQa3pcQI5eLQGBz+m6iTb+CVw+IOzYB9MrYK7jI7BfC9ISnT4Fu0eiwhAScV//rp4Hw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + line-column-path@3.0.0: dependencies: type-fest: 2.19.0 - dev: false - /lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - dev: false + lines-and-columns@1.2.4: {} - /lint-staged@15.2.0: - resolution: {integrity: sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==} - engines: {node: '>=18.12.0'} - hasBin: true + lint-staged@15.2.0: dependencies: chalk: 5.3.0 commander: 11.1.0 @@ -5543,11 +8031,8 @@ packages: yaml: 2.3.4 transitivePeerDependencies: - supports-color - dev: false - /listr2@8.0.0: - resolution: {integrity: sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==} - engines: {node: '>=18.0.0'} + listr2@8.0.0: dependencies: cli-truncate: 4.0.0 colorette: 2.0.20 @@ -5555,213 +8040,121 @@ packages: log-update: 6.0.0 rfdc: 1.3.0 wrap-ansi: 9.0.0 - dev: false - /load-json-file@4.0.0: - resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} - engines: {node: '>=4'} + load-json-file@4.0.0: dependencies: graceful-fs: 4.2.11 parse-json: 4.0.0 pify: 3.0.0 strip-bom: 3.0.0 - dev: false - /load-yaml-file@0.2.0: - resolution: {integrity: sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw==} - engines: {node: '>=6'} + load-yaml-file@0.2.0: dependencies: graceful-fs: 4.2.11 js-yaml: 3.14.1 pify: 4.0.1 strip-bom: 3.0.0 - dev: false - /loader-runner@4.3.0: - resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} - engines: {node: '>=6.11.5'} - dev: false + loader-runner@4.3.0: {} - /locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} + locate-path@5.0.0: dependencies: p-locate: 4.1.0 - dev: false - /locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} + locate-path@6.0.0: dependencies: p-locate: 5.0.0 - dev: false - /locate-path@7.2.0: - resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + locate-path@7.2.0: dependencies: p-locate: 6.0.0 - dev: false - /lodash-es@4.17.21: - resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} - dev: false + lodash-es@4.17.21: {} - /lodash.camelcase@4.3.0: - resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} - dev: false + lodash.camelcase@4.3.0: {} - /lodash.isfunction@3.0.9: - resolution: {integrity: sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==} - dev: false + lodash.isfunction@3.0.9: {} - /lodash.isplainobject@4.0.6: - resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} - dev: false + lodash.isplainobject@4.0.6: {} - /lodash.kebabcase@4.1.1: - resolution: {integrity: sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==} - dev: false + lodash.kebabcase@4.1.1: {} - /lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - dev: false + lodash.merge@4.6.2: {} - /lodash.mergewith@4.6.2: - resolution: {integrity: sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==} - dev: false + lodash.mergewith@4.6.2: {} - /lodash.snakecase@4.1.1: - resolution: {integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==} - dev: false + lodash.snakecase@4.1.1: {} - /lodash.startcase@4.4.0: - resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} - dev: false + lodash.startcase@4.4.0: {} - /lodash.uniq@4.5.0: - resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} - dev: false + lodash.uniq@4.5.0: {} - /lodash.upperfirst@4.3.1: - resolution: {integrity: sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==} - dev: false + lodash.upperfirst@4.3.1: {} - /lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - dev: false + lodash@4.17.21: {} - /log-symbols@4.1.0: - resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} - engines: {node: '>=10'} + log-symbols@4.1.0: dependencies: chalk: 4.1.2 is-unicode-supported: 0.1.0 - dev: false - /log-symbols@5.1.0: - resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==} - engines: {node: '>=12'} + log-symbols@5.1.0: dependencies: chalk: 5.3.0 is-unicode-supported: 1.3.0 - dev: false - /log-update@6.0.0: - resolution: {integrity: sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==} - engines: {node: '>=18'} + log-update@6.0.0: dependencies: ansi-escapes: 6.2.0 cli-cursor: 4.0.0 slice-ansi: 7.1.0 strip-ansi: 7.1.0 wrap-ansi: 9.0.0 - dev: false - /long@5.2.3: - resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} - dev: false + long@5.2.3: {} - /longest-streak@3.1.0: - resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} - dev: false + longest-streak@3.1.0: {} - /lowercase-keys@1.0.1: - resolution: {integrity: sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==} - engines: {node: '>=0.10.0'} - dev: false + lowercase-keys@1.0.1: {} - /lru-cache@10.0.1: - resolution: {integrity: sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==} - engines: {node: 14 || >=16.14} - dev: false + lru-cache@10.0.1: {} - /lru-cache@4.1.5: - resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} + lru-cache@4.1.5: dependencies: pseudomap: 1.0.2 yallist: 2.1.2 - dev: false - /lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + lru-cache@5.1.1: dependencies: yallist: 3.1.1 - dev: false - /lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} + lru-cache@6.0.0: dependencies: yallist: 4.0.0 - dev: false - /lru-cache@7.18.3: - resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} - engines: {node: '>=12'} - dev: false + lru-cache@7.18.3: {} - /lru-cache@8.0.5: - resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==} - engines: {node: '>=16.14'} - dev: false + lru-cache@8.0.5: {} - /magic-string@0.30.5: - resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} - engines: {node: '>=12'} + magic-string@0.30.5: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 - dev: false - /map-obj@1.0.1: - resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} - engines: {node: '>=0.10.0'} - dev: false + map-obj@1.0.1: {} - /map-obj@4.3.0: - resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} - engines: {node: '>=8'} - dev: false + map-obj@4.3.0: {} - /markdown-extensions@2.0.0: - resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==} - engines: {node: '>=16'} - dev: false + markdown-extensions@2.0.0: {} - /markdown-table@3.0.3: - resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==} - dev: false + markdown-table@3.0.3: {} - /mdast-util-definitions@6.0.0: - resolution: {integrity: sha512-scTllyX6pnYNZH/AIp/0ePz6s4cZtARxImwoPJ7kS42n+MnVsI4XbnG6d4ibehRIldYMWM2LD7ImQblVhUejVQ==} + mdast-util-definitions@6.0.0: dependencies: '@types/mdast': 4.0.3 '@types/unist': 3.0.2 unist-util-visit: 5.0.0 - dev: false - /mdast-util-directive@3.0.0: - resolution: {integrity: sha512-JUpYOqKI4mM3sZcNxmF/ox04XYFFkNwr0CFlrQIkCwbvH0xzMCqkMqAde9wRd80VAhaUrwFwKm2nxretdT1h7Q==} + mdast-util-directive@3.0.0: dependencies: '@types/mdast': 4.0.3 '@types/unist': 3.0.2 @@ -5773,19 +8166,15 @@ packages: unist-util-visit-parents: 6.0.1 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-find-and-replace@3.0.1: - resolution: {integrity: sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==} + mdast-util-find-and-replace@3.0.1: dependencies: '@types/mdast': 4.0.3 escape-string-regexp: 5.0.0 unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - dev: false - /mdast-util-from-markdown@2.0.0: - resolution: {integrity: sha512-n7MTOr/z+8NAX/wmhhDji8O3bRvPTV/U0oTCaZJkjhPSKTPhS3xufVhKGF8s1pJ7Ox4QgoIU7KHseh09S+9rTA==} + mdast-util-from-markdown@2.0.0: dependencies: '@types/mdast': 4.0.3 '@types/unist': 3.0.2 @@ -5801,20 +8190,16 @@ packages: unist-util-stringify-position: 4.0.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-gfm-autolink-literal@2.0.0: - resolution: {integrity: sha512-FyzMsduZZHSc3i0Px3PQcBT4WJY/X/RCtEJKuybiC6sjPqLv7h1yqAkmILZtuxMSsUyaLUWNp71+vQH2zqp5cg==} + mdast-util-gfm-autolink-literal@2.0.0: dependencies: '@types/mdast': 4.0.3 ccount: 2.0.1 devlop: 1.1.0 mdast-util-find-and-replace: 3.0.1 micromark-util-character: 2.0.1 - dev: false - /mdast-util-gfm-footnote@2.0.0: - resolution: {integrity: sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==} + mdast-util-gfm-footnote@2.0.0: dependencies: '@types/mdast': 4.0.3 devlop: 1.1.0 @@ -5823,20 +8208,16 @@ packages: micromark-util-normalize-identifier: 2.0.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-gfm-strikethrough@2.0.0: - resolution: {integrity: sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==} + mdast-util-gfm-strikethrough@2.0.0: dependencies: '@types/mdast': 4.0.3 mdast-util-from-markdown: 2.0.0 mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-gfm-table@2.0.0: - resolution: {integrity: sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==} + mdast-util-gfm-table@2.0.0: dependencies: '@types/mdast': 4.0.3 devlop: 1.1.0 @@ -5845,10 +8226,8 @@ packages: mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-gfm-task-list-item@2.0.0: - resolution: {integrity: sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==} + mdast-util-gfm-task-list-item@2.0.0: dependencies: '@types/mdast': 4.0.3 devlop: 1.1.0 @@ -5856,10 +8235,8 @@ packages: mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-gfm@3.0.0: - resolution: {integrity: sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==} + mdast-util-gfm@3.0.0: dependencies: mdast-util-from-markdown: 2.0.0 mdast-util-gfm-autolink-literal: 2.0.0 @@ -5870,10 +8247,8 @@ packages: mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-mdx-expression@2.0.0: - resolution: {integrity: sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw==} + mdast-util-mdx-expression@2.0.0: dependencies: '@types/estree-jsx': 1.0.3 '@types/hast': 3.0.3 @@ -5883,10 +8258,8 @@ packages: mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-mdx-jsx@3.0.0: - resolution: {integrity: sha512-XZuPPzQNBPAlaqsTTgRrcJnyFbSOBovSadFgbFu8SnuNgm+6Bdx1K+IWoitsmj6Lq6MNtI+ytOqwN70n//NaBA==} + mdast-util-mdx-jsx@3.0.0: dependencies: '@types/estree-jsx': 1.0.3 '@types/hast': 3.0.3 @@ -5903,10 +8276,8 @@ packages: vfile-message: 4.0.2 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-mdx@3.0.0: - resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} + mdast-util-mdx@3.0.0: dependencies: mdast-util-from-markdown: 2.0.0 mdast-util-mdx-expression: 2.0.0 @@ -5915,10 +8286,8 @@ packages: mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-mdxjs-esm@2.0.1: - resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==} + mdast-util-mdxjs-esm@2.0.1: dependencies: '@types/estree-jsx': 1.0.3 '@types/hast': 3.0.3 @@ -5928,17 +8297,13 @@ packages: mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - dev: false - /mdast-util-phrasing@4.0.0: - resolution: {integrity: sha512-xadSsJayQIucJ9n053dfQwVu1kuXg7jCTdYsMK8rqzKZh52nLfSH/k0sAxE0u+pj/zKZX+o5wB+ML5mRayOxFA==} + mdast-util-phrasing@4.0.0: dependencies: '@types/mdast': 4.0.3 unist-util-is: 6.0.0 - dev: false - /mdast-util-to-hast@13.0.2: - resolution: {integrity: sha512-U5I+500EOOw9e3ZrclN3Is3fRpw8c19SMyNZlZ2IS+7vLsNzb2Om11VpIVOR+/0137GhZsFEF6YiKD5+0Hr2Og==} + mdast-util-to-hast@13.0.2: dependencies: '@types/hast': 3.0.3 '@types/mdast': 4.0.3 @@ -5948,10 +8313,8 @@ packages: trim-lines: 3.0.1 unist-util-position: 5.0.0 unist-util-visit: 5.0.0 - dev: false - /mdast-util-to-markdown@2.1.0: - resolution: {integrity: sha512-SR2VnIEdVNCJbP6y7kVTJgPLifdr8WEU440fQec7qHoHOUz/oJ2jmNRqdDQ3rbiStOXb2mCDGTuwsK5OPUgYlQ==} + mdast-util-to-markdown@2.1.0: dependencies: '@types/mdast': 4.0.3 '@types/unist': 3.0.2 @@ -5961,31 +8324,18 @@ packages: micromark-util-decode-string: 2.0.0 unist-util-visit: 5.0.0 zwitch: 2.0.4 - dev: false - /mdast-util-to-string@4.0.0: - resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} + mdast-util-to-string@4.0.0: dependencies: '@types/mdast': 4.0.3 - dev: false - /memory-fs@0.2.0: - resolution: {integrity: sha512-+y4mDxU4rvXXu5UDSGCGNiesFmwCHuefGMoPCO1WYucNYj7DsLqrFaa2fXVI0H+NNiPTwwzKwspn9yTZqUGqng==} - dev: false + memory-fs@0.2.0: {} - /memorystream@0.3.1: - resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} - engines: {node: '>= 0.10.0'} - dev: false + memorystream@0.3.1: {} - /meow@12.1.1: - resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==} - engines: {node: '>=16.10'} - dev: false + meow@12.1.1: {} - /meow@6.1.1: - resolution: {integrity: sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==} - engines: {node: '>=8'} + meow@6.1.1: dependencies: '@types/minimist': 1.2.5 camelcase-keys: 6.2.2 @@ -5998,11 +8348,8 @@ packages: trim-newlines: 3.0.1 type-fest: 0.13.1 yargs-parser: 18.1.3 - dev: false - /meow@8.1.2: - resolution: {integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==} - engines: {node: '>=10'} + meow@8.1.2: dependencies: '@types/minimist': 1.2.5 camelcase-keys: 6.2.2 @@ -6015,23 +8362,14 @@ packages: trim-newlines: 3.0.1 type-fest: 0.18.1 yargs-parser: 20.2.9 - dev: false - /merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - dev: false + merge-stream@2.0.0: {} - /merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - dev: false + merge2@1.4.1: {} - /micro-spelling-correcter@1.1.1: - resolution: {integrity: sha512-lkJ3Rj/mtjlRcHk6YyCbvZhyWTOzdBvTHsxMmZSk5jxN1YyVSQ+JETAom55mdzfcyDrY/49Z7UCW760BK30crg==} - dev: false + micro-spelling-correcter@1.1.1: {} - /micromark-core-commonmark@2.0.0: - resolution: {integrity: sha512-jThOz/pVmAYUtkroV3D5c1osFXAMv9e0ypGDOIZuCeAe91/sD6BoE2Sjzt30yuXtwOYUmySOhMas/PVyh02itA==} + micromark-core-commonmark@2.0.0: dependencies: decode-named-character-reference: 1.0.2 devlop: 1.1.0 @@ -6049,10 +8387,8 @@ packages: micromark-util-subtokenize: 2.0.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-extension-directive@3.0.0: - resolution: {integrity: sha512-61OI07qpQrERc+0wEysLHMvoiO3s2R56x5u7glHq2Yqq6EHbH4dW25G9GfDdGCDYqA21KE6DWgNSzxSwHc2hSg==} + micromark-extension-directive@3.0.0: dependencies: devlop: 1.1.0 micromark-factory-space: 2.0.0 @@ -6061,19 +8397,15 @@ packages: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 parse-entities: 4.0.1 - dev: false - /micromark-extension-gfm-autolink-literal@2.0.0: - resolution: {integrity: sha512-rTHfnpt/Q7dEAK1Y5ii0W8bhfJlVJFnJMHIPisfPK3gpVNuOP0VnRl96+YJ3RYWV/P4gFeQoGKNlT3RhuvpqAg==} + micromark-extension-gfm-autolink-literal@2.0.0: dependencies: micromark-util-character: 2.0.1 micromark-util-sanitize-uri: 2.0.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-extension-gfm-footnote@2.0.0: - resolution: {integrity: sha512-6Rzu0CYRKDv3BfLAUnZsSlzx3ak6HAoI85KTiijuKIz5UxZxbUI+pD6oHgw+6UtQuiRwnGRhzMmPRv4smcz0fg==} + micromark-extension-gfm-footnote@2.0.0: dependencies: devlop: 1.1.0 micromark-core-commonmark: 2.0.0 @@ -6083,10 +8415,8 @@ packages: micromark-util-sanitize-uri: 2.0.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-extension-gfm-strikethrough@2.0.0: - resolution: {integrity: sha512-c3BR1ClMp5fxxmwP6AoOY2fXO9U8uFMKs4ADD66ahLTNcwzSCyRVU4k7LPV5Nxo/VJiR4TdzxRQY2v3qIUceCw==} + micromark-extension-gfm-strikethrough@2.0.0: dependencies: devlop: 1.1.0 micromark-util-chunked: 2.0.0 @@ -6094,36 +8424,28 @@ packages: micromark-util-resolve-all: 2.0.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-extension-gfm-table@2.0.0: - resolution: {integrity: sha512-PoHlhypg1ItIucOaHmKE8fbin3vTLpDOUg8KAr8gRCF1MOZI9Nquq2i/44wFvviM4WuxJzc3demT8Y3dkfvYrw==} + micromark-extension-gfm-table@2.0.0: dependencies: devlop: 1.1.0 micromark-factory-space: 2.0.0 micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-extension-gfm-tagfilter@2.0.0: - resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==} + micromark-extension-gfm-tagfilter@2.0.0: dependencies: micromark-util-types: 2.0.0 - dev: false - /micromark-extension-gfm-task-list-item@2.0.1: - resolution: {integrity: sha512-cY5PzGcnULaN5O7T+cOzfMoHjBW7j+T9D2sucA5d/KbsBTPcYdebm9zUd9zzdgJGCwahV+/W78Z3nbulBYVbTw==} + micromark-extension-gfm-task-list-item@2.0.1: dependencies: devlop: 1.1.0 micromark-factory-space: 2.0.0 micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-extension-gfm@3.0.0: - resolution: {integrity: sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==} + micromark-extension-gfm@3.0.0: dependencies: micromark-extension-gfm-autolink-literal: 2.0.0 micromark-extension-gfm-footnote: 2.0.0 @@ -6133,10 +8455,8 @@ packages: micromark-extension-gfm-task-list-item: 2.0.1 micromark-util-combine-extensions: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-extension-mdx-expression@3.0.0: - resolution: {integrity: sha512-sI0nwhUDz97xyzqJAbHQhp5TfaxEvZZZ2JDqUo+7NvyIYG6BZ5CPPqj2ogUoPJlmXHBnyZUzISg9+oUmU6tUjQ==} + micromark-extension-mdx-expression@3.0.0: dependencies: '@types/estree': 1.0.5 devlop: 1.1.0 @@ -6146,10 +8466,8 @@ packages: micromark-util-events-to-acorn: 2.0.2 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-extension-mdx-jsx@3.0.0: - resolution: {integrity: sha512-uvhhss8OGuzR4/N17L1JwvmJIpPhAd8oByMawEKx6NVdBCbesjH4t+vjEp3ZXft9DwvlKSD07fCeI44/N0Vf2w==} + micromark-extension-mdx-jsx@3.0.0: dependencies: '@types/acorn': 4.0.6 '@types/estree': 1.0.5 @@ -6161,16 +8479,12 @@ packages: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 vfile-message: 4.0.2 - dev: false - /micromark-extension-mdx-md@2.0.0: - resolution: {integrity: sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==} + micromark-extension-mdx-md@2.0.0: dependencies: micromark-util-types: 2.0.0 - dev: false - /micromark-extension-mdxjs-esm@3.0.0: - resolution: {integrity: sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==} + micromark-extension-mdxjs-esm@3.0.0: dependencies: '@types/estree': 1.0.5 devlop: 1.1.0 @@ -6181,10 +8495,8 @@ packages: micromark-util-types: 2.0.0 unist-util-position-from-estree: 2.0.0 vfile-message: 4.0.2 - dev: false - /micromark-extension-mdxjs@3.0.0: - resolution: {integrity: sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==} + micromark-extension-mdxjs@3.0.0: dependencies: acorn: 8.11.2 acorn-jsx: 5.3.2(acorn@8.11.2) @@ -6194,27 +8506,21 @@ packages: micromark-extension-mdxjs-esm: 3.0.0 micromark-util-combine-extensions: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-factory-destination@2.0.0: - resolution: {integrity: sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA==} + micromark-factory-destination@2.0.0: dependencies: micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-factory-label@2.0.0: - resolution: {integrity: sha512-RR3i96ohZGde//4WSe/dJsxOX6vxIg9TimLAS3i4EhBAFx8Sm5SmqVfR8E87DPSR31nEAjZfbt91OMZWcNgdZw==} + micromark-factory-label@2.0.0: dependencies: devlop: 1.1.0 micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-factory-mdx-expression@2.0.1: - resolution: {integrity: sha512-F0ccWIUHRLRrYp5TC9ZYXmZo+p2AM13ggbsW4T0b5CRKP8KHVRB8t4pwtBgTxtjRmwrK0Irwm7vs2JOZabHZfg==} + micromark-factory-mdx-expression@2.0.1: dependencies: '@types/estree': 1.0.5 devlop: 1.1.0 @@ -6224,82 +8530,60 @@ packages: micromark-util-types: 2.0.0 unist-util-position-from-estree: 2.0.0 vfile-message: 4.0.2 - dev: false - /micromark-factory-space@2.0.0: - resolution: {integrity: sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg==} + micromark-factory-space@2.0.0: dependencies: micromark-util-character: 2.0.1 micromark-util-types: 2.0.0 - dev: false - /micromark-factory-title@2.0.0: - resolution: {integrity: sha512-jY8CSxmpWLOxS+t8W+FG3Xigc0RDQA9bKMY/EwILvsesiRniiVMejYTE4wumNc2f4UbAa4WsHqe3J1QS1sli+A==} + micromark-factory-title@2.0.0: dependencies: micromark-factory-space: 2.0.0 micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-factory-whitespace@2.0.0: - resolution: {integrity: sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==} + micromark-factory-whitespace@2.0.0: dependencies: micromark-factory-space: 2.0.0 micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-util-character@2.0.1: - resolution: {integrity: sha512-3wgnrmEAJ4T+mGXAUfMvMAbxU9RDG43XmGce4j6CwPtVxB3vfwXSZ6KhFwDzZ3mZHhmPimMAXg71veiBGzeAZw==} + micromark-util-character@2.0.1: dependencies: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-util-chunked@2.0.0: - resolution: {integrity: sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg==} + micromark-util-chunked@2.0.0: dependencies: micromark-util-symbol: 2.0.0 - dev: false - /micromark-util-classify-character@2.0.0: - resolution: {integrity: sha512-S0ze2R9GH+fu41FA7pbSqNWObo/kzwf8rN/+IGlW/4tC6oACOs8B++bh+i9bVyNnwCcuksbFwsBme5OCKXCwIw==} + micromark-util-classify-character@2.0.0: dependencies: micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-util-combine-extensions@2.0.0: - resolution: {integrity: sha512-vZZio48k7ON0fVS3CUgFatWHoKbbLTK/rT7pzpJ4Bjp5JjkZeasRfrS9wsBdDJK2cJLHMckXZdzPSSr1B8a4oQ==} + micromark-util-combine-extensions@2.0.0: dependencies: micromark-util-chunked: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-util-decode-numeric-character-reference@2.0.1: - resolution: {integrity: sha512-bmkNc7z8Wn6kgjZmVHOX3SowGmVdhYS7yBpMnuMnPzDq/6xwVA604DuOXMZTO1lvq01g+Adfa0pE2UKGlxL1XQ==} + micromark-util-decode-numeric-character-reference@2.0.1: dependencies: micromark-util-symbol: 2.0.0 - dev: false - /micromark-util-decode-string@2.0.0: - resolution: {integrity: sha512-r4Sc6leeUTn3P6gk20aFMj2ntPwn6qpDZqWvYmAG6NgvFTIlj4WtrAudLi65qYoaGdXYViXYw2pkmn7QnIFasA==} + micromark-util-decode-string@2.0.0: dependencies: decode-named-character-reference: 1.0.2 micromark-util-character: 2.0.1 micromark-util-decode-numeric-character-reference: 2.0.1 micromark-util-symbol: 2.0.0 - dev: false - /micromark-util-encode@2.0.0: - resolution: {integrity: sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA==} - dev: false + micromark-util-encode@2.0.0: {} - /micromark-util-events-to-acorn@2.0.2: - resolution: {integrity: sha512-Fk+xmBrOv9QZnEDguL9OI9/NQQp6Hz4FuQ4YmCb/5V7+9eAh1s6AYSvL20kHkD67YIg7EpE54TiSlcsf3vyZgA==} + micromark-util-events-to-acorn@2.0.2: dependencies: '@types/acorn': 4.0.6 '@types/estree': 1.0.5 @@ -6309,51 +8593,35 @@ packages: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 vfile-message: 4.0.2 - dev: false - /micromark-util-html-tag-name@2.0.0: - resolution: {integrity: sha512-xNn4Pqkj2puRhKdKTm8t1YHC/BAjx6CEwRFXntTaRf/x16aqka6ouVoutm+QdkISTlT7e2zU7U4ZdlDLJd2Mcw==} - dev: false + micromark-util-html-tag-name@2.0.0: {} - /micromark-util-normalize-identifier@2.0.0: - resolution: {integrity: sha512-2xhYT0sfo85FMrUPtHcPo2rrp1lwbDEEzpx7jiH2xXJLqBuy4H0GgXk5ToU8IEwoROtXuL8ND0ttVa4rNqYK3w==} + micromark-util-normalize-identifier@2.0.0: dependencies: micromark-util-symbol: 2.0.0 - dev: false - /micromark-util-resolve-all@2.0.0: - resolution: {integrity: sha512-6KU6qO7DZ7GJkaCgwBNtplXCvGkJToU86ybBAUdavvgsCiG8lSSvYxr9MhwmQ+udpzywHsl4RpGJsYWG1pDOcA==} + micromark-util-resolve-all@2.0.0: dependencies: micromark-util-types: 2.0.0 - dev: false - /micromark-util-sanitize-uri@2.0.0: - resolution: {integrity: sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw==} + micromark-util-sanitize-uri@2.0.0: dependencies: micromark-util-character: 2.0.1 micromark-util-encode: 2.0.0 micromark-util-symbol: 2.0.0 - dev: false - /micromark-util-subtokenize@2.0.0: - resolution: {integrity: sha512-vc93L1t+gpR3p8jxeVdaYlbV2jTYteDje19rNSS/H5dlhxUYll5Fy6vJ2cDwP8RnsXi818yGty1ayP55y3W6fg==} + micromark-util-subtokenize@2.0.0: dependencies: devlop: 1.1.0 micromark-util-chunked: 2.0.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: false - /micromark-util-symbol@2.0.0: - resolution: {integrity: sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw==} - dev: false + micromark-util-symbol@2.0.0: {} - /micromark-util-types@2.0.0: - resolution: {integrity: sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w==} - dev: false + micromark-util-types@2.0.0: {} - /micromark@4.0.0: - resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} + micromark@4.0.0: dependencies: '@types/debug': 4.1.12 debug: 4.3.4 @@ -6374,105 +8642,55 @@ packages: micromark-util-types: 2.0.0 transitivePeerDependencies: - supports-color - dev: false - /micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} - engines: {node: '>=8.6'} + micromatch@4.0.5: dependencies: braces: 3.0.2 picomatch: 2.3.1 - dev: false - /mime-db@1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} - engines: {node: '>= 0.6'} - dev: false + mime-db@1.52.0: {} - /mime-types@2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} - engines: {node: '>= 0.6'} + mime-types@2.1.35: dependencies: mime-db: 1.52.0 - dev: false - /mime@3.0.0: - resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} - engines: {node: '>=10.0.0'} - hasBin: true - dev: false + mime@3.0.0: {} - /mimic-fn@2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} - dev: false + mimic-fn@2.1.0: {} - /mimic-fn@4.0.0: - resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} - engines: {node: '>=12'} - dev: false + mimic-fn@4.0.0: {} - /mimic-response@3.1.0: - resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} - engines: {node: '>=10'} - dev: false + mimic-response@3.1.0: {} - /min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - dev: false + min-indent@1.0.1: {} - /minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 - dev: false - /minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} - engines: {node: '>=16 || 14 >=14.17'} + minimatch@9.0.3: dependencies: brace-expansion: 2.0.1 - dev: false - /minimist-options@4.1.0: - resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} - engines: {node: '>= 6'} + minimist-options@4.1.0: dependencies: arrify: 1.0.1 is-plain-obj: 1.1.0 kind-of: 6.0.3 - dev: false - /minimist@1.2.8: - resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - dev: false + minimist@1.2.8: {} - /minipass@7.0.4: - resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} - engines: {node: '>=16 || 14 >=14.17'} - dev: false + minipass@7.0.4: {} - /mixme@0.5.9: - resolution: {integrity: sha512-VC5fg6ySUscaWUpI4gxCBTQMH2RdUpNrk+MsbpCYtIvf9SBJdiUey4qE7BXviJsJR4nDQxCZ+3yaYNW3guz/Pw==} - engines: {node: '>= 8.0.0'} - dev: false + mixme@0.5.9: {} - /mkdirp-classic@0.5.3: - resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} - dev: false + mkdirp-classic@0.5.3: {} - /ms@2.0.0: - resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - dev: false + ms@2.0.0: {} - /ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - dev: false + ms@2.1.2: {} - /mysql2@3.6.5: - resolution: {integrity: sha512-pS/KqIb0xlXmtmqEuTvBXTmLoQ5LmAz5NW/r8UyQ1ldvnprNEj3P9GbmuQQ2J0A4LO+ynotGi6TbscPa8OUb+w==} - engines: {node: '>= 8.0'} + mysql2@3.6.5: dependencies: denque: 2.1.0 generate-function: 2.3.1 @@ -6482,115 +8700,68 @@ packages: named-placeholders: 1.1.3 seq-queue: 0.0.5 sqlstring: 2.3.3 - dev: false - /mz@2.7.0: - resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + mz@2.7.0: dependencies: any-promise: 1.3.0 object-assign: 4.1.1 thenify-all: 1.6.0 - dev: false - /named-placeholders@1.1.3: - resolution: {integrity: sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==} - engines: {node: '>=12.0.0'} + named-placeholders@1.1.3: dependencies: lru-cache: 7.18.3 - dev: false - /nanoid@3.3.7: - resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: false + nanoid@3.3.7: {} - /napi-build-utils@1.0.2: - resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} - dev: false + napi-build-utils@1.0.2: {} - /natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - dev: false + natural-compare@1.4.0: {} - /needle@2.9.1: - resolution: {integrity: sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==} - engines: {node: '>= 4.4.x'} - hasBin: true + needle@2.9.1: dependencies: debug: 3.2.7 iconv-lite: 0.4.24 sax: 1.3.0 transitivePeerDependencies: - supports-color - dev: false - /neo-async@2.6.2: - resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} - dev: false + neo-async@2.6.2: {} - /nice-try@1.0.5: - resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} - dev: false + nice-try@1.0.5: {} - /nlcst-to-string@3.1.1: - resolution: {integrity: sha512-63mVyqaqt0cmn2VcI2aH6kxe1rLAmSROqHMA0i4qqg1tidkfExgpb0FGMikMCn86mw5dFtBtEANfmSSK7TjNHw==} + nlcst-to-string@3.1.1: dependencies: '@types/nlcst': 1.0.4 - dev: false - /node-abi@3.52.0: - resolution: {integrity: sha512-JJ98b02z16ILv7859irtXn4oUaFWADtvkzy2c0IAatNVX2Mc9Yoh8z6hZInn3QwvMEYhHuQloYi+TTQy67SIdQ==} - engines: {node: '>=10'} + node-abi@3.52.0: dependencies: semver: 7.5.4 - dev: false - /node-addon-api@6.1.0: - resolution: {integrity: sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==} - dev: false + node-addon-api@6.1.0: {} - /node-releases@2.0.14: - resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} - dev: false + node-releases@2.0.14: {} - /normalize-package-data@2.5.0: - resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + normalize-package-data@2.5.0: dependencies: hosted-git-info: 2.8.9 resolve: 1.22.8 semver: 5.7.2 validate-npm-package-license: 3.0.4 - dev: false - /normalize-package-data@3.0.3: - resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} - engines: {node: '>=10'} + normalize-package-data@3.0.3: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.13.1 semver: 7.6.0 validate-npm-package-license: 3.0.4 - dev: false - /normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} - dev: false + normalize-path@3.0.0: {} - /normalize-range@0.1.2: - resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} - engines: {node: '>=0.10.0'} - dev: false + normalize-range@0.1.2: {} - /not@0.1.0: - resolution: {integrity: sha512-5PDmaAsVfnWUgTUbJ3ERwn7u79Z0dYxN9ErxCpVJJqe2RK0PJ3z+iFUxuqjwtlDDegXvtWoxD/3Fzxox7tFGWA==} - dev: false + not@0.1.0: {} - /npm-run-all@4.1.5: - resolution: {integrity: sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==} - engines: {node: '>= 4'} - hasBin: true + npm-run-all@4.1.5: dependencies: ansi-styles: 3.2.1 chalk: 2.4.2 @@ -6601,128 +8772,77 @@ packages: read-pkg: 3.0.0 shell-quote: 1.8.1 string.prototype.padend: 3.1.5 - dev: false - /npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} + npm-run-path@4.0.1: dependencies: path-key: 3.1.1 - dev: false - /npm-run-path@5.2.0: - resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + npm-run-path@5.2.0: dependencies: path-key: 4.0.0 - dev: false - /nth-check@2.1.1: - resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + nth-check@2.1.1: dependencies: boolbase: 1.0.0 - dev: false - /obj-props@1.4.0: - resolution: {integrity: sha512-p7p/7ltzPDiBs6DqxOrIbtRdwxxVRBj5ROukeNb9RgA+fawhrz5n2hpNz8DDmYR//tviJSj7nUnlppGmONkjiQ==} - engines: {node: '>=0.10.0'} - dev: false + obj-props@1.4.0: {} - /object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} - dev: false + object-assign@4.1.1: {} - /object-hash@3.0.0: - resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} - engines: {node: '>= 6'} - dev: false + object-hash@3.0.0: {} - /object-inspect@1.13.1: - resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} - dev: false + object-inspect@1.13.1: {} - /object-keys@1.1.1: - resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} - engines: {node: '>= 0.4'} - dev: false + object-keys@1.1.1: {} - /object.assign@4.1.4: - resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} - engines: {node: '>= 0.4'} + object.assign@4.1.4: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 has-symbols: 1.0.3 object-keys: 1.1.1 - dev: false - /object.values@1.1.7: - resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} - engines: {node: '>= 0.4'} + object.values@1.1.7: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 - dev: false - /on-exit-leak-free@2.1.2: - resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} - engines: {node: '>=14.0.0'} - dev: false + on-exit-leak-free@2.1.2: {} - /once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + once@1.4.0: dependencies: wrappy: 1.0.2 - dev: false - /onetime@5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} + onetime@5.1.2: dependencies: mimic-fn: 2.1.0 - dev: false - /onetime@6.0.0: - resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} - engines: {node: '>=12'} + onetime@6.0.0: dependencies: mimic-fn: 4.0.0 - dev: false - /open-editor@4.1.1: - resolution: {integrity: sha512-SYtGeZ9Zkzj/naoZaEF9LzwDYEGwuqQ4Fx5E3xdVRN98LFJjvMhG/ElByFEOVOiXepGra/Wi1fA4i/E1fXSBsw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + open-editor@4.1.1: dependencies: env-editor: 1.1.0 execa: 5.1.1 line-column-path: 3.0.0 open: 8.4.2 - dev: false - /open@8.4.2: - resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} - engines: {node: '>=12'} + open@8.4.2: dependencies: define-lazy-prop: 2.0.0 is-docker: 2.2.1 is-wsl: 2.2.0 - dev: false - /open@9.1.0: - resolution: {integrity: sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==} - engines: {node: '>=14.16'} + open@9.1.0: dependencies: default-browser: 4.0.0 define-lazy-prop: 3.0.0 is-inside-container: 1.0.0 is-wsl: 2.2.0 - dev: false - /optionator@0.9.3: - resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} - engines: {node: '>= 0.8.0'} + optionator@0.9.3: dependencies: '@aashutoshrathi/word-wrap': 1.2.6 deep-is: 0.1.4 @@ -6730,11 +8850,8 @@ packages: levn: 0.4.1 prelude-ls: 1.2.1 type-check: 0.4.0 - dev: false - /ora@7.0.1: - resolution: {integrity: sha512-0TUxTiFJWv+JnjWm4o9yvuskpEJLXTcng8MJuKd+SzAzp2o+OP3HWqNhB4OdJRt1Vsd9/mR0oyaEYlOnL7XIRw==} - engines: {node: '>=16'} + ora@7.0.1: dependencies: chalk: 5.3.0 cli-cursor: 4.0.0 @@ -6745,116 +8862,67 @@ packages: stdin-discarder: 0.1.0 string-width: 6.1.0 strip-ansi: 7.1.0 - dev: false - /os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} - dev: false + os-tmpdir@1.0.2: {} - /outdent@0.5.0: - resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} - dev: false + outdent@0.5.0: {} - /p-filter@2.1.0: - resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} - engines: {node: '>=8'} + p-filter@2.1.0: dependencies: p-map: 2.1.0 - dev: false - /p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} + p-limit@2.3.0: dependencies: p-try: 2.2.0 - dev: false - /p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} + p-limit@3.1.0: dependencies: yocto-queue: 0.1.0 - dev: false - /p-limit@4.0.0: - resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + p-limit@4.0.0: dependencies: yocto-queue: 1.0.0 - dev: false - /p-limit@5.0.0: - resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} - engines: {node: '>=18'} + p-limit@5.0.0: dependencies: yocto-queue: 1.0.0 - dev: false - /p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} + p-locate@4.1.0: dependencies: p-limit: 2.3.0 - dev: false - /p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} + p-locate@5.0.0: dependencies: p-limit: 3.1.0 - dev: false - /p-locate@6.0.0: - resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + p-locate@6.0.0: dependencies: p-limit: 4.0.0 - dev: false - /p-map@2.1.0: - resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} - engines: {node: '>=6'} - dev: false + p-map@2.1.0: {} - /p-queue@7.4.1: - resolution: {integrity: sha512-vRpMXmIkYF2/1hLBKisKeVYJZ8S2tZ0zEAmIJgdVKP2nq0nh4qCdf8bgw+ZgKrkh71AOCaqzwbJJk1WtdcF3VA==} - engines: {node: '>=12'} + p-queue@7.4.1: dependencies: eventemitter3: 5.0.1 p-timeout: 5.1.0 - dev: false - /p-timeout@5.1.0: - resolution: {integrity: sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==} - engines: {node: '>=12'} - dev: false + p-timeout@5.1.0: {} - /p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} - dev: false + p-try@2.2.0: {} - /pagefind@1.0.4: - resolution: {integrity: sha512-oRIizYe+zSI2Jw4zcMU0ebDZm27751hRFiSOBLwc1OIYMrsZKk+3m8p9EVaOmc6zZdtqwwdilNUNxXvBeHcP9w==} - hasBin: true + pagefind@1.0.4: optionalDependencies: '@pagefind/darwin-arm64': 1.0.4 '@pagefind/darwin-x64': 1.0.4 '@pagefind/linux-arm64': 1.0.4 '@pagefind/linux-x64': 1.0.4 '@pagefind/windows-x64': 1.0.4 - dev: false - /parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} + parent-module@1.0.1: dependencies: callsites: 3.1.0 - dev: false - /parse-entities@4.0.1: - resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==} + parse-entities@4.0.1: dependencies: '@types/unist': 2.0.10 character-entities: 2.0.2 @@ -6864,165 +8932,88 @@ packages: is-alphanumerical: 2.0.1 is-decimal: 2.0.1 is-hexadecimal: 2.0.1 - dev: false - /parse-json@4.0.0: - resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} - engines: {node: '>=4'} + parse-json@4.0.0: dependencies: error-ex: 1.3.2 json-parse-better-errors: 1.0.2 - dev: false - /parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} + parse-json@5.2.0: dependencies: '@babel/code-frame': 7.23.5 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 - dev: false - /parse-latin@5.0.1: - resolution: {integrity: sha512-b/K8ExXaWC9t34kKeDV8kGXBkXZ1HCSAZRYE7HR14eA1GlXX5L8iWhs8USJNhQU9q5ci413jCKF0gOyovvyRBg==} + parse-latin@5.0.1: dependencies: nlcst-to-string: 3.1.1 unist-util-modify-children: 3.1.1 unist-util-visit-children: 2.0.2 - dev: false - /parse-ms@3.0.0: - resolution: {integrity: sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==} - engines: {node: '>=12'} - dev: false + parse-ms@3.0.0: {} - /parse5@6.0.1: - resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} - dev: false + parse5@6.0.1: {} - /parse5@7.1.2: - resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + parse5@7.1.2: dependencies: entities: 4.5.0 - dev: false - /path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} - dev: false + path-exists@4.0.0: {} - /path-exists@5.0.0: - resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false + path-exists@5.0.0: {} - /path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - dev: false + path-is-absolute@1.0.1: {} - /path-key@2.0.1: - resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} - engines: {node: '>=4'} - dev: false + path-key@2.0.1: {} - /path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} - dev: false + path-key@3.1.1: {} - /path-key@4.0.0: - resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} - engines: {node: '>=12'} - dev: false + path-key@4.0.0: {} - /path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - dev: false + path-parse@1.0.7: {} - /path-scurry@1.10.1: - resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} - engines: {node: '>=16 || 14 >=14.17'} + path-scurry@1.10.1: dependencies: lru-cache: 10.0.1 minipass: 7.0.4 - dev: false - /path-to-regexp@6.2.1: - resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==} - dev: false + path-to-regexp@6.2.1: {} - /path-type@3.0.0: - resolution: {integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==} - engines: {node: '>=4'} + path-type@3.0.0: dependencies: pify: 3.0.0 - dev: false - /path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - dev: false + path-type@4.0.0: {} - /periscopic@3.1.0: - resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} + periscopic@3.1.0: dependencies: '@types/estree': 1.0.5 estree-walker: 3.0.3 is-reference: 3.0.2 - dev: false - /picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - dev: false + picocolors@1.0.0: {} - /picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - dev: false + picomatch@2.3.1: {} - /pidtree@0.3.1: - resolution: {integrity: sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==} - engines: {node: '>=0.10'} - hasBin: true - dev: false + pidtree@0.3.1: {} - /pidtree@0.6.0: - resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==} - engines: {node: '>=0.10'} - hasBin: true - dev: false + pidtree@0.6.0: {} - /pify@2.3.0: - resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} - engines: {node: '>=0.10.0'} - dev: false + pify@2.3.0: {} - /pify@3.0.0: - resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==} - engines: {node: '>=4'} - dev: false + pify@3.0.0: {} - /pify@4.0.1: - resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} - engines: {node: '>=6'} - dev: false + pify@4.0.1: {} - /pino-abstract-transport@1.1.0: - resolution: {integrity: sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==} + pino-abstract-transport@1.1.0: dependencies: readable-stream: 4.4.2 split2: 4.2.0 - dev: false - /pino-std-serializers@6.2.2: - resolution: {integrity: sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==} - dev: false + pino-std-serializers@6.2.2: {} - /pino@8.16.2: - resolution: {integrity: sha512-2advCDGVEvkKu9TTVSa/kWW7Z3htI/sBKEZpqiHk6ive0i/7f5b1rsU8jn0aimxqfnSz5bj/nOYkwhBUn5xxvg==} - hasBin: true + pino@8.16.2: dependencies: atomic-sleep: 1.0.0 fast-redact: 3.3.0 @@ -7035,125 +9026,66 @@ packages: safe-stable-stringify: 2.4.3 sonic-boom: 3.7.0 thread-stream: 2.4.1 - dev: false - /pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} - dev: false + pirates@4.0.6: {} - /pkg-dir@4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} + pkg-dir@4.2.0: dependencies: find-up: 4.1.0 - dev: false - /pkg-dir@5.0.0: - resolution: {integrity: sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==} - engines: {node: '>=10'} + pkg-dir@5.0.0: dependencies: find-up: 5.0.0 - dev: false - /pkg-dir@7.0.0: - resolution: {integrity: sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA==} - engines: {node: '>=14.16'} + pkg-dir@7.0.0: dependencies: find-up: 6.3.0 - dev: false - /plur@4.0.0: - resolution: {integrity: sha512-4UGewrYgqDFw9vV6zNV+ADmPAUAfJPKtGvb/VdpQAx25X5f3xXdGdyOEVFwkl8Hl/tl7+xbeHqSEM+D5/TirUg==} - engines: {node: '>=10'} + plur@4.0.0: dependencies: irregular-plurals: 3.5.0 - dev: false - /pluralize@8.0.0: - resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} - engines: {node: '>=4'} - dev: false + pluralize@8.0.0: {} - /postcss-import@15.1.0(postcss@8.4.32): - resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} - engines: {node: '>=14.0.0'} - peerDependencies: - postcss: ^8.0.0 + postcss-import@15.1.0(postcss@8.4.32): dependencies: postcss: 8.4.32 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 - dev: false - /postcss-js@4.0.1(postcss@8.4.32): - resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} - engines: {node: ^12 || ^14 || >= 16} - peerDependencies: - postcss: ^8.4.21 + postcss-js@4.0.1(postcss@8.4.32): dependencies: camelcase-css: 2.0.1 postcss: 8.4.32 - dev: false - /postcss-load-config@4.0.2(postcss@8.4.32): - resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} - engines: {node: '>= 14'} - peerDependencies: - postcss: '>=8.0.9' - ts-node: '>=9.0.0' - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true + postcss-load-config@4.0.2(postcss@8.4.32): dependencies: lilconfig: 3.0.0 postcss: 8.4.32 yaml: 2.3.4 - dev: false - /postcss-nested@6.0.1(postcss@8.4.32): - resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} - engines: {node: '>=12.0'} - peerDependencies: - postcss: ^8.2.14 + postcss-nested@6.0.1(postcss@8.4.32): dependencies: postcss: 8.4.32 postcss-selector-parser: 6.0.13 - dev: false - /postcss-selector-parser@6.0.13: - resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==} - engines: {node: '>=4'} + postcss-selector-parser@6.0.13: dependencies: cssesc: 3.0.0 util-deprecate: 1.0.2 - dev: false - /postcss-value-parser@4.2.0: - resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - dev: false + postcss-value-parser@4.2.0: {} - /postcss@8.4.32: - resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} - engines: {node: ^10 || ^12 || >=14} + postcss@8.4.32: dependencies: nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.0.2 - dev: false - /postgres@3.4.3: - resolution: {integrity: sha512-iHJn4+M9vbTdHSdDzNkC0crHq+1CUdFhx+YqCE+SqWxPjm+Zu63jq7yZborOBF64c8pc58O5uMudyL1FQcHacA==} - engines: {node: '>=12'} - dev: false + postgres@3.4.3: {} - /prebuild-install@7.1.1: - resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} - engines: {node: '>=10'} - hasBin: true + prebuild-install@7.1.1: dependencies: detect-libc: 2.0.2 expand-template: 2.0.3 @@ -7167,283 +9099,174 @@ packages: simple-get: 4.0.1 tar-fs: 2.1.1 tunnel-agent: 0.6.0 - dev: false - /preferred-pm@3.1.2: - resolution: {integrity: sha512-nk7dKrcW8hfCZ4H6klWcdRknBOXWzNQByJ0oJyX97BOupsYD+FzLS4hflgEu/uPUEHZCuRfMxzCBsuWd7OzT8Q==} - engines: {node: '>=10'} + preferred-pm@3.1.2: dependencies: find-up: 5.0.0 find-yarn-workspace-root2: 1.2.16 path-exists: 4.0.0 which-pm: 2.0.0 - dev: false - /prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} - dev: false + prelude-ls@1.2.1: {} - /prettier-linter-helpers@1.0.0: - resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} - engines: {node: '>=6.0.0'} + prettier-linter-helpers@1.0.0: dependencies: fast-diff: 1.3.0 - dev: false - /prettier@2.8.8: - resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} - engines: {node: '>=10.13.0'} - hasBin: true - dev: false + prettier@2.8.8: {} - /prettier@3.1.1: - resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} - engines: {node: '>=14'} - hasBin: true - dev: false + prettier@3.1.1: {} - /pretty-ms@8.0.0: - resolution: {integrity: sha512-ASJqOugUF1bbzI35STMBUpZqdfYKlJugy6JBziGi2EE+AL5JPJGSzvpeVXojxrr0ViUYoToUjb5kjSEGf7Y83Q==} - engines: {node: '>=14.16'} + pretty-ms@8.0.0: dependencies: parse-ms: 3.0.0 - dev: false - /prismjs@1.29.0: - resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} - engines: {node: '>=6'} - dev: false + prismjs@1.29.0: {} - /probe-image-size@7.2.3: - resolution: {integrity: sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w==} + probe-image-size@7.2.3: dependencies: lodash.merge: 4.6.2 needle: 2.9.1 stream-parser: 0.3.1 transitivePeerDependencies: - supports-color - dev: false - /process-warning@2.3.2: - resolution: {integrity: sha512-n9wh8tvBe5sFmsqlg+XQhaQLumwpqoAUruLwjCopgTmUBjJ/fjtBsJzKleCaIGBOMXYEhp1YfKl4d7rJ5ZKJGA==} - dev: false + process-warning@2.3.2: {} - /process@0.11.10: - resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} - engines: {node: '>= 0.6.0'} - dev: false + process@0.11.10: {} - /prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} + prompts@2.4.2: dependencies: kleur: 3.0.3 sisteransi: 1.0.5 - dev: false - /property-information@6.4.0: - resolution: {integrity: sha512-9t5qARVofg2xQqKtytzt+lZ4d1Qvj8t5B8fEwXK6qOfgRLgH/b13QlgEyDh033NOS31nXeFbYv7CLUDG1CeifQ==} - dev: false + property-information@6.4.0: {} - /proto-props@2.0.0: - resolution: {integrity: sha512-2yma2tog9VaRZY2mn3Wq51uiSW4NcPYT1cQdBagwyrznrilKSZwIZ0UG3ZPL/mx+axEns0hE35T5ufOYZXEnBQ==} - engines: {node: '>=4'} - dev: false + proto-props@2.0.0: {} - /pseudomap@1.0.2: - resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} - dev: false + pseudomap@1.0.2: {} - /pump@3.0.0: - resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} + pump@3.0.0: dependencies: end-of-stream: 1.4.4 once: 1.4.0 - dev: false - /punycode@2.3.1: - resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} - engines: {node: '>=6'} - dev: false + punycode@2.3.1: {} - /queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - dev: false + queue-microtask@1.2.3: {} - /queue-tick@1.0.1: - resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==} - dev: false + queue-tick@1.0.1: {} - /quick-format-unescaped@4.0.4: - resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} - dev: false + quick-format-unescaped@4.0.4: {} - /quick-lru@4.0.1: - resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} - engines: {node: '>=8'} - dev: false + quick-lru@4.0.1: {} - /randombytes@2.1.0: - resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + randombytes@2.1.0: dependencies: safe-buffer: 5.2.1 - dev: false - /rc@1.2.8: - resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} - hasBin: true + rc@1.2.8: dependencies: deep-extend: 0.6.0 ini: 1.3.8 minimist: 1.2.8 strip-json-comments: 2.0.1 - dev: false - /read-cache@1.0.0: - resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} + read-cache@1.0.0: dependencies: pify: 2.3.0 - dev: false - /read-pkg-up@7.0.1: - resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} - engines: {node: '>=8'} + read-pkg-up@7.0.1: dependencies: find-up: 4.1.0 read-pkg: 5.2.0 type-fest: 0.8.1 - dev: false - /read-pkg@3.0.0: - resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==} - engines: {node: '>=4'} + read-pkg@3.0.0: dependencies: load-json-file: 4.0.0 normalize-package-data: 2.5.0 path-type: 3.0.0 - dev: false - /read-pkg@5.2.0: - resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} - engines: {node: '>=8'} + read-pkg@5.2.0: dependencies: '@types/normalize-package-data': 2.4.4 normalize-package-data: 2.5.0 parse-json: 5.2.0 type-fest: 0.6.0 - dev: false - /read-yaml-file@1.1.0: - resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} - engines: {node: '>=6'} + read-yaml-file@1.1.0: dependencies: graceful-fs: 4.2.11 js-yaml: 3.14.1 pify: 4.0.1 strip-bom: 3.0.0 - dev: false - /readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} + readable-stream@3.6.2: dependencies: inherits: 2.0.4 string_decoder: 1.3.0 util-deprecate: 1.0.2 - dev: false - /readable-stream@4.4.2: - resolution: {integrity: sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + readable-stream@4.4.2: dependencies: abort-controller: 3.0.0 buffer: 6.0.3 events: 3.3.0 process: 0.11.10 string_decoder: 1.3.0 - dev: false - /readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} + readdirp@3.6.0: dependencies: picomatch: 2.3.1 - dev: false - /real-require@0.2.0: - resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==} - engines: {node: '>= 12.13.0'} - dev: false + real-require@0.2.0: {} - /redent@3.0.0: - resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} - engines: {node: '>=8'} + redent@3.0.0: dependencies: indent-string: 4.0.0 strip-indent: 3.0.0 - dev: false - /regenerator-runtime@0.14.0: - resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} - dev: false + regenerator-runtime@0.14.0: {} - /regexp-tree@0.1.27: - resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} - hasBin: true - dev: false + regexp-tree@0.1.27: {} - /regexp.prototype.flags@1.5.1: - resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} - engines: {node: '>= 0.4'} + regexp.prototype.flags@1.5.1: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 set-function-name: 2.0.1 - dev: false - /regjsparser@0.10.0: - resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} - hasBin: true + regjsparser@0.10.0: dependencies: jsesc: 0.5.0 - dev: false - /rehype-parse@9.0.0: - resolution: {integrity: sha512-WG7nfvmWWkCR++KEkZevZb/uw41E8TsH4DsY9UxsTbIXCVGbAs4S+r8FrQ+OtH5EEQAs+5UxKC42VinkmpA1Yw==} + rehype-parse@9.0.0: dependencies: '@types/hast': 3.0.3 hast-util-from-html: 2.0.1 unified: 11.0.4 - dev: false - /rehype-raw@7.0.0: - resolution: {integrity: sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==} + rehype-raw@7.0.0: dependencies: '@types/hast': 3.0.3 hast-util-raw: 9.0.1 vfile: 6.0.1 - dev: false - /rehype-stringify@10.0.0: - resolution: {integrity: sha512-1TX1i048LooI9QoecrXy7nGFFbFSufxVRAfc6Y9YMRAi56l+oB0zP51mLSV312uRuvVLPV1opSlJmslozR1XHQ==} + rehype-stringify@10.0.0: dependencies: '@types/hast': 3.0.3 hast-util-to-html: 9.0.0 unified: 11.0.4 - dev: false - /rehype@13.0.1: - resolution: {integrity: sha512-AcSLS2mItY+0fYu9xKxOu1LhUZeBZZBx8//5HKzF+0XP+eP8+6a5MXn2+DW2kfXR6Dtp1FEXMVrjyKAcvcU8vg==} + rehype@13.0.1: dependencies: '@types/hast': 3.0.3 rehype-parse: 9.0.0 rehype-stringify: 10.0.0 unified: 11.0.4 - dev: false - /remark-directive@3.0.0: - resolution: {integrity: sha512-l1UyWJ6Eg1VPU7Hm/9tt0zKtReJQNOA4+iDMAxTyZNWnJnFlbS/7zhiel/rogTLQ2vMYwDzSJa4BiVNqGlqIMA==} + remark-directive@3.0.0: dependencies: '@types/mdast': 4.0.3 mdast-util-directive: 3.0.0 @@ -7451,18 +9274,14 @@ packages: unified: 11.0.4 transitivePeerDependencies: - supports-color - dev: false - /remark-expressive-code@0.29.4: - resolution: {integrity: sha512-7PX6TgPKFDfrixlBugCXYQGb6HWWGCyMcLBSpUZG8aiJvbFEaERYTMhj3WPKc2haAqliCcMjzGV4Kdbl+ci0yA==} + remark-expressive-code@0.29.4: dependencies: expressive-code: 0.29.4 hast-util-to-html: 8.0.4 unist-util-visit: 4.1.2 - dev: false - /remark-gfm@4.0.0: - resolution: {integrity: sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==} + remark-gfm@4.0.0: dependencies: '@types/mdast': 4.0.3 mdast-util-gfm: 3.0.0 @@ -7472,19 +9291,15 @@ packages: unified: 11.0.4 transitivePeerDependencies: - supports-color - dev: false - /remark-mdx@3.0.0: - resolution: {integrity: sha512-O7yfjuC6ra3NHPbRVxfflafAj3LTwx3b73aBvkEFU5z4PsD6FD4vrqJAkE5iNGLz71GdjXfgRqm3SQ0h0VuE7g==} + remark-mdx@3.0.0: dependencies: mdast-util-mdx: 3.0.0 micromark-extension-mdxjs: 3.0.0 transitivePeerDependencies: - supports-color - dev: false - /remark-parse@11.0.0: - resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} + remark-parse@11.0.0: dependencies: '@types/mdast': 4.0.3 mdast-util-from-markdown: 2.0.0 @@ -7492,151 +9307,96 @@ packages: unified: 11.0.4 transitivePeerDependencies: - supports-color - dev: false - /remark-rehype@11.0.0: - resolution: {integrity: sha512-vx8x2MDMcxuE4lBmQ46zYUDfcFMmvg80WYX+UNLeG6ixjdCCLcw1lrgAukwBTuOFsS78eoAedHGn9sNM0w7TPw==} + remark-rehype@11.0.0: dependencies: '@types/hast': 3.0.3 '@types/mdast': 4.0.3 mdast-util-to-hast: 13.0.2 unified: 11.0.4 vfile: 6.0.1 - dev: false - /remark-smartypants@2.0.0: - resolution: {integrity: sha512-Rc0VDmr/yhnMQIz8n2ACYXlfw/P/XZev884QU1I5u+5DgJls32o97Vc1RbK3pfumLsJomS2yy8eT4Fxj/2MDVA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + remark-smartypants@2.0.0: dependencies: retext: 8.1.0 retext-smartypants: 5.2.0 unist-util-visit: 4.1.2 - dev: false - /remark-stringify@11.0.0: - resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} + remark-stringify@11.0.0: dependencies: '@types/mdast': 4.0.3 mdast-util-to-markdown: 2.1.0 unified: 11.0.4 - dev: false - /require-directory@2.1.1: - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} - engines: {node: '>=0.10.0'} - dev: false + require-directory@2.1.1: {} - /require-from-string@2.0.2: - resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} - engines: {node: '>=0.10.0'} - dev: false + require-from-string@2.0.2: {} - /require-main-filename@2.0.0: - resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} - dev: false + require-main-filename@2.0.0: {} - /resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} - dev: false + resolve-from@4.0.0: {} - /resolve-from@5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} - dev: false + resolve-from@5.0.0: {} - /resolve-global@1.0.0: - resolution: {integrity: sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==} - engines: {node: '>=8'} + resolve-global@1.0.0: dependencies: global-dirs: 0.1.1 - dev: false - /resolve-pkg-maps@1.0.0: - resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - dev: false + resolve-pkg-maps@1.0.0: {} - /resolve@1.22.8: - resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} - hasBin: true + resolve@1.22.8: dependencies: is-core-module: 2.13.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - dev: false - /resolve@2.0.0-next.5: - resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==} - hasBin: true + resolve@2.0.0-next.5: dependencies: is-core-module: 2.13.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - dev: false - /restore-cursor@4.0.0: - resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + restore-cursor@4.0.0: dependencies: onetime: 5.1.2 signal-exit: 3.0.7 - dev: false - /retext-latin@3.1.0: - resolution: {integrity: sha512-5MrD1tuebzO8ppsja5eEu+ZbBeUNCjoEarn70tkXOS7Bdsdf6tNahsv2bY0Z8VooFF6cw7/6S+d3yI/TMlMVVQ==} + retext-latin@3.1.0: dependencies: '@types/nlcst': 1.0.4 parse-latin: 5.0.1 unherit: 3.0.1 unified: 10.1.2 - dev: false - /retext-smartypants@5.2.0: - resolution: {integrity: sha512-Do8oM+SsjrbzT2UNIKgheP0hgUQTDDQYyZaIY3kfq0pdFzoPk+ZClYJ+OERNXveog4xf1pZL4PfRxNoVL7a/jw==} + retext-smartypants@5.2.0: dependencies: '@types/nlcst': 1.0.4 nlcst-to-string: 3.1.1 unified: 10.1.2 unist-util-visit: 4.1.2 - dev: false - /retext-stringify@3.1.0: - resolution: {integrity: sha512-767TLOaoXFXyOnjx/EggXlb37ZD2u4P1n0GJqVdpipqACsQP+20W+BNpMYrlJkq7hxffnFk+jc6mAK9qrbuB8w==} + retext-stringify@3.1.0: dependencies: '@types/nlcst': 1.0.4 nlcst-to-string: 3.1.1 unified: 10.1.2 - dev: false - /retext@8.1.0: - resolution: {integrity: sha512-N9/Kq7YTn6ZpzfiGW45WfEGJqFf1IM1q8OsRa1CGzIebCJBNCANDRmOrholiDRGKo/We7ofKR4SEvcGAWEMD3Q==} + retext@8.1.0: dependencies: '@types/nlcst': 1.0.4 retext-latin: 3.1.0 retext-stringify: 3.1.0 unified: 10.1.2 - dev: false - /reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - dev: false + reusify@1.0.4: {} - /rfdc@1.3.0: - resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==} - dev: false + rfdc@1.3.0: {} - /rimraf@3.0.2: - resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - hasBin: true + rimraf@3.0.2: dependencies: glob: 7.2.3 - dev: false - /rollup@4.9.0: - resolution: {integrity: sha512-bUHW/9N21z64gw8s6tP4c88P382Bq/L5uZDowHlHx6s/QWpjJXivIAbEw6LZthgSvlEizZBfLC4OAvWe7aoF7A==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true + rollup@4.9.0: optionalDependencies: '@rollup/rollup-android-arm-eabi': 4.9.0 '@rollup/rollup-android-arm64': 4.9.0 @@ -7652,147 +9412,87 @@ packages: '@rollup/rollup-win32-ia32-msvc': 4.9.0 '@rollup/rollup-win32-x64-msvc': 4.9.0 fsevents: 2.3.3 - dev: false - /run-applescript@5.0.0: - resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} - engines: {node: '>=12'} + run-applescript@5.0.0: dependencies: execa: 5.1.1 - dev: false - /run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 - dev: false - /safe-array-concat@1.0.1: - resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} - engines: {node: '>=0.4'} + safe-array-concat@1.0.1: dependencies: call-bind: 1.0.5 get-intrinsic: 1.2.2 has-symbols: 1.0.3 isarray: 2.0.5 - dev: false - /safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - dev: false + safe-buffer@5.2.1: {} - /safe-regex-test@1.0.0: - resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} + safe-regex-test@1.0.0: dependencies: call-bind: 1.0.5 get-intrinsic: 1.2.2 is-regex: 1.1.4 - dev: false - /safe-stable-stringify@2.4.3: - resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} - engines: {node: '>=10'} - dev: false + safe-stable-stringify@2.4.3: {} - /safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - dev: false + safer-buffer@2.1.2: {} - /sax@1.3.0: - resolution: {integrity: sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==} - dev: false + sax@1.3.0: {} - /schema-utils@3.3.0: - resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} - engines: {node: '>= 10.13.0'} + schema-utils@3.3.0: dependencies: '@types/json-schema': 7.0.15 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) - dev: false - /section-matter@1.0.0: - resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} - engines: {node: '>=4'} + section-matter@1.0.0: dependencies: extend-shallow: 2.0.1 kind-of: 6.0.3 - dev: false - /semver@5.7.2: - resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} - hasBin: true - dev: false + semver@5.7.2: {} - /semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - dev: false + semver@6.3.1: {} - /semver@7.5.4: - resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} - engines: {node: '>=10'} - hasBin: true + semver@7.5.4: dependencies: lru-cache: 6.0.0 - dev: false - /semver@7.6.0: - resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} - engines: {node: '>=10'} - hasBin: true + semver@7.6.0: dependencies: lru-cache: 6.0.0 - dev: false - /seq-queue@0.0.5: - resolution: {integrity: sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==} - dev: false + seq-queue@0.0.5: {} - /serialize-error@11.0.3: - resolution: {integrity: sha512-2G2y++21dhj2R7iHAdd0FIzjGwuKZld+7Pl/bTU6YIkrC2ZMbVUjm+luj6A6V34Rv9XfKJDKpTWu9W4Gse1D9g==} - engines: {node: '>=14.16'} + serialize-error@11.0.3: dependencies: type-fest: 2.19.0 - dev: false - /serialize-javascript@6.0.2: - resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} + serialize-javascript@6.0.2: dependencies: randombytes: 2.1.0 - dev: false - /server-destroy@1.0.1: - resolution: {integrity: sha512-rb+9B5YBIEzYcD6x2VKidaa+cqYBJQKnU4oe4E3ANwRRN56yk/ua1YCJT1n21NTS8w6CcOclAKNP3PhdCXKYtQ==} - dev: false + server-destroy@1.0.1: {} - /set-blocking@2.0.0: - resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} - dev: false + set-blocking@2.0.0: {} - /set-function-length@1.1.1: - resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==} - engines: {node: '>= 0.4'} + set-function-length@1.1.1: dependencies: define-data-property: 1.1.1 get-intrinsic: 1.2.2 gopd: 1.0.1 has-property-descriptors: 1.0.1 - dev: false - /set-function-name@2.0.1: - resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} - engines: {node: '>= 0.4'} + set-function-name@2.0.1: dependencies: define-data-property: 1.1.1 functions-have-names: 1.2.3 has-property-descriptors: 1.0.1 - dev: false - /sharp@0.32.6: - resolution: {integrity: sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==} - engines: {node: '>=14.15.0'} - requiresBuild: true + sharp@0.32.6: dependencies: color: 4.2.3 detect-libc: 2.0.2 @@ -7802,136 +9502,80 @@ packages: simple-get: 4.0.1 tar-fs: 3.0.4 tunnel-agent: 0.6.0 - dev: false - /shebang-command@1.2.0: - resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} - engines: {node: '>=0.10.0'} + shebang-command@1.2.0: dependencies: shebang-regex: 1.0.0 - dev: false - /shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} + shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 - dev: false - /shebang-regex@1.0.0: - resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} - engines: {node: '>=0.10.0'} - dev: false + shebang-regex@1.0.0: {} - /shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} - dev: false + shebang-regex@3.0.0: {} - /shell-quote@1.8.1: - resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} - dev: false + shell-quote@1.8.1: {} - /shiki@0.14.6: - resolution: {integrity: sha512-R4koBBlQP33cC8cpzX0hAoOURBHJILp4Aaduh2eYi+Vj8ZBqtK/5SWNEHBS3qwUMu8dqOtI/ftno3ESfNeVW9g==} + shiki@0.14.6: dependencies: ansi-sequence-parser: 1.1.1 jsonc-parser: 3.2.0 vscode-oniguruma: 1.7.0 vscode-textmate: 8.0.0 - dev: false - /shikiji@0.6.13: - resolution: {integrity: sha512-4T7X39csvhT0p7GDnq9vysWddf2b6BeioiN3Ymhnt3xcy9tXmDcnsEFVxX18Z4YcQgEE/w48dLJ4pPPUcG9KkA==} + shikiji@0.6.13: dependencies: hast-util-to-html: 9.0.0 - dev: false - /side-channel@1.0.4: - resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} + side-channel@1.0.4: dependencies: call-bind: 1.0.5 get-intrinsic: 1.2.2 object-inspect: 1.13.1 - dev: false - /signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - dev: false + signal-exit@3.0.7: {} - /signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} - dev: false + signal-exit@4.1.0: {} - /simple-concat@1.0.1: - resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} - dev: false + simple-concat@1.0.1: {} - /simple-get@4.0.1: - resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} + simple-get@4.0.1: dependencies: decompress-response: 6.0.0 once: 1.4.0 simple-concat: 1.0.1 - dev: false - /simple-swizzle@0.2.2: - resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} + simple-swizzle@0.2.2: dependencies: is-arrayish: 0.3.2 - dev: false - /sisteransi@1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} - dev: false + sisteransi@1.0.5: {} - /sitemap@7.1.1: - resolution: {integrity: sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg==} - engines: {node: '>=12.0.0', npm: '>=5.6.0'} - hasBin: true + sitemap@7.1.1: dependencies: '@types/node': 17.0.45 '@types/sax': 1.2.7 arg: 5.0.2 sax: 1.3.0 - dev: false - /slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - dev: false + slash@3.0.0: {} - /slash@4.0.0: - resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} - engines: {node: '>=12'} - dev: false + slash@4.0.0: {} - /slash@5.1.0: - resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} - engines: {node: '>=14.16'} - dev: false + slash@5.1.0: {} - /slice-ansi@5.0.0: - resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} - engines: {node: '>=12'} + slice-ansi@5.0.0: dependencies: ansi-styles: 6.2.1 is-fullwidth-code-point: 4.0.0 - dev: false - /slice-ansi@7.1.0: - resolution: {integrity: sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==} - engines: {node: '>=18'} + slice-ansi@7.1.0: dependencies: ansi-styles: 6.2.1 is-fullwidth-code-point: 5.0.0 - dev: false - /smartwrap@2.0.2: - resolution: {integrity: sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==} - engines: {node: '>=6'} - hasBin: true + smartwrap@2.0.2: dependencies: array.prototype.flat: 1.3.2 breakword: 1.0.6 @@ -7939,281 +9583,170 @@ packages: strip-ansi: 6.0.1 wcwidth: 1.0.1 yargs: 15.4.1 - dev: false - /sonic-boom@3.7.0: - resolution: {integrity: sha512-IudtNvSqA/ObjN97tfgNmOKyDOs4dNcg4cUUsHDebqsgb8wGBBwb31LIgShNO8fye0dFI52X1+tFoKKI6Rq1Gg==} + sonic-boom@3.7.0: dependencies: atomic-sleep: 1.0.0 - dev: false - /source-map-js@1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} - engines: {node: '>=0.10.0'} - dev: false + source-map-js@1.0.2: {} - /source-map-support@0.5.21: - resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + source-map-support@0.5.21: dependencies: buffer-from: 1.1.2 source-map: 0.6.1 - dev: false - /source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} - dev: false + source-map@0.6.1: {} - /source-map@0.7.4: - resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} - engines: {node: '>= 8'} - dev: false + source-map@0.7.4: {} - /space-separated-tokens@2.0.2: - resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} - dev: false + space-separated-tokens@2.0.2: {} - /spawndamnit@2.0.0: - resolution: {integrity: sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==} + spawndamnit@2.0.0: dependencies: cross-spawn: 5.1.0 signal-exit: 3.0.7 - dev: false - /spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} + spdx-correct@3.2.0: dependencies: spdx-expression-parse: 3.0.1 spdx-license-ids: 3.0.16 - dev: false - /spdx-exceptions@2.3.0: - resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} - dev: false + spdx-exceptions@2.3.0: {} - /spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + spdx-expression-parse@3.0.1: dependencies: spdx-exceptions: 2.3.0 spdx-license-ids: 3.0.16 - dev: false - /spdx-license-ids@3.0.16: - resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} - dev: false + spdx-license-ids@3.0.16: {} - /split2@3.2.2: - resolution: {integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==} + split2@3.2.2: dependencies: readable-stream: 3.6.2 - dev: false - /split2@4.2.0: - resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} - engines: {node: '>= 10.x'} - dev: false + split2@4.2.0: {} - /sprintf-js@1.0.3: - resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} - dev: false + sprintf-js@1.0.3: {} - /sqlstring@2.3.3: - resolution: {integrity: sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==} - engines: {node: '>= 0.6'} - dev: false + sqlstring@2.3.3: {} - /stdin-discarder@0.1.0: - resolution: {integrity: sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + stdin-discarder@0.1.0: dependencies: bl: 5.1.0 - dev: false - /stream-parser@0.3.1: - resolution: {integrity: sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ==} + stream-parser@0.3.1: dependencies: debug: 2.6.9 transitivePeerDependencies: - supports-color - dev: false - /stream-transform@2.1.3: - resolution: {integrity: sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ==} + stream-transform@2.1.3: dependencies: mixme: 0.5.9 - dev: false - /streamx@2.15.6: - resolution: {integrity: sha512-q+vQL4AAz+FdfT137VF69Cc/APqUbxy+MDOImRrMvchJpigHj9GksgDU2LYbO9rx7RX6osWgxJB2WxhYv4SZAw==} + streamx@2.15.6: dependencies: fast-fifo: 1.3.2 queue-tick: 1.0.1 - dev: false - /string-argv@0.3.2: - resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} - engines: {node: '>=0.6.19'} - dev: false + string-argv@0.3.2: {} - /string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} + string-width@4.2.3: dependencies: emoji-regex: 8.0.0 is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 - dev: false - /string-width@5.1.2: - resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} - engines: {node: '>=12'} + string-width@5.1.2: dependencies: eastasianwidth: 0.2.0 emoji-regex: 9.2.2 strip-ansi: 7.1.0 - dev: false - /string-width@6.1.0: - resolution: {integrity: sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==} - engines: {node: '>=16'} + string-width@6.1.0: dependencies: eastasianwidth: 0.2.0 emoji-regex: 10.3.0 strip-ansi: 7.1.0 - dev: false - /string-width@7.0.0: - resolution: {integrity: sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==} - engines: {node: '>=18'} + string-width@7.0.0: dependencies: emoji-regex: 10.3.0 get-east-asian-width: 1.2.0 strip-ansi: 7.1.0 - dev: false - /string-width@7.1.0: - resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} - engines: {node: '>=18'} + string-width@7.1.0: dependencies: emoji-regex: 10.3.0 get-east-asian-width: 1.2.0 strip-ansi: 7.1.0 - dev: false - /string.prototype.padend@3.1.5: - resolution: {integrity: sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA==} - engines: {node: '>= 0.4'} + string.prototype.padend@3.1.5: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 - dev: false - /string.prototype.trim@1.2.8: - resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} - engines: {node: '>= 0.4'} + string.prototype.trim@1.2.8: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 - dev: false - /string.prototype.trimend@1.0.7: - resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} + string.prototype.trimend@1.0.7: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 - dev: false - /string.prototype.trimstart@1.0.7: - resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} + string.prototype.trimstart@1.0.7: dependencies: call-bind: 1.0.5 define-properties: 1.2.1 es-abstract: 1.22.3 - dev: false - /string_decoder@1.3.0: - resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + string_decoder@1.3.0: dependencies: safe-buffer: 5.2.1 - dev: false - /stringify-entities@4.0.3: - resolution: {integrity: sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g==} + stringify-entities@4.0.3: dependencies: character-entities-html4: 2.1.0 character-entities-legacy: 3.0.0 - dev: false - /strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} + strip-ansi@6.0.1: dependencies: ansi-regex: 5.0.1 - dev: false - /strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} - engines: {node: '>=12'} + strip-ansi@7.1.0: dependencies: ansi-regex: 6.0.1 - dev: false - /strip-bom-string@1.0.0: - resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} - engines: {node: '>=0.10.0'} - dev: false + strip-bom-string@1.0.0: {} - /strip-bom@3.0.0: - resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} - engines: {node: '>=4'} - dev: false + strip-bom@3.0.0: {} - /strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} - dev: false + strip-final-newline@2.0.0: {} - /strip-final-newline@3.0.0: - resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} - engines: {node: '>=12'} - dev: false + strip-final-newline@3.0.0: {} - /strip-indent@3.0.0: - resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} + strip-indent@3.0.0: dependencies: min-indent: 1.0.1 - dev: false - /strip-json-comments@2.0.1: - resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} - engines: {node: '>=0.10.0'} - dev: false + strip-json-comments@2.0.1: {} - /strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} - dev: false + strip-json-comments@3.1.1: {} - /style-to-object@0.4.4: - resolution: {integrity: sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==} + style-to-object@0.4.4: dependencies: inline-style-parser: 0.1.1 - dev: false - /style-to-object@1.0.5: - resolution: {integrity: sha512-rDRwHtoDD3UMMrmZ6BzOW0naTjMsVZLIjsGleSKS/0Oz+cgCfAPRspaqJuE8rDzpKha/nEvnM0IF4seEAZUTKQ==} + style-to-object@1.0.5: dependencies: inline-style-parser: 0.2.2 - dev: false - /sucrase@3.34.0: - resolution: {integrity: sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==} - engines: {node: '>=8'} - hasBin: true + sucrase@3.34.0: dependencies: '@jridgewell/gen-mapping': 0.3.3 commander: 4.1.1 @@ -8222,54 +9755,32 @@ packages: mz: 2.7.0 pirates: 4.0.6 ts-interface-checker: 0.1.13 - dev: false - /supports-color@5.5.0: - resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} - engines: {node: '>=4'} + supports-color@5.5.0: dependencies: has-flag: 3.0.0 - dev: false - /supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} + supports-color@7.2.0: dependencies: has-flag: 4.0.0 - dev: false - /supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} + supports-color@8.1.1: dependencies: has-flag: 4.0.0 - dev: false - /supports-hyperlinks@2.3.0: - resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} - engines: {node: '>=8'} + supports-hyperlinks@2.3.0: dependencies: has-flag: 4.0.0 supports-color: 7.2.0 - dev: false - /supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} - dev: false + supports-preserve-symlinks-flag@1.0.0: {} - /synckit@0.8.5: - resolution: {integrity: sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==} - engines: {node: ^14.18.0 || >=16.0.0} + synckit@0.8.5: dependencies: '@pkgr/utils': 2.4.2 tslib: 2.6.2 - dev: false - /tailwindcss@3.3.6: - resolution: {integrity: sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==} - engines: {node: '>=14.0.0'} - hasBin: true + tailwindcss@3.3.6: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -8295,74 +9806,41 @@ packages: sucrase: 3.34.0 transitivePeerDependencies: - ts-node - dev: false - /tapable@0.1.10: - resolution: {integrity: sha512-jX8Et4hHg57mug1/079yitEKWGB3LCwoxByLsNim89LABq8NqgiX+6iYVOsq0vX8uJHkU+DZ5fnq95f800bEsQ==} - engines: {node: '>=0.6'} - dev: false + tapable@0.1.10: {} - /tapable@2.2.1: - resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} - engines: {node: '>=6'} - dev: false + tapable@2.2.1: {} - /tar-fs@2.1.1: - resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==} + tar-fs@2.1.1: dependencies: chownr: 1.1.4 mkdirp-classic: 0.5.3 pump: 3.0.0 tar-stream: 2.2.0 - dev: false - /tar-fs@3.0.4: - resolution: {integrity: sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==} + tar-fs@3.0.4: dependencies: mkdirp-classic: 0.5.3 pump: 3.0.0 tar-stream: 3.1.6 - dev: false - /tar-stream@2.2.0: - resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} - engines: {node: '>=6'} + tar-stream@2.2.0: dependencies: bl: 4.1.0 end-of-stream: 1.4.4 fs-constants: 1.0.0 inherits: 2.0.4 readable-stream: 3.6.2 - dev: false - /tar-stream@3.1.6: - resolution: {integrity: sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==} + tar-stream@3.1.6: dependencies: b4a: 1.6.4 fast-fifo: 1.3.2 streamx: 2.15.6 - dev: false - /term-size@2.2.1: - resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} - engines: {node: '>=8'} - dev: false + term-size@2.2.1: {} - /terser-webpack-plugin@5.3.10(webpack@5.90.1): - resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==} - engines: {node: '>= 10.13.0'} - peerDependencies: - '@swc/core': '*' - esbuild: '*' - uglify-js: '*' - webpack: ^5.1.0 - peerDependenciesMeta: - '@swc/core': - optional: true - esbuild: - optional: true - uglify-js: - optional: true + terser-webpack-plugin@5.3.10(webpack@5.90.1): dependencies: '@jridgewell/trace-mapping': 0.3.22 jest-worker: 27.5.1 @@ -8370,156 +9848,86 @@ packages: serialize-javascript: 6.0.2 terser: 5.27.0 webpack: 5.90.1 - dev: false - /terser@5.27.0: - resolution: {integrity: sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==} - engines: {node: '>=10'} - hasBin: true + terser@5.27.0: dependencies: '@jridgewell/source-map': 0.3.5 acorn: 8.11.3 commander: 2.20.3 source-map-support: 0.5.21 - dev: false - /text-extensions@2.4.0: - resolution: {integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==} - engines: {node: '>=8'} - dev: false + text-extensions@2.4.0: {} - /text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - dev: false + text-table@0.2.0: {} - /thenify-all@1.6.0: - resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} - engines: {node: '>=0.8'} + thenify-all@1.6.0: dependencies: thenify: 3.3.1 - dev: false - /thenify@3.3.1: - resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + thenify@3.3.1: dependencies: any-promise: 1.3.0 - dev: false - /thread-stream@2.4.1: - resolution: {integrity: sha512-d/Ex2iWd1whipbT681JmTINKw0ZwOUBZm7+Gjs64DHuX34mmw8vJL2bFAaNacaW72zYiTJxSHi5abUuOi5nsfg==} + thread-stream@2.4.1: dependencies: real-require: 0.2.0 - dev: false - /through2@4.0.2: - resolution: {integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==} + through2@4.0.2: dependencies: readable-stream: 3.6.2 - dev: false - /through@2.3.8: - resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} - dev: false + through@2.3.8: {} - /titleize@3.0.0: - resolution: {integrity: sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==} - engines: {node: '>=12'} - dev: false + titleize@3.0.0: {} - /tmp@0.0.33: - resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} - engines: {node: '>=0.6.0'} + tmp@0.0.33: dependencies: os-tmpdir: 1.0.2 - dev: false - /to-absolute-glob@3.0.0: - resolution: {integrity: sha512-loO/XEWTRqpfcpI7+Jr2RR2Umaaozx1t6OSVWtMi0oy5F/Fxg3IC+D/TToDnxyAGs7uZBGT/6XmyDUxgsObJXA==} - engines: {node: '>=0.10.0'} + to-absolute-glob@3.0.0: dependencies: is-absolute: 1.0.0 is-negated-glob: 1.0.0 - dev: false - /to-fast-properties@2.0.0: - resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} - engines: {node: '>=4'} - dev: false + to-fast-properties@2.0.0: {} - /to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} + to-regex-range@5.0.1: dependencies: is-number: 7.0.0 - dev: false - /trim-lines@3.0.1: - resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} - dev: false + trim-lines@3.0.1: {} - /trim-newlines@3.0.1: - resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} - engines: {node: '>=8'} - dev: false + trim-newlines@3.0.1: {} - /trough@2.1.0: - resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} - dev: false + trough@2.1.0: {} - /ts-api-utils@1.0.3(typescript@5.3.3): - resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} - engines: {node: '>=16.13.0'} - peerDependencies: - typescript: '>=4.2.0' + ts-api-utils@1.0.3(typescript@5.3.3): dependencies: typescript: 5.3.3 - dev: false - /ts-interface-checker@0.1.13: - resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - dev: false + ts-interface-checker@0.1.13: {} - /tsconfck@3.0.0(typescript@5.3.3): - resolution: {integrity: sha512-w3wnsIrJNi7avf4Zb0VjOoodoO0woEqGgZGQm+LHH9przdUI+XDKsWAXwxHA1DaRTjeuZNcregSzr7RaA8zG9A==} - engines: {node: ^18 || >=20} - hasBin: true - peerDependencies: - typescript: ^5.0.0 - peerDependenciesMeta: - typescript: - optional: true + tsconfck@3.0.0(typescript@5.3.3): dependencies: typescript: 5.3.3 - dev: false - /tsconfig-paths@3.14.2: - resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} + tsconfig-paths@3.14.2: dependencies: '@types/json5': 0.0.29 json5: 1.0.2 minimist: 1.2.8 strip-bom: 3.0.0 - dev: false - /tslib@2.6.2: - resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - dev: false + tslib@2.6.2: {} - /tsx@4.7.0: - resolution: {integrity: sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg==} - engines: {node: '>=18.0.0'} - hasBin: true + tsx@4.7.0: dependencies: esbuild: 0.19.11 get-tsconfig: 4.7.2 optionalDependencies: fsevents: 2.3.3 - dev: false - /tty-table@4.2.3: - resolution: {integrity: sha512-Fs15mu0vGzCrj8fmJNP7Ynxt5J7praPXqFN0leZeZBXJwkMxv9cb2D454k1ltrtUSJbZ4yH4e0CynsHLxmUfFA==} - engines: {node: '>=8.0.0'} - hasBin: true + tty-table@4.2.3: dependencies: chalk: 4.1.2 csv: 5.5.3 @@ -8528,65 +9936,30 @@ packages: strip-ansi: 6.0.1 wcwidth: 1.0.1 yargs: 17.7.2 - dev: false - /tunnel-agent@0.6.0: - resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} + tunnel-agent@0.6.0: dependencies: safe-buffer: 5.2.1 - dev: false - /turbo-darwin-64@1.10.16: - resolution: {integrity: sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false + turbo-darwin-64@1.10.16: optional: true - /turbo-darwin-arm64@1.10.16: - resolution: {integrity: sha512-jqGpFZipIivkRp/i+jnL8npX0VssE6IAVNKtu573LXtssZdV/S+fRGYA16tI46xJGxSAivrZ/IcgZrV6Jk80bw==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false + turbo-darwin-arm64@1.10.16: optional: true - /turbo-linux-64@1.10.16: - resolution: {integrity: sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false + turbo-linux-64@1.10.16: optional: true - /turbo-linux-arm64@1.10.16: - resolution: {integrity: sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false + turbo-linux-arm64@1.10.16: optional: true - /turbo-windows-64@1.10.16: - resolution: {integrity: sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false + turbo-windows-64@1.10.16: optional: true - /turbo-windows-arm64@1.10.16: - resolution: {integrity: sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: false + turbo-windows-arm64@1.10.16: optional: true - /turbo@1.10.16: - resolution: {integrity: sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==} - hasBin: true + turbo@1.10.16: optionalDependencies: turbo-darwin-64: 1.10.16 turbo-darwin-arm64: 1.10.16 @@ -8594,122 +9967,70 @@ packages: turbo-linux-arm64: 1.10.16 turbo-windows-64: 1.10.16 turbo-windows-arm64: 1.10.16 - dev: false - /type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} + type-check@0.4.0: dependencies: prelude-ls: 1.2.1 - dev: false - /type-fest@0.13.1: - resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} - engines: {node: '>=10'} - dev: false + type-fest@0.13.1: {} - /type-fest@0.18.1: - resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} - engines: {node: '>=10'} - dev: false + type-fest@0.18.1: {} - /type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - dev: false + type-fest@0.20.2: {} - /type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} - dev: false + type-fest@0.21.3: {} - /type-fest@0.6.0: - resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} - engines: {node: '>=8'} - dev: false + type-fest@0.6.0: {} - /type-fest@0.8.1: - resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} - engines: {node: '>=8'} - dev: false + type-fest@0.8.1: {} - /type-fest@2.19.0: - resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} - engines: {node: '>=12.20'} - dev: false + type-fest@2.19.0: {} - /type-fest@3.13.1: - resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} - engines: {node: '>=14.16'} - dev: false + type-fest@3.13.1: {} - /typed-array-buffer@1.0.0: - resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} - engines: {node: '>= 0.4'} + typed-array-buffer@1.0.0: dependencies: call-bind: 1.0.5 get-intrinsic: 1.2.2 is-typed-array: 1.1.12 - dev: false - /typed-array-byte-length@1.0.0: - resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} - engines: {node: '>= 0.4'} + typed-array-byte-length@1.0.0: dependencies: call-bind: 1.0.5 for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.12 - dev: false - /typed-array-byte-offset@1.0.0: - resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} - engines: {node: '>= 0.4'} + typed-array-byte-offset@1.0.0: dependencies: available-typed-arrays: 1.0.5 call-bind: 1.0.5 for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.12 - dev: false - /typed-array-length@1.0.4: - resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} + typed-array-length@1.0.4: dependencies: call-bind: 1.0.5 for-each: 0.3.3 is-typed-array: 1.1.12 - dev: false - /typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} - engines: {node: '>=14.17'} - hasBin: true - dev: false + typescript@5.3.3: {} - /unbox-primitive@1.0.2: - resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + unbox-primitive@1.0.2: dependencies: call-bind: 1.0.5 has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 - dev: false - /unc-path-regex@0.1.2: - resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} - engines: {node: '>=0.10.0'} - dev: false + unc-path-regex@0.1.2: {} - /undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici-types@5.26.5: {} - /unherit@3.0.1: - resolution: {integrity: sha512-akOOQ/Yln8a2sgcLj4U0Jmx0R5jpIg2IUyRrWOzmEbjBtGzBdHtSeFKgoEcoH4KYIG/Pb8GQ/BwtYm0GCq1Sqg==} - dev: false + unherit@3.0.1: {} - /unified@10.1.2: - resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==} + unified@10.1.2: dependencies: '@types/unist': 2.0.10 bail: 2.0.2 @@ -8718,10 +10039,8 @@ packages: is-plain-obj: 4.1.0 trough: 2.1.0 vfile: 5.3.7 - dev: false - /unified@11.0.4: - resolution: {integrity: sha512-apMPnyLjAX+ty4OrNap7yumyVAMlKx5IWU2wlzzUdYJO9A8f1p9m/gywF/GM2ZDFcjQPrx59Mc90KwmxsoklxQ==} + unified@11.0.4: dependencies: '@types/unist': 3.0.2 bail: 2.0.2 @@ -8730,233 +10049,140 @@ packages: is-plain-obj: 4.1.0 trough: 2.1.0 vfile: 6.0.1 - dev: false - /unist-util-is@5.2.1: - resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==} + unist-util-is@5.2.1: dependencies: '@types/unist': 2.0.10 - dev: false - /unist-util-is@6.0.0: - resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} + unist-util-is@6.0.0: dependencies: '@types/unist': 3.0.2 - dev: false - /unist-util-modify-children@3.1.1: - resolution: {integrity: sha512-yXi4Lm+TG5VG+qvokP6tpnk+r1EPwyYL04JWDxLvgvPV40jANh7nm3udk65OOWquvbMDe+PL9+LmkxDpTv/7BA==} + unist-util-modify-children@3.1.1: dependencies: '@types/unist': 2.0.10 array-iterate: 2.0.1 - dev: false - /unist-util-position-from-estree@2.0.0: - resolution: {integrity: sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==} + unist-util-position-from-estree@2.0.0: dependencies: '@types/unist': 3.0.2 - dev: false - /unist-util-position@4.0.4: - resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==} + unist-util-position@4.0.4: dependencies: '@types/unist': 2.0.10 - dev: false - /unist-util-position@5.0.0: - resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==} + unist-util-position@5.0.0: dependencies: '@types/unist': 3.0.2 - dev: false - /unist-util-remove-position@5.0.0: - resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==} + unist-util-remove-position@5.0.0: dependencies: '@types/unist': 3.0.2 unist-util-visit: 5.0.0 - dev: false - /unist-util-remove@4.0.0: - resolution: {integrity: sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==} + unist-util-remove@4.0.0: dependencies: '@types/unist': 3.0.2 unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - dev: false - /unist-util-stringify-position@3.0.3: - resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} + unist-util-stringify-position@3.0.3: dependencies: '@types/unist': 2.0.10 - dev: false - /unist-util-stringify-position@4.0.0: - resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} + unist-util-stringify-position@4.0.0: dependencies: '@types/unist': 3.0.2 - dev: false - /unist-util-visit-children@2.0.2: - resolution: {integrity: sha512-+LWpMFqyUwLGpsQxpumsQ9o9DG2VGLFrpz+rpVXYIEdPy57GSy5HioC0g3bg/8WP9oCLlapQtklOzQ8uLS496Q==} + unist-util-visit-children@2.0.2: dependencies: '@types/unist': 2.0.10 - dev: false - /unist-util-visit-parents@5.1.3: - resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==} + unist-util-visit-parents@5.1.3: dependencies: '@types/unist': 2.0.10 unist-util-is: 5.2.1 - dev: false - /unist-util-visit-parents@6.0.1: - resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==} + unist-util-visit-parents@6.0.1: dependencies: '@types/unist': 3.0.2 unist-util-is: 6.0.0 - dev: false - /unist-util-visit@4.1.2: - resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==} + unist-util-visit@4.1.2: dependencies: '@types/unist': 2.0.10 unist-util-is: 5.2.1 unist-util-visit-parents: 5.1.3 - dev: false - /unist-util-visit@5.0.0: - resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} + unist-util-visit@5.0.0: dependencies: '@types/unist': 3.0.2 unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - dev: false - /universalify@0.1.2: - resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} - engines: {node: '>= 4.0.0'} - dev: false + universalify@0.1.2: {} - /untildify@4.0.0: - resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} - engines: {node: '>=8'} - dev: false + untildify@4.0.0: {} - /update-browserslist-db@1.0.13(browserslist@4.22.2): - resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' + update-browserslist-db@1.0.13(browserslist@4.22.2): dependencies: browserslist: 4.22.2 escalade: 3.1.1 picocolors: 1.0.0 - dev: false - /update-browserslist-db@1.0.13(browserslist@4.22.3): - resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' + update-browserslist-db@1.0.13(browserslist@4.22.3): dependencies: browserslist: 4.22.3 escalade: 3.1.1 picocolors: 1.0.0 - dev: false - /uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + uri-js@4.4.1: dependencies: punycode: 2.3.1 - dev: false - /url-or-path@2.1.0: - resolution: {integrity: sha512-dsBD6GbytSMj9YDb3jVzSRENwFh50oUORnWBeSHfo0Lnwv2KMm/J4npyGy1P9rivUPsUGLjTA53XqAFqpe0nww==} - dev: false + url-or-path@2.1.0: {} - /util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - dev: false + util-deprecate@1.0.2: {} - /validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + validate-npm-package-license@3.0.4: dependencies: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - dev: false - /vfile-location@4.1.0: - resolution: {integrity: sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw==} + vfile-location@4.1.0: dependencies: '@types/unist': 2.0.10 vfile: 5.3.7 - dev: false - /vfile-location@5.0.2: - resolution: {integrity: sha512-NXPYyxyBSH7zB5U6+3uDdd6Nybz6o6/od9rk8bp9H8GR3L+cm/fC0uUTbqBmUTnMCUDslAGBOIKNfvvb+gGlDg==} + vfile-location@5.0.2: dependencies: '@types/unist': 3.0.2 vfile: 6.0.1 - dev: false - /vfile-message@3.1.4: - resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==} + vfile-message@3.1.4: dependencies: '@types/unist': 2.0.10 unist-util-stringify-position: 3.0.3 - dev: false - /vfile-message@4.0.2: - resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==} + vfile-message@4.0.2: dependencies: '@types/unist': 3.0.2 unist-util-stringify-position: 4.0.0 - dev: false - /vfile@5.3.7: - resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==} + vfile@5.3.7: dependencies: '@types/unist': 2.0.10 is-buffer: 2.0.5 unist-util-stringify-position: 3.0.3 vfile-message: 3.1.4 - dev: false - /vfile@6.0.1: - resolution: {integrity: sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw==} + vfile@6.0.1: dependencies: '@types/unist': 3.0.2 unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - dev: false - /vite@5.0.9(@types/node@20.10.4): - resolution: {integrity: sha512-wVqMd5kp28QWGgfYPDfrj771VyHTJ4UDlCteLH7bJDGDEamaz5hV8IX6h1brSGgnnyf9lI2RnzXq/JmD0c2wwg==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true + vite@5.0.9(@types/node@20.10.4): dependencies: '@types/node': 20.10.4 esbuild: 0.19.9 @@ -8964,59 +10190,29 @@ packages: rollup: 4.9.0 optionalDependencies: fsevents: 2.3.3 - dev: false - /vitefu@0.2.5(vite@5.0.9): - resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} - peerDependencies: - vite: ^3.0.0 || ^4.0.0 || ^5.0.0 - peerDependenciesMeta: - vite: - optional: true + vitefu@0.2.5(vite@5.0.9): dependencies: vite: 5.0.9(@types/node@20.10.4) - dev: false - /vscode-oniguruma@1.7.0: - resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==} - dev: false + vscode-oniguruma@1.7.0: {} - /vscode-textmate@8.0.0: - resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} - dev: false + vscode-textmate@8.0.0: {} - /watchpack@2.4.0: - resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} - engines: {node: '>=10.13.0'} + watchpack@2.4.0: dependencies: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 - dev: false - /wcwidth@1.0.1: - resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + wcwidth@1.0.1: dependencies: defaults: 1.0.4 - dev: false - /web-namespaces@2.0.1: - resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==} - dev: false + web-namespaces@2.0.1: {} - /webpack-sources@3.2.3: - resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} - engines: {node: '>=10.13.0'} - dev: false + webpack-sources@3.2.3: {} - /webpack@5.90.1: - resolution: {integrity: sha512-SstPdlAC5IvgFnhiRok8hqJo/+ArAbNv7rhU4fnWGHNVfN59HSQFaxZDSAL3IFG2YmqxuRs+IU33milSxbPlog==} - engines: {node: '>=10.13.0'} - hasBin: true - peerDependencies: - webpack-cli: '*' - peerDependenciesMeta: - webpack-cli: - optional: true + webpack@5.90.1: dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.5 @@ -9046,125 +10242,76 @@ packages: - '@swc/core' - esbuild - uglify-js - dev: false - /which-boxed-primitive@1.0.2: - resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} + which-boxed-primitive@1.0.2: dependencies: is-bigint: 1.0.4 is-boolean-object: 1.1.2 is-number-object: 1.0.7 is-string: 1.0.7 is-symbol: 1.0.4 - dev: false - /which-module@2.0.1: - resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} - dev: false + which-module@2.0.1: {} - /which-pm-runs@1.1.0: - resolution: {integrity: sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA==} - engines: {node: '>=4'} - dev: false + which-pm-runs@1.1.0: {} - /which-pm@2.0.0: - resolution: {integrity: sha512-Lhs9Pmyph0p5n5Z3mVnN0yWcbQYUAD7rbQUiMsQxOJ3T57k7RFe35SUwWMf7dsbDZks1uOmw4AecB/JMDj3v/w==} - engines: {node: '>=8.15'} + which-pm@2.0.0: dependencies: load-yaml-file: 0.2.0 path-exists: 4.0.0 - dev: false - /which-pm@2.1.1: - resolution: {integrity: sha512-xzzxNw2wMaoCWXiGE8IJ9wuPMU+EYhFksjHxrRT8kMT5SnocBPRg69YAMtyV4D12fP582RA+k3P8H9J5EMdIxQ==} - engines: {node: '>=8.15'} + which-pm@2.1.1: dependencies: load-yaml-file: 0.2.0 path-exists: 4.0.0 - dev: false - /which-typed-array@1.1.13: - resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==} - engines: {node: '>= 0.4'} + which-typed-array@1.1.13: dependencies: available-typed-arrays: 1.0.5 call-bind: 1.0.5 for-each: 0.3.3 gopd: 1.0.1 has-tostringtag: 1.0.0 - dev: false - /which@1.3.1: - resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} - hasBin: true + which@1.3.1: dependencies: isexe: 2.0.0 - dev: false - /which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true + which@2.0.2: dependencies: isexe: 2.0.0 - dev: false - /widest-line@4.0.1: - resolution: {integrity: sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==} - engines: {node: '>=12'} + widest-line@4.0.1: dependencies: string-width: 5.1.2 - dev: false - /wrap-ansi@6.2.0: - resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} - engines: {node: '>=8'} + wrap-ansi@6.2.0: dependencies: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 - dev: false - /wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} + wrap-ansi@7.0.0: dependencies: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 - dev: false - /wrap-ansi@8.1.0: - resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} - engines: {node: '>=12'} + wrap-ansi@8.1.0: dependencies: ansi-styles: 6.2.1 string-width: 5.1.2 strip-ansi: 7.1.0 - dev: false - /wrap-ansi@9.0.0: - resolution: {integrity: sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==} - engines: {node: '>=18'} + wrap-ansi@9.0.0: dependencies: ansi-styles: 6.2.1 string-width: 7.0.0 strip-ansi: 7.1.0 - dev: false - /wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - dev: false + wrappy@1.0.2: {} - /xo@0.56.0(webpack@5.90.1): - resolution: {integrity: sha512-ohzSqgQ8POgZ3KNaEK/gxDovb6h3cglxv8+xi9Dn7gmRe8g4qotpOZpMs5ACJhvkJDmJOhiKbk6Uq6Mx1Di9DA==} - engines: {node: '>=16'} - hasBin: true - peerDependencies: - webpack: '>=1.11.0' - peerDependenciesMeta: - webpack: - optional: true + xo@0.56.0(webpack@5.90.1): dependencies: '@eslint/eslintrc': 2.1.3 '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) @@ -9207,55 +10354,29 @@ packages: - '@types/eslint' - eslint-import-resolver-typescript - supports-color - dev: false - /y18n@4.0.3: - resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} - dev: false + y18n@4.0.3: {} - /y18n@5.0.8: - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} - engines: {node: '>=10'} - dev: false + y18n@5.0.8: {} - /yallist@2.1.2: - resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} - dev: false + yallist@2.1.2: {} - /yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - dev: false + yallist@3.1.1: {} - /yallist@4.0.0: - resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - dev: false + yallist@4.0.0: {} - /yaml@2.3.4: - resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==} - engines: {node: '>= 14'} - dev: false + yaml@2.3.4: {} - /yargs-parser@18.1.3: - resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} - engines: {node: '>=6'} + yargs-parser@18.1.3: dependencies: camelcase: 5.3.1 decamelize: 1.2.0 - dev: false - /yargs-parser@20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} - dev: false + yargs-parser@20.2.9: {} - /yargs-parser@21.1.1: - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} - engines: {node: '>=12'} - dev: false + yargs-parser@21.1.1: {} - /yargs@15.4.1: - resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==} - engines: {node: '>=8'} + yargs@15.4.1: dependencies: cliui: 6.0.0 decamelize: 1.2.0 @@ -9268,11 +10389,8 @@ packages: which-module: 2.0.1 y18n: 4.0.3 yargs-parser: 18.1.3 - dev: false - /yargs@17.7.2: - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} - engines: {node: '>=12'} + yargs@17.7.2: dependencies: cliui: 8.0.1 escalade: 3.1.2 @@ -9281,22 +10399,11 @@ packages: string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 21.1.1 - dev: false - /yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} - dev: false + yocto-queue@0.1.0: {} - /yocto-queue@1.0.0: - resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} - engines: {node: '>=12.20'} - dev: false + yocto-queue@1.0.0: {} - /zod@3.22.4: - resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} - dev: false + zod@3.22.4: {} - /zwitch@2.0.4: - resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - dev: false + zwitch@2.0.4: {} From be5c4d28b67f35f03c322b15ac00c2e10fe26dc1 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 27 Jun 2024 11:47:40 +0200 Subject: [PATCH 87/98] chore(deps): make sure the correct PNPM version is used --- .github/workflows/ci.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8278d67..07f53e4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,8 +21,6 @@ jobs: fetch-depth: 2 - uses: pnpm/action-setup@v4.0.0 - with: - version: 8.3.1 - name: Setup Node.js environment uses: actions/setup-node@v4 From 4d124025951a1594f63c5bd33e28c0a3efb42c42 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 27 Jun 2024 11:55:33 +0200 Subject: [PATCH 88/98] chore(deps): make sure the correct PNPM version is used (everywhere) --- .github/workflows/deploy.yaml | 2 -- .github/workflows/release.yaml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4de2b27..0a658f4 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -33,8 +33,6 @@ jobs: uses: withastro/action@v2 with: path: ./docs # The root location of your Astro project inside the repository. (optional) - node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional) - package-manager: pnpm@9.4.0 # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) deploy: needs: build diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index aebd63b..0947b01 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,8 +26,6 @@ jobs: fetch-depth: 0 - uses: pnpm/action-setup@v4.0.0 - with: - version: 8.3.1 - name: Setup Node.js environment uses: actions/setup-node@v4 From ef848a05536efadd2ae51de7a40c3765d4068a54 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 27 Jun 2024 13:27:34 +0200 Subject: [PATCH 89/98] chore(deps): re-add the specific PNPM version for the deploy workflow --- .github/workflows/deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0a658f4..2b7b97e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -33,6 +33,7 @@ jobs: uses: withastro/action@v2 with: path: ./docs # The root location of your Astro project inside the repository. (optional) + package-manager: pnpm@9.4.0 # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) deploy: needs: build From d7792860846dc9a7123aecfc627407e67e047dfb Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 27 Jun 2024 13:18:31 +0200 Subject: [PATCH 90/98] chore(deps): upgrade TypeScript to v5.5 and enable isolatedDeclarations --- .changeset/purple-garlics-perform.md | 10 + package.json | 4 +- packages/cli/src/collect-migrations.ts | 4 +- packages/cli/src/commands/list.ts | 2 +- packages/cli/src/commands/new.ts | 2 +- packages/cli/src/commands/remove.ts | 2 +- packages/cli/src/errors.ts | 28 +- packages/cli/src/get-duration.ts | 2 +- packages/cli/src/get-migrations.ts | 2 +- packages/cli/src/get-package-info.ts | 5 +- packages/cli/src/index.ts | 2 +- packages/cli/src/reporters/default.ts | 2 +- packages/cli/src/reporters/get.ts | 5 +- packages/cli/src/reporters/json.ts | 2 +- packages/cli/src/test-utils.ts | 8 +- packages/cli/src/with-leading-period.ts | 2 +- packages/cli/tsconfig.json | 7 +- packages/mysql/src/index.ts | 47 +- packages/mysql/tsconfig.json | 7 +- packages/plugin-generate-js/tsconfig.json | 7 +- packages/plugin-tools/src/index.ts | 4 +- packages/plugin-tools/tsconfig.json | 7 +- packages/postgres/src/index.ts | 47 +- packages/postgres/tsconfig.json | 7 +- packages/reporter-pino/src/index.ts | 4 +- packages/reporter-pino/tsconfig.json | 7 +- packages/storage-fs/tsconfig.json | 7 +- packages/tsconfig/base.json | 5 +- packages/tsconfig/build.json | 3 +- packages/types/tsconfig.json | 7 +- pnpm-lock.yaml | 722 ++++++++++++---------- 31 files changed, 512 insertions(+), 458 deletions(-) create mode 100644 .changeset/purple-garlics-perform.md diff --git a/.changeset/purple-garlics-perform.md b/.changeset/purple-garlics-perform.md new file mode 100644 index 0000000..d89ce52 --- /dev/null +++ b/.changeset/purple-garlics-perform.md @@ -0,0 +1,10 @@ +--- +'@emigrate/reporter-pino': patch +'@emigrate/plugin-tools': patch +'@emigrate/postgres': patch +'@emigrate/tsconfig': patch +'@emigrate/mysql': patch +'@emigrate/cli': patch +--- + +Upgrade TypeScript to v5.5 and enable [isolatedDeclarations](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#isolated-declarations) diff --git a/package.json b/package.json index a82612b..b549f80 100644 --- a/package.json +++ b/package.json @@ -80,9 +80,9 @@ "lint-staged": "15.2.0", "npm-run-all": "4.1.5", "prettier": "3.1.1", - "tsx": "4.7.0", + "tsx": "4.15.7", "turbo": "1.10.16", - "typescript": "5.3.3", + "typescript": "5.5.2", "xo": "0.56.0" } } diff --git a/packages/cli/src/collect-migrations.ts b/packages/cli/src/collect-migrations.ts index 0c1886a..465dddc 100644 --- a/packages/cli/src/collect-migrations.ts +++ b/packages/cli/src/collect-migrations.ts @@ -1,12 +1,12 @@ import { type MigrationHistoryEntry, type MigrationMetadata, type MigrationMetadataFinished } from '@emigrate/types'; import { toMigrationMetadata } from './to-migration-metadata.js'; -import { getMigrations as getMigrationsOriginal } from './get-migrations.js'; +import { getMigrations as getMigrationsOriginal, type GetMigrationsFunction } from './get-migrations.js'; export async function* collectMigrations( cwd: string, directory: string, history: AsyncIterable, - getMigrations = getMigrationsOriginal, + getMigrations: GetMigrationsFunction = getMigrationsOriginal, ): AsyncIterable { const allMigrations = await getMigrations(cwd, directory); const seen = new Set(); diff --git a/packages/cli/src/commands/list.ts b/packages/cli/src/commands/list.ts index ec8fc22..4a81477 100644 --- a/packages/cli/src/commands/list.ts +++ b/packages/cli/src/commands/list.ts @@ -17,7 +17,7 @@ export default async function listCommand({ storage: storageConfig, color, cwd, -}: Config & ExtraFlags) { +}: Config & ExtraFlags): Promise { if (!directory) { throw MissingOptionError.fromOption('directory'); } diff --git a/packages/cli/src/commands/new.ts b/packages/cli/src/commands/new.ts index c921808..ece271a 100644 --- a/packages/cli/src/commands/new.ts +++ b/packages/cli/src/commands/new.ts @@ -24,7 +24,7 @@ type ExtraFlags = { export default async function newCommand( { directory, template, reporter: reporterConfig, plugins = [], cwd, extension, color }: Config & ExtraFlags, name: string, -) { +): Promise { if (!directory) { throw MissingOptionError.fromOption('directory'); } diff --git a/packages/cli/src/commands/remove.ts b/packages/cli/src/commands/remove.ts index de5490c..aa598fd 100644 --- a/packages/cli/src/commands/remove.ts +++ b/packages/cli/src/commands/remove.ts @@ -39,7 +39,7 @@ export default async function removeCommand( getMigrations, }: Config & ExtraFlags, name: string, -) { +): Promise { if (!directory) { throw MissingOptionError.fromOption('directory'); } diff --git a/packages/cli/src/errors.ts b/packages/cli/src/errors.ts index 5e276bb..f72dab3 100644 --- a/packages/cli/src/errors.ts +++ b/packages/cli/src/errors.ts @@ -8,7 +8,7 @@ import { serializeError, errorConstructors, deserializeError } from 'serialize-e const formatter = new Intl.ListFormat('en', { style: 'long', type: 'disjunction' }); -export const toError = (error: unknown) => (error instanceof Error ? error : new Error(String(error))); +export const toError = (error: unknown): Error => (error instanceof Error ? error : new Error(String(error))); export const toSerializedError = (error: unknown) => { const errorInstance = toError(error); @@ -30,7 +30,7 @@ export class EmigrateError extends Error { export class ShowUsageError extends EmigrateError {} export class MissingOptionError extends ShowUsageError { - static fromOption(option: string | string[]) { + static fromOption(option: string | string[]): MissingOptionError { return new MissingOptionError( `Missing required option: ${Array.isArray(option) ? formatter.format(option) : option}`, undefined, @@ -48,7 +48,7 @@ export class MissingOptionError extends ShowUsageError { } export class MissingArgumentsError extends ShowUsageError { - static fromArgument(argument: string) { + static fromArgument(argument: string): MissingArgumentsError { return new MissingArgumentsError(`Missing required argument: ${argument}`, undefined, argument); } @@ -62,7 +62,7 @@ export class MissingArgumentsError extends ShowUsageError { } export class OptionNeededError extends ShowUsageError { - static fromOption(option: string, message: string) { + static fromOption(option: string, message: string): OptionNeededError { return new OptionNeededError(message, undefined, option); } @@ -76,7 +76,7 @@ export class OptionNeededError extends ShowUsageError { } export class BadOptionError extends ShowUsageError { - static fromOption(option: string, message: string) { + static fromOption(option: string, message: string): BadOptionError { return new BadOptionError(message, undefined, option); } @@ -96,7 +96,7 @@ export class UnexpectedError extends EmigrateError { } export class MigrationHistoryError extends EmigrateError { - static fromHistoryEntry(entry: FailedMigrationHistoryEntry) { + static fromHistoryEntry(entry: FailedMigrationHistoryEntry): MigrationHistoryError { return new MigrationHistoryError(`Migration ${entry.name} is in a failed state, it should be fixed and removed`, { cause: deserializeError(entry.error), }); @@ -108,7 +108,7 @@ export class MigrationHistoryError extends EmigrateError { } export class MigrationLoadError extends EmigrateError { - static fromMetadata(metadata: MigrationMetadata, cause?: Error) { + static fromMetadata(metadata: MigrationMetadata, cause?: Error): MigrationLoadError { return new MigrationLoadError(`Failed to load migration file: ${metadata.relativeFilePath}`, { cause }); } @@ -118,7 +118,7 @@ export class MigrationLoadError extends EmigrateError { } export class MigrationRunError extends EmigrateError { - static fromMetadata(metadata: FailedMigrationMetadata) { + static fromMetadata(metadata: FailedMigrationMetadata): MigrationRunError { return new MigrationRunError(`Failed to run migration: ${metadata.relativeFilePath}`, { cause: metadata.error }); } @@ -128,7 +128,7 @@ export class MigrationRunError extends EmigrateError { } export class MigrationNotRunError extends EmigrateError { - static fromMetadata(metadata: MigrationMetadata, cause?: Error) { + static fromMetadata(metadata: MigrationMetadata, cause?: Error): MigrationNotRunError { return new MigrationNotRunError(`Migration "${metadata.name}" is not in the migration history`, { cause }); } @@ -138,7 +138,7 @@ export class MigrationNotRunError extends EmigrateError { } export class MigrationRemovalError extends EmigrateError { - static fromMetadata(metadata: MigrationMetadata, cause?: Error) { + static fromMetadata(metadata: MigrationMetadata, cause?: Error): MigrationRemovalError { return new MigrationRemovalError(`Failed to remove migration: ${metadata.relativeFilePath}`, { cause }); } @@ -148,7 +148,7 @@ export class MigrationRemovalError extends EmigrateError { } export class StorageInitError extends EmigrateError { - static fromError(error: Error) { + static fromError(error: Error): StorageInitError { return new StorageInitError('Could not initialize storage', { cause: error }); } @@ -158,11 +158,11 @@ export class StorageInitError extends EmigrateError { } export class CommandAbortError extends EmigrateError { - static fromSignal(signal: NodeJS.Signals) { + static fromSignal(signal: NodeJS.Signals): CommandAbortError { return new CommandAbortError(`Command aborted due to signal: ${signal}`); } - static fromReason(reason: string, cause?: unknown) { + static fromReason(reason: string, cause?: unknown): CommandAbortError { return new CommandAbortError(`Command aborted: ${reason}`, { cause }); } @@ -172,7 +172,7 @@ export class CommandAbortError extends EmigrateError { } export class ExecutionDesertedError extends EmigrateError { - static fromReason(reason: string, cause?: Error) { + static fromReason(reason: string, cause?: Error): ExecutionDesertedError { return new ExecutionDesertedError(`Execution deserted: ${reason}`, { cause }); } diff --git a/packages/cli/src/get-duration.ts b/packages/cli/src/get-duration.ts index 9d29d2f..eb4944a 100644 --- a/packages/cli/src/get-duration.ts +++ b/packages/cli/src/get-duration.ts @@ -1,6 +1,6 @@ import process from 'node:process'; -export const getDuration = (start: [number, number]) => { +export const getDuration = (start: [number, number]): number => { const [seconds, nanoseconds] = process.hrtime(start); return seconds * 1000 + nanoseconds / 1_000_000; }; diff --git a/packages/cli/src/get-migrations.ts b/packages/cli/src/get-migrations.ts index fb6033d..929fabd 100644 --- a/packages/cli/src/get-migrations.ts +++ b/packages/cli/src/get-migrations.ts @@ -39,6 +39,6 @@ export const getMigrations = async (cwd: string, directory: string): Promise { throw new UnexpectedError(`Could not read package info from: ${packageInfoPath}`); }; -export const { version } = await getPackageInfo(); +const packageInfo = await getPackageInfo(); + +// eslint-disable-next-line prefer-destructuring +export const version: string = packageInfo.version; diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 921446e..1133356 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -1,5 +1,5 @@ export * from './types.js'; -export const emigrate = () => { +export const emigrate = (): void => { // console.log('Done!'); }; diff --git a/packages/cli/src/reporters/default.ts b/packages/cli/src/reporters/default.ts index 1db53a3..4e23196 100644 --- a/packages/cli/src/reporters/default.ts +++ b/packages/cli/src/reporters/default.ts @@ -471,6 +471,6 @@ class DefaultReporter implements Required { } } -const reporterDefault = interactive ? new DefaultFancyReporter() : new DefaultReporter(); +const reporterDefault: EmigrateReporter = interactive ? new DefaultFancyReporter() : new DefaultReporter(); export default reporterDefault; diff --git a/packages/cli/src/reporters/get.ts b/packages/cli/src/reporters/get.ts index c3935c3..b6461f6 100644 --- a/packages/cli/src/reporters/get.ts +++ b/packages/cli/src/reporters/get.ts @@ -1,7 +1,8 @@ +import type { EmigrateReporter } from '@emigrate/types'; import { type Config } from '../types.js'; import * as reporters from './index.js'; -export const getStandardReporter = (reporter?: Config['reporter']) => { +export const getStandardReporter = (reporter?: Config['reporter']): EmigrateReporter | undefined => { if (!reporter) { return reporters.pretty; } @@ -10,5 +11,5 @@ export const getStandardReporter = (reporter?: Config['reporter']) => { return reporters[reporter as keyof typeof reporters]; } - return; // eslint-disable-line no-useless-return + return undefined; }; diff --git a/packages/cli/src/reporters/json.ts b/packages/cli/src/reporters/json.ts index 4a3dcc3..1b6273b 100644 --- a/packages/cli/src/reporters/json.ts +++ b/packages/cli/src/reporters/json.ts @@ -55,6 +55,6 @@ class JsonReporter implements EmigrateReporter { } } -const jsonReporter = new JsonReporter() as EmigrateReporter; +const jsonReporter: EmigrateReporter = new JsonReporter(); export default jsonReporter; diff --git a/packages/cli/src/test-utils.ts b/packages/cli/src/test-utils.ts index b6228d2..38e2afc 100644 --- a/packages/cli/src/test-utils.ts +++ b/packages/cli/src/test-utils.ts @@ -15,7 +15,7 @@ export type Mocked = { [K in keyof T]: Mock; }; -export async function noop() { +export async function noop(): Promise { // noop } @@ -31,8 +31,8 @@ export function getErrorCause(error: Error | undefined): Error | SerializedError return undefined; } -export function getMockedStorage(historyEntries: Array) { - const storage: Mocked = { +export function getMockedStorage(historyEntries: Array): Mocked { + return { lock: mock.fn(async (migrations) => migrations), unlock: mock.fn(async () => { // void @@ -45,8 +45,6 @@ export function getMockedStorage(historyEntries: Array> { diff --git a/packages/cli/src/with-leading-period.ts b/packages/cli/src/with-leading-period.ts index 7bc6340..e69a900 100644 --- a/packages/cli/src/with-leading-period.ts +++ b/packages/cli/src/with-leading-period.ts @@ -1 +1 @@ -export const withLeadingPeriod = (string: string) => (string.startsWith('.') ? string : `.${string}`); +export const withLeadingPeriod = (string: string): string => (string.startsWith('.') ? string : `.${string}`); diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 1cfcebb..91e2c12 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "@emigrate/tsconfig/build.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": ["src"], - "exclude": ["node_modules", "dist"] + "extends": "@emigrate/tsconfig/build.json" } diff --git a/packages/mysql/src/index.ts b/packages/mysql/src/index.ts index 22b8271..2d4b254 100644 --- a/packages/mysql/src/index.ts +++ b/packages/mysql/src/index.ts @@ -13,7 +13,9 @@ import { } from 'mysql2/promise'; import { getTimestampPrefix, sanitizeMigrationName } from '@emigrate/plugin-tools'; import { + type Awaitable, type MigrationMetadata, + type MigrationFunction, type EmigrateStorage, type LoaderPlugin, type Storage, @@ -345,17 +347,6 @@ export const createMysqlStorage = ({ table = defaultTable, connection }: MysqlSt }; }; -export const { initializeStorage } = createMysqlStorage({ - table: process.env['MYSQL_TABLE'], - connection: process.env['MYSQL_URL'] ?? { - host: process.env['MYSQL_HOST'], - port: process.env['MYSQL_PORT'] ? Number.parseInt(process.env['MYSQL_PORT'], 10) : undefined, - user: process.env['MYSQL_USER'], - password: process.env['MYSQL_PASSWORD'], - database: process.env['MYSQL_DATABASE'], - }, -}); - export const createMysqlLoader = ({ connection }: MysqlLoaderOptions): LoaderPlugin => { return { loadableExtensions: ['.sql'], @@ -374,7 +365,16 @@ export const createMysqlLoader = ({ connection }: MysqlLoaderOptions): LoaderPlu }; }; -export const { loadableExtensions, loadMigration } = createMysqlLoader({ +export const generateMigration: GenerateMigrationFunction = async (name) => { + return { + filename: `${getTimestampPrefix()}_${sanitizeMigrationName(name)}.sql`, + content: `-- Migration: ${name} +`, + }; +}; + +const storage = createMysqlStorage({ + table: process.env['MYSQL_TABLE'], connection: process.env['MYSQL_URL'] ?? { host: process.env['MYSQL_HOST'], port: process.env['MYSQL_PORT'] ? Number.parseInt(process.env['MYSQL_PORT'], 10) : undefined, @@ -384,13 +384,22 @@ export const { loadableExtensions, loadMigration } = createMysqlLoader({ }, }); -export const generateMigration: GenerateMigrationFunction = async (name) => { - return { - filename: `${getTimestampPrefix()}_${sanitizeMigrationName(name)}.sql`, - content: `-- Migration: ${name} -`, - }; -}; +const loader = createMysqlLoader({ + connection: process.env['MYSQL_URL'] ?? { + host: process.env['MYSQL_HOST'], + port: process.env['MYSQL_PORT'] ? Number.parseInt(process.env['MYSQL_PORT'], 10) : undefined, + user: process.env['MYSQL_USER'], + password: process.env['MYSQL_PASSWORD'], + database: process.env['MYSQL_DATABASE'], + }, +}); + +// eslint-disable-next-line prefer-destructuring +export const initializeStorage: () => Promise = storage.initializeStorage; +// eslint-disable-next-line prefer-destructuring +export const loadableExtensions: string[] = loader.loadableExtensions; +// eslint-disable-next-line prefer-destructuring +export const loadMigration: (migration: MigrationMetadata) => Awaitable = loader.loadMigration; const defaultExport: EmigrateStorage & LoaderPlugin & GeneratorPlugin = { initializeStorage, diff --git a/packages/mysql/tsconfig.json b/packages/mysql/tsconfig.json index 1cfcebb..91e2c12 100644 --- a/packages/mysql/tsconfig.json +++ b/packages/mysql/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "@emigrate/tsconfig/build.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": ["src"], - "exclude": ["node_modules", "dist"] + "extends": "@emigrate/tsconfig/build.json" } diff --git a/packages/plugin-generate-js/tsconfig.json b/packages/plugin-generate-js/tsconfig.json index 1cfcebb..91e2c12 100644 --- a/packages/plugin-generate-js/tsconfig.json +++ b/packages/plugin-generate-js/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "@emigrate/tsconfig/build.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": ["src"], - "exclude": ["node_modules", "dist"] + "extends": "@emigrate/tsconfig/build.json" } diff --git a/packages/plugin-tools/src/index.ts b/packages/plugin-tools/src/index.ts index 033fabb..89b1dc7 100644 --- a/packages/plugin-tools/src/index.ts +++ b/packages/plugin-tools/src/index.ts @@ -204,7 +204,7 @@ const load = async ( * * @returns A timestamp string in the format YYYYMMDDHHmmssmmm */ -export const getTimestampPrefix = () => new Date().toISOString().replaceAll(/[-:ZT.]/g, ''); +export const getTimestampPrefix = (): string => new Date().toISOString().replaceAll(/[-:ZT.]/g, ''); /** * A utility function to sanitize a migration name so that it can be used as a filename @@ -212,7 +212,7 @@ export const getTimestampPrefix = () => new Date().toISOString().replaceAll(/[-: * @param name A migration name to sanitize * @returns A sanitized migration name that can be used as a filename */ -export const sanitizeMigrationName = (name: string) => +export const sanitizeMigrationName = (name: string): string => name .replaceAll(/[\W/\\:|*?'"<>_]+/g, '_') .trim() diff --git a/packages/plugin-tools/tsconfig.json b/packages/plugin-tools/tsconfig.json index 1cfcebb..91e2c12 100644 --- a/packages/plugin-tools/tsconfig.json +++ b/packages/plugin-tools/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "@emigrate/tsconfig/build.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": ["src"], - "exclude": ["node_modules", "dist"] + "extends": "@emigrate/tsconfig/build.json" } diff --git a/packages/postgres/src/index.ts b/packages/postgres/src/index.ts index 44af95b..b3300b5 100644 --- a/packages/postgres/src/index.ts +++ b/packages/postgres/src/index.ts @@ -11,6 +11,8 @@ import { type GeneratorPlugin, type SerializedError, type MigrationHistoryEntry, + type Awaitable, + type MigrationFunction, } from '@emigrate/types'; const defaultTable = 'migrations'; @@ -255,17 +257,6 @@ export const createPostgresStorage = ({ }; }; -export const { initializeStorage } = createPostgresStorage({ - table: process.env['POSTGRES_TABLE'], - connection: process.env['POSTGRES_URL'] ?? { - host: process.env['POSTGRES_HOST'], - port: process.env['POSTGRES_PORT'] ? Number.parseInt(process.env['POSTGRES_PORT'], 10) : undefined, - user: process.env['POSTGRES_USER'], - password: process.env['POSTGRES_PASSWORD'], - database: process.env['POSTGRES_DB'], - }, -}); - export const createPostgresLoader = ({ connection }: PostgresLoaderOptions): LoaderPlugin => { return { loadableExtensions: ['.sql'], @@ -284,7 +275,16 @@ export const createPostgresLoader = ({ connection }: PostgresLoaderOptions): Loa }; }; -export const { loadableExtensions, loadMigration } = createPostgresLoader({ +export const generateMigration: GenerateMigrationFunction = async (name) => { + return { + filename: `${getTimestampPrefix()}_${sanitizeMigrationName(name)}.sql`, + content: `-- Migration: ${name} +`, + }; +}; + +const storage = createPostgresStorage({ + table: process.env['POSTGRES_TABLE'], connection: process.env['POSTGRES_URL'] ?? { host: process.env['POSTGRES_HOST'], port: process.env['POSTGRES_PORT'] ? Number.parseInt(process.env['POSTGRES_PORT'], 10) : undefined, @@ -294,13 +294,22 @@ export const { loadableExtensions, loadMigration } = createPostgresLoader({ }, }); -export const generateMigration: GenerateMigrationFunction = async (name) => { - return { - filename: `${getTimestampPrefix()}_${sanitizeMigrationName(name)}.sql`, - content: `-- Migration: ${name} -`, - }; -}; +const loader = createPostgresLoader({ + connection: process.env['POSTGRES_URL'] ?? { + host: process.env['POSTGRES_HOST'], + port: process.env['POSTGRES_PORT'] ? Number.parseInt(process.env['POSTGRES_PORT'], 10) : undefined, + user: process.env['POSTGRES_USER'], + password: process.env['POSTGRES_PASSWORD'], + database: process.env['POSTGRES_DB'], + }, +}); + +// eslint-disable-next-line prefer-destructuring +export const initializeStorage: () => Promise = storage.initializeStorage; +// eslint-disable-next-line prefer-destructuring +export const loadableExtensions: string[] = loader.loadableExtensions; +// eslint-disable-next-line prefer-destructuring +export const loadMigration: (migration: MigrationMetadata) => Awaitable = loader.loadMigration; const defaultExport: EmigrateStorage & LoaderPlugin & GeneratorPlugin = { initializeStorage, diff --git a/packages/postgres/tsconfig.json b/packages/postgres/tsconfig.json index 1cfcebb..91e2c12 100644 --- a/packages/postgres/tsconfig.json +++ b/packages/postgres/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "@emigrate/tsconfig/build.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": ["src"], - "exclude": ["node_modules", "dist"] + "extends": "@emigrate/tsconfig/build.json" } diff --git a/packages/reporter-pino/src/index.ts b/packages/reporter-pino/src/index.ts index 690b628..e279efe 100644 --- a/packages/reporter-pino/src/index.ts +++ b/packages/reporter-pino/src/index.ts @@ -204,6 +204,8 @@ export const createPinoReporter = (options: PinoReporterOptions = {}): EmigrateR return new PinoReporter(options); }; -export default createPinoReporter({ +const defaultExport: EmigrateReporter = createPinoReporter({ level: process.env['LOG_LEVEL'], }); + +export default defaultExport; diff --git a/packages/reporter-pino/tsconfig.json b/packages/reporter-pino/tsconfig.json index 1cfcebb..91e2c12 100644 --- a/packages/reporter-pino/tsconfig.json +++ b/packages/reporter-pino/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "@emigrate/tsconfig/build.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": ["src"], - "exclude": ["node_modules", "dist"] + "extends": "@emigrate/tsconfig/build.json" } diff --git a/packages/storage-fs/tsconfig.json b/packages/storage-fs/tsconfig.json index 1cfcebb..91e2c12 100644 --- a/packages/storage-fs/tsconfig.json +++ b/packages/storage-fs/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "@emigrate/tsconfig/build.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": ["src"], - "exclude": ["node_modules", "dist"] + "extends": "@emigrate/tsconfig/build.json" } diff --git a/packages/tsconfig/base.json b/packages/tsconfig/base.json index 91a38e3..6885f40 100644 --- a/packages/tsconfig/base.json +++ b/packages/tsconfig/base.json @@ -11,6 +11,7 @@ "forceConsistentCasingInFileNames": true, "inlineSources": false, "isolatedModules": true, + "isolatedDeclarations": true, "incremental": true, "module": "NodeNext", "moduleResolution": "NodeNext", @@ -31,5 +32,7 @@ "strict": true, "target": "ES2022", "lib": ["ESNext", "DOM", "DOM.Iterable"] - } + }, + "include": ["${configDir}/src"], + "exclude": ["${configDir}/dist"] } diff --git a/packages/tsconfig/build.json b/packages/tsconfig/build.json index 26aad2e..65f1577 100644 --- a/packages/tsconfig/build.json +++ b/packages/tsconfig/build.json @@ -3,6 +3,7 @@ "display": "Build", "extends": "./base.json", "compilerOptions": { - "noEmit": false + "noEmit": false, + "outDir": "${configDir}/dist" } } diff --git a/packages/types/tsconfig.json b/packages/types/tsconfig.json index 1cfcebb..91e2c12 100644 --- a/packages/types/tsconfig.json +++ b/packages/types/tsconfig.json @@ -1,8 +1,3 @@ { - "extends": "@emigrate/tsconfig/build.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": ["src"], - "exclude": ["node_modules", "dist"] + "extends": "@emigrate/tsconfig/build.json" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56721e9..c44f6f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 2.27.1 '@commitlint/cli': specifier: 18.6.1 - version: 18.6.1(@types/node@20.10.4)(typescript@5.3.3) + version: 18.6.1(@types/node@20.10.4)(typescript@5.5.2) '@commitlint/config-conventional': specifier: 18.6.1 version: 18.6.1 @@ -36,32 +36,32 @@ importers: specifier: 3.1.1 version: 3.1.1 tsx: - specifier: 4.7.0 - version: 4.7.0 + specifier: 4.15.7 + version: 4.15.7 turbo: specifier: 1.10.16 version: 1.10.16 typescript: - specifier: 5.3.3 - version: 5.3.3 + specifier: 5.5.2 + version: 5.5.2 xo: specifier: 0.56.0 - version: 0.56.0(webpack@5.90.1) + version: 0.56.0(@types/eslint@8.56.10)(webpack@5.90.1) docs: dependencies: '@astrojs/starlight': specifier: ^0.15.0 - version: 0.15.0(astro@4.0.5) + version: 0.15.0(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)) '@astrojs/starlight-tailwind': specifier: 2.0.1 - version: 2.0.1(@astrojs/starlight@0.15.0)(@astrojs/tailwind@5.0.3)(tailwindcss@3.3.6) + version: 2.0.1(@astrojs/starlight@0.15.0(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)))(@astrojs/tailwind@5.0.3(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2))(tailwindcss@3.3.6))(tailwindcss@3.3.6) '@astrojs/tailwind': specifier: ^5.0.3 - version: 5.0.3(astro@4.0.5)(tailwindcss@3.3.6) + version: 5.0.3(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2))(tailwindcss@3.3.6) astro: specifier: ^4.0.1 - version: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) + version: 4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2) sharp: specifier: ^0.32.5 version: 0.32.6 @@ -82,7 +82,7 @@ importers: version: 2.0.3 cosmiconfig: specifier: 9.0.0 - version: 9.0.0(typescript@5.3.3) + version: 9.0.0(typescript@5.5.2) elegant-spinner: specifier: 3.0.0 version: 3.0.0 @@ -510,28 +510,22 @@ packages: resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} engines: {node: '>=10'} - '@esbuild/aix-ppc64@0.19.11': - resolution: {integrity: sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==} + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} cpu: [ppc64] os: [aix] - '@esbuild/android-arm64@0.19.11': - resolution: {integrity: sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - '@esbuild/android-arm64@0.19.9': resolution: {integrity: sha512-q4cR+6ZD0938R19MyEW3jEsMzbb/1rulLXiNAJQADD/XYp7pT+rOS5JGxvpRW8dFDEfjW4wLgC/3FXIw4zYglQ==} engines: {node: '>=12'} cpu: [arm64] os: [android] - '@esbuild/android-arm@0.19.11': - resolution: {integrity: sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==} + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} engines: {node: '>=12'} - cpu: [arm] + cpu: [arm64] os: [android] '@esbuild/android-arm@0.19.9': @@ -540,10 +534,10 @@ packages: cpu: [arm] os: [android] - '@esbuild/android-x64@0.19.11': - resolution: {integrity: sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==} + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} engines: {node: '>=12'} - cpu: [x64] + cpu: [arm] os: [android] '@esbuild/android-x64@0.19.9': @@ -552,11 +546,11 @@ packages: cpu: [x64] os: [android] - '@esbuild/darwin-arm64@0.19.11': - resolution: {integrity: sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==} + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] + cpu: [x64] + os: [android] '@esbuild/darwin-arm64@0.19.9': resolution: {integrity: sha512-KBJ9S0AFyLVx2E5D8W0vExqRW01WqRtczUZ8NRu+Pi+87opZn5tL4Y0xT0mA4FtHctd0ZgwNoN639fUUGlNIWw==} @@ -564,10 +558,10 @@ packages: cpu: [arm64] os: [darwin] - '@esbuild/darwin-x64@0.19.11': - resolution: {integrity: sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==} + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} engines: {node: '>=12'} - cpu: [x64] + cpu: [arm64] os: [darwin] '@esbuild/darwin-x64@0.19.9': @@ -576,11 +570,11 @@ packages: cpu: [x64] os: [darwin] - '@esbuild/freebsd-arm64@0.19.11': - resolution: {integrity: sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==} + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] + cpu: [x64] + os: [darwin] '@esbuild/freebsd-arm64@0.19.9': resolution: {integrity: sha512-uFQyd/o1IjiEk3rUHSwUKkqZwqdvuD8GevWF065eqgYfexcVkxh+IJgwTaGZVu59XczZGcN/YMh9uF1fWD8j1g==} @@ -588,10 +582,10 @@ packages: cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-x64@0.19.11': - resolution: {integrity: sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==} + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} engines: {node: '>=12'} - cpu: [x64] + cpu: [arm64] os: [freebsd] '@esbuild/freebsd-x64@0.19.9': @@ -600,11 +594,11 @@ packages: cpu: [x64] os: [freebsd] - '@esbuild/linux-arm64@0.19.11': - resolution: {integrity: sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==} + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} engines: {node: '>=12'} - cpu: [arm64] - os: [linux] + cpu: [x64] + os: [freebsd] '@esbuild/linux-arm64@0.19.9': resolution: {integrity: sha512-PiPblfe1BjK7WDAKR1Cr9O7VVPqVNpwFcPWgfn4xu0eMemzRp442hXyzF/fSwgrufI66FpHOEJk0yYdPInsmyQ==} @@ -612,10 +606,10 @@ packages: cpu: [arm64] os: [linux] - '@esbuild/linux-arm@0.19.11': - resolution: {integrity: sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==} + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} engines: {node: '>=12'} - cpu: [arm] + cpu: [arm64] os: [linux] '@esbuild/linux-arm@0.19.9': @@ -624,10 +618,10 @@ packages: cpu: [arm] os: [linux] - '@esbuild/linux-ia32@0.19.11': - resolution: {integrity: sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==} + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} engines: {node: '>=12'} - cpu: [ia32] + cpu: [arm] os: [linux] '@esbuild/linux-ia32@0.19.9': @@ -636,10 +630,10 @@ packages: cpu: [ia32] os: [linux] - '@esbuild/linux-loong64@0.19.11': - resolution: {integrity: sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==} + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} engines: {node: '>=12'} - cpu: [loong64] + cpu: [ia32] os: [linux] '@esbuild/linux-loong64@0.19.9': @@ -648,10 +642,10 @@ packages: cpu: [loong64] os: [linux] - '@esbuild/linux-mips64el@0.19.11': - resolution: {integrity: sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==} + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} engines: {node: '>=12'} - cpu: [mips64el] + cpu: [loong64] os: [linux] '@esbuild/linux-mips64el@0.19.9': @@ -660,10 +654,10 @@ packages: cpu: [mips64el] os: [linux] - '@esbuild/linux-ppc64@0.19.11': - resolution: {integrity: sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==} + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} engines: {node: '>=12'} - cpu: [ppc64] + cpu: [mips64el] os: [linux] '@esbuild/linux-ppc64@0.19.9': @@ -672,10 +666,10 @@ packages: cpu: [ppc64] os: [linux] - '@esbuild/linux-riscv64@0.19.11': - resolution: {integrity: sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==} + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} engines: {node: '>=12'} - cpu: [riscv64] + cpu: [ppc64] os: [linux] '@esbuild/linux-riscv64@0.19.9': @@ -684,10 +678,10 @@ packages: cpu: [riscv64] os: [linux] - '@esbuild/linux-s390x@0.19.11': - resolution: {integrity: sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==} + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} engines: {node: '>=12'} - cpu: [s390x] + cpu: [riscv64] os: [linux] '@esbuild/linux-s390x@0.19.9': @@ -696,10 +690,10 @@ packages: cpu: [s390x] os: [linux] - '@esbuild/linux-x64@0.19.11': - resolution: {integrity: sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==} + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} engines: {node: '>=12'} - cpu: [x64] + cpu: [s390x] os: [linux] '@esbuild/linux-x64@0.19.9': @@ -708,11 +702,11 @@ packages: cpu: [x64] os: [linux] - '@esbuild/netbsd-x64@0.19.11': - resolution: {integrity: sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==} + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} engines: {node: '>=12'} cpu: [x64] - os: [netbsd] + os: [linux] '@esbuild/netbsd-x64@0.19.9': resolution: {integrity: sha512-GThgZPAwOBOsheA2RUlW5UeroRfESwMq/guy8uEe3wJlAOjpOXuSevLRd70NZ37ZrpO6RHGHgEHvPg1h3S1Jug==} @@ -720,11 +714,11 @@ packages: cpu: [x64] os: [netbsd] - '@esbuild/openbsd-x64@0.19.11': - resolution: {integrity: sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==} + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} engines: {node: '>=12'} cpu: [x64] - os: [openbsd] + os: [netbsd] '@esbuild/openbsd-x64@0.19.9': resolution: {integrity: sha512-Ki6PlzppaFVbLnD8PtlVQfsYw4S9n3eQl87cqgeIw+O3sRr9IghpfSKY62mggdt1yCSZ8QWvTZ9jo9fjDSg9uw==} @@ -732,11 +726,11 @@ packages: cpu: [x64] os: [openbsd] - '@esbuild/sunos-x64@0.19.11': - resolution: {integrity: sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==} + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} engines: {node: '>=12'} cpu: [x64] - os: [sunos] + os: [openbsd] '@esbuild/sunos-x64@0.19.9': resolution: {integrity: sha512-MLHj7k9hWh4y1ddkBpvRj2b9NCBhfgBt3VpWbHQnXRedVun/hC7sIyTGDGTfsGuXo4ebik2+3ShjcPbhtFwWDw==} @@ -744,11 +738,11 @@ packages: cpu: [x64] os: [sunos] - '@esbuild/win32-arm64@0.19.11': - resolution: {integrity: sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==} + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} engines: {node: '>=12'} - cpu: [arm64] - os: [win32] + cpu: [x64] + os: [sunos] '@esbuild/win32-arm64@0.19.9': resolution: {integrity: sha512-GQoa6OrQ8G08guMFgeXPH7yE/8Dt0IfOGWJSfSH4uafwdC7rWwrfE6P9N8AtPGIjUzdo2+7bN8Xo3qC578olhg==} @@ -756,10 +750,10 @@ packages: cpu: [arm64] os: [win32] - '@esbuild/win32-ia32@0.19.11': - resolution: {integrity: sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==} + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} engines: {node: '>=12'} - cpu: [ia32] + cpu: [arm64] os: [win32] '@esbuild/win32-ia32@0.19.9': @@ -768,10 +762,10 @@ packages: cpu: [ia32] os: [win32] - '@esbuild/win32-x64@0.19.11': - resolution: {integrity: sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==} + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} engines: {node: '>=12'} - cpu: [x64] + cpu: [ia32] os: [win32] '@esbuild/win32-x64@0.19.9': @@ -780,6 +774,12 @@ packages: cpu: [x64] os: [win32] + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + '@eslint-community/eslint-utils@4.4.0': resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -829,16 +829,28 @@ packages: resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} + '@jridgewell/gen-mapping@0.3.5': + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} + engines: {node: '>=6.0.0'} + '@jridgewell/resolve-uri@3.1.1': resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} engines: {node: '>=6.0.0'} + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + '@jridgewell/set-array@1.1.2': resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} - '@jridgewell/source-map@0.3.5': - resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} + '@jridgewell/set-array@1.2.1': + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} + engines: {node: '>=6.0.0'} + + '@jridgewell/source-map@0.3.6': + resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==} '@jridgewell/sourcemap-codec@1.4.15': resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} @@ -846,8 +858,8 @@ packages: '@jridgewell/trace-mapping@0.3.20': resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} - '@jridgewell/trace-mapping@0.3.22': - resolution: {integrity: sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==} + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} @@ -1001,8 +1013,8 @@ packages: '@types/eslint@8.44.7': resolution: {integrity: sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==} - '@types/eslint@8.56.2': - resolution: {integrity: sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==} + '@types/eslint@8.56.10': + resolution: {integrity: sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==} '@types/estree-jsx@1.0.3': resolution: {integrity: sha512-pvQ+TKeRHeiUGRhvYwRrQ/ISnohKkSJR14fT2yqyZ4e9K5vqc7hrtY2Y1Dw0ZwAzQ6DQsxsaCUuSIIi8v0Cq6w==} @@ -1134,8 +1146,8 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@webassemblyjs/ast@1.11.6': - resolution: {integrity: sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==} + '@webassemblyjs/ast@1.12.1': + resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==} '@webassemblyjs/floating-point-hex-parser@1.11.6': resolution: {integrity: sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==} @@ -1143,8 +1155,8 @@ packages: '@webassemblyjs/helper-api-error@1.11.6': resolution: {integrity: sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==} - '@webassemblyjs/helper-buffer@1.11.6': - resolution: {integrity: sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==} + '@webassemblyjs/helper-buffer@1.12.1': + resolution: {integrity: sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==} '@webassemblyjs/helper-numbers@1.11.6': resolution: {integrity: sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==} @@ -1152,8 +1164,8 @@ packages: '@webassemblyjs/helper-wasm-bytecode@1.11.6': resolution: {integrity: sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==} - '@webassemblyjs/helper-wasm-section@1.11.6': - resolution: {integrity: sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==} + '@webassemblyjs/helper-wasm-section@1.12.1': + resolution: {integrity: sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==} '@webassemblyjs/ieee754@1.11.6': resolution: {integrity: sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==} @@ -1164,20 +1176,20 @@ packages: '@webassemblyjs/utf8@1.11.6': resolution: {integrity: sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==} - '@webassemblyjs/wasm-edit@1.11.6': - resolution: {integrity: sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==} + '@webassemblyjs/wasm-edit@1.12.1': + resolution: {integrity: sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==} - '@webassemblyjs/wasm-gen@1.11.6': - resolution: {integrity: sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==} + '@webassemblyjs/wasm-gen@1.12.1': + resolution: {integrity: sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==} - '@webassemblyjs/wasm-opt@1.11.6': - resolution: {integrity: sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==} + '@webassemblyjs/wasm-opt@1.12.1': + resolution: {integrity: sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==} - '@webassemblyjs/wasm-parser@1.11.6': - resolution: {integrity: sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==} + '@webassemblyjs/wasm-parser@1.12.1': + resolution: {integrity: sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==} - '@webassemblyjs/wast-printer@1.11.6': - resolution: {integrity: sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==} + '@webassemblyjs/wast-printer@1.12.1': + resolution: {integrity: sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==} '@xtuc/ieee754@1.2.0': resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} @@ -1208,8 +1220,8 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - acorn@8.11.3: - resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} + acorn@8.12.0: + resolution: {integrity: sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==} engines: {node: '>=0.4.0'} hasBin: true @@ -1419,8 +1431,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - browserslist@4.22.3: - resolution: {integrity: sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==} + browserslist@4.23.1: + resolution: {integrity: sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true @@ -1476,8 +1488,8 @@ packages: caniuse-lite@1.0.30001570: resolution: {integrity: sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==} - caniuse-lite@1.0.30001587: - resolution: {integrity: sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==} + caniuse-lite@1.0.30001638: + resolution: {integrity: sha512-5SuJUJ7cZnhPpeLHaH0c/HPAnAHZvS6ElWyHK9GSIbVOQABLzowiI2pjmpvZ1WEbkyz46iFd4UXlOHR5SqgfMQ==} ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -1516,8 +1528,8 @@ packages: chownr@1.1.4: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} - chrome-trace-event@1.0.3: - resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} + chrome-trace-event@1.0.4: + resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==} engines: {node: '>=6.0'} ci-info@3.9.0: @@ -1840,8 +1852,8 @@ packages: electron-to-chromium@1.4.613: resolution: {integrity: sha512-r4x5+FowKG6q+/Wj0W9nidx7QO31BJwmR2uEo+Qh3YLGQ8SbBAFuDFpTxzly/I2gsbrFwBuIjrMp423L3O5U3w==} - electron-to-chromium@1.4.667: - resolution: {integrity: sha512-66L3pLlWhTNVUhnmSA5+qDM3fwnXsM6KAqE36e2w4KN0g6pkEtlT5bs41FQtQwVwKnfhNBXiWRLPs30HSxd7Kw==} + electron-to-chromium@1.4.812: + resolution: {integrity: sha512-7L8fC2Ey/b6SePDFKR2zHAy4mbdp1/38Yk5TsARO66W3hC5KEaeKMMHoxwtuH+jcu2AYLSn9QX04i95t6Fl1Hg==} elegant-spinner@3.0.0: resolution: {integrity: sha512-nWUuor3FWTGYAch7SY0unb5qLzs7eAc24ic9PBh+eQctFNQ4IDWJqBpBgsL4SrrGHHN0mJoL7CpWZby5t2KjFg==} @@ -1867,8 +1879,8 @@ packages: resolution: {integrity: sha512-kxpoMgrdtkXZ5h0SeraBS1iRntpTpQ3R8ussdb38+UAFnMGX5DDyJXePm+OCHOcoXvHDw7mc2erbJBpDnl7TPw==} engines: {node: '>=0.6'} - enhanced-resolve@5.15.0: - resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==} + enhanced-resolve@5.17.0: + resolution: {integrity: sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==} engines: {node: '>=10.13.0'} enquirer@2.4.1: @@ -1897,6 +1909,9 @@ packages: es-module-lexer@1.4.1: resolution: {integrity: sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==} + es-module-lexer@1.5.4: + resolution: {integrity: sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==} + es-set-tostringtag@2.0.2: resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} engines: {node: '>= 0.4'} @@ -1908,13 +1923,13 @@ packages: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} - esbuild@0.19.11: - resolution: {integrity: sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==} + esbuild@0.19.9: + resolution: {integrity: sha512-U9CHtKSy+EpPsEBa+/A2gMs/h3ylBC0H0KSqIg7tpztHerLi6nrrcoUJAkNCEPumx8yJ+Byic4BVwHgRbN0TBg==} engines: {node: '>=12'} hasBin: true - esbuild@0.19.9: - resolution: {integrity: sha512-U9CHtKSy+EpPsEBa+/A2gMs/h3ylBC0H0KSqIg7tpztHerLi6nrrcoUJAkNCEPumx8yJ+Byic4BVwHgRbN0TBg==} + esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} engines: {node: '>=12'} hasBin: true @@ -2330,6 +2345,9 @@ packages: get-tsconfig@4.7.2: resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} + get-tsconfig@4.7.5: + resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} + git-raw-commits@2.0.11: resolution: {integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==} engines: {node: '>=10'} @@ -3609,6 +3627,9 @@ packages: picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -4339,8 +4360,8 @@ packages: uglify-js: optional: true - terser@5.27.0: - resolution: {integrity: sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==} + terser@5.31.1: + resolution: {integrity: sha512-37upzU1+viGvuFtBo9NPufCb9dwM0+l9hMxYyWfBA+fbwrPqNJAhbZ6W47bBFnZHKHTUBnMvi87434qq+qnxOg==} engines: {node: '>=10'} hasBin: true @@ -4422,8 +4443,8 @@ packages: tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - tsx@4.7.0: - resolution: {integrity: sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg==} + tsx@4.15.7: + resolution: {integrity: sha512-u3H0iSFDZM3za+VxkZ1kywdCeHCn+8/qHQS1MNoO2sONDgD95HlWtt8aB23OzeTmFP9IU4/8bZUdg58Uu5J4cg==} engines: {node: '>=18.0.0'} hasBin: true @@ -4520,8 +4541,8 @@ packages: typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} - typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} + typescript@5.5.2: + resolution: {integrity: sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==} engines: {node: '>=14.17'} hasBin: true @@ -4603,6 +4624,12 @@ packages: peerDependencies: browserslist: '>= 4.21.0' + update-browserslist-db@1.0.16: + resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} @@ -4675,8 +4702,8 @@ packages: vscode-textmate@8.0.0: resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} - watchpack@2.4.0: - resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} + watchpack@2.4.1: + resolution: {integrity: sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==} engines: {node: '>=10.13.0'} wcwidth@1.0.1: @@ -4851,12 +4878,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/mdx@2.0.1(astro@4.0.5)': + '@astrojs/mdx@2.0.1(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2))': dependencies: '@astrojs/markdown-remark': 4.0.1 '@mdx-js/mdx': 3.0.0 acorn: 8.11.2 - astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) + astro: 4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2) es-module-lexer: 1.4.1 estree-util-visit: 2.0.0 github-slugger: 2.0.0 @@ -4881,21 +4908,21 @@ snapshots: sitemap: 7.1.1 zod: 3.22.4 - '@astrojs/starlight-tailwind@2.0.1(@astrojs/starlight@0.15.0)(@astrojs/tailwind@5.0.3)(tailwindcss@3.3.6)': + '@astrojs/starlight-tailwind@2.0.1(@astrojs/starlight@0.15.0(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)))(@astrojs/tailwind@5.0.3(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2))(tailwindcss@3.3.6))(tailwindcss@3.3.6)': dependencies: - '@astrojs/starlight': 0.15.0(astro@4.0.5) - '@astrojs/tailwind': 5.0.3(astro@4.0.5)(tailwindcss@3.3.6) + '@astrojs/starlight': 0.15.0(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)) + '@astrojs/tailwind': 5.0.3(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2))(tailwindcss@3.3.6) tailwindcss: 3.3.6 - '@astrojs/starlight@0.15.0(astro@4.0.5)': + '@astrojs/starlight@0.15.0(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2))': dependencies: - '@astrojs/mdx': 2.0.1(astro@4.0.5) + '@astrojs/mdx': 2.0.1(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)) '@astrojs/sitemap': 3.0.3 '@pagefind/default-ui': 1.0.4 '@types/hast': 3.0.3 '@types/mdast': 4.0.3 - astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) - astro-expressive-code: 0.29.4(astro@4.0.5) + astro: 4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2) + astro-expressive-code: 0.29.4(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)) bcp-47: 2.1.0 execa: 8.0.1 hast-util-select: 6.0.2 @@ -4911,9 +4938,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/tailwind@5.0.3(astro@4.0.5)(tailwindcss@3.3.6)': + '@astrojs/tailwind@5.0.3(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2))(tailwindcss@3.3.6)': dependencies: - astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) + astro: 4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2) autoprefixer: 10.4.16(postcss@8.4.32) postcss: 8.4.32 postcss-load-config: 4.0.2(postcss@8.4.32) @@ -5230,11 +5257,11 @@ snapshots: human-id: 1.0.2 prettier: 2.8.8 - '@commitlint/cli@18.6.1(@types/node@20.10.4)(typescript@5.3.3)': + '@commitlint/cli@18.6.1(@types/node@20.10.4)(typescript@5.5.2)': dependencies: '@commitlint/format': 18.6.1 '@commitlint/lint': 18.6.1 - '@commitlint/load': 18.6.1(@types/node@20.10.4)(typescript@5.3.3) + '@commitlint/load': 18.6.1(@types/node@20.10.4)(typescript@5.5.2) '@commitlint/read': 18.6.1 '@commitlint/types': 18.6.1 execa: 5.1.1 @@ -5284,15 +5311,15 @@ snapshots: '@commitlint/rules': 18.6.1 '@commitlint/types': 18.6.1 - '@commitlint/load@18.6.1(@types/node@20.10.4)(typescript@5.3.3)': + '@commitlint/load@18.6.1(@types/node@20.10.4)(typescript@5.5.2)': dependencies: '@commitlint/config-validator': 18.6.1 '@commitlint/execute-rule': 18.6.1 '@commitlint/resolve-extends': 18.6.1 '@commitlint/types': 18.6.1 chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.3.3) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6)(typescript@5.3.3) + cosmiconfig: 8.3.6(typescript@5.5.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6(typescript@5.5.2))(typescript@5.5.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -5345,141 +5372,141 @@ snapshots: '@ctrl/tinycolor@3.6.1': {} - '@esbuild/aix-ppc64@0.19.11': - optional: true - - '@esbuild/android-arm64@0.19.11': + '@esbuild/aix-ppc64@0.21.5': optional: true '@esbuild/android-arm64@0.19.9': optional: true - '@esbuild/android-arm@0.19.11': + '@esbuild/android-arm64@0.21.5': optional: true '@esbuild/android-arm@0.19.9': optional: true - '@esbuild/android-x64@0.19.11': + '@esbuild/android-arm@0.21.5': optional: true '@esbuild/android-x64@0.19.9': optional: true - '@esbuild/darwin-arm64@0.19.11': + '@esbuild/android-x64@0.21.5': optional: true '@esbuild/darwin-arm64@0.19.9': optional: true - '@esbuild/darwin-x64@0.19.11': + '@esbuild/darwin-arm64@0.21.5': optional: true '@esbuild/darwin-x64@0.19.9': optional: true - '@esbuild/freebsd-arm64@0.19.11': + '@esbuild/darwin-x64@0.21.5': optional: true '@esbuild/freebsd-arm64@0.19.9': optional: true - '@esbuild/freebsd-x64@0.19.11': + '@esbuild/freebsd-arm64@0.21.5': optional: true '@esbuild/freebsd-x64@0.19.9': optional: true - '@esbuild/linux-arm64@0.19.11': + '@esbuild/freebsd-x64@0.21.5': optional: true '@esbuild/linux-arm64@0.19.9': optional: true - '@esbuild/linux-arm@0.19.11': + '@esbuild/linux-arm64@0.21.5': optional: true '@esbuild/linux-arm@0.19.9': optional: true - '@esbuild/linux-ia32@0.19.11': + '@esbuild/linux-arm@0.21.5': optional: true '@esbuild/linux-ia32@0.19.9': optional: true - '@esbuild/linux-loong64@0.19.11': + '@esbuild/linux-ia32@0.21.5': optional: true '@esbuild/linux-loong64@0.19.9': optional: true - '@esbuild/linux-mips64el@0.19.11': + '@esbuild/linux-loong64@0.21.5': optional: true '@esbuild/linux-mips64el@0.19.9': optional: true - '@esbuild/linux-ppc64@0.19.11': + '@esbuild/linux-mips64el@0.21.5': optional: true '@esbuild/linux-ppc64@0.19.9': optional: true - '@esbuild/linux-riscv64@0.19.11': + '@esbuild/linux-ppc64@0.21.5': optional: true '@esbuild/linux-riscv64@0.19.9': optional: true - '@esbuild/linux-s390x@0.19.11': + '@esbuild/linux-riscv64@0.21.5': optional: true '@esbuild/linux-s390x@0.19.9': optional: true - '@esbuild/linux-x64@0.19.11': + '@esbuild/linux-s390x@0.21.5': optional: true '@esbuild/linux-x64@0.19.9': optional: true - '@esbuild/netbsd-x64@0.19.11': + '@esbuild/linux-x64@0.21.5': optional: true '@esbuild/netbsd-x64@0.19.9': optional: true - '@esbuild/openbsd-x64@0.19.11': + '@esbuild/netbsd-x64@0.21.5': optional: true '@esbuild/openbsd-x64@0.19.9': optional: true - '@esbuild/sunos-x64@0.19.11': + '@esbuild/openbsd-x64@0.21.5': optional: true '@esbuild/sunos-x64@0.19.9': optional: true - '@esbuild/win32-arm64@0.19.11': + '@esbuild/sunos-x64@0.21.5': optional: true '@esbuild/win32-arm64@0.19.9': optional: true - '@esbuild/win32-ia32@0.19.11': + '@esbuild/win32-arm64@0.21.5': optional: true '@esbuild/win32-ia32@0.19.9': optional: true - '@esbuild/win32-x64@0.19.11': + '@esbuild/win32-ia32@0.21.5': optional: true '@esbuild/win32-x64@0.19.9': optional: true + '@esbuild/win32-x64@0.21.5': + optional: true + '@eslint-community/eslint-utils@4.4.0(eslint@8.53.0)': dependencies: eslint: 8.53.0 @@ -5554,14 +5581,24 @@ snapshots: '@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/trace-mapping': 0.3.20 + '@jridgewell/gen-mapping@0.3.5': + dependencies: + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/resolve-uri@3.1.1': {} + '@jridgewell/resolve-uri@3.1.2': {} + '@jridgewell/set-array@1.1.2': {} - '@jridgewell/source-map@0.3.5': + '@jridgewell/set-array@1.2.1': {} + + '@jridgewell/source-map@0.3.6': dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.22 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 '@jridgewell/sourcemap-codec@1.4.15': {} @@ -5570,9 +5607,9 @@ snapshots: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping@0.3.22': + '@jridgewell/trace-mapping@0.3.25': dependencies: - '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 '@manypkg/find-root@1.1.0': @@ -5738,7 +5775,7 @@ snapshots: '@types/eslint-scope@3.7.7': dependencies: - '@types/eslint': 8.56.2 + '@types/eslint': 8.56.10 '@types/estree': 1.0.5 '@types/eslint@8.44.7': @@ -5746,7 +5783,7 @@ snapshots: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 - '@types/eslint@8.56.2': + '@types/eslint@8.56.10': dependencies: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 @@ -5817,13 +5854,13 @@ snapshots: dependencies: '@types/node': 20.10.4 - '@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3)': + '@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.5.2) '@typescript-eslint/scope-manager': 6.10.0 - '@typescript-eslint/type-utils': 6.10.0(eslint@8.53.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.3.3) + '@typescript-eslint/type-utils': 6.10.0(eslint@8.53.0)(typescript@5.5.2) + '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.5.2) '@typescript-eslint/visitor-keys': 6.10.0 debug: 4.3.4 eslint: 8.53.0 @@ -5831,20 +5868,22 @@ snapshots: ignore: 5.2.4 natural-compare: 1.4.0 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.0.3(typescript@5.5.2) + optionalDependencies: + typescript: 5.5.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.3.3)': + '@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2)': dependencies: '@typescript-eslint/scope-manager': 6.10.0 '@typescript-eslint/types': 6.10.0 - '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.5.2) '@typescript-eslint/visitor-keys': 6.10.0 debug: 4.3.4 eslint: 8.53.0 - typescript: 5.3.3 + optionalDependencies: + typescript: 5.5.2 transitivePeerDependencies: - supports-color @@ -5853,20 +5892,21 @@ snapshots: '@typescript-eslint/types': 6.10.0 '@typescript-eslint/visitor-keys': 6.10.0 - '@typescript-eslint/type-utils@6.10.0(eslint@8.53.0)(typescript@5.3.3)': + '@typescript-eslint/type-utils@6.10.0(eslint@8.53.0)(typescript@5.5.2)': dependencies: - '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.5.2) + '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.5.2) debug: 4.3.4 eslint: 8.53.0 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.0.3(typescript@5.5.2) + optionalDependencies: + typescript: 5.5.2 transitivePeerDependencies: - supports-color '@typescript-eslint/types@6.10.0': {} - '@typescript-eslint/typescript-estree@6.10.0(typescript@5.3.3)': + '@typescript-eslint/typescript-estree@6.10.0(typescript@5.5.2)': dependencies: '@typescript-eslint/types': 6.10.0 '@typescript-eslint/visitor-keys': 6.10.0 @@ -5874,19 +5914,20 @@ snapshots: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.0.3(typescript@5.5.2) + optionalDependencies: + typescript: 5.5.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@6.10.0(eslint@8.53.0)(typescript@5.3.3)': + '@typescript-eslint/utils@6.10.0(eslint@8.53.0)(typescript@5.5.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.53.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.5 '@typescript-eslint/scope-manager': 6.10.0 '@typescript-eslint/types': 6.10.0 - '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.5.2) eslint: 8.53.0 semver: 7.5.4 transitivePeerDependencies: @@ -5900,7 +5941,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@webassemblyjs/ast@1.11.6': + '@webassemblyjs/ast@1.12.1': dependencies: '@webassemblyjs/helper-numbers': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 @@ -5909,7 +5950,7 @@ snapshots: '@webassemblyjs/helper-api-error@1.11.6': {} - '@webassemblyjs/helper-buffer@1.11.6': {} + '@webassemblyjs/helper-buffer@1.12.1': {} '@webassemblyjs/helper-numbers@1.11.6': dependencies: @@ -5919,12 +5960,12 @@ snapshots: '@webassemblyjs/helper-wasm-bytecode@1.11.6': {} - '@webassemblyjs/helper-wasm-section@1.11.6': + '@webassemblyjs/helper-wasm-section@1.12.1': dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/helper-buffer': 1.12.1 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 + '@webassemblyjs/wasm-gen': 1.12.1 '@webassemblyjs/ieee754@1.11.6': dependencies: @@ -5936,44 +5977,44 @@ snapshots: '@webassemblyjs/utf8@1.11.6': {} - '@webassemblyjs/wasm-edit@1.11.6': + '@webassemblyjs/wasm-edit@1.12.1': dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/helper-buffer': 1.12.1 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/helper-wasm-section': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 - '@webassemblyjs/wasm-opt': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 - '@webassemblyjs/wast-printer': 1.11.6 + '@webassemblyjs/helper-wasm-section': 1.12.1 + '@webassemblyjs/wasm-gen': 1.12.1 + '@webassemblyjs/wasm-opt': 1.12.1 + '@webassemblyjs/wasm-parser': 1.12.1 + '@webassemblyjs/wast-printer': 1.12.1 - '@webassemblyjs/wasm-gen@1.11.6': + '@webassemblyjs/wasm-gen@1.12.1': dependencies: - '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/ast': 1.12.1 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/ieee754': 1.11.6 '@webassemblyjs/leb128': 1.11.6 '@webassemblyjs/utf8': 1.11.6 - '@webassemblyjs/wasm-opt@1.11.6': + '@webassemblyjs/wasm-opt@1.12.1': dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/helper-buffer': 1.12.1 + '@webassemblyjs/wasm-gen': 1.12.1 + '@webassemblyjs/wasm-parser': 1.12.1 - '@webassemblyjs/wasm-parser@1.11.6': + '@webassemblyjs/wasm-parser@1.12.1': dependencies: - '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/ast': 1.12.1 '@webassemblyjs/helper-api-error': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/ieee754': 1.11.6 '@webassemblyjs/leb128': 1.11.6 '@webassemblyjs/utf8': 1.11.6 - '@webassemblyjs/wast-printer@1.11.6': + '@webassemblyjs/wast-printer@1.12.1': dependencies: - '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/ast': 1.12.1 '@xtuc/long': 4.2.2 '@xtuc/ieee754@1.2.0': {} @@ -5989,9 +6030,9 @@ snapshots: dependencies: event-target-shim: 5.0.1 - acorn-import-assertions@1.9.0(acorn@8.11.3): + acorn-import-assertions@1.9.0(acorn@8.12.0): dependencies: - acorn: 8.11.3 + acorn: 8.12.0 acorn-jsx@5.3.2(acorn@8.11.2): dependencies: @@ -5999,7 +6040,7 @@ snapshots: acorn@8.11.2: {} - acorn@8.11.3: {} + acorn@8.12.0: {} ajv-keywords@3.5.2(ajv@6.12.6): dependencies: @@ -6122,12 +6163,12 @@ snapshots: astring@1.8.6: {} - astro-expressive-code@0.29.4(astro@4.0.5): + astro-expressive-code@0.29.4(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)): dependencies: - astro: 4.0.5(@types/node@20.10.4)(typescript@5.3.3) + astro: 4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2) remark-expressive-code: 0.29.4 - astro@4.0.5(@types/node@20.10.4)(typescript@5.3.3): + astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2): dependencies: '@astrojs/compiler': 2.3.2 '@astrojs/internal-helpers': 0.2.1 @@ -6182,11 +6223,11 @@ snapshots: shikiji: 0.6.13 string-width: 7.0.0 strip-ansi: 7.1.0 - tsconfck: 3.0.0(typescript@5.3.3) + tsconfck: 3.0.0(typescript@5.5.2) unist-util-visit: 5.0.0 vfile: 6.0.1 - vite: 5.0.9(@types/node@20.10.4) - vitefu: 0.2.5(vite@5.0.9) + vite: 5.0.9(@types/node@20.12.14)(terser@5.31.1) + vitefu: 0.2.5(vite@5.0.9(@types/node@20.12.14)(terser@5.31.1)) which-pm: 2.1.1 yargs-parser: 21.1.1 zod: 3.22.4 @@ -6296,12 +6337,12 @@ snapshots: node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.2) - browserslist@4.22.3: + browserslist@4.23.1: dependencies: - caniuse-lite: 1.0.30001587 - electron-to-chromium: 1.4.667 + caniuse-lite: 1.0.30001638 + electron-to-chromium: 1.4.812 node-releases: 2.0.14 - update-browserslist-db: 1.0.13(browserslist@4.22.3) + update-browserslist-db: 1.0.16(browserslist@4.23.1) buffer-from@1.1.2: {} @@ -6357,7 +6398,7 @@ snapshots: caniuse-lite@1.0.30001570: {} - caniuse-lite@1.0.30001587: {} + caniuse-lite@1.0.30001638: {} ccount@2.0.1: {} @@ -6398,7 +6439,7 @@ snapshots: chownr@1.1.4: {} - chrome-trace-event@1.0.3: {} + chrome-trace-event@1.0.4: {} ci-info@3.9.0: {} @@ -6503,28 +6544,30 @@ snapshots: cookie@0.6.0: {} - cosmiconfig-typescript-loader@5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6)(typescript@5.3.3): + cosmiconfig-typescript-loader@5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6(typescript@5.5.2))(typescript@5.5.2): dependencies: '@types/node': 20.10.4 - cosmiconfig: 8.3.6(typescript@5.3.3) + cosmiconfig: 8.3.6(typescript@5.5.2) jiti: 1.21.0 - typescript: 5.3.3 + typescript: 5.5.2 - cosmiconfig@8.3.6(typescript@5.3.3): + cosmiconfig@8.3.6(typescript@5.5.2): dependencies: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 - typescript: 5.3.3 + optionalDependencies: + typescript: 5.5.2 - cosmiconfig@9.0.0(typescript@5.3.3): + cosmiconfig@9.0.0(typescript@5.5.2): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 - typescript: 5.3.3 + optionalDependencies: + typescript: 5.5.2 cross-spawn@5.1.0: dependencies: @@ -6676,7 +6719,7 @@ snapshots: electron-to-chromium@1.4.613: {} - electron-to-chromium@1.4.667: {} + electron-to-chromium@1.4.812: {} elegant-spinner@3.0.0: {} @@ -6700,7 +6743,7 @@ snapshots: memory-fs: 0.2.0 tapable: 0.1.10 - enhanced-resolve@5.15.0: + enhanced-resolve@5.17.0: dependencies: graceful-fs: 4.2.11 tapable: 2.2.1 @@ -6764,6 +6807,8 @@ snapshots: es-module-lexer@1.4.1: {} + es-module-lexer@1.5.4: {} + es-set-tostringtag@2.0.2: dependencies: get-intrinsic: 1.2.2 @@ -6780,32 +6825,6 @@ snapshots: is-date-object: 1.0.5 is-symbol: 1.0.4 - esbuild@0.19.11: - optionalDependencies: - '@esbuild/aix-ppc64': 0.19.11 - '@esbuild/android-arm': 0.19.11 - '@esbuild/android-arm64': 0.19.11 - '@esbuild/android-x64': 0.19.11 - '@esbuild/darwin-arm64': 0.19.11 - '@esbuild/darwin-x64': 0.19.11 - '@esbuild/freebsd-arm64': 0.19.11 - '@esbuild/freebsd-x64': 0.19.11 - '@esbuild/linux-arm': 0.19.11 - '@esbuild/linux-arm64': 0.19.11 - '@esbuild/linux-ia32': 0.19.11 - '@esbuild/linux-loong64': 0.19.11 - '@esbuild/linux-mips64el': 0.19.11 - '@esbuild/linux-ppc64': 0.19.11 - '@esbuild/linux-riscv64': 0.19.11 - '@esbuild/linux-s390x': 0.19.11 - '@esbuild/linux-x64': 0.19.11 - '@esbuild/netbsd-x64': 0.19.11 - '@esbuild/openbsd-x64': 0.19.11 - '@esbuild/sunos-x64': 0.19.11 - '@esbuild/win32-arm64': 0.19.11 - '@esbuild/win32-ia32': 0.19.11 - '@esbuild/win32-x64': 0.19.11 - esbuild@0.19.9: optionalDependencies: '@esbuild/android-arm': 0.19.9 @@ -6831,6 +6850,32 @@ snapshots: '@esbuild/win32-ia32': 0.19.9 '@esbuild/win32-x64': 0.19.9 + esbuild@0.21.5: + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + escalade@3.1.1: {} escalade@3.1.2: {} @@ -6845,12 +6890,12 @@ snapshots: dependencies: eslint: 8.53.0 - eslint-config-xo-typescript@1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3): + eslint-config-xo-typescript@1.0.1(@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2))(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2): dependencies: - '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2) + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.5.2) eslint: 8.53.0 - typescript: 5.3.3 + typescript: 5.5.2 eslint-config-xo@0.43.1(eslint@8.53.0): dependencies: @@ -6876,12 +6921,12 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1): + eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1): dependencies: array.prototype.find: 2.2.2 debug: 3.2.7 enhanced-resolve: 0.9.1 - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) find-root: 1.1.0 hasown: 2.0.1 interpret: 1.4.0 @@ -6894,13 +6939,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0): dependencies: - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) debug: 3.2.7 + optionalDependencies: + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.5.2) eslint: 8.53.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) + eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1) transitivePeerDependencies: - supports-color @@ -6928,9 +6974,8 @@ snapshots: eslint: 8.53.0 ignore: 5.2.4 - eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0): + eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0): dependencies: - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 @@ -6938,7 +6983,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.53.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) has: 1.0.4 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -6947,6 +6992,8 @@ snapshots: resolve: 1.22.8 semver: 6.3.1 tsconfig-paths: 3.14.2 + optionalDependencies: + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.5.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -6972,13 +7019,15 @@ snapshots: is-obj-prop: 1.0.0 is-proto-prop: 2.0.0 - eslint-plugin-prettier@5.0.1(eslint-config-prettier@8.10.0)(eslint@8.53.0)(prettier@3.1.1): + eslint-plugin-prettier@5.0.1(@types/eslint@8.56.10)(eslint-config-prettier@8.10.0(eslint@8.53.0))(eslint@8.53.0)(prettier@3.1.1): dependencies: eslint: 8.53.0 - eslint-config-prettier: 8.10.0(eslint@8.53.0) prettier: 3.1.1 prettier-linter-helpers: 1.0.0 synckit: 0.8.5 + optionalDependencies: + '@types/eslint': 8.56.10 + eslint-config-prettier: 8.10.0(eslint@8.53.0) eslint-plugin-unicorn@48.0.1(eslint@8.53.0): dependencies: @@ -7333,6 +7382,10 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 + get-tsconfig@4.7.5: + dependencies: + resolve-pkg-maps: 1.0.0 + git-raw-commits@2.0.11: dependencies: dargs: 7.0.0 @@ -8994,6 +9047,8 @@ snapshots: picocolors@1.0.0: {} + picocolors@1.0.1: {} + picomatch@2.3.1: {} pidtree@0.3.1: {} @@ -9062,8 +9117,9 @@ snapshots: postcss-load-config@4.0.2(postcss@8.4.32): dependencies: lilconfig: 3.0.0 - postcss: 8.4.32 yaml: 2.3.4 + optionalDependencies: + postcss: 8.4.32 postcss-nested@6.0.1(postcss@8.4.32): dependencies: @@ -9842,17 +9898,17 @@ snapshots: terser-webpack-plugin@5.3.10(webpack@5.90.1): dependencies: - '@jridgewell/trace-mapping': 0.3.22 + '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 - terser: 5.27.0 + terser: 5.31.1 webpack: 5.90.1 - terser@5.27.0: + terser@5.31.1: dependencies: - '@jridgewell/source-map': 0.3.5 - acorn: 8.11.3 + '@jridgewell/source-map': 0.3.6 + acorn: 8.12.0 commander: 2.20.3 source-map-support: 0.5.21 @@ -9901,15 +9957,15 @@ snapshots: trough@2.1.0: {} - ts-api-utils@1.0.3(typescript@5.3.3): + ts-api-utils@1.0.3(typescript@5.5.2): dependencies: - typescript: 5.3.3 + typescript: 5.5.2 ts-interface-checker@0.1.13: {} - tsconfck@3.0.0(typescript@5.3.3): - dependencies: - typescript: 5.3.3 + tsconfck@3.0.0(typescript@5.5.2): + optionalDependencies: + typescript: 5.5.2 tsconfig-paths@3.14.2: dependencies: @@ -9920,10 +9976,10 @@ snapshots: tslib@2.6.2: {} - tsx@4.7.0: + tsx@4.15.7: dependencies: - esbuild: 0.19.11 - get-tsconfig: 4.7.2 + esbuild: 0.21.5 + get-tsconfig: 4.7.5 optionalDependencies: fsevents: 2.3.3 @@ -10015,7 +10071,7 @@ snapshots: for-each: 0.3.3 is-typed-array: 1.1.12 - typescript@5.3.3: {} + typescript@5.5.2: {} unbox-primitive@1.0.2: dependencies: @@ -10130,11 +10186,11 @@ snapshots: escalade: 3.1.1 picocolors: 1.0.0 - update-browserslist-db@1.0.13(browserslist@4.22.3): + update-browserslist-db@1.0.16(browserslist@4.23.1): dependencies: - browserslist: 4.22.3 - escalade: 3.1.1 - picocolors: 1.0.0 + browserslist: 4.23.1 + escalade: 3.1.2 + picocolors: 1.0.1 uri-js@4.4.1: dependencies: @@ -10182,24 +10238,25 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite@5.0.9(@types/node@20.10.4): + vite@5.0.9(@types/node@20.12.14)(terser@5.31.1): dependencies: - '@types/node': 20.10.4 esbuild: 0.19.9 postcss: 8.4.32 rollup: 4.9.0 optionalDependencies: + '@types/node': 20.12.14 fsevents: 2.3.3 + terser: 5.31.1 - vitefu@0.2.5(vite@5.0.9): - dependencies: - vite: 5.0.9(@types/node@20.10.4) + vitefu@0.2.5(vite@5.0.9(@types/node@20.12.14)(terser@5.31.1)): + optionalDependencies: + vite: 5.0.9(@types/node@20.12.14)(terser@5.31.1) vscode-oniguruma@1.7.0: {} vscode-textmate@8.0.0: {} - watchpack@2.4.0: + watchpack@2.4.1: dependencies: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 @@ -10216,15 +10273,15 @@ snapshots: dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.5 - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/wasm-edit': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 - acorn: 8.11.3 - acorn-import-assertions: 1.9.0(acorn@8.11.3) - browserslist: 4.22.3 - chrome-trace-event: 1.0.3 - enhanced-resolve: 5.15.0 - es-module-lexer: 1.4.1 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/wasm-edit': 1.12.1 + '@webassemblyjs/wasm-parser': 1.12.1 + acorn: 8.12.0 + acorn-import-assertions: 1.9.0(acorn@8.12.0) + browserslist: 4.23.1 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.17.0 + es-module-lexer: 1.5.4 eslint-scope: 5.1.1 events: 3.3.0 glob-to-regexp: 0.4.1 @@ -10236,7 +10293,7 @@ snapshots: schema-utils: 3.3.0 tapable: 2.2.1 terser-webpack-plugin: 5.3.10(webpack@5.90.1) - watchpack: 2.4.0 + watchpack: 2.4.1 webpack-sources: 3.2.3 transitivePeerDependencies: - '@swc/core' @@ -10311,26 +10368,26 @@ snapshots: wrappy@1.0.2: {} - xo@0.56.0(webpack@5.90.1): + xo@0.56.0(@types/eslint@8.56.10)(webpack@5.90.1): dependencies: '@eslint/eslintrc': 2.1.3 - '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.10.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2) + '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.5.2) arrify: 3.0.0 - cosmiconfig: 8.3.6(typescript@5.3.3) + cosmiconfig: 8.3.6(typescript@5.5.2) define-lazy-prop: 3.0.0 eslint: 8.53.0 eslint-config-prettier: 8.10.0(eslint@8.53.0) eslint-config-xo: 0.43.1(eslint@8.53.0) - eslint-config-xo-typescript: 1.0.1(@typescript-eslint/eslint-plugin@6.10.0)(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.3.3) + eslint-config-xo-typescript: 1.0.1(@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2))(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2) eslint-formatter-pretty: 5.0.0 - eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) + eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1) eslint-plugin-ava: 14.0.0(eslint@8.53.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.53.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0)(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) eslint-plugin-n: 16.3.0(eslint@8.53.0) eslint-plugin-no-use-extend-native: 0.5.0 - eslint-plugin-prettier: 5.0.1(eslint-config-prettier@8.10.0)(eslint@8.53.0)(prettier@3.1.1) + eslint-plugin-prettier: 5.0.1(@types/eslint@8.56.10)(eslint-config-prettier@8.10.0(eslint@8.53.0))(eslint@8.53.0)(prettier@3.1.1) eslint-plugin-unicorn: 48.0.1(eslint@8.53.0) esm-utils: 4.2.1 find-cache-dir: 4.0.0 @@ -10348,7 +10405,8 @@ snapshots: semver: 7.5.4 slash: 5.1.0 to-absolute-glob: 3.0.0 - typescript: 5.3.3 + typescript: 5.5.2 + optionalDependencies: webpack: 5.90.1 transitivePeerDependencies: - '@types/eslint' From 48181d88b72d0bea4f2aed5766cd026cbfee8503 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:41:04 +0000 Subject: [PATCH 91/98] chore(deps): bump turbo from 1.10.16 to 2.0.5 Bumps [turbo](https://github.com/vercel/turbo) from 1.10.16 to 2.0.5. - [Release notes](https://github.com/vercel/turbo/releases) - [Changelog](https://github.com/vercel/turbo/blob/main/release.md) - [Commits](https://github.com/vercel/turbo/compare/v1.10.16...v2.0.5) --- updated-dependencies: - dependency-name: turbo dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- pnpm-lock.yaml | 64 +++++++++++++++++++++++++++----------------------- 2 files changed, 36 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index b549f80..48cdaac 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "npm-run-all": "4.1.5", "prettier": "3.1.1", "tsx": "4.15.7", - "turbo": "1.10.16", + "turbo": "2.0.5", "typescript": "5.5.2", "xo": "0.56.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c44f6f9..41668e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: 4.15.7 version: 4.15.7 turbo: - specifier: 1.10.16 - version: 1.10.16 + specifier: 2.0.5 + version: 2.0.5 typescript: specifier: 5.5.2 version: 5.5.2 @@ -813,6 +813,7 @@ packages: '@humanwhocodes/config-array@0.11.13': resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} engines: {node: '>=10.10.0'} + deprecated: Use @eslint/config-array instead '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} @@ -820,6 +821,7 @@ packages: '@humanwhocodes/object-schema@2.0.1': resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} + deprecated: Use @eslint/object-schema instead '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} @@ -2377,9 +2379,11 @@ packages: glob@7.1.6: resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} + deprecated: Glob versions prior to v9 are no longer supported glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported global-dirs@0.1.1: resolution: {integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==} @@ -2602,6 +2606,7 @@ packages: inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -3971,6 +3976,7 @@ packages: rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true rollup@4.9.0: @@ -4456,38 +4462,38 @@ packages: tunnel-agent@0.6.0: resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} - turbo-darwin-64@1.10.16: - resolution: {integrity: sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==} + turbo-darwin-64@2.0.5: + resolution: {integrity: sha512-t/9XpWYIjOhIHUdwiR47SYBGYHkR1zWLxTkTNKZwCSn8BN0cfjPZ1BR6kcwYGxLGBhtl5GBf6A29nq2K7iwAjg==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@1.10.16: - resolution: {integrity: sha512-jqGpFZipIivkRp/i+jnL8npX0VssE6IAVNKtu573LXtssZdV/S+fRGYA16tI46xJGxSAivrZ/IcgZrV6Jk80bw==} + turbo-darwin-arm64@2.0.5: + resolution: {integrity: sha512-//5y4RJvnal8CttOLBwlaBqblcQb1qTlIxLN+I8O3E3rPuvHOupNKB9ZJxYIQ8oWf8ns8Ec8cxQ0GSBLTJIMtA==} cpu: [arm64] os: [darwin] - turbo-linux-64@1.10.16: - resolution: {integrity: sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==} + turbo-linux-64@2.0.5: + resolution: {integrity: sha512-LDtEDU2Gm8p3lKu//aHXZFRKUCVu68BNF9LQ+HmiCKFpNyK7khpMTxIAAUhDqt+AzlrbxtrxcCpCJaWg1JDjHg==} cpu: [x64] os: [linux] - turbo-linux-arm64@1.10.16: - resolution: {integrity: sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==} + turbo-linux-arm64@2.0.5: + resolution: {integrity: sha512-84wdrzntErBNxkHcwHxiTZdaginQAxGPnwLTyZj8lpUYI7okPoxy3jKpUeMHN3adm3iDedl/x0mYSIvVVkmOiA==} cpu: [arm64] os: [linux] - turbo-windows-64@1.10.16: - resolution: {integrity: sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==} + turbo-windows-64@2.0.5: + resolution: {integrity: sha512-SgaFZ0VW6kHCJogLNuLEleAauAJx2Y48wazZGVRmBpgSUS2AylXesaBMhJaEScYqLz7mIRn6KOgwM8D4wTxI9g==} cpu: [x64] os: [win32] - turbo-windows-arm64@1.10.16: - resolution: {integrity: sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==} + turbo-windows-arm64@2.0.5: + resolution: {integrity: sha512-foUxLOZoru0IRNIxm53fkfM4ubas9P0nTFjIcHtd+E8YHeogt8GqTweNre2e6ri1EHDo71emmuQgpuoFCOXZMg==} cpu: [arm64] os: [win32] - turbo@1.10.16: - resolution: {integrity: sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==} + turbo@2.0.5: + resolution: {integrity: sha512-+6+hcWr4nwuESlKqUc626HMOTd3QT8hUOc9QM45PP1d4nErGkNOgExm4Pcov3in7LTuadMnB0gcd/BuzkEDIPw==} hasBin: true type-check@0.4.0: @@ -9997,32 +10003,32 @@ snapshots: dependencies: safe-buffer: 5.2.1 - turbo-darwin-64@1.10.16: + turbo-darwin-64@2.0.5: optional: true - turbo-darwin-arm64@1.10.16: + turbo-darwin-arm64@2.0.5: optional: true - turbo-linux-64@1.10.16: + turbo-linux-64@2.0.5: optional: true - turbo-linux-arm64@1.10.16: + turbo-linux-arm64@2.0.5: optional: true - turbo-windows-64@1.10.16: + turbo-windows-64@2.0.5: optional: true - turbo-windows-arm64@1.10.16: + turbo-windows-arm64@2.0.5: optional: true - turbo@1.10.16: + turbo@2.0.5: optionalDependencies: - turbo-darwin-64: 1.10.16 - turbo-darwin-arm64: 1.10.16 - turbo-linux-64: 1.10.16 - turbo-linux-arm64: 1.10.16 - turbo-windows-64: 1.10.16 - turbo-windows-arm64: 1.10.16 + turbo-darwin-64: 2.0.5 + turbo-darwin-arm64: 2.0.5 + turbo-linux-64: 2.0.5 + turbo-linux-arm64: 2.0.5 + turbo-windows-64: 2.0.5 + turbo-windows-arm64: 2.0.5 type-check@0.4.0: dependencies: From c151031d414e0db4316df97ff9110e0f442f6e55 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 27 Jun 2024 16:00:32 +0200 Subject: [PATCH 92/98] chore(deps): upgrade Turbo and opt out from telemetry --- .github/workflows/ci.yaml | 1 + docs/package.json | 4 +- pnpm-lock.yaml | 426 +++++++++++++++++++++++++++++++++++++- turbo.json | 2 +- 4 files changed, 423 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 07f53e4..01a8453 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,6 +13,7 @@ jobs: env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + DO_NOT_TRACK: 1 steps: - name: Check out code diff --git a/docs/package.json b/docs/package.json index d445425..85c5d1a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,6 +11,7 @@ "astro": "astro" }, "dependencies": { + "@astrojs/check": "^0.7.0", "@astrojs/starlight": "^0.15.0", "@astrojs/starlight-tailwind": "2.0.1", "@astrojs/tailwind": "^5.0.3", @@ -20,5 +21,6 @@ }, "volta": { "extends": "../package.json" - } + }, + "packageManager": "pnpm@9.4.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 41668e9..a1844e2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -50,6 +50,9 @@ importers: docs: dependencies: + '@astrojs/check': + specifier: ^0.7.0 + version: 0.7.0(prettier@3.1.1)(typescript@5.5.2) '@astrojs/starlight': specifier: ^0.15.0 version: 0.15.0(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)) @@ -230,12 +233,33 @@ packages: resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} engines: {node: '>=6.0.0'} + '@astrojs/check@0.7.0': + resolution: {integrity: sha512-UTqwOeKNu9IYZmJXEeWnQuTdSd/pX58Hl4TUARsMlT97SVDL//kLBE4T/ctxRz6J573N87oE5ddtW/uOOnQTug==} + hasBin: true + peerDependencies: + typescript: ^5.0.0 + '@astrojs/compiler@2.3.2': resolution: {integrity: sha512-jkY7bCVxl27KeZsSxIZ+pqACe+g8VQUdTiSJRj/sXYdIaZlW3ZMq4qF2M17P/oDt3LBq0zLNwQr4Cb7fSpRGxQ==} + '@astrojs/compiler@2.8.1': + resolution: {integrity: sha512-NGfPAgU/9rvDEwsXu82RI1AxiivaxtEYBK9saW1f+2fTHUUqCJQ27HYtb2akG2QxCmFikgZ9zk26BEWgiHho1Q==} + '@astrojs/internal-helpers@0.2.1': resolution: {integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A==} + '@astrojs/language-server@2.10.0': + resolution: {integrity: sha512-crHXpqYfA5qWioiuZnZFpTsNItgBlF1f0S9MzDYS7/pfCALkHNJ7K3w9U/j0uMKymsT4hC7BfMaX0DYlfdSzHg==} + hasBin: true + peerDependencies: + prettier: ^3.0.0 + prettier-plugin-astro: '>=0.11.0' + peerDependenciesMeta: + prettier: + optional: true + prettier-plugin-astro: + optional: true + '@astrojs/markdown-remark@4.0.1': resolution: {integrity: sha512-RU4ESnqvyLpj8WZs0n5elS6idaDdtIIm7mIpMaRNPCebpxMjfcfdwcmBwz83ktAj5d2eO5bC3z92TcGdli+lRw==} @@ -510,6 +534,27 @@ packages: resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} engines: {node: '>=10'} + '@emmetio/abbreviation@2.3.3': + resolution: {integrity: sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==} + + '@emmetio/css-abbreviation@2.1.8': + resolution: {integrity: sha512-s9yjhJ6saOO/uk1V74eifykk2CBYi01STTK3WlXWGOepyKa23ymJ053+DNQjpFcy1ingpaO7AxCcwLvHFY9tuw==} + + '@emmetio/css-parser@0.4.0': + resolution: {integrity: sha512-z7wkxRSZgrQHXVzObGkXG+Vmj3uRlpM11oCZ9pbaz0nFejvCDmAiNDpY75+wgXOcffKpj4rzGtwGaZxfJKsJxw==} + + '@emmetio/html-matcher@1.3.0': + resolution: {integrity: sha512-NTbsvppE5eVyBMuyGfVu2CRrLvo7J4YHb6t9sBFLyY03WYhXET37qA4zOYUjBWFCRHO7pS1B9khERtY0f5JXPQ==} + + '@emmetio/scanner@1.0.4': + resolution: {integrity: sha512-IqRuJtQff7YHHBk4G8YZ45uB9BaAGcwQeVzgj/zj8/UdOhtQpEIupUhSk8dys6spFIWVZVeK20CzGEnqR5SbqA==} + + '@emmetio/stream-reader-utils@0.1.0': + resolution: {integrity: sha512-ZsZ2I9Vzso3Ho/pjZFsmmZ++FWeEd/txqybHTm4OgaZzdS8V9V/YYWQwg5TC38Z7uLWUV1vavpLLbjJtKubR1A==} + + '@emmetio/stream-reader@2.2.0': + resolution: {integrity: sha512-fXVXEyFA5Yv3M3n8sUGT7+fvecGrZP4k6FnWWMSZVQf69kAq0LLpaBQLGcPR30m3zMmKYhECP4k/ZkzvhEW5kw==} + '@esbuild/aix-ppc64@0.21.5': resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} @@ -827,6 +872,9 @@ packages: resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} + '@johnsoncodehk/vscode-html-languageservice@5.2.0-34a5462': + resolution: {integrity: sha512-etqLfpSJ5zaw76KUNF603be6d6QsiQPmaHr9FKEp4zhLZJzWCCMH6Icak7MtLUFLZLMpL761mZNImi/joBo1ZA==} + '@jridgewell/gen-mapping@0.3.3': resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} @@ -1148,6 +1196,38 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + '@volar/kit@2.2.5': + resolution: {integrity: sha512-Bmn0UCaT43xUGGRwcmFG9lKhiCCLjRT4ScSLLPn5C9ltUcSGnIFFDlbZZa1PreHYHq25/4zkXt9Ap32klAh17w==} + peerDependencies: + typescript: '*' + + '@volar/language-core@2.2.5': + resolution: {integrity: sha512-2htyAuxRrAgETmFeUhT4XLELk3LiEcqoW/B8YUXMF6BrGWLMwIR09MFaZYvrA2UhbdAeSyeQ726HaWSWkexUcQ==} + + '@volar/language-server@2.2.5': + resolution: {integrity: sha512-PV/jkUkI+m72HTXwnY7hsGqLY3VNi96ZRoWFRzVC9QG/853bixxjveXPJIiydMJ9I739lO3kcj3hnGrF5Sm+HA==} + + '@volar/language-service@2.2.5': + resolution: {integrity: sha512-a97e/0uCe+uSu23F4zvgvldqJtZe6jugQeEHWjTfhgOEO8+Be0t5CZNNVItQqmPyAsD8eElg0S/cP6uxvCmCSQ==} + + '@volar/snapshot-document@2.2.5': + resolution: {integrity: sha512-MTOvWVKxM7ugKO3Amffkv2pND03fe2JtfygYaputqjVFML7YxtTXj8SPnI2pODLeSwOKzDYL6Q8r5j6Y5AgUzQ==} + + '@volar/source-map@2.2.5': + resolution: {integrity: sha512-wrOEIiZNf4E+PWB0AxyM4tfhkfldPsb3bxg8N6FHrxJH2ohar7aGu48e98bp3pR9HUA7P/pR9VrLmkTrgCCnWQ==} + + '@volar/typescript@2.2.5': + resolution: {integrity: sha512-eSV/n75+ppfEVugMC/salZsI44nXDPAyL6+iTYCNLtiLHGJsnMv9GwiDMujrvAUj/aLQyqRJgYtXRoxop2clCw==} + + '@vscode/emmet-helper@2.9.3': + resolution: {integrity: sha512-rB39LHWWPQYYlYfpv9qCoZOVioPCftKXXqrsyqN1mTWZM6dTnONT63Db+03vgrBbHzJN45IrgS/AGxw9iiqfEw==} + + '@vscode/l10n@0.0.16': + resolution: {integrity: sha512-JT5CvrIYYCrmB+dCana8sUqJEcGB1ZDXNLMQ2+42bW995WmNoenijWMUdZfwmuQUTQcEVVIa2OecZzTYWUW9Cg==} + + '@vscode/l10n@0.0.18': + resolution: {integrity: sha512-KYSIHVmslkaCDyw013pphY+d7x1qV8IZupYfeIfzNA+nsaWHbn5uPuQRvdRFsa9zFzGeudPuoGoZ1Op4jrJXIQ==} + '@webassemblyjs/ast@1.12.1': resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==} @@ -1861,6 +1941,9 @@ packages: resolution: {integrity: sha512-nWUuor3FWTGYAch7SY0unb5qLzs7eAc24ic9PBh+eQctFNQ4IDWJqBpBgsL4SrrGHHN0mJoL7CpWZby5t2KjFg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + emmet@2.4.7: + resolution: {integrity: sha512-O5O5QNqtdlnQM2bmKHtJgyChcrFMgQuulI+WdiOw2NArzprUqqxUW6bgYtKvzKgrsYpuLWalOkdhNP+1jluhCA==} + emoji-regex@10.3.0: resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} @@ -2924,6 +3007,9 @@ packages: engines: {node: '>=6'} hasBin: true + jsonc-parser@2.3.1: + resolution: {integrity: sha512-H8jvkz1O50L3dMZCsLqiuB2tA7muqbSg1AtGEkN0leAqGjsUzDJir3Zwr02BhqdcITPg3ei3mZ+HjMocAknhhg==} + jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} @@ -3355,6 +3441,9 @@ packages: ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + muggle-string@0.4.1: + resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} + mysql2@3.6.5: resolution: {integrity: sha512-pS/KqIb0xlXmtmqEuTvBXTmLoQ5LmAz5NW/r8UyQ1ldvnprNEj3P9GbmuQQ2J0A4LO+ynotGi6TbscPa8OUb+w==} engines: {node: '>= 8.0'} @@ -3584,6 +3673,9 @@ packages: parse5@7.1.2: resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + path-browserify@1.0.1: + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -3917,6 +4009,9 @@ packages: remark-stringify@11.0.0: resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} + request-light@0.7.0: + resolution: {integrity: sha512-lMbBMrDoxgsyO+yB3sDcrDuX85yYt7sS8BfQd11jtbW/z5ZWgLZRcEGLsLoYw7I0WSUGQBs8CC8ScIxkTX1+6Q==} + require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -4547,6 +4642,12 @@ packages: typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} + typesafe-path@0.2.2: + resolution: {integrity: sha512-OJabfkAg1WLZSqJAJ0Z6Sdt3utnbzr/jh+NAHoyWHJe8CMSy79Gm085094M9nvTPy22KzTVn5Zq5mbapCI/hPA==} + + typescript-auto-import-cache@0.3.3: + resolution: {integrity: sha512-ojEC7+Ci1ij9eE6hp8Jl9VUNnsEKzztktP5gtYNRMrTmfXVwA1PITYYAkpxCvvupdSYa/Re51B6KMcv1CTZEUA==} + typescript@5.5.2: resolution: {integrity: sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==} engines: {node: '>=14.17'} @@ -4702,12 +4803,95 @@ packages: vite: optional: true + volar-service-css@0.0.45: + resolution: {integrity: sha512-f+AlUI1+kESbcZSVaNJVAnK0c/9Da5StoxzPqA5/8VqUHJWNdubWNnwG5xpFVTfgh6pgTcey3UBhBfHytFaIOg==} + peerDependencies: + '@volar/language-service': ~2.2.3 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + volar-service-emmet@0.0.45: + resolution: {integrity: sha512-9nLXSDkR1vA/3fQkFEsSXAu3XovQxOpTkVG2jilQgfek/K1ZLkaA/WMhN/TtmPmQg4NxE9Ni6mA5udBQ5gVXIA==} + peerDependencies: + '@volar/language-service': ~2.2.3 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + volar-service-html@0.0.45: + resolution: {integrity: sha512-tLTJqfy1v5C4nmeAsfekFIKPl4r4qDMyL0L9MWywr/EApZzPCsbeUGxCqdzxSMC2q7PMCfX2i167txDo+J0LVA==} + peerDependencies: + '@volar/language-service': ~2.2.3 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + volar-service-prettier@0.0.45: + resolution: {integrity: sha512-+mBS2EsDgp/kunKEBnHvhBwIQm5v2ahw4NKpKdg4sTpXy3UxqHt+Fq/wRYQ7Z8LlNVNRVfp75ThjM+w2zaZBAw==} + peerDependencies: + '@volar/language-service': ~2.2.3 + prettier: ^2.2 || ^3.0 + peerDependenciesMeta: + '@volar/language-service': + optional: true + prettier: + optional: true + + volar-service-typescript-twoslash-queries@0.0.45: + resolution: {integrity: sha512-KrPUUvKggZgV9mrDpstCzmf20irgv0ooMv+FGDzIIQUkya+d2+nSS8Mx2h9FvsYgLccUVw5jU3Rhwhd3pv/7qg==} + peerDependencies: + '@volar/language-service': ~2.2.3 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + volar-service-typescript@0.0.45: + resolution: {integrity: sha512-i/mMIIAMastJ2kgPo3qvX0Rrl7NyxhIYZ0ug/B4ambZcLPI1vzBgS2fmvyWX3jhBYHh8NmbAotFj+0Y9JtN47A==} + peerDependencies: + '@volar/language-service': ~2.2.3 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + vscode-css-languageservice@6.3.0: + resolution: {integrity: sha512-nU92imtkgzpCL0xikrIb8WvedV553F2BENzgz23wFuok/HLN5BeQmroMy26pUwFxV2eV8oNRmYCUv8iO7kSMhw==} + + vscode-html-languageservice@5.3.0: + resolution: {integrity: sha512-C4Z3KsP5Ih+fjHpiBc5jxmvCl+4iEwvXegIrzu2F5pktbWvQaBT3YkVPk8N+QlSSMk8oCG6PKtZ/Sq2YHb5e8g==} + + vscode-jsonrpc@8.2.0: + resolution: {integrity: sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==} + engines: {node: '>=14.0.0'} + + vscode-languageserver-protocol@3.17.5: + resolution: {integrity: sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==} + + vscode-languageserver-textdocument@1.0.11: + resolution: {integrity: sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==} + + vscode-languageserver-types@3.17.5: + resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==} + + vscode-languageserver@9.0.1: + resolution: {integrity: sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==} + hasBin: true + + vscode-nls@5.2.0: + resolution: {integrity: sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==} + vscode-oniguruma@1.7.0: resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==} vscode-textmate@8.0.0: resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} + vscode-uri@2.1.2: + resolution: {integrity: sha512-8TEXQxlldWAuIODdukIb+TR5s+9Ds40eSJrw+1iDDA9IFORPjMELarNQE3myz5XIkWWpdprmJjm1/SxMlWOC8A==} + + vscode-uri@3.0.8: + resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} + watchpack@2.4.1: resolution: {integrity: sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==} engines: {node: '>=10.13.0'} @@ -4861,10 +5045,47 @@ snapshots: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.20 + '@astrojs/check@0.7.0(prettier@3.1.1)(typescript@5.5.2)': + dependencies: + '@astrojs/language-server': 2.10.0(prettier@3.1.1)(typescript@5.5.2) + chokidar: 3.5.3 + fast-glob: 3.3.2 + kleur: 4.1.5 + typescript: 5.5.2 + yargs: 17.7.2 + transitivePeerDependencies: + - prettier + - prettier-plugin-astro + '@astrojs/compiler@2.3.2': {} + '@astrojs/compiler@2.8.1': {} + '@astrojs/internal-helpers@0.2.1': {} + '@astrojs/language-server@2.10.0(prettier@3.1.1)(typescript@5.5.2)': + dependencies: + '@astrojs/compiler': 2.8.1 + '@jridgewell/sourcemap-codec': 1.4.15 + '@volar/kit': 2.2.5(typescript@5.5.2) + '@volar/language-core': 2.2.5 + '@volar/language-server': 2.2.5 + '@volar/language-service': 2.2.5 + '@volar/typescript': 2.2.5 + fast-glob: 3.3.2 + volar-service-css: 0.0.45(@volar/language-service@2.2.5) + volar-service-emmet: 0.0.45(@volar/language-service@2.2.5) + volar-service-html: 0.0.45(@volar/language-service@2.2.5) + volar-service-prettier: 0.0.45(@volar/language-service@2.2.5)(prettier@3.1.1) + volar-service-typescript: 0.0.45(@volar/language-service@2.2.5) + volar-service-typescript-twoslash-queries: 0.0.45(@volar/language-service@2.2.5) + vscode-html-languageservice: 5.3.0 + vscode-uri: 3.0.8 + optionalDependencies: + prettier: 3.1.1 + transitivePeerDependencies: + - typescript + '@astrojs/markdown-remark@4.0.1': dependencies: '@astrojs/prism': 3.0.0 @@ -5378,6 +5599,29 @@ snapshots: '@ctrl/tinycolor@3.6.1': {} + '@emmetio/abbreviation@2.3.3': + dependencies: + '@emmetio/scanner': 1.0.4 + + '@emmetio/css-abbreviation@2.1.8': + dependencies: + '@emmetio/scanner': 1.0.4 + + '@emmetio/css-parser@0.4.0': + dependencies: + '@emmetio/stream-reader': 2.2.0 + '@emmetio/stream-reader-utils': 0.1.0 + + '@emmetio/html-matcher@1.3.0': + dependencies: + '@emmetio/scanner': 1.0.4 + + '@emmetio/scanner@1.0.4': {} + + '@emmetio/stream-reader-utils@0.1.0': {} + + '@emmetio/stream-reader@2.2.0': {} + '@esbuild/aix-ppc64@0.21.5': optional: true @@ -5581,6 +5825,13 @@ snapshots: wrap-ansi: 8.1.0 wrap-ansi-cjs: wrap-ansi@7.0.0 + '@johnsoncodehk/vscode-html-languageservice@5.2.0-34a5462': + dependencies: + '@vscode/l10n': 0.0.18 + vscode-languageserver-textdocument: 1.0.11 + vscode-languageserver-types: 3.17.5 + vscode-uri: 3.0.8 + '@jridgewell/gen-mapping@0.3.3': dependencies: '@jridgewell/set-array': 1.1.2 @@ -5947,6 +6198,66 @@ snapshots: '@ungap/structured-clone@1.2.0': {} + '@volar/kit@2.2.5(typescript@5.5.2)': + dependencies: + '@volar/language-service': 2.2.5 + '@volar/typescript': 2.2.5 + typesafe-path: 0.2.2 + typescript: 5.5.2 + vscode-languageserver-textdocument: 1.0.11 + vscode-uri: 3.0.8 + + '@volar/language-core@2.2.5': + dependencies: + '@volar/source-map': 2.2.5 + + '@volar/language-server@2.2.5': + dependencies: + '@volar/language-core': 2.2.5 + '@volar/language-service': 2.2.5 + '@volar/snapshot-document': 2.2.5 + '@volar/typescript': 2.2.5 + '@vscode/l10n': 0.0.16 + path-browserify: 1.0.1 + request-light: 0.7.0 + vscode-languageserver: 9.0.1 + vscode-languageserver-protocol: 3.17.5 + vscode-languageserver-textdocument: 1.0.11 + vscode-uri: 3.0.8 + + '@volar/language-service@2.2.5': + dependencies: + '@volar/language-core': 2.2.5 + vscode-languageserver-protocol: 3.17.5 + vscode-languageserver-textdocument: 1.0.11 + vscode-uri: 3.0.8 + + '@volar/snapshot-document@2.2.5': + dependencies: + vscode-languageserver-protocol: 3.17.5 + vscode-languageserver-textdocument: 1.0.11 + + '@volar/source-map@2.2.5': + dependencies: + muggle-string: 0.4.1 + + '@volar/typescript@2.2.5': + dependencies: + '@volar/language-core': 2.2.5 + path-browserify: 1.0.1 + + '@vscode/emmet-helper@2.9.3': + dependencies: + emmet: 2.4.7 + jsonc-parser: 2.3.1 + vscode-languageserver-textdocument: 1.0.11 + vscode-languageserver-types: 3.17.5 + vscode-uri: 2.1.2 + + '@vscode/l10n@0.0.16': {} + + '@vscode/l10n@0.0.18': {} + '@webassemblyjs/ast@1.12.1': dependencies: '@webassemblyjs/helper-numbers': 1.11.6 @@ -6729,6 +7040,11 @@ snapshots: elegant-spinner@3.0.0: {} + emmet@2.4.7: + dependencies: + '@emmetio/abbreviation': 2.3.3 + '@emmetio/css-abbreviation': 2.1.8 + emoji-regex@10.3.0: {} emoji-regex@8.0.0: {} @@ -6927,12 +7243,12 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1): + eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1): dependencies: array.prototype.find: 2.2.2 debug: 3.2.7 enhanced-resolve: 0.9.1 - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) find-root: 1.1.0 hasown: 2.0.1 interpret: 1.4.0 @@ -6945,14 +7261,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1))(eslint@8.53.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.5.2) eslint: 8.53.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1) + eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) transitivePeerDependencies: - supports-color @@ -6980,7 +7296,7 @@ snapshots: eslint: 8.53.0 ignore: 5.2.4 - eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0): + eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0): dependencies: array-includes: 3.1.7 array.prototype.flat: 1.3.2 @@ -6989,7 +7305,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.53.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1))(eslint@8.53.0) has: 1.0.4 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -8043,6 +8359,8 @@ snapshots: json5@2.2.3: {} + jsonc-parser@2.3.1: {} + jsonc-parser@3.2.0: {} jsonfile@4.0.0: @@ -8749,6 +9067,8 @@ snapshots: ms@2.1.2: {} + muggle-string@0.4.1: {} + mysql2@3.6.5: dependencies: denque: 2.1.0 @@ -9018,6 +9338,8 @@ snapshots: dependencies: entities: 4.5.0 + path-browserify@1.0.1: {} + path-exists@4.0.0: {} path-exists@5.0.0: {} @@ -9390,6 +9712,8 @@ snapshots: mdast-util-to-markdown: 2.1.0 unified: 11.0.4 + request-light@0.7.0: {} + require-directory@2.1.1: {} require-from-string@2.0.2: {} @@ -10077,6 +10401,12 @@ snapshots: for-each: 0.3.3 is-typed-array: 1.1.12 + typesafe-path@0.2.2: {} + + typescript-auto-import-cache@0.3.3: + dependencies: + semver: 7.6.0 + typescript@5.5.2: {} unbox-primitive@1.0.2: @@ -10258,10 +10588,90 @@ snapshots: optionalDependencies: vite: 5.0.9(@types/node@20.12.14)(terser@5.31.1) + volar-service-css@0.0.45(@volar/language-service@2.2.5): + dependencies: + vscode-css-languageservice: 6.3.0 + vscode-languageserver-textdocument: 1.0.11 + vscode-uri: 3.0.8 + optionalDependencies: + '@volar/language-service': 2.2.5 + + volar-service-emmet@0.0.45(@volar/language-service@2.2.5): + dependencies: + '@emmetio/css-parser': 0.4.0 + '@emmetio/html-matcher': 1.3.0 + '@vscode/emmet-helper': 2.9.3 + optionalDependencies: + '@volar/language-service': 2.2.5 + + volar-service-html@0.0.45(@volar/language-service@2.2.5): + dependencies: + vscode-html-languageservice: '@johnsoncodehk/vscode-html-languageservice@5.2.0-34a5462' + vscode-languageserver-textdocument: 1.0.11 + vscode-uri: 3.0.8 + optionalDependencies: + '@volar/language-service': 2.2.5 + + volar-service-prettier@0.0.45(@volar/language-service@2.2.5)(prettier@3.1.1): + dependencies: + vscode-uri: 3.0.8 + optionalDependencies: + '@volar/language-service': 2.2.5 + prettier: 3.1.1 + + volar-service-typescript-twoslash-queries@0.0.45(@volar/language-service@2.2.5): + optionalDependencies: + '@volar/language-service': 2.2.5 + + volar-service-typescript@0.0.45(@volar/language-service@2.2.5): + dependencies: + path-browserify: 1.0.1 + semver: 7.6.0 + typescript-auto-import-cache: 0.3.3 + vscode-languageserver-textdocument: 1.0.11 + vscode-nls: 5.2.0 + optionalDependencies: + '@volar/language-service': 2.2.5 + + vscode-css-languageservice@6.3.0: + dependencies: + '@vscode/l10n': 0.0.18 + vscode-languageserver-textdocument: 1.0.11 + vscode-languageserver-types: 3.17.5 + vscode-uri: 3.0.8 + + vscode-html-languageservice@5.3.0: + dependencies: + '@vscode/l10n': 0.0.18 + vscode-languageserver-textdocument: 1.0.11 + vscode-languageserver-types: 3.17.5 + vscode-uri: 3.0.8 + + vscode-jsonrpc@8.2.0: {} + + vscode-languageserver-protocol@3.17.5: + dependencies: + vscode-jsonrpc: 8.2.0 + vscode-languageserver-types: 3.17.5 + + vscode-languageserver-textdocument@1.0.11: {} + + vscode-languageserver-types@3.17.5: {} + + vscode-languageserver@9.0.1: + dependencies: + vscode-languageserver-protocol: 3.17.5 + + vscode-nls@5.2.0: {} + vscode-oniguruma@1.7.0: {} vscode-textmate@8.0.0: {} + vscode-uri@2.1.2: {} + + vscode-uri@3.0.8: {} + watchpack@2.4.1: dependencies: glob-to-regexp: 0.4.1 @@ -10387,10 +10797,10 @@ snapshots: eslint-config-xo: 0.43.1(eslint@8.53.0) eslint-config-xo-typescript: 1.0.1(@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2))(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2) eslint-formatter-pretty: 5.0.0 - eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1) + eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) eslint-plugin-ava: 14.0.0(eslint@8.53.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.53.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) eslint-plugin-n: 16.3.0(eslint@8.53.0) eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-prettier: 5.0.1(@types/eslint@8.56.10)(eslint-config-prettier@8.10.0(eslint@8.53.0))(eslint@8.53.0)(prettier@3.1.1) diff --git a/turbo.json b/turbo.json index d23e95e..51a9560 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,6 @@ { "$schema": "https://turborepo.org/schema.json", - "pipeline": { + "tasks": { "build": { "dependsOn": ["^build"], "inputs": ["src/**/*", "!src/**/*.test.ts", "tsconfig.json", "tsconfig.build.json"], From bb9d674cd7a4335db875082f2256de320df95655 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 27 Jun 2024 16:03:07 +0200 Subject: [PATCH 93/98] chore: turn off Turbo's UI as it messes with the terminal and is not as intuitive as it seems --- turbo.json | 1 + 1 file changed, 1 insertion(+) diff --git a/turbo.json b/turbo.json index 51a9560..42f1f9f 100644 --- a/turbo.json +++ b/turbo.json @@ -1,5 +1,6 @@ { "$schema": "https://turborepo.org/schema.json", + "ui": "stream", "tasks": { "build": { "dependsOn": ["^build"], From b3b603b2fc8527f2d79f89f8f53e81d4175b1cea Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 9 Aug 2024 15:49:07 +0200 Subject: [PATCH 94/98] feat: make aggregated GitHub releases instead of one per package And also publish packages with unreleased changes tagged with `next` to NPM --- .github/workflows/release.yaml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0947b01..97a67ee 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,11 +37,36 @@ jobs: run: pnpm install - name: Create Release Pull Request - uses: changesets/action@v1.4.7 + id: changesets + uses: aboviq/changesets-action@main with: publish: pnpm run release commit: 'chore(release): version packages' title: 'chore(release): version packages' + createGithubReleases: aggregate env: GITHUB_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: Release to @next tag on npm + if: github.ref_name == 'main' && steps.changesets.outputs.published != 'true' + run: | + git checkout main + + CHANGESET_FILE=$(git diff-tree --no-commit-id --name-only HEAD -r ".changeset/*-*-*.md") + if [ -z "$CHANGESET_FILE" ]; then + echo "No changesets found, skipping release to @next tag" + exit 0 + fi + + AFFECTED_PACKAGES=$(sed -n '/---/,/---/p' "$CHANGESET_FILE" | sed '/---/d') + if [ -z "$AFFECTED_PACKAGES" ]; then + echo "No packages affected by changesets, skipping release to @next tag" + exit 0 + fi + + pnpm changeset version --snapshot next + pnpm changeset publish --tag next + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN }} From 6eb60177c5df20386ac83403e53c5fecbc9fcf19 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 9 Aug 2024 16:03:34 +0200 Subject: [PATCH 95/98] fix: use another changesets-action version --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 97a67ee..702a702 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,7 +38,7 @@ jobs: - name: Create Release Pull Request id: changesets - uses: aboviq/changesets-action@main + uses: aboviq/changesets-action@v1.5.2 with: publish: pnpm run release commit: 'chore(release): version packages' From 26240f49ff962e820a2857f78b74632c0c126cf7 Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Thu, 24 Apr 2025 15:06:32 +0200 Subject: [PATCH 96/98] fix(mysql): make sure migrations are run in order when run concurrently Now we either lock all or none of the migrations to run, to make sure they are not out of order when multiple instances of Emigrate run concurrently. --- .changeset/bright-poems-approve.md | 5 + .changeset/yellow-walls-tease.md | 5 + .github/workflows/ci.yaml | 25 +- .github/workflows/release.yaml | 2 +- package.json | 3 +- packages/cli/src/commands/remove.test.ts | 15 +- packages/cli/src/commands/up.test.ts | 57 +-- packages/cli/src/test-utils.ts | 22 + packages/mysql/package.json | 8 +- packages/mysql/src/index.test.ts | 92 ++++ packages/mysql/src/index.ts | 116 ++++- packages/mysql/src/tests/database.ts | 45 ++ pnpm-lock.yaml | 625 ++++++++++++++++++++++- 13 files changed, 922 insertions(+), 98 deletions(-) create mode 100644 .changeset/bright-poems-approve.md create mode 100644 .changeset/yellow-walls-tease.md create mode 100644 packages/mysql/src/index.test.ts create mode 100644 packages/mysql/src/tests/database.ts diff --git a/.changeset/bright-poems-approve.md b/.changeset/bright-poems-approve.md new file mode 100644 index 0000000..4045f29 --- /dev/null +++ b/.changeset/bright-poems-approve.md @@ -0,0 +1,5 @@ +--- +'@emigrate/mysql': patch +--- + +Make sure we can initialize multiple running instances of Emigrate using @emigrate/mysql concurrently without issues with creating the history table (for instance in a Kubernetes environment and/or with a Percona cluster). diff --git a/.changeset/yellow-walls-tease.md b/.changeset/yellow-walls-tease.md new file mode 100644 index 0000000..2a0a22f --- /dev/null +++ b/.changeset/yellow-walls-tease.md @@ -0,0 +1,5 @@ +--- +'@emigrate/mysql': patch +--- + +Either lock all or none of the migrations to run to make sure they run in order when multiple instances of Emigrate runs concurrently (for instance in a Kubernetes environment) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 01a8453..b81d6b1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,6 +15,18 @@ jobs: TURBO_TEAM: ${{ secrets.TURBO_TEAM }} DO_NOT_TRACK: 1 + services: + mysql: + image: mysql:8.0 + env: + MYSQL_ROOT_PASSWORD: root + MYSQL_DATABASE: emigrate + MYSQL_USER: emigrate + MYSQL_PASSWORD: emigrate + ports: + - 3306:3306 + options: --health-cmd="mysqladmin ping -h localhost" --health-interval=10s --health-timeout=5s --health-retries=5 + steps: - name: Check out code uses: actions/checkout@v4 @@ -26,11 +38,22 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: 20.9.0 + node-version: 22.15.0 cache: 'pnpm' - name: Install dependencies run: pnpm install + - name: Wait for MySQL to be ready + run: | + for i in {1..30}; do + nc -z localhost 3306 && echo "MySQL is up!" && break + echo "Waiting for MySQL..." + sleep 2 + done + - name: Checks + env: + MYSQL_HOST: localhost + MYSQL_PORT: 3306 run: pnpm checks diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 702a702..8b42c24 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,7 +30,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: 20.9.0 + node-version: 22.15.0 cache: 'pnpm' - name: Install Dependencies diff --git a/package.json b/package.json index 48cdaac..a2207a0 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "bugs": "https://github.com/aboviq/emigrate/issues", "license": "MIT", "volta": { - "node": "20.9.0", + "node": "22.15.0", "pnpm": "9.4.0" }, "packageManager": "pnpm@9.4.0", @@ -80,6 +80,7 @@ "lint-staged": "15.2.0", "npm-run-all": "4.1.5", "prettier": "3.1.1", + "testcontainers": "10.24.2", "tsx": "4.15.7", "turbo": "2.0.5", "typescript": "5.5.2", diff --git a/packages/cli/src/commands/remove.test.ts b/packages/cli/src/commands/remove.test.ts index a283551..f37769b 100644 --- a/packages/cli/src/commands/remove.test.ts +++ b/packages/cli/src/commands/remove.test.ts @@ -11,6 +11,7 @@ import { StorageInitError, } from '../errors.js'; import { + assertErrorEqualEnough, getErrorCause, getMockedReporter, getMockedStorage, @@ -199,6 +200,11 @@ function assertPreconditionsFailed(reporter: Mocked>, assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0, 'Total pending and skipped'); assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; + // hackety hack: + if (finishedError) { + finishedError.stack = error?.stack; + } + assert.deepStrictEqual(error, finishedError, 'Finished error'); const cause = getErrorCause(error); const expectedCause = finishedError?.cause; @@ -288,14 +294,7 @@ function assertPreconditionsFulfilled( assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0, 'Total pending and skipped'); assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.deepStrictEqual(error, finishedError, 'Finished error'); - const cause = getErrorCause(error); - const expectedCause = finishedError?.cause; - assert.deepStrictEqual( - cause, - expectedCause ? deserializeError(expectedCause) : expectedCause, - 'Finished error cause', - ); + assertErrorEqualEnough(error, finishedError, 'Finished error'); assert.strictEqual(entries?.length, expected.length, 'Finished entries length'); assert.deepStrictEqual( entries.map((entry) => `${entry.name} (${entry.status})`), diff --git a/packages/cli/src/commands/up.test.ts b/packages/cli/src/commands/up.test.ts index 869af10..bc90241 100644 --- a/packages/cli/src/commands/up.test.ts +++ b/packages/cli/src/commands/up.test.ts @@ -1,13 +1,6 @@ import { describe, it, mock } from 'node:test'; import assert from 'node:assert'; -import { - type EmigrateReporter, - type Storage, - type Plugin, - type SerializedError, - type MigrationMetadataFinished, -} from '@emigrate/types'; -import { deserializeError } from 'serialize-error'; +import { type EmigrateReporter, type Storage, type Plugin, type MigrationMetadataFinished } from '@emigrate/types'; import { version } from '../get-package-info.js'; import { BadOptionError, @@ -16,7 +9,6 @@ import { MigrationHistoryError, MigrationRunError, StorageInitError, - toSerializedError, } from '../errors.js'; import { type Mocked, @@ -24,7 +16,7 @@ import { toMigrations, getMockedReporter, getMockedStorage, - getErrorCause, + assertErrorEqualEnough, } from '../test-utils.js'; import upCommand from './up.js'; @@ -930,15 +922,13 @@ function assertPreconditionsFulfilled( for (const [index, entry] of failedEntries.entries()) { if (entry.status === 'failed') { const error = reporter.onMigrationError.mock.calls[index]?.arguments[1]; - assert.deepStrictEqual(error, entry.error, 'Error'); - const cause = entry.error?.cause; - assert.deepStrictEqual(error?.cause, cause ? deserializeError(cause) : cause, 'Error cause'); + assertErrorEqualEnough(error, entry.error, 'Error'); if (entry.started) { const [finishedMigration, error] = storage.onError.mock.calls[index]?.arguments ?? []; assert.strictEqual(finishedMigration?.name, entry.name); assert.strictEqual(finishedMigration?.status, entry.status); - assertErrorEqualEnough(error, entry.error); + assertErrorEqualEnough(error, entry.error, `Entry error (${entry.name})`); } } } @@ -946,15 +936,7 @@ function assertPreconditionsFulfilled( assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, pending + skipped, 'Total pending and skipped'); assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assertErrorEqualEnough(error, finishedError); - - const cause = getErrorCause(error); - const expectedCause = finishedError?.cause; - assert.deepStrictEqual( - cause, - expectedCause ? deserializeError(expectedCause) : expectedCause, - 'Finished error cause', - ); + assertErrorEqualEnough(error, finishedError, 'Finished error'); assert.strictEqual(entries?.length, expected.length, 'Finished entries length'); assert.deepStrictEqual( entries.map((entry) => `${entry.name} (${entry.status})`), @@ -995,33 +977,6 @@ function assertPreconditionsFailed( assert.strictEqual(reporter.onMigrationSkip.mock.calls.length, 0, 'Total pending and skipped'); assert.strictEqual(reporter.onFinished.mock.calls.length, 1, 'Finished called once'); const [entries, error] = reporter.onFinished.mock.calls[0]?.arguments ?? []; - assert.deepStrictEqual(error, finishedError, 'Finished error'); - const cause = getErrorCause(error); - const expectedCause = finishedError?.cause; - assert.deepStrictEqual( - cause, - expectedCause ? deserializeError(expectedCause) : expectedCause, - 'Finished error cause', - ); + assertErrorEqualEnough(error, finishedError, 'Finished error'); assert.strictEqual(entries?.length, 0, 'Finished entries length'); } - -function assertErrorEqualEnough(actual?: Error | SerializedError, expected?: Error) { - if (expected === undefined) { - assert.strictEqual(actual, undefined); - return; - } - - const { - cause: actualCause, - stack: actualStack, - ...actualError - } = actual instanceof Error ? toSerializedError(actual) : actual ?? {}; - const { cause: expectedCause, stack: expectedStack, ...expectedError } = toSerializedError(expected); - // @ts-expect-error Ignore - const { stack: actualCauseStack, ...actualCauseRest } = actualCause ?? {}; - // @ts-expect-error Ignore - const { stack: expectedCauseStack, ...expectedCauseRest } = expectedCause ?? {}; - assert.deepStrictEqual(actualError, expectedError); - assert.deepStrictEqual(actualCauseRest, expectedCauseRest); -} diff --git a/packages/cli/src/test-utils.ts b/packages/cli/src/test-utils.ts index 38e2afc..0ede3fe 100644 --- a/packages/cli/src/test-utils.ts +++ b/packages/cli/src/test-utils.ts @@ -1,5 +1,6 @@ import { mock, type Mock } from 'node:test'; import path from 'node:path'; +import assert from 'node:assert'; import { type SerializedError, type EmigrateReporter, @@ -9,6 +10,7 @@ import { type NonFailedMigrationHistoryEntry, type Storage, } from '@emigrate/types'; +import { toSerializedError } from './errors.js'; export type Mocked = { // @ts-expect-error - This is a mock @@ -110,3 +112,23 @@ export function toEntries( ): MigrationHistoryEntry[] { return names.map((name) => (typeof name === 'string' ? toEntry(name, status) : name)); } + +export function assertErrorEqualEnough(actual?: Error | SerializedError, expected?: Error, message?: string): void { + if (expected === undefined) { + assert.strictEqual(actual, undefined); + return; + } + + const { + cause: actualCause, + stack: actualStack, + ...actualError + } = actual instanceof Error ? toSerializedError(actual) : actual ?? {}; + const { cause: expectedCause, stack: expectedStack, ...expectedError } = toSerializedError(expected); + // @ts-expect-error Ignore + const { stack: actualCauseStack, ...actualCauseRest } = actualCause ?? {}; + // @ts-expect-error Ignore + const { stack: expectedCauseStack, ...expectedCauseRest } = expectedCause ?? {}; + assert.deepStrictEqual(actualError, expectedError, message); + assert.deepStrictEqual(actualCauseRest, expectedCauseRest, message ? `${message} (cause)` : undefined); +} diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 66fa554..4e75919 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -17,12 +17,16 @@ }, "files": [ "dist", - "!dist/*.tsbuildinfo" + "!dist/*.tsbuildinfo", + "!dist/**/*.test.js", + "!dist/tests/*" ], "scripts": { "build": "tsc --pretty", "build:watch": "tsc --pretty --watch", - "lint": "xo --cwd=../.. $(pwd)" + "lint": "xo --cwd=../.. $(pwd)", + "test-disabled": "glob -c \"node --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\"", + "test:watch": "glob -c \"node --watch --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\"" }, "keywords": [ "emigrate", diff --git a/packages/mysql/src/index.test.ts b/packages/mysql/src/index.test.ts new file mode 100644 index 0000000..240e3ff --- /dev/null +++ b/packages/mysql/src/index.test.ts @@ -0,0 +1,92 @@ +import assert from 'node:assert'; +import path from 'node:path'; +import { before, after, describe, it } from 'node:test'; +import type { MigrationMetadata } from '@emigrate/types'; +import { startDatabase, stopDatabase } from './tests/database.js'; +import { createMysqlStorage } from './index.js'; + +let db: { port: number; host: string }; + +describe('emigrate-mysql', async () => { + before( + async () => { + db = await startDatabase(); + }, + { timeout: 60_000 }, + ); + + after( + async () => { + await stopDatabase(); + }, + { timeout: 10_000 }, + ); + + describe('migration locks', async () => { + it('either locks none or all of the given migrations', async () => { + const { initializeStorage } = createMysqlStorage({ + table: 'migrations', + connection: { + host: db.host, + user: 'emigrate', + password: 'emigrate', + database: 'emigrate', + port: db.port, + }, + }); + + const [storage1, storage2] = await Promise.all([initializeStorage(), initializeStorage()]); + + const migrations = toMigrations('/emigrate', 'migrations', [ + '2023-10-01-01-test.js', + '2023-10-01-02-test.js', + '2023-10-01-03-test.js', + '2023-10-01-04-test.js', + '2023-10-01-05-test.js', + '2023-10-01-06-test.js', + '2023-10-01-07-test.js', + '2023-10-01-08-test.js', + '2023-10-01-09-test.js', + '2023-10-01-10-test.js', + '2023-10-01-11-test.js', + '2023-10-01-12-test.js', + '2023-10-01-13-test.js', + '2023-10-01-14-test.js', + '2023-10-01-15-test.js', + '2023-10-01-16-test.js', + '2023-10-01-17-test.js', + '2023-10-01-18-test.js', + '2023-10-01-19-test.js', + '2023-10-01-20-test.js', + ]); + + const [locked1, locked2] = await Promise.all([storage1.lock(migrations), storage2.lock(migrations)]); + + assert.strictEqual( + locked1.length === 0 || locked2.length === 0, + true, + 'One of the processes should have no locks', + ); + assert.strictEqual( + locked1.length === 20 || locked2.length === 20, + true, + 'One of the processes should have all locks', + ); + }); + }); +}); + +function toMigration(cwd: string, directory: string, name: string): MigrationMetadata { + return { + name, + filePath: `${cwd}/${directory}/${name}`, + relativeFilePath: `${directory}/${name}`, + extension: path.extname(name), + directory, + cwd, + }; +} + +function toMigrations(cwd: string, directory: string, names: string[]): MigrationMetadata[] { + return names.map((name) => toMigration(cwd, directory, name)); +} diff --git a/packages/mysql/src/index.ts b/packages/mysql/src/index.ts index 2d4b254..8dc1b87 100644 --- a/packages/mysql/src/index.ts +++ b/packages/mysql/src/index.ts @@ -1,5 +1,6 @@ import process from 'node:process'; import fs from 'node:fs/promises'; +import { setTimeout } from 'node:timers/promises'; import { createConnection, createPool, @@ -54,6 +55,7 @@ const getConnection = async (options: ConnectionOptions | string) => { // best to leave this at 0 (disabled) uri.searchParams.set('connectTimeout', '0'); uri.searchParams.set('multipleStatements', 'true'); + uri.searchParams.set('flags', '-FOUND_ROWS'); connection = await createConnection(uri.toString()); } else { @@ -64,6 +66,7 @@ const getConnection = async (options: ConnectionOptions | string) => { // best to leave this at 0 (disabled) connectTimeout: 0, multipleStatements: true, + flags: ['-FOUND_ROWS'], }); } @@ -84,6 +87,7 @@ const getPool = (connection: PoolOptions | string) => { // it throws an error you can't catch and crashes node // best to leave this at 0 (disabled) uri.searchParams.set('connectTimeout', '0'); + uri.searchParams.set('flags', '-FOUND_ROWS'); return createPool(uri.toString()); } @@ -94,6 +98,7 @@ const getPool = (connection: PoolOptions | string) => { // it throws an error you can't catch and crashes node // best to leave this at 0 (disabled) connectTimeout: 0, + flags: ['-FOUND_ROWS'], }); }; @@ -104,8 +109,8 @@ type HistoryEntry = { error?: SerializedError; }; -const lockMigration = async (pool: Pool, table: string, migration: MigrationMetadata) => { - const [result] = await pool.execute({ +const lockMigration = async (connection: Connection, table: string, migration: MigrationMetadata) => { + const [result] = await connection.execute({ sql: ` INSERT INTO ${escapeId(table)} (name, status, date) VALUES (?, ?, NOW()) @@ -228,8 +233,10 @@ const initializeDatabase = async (config: ConnectionOptions | string) => { } }; -const initializeTable = async (pool: Pool, table: string) => { - const [result] = await pool.execute({ +const lockWaitTimeout = 10; // seconds + +const isHistoryTableExisting = async (connection: Connection, table: string) => { + const [result] = await connection.execute({ sql: ` SELECT 1 as table_exists @@ -242,24 +249,70 @@ const initializeTable = async (pool: Pool, table: string) => { values: [table], }); - if (result[0]?.['table_exists']) { + return result[0]?.['table_exists'] === 1; +}; + +const initializeTable = async (config: ConnectionOptions | string, table: string) => { + const connection = await getConnection(config); + + if (await isHistoryTableExisting(connection, table)) { + await connection.end(); return; } - // This table definition is compatible with the one used by the immigration-mysql package - await pool.execute(` - CREATE TABLE ${escapeId(table)} ( - name varchar(255) not null primary key, - status varchar(32), - date datetime not null - ) Engine=InnoDB; - `); + const lockName = `emigrate_init_table_lock_${table}`; + + const [lockResult] = await connection.query(`SELECT GET_LOCK(?, ?) AS got_lock`, [ + lockName, + lockWaitTimeout, + ]); + const didGetLock = lockResult[0]?.['got_lock'] === 1; + + if (didGetLock) { + try { + // This table definition is compatible with the one used by the immigration-mysql package + await connection.execute(` + CREATE TABLE IF NOT EXISTS ${escapeId(table)} ( + name varchar(255) not null primary key, + status varchar(32), + date datetime not null + ) Engine=InnoDB; + `); + } finally { + await connection.query(`SELECT RELEASE_LOCK(?)`, [lockName]); + await connection.end(); + } + + return; + } + + // Didn't get the lock, wait to see if the table was created by another process + const maxWait = lockWaitTimeout * 1000; // milliseconds + const checkInterval = 250; // milliseconds + const start = Date.now(); + + try { + while (Date.now() - start < maxWait) { + // eslint-disable-next-line no-await-in-loop + if (await isHistoryTableExisting(connection, table)) { + return; + } + + // eslint-disable-next-line no-await-in-loop + await setTimeout(checkInterval); + } + + throw new Error(`Timeout waiting for table ${table} to be created by other process`); + } finally { + await connection.end(); + } }; export const createMysqlStorage = ({ table = defaultTable, connection }: MysqlStorageOptions): EmigrateStorage => { return { async initializeStorage() { await initializeDatabase(connection); + await initializeTable(connection, table); const pool = getPool(connection); @@ -271,24 +324,35 @@ export const createMysqlStorage = ({ table = defaultTable, connection }: MysqlSt }); } - try { - await initializeTable(pool, table); - } catch (error) { - await pool.end(); - throw error; - } - const storage: Storage = { async lock(migrations) { - const lockedMigrations: MigrationMetadata[] = []; + const connection = await pool.getConnection(); - for await (const migration of migrations) { - if (await lockMigration(pool, table, migration)) { - lockedMigrations.push(migration); + try { + await connection.beginTransaction(); + const lockedMigrations: MigrationMetadata[] = []; + + for await (const migration of migrations) { + if (await lockMigration(connection, table, migration)) { + lockedMigrations.push(migration); + } } - } - return lockedMigrations; + if (lockedMigrations.length === migrations.length) { + await connection.commit(); + + return lockedMigrations; + } + + await connection.rollback(); + + return []; + } catch (error) { + await connection.rollback(); + throw error; + } finally { + connection.release(); + } }, async unlock(migrations) { for await (const migration of migrations) { diff --git a/packages/mysql/src/tests/database.ts b/packages/mysql/src/tests/database.ts new file mode 100644 index 0000000..2270969 --- /dev/null +++ b/packages/mysql/src/tests/database.ts @@ -0,0 +1,45 @@ +/* eslint @typescript-eslint/naming-convention:0, import/no-extraneous-dependencies: 0 */ +import process from 'node:process'; +import { GenericContainer, type StartedTestContainer } from 'testcontainers'; + +let container: StartedTestContainer | undefined; + +export const startDatabase = async (): Promise<{ port: number; host: string }> => { + if (process.env['CI']) { + return { + port: process.env['MYSQL_PORT'] ? Number.parseInt(process.env['MYSQL_PORT'], 10) : 3306, + // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing + host: process.env['MYSQL_HOST'] || 'localhost', + }; + } + + if (!container) { + console.log('Starting MySQL container...'); + const containerSetup = new GenericContainer('mysql:8.2') + .withEnvironment({ + MYSQL_ROOT_PASSWORD: 'admin', + MYSQL_USER: 'emigrate', + MYSQL_PASSWORD: 'emigrate', + MYSQL_DATABASE: 'emigrate', + }) + .withTmpFs({ '/var/lib/mysql': 'rw' }) + .withCommand(['--sql-mode=NO_ENGINE_SUBSTITUTION', '--default-authentication-plugin=mysql_native_password']) + .withExposedPorts(3306) + .withReuse(); + + container = await containerSetup.start(); + + console.log('MySQL container started'); + } + + return { port: container.getMappedPort(3306), host: container.getHost() }; +}; + +export const stopDatabase = async (): Promise => { + if (container) { + console.log('Stopping MySQL container...'); + await container.stop(); + console.log('MySQL container stopped'); + container = undefined; + } +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a1844e2..d818d13 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,6 +35,9 @@ importers: prettier: specifier: 3.1.1 version: 3.1.1 + testcontainers: + specifier: 10.24.2 + version: 10.24.2 tsx: specifier: 4.15.7 version: 4.15.7 @@ -409,6 +412,9 @@ packages: resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} engines: {node: '>=6.9.0'} + '@balena/dockerignore@1.0.2': + resolution: {integrity: sha512-wMue2Sy4GAVTk6Ic4tJVcnfdau+gx2EnG7S+uAEe+TWJFqE4YoWN4/H8MSLj4eYJKxGg26lZwboEniNiNwZQ6Q==} + '@changesets/apply-release-plan@7.0.0': resolution: {integrity: sha512-vfi69JR416qC9hWmFGSxj7N6wA5J222XNBmezSVATPWDVPIF7gkd4d8CpbEbXmRWbVrkoli3oerGS6dcL/BGsQ==} @@ -855,6 +861,19 @@ packages: '@expressive-code/plugin-text-markers@0.29.4': resolution: {integrity: sha512-U8rouNRrLzAo11Ihoi4iqEH7FD+VEUb6Pe7xJxlFJ7HRhgaFIcuHyYyn6jA1WmGP5k9BFLhYBk53+oKvlmEkKw==} + '@fastify/busboy@2.1.1': + resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} + engines: {node: '>=14'} + + '@grpc/grpc-js@1.13.3': + resolution: {integrity: sha512-FTXHdOoPbZrBjlVLHuKbDZnsTxXv2BlHF57xw6LuThXacXvtkahEPED0CKMk6obZDf65Hv4k3z62eyPNpvinIg==} + engines: {node: '>=12.10.0'} + + '@grpc/proto-loader@0.7.15': + resolution: {integrity: sha512-tMXdRCfYVixjuFK+Hk0Q1s38gV9zDiDJfWL3h1rv4Qc39oILCu1TRTDt7+fGUI8K4G1Fj125Hx/ru3azECWTyQ==} + engines: {node: '>=6'} + hasBin: true + '@humanwhocodes/config-array@0.11.13': resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} engines: {node: '>=10.10.0'} @@ -911,6 +930,9 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@js-sdsl/ordered-map@4.4.2': + resolution: {integrity: sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==} + '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} @@ -968,6 +990,36 @@ packages: resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@protobufjs/aspromise@1.1.2': + resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} + + '@protobufjs/base64@1.1.2': + resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==} + + '@protobufjs/codegen@2.0.4': + resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==} + + '@protobufjs/eventemitter@1.1.0': + resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==} + + '@protobufjs/fetch@1.1.0': + resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==} + + '@protobufjs/float@1.0.2': + resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==} + + '@protobufjs/inquire@1.1.0': + resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==} + + '@protobufjs/path@1.1.2': + resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==} + + '@protobufjs/pool@1.1.0': + resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==} + + '@protobufjs/utf8@1.1.0': + resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} + '@rollup/rollup-android-arm-eabi@4.9.0': resolution: {integrity: sha512-+1ge/xmaJpm1KVBuIH38Z94zj9fBD+hp+/5WLaHgyY8XLq1ibxk/zj6dTXaqM2cAbYKq8jYlhHd6k05If1W5xA==} cpu: [arm] @@ -1057,6 +1109,12 @@ packages: '@types/debug@4.1.12': resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} + '@types/docker-modem@3.0.6': + resolution: {integrity: sha512-yKpAGEuKRSS8wwx0joknWxsmLha78wNMe9R2S3UNsVOkZded8UqOrV8KoeDXoXsjndxwyF3eIhyClGbO1SEhEg==} + + '@types/dockerode@3.3.38': + resolution: {integrity: sha512-nnrcfUe2iR+RyOuz0B4bZgQwD9djQa9ADEjp7OAgBs10pYT0KSCtplJjcmBDJz0qaReX5T7GbE5i4VplvzUHvA==} + '@types/eslint-scope@3.7.7': resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} @@ -1105,6 +1163,9 @@ packages: '@types/node@17.0.45': resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} + '@types/node@18.19.86': + resolution: {integrity: sha512-fifKayi175wLyKyc5qUfyENhQ1dCNI1UNjp653d8kuYcPQN5JhX3dGuP/XmvPTg/xRBn1VTLpbmi+H/Mr7tLfQ==} + '@types/node@20.10.4': resolution: {integrity: sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==} @@ -1126,6 +1187,15 @@ packages: '@types/semver@7.5.5': resolution: {integrity: sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg==} + '@types/ssh2-streams@0.1.12': + resolution: {integrity: sha512-Sy8tpEmCce4Tq0oSOYdfqaBpA3hDM8SoxoFh5vzFsu2oL+znzGz8oVWW7xb4K920yYMUY+PIG31qZnFMfPWNCg==} + + '@types/ssh2@0.5.52': + resolution: {integrity: sha512-lbLLlXxdCZOSJMCInKH2+9V/77ET2J6NPQHpFI0kda61Dd1KglJs+fPQBchizmzYSOJBgdTajhPqBO1xxLywvg==} + + '@types/ssh2@1.15.5': + resolution: {integrity: sha512-N1ASjp/nXH3ovBHddRJpli4ozpk6UdDYIX4RJWFa9L1YKnzdhTlVmiGHm4DZnj/jLbqZpes4aeR30EFGQtvhQQ==} + '@types/unist@2.0.10': resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} @@ -1289,6 +1359,7 @@ packages: acorn-import-assertions@1.9.0: resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} + deprecated: package has been renamed to acorn-import-attributes peerDependencies: acorn: ^8 @@ -1367,6 +1438,14 @@ packages: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} + archiver-utils@5.0.2: + resolution: {integrity: sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA==} + engines: {node: '>= 14'} + + archiver@7.0.1: + resolution: {integrity: sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==} + engines: {node: '>= 14'} + arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} @@ -1416,6 +1495,9 @@ packages: resolution: {integrity: sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==} engines: {node: '>=12'} + asn1@0.2.6: + resolution: {integrity: sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==} + astring@1.8.6: resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==} hasBin: true @@ -1430,6 +1512,12 @@ packages: engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true + async-lock@1.4.1: + resolution: {integrity: sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==} + + async@3.2.6: + resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} + atomic-sleep@1.0.0: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} @@ -1454,6 +1542,36 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + bare-events@2.5.4: + resolution: {integrity: sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==} + + bare-fs@4.1.2: + resolution: {integrity: sha512-8wSeOia5B7LwD4+h465y73KOdj5QHsbbuoUfPBi+pXgFJIPuG7SsiOdJuijWMyfid49eD+WivpfY7KT8gbAzBA==} + engines: {bare: '>=1.16.0'} + peerDependencies: + bare-buffer: '*' + peerDependenciesMeta: + bare-buffer: + optional: true + + bare-os@3.6.1: + resolution: {integrity: sha512-uaIjxokhFidJP+bmmvKSgiMzj2sV5GPHaZVAIktcxcpCyBFFWO+YlikVAdhmUo2vYFvFhOXIAlldqV29L8126g==} + engines: {bare: '>=1.14.0'} + + bare-path@3.0.0: + resolution: {integrity: sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==} + + bare-stream@2.6.5: + resolution: {integrity: sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==} + peerDependencies: + bare-buffer: '*' + bare-events: '*' + peerDependenciesMeta: + bare-buffer: + optional: true + bare-events: + optional: true + base-64@1.0.0: resolution: {integrity: sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==} @@ -1466,6 +1584,9 @@ packages: bcp-47@2.1.0: resolution: {integrity: sha512-9IIS3UPrvIa1Ej+lVDdDwO7zLehjqsaByECw0bu2RRGP73jALm6FYbzI5gWbgHLvNdkvfXB5YrSbocZdOS0c0w==} + bcrypt-pbkdf@1.0.2: + resolution: {integrity: sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==} + better-path-resolve@1.0.0: resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} engines: {node: '>=4'} @@ -1518,6 +1639,10 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + buffer-crc32@1.0.0: + resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} + engines: {node: '>=8.0.0'} + buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} @@ -1527,6 +1652,10 @@ packages: buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} + buildcheck@0.0.6: + resolution: {integrity: sha512-8f9ZJCUXyT1M35Jx7MkBgmBMo3oHTTBIPLiY9xyL0pl3T5RwcPEY8cUHr5LBNfu/fk6c2T4DJZuVM/8ZZT2D2A==} + engines: {node: '>=10.0.0'} + builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} @@ -1544,6 +1673,10 @@ packages: resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} engines: {node: '>=12'} + byline@5.0.0: + resolution: {integrity: sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q==} + engines: {node: '>=0.10.0'} + call-bind@1.0.5: resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} @@ -1706,6 +1839,10 @@ packages: compare-func@2.0.0: resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} + compress-commons@6.0.2: + resolution: {integrity: sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg==} + engines: {node: '>= 14'} + concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} @@ -1732,6 +1869,9 @@ packages: resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} engines: {node: '>= 0.6'} + core-util-is@1.0.3: + resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + cosmiconfig-typescript-loader@5.0.0: resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} engines: {node: '>=v16'} @@ -1758,6 +1898,19 @@ packages: typescript: optional: true + cpu-features@0.0.10: + resolution: {integrity: sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA==} + engines: {node: '>=10.0.0'} + + crc-32@1.2.2: + resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} + engines: {node: '>=0.8'} + hasBin: true + + crc32-stream@6.0.0: + resolution: {integrity: sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==} + engines: {node: '>= 14'} + cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} @@ -1819,6 +1972,15 @@ packages: supports-color: optional: true + debug@4.4.0: + resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + decamelize-keys@1.1.1: resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} engines: {node: '>=0.10.0'} @@ -1912,6 +2074,18 @@ packages: dlv@1.1.3: resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} + docker-compose@0.24.8: + resolution: {integrity: sha512-plizRs/Vf15H+GCVxq2EUvyPK7ei9b/cVesHvjnX4xaXjM9spHe2Ytq0BitndFgvTJ3E3NljPNUEl7BAN43iZw==} + engines: {node: '>= 6.0.0'} + + docker-modem@5.0.6: + resolution: {integrity: sha512-ens7BiayssQz/uAxGzH8zGXCtiV24rRWXdjNha5V4zSOcxmAZsfGVm/PPFbwQdqEkDnhG+SyR9E3zSHUbOKXBQ==} + engines: {node: '>= 8.0'} + + dockerode@4.0.6: + resolution: {integrity: sha512-FbVf3Z8fY/kALB9s+P9epCpWhfi/r0N2DgYYcYpsAUlaTxPjdsitsFobnltb+lyCgAIvf9C+4PSWlTnHlJMf1w==} + engines: {node: '>= 8.0'} + doctrine@2.1.0: resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} engines: {node: '>=0.10.0'} @@ -2407,6 +2581,10 @@ packages: get-intrinsic@1.2.2: resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} + get-port@7.1.0: + resolution: {integrity: sha512-QB9NKEeDg3xxVwCCwJQ9+xycaz6pBB6iQ76wiWMl1927n0Kir6alPiP+yuiICLLU4jpMe08dXfpebuQppFA2zw==} + engines: {node: '>=16'} + get-set-props@0.1.0: resolution: {integrity: sha512-7oKuKzAGKj0ag+eWZwcGw2fjiZ78tXnXQoBgY0aU7ZOxTu4bB7hSuQSDgtKy978EDH062P5FmD2EWiDpQS9K9Q==} engines: {node: '>=0.10.0'} @@ -2933,6 +3111,9 @@ packages: resolution: {integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==} engines: {node: '>=16'} + isarray@1.0.0: + resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} + isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} @@ -3035,6 +3216,10 @@ packages: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} + lazystream@1.0.1: + resolution: {integrity: sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==} + engines: {node: '>= 0.6.3'} + levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} @@ -3413,6 +3598,10 @@ packages: minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + minimatch@5.1.6: + resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} + engines: {node: '>=10'} + minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} @@ -3435,12 +3624,20 @@ packages: mkdirp-classic@0.5.3: resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} + mkdirp@1.0.4: + resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} + engines: {node: '>=10'} + hasBin: true + ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + muggle-string@0.4.1: resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} @@ -3455,6 +3652,9 @@ packages: resolution: {integrity: sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==} engines: {node: '>=12.0.0'} + nan@2.22.2: + resolution: {integrity: sha512-DANghxFkS1plDdRsX0X9pm0Z6SJNN6gBdtXfanwoZ8hooC5gosGFSBGRYHUVPz1asKA/kMRqDRdHrluZ61SpBQ==} + nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -3870,6 +4070,9 @@ packages: probe-image-size@7.2.3: resolution: {integrity: sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w==} + process-nextick-args@2.0.1: + resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} + process-warning@2.3.2: resolution: {integrity: sha512-n9wh8tvBe5sFmsqlg+XQhaQLumwpqoAUruLwjCopgTmUBjJ/fjtBsJzKleCaIGBOMXYEhp1YfKl4d7rJ5ZKJGA==} @@ -3881,6 +4084,13 @@ packages: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} + proper-lockfile@4.1.2: + resolution: {integrity: sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==} + + properties-reader@2.3.0: + resolution: {integrity: sha512-z597WicA7nDZxK12kZqHr2TcvwNU1GCfA5UwfDY/HDp3hXPoPlb5rlEx9bwGTiJnc0OqbBTkU975jDToth8Gxw==} + engines: {node: '>=14'} + property-information@6.4.0: resolution: {integrity: sha512-9t5qARVofg2xQqKtytzt+lZ4d1Qvj8t5B8fEwXK6qOfgRLgH/b13QlgEyDh033NOS31nXeFbYv7CLUDG1CeifQ==} @@ -3888,6 +4098,10 @@ packages: resolution: {integrity: sha512-2yma2tog9VaRZY2mn3Wq51uiSW4NcPYT1cQdBagwyrznrilKSZwIZ0UG3ZPL/mx+axEns0hE35T5ufOYZXEnBQ==} engines: {node: '>=4'} + protobufjs@7.5.0: + resolution: {integrity: sha512-Z2E/kOY1QjoMlCytmexzYfDm/w5fKAiRwpSzGtdnXW1zC88Z2yXazHHrOtwCzn+7wSxyE8PYM4rvVcMphF9sOA==} + engines: {node: '>=12.0.0'} + pseudomap@1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} @@ -3937,6 +4151,9 @@ packages: resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} engines: {node: '>=6'} + readable-stream@2.3.8: + resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} + readable-stream@3.6.2: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} @@ -3945,6 +4162,9 @@ packages: resolution: {integrity: sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + readdir-glob@1.1.3: + resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==} + readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} @@ -4062,6 +4282,10 @@ packages: retext@8.1.0: resolution: {integrity: sha512-N9/Kq7YTn6ZpzfiGW45WfEGJqFf1IM1q8OsRa1CGzIebCJBNCANDRmOrholiDRGKo/We7ofKR4SEvcGAWEMD3Q==} + retry@0.12.0: + resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} + engines: {node: '>= 4'} + reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} @@ -4090,6 +4314,9 @@ packages: resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} engines: {node: '>=0.4'} + safe-buffer@5.1.2: + resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} @@ -4273,6 +4500,9 @@ packages: spdx-license-ids@3.0.16: resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} + split-ca@1.0.1: + resolution: {integrity: sha512-Q5thBSxp5t8WPTTJQS59LrGqOZqOsrhDGDVm8azCqIBjSBd7nd9o2PM+mDulQQkh8h//4U6hFZnc/mul8t5pWQ==} + split2@3.2.2: resolution: {integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==} @@ -4287,6 +4517,13 @@ packages: resolution: {integrity: sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==} engines: {node: '>= 0.6'} + ssh-remote-port-forward@1.0.4: + resolution: {integrity: sha512-x0LV1eVDwjf1gmG7TTnfqIzf+3VPRz7vrNIjX6oYLbeCrf/PeVY6hkT68Mg+q02qXxQhrLjB0jfgvhevoCRmLQ==} + + ssh2@1.16.0: + resolution: {integrity: sha512-r1X4KsBGedJqo7h8F5c4Ybpcr5RjyP+aWIG007uBPRjmdQWfEiVLzSK71Zji1B9sKxwaCvD8y8cwSkYrlLiRRg==} + engines: {node: '>=10.16.0'} + stdin-discarder@0.1.0: resolution: {integrity: sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -4300,6 +4537,9 @@ packages: streamx@2.15.6: resolution: {integrity: sha512-q+vQL4AAz+FdfT137VF69Cc/APqUbxy+MDOImRrMvchJpigHj9GksgDU2LYbO9rx7RX6osWgxJB2WxhYv4SZAw==} + streamx@2.22.0: + resolution: {integrity: sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==} + string-argv@0.3.2: resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} engines: {node: '>=0.6.19'} @@ -4338,6 +4578,9 @@ packages: string.prototype.trimstart@1.0.7: resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} + string_decoder@1.1.1: + resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} + string_decoder@1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} @@ -4431,9 +4674,15 @@ packages: tar-fs@2.1.1: resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==} + tar-fs@2.1.2: + resolution: {integrity: sha512-EsaAXwxmx8UB7FRKqeozqEPop69DXcmYwTQwXvyAPF352HJsPdkVhvTaDPYqfNgruveJIJy3TA2l+2zj8LJIJA==} + tar-fs@3.0.4: resolution: {integrity: sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==} + tar-fs@3.0.8: + resolution: {integrity: sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==} + tar-stream@2.2.0: resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} engines: {node: '>=6'} @@ -4466,6 +4715,12 @@ packages: engines: {node: '>=10'} hasBin: true + testcontainers@10.24.2: + resolution: {integrity: sha512-Don3EXEQuSw14+nFG9pj48fL9ck/jXDfR9Rb0K3acOyn/gg97+gsnfZaLzpdejl9GcPJVKxACNRe3SYVC2uWqg==} + + text-decoder@1.2.3: + resolution: {integrity: sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==} + text-extensions@2.4.0: resolution: {integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==} engines: {node: '>=8'} @@ -4497,6 +4752,10 @@ packages: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} + tmp@0.2.3: + resolution: {integrity: sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==} + engines: {node: '>=14.14'} + to-absolute-glob@3.0.0: resolution: {integrity: sha512-loO/XEWTRqpfcpI7+Jr2RR2Umaaozx1t6OSVWtMi0oy5F/Fxg3IC+D/TToDnxyAGs7uZBGT/6XmyDUxgsObJXA==} engines: {node: '>=0.10.0'} @@ -4591,6 +4850,9 @@ packages: resolution: {integrity: sha512-+6+hcWr4nwuESlKqUc626HMOTd3QT8hUOc9QM45PP1d4nErGkNOgExm4Pcov3in7LTuadMnB0gcd/BuzkEDIPw==} hasBin: true + tweetnacl@0.14.5: + resolution: {integrity: sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==} + type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -4663,6 +4925,10 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici@5.29.0: + resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==} + engines: {node: '>=14.0'} + unherit@3.0.1: resolution: {integrity: sha512-akOOQ/Yln8a2sgcLj4U0Jmx0R5jpIg2IUyRrWOzmEbjBtGzBdHtSeFKgoEcoH4KYIG/Pb8GQ/BwtYm0GCq1Sqg==} @@ -4746,6 +5012,10 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + uuid@10.0.0: + resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==} + hasBin: true + validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} @@ -5028,6 +5298,10 @@ packages: resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} engines: {node: '>=12.20'} + zip-stream@6.0.1: + resolution: {integrity: sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==} + engines: {node: '>= 14'} + zod@3.22.4: resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} @@ -5336,6 +5610,8 @@ snapshots: '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 + '@balena/dockerignore@1.0.2': {} + '@changesets/apply-release-plan@7.0.0': dependencies: '@babel/runtime': 7.23.2 @@ -5804,6 +6080,20 @@ snapshots: hastscript: 7.2.0 unist-util-visit-parents: 5.1.3 + '@fastify/busboy@2.1.1': {} + + '@grpc/grpc-js@1.13.3': + dependencies: + '@grpc/proto-loader': 0.7.15 + '@js-sdsl/ordered-map': 4.4.2 + + '@grpc/proto-loader@0.7.15': + dependencies: + lodash.camelcase: 4.3.0 + long: 5.2.3 + protobufjs: 7.5.0 + yargs: 17.7.2 + '@humanwhocodes/config-array@0.11.13': dependencies: '@humanwhocodes/object-schema': 2.0.1 @@ -5869,6 +6159,8 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 + '@js-sdsl/ordered-map@4.4.2': {} + '@manypkg/find-root@1.1.0': dependencies: '@babel/runtime': 7.23.2 @@ -5954,6 +6246,29 @@ snapshots: picocolors: 1.0.0 tslib: 2.6.2 + '@protobufjs/aspromise@1.1.2': {} + + '@protobufjs/base64@1.1.2': {} + + '@protobufjs/codegen@2.0.4': {} + + '@protobufjs/eventemitter@1.1.0': {} + + '@protobufjs/fetch@1.1.0': + dependencies: + '@protobufjs/aspromise': 1.1.2 + '@protobufjs/inquire': 1.1.0 + + '@protobufjs/float@1.0.2': {} + + '@protobufjs/inquire@1.1.0': {} + + '@protobufjs/path@1.1.2': {} + + '@protobufjs/pool@1.1.0': {} + + '@protobufjs/utf8@1.1.0': {} + '@rollup/rollup-android-arm-eabi@4.9.0': optional: true @@ -6030,6 +6345,17 @@ snapshots: dependencies: '@types/ms': 0.7.34 + '@types/docker-modem@3.0.6': + dependencies: + '@types/node': 20.10.4 + '@types/ssh2': 1.15.5 + + '@types/dockerode@3.3.38': + dependencies: + '@types/docker-modem': 3.0.6 + '@types/node': 20.10.4 + '@types/ssh2': 1.15.5 + '@types/eslint-scope@3.7.7': dependencies: '@types/eslint': 8.56.10 @@ -6081,6 +6407,10 @@ snapshots: '@types/node@17.0.45': {} + '@types/node@18.19.86': + dependencies: + undici-types: 5.26.5 + '@types/node@20.10.4': dependencies: undici-types: 5.26.5 @@ -6103,6 +6433,19 @@ snapshots: '@types/semver@7.5.5': {} + '@types/ssh2-streams@0.1.12': + dependencies: + '@types/node': 20.10.4 + + '@types/ssh2@0.5.52': + dependencies: + '@types/node': 20.10.4 + '@types/ssh2-streams': 0.1.12 + + '@types/ssh2@1.15.5': + dependencies: + '@types/node': 18.19.86 + '@types/unist@2.0.10': {} '@types/unist@3.0.2': {} @@ -6416,6 +6759,26 @@ snapshots: normalize-path: 3.0.0 picomatch: 2.3.1 + archiver-utils@5.0.2: + dependencies: + glob: 10.3.10 + graceful-fs: 4.2.11 + is-stream: 2.0.1 + lazystream: 1.0.1 + lodash: 4.17.21 + normalize-path: 3.0.0 + readable-stream: 4.4.2 + + archiver@7.0.1: + dependencies: + archiver-utils: 5.0.2 + async: 3.2.6 + buffer-crc32: 1.0.0 + readable-stream: 4.4.2 + readdir-glob: 1.1.3 + tar-stream: 3.1.6 + zip-stream: 6.0.1 + arg@5.0.2: {} argparse@1.0.10: @@ -6478,6 +6841,10 @@ snapshots: arrify@3.0.0: {} + asn1@0.2.6: + dependencies: + safer-buffer: 2.1.2 + astring@1.8.6: {} astro-expressive-code@0.29.4(astro@4.0.5(@types/node@20.12.14)(terser@5.31.1)(typescript@5.5.2)): @@ -6561,6 +6928,10 @@ snapshots: - terser - typescript + async-lock@1.4.1: {} + + async@3.2.6: {} + atomic-sleep@1.0.0: {} autoprefixer@10.4.16(postcss@8.4.32): @@ -6581,6 +6952,31 @@ snapshots: balanced-match@1.0.2: {} + bare-events@2.5.4: + optional: true + + bare-fs@4.1.2: + dependencies: + bare-events: 2.5.4 + bare-path: 3.0.0 + bare-stream: 2.6.5(bare-events@2.5.4) + optional: true + + bare-os@3.6.1: + optional: true + + bare-path@3.0.0: + dependencies: + bare-os: 3.6.1 + optional: true + + bare-stream@2.6.5(bare-events@2.5.4): + dependencies: + streamx: 2.22.0 + optionalDependencies: + bare-events: 2.5.4 + optional: true + base-64@1.0.0: {} base64-js@1.5.1: {} @@ -6593,6 +6989,10 @@ snapshots: is-alphanumerical: 2.0.1 is-decimal: 2.0.1 + bcrypt-pbkdf@1.0.2: + dependencies: + tweetnacl: 0.14.5 + better-path-resolve@1.0.0: dependencies: is-windows: 1.0.2 @@ -6661,6 +7061,8 @@ snapshots: node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.1) + buffer-crc32@1.0.0: {} + buffer-from@1.1.2: {} buffer@5.7.1: @@ -6673,6 +7075,9 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 + buildcheck@0.0.6: + optional: true + builtin-modules@3.3.0: {} builtins@5.0.1: @@ -6693,6 +7098,8 @@ snapshots: dependencies: run-applescript: 5.0.0 + byline@5.0.0: {} + call-bind@1.0.5: dependencies: function-bind: 1.1.2 @@ -6838,6 +7245,14 @@ snapshots: array-ify: 1.0.0 dot-prop: 5.3.0 + compress-commons@6.0.2: + dependencies: + crc-32: 1.2.2 + crc32-stream: 6.0.0 + is-stream: 2.0.1 + normalize-path: 3.0.0 + readable-stream: 4.4.2 + concat-map@0.0.1: {} confusing-browser-globals@1.0.11: {} @@ -6861,6 +7276,8 @@ snapshots: cookie@0.6.0: {} + core-util-is@1.0.3: {} + cosmiconfig-typescript-loader@5.0.0(@types/node@20.10.4)(cosmiconfig@8.3.6(typescript@5.5.2))(typescript@5.5.2): dependencies: '@types/node': 20.10.4 @@ -6886,6 +7303,19 @@ snapshots: optionalDependencies: typescript: 5.5.2 + cpu-features@0.0.10: + dependencies: + buildcheck: 0.0.6 + nan: 2.22.2 + optional: true + + crc-32@1.2.2: {} + + crc32-stream@6.0.0: + dependencies: + crc-32: 1.2.2 + readable-stream: 4.4.2 + cross-spawn@5.1.0: dependencies: lru-cache: 4.1.5 @@ -6937,6 +7367,10 @@ snapshots: dependencies: ms: 2.1.2 + debug@4.4.0: + dependencies: + ms: 2.1.3 + decamelize-keys@1.1.1: dependencies: decamelize: 1.2.0 @@ -7018,6 +7452,31 @@ snapshots: dlv@1.1.3: {} + docker-compose@0.24.8: + dependencies: + yaml: 2.3.4 + + docker-modem@5.0.6: + dependencies: + debug: 4.4.0 + readable-stream: 3.6.2 + split-ca: 1.0.1 + ssh2: 1.16.0 + transitivePeerDependencies: + - supports-color + + dockerode@4.0.6: + dependencies: + '@balena/dockerignore': 1.0.2 + '@grpc/grpc-js': 1.13.3 + '@grpc/proto-loader': 0.7.15 + docker-modem: 5.0.6 + protobufjs: 7.5.0 + tar-fs: 2.1.2 + uuid: 10.0.0 + transitivePeerDependencies: + - supports-color + doctrine@2.1.0: dependencies: esutils: 2.0.3 @@ -7243,12 +7702,12 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1): + eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1): dependencies: array.prototype.find: 2.2.2 debug: 3.2.7 enhanced-resolve: 0.9.1 - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) find-root: 1.1.0 hasown: 2.0.1 interpret: 1.4.0 @@ -7261,14 +7720,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1))(eslint@8.53.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 6.10.0(eslint@8.53.0)(typescript@5.5.2) eslint: 8.53.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) + eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1) transitivePeerDependencies: - supports-color @@ -7296,7 +7755,7 @@ snapshots: eslint: 8.53.0 ignore: 5.2.4 - eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0): + eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0): dependencies: array-includes: 3.1.7 array.prototype.flat: 1.3.2 @@ -7305,7 +7764,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.53.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1))(eslint@8.53.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) has: 1.0.4 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -7687,6 +8146,8 @@ snapshots: has-symbols: 1.0.3 hasown: 2.0.0 + get-port@7.1.0: {} + get-set-props@0.1.0: {} get-stdin@9.0.0: {} @@ -8304,6 +8765,8 @@ snapshots: dependencies: is-inside-container: 1.0.0 + isarray@1.0.0: {} + isarray@2.0.5: {} isexe@2.0.0: {} @@ -8379,6 +8842,10 @@ snapshots: kleur@4.1.5: {} + lazystream@1.0.1: + dependencies: + readable-stream: 2.3.8 + levn@0.4.1: dependencies: prelude-ls: 1.2.1 @@ -9045,6 +9512,10 @@ snapshots: dependencies: brace-expansion: 1.1.11 + minimatch@5.1.6: + dependencies: + brace-expansion: 2.0.1 + minimatch@9.0.3: dependencies: brace-expansion: 2.0.1 @@ -9063,10 +9534,14 @@ snapshots: mkdirp-classic@0.5.3: {} + mkdirp@1.0.4: {} + ms@2.0.0: {} ms@2.1.2: {} + ms@2.1.3: {} + muggle-string@0.4.1: {} mysql2@3.6.5: @@ -9090,6 +9565,9 @@ snapshots: dependencies: lru-cache: 7.18.3 + nan@2.22.2: + optional: true + nanoid@3.3.7: {} napi-build-utils@1.0.2: {} @@ -9515,6 +9993,8 @@ snapshots: transitivePeerDependencies: - supports-color + process-nextick-args@2.0.1: {} + process-warning@2.3.2: {} process@0.11.10: {} @@ -9524,10 +10004,35 @@ snapshots: kleur: 3.0.3 sisteransi: 1.0.5 + proper-lockfile@4.1.2: + dependencies: + graceful-fs: 4.2.11 + retry: 0.12.0 + signal-exit: 3.0.7 + + properties-reader@2.3.0: + dependencies: + mkdirp: 1.0.4 + property-information@6.4.0: {} proto-props@2.0.0: {} + protobufjs@7.5.0: + dependencies: + '@protobufjs/aspromise': 1.1.2 + '@protobufjs/base64': 1.1.2 + '@protobufjs/codegen': 2.0.4 + '@protobufjs/eventemitter': 1.1.0 + '@protobufjs/fetch': 1.1.0 + '@protobufjs/float': 1.0.2 + '@protobufjs/inquire': 1.1.0 + '@protobufjs/path': 1.1.2 + '@protobufjs/pool': 1.1.0 + '@protobufjs/utf8': 1.1.0 + '@types/node': 20.10.4 + long: 5.2.3 + pseudomap@1.0.2: {} pump@3.0.0: @@ -9586,6 +10091,16 @@ snapshots: pify: 4.0.1 strip-bom: 3.0.0 + readable-stream@2.3.8: + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 1.0.0 + process-nextick-args: 2.0.1 + safe-buffer: 5.1.2 + string_decoder: 1.1.1 + util-deprecate: 1.0.2 + readable-stream@3.6.2: dependencies: inherits: 2.0.4 @@ -9600,6 +10115,10 @@ snapshots: process: 0.11.10 string_decoder: 1.3.0 + readdir-glob@1.1.3: + dependencies: + minimatch: 5.1.6 + readdirp@3.6.0: dependencies: picomatch: 2.3.1 @@ -9774,6 +10293,8 @@ snapshots: retext-stringify: 3.1.0 unified: 10.1.2 + retry@0.12.0: {} + reusify@1.0.4: {} rfdc@1.3.0: {} @@ -9814,6 +10335,8 @@ snapshots: has-symbols: 1.0.3 isarray: 2.0.5 + safe-buffer@5.1.2: {} + safe-buffer@5.2.1: {} safe-regex-test@1.0.0: @@ -10006,6 +10529,8 @@ snapshots: spdx-license-ids@3.0.16: {} + split-ca@1.0.1: {} + split2@3.2.2: dependencies: readable-stream: 3.6.2 @@ -10016,6 +10541,19 @@ snapshots: sqlstring@2.3.3: {} + ssh-remote-port-forward@1.0.4: + dependencies: + '@types/ssh2': 0.5.52 + ssh2: 1.16.0 + + ssh2@1.16.0: + dependencies: + asn1: 0.2.6 + bcrypt-pbkdf: 1.0.2 + optionalDependencies: + cpu-features: 0.0.10 + nan: 2.22.2 + stdin-discarder@0.1.0: dependencies: bl: 5.1.0 @@ -10035,6 +10573,14 @@ snapshots: fast-fifo: 1.3.2 queue-tick: 1.0.1 + streamx@2.22.0: + dependencies: + fast-fifo: 1.3.2 + text-decoder: 1.2.3 + optionalDependencies: + bare-events: 2.5.4 + optional: true + string-argv@0.3.2: {} string-width@4.2.3: @@ -10091,6 +10637,10 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.22.3 + string_decoder@1.1.1: + dependencies: + safe-buffer: 5.1.2 + string_decoder@1.3.0: dependencies: safe-buffer: 5.2.1 @@ -10204,12 +10754,29 @@ snapshots: pump: 3.0.0 tar-stream: 2.2.0 + tar-fs@2.1.2: + dependencies: + chownr: 1.1.4 + mkdirp-classic: 0.5.3 + pump: 3.0.0 + tar-stream: 2.2.0 + tar-fs@3.0.4: dependencies: mkdirp-classic: 0.5.3 pump: 3.0.0 tar-stream: 3.1.6 + tar-fs@3.0.8: + dependencies: + pump: 3.0.0 + tar-stream: 3.1.6 + optionalDependencies: + bare-fs: 4.1.2 + bare-path: 3.0.0 + transitivePeerDependencies: + - bare-buffer + tar-stream@2.2.0: dependencies: bl: 4.1.0 @@ -10242,6 +10809,32 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 + testcontainers@10.24.2: + dependencies: + '@balena/dockerignore': 1.0.2 + '@types/dockerode': 3.3.38 + archiver: 7.0.1 + async-lock: 1.4.1 + byline: 5.0.0 + debug: 4.4.0 + docker-compose: 0.24.8 + dockerode: 4.0.6 + get-port: 7.1.0 + proper-lockfile: 4.1.2 + properties-reader: 2.3.0 + ssh-remote-port-forward: 1.0.4 + tar-fs: 3.0.8 + tmp: 0.2.3 + undici: 5.29.0 + transitivePeerDependencies: + - bare-buffer + - supports-color + + text-decoder@1.2.3: + dependencies: + b4a: 1.6.4 + optional: true + text-extensions@2.4.0: {} text-table@0.2.0: {} @@ -10270,6 +10863,8 @@ snapshots: dependencies: os-tmpdir: 1.0.2 + tmp@0.2.3: {} + to-absolute-glob@3.0.0: dependencies: is-absolute: 1.0.0 @@ -10354,6 +10949,8 @@ snapshots: turbo-windows-64: 2.0.5 turbo-windows-arm64: 2.0.5 + tweetnacl@0.14.5: {} + type-check@0.4.0: dependencies: prelude-ls: 1.2.1 @@ -10420,6 +11017,10 @@ snapshots: undici-types@5.26.5: {} + undici@5.29.0: + dependencies: + '@fastify/busboy': 2.1.1 + unherit@3.0.1: {} unified@10.1.2: @@ -10536,6 +11137,8 @@ snapshots: util-deprecate@1.0.2: {} + uuid@10.0.0: {} + validate-npm-package-license@3.0.4: dependencies: spdx-correct: 3.2.0 @@ -10797,10 +11400,10 @@ snapshots: eslint-config-xo: 0.43.1(eslint@8.53.0) eslint-config-xo-typescript: 1.0.1(@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2))(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0)(typescript@5.5.2) eslint-formatter-pretty: 5.0.0 - eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5)(webpack@5.90.1) + eslint-import-resolver-webpack: 0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1) eslint-plugin-ava: 14.0.0(eslint@8.53.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.53.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8)(eslint@8.53.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.5.2))(eslint@8.53.0))(webpack@5.90.1))(eslint@8.53.0) eslint-plugin-n: 16.3.0(eslint@8.53.0) eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-prettier: 5.0.1(@types/eslint@8.56.10)(eslint-config-prettier@8.10.0(eslint@8.53.0))(eslint@8.53.0)(prettier@3.1.1) @@ -10878,6 +11481,12 @@ snapshots: yocto-queue@1.0.0: {} + zip-stream@6.0.1: + dependencies: + archiver-utils: 5.0.2 + compress-commons: 6.0.2 + readable-stream: 4.4.2 + zod@3.22.4: {} zwitch@2.0.4: {} From fa3fb20dc5133b15bb21513a0f037cf71983ebd2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 24 Apr 2025 14:04:30 +0000 Subject: [PATCH 97/98] chore(release): version packages --- .changeset/bright-poems-approve.md | 5 ----- .changeset/purple-garlics-perform.md | 10 ---------- .changeset/yellow-walls-tease.md | 5 ----- packages/cli/CHANGELOG.md | 9 +++++++++ packages/cli/package.json | 2 +- packages/mysql/CHANGELOG.md | 11 +++++++++++ packages/mysql/package.json | 2 +- packages/plugin-generate-js/CHANGELOG.md | 8 ++++++++ packages/plugin-generate-js/package.json | 2 +- packages/plugin-tools/CHANGELOG.md | 7 +++++++ packages/plugin-tools/package.json | 2 +- packages/postgres/CHANGELOG.md | 9 +++++++++ packages/postgres/package.json | 2 +- packages/reporter-pino/CHANGELOG.md | 7 +++++++ packages/reporter-pino/package.json | 2 +- packages/tsconfig/CHANGELOG.md | 6 ++++++ packages/tsconfig/package.json | 2 +- 17 files changed, 64 insertions(+), 27 deletions(-) delete mode 100644 .changeset/bright-poems-approve.md delete mode 100644 .changeset/purple-garlics-perform.md delete mode 100644 .changeset/yellow-walls-tease.md diff --git a/.changeset/bright-poems-approve.md b/.changeset/bright-poems-approve.md deleted file mode 100644 index 4045f29..0000000 --- a/.changeset/bright-poems-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/mysql': patch ---- - -Make sure we can initialize multiple running instances of Emigrate using @emigrate/mysql concurrently without issues with creating the history table (for instance in a Kubernetes environment and/or with a Percona cluster). diff --git a/.changeset/purple-garlics-perform.md b/.changeset/purple-garlics-perform.md deleted file mode 100644 index d89ce52..0000000 --- a/.changeset/purple-garlics-perform.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@emigrate/reporter-pino': patch -'@emigrate/plugin-tools': patch -'@emigrate/postgres': patch -'@emigrate/tsconfig': patch -'@emigrate/mysql': patch -'@emigrate/cli': patch ---- - -Upgrade TypeScript to v5.5 and enable [isolatedDeclarations](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#isolated-declarations) diff --git a/.changeset/yellow-walls-tease.md b/.changeset/yellow-walls-tease.md deleted file mode 100644 index 2a0a22f..0000000 --- a/.changeset/yellow-walls-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/mysql': patch ---- - -Either lock all or none of the migrations to run to make sure they run in order when multiple instances of Emigrate runs concurrently (for instance in a Kubernetes environment) diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 2743465..a84474c 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/cli +## 0.18.4 + +### Patch Changes + +- d779286: Upgrade TypeScript to v5.5 and enable [isolatedDeclarations](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#isolated-declarations) +- Updated dependencies [d779286] + - @emigrate/plugin-tools@0.9.8 + - @emigrate/types@0.12.2 + ## 0.18.3 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 61b513e..dbcc08e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.18.3", + "version": "0.18.4", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md index a80e9ae..80a297f 100644 --- a/packages/mysql/CHANGELOG.md +++ b/packages/mysql/CHANGELOG.md @@ -1,5 +1,16 @@ # @emigrate/mysql +## 0.3.3 + +### Patch Changes + +- 26240f4: Make sure we can initialize multiple running instances of Emigrate using @emigrate/mysql concurrently without issues with creating the history table (for instance in a Kubernetes environment and/or with a Percona cluster). +- d779286: Upgrade TypeScript to v5.5 and enable [isolatedDeclarations](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#isolated-declarations) +- 26240f4: Either lock all or none of the migrations to run to make sure they run in order when multiple instances of Emigrate runs concurrently (for instance in a Kubernetes environment) +- Updated dependencies [d779286] + - @emigrate/plugin-tools@0.9.8 + - @emigrate/types@0.12.2 + ## 0.3.2 ### Patch Changes diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 4e75919..db38ba1 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.3.2", + "version": "0.3.3", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/plugin-generate-js/CHANGELOG.md b/packages/plugin-generate-js/CHANGELOG.md index 1809ad4..ecf920b 100644 --- a/packages/plugin-generate-js/CHANGELOG.md +++ b/packages/plugin-generate-js/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-generate-js +## 0.3.8 + +### Patch Changes + +- Updated dependencies [d779286] + - @emigrate/plugin-tools@0.9.8 + - @emigrate/types@0.12.2 + ## 0.3.7 ### Patch Changes diff --git a/packages/plugin-generate-js/package.json b/packages/plugin-generate-js/package.json index da3d174..60fcd93 100644 --- a/packages/plugin-generate-js/package.json +++ b/packages/plugin-generate-js/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-generate-js", - "version": "0.3.7", + "version": "0.3.8", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-tools/CHANGELOG.md b/packages/plugin-tools/CHANGELOG.md index 6028801..e43be5b 100644 --- a/packages/plugin-tools/CHANGELOG.md +++ b/packages/plugin-tools/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/plugin-tools +## 0.9.8 + +### Patch Changes + +- d779286: Upgrade TypeScript to v5.5 and enable [isolatedDeclarations](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#isolated-declarations) + - @emigrate/types@0.12.2 + ## 0.9.7 ### Patch Changes diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index 46dc18d..5a23e3d 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-tools", - "version": "0.9.7", + "version": "0.9.8", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/postgres/CHANGELOG.md b/packages/postgres/CHANGELOG.md index 726b5cb..c4244a0 100644 --- a/packages/postgres/CHANGELOG.md +++ b/packages/postgres/CHANGELOG.md @@ -1,5 +1,14 @@ # @emigrate/postgres +## 0.3.2 + +### Patch Changes + +- d779286: Upgrade TypeScript to v5.5 and enable [isolatedDeclarations](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#isolated-declarations) +- Updated dependencies [d779286] + - @emigrate/plugin-tools@0.9.8 + - @emigrate/types@0.12.2 + ## 0.3.1 ### Patch Changes diff --git a/packages/postgres/package.json b/packages/postgres/package.json index 5b870b0..4b18fdf 100644 --- a/packages/postgres/package.json +++ b/packages/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/postgres", - "version": "0.3.1", + "version": "0.3.2", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index fff8c18..d6a1641 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/reporter-pino +## 0.6.5 + +### Patch Changes + +- d779286: Upgrade TypeScript to v5.5 and enable [isolatedDeclarations](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#isolated-declarations) + - @emigrate/types@0.12.2 + ## 0.6.4 ### Patch Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index a2ed264..1028873 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.6.4", + "version": "0.6.5", "publishConfig": { "access": "public", "provenance": true diff --git a/packages/tsconfig/CHANGELOG.md b/packages/tsconfig/CHANGELOG.md index b4e6ba7..b61fbe9 100644 --- a/packages/tsconfig/CHANGELOG.md +++ b/packages/tsconfig/CHANGELOG.md @@ -1,5 +1,11 @@ # @emigrate/tsconfig +## 1.0.3 + +### Patch Changes + +- d779286: Upgrade TypeScript to v5.5 and enable [isolatedDeclarations](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#isolated-declarations) + ## 1.0.2 ### Patch Changes diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json index 7ae8cf1..ecb4e6b 100644 --- a/packages/tsconfig/package.json +++ b/packages/tsconfig/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/tsconfig", - "version": "1.0.2", + "version": "1.0.3", "publishConfig": { "access": "public", "provenance": true From 52844d7a091c0f76449f73e50f1b23bc6eb7114c Mon Sep 17 00:00:00 2001 From: Joakim Carlstein Date: Fri, 25 Apr 2025 09:22:40 +0200 Subject: [PATCH 98/98] ci(mysql): add @emigrate/mysql integration tests to GitHub Actions --- .github/workflows/ci.yaml | 23 ------- .github/workflows/integration.yaml | 62 +++++++++++++++++++ package.json | 5 +- packages/mysql/package.json | 4 +- .../{index.test.ts => index.integration.ts} | 11 ++++ packages/mysql/src/tests/database.ts | 6 +- 6 files changed, 84 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/integration.yaml rename packages/mysql/src/{index.test.ts => index.integration.ts} (91%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b81d6b1..0a83e79 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,18 +15,6 @@ jobs: TURBO_TEAM: ${{ secrets.TURBO_TEAM }} DO_NOT_TRACK: 1 - services: - mysql: - image: mysql:8.0 - env: - MYSQL_ROOT_PASSWORD: root - MYSQL_DATABASE: emigrate - MYSQL_USER: emigrate - MYSQL_PASSWORD: emigrate - ports: - - 3306:3306 - options: --health-cmd="mysqladmin ping -h localhost" --health-interval=10s --health-timeout=5s --health-retries=5 - steps: - name: Check out code uses: actions/checkout@v4 @@ -44,16 +32,5 @@ jobs: - name: Install dependencies run: pnpm install - - name: Wait for MySQL to be ready - run: | - for i in {1..30}; do - nc -z localhost 3306 && echo "MySQL is up!" && break - echo "Waiting for MySQL..." - sleep 2 - done - - name: Checks - env: - MYSQL_HOST: localhost - MYSQL_PORT: 3306 run: pnpm checks diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml new file mode 100644 index 0000000..388e546 --- /dev/null +++ b/.github/workflows/integration.yaml @@ -0,0 +1,62 @@ +name: Integration Tests + +on: + push: + branches: ['main', 'changeset-release/main'] + pull_request: + +jobs: + mysql_integration: + name: Emigrate MySQL integration tests + timeout-minutes: 15 + runs-on: ubuntu-latest + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + DO_NOT_TRACK: 1 + + services: + mysql: + image: mysql:8.0 + env: + MYSQL_ROOT_PASSWORD: root + MYSQL_DATABASE: emigrate + MYSQL_USER: emigrate + MYSQL_PASSWORD: emigrate + ports: + - 3306:3306 + options: --health-cmd="mysqladmin ping -h localhost" --health-interval=10s --health-timeout=5s --health-retries=5 + + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + fetch-depth: 2 + + - uses: pnpm/action-setup@v4.0.0 + + - name: Setup Node.js environment + uses: actions/setup-node@v4 + with: + node-version: 22.15.0 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + + - name: Wait for MySQL to be ready + run: | + for i in {1..30}; do + nc -z localhost 3306 && echo "MySQL is up!" && break + echo "Waiting for MySQL..." + sleep 2 + done + + - name: Build package + run: pnpm build --filter @emigrate/mysql + + - name: Integration Tests + env: + MYSQL_HOST: '127.0.0.1' + MYSQL_PORT: 3306 + run: pnpm --filter @emigrate/mysql integration diff --git a/package.json b/package.json index a2207a0..7667a61 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,10 @@ }, "overrides": [ { - "files": "packages/**/*.test.ts", + "files": [ + "packages/**/*.test.ts", + "packages/**/*.integration.ts" + ], "rules": { "@typescript-eslint/no-floating-promises": 0, "max-params": 0 diff --git a/packages/mysql/package.json b/packages/mysql/package.json index db38ba1..7e9aca7 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -25,8 +25,8 @@ "build": "tsc --pretty", "build:watch": "tsc --pretty --watch", "lint": "xo --cwd=../.. $(pwd)", - "test-disabled": "glob -c \"node --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\"", - "test:watch": "glob -c \"node --watch --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\"" + "integration": "glob -c \"node --import tsx --test-reporter spec --test\" \"./src/**/*.integration.ts\"", + "integration:watch": "glob -c \"node --watch --import tsx --test-reporter spec --test\" \"./src/**/*.integration.ts\"" }, "keywords": [ "emigrate", diff --git a/packages/mysql/src/index.test.ts b/packages/mysql/src/index.integration.ts similarity index 91% rename from packages/mysql/src/index.test.ts rename to packages/mysql/src/index.integration.ts index 240e3ff..d8d6cd0 100644 --- a/packages/mysql/src/index.test.ts +++ b/packages/mysql/src/index.integration.ts @@ -7,6 +7,8 @@ import { createMysqlStorage } from './index.js'; let db: { port: number; host: string }; +const toEnd = new Set<{ end: () => Promise }>(); + describe('emigrate-mysql', async () => { before( async () => { @@ -17,6 +19,12 @@ describe('emigrate-mysql', async () => { after( async () => { + for (const storage of toEnd) { + // eslint-disable-next-line no-await-in-loop + await storage.end(); + } + + toEnd.clear(); await stopDatabase(); }, { timeout: 10_000 }, @@ -37,6 +45,9 @@ describe('emigrate-mysql', async () => { const [storage1, storage2] = await Promise.all([initializeStorage(), initializeStorage()]); + toEnd.add(storage1); + toEnd.add(storage2); + const migrations = toMigrations('/emigrate', 'migrations', [ '2023-10-01-01-test.js', '2023-10-01-02-test.js', diff --git a/packages/mysql/src/tests/database.ts b/packages/mysql/src/tests/database.ts index 2270969..38b534f 100644 --- a/packages/mysql/src/tests/database.ts +++ b/packages/mysql/src/tests/database.ts @@ -6,11 +6,15 @@ let container: StartedTestContainer | undefined; export const startDatabase = async (): Promise<{ port: number; host: string }> => { if (process.env['CI']) { - return { + const config = { port: process.env['MYSQL_PORT'] ? Number.parseInt(process.env['MYSQL_PORT'], 10) : 3306, // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing host: process.env['MYSQL_HOST'] || 'localhost', }; + + console.log(`Connecting to MySQL from environment variables: ${JSON.stringify(config)}`); + + return config; } if (!container) {