From 4ac0413b20a8c05ac3e839abe289ebce64ef8ba4 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 15 Dec 2020 15:33:19 -0300 Subject: [PATCH 001/142] Updated dependencies to the latest versions --- .php_cs | 47 ++++++++++++++++++++++++++++------------------- composer.json | 21 ++++++++++++--------- 2 files changed, 40 insertions(+), 28 deletions(-) diff --git a/.php_cs b/.php_cs index 3eaf3dae5..2555e1b84 100644 --- a/.php_cs +++ b/.php_cs @@ -10,29 +10,38 @@ $finder = \PhpCsFixer\Finder::create() return \PhpCsFixer\Config::create() ->setRules([ - '@Symfony' => true, - '@Symfony:risky' => true, - '@PHP56Migration' => true, - '@PHP56Migration:risky' => true, - '@PHP70Migration' => true, - '@PHP70Migration:risky' => true, - '@PHP71Migration' => true, - '@PHP71Migration:risky' => true, - 'array_syntax' => [ + '@Symfony' => true, + '@Symfony:risky' => true, + '@PHP56Migration' => true, + '@PHP56Migration:risky' => true, + '@PHP70Migration' => true, + '@PHP70Migration:risky' => true, + '@PHP71Migration' => true, + '@PHP71Migration:risky' => true, + '@PHP73Migration' => true, + '@PHP74Migration' => true, + '@PHP74Migration:risky' => true, + '@PHP80Migration' => true, + '@PHP80Migration:risky' => true, + '@PHPUnit75Migration:risky' => true, + '@PHPUnit84Migration:risky' => true, + 'array_syntax' => [ 'syntax' => 'short' ], - 'combine_consecutive_unsets' => true, - 'declare_strict_types' => true, + 'combine_consecutive_unsets' => true, + 'declare_strict_types' => true, 'linebreak_after_opening_tag' => true, - 'modernize_types_casting' => true, - 'native_function_invocation' => true, - 'no_php4_constructor' => true, - 'ordered_imports' => true, - 'php_unit_strict' => true, - 'phpdoc_order' => true, - 'strict_comparison' => true, - 'strict_param' => true, + 'modernize_types_casting' => true, + 'native_function_invocation' => true, + 'no_php4_constructor' => true, + 'ordered_imports' => true, + 'php_unit_strict' => true, + 'phpdoc_order' => true, + 'strict_comparison' => true, + 'strict_param' => true, ]) ->setRiskyAllowed(true) + ->setIndent(' ') + ->setLineEnding("\n") ->setFinder($finder) ; diff --git a/composer.json b/composer.json index 64019814f..a9b31de1c 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,11 @@ { - "name": "docker-php/docker-php", + "name": "beluga-php/docker-php", "license": "MIT", "type": "library", "description": "A Docker PHP client", + "config": { + "sort-packages": true + }, "autoload": { "psr-4": { "Docker\\": "src/" @@ -15,21 +18,21 @@ }, "require": { "php": ">=7.1", - "docker-php/docker-php-api": "4.1.*", + "beluga-php/docker-php-api": "6.1.*", "guzzlehttp/psr7": "^1.2", - "php-http/client-common": "^1.6", - "php-http/socket-client": "^1.3", - "php-http/message": "^1.0", - "symfony/filesystem": "^2.3 || ^3.0 || ^4.0", - "symfony/process": "^2.3 || ^3.0 || ^4.0" + "php-http/client-common": "^2.3", + "php-http/socket-client": "^2.0", + "psr/http-message": "^1.0", + "symfony/filesystem": "^5.2", + "symfony/process": "^5.2" }, "suggest": { "php-http/httplug-bundle": "For integration with Symfony", "amphp/artax": "To use the async api" }, "require-dev": { - "phpunit/phpunit": "^6.0", - "friendsofphp/php-cs-fixer": "2.8.1", + "phpunit/phpunit": "^9.5", + "friendsofphp/php-cs-fixer": "^2.17", "amphp/artax": "^3.0", "amphp/socket": "^0.10.5" }, From d5bc99a6b73d85de749d33aec2362f6ea6075e1c Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 15 Dec 2020 16:34:48 -0300 Subject: [PATCH 002/142] Removed async related code as Jane dropped it --- composer.json | 7 +- src/Client/AmpArtaxStreamEndpoint.php | 26 ------ src/Client/AmpArtaxStreamEndpointTrait.php | 41 ---------- src/Client/ProvideAmpArtaxClientOptions.php | 15 ---- src/DockerAsync.php | 74 ------------------ src/DockerAsyncClient.php | 87 --------------------- src/Stream/ArtaxCallbackStream.php | 78 ------------------ tests/DockerAsyncTest.php | 86 -------------------- 8 files changed, 2 insertions(+), 412 deletions(-) delete mode 100644 src/Client/AmpArtaxStreamEndpoint.php delete mode 100644 src/Client/AmpArtaxStreamEndpointTrait.php delete mode 100644 src/Client/ProvideAmpArtaxClientOptions.php delete mode 100644 src/DockerAsync.php delete mode 100644 src/DockerAsyncClient.php delete mode 100644 src/Stream/ArtaxCallbackStream.php delete mode 100644 tests/DockerAsyncTest.php diff --git a/composer.json b/composer.json index a9b31de1c..500a8e1bd 100644 --- a/composer.json +++ b/composer.json @@ -27,14 +27,11 @@ "symfony/process": "^5.2" }, "suggest": { - "php-http/httplug-bundle": "For integration with Symfony", - "amphp/artax": "To use the async api" + "php-http/httplug-bundle": "For integration with Symfony" }, "require-dev": { "phpunit/phpunit": "^9.5", - "friendsofphp/php-cs-fixer": "^2.17", - "amphp/artax": "^3.0", - "amphp/socket": "^0.10.5" + "friendsofphp/php-cs-fixer": "^2.17" }, "conflict": { "amphp/socket": "<0.10.5", diff --git a/src/Client/AmpArtaxStreamEndpoint.php b/src/Client/AmpArtaxStreamEndpoint.php deleted file mode 100644 index ec7f3b9a0..000000000 --- a/src/Client/AmpArtaxStreamEndpoint.php +++ /dev/null @@ -1,26 +0,0 @@ -transformResponseBody($chunk, $response->getStatus(), $serializer); - }; - } - - return new ArtaxCallbackStream($response->getBody(), $cancellationTokenSource, $responseTransformer); - }); - } -} diff --git a/src/Client/ProvideAmpArtaxClientOptions.php b/src/Client/ProvideAmpArtaxClientOptions.php deleted file mode 100644 index cd1aa87db..000000000 --- a/src/Client/ProvideAmpArtaxClientOptions.php +++ /dev/null @@ -1,15 +0,0 @@ -executeArtaxEndpoint(new SystemEvents($queryParameters), $fetch); - } - - /** - * {@inheritdoc} - */ - public function executeArtaxEndpoint(AmpArtaxEndpoint $endpoint, string $fetch = self::FETCH_OBJECT): Promise - { - return call(function () use ($endpoint, $fetch) { - [$bodyHeaders, $body] = $endpoint->getBody($this->serializer); - $queryString = $endpoint->getQueryString(); - $uri = '' !== $queryString ? $endpoint->getUri().'?'.$queryString : $endpoint->getUri(); - $request = new Request($uri, $endpoint->getMethod()); - $request = $request->withBody($body); - $request = $request->withHeaders($endpoint->getHeaders($bodyHeaders)); - $options = []; - if ($endpoint instanceof ProvideAmpArtaxClientOptions) { - $options = $endpoint->getAmpArtaxClientOptions(); - } - - if ($endpoint instanceof AmpArtaxStreamEndpoint) { - $cancellationTokenSource = new CancellationTokenSource(); - - return $endpoint->parseArtaxStreamResponse( - yield $this->httpClient->request($request, $options, $cancellationTokenSource->getToken()), - $this->serializer, - $cancellationTokenSource, - $fetch - ); - } - - return $endpoint->parseArtaxResponse( - yield $this->httpClient->request($request, $options), - $this->serializer, - $fetch - ); - }); - } -} diff --git a/src/DockerAsyncClient.php b/src/DockerAsyncClient.php deleted file mode 100644 index ca440bd7b..000000000 --- a/src/DockerAsyncClient.php +++ /dev/null @@ -1,87 +0,0 @@ -resolveOptions($options); - $socketPool = new HttpSocketPool(new StaticSocketPool($options['remote_socket'], new BasicSocketPool())); - $this->client = new DefaultClient(null, $socketPool, $options['ssl']); - } - - public function request($uriOrRequest, array $options = [], CancellationToken $cancellation = null): Promise - { - if ($uriOrRequest instanceof Request) { - $uriOrRequest = $uriOrRequest->withUri('http://localhost'.$uriOrRequest->getUri()); - } - - return $this->client->request($uriOrRequest, $options, $cancellation); - } - - protected function resolveOptions(array $options = []): array - { - $resolver = new OptionsResolver(); - - $resolver->setDefaults([ - 'ssl' => null, - ]); - - $resolver->setRequired([ - 'remote_socket', - ]); - - $resolver->setAllowedTypes('ssl', ['null', ClientTlsContext::class]); - - return $resolver->resolve($options); - } - - public static function createFromEnv(): self - { - $options = [ - 'remote_socket' => \getenv('DOCKER_HOST') ? \getenv('DOCKER_HOST') : 'unix:///var/run/docker.sock', - ]; - - if (\getenv('DOCKER_TLS_VERIFY') && '1' === \getenv('DOCKER_TLS_VERIFY')) { - if (!\getenv('DOCKER_CERT_PATH')) { - throw new \RuntimeException('Connection to docker has been set to use TLS, but no PATH is defined for certificate in DOCKER_CERT_PATH docker environment variable'); - } - - $tlsContext = new ClientTlsContext(); - - $cafile = \getenv('DOCKER_CERT_PATH').DIRECTORY_SEPARATOR.'ca.pem'; - $certfile = \getenv('DOCKER_CERT_PATH').DIRECTORY_SEPARATOR.'cert.pem'; - $keyfile = \getenv('DOCKER_CERT_PATH').DIRECTORY_SEPARATOR.'key.pem'; - - $certificate = new Certificate($certfile, $keyfile); - - $tlsContext = $tlsContext->withCaFile($cafile); - $tlsContext = $tlsContext->withCertificate($certificate); - - if (\getenv('DOCKER_PEER_NAME')) { - $tlsContext = $tlsContext->withPeerName(\getenv('DOCKER_PEER_NAME')); - } - - $options['ssl'] = $tlsContext; - } - - return new static($options); - } -} diff --git a/src/Stream/ArtaxCallbackStream.php b/src/Stream/ArtaxCallbackStream.php deleted file mode 100644 index f85d5219e..000000000 --- a/src/Stream/ArtaxCallbackStream.php +++ /dev/null @@ -1,78 +0,0 @@ -stream = $stream; - $this->cancellationTokenSource = $cancellationTokenSource; - $this->chunkTransformer = $chunkTransformer; - } - - /** - * Called when there is a new frame from the stream. - * - * @param callable $onNewFrame - */ - public function onFrame(callable $onNewFrame): void - { - $this->onNewFrameCallables[] = $onNewFrame; - } - - /** - * Consume stream chunks. - * - * @return Promise - */ - public function listen(): Promise - { - return call(function () { - while (null !== ($chunk = yield $this->stream->read())) { - foreach ($this->onNewFrameCallables as $newFrameCallable) { - $newFrameCallable($this->transformChunk($chunk)); - } - } - }); - } - - /** - * Stop consuming stream chunks. - */ - public function cancel(): void - { - $this->cancellationTokenSource->cancel(); - } - - /** - * Transform stream chunks if required. - * - * @param string $chunk - * - * @return mixed The raw chunk or the transformed chunk - */ - private function transformChunk(string $chunk) - { - if (null === $this->chunkTransformer) { - return $chunk; - } - - return \call_user_func($this->chunkTransformer, $chunk); - } -} diff --git a/tests/DockerAsyncTest.php b/tests/DockerAsyncTest.php deleted file mode 100644 index 29b2f3bf1..000000000 --- a/tests/DockerAsyncTest.php +++ /dev/null @@ -1,86 +0,0 @@ -assertInstanceOf(DockerAsync::class, DockerAsync::create()); - } - - public function testAsync(): void - { - Loop::run(function () { - $docker = DockerAsync::create(); - - $containerConfig = new ContainersCreatePostBody(); - $containerConfig->setImage('busybox:latest'); - $containerConfig->setCmd(['echo', '-n', 'output']); - $containerConfig->setAttachStdout(true); - $containerConfig->setLabels(new \ArrayObject(['docker-php-test' => 'true'])); - - $response = yield $docker->imageCreate('', [ - 'fromImage' => 'busybox:latest', - ], [], DockerAsync::FETCH_RESPONSE); - - yield $response->getBody(); - - $containerCreate = yield $docker->containerCreate($containerConfig); - $containerStart = yield $docker->containerStart($containerCreate->getId()); - $containerInfo = yield $docker->containerInspect($containerCreate->getId()); - - $this->assertSame($containerCreate->getId(), $containerInfo->getId()); - }); - } - - public function testSystemEventsAllowTheConsumptionOfDockerEvents(): void - { - $matchedEvents = []; - - Loop::run(function () use (&$matchedEvents) { - $docker = DockerAsync::create(); - - /** @var ArtaxCallbackStream $events */ - $events = yield $docker->systemEvents([ - 'filters' => \json_encode( - [ - 'type' => ['container'], - 'action' => ['create'], - ] - ), - ]); - $events->onFrame(function ($event) use (&$matchedEvents): void { - if (\is_object($event) - && $event instanceof EventsGetResponse200 - && 'create' === $event->getAction() - && 'container' === $event->getType() - ) { - $matchedEvents[] = $event; - } - }); - - $events->listen(); - - $containerConfig = new ContainersCreatePostBody(); - $containerConfig->setImage('busybox:latest'); - $containerConfig->setCmd(['echo', '-n', 'output']); - - yield $docker->containerCreate($containerConfig); - - Loop::delay(1000, function (): void { - Loop::stop(); - }); - }); - - $this->assertCount(1, $matchedEvents); - } -} From 9743fe3c0071d124546c84ed305ab940f897e97e Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 15 Dec 2020 16:37:23 -0300 Subject: [PATCH 003/142] Updated phpunit configuration to follow version update --- phpunit.xml.dist | 46 ++++++++++++++++++++++------------------------ 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index c40525666..d1446e798 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,27 +1,25 @@ - - + - - - - tests/ - - - - - src - - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" + backupGlobals="false" + backupStaticAttributes="false" + colors="true" + convertErrorsToExceptions="true" + convertNoticesToExceptions="true" + convertWarningsToExceptions="true" + processIsolation="false" + stopOnFailure="false" + bootstrap="vendor/autoload.php"> + + + src + + + + + tests/ + + From cf74ddb1dee144a958a4dad3695fe5369d24db8e Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 15 Dec 2020 17:19:32 -0300 Subject: [PATCH 004/142] Updated README.md and CONTRIBUTING.md --- CONTRIBUTING.md | 4 ++-- README.md | 32 +++++++++++--------------------- 2 files changed, 13 insertions(+), 23 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6be589b9f..d25bfef16 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,9 +67,9 @@ $ git pull --rebase upstream master $ git push -f origin feature-or-bug-fix-description ``` -## Internal +## Internal -This library consist, for the most part, of auto generated code where the reference is an [Open API Specification (Swagger v2)](https://openapis.org/). In order to modify API +This library consist, for the most part, of auto generated code where the reference is an [Open API Specification (Swagger v2)](https://openapis.org/). In order to modify API endpoint or requested / returned object, you will need to update the `docker-swagger.json` file instead of files in the `generated` directory. There is a bash script at the root of this repository `generate.sh` which helps launching the command to generate files according to the diff --git a/README.md b/README.md index 27464be66..933def843 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,4 @@ -# No longer maintained - -I'm backing off maintaining this library due to a lack of motivation, time and usage of docker, contact me on twitter https://twitter.com/joelwurtz if you wish to take over this repository (or just do a fork). - -Docker PHP -========== +# Docker PHP **Docker PHP** (for lack of a better name) is a [Docker](http://docker.com/) client written in PHP. This library aim to reach 100% API support of the Docker Engine. @@ -19,8 +14,7 @@ The test suite currently passes against Docker Remote API v1.25 to v1.36. [![Total Downloads](https://img.shields.io/packagist/dt/docker-php/docker-php.svg?style=flat-square)](https://packagist.org/packages/docker-php/docker-php) [![#docker-php on Slack](http://slack.httplug.io/badge.svg)](http://slack.httplug.io) -Installation ------------- +## Installation The recommended way to install Docker PHP is of course to use [Composer](http://getcomposer.org/): @@ -28,23 +22,20 @@ The recommended way to install Docker PHP is of course to use [Composer](http:// composer require docker-php/docker-php ``` -Docker API Version ------------------- +## Docker API Version -By default it will use the last version of docker api available, if you want to fix a version (like 1.25) you can add this +By default it will use the last version of docker api available, if you want to fix a version (like 1.25) you can add this requirement to composer: ```bash composer require "docker-php/docker-php-api:4.1.25.*" ``` -Usage ------ +## Usage See [the documentation](http://docker-php.readthedocs.org/en/latest/). -Unit Tests ----------- +## Unit Tests Setup the test suite using [Composer](http://getcomposer.org/) if not already done: @@ -58,17 +49,16 @@ Run it using [PHPUnit](http://phpunit.de/): $ composer test ``` -Contributing ------------- +## Contributing Please see [CONTRIBUTING](CONTRIBUTING.md) for details. -Credits -------- +## Credits This README heavily inspired by [willdurand/Negotiation](https://github.com/willdurand/Negotiation) by @willdurand. This guy is pretty awesome. -License -------- +This library is a fork of the original [docker-php](https://github.com/docker-php/docker-php), created by [Geoffrey Bachelet](https://github.com/ubermuda) and [Joel Wurtz](https://github.com/joelwurtz). + +## License The MIT License (MIT). Please see [License File](LICENSE) for more information. From c18d7f970283d3564f5735cca2c214567aaa4484 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 15 Dec 2020 17:23:51 -0300 Subject: [PATCH 005/142] Updated Docker client to conform to Jane generated client --- composer.json | 2 +- src/Context/Context.php | 6 +- src/Context/ContextBuilder.php | 4 +- src/Docker.php | 24 +++---- src/DockerClientFactory.php | 45 +++++++------ src/Endpoint/ContainerAttach.php | 22 +++--- src/Endpoint/ContainerAttachWebsocket.php | 41 ++++++------ src/Endpoint/ContainerLogs.php | 21 ++---- src/Endpoint/ExecStart.php | 21 ++---- src/Endpoint/ImageBuild.php | 27 +++----- src/Endpoint/ImageCreate.php | 21 ++---- src/Endpoint/ImagePush.php | 21 ++---- src/Endpoint/SystemEvents.php | 34 +++------- src/Stream/AttachWebsocketStream.php | 2 +- src/Stream/BuildStream.php | 2 +- src/Stream/CallbackStream.php | 2 - src/Stream/CreateImageStream.php | 2 +- src/Stream/DockerRawStream.php | 6 -- src/Stream/EventStream.php | 2 +- src/Stream/PushStream.php | 2 +- src/Stream/TarStream.php | 81 ++++++++++++++++++++++- tests/Context/ContextBuilderTest.php | 80 +++++++++++----------- tests/Context/ContextTest.php | 17 +++-- tests/DockerClientFactoryTest.php | 15 ++--- tests/Resource/ContainerResourceTest.php | 42 +++++++----- tests/Resource/ImageResourceTest.php | 6 +- tests/Stream/MultiJsonStreamTest.php | 12 ++-- 27 files changed, 285 insertions(+), 275 deletions(-) diff --git a/composer.json b/composer.json index 500a8e1bd..7ecf5f447 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "require": { "php": ">=7.1", "beluga-php/docker-php-api": "6.1.*", - "guzzlehttp/psr7": "^1.2", + "nyholm/psr7": "^1.3", "php-http/client-common": "^2.3", "php-http/socket-client": "^2.0", "psr/http-message": "^1.0", diff --git a/src/Context/Context.php b/src/Context/Context.php index 24e8ce0c3..06082510c 100644 --- a/src/Context/Context.php +++ b/src/Context/Context.php @@ -86,7 +86,7 @@ public function setDirectory($directory): void */ public function getDockerfileContent() { - return \file_get_contents($this->directory.DIRECTORY_SEPARATOR.'Dockerfile'); + return \file_get_contents($this->directory.\DIRECTORY_SEPARATOR.'Dockerfile'); } /** @@ -114,7 +114,7 @@ public function read() */ public function toTar() { - $process = new Process('/usr/bin/env tar c .', $this->directory); + $process = new Process(['/usr/bin/env', 'tar', '-c', '.'], $this->directory); $process->run(); if (!$process->isSuccessful()) { @@ -132,7 +132,7 @@ public function toTar() public function toStream() { if (!\is_resource($this->process)) { - $this->process = \proc_open('/usr/bin/env tar c .', [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, $this->directory); + $this->process = \proc_open('/usr/bin/env tar -c .', [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, $this->directory); $this->stream = $pipes[1]; } diff --git a/src/Context/ContextBuilder.php b/src/Context/ContextBuilder.php index 74a4308bf..e8b37365b 100644 --- a/src/Context/ContextBuilder.php +++ b/src/Context/ContextBuilder.php @@ -276,7 +276,7 @@ private function write($directory): void { $dockerfile = []; // Insert a FROM instruction if the file does not start with one. - if (empty($this->commands) || $this->commands[0]['type'] !== 'FROM') { + if (empty($this->commands) || 'FROM' !== $this->commands[0]['type']) { $dockerfile[] = 'FROM base'; } foreach ($this->commands as $command) { @@ -325,7 +325,7 @@ private function write($directory): void $dockerfile[] = 'CMD '.$this->command; } - $this->fs->dumpFile($directory.DIRECTORY_SEPARATOR.'Dockerfile', \implode(PHP_EOL, $dockerfile)); + $this->fs->dumpFile($directory.\DIRECTORY_SEPARATOR.'Dockerfile', \implode(PHP_EOL, $dockerfile)); } /** diff --git a/src/Docker.php b/src/Docker.php index 591acb5f0..bdfe028fd 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -5,7 +5,7 @@ namespace Docker; use Docker\API\Client; -use Docker\API\Model\AuthConfig; +use Docker\API\Model\ExecIdStartPostBody; use Docker\Endpoint\ContainerAttach; use Docker\Endpoint\ContainerAttachWebsocket; use Docker\Endpoint\ContainerLogs; @@ -25,7 +25,7 @@ class Docker extends Client */ public function containerAttach(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executePsr7Endpoint(new ContainerAttach($id, $queryParameters), $fetch); + return $this->executeEndpoint(new ContainerAttach($id, $queryParameters), $fetch); } /** @@ -33,7 +33,7 @@ public function containerAttach(string $id, array $queryParameters = [], string */ public function containerAttachWebsocket(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executePsr7Endpoint(new ContainerAttachWebsocket($id, $queryParameters), $fetch); + return $this->executeEndpoint(new ContainerAttachWebsocket($id, $queryParameters), $fetch); } /** @@ -41,15 +41,15 @@ public function containerAttachWebsocket(string $id, array $queryParameters = [] */ public function containerLogs(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executePsr7Endpoint(new ContainerLogs($id, $queryParameters), $fetch); + return $this->executeEndpoint(new ContainerLogs($id, $queryParameters), $fetch); } /** * {@inheritdoc} */ - public function execStart(string $id, \Docker\API\Model\ExecIdStartPostBody $execStartConfig, string $fetch = self::FETCH_OBJECT) + public function execStart(string $id, ExecIdStartPostBody $execStartConfig, string $fetch = self::FETCH_OBJECT) { - return $this->executePsr7Endpoint(new ExecStart($id, $execStartConfig), $fetch); + return $this->executeEndpoint(new ExecStart($id, $execStartConfig), $fetch); } /** @@ -57,7 +57,7 @@ public function execStart(string $id, \Docker\API\Model\ExecIdStartPostBody $exe */ public function imageBuild($inputStream, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executePsr7Endpoint(new ImageBuild($inputStream, $queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new ImageBuild($inputStream, $queryParameters, $headerParameters), $fetch); } /** @@ -65,7 +65,7 @@ public function imageBuild($inputStream, array $queryParameters = [], array $hea */ public function imageCreate(string $inputImage, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executePsr7Endpoint(new ImageCreate($inputImage, $queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new ImageCreate($inputImage, $queryParameters, $headerParameters), $fetch); } /** @@ -77,7 +77,7 @@ public function imagePush(string $name, array $queryParameters = [], array $head $headerParameters['X-Registry-Auth'] = \base64_encode($this->serializer->serialize($headerParameters['X-Registry-Auth'], 'json')); } - return $this->executePsr7Endpoint(new ImagePush($name, $queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new ImagePush($name, $queryParameters, $headerParameters), $fetch); } /** @@ -85,15 +85,15 @@ public function imagePush(string $name, array $queryParameters = [], array $head */ public function systemEvents(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executePsr7Endpoint(new SystemEvents($queryParameters), $fetch); + return $this->executeEndpoint(new SystemEvents($queryParameters), $fetch); } - public static function create($httpClient = null) + public static function create($httpClient = null, array $additionalPlugins = []) { if (null === $httpClient) { $httpClient = DockerClientFactory::createFromEnv(); } - return parent::create($httpClient); + return parent::create($httpClient, $additionalPlugins); } } diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 918d87240..20a973d59 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -4,42 +4,45 @@ namespace Docker; -use GuzzleHttp\Psr7\Uri; use Http\Client\Common\Plugin\AddHostPlugin; +use Http\Client\Common\Plugin\AddPathPlugin; use Http\Client\Common\Plugin\ContentLengthPlugin; use Http\Client\Common\Plugin\DecoderPlugin; use Http\Client\Common\PluginClientFactory; -use Http\Client\HttpClient; -use Http\Client\Socket\Client as SocketHttpClient; -use Http\Message\MessageFactory\GuzzleMessageFactory; +use Http\Client\Socket\Client; +use Http\Discovery\UriFactoryDiscovery; +use Psr\Http\Client\ClientInterface; final class DockerClientFactory { - /** - * ( . - */ - public static function create(array $config = [], PluginClientFactory $pluginClientFactory = null): HttpClient + public static function create(array $config = [], PluginClientFactory $pluginClientFactory = null): ClientInterface { if (!\array_key_exists('remote_socket', $config)) { $config['remote_socket'] = 'unix:///var/run/docker.sock'; } - $messageFactory = new GuzzleMessageFactory(); - $socketClient = new SocketHttpClient($messageFactory, $config); + $socketClient = new Client($config); + + $uriFactory = UriFactoryDiscovery::find(); $host = \preg_match('/unix:\/\//', $config['remote_socket']) ? 'http://localhost' : $config['remote_socket']; $pluginClientFactory = $pluginClientFactory ?? new PluginClientFactory(); - return $pluginClientFactory->createClient($socketClient, [ - new ContentLengthPlugin(), - new DecoderPlugin(), - new AddHostPlugin(new Uri($host)), - ], [ - 'client_name' => 'docker-client', - ]); + return $pluginClientFactory->createClient( + $socketClient, + [ + new ContentLengthPlugin(), + new DecoderPlugin(), + new AddPathPlugin($uriFactory->createUri('/v1.41')), + new AddHostPlugin($uriFactory->createUri($host)), + ], + [ + 'client_name' => 'docker-client', + ] + ); } - public static function createFromEnv(PluginClientFactory $pluginClientFactory = null): HttpClient + public static function createFromEnv(PluginClientFactory $pluginClientFactory = null): ClientInterface { $options = [ 'remote_socket' => \getenv('DOCKER_HOST') ? \getenv('DOCKER_HOST') : 'unix:///var/run/docker.sock', @@ -50,9 +53,9 @@ public static function createFromEnv(PluginClientFactory $pluginClientFactory = throw new \RuntimeException('Connection to docker has been set to use TLS, but no PATH is defined for certificate in DOCKER_CERT_PATH docker environment variable'); } - $cafile = \getenv('DOCKER_CERT_PATH').DIRECTORY_SEPARATOR.'ca.pem'; - $certfile = \getenv('DOCKER_CERT_PATH').DIRECTORY_SEPARATOR.'cert.pem'; - $keyfile = \getenv('DOCKER_CERT_PATH').DIRECTORY_SEPARATOR.'key.pem'; + $cafile = \getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'ca.pem'; + $certfile = \getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'cert.pem'; + $keyfile = \getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'key.pem'; $stream_context = [ 'cafile' => $cafile, diff --git a/src/Endpoint/ContainerAttach.php b/src/Endpoint/ContainerAttach.php index a2d180e93..0676e3830 100644 --- a/src/Endpoint/ContainerAttach.php +++ b/src/Endpoint/ContainerAttach.php @@ -6,27 +6,21 @@ use Docker\API\Endpoint\ContainerAttach as BaseEndpoint; use Docker\Stream\DockerRawStream; -use Jane\OpenApiRuntime\Client\Client; -use Jane\OpenApiRuntime\Client\Exception\InvalidFetchModeException; -use Psr\Http\Message\ResponseInterface; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; class ContainerAttach extends BaseEndpoint { - public function parsePSR7Response(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { - if (Client::FETCH_OBJECT === $fetchMode) { - if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $response->getHeaderLine('Content-Type')) { - return new DockerRawStream($response->getBody()); - } + if (200 === $status && DockerRawStream::HEADER === $contentType) { + $streamFactory = StreamFactoryDiscovery::find(); + $stream = $streamFactory->createStream($jsonStream); + $stream->rewind(); - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer); + return new DockerRawStream($stream); } - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; - } - - throw new InvalidFetchModeException(\sprintf('Fetch mode %s is not supported', $fetchMode)); + return parent::transformResponseBody($body, $status, $serializer, $contentType); } } diff --git a/src/Endpoint/ContainerAttachWebsocket.php b/src/Endpoint/ContainerAttachWebsocket.php index fefb3638a..692599ec8 100644 --- a/src/Endpoint/ContainerAttachWebsocket.php +++ b/src/Endpoint/ContainerAttachWebsocket.php @@ -6,39 +6,36 @@ use Docker\API\Endpoint\ContainerAttachWebsocket as BaseEndpoint; use Docker\Stream\AttachWebsocketStream; -use Jane\OpenApiRuntime\Client\Client; -use Jane\OpenApiRuntime\Client\Exception\InvalidFetchModeException; -use Psr\Http\Message\ResponseInterface; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; class ContainerAttachWebsocket extends BaseEndpoint { public function getExtraHeaders(): array { - return \array_merge(parent::getExtraHeaders(), [ - 'Host' => 'localhost', - 'Origin' => 'php://docker-php', - 'Upgrade' => 'websocket', - 'Connection' => 'Upgrade', - 'Sec-WebSocket-Version' => '13', - 'Sec-WebSocket-Key' => \base64_encode(\uniqid()), - ]); + return \array_merge( + parent::getExtraHeaders(), + [ + 'Host' => 'localhost', + 'Origin' => 'php://docker-php', + 'Upgrade' => 'websocket', + 'Connection' => 'Upgrade', + 'Sec-WebSocket-Version' => '13', + 'Sec-WebSocket-Key' => \base64_encode(\uniqid()), + ] + ); } - public function parsePSR7Response(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { - if (Client::FETCH_OBJECT === $fetchMode) { - if (101 === $response->getStatusCode()) { - return new AttachWebsocketStream($response->getBody()); - } + if (200 === $status && DockerRawStream::HEADER === $contentType) { + $streamFactory = StreamFactoryDiscovery::find(); + $stream = $streamFactory->createStream($jsonStream); + $stream->rewind(); - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer); + return new AttachWebsocketStream($stream); } - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; - } - - throw new InvalidFetchModeException(\sprintf('Fetch mode %s is not supported', $fetchMode)); + return parent::transformResponseBody($body, $status, $serializer, $contentType); } } diff --git a/src/Endpoint/ContainerLogs.php b/src/Endpoint/ContainerLogs.php index 42335752f..22d6c1c0e 100644 --- a/src/Endpoint/ContainerLogs.php +++ b/src/Endpoint/ContainerLogs.php @@ -6,27 +6,20 @@ use Docker\API\Endpoint\ContainerLogs as BaseEndpoint; use Docker\Stream\DockerRawStream; -use Jane\OpenApiRuntime\Client\Client; -use Jane\OpenApiRuntime\Client\Exception\InvalidFetchModeException; -use Psr\Http\Message\ResponseInterface; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; class ContainerLogs extends BaseEndpoint { - public function parsePSR7Response(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { - if (Client::FETCH_OBJECT === $fetchMode) { - if (200 === $response->getStatusCode()) { - return new DockerRawStream($response->getBody()); - } + if (200 === $status && DockerRawStream::HEADER === $contentType) { + $stream = Stream::create($body); + $stream->rewind(); - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer); + return new DockerRawStream($stream); } - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; - } - - throw new InvalidFetchModeException(\sprintf('Fetch mode %s is not supported', $fetchMode)); + return parent::transformResponseBody($body, $status, $serializer, $contentType); } } diff --git a/src/Endpoint/ExecStart.php b/src/Endpoint/ExecStart.php index 48ddd5c8d..c16a83807 100644 --- a/src/Endpoint/ExecStart.php +++ b/src/Endpoint/ExecStart.php @@ -6,27 +6,20 @@ use Docker\API\Endpoint\ExecStart as BaseEndpoint; use Docker\Stream\DockerRawStream; -use Jane\OpenApiRuntime\Client\Client; -use Jane\OpenApiRuntime\Client\Exception\InvalidFetchModeException; -use Psr\Http\Message\ResponseInterface; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; class ExecStart extends BaseEndpoint { - public function parsePSR7Response(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { - if (Client::FETCH_OBJECT === $fetchMode) { - if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $response->getHeaderLine('Content-Type')) { - return new DockerRawStream($response->getBody()); - } + if (200 === $status && DockerRawStream::HEADER === $contentType) { + $stream = Stream::create($body); + $stream->rewind(); - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer); + return new DockerRawStream($stream); } - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; - } - - throw new InvalidFetchModeException(\sprintf('Fetch mode %s is not supported', $fetchMode)); + return parent::transformResponseBody($body, $status, $serializer, $contentType); } } diff --git a/src/Endpoint/ImageBuild.php b/src/Endpoint/ImageBuild.php index 65d3353fc..62af3a9d5 100644 --- a/src/Endpoint/ImageBuild.php +++ b/src/Endpoint/ImageBuild.php @@ -7,38 +7,31 @@ use Docker\API\Endpoint\ImageBuild as BaseEndpoint; use Docker\Stream\BuildStream; use Docker\Stream\TarStream; -use Jane\OpenApiRuntime\Client\Client; -use Jane\OpenApiRuntime\Client\Exception\InvalidFetchModeException; -use Psr\Http\Message\ResponseInterface; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; class ImageBuild extends BaseEndpoint { - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, \Http\Message\StreamFactory $streamFactory = null): array + public function getBody(SerializerInterface $serializer, $streamFactory = null): array { $body = $this->body; if (\is_resource($body)) { - $body = new TarStream($body); + $body = new TarStream(Stream::create($body)); } - return [[], $body]; + return [['Content-Type' => ['application/octet-stream']], $body]; } - public function parsePSR7Response(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { - if (Client::FETCH_OBJECT === $fetchMode) { - if (200 === $response->getStatusCode()) { - return new BuildStream($response->getBody(), $serializer); - } + if (200 === $status) { + $stream = Stream::create($body); + $stream->rewind(); - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer); + return new BuildStream($stream, $serializer); } - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; - } - - throw new InvalidFetchModeException(\sprintf('Fetch mode %s is not supported', $fetchMode)); + return parent::transformResponseBody($body, $status, $serializer, $contentType); } } diff --git a/src/Endpoint/ImageCreate.php b/src/Endpoint/ImageCreate.php index 196ba3e5e..120982bd7 100644 --- a/src/Endpoint/ImageCreate.php +++ b/src/Endpoint/ImageCreate.php @@ -6,27 +6,20 @@ use Docker\API\Endpoint\ImageCreate as BaseEndpoint; use Docker\Stream\CreateImageStream; -use Jane\OpenApiRuntime\Client\Client; -use Jane\OpenApiRuntime\Client\Exception\InvalidFetchModeException; -use Psr\Http\Message\ResponseInterface; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; class ImageCreate extends BaseEndpoint { - public function parsePSR7Response(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { - if (Client::FETCH_OBJECT === $fetchMode) { - if (200 === $response->getStatusCode()) { - return new CreateImageStream($response->getBody(), $serializer); - } + if (200 === $status) { + $stream = Stream::create($body); + $stream->rewind(); - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer); + return new CreateImageStream($stream, $serializer); } - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; - } - - throw new InvalidFetchModeException(\sprintf('Fetch mode %s is not supported', $fetchMode)); + return parent::transformResponseBody($body, $status, $serializer, $contentType); } } diff --git a/src/Endpoint/ImagePush.php b/src/Endpoint/ImagePush.php index 3d2eabcca..ed64493d0 100644 --- a/src/Endpoint/ImagePush.php +++ b/src/Endpoint/ImagePush.php @@ -6,9 +6,7 @@ use Docker\API\Endpoint\ImagePush as BaseEndpoint; use Docker\Stream\PushStream; -use Jane\OpenApiRuntime\Client\Client; -use Jane\OpenApiRuntime\Client\Exception\InvalidFetchModeException; -use Psr\Http\Message\ResponseInterface; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; class ImagePush extends BaseEndpoint @@ -18,20 +16,15 @@ public function getUri(): string return \str_replace(['{name}'], [\urlencode($this->name)], '/images/{name}/push'); } - public function parsePSR7Response(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { - if (Client::FETCH_OBJECT === $fetchMode) { - if (200 === $response->getStatusCode()) { - return new PushStream($response->getBody(), $serializer); - } + if (200 === $status) { + $stream = Stream::create($body); + $stream->rewind(); - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer); + return new PushStream($stream, $serializer); } - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; - } - - throw new InvalidFetchModeException(\sprintf('Fetch mode %s is not supported', $fetchMode)); + return parent::transformResponseBody($body, $status, $serializer, $contentType); } } diff --git a/src/Endpoint/SystemEvents.php b/src/Endpoint/SystemEvents.php index 712e67da5..1526fb817 100644 --- a/src/Endpoint/SystemEvents.php +++ b/src/Endpoint/SystemEvents.php @@ -4,40 +4,22 @@ namespace Docker\Endpoint; -use Amp\Artax\Client as ArtaxClient; use Docker\API\Endpoint\SystemEvents as BaseEndpoint; -use Docker\Client\AmpArtaxStreamEndpoint; -use Docker\Client\AmpArtaxStreamEndpointTrait; -use Docker\Client\ProvideAmpArtaxClientOptions; use Docker\Stream\EventStream; -use Jane\OpenApiRuntime\Client\Client; -use Jane\OpenApiRuntime\Client\Exception\InvalidFetchModeException; -use Psr\Http\Message\ResponseInterface; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; -class SystemEvents extends BaseEndpoint implements ProvideAmpArtaxClientOptions, AmpArtaxStreamEndpoint +class SystemEvents extends BaseEndpoint { - use AmpArtaxStreamEndpointTrait; - - public function getAmpArtaxClientOptions(): array - { - return [ArtaxClient::OP_TRANSFER_TIMEOUT => 0]; - } - - public function parsePSR7Response(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { - if (Client::FETCH_OBJECT === $fetchMode) { - if (200 === $response->getStatusCode()) { - return new EventStream($response->getBody(), $serializer); - } - - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer); - } + if (200 === $status) { + $stream = Stream::create($body); + $stream->rewind(); - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; + return new EventStream($stream, $serializer); } - throw new InvalidFetchModeException(\sprintf('Fetch mode %s is not supported', $fetchMode)); + return parent::transformResponseBody($body, $status, $serializer, $contentType); } } diff --git a/src/Stream/AttachWebsocketStream.php b/src/Stream/AttachWebsocketStream.php index 402e417ca..10a12e546 100644 --- a/src/Stream/AttachWebsocketStream.php +++ b/src/Stream/AttachWebsocketStream.php @@ -87,7 +87,7 @@ public function write($data): void * @param int $waitMicroTime Time to wait in microseconds before return false * @param bool $getFrame Whether to return the frame of websocket or only the data * - * @return null|false|string|array Null for socket not available, false for no message, string for the last message and the frame array if $getFrame is set to true + * @return false|string|array|null Null for socket not available, false for no message, string for the last message and the frame array if $getFrame is set to true */ public function read($waitTime = 0, $waitMicroTime = 200000, $getFrame = false) { diff --git a/src/Stream/BuildStream.php b/src/Stream/BuildStream.php index b6ba9e705..34f32ac41 100644 --- a/src/Stream/BuildStream.php +++ b/src/Stream/BuildStream.php @@ -12,7 +12,7 @@ class BuildStream extends MultiJsonStream { /** - * [@inheritdoc}. + * {@inheritdoc}. */ protected function getDecodeClass() { diff --git a/src/Stream/CallbackStream.php b/src/Stream/CallbackStream.php index 62b746130..459f20ab4 100644 --- a/src/Stream/CallbackStream.php +++ b/src/Stream/CallbackStream.php @@ -19,8 +19,6 @@ public function __construct(StreamInterface $stream) /** * Called when there is a new frame from the stream. - * - * @param callable $onNewFrame */ public function onFrame(callable $onNewFrame): void { diff --git a/src/Stream/CreateImageStream.php b/src/Stream/CreateImageStream.php index f6cb92ca9..8d5aea7c6 100644 --- a/src/Stream/CreateImageStream.php +++ b/src/Stream/CreateImageStream.php @@ -12,7 +12,7 @@ class CreateImageStream extends MultiJsonStream { /** - * [@inheritdoc}. + * {@inheritdoc}. */ protected function getDecodeClass() { diff --git a/src/Stream/DockerRawStream.php b/src/Stream/DockerRawStream.php index 5f71d629c..bd97f817a 100644 --- a/src/Stream/DockerRawStream.php +++ b/src/Stream/DockerRawStream.php @@ -29,8 +29,6 @@ public function __construct(StreamInterface $stream) /** * Add a callable to read stdin. - * - * @param callable $callback */ public function onStdin(callable $callback): void { @@ -39,8 +37,6 @@ public function onStdin(callable $callback): void /** * Add a callable to read stdout. - * - * @param callable $callback */ public function onStdout(callable $callback): void { @@ -49,8 +45,6 @@ public function onStdout(callable $callback): void /** * Add a callable to read stderr. - * - * @param callable $callback */ public function onStderr(callable $callback): void { diff --git a/src/Stream/EventStream.php b/src/Stream/EventStream.php index 0ba9df6f7..90dcf23ed 100644 --- a/src/Stream/EventStream.php +++ b/src/Stream/EventStream.php @@ -12,7 +12,7 @@ class EventStream extends MultiJsonStream { /** - * [@inheritdoc}. + * {@inheritdoc}. */ protected function getDecodeClass() { diff --git a/src/Stream/PushStream.php b/src/Stream/PushStream.php index c40cb6688..4b7242db9 100644 --- a/src/Stream/PushStream.php +++ b/src/Stream/PushStream.php @@ -12,7 +12,7 @@ class PushStream extends MultiJsonStream { /** - * [@inheritdoc}. + * {@inheritdoc}. */ protected function getDecodeClass() { diff --git a/src/Stream/TarStream.php b/src/Stream/TarStream.php index ee0a17519..446da02d1 100644 --- a/src/Stream/TarStream.php +++ b/src/Stream/TarStream.php @@ -4,13 +4,35 @@ namespace Docker\Stream; -use GuzzleHttp\Psr7\Stream; +use Psr\Http\Message\StreamInterface; /** * This class avoid a bug in PHP where fstat return a size of 0 for process stream. */ -class TarStream extends Stream +class TarStream implements StreamInterface { + protected $stream; + + public function __construct(StreamInterface $stream) + { + $this->stream = $stream; + } + + public function __toString() + { + return $this->stream->__toString(); + } + + public function close(): void + { + $this->stream->close(); + } + + public function detach() + { + return $this->stream->detach(); + } + /** * {@inheritdoc} */ @@ -18,4 +40,59 @@ public function getSize() { return null; } + + public function tell(): int + { + return $this->stream->tell(); + } + + public function eof(): bool + { + return $this->stream->eof(); + } + + public function isSeekable(): bool + { + return $this->stream->isSeekable(); + } + + public function seek($offset, $whence = SEEK_SET): void + { + $this->stream->seek($offset, $whence); + } + + public function rewind(): void + { + $this->stream->rewind(); + } + + public function isWritable(): bool + { + return $this->stream->isWritable(); + } + + public function write($string): int + { + return $this->stream->write($string); + } + + public function isReadable(): bool + { + return $this->stream->isReadable(); + } + + public function read($length): string + { + return $this->stream->read($length); + } + + public function getContents(): string + { + return $this->stream->getContents(); + } + + public function getMetadata($key = null) + { + return $this->stream->getMetadata($key); + } } diff --git a/tests/Context/ContextBuilderTest.php b/tests/Context/ContextBuilderTest.php index 828faa63f..f6b72097a 100644 --- a/tests/Context/ContextBuilderTest.php +++ b/tests/Context/ContextBuilderTest.php @@ -62,10 +62,9 @@ public function testWriteTmpFiles(): void $context = $contextBuilder->getContext(); $filename = \preg_replace(<<getDockerfileContent()); + #FROM base + ADD (.+?) /foo# + DOCKERFILE, '$1', $context->getDockerfileContent()); $this->assertStringEqualsFile($context->getDirectory().'/'.$filename, 'random content'); } @@ -80,10 +79,9 @@ public function testWriteTmpFileFromStream(): void $context = $contextBuilder->getContext(); $filename = \preg_replace(<<getDockerfileContent()); + #FROM base + ADD (.+?) /foo# + DOCKERFILE, '$1', $context->getDockerfileContent()); $this->assertStringEqualsFile($context->getDirectory().'/'.$filename, 'test123'); } @@ -97,10 +95,9 @@ public function testWriteTmpFileFromDisk(): void $context = $contextBuilder->getContext(); $filename = \preg_replace(<<getDockerfileContent()); + #FROM base + ADD (.+?) /foo# + DOCKERFILE, '$1', $context->getDockerfileContent()); $this->assertStringEqualsFile($context->getDirectory().'/'.$filename, 'abc'); } @@ -116,10 +113,9 @@ public function testWriteTmpDirFromDisk(): void $context = $contextBuilder->getContext(); $filename = \preg_replace(<<getDockerfileContent()); + #FROM base + ADD (.+?) /foo# + DOCKERFILE, '$1', $context->getDockerfileContent()); $this->assertStringEqualsFile($context->getDirectory().'/'.$filename.'/test', 'abc'); } @@ -130,11 +126,10 @@ public function testWritesAddCommands(): void $context = $contextBuilder->getContext(); - $this->assertRegExp(<<getDockerfileContent() + $this->assertMatchesRegularExpression(<<getDockerfileContent() ); } @@ -146,9 +141,9 @@ public function testWritesRunCommands(): void $context = $contextBuilder->getContext(); $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<getContext(); $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<getContext(); $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<getContext(); $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<getContext(); $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<command('changed'); $content = $contextBuilder->getContext()->getDockerfileContent(); - $this->assertNotContains('CMD test123', $content); + $this->assertStringNotContainsString('CMD test123', $content); $this->assertStringEndsWith("\nCMD changed", $content); } @@ -256,7 +251,7 @@ public function testWritesEntrypointCommand(): void $contextBuilder->entrypoint('changed'); $content = $contextBuilder->getContext()->getDockerfileContent(); - $this->assertNotContains('ENTRYPOINT test123', $content); + $this->assertStringNotContainsString('ENTRYPOINT test123', $content); $this->assertStringEndsWith("\nENTRYPOINT changed", $content); } @@ -266,7 +261,7 @@ public function testTar(): void $contextBuilder->setFormat(Context::FORMAT_TAR); $context = $contextBuilder->getContext(); $content = $context->read(); - $this->assertInternalType('string', $content); + $this->assertIsString($content); $this->assertSame($context->toTar(), $content); } @@ -288,10 +283,9 @@ public function testTraverseSymlinks(): void $context = $contextBuilder->getContext(); $filename = \preg_replace(<<getDockerfileContent()); + #FROM base + ADD (.+?) /foo# + DOCKERFILE, '$1', $context->getDockerfileContent()); \unlink($file); $context->setCleanup(false); $this->assertStringEqualsFile($context->getDirectory().'/'.$filename.'/test-symlink', 'abc'); diff --git a/tests/Context/ContextTest.php b/tests/Context/ContextTest.php index cd2a113f2..9e143cfe4 100644 --- a/tests/Context/ContextTest.php +++ b/tests/Context/ContextTest.php @@ -13,10 +13,10 @@ class ContextTest extends TestCase { public function testReturnsValidTarContent(): void { - $directory = __DIR__.DIRECTORY_SEPARATOR.'context-test'; + $directory = __DIR__.\DIRECTORY_SEPARATOR.'context-test'; $context = new Context($directory); - $process = new Process('/usr/bin/env tar c .', $directory); + $process = new Process(['/usr/bin/env', 'tar', 'c', '.'], $directory); $process->run(); $this->assertSame(\strlen($process->getOutput()), \strlen($context->toTar())); @@ -24,10 +24,10 @@ public function testReturnsValidTarContent(): void public function testReturnsValidTarStream(): void { - $directory = __DIR__.DIRECTORY_SEPARATOR.'context-test'; + $directory = __DIR__.\DIRECTORY_SEPARATOR.'context-test'; $context = new Context($directory); - $this->assertInternalType('resource', $context->toStream()); + $this->assertIsResource($context->toStream()); } public function testDirectorySetter(): void @@ -38,12 +38,11 @@ public function testDirectorySetter(): void $this->assertSame('def', $context->getDirectory()); } - /** - * @expectedException \Symfony\Component\Process\Exception\ProcessFailedException - */ public function testTarFailed(): void { - $directory = __DIR__.DIRECTORY_SEPARATOR.'context-test'; + $this->expectException(\Symfony\Component\Process\Exception\ProcessFailedException::class); + + $directory = __DIR__.\DIRECTORY_SEPARATOR.'context-test'; $path = \getenv('PATH'); \putenv('PATH=/'); $context = new Context($directory); @@ -62,6 +61,6 @@ public function testRemovesFilesOnDestruct(): void unset($context); - $this->assertFileNotExists($file); + $this->assertFileDoesNotExist($file); } } diff --git a/tests/DockerClientFactoryTest.php b/tests/DockerClientFactoryTest.php index 286419d43..e438a4f30 100644 --- a/tests/DockerClientFactoryTest.php +++ b/tests/DockerClientFactoryTest.php @@ -5,7 +5,7 @@ namespace Docker\Tests; use Docker\DockerClientFactory; -use Http\Client\HttpClient; +use Psr\Http\Client\ClientInterface; class DockerClientFactoryTest extends TestCase { @@ -17,15 +17,14 @@ protected function tearDown(): void public function testStaticConstructor(): void { - $this->assertInstanceOf(HttpClient::class, DockerClientFactory::create()); + $this->assertInstanceOf(ClientInterface::class, DockerClientFactory::create()); } - /** - * @expectedException \RuntimeException - * @expectedExceptionMessage Connection to docker has been set to use TLS, but no PATH is defined for certificate in DOCKER_CERT_PATH docker environment variable - */ public function testCreateFromEnvWithoutCertPath(): void { + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('Connection to docker has been set to use TLS, but no PATH is defined for certificate in DOCKER_CERT_PATH docker environment variable'); + \putenv('DOCKER_TLS_VERIFY=1'); DockerClientFactory::createFromEnv(); } @@ -37,7 +36,7 @@ public function testCreateCustomCa(): void $count = \count(\get_resources('stream-context')); $client = DockerClientFactory::createFromEnv(); - $this->assertInstanceOf(HttpClient::class, $client); + $this->assertInstanceOf(ClientInterface::class, $client); $contexts = \get_resources('stream-context'); $this->assertCount($count + 1, $contexts); @@ -57,7 +56,7 @@ public function testCreateCustomPeerName(): void $count = \count(\get_resources('stream-context')); $client = DockerClientFactory::createFromEnv(); - $this->assertInstanceOf(HttpClient::class, $client); + $this->assertInstanceOf(ClientInterface::class, $client); $contexts = \get_resources('stream-context'); $this->assertCount($count + 1, $contexts); diff --git a/tests/Resource/ContainerResourceTest.php b/tests/Resource/ContainerResourceTest.php index d89f3ada9..3ebb77588 100644 --- a/tests/Resource/ContainerResourceTest.php +++ b/tests/Resource/ContainerResourceTest.php @@ -35,13 +35,16 @@ public function testAttach(): void $containerConfig->setImage('busybox:latest'); $containerConfig->setCmd(['echo', '-n', 'output']); $containerConfig->setAttachStdout(true); - $containerConfig->setLabels(new \ArrayObject(['docker-php-test' => 'true'])); + $containerConfig->setLabels(['docker-php-test' => 'true']); $containerCreateResult = $this->getManager()->containerCreate($containerConfig); - $dockerRawStream = $this->getManager()->containerAttach($containerCreateResult->getId(), [ - 'stream' => true, - 'stdout' => true, - ]); + $dockerRawStream = $this->getManager()->containerAttach( + $containerCreateResult->getId(), + [ + 'stream' => true, + 'stdout' => true, + ] + ); $stdoutFull = ''; $dockerRawStream->onStdout(function ($stdout) use (&$stdoutFull): void { @@ -69,12 +72,15 @@ public function testAttachWebsocket(): void $containerConfig->setLabels(new \ArrayObject(['docker-php-test' => 'true'])); $containerCreateResult = $this->getManager()->containerCreate($containerConfig); - $webSocketStream = $this->getManager()->containerAttachWebsocket($containerCreateResult->getId(), [ - 'stream' => true, - 'stdout' => true, - 'stderr' => true, - 'stdin' => true, - ]); + $webSocketStream = $this->getManager()->containerAttachWebsocket( + $containerCreateResult->getId(), + [ + 'stream' => true, + 'stdout' => true, + 'stderr' => true, + 'stdin' => true, + ] + ); $this->getManager()->containerStart($containerCreateResult->getId()); @@ -106,17 +112,21 @@ public function testLogs(): void $containerConfig->setImage('busybox:latest'); $containerConfig->setCmd(['echo', '-n', 'output']); $containerConfig->setAttachStdout(true); - $containerConfig->setLabels(new \ArrayObject(['docker-php-test' => 'true'])); + $containerConfig->setLabels(['docker-php-test' => 'true']); $containerCreateResult = $this->getManager()->containerCreate($containerConfig); $this->getManager()->containerStart($containerCreateResult->getId()); $this->getManager()->containerWait($containerCreateResult->getId()); - $logsStream = $this->getManager()->containerLogs($containerCreateResult->getId(), [ - 'stdout' => true, - 'stderr' => true, - ], Docker::FETCH_OBJECT); + $logsStream = $this->getManager()->containerLogs( + $containerCreateResult->getId(), + [ + 'stdout' => true, + 'stderr' => true, + ], + Docker::FETCH_OBJECT + ); self::assertInstanceOf(DockerRawStream::class, $logsStream); } diff --git a/tests/Resource/ImageResourceTest.php b/tests/Resource/ImageResourceTest.php index e1c129dd0..8e88982da 100644 --- a/tests/Resource/ImageResourceTest.php +++ b/tests/Resource/ImageResourceTest.php @@ -37,7 +37,7 @@ public function testBuild(): void }); $buildStream->wait(); - $this->assertContains('Successfully', $lastMessage); + $this->assertStringContainsString('Successfully', $lastMessage); } public function testCreate(): void @@ -57,7 +57,7 @@ public function testCreate(): void }); $createImageStream->wait(); - $this->assertContains('Pulling from library/registry', $firstMessage); + $this->assertStringContainsString('Pulling from library/registry', $firstMessage); } public function testPushStream(): void @@ -86,6 +86,6 @@ public function testPushStream(): void }); $pushImageStream->wait(); - $this->assertContains('repository [localhost:5000/test-image]', $firstMessage); + $this->assertStringContainsString('repository [localhost:5000/test-image]', $firstMessage); } } diff --git a/tests/Stream/MultiJsonStreamTest.php b/tests/Stream/MultiJsonStreamTest.php index a999f4929..2fd1d36aa 100644 --- a/tests/Stream/MultiJsonStreamTest.php +++ b/tests/Stream/MultiJsonStreamTest.php @@ -7,7 +7,7 @@ use Docker\API\Model\BuildInfo; use Docker\Stream\MultiJsonStream; use Docker\Tests\TestCase; -use GuzzleHttp\Psr7\BufferStream; +use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; class MultiJsonStreamTest extends TestCase @@ -20,7 +20,7 @@ public function jsonStreamDataProvider() ['{}', '{"abc":"def"}'], ], [ - '{"test": "abc\"\""}', + '{"test": "abc\"\""}', ['{"test":"abc\"\""}'], ], [ @@ -37,8 +37,8 @@ public function jsonStreamDataProvider() */ public function testReadJsonEscapedDoubleQuote(string $jsonStream, array $jsonParts): void { - $stream = new BufferStream(); - $stream->write($jsonStream); + $stream = Stream::create($jsonStream); + $stream->rewind(); $serializer = $this->getMockBuilder(SerializerInterface::class) ->getMock(); @@ -46,9 +46,7 @@ public function testReadJsonEscapedDoubleQuote(string $jsonStream, array $jsonPa $serializer ->expects($this->exactly(\count($jsonParts))) ->method('deserialize') - ->withConsecutive(...\array_map(function ($part) { - return [$part, BuildInfo::class, 'json', []]; - }, $jsonParts)) + ->withConsecutive(...\array_map(fn ($part) => [$part, BuildInfo::class, 'json', []], $jsonParts)) ; $stub = $this->getMockForAbstractClass(MultiJsonStream::class, [$stream, $serializer]); From 898328dce5b7ff6aac67a0e749ad8cdc82f24cf4 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Wed, 16 Dec 2020 16:08:40 -0300 Subject: [PATCH 006/142] Fixed ContainerAttach and ContainerAttachWebsocket endpoints --- composer.json | 13 ++++++------- src/Endpoint/ContainerAttach.php | 3 +-- src/Endpoint/ContainerAttachWebsocket.php | 3 +-- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 7ecf5f447..96aaa4f06 100644 --- a/composer.json +++ b/composer.json @@ -30,12 +30,11 @@ "php-http/httplug-bundle": "For integration with Symfony" }, "require-dev": { - "phpunit/phpunit": "^9.5", - "friendsofphp/php-cs-fixer": "^2.17" + "friendsofphp/php-cs-fixer": "^2.17", + "phpunit/phpunit": "^9.5" }, "conflict": { - "amphp/socket": "<0.10.5", - "amphp/artax": "<3.0" + "docker-php/docker-php": "*" }, "scripts": { "test": "vendor/bin/phpunit", @@ -45,9 +44,9 @@ }, "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "3.x-dev" } }, - "prefer-stable": true, - "minimum-stability": "dev" + "minimum-stability": "dev", + "prefer-stable": true } diff --git a/src/Endpoint/ContainerAttach.php b/src/Endpoint/ContainerAttach.php index 0676e3830..e97aee702 100644 --- a/src/Endpoint/ContainerAttach.php +++ b/src/Endpoint/ContainerAttach.php @@ -14,8 +14,7 @@ class ContainerAttach extends BaseEndpoint protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $status && DockerRawStream::HEADER === $contentType) { - $streamFactory = StreamFactoryDiscovery::find(); - $stream = $streamFactory->createStream($jsonStream); + $stream = Stream::create($body); $stream->rewind(); return new DockerRawStream($stream); diff --git a/src/Endpoint/ContainerAttachWebsocket.php b/src/Endpoint/ContainerAttachWebsocket.php index 692599ec8..13decbe84 100644 --- a/src/Endpoint/ContainerAttachWebsocket.php +++ b/src/Endpoint/ContainerAttachWebsocket.php @@ -29,8 +29,7 @@ public function getExtraHeaders(): array protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $status && DockerRawStream::HEADER === $contentType) { - $streamFactory = StreamFactoryDiscovery::find(); - $stream = $streamFactory->createStream($jsonStream); + $stream = Stream::create($body); $stream->rewind(); return new AttachWebsocketStream($stream); From ff353fd40d12dd4539950a779b68316b5f36dda0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Heleno?= Date: Mon, 31 May 2021 09:49:20 -0300 Subject: [PATCH 007/142] Create dependabot.yml --- .github/dependabot.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..e5fae30f4 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + # Maintain dependencies for PHP Packages + - package-ecosystem: "composer" + directory: "/" + schedule: + interval: "daily" From b80bd757b663c1d65a73357ab968ac32fb46048d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 May 2021 12:49:47 +0000 Subject: [PATCH 008/142] Update friendsofphp/php-cs-fixer requirement from ^2.17 to ^2.17 || ^3.0 Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to permit the latest version. - [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases) - [Changelog](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/3.0/CHANGELOG.md) - [Commits](https://github.com/FriendsOfPHP/PHP-CS-Fixer/compare/v2.17.0...v3.0.0) Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 96aaa4f06..9c47c15ec 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "php-http/httplug-bundle": "For integration with Symfony" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17", + "friendsofphp/php-cs-fixer": "^2.17 || ^3.0", "phpunit/phpunit": "^9.5" }, "conflict": { From 60eb0263d081f27f1da172bdf9023c4f5263bc63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Heleno?= Date: Fri, 11 Jun 2021 11:58:46 -0300 Subject: [PATCH 009/142] Create FUNDING.yml --- .github/FUNDING.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..0d1ec551e --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +patreon: flavioheleno From 3cfd88b4e04b9b39f88d0a04afb251f06956bf97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Heleno?= Date: Fri, 25 Jun 2021 16:21:27 -0300 Subject: [PATCH 010/142] Update README.md --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 933def843..53a450a6c 100644 --- a/README.md +++ b/README.md @@ -6,20 +6,19 @@ This library aim to reach 100% API support of the Docker Engine. The test suite currently passes against Docker Remote API v1.25 to v1.36. [![Documentation Status](https://readthedocs.org/projects/docker-php/badge/?version=latest)](http://docker-php.readthedocs.org/en/latest/) -[![Latest Version](https://img.shields.io/github/release/docker-php/docker-php.svg?style=flat-square)](https://github.com/docker-php/docker-php/releases) +[![Latest Version](https://img.shields.io/github/release/beluga-php/docker-php.svg?style=flat-square)](https://github.com/beluga-php/docker-php/releases) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) -[![Build Status](https://img.shields.io/travis/docker-php/docker-php.svg?branch=master&style=flat-square)](https://travis-ci.org/docker-php/docker-php) -[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/docker-php/docker-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/docker-php/docker-php) -[![Quality Score](https://img.shields.io/scrutinizer/g/docker-php/docker-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/docker-php/docker-php) -[![Total Downloads](https://img.shields.io/packagist/dt/docker-php/docker-php.svg?style=flat-square)](https://packagist.org/packages/docker-php/docker-php) -[![#docker-php on Slack](http://slack.httplug.io/badge.svg)](http://slack.httplug.io) +[![Build Status](https://img.shields.io/travis/beluga-php/docker-php.svg?branch=master&style=flat-square)](https://travis-ci.org/beluga-php/docker-php) +[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/beluga-php/docker-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/beluga-php/docker-php) +[![Quality Score](https://img.shields.io/scrutinizer/g/beluga-php/docker-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/beluga-php/docker-php) +[![Total Downloads](https://img.shields.io/packagist/dt/beluga-php/docker-php.svg?style=flat-square)](https://packagist.org/packages/beluga-php/docker-php) ## Installation The recommended way to install Docker PHP is of course to use [Composer](http://getcomposer.org/): ```bash -composer require docker-php/docker-php +composer require beluga-php/docker-php ``` ## Docker API Version @@ -28,7 +27,7 @@ By default it will use the last version of docker api available, if you want to requirement to composer: ```bash -composer require "docker-php/docker-php-api:4.1.25.*" +composer require "beluga-php/docker-php-api:4.1.25.*" ``` ## Usage From 70f6b1b480b9bc937f3d9ddd8d52fb983263a81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Heleno?= Date: Thu, 29 Jul 2021 14:02:18 -0300 Subject: [PATCH 011/142] Create continuous-integration.yml --- .github/workflows/continuous-integration.yml | 78 ++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 .github/workflows/continuous-integration.yml diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml new file mode 100644 index 000000000..57b2432d0 --- /dev/null +++ b/.github/workflows/continuous-integration.yml @@ -0,0 +1,78 @@ +name: "Continuous Integration" + +on: + push: + paths-ignore: + - 'doc/**' + - '.github/**' + pull_request: + paths-ignore: + - 'doc/**' + - '.github/**' + +jobs: + phpunit: + name: PHP ${{ matrix.php-version }} (${{ matrix.dependency-version }}) + + runs-on: ubuntu-latest + continue-on-error: ${{ matrix.experimental }} + + strategy: + fail-fast: false + matrix: + php-version: + - "7.4" + - "8.0" + dependency-version: [prefer-lowest, prefer-stable] + experimental: [false] + include: + - php-version: "8.1" + dependency-version: "prefer-lowest" + experimental: true + - php-version: "8.1" + dependency-version: "prefer-lowest" + experimental: true + + steps: + - uses: actions/checkout@v2.3.4 + + - name: Setup PHP with PECL extension + uses: shivammathur/setup-php@2.12.0 + with: + php-version: ${{ matrix.php-version }} + tools: composer:v2 + coverage: pcov + + - name: Validate composer.json and composer.lock + run: composer validate + + - name: Get composer cache directory + id: composer-cache + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + + - name: Cache Composer packages + uses: actions/cache@v2.1.6 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} + restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}- + + - name: Install dependencies (PHP 7) + if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-version < 8 + run: composer update --${{ matrix.dependency-version }} --no-progress --no-interaction + + - name: Install dependencies (PHP 8) + if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-version >= 8 + run: composer update --${{ matrix.dependency-version }} --ignore-platform-req=php --no-progress --no-interaction + + - name: Run PHPUnit test suite + run: composer run-script test-ci + + - name: Publish code coverage + uses: paambaati/codeclimate-action@v2.7.5 + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + with: + coverageCommand: composer run-script test-coverage + coverageLocations: | + ${{github.workspace}}/clover.xml:clover From 8b3a1958f408990915a2706473cfbfffc9d3f66b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Heleno?= Date: Thu, 29 Jul 2021 14:02:57 -0300 Subject: [PATCH 012/142] Create static-analysis.yml --- .github/workflows/static-analysis.yml | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/static-analysis.yml diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 000000000..12c2414fd --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,48 @@ +name: "Static Analysis" + +on: + push: + paths-ignore: + - 'doc/**' + - '.github/**' + pull_request: + paths-ignore: + - 'doc/**' + - '.github/**' + +jobs: + phpstan: + name: PHPStan + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2.3.4 + + - name: Setup PHP with PECL extension + uses: shivammathur/setup-php@2.12.0 + with: + php-version: 8.0 + tools: composer:v2 + coverage: none + + - name: Validate composer.json and composer.lock + run: composer validate + + - name: Get composer cache directory + id: composer-cache + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + + - name: Cache Composer packages + uses: actions/cache@v2.1.6 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: phpstan-linux-php-8.0-${{ hashFiles('**/composer.lock') }} + restore-keys: phpstan-linux-php-8.0- + + - name: Install dependencies + if: steps.composer-cache.outputs.cache-hit != 'true' + run: composer update --prefer-stable --ignore-platform-req=php --no-progress --no-interaction + + - name: Run PHPStan + run: composer run-script phpstan -- --no-progress From 8e4494bdabd04726b8b9bd04cf5d568b570c5bd6 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Thu, 29 Jul 2021 14:22:11 -0300 Subject: [PATCH 013/142] Remove TravisCI and Scrutinizer --- .scrutinizer.yml | 11 -------- .travis.yml | 68 ------------------------------------------------ README.md | 9 +++---- composer.json | 64 +++++++++++++++++++++++++++++++++++++-------- 4 files changed, 56 insertions(+), 96 deletions(-) delete mode 100644 .scrutinizer.yml delete mode 100644 .travis.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index 60d211bf7..000000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,11 +0,0 @@ -filter: - paths: [src/*] -checks: - php: - code_rating: true - duplication: true -tools: - external_code_coverage: true - php_code_sniffer: - config: - standard: "PSR2" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 41708d6f6..000000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ -language: php -sudo: required - -services: - - docker - -cache: - directories: - - $HOME/.composer/cache - -php: 7.2 - -env: - global: - - TEST_COMMAND="composer test" - matrix: - - DOCKER_API_VERSION=1.36 DOCKER_VERSION=18.02.0~ce-0~ubuntu - - DOCKER_API_VERSION=1.36 DOCKER_VERSION=18.01.0~ce-0~ubuntu - - DOCKER_API_VERSION=1.35 DOCKER_VERSION=17.12.0~ce-0~ubuntu - - DOCKER_API_VERSION=1.34 DOCKER_VERSION=17.11.0~ce-0~ubuntu - - DOCKER_API_VERSION=1.33 DOCKER_VERSION=17.10.0~ce-0~ubuntu - - DOCKER_API_VERSION=1.32 DOCKER_VERSION=17.09.0~ce-0~ubuntu - - DOCKER_API_VERSION=1.31 DOCKER_VERSION=17.07.0~ce-0~ubuntu - - DOCKER_API_VERSION=1.30 DOCKER_VERSION=17.06.2~ce-0~ubuntu - - DOCKER_API_VERSION=1.29 DOCKER_VERSION=17.05.0~ce-0~ubuntu-trusty - - DOCKER_API_VERSION=1.28 DOCKER_VERSION=17.04.0~ce-0~ubuntu-trusty - - DOCKER_API_VERSION=1.27 DOCKER_VERSION=17.03.2~ce-0~ubuntu-trusty - - DOCKER_API_VERSION=1.26 DOCKER_VERSION=17.03.2~ce-0~ubuntu-trusty - - DOCKER_API_VERSION=1.25 DOCKER_VERSION=17.03.2~ce-0~ubuntu-trusty - -matrix: - allow_failures: - - php: hhvm - fast_finish: true - include: - - php: 7.1 - sudo: required - services: - - docker - env: DOCKER_API_VERSION=1.25 DOCKER_VERSION=17.03.2~ce-0~ubuntu-trusty COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" - - php: 7.1 - env: DOCKER_API_VERSION=1.36 DOCKER_VERSION=18.02.0~ce-0~ubuntu TEST_COMMAND="composer lint" - - php: 7.2 - sudo: required - services: - - docker - env: DOCKER_API_VERSION=1.36 DOCKER_VERSION=18.02.0~ce-0~ubuntu - -before_install: - - sudo apt-get update - - sudo apt-cache madison docker-ce - - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y --force-yes docker-ce=${DOCKER_VERSION} - - travis_retry composer self-update - -install: - - travis_retry composer install - - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction - - travis_retry composer require docker-php/docker-php-api:4.${DOCKER_API_VERSION}.* - -script: - - $TEST_COMMAND - -after_success: - - if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi - - if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi - -after_script: - - sudo cat /var/log/upstart/docker.log diff --git a/README.md b/README.md index 53a450a6c..51495e03b 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ The test suite currently passes against Docker Remote API v1.25 to v1.36. [![Documentation Status](https://readthedocs.org/projects/docker-php/badge/?version=latest)](http://docker-php.readthedocs.org/en/latest/) [![Latest Version](https://img.shields.io/github/release/beluga-php/docker-php.svg?style=flat-square)](https://github.com/beluga-php/docker-php/releases) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) -[![Build Status](https://img.shields.io/travis/beluga-php/docker-php.svg?branch=master&style=flat-square)](https://travis-ci.org/beluga-php/docker-php) -[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/beluga-php/docker-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/beluga-php/docker-php) -[![Quality Score](https://img.shields.io/scrutinizer/g/beluga-php/docker-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/beluga-php/docker-php) [![Total Downloads](https://img.shields.io/packagist/dt/beluga-php/docker-php.svg?style=flat-square)](https://packagist.org/packages/beluga-php/docker-php) ## Installation @@ -23,11 +20,11 @@ composer require beluga-php/docker-php ## Docker API Version -By default it will use the last version of docker api available, if you want to fix a version (like 1.25) you can add this +By default it will use the last version of docker api available, if you want to fix a version (like 1.41) you can add this requirement to composer: ```bash -composer require "beluga-php/docker-php-api:4.1.25.*" +composer require "beluga-php/docker-php-api:6.1.41.*" ``` ## Usage @@ -56,7 +53,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details. This README heavily inspired by [willdurand/Negotiation](https://github.com/willdurand/Negotiation) by @willdurand. This guy is pretty awesome. -This library is a fork of the original [docker-php](https://github.com/docker-php/docker-php), created by [Geoffrey Bachelet](https://github.com/ubermuda) and [Joel Wurtz](https://github.com/joelwurtz). +This library is a fork of the original [docker-php/docker-php](https://github.com/docker-php/docker-php), created by [Geoffrey Bachelet](https://github.com/ubermuda) and [Joel Wurtz](https://github.com/joelwurtz). ## License diff --git a/composer.json b/composer.json index 9c47c15ec..76c816e45 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,12 @@ "type": "library", "description": "A Docker PHP client", "config": { - "sort-packages": true + "optimize-autoloader": true, + "sort-packages": true, + "preferred-install": "dist" }, + "minimum-stability": "dev", + "prefer-stable": true, "autoload": { "psr-4": { "Docker\\": "src/" @@ -16,9 +20,15 @@ "Docker\\Tests\\": "tests/" } }, + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/flavioheleno" + } + ], "require": { "php": ">=7.1", - "beluga-php/docker-php-api": "6.1.*", + "beluga-php/docker-php-api": "6.1.41.0", "nyholm/psr7": "^1.3", "php-http/client-common": "^2.3", "php-http/socket-client": "^2.0", @@ -30,23 +40,55 @@ "php-http/httplug-bundle": "For integration with Symfony" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17 || ^3.0", - "phpunit/phpunit": "^9.5" + "friendsofphp/php-cs-fixer": "^2.17", + "infection/infection": "^0.21.5", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan": "^0.12.58", + "phpunit/phpunit": "^9.5", + "psy/psysh": "^0.10.5", + "roave/security-advisories": "dev-master", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.3" }, "conflict": { "docker-php/docker-php": "*" }, "scripts": { - "test": "vendor/bin/phpunit", - "test-ci": "vendor/bin/phpunit --coverage-clover build/coverage.xml", - "lint": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", - "lint-fix": "vendor/bin/php-cs-fixer fix --verbose" + "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", + "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", + "console": "vendor/bin/psysh", + "infection": "vendor/bin/infection", + "lint": "vendor/bin/parallel-lint --exclude vendor .", + "phpcs": "vendor/bin/phpcs --standard=ruleset.xml src/ tests/", + "phpstan": "vendor/bin/phpstan analyse --level=max --autoload-file=vendor/autoload.php src/", + "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", + "psalm": "vendor/bin/psalm --taint-analysis", + "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", + "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", + "test": [ + "@infection", + "@lint", + "@phpunit", + "@phpstan", + "@psalm", + "@phpcs" + ] + }, + "scripts-descriptions": { + "console": "Runs PsySH Console", + "infection": "Runs mutation test framework", + "lint": "Runs complete codebase lint testing", + "phpcs": "Runs coding style checking", + "phpstan": "Runs complete codebase static analysis", + "phpunit": "Runs library test suite", + "psalm": "Runs complete codebase taint analysis", + "test-ci": "Runs library test suite (for continuous integration)", + "test-coverage": "Runs test-coverage analysis", + "test": "Runs all tests" }, "extra": { "branch-alias": { "dev-master": "3.x-dev" } - }, - "minimum-stability": "dev", - "prefer-stable": true + } } From 66ac8f602338bd964fe8fe65ae51f05b2b44e70f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Jul 2021 09:17:10 +0000 Subject: [PATCH 014/142] Update infection/infection requirement || ^0.24.0 Updates the requirements on [infection/infection](https://github.com/infection/infection) to permit the latest version. - [Release notes](https://github.com/infection/infection/releases) - [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md) - [Commits](https://github.com/infection/infection/compare/0.21.5...0.24.0) --- updated-dependencies: - dependency-name: infection/infection dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 76c816e45..851b5c247 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.17", - "infection/infection": "^0.21.5", + "infection/infection": "^0.21.5 || ^0.24.0", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan": "^0.12.58", "phpunit/phpunit": "^9.5", From fbff34d75c861a00701cb473781d35bf6eb5d932 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Aug 2021 09:11:03 +0000 Subject: [PATCH 015/142] Bump shivammathur/setup-php from 2.12.0 to 2.13.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.12.0 to 2.13.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.12.0...2.13.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 57b2432d0..33eb34eb4 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v2.3.4 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.12.0 + uses: shivammathur/setup-php@2.13.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 12c2414fd..57f191617 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v2.3.4 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.12.0 + uses: shivammathur/setup-php@2.13.0 with: php-version: 8.0 tools: composer:v2 From abefbace15bb0d4c9cbbb68f63aabc88c5922e45 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Sep 2021 09:12:52 +0000 Subject: [PATCH 016/142] Bump shivammathur/setup-php from 2.13.0 to 2.14.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.13.0 to 2.14.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.13.0...2.14.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 33eb34eb4..f9ffecfb2 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v2.3.4 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.13.0 + uses: shivammathur/setup-php@2.14.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 57f191617..bd4b38782 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v2.3.4 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.13.0 + uses: shivammathur/setup-php@2.14.0 with: php-version: 8.0 tools: composer:v2 From 8d520658761052239d0015a8b93143e33266b972 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Oct 2021 09:15:58 +0000 Subject: [PATCH 017/142] Bump actions/checkout from 2.3.4 to 2.3.5 Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5. - [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/v2.3.4...v2.3.5) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f9ffecfb2..ff7237675 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -34,7 +34,7 @@ jobs: experimental: true steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v2.3.5 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@2.14.0 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index bd4b38782..ef53d08b6 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v2.3.5 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@2.14.0 From f755a93e2f6c0ea71e62eec782f19ad3961cafe6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Oct 2021 14:58:42 +0000 Subject: [PATCH 018/142] Bump shivammathur/setup-php from 2.14.0 to 2.15.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.14.0 to 2.15.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.14.0...2.15.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index ff7237675..4ea28cd36 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v2.3.5 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.14.0 + uses: shivammathur/setup-php@2.15.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index ef53d08b6..6b2dba782 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v2.3.5 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.14.0 + uses: shivammathur/setup-php@2.15.0 with: php-version: 8.0 tools: composer:v2 From 14563c39ca54632f7206c7fdd8783d72a92aff89 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Nov 2021 09:12:34 +0000 Subject: [PATCH 019/142] Bump actions/cache from 2.1.6 to 2.1.7 Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4ea28cd36..9ea4387b0 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -51,7 +51,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache Composer packages - uses: actions/cache@v2.1.6 + uses: actions/cache@v2.1.7 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 6b2dba782..8f3d2aadf 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -34,7 +34,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache Composer packages - uses: actions/cache@v2.1.6 + uses: actions/cache@v2.1.7 with: path: ${{ steps.composer-cache.outputs.dir }} key: phpstan-linux-php-8.0-${{ hashFiles('**/composer.lock') }} From a1cddc8176cd6bdd29a67060f37675a3ac435ea9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Nov 2021 09:12:25 +0000 Subject: [PATCH 020/142] Bump shivammathur/setup-php from 2.15.0 to 2.16.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.15.0 to 2.16.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.15.0...2.16.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9ea4387b0..a5f3195d5 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v2.3.5 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.15.0 + uses: shivammathur/setup-php@2.16.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 8f3d2aadf..5c643a549 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v2.3.5 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.15.0 + uses: shivammathur/setup-php@2.16.0 with: php-version: 8.0 tools: composer:v2 From fb0b0c1f2ca0316203d17953e318abf4a0c31b62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Nov 2021 18:30:37 +0000 Subject: [PATCH 021/142] Bump actions/checkout from 2.3.5 to 2.4.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0. - [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/v2.3.5...v2.4.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index a5f3195d5..50ea0f169 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -34,7 +34,7 @@ jobs: experimental: true steps: - - uses: actions/checkout@v2.3.5 + - uses: actions/checkout@v2.4.0 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@2.16.0 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 5c643a549..f4e8df50d 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.5 + - uses: actions/checkout@v2.4.0 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@2.16.0 From d7316073b2b658cc7662f2e6489c06f07a9401fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Feb 2022 09:15:30 +0000 Subject: [PATCH 022/142] Bump shivammathur/setup-php from 2.16.0 to 2.17.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.16.0 to 2.17.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.16.0...2.17.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 50ea0f169..8fd1856ac 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v2.4.0 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.16.0 + uses: shivammathur/setup-php@2.17.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index f4e8df50d..f3e436b30 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v2.4.0 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.16.0 + uses: shivammathur/setup-php@2.17.0 with: php-version: 8.0 tools: composer:v2 From bdcb1980f00d594112a563bd724a2650cb5f2a69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Mar 2022 09:24:36 +0000 Subject: [PATCH 023/142] Bump actions/checkout from 2.4.0 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3. - [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/v2.4.0...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 8fd1856ac..fdc00d418 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -34,7 +34,7 @@ jobs: experimental: true steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@2.17.0 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index f3e436b30..64274ef26 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@2.17.0 From 132d9362ca9b40af2a0bb03a3877f51ada3f745a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Mar 2022 09:24:39 +0000 Subject: [PATCH 024/142] Bump shivammathur/setup-php from 2.17.0 to 2.17.1 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.17.0 to 2.17.1. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.17.0...2.17.1) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index fdc00d418..4cb8b02df 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.17.0 + uses: shivammathur/setup-php@2.17.1 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 64274ef26..4ae98ab7d 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.17.0 + uses: shivammathur/setup-php@2.17.1 with: php-version: 8.0 tools: composer:v2 From 20d1609fc74330cd88c291c961b0adda44d91a45 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Mar 2022 09:11:36 +0000 Subject: [PATCH 025/142] Bump actions/cache from 2.1.7 to 3 Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.7...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4cb8b02df..95d4d4228 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -51,7 +51,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache Composer packages - uses: actions/cache@v2.1.7 + uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 4ae98ab7d..aa052b608 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -34,7 +34,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache Composer packages - uses: actions/cache@v2.1.7 + uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} key: phpstan-linux-php-8.0-${{ hashFiles('**/composer.lock') }} From d21f6ac752b81afc1f3ba20361488e709103e019 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Mar 2022 09:27:35 +0000 Subject: [PATCH 026/142] Bump shivammathur/setup-php from 2.17.1 to 2.18.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.17.1 to 2.18.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.17.1...2.18.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 95d4d4228..240a4090a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.17.1 + uses: shivammathur/setup-php@2.18.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index aa052b608..07a00b7ad 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.17.1 + uses: shivammathur/setup-php@2.18.0 with: php-version: 8.0 tools: composer:v2 From 9cf7805a536dd3e07d5e06f59f251e0f79b29d43 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 09:15:29 +0000 Subject: [PATCH 027/142] Bump shivammathur/setup-php from 2.18.0 to 2.18.1 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.18.0 to 2.18.1. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.18.0...2.18.1) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 240a4090a..be1d5950b 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.18.0 + uses: shivammathur/setup-php@2.18.1 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 07a00b7ad..b877901fa 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.18.0 + uses: shivammathur/setup-php@2.18.1 with: php-version: 8.0 tools: composer:v2 From 60039448430d2c106dd41990f639ca4b1740946f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 May 2022 09:17:25 +0000 Subject: [PATCH 028/142] Bump shivammathur/setup-php from 2.18.1 to 2.19.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.18.1 to 2.19.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.18.1...2.19.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index be1d5950b..112db1815 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.18.1 + uses: shivammathur/setup-php@2.19.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index b877901fa..30ab526d9 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.18.1 + uses: shivammathur/setup-php@2.19.0 with: php-version: 8.0 tools: composer:v2 From 0eecf2a30491503a1a1d5dad85238ff5b359cb0f Mon Sep 17 00:00:00 2001 From: Rodrigo Aguilera Date: Sun, 5 Jun 2022 08:26:09 +0200 Subject: [PATCH 029/142] Require Symfony 6. --- .github/workflows/continuous-integration.yml | 10 +--------- composer.json | 6 +++--- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 112db1815..261a69e07 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,17 +21,9 @@ jobs: fail-fast: false matrix: php-version: - - "7.4" - - "8.0" + - "8.1" dependency-version: [prefer-lowest, prefer-stable] experimental: [false] - include: - - php-version: "8.1" - dependency-version: "prefer-lowest" - experimental: true - - php-version: "8.1" - dependency-version: "prefer-lowest" - experimental: true steps: - uses: actions/checkout@v3 diff --git a/composer.json b/composer.json index 851b5c247..684e8ba24 100644 --- a/composer.json +++ b/composer.json @@ -27,14 +27,14 @@ } ], "require": { - "php": ">=7.1", + "php": ">=8.1", "beluga-php/docker-php-api": "6.1.41.0", "nyholm/psr7": "^1.3", "php-http/client-common": "^2.3", "php-http/socket-client": "^2.0", "psr/http-message": "^1.0", - "symfony/filesystem": "^5.2", - "symfony/process": "^5.2" + "symfony/filesystem": "^6.1", + "symfony/process": "^6.1" }, "suggest": { "php-http/httplug-bundle": "For integration with Symfony" From 70b45b639ce385ddf8e8e1d0333264c436f20dd4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jun 2022 09:15:52 +0000 Subject: [PATCH 030/142] Bump shivammathur/setup-php from 2.19.0 to 2.19.1 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.19.0 to 2.19.1. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.19.0...2.19.1) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 261a69e07..98a7327c3 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.19.0 + uses: shivammathur/setup-php@2.19.1 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 30ab526d9..59e0ab2ab 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.19.0 + uses: shivammathur/setup-php@2.19.1 with: php-version: 8.0 tools: composer:v2 From e95e8956ce3fd43346a403f67704dbc0796f0eab Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 7 Jun 2022 14:57:16 -0300 Subject: [PATCH 031/142] Updated dev dependencies --- .gitignore | 2 +- .php_cs => .php-cs-fixer.php | 4 ++-- composer.json | 13 ++++++++----- 3 files changed, 11 insertions(+), 8 deletions(-) rename .php_cs => .php-cs-fixer.php (94%) diff --git a/.gitignore b/.gitignore index 228f5459f..64afb0b51 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ vendor/ bin/ composer.lock .vagrant -/.php_cs.cache +/.php-cs-fixer.cache diff --git a/.php_cs b/.php-cs-fixer.php similarity index 94% rename from .php_cs rename to .php-cs-fixer.php index 2555e1b84..3bde3b9fc 100644 --- a/.php_cs +++ b/.php-cs-fixer.php @@ -8,11 +8,11 @@ ->notPath('/fixtures/') ; -return \PhpCsFixer\Config::create() +$config = new \PhpCsFixer\Config(); +return $config ->setRules([ '@Symfony' => true, '@Symfony:risky' => true, - '@PHP56Migration' => true, '@PHP56Migration:risky' => true, '@PHP70Migration' => true, '@PHP70Migration:risky' => true, diff --git a/composer.json b/composer.json index 684e8ba24..fea3731ca 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,10 @@ "config": { "optimize-autoloader": true, "sort-packages": true, - "preferred-install": "dist" + "preferred-install": "dist", + "allow-plugins": { + "infection/extension-installer": true + } }, "minimum-stability": "dev", "prefer-stable": true, @@ -40,12 +43,12 @@ "php-http/httplug-bundle": "For integration with Symfony" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17", - "infection/infection": "^0.21.5 || ^0.24.0", + "friendsofphp/php-cs-fixer": "^3.8", + "infection/infection": "^0.26", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan": "^0.12.58", + "phpstan/phpstan": "^1.0", "phpunit/phpunit": "^9.5", - "psy/psysh": "^0.10.5", + "psy/psysh": "^0.11", "roave/security-advisories": "dev-master", "squizlabs/php_codesniffer": "^3.5", "vimeo/psalm": "^4.3" From 670be31ae64d5f12d497423795737037351ff7ba Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 7 Jun 2022 15:56:29 -0300 Subject: [PATCH 032/142] Add missing 'use' (introduced by c18d7f9) --- src/Endpoint/ContainerAttachWebsocket.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Endpoint/ContainerAttachWebsocket.php b/src/Endpoint/ContainerAttachWebsocket.php index 13decbe84..0d2d1c95f 100644 --- a/src/Endpoint/ContainerAttachWebsocket.php +++ b/src/Endpoint/ContainerAttachWebsocket.php @@ -6,6 +6,7 @@ use Docker\API\Endpoint\ContainerAttachWebsocket as BaseEndpoint; use Docker\Stream\AttachWebsocketStream; +use Docker\Stream\DockerRawStream; use Nyholm\Psr7\Stream; use Symfony\Component\Serializer\SerializerInterface; From 206ebe52932d8ab1bc54575cababd9980bf8bcb7 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 7 Jun 2022 15:57:15 -0300 Subject: [PATCH 033/142] Update method signature in Docker.php --- src/Docker.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Docker.php b/src/Docker.php index bdfe028fd..536cfeb64 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -5,6 +5,7 @@ namespace Docker; use Docker\API\Client; +use Docker\API\Model\AuthConfig; use Docker\API\Model\ExecIdStartPostBody; use Docker\Endpoint\ContainerAttach; use Docker\Endpoint\ContainerAttachWebsocket; @@ -47,7 +48,7 @@ public function containerLogs(string $id, array $queryParameters = [], string $f /** * {@inheritdoc} */ - public function execStart(string $id, ExecIdStartPostBody $execStartConfig, string $fetch = self::FETCH_OBJECT) + public function execStart(string $id, ?ExecIdStartPostBody $execStartConfig = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new ExecStart($id, $execStartConfig), $fetch); } @@ -55,7 +56,7 @@ public function execStart(string $id, ExecIdStartPostBody $execStartConfig, stri /** * {@inheritdoc} */ - public function imageBuild($inputStream, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function imageBuild($inputStream = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new ImageBuild($inputStream, $queryParameters, $headerParameters), $fetch); } @@ -63,7 +64,7 @@ public function imageBuild($inputStream, array $queryParameters = [], array $hea /** * {@inheritdoc} */ - public function imageCreate(string $inputImage, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function imageCreate(?string $inputImage = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new ImageCreate($inputImage, $queryParameters, $headerParameters), $fetch); } @@ -88,12 +89,12 @@ public function systemEvents(array $queryParameters = [], string $fetch = self:: return $this->executeEndpoint(new SystemEvents($queryParameters), $fetch); } - public static function create($httpClient = null, array $additionalPlugins = []) + public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) { if (null === $httpClient) { $httpClient = DockerClientFactory::createFromEnv(); } - return parent::create($httpClient, $additionalPlugins); + return parent::create($httpClient, $additionalPlugins, $additionalNormalizers); } } From 92753624021ef0236676eb020b17149cd24b096e Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 7 Jun 2022 15:58:48 -0300 Subject: [PATCH 034/142] Add dependencies based on composer-require-checker output --- composer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index fea3731ca..476e2c480 100644 --- a/composer.json +++ b/composer.json @@ -31,10 +31,11 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": "6.1.41.0", + "beluga-php/docker-php-api": "7.1.41.x-dev", "nyholm/psr7": "^1.3", "php-http/client-common": "^2.3", "php-http/socket-client": "^2.0", + "psr/http-client": "^1.0", "psr/http-message": "^1.0", "symfony/filesystem": "^6.1", "symfony/process": "^6.1" @@ -91,7 +92,7 @@ }, "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "4.x-dev" } } } From 1732d9f98d39b976475a3de4fe33fe7de56c7e27 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 7 Jun 2022 16:22:50 -0300 Subject: [PATCH 035/142] Revert 'dev-master' alias to '3.x-dev' --- composer.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 476e2c480..45cccea6d 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,10 @@ } }, "funding": [ + { + "type": "github", + "url": "https://github.com/flavioheleno" + }, { "type": "patreon", "url": "https://www.patreon.com/flavioheleno" @@ -92,7 +96,7 @@ }, "extra": { "branch-alias": { - "dev-master": "4.x-dev" + "dev-master": "3.x-dev" } } } From fea8218c2472bd8225fe319ed7288b2fbb3fdbe7 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 7 Jun 2022 16:24:49 -0300 Subject: [PATCH 036/142] Update FUNDING.yml --- .github/FUNDING.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 0d1ec551e..d018c1530 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,5 @@ # These are supported funding model platforms +github: flavioheleno patreon: flavioheleno +custom: "https://www.buymeacoffee.com/flavioheleno" From 5d27f9bf2ac2f5ff23ccd729c88895887696cce8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Jul 2022 09:18:12 +0000 Subject: [PATCH 037/142] Bump shivammathur/setup-php from 2.19.1 to 2.20.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.19.1 to 2.20.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.19.1...2.20.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 98a7327c3..1e0cae6fd 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.19.1 + uses: shivammathur/setup-php@2.20.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 59e0ab2ab..25f362ee7 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.19.1 + uses: shivammathur/setup-php@2.20.0 with: php-version: 8.0 tools: composer:v2 From 8ef7b8e44995d99f05967c8b09da3edc882f0161 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Dec 2022 09:02:47 +0000 Subject: [PATCH 038/142] Bump shivammathur/setup-php from 2.20.0 to 2.23.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.20.0 to 2.23.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.20.0...2.23.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 1e0cae6fd..c65253970 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.20.0 + uses: shivammathur/setup-php@2.23.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 25f362ee7..0f805271e 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.20.0 + uses: shivammathur/setup-php@2.23.0 with: php-version: 8.0 tools: composer:v2 From edfe25aa9815ecb18a7e5ae6a6e4b193be621d18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Oct 2022 09:20:23 +0000 Subject: [PATCH 039/142] Bump paambaati/codeclimate-action from 2.7.5 to 3.2.0 Bumps [paambaati/codeclimate-action](https://github.com/paambaati/codeclimate-action) from 2.7.5 to 3.2.0. - [Release notes](https://github.com/paambaati/codeclimate-action/releases) - [Changelog](https://github.com/paambaati/codeclimate-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/paambaati/codeclimate-action/compare/v2.7.5...v3.2.0) --- updated-dependencies: - dependency-name: paambaati/codeclimate-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c65253970..5873b17e9 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -61,7 +61,7 @@ jobs: run: composer run-script test-ci - name: Publish code coverage - uses: paambaati/codeclimate-action@v2.7.5 + uses: paambaati/codeclimate-action@v3.2.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: From 78e61b6b9bba163dc625cd45e3a196514cc85845 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Jan 2023 09:02:13 +0000 Subject: [PATCH 040/142] Bump shivammathur/setup-php from 2.23.0 to 2.24.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.23.0 to 2.24.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.23.0...2.24.0) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 5873b17e9..b4e2c0319 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.23.0 + uses: shivammathur/setup-php@2.24.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 0f805271e..f704b0bc8 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.23.0 + uses: shivammathur/setup-php@2.24.0 with: php-version: 8.0 tools: composer:v2 From 201acb9816fc2990b46a1b2594101c806d0a4ec2 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 10 Jul 2023 10:31:21 -0300 Subject: [PATCH 041/142] Update method signatures following latest API generated code --- src/Docker.php | 16 ++++++++-------- src/Endpoint/ContainerAttach.php | 13 +++++-------- src/Endpoint/ContainerAttachWebsocket.php | 13 +++++-------- src/Endpoint/ContainerLogs.php | 13 +++++-------- src/Endpoint/ExecStart.php | 13 +++++-------- src/Endpoint/ImageBuild.php | 12 +++++------- src/Endpoint/ImageCreate.php | 13 +++++-------- src/Endpoint/ImagePush.php | 13 +++++-------- src/Endpoint/SystemEvents.php | 13 +++++-------- 9 files changed, 48 insertions(+), 71 deletions(-) diff --git a/src/Docker.php b/src/Docker.php index 536cfeb64..605c21df8 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -24,25 +24,25 @@ class Docker extends Client /** * {@inheritdoc} */ - public function containerAttach(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function containerAttach(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new ContainerAttach($id, $queryParameters), $fetch); + return $this->executeEndpoint(new ContainerAttach($id, $queryParameters, $accept), $fetch); } /** * {@inheritdoc} */ - public function containerAttachWebsocket(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function containerAttachWebsocket(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new ContainerAttachWebsocket($id, $queryParameters), $fetch); + return $this->executeEndpoint(new ContainerAttachWebsocket($id, $queryParameters, $accept), $fetch); } /** * {@inheritdoc} */ - public function containerLogs(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function containerLogs(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new ContainerLogs($id, $queryParameters), $fetch); + return $this->executeEndpoint(new ContainerLogs($id, $queryParameters, $accept), $fetch); } /** @@ -72,13 +72,13 @@ public function imageCreate(?string $inputImage = null, array $queryParameters = /** * {@inheritdoc} */ - public function imagePush(string $name, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function imagePush(string $name, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { if (isset($headerParameters['X-Registry-Auth']) && $headerParameters['X-Registry-Auth'] instanceof AuthConfig) { $headerParameters['X-Registry-Auth'] = \base64_encode($this->serializer->serialize($headerParameters['X-Registry-Auth'], 'json')); } - return $this->executeEndpoint(new ImagePush($name, $queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new ImagePush($name, $queryParameters, $headerParameters, $accept), $fetch); } /** diff --git a/src/Endpoint/ContainerAttach.php b/src/Endpoint/ContainerAttach.php index e97aee702..1c776639e 100644 --- a/src/Endpoint/ContainerAttach.php +++ b/src/Endpoint/ContainerAttach.php @@ -6,20 +6,17 @@ use Docker\API\Endpoint\ContainerAttach as BaseEndpoint; use Docker\Stream\DockerRawStream; -use Nyholm\Psr7\Stream; +use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; class ContainerAttach extends BaseEndpoint { - protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $status && DockerRawStream::HEADER === $contentType) { - $stream = Stream::create($body); - $stream->rewind(); - - return new DockerRawStream($stream); + if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { + return new DockerRawStream($response->getBody()); } - return parent::transformResponseBody($body, $status, $serializer, $contentType); + return parent::transformResponseBody($response, $serializer, $contentType); } } diff --git a/src/Endpoint/ContainerAttachWebsocket.php b/src/Endpoint/ContainerAttachWebsocket.php index 0d2d1c95f..0bbe7c309 100644 --- a/src/Endpoint/ContainerAttachWebsocket.php +++ b/src/Endpoint/ContainerAttachWebsocket.php @@ -7,7 +7,7 @@ use Docker\API\Endpoint\ContainerAttachWebsocket as BaseEndpoint; use Docker\Stream\AttachWebsocketStream; use Docker\Stream\DockerRawStream; -use Nyholm\Psr7\Stream; +use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; class ContainerAttachWebsocket extends BaseEndpoint @@ -27,15 +27,12 @@ public function getExtraHeaders(): array ); } - protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $status && DockerRawStream::HEADER === $contentType) { - $stream = Stream::create($body); - $stream->rewind(); - - return new AttachWebsocketStream($stream); + if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { + return new AttachWebsocketStream($response->getBody()); } - return parent::transformResponseBody($body, $status, $serializer, $contentType); + return parent::transformResponseBody($response, $serializer, $contentType); } } diff --git a/src/Endpoint/ContainerLogs.php b/src/Endpoint/ContainerLogs.php index 22d6c1c0e..996b09c39 100644 --- a/src/Endpoint/ContainerLogs.php +++ b/src/Endpoint/ContainerLogs.php @@ -6,20 +6,17 @@ use Docker\API\Endpoint\ContainerLogs as BaseEndpoint; use Docker\Stream\DockerRawStream; -use Nyholm\Psr7\Stream; +use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; class ContainerLogs extends BaseEndpoint { - protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $status && DockerRawStream::HEADER === $contentType) { - $stream = Stream::create($body); - $stream->rewind(); - - return new DockerRawStream($stream); + if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { + return new DockerRawStream($response->getBody()); } - return parent::transformResponseBody($body, $status, $serializer, $contentType); + return parent::transformResponseBody($response, $serializer, $contentType); } } diff --git a/src/Endpoint/ExecStart.php b/src/Endpoint/ExecStart.php index c16a83807..e2d8985be 100644 --- a/src/Endpoint/ExecStart.php +++ b/src/Endpoint/ExecStart.php @@ -6,20 +6,17 @@ use Docker\API\Endpoint\ExecStart as BaseEndpoint; use Docker\Stream\DockerRawStream; -use Nyholm\Psr7\Stream; +use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; class ExecStart extends BaseEndpoint { - protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $status && DockerRawStream::HEADER === $contentType) { - $stream = Stream::create($body); - $stream->rewind(); - - return new DockerRawStream($stream); + if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { + return new DockerRawStream($response->getBody()); } - return parent::transformResponseBody($body, $status, $serializer, $contentType); + return parent::transformResponseBody($response, $serializer, $contentType); } } diff --git a/src/Endpoint/ImageBuild.php b/src/Endpoint/ImageBuild.php index 62af3a9d5..49239c4cf 100644 --- a/src/Endpoint/ImageBuild.php +++ b/src/Endpoint/ImageBuild.php @@ -8,6 +8,7 @@ use Docker\Stream\BuildStream; use Docker\Stream\TarStream; use Nyholm\Psr7\Stream; +use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; class ImageBuild extends BaseEndpoint @@ -23,15 +24,12 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null): return [['Content-Type' => ['application/octet-stream']], $body]; } - protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $status) { - $stream = Stream::create($body); - $stream->rewind(); - - return new BuildStream($stream, $serializer); + if (200 === $response->getStatusCode()) { + return new BuildStream($response->getBody(), $serializer); } - return parent::transformResponseBody($body, $status, $serializer, $contentType); + return parent::transformResponseBody($response, $serializer, $contentType); } } diff --git a/src/Endpoint/ImageCreate.php b/src/Endpoint/ImageCreate.php index 120982bd7..3a50da2e9 100644 --- a/src/Endpoint/ImageCreate.php +++ b/src/Endpoint/ImageCreate.php @@ -6,20 +6,17 @@ use Docker\API\Endpoint\ImageCreate as BaseEndpoint; use Docker\Stream\CreateImageStream; -use Nyholm\Psr7\Stream; +use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; class ImageCreate extends BaseEndpoint { - protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $status) { - $stream = Stream::create($body); - $stream->rewind(); - - return new CreateImageStream($stream, $serializer); + if (200 === $response->getStatusCode()) { + return new CreateImageStream($response->getBody(), $serializer); } - return parent::transformResponseBody($body, $status, $serializer, $contentType); + return parent::transformResponseBody($response, $serializer, $contentType); } } diff --git a/src/Endpoint/ImagePush.php b/src/Endpoint/ImagePush.php index ed64493d0..da7a93f4a 100644 --- a/src/Endpoint/ImagePush.php +++ b/src/Endpoint/ImagePush.php @@ -6,7 +6,7 @@ use Docker\API\Endpoint\ImagePush as BaseEndpoint; use Docker\Stream\PushStream; -use Nyholm\Psr7\Stream; +use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; class ImagePush extends BaseEndpoint @@ -16,15 +16,12 @@ public function getUri(): string return \str_replace(['{name}'], [\urlencode($this->name)], '/images/{name}/push'); } - protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $status) { - $stream = Stream::create($body); - $stream->rewind(); - - return new PushStream($stream, $serializer); + if (200 === $response->getStatusCode()) { + return new PushStream($response->getBody(), $serializer); } - return parent::transformResponseBody($body, $status, $serializer, $contentType); + return parent::transformResponseBody($response, $serializer, $contentType); } } diff --git a/src/Endpoint/SystemEvents.php b/src/Endpoint/SystemEvents.php index 1526fb817..3f57e916c 100644 --- a/src/Endpoint/SystemEvents.php +++ b/src/Endpoint/SystemEvents.php @@ -6,20 +6,17 @@ use Docker\API\Endpoint\SystemEvents as BaseEndpoint; use Docker\Stream\EventStream; -use Nyholm\Psr7\Stream; +use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; class SystemEvents extends BaseEndpoint { - protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $status) { - $stream = Stream::create($body); - $stream->rewind(); - - return new EventStream($stream, $serializer); + if (200 === $response->getStatusCode()) { + return new EventStream($response->getBody(), $serializer); } - return parent::transformResponseBody($body, $status, $serializer, $contentType); + return parent::transformResponseBody($response, $serializer, $contentType); } } From 92b27bd115cf1ccdc02062ca7cb8740a6e207661 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jun 2023 09:57:27 +0000 Subject: [PATCH 042/142] Bump shivammathur/setup-php from 2.24.0 to 2.25.4 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.24.0 to 2.25.4. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.24.0...2.25.4) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b4e2c0319..68e9a8d8f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.24.0 + uses: shivammathur/setup-php@2.25.4 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index f704b0bc8..e6477607e 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.24.0 + uses: shivammathur/setup-php@2.25.4 with: php-version: 8.0 tools: composer:v2 From eb6233de9282265fa88aa4ad231f2342b343e0ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Aug 2023 09:32:15 +0000 Subject: [PATCH 043/142] Update psr/http-message requirement from ^1.0 to ^1.0 || ^2.0 Updates the requirements on [psr/http-message](https://github.com/php-fig/http-message) to permit the latest version. - [Release notes](https://github.com/php-fig/http-message/releases) - [Changelog](https://github.com/php-fig/http-message/blob/master/CHANGELOG.md) - [Commits](https://github.com/php-fig/http-message/compare/1.0...2.0) --- updated-dependencies: - dependency-name: psr/http-message dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 45cccea6d..53739f993 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "php-http/client-common": "^2.3", "php-http/socket-client": "^2.0", "psr/http-client": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.0 || ^2.0", "symfony/filesystem": "^6.1", "symfony/process": "^6.1" }, From b26d45bf59570544c8eca9addf992153090058bf Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 9 Oct 2023 10:49:23 -0300 Subject: [PATCH 044/142] Add "Host" Header to DockerClientFactory --- src/DockerClientFactory.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 20a973d59..01bbed2d3 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -8,6 +8,7 @@ use Http\Client\Common\Plugin\AddPathPlugin; use Http\Client\Common\Plugin\ContentLengthPlugin; use Http\Client\Common\Plugin\DecoderPlugin; +use Http\Client\Common\Plugin\HeaderDefaultsPlugin; use Http\Client\Common\PluginClientFactory; use Http\Client\Socket\Client; use Http\Discovery\UriFactoryDiscovery; @@ -35,6 +36,9 @@ public static function create(array $config = [], PluginClientFactory $pluginCli new DecoderPlugin(), new AddPathPlugin($uriFactory->createUri('/v1.41')), new AddHostPlugin($uriFactory->createUri($host)), + new HeaderDefaultsPlugin([ + 'host' => \parse_url($host, \PHP_URL_HOST), + ]), ], [ 'client_name' => 'docker-client', From c44e04675829abf5863b08182296fcfc0df1c73b Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 9 Oct 2023 13:43:44 -0300 Subject: [PATCH 045/142] Fix mismatching method signatures --- src/Docker.php | 64 ---------------------------------------- src/Stream/TarStream.php | 2 +- 2 files changed, 1 insertion(+), 65 deletions(-) diff --git a/src/Docker.php b/src/Docker.php index 605c21df8..a1e3ce121 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -6,69 +6,13 @@ use Docker\API\Client; use Docker\API\Model\AuthConfig; -use Docker\API\Model\ExecIdStartPostBody; -use Docker\Endpoint\ContainerAttach; -use Docker\Endpoint\ContainerAttachWebsocket; -use Docker\Endpoint\ContainerLogs; -use Docker\Endpoint\ExecStart; -use Docker\Endpoint\ImageBuild; -use Docker\Endpoint\ImageCreate; use Docker\Endpoint\ImagePush; -use Docker\Endpoint\SystemEvents; /** * Docker\Docker. */ class Docker extends Client { - /** - * {@inheritdoc} - */ - public function containerAttach(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new ContainerAttach($id, $queryParameters, $accept), $fetch); - } - - /** - * {@inheritdoc} - */ - public function containerAttachWebsocket(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new ContainerAttachWebsocket($id, $queryParameters, $accept), $fetch); - } - - /** - * {@inheritdoc} - */ - public function containerLogs(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new ContainerLogs($id, $queryParameters, $accept), $fetch); - } - - /** - * {@inheritdoc} - */ - public function execStart(string $id, ?ExecIdStartPostBody $execStartConfig = null, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new ExecStart($id, $execStartConfig), $fetch); - } - - /** - * {@inheritdoc} - */ - public function imageBuild($inputStream = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new ImageBuild($inputStream, $queryParameters, $headerParameters), $fetch); - } - - /** - * {@inheritdoc} - */ - public function imageCreate(?string $inputImage = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new ImageCreate($inputImage, $queryParameters, $headerParameters), $fetch); - } - /** * {@inheritdoc} */ @@ -81,14 +25,6 @@ public function imagePush(string $name, array $queryParameters = [], array $head return $this->executeEndpoint(new ImagePush($name, $queryParameters, $headerParameters, $accept), $fetch); } - /** - * {@inheritdoc} - */ - public function systemEvents(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new SystemEvents($queryParameters), $fetch); - } - public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) { if (null === $httpClient) { diff --git a/src/Stream/TarStream.php b/src/Stream/TarStream.php index 446da02d1..8beb42b2f 100644 --- a/src/Stream/TarStream.php +++ b/src/Stream/TarStream.php @@ -36,7 +36,7 @@ public function detach() /** * {@inheritdoc} */ - public function getSize() + public function getSize(): ?int { return null; } From 2ad6306edda962820b0e5af06b998287b04c90d7 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 9 Oct 2023 13:45:46 -0300 Subject: [PATCH 046/142] Prepare for 1.42.x --- composer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 53739f993..29f96c1c3 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.41.x-dev", + "beluga-php/docker-php-api": "7.1.42.x-dev", "nyholm/psr7": "^1.3", "php-http/client-common": "^2.3", "php-http/socket-client": "^2.0", @@ -96,7 +96,8 @@ }, "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "1.42.x-dev", + "1.41": "1.41.x-dev" } } } From 18b6a1a5ac9e84b0fa00edf66d0a5637507a9a04 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 9 Oct 2023 13:47:33 -0300 Subject: [PATCH 047/142] Prepare for 1.43.x --- composer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 29f96c1c3..9aa559f0d 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.42.x-dev", + "beluga-php/docker-php-api": "7.1.43.x-dev", "nyholm/psr7": "^1.3", "php-http/client-common": "^2.3", "php-http/socket-client": "^2.0", @@ -96,7 +96,8 @@ }, "extra": { "branch-alias": { - "dev-master": "1.42.x-dev", + "dev-master": "1.43.x-dev", + "1.42": "1.42.x-dev", "1.41": "1.41.x-dev" } } From 6c0fcd4f0501c277aa412f8047b550da224aa649 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 16 Oct 2023 12:38:21 -0300 Subject: [PATCH 048/142] Improve PSR standards adherence --- composer.json | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/composer.json b/composer.json index 9aa559f0d..c8d48c750 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "sort-packages": true, "preferred-install": "dist", "allow-plugins": { - "infection/extension-installer": true + "php-http/discovery": false } }, "minimum-stability": "dev", @@ -27,36 +27,27 @@ { "type": "github", "url": "https://github.com/flavioheleno" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/flavioheleno" } ], "require": { "php": ">=8.1", "beluga-php/docker-php-api": "7.1.43.x-dev", - "nyholm/psr7": "^1.3", - "php-http/client-common": "^2.3", - "php-http/socket-client": "^2.0", "psr/http-client": "^1.0", - "psr/http-message": "^1.0 || ^2.0", + "psr/http-client-implementation": "*", + "psr/http-message": "^1.1 || ^2.0", + "psr/http-message-implementation": "*", "symfony/filesystem": "^6.1", "symfony/process": "^6.1" }, "suggest": { - "php-http/httplug-bundle": "For integration with Symfony" + "guzzlehttp/guzzle": "PSR-18 compliant HTTP Client to use the API" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", - "infection/infection": "^0.26", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan": "^1.0", "phpunit/phpunit": "^9.5", "psy/psysh": "^0.11", - "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.3" + "roave/security-advisories": "dev-latest" }, "conflict": { "docker-php/docker-php": "*" @@ -65,31 +56,19 @@ "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", "console": "vendor/bin/psysh", - "infection": "vendor/bin/infection", "lint": "vendor/bin/parallel-lint --exclude vendor .", - "phpcs": "vendor/bin/phpcs --standard=ruleset.xml src/ tests/", - "phpstan": "vendor/bin/phpstan analyse --level=max --autoload-file=vendor/autoload.php src/", "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", - "psalm": "vendor/bin/psalm --taint-analysis", "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", "test": [ - "@infection", "@lint", - "@phpunit", - "@phpstan", - "@psalm", - "@phpcs" + "@phpunit" ] }, "scripts-descriptions": { "console": "Runs PsySH Console", - "infection": "Runs mutation test framework", "lint": "Runs complete codebase lint testing", - "phpcs": "Runs coding style checking", - "phpstan": "Runs complete codebase static analysis", "phpunit": "Runs library test suite", - "psalm": "Runs complete codebase taint analysis", "test-ci": "Runs library test suite (for continuous integration)", "test-coverage": "Runs test-coverage analysis", "test": "Runs all tests" From c1b4d963995805cd4bd1fcfbc4293736e95ad522 Mon Sep 17 00:00:00 2001 From: Grant Millar Date: Wed, 18 Oct 2023 12:33:41 +0200 Subject: [PATCH 049/142] Revert back to socket-client, add directly used deps, run php-cs-fixer Signed-off-by: Grant Millar --- composer.json | 19 ++-- src/Context/Context.php | 8 +- src/Context/ContextBuilder.php | 24 +++--- src/Docker.php | 5 +- src/DockerClientFactory.php | 32 +++---- src/Endpoint/ContainerAttach.php | 2 +- src/Endpoint/ContainerAttachWebsocket.php | 6 +- src/Endpoint/ContainerLogs.php | 2 +- src/Endpoint/ExecStart.php | 2 +- src/Endpoint/ImageBuild.php | 2 +- src/Endpoint/ImageCreate.php | 2 +- src/Endpoint/ImagePush.php | 4 +- src/Endpoint/SystemEvents.php | 2 +- src/Stream/AttachWebsocketStream.php | 28 +++--- src/Stream/CallbackStream.php | 2 - src/Stream/DockerRawStream.php | 4 +- src/Stream/MultiJsonStream.php | 3 - src/Stream/TarStream.php | 5 +- tests/Context/ContextBuilderTest.php | 100 ++++++++++++---------- tests/Context/ContextTest.php | 6 +- tests/DockerClientFactoryTest.php | 26 +++--- tests/Resource/SystemResourceTest.php | 4 +- tests/Stream/MultiJsonStreamTest.php | 4 +- 23 files changed, 142 insertions(+), 150 deletions(-) diff --git a/composer.json b/composer.json index c8d48c750..5edebfe55 100644 --- a/composer.json +++ b/composer.json @@ -31,16 +31,15 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.43.x-dev", - "psr/http-client": "^1.0", - "psr/http-client-implementation": "*", - "psr/http-message": "^1.1 || ^2.0", - "psr/http-message-implementation": "*", - "symfony/filesystem": "^6.1", - "symfony/process": "^6.1" - }, - "suggest": { - "guzzlehttp/guzzle": "PSR-18 compliant HTTP Client to use the API" + "beluga-php/docker-php-api": "7.1.43.0", + "nyholm/psr7": "^1.8", + "php-http/client-common": "^2.7", + "php-http/discovery": "^1.19", + "plesk/socket-client": "^2.1", + "psr/http-message": "^2.0", + "symfony/filesystem": "^6.3", + "symfony/process": "^6.3", + "symfony/serializer": "^6.3" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", diff --git a/src/Context/Context.php b/src/Context/Context.php index 06082510c..1cc9b1ec9 100644 --- a/src/Context/Context.php +++ b/src/Context/Context.php @@ -86,7 +86,7 @@ public function setDirectory($directory): void */ public function getDockerfileContent() { - return \file_get_contents($this->directory.\DIRECTORY_SEPARATOR.'Dockerfile'); + return file_get_contents($this->directory.\DIRECTORY_SEPARATOR.'Dockerfile'); } /** @@ -132,7 +132,7 @@ public function toTar() public function toStream() { if (!\is_resource($this->process)) { - $this->process = \proc_open('/usr/bin/env tar -c .', [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, $this->directory); + $this->process = proc_open('/usr/bin/env tar -c .', [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, $this->directory); $this->stream = $pipes[1]; } @@ -142,11 +142,11 @@ public function toStream() public function __destruct() { if (\is_resource($this->stream)) { - \fclose($this->stream); + fclose($this->stream); } if (\is_resource($this->process)) { - \proc_close($this->process); + proc_close($this->process); } if ($this->cleanup) { diff --git a/src/Context/ContextBuilder.php b/src/Context/ContextBuilder.php index e8b37365b..5e0aa37bc 100644 --- a/src/Context/ContextBuilder.php +++ b/src/Context/ContextBuilder.php @@ -255,7 +255,7 @@ public function volume($volume) */ public function getContext() { - $directory = \sys_get_temp_dir().'/ctb-'.\microtime(); + $directory = sys_get_temp_dir().'/ctb-'.microtime(); $this->fs->mkdir($directory); $this->write($directory); @@ -325,7 +325,7 @@ private function write($directory): void $dockerfile[] = 'CMD '.$this->command; } - $this->fs->dumpFile($directory.\DIRECTORY_SEPARATOR.'Dockerfile', \implode(PHP_EOL, $dockerfile)); + $this->fs->dumpFile($directory.\DIRECTORY_SEPARATOR.'Dockerfile', implode(\PHP_EOL, $dockerfile)); } /** @@ -338,12 +338,12 @@ private function write($directory): void */ private function getFile($directory, $content) { - $hash = \md5($content); + $hash = md5($content); if (!\array_key_exists($hash, $this->files)) { - $file = \tempnam($directory, ''); + $file = tempnam($directory, ''); $this->fs->dumpFile($file, $content); - $this->files[$hash] = \basename($file); + $this->files[$hash] = basename($file); } return $this->files[$hash]; @@ -359,14 +359,14 @@ private function getFile($directory, $content) */ private function getFileFromStream($directory, $stream) { - $file = \tempnam($directory, ''); - $target = \fopen($file, 'w'); - if (0 === \stream_copy_to_stream($stream, $target)) { + $file = tempnam($directory, ''); + $target = fopen($file, 'w'); + if (0 === stream_copy_to_stream($stream, $target)) { throw new \RuntimeException('Failed to write stream to file'); } - \fclose($target); + fclose($target); - return \basename($file); + return basename($file); } /** @@ -379,10 +379,10 @@ private function getFileFromStream($directory, $stream) */ private function getFileFromDisk($directory, $source) { - $hash = 'DISK-'.\md5(\realpath($source)); + $hash = 'DISK-'.md5(realpath($source)); if (!\array_key_exists($hash, $this->files)) { // Check if source is a directory or a file. - if (\is_dir($source)) { + if (is_dir($source)) { $this->fs->mirror($source, $directory.'/'.$hash, null, ['copy_on_windows' => true]); } else { $this->fs->copy($source, $directory.'/'.$hash); diff --git a/src/Docker.php b/src/Docker.php index a1e3ce121..ba4ce786b 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -13,13 +13,10 @@ */ class Docker extends Client { - /** - * {@inheritdoc} - */ public function imagePush(string $name, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { if (isset($headerParameters['X-Registry-Auth']) && $headerParameters['X-Registry-Auth'] instanceof AuthConfig) { - $headerParameters['X-Registry-Auth'] = \base64_encode($this->serializer->serialize($headerParameters['X-Registry-Auth'], 'json')); + $headerParameters['X-Registry-Auth'] = base64_encode($this->serializer->serialize($headerParameters['X-Registry-Auth'], 'json')); } return $this->executeEndpoint(new ImagePush($name, $queryParameters, $headerParameters, $accept), $fetch); diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 01bbed2d3..2c050cb1b 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -9,14 +9,14 @@ use Http\Client\Common\Plugin\ContentLengthPlugin; use Http\Client\Common\Plugin\DecoderPlugin; use Http\Client\Common\Plugin\HeaderDefaultsPlugin; +use Http\Client\Common\PluginClient; use Http\Client\Common\PluginClientFactory; use Http\Client\Socket\Client; -use Http\Discovery\UriFactoryDiscovery; -use Psr\Http\Client\ClientInterface; +use Http\Discovery\Psr17FactoryDiscovery; final class DockerClientFactory { - public static function create(array $config = [], PluginClientFactory $pluginClientFactory = null): ClientInterface + public static function create(array $config = [], PluginClientFactory $pluginClientFactory = null): PluginClient { if (!\array_key_exists('remote_socket', $config)) { $config['remote_socket'] = 'unix:///var/run/docker.sock'; @@ -24,10 +24,10 @@ public static function create(array $config = [], PluginClientFactory $pluginCli $socketClient = new Client($config); - $uriFactory = UriFactoryDiscovery::find(); - $host = \preg_match('/unix:\/\//', $config['remote_socket']) ? 'http://localhost' : $config['remote_socket']; + $uriFactory = Psr17FactoryDiscovery::findUriFactory(); + $host = preg_match('/unix:\/\//', $config['remote_socket']) ? 'http://localhost' : $config['remote_socket']; - $pluginClientFactory = $pluginClientFactory ?? new PluginClientFactory(); + $pluginClientFactory ??= new PluginClientFactory(); return $pluginClientFactory->createClient( $socketClient, @@ -37,7 +37,7 @@ public static function create(array $config = [], PluginClientFactory $pluginCli new AddPathPlugin($uriFactory->createUri('/v1.41')), new AddHostPlugin($uriFactory->createUri($host)), new HeaderDefaultsPlugin([ - 'host' => \parse_url($host, \PHP_URL_HOST), + 'host' => parse_url($host, \PHP_URL_HOST), ]), ], [ @@ -46,20 +46,20 @@ public static function create(array $config = [], PluginClientFactory $pluginCli ); } - public static function createFromEnv(PluginClientFactory $pluginClientFactory = null): ClientInterface + public static function createFromEnv(PluginClientFactory $pluginClientFactory = null): PluginClient { $options = [ - 'remote_socket' => \getenv('DOCKER_HOST') ? \getenv('DOCKER_HOST') : 'unix:///var/run/docker.sock', + 'remote_socket' => getenv('DOCKER_HOST') ? getenv('DOCKER_HOST') : 'unix:///var/run/docker.sock', ]; - if (\getenv('DOCKER_TLS_VERIFY') && '1' === \getenv('DOCKER_TLS_VERIFY')) { - if (!\getenv('DOCKER_CERT_PATH')) { + if (getenv('DOCKER_TLS_VERIFY') && '1' === getenv('DOCKER_TLS_VERIFY')) { + if (!getenv('DOCKER_CERT_PATH')) { throw new \RuntimeException('Connection to docker has been set to use TLS, but no PATH is defined for certificate in DOCKER_CERT_PATH docker environment variable'); } - $cafile = \getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'ca.pem'; - $certfile = \getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'cert.pem'; - $keyfile = \getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'key.pem'; + $cafile = getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'ca.pem'; + $certfile = getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'cert.pem'; + $keyfile = getenv('DOCKER_CERT_PATH').\DIRECTORY_SEPARATOR.'key.pem'; $stream_context = [ 'cafile' => $cafile, @@ -67,8 +67,8 @@ public static function createFromEnv(PluginClientFactory $pluginClientFactory = 'local_pk' => $keyfile, ]; - if (\getenv('DOCKER_PEER_NAME')) { - $stream_context['peer_name'] = \getenv('DOCKER_PEER_NAME'); + if (getenv('DOCKER_PEER_NAME')) { + $stream_context['peer_name'] = getenv('DOCKER_PEER_NAME'); } $options['ssl'] = true; diff --git a/src/Endpoint/ContainerAttach.php b/src/Endpoint/ContainerAttach.php index 1c776639e..571ec2252 100644 --- a/src/Endpoint/ContainerAttach.php +++ b/src/Endpoint/ContainerAttach.php @@ -11,7 +11,7 @@ class ContainerAttach extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) { if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { return new DockerRawStream($response->getBody()); diff --git a/src/Endpoint/ContainerAttachWebsocket.php b/src/Endpoint/ContainerAttachWebsocket.php index 0bbe7c309..6009f415a 100644 --- a/src/Endpoint/ContainerAttachWebsocket.php +++ b/src/Endpoint/ContainerAttachWebsocket.php @@ -14,7 +14,7 @@ class ContainerAttachWebsocket extends BaseEndpoint { public function getExtraHeaders(): array { - return \array_merge( + return array_merge( parent::getExtraHeaders(), [ 'Host' => 'localhost', @@ -22,12 +22,12 @@ public function getExtraHeaders(): array 'Upgrade' => 'websocket', 'Connection' => 'Upgrade', 'Sec-WebSocket-Version' => '13', - 'Sec-WebSocket-Key' => \base64_encode(\uniqid()), + 'Sec-WebSocket-Key' => base64_encode(uniqid()), ] ); } - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) { if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { return new AttachWebsocketStream($response->getBody()); diff --git a/src/Endpoint/ContainerLogs.php b/src/Endpoint/ContainerLogs.php index 996b09c39..573ae6481 100644 --- a/src/Endpoint/ContainerLogs.php +++ b/src/Endpoint/ContainerLogs.php @@ -11,7 +11,7 @@ class ContainerLogs extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) { if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { return new DockerRawStream($response->getBody()); diff --git a/src/Endpoint/ExecStart.php b/src/Endpoint/ExecStart.php index e2d8985be..844a49066 100644 --- a/src/Endpoint/ExecStart.php +++ b/src/Endpoint/ExecStart.php @@ -11,7 +11,7 @@ class ExecStart extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) { if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { return new DockerRawStream($response->getBody()); diff --git a/src/Endpoint/ImageBuild.php b/src/Endpoint/ImageBuild.php index 49239c4cf..c0ceb6459 100644 --- a/src/Endpoint/ImageBuild.php +++ b/src/Endpoint/ImageBuild.php @@ -24,7 +24,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null): return [['Content-Type' => ['application/octet-stream']], $body]; } - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) { if (200 === $response->getStatusCode()) { return new BuildStream($response->getBody(), $serializer); diff --git a/src/Endpoint/ImageCreate.php b/src/Endpoint/ImageCreate.php index 3a50da2e9..3ea1aad04 100644 --- a/src/Endpoint/ImageCreate.php +++ b/src/Endpoint/ImageCreate.php @@ -11,7 +11,7 @@ class ImageCreate extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) { if (200 === $response->getStatusCode()) { return new CreateImageStream($response->getBody(), $serializer); diff --git a/src/Endpoint/ImagePush.php b/src/Endpoint/ImagePush.php index da7a93f4a..64ea660b3 100644 --- a/src/Endpoint/ImagePush.php +++ b/src/Endpoint/ImagePush.php @@ -13,10 +13,10 @@ class ImagePush extends BaseEndpoint { public function getUri(): string { - return \str_replace(['{name}'], [\urlencode($this->name)], '/images/{name}/push'); + return str_replace(['{name}'], [urlencode($this->name)], '/images/{name}/push'); } - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) { if (200 === $response->getStatusCode()) { return new PushStream($response->getBody(), $serializer); diff --git a/src/Endpoint/SystemEvents.php b/src/Endpoint/SystemEvents.php index 3f57e916c..339a60625 100644 --- a/src/Endpoint/SystemEvents.php +++ b/src/Endpoint/SystemEvents.php @@ -11,7 +11,7 @@ class SystemEvents extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) { if (200 === $response->getStatusCode()) { return new EventStream($response->getBody(), $serializer); diff --git a/src/Stream/AttachWebsocketStream.php b/src/Stream/AttachWebsocketStream.php index 10a12e546..0394ac2f8 100644 --- a/src/Stream/AttachWebsocketStream.php +++ b/src/Stream/AttachWebsocketStream.php @@ -30,7 +30,7 @@ public function __construct(StreamInterface $stream) */ public function write($data): void { - $rand = \random_int(0, 28); + $rand = random_int(0, 28); $frame = [ 'fin' => 1, 'rsv1' => 0, @@ -39,7 +39,7 @@ public function write($data): void 'opcode' => 1, // We always send text 'mask' => 1, 'len' => \strlen($data), - 'mask_key' => \substr(\md5(\uniqid()), $rand, 4), + 'mask_key' => substr(md5(uniqid()), $rand, 4), 'data' => $data, ]; @@ -65,12 +65,12 @@ public function write($data): void $this->socketWrite(\chr($secondByte)); if (126 === $len) { - $this->socketWrite(\pack('n', $frame['len'])); + $this->socketWrite(pack('n', $frame['len'])); } elseif (127 === $len) { $higher = $frame['len'] >> 32; $lower = ($frame['len'] << 32) >> 32; - $this->socketWrite(\pack('N', $higher)); - $this->socketWrite(\pack('N', $lower)); + $this->socketWrite(pack('N', $higher)); + $this->socketWrite(pack('N', $lower)); } if (1 === $frame['mask']) { @@ -91,7 +91,7 @@ public function write($data): void */ public function read($waitTime = 0, $waitMicroTime = 200000, $getFrame = false) { - if (!\is_resource($this->socket) || \feof($this->socket)) { + if (!\is_resource($this->socket) || feof($this->socket)) { return null; } @@ -99,7 +99,7 @@ public function read($waitTime = 0, $waitMicroTime = 200000, $getFrame = false) $write = null; $expect = null; - if (0 === \stream_select($read, $write, $expect, $waitTime, $waitMicroTime)) { + if (0 === stream_select($read, $write, $expect, $waitTime, $waitMicroTime)) { return false; } @@ -121,9 +121,9 @@ public function read($waitTime = 0, $waitMicroTime = 200000, $getFrame = false) // Get length of the frame if (126 === $frame['len']) { - $frame['len'] = \unpack('n', $this->socketRead(2))[1]; + $frame['len'] = unpack('n', $this->socketRead(2))[1]; } elseif (127 === $frame['len']) { - list($higher, $lower) = \array_values(\unpack('N2', $this->socketRead(8))); + [$higher, $lower] = array_values(unpack('N2', $this->socketRead(8))); $frame['len'] = ($higher << 32) | $lower; } @@ -151,8 +151,6 @@ public function read($waitTime = 0, $waitMicroTime = 200000, $getFrame = false) /** * Force to have something of the expected size (block). * - * @param $length - * * @return string */ private function socketRead($length) @@ -160,8 +158,8 @@ private function socketRead($length) $read = ''; do { - $read .= \fread($this->socket, $length - \strlen($read)); - } while (\strlen($read) < $length && !\feof($this->socket)); + $read .= fread($this->socket, $length - \strlen($read)); + } while (\strlen($read) < $length && !feof($this->socket)); return $read; } @@ -169,12 +167,10 @@ private function socketRead($length) /** * Write to the socket. * - * @param $data - * * @return int */ private function socketWrite($data) { - return \fwrite($this->socket, $data); + return fwrite($this->socket, $data); } } diff --git a/src/Stream/CallbackStream.php b/src/Stream/CallbackStream.php index 459f20ab4..382c935f4 100644 --- a/src/Stream/CallbackStream.php +++ b/src/Stream/CallbackStream.php @@ -27,8 +27,6 @@ public function onFrame(callable $onNewFrame): void /** * Read a frame in the stream. - * - * @return mixed */ abstract protected function readFrame(); diff --git a/src/Stream/DockerRawStream.php b/src/Stream/DockerRawStream.php index bd97f817a..1ec7ce8b0 100644 --- a/src/Stream/DockerRawStream.php +++ b/src/Stream/DockerRawStream.php @@ -62,7 +62,7 @@ protected function readFrame(): void return; } - $decoded = \unpack('C1type/C3/N1size', $header); + $decoded = unpack('C1type/C3/N1size', $header); $output = $this->forceRead($decoded['size']); $callbackList = []; @@ -86,8 +86,6 @@ protected function readFrame(): void /** * Force to have something of the expected size (block). * - * @param $length - * * @return string */ private function forceRead($length) diff --git a/src/Stream/MultiJsonStream.php b/src/Stream/MultiJsonStream.php index 0973f98a5..536afa171 100644 --- a/src/Stream/MultiJsonStream.php +++ b/src/Stream/MultiJsonStream.php @@ -22,9 +22,6 @@ public function __construct(StreamInterface $stream, SerializerInterface $serial $this->serializer = $serializer; } - /** - * {@inheritdoc} - */ protected function readFrame() { $jsonFrameEnd = false; diff --git a/src/Stream/TarStream.php b/src/Stream/TarStream.php index 8beb42b2f..f14823c89 100644 --- a/src/Stream/TarStream.php +++ b/src/Stream/TarStream.php @@ -33,9 +33,6 @@ public function detach() return $this->stream->detach(); } - /** - * {@inheritdoc} - */ public function getSize(): ?int { return null; @@ -56,7 +53,7 @@ public function isSeekable(): bool return $this->stream->isSeekable(); } - public function seek($offset, $whence = SEEK_SET): void + public function seek($offset, $whence = \SEEK_SET): void { $this->stream->seek($offset, $whence); } diff --git a/tests/Context/ContextBuilderTest.php b/tests/Context/ContextBuilderTest.php index f6b72097a..613964f01 100644 --- a/tests/Context/ContextBuilderTest.php +++ b/tests/Context/ContextBuilderTest.php @@ -61,7 +61,7 @@ public function testWriteTmpFiles(): void $contextBuilder->add('/foo', 'random content'); $context = $contextBuilder->getContext(); - $filename = \preg_replace(<<getDockerfileContent()); @@ -72,13 +72,13 @@ public function testWriteTmpFiles(): void public function testWriteTmpFileFromStream(): void { $contextBuilder = new ContextBuilder(); - $stream = \fopen('php://temp', 'r+'); - $this->assertSame(7, \fwrite($stream, 'test123')); - \rewind($stream); + $stream = fopen('php://temp', 'r+'); + $this->assertSame(7, fwrite($stream, 'test123')); + rewind($stream); $contextBuilder->addStream('/foo', $stream); $context = $contextBuilder->getContext(); - $filename = \preg_replace(<<getDockerfileContent()); @@ -88,13 +88,13 @@ public function testWriteTmpFileFromStream(): void public function testWriteTmpFileFromDisk(): void { $contextBuilder = new ContextBuilder(); - $file = \tempnam('', ''); - \file_put_contents($file, 'abc'); + $file = tempnam('', ''); + file_put_contents($file, 'abc'); $this->assertStringEqualsFile($file, 'abc'); $contextBuilder->addFile('/foo', $file); $context = $contextBuilder->getContext(); - $filename = \preg_replace(<<getDockerfileContent()); @@ -104,15 +104,15 @@ public function testWriteTmpFileFromDisk(): void public function testWriteTmpDirFromDisk(): void { $contextBuilder = new ContextBuilder(); - $dir = \tempnam(\sys_get_temp_dir(), ''); - \unlink($dir); - \mkdir($dir); - \file_put_contents($dir.'/test', 'abc'); + $dir = tempnam(sys_get_temp_dir(), ''); + unlink($dir); + mkdir($dir); + file_put_contents($dir.'/test', 'abc'); $this->assertStringEqualsFile($dir.'/test', 'abc'); $contextBuilder->addFile('/foo', $dir); $context = $contextBuilder->getContext(); - $filename = \preg_replace(<<getDockerfileContent()); @@ -126,10 +126,12 @@ public function testWritesAddCommands(): void $context = $contextBuilder->getContext(); - $this->assertMatchesRegularExpression(<<getDockerfileContent() + $this->assertMatchesRegularExpression( + <<getDockerfileContent() ); } @@ -140,10 +142,12 @@ public function testWritesRunCommands(): void $context = $contextBuilder->getContext(); - $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<assertStringEqualsFile( + $context->getDirectory().'/Dockerfile', + <<getContext(); - $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<assertStringEqualsFile( + $context->getDirectory().'/Dockerfile', + <<getContext(); - $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<assertStringEqualsFile( + $context->getDirectory().'/Dockerfile', + <<getContext(); - $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<assertStringEqualsFile( + $context->getDirectory().'/Dockerfile', + <<getContext(); - $this->assertStringEqualsFile($context->getDirectory().'/Dockerfile', <<assertStringEqualsFile( + $context->getDirectory().'/Dockerfile', + <<addFile('/foo', $dir); $context = $contextBuilder->getContext(); - $filename = \preg_replace(<<getDockerfileContent()); - \unlink($file); + unlink($file); $context->setCleanup(false); $this->assertStringEqualsFile($context->getDirectory().'/'.$filename.'/test-symlink', 'abc'); } diff --git a/tests/Context/ContextTest.php b/tests/Context/ContextTest.php index 9e143cfe4..1038213b7 100644 --- a/tests/Context/ContextTest.php +++ b/tests/Context/ContextTest.php @@ -43,13 +43,13 @@ public function testTarFailed(): void $this->expectException(\Symfony\Component\Process\Exception\ProcessFailedException::class); $directory = __DIR__.\DIRECTORY_SEPARATOR.'context-test'; - $path = \getenv('PATH'); - \putenv('PATH=/'); + $path = getenv('PATH'); + putenv('PATH=/'); $context = new Context($directory); try { $context->toTar(); } finally { - \putenv("PATH=$path"); + putenv("PATH=$path"); } } diff --git a/tests/DockerClientFactoryTest.php b/tests/DockerClientFactoryTest.php index e438a4f30..ed09a955c 100644 --- a/tests/DockerClientFactoryTest.php +++ b/tests/DockerClientFactoryTest.php @@ -12,7 +12,7 @@ class DockerClientFactoryTest extends TestCase protected function tearDown(): void { parent::tearDown(); - \putenv('DOCKER_TLS_VERIFY'); + putenv('DOCKER_TLS_VERIFY'); } public function testStaticConstructor(): void @@ -25,24 +25,24 @@ public function testCreateFromEnvWithoutCertPath(): void $this->expectException(\RuntimeException::class); $this->expectExceptionMessage('Connection to docker has been set to use TLS, but no PATH is defined for certificate in DOCKER_CERT_PATH docker environment variable'); - \putenv('DOCKER_TLS_VERIFY=1'); + putenv('DOCKER_TLS_VERIFY=1'); DockerClientFactory::createFromEnv(); } public function testCreateCustomCa(): void { - \putenv('DOCKER_TLS_VERIFY=1'); - \putenv('DOCKER_CERT_PATH=/tmp'); + putenv('DOCKER_TLS_VERIFY=1'); + putenv('DOCKER_CERT_PATH=/tmp'); - $count = \count(\get_resources('stream-context')); + $count = \count(get_resources('stream-context')); $client = DockerClientFactory::createFromEnv(); $this->assertInstanceOf(ClientInterface::class, $client); - $contexts = \get_resources('stream-context'); + $contexts = get_resources('stream-context'); $this->assertCount($count + 1, $contexts); // Get the last stream context. - $context = \stream_context_get_options(\end($contexts)); + $context = stream_context_get_options(end($contexts)); $this->assertSame('/tmp/ca.pem', $context['ssl']['cafile']); $this->assertSame('/tmp/cert.pem', $context['ssl']['local_cert']); $this->assertSame('/tmp/key.pem', $context['ssl']['local_pk']); @@ -50,19 +50,19 @@ public function testCreateCustomCa(): void public function testCreateCustomPeerName(): void { - \putenv('DOCKER_TLS_VERIFY=1'); - \putenv('DOCKER_CERT_PATH=/abc'); - \putenv('DOCKER_PEER_NAME=test'); + putenv('DOCKER_TLS_VERIFY=1'); + putenv('DOCKER_CERT_PATH=/abc'); + putenv('DOCKER_PEER_NAME=test'); - $count = \count(\get_resources('stream-context')); + $count = \count(get_resources('stream-context')); $client = DockerClientFactory::createFromEnv(); $this->assertInstanceOf(ClientInterface::class, $client); - $contexts = \get_resources('stream-context'); + $contexts = get_resources('stream-context'); $this->assertCount($count + 1, $contexts); // Get the last stream context. - $context = \stream_context_get_options(\end($contexts)); + $context = stream_context_get_options(end($contexts)); $this->assertSame('/abc/ca.pem', $context['ssl']['cafile']); $this->assertSame('/abc/cert.pem', $context['ssl']['local_cert']); $this->assertSame('/abc/key.pem', $context['ssl']['local_pk']); diff --git a/tests/Resource/SystemResourceTest.php b/tests/Resource/SystemResourceTest.php index 474f3506e..b88c4069f 100644 --- a/tests/Resource/SystemResourceTest.php +++ b/tests/Resource/SystemResourceTest.php @@ -20,8 +20,8 @@ private function getManager() public function testGetEvents(): void { $stream = $this->getManager()->systemEvents([ - 'since' => (string) (\time() - 1), - 'until' => (string) (\time() + 4), + 'since' => (string) (time() - 1), + 'until' => (string) (time() + 4), ]); $lastEvent = null; diff --git a/tests/Stream/MultiJsonStreamTest.php b/tests/Stream/MultiJsonStreamTest.php index 2fd1d36aa..29d65739a 100644 --- a/tests/Stream/MultiJsonStreamTest.php +++ b/tests/Stream/MultiJsonStreamTest.php @@ -31,8 +31,6 @@ public function jsonStreamDataProvider() } /** - * @param $jsonStream - * @param $jsonParts * @dataProvider jsonStreamDataProvider */ public function testReadJsonEscapedDoubleQuote(string $jsonStream, array $jsonParts): void @@ -46,7 +44,7 @@ public function testReadJsonEscapedDoubleQuote(string $jsonStream, array $jsonPa $serializer ->expects($this->exactly(\count($jsonParts))) ->method('deserialize') - ->withConsecutive(...\array_map(fn ($part) => [$part, BuildInfo::class, 'json', []], $jsonParts)) + ->withConsecutive(...array_map(fn ($part) => [$part, BuildInfo::class, 'json', []], $jsonParts)) ; $stub = $this->getMockForAbstractClass(MultiJsonStream::class, [$stream, $serializer]); From 4a2b826f2c1e25c50204e73ac39e23fed207a29e Mon Sep 17 00:00:00 2001 From: Grant Millar Date: Wed, 18 Oct 2023 13:02:24 +0200 Subject: [PATCH 050/142] Update endpoint version Signed-off-by: Grant Millar --- src/DockerClientFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 2c050cb1b..74a43dd8b 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -34,7 +34,7 @@ public static function create(array $config = [], PluginClientFactory $pluginCli [ new ContentLengthPlugin(), new DecoderPlugin(), - new AddPathPlugin($uriFactory->createUri('/v1.41')), + new AddPathPlugin($uriFactory->createUri('/v1.43')), new AddHostPlugin($uriFactory->createUri($host)), new HeaderDefaultsPlugin([ 'host' => parse_url($host, \PHP_URL_HOST), From 37c3f53e9f59e101477f4e1e5ae4443c290f418b Mon Sep 17 00:00:00 2001 From: Grant Millar Date: Wed, 18 Oct 2023 16:35:42 +0200 Subject: [PATCH 051/142] Improve error handling when client version not supported, or other API error Signed-off-by: Grant Millar --- src/Docker.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/Docker.php b/src/Docker.php index ba4ce786b..ddac26942 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -7,6 +7,8 @@ use Docker\API\Client; use Docker\API\Model\AuthConfig; use Docker\Endpoint\ImagePush; +use Docker\API\Runtime\Client\Client as RuntimeClient; +use Docker\API\Exception\BadRequestException; /** * Docker\Docker. @@ -28,6 +30,22 @@ public static function create($httpClient = null, array $additionalPlugins = [], $httpClient = DockerClientFactory::createFromEnv(); } - return parent::create($httpClient, $additionalPlugins, $additionalNormalizers); + $client = parent::create($httpClient, $additionalPlugins, $additionalNormalizers); + $testClient = $client->systemInfo(RuntimeClient::FETCH_RESPONSE)->getBody()->getContents(); + $jsonObj = json_decode($testClient); + + if ($jsonObj !== null) { + if (isset($jsonObj->message)) { + // Check if the client is too new + if (strpos($jsonObj->message, 'client version') !== false && strpos($jsonObj->message, 'is too new') !== false) { + throw new BadRequestException("The client version is not supported by your version of Docker. Message: {$jsonObj->message}"); + } else { + throw new BadRequestException($jsonObj->message); + } + } + } else { + throw new BadRequestException("Failed to decode JSON."); + } + return $client; } } From 10748ae6a18891d2681a2cc9fcff6239e9c9f332 Mon Sep 17 00:00:00 2001 From: Rodrigo Aguilera Date: Wed, 1 Nov 2023 22:18:39 +0100 Subject: [PATCH 052/142] Restore ImageBuild endpoint along with others. --- src/Docker.php | 67 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/src/Docker.php b/src/Docker.php index ddac26942..94ff82e52 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -5,16 +5,71 @@ namespace Docker; use Docker\API\Client; +use Docker\API\Exception\BadRequestException; use Docker\API\Model\AuthConfig; -use Docker\Endpoint\ImagePush; +use Docker\API\Model\ExecIdStartPostBody; use Docker\API\Runtime\Client\Client as RuntimeClient; -use Docker\API\Exception\BadRequestException; +use Docker\Endpoint\ContainerAttach; +use Docker\Endpoint\ContainerAttachWebsocket; +use Docker\Endpoint\ContainerLogs; +use Docker\Endpoint\ExecStart; +use Docker\Endpoint\ImageBuild; +use Docker\Endpoint\ImageCreate; +use Docker\Endpoint\ImagePush; +use Docker\Endpoint\SystemEvents; /** * Docker\Docker. */ class Docker extends Client { + /** + * {@inheritdoc} + */ + public function containerAttach(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new ContainerAttach($id, $queryParameters, $accept), $fetch); + } + + /** + * {@inheritdoc} + */ + public function containerAttachWebsocket(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new ContainerAttachWebsocket($id, $queryParameters, $accept), $fetch); + } + + /** + * {@inheritdoc} + */ + public function containerLogs(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new ContainerLogs($id, $queryParameters, $accept), $fetch); + } + + /** + * {@inheritdoc} + */ + public function execStart(string $id, ?ExecIdStartPostBody $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) + { + return $this->executeEndpoint(new ExecStart($id, $requestBody, $accept), $fetch); + } + + /** + * {@inheritdoc} + */ + public function imageBuild($requestBody = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new ImageBuild($requestBody, $queryParameters, $headerParameters), $fetch); + } + + /** + * {@inheritdoc} + */ + public function imageCreate(string $requestBody = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new ImageCreate($requestBody, $queryParameters, $headerParameters), $fetch); + } public function imagePush(string $name, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { if (isset($headerParameters['X-Registry-Auth']) && $headerParameters['X-Registry-Auth'] instanceof AuthConfig) { @@ -24,6 +79,14 @@ public function imagePush(string $name, array $queryParameters = [], array $head return $this->executeEndpoint(new ImagePush($name, $queryParameters, $headerParameters, $accept), $fetch); } + /** + * {@inheritdoc} + */ + public function systemEvents(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new SystemEvents($queryParameters), $fetch); + } + public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) { if (null === $httpClient) { From 0d2de4774d3e6b2499d61be6ae89ded81e44149b Mon Sep 17 00:00:00 2001 From: Rodrigo Aguilera Date: Fri, 16 Feb 2024 21:56:39 +0100 Subject: [PATCH 053/142] Avoid Jane-php deprecations. --- src/Docker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Docker.php b/src/Docker.php index 94ff82e52..6e98c7e2f 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -5,10 +5,10 @@ namespace Docker; use Docker\API\Client; +use Docker\API\Endpoint\SystemInfo; use Docker\API\Exception\BadRequestException; use Docker\API\Model\AuthConfig; use Docker\API\Model\ExecIdStartPostBody; -use Docker\API\Runtime\Client\Client as RuntimeClient; use Docker\Endpoint\ContainerAttach; use Docker\Endpoint\ContainerAttachWebsocket; use Docker\Endpoint\ContainerLogs; @@ -94,7 +94,7 @@ public static function create($httpClient = null, array $additionalPlugins = [], } $client = parent::create($httpClient, $additionalPlugins, $additionalNormalizers); - $testClient = $client->systemInfo(RuntimeClient::FETCH_RESPONSE)->getBody()->getContents(); + $testClient = $client->executeRawEndpoint(new SystemInfo())->getBody()->getContents(); $jsonObj = json_decode($testClient); if ($jsonObj !== null) { From 89cfedcd40218310fe83a1bc8a238ff2aa022ed3 Mon Sep 17 00:00:00 2001 From: Rodrigo Aguilera Date: Sun, 18 Feb 2024 19:48:30 +0100 Subject: [PATCH 054/142] Fix/Skip tests and add php 8.2 and 8.3. --- .github/workflows/continuous-integration.yml | 6 ++---- composer.json | 5 ++++- src/Context/ContextBuilder.php | 2 +- src/Docker.php | 2 +- src/Stream/EventStream.php | 2 +- tests/Resource/ContainerResourceTest.php | 2 ++ tests/Resource/SystemResourceTest.php | 4 ++-- 7 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 68e9a8d8f..d3a243052 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -22,6 +22,8 @@ jobs: matrix: php-version: - "8.1" + - "8.2" + - "8.3" dependency-version: [prefer-lowest, prefer-stable] experimental: [false] @@ -49,10 +51,6 @@ jobs: key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}- - - name: Install dependencies (PHP 7) - if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-version < 8 - run: composer update --${{ matrix.dependency-version }} --no-progress --no-interaction - - name: Install dependencies (PHP 8) if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-version >= 8 run: composer update --${{ matrix.dependency-version }} --ignore-platform-req=php --no-progress --no-interaction diff --git a/composer.json b/composer.json index 5edebfe55..15a9edf5d 100644 --- a/composer.json +++ b/composer.json @@ -44,12 +44,14 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5", "psy/psysh": "^0.11", "roave/security-advisories": "dev-latest" }, "conflict": { - "docker-php/docker-php": "*" + "docker-php/docker-php": "*", + "php-http/message": "<1.15" }, "scripts": { "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", @@ -57,6 +59,7 @@ "console": "vendor/bin/psysh", "lint": "vendor/bin/parallel-lint --exclude vendor .", "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", + "phpstan": "vendor/bin/phpstan analyse --level 2 src", "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", "test": [ diff --git a/src/Context/ContextBuilder.php b/src/Context/ContextBuilder.php index 5e0aa37bc..6d41d4062 100644 --- a/src/Context/ContextBuilder.php +++ b/src/Context/ContextBuilder.php @@ -39,7 +39,7 @@ class ContextBuilder private $entrypoint; /** - * @param \Symfony\Component\Filesystem\Filesystem + * @param $fs \Symfony\Component\Filesystem\Filesystem */ public function __construct(Filesystem $fs = null) { diff --git a/src/Docker.php b/src/Docker.php index 6e98c7e2f..951a8cd7e 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -87,7 +87,7 @@ public function systemEvents(array $queryParameters = [], string $fetch = self:: return $this->executeEndpoint(new SystemEvents($queryParameters), $fetch); } - public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) + public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) : self { if (null === $httpClient) { $httpClient = DockerClientFactory::createFromEnv(); diff --git a/src/Stream/EventStream.php b/src/Stream/EventStream.php index 90dcf23ed..1c18a8050 100644 --- a/src/Stream/EventStream.php +++ b/src/Stream/EventStream.php @@ -16,6 +16,6 @@ class EventStream extends MultiJsonStream */ protected function getDecodeClass() { - return 'EventsGetResponse200'; + return 'EventMessage'; } } diff --git a/tests/Resource/ContainerResourceTest.php b/tests/Resource/ContainerResourceTest.php index 3ebb77588..eac8e470d 100644 --- a/tests/Resource/ContainerResourceTest.php +++ b/tests/Resource/ContainerResourceTest.php @@ -61,6 +61,7 @@ public function testAttach(): void public function testAttachWebsocket(): void { + $this->markTestSkipped('Since docker API 1.28 Websockets are binary so this test needs work. See https://github.com/xtermjs/xterm.js/issues/883'); $containerConfig = new ContainersCreatePostBody(); $containerConfig->setImage('busybox:latest'); $containerConfig->setCmd(['sh']); @@ -108,6 +109,7 @@ public function testAttachWebsocket(): void public function testLogs(): void { + $this->markTestSkipped('Since at least 1.43 docker API does not return a `application/vnd.docker.raw-stream` but a `application/vnd.docker.multiplexed-stream` so this needs review. See https://github.com/beluga-php/docker-php/issues/19'); $containerConfig = new ContainersCreatePostBody(); $containerConfig->setImage('busybox:latest'); $containerConfig->setCmd(['echo', '-n', 'output']); diff --git a/tests/Resource/SystemResourceTest.php b/tests/Resource/SystemResourceTest.php index b88c4069f..fb1badf30 100644 --- a/tests/Resource/SystemResourceTest.php +++ b/tests/Resource/SystemResourceTest.php @@ -4,7 +4,7 @@ namespace Docker\Tests\Resource; -use Docker\API\Model\EventsGetResponse200; +use Docker\API\Model\EventMessage; use Docker\Tests\TestCase; class SystemResourceTest extends TestCase @@ -36,6 +36,6 @@ public function testGetEvents(): void $stream->wait(); - $this->assertInstanceOf(EventsGetResponse200::class, $lastEvent); + $this->assertInstanceOf(EventMessage::class, $lastEvent); } } From 66e039dba156a02683f60f525fd24ad3617156fd Mon Sep 17 00:00:00 2001 From: Rodrigo Aguilera Date: Sun, 18 Feb 2024 20:10:02 +0100 Subject: [PATCH 055/142] Pull image prior to the tests. --- .github/workflows/continuous-integration.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d3a243052..0a005cfab 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -55,6 +55,9 @@ jobs: if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-version >= 8 run: composer update --${{ matrix.dependency-version }} --ignore-platform-req=php --no-progress --no-interaction + - name: Pull the docker image used by the tests. + run: docker pull busybox:latest + - name: Run PHPUnit test suite run: composer run-script test-ci From 53405bdea39d9ea9ccbdfff6ed53e7d2d549ea7e Mon Sep 17 00:00:00 2001 From: Rodrigo Aguilera Date: Sun, 18 Feb 2024 20:20:51 +0100 Subject: [PATCH 056/142] Skip publish code coverage on PRs. --- .github/workflows/continuous-integration.yml | 1 + src/Docker.php | 6 +++++- tests/Resource/ContainerResourceTest.php | 7 +++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 0a005cfab..e1e32d540 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -69,3 +69,4 @@ jobs: coverageCommand: composer run-script test-coverage coverageLocations: | ${{github.workspace}}/clover.xml:clover + if: github.event_name != 'pull_request' diff --git a/src/Docker.php b/src/Docker.php index 951a8cd7e..b56b2b664 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -87,7 +87,11 @@ public function systemEvents(array $queryParameters = [], string $fetch = self:: return $this->executeEndpoint(new SystemEvents($queryParameters), $fetch); } - public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) : self + public static function create( + $httpClient = null, + array $additionalPlugins = [], + array $additionalNormalizers = [] + ) : self { if (null === $httpClient) { $httpClient = DockerClientFactory::createFromEnv(); diff --git a/tests/Resource/ContainerResourceTest.php b/tests/Resource/ContainerResourceTest.php index eac8e470d..eb6024a18 100644 --- a/tests/Resource/ContainerResourceTest.php +++ b/tests/Resource/ContainerResourceTest.php @@ -61,7 +61,8 @@ public function testAttach(): void public function testAttachWebsocket(): void { - $this->markTestSkipped('Since docker API 1.28 Websockets are binary so this test needs work. See https://github.com/xtermjs/xterm.js/issues/883'); + $this->markTestSkipped('Since docker API 1.28 Websockets are binary so this test needs work. ' . + 'See https://github.com/xtermjs/xterm.js/issues/883'); $containerConfig = new ContainersCreatePostBody(); $containerConfig->setImage('busybox:latest'); $containerConfig->setCmd(['sh']); @@ -109,7 +110,9 @@ public function testAttachWebsocket(): void public function testLogs(): void { - $this->markTestSkipped('Since at least 1.43 docker API does not return a `application/vnd.docker.raw-stream` but a `application/vnd.docker.multiplexed-stream` so this needs review. See https://github.com/beluga-php/docker-php/issues/19'); + $this->markTestSkipped('Since at least 1.43 docker API does not return a `application/vnd.docker.raw-stream` ' . + 'but a `application/vnd.docker.multiplexed-stream` so this needs review. '. + 'See https://github.com/beluga-php/docker-php/issues/19'); $containerConfig = new ContainersCreatePostBody(); $containerConfig->setImage('busybox:latest'); $containerConfig->setCmd(['echo', '-n', 'output']); From b8c2fedceb90c6c67614d3801d0f6e8ea70efc0f Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Mon, 19 Feb 2024 13:51:48 +0100 Subject: [PATCH 057/142] remove leading space around return type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Flávio Heleno --- src/Docker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Docker.php b/src/Docker.php index b56b2b664..b63c99cdb 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -91,7 +91,7 @@ public static function create( $httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = [] - ) : self + ): self { if (null === $httpClient) { $httpClient = DockerClientFactory::createFromEnv(); From 82e23dc6cde8f2035f4365141ad60b2a98a48005 Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Mon, 19 Feb 2024 13:52:19 +0100 Subject: [PATCH 058/142] Fix param definition in context builder. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Flávio Heleno --- src/Context/ContextBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Context/ContextBuilder.php b/src/Context/ContextBuilder.php index 6d41d4062..0464b15a0 100644 --- a/src/Context/ContextBuilder.php +++ b/src/Context/ContextBuilder.php @@ -39,7 +39,7 @@ class ContextBuilder private $entrypoint; /** - * @param $fs \Symfony\Component\Filesystem\Filesystem + * @param \Symfony\Component\Filesystem\Filesystem $fs */ public function __construct(Filesystem $fs = null) { From e2d4ec378fe0ddd422477163808750b72dc38704 Mon Sep 17 00:00:00 2001 From: Rodrigo Aguilera Date: Tue, 20 Feb 2024 20:02:48 +0100 Subject: [PATCH 059/142] Add conflict with non-compatible versions of nikic/php-parser. Bump psy/psysh to allow for nikic/php-parser v5. --- composer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 15a9edf5d..2431073e8 100644 --- a/composer.json +++ b/composer.json @@ -46,12 +46,13 @@ "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5", - "psy/psysh": "^0.11", + "psy/psysh": "^0.12", "roave/security-advisories": "dev-latest" }, "conflict": { "docker-php/docker-php": "*", - "php-http/message": "<1.15" + "php-http/message": "<1.15", + "nikic/php-parser": "<4.13" }, "scripts": { "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", From 155dcedaac736323b07346295956aef324dcd1b9 Mon Sep 17 00:00:00 2001 From: Lau Ernebjerg Josefsen <44977457+LauJosefsen@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:40:28 +0100 Subject: [PATCH 060/142] Update symfony packages to ^7.0 (#69) --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 2431073e8..c090bd792 100644 --- a/composer.json +++ b/composer.json @@ -37,9 +37,9 @@ "php-http/discovery": "^1.19", "plesk/socket-client": "^2.1", "psr/http-message": "^2.0", - "symfony/filesystem": "^6.3", - "symfony/process": "^6.3", - "symfony/serializer": "^6.3" + "symfony/filesystem": "^7.0|^6.3", + "symfony/process": "^7.0|^6.3", + "symfony/serializer": "^7.0|^6.3" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", From 296d770630bc7e98272059d821e207dbb2caf48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Heleno?= Date: Tue, 9 Apr 2024 10:27:51 -0300 Subject: [PATCH 061/142] Add PHP nightly build to test matrix --- .github/workflows/continuous-integration.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e1e32d540..e5ca65d13 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,11 +21,18 @@ jobs: fail-fast: false matrix: php-version: - - "8.1" - - "8.2" - - "8.3" + - '8.1' + - '8.2' + - '8.3' dependency-version: [prefer-lowest, prefer-stable] experimental: [false] + include: + - php-version: '8.4' + dependency-version: prefer-lowest + experimental: true + - php-version: '8.4' + dependency-version: prefer-stable + experimental: true steps: - uses: actions/checkout@v3 @@ -48,8 +55,8 @@ jobs: uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} - restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}- + key: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }}-${{ hashFiles('**/composer.json') }} + restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }} - name: Install dependencies (PHP 8) if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-version >= 8 From c9c540281fe620a35e729aa7fb2548aae346e578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Heleno?= Date: Tue, 9 Apr 2024 10:19:28 -0300 Subject: [PATCH 062/142] Update continuous-integration.yml --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e5ca65d13..4d2df5062 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -35,10 +35,10 @@ jobs: experimental: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.25.4 + uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 @@ -52,7 +52,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache Composer packages - uses: actions/cache@v3 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }}-${{ hashFiles('**/composer.json') }} @@ -69,7 +69,7 @@ jobs: run: composer run-script test-ci - name: Publish code coverage - uses: paambaati/codeclimate-action@v3.2.0 + uses: paambaati/codeclimate-action@a1831d7162ea1fbc612ffe5fb3b90278b7999d59 # v5.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: From 96a1e0fac19ed80cda302926877ebba5a0f36c41 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 23 Apr 2024 09:18:04 -0300 Subject: [PATCH 063/142] Add ergebnis/composer-normalize as dev dependency --- composer.json | 84 ++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 41 deletions(-) diff --git a/composer.json b/composer.json index c090bd792..f59275a16 100644 --- a/composer.json +++ b/composer.json @@ -1,28 +1,8 @@ { "name": "beluga-php/docker-php", + "description": "A Docker PHP client", "license": "MIT", "type": "library", - "description": "A Docker PHP client", - "config": { - "optimize-autoloader": true, - "sort-packages": true, - "preferred-install": "dist", - "allow-plugins": { - "php-http/discovery": false - } - }, - "minimum-stability": "dev", - "prefer-stable": true, - "autoload": { - "psr-4": { - "Docker\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Docker\\Tests\\": "tests/" - } - }, "funding": [ { "type": "github", @@ -37,11 +17,12 @@ "php-http/discovery": "^1.19", "plesk/socket-client": "^2.1", "psr/http-message": "^2.0", - "symfony/filesystem": "^7.0|^6.3", - "symfony/process": "^7.0|^6.3", - "symfony/serializer": "^7.0|^6.3" + "symfony/filesystem": "^6.3 || ^7.0", + "symfony/process": "^6.3 || ^7.0", + "symfony/serializer": "^6.3 || ^7.0" }, "require-dev": { + "ergebnis/composer-normalize": "^2.42", "friendsofphp/php-cs-fixer": "^3.8", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan": "^1.10", @@ -51,36 +32,57 @@ }, "conflict": { "docker-php/docker-php": "*", - "php-http/message": "<1.15", - "nikic/php-parser": "<4.13" + "nikic/php-parser": "<4.13", + "php-http/message": "<1.15" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "autoload": { + "psr-4": { + "Docker\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Docker\\Tests\\": "tests/" + } + }, + "config": { + "allow-plugins": { + "ergebnis/composer-normalize": true, + "php-http/discovery": false + }, + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "extra": { + "branch-alias": { + "1.41": "1.41.x-dev", + "1.42": "1.42.x-dev", + "dev-master": "1.43.x-dev" + } }, "scripts": { - "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", - "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", "console": "vendor/bin/psysh", "lint": "vendor/bin/parallel-lint --exclude vendor .", - "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", + "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", + "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", "phpstan": "vendor/bin/phpstan analyse --level 2 src", - "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", - "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", + "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", "test": [ "@lint", "@phpunit" - ] + ], + "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", + "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml" }, "scripts-descriptions": { "console": "Runs PsySH Console", "lint": "Runs complete codebase lint testing", "phpunit": "Runs library test suite", + "test": "Runs all tests", "test-ci": "Runs library test suite (for continuous integration)", - "test-coverage": "Runs test-coverage analysis", - "test": "Runs all tests" - }, - "extra": { - "branch-alias": { - "dev-master": "1.43.x-dev", - "1.42": "1.42.x-dev", - "1.41": "1.41.x-dev" - } + "test-coverage": "Runs test-coverage analysis" } } From 9cb649532b817247fe063fdf536e3b98d0ab3579 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 23 Apr 2024 09:34:57 -0300 Subject: [PATCH 064/142] Update static analysis workflow dependencies --- .github/workflows/static-analysis.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index e6477607e..54b024140 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -17,32 +17,23 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Repository checkout + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@2.25.4 + uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3 with: - php-version: 8.0 + php-version: 8.1 tools: composer:v2 coverage: none - name: Validate composer.json and composer.lock - run: composer validate - - - name: Get composer cache directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Cache Composer packages - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: phpstan-linux-php-8.0-${{ hashFiles('**/composer.lock') }} - restore-keys: phpstan-linux-php-8.0- + run: composer validate --strict - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' - run: composer update --prefer-stable --ignore-platform-req=php --no-progress --no-interaction + uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0 + with: + dependency-versions: lowest - name: Run PHPStan run: composer run-script phpstan -- --no-progress From 775faf4dcc4e34aa70ac6200a7c06816af7ef984 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Tue, 23 Apr 2024 09:44:48 -0300 Subject: [PATCH 065/142] Update continuous integration workflow dependencies --- .github/workflows/continuous-integration.yml | 32 ++++++++------------ 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4d2df5062..16a20180c 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -24,43 +24,37 @@ jobs: - '8.1' - '8.2' - '8.3' - dependency-version: [prefer-lowest, prefer-stable] + dependency-versions: [lowest, highest] experimental: [false] include: - php-version: '8.4' - dependency-version: prefer-lowest + dependency-versions: lowest experimental: true + composer-options: --ignore-platform-reqs - php-version: '8.4' - dependency-version: prefer-stable + dependency-versions: highest experimental: true + composer-options: --ignore-platform-reqs steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - name: Repository checkout + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2.29.0 + uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3 with: php-version: ${{ matrix.php-version }} tools: composer:v2 coverage: pcov - name: Validate composer.json and composer.lock - run: composer validate + run: composer validate --strict - - name: Get composer cache directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Cache Composer packages - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + - name: Install dependencies + uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0 with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }}-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }} - - - name: Install dependencies (PHP 8) - if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-version >= 8 - run: composer update --${{ matrix.dependency-version }} --ignore-platform-req=php --no-progress --no-interaction + dependency-versions: ${{ matrix.dependency-versions }} + composer-options: ${{ matrix.composer-options }} - name: Pull the docker image used by the tests. run: docker pull busybox:latest From 442c689bd9edc78d337f235d544220e33557cb5a Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 12 Aug 2024 11:20:08 -0300 Subject: [PATCH 066/142] Prepare for 1.44.0 --- composer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f59275a16..5e94fc129 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.43.0", + "beluga-php/docker-php-api": "7.1.44.0", "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", "php-http/discovery": "^1.19", @@ -60,7 +60,9 @@ "branch-alias": { "1.41": "1.41.x-dev", "1.42": "1.42.x-dev", - "dev-master": "1.43.x-dev" + "1.43": "1.43.x-dev", + "1.44": "1.44.x-dev", + "dev-master": "1.45.x-dev" } }, "scripts": { From d9c177140cb5ef068646b51ea097c941bdb7b877 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 12 Aug 2024 11:22:48 -0300 Subject: [PATCH 067/142] Prepare for v1.45.0 --- composer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 5e94fc129..231e4a769 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.44.0", + "beluga-php/docker-php-api": "7.1.45.0", "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", "php-http/discovery": "^1.19", @@ -62,7 +62,8 @@ "1.42": "1.42.x-dev", "1.43": "1.43.x-dev", "1.44": "1.44.x-dev", - "dev-master": "1.45.x-dev" + "1.45": "1.45.x-dev" + "dev-master": "1.46.x-dev" } }, "scripts": { From 8fbdc317ea34f495ec39ad9612c6d901edc06197 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 12 Aug 2024 11:32:11 -0300 Subject: [PATCH 068/142] Relax beluga-php/docker-php-api constraint --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 231e4a769..de0d725f9 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.45.0", + "beluga-php/docker-php-api": "7.1.45.*", "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", "php-http/discovery": "^1.19", From 393323a9c0a05e36a172bae0aee282c8518c84f5 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Mon, 12 Aug 2024 11:41:14 -0300 Subject: [PATCH 069/142] Fix composer.json syntax --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index de0d725f9..9e95bdade 100644 --- a/composer.json +++ b/composer.json @@ -62,7 +62,7 @@ "1.42": "1.42.x-dev", "1.43": "1.43.x-dev", "1.44": "1.44.x-dev", - "1.45": "1.45.x-dev" + "1.45": "1.45.x-dev", "dev-master": "1.46.x-dev" } }, From 524a3058efa125cee1c84bb9b3e959f293f567e7 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Fri, 28 Feb 2025 08:31:39 -0300 Subject: [PATCH 070/142] Switch back to php-http/socket-client --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9e95bdade..2e80e384c 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", "php-http/discovery": "^1.19", - "plesk/socket-client": "^2.1", + "php-http/socket-client": "^2.1", "psr/http-message": "^2.0", "symfony/filesystem": "^6.3 || ^7.0", "symfony/process": "^6.3 || ^7.0", From 632e2b5617e2fdf5bec65ee7b792f3bbccbf19f8 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Sun, 25 May 2025 11:28:18 +0200 Subject: [PATCH 071/142] feat: php 8.4 support --- .github/workflows/continuous-integration.yml | 80 +++++++++----------- src/Context/Context.php | 2 +- src/Context/ContextBuilder.php | 2 +- src/Docker.php | 2 +- src/DockerClientFactory.php | 4 +- src/Endpoint/ContainerAttach.php | 2 +- src/Endpoint/ExecStart.php | 2 +- src/Endpoint/ImageBuild.php | 2 +- src/Endpoint/ImageCreate.php | 2 +- src/Endpoint/ImagePush.php | 2 +- src/Endpoint/SystemEvents.php | 2 +- 11 files changed, 47 insertions(+), 55 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 16a20180c..794e609bd 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -3,12 +3,12 @@ name: "Continuous Integration" on: push: paths-ignore: - - 'doc/**' - - '.github/**' + - "doc/**" + - ".github/**" pull_request: paths-ignore: - - 'doc/**' - - '.github/**' + - "doc/**" + - ".github/**" jobs: phpunit: @@ -21,53 +21,45 @@ jobs: fail-fast: false matrix: php-version: - - '8.1' - - '8.2' - - '8.3' + - "8.1" + - "8.2" + - "8.3" + - "8.4" dependency-versions: [lowest, highest] experimental: [false] - include: - - php-version: '8.4' - dependency-versions: lowest - experimental: true - composer-options: --ignore-platform-reqs - - php-version: '8.4' - dependency-versions: highest - experimental: true - composer-options: --ignore-platform-reqs steps: - - name: Repository checkout - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 + - name: Repository checkout + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3 - with: - php-version: ${{ matrix.php-version }} - tools: composer:v2 - coverage: pcov + - name: Setup PHP with PECL extension + uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3 + with: + php-version: ${{ matrix.php-version }} + tools: composer:v2 + coverage: pcov - - name: Validate composer.json and composer.lock - run: composer validate --strict + - name: Validate composer.json and composer.lock + run: composer validate --strict - - name: Install dependencies - uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0 - with: - dependency-versions: ${{ matrix.dependency-versions }} - composer-options: ${{ matrix.composer-options }} + - name: Install dependencies + uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0 + with: + dependency-versions: ${{ matrix.dependency-versions }} + composer-options: ${{ matrix.composer-options }} - - name: Pull the docker image used by the tests. - run: docker pull busybox:latest + - name: Pull the docker image used by the tests. + run: docker pull busybox:latest - - name: Run PHPUnit test suite - run: composer run-script test-ci + - name: Run PHPUnit test suite + run: composer run-script test-ci - - name: Publish code coverage - uses: paambaati/codeclimate-action@a1831d7162ea1fbc612ffe5fb3b90278b7999d59 # v5.0.0 - env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - with: - coverageCommand: composer run-script test-coverage - coverageLocations: | - ${{github.workspace}}/clover.xml:clover - if: github.event_name != 'pull_request' + - name: Publish code coverage + uses: paambaati/codeclimate-action@a1831d7162ea1fbc612ffe5fb3b90278b7999d59 # v5.0.0 + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + with: + coverageCommand: composer run-script test-coverage + coverageLocations: | + ${{github.workspace}}/clover.xml:clover + if: github.event_name != 'pull_request' diff --git a/src/Context/Context.php b/src/Context/Context.php index 1cc9b1ec9..320f131f4 100644 --- a/src/Context/Context.php +++ b/src/Context/Context.php @@ -52,7 +52,7 @@ class Context implements ContextInterface * @param string $format Format to use when sending the call (stream or tar: string) * @param Filesystem $fs filesystem object for cleaning the context directory on destruction */ - public function __construct($directory, $format = self::FORMAT_STREAM, Filesystem $fs = null) + public function __construct($directory, $format = self::FORMAT_STREAM, ?Filesystem $fs = null) { $this->directory = $directory; $this->format = $format; diff --git a/src/Context/ContextBuilder.php b/src/Context/ContextBuilder.php index 0464b15a0..cda9629f5 100644 --- a/src/Context/ContextBuilder.php +++ b/src/Context/ContextBuilder.php @@ -41,7 +41,7 @@ class ContextBuilder /** * @param \Symfony\Component\Filesystem\Filesystem $fs */ - public function __construct(Filesystem $fs = null) + public function __construct(?Filesystem $fs = null) { $this->fs = $fs ?: new Filesystem(); $this->format = Context::FORMAT_STREAM; diff --git a/src/Docker.php b/src/Docker.php index b63c99cdb..9333e7e3c 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -66,7 +66,7 @@ public function imageBuild($requestBody = null, array $queryParameters = [], arr /** * {@inheritdoc} */ - public function imageCreate(string $requestBody = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function imageCreate(?string $requestBody = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new ImageCreate($requestBody, $queryParameters, $headerParameters), $fetch); } diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 74a43dd8b..0b6fbfb82 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -16,7 +16,7 @@ final class DockerClientFactory { - public static function create(array $config = [], PluginClientFactory $pluginClientFactory = null): PluginClient + public static function create(array $config = [], ?PluginClientFactory $pluginClientFactory = null): PluginClient { if (!\array_key_exists('remote_socket', $config)) { $config['remote_socket'] = 'unix:///var/run/docker.sock'; @@ -46,7 +46,7 @@ public static function create(array $config = [], PluginClientFactory $pluginCli ); } - public static function createFromEnv(PluginClientFactory $pluginClientFactory = null): PluginClient + public static function createFromEnv(?PluginClientFactory $pluginClientFactory = null): PluginClient { $options = [ 'remote_socket' => getenv('DOCKER_HOST') ? getenv('DOCKER_HOST') : 'unix:///var/run/docker.sock', diff --git a/src/Endpoint/ContainerAttach.php b/src/Endpoint/ContainerAttach.php index 571ec2252..1c776639e 100644 --- a/src/Endpoint/ContainerAttach.php +++ b/src/Endpoint/ContainerAttach.php @@ -11,7 +11,7 @@ class ContainerAttach extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { return new DockerRawStream($response->getBody()); diff --git a/src/Endpoint/ExecStart.php b/src/Endpoint/ExecStart.php index 844a49066..e2d8985be 100644 --- a/src/Endpoint/ExecStart.php +++ b/src/Endpoint/ExecStart.php @@ -11,7 +11,7 @@ class ExecStart extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { return new DockerRawStream($response->getBody()); diff --git a/src/Endpoint/ImageBuild.php b/src/Endpoint/ImageBuild.php index c0ceb6459..49239c4cf 100644 --- a/src/Endpoint/ImageBuild.php +++ b/src/Endpoint/ImageBuild.php @@ -24,7 +24,7 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null): return [['Content-Type' => ['application/octet-stream']], $body]; } - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode()) { return new BuildStream($response->getBody(), $serializer); diff --git a/src/Endpoint/ImageCreate.php b/src/Endpoint/ImageCreate.php index 3ea1aad04..3a50da2e9 100644 --- a/src/Endpoint/ImageCreate.php +++ b/src/Endpoint/ImageCreate.php @@ -11,7 +11,7 @@ class ImageCreate extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode()) { return new CreateImageStream($response->getBody(), $serializer); diff --git a/src/Endpoint/ImagePush.php b/src/Endpoint/ImagePush.php index 64ea660b3..61e165915 100644 --- a/src/Endpoint/ImagePush.php +++ b/src/Endpoint/ImagePush.php @@ -16,7 +16,7 @@ public function getUri(): string return str_replace(['{name}'], [urlencode($this->name)], '/images/{name}/push'); } - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode()) { return new PushStream($response->getBody(), $serializer); diff --git a/src/Endpoint/SystemEvents.php b/src/Endpoint/SystemEvents.php index 339a60625..3f57e916c 100644 --- a/src/Endpoint/SystemEvents.php +++ b/src/Endpoint/SystemEvents.php @@ -11,7 +11,7 @@ class SystemEvents extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode()) { return new EventStream($response->getBody(), $serializer); From a2707610dbb5d41d0dfd963bd560e6fa40529ba5 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Sun, 25 May 2025 11:39:39 +0200 Subject: [PATCH 072/142] fix: update to phpunit 10, to fix pipeline issues --- .gitignore | 1 + composer.json | 174 +++++++++++++-------------- tests/Stream/MultiJsonStreamTest.php | 11 +- 3 files changed, 97 insertions(+), 89 deletions(-) diff --git a/.gitignore b/.gitignore index 64afb0b51..8d49b5514 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ bin/ composer.lock .vagrant /.php-cs-fixer.cache +/.phpunit.result.cache diff --git a/composer.json b/composer.json index 2e80e384c..276633f7f 100644 --- a/composer.json +++ b/composer.json @@ -1,91 +1,91 @@ { - "name": "beluga-php/docker-php", - "description": "A Docker PHP client", - "license": "MIT", - "type": "library", - "funding": [ - { - "type": "github", - "url": "https://github.com/flavioheleno" - } - ], - "require": { - "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.45.*", - "nyholm/psr7": "^1.8", - "php-http/client-common": "^2.7", - "php-http/discovery": "^1.19", - "php-http/socket-client": "^2.1", - "psr/http-message": "^2.0", - "symfony/filesystem": "^6.3 || ^7.0", - "symfony/process": "^6.3 || ^7.0", - "symfony/serializer": "^6.3 || ^7.0" - }, - "require-dev": { - "ergebnis/composer-normalize": "^2.42", - "friendsofphp/php-cs-fixer": "^3.8", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.5", - "psy/psysh": "^0.12", - "roave/security-advisories": "dev-latest" - }, - "conflict": { - "docker-php/docker-php": "*", - "nikic/php-parser": "<4.13", - "php-http/message": "<1.15" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "autoload": { - "psr-4": { - "Docker\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Docker\\Tests\\": "tests/" - } - }, - "config": { - "allow-plugins": { - "ergebnis/composer-normalize": true, - "php-http/discovery": false - }, - "optimize-autoloader": true, - "preferred-install": "dist", - "sort-packages": true - }, - "extra": { - "branch-alias": { - "1.41": "1.41.x-dev", - "1.42": "1.42.x-dev", - "1.43": "1.43.x-dev", - "1.44": "1.44.x-dev", - "1.45": "1.45.x-dev", - "dev-master": "1.46.x-dev" - } - }, - "scripts": { - "console": "vendor/bin/psysh", - "lint": "vendor/bin/parallel-lint --exclude vendor .", - "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", - "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", - "phpstan": "vendor/bin/phpstan analyse --level 2 src", - "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", - "test": [ - "@lint", - "@phpunit" - ], - "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", - "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml" + "name": "beluga-php/docker-php", + "description": "A Docker PHP client", + "license": "MIT", + "type": "library", + "funding": [ + { + "type": "github", + "url": "https://github.com/flavioheleno" + } + ], + "require": { + "php": ">=8.1", + "beluga-php/docker-php-api": "7.1.45.*", + "nyholm/psr7": "^1.8", + "php-http/client-common": "^2.7", + "php-http/discovery": "^1.19", + "php-http/socket-client": "^2.3", + "psr/http-message": "^2.0", + "symfony/filesystem": "^6.3 || ^7.0", + "symfony/process": "^6.3 || ^7.0", + "symfony/serializer": "^6.3 || ^7.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.42", + "friendsofphp/php-cs-fixer": "^3.8", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5.46", + "psy/psysh": "^0.12.8", + "roave/security-advisories": "dev-latest" + }, + "conflict": { + "docker-php/docker-php": "*", + "nikic/php-parser": "<4.13", + "php-http/message": "<1.15" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "autoload": { + "psr-4": { + "Docker\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Docker\\Tests\\": "tests/" + } + }, + "config": { + "allow-plugins": { + "ergebnis/composer-normalize": true, + "php-http/discovery": false }, - "scripts-descriptions": { - "console": "Runs PsySH Console", - "lint": "Runs complete codebase lint testing", - "phpunit": "Runs library test suite", - "test": "Runs all tests", - "test-ci": "Runs library test suite (for continuous integration)", - "test-coverage": "Runs test-coverage analysis" + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "extra": { + "branch-alias": { + "1.41": "1.41.x-dev", + "1.42": "1.42.x-dev", + "1.43": "1.43.x-dev", + "1.44": "1.44.x-dev", + "1.45": "1.45.x-dev", + "dev-master": "1.46.x-dev" } + }, + "scripts": { + "console": "vendor/bin/psysh", + "lint": "vendor/bin/parallel-lint --exclude vendor .", + "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", + "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", + "phpstan": "vendor/bin/phpstan analyse --level 2 src", + "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", + "test": [ + "@lint", + "@phpunit" + ], + "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", + "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml" + }, + "scripts-descriptions": { + "console": "Runs PsySH Console", + "lint": "Runs complete codebase lint testing", + "phpunit": "Runs library test suite", + "test": "Runs all tests", + "test-ci": "Runs library test suite (for continuous integration)", + "test-coverage": "Runs test-coverage analysis" + } } diff --git a/tests/Stream/MultiJsonStreamTest.php b/tests/Stream/MultiJsonStreamTest.php index 29d65739a..6d4a46acf 100644 --- a/tests/Stream/MultiJsonStreamTest.php +++ b/tests/Stream/MultiJsonStreamTest.php @@ -41,11 +41,18 @@ public function testReadJsonEscapedDoubleQuote(string $jsonStream, array $jsonPa $serializer = $this->getMockBuilder(SerializerInterface::class) ->getMock(); + $callIndex = 0; $serializer ->expects($this->exactly(\count($jsonParts))) ->method('deserialize') - ->withConsecutive(...array_map(fn ($part) => [$part, BuildInfo::class, 'json', []], $jsonParts)) - ; + ->willReturnCallback(function ($data, $class, $format, $context) use ($jsonParts, &$callIndex) { + $this->assertEquals($jsonParts[$callIndex], $data); + $this->assertEquals(BuildInfo::class, $class); + $this->assertEquals('json', $format); + $this->assertEquals([], $context); + $callIndex++; + return null; + }); $stub = $this->getMockForAbstractClass(MultiJsonStream::class, [$stream, $serializer]); $stub->expects($this->any()) From abe1c9a21d9f03b15355ed0566a6252a28b4a0bb Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Sun, 25 May 2025 11:40:46 +0200 Subject: [PATCH 073/142] ci: publish code climate only on main repo --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 794e609bd..c6d09174a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -4,15 +4,14 @@ on: push: paths-ignore: - "doc/**" - - ".github/**" pull_request: paths-ignore: - "doc/**" - - ".github/**" + jobs: phpunit: - name: PHP ${{ matrix.php-version }} (${{ matrix.dependency-version }}) + name: PHP ${{ matrix.php-version }} (${{ matrix.dependency-versions }}) runs-on: ubuntu-latest continue-on-error: ${{ matrix.experimental }} @@ -55,6 +54,7 @@ jobs: run: composer run-script test-ci - name: Publish code coverage + if: github.repository == 'beluga-php/docker-php' && github.event_name != 'pull_request' uses: paambaati/codeclimate-action@a1831d7162ea1fbc612ffe5fb3b90278b7999d59 # v5.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} @@ -62,4 +62,4 @@ jobs: coverageCommand: composer run-script test-coverage coverageLocations: | ${{github.workspace}}/clover.xml:clover - if: github.event_name != 'pull_request' + From c81738c945052b3a80b80c4532ce4f10df459242 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Sun, 25 May 2025 11:51:51 +0200 Subject: [PATCH 074/142] feat: add editor config --- .editorconfig | 16 +++++ composer.json | 174 +++++++++++++++++++++++++------------------------- 2 files changed, 103 insertions(+), 87 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..d95b72a20 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true + +# JSON files +[*.json] +indent_style = space +indent_size = 4 diff --git a/composer.json b/composer.json index 276633f7f..f680bd44d 100644 --- a/composer.json +++ b/composer.json @@ -1,91 +1,91 @@ { - "name": "beluga-php/docker-php", - "description": "A Docker PHP client", - "license": "MIT", - "type": "library", - "funding": [ - { - "type": "github", - "url": "https://github.com/flavioheleno" - } - ], - "require": { - "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.45.*", - "nyholm/psr7": "^1.8", - "php-http/client-common": "^2.7", - "php-http/discovery": "^1.19", - "php-http/socket-client": "^2.3", - "psr/http-message": "^2.0", - "symfony/filesystem": "^6.3 || ^7.0", - "symfony/process": "^6.3 || ^7.0", - "symfony/serializer": "^6.3 || ^7.0" - }, - "require-dev": { - "ergebnis/composer-normalize": "^2.42", - "friendsofphp/php-cs-fixer": "^3.8", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^10.5.46", - "psy/psysh": "^0.12.8", - "roave/security-advisories": "dev-latest" - }, - "conflict": { - "docker-php/docker-php": "*", - "nikic/php-parser": "<4.13", - "php-http/message": "<1.15" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "autoload": { - "psr-4": { - "Docker\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Docker\\Tests\\": "tests/" - } - }, - "config": { - "allow-plugins": { - "ergebnis/composer-normalize": true, - "php-http/discovery": false + "name": "beluga-php/docker-php", + "description": "A Docker PHP client", + "license": "MIT", + "type": "library", + "funding": [ + { + "type": "github", + "url": "https://github.com/flavioheleno" + } + ], + "require": { + "php": ">=8.1", + "beluga-php/docker-php-api": "7.1.45.*", + "nyholm/psr7": "^1.8", + "php-http/client-common": "^2.7", + "php-http/discovery": "^1.19", + "php-http/socket-client": "^2.3", + "psr/http-message": "^2.0", + "symfony/filesystem": "^6.3 || ^7.0", + "symfony/process": "^6.3 || ^7.0", + "symfony/serializer": "^6.3 || ^7.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.42", + "friendsofphp/php-cs-fixer": "^3.8", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5.46", + "psy/psysh": "^0.12.8", + "roave/security-advisories": "dev-latest" + }, + "conflict": { + "docker-php/docker-php": "*", + "nikic/php-parser": "<4.13", + "php-http/message": "<1.15" }, - "optimize-autoloader": true, - "preferred-install": "dist", - "sort-packages": true - }, - "extra": { - "branch-alias": { - "1.41": "1.41.x-dev", - "1.42": "1.42.x-dev", - "1.43": "1.43.x-dev", - "1.44": "1.44.x-dev", - "1.45": "1.45.x-dev", - "dev-master": "1.46.x-dev" + "minimum-stability": "dev", + "prefer-stable": true, + "autoload": { + "psr-4": { + "Docker\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Docker\\Tests\\": "tests/" + } + }, + "config": { + "allow-plugins": { + "ergebnis/composer-normalize": true, + "php-http/discovery": false + }, + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "extra": { + "branch-alias": { + "1.41": "1.41.x-dev", + "1.42": "1.42.x-dev", + "1.43": "1.43.x-dev", + "1.44": "1.44.x-dev", + "1.45": "1.45.x-dev", + "dev-master": "1.46.x-dev" + } + }, + "scripts": { + "console": "vendor/bin/psysh", + "lint": "vendor/bin/parallel-lint --exclude vendor .", + "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", + "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", + "phpstan": "vendor/bin/phpstan analyse --level 2 src", + "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", + "test": [ + "@lint", + "@phpunit" + ], + "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", + "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml" + }, + "scripts-descriptions": { + "console": "Runs PsySH Console", + "lint": "Runs complete codebase lint testing", + "phpunit": "Runs library test suite", + "test": "Runs all tests", + "test-ci": "Runs library test suite (for continuous integration)", + "test-coverage": "Runs test-coverage analysis" } - }, - "scripts": { - "console": "vendor/bin/psysh", - "lint": "vendor/bin/parallel-lint --exclude vendor .", - "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", - "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", - "phpstan": "vendor/bin/phpstan analyse --level 2 src", - "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", - "test": [ - "@lint", - "@phpunit" - ], - "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", - "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml" - }, - "scripts-descriptions": { - "console": "Runs PsySH Console", - "lint": "Runs complete codebase lint testing", - "phpunit": "Runs library test suite", - "test": "Runs all tests", - "test-ci": "Runs library test suite (for continuous integration)", - "test-coverage": "Runs test-coverage analysis" - } } From 51909c28fc0a6b8209ef3ef1371abbe6c946456d Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Sun, 25 May 2025 12:36:14 -0300 Subject: [PATCH 075/142] Fix PHPUnit deprecations --- composer.json | 2 +- phpunit.xml.dist | 32 +++++++++++++--------------- tests/Stream/MultiJsonStreamTest.php | 2 +- 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index f680bd44d..118d66ff4 100644 --- a/composer.json +++ b/composer.json @@ -72,7 +72,7 @@ "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", "phpstan": "vendor/bin/phpstan analyse --level 2 src", - "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", + "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", "test": [ "@lint", "@phpunit" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d1446e798..cbc386105 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,25 +1,23 @@ - - - - src - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd" + backupGlobals="false" + colors="true" + processIsolation="false" + stopOnFailure="false" + bootstrap="vendor/autoload.php" + cacheDirectory=".phpunit.cache" + backupStaticProperties="false"> + tests/ + + + src + + diff --git a/tests/Stream/MultiJsonStreamTest.php b/tests/Stream/MultiJsonStreamTest.php index 6d4a46acf..e3683e5c3 100644 --- a/tests/Stream/MultiJsonStreamTest.php +++ b/tests/Stream/MultiJsonStreamTest.php @@ -12,7 +12,7 @@ class MultiJsonStreamTest extends TestCase { - public function jsonStreamDataProvider() + public static function jsonStreamDataProvider() { return [ [ From c86f3e6bd567a6bd2b4434f55e16f9df2e8525be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 25 May 2025 15:39:26 +0000 Subject: [PATCH 076/142] Bump shivammathur/setup-php from 2.30.3 to 2.31.0 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.30.3 to 2.31.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a...2e947f1f6932d141d076ca441d0e1e881775e95b) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c6d09174a..d0586282b 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3 + uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 54b024140..44a1d56db 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3 + uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0 with: php-version: 8.1 tools: composer:v2 From d0cb03cb3e14278213afc46e52807e95adc1b0e9 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Fri, 14 Nov 2025 21:36:41 -0300 Subject: [PATCH 077/142] Fix composer branch alias --- composer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 118d66ff4..b5d9dd4f2 100644 --- a/composer.json +++ b/composer.json @@ -62,8 +62,7 @@ "1.42": "1.42.x-dev", "1.43": "1.43.x-dev", "1.44": "1.44.x-dev", - "1.45": "1.45.x-dev", - "dev-master": "1.46.x-dev" + "dev-master": "1.45.x-dev" } }, "scripts": { From 00fac8e12f5460c78a5c79ee75d8792b444b6a62 Mon Sep 17 00:00:00 2001 From: Flavio Heleno Date: Fri, 14 Nov 2025 21:36:57 -0300 Subject: [PATCH 078/142] Fix base url in DockerClientFactory --- src/DockerClientFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 0b6fbfb82..39b07e890 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -34,7 +34,7 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl [ new ContentLengthPlugin(), new DecoderPlugin(), - new AddPathPlugin($uriFactory->createUri('/v1.43')), + new AddPathPlugin($uriFactory->createUri('/v1.45')), new AddHostPlugin($uriFactory->createUri($host)), new HeaderDefaultsPlugin([ 'host' => parse_url($host, \PHP_URL_HOST), From b228bab8b0b08566001926761002ac28349040de Mon Sep 17 00:00:00 2001 From: Jorg Sowa Date: Tue, 23 Dec 2025 17:58:27 +0100 Subject: [PATCH 079/142] ci: updated symfony dependencies --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index b5d9dd4f2..eca91be79 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ "php-http/discovery": "^1.19", "php-http/socket-client": "^2.3", "psr/http-message": "^2.0", - "symfony/filesystem": "^6.3 || ^7.0", - "symfony/process": "^6.3 || ^7.0", - "symfony/serializer": "^6.3 || ^7.0" + "symfony/filesystem": "^6.3 || ^7.0 || ^8.0", + "symfony/process": "^6.3 || ^7.0 || ^8.0", + "symfony/serializer": "^6.3 || ^7.0 || ^8.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.42", From 1ac315356b2a0581fe971e95e066c62551453263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Heleno?= Date: Wed, 11 Jun 2025 22:50:47 -0300 Subject: [PATCH 080/142] Drop CodeClimate integration from CI Workflow --- .github/workflows/continuous-integration.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d0586282b..4e6431d79 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -8,7 +8,6 @@ on: paths-ignore: - "doc/**" - jobs: phpunit: name: PHP ${{ matrix.php-version }} (${{ matrix.dependency-versions }}) @@ -52,14 +51,3 @@ jobs: - name: Run PHPUnit test suite run: composer run-script test-ci - - - name: Publish code coverage - if: github.repository == 'beluga-php/docker-php' && github.event_name != 'pull_request' - uses: paambaati/codeclimate-action@a1831d7162ea1fbc612ffe5fb3b90278b7999d59 # v5.0.0 - env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - with: - coverageCommand: composer run-script test-coverage - coverageLocations: | - ${{github.workspace}}/clover.xml:clover - From 5bf738c6fc3836ef8a332492b748a5a0e60d65f3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 15 Nov 2025 00:43:35 +0000 Subject: [PATCH 081/142] Bump shivammathur/setup-php from 2.33.0 to 2.35.5 Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.33.0 to 2.35.5. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/cf4cade2721270509d5b1c766ab3549210a39a2a...bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-version: 2.35.5 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4e6431d79..abc3cc549 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0 + uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 with: php-version: ${{ matrix.php-version }} tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 44a1d56db..875822ceb 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # v2.33.0 + uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 with: php-version: 8.1 tools: composer:v2 From af7f862142ef03778be8fd9b85eb69bcfc91e93a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 15 Nov 2025 00:45:31 +0000 Subject: [PATCH 082/142] Bump actions/checkout from 4.1.3 to 5.0.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 5.0.0. - [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/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...08c6903cd8c0fde910a37f88322edcfb5dd907a8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index abc3cc549..4c69d1f5b 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Repository checkout - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 875822ceb..c5fcdba98 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Repository checkout - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 From 0730bd59b39fafa0308f52189eaed162c976f545 Mon Sep 17 00:00:00 2001 From: Adam Spychala Date: Wed, 4 Jun 2025 19:01:30 +0200 Subject: [PATCH 083/142] set explicit nullable parameters for PHP 8.4 --- src/Endpoint/ContainerAttachWebsocket.php | 3 ++- src/Endpoint/ContainerLogs.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Endpoint/ContainerAttachWebsocket.php b/src/Endpoint/ContainerAttachWebsocket.php index 6009f415a..ee6fe0237 100644 --- a/src/Endpoint/ContainerAttachWebsocket.php +++ b/src/Endpoint/ContainerAttachWebsocket.php @@ -27,7 +27,8 @@ public function getExtraHeaders(): array ); } - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string + $contentType = null) { if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { return new AttachWebsocketStream($response->getBody()); diff --git a/src/Endpoint/ContainerLogs.php b/src/Endpoint/ContainerLogs.php index 573ae6481..996b09c39 100644 --- a/src/Endpoint/ContainerLogs.php +++ b/src/Endpoint/ContainerLogs.php @@ -11,7 +11,7 @@ class ContainerLogs extends BaseEndpoint { - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, string $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { return new DockerRawStream($response->getBody()); From 19ecd58c1560b26da13307eb062b91e6c16e25a0 Mon Sep 17 00:00:00 2001 From: Jorg Sowa Date: Wed, 10 Dec 2025 17:51:05 +0100 Subject: [PATCH 084/142] ci: support PHP 8.5 in CI --- .github/workflows/continuous-integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4c69d1f5b..89f832c3e 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -23,6 +23,7 @@ jobs: - "8.2" - "8.3" - "8.4" + - "8.5" dependency-versions: [lowest, highest] experimental: [false] From 2eaf579e19ed08e8d3360bee545ad85f18deadc0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:40:13 +0000 Subject: [PATCH 085/142] Bump ramsey/composer-install from 3.0.0 to 3.1.1 Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 3.0.0 to 3.1.1. - [Release notes](https://github.com/ramsey/composer-install/releases) - [Commits](https://github.com/ramsey/composer-install/compare/57532f8be5bda426838819c5ee9afb8af389d51a...3cf229dc2919194e9e36783941438d17239e8520) --- updated-dependencies: - dependency-name: ramsey/composer-install dependency-version: 3.1.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 89f832c3e..854f94f74 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -42,7 +42,7 @@ jobs: run: composer validate --strict - name: Install dependencies - uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0 + uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1 with: dependency-versions: ${{ matrix.dependency-versions }} composer-options: ${{ matrix.composer-options }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index c5fcdba98..43f70ce66 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -31,7 +31,7 @@ jobs: run: composer validate --strict - name: Install dependencies - uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0 + uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1 with: dependency-versions: lowest From 41afe41337432b43befc2d89f8e49d2c3b0447a3 Mon Sep 17 00:00:00 2001 From: Rid Date: Fri, 4 Sep 2026 17:03:19 +0100 Subject: [PATCH 086/142] fix: restore compatibility with regenerated API client --- src/Docker.php | 17 +++++++----- src/Exception/BadRequestException.php | 20 +++++++++++++++ tests/DockerTest.php | 37 +++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 7 deletions(-) create mode 100644 src/Exception/BadRequestException.php diff --git a/src/Docker.php b/src/Docker.php index 9333e7e3c..af430fdf0 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -6,7 +6,6 @@ use Docker\API\Client; use Docker\API\Endpoint\SystemInfo; -use Docker\API\Exception\BadRequestException; use Docker\API\Model\AuthConfig; use Docker\API\Model\ExecIdStartPostBody; use Docker\Endpoint\ContainerAttach; @@ -17,6 +16,7 @@ use Docker\Endpoint\ImageCreate; use Docker\Endpoint\ImagePush; use Docker\Endpoint\SystemEvents; +use Docker\Exception\BadRequestException; /** * Docker\Docker. @@ -90,28 +90,31 @@ public function systemEvents(array $queryParameters = [], string $fetch = self:: public static function create( $httpClient = null, array $additionalPlugins = [], - array $additionalNormalizers = [] + array $additionalNormalizers = [], + bool $applyServerPlugins = true ): self { if (null === $httpClient) { $httpClient = DockerClientFactory::createFromEnv(); + $applyServerPlugins = false; } - $client = parent::create($httpClient, $additionalPlugins, $additionalNormalizers); - $testClient = $client->executeRawEndpoint(new SystemInfo())->getBody()->getContents(); + $client = parent::create($httpClient, $additionalPlugins, $additionalNormalizers, $applyServerPlugins); + $response = $client->executeRawEndpoint(new SystemInfo()); + $testClient = $response->getBody()->getContents(); $jsonObj = json_decode($testClient); if ($jsonObj !== null) { if (isset($jsonObj->message)) { // Check if the client is too new if (strpos($jsonObj->message, 'client version') !== false && strpos($jsonObj->message, 'is too new') !== false) { - throw new BadRequestException("The client version is not supported by your version of Docker. Message: {$jsonObj->message}"); + throw new BadRequestException("The client version is not supported by your version of Docker. Message: {$jsonObj->message}", $response); } else { - throw new BadRequestException($jsonObj->message); + throw new BadRequestException($jsonObj->message, $response); } } } else { - throw new BadRequestException("Failed to decode JSON."); + throw new BadRequestException("Failed to decode JSON.", $response); } return $client; } diff --git a/src/Exception/BadRequestException.php b/src/Exception/BadRequestException.php new file mode 100644 index 000000000..ee0353ac0 --- /dev/null +++ b/src/Exception/BadRequestException.php @@ -0,0 +1,20 @@ +response; + } +} diff --git a/tests/DockerTest.php b/tests/DockerTest.php index baba25237..ae8759176 100644 --- a/tests/DockerTest.php +++ b/tests/DockerTest.php @@ -5,6 +5,11 @@ namespace Docker\Tests; use Docker\Docker; +use Docker\Exception\BadRequestException; +use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientInterface; +use Psr\Http\Message\RequestInterface; +use Psr\Http\Message\ResponseInterface; class DockerTest extends TestCase { @@ -12,4 +17,36 @@ public function testCreate(): void { $this->assertInstanceOf(Docker::class, Docker::create()); } + + public function testCreateForwardsServerPluginOption(): void + { + $httpClient = new class implements ClientInterface { + public ?RequestInterface $request = null; + + public function sendRequest(RequestInterface $request): ResponseInterface + { + $this->request = $request; + + return new Response(200, ['Content-Type' => 'application/json'], '{}'); + } + }; + + $this->assertInstanceOf(Docker::class, Docker::create($httpClient, [], [], false)); + $this->assertSame('/info', $httpClient->request?->getUri()->getPath()); + } + + public function testCreateThrowsConcreteExceptionForInvalidResponse(): void + { + $httpClient = new class implements ClientInterface { + public function sendRequest(RequestInterface $request): ResponseInterface + { + return new Response(200, ['Content-Type' => 'application/json'], 'invalid'); + } + }; + + $this->expectException(BadRequestException::class); + $this->expectExceptionMessage('Failed to decode JSON.'); + + Docker::create($httpClient, [], [], false); + } } From 9d1869dd13ed6d52dfdaa095351f291d824b542c Mon Sep 17 00:00:00 2001 From: Rid Date: Fri, 4 Sep 2026 17:03:44 +0100 Subject: [PATCH 087/142] feat: allow overriding Docker API version --- README.md | 13 +++++-- src/DockerClientFactory.php | 6 +++- tests/DockerClientFactoryTest.php | 58 +++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 51495e03b..860da5237 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,17 @@ composer require beluga-php/docker-php ## Docker API Version -By default it will use the last version of docker api available, if you want to fix a version (like 1.41) you can add this -requirement to composer: +Each release line targets a Docker API version. The 1.45 client uses API v1.45 by default. + +You can override the version used in request URLs when connecting to a Docker daemon that no longer accepts v1.45: + +```bash +DOCKER_API_VERSION=1.52 php your-script.php +``` + +This only changes the API version in request URLs. The generated models and endpoints still use the v1.45 specification. + +To use an older API specification, install the matching API package: ```bash composer require "beluga-php/docker-php-api:6.1.41.*" diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 39b07e890..16511cc2d 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -26,6 +26,10 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl $uriFactory = Psr17FactoryDiscovery::findUriFactory(); $host = preg_match('/unix:\/\//', $config['remote_socket']) ? 'http://localhost' : $config['remote_socket']; + $dockerApiVersion = ltrim(getenv('DOCKER_API_VERSION') ?: 'v1.45', '/'); + if (!str_starts_with($dockerApiVersion, 'v')) { + $dockerApiVersion = 'v'.$dockerApiVersion; + } $pluginClientFactory ??= new PluginClientFactory(); @@ -34,7 +38,7 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl [ new ContentLengthPlugin(), new DecoderPlugin(), - new AddPathPlugin($uriFactory->createUri('/v1.45')), + new AddPathPlugin($uriFactory->createUri('/'.$dockerApiVersion)), new AddHostPlugin($uriFactory->createUri($host)), new HeaderDefaultsPlugin([ 'host' => parse_url($host, \PHP_URL_HOST), diff --git a/tests/DockerClientFactoryTest.php b/tests/DockerClientFactoryTest.php index ed09a955c..815d9a4df 100644 --- a/tests/DockerClientFactoryTest.php +++ b/tests/DockerClientFactoryTest.php @@ -5,6 +5,9 @@ namespace Docker\Tests; use Docker\DockerClientFactory; +use Http\Client\Common\Plugin\AddPathPlugin; +use Http\Client\Common\PluginClient; +use Http\Client\Common\PluginClientFactory; use Psr\Http\Client\ClientInterface; class DockerClientFactoryTest extends TestCase @@ -12,6 +15,12 @@ class DockerClientFactoryTest extends TestCase protected function tearDown(): void { parent::tearDown(); + PluginClientFactory::setFactory(static function ($client, array $plugins, array $options): PluginClient { + unset($options['client_name']); + + return new PluginClient($client, $plugins, $options); + }); + putenv('DOCKER_API_VERSION'); putenv('DOCKER_TLS_VERIFY'); } @@ -20,6 +29,32 @@ public function testStaticConstructor(): void $this->assertInstanceOf(ClientInterface::class, DockerClientFactory::create()); } + public function testDefaultApiVersion(): void + { + $this->assertSame('/v1.45', $this->getApiPath()); + } + + public function testApiVersionFromEnvironment(): void + { + putenv('DOCKER_API_VERSION=v1.52'); + + $this->assertSame('/v1.52', $this->getApiPath()); + } + + public function testApiVersionWithLeadingSlash(): void + { + putenv('DOCKER_API_VERSION=/v1.52'); + + $this->assertSame('/v1.52', $this->getApiPath()); + } + + public function testApiVersionWithoutVersionPrefix(): void + { + putenv('DOCKER_API_VERSION=1.52'); + + $this->assertSame('/v1.52', $this->getApiPath()); + } + public function testCreateFromEnvWithoutCertPath(): void { $this->expectException(\RuntimeException::class); @@ -68,4 +103,27 @@ public function testCreateCustomPeerName(): void $this->assertSame('/abc/key.pem', $context['ssl']['local_pk']); $this->assertSame('test', $context['ssl']['peer_name']); } + + private function getApiPath(): string + { + $plugins = []; + PluginClientFactory::setFactory(static function ($client, array $createdPlugins, array $options) use (&$plugins): PluginClient { + $plugins = $createdPlugins; + unset($options['client_name']); + + return new PluginClient($client, $createdPlugins, $options); + }); + + DockerClientFactory::create(); + + foreach ($plugins as $plugin) { + if ($plugin instanceof AddPathPlugin) { + $uri = (new \ReflectionProperty($plugin, 'uri'))->getValue($plugin); + + return $uri->getPath(); + } + } + + $this->fail('The Docker API path plugin was not configured.'); + } } From c3e7d6796f54453cb4b110b0f37b6476bbdc2965 Mon Sep 17 00:00:00 2001 From: Rid Date: Fri, 4 Sep 2026 17:09:27 +0100 Subject: [PATCH 088/142] fix: require compatible Docker API package --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index eca91be79..e0ae7d363 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": "7.1.45.*", + "beluga-php/docker-php-api": ">=7.1.45.5 <7.1.46", "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", "php-http/discovery": "^1.19", From 3afcdd77643d24d140c4a0cd7791425711c03099 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 7 Sep 2026 11:53:24 +0100 Subject: [PATCH 089/142] fix(logs): decode multiplexed and TTY container output Recognize multiplexed log responses and preserve stdout/stderr callbacks. Resolve TTY mode for raw responses so older API headers still work. Cover fragmented and empty streams and restore container logs integration coverage. Refs #19 --- README.md | 21 ++++++ src/Docker.php | 7 +- src/Endpoint/ContainerLogs.php | 23 ++++++- src/Stream/DockerRawStream.php | 21 +++++- tests/DockerLogsTest.php | 73 +++++++++++++++++++++ tests/Endpoint/ContainerLogsTest.php | 81 ++++++++++++++++++++++++ tests/Resource/ContainerResourceTest.php | 60 ++++++++++++------ tests/Stream/DockerRawStreamTest.php | 67 ++++++++++++++++++++ 8 files changed, 331 insertions(+), 22 deletions(-) create mode 100644 tests/DockerLogsTest.php create mode 100644 tests/Endpoint/ContainerLogsTest.php create mode 100644 tests/Stream/DockerRawStreamTest.php diff --git a/README.md b/README.md index 860da5237..d54680835 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,27 @@ composer require "beluga-php/docker-php-api:6.1.41.*" See [the documentation](http://docker-php.readthedocs.org/en/latest/). +### Container logs + +`containerLogs()` returns a stream. Register callbacks and call `wait()` to read it: + +```php +$logs = $docker->containerLogs('test', ['stdout' => true, 'stderr' => true]); +$logs->onStdout(function (string $output): void { + echo $output; +}); +$logs->onStderr(function (string $output): void { + fwrite(STDERR, $output); +}); +$logs->wait(); +``` + +TTY containers combine stdout and stderr; their output goes to `onStdout`. +For responses with the `application/vnd.docker.raw-stream` content type, the +client inspects the container's TTY setting to distinguish terminal output from +the framed logs returned by older Docker APIs. Responses marked +`application/vnd.docker.multiplexed-stream` do not need this extra request. + ## Unit Tests Setup the test suite using [Composer](http://getcomposer.org/) if not already done: diff --git a/src/Docker.php b/src/Docker.php index af430fdf0..c091aa64b 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -44,7 +44,12 @@ public function containerAttachWebsocket(string $id, array $queryParameters = [] */ public function containerLogs(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new ContainerLogs($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new ContainerLogs( + $id, + $queryParameters, + $accept, + fn (): bool => (bool) $this->containerInspect($id)->getConfig()?->getTty() + ), $fetch); } /** diff --git a/src/Endpoint/ContainerLogs.php b/src/Endpoint/ContainerLogs.php index 996b09c39..4bc6afd23 100644 --- a/src/Endpoint/ContainerLogs.php +++ b/src/Endpoint/ContainerLogs.php @@ -11,10 +11,29 @@ class ContainerLogs extends BaseEndpoint { + /** @var callable|null Resolves the container's TTY setting for ambiguous raw-stream responses. */ + private $ttyResolver; + + public function __construct(string $id, array $queryParameters = [], array $accept = [], ?callable $ttyResolver = null) + { + parent::__construct($id, $queryParameters, $accept); + $this->ttyResolver = $ttyResolver; + } + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { - return new DockerRawStream($response->getBody()); + if (200 === $response->getStatusCode()) { + $mediaType = strtolower(trim(explode(';', $contentType ?? '')[0])); + if (DockerRawStream::MULTIPLEXED_HEADER === $mediaType) { + return new DockerRawStream($response->getBody()); + } + if (DockerRawStream::HEADER === $mediaType) { + // Before API 1.42, this header also identifies framed non-TTY logs. + // Keep the historical framed behavior when used without a resolver. + $multiplexed = null === $this->ttyResolver || !($this->ttyResolver)(); + + return new DockerRawStream($response->getBody(), $multiplexed); + } } return parent::transformResponseBody($response, $serializer, $contentType); diff --git a/src/Stream/DockerRawStream.php b/src/Stream/DockerRawStream.php index 1ec7ce8b0..ac8f57fcd 100644 --- a/src/Stream/DockerRawStream.php +++ b/src/Stream/DockerRawStream.php @@ -9,10 +9,13 @@ class DockerRawStream { public const HEADER = 'application/vnd.docker.raw-stream'; + public const MULTIPLEXED_HEADER = 'application/vnd.docker.multiplexed-stream'; /** @var StreamInterface Stream for the response */ protected $stream; + private bool $multiplexed; + /** @var callable[] A list of callable to call when there is a stdin output */ protected $onStdinCallables = []; @@ -22,9 +25,10 @@ class DockerRawStream /** @var callable[] A list of callable to call when there is a stderr output */ protected $onStderrCallables = []; - public function __construct(StreamInterface $stream) + public function __construct(StreamInterface $stream, bool $multiplexed = true) { $this->stream = $stream; + $this->multiplexed = $multiplexed; } /** @@ -56,6 +60,17 @@ public function onStderr(callable $callback): void */ protected function readFrame(): void { + if (!$this->multiplexed) { + $output = $this->stream->read(8192); + if ('' !== $output) { + foreach ($this->onStdoutCallables as $callback) { + $callback($output); + } + } + + return; + } + $header = $this->forceRead(8); if (\strlen($header) < 8) { @@ -90,6 +105,10 @@ protected function readFrame(): void */ private function forceRead($length) { + if (0 === $length) { + return ''; + } + $read = ''; do { diff --git a/tests/DockerLogsTest.php b/tests/DockerLogsTest.php new file mode 100644 index 000000000..644ad04a7 --- /dev/null +++ b/tests/DockerLogsTest.php @@ -0,0 +1,73 @@ + [DockerRawStream::MULTIPLEXED_HEADER, $framed, false, ['/containers/test/logs']]; + yield 'modern TTY' => [DockerRawStream::HEADER, "hello\n", true, ['/containers/test/logs', '/containers/test/json']]; + yield 'legacy non-TTY' => [DockerRawStream::HEADER, $framed, false, ['/containers/test/logs', '/containers/test/json']]; + } + + /** @dataProvider logsProvider */ + public function testContainerLogs(string $contentType, string $body, bool $tty, array $expectedPaths): void + { + $paths = []; + $httpClient = $this->createMock(ClientInterface::class); + $httpClient->method('sendRequest')->willReturnCallback(static function (RequestInterface $request) use (&$paths, $contentType, $body, $tty): ResponseInterface { + $path = $request->getUri()->getPath(); + if ('/info' === $path) { + return new Response(200, ['Content-Type' => 'application/json'], '{}'); + } + $paths[] = $path; + if ('/containers/test/logs' === $path) { + return new Response(200, ['Content-Type' => $contentType], $body); + } + if ('/containers/test/json' === $path) { + return new Response(200, ['Content-Type' => 'application/json'], json_encode(['Config' => ['Tty' => $tty]], \JSON_THROW_ON_ERROR)); + } + + throw new \LogicException('Unexpected request: '.$path); + }); + $docker = Docker::create($httpClient, [], [], false); + $stream = $docker->containerLogs('test', ['stdout' => true]); + + self::assertInstanceOf(DockerRawStream::class, $stream); + $output = ''; + $stream->onStdout(static function (string $chunk) use (&$output): void { + $output .= $chunk; + }); + $stream->wait(); + + self::assertSame("hello\n", $output); + self::assertSame($expectedPaths, $paths); + } + + public function testRawEndpointStillReturnsUnmodifiedResponse(): void + { + $body = pack('CxxxN', 1, 6)."hello\n"; + $httpClient = $this->createMock(ClientInterface::class); + $httpClient->expects(self::exactly(2))->method('sendRequest')->willReturnOnConsecutiveCalls( + new Response(200, ['Content-Type' => 'application/json'], '{}'), + new Response(200, ['Content-Type' => DockerRawStream::MULTIPLEXED_HEADER], $body) + ); + $docker = Docker::create($httpClient, [], [], false); + $response = $docker->executeRawEndpoint(new ContainerLogs('test', ['stdout' => true])); + + self::assertSame($body, $response->getBody()->getContents()); + } +} diff --git a/tests/Endpoint/ContainerLogsTest.php b/tests/Endpoint/ContainerLogsTest.php new file mode 100644 index 000000000..647df42e3 --- /dev/null +++ b/tests/Endpoint/ContainerLogsTest.php @@ -0,0 +1,81 @@ + [DockerRawStream::MULTIPLEXED_HEADER, $framed, false, 0]; + yield 'media type case and parameters' => ['Application/Vnd.Docker.Multiplexed-Stream; charset=binary', $framed, false, 0]; + yield 'legacy framed raw stream' => [DockerRawStream::HEADER, $framed, false, 1]; + yield 'TTY raw stream' => [DockerRawStream::HEADER, "hello\n", true, 1]; + yield 'TTY media type with parameters' => [DockerRawStream::HEADER.'; charset=utf-8', "hello\n", true, 1]; + } + + /** @dataProvider responseProvider */ + public function testReadsLogResponse(string $contentType, string $body, bool $tty, int $expectedInspections): void + { + $inspections = 0; + $endpoint = new ContainerLogs('test', ['stdout' => true], [], static function () use (&$inspections, $tty): bool { + ++$inspections; + + return $tty; + }); + $serializer = $this->createMock(SerializerInterface::class); + $serializer->expects(self::never())->method('deserialize'); + $response = new Response(200, ['Content-Type' => $contentType], $body); + $stream = $endpoint->parseResponse($response, $serializer); + + self::assertInstanceOf(DockerRawStream::class, $stream); + self::assertSame(0, $response->getBody()->tell(), 'Creating the wrapper must not consume the logs'); + $output = ''; + $stream->onStdout(static function (string $chunk) use (&$output): void { + $output .= $chunk; + }); + $stream->wait(); + + self::assertSame("hello\n", $output); + self::assertSame($expectedInspections, $inspections); + } + + public function testDirectEndpointKeepsLegacyFramedBehavior(): void + { + $endpoint = new ContainerLogs('test', ['stdout' => true]); + $stream = $endpoint->parseResponse( + new Response(200, ['Content-Type' => DockerRawStream::HEADER], pack('CxxxN', 1, 5).'hello'), + $this->createMock(SerializerInterface::class) + ); + $output = ''; + $stream->onStdout(static function (string $chunk) use (&$output): void { + $output .= $chunk; + }); + $stream->wait(); + + self::assertSame('hello', $output); + } + + public function testNotFoundResponseUsesGeneratedException(): void + { + $endpoint = new ContainerLogs('missing', ['stdout' => true], [], static function (): bool { + throw new \LogicException('An error response must not inspect the container'); + }); + + $this->expectException(ContainerLogsNotFoundException::class); + + $endpoint->parseResponse( + new Response(404, ['Content-Type' => 'application/json'], '{"message":"No such container: missing"}'), + $this->createMock(SerializerInterface::class) + ); + } +} diff --git a/tests/Resource/ContainerResourceTest.php b/tests/Resource/ContainerResourceTest.php index eb6024a18..473623b13 100644 --- a/tests/Resource/ContainerResourceTest.php +++ b/tests/Resource/ContainerResourceTest.php @@ -108,31 +108,55 @@ public function testAttachWebsocket(): void $webSocketStream->write("exit\n"); } - public function testLogs(): void + public static function logsProvider(): iterable + { + yield 'separate stdout and stderr' => [false, 'printf stdout; printf stderr >&2', 'stdout', 'stderr']; + yield 'TTY combines stdout and stderr' => [true, 'printf stdout; printf stderr >&2', 'stdoutstderr', '']; + yield 'empty non-TTY logs' => [false, 'true', '', '']; + yield 'empty TTY logs' => [true, 'true', '', '']; + } + + /** @dataProvider logsProvider */ + public function testLogs(bool $tty, string $command, string $expectedStdout, string $expectedStderr): void { - $this->markTestSkipped('Since at least 1.43 docker API does not return a `application/vnd.docker.raw-stream` ' . - 'but a `application/vnd.docker.multiplexed-stream` so this needs review. '. - 'See https://github.com/beluga-php/docker-php/issues/19'); $containerConfig = new ContainersCreatePostBody(); $containerConfig->setImage('busybox:latest'); - $containerConfig->setCmd(['echo', '-n', 'output']); + $containerConfig->setCmd(['sh', '-c', $command]); $containerConfig->setAttachStdout(true); + $containerConfig->setAttachStderr(true); + $containerConfig->setTty($tty); $containerConfig->setLabels(['docker-php-test' => 'true']); $containerCreateResult = $this->getManager()->containerCreate($containerConfig); - $this->getManager()->containerStart($containerCreateResult->getId()); - $this->getManager()->containerWait($containerCreateResult->getId()); - - $logsStream = $this->getManager()->containerLogs( - $containerCreateResult->getId(), - [ - 'stdout' => true, - 'stderr' => true, - ], - Docker::FETCH_OBJECT - ); - - self::assertInstanceOf(DockerRawStream::class, $logsStream); + try { + $this->getManager()->containerStart($containerCreateResult->getId()); + $this->getManager()->containerWait($containerCreateResult->getId()); + + $logsStream = $this->getManager()->containerLogs( + $containerCreateResult->getId(), + [ + 'stdout' => true, + 'stderr' => true, + ], + Docker::FETCH_OBJECT + ); + + self::assertInstanceOf(DockerRawStream::class, $logsStream); + $stdout = ''; + $stderr = ''; + $logsStream->onStdout(static function (string $output) use (&$stdout): void { + $stdout .= $output; + }); + $logsStream->onStderr(static function (string $output) use (&$stderr): void { + $stderr .= $output; + }); + $logsStream->wait(); + + self::assertSame($expectedStdout, $stdout); + self::assertSame($expectedStderr, $stderr); + } finally { + $this->getManager()->containerDelete($containerCreateResult->getId(), ['force' => true]); + } } } diff --git a/tests/Stream/DockerRawStreamTest.php b/tests/Stream/DockerRawStreamTest.php new file mode 100644 index 000000000..7dfcc3377 --- /dev/null +++ b/tests/Stream/DockerRawStreamTest.php @@ -0,0 +1,67 @@ + [$frames, true, 8192, "hello\nagain\n", "error\n"]; + yield 'one byte per read' => [$frames, true, 1, "hello\nagain\n", "error\n"]; + yield 'split headers and payloads' => [$frames, true, 7, "hello\nagain\n", "error\n"]; + yield 'empty framed stream' => ['', true, 8192, '', '']; + yield 'zero-length frame' => [self::frame(1, '').self::frame(1, 'hello'), true, 8192, 'hello', '']; + yield 'short TTY output' => ["hello\n", false, 8192, "hello\n", '']; + yield 'TTY output across reads' => ["terminal output\r\n", false, 2, "terminal output\r\n", '']; + yield 'empty TTY stream' => ['', false, 8192, '', '']; + yield 'TTY bytes resembling frames' => [$frames, false, 3, $frames, '']; + } + + /** @dataProvider streamProvider */ + public function testReadsNonSeekableStream(string $body, bool $multiplexed, int $chunkSize, string $expectedStdout, string $expectedStderr): void + { + $position = 0; + $source = $this->createMock(StreamInterface::class); + $source->method('eof')->willReturnCallback(static function () use (&$position, $body): bool { + return $position >= \strlen($body); + }); + $source->method('read')->willReturnCallback(static function (int $length) use (&$position, $body, $chunkSize): string { + if ($length <= 0) { + throw new \InvalidArgumentException('Read length must be positive'); + } + $chunk = substr($body, $position, min($length, $chunkSize)); + $position += \strlen($chunk); + + return $chunk; + }); + $source->expects(self::never())->method('seek'); + $source->expects(self::never())->method('rewind'); + $source->expects(self::never())->method('getContents'); + + $stream = new DockerRawStream($source, $multiplexed); + $stdout = ''; + $stderr = ''; + $stream->onStdout(static function (string $output) use (&$stdout): void { + $stdout .= $output; + }); + $stream->onStderr(static function (string $output) use (&$stderr): void { + $stderr .= $output; + }); + $stream->wait(); + + self::assertSame($expectedStdout, $stdout); + self::assertSame($expectedStderr, $stderr); + } + + private static function frame(int $type, string $output): string + { + return pack('CxxxN', $type, \strlen($output)).$output; + } +} From 83d008d67bdfdd6a7db306585995d647dc855b4b Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 7 Sep 2026 12:27:10 +0100 Subject: [PATCH 090/142] fix(exec): decode upgraded and TTY command output ExecStart only recognised HTTP 200 with an exact application/vnd.docker.raw-stream content type. Upgraded HTTP 101 responses and multiplexed-stream responses fell through to the generated endpoint and returned null. TTY output was also passed to the framed reader, which could discard output or treat payload bytes as headers. Handle both response statuses and normalise media type casing and parameters. Reuse DockerRawStream for framed output and select plain TTY mode from the exec request, without an extra inspect call. Document how to consume the decoded stdout/stderr callbacks. Printing a raw non-TTY response also prints Docker's binary frame headers, which can appear as stray leading characters or blob-data entries in logs. FETCH_RESPONSE and executeRawEndpoint() still return unchanged bytes; callers using those paths must opt into decoded output. Add endpoint regression tests and eight live Docker cases covering HTTP 200/101, TTY and non-TTY output, and empty streams. Keep detached responses and the generated error-handling behaviour unchanged. Validation: 97 tests, 300 assertions, no failures; one skipped test and three deprecations. PHPStan and syntax checks passed. --- README.md | 10 +++ src/Endpoint/ExecStart.php | 14 +++- tests/Endpoint/ExecStartTest.php | 114 ++++++++++++++++++++++++++++ tests/Resource/ExecResourceTest.php | 107 +++++++++++++++++++------- 4 files changed, 215 insertions(+), 30 deletions(-) create mode 100644 tests/Endpoint/ExecStartTest.php diff --git a/README.md b/README.md index d54680835..577d2dad0 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,16 @@ client inspects the container's TTY setting to distinguish terminal output from the framed logs returned by older Docker APIs. Responses marked `application/vnd.docker.multiplexed-stream` do not need this extra request. +### Command output + +With `Detach` set to `false`, `execStart($execId, $execStartConfig)` returns the +same callback stream. Register `onStdout` / `onStderr` callbacks and call `wait()`. +Use the same `Tty` setting when creating and starting the exec command; TTY output +is combined on `onStdout`. + +`executeRawEndpoint()` and the deprecated `FETCH_RESPONSE` mode bypass decoding. +Their response bodies include Docker's binary frame headers for non-TTY output. + ## Unit Tests Setup the test suite using [Composer](http://getcomposer.org/) if not already done: diff --git a/src/Endpoint/ExecStart.php b/src/Endpoint/ExecStart.php index e2d8985be..5a2c073c6 100644 --- a/src/Endpoint/ExecStart.php +++ b/src/Endpoint/ExecStart.php @@ -5,6 +5,7 @@ namespace Docker\Endpoint; use Docker\API\Endpoint\ExecStart as BaseEndpoint; +use Docker\API\Model\ExecIdStartPostBody; use Docker\Stream\DockerRawStream; use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; @@ -13,8 +14,17 @@ class ExecStart extends BaseEndpoint { protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { - return new DockerRawStream($response->getBody()); + if (200 === $response->getStatusCode() || 101 === $response->getStatusCode()) { + $mediaType = strtolower(trim(explode(';', $contentType ?? '')[0])); + if (DockerRawStream::MULTIPLEXED_HEADER === $mediaType) { + return new DockerRawStream($response->getBody()); + } + if (DockerRawStream::HEADER === $mediaType) { + // Non-upgraded and older API responses use this header for both modes. + $tty = $this->body instanceof ExecIdStartPostBody && $this->body->getTty(); + + return new DockerRawStream($response->getBody(), !$tty); + } } return parent::transformResponseBody($response, $serializer, $contentType); diff --git a/tests/Endpoint/ExecStartTest.php b/tests/Endpoint/ExecStartTest.php new file mode 100644 index 000000000..04efab5f2 --- /dev/null +++ b/tests/Endpoint/ExecStartTest.php @@ -0,0 +1,114 @@ + [200, DockerRawStream::HEADER, false, $framed, "hello\n", "error\n"]; + yield 'legacy upgraded non-TTY' => [101, DockerRawStream::HEADER, false, $framed, "hello\n", "error\n"]; + yield 'multiplexed non-TTY' => [200, DockerRawStream::MULTIPLEXED_HEADER, false, $framed, "hello\n", "error\n"]; + yield 'upgraded multiplexed non-TTY' => [101, DockerRawStream::MULTIPLEXED_HEADER, false, $framed, "hello\n", "error\n"]; + yield 'media type case and parameters' => [101, 'Application/Vnd.Docker.Multiplexed-Stream; charset=binary', false, $framed, "hello\n", "error\n"]; + yield 'TTY' => [200, DockerRawStream::HEADER, true, "hello\n", "hello\n", '']; + yield 'upgraded TTY' => [101, DockerRawStream::HEADER, true, "hello\n", "hello\n", '']; + yield 'TTY media type parameters' => [200, DockerRawStream::HEADER.'; charset=utf-8', true, "hello\n", "hello\n", '']; + yield 'TTY bytes resembling frames' => [200, DockerRawStream::HEADER, true, $framed, $framed, '']; + yield 'empty non-TTY' => [200, DockerRawStream::HEADER, false, '', '', '']; + yield 'empty TTY' => [101, DockerRawStream::HEADER, true, '', '', '']; + yield 'zero-length frame' => [101, DockerRawStream::MULTIPLEXED_HEADER, false, pack('CxxxN', 1, 0).$framed, "hello\n", "error\n"]; + yield 'omitted TTY defaults to framed' => [200, DockerRawStream::HEADER, null, $framed, "hello\n", "error\n"]; + } + + /** @dataProvider responseProvider */ + public function testReadsExecResponse(int $status, string $contentType, ?bool $tty, string $body, string $expectedStdout, string $expectedStderr): void + { + $config = new ExecIdStartPostBody(); + $config->setDetach(false); + if (null !== $tty) { + $config->setTty($tty); + } + $endpoint = new ExecStart('test', $config); + $serializer = $this->createMock(SerializerInterface::class); + $serializer->expects(self::never())->method('deserialize'); + $response = new Response($status, ['Content-Type' => $contentType], $body); + $stream = $endpoint->parseResponse($response, $serializer); + + self::assertInstanceOf(DockerRawStream::class, $stream); + self::assertSame(0, $response->getBody()->tell(), 'Wrapping must not consume the output'); + $stdout = ''; + $stderr = ''; + $stream->onStdout(static function (string $chunk) use (&$stdout): void { + $stdout .= $chunk; + }); + $stream->onStderr(static function (string $chunk) use (&$stderr): void { + $stderr .= $chunk; + }); + $stream->wait(); + + self::assertSame($expectedStdout, $stdout); + self::assertSame($expectedStderr, $stderr); + } + + public function testMissingRequestBodyKeepsFramedDefault(): void + { + $stream = (new ExecStart('test'))->parseResponse( + new Response(200, ['Content-Type' => DockerRawStream::HEADER], pack('CxxxN', 1, 5).'hello'), + $this->createMock(SerializerInterface::class) + ); + $output = ''; + $stream->onStdout(static function (string $chunk) use (&$output): void { + $output .= $chunk; + }); + $stream->wait(); + + self::assertSame('hello', $output); + } + + public static function nonStreamProvider(): iterable + { + yield 'detached' => [200, '', '']; + yield 'not found' => [404, 'application/json', '{"message":"No such exec"}']; + yield 'conflict' => [409, 'application/json', '{"message":"Container is not running"}']; + } + + /** @dataProvider nonStreamProvider */ + public function testNonStreamResponsesKeepGeneratedBehavior(int $status, string $contentType, string $body): void + { + $config = (new ExecIdStartPostBody())->setDetach(true); + $serializer = $this->createMock(SerializerInterface::class); + $headers = '' === $contentType ? [] : ['Content-Type' => $contentType]; + $expected = (new RawExecStart('test', $config))->parseResponse(new Response($status, $headers, $body), $serializer); + + self::assertSame($expected, (new ExecStart('test', $config))->parseResponse(new Response($status, $headers, $body), $serializer)); + } + + public function testRawEndpointPreservesFrameHeaders(): void + { + $body = pack('CxxxN', 1, 6)."hello\n"; + $httpClient = $this->createMock(ClientInterface::class); + $httpClient->expects(self::exactly(2))->method('sendRequest')->willReturnOnConsecutiveCalls( + new Response(200, ['Content-Type' => 'application/json'], '{}'), + new Response(101, ['Content-Type' => DockerRawStream::MULTIPLEXED_HEADER], $body) + ); + $docker = Docker::create($httpClient, [], [], false); + $response = $docker->executeRawEndpoint(new ExecStart('test', (new ExecIdStartPostBody())->setTty(false))); + + self::assertSame(101, $response->getStatusCode()); + self::assertSame($body, $response->getBody()->getContents()); + } +} diff --git a/tests/Resource/ExecResourceTest.php b/tests/Resource/ExecResourceTest.php index 65064f2b5..a1c58a9d8 100644 --- a/tests/Resource/ExecResourceTest.php +++ b/tests/Resource/ExecResourceTest.php @@ -8,8 +8,13 @@ use Docker\API\Model\ContainersIdExecPostBody; use Docker\API\Model\ExecIdJsonGetResponse200; use Docker\API\Model\ExecIdStartPostBody; +use Docker\Docker; use Docker\Stream\DockerRawStream; use Docker\Tests\TestCase; +use Http\Client\Common\Plugin; +use Http\Promise\Promise; +use Psr\Http\Message\RequestInterface; +use Psr\Http\Message\ResponseInterface; class ExecResourceTest extends TestCase { @@ -21,36 +26,82 @@ private function getManager() return self::getDocker(); } - public function testStartStream(): void + public static function streamProvider(): iterable { - $createContainerResult = $this->createContainer(); - - $execConfig = new ContainersIdExecPostBody(); - $execConfig->setAttachStdout(true); - $execConfig->setAttachStderr(true); - $execConfig->setCmd(['echo', 'output']); - - $execCreateResult = $this->getManager()->containerExec($createContainerResult->getId(), $execConfig); - - $execStartConfig = new ExecIdStartPostBody(); - $execStartConfig->setDetach(false); - $execStartConfig->setTty(false); - - $stream = $this->getManager()->execStart($execCreateResult->getId(), $execStartConfig); - - $this->assertInstanceOf(DockerRawStream::class, $stream); - - $stdoutFull = ''; - $stream->onStdout(function ($stdout) use (&$stdoutFull): void { - $stdoutFull .= $stdout; - }); - $stream->wait(); - - $this->assertSame("output\n", $stdoutFull); + foreach ([false, true] as $upgrade) { + foreach ([false, true] as $tty) { + foreach ([false, true] as $empty) { + yield sprintf('upgrade=%d tty=%d empty=%d', $upgrade, $tty, $empty) => [$upgrade, $tty, $empty]; + } + } + } + } - self::getDocker()->containerKill($createContainerResult->getId(), [ - 'signal' => 'SIGKILL', - ]); + /** @dataProvider streamProvider */ + public function testStartStream(bool $upgrade, bool $tty, bool $empty): void + { + $createContainerResult = $this->createContainer(); + try { + $execConfig = new ContainersIdExecPostBody(); + $execConfig->setAttachStdout(true); + $execConfig->setAttachStderr(true); + $execConfig->setTty($tty); + $execConfig->setCmd($empty ? ['true'] : ['sh', '-c', 'printf stdout; printf stderr >&2']); + + $execCreateResult = $this->getManager()->containerExec($createContainerResult->getId(), $execConfig); + + $execStartConfig = new ExecIdStartPostBody(); + $execStartConfig->setDetach(false); + $execStartConfig->setTty($tty); + $capture = new class($upgrade) implements Plugin { + public ?int $status = null; + + public function __construct(private bool $upgrade) + { + } + + public function handleRequest(RequestInterface $request, callable $next, callable $first): Promise + { + if (!preg_match('#/exec/[^/]+/start$#', $request->getUri()->getPath())) { + return $next($request); + } + if ($this->upgrade) { + $request = $request->withHeader('Connection', 'Upgrade')->withHeader('Upgrade', 'tcp'); + } + + return $next($request)->then(function (ResponseInterface $response): ResponseInterface { + $this->status = $response->getStatusCode(); + + return $response; + }); + } + }; + $docker = Docker::create(null, [$capture]); + + $stream = $docker->execStart($execCreateResult->getId(), $execStartConfig); + + $this->assertSame($upgrade ? 101 : 200, $capture->status); + $this->assertInstanceOf(DockerRawStream::class, $stream); + + $stdoutFull = ''; + $stderrFull = ''; + $stream->onStdout(function ($stdout) use (&$stdoutFull): void { + $stdoutFull .= $stdout; + }); + $stream->onStderr(function ($stderr) use (&$stderrFull): void { + $stderrFull .= $stderr; + }); + $stream->wait(); + + $this->assertSame($empty ? '' : ($tty ? 'stdoutstderr' : 'stdout'), $stdoutFull); + $this->assertSame($empty || $tty ? '' : 'stderr', $stderrFull); + + $execInfo = $this->getManager()->execInspect($execCreateResult->getId()); + $this->assertFalse($execInfo->getRunning()); + $this->assertSame(0, $execInfo->getExitCode()); + } finally { + self::getDocker()->containerDelete($createContainerResult->getId(), ['force' => true]); + } } public function testExecFind(): void From 9fae254a258bd06ba6fd6f89493ef085c08b09d1 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 10:49:38 +0100 Subject: [PATCH 091/142] docs: prepare the return to docker-php Replace the README with the maintainer handover and planned 3.0 migration guide. Document PHP requirements, API package versioning, and decoded log and exec streams. Require Conventional Commits in CONTRIBUTING.md and update the commit example. The initial restored release targets API v1.45; newer specifications will follow. --- CONTRIBUTING.md | 20 ++++- README.md | 217 ++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 190 insertions(+), 47 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d25bfef16..89d6b28bb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,11 +45,11 @@ $ composer test When you are ready with the code, tested it and documented it, you can commit and push it with the following commands: ``` bash -$ git commit -m "Feature or bug fix description" +$ git commit -m "fix(stream): decode Docker frame headers" $ git push origin feature-or-bug-fix-description ``` -**Note:** Please write your commit messages in the imperative and follow the [guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) for clear and concise messages. +**Note:** Commit messages must follow the [commit message format](#commit-messages) below. Please write descriptions in the imperative and follow the [guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) for clear and concise messages. Then [create a pull request](https://help.github.com/articles/creating-a-pull-request/) on GitHub. @@ -67,6 +67,22 @@ $ git pull --rebase upstream master $ git push -f origin feature-or-bug-fix-description ``` +## Commit messages + +All commits must follow [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/). +Start the subject with a type, an optional scope in parentheses, and a colon followed by a space and a short description. + +Use `fix` for bug fixes and `feat` for new features. Other types, such as `docs`, `test`, `refactor`, `ci` and `chore`, are allowed where appropriate: + +```text +fix(stream): decode Docker frame headers +feat: add support for a new Docker API version +docs: clarify the migration instructions +``` + +Mark breaking changes with `!` immediately before the colon or a `BREAKING CHANGE:` footer. +Explain what breaks and how users should migrate in the commit body or footer. + ## Internal This library consist, for the most part, of auto generated code where the reference is an [Open API Specification (Swagger v2)](https://openapis.org/). In order to modify API diff --git a/README.md b/README.md index 577d2dad0..cc34d1566 100644 --- a/README.md +++ b/README.md @@ -1,51 +1,94 @@ -# Docker PHP +Docker PHP +========== -**Docker PHP** (for lack of a better name) is a [Docker](http://docker.com/) client written in PHP. -This library aim to reach 100% API support of the Docker Engine. +**Docker PHP** (for lack of a better name) is a [Docker](https://www.docker.com/) client written in PHP. +This library aims to reach 100% API support of the Docker Engine. -The test suite currently passes against Docker Remote API v1.25 to v1.36. - -[![Documentation Status](https://readthedocs.org/projects/docker-php/badge/?version=latest)](http://docker-php.readthedocs.org/en/latest/) -[![Latest Version](https://img.shields.io/github/release/beluga-php/docker-php.svg?style=flat-square)](https://github.com/beluga-php/docker-php/releases) +[![Documentation Status](https://readthedocs.org/projects/docker-php/badge/?version=latest)](https://docker-php.readthedocs.io/en/latest/) +[![Latest Version](https://img.shields.io/github/release/docker-php/docker-php.svg?style=flat-square)](https://github.com/docker-php/docker-php/releases) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) -[![Total Downloads](https://img.shields.io/packagist/dt/beluga-php/docker-php.svg?style=flat-square)](https://packagist.org/packages/beluga-php/docker-php) +[![Total Downloads](https://img.shields.io/packagist/dt/docker-php/docker-php.svg?style=flat-square)](https://packagist.org/packages/docker-php/docker-php) -## Installation +## New maintainers + +After this repository was archived in 2019, the code was forked in +[beluga-php/docker-php](https://github.com/beluga-php/docker-php), where maintenance +and improvements continued. + +We later contacted [joelwurtz](https://github.com/joelwurtz) and agreed to take over +maintenance of the original `docker-php/docker-php` repository to give you a +better upgrade path. Development will continue here, and we will archive +`beluga-php/docker-php` once the migration is complete. + +We're preparing new v3.x releases, starting with Docker Engine API v1.45. We plan +to add the missing API versions and bring support up to the latest Docker Engine +API. See [Upgrading to 3.0](#upgrading-to-30) below for how to migrate from +existing releases. + +Version 3.0 has not been published yet. The installation and migration +instructions below apply once it is available. -The recommended way to install Docker PHP is of course to use [Composer](http://getcomposer.org/): +## Requirements + +- PHP 8.1 or later, with the `mbstring` extension. +- [Composer](https://getcomposer.org/). +- Access to a Docker daemon that accepts API v1.45 requests. + +## Installation ```bash -composer require beluga-php/docker-php +composer require "docker-php/docker-php:^3.0" ``` -## Docker API Version +Composer installs `docker-php/docker-php-api` as a dependency. The 3.0 release +targets Docker API v1.45 and requires the matching generated API package. -Each release line targets a Docker API version. The 1.45 client uses API v1.45 by default. +## Usage -You can override the version used in request URLs when connecting to a Docker daemon that no longer accepts v1.45: +```php +containerList(['all' => true]) as $container) { + printf("%s\t%s\n", $container->getId(), $container->getImage()); +} ``` -This only changes the API version in request URLs. The generated models and endpoints still use the v1.45 specification. +Endpoint methods return generated models where the API defines a response body. +Their PHPDoc lists accepted parameters, return types and API exceptions. + +### Connection settings -To use an older API specification, install the matching API package: +`Docker::create()` connects through `unix:///var/run/docker.sock` by default. +Set `DOCKER_HOST` to use another Unix socket or a `tcp://` address: ```bash -composer require "beluga-php/docker-php-api:6.1.41.*" +DOCKER_HOST=unix:///run/docker.sock php your-script.php ``` -## Usage +For a TCP connection with TLS, set `DOCKER_TLS_VERIFY=1` and `DOCKER_CERT_PATH` to +the directory containing `ca.pem`, `cert.pem` and `key.pem`. `DOCKER_PEER_NAME` +sets the name used to verify the server certificate when needed. -See [the documentation](http://docker-php.readthedocs.org/en/latest/). +You can pass a configured PSR-18 HTTP client to `Docker::create($httpClient)`. +Configure the daemon address, Unix socket and TLS options on that client. +For streaming operations, check that it supports unbuffered responses and +Docker's upgraded connections. ### Container logs -`containerLogs()` returns a stream. Register callbacks and call `wait()` to read it: +Register callbacks and call `wait()` to read the stream: ```php -$logs = $docker->containerLogs('test', ['stdout' => true, 'stderr' => true]); +$logs = $docker->containerLogs('my-container', [ + 'stdout' => true, + 'stderr' => true, +]); $logs->onStdout(function (string $output): void { echo $output; }); @@ -55,46 +98,130 @@ $logs->onStderr(function (string $output): void { $logs->wait(); ``` -TTY containers combine stdout and stderr; their output goes to `onStdout`. -For responses with the `application/vnd.docker.raw-stream` content type, the -client inspects the container's TTY setting to distinguish terminal output from -the framed logs returned by older Docker APIs. Responses marked -`application/vnd.docker.multiplexed-stream` do not need this extra request. +Callbacks receive decoded output chunks, which can contain part of a line or +several lines. TTY containers combine stdout and stderr on `onStdout`. + +For responses marked `application/vnd.docker.raw-stream`, the client inspects +the container's TTY setting to distinguish terminal output from Docker's framed +output. This requires permission to inspect the container. Responses marked +`application/vnd.docker.multiplexed-stream` do not need that extra request. ### Command output -With `Detach` set to `false`, `execStart($execId, $execStartConfig)` returns the -same callback stream. Register `onStdout` / `onStderr` callbacks and call `wait()`. -Use the same `Tty` setting when creating and starting the exec command; TTY output -is combined on `onStdout`. +Create an exec command in a running container, then start it with `Detach` set +to `false`: + +```php +use Docker\API\Model\ContainersIdExecPostBody; +use Docker\API\Model\ExecIdStartPostBody; -`executeRawEndpoint()` and the deprecated `FETCH_RESPONSE` mode bypass decoding. -Their response bodies include Docker's binary frame headers for non-TTY output. +$command = new ContainersIdExecPostBody(); +$command->setCmd(['sh', '-c', 'printf "hello\n"']); +$command->setAttachStdout(true); +$command->setAttachStderr(true); +$command->setTty(false); -## Unit Tests +$exec = $docker->containerExec('my-container', $command); -Setup the test suite using [Composer](http://getcomposer.org/) if not already done: +$start = new ExecIdStartPostBody(); +$start->setDetach(false); +$start->setTty(false); +$output = $docker->execStart($exec->getId(), $start); +$output->onStdout(function (string $chunk): void { + echo $chunk; +}); +$output->onStderr(function (string $chunk): void { + fwrite(STDERR, $chunk); +}); +$output->wait(); ``` -$ composer install --dev + +Use the same `Tty` setting when creating and starting the command. TTY output +combines stdout and stderr on `onStdout`. + +`executeRawEndpoint()` and the deprecated `FETCH_RESPONSE` mode return raw +response bodies. Non-TTY log and exec output includes binary frame headers in +those bodies. Use the callback streams above to read decoded output. + +## Docker API versions + +The client package follows semantic versioning. The generated API package uses +`Jane-major.Docker-major.Docker-minor.revision`: `7.1.45.0` means Docker API 1.45, +generated with Jane 7, revision 0. + +Keep generated API dependencies within one Docker specification. The planned +3.0 client uses this range: + +```json +"docker-php/docker-php-api": ">=7.1.45.0 <7.1.46.0" ``` -Run it using [PHPUnit](http://phpunit.de/): +With the default connection factory, `DOCKER_API_VERSION` overrides the version +in request URLs: +```bash +DOCKER_API_VERSION=1.52 php your-script.php ``` -$ composer test + +The generated endpoints and models still describe API v1.45. Changing the URL +version does not add newer API fields or endpoints. The client does not +automatically negotiate an API version with the daemon. + +## Upgrading to 3.0 + +### From docker-php 2.x + +Version 3.0 requires PHP 8.1 or later, PSR-7 v2 and Jane 7-generated models. +Review endpoint signatures, model types and HTTP client dependencies before +upgrading. Check log and exec consumers against the streaming examples above. + +Change the client requirement to `docker-php/docker-php:^3.0`. Remove an explicit +`docker-php/docker-php-api:4.1.*` requirement, or change it to the API 1.45 range +shown above. Update dependencies, test your application and commit its updated +`composer.lock`. + +### From beluga-php + +Version 3.0 continues the client maintained under `beluga-php/docker-php`. +The PHP namespaces remain `Docker` and `Docker\API`. + +Remove the `beluga-php/docker-php` requirement and any explicit +`beluga-php/docker-php-api` requirement from `composer.json`. Add +`docker-php/docker-php:^3.0`; add the API 1.45 range above if your application +requires the generated API package directly. Resolve the package changes +together, then test the application and commit its updated `composer.lock`. + +Install one package family at a time: the Beluga and original packages contain +the same PHP classes. + +## Development + +Install dependencies and pull the image used by the integration tests: + +```bash +composer install +docker pull busybox:latest ``` -## Contributing +Run the test suite and static analysis: + +```bash +composer run-script test-ci +composer run-script phpstan +``` -Please see [CONTRIBUTING](CONTRIBUTING.md) for details. +The integration tests create Docker resources on the configured daemon. Use a +development daemon when running them. See [CONTRIBUTING.md](CONTRIBUTING.md) for +contribution instructions. ## Credits -This README heavily inspired by [willdurand/Negotiation](https://github.com/willdurand/Negotiation) by @willdurand. This guy is pretty awesome. - -This library is a fork of the original [docker-php/docker-php](https://github.com/docker-php/docker-php), created by [Geoffrey Bachelet](https://github.com/ubermuda) and [Joel Wurtz](https://github.com/joelwurtz). +Docker PHP was created by [Geoffrey Bachelet](https://github.com/ubermuda) and +[Joel Wurtz](https://github.com/joelwurtz). Development continued under +[beluga-php](https://github.com/beluga-php) before the planned return to the +original repositories. ## License -The MIT License (MIT). Please see [License File](LICENSE) for more information. +[MIT](LICENSE). From f5a24053dd04386a038520c581359c59c0ff2e74 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 10:53:30 +0100 Subject: [PATCH 092/142] docs: note ongoing work on 3.0 documentation --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cc34d1566..7464e5e6e 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ existing releases. Version 3.0 has not been published yet. The installation and migration instructions below apply once it is available. +We're updating the documentation for version 3.0 and expect to publish it soon. + ## Requirements - PHP 8.1 or later, with the `mbstring` extension. From 948726bc73f203e9faa71c4f414540786fa4a06d Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 11:28:27 +0100 Subject: [PATCH 093/142] chore(package): restore original client package metadata Publish future releases as docker-php/docker-php and require the restored API package within the API 1.45 line. Alias main to 3.0.x-dev for the next major release. Conflict with beluga-php/docker-php to prevent duplicate Docker classes. Preserve the existing namespaces and release tags, without adding Composer replacement rules. --- composer.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index e0ae7d363..e08597e3a 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "beluga-php/docker-php", + "name": "docker-php/docker-php", "description": "A Docker PHP client", "license": "MIT", "type": "library", @@ -11,7 +11,7 @@ ], "require": { "php": ">=8.1", - "beluga-php/docker-php-api": ">=7.1.45.5 <7.1.46", + "docker-php/docker-php-api": ">=7.1.45.0 <7.1.46.0", "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", "php-http/discovery": "^1.19", @@ -31,7 +31,7 @@ "roave/security-advisories": "dev-latest" }, "conflict": { - "docker-php/docker-php": "*", + "beluga-php/docker-php": "*", "nikic/php-parser": "<4.13", "php-http/message": "<1.15" }, @@ -58,11 +58,7 @@ }, "extra": { "branch-alias": { - "1.41": "1.41.x-dev", - "1.42": "1.42.x-dev", - "1.43": "1.43.x-dev", - "1.44": "1.44.x-dev", - "dev-master": "1.45.x-dev" + "dev-main": "3.0.x-dev" } }, "scripts": { From 855a3351ef3c83da0d26860ae0c6eaa728c7f4d0 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 13:26:57 +0100 Subject: [PATCH 094/142] docs: migrate documentation to Mintlify Replace the legacy MkDocs pages with MDX documentation for the upcoming 3.0 client and API v1.45 packages. Add complex-call recipes, streaming and raw-response guidance, migration notes, and links to the official Docker Engine API reference. Validate pages, links and PHP snippets in CI, and test selected recipes with a mocked HTTP transport. --- .github/workflows/documentation.yml | 51 + .gitignore | 2 + CONTRIBUTING.md | 7 + DOCUMENTATION.md | 97 + README.md | 7 + docs/.mintignore | 4 + docs/api-versions.mdx | 66 + docs/async.md | 52 - docs/basic.md | 19 - docs/basic.mdx | 72 + docs/connection.md | 74 - docs/connection.mdx | 71 + docs/contributing.mdx | 50 + docs/cookbook/build-image.md | 81 - docs/cookbook/build-image.mdx | 157 + docs/cookbook/container-config.mdx | 89 + docs/cookbook/container-run.md | 251 - docs/cookbook/container-run.mdx | 88 + docs/docs.json | 71 + docs/guides/archives.mdx | 132 + docs/guides/events-and-stats.mdx | 84 + docs/guides/exec.mdx | 97 + docs/guides/image-transfer.mdx | 90 + docs/guides/logs.mdx | 107 + docs/guides/registry.mdx | 109 + docs/index.md | 22 - docs/index.mdx | 42 + docs/installation.md | 21 - docs/installation.mdx | 40 + docs/migration.mdx | 95 + docs/package-lock.json | 13754 ++++++++++++++++++++ docs/package.json | 17 + docs/reference/requests-and-responses.mdx | 164 + docs/reference/streams.mdx | 93 + docs/scripts/check-php-examples.php | 40 + mkdocs.yml | 15 - tests/DocumentationExamplesTest.php | 306 + 37 files changed, 16002 insertions(+), 535 deletions(-) create mode 100644 .github/workflows/documentation.yml create mode 100644 DOCUMENTATION.md create mode 100644 docs/.mintignore create mode 100644 docs/api-versions.mdx delete mode 100644 docs/async.md delete mode 100644 docs/basic.md create mode 100644 docs/basic.mdx delete mode 100644 docs/connection.md create mode 100644 docs/connection.mdx create mode 100644 docs/contributing.mdx delete mode 100644 docs/cookbook/build-image.md create mode 100644 docs/cookbook/build-image.mdx create mode 100644 docs/cookbook/container-config.mdx delete mode 100644 docs/cookbook/container-run.md create mode 100644 docs/cookbook/container-run.mdx create mode 100644 docs/docs.json create mode 100644 docs/guides/archives.mdx create mode 100644 docs/guides/events-and-stats.mdx create mode 100644 docs/guides/exec.mdx create mode 100644 docs/guides/image-transfer.mdx create mode 100644 docs/guides/logs.mdx create mode 100644 docs/guides/registry.mdx delete mode 100644 docs/index.md create mode 100644 docs/index.mdx delete mode 100644 docs/installation.md create mode 100644 docs/installation.mdx create mode 100644 docs/migration.mdx create mode 100644 docs/package-lock.json create mode 100644 docs/package.json create mode 100644 docs/reference/requests-and-responses.mdx create mode 100644 docs/reference/streams.mdx create mode 100644 docs/scripts/check-php-examples.php delete mode 100644 mkdocs.yml create mode 100644 tests/DocumentationExamplesTest.php diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml new file mode 100644 index 000000000..97d78b816 --- /dev/null +++ b/.github/workflows/documentation.yml @@ -0,0 +1,51 @@ +name: Documentation + +on: + push: + paths: + - 'docs/**' + - '.github/workflows/documentation.yml' + pull_request: + paths: + - 'docs/**' + - '.github/workflows/documentation.yml' + workflow_dispatch: + +permissions: + contents: read + +jobs: + validate: + name: Mintlify and PHP examples + runs-on: ubuntu-latest + defaults: + run: + working-directory: docs + steps: + - name: Check out the repository + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + + - name: Set up Node.js + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 + with: + node-version: '22' + cache: npm + cache-dependency-path: docs/package-lock.json + + - name: Set up PHP + uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 + with: + php-version: '8.1' + coverage: none + + - name: Install documentation tooling + run: npm ci + + - name: Validate Mintlify configuration and pages + run: npm run validate + + - name: Check internal links and anchors + run: npm run check:links + + - name: Check PHP example syntax + run: npm run check:examples diff --git a/.gitignore b/.gitignore index 8d49b5514..d4b4f99eb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ composer.lock .vagrant /.php-cs-fixer.cache /.phpunit.result.cache +/docs/node_modules/ +/docs/.mintlify/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 89d6b28bb..f0c2eb89b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,6 +67,13 @@ $ git pull --rebase upstream master $ git push -f origin feature-or-bug-fix-description ``` +## Documentation + +Documentation for the upcoming 3.0 release lives in `docs/` and uses Mintlify. +See [DOCUMENTATION.md](DOCUMENTATION.md) for the local preview, validation commands +and hosted setup. Test examples against a development Docker daemon, and keep +instructions for unreleased packages clearly marked. + ## Commit messages All commits must follow [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/). diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md new file mode 100644 index 000000000..92d13ee84 --- /dev/null +++ b/DOCUMENTATION.md @@ -0,0 +1,97 @@ +# Documentation development + +The Docker PHP 3.0 documentation uses Mintlify. Its source lives in `docs/` in +this repository, alongside the client code. This replaces the legacy MkDocs +configuration; earlier documentation remains available in Git history. + +The site is being prepared. No hosted Mintlify URL or custom domain is configured +in the repository, and the upcoming package releases are still marked as +unpublished. + +## Local preview + +Use Node.js 22 or 24 LTS and PHP 8.1 or later. From the repository root: + +```bash +cd docs +npm ci +npm run dev +``` + +Open the localhost URL printed by the CLI. `docs/package-lock.json` pins the +tooling used by the preview and CI. + +## Validation + +From `docs/`: + +```bash +npm run validate +npm run check:links +npm run check:examples +``` + +The first two commands use Mintlify's configuration/MDX and internal-link +validators. The last command checks PHP snippet syntax, not runtime behavior. +Test examples which mutate Docker state against a development daemon. + +Selected complex recipes also have mocked HTTP tests in +`tests/DocumentationExamplesTest.php`. With the matching API package installed, +run them from the repository root: + +```bash +vendor/bin/phpunit tests/DocumentationExamplesTest.php +``` + +These tests execute the PHP blocks extracted from the MDX pages, replacing +client creation with a fake transport and local paths with disposable fixtures. +They check request shapes, stream consumption and error handling without a +Docker daemon or real registry credentials. They do not validate daemon-side +builds, mounts, transfers, logging drivers or transport compatibility. The +normal PHP test workflow includes them; the lighter documentation workflow +checks syntax and links only. + +## Tooling updates + +Mintlify is development tooling, not a Composer dependency. Check `npm audit` +when updating it and re-run the validation commands. The initial audit of +`mint` 4.2.986 on 5 October 2026 reported 21 affected dependency packages, +including 18 rated high severity. Some suggested fixes downgrade the CLI; +no forced fixes or dependency overrides have been applied. Review the upstream +fixes before updating the lock file, and use only trusted documentation and +assets with the local tooling. + +## Hosted setup + +Connect the Mintlify project to these settings when the site is ready to deploy: + +| Setting | Value | +| --- | --- | +| GitHub repository | `docker-php/docker-php` | +| Deployment branch | `main` | +| `docs.json` in a subdirectory | Enabled | +| Documentation path | `/docs` | +| Configuration file | `docs/docs.json` | + +Use [Mintlify's monorepo setup](https://www.mintlify.com/docs/deploy/monorepo), +not a new template repository. The GitHub app needs access only to this public +repository. Check its requested permissions before authorizing installation. +Do not grant access to the Cylo repositories. + +The configuration uses the standard theme and built-in components. Start with +the free Starter plan; do not assume eligibility for sponsored OSS Pro access +or enable a paid trial or subscription as part of this setup. + +Mintlify deploys from the connected repository. Commit and push only when you +intend those documentation changes to reach the connected site. A dashboard +connection, repository update or custom-domain change can publish the site; +review the draft and confirm the destination before doing that. + +## Before replacing the old documentation link + +- Review the v3.0 migration instructions and test their examples. +- Confirm the connected repository, branch and docs path. +- Check the hosted site's navigation, mobile layout and internal links. +- Choose a documentation hostname and configure its DNS separately. +- Replace the legacy README links only after the new site is reachable. +- Remove the unreleased notices when both package releases are published. diff --git a/README.md b/README.md index 7464e5e6e..538a539a9 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,10 @@ Version 3.0 has not been published yet. The installation and migration instructions below apply once it is available. We're updating the documentation for version 3.0 and expect to publish it soon. +The new site is being prepared with Mintlify, with its source in [docs/](docs/). +See [DOCUMENTATION.md](DOCUMENTATION.md) to preview and edit it locally. The +Read the Docs link above still points to the legacy documentation until the new +site is published. ## Requirements @@ -148,6 +152,9 @@ those bodies. Use the callback streams above to read decoded output. ## Docker API versions +See the official [Docker Engine API v1.45 reference](https://docs.docker.com/reference/api/engine/version/v1.45/) +for endpoint descriptions, parameters and response schemas matching this API line. + The client package follows semantic versioning. The generated API package uses `Jane-major.Docker-major.Docker-minor.revision`: `7.1.45.0` means Docker API 1.45, generated with Jane 7, revision 0. diff --git a/docs/.mintignore b/docs/.mintignore new file mode 100644 index 000000000..6f3653081 --- /dev/null +++ b/docs/.mintignore @@ -0,0 +1,4 @@ +node_modules +scripts +package.json +package-lock.json diff --git a/docs/api-versions.mdx b/docs/api-versions.mdx new file mode 100644 index 000000000..cd3832397 --- /dev/null +++ b/docs/api-versions.mdx @@ -0,0 +1,66 @@ +--- +title: "API versions" +description: "Pin generated models to one Docker Engine API specification." +--- + +## Docker Engine API reference + +The official [Docker Engine API v1.45 reference](https://docs.docker.com/reference/api/engine/version/v1.45/) +describes the endpoints, parameters and response schemas used by this API line. +Use it alongside these PHP examples; generated method signatures and model +setters describe how to pass those values in PHP. + +## Two package versions + +`docker-php/docker-php` follows semantic versioning. Its upcoming 3.0 release +targets Docker Engine API v1.45. + +`docker-php/docker-php-api` uses a four-part scheme: +`Jane-major.Docker-major.Docker-minor.revision`. For example, `7.1.45.0` means +Docker Engine API v1.45, generated with Jane 7, revision 0. It is not the version +of the high-level client. + +Keep generated API requirements within one specification: + +```json +{ + "require": { + "docker-php/docker-php": "^3.0", + "docker-php/docker-php-api": ">=7.1.45.0 <7.1.46.0" + } +} +``` + +The client already requires that API range. Add a direct API requirement only +if your application needs one. Avoid broad API constraints such as `^7.1.45.0`: +they also allow other Docker specifications. + +## Request URL version + +The default factory uses `/v1.45` in request URLs. `DOCKER_API_VERSION` can +override the URL version: + +```bash +DOCKER_API_VERSION=1.45 php your-script.php +``` + +Both `1.45` and `v1.45` are accepted. Choose a version supported by your daemon +and compatible with the endpoints you use. + + +Changing the URL version does not regenerate models or add newer fields and +endpoints. The client does not automatically negotiate an API version with the +daemon. + + +## Generated code + +The API repository contains the +[v1.45 specification](https://github.com/docker-php/docker-php-api/blob/main/spec/v1.45.json) +and [Jane configuration](https://github.com/docker-php/docker-php-api/blob/main/.jane-openapi). +Generation requires Jane 7.14.4 or later within the Jane 7 release line and +uses upstream output without local patches. See the +[generation instructions](https://github.com/docker-php/docker-php-api#generation). + +Newer API lines will need their own generated code and compatible client +requirements. They are separate work after the initial restored release. diff --git a/docs/async.md b/docs/async.md deleted file mode 100644 index 2411e9dc4..000000000 --- a/docs/async.md +++ /dev/null @@ -1,52 +0,0 @@ -# Asynchronous Client - -Starting from 2.0, Docker-PHP proposes an Asynchronous PHP Client using [Amp](https://amphp.org/) and -[Artax](https://amphp.org/artax/). - -## Installation - -Since it's optional you will have to require artax with composer to use it: - -``` -composer require amphp/artax:^3.0 -``` - -## Usage - -Then you can use the `DockerAsync` API Client: - -```php -setImage('busybox:latest'); - $containerConfig->setCmd(['echo', '-n', 'output']); - $containerConfig->setAttachStdout(true); - $containerConfig->setLabels(new \ArrayObject(['docker-php-test' => 'true'])); - - $response = yield $docker->imageCreate(null, [ - 'fromImage' => 'busybox:latest', - ], DockerAsync::FETCH_RESPONSE); - - yield $response->getBody(); - - $containerCreate = yield $docker->containerCreate($containerConfig); - $containerStart = yield $docker->containerStart($containerCreate->getId()); - /** @var \Docker\API\Model\ContainersIdJsonGetResponse200 $containerInfo */ - $containerInfo = yield $docker->containerInspect($containerCreate->getId()); - - var_dump($containerInfo->getName()); -}); -``` - -API of `DockerAsync` is exactly the same as `Docker`, at the exception that each endpoint will always return an `Amp\Promise` -object, which allows to you to do parallelism and await them with the `yield` keyword. - -If you are not familiar with this kind of API, please look at the [Amp documentation on that subject](https://amphp.org/getting-started/) diff --git a/docs/basic.md b/docs/basic.md deleted file mode 100644 index 52a7f200a..000000000 --- a/docs/basic.md +++ /dev/null @@ -1,19 +0,0 @@ -# Basic Usage - -`Docker\Docker` API Client offers all endpoints available for your version of Docker. Each endpoint has a strong PHPDoc -documentation in its comment, so the best way to know what values to set for an endpoint and what it returns is to go -directly to the endpoint documentation in the code. - -As an example for listing container you can do: - -```php -containerList(); - -foreach ($containers as $container) { - var_dump($container->getNames()); -} -``` diff --git a/docs/basic.mdx b/docs/basic.mdx new file mode 100644 index 000000000..2050783de --- /dev/null +++ b/docs/basic.mdx @@ -0,0 +1,72 @@ +--- +title: "Basic usage" +description: "Create a client, call endpoints, and work with generated models." +--- + +## List containers + +```php +containerList(['all' => true]) as $container) { + printf("%s\t%s\n", $container->getId(), $container->getImage()); +} +``` + +By default the client connects to `unix:///var/run/docker.sock`. +See [Connection settings](/connection) for remote daemons and TLS. + +`Docker::create()` makes a system-info request to the daemon. Creating the +client therefore requires a working connection and permission for that request. + +## Endpoint parameters + +Endpoint methods accept generated request models and query-parameter arrays. +The PHPDoc in [the generated client](https://github.com/docker-php/docker-php-api/blob/main/src/Client.php) +lists the accepted parameters, response models and API exceptions. + +For example, `containerList(['all' => true])` includes stopped containers. +Filters use the JSON format accepted by Docker: + +```php +$containers = $docker->containerList([ + 'filters' => json_encode(['status' => ['running']], JSON_THROW_ON_ERROR), +]); +``` + +Use [generated models](https://github.com/docker-php/docker-php-api/tree/main/src/Model) +for request bodies, such as `ContainersCreatePostBody`. Read response fields +through their getters. Some fields are nullable or absent depending on the +daemon response. + +Most methods follow this order: resource ID, request body if applicable, query +parameters, header parameters if applicable, and fetch mode. Parameters which +do not apply are omitted from the method signature, so do not assume the same +argument positions for every endpoint. For example, `containerList()` takes +query parameters first, while `containerCreate()` takes a request model first. + +The client sends these requests to the daemon; it does not run the Docker CLI. +Container commands are arrays of arguments, not shell command strings. Use an +explicit shell such as `['sh', '-c', '...']` only when you need shell behavior, +and never interpolate untrusted input into that shell command. + +See [Requests and responses](/reference/requests-and-responses) for JSON-valued +query parameters, generated models, raw responses and error handling. + +## Streaming endpoints + +Pulling or building an image, reading logs, and starting an attached exec command +can return callback streams. Register callbacks and call `wait()` to consume +them. See [container logs](/guides/logs), [command output](/guides/exec) and +[image builds](/cookbook/build-image) for examples. + +Not every streaming endpoint has a callback wrapper. Archive downloads need a +raw response, and continuous stats need an application-level reader. The +[streaming reference](/reference/streams) lists the differences and links to +the relevant recipes. diff --git a/docs/connection.md b/docs/connection.md deleted file mode 100644 index 92c152125..000000000 --- a/docs/connection.md +++ /dev/null @@ -1,74 +0,0 @@ -# Connecting to Docker - -## Default, with environment variables - -By default, Docker-PHP uses the the same environment variables as the Docker command line to connect to a running `docker daemon`: - - * `DOCKER_HOST`: tcp address for the docker daemon (i.e. tcp://127.0.0.1:2376) - * `DOCKER_TLS_VERIFY`: if set to true use tls for authentication of the client - * `DOCKER_CERT_PATH`: path for the client certificates to use for authentication - * `DOCKER_PEER_NAME`: peer name of the docker daemon (as set in the certificate) - -If the `DOCKER_HOST` environment variable is not set, it will use `unix:///var/run/docker.sock` as the default tcp address. - -```php - 'tcp://127.0.0.1:2375', - 'ssl' => false, -]); -$docker = Docker::create($client); -``` - -Since `DockerClientFactory` will create a `Http\Client\Socket\Client`, you can go on the -[official documentation of the socket client](http://docs.php-http.org/en/latest/clients/socket-client.html) -to learn about possible options. - -## Custom client - -In fact `Docker\Docker` accepts any client from [Httplug](http://httplug.io/) (respecting the `Http\Client\HttpClient` interface). - -So you can use [React](https://github.com/reactphp/http-client), [Guzzle](http://docs.guzzlephp.org/en/latest/) -or any [other adapters / clients](http://docs.php-http.org/en/latest/clients.html). - - -```php - +Access to a Docker socket is privileged. Use a development daemon for examples +that create containers or images, and do not expose an unauthenticated daemon +to an untrusted network. + + +## TCP with TLS + +Use the daemon's TCP address and its client certificates: + +```bash +export DOCKER_HOST=tcp://docker.example.com:2376 +export DOCKER_TLS_VERIFY=1 +export DOCKER_CERT_PATH=/path/to/client-certificates +php your-script.php +``` + +The certificate directory must contain `ca.pem`, `cert.pem` and `key.pem`. +If needed, set `DOCKER_PEER_NAME` to the name used to verify the server +certificate. The current factory enables TLS only when `DOCKER_TLS_VERIFY` +is exactly `1`. + +## Factory options + +You can configure the bundled socket client directly: + +```php + 'unix:///var/run/docker.sock', +]); + +$docker = Docker::create($httpClient, [], [], false); +``` + +The fourth argument disables the generated server plugins. The factory already +adds the daemon address and versioned path. See +[the factory implementation](https://github.com/docker-php/docker-php/blob/main/src/DockerClientFactory.php) +for the plugins it configures. + +## Custom HTTP clients + +`Docker::create($httpClient)` accepts a compatible PSR-18 HTTP client. Configure +its daemon address, TLS options and socket support. Check that it also supports +unbuffered responses and Docker's upgraded connections if you use log, attach +or exec streams. + +`DOCKER_API_VERSION` affects the default factory's request path; it does not +change the generated models. See [API versions](/api-versions). diff --git a/docs/contributing.mdx b/docs/contributing.mdx new file mode 100644 index 000000000..f47d56798 --- /dev/null +++ b/docs/contributing.mdx @@ -0,0 +1,50 @@ +--- +title: "Contribute to the docs" +description: "Edit the Git-maintained documentation and preview it locally." +--- + +The documentation lives in the `docs/` directory of +[docker-php/docker-php](https://github.com/docker-php/docker-php). Pages are MDX +files; `docs.json` defines their navigation and site settings. + +## Preview locally + +Use Node.js 22 or 24 LTS and PHP 8.1 or later. From the repository root: + +```bash +cd docs +npm ci +npm run dev +``` + +Open the localhost URL printed by Mintlify. The preview updates when you edit +pages. Stop it with Ctrl+C. + +## Check changes + +```bash +npm run validate +npm run check:links +npm run check:examples +``` + +The checks validate Mintlify configuration and MDX, internal links and heading +anchors, and PHP example syntax. Syntax checks do not prove an example's daemon +behavior. Test operational examples separately against a development daemon. + +Add new pages to `docs.json`, use site-relative links such as `/connection`, and +keep examples aligned with the current API models. Do not edit generated API +code to make an example work. + +Keep unreleased instructions clearly marked until their packages are published. +Avoid documenting legacy `DockerAsync` behavior as part of 3.0. + +## Pull requests + +Commit messages must follow +[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). +For example, `docs: explain exec stream callbacks`. + +See [CONTRIBUTING.md](https://github.com/docker-php/docker-php/blob/main/CONTRIBUTING.md) +for the library's contribution workflow. Report documentation errors through +[GitHub issues](https://github.com/docker-php/docker-php/issues). diff --git a/docs/cookbook/build-image.md b/docs/cookbook/build-image.md deleted file mode 100644 index 71a5d4bc1..000000000 --- a/docs/cookbook/build-image.md +++ /dev/null @@ -1,81 +0,0 @@ -# Building an Image - -In order to build an image you need to provide the `$inputStream` variable which correspond to the tar binary of a -folder containing a `Dockerfile` (or another name by using the `dockerfile` parameters) and other files used during the -build. - -Since `Docker` build directory can be heavy, Docker PHP override this call and allows passing a `resource` or a -`Psr\Http\Message\StreamInterface` instance (string is also possible but not recommended). -This avoid using too much memory in PHP. - -## Build return - -This function can return 3 different objects depending on the value of the `$fetch` parameter: - -### Docker::FETCH_OBJECT - -This is default mode, where this function will block until the build is finished and return an array of `BuildInfo` -object. - -This object contains the log of the build: - -```php -imageBuild($inputStream); -$buildStream->onFrame(function (BuildInfo $buildInfo) { - echo $buildInfo->getStream(); -}); - -$buildStream->wait(); -``` - -### Docker::FETCH_RESPONSE - -The build function will return the raw [PSR7](http://www.php-fig.org/psr/psr-7/) Response. It's up to you to handle -decoding and receiving correct output in this case. - -## Context - -Docker PHP provides a `ContextInterface` and a default `Context` object for creating the `$inputStream` of the build -method. - -```php -toStream(); -$docker = Docker::create(); - -$docker->imageBuild($inputStream); -``` - -You can safely use this context object to build image with a huge directory to size without consuming any memory or disk -on the PHP side as it will directly pipe the output of a `tar` process into the Docker Remote API. - -### Context Builder - -Additionally you can use the `ContextBuilder` to have a dynamic generation of your `Dockerfile`: - -```php -from('ubuntu:latest'); -$contextBuilder->run('apt-get update && apt-get install -y php5'); - -$docker = Docker::create(); -$docker->imageBuild($contextBuilder->getContext()->toStream()); -``` - diff --git a/docs/cookbook/build-image.mdx b/docs/cookbook/build-image.mdx new file mode 100644 index 000000000..afe2e7768 --- /dev/null +++ b/docs/cookbook/build-image.mdx @@ -0,0 +1,157 @@ +--- +title: "Build an image" +description: "Stream a build context and consume Docker's build output." +--- + +The image-build endpoint accepts a tar archive containing a Dockerfile and its +build files. `Docker\Context\Context` can stream a directory through the system +`tar` command without first loading the whole archive into a PHP string. + +Create a `build/Dockerfile` next to your PHP script: + +```dockerfile +FROM busybox:latest +CMD ["sh", "-c", "printf 'hello\\n'"] +``` + +Then build it on a development daemon: + +```php +imageBuild($context->toStream(), ['t' => 'docker-php-example:latest']); +$build->onFrame(function (BuildInfo $frame): void { + if ($frame->getError() !== null) { + throw new RuntimeException($frame->getError()); + } + + echo $frame->getStream() ?? ''; +}); +$build->wait(); +``` + +`imageBuild()` returns a `BuildStream` in the default fetch mode, not an array +of completed build results. The callback receives generated `BuildInfo` models. +Check the frames for daemon-reported build errors as well as handling endpoint +exceptions. + +`Context` requires `tar` on the machine running PHP. Keep only intended build +files in the context directory; the current helper archives that directory +directly and does not apply `.dockerignore` filtering for you. + +The example leaves the tagged image on your development daemon. Remove that +specific image when you no longer need it. + +## Build arguments and other query options + +JSON-valued build options are strings. Continue with the `$docker` client from +above, but create a fresh context for each request: + +```php +$context = new Context(__DIR__ . '/build'); +$build = $docker->imageBuild($context->toStream(), [ + 't' => 'docker-php-example:configured', + 'dockerfile' => 'Dockerfile', + 'buildargs' => json_encode(['APP_MODE' => 'development'], JSON_THROW_ON_ERROR), + 'labels' => json_encode(['docker-php-example' => 'true'], JSON_THROW_ON_ERROR), + 'nocache' => true, + 'pull' => 'true', +]); +$build->onFrame(function (BuildInfo $frame): void { + if ($frame->getError() !== null) { + throw new RuntimeException($frame->getError()); + } + echo $frame->getStream() ?? ''; +}); +$build->wait(); +``` + +`pull` is string-valued in this specification, while `nocache` is boolean. +Do not pre-URL-encode the JSON options. Declare `ARG APP_MODE` in the Dockerfile +if the build uses it. Build arguments are not a safe channel for secrets. + +A streamed context is consumed by the first request. The original tar process +is not rewindable. Keep the context alive until the request has +finished, and do not assume a process-backed stream has a known byte length. + +## Construct a small context in PHP + +`ContextBuilder` creates a temporary context directory and a Dockerfile. It is +useful when the build has a few generated files, without maintaining a separate +directory in your application: + +```php +use Docker\Context\ContextBuilder; + +$builder = new ContextBuilder(); +$context = $builder + ->from('busybox:latest') + ->workdir('/example') + ->add('message.txt', "hello from the build context\n") + ->command('cat /example/message.txt') + ->getContext(); + +$build = $docker->imageBuild($context->toStream(), ['t' => 'docker-php-example:generated']); +$build->onFrame(function (BuildInfo $frame): void { + if ($frame->getError() !== null) { + throw new RuntimeException($frame->getError()); + } + echo $frame->getStream() ?? ''; +}); +$build->wait(); +``` + +The builder's context is cleaned up when the `Context` is destroyed. It is +not a complete Dockerfile parser or a Buildx replacement. Prefer an ordinary +Dockerfile when the build needs features the helper does not express. + +## Private base images + +Pass a registry credential **map** in `X-Registry-Config`, not the single +`X-Registry-Auth` object used for pull/push. For example, construct the header +from credentials already held in `$username` and `$token`: + +```php +$registryConfig = base64_encode(json_encode([ + 'registry.example.com' => [ + 'username' => $username, + 'password' => $token, + ], +], JSON_THROW_ON_ERROR)); + +$context = new Context(__DIR__ . '/build'); +$build = $docker->imageBuild( + $context->toStream(), + ['t' => 'docker-php-example:private-base'], + ['X-Registry-Config' => $registryConfig] +); +$build->onFrame(function (BuildInfo $frame): void { + if ($frame->getError() !== null) { + throw new RuntimeException($frame->getError()); + } + echo $frame->getStream() ?? ''; +}); +$build->wait(); +``` + +See [registry authentication](/guides/registry) for credential handling. Docker +Hub's legacy key for this header is `https://index.docker.io/v1/`, rather than +just its hostname. Do not include registry-config headers in request logs. + +## Builder backend limits + +The v1.45 spec defaults the `version` query parameter to the classic builder +(`'1'`). Whether that builder is available depends on your daemon. Merely +setting `version => '2'` does not implement BuildKit session handling, secret +mounts, SSH forwarding or Buildx workflows in this client. Validate the backend +and required features against your development daemon; these examples are not +a promise of full BuildKit support. diff --git a/docs/cookbook/container-config.mdx b/docs/cookbook/container-config.mdx new file mode 100644 index 000000000..4ec8bfcac --- /dev/null +++ b/docs/cookbook/container-config.mdx @@ -0,0 +1,89 @@ +--- +title: "Configure a container" +description: "Combine ports, mounts, environment variables and restart policy in a request." +--- + +Container creation is a nested request. Publishing a port belongs in +`HostConfig`, while the container-side port declaration belongs in +`ContainersCreatePostBody`. Declaring an exposed port alone does not publish it. + +## Ports, a bind mount and restart policy + +This example creates, but does not start, a development container. Pull +`nginx:alpine` first using the [image pull recipe](/guides/registry). Create +`/srv/docker-php-example/html` on the **daemon host**, with an `index.html` file, +before running it. Choose an unused example name and host port. + +```php +setHostIp('127.0.0.1'); +$binding->setHostPort('8080'); + +$mount = new Mount(); +$mount->setType('bind'); +$mount->setSource('/srv/docker-php-example/html'); +$mount->setTarget('/usr/share/nginx/html'); +$mount->setReadOnly(true); + +$restart = new RestartPolicy(); +$restart->setName('no'); + +$host = new HostConfig(); +$host->setPortBindings(new ArrayObject(['80/tcp' => [$binding]])); +$host->setMounts([$mount]); +$host->setRestartPolicy($restart); + +$body = new ContainersCreatePostBody(); +$body->setImage('nginx:alpine'); +$body->setEnv(['EXAMPLE_MODE=development']); +$body->setLabels(new ArrayObject(['docker-php-example' => 'true'])); +$body->setExposedPorts(new ArrayObject(['80/tcp' => new ArrayObject()])); +$body->setHostConfig($host); + +$created = $docker->containerCreate($body, ['name' => 'docker-php-example-web']); +printf("Created %s\n", $created->getId()); +``` + +Review the returned ID, then use `containerStart($created->getId())` to start +that container. The example deliberately leaves it stopped. Remove only that +created container when you are done; do not use a broad prune operation. + +## Details worth checking + +- Port keys include the protocol: `80/tcp` and `80/udp` are different entries. +- Each port maps to a **list** of `PortBinding` models, even for one binding. +- `HostPort` is a string. An empty string requests a daemon-assigned host port; + inspect the container after starting it to discover the binding. +- `HostIp` above binds the published port to the daemon host's loopback address. + It does not refer to the PHP client's machine when using a remote daemon. +- Bind-mount source paths are on the daemon host, not the PHP client. Docker + Desktop may add another host/VM file-sharing boundary. +- Mounting over a container path hides its existing contents. A read-only mount + still exposes its files to the container, so do not mount secrets casually. +- Environment entries are `NAME=value` strings. Do not log sensitive values or + treat ordinary container environment variables as a secret store. +- `containerCreate()` does not pull a missing image. Pull and check the progress + stream before creating the container. + +An explicit restart policy makes example lifecycle behavior clear. For an +application which should retry failed runs, use `on-failure` and set +`MaximumRetryCount`; do not set that count as a general limit on `always` or +`unless-stopped`. + +For networking beyond port publication, look at `NetworkingConfig` and its +`EndpointsConfig` map of `EndpointSettings` models. Keep network attachment +and port publication separate; attaching to a network does not expose a port +on the host. diff --git a/docs/cookbook/container-run.md b/docs/cookbook/container-run.md deleted file mode 100644 index 2ee824bff..000000000 --- a/docs/cookbook/container-run.md +++ /dev/null @@ -1,251 +0,0 @@ -# Running a container - -Running a container in Docker PHP like it would be done with the docker client `docker run image command` is not a -single call to api, even with the docker run command, it involves multiple calls to the API. - -## Creating the container - -First step is to create a container and its associated configuration, by creating a `ContainerConfig` instance and -passing to the `create` api endpoint. - -```php -setImage('busybox:latest'); -$containerConfig->setCmd(['echo', 'I am running a command']); - -$containerCreateResult = $docker->containerCreate($containerConfig); -``` - -This will return a `ContainersCreatePostResponse201` object with the id of the created container. If you don't want to use -container id you can also specify a unique name for this container: - -```php -$containerCreateResult = $docker->containerCreate($containerConfig, ['name' => 'my-container-unique-name']); -``` - -Be aware that the container is immutable if you need to change a configuration for a container, you will need to remove -the existing one and create it again with the new configuration. - -## Starting the container - -Once a container has been created, you can start it, this will in fact, only launch the process inside the isolated -container. This is done with the `containerStart` method, you can use the id of the container or the -name: - -```php -$docker->containerStart($containerCreateResult->getId()); -// Or -$docker->containerStart('my-container-unique-name'); -``` - -The start method will always return the raw [PSR7](http://www.php-fig.org/psr/psr-7/) Response, but you don't need -to check it as on failure it will throw an exception. - -## Waiting for the container to end - -Once your container is started you can wait for it end by using the `containerWait` method, be aware that your PHP script will -block until the container has stopped or that the default timeout set on the client has been reached (default to 60 -seconds) - -```php -$docker->containerWait('my-container-unique-name'); -``` - -## Stopping the container - -Once your container is started you can stop it by using the `containerStop` method. You can use the id of the container or the name: - -```php -$docker->containerStop($containerCreateResult->getId()); -// Or -$docker->containerStop('my-container-unique-name'); -``` - - -## Reading logs in real time - -Sometimes you will need to read logs in real time for a container. You can use the `containerAttach` method for that. -Be aware that you will only receive them if you configure the container with -[json log driver](https://docs.docker.com/engine/reference/logging/overview/), which is the default configuration. - -```php -$attachStream = $docker->containerAttach('my-container-unique-name'); -``` - -The `$attachStream` returned will be an instance of a `DockerRawStream`. You can use this object afterwards to add -callbacks on the different streams: - - * `addStdin` to add a callback on the stdin stream - * `addStdout` for the stdout stream - * `addStderr` for the stderr stream - -The callback for each of this method takes a string for the first argument which correspond to the log line. - -Use then the wait method to activate real time logging, this method will only stop when then stream is closed which -correspond to when the container has stopped. - -```php -$attachStream->onStdout(function ($stdout) { - echo $stdout; -}); -$attachStream->onStderr(function ($stderr) { - echo $stderr; -}); - -$attachStream->wait(); -``` - -If you follow all the example, you will not see the log and this normal. In fact the container and the call to the attach -method need extra configuration: - -```php -$containerConfig = new ContainersCreatePostBody(); -$containerConfig->setImage('busybox:latest'); -$containerConfig->setCmd(['echo', 'I am running a command']); -// You need to attach stream of the container to docker -$containerConfig->setAttachStdin(true); -$containerConfig->setAttachStdout(true); -$containerConfig->setAttachStderr(true); - -$docker->containerCreate($containerConfig, ['name' => 'my-container-unique-name']); - -// You also need to set stream to true to get the logs, and tell which stream you want to attach -$attachStream = $docker->containerAttach('my-container-unique-name', [ - 'stream' => true, - 'stdin' => true, - 'stdout' => true, - 'stderr' => true -]); -$docker->containerStart('my-container-unique-name'); - -$attachStream->onStdout(function ($stdout) { - echo $stdout; -}); -$attachStream->onStderr(function ($stderr) { - echo $stderr; -}); - -$attachStream->wait(); -``` - -If you read the following example, you will notice that we call the `containerAttach` method before starting the container with -`containerStart`. This is normal, as otherwise during the time the container is started and the call to the `containerAttach` endpoint -some logs may have been processed and you will loose this information. That's why it is strongly recommended to attach -the container before starting it. - -## Interacting with a container - -WIth the last example we can now read the log a container in real time. However you may need to send input to this -container. This can be done by attaching a websocket with the `containerAttachWebsocket` method:` - -```php -$webSocketStream = $docker->containerAttachWebsocket('my-container-unique-name', [ - 'stream' => true, - 'stdout' => true, - 'stderr' => true, - 'stdin' => true, -]); -``` - -The returned stream will be an instance of `AttachWebsocketStream` and it can be used to both reading and writing to -the container: - -```php -$line = $webSocketStream->read(); -$websocketStream->write('i send input to the container'); -``` - -If the `$line` is `null` then the stream is no longer available (container is certainly stopped), if it's equal to -`false` then the stream is still available but no output was received, otherwise it will return output from the container. - -To actually write on the stream (having the stdin stream open) you will, again, need extra configuration when creating -the container: - -```php -// Open the stdin stream from docker engine to the container -$containerConfig->setOpenStdin(true); -// Needed if you want to use process that rely on a tty, be aware as there is, in fact, no tty this may cause bug to -// the underlying process in your container -$containerConfig->setTty(true); -``` - -Be aware that there is no distinction between stdout and stderr in this mode. - -## Port Mapping - -This example shows how you can map port 8080 on your host machine to port 80 on the container. - -```php -setTty(true); -$containerConfig->setExposedPorts(['80/tcp' => new \stdClass]); - -$portBinding = new PortBinding(); -$portBinding->setHostPort('8080'); -$portBinding->setHostIp('0.0.0.0'); - -$portMap = new \ArrayObject(); -$portMap['80/tcp'] = [$portBinding]; - -$hostConfig = new HostConfig(); -$hostConfig->setPortBindings($portMap); - -$containerConfig->setHostConfig($hostConfig); -``` - -## Executing a command on a running container - -This example shows how you can execute an command on any running container. It is same as `docker exec CONTAINER_ID some_command `. - -```php -setTty(true); -$execConfig->setAttachStdout(true); -$execConfig->setAttachStderr(true); -$execConfig->setCmd(['mkdir', '/tmp/testDir']); - -$execid = $docker->containerExec('android',$execConfig)->getId(); -$execStartConfig = new ExecIdStartPostBody(); -$execStartConfig->setDetach(false); - -// Execute the command -$stream = $docker->execStart($execid,$execStartConfig); - -// To see the output stream of the 'exec' command -$stdoutText = ""; -$stderrText = ""; - -$stream->onStdout(function ($stdout) use (&$stdoutText) { - $stdoutText .= $stdout; -}); - -$stream->onStderr(function ($stderr) use (&$stderrText) { - $stderrText .= $stderr; -}); - -$stream->wait(); -var_dump([ "stdout" => $stdoutText, "stderr" => $stderrText ]) ; -``` diff --git a/docs/cookbook/container-run.mdx b/docs/cookbook/container-run.mdx new file mode 100644 index 000000000..5a08b123c --- /dev/null +++ b/docs/cookbook/container-run.mdx @@ -0,0 +1,88 @@ +--- +title: "Run a container" +description: "Pull an image, create a container, start it, and read its output." +--- + +Docker's `run` operation involves several API calls. First make sure the image +exists on the daemon, then create and start the container. + + +This example creates a container and pulls an image on the configured daemon. +Run it against a development daemon. + + +```php +imageCreate(null, [ + 'fromImage' => 'busybox', + 'tag' => 'latest', +]); +$pull->onFrame(function (CreateImageInfo $frame): void { + if ($frame->getError() !== null) { + throw new RuntimeException($frame->getError()); + } +}); +$pull->wait(); + +$config = new ContainersCreatePostBody(); +$config->setImage('busybox:latest'); +$config->setCmd(['sh', '-c', 'printf "hello\n"']); +$config->setAttachStdout(true); +$config->setAttachStderr(true); +$config->setTty(false); + +$container = $docker->containerCreate($config); +$id = $container->getId(); + +try { + $docker->containerStart($id); + $result = $docker->containerWait($id, ['condition' => 'not-running']); + if ($result->getError()?->getMessage() !== null) { + throw new RuntimeException($result->getError()->getMessage()); + } + + $logs = $docker->containerLogs($id, ['stdout' => true, 'stderr' => true]); + $logs->onStdout(function (string $chunk): void { + echo $chunk; + }); + $logs->onStderr(function (string $chunk): void { + fwrite(STDERR, $chunk); + }); + $logs->wait(); + + printf("Exit code: %d\n", $result->getStatusCode()); +} finally { + $docker->containerDelete($id, ['force' => true]); +} +``` + +The cleanup removes only the container created by this example. If you need to +inspect it afterwards, adapt the cleanup for your development workflow. + +Use `containerInspect($id)` for its current state and `containerStop($id)` to +stop a running container. These endpoints throw API exceptions on errors; +do not depend on a raw response being returned by `containerStart()`. + +For live output, see [Container logs](/guides/logs). To run another command in +an existing container, see [Command output](/guides/exec). + +`containerWait()` blocks; it is not a background task. `not-running` waits for +the current stopped state, while `next-exit` waits for a subsequent exit. Pick +the condition which matches your lifecycle and configure transport timeouts +accordingly. `getStatusCode()` on its response is the **container exit code**, +not the HTTP status. A non-zero command exit is separate from a failed API +request. + +Avoid `AutoRemove` for this particular recipe: Docker can remove the container +before the log/inspect calls which follow the wait. For production orchestration, +decide who owns cleanup and do not let an unconditional cleanup exception hide +the original operation failure. diff --git a/docs/docs.json b/docs/docs.json new file mode 100644 index 000000000..17fd1773b --- /dev/null +++ b/docs/docs.json @@ -0,0 +1,71 @@ +{ + "$schema": "https://mintlify.com/docs.json", + "theme": "mint", + "name": "Docker PHP", + "description": "Documentation for the Docker PHP 3.0 client and its generated Docker Engine API models.", + "colors": { + "primary": "#1D63ED", + "light": "#1D63ED", + "dark": "#60A5FA" + }, + "navigation": { + "groups": [ + { + "group": "Get started", + "pages": ["index", "installation", "connection", "basic"] + }, + { + "group": "Guides", + "pages": [ + "cookbook/container-run", + "cookbook/container-config", + "guides/logs", + "guides/exec", + "cookbook/build-image", + "guides/registry", + "guides/archives", + "guides/image-transfer", + "guides/events-and-stats" + ] + }, + { + "group": "Reference", + "pages": [ + "reference/requests-and-responses", + "reference/streams", + "api-versions", + "migration", + "contributing" + ] + } + ] + }, + "navbar": { + "links": [ + { + "label": "Engine API v1.45", + "href": "https://docs.docker.com/reference/api/engine/version/v1.45/" + }, + { + "label": "Issues", + "href": "https://github.com/docker-php/docker-php/issues" + } + ], + "primary": { + "type": "github", + "href": "https://github.com/docker-php/docker-php" + } + }, + "footer": { + "socials": { + "github": "https://github.com/docker-php/docker-php" + } + }, + "banner": { + "content": "Docker PHP 3.0 documentation is in progress. The new releases have not been published yet.", + "dismissible": false + }, + "redirects": [ + { "source": "/async", "destination": "/migration#asynchronous-client" } + ] +} diff --git a/docs/guides/archives.mdx b/docs/guides/archives.mdx new file mode 100644 index 000000000..90d6878b2 --- /dev/null +++ b/docs/guides/archives.mdx @@ -0,0 +1,132 @@ +--- +title: "Copy files with tar archives" +description: "Download files, read path metadata and upload archives without buffering whole tarballs." +--- + +Docker copies container files through tar archives, not JSON models or a +multipart form. The target path belongs to the container filesystem. Local +input/output paths belong to the machine running PHP. + +## Download an archive + +Use a raw endpoint: `containerArchive()`'s default generated result is `null`, +so it does not retain the tar body for you. This example saves an archive of +`/etc` from an existing development container. Pick an output filename which +does not already exist; `xb` prevents overwriting a local file. + +```php +executeRawEndpoint(new ContainerArchive('my-container', [ + 'path' => '/etc', +])); +$body = $response->getBody(); +$file = null; + +try { + if ($response->getStatusCode() !== 200) { + throw new RuntimeException('Archive download failed: HTTP '.$response->getStatusCode()); + } + $file = fopen(__DIR__ . '/container-etc.tar', 'xb'); + if ($file === false) { + throw new RuntimeException('Could not create the destination archive'); + } + while (!$body->eof()) { + $chunk = $body->read(65536); + while ($chunk !== '') { + $written = fwrite($file, $chunk); + if ($written === false || $written === 0) { + throw new RuntimeException('Could not write the archive'); + } + $chunk = substr($chunk, $written); + } + } +} finally { + $body->close(); + if (is_resource($file)) { + fclose($file); + } +} +``` + +This copies in bounded chunks, including handling short file writes. Your HTTP +client must also provide an unbuffered response for end-to-end streaming. A +failed transfer can leave an incomplete file; do not consume it as a completed +archive. For application downloads, write to a new temporary file and rename +it to the final destination only after success. + +The result is a **tar archive**, even when the requested path is one file. +Review the contents before extracting, and do not blindly extract an untrusted +archive over an existing directory. `containerExport()` uses the same raw-body +pattern for a container filesystem export; it is not an image save or a backup +of mounted volume data. + +## Read path metadata + +The HEAD endpoint returns metadata in `X-Docker-Container-Path-Stat`, not a +response body. Decode its base64-encoded JSON value: + +```php +use Docker\API\Endpoint\ContainerArchiveInfo; + +$response = $docker->executeRawEndpoint(new ContainerArchiveInfo('my-container', [ + 'path' => '/etc', +])); +if ($response->getStatusCode() !== 200) { + throw new RuntimeException('Path lookup failed: HTTP '.$response->getStatusCode()); +} +$decoded = base64_decode($response->getHeaderLine('X-Docker-Container-Path-Stat'), true); +if ($decoded === false || $decoded === '') { + throw new RuntimeException('Missing or invalid path metadata'); +} +$metadata = json_decode($decoded, true, 512, JSON_THROW_ON_ERROR); +printf("%s\n", $metadata['name']); +``` + +This avoids downloading the file contents. Check the raw status explicitly; +HEAD error responses may not have a JSON body for a generated error model. + +## Upload a tar archive + +Create `upload.tar` containing only files intended for the destination. The +destination directory must already exist in the container. Uploading can +overwrite files, so use a development container and a dedicated path. + +```php +use Docker\API\Endpoint\PutContainerArchive; + +$archive = fopen(__DIR__ . '/upload.tar', 'rb'); +if ($archive === false) { + throw new RuntimeException('Could not open the upload archive'); +} +$body = null; +try { + $response = $docker->executeRawEndpoint(new PutContainerArchive( + 'my-container', + $archive, + ['path' => '/tmp', 'noOverwriteDirNonDir' => 'true'] + )); + $body = $response->getBody(); + if ($response->getStatusCode() !== 200) { + throw new RuntimeException('Archive upload failed: HTTP '.$response->getStatusCode()); + } +} finally { + $body?->close(); + if (is_resource($archive)) { + fclose($archive); + } +} +``` + +Pass the file resource directly; do not JSON-encode or base64-encode the tar. +`noOverwriteDirNonDir` prevents replacing a directory with a non-directory +or vice versa. It does **not** prevent replacing an existing regular file. +`copyUIDGID`, if needed, is also a string-valued query option in this API line. +The convenience `putContainerArchive()` call uses the same tar request shape +and returns `null` on successful typed parsing. diff --git a/docs/guides/events-and-stats.mdx b/docs/guides/events-and-stats.mdx new file mode 100644 index 000000000..071c93803 --- /dev/null +++ b/docs/guides/events-and-stats.mdx @@ -0,0 +1,84 @@ +--- +title: "Events and resource stats" +description: "Read bounded event history and a single stats sample without opening an unintended endless stream." +--- + +These calls can stay open. Decide whether you want a finite query or a live +subscription before starting the request. + +## Read a bounded event window + +The client wraps `systemEvents()` in an `EventStream`. Its callback receives +one `EventMessage` model per event. Query timestamps are **strings** in this +API line, even when expressed as Unix seconds. + +```php +systemEvents([ + 'since' => (string) ($end - 60), + 'until' => (string) $end, + 'filters' => json_encode(['type' => ['container']], JSON_THROW_ON_ERROR), +]); +$events->onFrame(function (EventMessage $event): void { + printf("%s\t%s\t%s\n", + (string) $event->getTime(), + $event->getAction() ?? '', + $event->getActor()?->getId() ?? '' + ); +}); +$events->wait(); +``` + +Omit `until` only when you intend to keep listening. Filtering limits which +events arrive; it does not impose a timeout. Docker event history is bounded, +so this is not a durable audit log. Persist relevant events yourself, handle +reconnects and reconcile current state through inspect/list calls rather than +assuming no events were lost. Keep slow work out of the synchronous callback. + +## Read one stats sample + +`containerStats()` defaults to streaming. The generated endpoint does not have +a custom callback wrapper and parses a whole JSON response. Explicitly set +`stream => false` for the normal decoded-result path: + +```php +$stats = $docker->containerStats('my-container', ['stream' => false]); +if (!is_object($stats)) { + throw new RuntimeException('Expected a decoded stats object'); +} +printf("Memory usage: %s bytes\n", (string) ($stats->memory_stats->usage ?? 'unavailable')); +``` + +This is a plain decoded object, not a generated stats model with getters. +Use null checks: cgroup versions and daemon configuration affect which fields +are present. `one-shot => true` can reduce waiting for a single sample, but +must be combined with `stream => false` and may not provide the previous CPU +sample needed for a percentage calculation. + +Raw memory usage is not necessarily the cache-adjusted value shown by the +Docker CLI. Likewise, CPU percentage needs current/previous CPU counters, +system counter deltas and a CPU count; it is not one field which can simply +be divided by a constant. Check zero/missing counters and the daemon's cgroup +version before calculating percentages. + +## Continuous stats + +For a live reader, use +`executeRawEndpoint(new Docker\API\Endpoint\ContainerStats($id, ['stream' => true]))`, +check HTTP 200, and parse JSON documents incrementally from the PSR-7 body. +Close that body when finished. Do not call `containerStats($id)` in an ordinary +web request and assume it will return one sample. + +Socket chunks are not JSON-message boundaries. Buffer incomplete documents, +place a limit on buffered data, and handle timeouts, malformed JSON and +disconnects. There is no `StatsStream` or `onFrame()` method provided for this +endpoint in the current client. See +[stream lifetime and cancellation](/reference/streams#lifetime-cancellation-and-timeouts). diff --git a/docs/guides/exec.mdx b/docs/guides/exec.mdx new file mode 100644 index 000000000..981448285 --- /dev/null +++ b/docs/guides/exec.mdx @@ -0,0 +1,97 @@ +--- +title: "Command output" +description: "Execute a command in a running container and read decoded output." +--- + +```php +setCmd(['sh', '-c', 'printf "hello\n"']); +$command->setAttachStdout(true); +$command->setAttachStderr(true); +$command->setTty(false); + +$exec = $docker->containerExec('my-container', $command); + +$start = new ExecIdStartPostBody(); +$start->setDetach(false); +$start->setTty(false); + +$output = $docker->execStart($exec->getId(), $start); +$output->onStdout(function (string $chunk): void { + echo $chunk; +}); +$output->onStderr(function (string $chunk): void { + fwrite(STDERR, $chunk); +}); +$output->wait(); +``` + +Replace `my-container` with an existing running container. `Detach` must be +`false` to consume attached output. Use the same `Tty` value when creating and +starting the exec command. + +For non-TTY commands, stdout and stderr are separate. TTY commands combine both +streams on `onStdout`. Callbacks receive chunks that may contain partial lines. + +To check the exit status after consuming the output, use +`execInspect($exec->getId())` and inspect `getRunning()` and `getExitCode()`. + +## Exit status is separate from HTTP success + +Continue with the `$exec` created above, after `$output->wait()`: + +```php +$result = $docker->execInspect($exec->getId()); +if ($result->getRunning() !== false) { + throw new RuntimeException('The command has not finished yet'); +} +$exitCode = $result->getExitCode(); +if ($exitCode === null) { + throw new RuntimeException('No exit status was returned'); +} +if ($exitCode !== 0) { + throw new RuntimeException('The command failed with exit status '.$exitCode); +} +``` + +An HTTP-successful start can still run a command which exits non-zero. Do not +infer success from the presence of output, the absence of stderr, or HTTP 200. +If a connection ends early, inspect the exec state before deciding whether it +finished or retrying a command with side effects. + +## Detached execution + +For a background command, set `Detach` to `true` on the start model. Do not +register callbacks or call `wait()` on its result; a detached start can return +`null` on success. Poll `execInspect()` with a bounded interval/deadline in +your application if you need completion and an exit code. This is a different +lifecycle from the attached example, not an asynchronous PHP promise. + +## TTY and upgraded connections + +The attached wrapper handles HTTP 200 and HTTP 101 responses when their media +type identifies Docker raw or multiplexed output. Set `Tty` explicitly and +consistently at creation and start; do not try to autodetect it from the bytes. +A TTY combines stdout/stderr and may produce terminal control sequences. + +Custom transports and proxies must preserve upgraded connections and provide +an unbuffered body. A normal buffered HTTP response adapter may pass list or +inspect calls but fail on exec output. + +This recipe is output-only: it does not implement interactive stdin or a +terminal UI. `onStdin()` on `DockerRawStream` is not a write method. See +[attach limitations](/reference/streams#attach-and-websocket-limitations). + +Raw response bodies can contain binary frame headers. See +[Container logs](/guides/logs#raw-response-bodies) before working with raw fetch +modes. diff --git a/docs/guides/image-transfer.mdx b/docs/guides/image-transfer.mdx new file mode 100644 index 000000000..16e03c53e --- /dev/null +++ b/docs/guides/image-transfer.mdx @@ -0,0 +1,90 @@ +--- +title: "Save and load images" +description: "Distinguish image archives from container exports and root-filesystem imports." +--- + +An image archive, a build context and a container filesystem export are not +interchangeable. Choose the matching API operation: + +| Archive | Produce it with | Consume it with | +| --- | --- | --- | +| Image layers, configuration and tags | `imageGet()` / `imageGetAll()` or `docker image save` | `imageLoad()` | +| Container/root filesystem | `containerExport()` or a suitable rootfs tar | `imageCreate()` with `fromSrc` | +| Files to copy into a container | A tar created for that destination | `putContainerArchive()` | +| Dockerfile and build files | `Context` / `ContextBuilder` | `imageBuild()` | + +## Save an image + +Use `executeRawEndpoint(new Docker\API\Endpoint\ImageGet($imageName))` and +require HTTP 200, then save the body in chunks using the +[archive download pattern](/guides/archives#download-an-archive). The default +generated `imageGet()` result is `null`; it does not give you a tar stream. + +For more than one image, use `new ImageGetAll(['names' => ['image-a:tag', +'image-b:tag']])` with the raw endpoint. Specify the names explicitly rather +than accidentally exporting every image on the daemon. + +## Load an image archive + +Loading creates or updates image records and tags on the daemon. Use a tar +produced by an image-save operation and a development daemon. This call has +no `BuildStream`/`CreateImageStream` wrapper; its progress response must be +handled separately. + +```php +executeRawEndpoint(new ImageLoad($archive, ['quiet' => true])); + $body = $response->getBody(); + if ($response->getStatusCode() !== 200) { + throw new RuntimeException('Image load failed: HTTP '.$response->getStatusCode()); + } + // The quiet response is finite; it can still contain several JSON lines. + foreach (preg_split('/\r?\n/', $body->getContents()) as $line) { + if (trim($line) === '') { + continue; + } + $frame = json_decode($line, true, 512, JSON_THROW_ON_ERROR); + if (isset($frame['error']) || isset($frame['errorDetail']['message'])) { + throw new RuntimeException($frame['error'] ?? $frame['errorDetail']['message']); + } + echo $frame['stream'] ?? ''; + } +} finally { + $body?->close(); + if (is_resource($archive)) { + fclose($archive); + } +} +``` + +The archive is sent as a resource, so PHP does not load the tar file into a +string first. This example buffers only the quiet progress response. For a +verbose or long-lived JSON stream, use a bounded incremental JSON-line reader +instead. Reading the progress is necessary: HTTP 200 alone does not prove that +the daemon accepted all of the image data. + +## Root-filesystem import is different + +`imageCreate()` with `fromSrc` imports a root filesystem, not an image-save +archive. Use `fromSrc => '-'` for a request-body import, or a source URL for +the daemon to download. Remote source URLs are fetched by the daemon, not PHP; +do not accept arbitrary URLs from untrusted callers. + +In this API line, `imageCreate()`'s request body is `?string`, unlike the +resource/PSR-7-stream bodies supported by `imageBuild()`, `imageLoad()` and +`putContainerArchive()`. Do not pass a file resource to `imageCreate()` and +expect it to behave like an image load. Choose the operation and payload type +deliberately, especially for large archives. diff --git a/docs/guides/logs.mdx b/docs/guides/logs.mdx new file mode 100644 index 000000000..cc4f8205d --- /dev/null +++ b/docs/guides/logs.mdx @@ -0,0 +1,107 @@ +--- +title: "Container logs" +description: "Read decoded stdout and stderr with callback streams." +--- + +```php +containerLogs('my-container', [ + 'stdout' => true, + 'stderr' => true, + 'follow' => true, +]); + +$logs->onStdout(function (string $chunk): void { + echo $chunk; +}); +$logs->onStderr(function (string $chunk): void { + fwrite(STDERR, $chunk); +}); +$logs->wait(); +``` + +Replace `my-container` with the ID or name of an existing container. With +`follow` enabled, `wait()` keeps consuming output until the stream ends or the +underlying client interrupts it. Omit `follow` to read the currently available +logs. + +## Output chunks and TTY mode + +Callbacks receive output chunks, not necessarily complete lines. Buffer chunks +in your application if it processes output line by line. + +Non-TTY output has separate stdout and stderr channels. TTY containers combine +both on `onStdout`. + +For a response marked `application/vnd.docker.raw-stream`, the client inspects +the container's TTY setting to distinguish terminal output from framed output. +Your daemon credentials need permission to inspect the container. Responses +marked `application/vnd.docker.multiplexed-stream` do not need that extra +request. + +## Read recent output without following + +Continue with the `$docker` client above. This query is finite: + +```php +$recent = $docker->containerLogs('my-container', [ + 'stdout' => true, + 'stderr' => true, + 'follow' => false, + 'tail' => '100', + 'timestamps' => true, + 'since' => time() - 300, +]); +$recent->onStdout(function (string $chunk): void { echo $chunk; }); +$recent->onStderr(function (string $chunk): void { fwrite(STDERR, $chunk); }); +$recent->wait(); +``` + +`tail` is a string, including numeric-looking values; `since` is an integer +for this endpoint. That differs from the string timestamps accepted by +`systemEvents()`. Log availability also depends on the daemon's logging driver +and configuration; this call is not a replacement for a durable logging service. + +## Process output line by line + +Maintain separate buffers for stdout and stderr. For a single channel, a simple +bounded line buffer can be registered as a callback: + +```php +$pending = ''; +$logs = $docker->containerLogs('my-container', ['stdout' => true, 'tail' => '100']); +$logs->onStdout(function (string $chunk) use (&$pending): void { + $pending .= $chunk; + while (($newline = strpos($pending, "\n")) !== false) { + $line = substr($pending, 0, $newline); + $pending = substr($pending, $newline + 1); + printf("line: %s\n", rtrim($line, "\r")); + } + if (strlen($pending) > 1024 * 1024) { + throw new RuntimeException('Output line exceeded the buffer limit'); + } +}); +$logs->wait(); +if ($pending !== '') { + printf("last line: %s\n", $pending); +} +``` + +This handles lines split across chunks and a final line without a newline. +It limits the incomplete-line buffer; applications should also cap or stream +their total retained output. Use separate buffers if you add `onStderr()`. +Terminal escape sequences are not removed by Docker frame decoding. + +## Raw response bodies + +`executeRawEndpoint()` and the deprecated `FETCH_RESPONSE` mode return the raw +body. Non-TTY output includes Docker's binary frame headers in that body. Do +not print it directly if you want readable output; use the callback stream. + +The same distinction applies to [exec output](/guides/exec). diff --git a/docs/guides/registry.mdx b/docs/guides/registry.mdx new file mode 100644 index 000000000..ea2a87fe3 --- /dev/null +++ b/docs/guides/registry.mdx @@ -0,0 +1,109 @@ +--- +title: "Pull and push images" +description: "Handle registry authentication and streamed progress, including daemon-side errors." +--- + +The daemon contacts the registry. PHP sends the registry credentials to the +daemon in request headers; it does not perform `docker login` or read your +Docker CLI credential helpers automatically. + +Use a trusted daemon connection, with TLS for remote TCP connections. Keep +tokens out of source control, query parameters and request-header logs. + +## Pull a private image + +`imageCreate()` takes a nullable body first, then query parameters and headers. +For a pull, pass `null` as the body and set `fromImage` and an explicit `tag`. +`X-Registry-Auth` must be an encoded **string** on this call; it does not accept +an `AuthConfig` model. + +Set `DOCKER_REGISTRY_USER` and `DOCKER_REGISTRY_TOKEN` in your process's secret +configuration. Replace the example registry/repository with one you can access. + +```php + $username, + 'password' => $token, + 'serveraddress' => 'registry.example.com', +], JSON_THROW_ON_ERROR)), '+/', '-_'), '='); + +$pull = $docker->imageCreate(null, [ + 'fromImage' => 'registry.example.com/team/app', + 'tag' => 'example', +], ['X-Registry-Auth' => $auth]); + +$pull->onFrame(function (CreateImageInfo $frame): void { + if ($frame->getError() !== null) { + throw new RuntimeException($frame->getError()); + } + printf("%s %s\n", $frame->getStatus() ?? '', $frame->getProgress() ?? ''); +}); +$pull->wait(); +``` + +For a public image, omit the authentication header. Use an explicit tag or +digest: an empty pull tag can request all tags. The returned `CreateImageStream` +contains progress, not a completed image model. Inspect the image separately +if you need its metadata. + +## Push a tagged image + +Tag a local image for the target registry before pushing. This sends image +layers and the tag to the registry, so use a repository reserved for testing. +Keep the credentials from the pull example available in `$username` and `$token`. + +```php +use Docker\API\Model\AuthConfig; +use Docker\API\Model\PushImageInfo; + +$authConfig = new AuthConfig(); +$authConfig->setUsername($username); +$authConfig->setPassword($token); +$authConfig->setServeraddress('registry.example.com'); + +$docker->imageTag('docker-php-example:latest', [ + 'repo' => 'registry.example.com/team/app', + 'tag' => 'example', +]); + +$push = $docker->imagePush('registry.example.com/team/app', ['tag' => 'example'], [ + 'X-Registry-Auth' => $authConfig, +]); +$push->onFrame(function (PushImageInfo $frame): void { + if ($frame->getError() !== null) { + throw new RuntimeException($frame->getError()); + } + printf("%s %s\n", $frame->getStatus() ?? '', $frame->getProgress() ?? ''); +}); +$push->wait(); +``` + +Unlike `imageCreate()`, the `Docker\Docker::imagePush()` convenience method +accepts an `AuthConfig` in the exact `X-Registry-Auth` header key and serializes +and base64-encodes it for you. Do not pre-encode that model. You can instead pass +an already encoded string, as used in the pull example. A generated +`Docker\API\Endpoint\ImagePush` used directly does not perform the model +conversion. + +## Builds use a different authentication header + +Building from private base images uses `X-Registry-Config`: an encoded map of +registry names to credential objects, rather than one auth object. See +[private build dependencies](/cookbook/build-image#private-base-images). + +Authentication to a Docker daemon and authentication to an image registry are +separate concerns. A registry token does not secure an exposed Docker socket. diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index d00780dc4..000000000 --- a/docs/index.md +++ /dev/null @@ -1,22 +0,0 @@ -# Docker-PHP - -This is the documentation for [docker-php](https://github.com/docker-php/docker-php) library. - -This library aim to reach 100% API support of the Docker Engine. - -## Basics - -First you need to learn the basics of this library : - -* [Installation](installation.md) -* [Connecting to Docker](connection.md) -* [Basic usage](basic.md) -* [Asynchronous Client](async.md) - -## Cookbook - -The cookbook is a collection of recipes that explain how to solve common -problems and advanced usage when using Docker-PHP - -* [Running a container](cookbook/container-run.md) -* [Build an image](cookbook/build-image.md) diff --git a/docs/index.mdx b/docs/index.mdx new file mode 100644 index 000000000..40e839685 --- /dev/null +++ b/docs/index.mdx @@ -0,0 +1,42 @@ +--- +title: "Docker PHP" +description: "Use the Docker Engine API from PHP." +--- + +Docker PHP is a PHP client for the Docker Engine API. It provides generated +endpoint methods and models, connection handling, and decoded log and command +output streams. + + +These docs cover the upcoming Docker PHP 3.0 client and Docker API package +7.1.45.0. Neither release has been published yet. The docs are still being +prepared; installation commands for stable versions apply after release. + + +The first restored release targets Docker Engine API v1.45. The PHP namespaces +remain `Docker` and `Docker\API`, including for applications migrating from +Beluga. + + + + Check the requirements and make your first request. + + + Migrate from the original packages or Beluga. + + + Consume stdout and stderr without Docker frame headers. + + + Understand package versions and daemon compatibility. + + + Set up mounts, published ports, labels and restart policies. + + + Find the right approach for streams, archives and blocking calls. + + + +Development continues in [docker-php/docker-php](https://github.com/docker-php/docker-php). +The generated API is maintained in [docker-php/docker-php-api](https://github.com/docker-php/docker-php-api). diff --git a/docs/installation.md b/docs/installation.md deleted file mode 100644 index 2cc4fcecd..000000000 --- a/docs/installation.md +++ /dev/null @@ -1,21 +0,0 @@ -# Installation - -The recommended way to install Docker PHP is to use [Composer](http://getcomposer.org/): - -Run `composer require docker-php/docker-php` to add the dependency - -By default it will use the last API version. However you can specify the API version of docker by setting a specific -version for the `docker-php/docker-php-api`. - -To use the 1.29 version you can do the following: - -``` -composer require docker-php/docker-php-api:4.1.29.* -``` - -Do not use `^4.1.29.0`; otherwise, you will also depend on the latest version. The first digit of this version number matches the -major version of [Jane PHP](https://github.com/janephp/janephp), which is the lib generating the API Client code. - -Note that some endpoints of the Docker API may have BC breaks during minor version updates. This library may -try to hide those BC breaks but it will always be a best effort. Feel free to raise an issue or pull request on github when -you encounter one. diff --git a/docs/installation.mdx b/docs/installation.mdx new file mode 100644 index 000000000..090122594 --- /dev/null +++ b/docs/installation.mdx @@ -0,0 +1,40 @@ +--- +title: "Installation" +description: "Install the client and its matching generated API package." +--- + +## Requirements + +- PHP 8.1 or later, with the `mbstring` extension. +- [Composer](https://getcomposer.org/). +- Access to a Docker daemon that accepts API v1.45 requests. + +## Stable installation + + +Docker PHP 3.0.0 and API package 7.1.45.0 have not been released yet. Use this +command once both packages are available. + + +```bash +composer require "docker-php/docker-php:^3.0" +``` + +Composer installs the matching `docker-php/docker-php-api` dependency. If your +application requires the API package directly, keep its constraint within one +[API line](/api-versions). + +## Test the development version + +For a disposable test application before release, explicitly allow both +development packages: + +```bash +composer require "docker-php/docker-php:3.0.x-dev" "docker-php/docker-php-api:7.1.45.x-dev" --with-all-dependencies +``` + +Do not use these moving development versions for an unattended production +upgrade. Commit your application's `composer.lock` after testing. + +If you already use Docker PHP or Beluga, follow the [migration guide](/migration) +instead of installing both package families together. diff --git a/docs/migration.mdx b/docs/migration.mdx new file mode 100644 index 000000000..26c9f0dc9 --- /dev/null +++ b/docs/migration.mdx @@ -0,0 +1,95 @@ +--- +title: "Upgrade to 3.0" +description: "Migrate from the original packages or the Beluga fork." +--- + + +Docker PHP 3.0.0 and API package 7.1.45.0 have not been published yet. Prepare and +review these changes now; resolve stable versions after both releases are +available. + + +## From the original 2.x client + +The new client requires PHP 8.1 or later, the `mbstring` extension, PSR-7 v2 and +Jane 7 runtimes. Check your application's other dependencies against these +requirements before changing its Composer constraints. + +Change the client requirement to `docker-php/docker-php:^3.0`. Remove an explicit +`docker-php/docker-php-api:4.1.*` requirement, or change it to +`>=7.1.45.0 <7.1.46.0` if your application depends on the API package directly. + +```json +{ + "require": { + "docker-php/docker-php": "^3.0" + } +} +``` + +Resolve the package changes together: + +```bash +composer update docker-php/docker-php docker-php/docker-php-api --with-all-dependencies +``` + +Review endpoint signatures and generated model types. The PHP namespaces remain +`Docker` and `Docker\API`, but that does not make all old API models or calling +patterns compatible. The specification changes from the old API line to v1.45. + +### Asynchronous client + +The old `DockerAsync` client and its Amp/Artax examples do not apply to 3.0. +The maintained client uses synchronous endpoint calls and callback streams. +Applications using `DockerAsync` need to adapt those call sites; this is not a +drop-in replacement for the old promise-based client. + +### HTTP clients + +The default client now uses the maintained PSR-7 v2 dependency set. Review custom +HTTP adapters for PSR-18 compatibility, daemon connection settings, unbuffered +responses and upgraded Docker connections. See [Connection settings](/connection). + +### Log and exec consumers + +Use `onStdout()` and `onStderr()` with `wait()` to consume decoded output. Do not +print non-TTY raw response bodies directly: they contain binary frame headers. +TTY output combines stdout and stderr, and callbacks receive chunks rather +than guaranteed complete lines. See [logs](/guides/logs) and +[exec output](/guides/exec). + +## From Beluga + +The new client continues the code maintained under `beluga-php/docker-php`. +For applications on the Beluga API v1.45 line, the package-name migration does +not require a PHP namespace change. + +Remove both Beluga requirements from your application's `composer.json`, if +present. Add `docker-php/docker-php:^3.0`. If you require the API package +directly, add `docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0` as well. + +Do not install both package families together: they contain the same PHP +classes and the new packages declare conflicts with their Beluga counterparts. +Resolve the dependency changes together, rather than installing the new client +while keeping an old direct API requirement. + +```bash +composer update --with-all-dependencies +``` + +Run that broader update in a test checkout, review unrelated dependency changes, +and commit the tested lock file. If you use another Beluga Docker API line, +review the endpoint and model changes to v1.45 before switching. + +## Verify the application + +- Confirm only the original package family is installed with `composer show`. +- Test the daemon connection and representative inspect, list and create calls. +- Check log and exec output, including TTY and non-TTY containers. +- Review custom HTTP clients and nullable model fields. +- Commit `composer.lock` and keep the prior release and lock file available for + rollback before deploying. + +Existing bounded client constraints such as `^2.0` do not automatically admit +3.0. Existing API `4.1.*` constraints do not admit the new 7.x packages. Broad or +unbounded requirements do not provide that protection. diff --git a/docs/package-lock.json b/docs/package-lock.json new file mode 100644 index 000000000..4ab7af3af --- /dev/null +++ b/docs/package-lock.json @@ -0,0 +1,13754 @@ +{ + "name": "docker-php-documentation", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "docker-php-documentation", + "devDependencies": { + "mint": "4.2.986" + }, + "engines": { + "node": ">=20.17 <25" + } + }, + "node_modules/@alcalzone/ansi-tokenize": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@alcalzone/ansi-tokenize/-/ansi-tokenize-0.2.5.tgz", + "integrity": "sha512-3NX/MpTdroi0aKz134A6RC2Gb2iXVECN4QaAXnvCIxxIm3C3AVB1mkUe8NaaiyvOpDfsrqWhYtj+Q6a62RrTsw==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "is-fullwidth-code-point": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.3.0.tgz", + "integrity": "sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@anthropic-ai/claude-agent-sdk": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.3.241.tgz", + "integrity": "sha512-pIHdCSTywFe30H0oWDCKZzC4ipBLtF5YMDRKjf6PHyARg57O4l/72v3b6QKnnefwtKKMe6uWJ1Y9lUJg/sKWyA==", + "dev": true, + "license": "SEE LICENSE IN README.md", + "optional": true, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.241", + "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.241", + "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.241", + "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.241", + "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.241", + "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.241", + "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.241", + "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.241" + }, + "peerDependencies": { + "@anthropic-ai/sdk": ">=0.93.0", + "@modelcontextprotocol/sdk": "^1.29.0", + "zod": "^4.0.0" + } + }, + "node_modules/@anthropic-ai/claude-agent-sdk-darwin-arm64": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-arm64/-/claude-agent-sdk-darwin-arm64-0.3.241.tgz", + "integrity": "sha512-v26ta54lKFMFEZzbOE+6p3YhKERWnDiEA6OmkSAg+3fAQHOa1+aLTKw222cfgzxgiVixwFtHMk8c63zsDd8aXQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.md", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@anthropic-ai/claude-agent-sdk-darwin-x64": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-x64/-/claude-agent-sdk-darwin-x64-0.3.241.tgz", + "integrity": "sha512-5jweT0vft1ZCaGSoxZHF9vJlHbx8Yxx4+x5aHAIXTd4lx7ZbT4o5buEF8kpmTeHUB+Fw9jtFIm4QDsRiBXgf+Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.md", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64/-/claude-agent-sdk-linux-arm64-0.3.241.tgz", + "integrity": "sha512-SxszQGffXiLzMEnAv+pJXEmQbA8haijKyRjjH/jOt1CLeMIfpjKcO9WQDv8dEA8nREWS3zJ103zjgecAF7oOQQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.md", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64-musl": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64-musl/-/claude-agent-sdk-linux-arm64-musl-0.3.241.tgz", + "integrity": "sha512-GslvPvSzehfCZyzOaJAt4lgodznm5zpl/LMXN8ygD12z5qnpM+I9/eFnmAaISJ0L8/vyohtlAP1jjaeR2jz1AQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.md", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@anthropic-ai/claude-agent-sdk-linux-x64": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64/-/claude-agent-sdk-linux-x64-0.3.241.tgz", + "integrity": "sha512-gJRa922Qcm7loumHcXMDFEFg//tz1aOi7Nx0sQa9I9lC1JSN8yL6i7/idzOU5Hp193tEDFOgqIMFL/yRiXg+rw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.md", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@anthropic-ai/claude-agent-sdk-linux-x64-musl": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64-musl/-/claude-agent-sdk-linux-x64-musl-0.3.241.tgz", + "integrity": "sha512-kZigJ5Ug2I2G/n7Cunmwy4TGr0lOGnWrz6TkzyWiDcUmJOodoTH6GZECNarWAtETfN03AAeLfrpiz8z3hOEDqA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.md", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@anthropic-ai/claude-agent-sdk-win32-arm64": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-arm64/-/claude-agent-sdk-win32-arm64-0.3.241.tgz", + "integrity": "sha512-/3yA9jQuCvHDVlILzhtslH6kFYOvydXyMZiKwnzqM8ZfvFTNO41w8TpiFpBLseyM+4A4E8QMeTKu3L01Xyb5IQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.md", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@anthropic-ai/claude-agent-sdk-win32-x64": { + "version": "0.3.241", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-x64/-/claude-agent-sdk-win32-x64-0.3.241.tgz", + "integrity": "sha512-cHYdAgORl9kynujMeYXyV1uj/hbmsBjRw9dRVkIW4/4sF7S6L4u/qDSzn1/wiNP7g2yWSJ4KbsvHDH2WWDnCBQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.md", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@anthropic-ai/sdk": { + "version": "0.120.0", + "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.120.0.tgz", + "integrity": "sha512-ZlvmNFT/iIF6JD13rxbbMWD8nvGR0RaUp6yMQnoc+4Af0YjVVe/bIdW1XSQQsoxXAtg1NaT6Vak0LKFlJ4d37Q==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "json-schema-to-ts": "^3.1.1", + "standardwebhooks": "^1.0.0" + }, + "bin": { + "anthropic-ai-sdk": "bin/cli" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } + } + }, + "node_modules/@ark/schema": { + "version": "0.56.6", + "resolved": "https://registry.npmjs.org/@ark/schema/-/schema-0.56.6.tgz", + "integrity": "sha512-OmLv80BCF2ib+zjecrXDosip/CSnZSYBGjblhqWYZWFOzdLQka6QymHToE9u7Z/HZW2KA8Hwc8MCNXoI3uGSIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ark/util": "0.56.6" + } + }, + "node_modules/@ark/util": { + "version": "0.56.6", + "resolved": "https://registry.npmjs.org/@ark/util/-/util-0.56.6.tgz", + "integrity": "sha512-mHqq0f0HyDd9YadpFl25w0QECAP7d8HGIUpEC85duD+L+xr4i/CwfOid/Z7zJFFF/47oLt6+pZB9RbqWpBYTYg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@asyncapi/parser": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.4.0.tgz", + "integrity": "sha512-Sxn74oHiZSU6+cVeZy62iPZMFMvKp4jupMFHelSICCMw1qELmUHPvuZSr+ZHDmNGgHcEpzJM5HN02kR7T4g+PQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@asyncapi/specs": "^6.8.0", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", + "@stoplight/json": "3.21.0", + "@stoplight/json-ref-readers": "^1.2.2", + "@stoplight/json-ref-resolver": "^3.1.5", + "@stoplight/spectral-core": "^1.18.3", + "@stoplight/spectral-functions": "^1.7.2", + "@stoplight/spectral-parsers": "^1.0.2", + "@stoplight/spectral-ref-resolver": "^1.0.3", + "@stoplight/types": "^13.12.0", + "@types/json-schema": "^7.0.11", + "@types/urijs": "^1.19.19", + "ajv": "^8.17.1", + "ajv-errors": "^3.0.0", + "ajv-formats": "^2.1.1", + "avsc": "^5.7.5", + "js-yaml": "^4.1.0", + "jsonpath-plus": "^10.0.0", + "node-fetch": "2.6.7" + } + }, + "node_modules/@asyncapi/specs": { + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.11.1.tgz", + "integrity": "sha512-A3WBLqAKGoJ2+6FWFtpjBlCQ1oFCcs4GxF7zsIGvNqp/klGUHjlA3aAcZ9XMMpLGE8zPeYDz2x9FmO6DSuKraQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.11" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz", + "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@canvas/image-data": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@canvas/image-data/-/image-data-1.1.0.tgz", + "integrity": "sha512-QdObRRjRbcXGmM1tmJ+MrHcaz1MftF2+W7YI+MsphnsCrmtyfS0d5qJbk0MeSbUeyM/jCb0hmnkXPsy026L7dA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@emnapi/runtime": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz", + "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD", + "optional": true + }, + "node_modules/@floating-ui/core": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz", + "integrity": "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@floating-ui/utils": "^0.2.12" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.8.0.tgz", + "integrity": "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@floating-ui/core": "^1.8.0", + "@floating-ui/utils": "^0.2.12" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz", + "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/@hono/node-server": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.3.tgz", + "integrity": "sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "hono": "^4" + } + }, + "node_modules/@img/sharp-darwin-arm64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", + "integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-arm64": "1.0.4" + } + }, + "node_modules/@img/sharp-darwin-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz", + "integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-x64": "1.0.4" + } + }, + "node_modules/@img/sharp-libvips-darwin-arm64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.4.tgz", + "integrity": "sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-darwin-x64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.4.tgz", + "integrity": "sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-arm": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.5.tgz", + "integrity": "sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-arm64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.4.tgz", + "integrity": "sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-s390x": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.4.tgz", + "integrity": "sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-x64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.4.tgz", + "integrity": "sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linuxmusl-arm64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.4.tgz", + "integrity": "sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linuxmusl-x64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.4.tgz", + "integrity": "sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-linux-arm": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.5.tgz", + "integrity": "sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm": "1.0.5" + } + }, + "node_modules/@img/sharp-linux-arm64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.5.tgz", + "integrity": "sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm64": "1.0.4" + } + }, + "node_modules/@img/sharp-linux-s390x": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.5.tgz", + "integrity": "sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-s390x": "1.0.4" + } + }, + "node_modules/@img/sharp-linux-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.5.tgz", + "integrity": "sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-x64": "1.0.4" + } + }, + "node_modules/@img/sharp-linuxmusl-arm64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.5.tgz", + "integrity": "sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linuxmusl-arm64": "1.0.4" + } + }, + "node_modules/@img/sharp-linuxmusl-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.5.tgz", + "integrity": "sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linuxmusl-x64": "1.0.4" + } + }, + "node_modules/@img/sharp-wasm32": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.5.tgz", + "integrity": "sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "optional": true, + "dependencies": { + "@emnapi/runtime": "^1.2.0" + }, + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-ia32": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.5.tgz", + "integrity": "sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.5.tgz", + "integrity": "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@inquirer/ansi": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", + "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@inquirer/checkbox": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", + "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/confirm": { + "version": "5.1.21", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", + "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/core": { + "version": "10.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", + "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "cli-width": "^4.1.0", + "mute-stream": "^2.0.0", + "signal-exit": "^4.1.0", + "wrap-ansi": "^6.2.0", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/editor": { + "version": "4.2.23", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", + "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/external-editor": "^1.0.3", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/expand": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", + "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/external-editor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", + "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^2.1.1", + "iconv-lite": "^0.7.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/figures": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", + "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@inquirer/input": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", + "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/number": { + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", + "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/password": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", + "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/prompts": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.9.0.tgz", + "integrity": "sha512-X7/+dG9SLpSzRkwgG5/xiIzW0oMrV3C0HOa7YHG1WnrLK+vCQHfte4k/T80059YBdei29RBC3s+pSMvPJDU9/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/checkbox": "^4.3.0", + "@inquirer/confirm": "^5.1.19", + "@inquirer/editor": "^4.2.21", + "@inquirer/expand": "^4.0.21", + "@inquirer/input": "^4.2.5", + "@inquirer/number": "^3.0.21", + "@inquirer/password": "^4.0.21", + "@inquirer/rawlist": "^4.1.9", + "@inquirer/search": "^3.2.0", + "@inquirer/select": "^4.4.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/rawlist": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", + "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/search": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", + "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/select": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", + "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/type": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", + "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@jsep-plugin/assignment": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@jsep-plugin/assignment/-/assignment-1.3.0.tgz", + "integrity": "sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } + }, + "node_modules/@jsep-plugin/regex": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.4.tgz", + "integrity": "sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } + }, + "node_modules/@jsep-plugin/ternary": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@jsep-plugin/ternary/-/ternary-1.1.4.tgz", + "integrity": "sha512-ck5wiqIbqdMX6WRQztBL7ASDty9YLgJ3sSAK5ZpBzXeySvFGCzIvM6UiAI4hTZ22fEcYQVV/zhUbNscggW+Ukg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } + }, + "node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", + "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@mdx-js/mdx": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-3.1.1.tgz", + "integrity": "sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdx": "^2.0.0", + "acorn": "^8.0.0", + "collapse-white-space": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "estree-util-scope": "^1.0.0", + "estree-walker": "^3.0.0", + "hast-util-to-jsx-runtime": "^2.0.0", + "markdown-extensions": "^2.0.0", + "recma-build-jsx": "^1.0.0", + "recma-jsx": "^1.0.0", + "recma-stringify": "^1.0.0", + "rehype-recma": "^1.0.0", + "remark-mdx": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "source-map": "^0.7.0", + "unified": "^11.0.0", + "unist-util-position-from-estree": "^2.0.0", + "unist-util-stringify-position": "^4.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mdx-js/react": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-3.1.1.tgz", + "integrity": "sha512-f++rKLQgUVYDAtECQ6fn/is15GkEH9+nZPM3MS0RcxVqoTfawHvDlSCH7JbMhAM6uJ32v3eXLvLmLvjGu7PTQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdx": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "@types/react": ">=16", + "react": ">=16" + } + }, + "node_modules/@mintlify/cli": { + "version": "4.0.1589", + "resolved": "https://registry.npmjs.org/@mintlify/cli/-/cli-4.0.1589.tgz", + "integrity": "sha512-EZmXMwQB/cpo27Ka+z1BzgAScZFX8iW1IgcPBm0+m3VZC7vWvnVA0z6ypszXVbajkm0zTNRyCE2TBSBgC/WzYg==", + "dev": true, + "license": "Elastic-2.0", + "dependencies": { + "@inquirer/prompts": "7.9.0", + "@mintlify/common": "1.0.1209", + "@mintlify/link-rot": "3.0.1417", + "@mintlify/models": "0.0.366", + "@mintlify/prebuild": "1.0.1368", + "@mintlify/previewing": "4.0.1440", + "@mintlify/validation": "0.1.892", + "adm-zip": "0.6.0", + "chalk": "5.2.0", + "color": "4.2.3", + "detect-port": "1.5.1", + "fs-extra": "11.2.0", + "ink": "6.3.0", + "inquirer": "12.3.0", + "js-yaml": "4.3.1", + "jsonc-parser": "3.3.1", + "mdast-util-mdx-jsx": "3.2.0", + "open": "8.4.2", + "openid-client": "6.8.2", + "posthog-node": "5.17.2", + "prosemirror-model": "1.25.4", + "react": "19.2.3", + "remark": "15.0.1", + "remark-frontmatter": "5.0.0", + "remark-gfm": "4.0.1", + "remark-math": "6.0.0", + "remark-mdx": "3.1.1", + "remark-stringify": "11.0.0", + "unified": "11.0.5", + "unist-util-visit": "5.0.0", + "yaml": "2.8.3", + "yargs": "17.7.1", + "zod": "4.3.6" + }, + "bin": { + "mint": "bin/index.js", + "mintlify": "bin/index.js" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "@anthropic-ai/claude-agent-sdk": "0.3.241", + "@anthropic-ai/sdk": "0.120.0", + "@modelcontextprotocol/sdk": "1.30.0", + "@openai/codex-sdk": "0.149.1", + "keytar": "7.9.0" + } + }, + "node_modules/@mintlify/common": { + "version": "1.0.1209", + "resolved": "https://registry.npmjs.org/@mintlify/common/-/common-1.0.1209.tgz", + "integrity": "sha512-U75SJ7JHE987PcGF+56RXyjT8LMkyzxpDHLAdDCGb8pM9iMK2KppgbJVoq5LOCeaPfFH9UxHhl/mSNmg5acWWg==", + "dev": true, + "license": "ISC", + "dependencies": { + "@asyncapi/parser": "3.4.0", + "@mintlify/mdx": "4.0.7", + "@mintlify/models": "0.0.366", + "@mintlify/openapi-parser": "0.0.9", + "@mintlify/validation": "0.1.892", + "@sindresorhus/slugify": "2.2.0", + "@types/mdast": "4.0.4", + "acorn": "8.11.2", + "acorn-jsx": "5.3.2", + "estree-util-to-js": "2.0.0", + "estree-walker": "3.0.3", + "front-matter": "4.0.2", + "hast-util-from-html": "2.0.3", + "hast-util-to-estree": "3.1.0", + "hast-util-to-html": "9.0.4", + "ignore": "7.0.5", + "iregexp-check": "0.1.2", + "js-yaml": "4.3.1", + "json-p3": "2.2.2", + "lodash": "4.18.1", + "mdast-util-from-markdown": "2.0.2", + "mdast-util-gfm": "3.0.0", + "mdast-util-mdx": "3.0.0", + "mdast-util-mdx-jsx": "3.1.3", + "micromark-extension-gfm": "3.0.0", + "micromark-extension-mdxjs": "3.0.0", + "openapi-types": "12.1.3", + "postcss": "8.5.23", + "re2js": "2.8.6", + "rehype-katex": "7.0.1", + "rehype-stringify": "10.0.1", + "remark": "15.0.1", + "remark-frontmatter": "5.0.0", + "remark-gfm": "4.0.0", + "remark-math": "6.0.0", + "remark-mdx": "3.1.0", + "remark-parse": "11.0.0", + "remark-rehype": "11.1.1", + "remark-smartypants": "3.0.2", + "remark-stringify": "11.0.0", + "sucrase": "3.34.0", + "tailwindcss-v3": "npm:tailwindcss@3.4.17", + "unified": "11.0.5", + "unist-builder": "4.0.0", + "unist-util-map": "4.0.0", + "unist-util-remove": "4.0.0", + "unist-util-remove-position": "5.0.0", + "unist-util-visit": "5.0.0", + "unist-util-visit-parents": "6.0.1", + "valibot": "1.5.0", + "vfile": "6.0.3", + "xss": "1.0.15" + } + }, + "node_modules/@mintlify/common/node_modules/@base-ui/react": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@base-ui/react/-/react-1.8.0.tgz", + "integrity": "sha512-P0/1sxo6SBVZOklKMIedvTWqw2s2IQzi9x5bIVsXu980cuSOD4NeuRSs+/L7LZQfDkZP/uRZyGPyfFl/B1oH+Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.29.7", + "@base-ui/utils": "0.4.0", + "@floating-ui/react-dom": "^2.1.9", + "@floating-ui/utils": "^0.2.12", + "use-sync-external-store": "^1.6.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@date-fns/tz": "^1.2.0", + "@types/react": "^17 || ^18 || ^19", + "date-fns": "^4.0.0", + "react": "^17 || ^18 || ^19", + "react-dom": "^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@date-fns/tz": { + "optional": true + }, + "@types/react": { + "optional": true + }, + "date-fns": { + "optional": true + } + } + }, + "node_modules/@mintlify/common/node_modules/@base-ui/utils": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@base-ui/utils/-/utils-0.4.0.tgz", + "integrity": "sha512-bO9fz25kKtPf+aZVyfQrC0PDmJdmVni31W2hCS5/Owb+inwdIL3XU26pCPRPlt4LSxZrBgLwubXQXQlKaFEZzw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.29.7", + "@floating-ui/utils": "^0.2.12", + "reselect": "^5.2.0", + "use-sync-external-store": "^1.6.0" + }, + "peerDependencies": { + "@types/react": "^17 || ^18 || ^19", + "react": "^17 || ^18 || ^19", + "react-dom": "^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mintlify/common/node_modules/@floating-ui/react-dom": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.9.tgz", + "integrity": "sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@floating-ui/dom": "^1.8.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@mintlify/common/node_modules/@mintlify/mdx": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@mintlify/mdx/-/mdx-4.0.7.tgz", + "integrity": "sha512-/kOnIHvjM4jwF7WoXjPRp1nDLjgW8YFyApw5JQiXU6cEdXJdqpWH1xW+0rgGD4adi6yXY+Re9cfNRMftJzCo5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/transformers": "^3.23.0", + "@shikijs/twoslash": "^3.23.0", + "arktype": "^2.1.26", + "hast-util-to-string": "^3.0.1", + "mdast-util-from-markdown": "^2.0.2", + "mdast-util-gfm": "^3.1.0", + "mdast-util-mdx-jsx": "^3.2.0", + "mdast-util-to-hast": "^13.2.0", + "next-mdx-remote-client": "^2.1.11", + "rehype-katex": "^7.0.1", + "remark-gfm": "^4.0.0", + "remark-math": "^6.0.0", + "remark-smartypants": "^3.0.2", + "shiki": "^3.23.0", + "twoslash": "^0.3.4", + "unified": "^11.0.0", + "unist-util-visit": "^5.0.0" + }, + "peerDependencies": { + "@base-ui/react": "^1.6.0", + "react": "^19.2.1", + "react-dom": "^19.2.1" + } + }, + "node_modules/@mintlify/common/node_modules/@mintlify/mdx/node_modules/mdast-util-gfm": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", + "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/common/node_modules/@mintlify/mdx/node_modules/mdast-util-mdx-jsx": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz", + "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/common/node_modules/mdast-util-mdx-jsx": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.3.tgz", + "integrity": "sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/common/node_modules/next-mdx-remote-client": { + "version": "2.1.12", + "resolved": "https://registry.npmjs.org/next-mdx-remote-client/-/next-mdx-remote-client-2.1.12.tgz", + "integrity": "sha512-KDfhIk5aEM0kkZ0xQ8XBkmo4O5xmJeGWUomm40Ac/xhkt5sIDOTmTU/QFfmJGLJUJipD5o0BAHqVSIZKuXgNEw==", + "dev": true, + "license": "MPL 2.0", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@mdx-js/mdx": "^3.1.1", + "@mdx-js/react": "^3.1.1", + "@types/mdx": "^2.0.14", + "remark-mdx-remove-esm": "^1.3.2", + "serialize-error": "^13.0.1", + "vfile": "^6.0.3", + "vfile-matter": "^5.0.1" + }, + "engines": { + "node": ">=20.9.0" + }, + "peerDependencies": { + "react": ">= 19.1.0", + "react-dom": ">= 19.1.0" + } + }, + "node_modules/@mintlify/common/node_modules/react": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.3.0.tgz", + "integrity": "sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@mintlify/common/node_modules/react-dom": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.0.tgz", + "integrity": "sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "scheduler": "^0.28.0" + }, + "peerDependencies": { + "react": "^19.3.0" + } + }, + "node_modules/@mintlify/common/node_modules/remark-gfm": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", + "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/common/node_modules/remark-mdx": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-3.1.0.tgz", + "integrity": "sha512-Ngl/H3YXyBV9RcRNdlYsZujAmhsxwzxpDzpDEhFBVAGthS4GDgnctpDjgFl/ULx5UEDzqtW1cyBSNKqYYrqLBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-mdx": "^3.0.0", + "micromark-extension-mdxjs": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/common/node_modules/scheduler": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", + "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/@mintlify/link-rot": { + "version": "3.0.1417", + "resolved": "https://registry.npmjs.org/@mintlify/link-rot/-/link-rot-3.0.1417.tgz", + "integrity": "sha512-BTB4OYBgYuwea88dVGAutKcZK+ca0aL7azCrGjQvdctAwSirovEUw0+Zj0FosGfWlhr3NzJX3lI2WTmWGTHjJA==", + "dev": true, + "license": "Elastic-2.0", + "dependencies": { + "@mintlify/common": "1.0.1209", + "@mintlify/models": "0.0.366", + "@mintlify/prebuild": "1.0.1368", + "@mintlify/previewing": "4.0.1440", + "@mintlify/scraping": "4.0.1079", + "@mintlify/validation": "0.1.892", + "fs-extra": "11.1.0", + "remark-smartypants": "3.0.2", + "unist-util-visit": "4.1.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@mintlify/link-rot/node_modules/@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@mintlify/link-rot/node_modules/fs-extra": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", + "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@mintlify/link-rot/node_modules/unist-util-is": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", + "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/link-rot/node_modules/unist-util-visit": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", + "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/link-rot/node_modules/unist-util-visit-parents": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz", + "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/models": { + "version": "0.0.366", + "resolved": "https://registry.npmjs.org/@mintlify/models/-/models-0.0.366.tgz", + "integrity": "sha512-KLAu3AZ/px+/NxOhUdlhUaoL5xCbth4mHmSMzbFd5qzZjNjUACFygQnoWdRYNSCHAoRgex/ej38FVsE0aFNe2A==", + "dev": true, + "license": "Elastic-2.0", + "dependencies": { + "axios": "1.18.0", + "openapi-types": "12.1.3" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@mintlify/openapi-parser": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@mintlify/openapi-parser/-/openapi-parser-0.0.9.tgz", + "integrity": "sha512-PHNRY+K6c5lsEqxfLHH1NghO34PTmhtBSFSw5KOx8DyUYe5LTn7k4U3hp7i1qvJuUTC+x0bU4unFmkM1Hc4OGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.17.1", + "ajv-draft-04": "^1.0.0", + "ajv-formats": "^3.0.1", + "jsonpointer": "^5.0.1", + "leven": "^4.0.0", + "yaml": "^2.4.5" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@mintlify/openapi-parser/node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/@mintlify/prebuild": { + "version": "1.0.1368", + "resolved": "https://registry.npmjs.org/@mintlify/prebuild/-/prebuild-1.0.1368.tgz", + "integrity": "sha512-ReMQ9S8wZSXkwyJswsM5qrmFWIIAnYYFLecFqr/URflKiMZkgq7q+cmeyqaAGsA5nN57fEE0V/ne6YvsqcPOGA==", + "dev": true, + "license": "Elastic-2.0", + "dependencies": { + "@mintlify/common": "1.0.1209", + "@mintlify/scraping": "4.0.1079", + "@mintlify/validation": "0.1.892", + "chalk": "5.3.0", + "favicons": "7.2.0", + "fflate": "0.8.2", + "fs-extra": "11.1.0", + "js-yaml": "4.3.1", + "openapi-types": "12.1.3", + "sharp": "0.33.5", + "sharp-ico": "0.1.5", + "uuid": "11.1.1" + } + }, + "node_modules/@mintlify/prebuild/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@mintlify/prebuild/node_modules/fs-extra": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", + "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@mintlify/previewing": { + "version": "4.0.1440", + "resolved": "https://registry.npmjs.org/@mintlify/previewing/-/previewing-4.0.1440.tgz", + "integrity": "sha512-+qxI42Mc5P/PZjtGWidAY6tY2//OURaBZmtQv78gpv3HyMnR1QSvN0KW8u32Ob8IqfZYIMhOtmxyI/mMkyOSXQ==", + "dev": true, + "license": "Elastic-2.0", + "dependencies": { + "@mintlify/common": "1.0.1209", + "@mintlify/prebuild": "1.0.1368", + "@mintlify/validation": "0.1.892", + "adm-zip": "0.6.0", + "better-opn": "3.0.2", + "chalk": "5.2.0", + "chokidar": "3.5.3", + "express": "4.22.0", + "fs-extra": "11.1.0", + "got": "13.0.0", + "ink": "6.3.0", + "ink-spinner": "5.0.0", + "is-online": "10.0.0", + "js-yaml": "4.3.1", + "react": "19.2.3", + "socket.io": "4.8.0", + "tar": "7.5.21", + "yargs": "17.7.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@mintlify/previewing/node_modules/fs-extra": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", + "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@mintlify/scraping": { + "version": "4.0.1079", + "resolved": "https://registry.npmjs.org/@mintlify/scraping/-/scraping-4.0.1079.tgz", + "integrity": "sha512-X/KoN4aD+kQ9z1pMxYvlHF8WMHQLEevHihcDBbttkA5Ie4or0mHcG4dwNKUEibQ9KfMTy1+2IA1+WB1P68Cedw==", + "dev": true, + "license": "Elastic-2.0", + "dependencies": { + "@mintlify/common": "1.0.1209", + "fast-xml-parser": "5.7.3", + "fs-extra": "11.1.1", + "graphql": "16.11.0", + "hast-util-to-mdast": "10.1.0", + "js-yaml": "4.3.1", + "mdast-util-mdx-jsx": "3.1.3", + "neotraverse": "0.6.18", + "rehype-parse": "9.0.1", + "remark-gfm": "4.0.0", + "remark-mdx": "3.0.1", + "remark-parse": "11.0.0", + "remark-stringify": "11.0.0", + "unified": "11.0.5", + "unist-util-visit": "5.0.0", + "yargs": "17.7.1", + "zod": "3.24.0" + }, + "bin": { + "mintlify-scrape": "bin/cli.js" + }, + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "puppeteer": "24.3.1" + }, + "peerDependenciesMeta": { + "puppeteer": { + "optional": true + } + } + }, + "node_modules/@mintlify/scraping/node_modules/fs-extra": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@mintlify/scraping/node_modules/mdast-util-mdx-jsx": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.3.tgz", + "integrity": "sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/scraping/node_modules/remark-gfm": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", + "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/scraping/node_modules/remark-mdx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-3.0.1.tgz", + "integrity": "sha512-3Pz3yPQ5Rht2pM5R+0J2MrGoBSrzf+tJG94N+t/ilfdh8YLyyKYtidAYwTveB20BoHAcwIopOUqhcmh2F7hGYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-mdx": "^3.0.0", + "micromark-extension-mdxjs": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/scraping/node_modules/zod": { + "version": "3.24.0", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.0.tgz", + "integrity": "sha512-Hz+wiY8yD0VLA2k/+nsg2Abez674dDGTai33SwNvMPuf9uIrBC9eFgIMQxBBbHFxVXi8W+5nX9DcAh9YNSQm/w==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/@mintlify/validation": { + "version": "0.1.892", + "resolved": "https://registry.npmjs.org/@mintlify/validation/-/validation-0.1.892.tgz", + "integrity": "sha512-lHWLS/kEisl2JJbI4bLcbY6DdIQoLcbNPlNR/qvDtIPFvpAa/nBwnx938KioIkIL6FyS+RHp/7lY9OLBIekJEA==", + "dev": true, + "license": "Elastic-2.0", + "dependencies": { + "@mintlify/mdx": "4.0.7", + "@mintlify/models": "0.0.366", + "fractional-indexing": "3.2.0", + "js-yaml": "4.3.1", + "lcm": "0.0.3", + "lodash": "4.18.1", + "neotraverse": "0.6.18", + "object-hash": "3.0.0", + "openapi-types": "12.1.3", + "uuid": "11.1.1", + "zod": "3.24.0", + "zod-to-json-schema": "3.20.4" + } + }, + "node_modules/@mintlify/validation/node_modules/@base-ui/react": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@base-ui/react/-/react-1.8.0.tgz", + "integrity": "sha512-P0/1sxo6SBVZOklKMIedvTWqw2s2IQzi9x5bIVsXu980cuSOD4NeuRSs+/L7LZQfDkZP/uRZyGPyfFl/B1oH+Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.29.7", + "@base-ui/utils": "0.4.0", + "@floating-ui/react-dom": "^2.1.9", + "@floating-ui/utils": "^0.2.12", + "use-sync-external-store": "^1.6.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@date-fns/tz": "^1.2.0", + "@types/react": "^17 || ^18 || ^19", + "date-fns": "^4.0.0", + "react": "^17 || ^18 || ^19", + "react-dom": "^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@date-fns/tz": { + "optional": true + }, + "@types/react": { + "optional": true + }, + "date-fns": { + "optional": true + } + } + }, + "node_modules/@mintlify/validation/node_modules/@base-ui/utils": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@base-ui/utils/-/utils-0.4.0.tgz", + "integrity": "sha512-bO9fz25kKtPf+aZVyfQrC0PDmJdmVni31W2hCS5/Owb+inwdIL3XU26pCPRPlt4LSxZrBgLwubXQXQlKaFEZzw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.29.7", + "@floating-ui/utils": "^0.2.12", + "reselect": "^5.2.0", + "use-sync-external-store": "^1.6.0" + }, + "peerDependencies": { + "@types/react": "^17 || ^18 || ^19", + "react": "^17 || ^18 || ^19", + "react-dom": "^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mintlify/validation/node_modules/@floating-ui/react-dom": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.9.tgz", + "integrity": "sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@floating-ui/dom": "^1.8.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@mintlify/validation/node_modules/@mintlify/mdx": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@mintlify/mdx/-/mdx-4.0.7.tgz", + "integrity": "sha512-/kOnIHvjM4jwF7WoXjPRp1nDLjgW8YFyApw5JQiXU6cEdXJdqpWH1xW+0rgGD4adi6yXY+Re9cfNRMftJzCo5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/transformers": "^3.23.0", + "@shikijs/twoslash": "^3.23.0", + "arktype": "^2.1.26", + "hast-util-to-string": "^3.0.1", + "mdast-util-from-markdown": "^2.0.2", + "mdast-util-gfm": "^3.1.0", + "mdast-util-mdx-jsx": "^3.2.0", + "mdast-util-to-hast": "^13.2.0", + "next-mdx-remote-client": "^2.1.11", + "rehype-katex": "^7.0.1", + "remark-gfm": "^4.0.0", + "remark-math": "^6.0.0", + "remark-smartypants": "^3.0.2", + "shiki": "^3.23.0", + "twoslash": "^0.3.4", + "unified": "^11.0.0", + "unist-util-visit": "^5.0.0" + }, + "peerDependencies": { + "@base-ui/react": "^1.6.0", + "react": "^19.2.1", + "react-dom": "^19.2.1" + } + }, + "node_modules/@mintlify/validation/node_modules/mdast-util-gfm": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", + "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mintlify/validation/node_modules/next-mdx-remote-client": { + "version": "2.1.12", + "resolved": "https://registry.npmjs.org/next-mdx-remote-client/-/next-mdx-remote-client-2.1.12.tgz", + "integrity": "sha512-KDfhIk5aEM0kkZ0xQ8XBkmo4O5xmJeGWUomm40Ac/xhkt5sIDOTmTU/QFfmJGLJUJipD5o0BAHqVSIZKuXgNEw==", + "dev": true, + "license": "MPL 2.0", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@mdx-js/mdx": "^3.1.1", + "@mdx-js/react": "^3.1.1", + "@types/mdx": "^2.0.14", + "remark-mdx-remove-esm": "^1.3.2", + "serialize-error": "^13.0.1", + "vfile": "^6.0.3", + "vfile-matter": "^5.0.1" + }, + "engines": { + "node": ">=20.9.0" + }, + "peerDependencies": { + "react": ">= 19.1.0", + "react-dom": ">= 19.1.0" + } + }, + "node_modules/@mintlify/validation/node_modules/react": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.3.0.tgz", + "integrity": "sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@mintlify/validation/node_modules/react-dom": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.0.tgz", + "integrity": "sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "scheduler": "^0.28.0" + }, + "peerDependencies": { + "react": "^19.3.0" + } + }, + "node_modules/@mintlify/validation/node_modules/scheduler": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", + "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/@mintlify/validation/node_modules/zod": { + "version": "3.24.0", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.0.tgz", + "integrity": "sha512-Hz+wiY8yD0VLA2k/+nsg2Abez674dDGTai33SwNvMPuf9uIrBC9eFgIMQxBBbHFxVXi8W+5nX9DcAh9YNSQm/w==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/@mintlify/validation/node_modules/zod-to-json-schema": { + "version": "3.20.4", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.20.4.tgz", + "integrity": "sha512-Un9+kInJ2Zt63n6Z7mLqBifzzPcOyX+b+Exuzf7L1+xqck9Q2EPByyTRduV3kmSPaXaRer1JCsucubpgL1fipg==", + "dev": true, + "license": "ISC", + "peerDependencies": { + "zod": "^3.20.0" + } + }, + "node_modules/@modelcontextprotocol/sdk": { + "version": "1.30.0", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.30.0.tgz", + "integrity": "sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@hono/node-server": "^1.19.9 || ^2.0.5", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", + "content-type": "^1.0.5", + "cors": "^2.8.5", + "cross-spawn": "^7.0.5", + "eventsource": "^3.0.2", + "eventsource-parser": "^3.0.0", + "express": "^5.2.1", + "express-rate-limit": "^8.2.1", + "hono": "^4.11.4", + "jose": "^6.1.3", + "json-schema-typed": "^8.0.2", + "pkce-challenge": "^5.0.0", + "raw-body": "^3.0.0", + "zod": "^3.25 || ^4.0", + "zod-to-json-schema": "^3.25.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@cfworker/json-schema": "^4.1.1", + "zod": "^3.25 || ^4.0" + }, + "peerDependenciesMeta": { + "@cfworker/json-schema": { + "optional": true + }, + "zod": { + "optional": false + } + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/body-parser": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz", + "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^2.0.0", + "debug": "^4.4.3", + "http-errors": "^2.0.1", + "iconv-lite": "^0.7.2", + "on-finished": "^2.4.1", + "qs": "^6.15.2", + "raw-body": "^3.0.2", + "type-is": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/body-parser/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/content-disposition": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6.6.0" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/express": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.1", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/finalhandler": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/media-typer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz", + "integrity": "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/negotiator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz", + "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "content-type": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/negotiator/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/qs": { + "version": "6.16.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", + "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/serve-static": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/type-is": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@modelcontextprotocol/sdk/node_modules/type-is/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/@nodable/entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-9uGyhaQavEUMC8AIddIjau4NsnsXhou+j5sBAGojCM1oxmQpVKTWR/9JxABD6UAv12vpIms55fPZKFQEhG6uBg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/nodable" + } + ], + "license": "MIT" + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@openai/codex": { + "version": "0.149.1", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1.tgz", + "integrity": "sha512-6q5pbcpFbJbqOpkubSDBwXmktQ55aD8eUzGzBF1zASob2DjwhBKDSNGtdZKalfrNJUdTDTPDMmzCXEXs5tMBYA==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "bin": { + "codex": "bin/codex.js" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "@openai/codex-darwin-arm64": "npm:@openai/codex@0.149.1-darwin-arm64", + "@openai/codex-darwin-x64": "npm:@openai/codex@0.149.1-darwin-x64", + "@openai/codex-linux-arm64": "npm:@openai/codex@0.149.1-linux-arm64", + "@openai/codex-linux-x64": "npm:@openai/codex@0.149.1-linux-x64", + "@openai/codex-win32-arm64": "npm:@openai/codex@0.149.1-win32-arm64", + "@openai/codex-win32-x64": "npm:@openai/codex@0.149.1-win32-x64" + } + }, + "node_modules/@openai/codex-darwin-arm64": { + "name": "@openai/codex", + "version": "0.149.1-darwin-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-darwin-arm64.tgz", + "integrity": "sha512-6X84kTCbnTgPIJ2EdcPsrvwS0Wxsqpa+bCswGmRf4BjhcQ5nPMnBC6yCAaCMj+vrbXQHj+L6sa9FaR4QkmA1qw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@openai/codex-darwin-x64": { + "name": "@openai/codex", + "version": "0.149.1-darwin-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-darwin-x64.tgz", + "integrity": "sha512-MfLBQLfcElJL9tvj6y45qVHHMGSXCPnQOixuD3/Zq0g1BW/eFizkrGLdn48cFpc+l8cK+gt5nYG5pQYwVs6g4A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@openai/codex-linux-arm64": { + "name": "@openai/codex", + "version": "0.149.1-linux-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-linux-arm64.tgz", + "integrity": "sha512-OqxUfZ1TVvHd18zHPKK/8ZRlpk8Vy11mg5CMHaLxNWldTbwVImDKtSLWT+m8m4NM5Sz4PbjtZMrVT/RfpBW/mQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@openai/codex-linux-x64": { + "name": "@openai/codex", + "version": "0.149.1-linux-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-linux-x64.tgz", + "integrity": "sha512-Of5fGYgr7tAMsyj6vhXb4/RM/UoA3Zq8BLegUBDC09UNy1XTLGYP/2XD+UX8z3qh0NDwxYdCjFIWdDNijKZggQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@openai/codex-sdk": { + "version": "0.149.1", + "resolved": "https://registry.npmjs.org/@openai/codex-sdk/-/codex-sdk-0.149.1.tgz", + "integrity": "sha512-R00Rz5327LefZggAxl28r7vFQq1vxa91OxtjZJOsQfAM/MyH8InW5qwwRu6pzUmRGp1E29XrOzm7u1TeV5Yz2A==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "@openai/codex": "0.149.1" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@openai/codex-win32-arm64": { + "name": "@openai/codex", + "version": "0.149.1-win32-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-win32-arm64.tgz", + "integrity": "sha512-5K0DmOKGK9Bos627p8sK8ATHjovPK0sDyT6h9Cb+4v+5CW5SGw1HLgjGxoLfJ8g3cg6mtg/pRCXXo2L/j71UVA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@openai/codex-win32-x64": { + "name": "@openai/codex", + "version": "0.149.1-win32-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-win32-x64.tgz", + "integrity": "sha512-G3QXGAg7nyyhqOeooAMUekBCeHd8a1QByhKcVAFyzNBaI06t6Ft7nsF+1SzFS0spuIdU4YyMi5YD26ukADBQUQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16" + } + }, + "node_modules/@openapi-contrib/openapi-schema-to-json-schema": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@openapi-contrib/openapi-schema-to-json-schema/-/openapi-schema-to-json-schema-3.2.0.tgz", + "integrity": "sha512-Gj6C0JwCr8arj0sYuslWXUBSP/KnUlEGnPW4qxlXvAl543oaNQgMgIgkQUA6vs5BCCvwTEiL8m/wdWzfl4UvSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + } + }, + "node_modules/@posthog/core": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@posthog/core/-/core-1.7.1.tgz", + "integrity": "sha512-kjK0eFMIpKo9GXIbts8VtAknsoZ18oZorANdtuTj1CbgS28t4ZVq//HAWhnxEuXRTrtkd+SUJ6Ux3j2Af8NCuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.6" + } + }, + "node_modules/@scarf/scarf": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.4.0.tgz", + "integrity": "sha512-xxeapPiUXdZAE3che6f3xogoJPeZgig6omHEy1rIY5WVsB3H2BHNnZH+gHG6x91SCWyQCzWGsuL2Hh3ClO5/qQ==", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0" + }, + "node_modules/@shikijs/core": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-3.23.0.tgz", + "integrity": "sha512-NSWQz0riNb67xthdm5br6lAkvpDJRTgB36fxlo37ZzM2yq0PQFFzbd8psqC2XMPgCzo1fW6cVi18+ArJ44wqgA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.23.0", + "@shikijs/vscode-textmate": "^10.0.2", + "@types/hast": "^3.0.4", + "hast-util-to-html": "^9.0.5" + } + }, + "node_modules/@shikijs/core/node_modules/hast-util-to-html": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz", + "integrity": "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-whitespace": "^3.0.0", + "html-void-elements": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "stringify-entities": "^4.0.0", + "zwitch": "^2.0.4" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@shikijs/engine-javascript": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-3.23.0.tgz", + "integrity": "sha512-aHt9eiGFobmWR5uqJUViySI1bHMqrAgamWE1TYSUoftkAeCCAiGawPMwM+VCadylQtF4V3VNOZ5LmfItH5f3yA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.23.0", + "@shikijs/vscode-textmate": "^10.0.2", + "oniguruma-to-es": "^4.3.4" + } + }, + "node_modules/@shikijs/engine-oniguruma": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.23.0.tgz", + "integrity": "sha512-1nWINwKXxKKLqPibT5f4pAFLej9oZzQTsby8942OTlsJzOBZ0MWKiwzMsd+jhzu8YPCHAswGnnN1YtQfirL35g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.23.0", + "@shikijs/vscode-textmate": "^10.0.2" + } + }, + "node_modules/@shikijs/langs": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.23.0.tgz", + "integrity": "sha512-2Ep4W3Re5aB1/62RSYQInK9mM3HsLeB91cHqznAJMuylqjzNVAVCMnNWRHFtcNHXsoNRayP9z1qj4Sq3nMqYXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.23.0" + } + }, + "node_modules/@shikijs/themes": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.23.0.tgz", + "integrity": "sha512-5qySYa1ZgAT18HR/ypENL9cUSGOeI2x+4IvYJu4JgVJdizn6kG4ia5Q1jDEOi7gTbN4RbuYtmHh0W3eccOrjMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.23.0" + } + }, + "node_modules/@shikijs/transformers": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/transformers/-/transformers-3.23.0.tgz", + "integrity": "sha512-F9msZVxdF+krQNSdQ4V+Ja5QemeAoTQ2jxt7nJCwhDsdF1JWS3KxIQXA3lQbyKwS3J61oHRUSv4jYWv3CkaKTQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/core": "3.23.0", + "@shikijs/types": "3.23.0" + } + }, + "node_modules/@shikijs/twoslash": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/twoslash/-/twoslash-3.23.0.tgz", + "integrity": "sha512-pNaLJWMA3LU7PhT8tm9OQBZ1epy0jmdgeJzntBtr1EVXLbHxGzTj3mnf9vOdcl84l96qnlJXkJ/NGXZYBpXl5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/core": "3.23.0", + "@shikijs/types": "3.23.0", + "twoslash": "^0.3.6" + }, + "peerDependencies": { + "typescript": ">=5.5.0" + } + }, + "node_modules/@shikijs/types": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.23.0.tgz", + "integrity": "sha512-3JZ5HXOZfYjsYSk0yPwBrkupyYSLpAE26Qc0HLghhZNGTZg/SKxXIIgoxOpmmeQP0RRSDJTk1/vPfw9tbw+jSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/vscode-textmate": "^10.0.2", + "@types/hast": "^3.0.4" + } + }, + "node_modules/@shikijs/vscode-textmate": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz", + "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@sindresorhus/is": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz", + "integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, + "node_modules/@sindresorhus/slugify": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/slugify/-/slugify-2.2.0.tgz", + "integrity": "sha512-9Vybc/qX8Kj6pxJaapjkFbiUJPk7MAkCh/GFCxIBnnsuYCFPIXKvnLidG8xlepht3i24L5XemUmGtrJ3UWrl6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/transliterate": "^1.0.0", + "escape-string-regexp": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@sindresorhus/transliterate": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/transliterate/-/transliterate-1.6.0.tgz", + "integrity": "sha512-doH1gimEu3A46VX6aVxpHTeHrytJAG6HgdxntYnCFiIFHEM/ZGpG8KiZGBChchjQmG0XFIBL552kBTjVcMZXwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@socket.io/component-emitter": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", + "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@stablelib/base64": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/base64/-/base64-1.0.1.tgz", + "integrity": "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/@stoplight/better-ajv-errors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-1.0.3.tgz", + "integrity": "sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "jsonpointer": "^5.0.0", + "leven": "^3.1.0" + }, + "engines": { + "node": "^12.20 || >= 14.13" + }, + "peerDependencies": { + "ajv": ">=8" + } + }, + "node_modules/@stoplight/better-ajv-errors/node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/@stoplight/json": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz", + "integrity": "sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@stoplight/ordered-object-literal": "^1.0.3", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^13.6.0", + "jsonc-parser": "~2.2.1", + "lodash": "^4.17.21", + "safe-stable-stringify": "^1.1" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/@stoplight/json-ref-readers": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz", + "integrity": "sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "node-fetch": "^2.6.0", + "tslib": "^1.14.1" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/@stoplight/json-ref-resolver": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.6.tgz", + "integrity": "sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@stoplight/json": "^3.21.0", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^12.3.0 || ^13.0.0", + "@types/urijs": "^1.19.19", + "dependency-graph": "~0.11.0", + "fast-memoize": "^2.5.2", + "immer": "^9.0.6", + "lodash": "^4.17.21", + "tslib": "^2.6.0", + "urijs": "^1.19.11" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/@stoplight/json-ref-resolver/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/@stoplight/json/node_modules/jsonc-parser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.1.tgz", + "integrity": "sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@stoplight/ordered-object-literal": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.5.tgz", + "integrity": "sha512-COTiuCU5bgMUtbIFBuyyh2/yVVzlr5Om0v5utQDgBCuQUOPgU1DwoffkTfg4UBQOvByi5foF4w4T+H9CoRe5wg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/@stoplight/path": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/path/-/path-1.3.2.tgz", + "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/@stoplight/spectral-core": { + "version": "1.24.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-core/-/spectral-core-1.24.0.tgz", + "integrity": "sha512-abKt++GFFaqwKiGTfPZ5O3nIv8s+1V7J5awCjWPBtCXn7ZKTEPzEF8tBYsM3ne+RMrQ8ORkHzKFu9QZhenmkPw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@scarf/scarf": "^1.4.0", + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "~3.21.0", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-parsers": "^1.0.0", + "@stoplight/spectral-ref-resolver": "^1.0.4", + "@stoplight/spectral-runtime": "^1.1.2", + "@stoplight/types": "~13.6.0", + "@types/es-aggregate-error": "^1.0.2", + "@types/json-schema": "^7.0.11", + "ajv": "^8.18.0", + "ajv-errors": "~3.0.0", + "ajv-formats": "~2.1.1", + "es-aggregate-error": "^1.0.7", + "expr-eval-fork": "^3.0.1", + "jsonpath-plus": "^10.3.0", + "lodash": "^4.18.1", + "lodash.topath": "^4.5.2", + "minimatch": "^3.1.4", + "nimma": "0.2.3", + "pony-cause": "^1.1.1", + "tslib": "^2.8.1" + }, + "engines": { + "node": "^16.20 || ^18.18 || >= 20.17" + } + }, + "node_modules/@stoplight/spectral-core/node_modules/@stoplight/types": { + "version": "13.6.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.6.0.tgz", + "integrity": "sha512-dzyuzvUjv3m1wmhPfq82lCVYGcXG0xUYgqnWfCq3PCVR4BKFhjdkHrnJ+jIDoMKvXb05AZP/ObQF6+NpDo29IQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@stoplight/spectral-core/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/@stoplight/spectral-formats": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-formats/-/spectral-formats-1.9.0.tgz", + "integrity": "sha512-OmHZpeBdlWbDxAI43HR08vyVXY2D++YHBx9AWMQ6S2DH8aWWCvk64BJOJk161XsHJQuy/vnC8tRBIIKwSQPAsA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@scarf/scarf": "^1.4.0", + "@stoplight/json": "^3.17.0", + "@stoplight/spectral-core": "^1.23.0", + "@types/json-schema": "^7.0.7", + "tslib": "^2.8.1" + }, + "engines": { + "node": "^16.20 || ^18.18 || >= 20.17" + } + }, + "node_modules/@stoplight/spectral-formats/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/@stoplight/spectral-functions": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-functions/-/spectral-functions-1.11.0.tgz", + "integrity": "sha512-HFlFhI+q13GqG8pphY4nNGYq9+5L14dhR9xLqx+/H2/FmAouHTfNaqE4SygIhSmtMxfNDJ8G4qnjxiQRv1kPWA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@scarf/scarf": "^1.4.0", + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "^3.17.1", + "@stoplight/spectral-core": "^1.23.0", + "@stoplight/spectral-formats": "^1.8.1", + "@stoplight/spectral-runtime": "^1.1.2", + "ajv": "^8.18.0", + "ajv-draft-04": "~1.0.0", + "ajv-errors": "~3.0.0", + "ajv-formats": "~2.1.1", + "lodash": "^4.18.1", + "tslib": "^2.8.1" + }, + "engines": { + "node": "^16.20 || ^18.18 || >= 20.17" + } + }, + "node_modules/@stoplight/spectral-functions/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/@stoplight/spectral-parsers": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-parsers/-/spectral-parsers-1.0.5.tgz", + "integrity": "sha512-ANDTp2IHWGvsQDAY85/jQi9ZrF4mRrA5bciNHX+PUxPr4DwS6iv4h+FVWJMVwcEYdpyoIdyL+SRmHdJfQEPmwQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@stoplight/json": "~3.21.0", + "@stoplight/types": "^14.1.1", + "@stoplight/yaml": "~4.3.0", + "tslib": "^2.8.1" + }, + "engines": { + "node": "^16.20 || ^18.18 || >= 20.17" + } + }, + "node_modules/@stoplight/spectral-parsers/node_modules/@stoplight/types": { + "version": "14.1.1", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-14.1.1.tgz", + "integrity": "sha512-/kjtr+0t0tjKr+heVfviO9FrU/uGLc+QNX3fHJc19xsCNYqU7lVhaXxDmEID9BZTjG+/r9pK9xP/xU02XGg65g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@stoplight/spectral-parsers/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/@stoplight/spectral-ref-resolver": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-ref-resolver/-/spectral-ref-resolver-1.0.5.tgz", + "integrity": "sha512-gj3TieX5a9zMW29z3mBlAtDOCgN3GEc1VgZnCVlr5irmR4Qi5LuECuFItAq4pTn5Zu+sW5bqutsCH7D4PkpyAA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@stoplight/json-ref-readers": "1.2.2", + "@stoplight/json-ref-resolver": "~3.1.6", + "@stoplight/spectral-runtime": "^1.1.2", + "dependency-graph": "0.11.0", + "tslib": "^2.8.1" + }, + "engines": { + "node": "^16.20 || ^18.18 || >= 20.17" + } + }, + "node_modules/@stoplight/spectral-ref-resolver/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/@stoplight/spectral-runtime": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-runtime/-/spectral-runtime-1.1.6.tgz", + "integrity": "sha512-Y8rEDyMN4bSMJCrDs2shdcVHYyCnH3FvXRP4dBhha4Z8iJv+JPp7KqOV/hwVB/hWFC209upiwj2oDmLfR0qCDg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@stoplight/json": "^3.20.1", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^13.6.0", + "lodash": "^4.18.1", + "node-fetch": "^2.7.0", + "tslib": "^2.8.1" + }, + "engines": { + "node": "^16.20 || ^18.18 || >= 20.17" + } + }, + "node_modules/@stoplight/spectral-runtime/node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/@stoplight/spectral-runtime/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/@stoplight/types": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.20.0.tgz", + "integrity": "sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@stoplight/yaml": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@stoplight/yaml/-/yaml-4.3.0.tgz", + "integrity": "sha512-JZlVFE6/dYpP9tQmV0/ADfn32L9uFarHWxfcRhReKUnljz1ZiUM5zpX+PH8h5CJs6lao3TuFqnPm9IJJCEkE2w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@stoplight/ordered-object-literal": "^1.0.5", + "@stoplight/types": "^14.1.1", + "@stoplight/yaml-ast-parser": "0.0.50", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=10.8" + } + }, + "node_modules/@stoplight/yaml-ast-parser": { + "version": "0.0.50", + "resolved": "https://registry.npmjs.org/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.50.tgz", + "integrity": "sha512-Pb6M8TDO9DtSVla9yXSTAxmo9GVEouq5P40DWXdOie69bXogZTkgvopCq+yEvTMA0F6PEvdJmbtTV3ccIp11VQ==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/@stoplight/yaml/node_modules/@stoplight/types": { + "version": "14.1.1", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-14.1.1.tgz", + "integrity": "sha512-/kjtr+0t0tjKr+heVfviO9FrU/uGLc+QNX3fHJc19xsCNYqU7lVhaXxDmEID9BZTjG+/r9pK9xP/xU02XGg65g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@stoplight/yaml/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/@szmarczak/http-timer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz", + "integrity": "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==", + "dev": true, + "license": "MIT", + "dependencies": { + "defer-to-connect": "^2.0.1" + }, + "engines": { + "node": ">=14.16" + } + }, + "node_modules/@types/cors": { + "version": "2.8.19", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.19.tgz", + "integrity": "sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/debug": { + "version": "4.1.13", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", + "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/es-aggregate-error": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/es-aggregate-error/-/es-aggregate-error-1.0.6.tgz", + "integrity": "sha512-qJ7LIFp06h1QE1aVxbVd+zJP2wdaugYXYfd6JxsyRMrYHaxb6itXPogW2tz+ylUJ1n1b+JF1PHyYCfYHm0dvUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree-jsx": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", + "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/@types/hast": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", + "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/http-cache-semantics": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz", + "integrity": "sha512-L3LgimLHXtGkWikKnsPg0/VFx9OGZaC+eN1u4r+OB1XRqH3meBIAVC2zr1WdMH+RHmnRkqliQAOHNJ/E0j/e0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/katex": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.8.tgz", + "integrity": "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/mdx": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.14.tgz", + "integrity": "sha512-T48PeuJtvLosNTPVhfnIp3i/n3a4g4Bad7YCq5k64D4u7NwDrAotikQ+5+sjtUvBmxCMlbo3dVL+C2dP0rWHzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/nlcst": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/nlcst/-/nlcst-2.0.3.tgz", + "integrity": "sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/node": { + "version": "26.6.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.4.tgz", + "integrity": "sha512-ldVPDCzj7fsaGZrLB0NuHuTvJcsNasysBAqMolr/cgxrLd1xbqxIr3XJiPnHHJUCxj5sNF1vnRj9aWnrVh5Jcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~8.9.0" + } + }, + "node_modules/@types/react": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", + "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/urijs": { + "version": "1.19.26", + "resolved": "https://registry.npmjs.org/@types/urijs/-/urijs-1.19.26.tgz", + "integrity": "sha512-wkXrVzX5yoqLnndOwFsieJA7oKM8cNkOKJtf/3vVGSUFkWDKZvFHpIl9Pvqb/T9UsawBBFMTTD8xu7sK5MWuvg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/ws": { + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.2.tgz", + "integrity": "sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@typescript/vfs": { + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/@typescript/vfs/-/vfs-1.6.5.tgz", + "integrity": "sha512-gobLHQLmvQGJInFk31NvgMd1uYzRXsd8qgnOssyLD055R2QPnw1ubRbBQ4+T+5qC7IQVuYXdvNDE2G7tMDVHgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.3" + }, + "peerDependencies": { + "typescript": "*" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/address": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/address/-/address-1.2.2.tgz", + "integrity": "sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/adm-zip": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.6.0.tgz", + "integrity": "sha512-XleryMhbuksdKtofnWZ9Sk+4CUTbms4Mb/EU32SZwToAyZ5RgVos/ki8n+yr0LWHOGKuakbXTuuYNHLQjhddgg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/aggregate-error": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", + "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": "^8.0.1" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ansi-escapes": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.3.0.tgz", + "integrity": "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "environment": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true, + "license": "MIT" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/anynum": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/anynum/-/anynum-1.0.1.tgz", + "integrity": "sha512-N6//FLET/tXYNM/F6ABca1oH6fWB+KlTt909Le28WMDBk8oaT4vY17DCrwg2MvmuqUKt3Ni4N5dGJ/EoBgcO6A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "dev": true, + "license": "MIT" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/arkregex": { + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/arkregex/-/arkregex-0.0.12.tgz", + "integrity": "sha512-sOxL0eX50pnRYO4OyajKZChGuuj/iHwC5tysiAaGOPBu+zJwJQckWn7/DRH2++ol5uaKpyRn7N0hKT7nDqGmgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ark/util": "0.56.6" + } + }, + "node_modules/arktype": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/arktype/-/arktype-2.2.7.tgz", + "integrity": "sha512-AbgM5SQvwCTURSR+ENfPtOG7cL5VZ0hqOVtoWyXKw2SviFddZhCBEUAjjVJYKCNFlPPR1VX5LGUKxsSqqc4Kdw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ark/schema": "0.56.6", + "@ark/util": "0.56.6", + "arkregex": "0.0.12" + } + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", + "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "is-array-buffer": "^3.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/array-iterate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/array-iterate/-/array-iterate-2.0.1.tgz", + "integrity": "sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", + "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/astring": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.9.0.tgz", + "integrity": "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==", + "dev": true, + "license": "MIT", + "bin": { + "astring": "bin/astring" + } + }, + "node_modules/async-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", + "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/auto-bind": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-5.0.1.tgz", + "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/avsc": { + "version": "5.7.9", + "resolved": "https://registry.npmjs.org/avsc/-/avsc-5.7.9.tgz", + "integrity": "sha512-yOA4wFeI7ET3v32Di/sUybQ+ttP20JHSW3mxLuNGeO0uD6PPcvLrIQXSvy/rhJOWU5JrYh7U4OHplWMmtAtjMg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.11" + } + }, + "node_modules/axios": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.0.tgz", + "integrity": "sha512-E32NzpYKp++W7XRe52rHiXV2ehxmh3wbdgO7MHeFM+vqxLBYHzt0ElkiImtOBxtOmyp0yoC8C6uESVV84Y2/hw==", + "dev": true, + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.16.0", + "form-data": "^4.0.5", + "https-proxy-agent": "^5.0.1", + "proxy-from-env": "^2.1.0" + } + }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true + }, + "node_modules/base64id": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", + "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "node_modules/better-opn": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-3.0.2.tgz", + "integrity": "sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "open": "^8.0.4" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/body-parser": { + "version": "1.20.8", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.8.tgz", + "integrity": "sha512-JNcyFQ64OiijEkPzUBTCe+hyPXUD/3LEldGQ6iF5LR1w00mx9o7xtDWHXBY2iItjdCFGoilOLNQbH943ut7pHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.16.0", + "raw-body": "~2.5.3", + "type-is": "~1.6.18", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/body-parser/node_modules/qs": { + "version": "6.16.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", + "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/body-parser/node_modules/raw-body": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", + "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cacheable-lookup": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", + "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + } + }, + "node_modules/cacheable-request": { + "version": "10.2.14", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz", + "integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-cache-semantics": "^4.0.2", + "get-stream": "^6.0.1", + "http-cache-semantics": "^4.1.1", + "keyv": "^4.5.3", + "mimic-response": "^4.0.0", + "normalize-url": "^8.0.0", + "responselike": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + } + }, + "node_modules/call-bind": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz", + "integrity": "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "get-intrinsic": "^1.3.0", + "set-function-length": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/chalk": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", + "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/chardet": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.2.0.tgz", + "integrity": "sha512-rddelWYNPRrXq6PtNEN2S3f6t9ILzvqaN5pVgi4kqt9jHQaXIial9PznB5iSPVlQSLNaaH22ItWz3EJtQ10+OA==", + "dev": true, + "license": "MIT" + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/clean-stack": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", + "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-boxes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz", + "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", + "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-truncate": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", + "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", + "dev": true, + "license": "MIT", + "dependencies": { + "slice-ansi": "^5.0.0", + "string-width": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-truncate/node_modules/is-fullwidth-code-point": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", + "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-truncate/node_modules/slice-ansi": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", + "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.0.0", + "is-fullwidth-code-point": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/cli-width": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 12" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/cliui/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/code-excerpt": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz", + "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==", + "dev": true, + "license": "MIT", + "dependencies": { + "convert-to-spaces": "^2.0.1" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/collapse-white-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", + "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/color": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", + "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1", + "color-string": "^1.9.0" + }, + "engines": { + "node": ">=12.5.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/color-string": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-to-spaces": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz", + "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", + "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==", + "dev": true, + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cssfilter": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz", + "integrity": "sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==", + "dev": true, + "license": "MIT" + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/data-view-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", + "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-length": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", + "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/inspect-js" + } + }, + "node_modules/data-view-byte-offset": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", + "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decode-bmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/decode-bmp/-/decode-bmp-0.2.1.tgz", + "integrity": "sha512-NiOaGe+GN0KJqi2STf24hfMkFitDUaIoUU3eKvP/wAbLe8o6FuW5n/x7MHPR0HKvBokp6MQY/j7w8lewEeVCIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@canvas/image-data": "^1.0.0", + "to-data-view": "^1.1.0" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/decode-ico": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/decode-ico/-/decode-ico-0.4.1.tgz", + "integrity": "sha512-69NZfbKIzux1vBOd31al3XnMnH+2mqDhEgLdpygErm4d60N+UwA5Sq5WFjmEDQzumgB9fElojGwWG0vybVfFmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@canvas/image-data": "^1.0.0", + "decode-bmp": "^0.2.0", + "to-data-view": "^1.1.0" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/decode-named-character-reference": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", + "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decompress-response/node_modules/mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/defer-to-connect": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", + "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/dependency-graph": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", + "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-port": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.5.1.tgz", + "integrity": "sha512-aBzdj76lueB6uUst5iAs7+0H/oOjqI5D16XUWxlWMIMROhcM0rfsNVk93zTngq1dDNpoXRr++Sus7ETAExppAQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "address": "^1.0.1", + "debug": "4" + }, + "bin": { + "detect": "bin/detect-port.js", + "detect-port": "bin/detect-port.js" + } + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "dev": true, + "license": "MIT", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true, + "license": "MIT" + }, + "node_modules/dns-packet": { + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.1.tgz", + "integrity": "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dns-socket": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/dns-socket/-/dns-socket-4.2.2.tgz", + "integrity": "sha512-BDeBd8najI4/lS00HSKpdFia+OvUMytaVjfzR9n5Lq8MlZRSvtbI+uLtx1+XmQFls5wFU9dssccTmQQ6nfpjdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "dns-packet": "^5.2.4" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "dev": true, + "license": "MIT" + }, + "node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/engine.io": { + "version": "6.6.11", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.11.tgz", + "integrity": "sha512-z34mGpLoY/82ZbkX1LqGMIaf3wjVMPL6gVC681QDqnmzJ26synI8qAE32P+a7UazmpJZ8UGrFIeAavgRfXzYrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "@types/ws": "^8.5.12", + "accepts": "~1.3.4", + "cookie": "~0.7.2", + "cors": "~2.8.5", + "debug": "~4.4.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.21.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "node_modules/engine.io-parser": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz", + "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/engine.io/node_modules/ws": { + "version": "8.21.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", + "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/es-abstract": { + "version": "1.24.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz", + "integrity": "sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.2", + "arraybuffer.prototype.slice": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "data-view-buffer": "^1.0.2", + "data-view-byte-length": "^1.0.2", + "data-view-byte-offset": "^1.0.1", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "es-set-tostringtag": "^2.1.0", + "es-to-primitive": "^1.3.0", + "function.prototype.name": "^1.1.8", + "get-intrinsic": "^1.3.0", + "get-proto": "^1.0.1", + "get-symbol-description": "^1.1.0", + "globalthis": "^1.0.4", + "gopd": "^1.2.0", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "internal-slot": "^1.1.0", + "is-array-buffer": "^3.0.5", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.2", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.2.1", + "is-set": "^2.0.3", + "is-shared-array-buffer": "^1.0.4", + "is-string": "^1.1.1", + "is-typed-array": "^1.1.15", + "is-weakref": "^1.1.1", + "math-intrinsics": "^1.1.0", + "object-inspect": "^1.13.4", + "object-keys": "^1.1.1", + "object.assign": "^4.1.7", + "own-keys": "^1.0.1", + "regexp.prototype.flags": "^1.5.4", + "safe-array-concat": "^1.1.3", + "safe-push-apply": "^1.0.0", + "safe-regex-test": "^1.1.0", + "set-proto": "^1.0.0", + "stop-iteration-iterator": "^1.1.0", + "string.prototype.trim": "^1.2.10", + "string.prototype.trimend": "^1.0.9", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.3", + "typed-array-byte-length": "^1.0.3", + "typed-array-byte-offset": "^1.0.4", + "typed-array-length": "^1.0.7", + "unbox-primitive": "^1.1.0", + "which-typed-array": "^1.1.19" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-abstract-get": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-abstract-get/-/es-abstract-get-1.0.0.tgz", + "integrity": "sha512-6PMWXpdhshVvFp+FoWYs1EvG1Nj0tvk0dZM+XcK0xMEM1czRVcP6ohqPWHy6qPagSpC8j4+p89WXlT+xXJs/fg==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.2", + "is-callable": "^1.2.7", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-aggregate-error": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/es-aggregate-error/-/es-aggregate-error-1.0.14.tgz", + "integrity": "sha512-3YxX6rVb07B5TV11AV5wsL7nQCHXNwoHPsQC8S4AmBiqYhyNCJ5BRKXkXyDJvs8QzXN20NgRtxe3dEEQD9NLHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "define-properties": "^1.2.1", + "es-abstract": "^1.24.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "globalthis": "^1.0.4", + "has-property-descriptors": "^1.0.2", + "set-function-name": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-to-primitive": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.4.tgz", + "integrity": "sha512-yPDz7wqpg1/mmHLmS3tcfTfbw5f1eryXvyghYBffGdERwe+mV7ZcWzTR8LR17Kvqt3qfPurjlonmnq3MKXIOXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-abstract-get": "^1.0.0", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "is-callable": "^1.2.7", + "is-date-object": "^1.1.0", + "is-symbol": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-toolkit": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.52.0.tgz", + "integrity": "sha512-XTNEJQh1tY1ZJVcf6ayP/2n4ZPyaHlW2FWs7xvw5ddPuhUVjLD3olQVQS7kf58JbAB48iL0uL/jerTrjtV3lDA==", + "dev": true, + "license": "MIT", + "workspaces": [ + "docs", + "benchmarks", + "tests/types", + "tests/browser-compat" + ] + }, + "node_modules/esast-util-from-estree": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/esast-util-from-estree/-/esast-util-from-estree-2.0.0.tgz", + "integrity": "sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "devlop": "^1.0.0", + "estree-util-visit": "^2.0.0", + "unist-util-position-from-estree": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/esast-util-from-js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esast-util-from-js/-/esast-util-from-js-2.0.1.tgz", + "integrity": "sha512-8Ja+rNJ0Lt56Pcf3TAmpBZjmx8ZcK5Ts4cAzIOjsjevg9oSXJnl6SUQ2EevU8tv3h6ZLWmoKL5H4fgWvdvfETw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "acorn": "^8.0.0", + "esast-util-from-estree": "^2.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "dev": true, + "license": "MIT" + }, + "node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estree-util-attach-comments": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/estree-util-attach-comments/-/estree-util-attach-comments-3.0.0.tgz", + "integrity": "sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-util-build-jsx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/estree-util-build-jsx/-/estree-util-build-jsx-3.0.1.tgz", + "integrity": "sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "estree-walker": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-util-is-identifier-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", + "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-util-scope": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-util-scope/-/estree-util-scope-1.0.1.tgz", + "integrity": "sha512-B0np3dcdxqILX5e9nEi5/Fr4K7gL4oYFVPV1zRa2e9wRCbQoZZNWOZFYyoInvXUPJXBXjss+QXlWLJChDEHDkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-util-to-js": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/estree-util-to-js/-/estree-util-to-js-2.0.0.tgz", + "integrity": "sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "astring": "^1.8.0", + "source-map": "^0.7.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-util-visit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/estree-util-visit/-/estree-util-visit-2.0.0.tgz", + "integrity": "sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/eventsource": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz", + "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "eventsource-parser": "^3.0.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/eventsource-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.1.tgz", + "integrity": "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", + "dev": true, + "license": "(MIT OR WTFPL)", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/expr-eval-fork": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/expr-eval-fork/-/expr-eval-fork-3.0.3.tgz", + "integrity": "sha512-BhC+hbc5lIVjygr840n5DEkW3MQq7H9o+mc1/N7Z5uIiCFVyESLL5DIE7LNq4CYUNxy+XjA+3jRrL/h0Kt2xcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/express": { + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/express/-/express-4.22.0.tgz", + "integrity": "sha512-c2iPh3xp5vvCLgaHK03+mWLFPhox7j1LwyxcZwFVApEv5i0X+IjPpbT50SJJwwLpdBVfp45AkK/v+AFgv/XlfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "~1.20.3", + "content-disposition": "~0.5.4", + "content-type": "~1.0.4", + "cookie": "~0.7.1", + "cookie-signature": "~1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.3.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "~0.1.12", + "proxy-addr": "~2.0.7", + "qs": "~6.14.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "~0.19.0", + "serve-static": "~1.16.2", + "setprototypeof": "1.2.0", + "statuses": "~2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express-rate-limit": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.0.tgz", + "integrity": "sha512-hOwV7WOxXfjRpAM1DSJWZDXx3GhplwD8IfwuwvogD8i1Qnkgosw/H45s4ZnFAUHDAhPjlY9hLBvJhKmGMyY26g==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^4.4.3", + "ip-address": "^10.2.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/express-rate-limit" + }, + "peerDependencies": { + "express": ">= 4.11" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-memoize": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/fast-memoize/-/fast-memoize-2.5.2.tgz", + "integrity": "sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-sha256": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz", + "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==", + "dev": true, + "license": "Unlicense", + "optional": true + }, + "node_modules/fast-uri": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fast-xml-builder": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.3.1.tgz", + "integrity": "sha512-pIM/1n3ntFXKYrUZwW7QCK0gAW7XY+wzj1YMIV3tLDvPj/V+zTGJK5e3/4WJfwj0qWw2ElNXiTixda/R+3YSug==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "path-expression-matcher": "^1.6.2", + "xml-naming": "^0.3.0" + } + }, + "node_modules/fast-xml-parser": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.7.3.tgz", + "integrity": "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "@nodable/entities": "^2.1.0", + "fast-xml-builder": "^1.1.7", + "path-expression-matcher": "^1.5.0", + "strnum": "^2.2.3" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, + "node_modules/fastq": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz", + "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fault": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fault/-/fault-2.0.1.tgz", + "integrity": "sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "format": "^0.2.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/favicons": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/favicons/-/favicons-7.2.0.tgz", + "integrity": "sha512-k/2rVBRIRzOeom3wI9jBPaSEvoTSQEW4iM0EveBmBBKFxO8mSyyRWtDlfC3VnEfu0avmjrMzy8/ZFPSe6F71Hw==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-html": "^1.0.3", + "sharp": "^0.33.1", + "xml2js": "^0.6.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/fflate": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", + "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==", + "dev": true, + "license": "MIT" + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz", + "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "statuses": "~2.0.2", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/follow-redirects": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.1.tgz", + "integrity": "sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/for-each": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz", + "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-callable": "^1.2.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/form-data": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", + "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.4", + "mime-types": "^2.1.35" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/form-data-encoder": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", + "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.17" + } + }, + "node_modules/format": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", + "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fractional-indexing": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fractional-indexing/-/fractional-indexing-3.2.0.tgz", + "integrity": "sha512-PcOxmqwYCW7O2ovKRU8OoQQj2yqTfEB/yeTYk4gPid6dN5ODRfU1hXd9tTVZzax/0NkO7AxpHykvZnT1aYp/BQ==", + "dev": true, + "license": "CC0-1.0", + "engines": { + "node": "^14.13.1 || >=16.0.0" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/front-matter": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-4.0.2.tgz", + "integrity": "sha512-I8ZuJ/qG92NWX8i5x1Y8qyj3vizhXS31OxjKDu3LKP+7/qBgfIKValiZIEwoVoJKUHlhWtYrktkxV1XsX+pPlg==", + "dev": true, + "license": "MIT", + "dependencies": { + "js-yaml": "^3.13.1" + } + }, + "node_modules/front-matter/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/front-matter/node_modules/js-yaml": { + "version": "3.15.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", + "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/function.prototype.name": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.2.0.tgz", + "integrity": "sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2", + "hasown": "^2.0.4", + "is-callable": "^1.2.7", + "is-document.all": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gcd": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/gcd/-/gcd-0.0.1.tgz", + "integrity": "sha512-VNx3UEGr+ILJTiMs1+xc5SX1cMgJCrXezKPa003APUWNqQqaF6n25W8VcR7nHN6yRWbvvUTwCpZCFJeWC2kXlw==", + "dev": true, + "license": "MIT" + }, + "node_modules/generator-function": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/generator-function/-/generator-function-2.0.1.tgz", + "integrity": "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", + "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-symbol-description": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", + "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globalthis": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/got": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz", + "integrity": "sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^5.2.0", + "@szmarczak/http-timer": "^5.0.1", + "cacheable-lookup": "^7.0.0", + "cacheable-request": "^10.2.8", + "decompress-response": "^6.0.0", + "form-data-encoder": "^2.1.2", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^3.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/graphql": { + "version": "16.11.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.11.0.tgz", + "integrity": "sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" + } + }, + "node_modules/has-bigints": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", + "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", + "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hast-util-embedded": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-embedded/-/hast-util-embedded-3.0.0.tgz", + "integrity": "sha512-naH8sld4Pe2ep03qqULEtvYr7EjrLK2QHY8KJR6RJkTUjPGObe1vnx585uzem2hGra+s1q08DZZpfgDVYRbaXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-is-element": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-dom": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz", + "integrity": "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "@types/hast": "^3.0.0", + "hastscript": "^9.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-html": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", + "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "devlop": "^1.1.0", + "hast-util-from-parse5": "^8.0.0", + "parse5": "^7.0.0", + "vfile": "^6.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-html-isomorphic": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz", + "integrity": "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-from-dom": "^5.0.0", + "hast-util-from-html": "^2.0.0", + "unist-util-remove-position": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-from-parse5": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.3.tgz", + "integrity": "sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "hastscript": "^9.0.0", + "property-information": "^7.0.0", + "vfile": "^6.0.0", + "vfile-location": "^5.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-has-property": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-has-property/-/hast-util-has-property-3.0.0.tgz", + "integrity": "sha512-MNilsvEKLFpV604hwfhVStK0usFY/QmM5zX16bo7EjnAEGofr5YyI37kzopBlZJkHD4t887i+q/C8/tr5Q94cA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-is-body-ok-link": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-3.0.1.tgz", + "integrity": "sha512-0qpnzOBLztXHbHQenVB8uNuxTnm/QBFUOmdOSsEn7GnBtyY07+ENTWVFBAnXd/zEgd9/SUG3lRY7hSIBWRgGpQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-is-element": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz", + "integrity": "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-minify-whitespace": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hast-util-minify-whitespace/-/hast-util-minify-whitespace-1.0.1.tgz", + "integrity": "sha512-L96fPOVpnclQE0xzdWb/D12VT5FabA7SnZOUMtL1DbXmYiHJMXZvFkIZfiMmTCNJHUeO2K9UYNXoVyfz+QHuOw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-embedded": "^3.0.0", + "hast-util-is-element": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-parse-selector": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", + "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-phrasing": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hast-util-phrasing/-/hast-util-phrasing-3.0.1.tgz", + "integrity": "sha512-6h60VfI3uBQUxHqTyMymMZnEbNl1XmEGtOxxKYL7stY2o601COo62AWAYBQR9lZbYXYSBoxag8UpPRXK+9fqSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-embedded": "^3.0.0", + "hast-util-has-property": "^3.0.0", + "hast-util-is-body-ok-link": "^3.0.0", + "hast-util-is-element": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-estree": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hast-util-to-estree/-/hast-util-to-estree-3.1.0.tgz", + "integrity": "sha512-lfX5g6hqVh9kjS/B9E2gSkvHH4SZNiQFiqWS0x9fENzEl+8W12RqdRxX6d/Cwxi30tPQs3bIO+aolQJNp1bIyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-attach-comments": "^3.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-object": "^0.4.0", + "unist-util-position": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-estree/node_modules/property-information": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", + "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/hast-util-to-html": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.4.tgz", + "integrity": "sha512-wxQzXtdbhiwGAUKrnQJXlOPmHnEehzphwkK7aluUPQ+lEc1xefC8pblMgpp2w5ldBTEfveRIrADcrhGIWrlTDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-whitespace": "^3.0.0", + "html-void-elements": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "stringify-entities": "^4.0.0", + "zwitch": "^2.0.4" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-html/node_modules/property-information": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", + "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/hast-util-to-jsx-runtime": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz", + "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-js": "^1.0.0", + "unist-util-position": "^5.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-mdast": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/hast-util-to-mdast/-/hast-util-to-mdast-10.1.0.tgz", + "integrity": "sha512-DsL/SvCK9V7+vfc6SLQ+vKIyBDXTk2KLSbfBYkH4zeF/uR1yBajHRhkzuaUSGOB1WJSTieJBdHwxlC+HLKvZZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "hast-util-phrasing": "^3.0.0", + "hast-util-to-html": "^9.0.0", + "hast-util-to-text": "^4.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "mdast-util-to-string": "^4.0.0", + "rehype-minify-whitespace": "^6.0.0", + "trim-trailing-lines": "^2.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-string": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.1.tgz", + "integrity": "sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-to-text": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz", + "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "hast-util-is-element": "^3.0.0", + "unist-util-find-after": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hastscript": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.1.tgz", + "integrity": "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^4.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hono": { + "version": "4.13.13", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.13.tgz", + "integrity": "sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/html-void-elements": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", + "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/http-cache-semantics": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz", + "integrity": "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/http2-wrapper": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", + "integrity": "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "quick-lru": "^5.1.1", + "resolve-alpn": "^1.2.0" + }, + "engines": { + "node": ">=10.19.0" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ico-endec": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/ico-endec/-/ico-endec-0.1.6.tgz", + "integrity": "sha512-ZdLU38ZoED3g1j3iEyzcQj+wAkY2xfWNkymszfJPoxucIUhK7NayQ+/C4Kv0nDFMIsbtbEHldv3V8PU494/ueQ==", + "dev": true, + "license": "MPL-2.0" + }, + "node_modules/iconv-lite": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause", + "optional": true + }, + "node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/immer": { + "version": "9.0.21", + "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", + "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "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.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/ink": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ink/-/ink-6.3.0.tgz", + "integrity": "sha512-2CbJAa7XeziZYe6pDS5RVLirRY28iSGMQuEV8jRU5NQsONQNfcR/BZHHc9vkMg2lGYTHTM2pskxC1YmY28p6bQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@alcalzone/ansi-tokenize": "^0.2.0", + "ansi-escapes": "^7.0.0", + "ansi-styles": "^6.2.1", + "auto-bind": "^5.0.1", + "chalk": "^5.6.0", + "cli-boxes": "^3.0.0", + "cli-cursor": "^4.0.0", + "cli-truncate": "^4.0.0", + "code-excerpt": "^4.0.0", + "es-toolkit": "^1.39.10", + "indent-string": "^5.0.0", + "is-in-ci": "^2.0.0", + "patch-console": "^2.0.0", + "react-reconciler": "^0.32.0", + "signal-exit": "^3.0.7", + "slice-ansi": "^7.1.0", + "stack-utils": "^2.0.6", + "string-width": "^7.2.0", + "type-fest": "^4.27.0", + "widest-line": "^5.0.0", + "wrap-ansi": "^9.0.0", + "ws": "^8.18.0", + "yoga-layout": "~3.2.1" + }, + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "@types/react": ">=19.0.0", + "react": ">=19.0.0", + "react-devtools-core": "^4.19.1" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "react-devtools-core": { + "optional": true + } + } + }, + "node_modules/ink-spinner": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ink-spinner/-/ink-spinner-5.0.0.tgz", + "integrity": "sha512-EYEasbEjkqLGyPOUc8hBJZNuC5GvXGMLu0w5gdTNskPc7Izc5vO3tdQEYnzvshucyGCBXc86ig0ujXPMWaQCdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cli-spinners": "^2.7.0" + }, + "engines": { + "node": ">=14.16" + }, + "peerDependencies": { + "ink": ">=4.0.0", + "react": ">=18.0.0" + } + }, + "node_modules/ink/node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/ink/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ink/node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/inline-style-parser": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz", + "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/inquirer": { + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.3.0.tgz", + "integrity": "sha512-3NixUXq+hM8ezj2wc7wC37b32/rHq1MwNZDYdvx+d6jokOD+r+i8Q4Pkylh9tISYP114A128LCX8RKhopC5RfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.1.2", + "@inquirer/prompts": "^7.2.1", + "@inquirer/type": "^3.0.2", + "ansi-escapes": "^4.3.2", + "mute-stream": "^2.0.0", + "run-async": "^3.0.0", + "rxjs": "^7.8.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + } + }, + "node_modules/inquirer/node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inquirer/node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/internal-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", + "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.2", + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ip-address": { + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.3.tgz", + "integrity": "sha512-A1kdq/tSb5QjvKvAMgIoEvDBIgL7qaqVP/jkvSwYYRZ9iEzvPpopxp2wQfu3SuZRHtpHNxMn8Fs0bS+gf5Xmwg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 12" + } + }, + "node_modules/ip-regex": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", + "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/iregexp-check": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/iregexp-check/-/iregexp-check-0.1.2.tgz", + "integrity": "sha512-RCcV2SFO5JKh+DdmWiY7yVyiZzzk6XZiHEJvTKbzVs8Z0u404gnoSqDtFqg6C5qJBEG4QseWBQz9zhI68zskEQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", + "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.4.tgz", + "integrity": "sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-async-function": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz", + "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "async-function": "^1.0.0", + "call-bound": "^1.0.3", + "get-proto": "^1.0.1", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-bigint": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", + "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-bigints": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", + "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz", + "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-view": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", + "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", + "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-document.all": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-document.all/-/is-document.all-1.0.0.tgz", + "integrity": "sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finalizationregistry": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", + "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", + "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.3.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-generator-function": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz", + "integrity": "sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.4", + "generator-function": "^2.0.0", + "get-proto": "^1.0.1", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-in-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-2.0.0.tgz", + "integrity": "sha512-cFeerHriAnhrQSbpAxL37W1wcJKUUX07HyLWZCW1URJT/ra3GyUTzBgUnh24TMVfNTV2Hij2HLxkPHFZfOZy5w==", + "dev": true, + "license": "MIT", + "bin": { + "is-in-ci": "cli.js" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-ip": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-3.1.0.tgz", + "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-regex": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", + "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", + "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-online": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/is-online/-/is-online-10.0.0.tgz", + "integrity": "sha512-WCPdKwNDjXJJmUubf2VHLMDBkUZEtuOvpXUfUnUFbEnM6In9ByiScL4f4jKACz/fsb2qDkesFerW3snf/AYz3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "got": "^12.1.0", + "p-any": "^4.0.0", + "p-timeout": "^5.1.0", + "public-ip": "^5.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-online/node_modules/got": { + "version": "12.6.1", + "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz", + "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^5.2.0", + "@szmarczak/http-timer": "^5.0.1", + "cacheable-lookup": "^7.0.0", + "cacheable-request": "^10.2.8", + "decompress-response": "^6.0.0", + "form-data-encoder": "^2.1.2", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/is-regex": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", + "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-set": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", + "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", + "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-string": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", + "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", + "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "has-symbols": "^1.1.0", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", + "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakmap": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", + "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz", + "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakset": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", + "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/jiti": { + "version": "1.21.7", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", + "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/jose": { + "version": "6.2.12", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.12.tgz", + "integrity": "sha512-9NiFmJEex0sy2Dk58j2UGBSHgUs2ypF9eZSu4L6vjOX3Dp96Sw1F3uL+H+D1sx02jZZdzUT0HgvCy59CuvXcWw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz", + "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsep": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.4.0.tgz", + "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.16.0" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-p3": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/json-p3/-/json-p3-2.2.2.tgz", + "integrity": "sha512-TmTgkx+C1ne8Wdm9dFQ4/jCeYYbSoeYJAkRpvTz6O+zWN1Dc3cKW8Mt52sa8mSRXy/+JykA5I6rmM+k8h+JRRg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-to-ts": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-3.1.1.tgz", + "integrity": "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@babel/runtime": "^7.18.3", + "ts-algebra": "^2.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-typed": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz", + "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==", + "dev": true, + "license": "BSD-2-Clause", + "optional": true + }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonfile": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz", + "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonpath-plus": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.4.0.tgz", + "integrity": "sha512-T92WWatJXmhBbKsgH/0hl+jxjdXrifi5IKeMY02DWggRxX0UElcbVzPlmgLTbvsPeW1PasQ6xE2Q75stkhGbsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jsep-plugin/assignment": "^1.3.0", + "@jsep-plugin/regex": "^1.0.4", + "jsep": "^1.4.0" + }, + "bin": { + "jsonpath": "bin/jsonpath-cli.js", + "jsonpath-plus": "bin/jsonpath-cli.js" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/jsonpointer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/katex": { + "version": "0.16.47", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz", + "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==", + "dev": true, + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^8.3.0" + }, + "bin": { + "katex": "cli.js" + } + }, + "node_modules/keytar": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/keytar/-/keytar-7.9.0.tgz", + "integrity": "sha512-VPD8mtVtm5JNtA2AErl6Chp06JBfy7diFQ7TQQhdpWOl6MrCRB+eRbvAZUsbGQS9kiMq0coJsy0W0vHpDCkWsQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-addon-api": "^4.3.0", + "prebuild-install": "^7.0.1" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/lcm": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/lcm/-/lcm-0.0.3.tgz", + "integrity": "sha512-TB+ZjoillV6B26Vspf9l2L/vKaRY/4ep3hahcyVkCGFgsTNRUQdc24bQeNFiZeoxH0vr5+7SfNRMQuPHv/1IrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "gcd": "^0.0.1" + } + }, + "node_modules/leven": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-4.1.0.tgz", + "integrity": "sha512-KZ9W9nWDT7rF7Dazg8xyLHGLrmpgq2nVNFUckhqdW3szVP6YhCpp/RAnpmVExA9JvrMynjwSLVrEj3AepHR6ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lilconfig": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.topath": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz", + "integrity": "sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg==", + "dev": true, + "license": "MIT" + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/lowercase-keys": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz", + "integrity": "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/markdown-extensions": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-2.0.0.tgz", + "integrity": "sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.3.tgz", + "integrity": "sha512-xPgpDNl0/OXHsI7TlaIs22lWnH3KlpvZdXG1ET/m/YT2Hhdkx8lJV4kLphE6l9simyM4KPDFBwas08BgEob6Jw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", + "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-frontmatter": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-frontmatter/-/mdast-util-frontmatter-2.0.1.tgz", + "integrity": "sha512-LRqI9+wdgC25P0URIJY9vwocIzCcksduHQ9OF2joxQoyTNVduwLAFUzjoopuRJbJAReaKrNQKAZKL3uCMugWJA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "escape-string-regexp": "^5.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-extension-frontmatter": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz", + "integrity": "sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.1.tgz", + "integrity": "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-math": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz", + "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "longest-streak": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.1.0", + "unist-util-remove-position": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-mdx/-/mdast-util-mdx-3.0.0.tgz", + "integrity": "sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-expression": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", + "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-jsx": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz", + "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdxjs-esm": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", + "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-hast": { + "version": "13.2.1", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz", + "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.2.0.tgz", + "integrity": "sha512-2Jn/ADrHFFyyniBMi0bncTbJqU78K3/TEYvzvwrWWzD9MYPUa/Gm4r3nOeKFQg/PDM5BsbDYdc8ackW4NTY6NA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/micromark": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz", + "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-edit-map": "^1.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz", + "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.1.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-edit-map": "^1.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.3" + } + }, + "node_modules/micromark-extension-frontmatter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-frontmatter/-/micromark-extension-frontmatter-2.0.0.tgz", + "integrity": "sha512-C4AkuM3dA58cgZha7zVnuVxBhDsbttIMiytjgsM2XbHAB2faRVaHRle40558FBN+DJcrLNCoqG5mlrpdU4cRtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fault": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz", + "integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-mdx-expression": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/micromark-extension-mdx-expression/-/micromark-extension-mdx-expression-3.0.1.tgz", + "integrity": "sha512-dD/ADLJ1AeMvSAKBwO22zG22N4ybhe7kFIZ3LsDI0GlsNr2A3KYxb0LdC1u5rj4Nw+CHKY0RVdnHX8vj8ejm4Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-mdx-expression": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-extension-mdx-jsx": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-3.0.2.tgz", + "integrity": "sha512-e5+q1DjMh62LZAJOnDraSSbDMvGJ8x3cbjygy2qFEi7HCeUT4BDKCvMozPozcD6WmOt6sVvYDNBKhFSz3kjOVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "micromark-factory-mdx-expression": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-mdx-md": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-mdx-md/-/micromark-extension-mdx-md-2.0.0.tgz", + "integrity": "sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-mdxjs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-mdxjs/-/micromark-extension-mdxjs-3.0.0.tgz", + "integrity": "sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.0.0", + "acorn-jsx": "^5.0.0", + "micromark-extension-mdx-expression": "^3.0.0", + "micromark-extension-mdx-jsx": "^3.0.0", + "micromark-extension-mdx-md": "^2.0.0", + "micromark-extension-mdxjs-esm": "^3.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-mdxjs-esm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-mdxjs-esm/-/micromark-extension-mdxjs-esm-3.0.0.tgz", + "integrity": "sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-position-from-estree": "^2.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-mdx-expression": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-2.0.3.tgz", + "integrity": "sha512-kQnEtA3vzucU2BkrIa8/VaSAsP+EJ3CKOvhMuJgOEGg9KDC6OAY6nSnNDVRiVNRqj7Y4SlSzcStaH/5jge8JdQ==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-position-from-estree": "^2.0.0", + "vfile-message": "^4.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz", + "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-edit-map": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz", + "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-events-to-acorn": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-events-to-acorn/-/micromark-util-events-to-acorn-2.0.3.tgz", + "integrity": "sha512-jmsiEIiZ1n7X1Rr5k8wVExBQCg5jy4UXVADItHmNk1zkwEVhBuIUKRu3fqv+hs4nxLISi2DQGlqIOGiFxgbfHg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "estree-util-visit": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "vfile-message": "^4.0.0" + } + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-types": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz", + "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/mimic-response": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz", + "integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "optional": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", + "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mint": { + "version": "4.2.986", + "resolved": "https://registry.npmjs.org/mint/-/mint-4.2.986.tgz", + "integrity": "sha512-KC6L1cbKE4+WcJ43ZKSmiK3YYo8uw956kRXLxV3/TKvocNJvCugTGK6eTKoHvNqIDXJj33b6NA7oXHBcldSkkw==", + "dev": true, + "license": "Elastic-2.0", + "dependencies": { + "@mintlify/cli": "4.0.1589" + }, + "bin": { + "mint": "index.js" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/mute-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", + "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/napi-build-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neotraverse": { + "version": "0.6.18", + "resolved": "https://registry.npmjs.org/neotraverse/-/neotraverse-0.6.18.tgz", + "integrity": "sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/nimma": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/nimma/-/nimma-0.2.3.tgz", + "integrity": "sha512-1ZOI8J+1PKKGceo/5CT5GfQOG6H8I2BencSK06YarZ2wXwH37BSSUWldqJmMJYA5JfqDqffxDXynt6f11AyKcA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsep-plugin/regex": "^1.0.1", + "@jsep-plugin/ternary": "^1.0.2", + "astring": "^1.8.1", + "jsep": "^1.2.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + }, + "optionalDependencies": { + "jsonpath-plus": "^6.0.1 || ^10.1.0", + "lodash.topath": "^4.5.2" + } + }, + "node_modules/nlcst-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/nlcst-to-string/-/nlcst-to-string-4.0.0.tgz", + "integrity": "sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/nlcst": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/node-abi": { + "version": "3.97.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.97.0.tgz", + "integrity": "sha512-6Pu8F0eXGZlyz0EepPJrWgWDcBI8rKt2Wj8exOJU1tjVbu/VyZy5ZaLYS5N+Jp/Y3IP3sIRKcIOElTu7uC6KKA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/non-error": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/non-error/-/non-error-0.1.0.tgz", + "integrity": "sha512-TMB1uHiGsHRGv1uYclfhivcnf0/PdFp2pNqRxXjncaAsjYMoisaQJI+SSZCqRq+VliwRTC8tsMQfmrWjDMhkPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-url": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.1.1.tgz", + "integrity": "sha512-JYc0DPlpGWB40kH5g07gGTrYuMqV653k3uBKY6uITPWds3M0ov3GaWGp9lbE3Bzngx8+XkfzgvASb9vk9JDFXQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/oauth4webapi": { + "version": "3.8.8", + "resolved": "https://registry.npmjs.org/oauth4webapi/-/oauth4webapi-3.8.8.tgz", + "integrity": "sha512-8N28E+a/oxfXWBgOMt+ZP/JUf/XR+IFbvkAEPP3gznXOMv9BpAAwiIj0TFNz3tGTPc0ZQ8zmWBNgN1nAys0gng==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz", + "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0", + "has-symbols": "^1.1.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/oniguruma-parser": { + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.2.tgz", + "integrity": "sha512-6HVa5oIrgMC6aA6WF6XyyqbhRPJrKR02L20+2+zpDtO5QAzGHAUGw5TKQvwi5vctNnRHkJYmjAhRVQF2EKdTQw==", + "dev": true, + "license": "MIT" + }, + "node_modules/oniguruma-to-es": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.6.tgz", + "integrity": "sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "oniguruma-parser": "^0.12.2", + "regex": "^6.1.0", + "regex-recursion": "^6.0.2" + } + }, + "node_modules/open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/openapi-types": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", + "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/openid-client": { + "version": "6.8.2", + "resolved": "https://registry.npmjs.org/openid-client/-/openid-client-6.8.2.tgz", + "integrity": "sha512-uOvTCndr4udZsKihJ68H9bUICrriHdUVJ6Az+4Ns6cW55rwM5h0bjVIzDz2SxgOI84LKjFyjOFvERLzdTUROGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jose": "^6.1.3", + "oauth4webapi": "^3.8.4" + }, + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/orderedmap": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/orderedmap/-/orderedmap-2.1.1.tgz", + "integrity": "sha512-TvAWxi0nDe1j/rtMcWcIj94+Ffe6n7zhow33h40SKxmsmozs6dz/e+EajymfoFcHd7sxNn8yHM8839uixMOV6g==", + "dev": true, + "license": "MIT" + }, + "node_modules/own-keys": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.2.tgz", + "integrity": "sha512-19YVAg7T+WTrxggPukVq7DjTv6+PJ867TmhCvBsYwmbFCsZd344rq2Ld1p0wo8f8Qrrhgp82c6FJRqdXWtSEhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.4", + "get-intrinsic": "^1.3.0", + "object-keys": "^1.1.1", + "safe-push-apply": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/p-any": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-any/-/p-any-4.0.0.tgz", + "integrity": "sha512-S/B50s+pAVe0wmEZHmBs/9yJXeZ5KhHzOsgKzt0hRdgkoR3DxW9ts46fcsWi/r3VnzsnkKS7q4uimze+zjdryw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-cancelable": "^3.0.0", + "p-some": "^6.0.0" + }, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-cancelable": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", + "integrity": "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, + "node_modules/p-some": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-some/-/p-some-6.0.0.tgz", + "integrity": "sha512-CJbQCKdfSX3fIh8/QKgS+9rjm7OBNUTmwWswAFQAhc8j1NR1dsEDETUEuVUtQHZpV+J03LqWBEwvu0g1Yn+TYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^4.0.0", + "p-cancelable": "^3.0.0" + }, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-timeout": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-5.1.0.tgz", + "integrity": "sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-entities": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", + "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/parse-entities/node_modules/@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true, + "license": "MIT" + }, + "node_modules/parse-latin": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse-latin/-/parse-latin-7.0.0.tgz", + "integrity": "sha512-mhHgobPPua5kZ98EF4HWiH167JWBfl4pvAIXXdbaVohtK7a6YBOy56kvhCqduqyo/f3yrHFWmqmiMg/BkBkYYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/nlcst": "^2.0.0", + "@types/unist": "^3.0.0", + "nlcst-to-string": "^4.0.0", + "unist-util-modify-children": "^4.0.0", + "unist-util-visit-children": "^3.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/parse5": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", + "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^6.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/patch-console": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/patch-console/-/patch-console-2.0.0.tgz", + "integrity": "sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/path-expression-matcher": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.6.2.tgz", + "integrity": "sha512-enSlaiat05iasnzmgNxRj8reFdj3puY2QpNgP1aPIaVfT6nn9ICuPoFlKHk8EN22HcwewshO+mN2DGbkCEOtqQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-to-regexp": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz", + "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==", + "dev": true, + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pirates": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkce-challenge": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz", + "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/pony-cause": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pony-cause/-/pony-cause-1.1.1.tgz", + "integrity": "sha512-PxkIc/2ZpLiEzQXu5YRDOUgBlfGYBY8156HY5ZcRAwwonMk5W/MrJP2LLkG/hF7GEQzaHo2aS7ho6ZLCOvf+6g==", + "dev": true, + "license": "0BSD", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/possible-typed-array-names": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", + "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/postcss": { + "version": "8.5.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.23.tgz", + "integrity": "sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.16", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz", + "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-nested": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", + "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.1.1" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.4.tgz", + "integrity": "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/posthog-node": { + "version": "5.17.2", + "resolved": "https://registry.npmjs.org/posthog-node/-/posthog-node-5.17.2.tgz", + "integrity": "sha512-lz3YJOr0Nmiz0yHASaINEDHqoV+0bC3eD8aZAG+Ky292dAnVYul+ga/dMX8KCBXg8hHfKdxw0SztYD5j6dgUqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@posthog/core": "1.7.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/prebuild-install": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", + "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^2.0.0", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^2.0.0", + "node-abi": "^3.3.0", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^4.0.0", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0" + }, + "bin": { + "prebuild-install": "bin.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/property-information": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz", + "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/prosemirror-model": { + "version": "1.25.4", + "resolved": "https://registry.npmjs.org/prosemirror-model/-/prosemirror-model-1.25.4.tgz", + "integrity": "sha512-PIM7E43PBxKce8OQeezAs9j4TP+5yDpZVbuurd1h5phUxEKIu+G2a+EUZzIC5nS1mJktDJWzbqS23n1tsAf5QA==", + "dev": true, + "license": "MIT", + "dependencies": { + "orderedmap": "^2.0.0" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.8.tgz", + "integrity": "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/proxy-from-env": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/public-ip": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/public-ip/-/public-ip-5.0.0.tgz", + "integrity": "sha512-xaH3pZMni/R2BG7ZXXaWS9Wc9wFlhyDVJF47IJ+3ali0TGv+2PsckKxbmo+rnx3ZxiV2wblVhtdS3bohAP6GGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "dns-socket": "^4.2.2", + "got": "^12.0.0", + "is-ip": "^3.1.0" + }, + "engines": { + "node": "^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/public-ip/node_modules/got": { + "version": "12.6.1", + "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz", + "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/is": "^5.2.0", + "@szmarczak/http-timer": "^5.0.1", + "cacheable-lookup": "^7.0.0", + "cacheable-request": "^10.2.8", + "decompress-response": "^6.0.0", + "form-data-encoder": "^2.1.2", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" + } + }, + "node_modules/pump": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", + "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/qs": { + "version": "6.14.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz", + "integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "optional": true, + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/re2js": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/re2js/-/re2js-2.8.6.tgz", + "integrity": "sha512-xLgQil4kIUCrAzVk9fRSkxkFNwmygLFjVxXrLc65aE1F0+Zsb8rxumFBy4XKyvgMCTL6kilDq3EZ0piE2dP/Dg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/react": { + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", + "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-reconciler": { + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.32.0.tgz", + "integrity": "sha512-2NPMOzgTlG0ZWdIf3qG+dcbLSoAc/uLfOwckc3ofy5sSK0pLJqnQLpUFxvGcN2rlXSjnVtGeeFLNimCQEj5gOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "scheduler": "^0.26.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "react": "^19.1.0" + } + }, + "node_modules/read-cache": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.2.tgz", + "integrity": "sha512-/peqiBB/n07gQGLsWaHho3WfvUyRscw0gYTsEFMhrIe/nWLkYaf5SbKYjGYqtRV3aPwykJgF2VEMo1ac4bnsGA==", + "dev": true, + "license": "MIT" + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/recma-build-jsx": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/recma-build-jsx/-/recma-build-jsx-1.0.0.tgz", + "integrity": "sha512-8GtdyqaBcDfva+GUKDr3nev3VpKAhup1+RvkMvUxURHpW7QyIvk9F5wz7Vzo06CEMSilw6uArgRqhpiUcWp8ew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "estree-util-build-jsx": "^3.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/recma-jsx": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/recma-jsx/-/recma-jsx-1.0.1.tgz", + "integrity": "sha512-huSIy7VU2Z5OLv6oFLosQGGDqPqdO1iq6bWNAdhzMxSJP7RAso4fCZ1cKu8j9YHCZf3TPrq4dw3okhrylgcd7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn-jsx": "^5.0.0", + "estree-util-to-js": "^2.0.0", + "recma-parse": "^1.0.0", + "recma-stringify": "^1.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/recma-parse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/recma-parse/-/recma-parse-1.0.0.tgz", + "integrity": "sha512-OYLsIGBB5Y5wjnSnQW6t3Xg7q3fQ7FWbw/vcXtORTnyaSFscOtABg+7Pnz6YZ6c27fG1/aN8CjfwoUEUIdwqWQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "esast-util-from-js": "^2.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/recma-stringify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/recma-stringify/-/recma-stringify-1.0.0.tgz", + "integrity": "sha512-cjwII1MdIIVloKvC9ErQ+OgAtwHBmcZ0Bg4ciz78FtbT8In39aAYbaA7zvxQ61xVMSPE8WxhLwLbhif4Js2C+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "estree-util-to-js": "^2.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/reflect.getprototypeof": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", + "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.9", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.7", + "get-proto": "^1.0.1", + "which-builtin-type": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/regex/-/regex-6.1.0.tgz", + "integrity": "sha512-6VwtthbV4o/7+OaAF9I5L5V3llLEsoPyq9P1JVXkedTP33c7MfCG0/5NOPcSJn0TzXcG9YUrR0gQSWioew3LDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "regex-utilities": "^2.3.0" + } + }, + "node_modules/regex-recursion": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-6.0.2.tgz", + "integrity": "sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==", + "dev": true, + "license": "MIT", + "dependencies": { + "regex-utilities": "^2.3.0" + } + }, + "node_modules/regex-utilities": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz", + "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==", + "dev": true, + "license": "MIT" + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", + "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "set-function-name": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/rehype-katex": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/rehype-katex/-/rehype-katex-7.0.1.tgz", + "integrity": "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/katex": "^0.16.0", + "hast-util-from-html-isomorphic": "^2.0.0", + "hast-util-to-text": "^4.0.0", + "katex": "^0.16.0", + "unist-util-visit-parents": "^6.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/rehype-minify-whitespace": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/rehype-minify-whitespace/-/rehype-minify-whitespace-6.0.2.tgz", + "integrity": "sha512-Zk0pyQ06A3Lyxhe9vGtOtzz3Z0+qZ5+7icZ/PL/2x1SHPbKao5oB/g/rlc6BCTajqBb33JcOe71Ye1oFsuYbnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-minify-whitespace": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/rehype-parse": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/rehype-parse/-/rehype-parse-9.0.1.tgz", + "integrity": "sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-from-html": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/rehype-recma": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/rehype-recma/-/rehype-recma-1.0.0.tgz", + "integrity": "sha512-lqA4rGUf1JmacCNWWZx0Wv1dHqMwxzsDWYMTowuplHF3xH0N/MmrZ/G3BDZnzAkRmxDadujCjaKM2hqYdCBOGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "hast-util-to-estree": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/rehype-stringify": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/rehype-stringify/-/rehype-stringify-10.0.1.tgz", + "integrity": "sha512-k9ecfXHmIPuFVI61B9DeLPN0qFHfawM6RsuX48hoqlaKSF61RskNjSm1lI8PhBEM0MRdLxVVm4WmTqJQccH9mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "hast-util-to-html": "^9.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark": { + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/remark/-/remark-15.0.1.tgz", + "integrity": "sha512-Eht5w30ruCXgFmxVUSlNWQ9iiimq07URKeFS3hNc8cUWy1llX4KDWfyEDZRycMc+znsN9Ux5/tJ/BFdgdOwA3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-frontmatter": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/remark-frontmatter/-/remark-frontmatter-5.0.0.tgz", + "integrity": "sha512-XTFYvNASMe5iPN0719nPrdItC9aU0ssC4v14mH1BCi1u0n1gAocqcujWUrByftZTbLhRtiKRyjYTSIOcr69UVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-frontmatter": "^2.0.0", + "micromark-extension-frontmatter": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-gfm": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz", + "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-math": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/remark-math/-/remark-math-6.0.0.tgz", + "integrity": "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-math": "^3.0.0", + "micromark-extension-math": "^3.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-mdx": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-3.1.1.tgz", + "integrity": "sha512-Pjj2IYlUY3+D8x00UJsIOg5BEvfMyeI+2uLPn9VO9Wg4MEtN/VTIq2NEJQfde9PnX15KgtHyl9S0BcTnWrIuWg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-mdx": "^3.0.0", + "micromark-extension-mdxjs": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-mdx-remove-esm": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/remark-mdx-remove-esm/-/remark-mdx-remove-esm-1.3.3.tgz", + "integrity": "sha512-KgGfD4JV3lKse0n/m8UxW4jK6H/9ffkCVxVAJ60aGY4uiPX/+SQCT5/lQcRGcjyQuRLDq2Df2krv6pD/qWJRVw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.4", + "unist-util-remove": "^4.0.0" + }, + "peerDependencies": { + "unified": "^11" + } + }, + "node_modules/remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-rehype": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.1.tgz", + "integrity": "sha512-g/osARvjkBXb6Wo0XvAeXQohVta8i84ACbenPpoSsxTOQH/Ae0/RGP4WZgnMH5pMLpsj4FG7OHmcIcXxpza8eQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-smartypants": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/remark-smartypants/-/remark-smartypants-3.0.2.tgz", + "integrity": "sha512-ILTWeOriIluwEvPjv67v7Blgrcx+LZOkAUVtKI3putuhlZm84FnqDORNXPPm+HY3NdZOMhyDwZ1E+eZB/Df5dA==", + "dev": true, + "license": "MIT", + "dependencies": { + "retext": "^9.0.0", + "retext-smartypants": "^6.0.0", + "unified": "^11.0.4", + "unist-util-visit": "^5.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/reselect": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.3.0.tgz", + "integrity": "sha512-XGoLeRAVzUTcJ1qkxPQhDJyIZ5d6zzZD9nT7AEZOaaU9UbWclhycElmhO+VD5bFeLuzhPBaOV2oXC8uG35ZSpg==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/resolve": { + "version": "1.22.12", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz", + "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "is-core-module": "^2.16.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-alpn": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz", + "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/responselike": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", + "integrity": "sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==", + "dev": true, + "license": "MIT", + "dependencies": { + "lowercase-keys": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/restore-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", + "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/restore-cursor/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/retext": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/retext/-/retext-9.0.0.tgz", + "integrity": "sha512-sbMDcpHCNjvlheSgMfEcVrZko3cDzdbe1x/e7G66dFp0Ff7Mldvi2uv6JkJQzdRcvLYE8CA8Oe8siQx8ZOgTcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/nlcst": "^2.0.0", + "retext-latin": "^4.0.0", + "retext-stringify": "^4.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/retext-latin": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/retext-latin/-/retext-latin-4.0.0.tgz", + "integrity": "sha512-hv9woG7Fy0M9IlRQloq/N6atV82NxLGveq+3H2WOi79dtIYWN8OaxogDm77f8YnVXJL2VD3bbqowu5E3EMhBYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/nlcst": "^2.0.0", + "parse-latin": "^7.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/retext-smartypants": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/retext-smartypants/-/retext-smartypants-6.2.0.tgz", + "integrity": "sha512-kk0jOU7+zGv//kfjXEBjdIryL1Acl4i9XNkHxtM7Tm5lFiCog576fjNC9hjoR7LTKQ0DsPWy09JummSsH1uqfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/nlcst": "^2.0.0", + "nlcst-to-string": "^4.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/retext-stringify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/retext-stringify/-/retext-stringify-4.0.0.tgz", + "integrity": "sha512-rtfN/0o8kL1e+78+uxPTqu1Klt0yPzKuQ2BfWwwfgIUSayyzxpM1PJzkKt4V8803uB9qSy32MvI7Xep9khTpiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/nlcst": "^2.0.0", + "nlcst-to-string": "^4.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/router/node_modules/path-to-regexp": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", + "dev": true, + "license": "MIT", + "optional": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/run-async": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", + "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/rxjs/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/safe-array-concat": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.4.tgz", + "integrity": "sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "get-intrinsic": "^1.3.0", + "has-symbols": "^1.1.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safe-push-apply": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", + "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-regex-test": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", + "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-regex": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-stable-stringify": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", + "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==", + "dev": true, + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/sax": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.1.tgz", + "integrity": "sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=11.0.0" + } + }, + "node_modules/scheduler": { + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", + "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", + "dev": true, + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", + "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.4.1", + "range-parser": "~1.2.1", + "statuses": "~2.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/serialize-error": { + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-13.0.2.tgz", + "integrity": "sha512-G+YKwp9I6IvWMe5RlwqxdmTPIcq/G8HK/sU51gdV1XAJznYkRSTB0ph+zB9AfSxG0fx6xrqYA6i9HeIcHFTXow==", + "dev": true, + "license": "MIT", + "dependencies": { + "non-error": "^0.1.0", + "type-fest": "^5.4.1" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/serialize-error/node_modules/type-fest": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.10.0.tgz", + "integrity": "sha512-NoSdpq/WEiAg5sjmBkmV/hfxv6HJH4NqPNrqjtSO5CwRmpsDfaf4begxW34KdJykH/l1yHtwBWQkCRdoXO8mPA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "dependencies": { + "tagged-tag": "^1.0.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/serve-static": { + "version": "1.16.3", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz", + "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "~0.19.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-proto": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz", + "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true, + "license": "ISC" + }, + "node_modules/sharp": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.5.tgz", + "integrity": "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "color": "^4.2.3", + "detect-libc": "^2.0.3", + "semver": "^7.6.3" + }, + "engines": { + "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-darwin-arm64": "0.33.5", + "@img/sharp-darwin-x64": "0.33.5", + "@img/sharp-libvips-darwin-arm64": "1.0.4", + "@img/sharp-libvips-darwin-x64": "1.0.4", + "@img/sharp-libvips-linux-arm": "1.0.5", + "@img/sharp-libvips-linux-arm64": "1.0.4", + "@img/sharp-libvips-linux-s390x": "1.0.4", + "@img/sharp-libvips-linux-x64": "1.0.4", + "@img/sharp-libvips-linuxmusl-arm64": "1.0.4", + "@img/sharp-libvips-linuxmusl-x64": "1.0.4", + "@img/sharp-linux-arm": "0.33.5", + "@img/sharp-linux-arm64": "0.33.5", + "@img/sharp-linux-s390x": "0.33.5", + "@img/sharp-linux-x64": "0.33.5", + "@img/sharp-linuxmusl-arm64": "0.33.5", + "@img/sharp-linuxmusl-x64": "0.33.5", + "@img/sharp-wasm32": "0.33.5", + "@img/sharp-win32-ia32": "0.33.5", + "@img/sharp-win32-x64": "0.33.5" + } + }, + "node_modules/sharp-ico": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/sharp-ico/-/sharp-ico-0.1.5.tgz", + "integrity": "sha512-a3jODQl82NPp1d5OYb0wY+oFaPk7AvyxipIowCHk7pBsZCWgbe0yAkU2OOXdoH0ENyANhyOQbs9xkAiRHcF02Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "decode-ico": "*", + "ico-endec": "*", + "sharp": "*" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/shiki": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-3.23.0.tgz", + "integrity": "sha512-55Dj73uq9ZXL5zyeRPzHQsK7Nbyt6Y10k5s7OjuFZGMhpp4r/rsLBH0o/0fstIzX1Lep9VxefWljK/SKCzygIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/core": "3.23.0", + "@shikijs/engine-javascript": "3.23.0", + "@shikijs/engine-oniguruma": "3.23.0", + "@shikijs/langs": "3.23.0", + "@shikijs/themes": "3.23.0", + "@shikijs/types": "3.23.0", + "@shikijs/vscode-textmate": "^10.0.2", + "@types/hast": "^3.0.4" + } + }, + "node_modules/side-channel": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz", + "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4", + "side-channel-list": "^1.0.1", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", + "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true + }, + "node_modules/simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "node_modules/simple-swizzle": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.4.tgz", + "integrity": "sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/slice-ansi": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz", + "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "is-fullwidth-code-point": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/socket.io": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.0.tgz", + "integrity": "sha512-8U6BEgGjQOfGz3HHTYaC/L1GaxDCJ/KM0XTkJly0EhZ5U/du9uNEZy4ZgYzEzIqlx2CMm25CrCqr1ck899eLNA==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "cors": "~2.8.5", + "debug": "~4.3.2", + "engine.io": "~6.6.0", + "socket.io-adapter": "~2.5.2", + "socket.io-parser": "~4.2.4" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "node_modules/socket.io-adapter": { + "version": "2.5.8", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.8.tgz", + "integrity": "sha512-6Oy52pbg+kvdCVvjcN+FnY7BvxZ7cIHNScbvztT/It5d0vbwoJoVZmF2gjJmnV0/4WlXRfG15zc45ySk9Ah8bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "~4.4.1", + "ws": "~8.21.0" + } + }, + "node_modules/socket.io-adapter/node_modules/ws": { + "version": "8.21.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", + "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/socket.io-parser": { + "version": "4.2.7", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.7.tgz", + "integrity": "sha512-IH/iSeO9T6gz1KkFleGDWkG9N3dl4jXVYUtMhIqH10Md0ttMer8nUNWiP1DKuNrybD2xBrixLJdCC9J6ECoYkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.4.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/socket.io/node_modules/debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/source-map": { + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", + "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 12" + } + }, + "node_modules/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/stack-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/standardwebhooks": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/standardwebhooks/-/standardwebhooks-1.1.1.tgz", + "integrity": "sha512-bCbX9ZEyFkWPsRz7Bl3NuQUJohmwGSev/yhr7vhaGPlc4AfIrspIRa6cPTBuI1ItmrTDJ4d/S2hCsfe4+vQGnQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@stablelib/base64": "^1.0.0", + "fast-sha256": "^1.3.0" + } + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/stop-iteration-iterator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz", + "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "internal-slot": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.11.tgz", + "integrity": "sha512-PwvK7BU+CMTJGYQCTZb5RWXIML92lftJLhQz1tBzgKiqGxJaMlBAa48POXaNAC2s4y8jr3EFqrkF9+44neS46w==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "define-data-property": "^1.1.4", + "define-properties": "^1.2.1", + "es-abstract": "^1.24.2", + "es-object-atoms": "^1.1.2", + "has-property-descriptors": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.10.tgz", + "integrity": "sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/stringify-entities": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", + "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", + "dev": true, + "license": "MIT", + "dependencies": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strnum": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.4.2.tgz", + "integrity": "sha512-rDG3Ah4TV0k1hWvLSzkZtMmLN9+eS+h3knq4MP6A42Y3Yh5qGNnOUs1jJkoSr8FG5dsL28c7KgkIBzSEykqtuw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "anynum": "^1.0.1" + } + }, + "node_modules/style-to-js": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz", + "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "style-to-object": "1.0.14" + } + }, + "node_modules/style-to-js/node_modules/inline-style-parser": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz", + "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==", + "dev": true, + "license": "MIT" + }, + "node_modules/style-to-js/node_modules/style-to-object": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz", + "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "inline-style-parser": "0.2.7" + } + }, + "node_modules/style-to-object": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-0.4.4.tgz", + "integrity": "sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==", + "dev": true, + "license": "MIT", + "dependencies": { + "inline-style-parser": "0.1.1" + } + }, + "node_modules/sucrase": { + "version": "3.34.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", + "integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/sucrase/node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tagged-tag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz", + "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tailwindcss-v3": { + "name": "tailwindcss", + "version": "3.4.17", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", + "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", + "dev": true, + "license": "MIT", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.6.0", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.2", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.21.6", + "lilconfig": "^3.1.3", + "micromatch": "^4.0.8", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.1.1", + "postcss": "^8.4.47", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.2", + "postcss-nested": "^6.2.0", + "postcss-selector-parser": "^6.1.2", + "resolve": "^1.22.8", + "sucrase": "^3.35.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tailwindcss-v3/node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/tailwindcss-v3/node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/tailwindcss-v3/node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/tailwindcss-v3/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/tailwindcss-v3/node_modules/sucrase": { + "version": "3.35.1", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", + "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "tinyglobby": "^0.2.11", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/tar": { + "version": "7.5.21", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.21.tgz", + "integrity": "sha512-XdhtCvlMywwxpCW8YEq3lOXBJpUPTR2OHHcwLPO3HwsJqOHa2Ok/oJ7ruGzp+JrKoRPVCzJwAdEjqLW/vNRPHA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/tar-fs": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.5.tgz", + "integrity": "sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/tar-fs/node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/to-data-view": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/to-data-view/-/to-data-view-1.1.0.tgz", + "integrity": "sha512-1eAdufMg6mwgmlojAx3QeMnzB/BTVp7Tbndi3U7ftcT2zCZadjxkkmLmd97zmaxWi+sgGcgWrokmpEoy0Dn0vQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trim-trailing-lines": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-2.1.0.tgz", + "integrity": "sha512-5UR5Biq4VlVOtzqkm2AZlgvSlDJtME46uV0br0gENbwN4l5+mMKT4b9gJKqWtuL2zAIqajGJGuvbCbcAJUZqBg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/ts-algebra": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-2.0.0.tgz", + "integrity": "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true, + "license": "0BSD" + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/twoslash": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/twoslash/-/twoslash-0.3.9.tgz", + "integrity": "sha512-rDclk+OtzuTX+tnea7DYLCkqGQ3eP0IyfD+kzUJ7t46X/NzlaxwrhecmEBNuSCuEn3V+n1PhcjUUQQ7gUJzX5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript/vfs": "^1.6.4", + "twoslash-protocol": "0.3.9" + }, + "peerDependencies": { + "typescript": "^5.5.0 || ^6.0.0" + } + }, + "node_modules/twoslash-protocol": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/twoslash-protocol/-/twoslash-protocol-0.3.9.tgz", + "integrity": "sha512-9/iwp+CXOnjFMPQuPL5PkuRbZnDoNpBvtJCLs9t8kDYkL3YHujbvnHfZA1i5fApDftVEdBw+T/4F+dH5kIzpYQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", + "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", + "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "for-each": "^0.3.3", + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.5.tgz", + "integrity": "sha512-0FHJvLPqZ7KJzp17O13jfsAjsqazgrxBu2zEK95PmUz8lv2+GjRuxUInCr2Rk9Dms3ihN21zJ929ZO43yJ95QQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.9", + "for-each": "^0.3.5", + "gopd": "^1.2.0", + "is-typed-array": "^1.1.15", + "reflect.getprototypeof": "^1.0.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.8.tgz", + "integrity": "sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.9", + "for-each": "^0.3.5", + "gopd": "^1.2.0", + "is-typed-array": "^1.1.15", + "possible-typed-array-names": "^1.1.0", + "reflect.getprototypeof": "^1.0.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typescript": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/unbox-primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", + "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "has-bigints": "^1.0.2", + "has-symbols": "^1.1.0", + "which-boxed-primitive": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/undici-types": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", + "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "dev": true, + "license": "MIT" + }, + "node_modules/unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-builder": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-builder/-/unist-builder-4.0.0.tgz", + "integrity": "sha512-wmRFnH+BLpZnTKpc5L7O67Kac89s9HMrtELpnNaE6TAobq5DTZZs5YaTQfAZBA9bFPECx2uVAPO31c+GVug8mg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-find-after": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz", + "integrity": "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-is": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz", + "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-map/-/unist-util-map-4.0.0.tgz", + "integrity": "sha512-HJs1tpkSmRJUzj6fskQrS5oYhBYlmtcvy4SepdDEEsL04FjBrgF0Mgggvxc1/qGBGgW7hRh9+UBK1aqTEnBpIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-modify-children": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-modify-children/-/unist-util-modify-children-4.0.0.tgz", + "integrity": "sha512-+tdN5fGNddvsQdIzUF3Xx82CU9sMM+fA0dLgR9vOmT0oPT2jH+P1nd5lSqfCfXAw+93NhcXNY2qqvTUtE4cQkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "array-iterate": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position-from-estree": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position-from-estree/-/unist-util-position-from-estree-2.0.0.tgz", + "integrity": "sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-remove": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-4.0.0.tgz", + "integrity": "sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-remove-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", + "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-visit": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz", + "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-children": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-visit-children/-/unist-util-visit-children-3.0.0.tgz", + "integrity": "sha512-RgmdTfSBOg04sdPcpTSD1jzoNBjt9a80/ZCzp5cI9n1qPzLZWF9YdvWGN2zmTumP1HWhXKdUWexjy/Wy/lJ7tA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/urijs": { + "version": "1.19.11", + "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.11.tgz", + "integrity": "sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/use-sync-external-store": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz", + "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==", + "dev": true, + "license": "MIT", + "peer": true, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/utility-types": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.11.0.tgz", + "integrity": "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/uuid": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", + "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", + "dev": true, + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/esm/bin/uuid" + } + }, + "node_modules/valibot": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/valibot/-/valibot-1.5.0.tgz", + "integrity": "sha512-nil6AkP2TChWL43Z5uJ6GTxX01CUA+g8LWUM+N/rB9NBbkUMaUsi9PUNzlUPgoKASgmx9f7eGOYpJ04/fSa6FQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "typescript": ">=5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-location": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz", + "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-matter": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/vfile-matter/-/vfile-matter-5.0.1.tgz", + "integrity": "sha512-o6roP82AiX0XfkyTHyRCMXgHfltUNlXSEqCIS80f+mbAyiQBE2fxtDVMtseyytGx75sihiJFo/zR6r/4LTs2Cw==", + "dev": true, + "license": "MIT", + "dependencies": { + "vfile": "^6.0.0", + "yaml": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz", + "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/web-namespaces": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", + "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", + "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-bigint": "^1.1.0", + "is-boolean-object": "^1.2.1", + "is-number-object": "^1.1.1", + "is-string": "^1.1.1", + "is-symbol": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-builtin-type": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", + "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", + "is-async-function": "^2.0.0", + "is-date-object": "^1.1.0", + "is-finalizationregistry": "^1.1.0", + "is-generator-function": "^1.0.10", + "is-regex": "^1.2.1", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.1.0", + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-collection": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", + "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-map": "^2.0.3", + "is-set": "^2.0.3", + "is-weakmap": "^2.0.2", + "is-weakset": "^2.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.24", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.24.tgz", + "integrity": "sha512-wk4Mf4pR5mRP7eYuuTBCIQ9d0ud2Fv2jRLQpfgnRjbOxAFHmjKFValgTpitVKzJJS8ajnYQV2Du1SZ8j6b/EUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.9", + "call-bound": "^1.0.4", + "for-each": "^0.3.5", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/widest-line": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-5.0.0.tgz", + "integrity": "sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==", + "dev": true, + "license": "MIT", + "dependencies": { + "string-width": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ws": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz", + "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xml-naming": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/xml-naming/-/xml-naming-0.3.0.tgz", + "integrity": "sha512-ghig2TBE/H11aOVgmahA3MhimvkBr6JIYknH/Dhdk10nXwdbIqBJsbfMxpvFPG8bAw77gN29aQWvKpmVoPlvPQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/xml2js": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", + "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "dev": true, + "license": "MIT", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/xss": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.15.tgz", + "integrity": "sha512-FVdlVVC67WOIPvfOwhoMETV72f6GbW7aOabBC3WxN/oUdoEMDyLz4OgRv5/gck2ZeNqEQu+Tb0kloovXOfpYVg==", + "dev": true, + "license": "MIT", + "dependencies": { + "commander": "^2.20.3", + "cssfilter": "0.0.10" + }, + "bin": { + "xss": "bin/xss" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/xss/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/yaml": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", + "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", + "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } + }, + "node_modules/yargs": { + "version": "17.7.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", + "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/yargs/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yoctocolors-cjs": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", + "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoga-layout": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-3.2.1.tgz", + "integrity": "sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/zod": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", + "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-to-json-schema": { + "version": "3.25.2", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz", + "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==", + "dev": true, + "license": "ISC", + "optional": true, + "peerDependencies": { + "zod": "^3.25.28 || ^4" + } + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + } +} diff --git a/docs/package.json b/docs/package.json new file mode 100644 index 000000000..6e5186eb7 --- /dev/null +++ b/docs/package.json @@ -0,0 +1,17 @@ +{ + "name": "docker-php-documentation", + "private": true, + "description": "Local preview and checks for the Docker PHP Mintlify documentation", + "engines": { + "node": ">=20.17 <25" + }, + "scripts": { + "dev": "mint dev --no-open --telemetry false", + "validate": "mint validate --telemetry false", + "check:links": "mint broken-links --check-anchors --telemetry false", + "check:examples": "php scripts/check-php-examples.php" + }, + "devDependencies": { + "mint": "4.2.986" + } +} diff --git a/docs/reference/requests-and-responses.mdx b/docs/reference/requests-and-responses.mdx new file mode 100644 index 000000000..108385f8d --- /dev/null +++ b/docs/reference/requests-and-responses.mdx @@ -0,0 +1,164 @@ +--- +title: "Requests and responses" +description: "Understand models, JSON-valued parameters, raw responses and errors." +--- + +The generated API describes Docker Engine v1.45. `Docker\Docker` extends that +client with connection handling and wrappers for selected streaming endpoints. +Use `Docker\Docker`, not `Docker\API\Client`, for those wrappers. + +## Request models and nested configuration + +JSON request bodies use generated models, rather than arbitrary PHP arrays. +Construct the outer request model and the nested models it expects. Use arrays +for lists and maps where the setter accepts an iterable. + +For example, container creation combines `ContainersCreatePostBody`, +`HostConfig`, `PortBinding` and `Mount`. See +[Configure a container](/cookbook/container-config) for a complete example. + +Calling a setter marks that field as initialized. An unset field is different +from one explicitly set to `null`, an empty list or an empty object. Leave +optional fields unset unless you intend to send them. Nullable setters do not +mean that every Docker operation accepts `null` in every context. + +Docker's JSON shapes matter: + +| Shape | Example | Typical use | +| --- | --- | --- | +| List | `["sh", "-c", "echo hello"]` | `Cmd`, `Env`, mounts | +| Map | `{"example":"true"}` | Labels, network endpoints | +| Map of lists | `{"80/tcp":[{"HostPort":"8080"}]}` | Port bindings | +| Map of empty objects | `{"80/tcp":{}}` | Exposed ports | + +Use `new ArrayObject()` when constructing an empty object in these examples; +an empty PHP array normally represents a JSON list. The generated normalizers +preserve the object shapes required by the API. + +## JSON-valued query parameters + +Some query parameters are strings containing JSON, even though other query +parameters use booleans, integers or arrays. Examples include `filters`, +`buildargs`, `labels` on `imageBuild()`, and `cachefrom`. + +```php +containerList([ + 'all' => true, + 'filters' => json_encode([ + 'label' => ['docker-php-example=true'], + 'status' => ['running'], + ], JSON_THROW_ON_ERROR), +]); +``` + +JSON-encode the value once. Do not also apply `urlencode()` or +`http_build_query()`; the client performs query-string encoding. Pass an actual +boolean for `all`, not the string `'true'`. Conversely, archive upload options +such as `noOverwriteDirNonDir` are declared as strings in this API line and +must be passed as strings. + +The generated endpoint's PHPDoc and options resolver are the authority for the +parameter types accepted by this version. A CLI flag's name or apparent type +is not enough to determine the PHP signature. + +## Response models and empty responses + +The default fetch mode returns a generated response model, a list of models, +a callback stream, a plain decoded object, or `null`, depending on the endpoint. +Use getters on models; do not assume every result is an array. + +Successful operations such as starting a container can have no response body. +A `null` result is therefore not a general failure indicator. Check the endpoint +contract, or use a raw response when you need the HTTP status. + +For absent or nullable response fields, use null checks or null-safe getters. +Inspect responses and create request models serve different purposes; do not +send an entire inspect response back as a creation or update payload. + +## Raw responses and headers + +Use `executeRawEndpoint()` with an endpoint object when you need the HTTP +status, headers, tar content or an unsupported streaming response: + +```php +executeRawEndpoint(new ContainerStart('my-container')); + +if ($response->getStatusCode() !== 204) { + throw new RuntimeException(sprintf( + 'Unexpected start response: HTTP %d', + $response->getStatusCode() + )); +} +``` + +This returns a PSR-7 response. It bypasses generated response parsing, +including API exception conversion and the custom stream wrappers. Check the +status yourself **before** treating the body as an archive, log stream or other +successful result. Transport exceptions and request-parameter validation can +still occur. + +`FETCH_RESPONSE` on the convenience methods is deprecated by Jane. Prefer +`executeRawEndpoint()` in new code. A response body is also a cursor: reading +it consumes bytes. Do not assume you can rewind a live socket body. + +## Error handling + +There are three separate failure paths: + +1. Local validation or serialization fails before the request is sent. +2. A transport error or a documented HTTP API error occurs. +3. An operation starts successfully but reports an error inside its progress + stream, such as a pull, push or build failure after HTTP 200. + +Handle documented API exceptions on typed calls, and inspect progress frames +on streaming calls. For example: + +```php +containerInspect('my-container'); + printf("%s\n", $container->getId()); +} catch (ContainerInspectNotFoundException $error) { + throw new RuntimeException( + $error->getErrorResponse()->getMessage() ?? 'Container not found', + 0, + $error + ); +} catch (ClientExceptionInterface $error) { + throw new RuntimeException('The Docker request could not be completed', 0, $error); +} +``` + +The factory itself makes an `/info` request and can fail before the `try` block +above. Include client creation in your application's outer connection/error +handling. Generated exceptions cover documented status/content-type pairs; +do not assume they validate every unexpected proxy or daemon response. Use a +raw response when your application requires strict HTTP status handling. + +Do not automatically retry every failed request. A connection failure after +submission can leave the operation's outcome unknown. Reconcile the container +or image state before retrying a create, start, upload or other mutation. diff --git a/docs/reference/streams.mdx b/docs/reference/streams.mdx new file mode 100644 index 000000000..5cf88a131 --- /dev/null +++ b/docs/reference/streams.mdx @@ -0,0 +1,93 @@ +--- +title: "Streaming and special calls" +description: "Find the calls which return streams, binary bodies, headers or untyped data." +--- + +These calls need more than the usual request-model/response-model pattern. +The table describes the restored client with the API v1.45 package. + +| Call | Default result / special behavior | Guide | +| --- | --- | --- | +| `imageCreate()` | `CreateImageStream`; pull/import progress frames | [Registries](/guides/registry) | +| `imageBuild()` | Tar request body and `BuildStream` | [Build an image](/cookbook/build-image) | +| `imagePush()` | `PushStream`; optional `AuthConfig` header conversion | [Registries](/guides/registry#push-a-tagged-image) | +| `containerLogs()` | `DockerRawStream`; TTY-aware output decoding | [Logs](/guides/logs) | +| `execStart()` | Attached output stream, or no output when detached | [Exec](/guides/exec) | +| `systemEvents()` | `EventStream`, not one event model | [Events and stats](/guides/events-and-stats) | +| `containerStats()` | Plain decoded object with `stream=false`; no typed stream wrapper | [Events and stats](/guides/events-and-stats#read-one-stats-sample) | +| `containerArchive()` / `containerExport()` | Tar response; use a raw endpoint to retain the body | [Archive transfers](/guides/archives) | +| `containerArchiveInfo()` | Metadata in a response header, not a response model | [Archive transfers](/guides/archives#read-path-metadata) | +| `putContainerArchive()` | Tar request body; successful typed result is `null` | [Archive transfers](/guides/archives#upload-a-tar-archive) | +| `imageGet()` / `imageGetAll()` | Image tar archive; use a raw response | [Image transfers](/guides/image-transfer) | +| `imageLoad()` | Tar request and JSON progress response; no custom progress wrapper | [Image transfers](/guides/image-transfer#load-an-image-archive) | +| `containerWait()` | Blocking call returning a `ContainerWaitResponse` | [Run a container](/cookbook/container-run) | + +## Callback streams + +Register callbacks before calling `wait()`. The endpoint call obtains the +response; `wait()` reads its body and invokes callbacks synchronously. +Registering a callback alone does not consume output or finish the operation. + +`onFrame()` receives generated models for build, pull, push and event streams. +Their responses contain multiple JSON documents, not one JSON array. +`onStdout()` and `onStderr()` receive strings for logs and exec output. +See [output framing](/guides/logs#output-chunks-and-tty-mode) for the difference +between output chunks and lines. + +Do not decode a whole progress stream with one `json_decode()` call. Check +`getError()` on every build, pull or push frame: HTTP 200 means the stream +opened, not that the operation succeeded. + +## Lifetime, cancellation and timeouts + +`wait()` blocks until the stream ends or an error interrupts it. A log follow +or event subscription can remain open indefinitely. The client does not turn +these calls into background jobs, promises or an event loop. + +Use bounded event queries for batch jobs. Set transport timeouts appropriate +to the operation, and keep long-lived readers in a supervised worker rather +than an ordinary web request. Reconnect and reconcile state in your application +after a connection failure; there is no automatic durable event subscription. + +There is no uniform public cancellation method across these wrappers. Do not +treat `CallbackStream::closeAndRead()` as a graceful stop signal: it closes +the underlying body before calling `wait()`. For explicit stream ownership, +use a raw endpoint, manage its PSR-7 body and close it in a `finally` block. +Closing a build or pull connection can cancel the daemon operation. + +## Raw and generated endpoints + +`Docker\Docker`'s convenience methods select the custom endpoint wrappers. +Calling `executeEndpoint(new Docker\API\Endpoint\SystemEvents(...))` directly +selects the generated endpoint, not the event-stream wrapper. Likewise, a raw +endpoint returns bytes and headers without either wrapper's decoding. + +Choose deliberately between: + +- A `Docker\Docker` convenience method for supported callback streams. +- A generated endpoint with `executeRawEndpoint()` for tar bodies, headers or + streams that your application decodes itself. + +See [Requests and responses](/reference/requests-and-responses#raw-responses-and-headers) +for status checks and raw-fetch error handling. + +## Attach and WebSocket limitations + +`containerAttach()` attaches to the container's existing process; it does not +create a new command like `containerExec()` followed by `execStart()`. + +The current attach wrapper recognizes HTTP 200 with the exact +`application/vnd.docker.raw-stream` content type and creates a multiplexed +`DockerRawStream`. Unlike the log and exec wrappers, it does not select a +TTY-aware decoder or handle all upgraded-response variants. Do not assume +that terminal output or HTTP 101 will work through this wrapper. + +`containerAttachWebsocket()` uses a separate `AttachWebsocketStream` with +`read()` and `write()`, not `onStdout()`/`wait()`. Its response handling is also +narrow, and the existing WebSocket integration test is skipped. Treat it as +a feature requiring validation with your daemon and transport, not a tested +interactive-terminal recipe. + +`DockerRawStream::onStdin()` is an output-channel callback; it is not a method +for writing commands into a container. Prefer the [exec recipe](/guides/exec) +for non-interactive command execution. diff --git a/docs/scripts/check-php-examples.php b/docs/scripts/check-php-examples.php new file mode 100644 index 000000000..21ab0c711 --- /dev/null +++ b/docs/scripts/check-php-examples.php @@ -0,0 +1,40 @@ + !$entry->isDir() + || !in_array($entry->getFilename(), ['node_modules', '.mintlify'], true) +)); +$count = 0; + +foreach ($pages as $page) { + if (!$page->isFile() || $page->getExtension() !== 'mdx') { + continue; + } + + $relativePath = substr($page->getPathname(), strlen($directory) + 1); + preg_match_all('/^```php[^\r\n]*\R(.*?)^```/ms', file_get_contents($page->getPathname()), $blocks); + + foreach ($blocks[1] as $index => $code) { + $code = preg_replace('/^\s*<\?php\s*/', '', $code); + + try { + token_get_all("getMessage())); + exit(1); + } + + ++$count; + } +} + +if ($count === 0) { + fwrite(STDERR, "No PHP documentation examples found.\n"); + exit(1); +} + +printf("Checked the syntax of %d PHP documentation examples on PHP %s.\n", $count, PHP_VERSION); diff --git a/mkdocs.yml b/mkdocs.yml deleted file mode 100644 index 1f127ad32..000000000 --- a/mkdocs.yml +++ /dev/null @@ -1,15 +0,0 @@ -site_name: Docker PHP -site_url: http://docker-php.readthedocs.org/ -site_description: A Docker client in PHP -repo_url: https://github.com/docker-php/docker-php - -pages: - - Home: index.md - - Docker PHP: - - Installation: installation.md - - Connecting to Docker: connection.md - - Basic Usage: basic.md - - Asynchronous Client: async.md - - Cookbook: - - Running a container: cookbook/container-run.md - - Build an image: cookbook/build-image.md diff --git a/tests/DocumentationExamplesTest.php b/tests/DocumentationExamplesTest.php new file mode 100644 index 000000000..565cd4c2c --- /dev/null +++ b/tests/DocumentationExamplesTest.php @@ -0,0 +1,306 @@ +fixtureDirectory = sys_get_temp_dir().'/docker-php-docs-'.bin2hex(random_bytes(12)); + $fs = new Filesystem(); + $fs->mkdir($this->fixtureDirectory.'/build'); + $fs->dumpFile($this->fixtureDirectory.'/build/Dockerfile', "FROM busybox:latest\nCMD echo hello\n"); + $fs->dumpFile($this->fixtureDirectory.'/upload.tar', "upload fixture\0"); + $fs->dumpFile($this->fixtureDirectory.'/saved-image.tar', "image fixture\0"); + } + + protected function tearDown(): void + { + (new Filesystem())->remove($this->fixtureDirectory); + } + + private function client(callable $respond): Docker + { + $record = function (RequestInterface $request) use ($respond): ResponseInterface { + if ('/info' === $request->getUri()->getPath()) { + return new Response(200, ['Content-Type' => 'application/json'], '{}'); + } + $this->requests[] = [ + 'method' => $request->getMethod(), + 'path' => $request->getUri()->getPath(), + 'query' => $request->getUri()->getQuery(), + 'headers' => $request->getHeaders(), + 'body' => $request->getBody()->getContents(), + ]; + + return $respond($request); + }; + $httpClient = new class($record) implements ClientInterface { + public function __construct(private $respond) + { + } + + public function sendRequest(RequestInterface $request): ResponseInterface + { + return ($this->respond)($request); + } + }; + + return Docker::create($httpClient, [], [], false); + } + + private function runExample(string $page, int $index, Docker $client, array $variables = []): string + { + $markdown = file_get_contents(\dirname(__DIR__).'/docs/'.$page.'.mdx'); + preg_match_all('/^```php[^\r\n]*\R(.*?)^```/ms', $markdown, $blocks); + self::assertArrayHasKey($index, $blocks[1]); + // Fragments reuse the imports from the complete example on their page. + preg_match_all('/^use [^;]+;$/m', implode("\n", $blocks[1]), $imports); + $code = preg_replace('/^\s*<\?php\s*/', '', $blocks[1][$index]); + $code = preg_replace('/^use [^;]+;$/m', '', $code); + $code = str_replace("require __DIR__ . '/vendor/autoload.php';", '', $code); + $code = str_replace('$docker = Docker::create();', '$docker = $documentationClient;', $code); + $code = str_replace('getenv(\'DOCKER_REGISTRY_USER\')', "'documentation-user'", $code); + $code = str_replace('getenv(\'DOCKER_REGISTRY_TOKEN\')', "'documentation-token'", $code); + $code = str_replace('__DIR__', var_export($this->fixtureDirectory, true), $code); + self::assertStringNotContainsString('Docker::create(', $code, 'Examples must use the fake transport'); + $code = "namespace {\n".implode("\n", array_unique($imports[0]))."\n".$code."\n}"; + + ob_start(); + try { + (static function (Docker $documentationClient, array $variables, string $code): void { + $docker = $documentationClient; + $username = 'documentation-user'; + $token = 'documentation-token'; + extract($variables, \EXTR_SKIP); + eval($code); + })($client, $variables, $code); + + return ob_get_contents(); + } finally { + ob_end_clean(); + } + } + + public function testContainerConfigurationPreservesNestedJsonShapes(): void + { + $client = $this->client(static fn () => new Response(201, ['Content-Type' => 'application/json'], '{"Id":"created","Warnings":[]}')); + self::assertStringContainsString('Created created', $this->runExample('cookbook/container-config', 0, $client)); + $payload = json_decode($this->requests[0]['body'], false, 512, \JSON_THROW_ON_ERROR); + self::assertInstanceOf(\stdClass::class, $payload->ExposedPorts->{'80/tcp'}); + self::assertSame('8080', $payload->HostConfig->PortBindings->{'80/tcp'}[0]->HostPort); + self::assertSame('127.0.0.1', $payload->HostConfig->PortBindings->{'80/tcp'}[0]->HostIp); + self::assertTrue($payload->HostConfig->Mounts[0]->ReadOnly); + self::assertSame(['EXAMPLE_MODE=development'], $payload->Env); + self::assertSame('POST', $this->requests[0]['method']); + self::assertSame('/containers/create', $this->requests[0]['path']); + } + + public function testPullUsesAnEncodedHeaderAndConsumesProgress(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], "{\"status\":\"Pulling\"}\n{\"status\":\"Done\"}\n")); + $output = $this->runExample('guides/registry', 0, $client); + self::assertStringContainsString('Pulling', $output); + self::assertStringContainsString('Done', $output); + $header = $this->requests[0]['headers']['X-Registry-Auth'][0]; + $auth = json_decode(base64_decode(strtr($header, '-_', '+/'), true), true, 512, \JSON_THROW_ON_ERROR); + self::assertSame('documentation-token', $auth['password']); + parse_str($this->requests[0]['query'], $query); + self::assertSame('registry.example.com/team/app', $query['fromImage']); + self::assertSame('example', $query['tag']); + } + + public function testPullReportsAnErrorInsideAnHttp200Stream(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"error":"pull denied"}')); + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('pull denied'); + $this->runExample('guides/registry', 0, $client); + } + + public function testPushConvertsTheAuthModel(): void + { + $client = $this->client(static fn (RequestInterface $request) => str_ends_with($request->getUri()->getPath(), '/tag') + ? new Response(201) + : new Response(200, ['Content-Type' => 'application/json'], '{"status":"Pushed"}')); + self::assertStringContainsString('Pushed', $this->runExample('guides/registry', 1, $client)); + self::assertCount(2, $this->requests); + $auth = json_decode(base64_decode($this->requests[1]['headers']['X-Registry-Auth'][0], true), true, 512, \JSON_THROW_ON_ERROR); + self::assertSame('documentation-user', $auth['username']); + self::assertSame('registry.example.com', $auth['serveraddress']); + } + + public static function buildExamples(): iterable + { + yield 'directory context' => [0]; + yield 'query options' => [1]; + yield 'generated context' => [2]; + yield 'private base image' => [3]; + } + + /** @dataProvider buildExamples */ + public function testBuildExamplesSendTarAndReadFrames(int $index): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"stream":"Built successfully"}')); + self::assertStringContainsString('Built successfully', $this->runExample('cookbook/build-image', $index, $client)); + self::assertSame('/build', $this->requests[0]['path']); + self::assertStringContainsString('Dockerfile', $this->requests[0]['body']); + if (1 === $index) { + parse_str($this->requests[0]['query'], $query); + self::assertSame(['APP_MODE' => 'development'], json_decode($query['buildargs'], true, 512, \JSON_THROW_ON_ERROR)); + self::assertSame('true', $query['pull']); + } + if (3 === $index) { + $config = json_decode(base64_decode($this->requests[0]['headers']['X-Registry-Config'][0], true), true, 512, \JSON_THROW_ON_ERROR); + self::assertSame('documentation-token', $config['registry.example.com']['password']); + } + } + + public function testArchiveDownloadPreservesBinaryBytes(): void + { + $bytes = "archive\0\xff".str_repeat('x', 70000); + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/x-tar'], $bytes)); + $this->runExample('guides/archives', 0, $client); + self::assertSame($bytes, file_get_contents($this->fixtureDirectory.'/container-etc.tar')); + } + + public function testArchiveDownloadChecksStatusBeforeCreatingAFile(): void + { + $client = $this->client(static fn () => new Response(404, ['Content-Type' => 'application/json'], '{"message":"not found"}')); + try { + $this->runExample('guides/archives', 0, $client); + self::fail('Expected the raw HTTP error to be rejected'); + } catch (\RuntimeException $error) { + self::assertStringContainsString('HTTP 404', $error->getMessage()); + self::assertFileDoesNotExist($this->fixtureDirectory.'/container-etc.tar'); + } + } + + public function testArchiveMetadataComesFromTheHeader(): void + { + $client = $this->client(static fn () => new Response(200, ['X-Docker-Container-Path-Stat' => base64_encode('{"name":"etc"}')], '')); + self::assertSame("etc\n", $this->runExample('guides/archives', 1, $client)); + self::assertSame('HEAD', $this->requests[0]['method']); + } + + public function testArchiveUploadStreamsTheInputAndUsesStringOptions(): void + { + $client = $this->client(static fn () => new Response(200)); + $this->runExample('guides/archives', 2, $client); + self::assertSame("upload fixture\0", $this->requests[0]['body']); + self::assertSame('PUT', $this->requests[0]['method']); + parse_str($this->requests[0]['query'], $query); + self::assertSame('true', $query['noOverwriteDirNonDir']); + self::assertSame('/tmp', $query['path']); + } + + public function testImageLoadReadsMultipleProgressDocuments(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], "{\"stream\":\"Loaded one\\n\"}\n{\"stream\":\"Loaded two\\n\"}\n")); + self::assertSame("Loaded one\nLoaded two\n", $this->runExample('guides/image-transfer', 0, $client)); + self::assertSame("image fixture\0", $this->requests[0]['body']); + } + + public function testImageLoadDetectsAnErrorInsideHttp200(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"errorDetail":{"message":"invalid archive"}}')); + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('invalid archive'); + $this->runExample('guides/image-transfer', 0, $client); + } + + public function testEventsUseStringTimestampsAndModelCallbacks(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"time":123,"Action":"start","Actor":{"ID":"example"}}')); + self::assertSame("123\tstart\texample\n", $this->runExample('guides/events-and-stats', 0, $client)); + parse_str($this->requests[0]['query'], $query); + self::assertSame(60, (int) $query['until'] - (int) $query['since']); + self::assertSame(['type' => ['container']], json_decode($query['filters'], true, 512, \JSON_THROW_ON_ERROR)); + } + + public function testStatsExplicitlyDisableStreaming(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"memory_stats":{"usage":1024}}')); + self::assertSame("Memory usage: 1024 bytes\n", $this->runExample('guides/events-and-stats', 1, $client)); + parse_str($this->requests[0]['query'], $query); + self::assertSame('0', $query['stream']); + } + + public function testJsonQueryParametersAreEncodedOnce(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '[]')); + $this->runExample('reference/requests-and-responses', 0, $client); + parse_str($this->requests[0]['query'], $query); + self::assertSame(['label' => ['docker-php-example=true'], 'status' => ['running']], json_decode($query['filters'], true, 512, \JSON_THROW_ON_ERROR)); + } + + public function testBuildReportsDaemonErrorsAfterHttpSuccess(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"error":"build failed"}')); + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('build failed'); + $this->runExample('cookbook/build-image', 0, $client); + } + + public function testLineBufferHandlesSplitLinesAndAnUnterminatedLastLine(): void + { + $frames = pack('CxxxN', 1, 3).'hel'.pack('CxxxN', 1, 7)."lo\nlast"; + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/vnd.docker.multiplexed-stream'], $frames)); + self::assertSame("line: hello\nlast line: last\n", $this->runExample('guides/logs', 2, $client)); + } + + public function testExecCreatesAndStartsWithConsistentTtySettings(): void + { + $client = $this->client(static fn (RequestInterface $request) => str_ends_with($request->getUri()->getPath(), '/exec') + ? new Response(201, ['Content-Type' => 'application/json'], '{"Id":"example-exec"}') + : new Response(101, ['Content-Type' => 'application/vnd.docker.multiplexed-stream'], pack('CxxxN', 1, 6)."hello\n")); + self::assertSame("hello\n", $this->runExample('guides/exec', 0, $client)); + $create = json_decode($this->requests[0]['body'], true, 512, \JSON_THROW_ON_ERROR); + $start = json_decode($this->requests[1]['body'], true, 512, \JSON_THROW_ON_ERROR); + self::assertFalse($create['Tty']); + self::assertFalse($start['Tty']); + self::assertFalse($start['Detach']); + } + + public function testExecChecksTheCommandExitCode(): void + { + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"Running":false,"ExitCode":7}')); + $exec = new \Docker\API\Model\IdResponse(); + $exec->setId('example-exec'); + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('exit status 7'); + $this->runExample('guides/exec', 1, $client, ['exec' => $exec]); + } + + public function testRawResponseExampleChecksTheHttpStatus(): void + { + $client = $this->client(static fn () => new Response(500)); + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('HTTP 500'); + $this->runExample('reference/requests-and-responses', 1, $client); + } + + public function testTypedErrorExampleUsesTheDaemonMessage(): void + { + $client = $this->client(static fn () => new Response(404, ['Content-Type' => 'application/json'], '{"message":"example missing"}')); + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('example missing'); + $this->runExample('reference/requests-and-responses', 2, $client); + } +} From 07d1f3e38f3f360ca3316aec79762b4bf7ed44ca Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 13:41:16 +0100 Subject: [PATCH 095/142] docs: link hosted Mintlify documentation Point the README documentation badge and 3.0 documentation link to docker-php.mintlify.site. Keep the legacy documentation available for earlier releases. Record the connected main branch, docs directory and restricted GitHub app installation in the local documentation setup guide. --- DOCUMENTATION.md | 29 +++++++++++++++-------------- README.md | 12 ++++++------ 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 92d13ee84..3890c3075 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -4,9 +4,9 @@ The Docker PHP 3.0 documentation uses Mintlify. Its source lives in `docs/` in this repository, alongside the client code. This replaces the legacy MkDocs configuration; earlier documentation remains available in Git history. -The site is being prepared. No hosted Mintlify URL or custom domain is configured -in the repository, and the upcoming package releases are still marked as -unpublished. +The public site is hosted at [docker-php.mintlify.site](https://docker-php.mintlify.site/). +It remains a work in progress for the upcoming package releases, which are still +marked as unpublished. No custom domain is configured. ## Local preview @@ -63,7 +63,7 @@ assets with the local tooling. ## Hosted setup -Connect the Mintlify project to these settings when the site is ready to deploy: +The Mintlify project is connected with these settings: | Setting | Value | | --- | --- | @@ -73,25 +73,26 @@ Connect the Mintlify project to these settings when the site is ready to deploy: | Documentation path | `/docs` | | Configuration file | `docs/docs.json` | -Use [Mintlify's monorepo setup](https://www.mintlify.com/docs/deploy/monorepo), -not a new template repository. The GitHub app needs access only to this public -repository. Check its requested permissions before authorizing installation. -Do not grant access to the Cylo repositories. +This uses [Mintlify's monorepo setup](https://www.mintlify.com/docs/deploy/monorepo), +not a separate template repository. The GitHub app installation is restricted to +`docker-php/docker-php`. Review requested permissions before changing that scope; +do not grant access to the Cylo repositories. -The configuration uses the standard theme and built-in components. Start with -the free Starter plan; do not assume eligibility for sponsored OSS Pro access -or enable a paid trial or subscription as part of this setup. +The workspace uses the free Starter plan. Mintlify included a temporary Pro +feature trial during onboarding; these docs use the standard theme and built-in +components and do not depend on Pro features. Do not assume eligibility for +sponsored OSS Pro access or enable a paid upgrade as part of this setup. Mintlify deploys from the connected repository. Commit and push only when you intend those documentation changes to reach the connected site. A dashboard connection, repository update or custom-domain change can publish the site; review the draft and confirm the destination before doing that. -## Before replacing the old documentation link +## Before publishing package releases - Review the v3.0 migration instructions and test their examples. - Confirm the connected repository, branch and docs path. - Check the hosted site's navigation, mobile layout and internal links. -- Choose a documentation hostname and configure its DNS separately. -- Replace the legacy README links only after the new site is reachable. +- Configure a custom documentation hostname and DNS separately if needed. +- Keep legacy documentation accessible for users of earlier releases. - Remove the unreleased notices when both package releases are published. diff --git a/README.md b/README.md index 538a539a9..1478f95a5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Docker PHP **Docker PHP** (for lack of a better name) is a [Docker](https://www.docker.com/) client written in PHP. This library aims to reach 100% API support of the Docker Engine. -[![Documentation Status](https://readthedocs.org/projects/docker-php/badge/?version=latest)](https://docker-php.readthedocs.io/en/latest/) +[![Documentation](https://img.shields.io/badge/docs-Mintlify-blue?style=flat-square)](https://docker-php.mintlify.site/) [![Latest Version](https://img.shields.io/github/release/docker-php/docker-php.svg?style=flat-square)](https://github.com/docker-php/docker-php/releases) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) [![Total Downloads](https://img.shields.io/packagist/dt/docker-php/docker-php.svg?style=flat-square)](https://packagist.org/packages/docker-php/docker-php) @@ -28,11 +28,11 @@ existing releases. Version 3.0 has not been published yet. The installation and migration instructions below apply once it is available. -We're updating the documentation for version 3.0 and expect to publish it soon. -The new site is being prepared with Mintlify, with its source in [docs/](docs/). -See [DOCUMENTATION.md](DOCUMENTATION.md) to preview and edit it locally. The -Read the Docs link above still points to the legacy documentation until the new -site is published. +The [version 3.0 documentation](https://docker-php.mintlify.site/) is available +and is still being updated ahead of the release. Its source lives in +[docs/](docs/); see [DOCUMENTATION.md](DOCUMENTATION.md) to preview and edit it +locally. The [legacy documentation](https://docker-php.readthedocs.io/en/latest/) +remains available for earlier releases. ## Requirements From a47de5f4b3a55617ff392e79c027c1bb18597c2c Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 14:03:34 +0100 Subject: [PATCH 096/142] docs: give documentation its own README section Move the documentation links above the maintainer history so readers can find them near the top of the README. --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1478f95a5..fb804a25e 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,14 @@ This library aims to reach 100% API support of the Docker Engine. [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) [![Total Downloads](https://img.shields.io/packagist/dt/docker-php/docker-php.svg?style=flat-square)](https://packagist.org/packages/docker-php/docker-php) +## Documentation + +The [version 3.0 documentation](https://docker-php.mintlify.site/) is available +and is still being updated ahead of the release. Its source lives in +[docs/](docs/); see [DOCUMENTATION.md](DOCUMENTATION.md) to preview and edit it +locally. The [legacy documentation](https://docker-php.readthedocs.io/en/latest/) +remains available for earlier releases. + ## New maintainers After this repository was archived in 2019, the code was forked in @@ -28,12 +36,6 @@ existing releases. Version 3.0 has not been published yet. The installation and migration instructions below apply once it is available. -The [version 3.0 documentation](https://docker-php.mintlify.site/) is available -and is still being updated ahead of the release. Its source lives in -[docs/](docs/); see [DOCUMENTATION.md](DOCUMENTATION.md) to preview and edit it -locally. The [legacy documentation](https://docker-php.readthedocs.io/en/latest/) -remains available for earlier releases. - ## Requirements - PHP 8.1 or later, with the `mbstring` extension. From 3907105bf267d083c56669eabcbe2a6e12be1528 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 16:56:34 +0100 Subject: [PATCH 097/142] fix(transport): support explicit endpoints and live output Normalize HTTP and HTTPS daemon addresses to TCP sockets while keeping TLS enabled for HTTPS and preserving socket options. Return available decoded chunks and drain buffered socket bytes before waiting for more data. Small log and TTY payloads previously waited for an 8 KB read or EOF. Add Unix/TCP, TLS, chunked-response and upgraded-stream regression tests. Retain HTTPlug content decoding and request encoding negotiation. --- src/DockerClientFactory.php | 30 +++-- src/Http/StreamingDecoderPlugin.php | 40 ++++++ src/Stream/DechunkStream.php | 30 +++++ src/Stream/SocketReadStream.php | 31 +++++ tests/DockerClientFactoryTest.php | 58 ++++++++- tests/DockerClientFactoryTransportTest.php | 140 +++++++++++++++++++++ tests/Http/StreamingDecoderPluginTest.php | 108 ++++++++++++++++ tests/Stream/DechunkStreamTest.php | 83 ++++++++++++ tests/Stream/SocketReadStreamTest.php | 33 +++++ tests/StreamingTransportTest.php | 64 ++++++++++ tests/TransportTestCase.php | 114 +++++++++++++++++ tests/fixtures/socket-server.php | 85 +++++++++++++ 12 files changed, 807 insertions(+), 9 deletions(-) create mode 100644 src/Http/StreamingDecoderPlugin.php create mode 100644 src/Stream/DechunkStream.php create mode 100644 src/Stream/SocketReadStream.php create mode 100644 tests/DockerClientFactoryTransportTest.php create mode 100644 tests/Http/StreamingDecoderPluginTest.php create mode 100644 tests/Stream/DechunkStreamTest.php create mode 100644 tests/Stream/SocketReadStreamTest.php create mode 100644 tests/StreamingTransportTest.php create mode 100644 tests/TransportTestCase.php create mode 100644 tests/fixtures/socket-server.php diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 16511cc2d..dabf81561 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -4,10 +4,10 @@ namespace Docker; +use Docker\Http\StreamingDecoderPlugin; use Http\Client\Common\Plugin\AddHostPlugin; use Http\Client\Common\Plugin\AddPathPlugin; use Http\Client\Common\Plugin\ContentLengthPlugin; -use Http\Client\Common\Plugin\DecoderPlugin; use Http\Client\Common\Plugin\HeaderDefaultsPlugin; use Http\Client\Common\PluginClient; use Http\Client\Common\PluginClientFactory; @@ -22,10 +22,26 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl $config['remote_socket'] = 'unix:///var/run/docker.sock'; } - $socketClient = new Client($config); - $uriFactory = Psr17FactoryDiscovery::findUriFactory(); - $host = preg_match('/unix:\/\//', $config['remote_socket']) ? 'http://localhost' : $config['remote_socket']; + $unixSocket = str_starts_with($config['remote_socket'], 'unix://'); + $host = $uriFactory->createUri($unixSocket ? 'http://localhost' : $config['remote_socket']); + $scheme = $unixSocket ? 'unix' : $host->getScheme(); + + if (\in_array($scheme, ['http', 'https', 'tcp'], true)) { + if ('https' === $scheme) { + $config['ssl'] = true; + } + + if ('http' === $scheme || 'https' === $scheme) { + // The socket client negotiates TLS after opening the TCP connection. + $port = $host->getPort() ?? ('https' === $scheme ? 443 : 80); + $config['remote_socket'] = 'tcp://'.$host->getHost().':'.$port; + } + + $host = $host->withScheme(($config['ssl'] ?? false) ? 'https' : 'http'); + } + + $socketClient = new Client($config); $dockerApiVersion = ltrim(getenv('DOCKER_API_VERSION') ?: 'v1.45', '/'); if (!str_starts_with($dockerApiVersion, 'v')) { $dockerApiVersion = 'v'.$dockerApiVersion; @@ -37,11 +53,11 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl $socketClient, [ new ContentLengthPlugin(), - new DecoderPlugin(), + new StreamingDecoderPlugin(), new AddPathPlugin($uriFactory->createUri('/'.$dockerApiVersion)), - new AddHostPlugin($uriFactory->createUri($host)), + new AddHostPlugin($host), new HeaderDefaultsPlugin([ - 'host' => parse_url($host, \PHP_URL_HOST), + 'host' => $host->withUserInfo('')->getAuthority(), ]), ], [ diff --git a/src/Http/StreamingDecoderPlugin.php b/src/Http/StreamingDecoderPlugin.php new file mode 100644 index 000000000..85ef5ab80 --- /dev/null +++ b/src/Http/StreamingDecoderPlugin.php @@ -0,0 +1,40 @@ +decoder = new DecoderPlugin($config); + } + + public function handleRequest(RequestInterface $request, callable $next, callable $first): Promise + { + return $this->decoder->handleRequest($request, static function (RequestInterface $request) use ($next): Promise { + return $next($request)->then(static function (ResponseInterface $response): ResponseInterface { + if ($response->getBody() instanceof SocketStream) { + $response = $response->withBody(new SocketReadStream($response->getBody())); + } + if ('chunked' === strtolower(trim($response->getHeaderLine('Transfer-Encoding')))) { + return $response->withBody(new DechunkStream($response->getBody()))->withoutHeader('Transfer-Encoding'); + } + + return $response; + }); + }, $first); + } +} diff --git a/src/Stream/DechunkStream.php b/src/Stream/DechunkStream.php new file mode 100644 index 000000000..b6705e47d --- /dev/null +++ b/src/Stream/DechunkStream.php @@ -0,0 +1,30 @@ +buffer && !$this->stream->eof()) { + $this->fill(); + } + + $output = substr($this->buffer, 0, $length); + $this->buffer = substr($this->buffer, \strlen($output)); + + return $output; + } +} diff --git a/src/Stream/SocketReadStream.php b/src/Stream/SocketReadStream.php new file mode 100644 index 000000000..d0df0da48 --- /dev/null +++ b/src/Stream/SocketReadStream.php @@ -0,0 +1,31 @@ +stream = $stream; + } + + public function read(int $length): string + { + $buffered = $this->stream->getMetadata('unread_bytes'); + if (\is_int($buffered) && $buffered > 0 && $length > 0) { + $length = min($length, $buffered); + } + + return $this->stream->read($length); + } +} diff --git a/tests/DockerClientFactoryTest.php b/tests/DockerClientFactoryTest.php index 815d9a4df..5c904b18f 100644 --- a/tests/DockerClientFactoryTest.php +++ b/tests/DockerClientFactoryTest.php @@ -8,10 +8,23 @@ use Http\Client\Common\Plugin\AddPathPlugin; use Http\Client\Common\PluginClient; use Http\Client\Common\PluginClientFactory; +use Http\Client\Socket\Client; +use PHPUnit\Framework\Attributes\DataProvider; use Psr\Http\Client\ClientInterface; class DockerClientFactoryTest extends TestCase { + private array $environment = []; + + protected function setUp(): void + { + parent::setUp(); + foreach (['DOCKER_HOST', 'DOCKER_API_VERSION', 'DOCKER_TLS_VERIFY', 'DOCKER_CERT_PATH', 'DOCKER_PEER_NAME'] as $name) { + $this->environment[$name] = getenv($name); + putenv($name); + } + } + protected function tearDown(): void { parent::tearDown(); @@ -20,8 +33,9 @@ protected function tearDown(): void return new PluginClient($client, $plugins, $options); }); - putenv('DOCKER_API_VERSION'); - putenv('DOCKER_TLS_VERIFY'); + foreach ($this->environment as $name => $value) { + putenv(false === $value ? $name : $name.'='.$value); + } } public function testStaticConstructor(): void @@ -29,6 +43,46 @@ public function testStaticConstructor(): void $this->assertInstanceOf(ClientInterface::class, DockerClientFactory::create()); } + public static function socketAddresses(): array + { + return [ + 'Unix socket' => ['unix:///var/run/docker.sock', 'unix:///var/run/docker.sock', 'http://localhost', null], + 'TCP socket' => ['tcp://docker.test:2375', 'tcp://docker.test:2375', 'http://docker.test:2375', null], + 'HTTP URL' => ['http://docker.test:2375', 'tcp://docker.test:2375', 'http://docker.test:2375', null], + 'HTTPS URL' => ['https://docker.test:2376', 'tcp://docker.test:2376', 'https://docker.test:2376', true], + 'Default HTTP port' => ['http://docker.test', 'tcp://docker.test:80', 'http://docker.test', null], + 'Default HTTPS port' => ['https://docker.test', 'tcp://docker.test:443', 'https://docker.test', true], + 'Explicit default HTTPS port' => ['https://docker.test:443', 'tcp://docker.test:443', 'https://docker.test', true], + 'IPv6 HTTP' => ['http://[::1]:2375', 'tcp://[::1]:2375', 'http://[::1]:2375', null], + 'IPv6 HTTPS' => ['https://[::1]', 'tcp://[::1]:443', 'https://[::1]', true], + 'Uppercase HTTPS scheme' => ['HTTPS://docker.test:2376', 'tcp://docker.test:2376', 'https://docker.test:2376', true], + ]; + } + + #[DataProvider('socketAddresses')] + public function testSocketAddressAndRequestUri(string $address, string $socket, string $host, ?bool $ssl): void + { + $config = []; + $uri = null; + PluginClientFactory::setFactory(static function (Client $client, array $plugins, array $options) use (&$config, &$uri): PluginClient { + $config = (new \ReflectionProperty($client, 'config'))->getValue($client); + foreach ($plugins as $plugin) { + if ($plugin instanceof \Http\Client\Common\Plugin\AddHostPlugin) { + $uri = (new \ReflectionProperty($plugin, 'host'))->getValue($plugin); + } + } + unset($options['client_name']); + + return new PluginClient($client, $plugins, $options); + }); + + DockerClientFactory::create(['remote_socket' => $address]); + + $this->assertSame($socket, $config['remote_socket']); + $this->assertSame($ssl, $config['ssl']); + $this->assertSame($host, (string) $uri); + } + public function testDefaultApiVersion(): void { $this->assertSame('/v1.45', $this->getApiPath()); diff --git a/tests/DockerClientFactoryTransportTest.php b/tests/DockerClientFactoryTransportTest.php new file mode 100644 index 000000000..70265421d --- /dev/null +++ b/tests/DockerClientFactoryTransportTest.php @@ -0,0 +1,140 @@ + ['unix'], + 'TCP socket' => ['tcp'], + 'HTTP URL' => ['http'], + 'HTTPS URL' => ['https'], + ]; + } + + #[DataProvider('transports')] + public function testRealConnection(string $scheme): void + { + $serverConfig = []; + $clientConfig = ['timeout' => 3000]; + if ('https' === $scheme) { + $this->createCertificates(); + $serverConfig['ssl'] = $this->serverTlsOptions(); + $clientConfig['stream_context_options']['ssl']['cafile'] = $this->directory.'/ca.pem'; + } + $address = $this->startServer($serverConfig, 'unix' === $scheme); + $clientConfig['remote_socket'] = $scheme.'://'.$address; + $response = DockerClientFactory::create($clientConfig)->sendRequest(new Request('GET', '/_ping')); + + $this->assertSame(200, $response->getStatusCode()); + $this->assertSame('OK', $response->getBody()->getContents()); + $request = $this->serverResult()['request']; + $this->assertStringStartsWith("GET /v1.45/_ping HTTP/1.1\r\n", $request); + $expectedHost = 'unix' === $scheme ? 'localhost' : $address; + $this->assertStringContainsString('Host: '.$expectedHost."\r\n", $request); + } + + public function testHttpUrlFromEnvironment(): void + { + $address = $this->startServer(); + putenv('DOCKER_HOST=http://'.$address); + putenv('DOCKER_API_VERSION=1.52'); + + $response = DockerClientFactory::createFromEnv()->sendRequest(new Request('GET', '/_ping')); + + $this->assertSame('OK', $response->getBody()->getContents()); + $this->assertStringStartsWith('GET /v1.52/_ping HTTP/1.1', $this->serverResult()['request']); + } + + public function testHttpsDoesNotAllowPlaintextDowngrade(): void + { + $this->createCertificates(); + $address = $this->startServer(['ssl' => $this->serverTlsOptions()]); + $response = DockerClientFactory::create([ + 'remote_socket' => 'https://'.$address, + 'ssl' => false, + 'timeout' => 3000, + 'stream_context_options' => ['ssl' => ['cafile' => $this->directory.'/ca.pem']], + ])->sendRequest(new Request('GET', '/_ping')); + + $this->assertSame('OK', $response->getBody()->getContents()); + $this->assertNotEmpty($this->serverResult()['request']); + } + + public function testHttpsRejectsUntrustedCertificate(): void + { + $this->createCertificates(); + $address = $this->startServer(['ssl' => $this->serverTlsOptions()]); + $this->expectException(SSLConnectionException::class); + + DockerClientFactory::create([ + 'remote_socket' => 'https://'.$address, + 'timeout' => 3000, + ])->sendRequest(new Request('GET', '/_ping')); + } + + public function testHttpsRejectsWrongPeerName(): void + { + $this->createCertificates(); + $address = $this->startServer(['ssl' => $this->serverTlsOptions()]); + $this->expectException(SSLConnectionException::class); + + DockerClientFactory::create([ + 'remote_socket' => 'https://'.$address, + 'timeout' => 3000, + 'stream_context_options' => ['ssl' => [ + 'cafile' => $this->directory.'/ca.pem', + 'peer_name' => 'not-docker.test', + ]], + ])->sendRequest(new Request('GET', '/_ping')); + } + + public static function tlsTransports(): array + { + return ['TCP with TLS' => ['tcp'], 'HTTPS with client certificates' => ['https']]; + } + + #[DataProvider('tlsTransports')] + public function testTlsEnvironmentWithClientCertificates(string $scheme): void + { + $this->createCertificates(); + $address = $this->startServer(['ssl' => $this->serverTlsOptions() + [ + 'verify_peer' => true, + 'verify_peer_name' => false, + 'cafile' => $this->directory.'/ca.pem', + 'capture_peer_cert' => true, + ]]); + putenv('DOCKER_HOST='.$scheme.'://'.$address); + putenv('DOCKER_TLS_VERIFY=1'); + putenv('DOCKER_CERT_PATH='.$this->directory); + putenv('DOCKER_PEER_NAME=docker.test'); + + $response = DockerClientFactory::createFromEnv()->sendRequest(new Request('GET', '/_ping')); + + $this->assertSame('OK', $response->getBody()->getContents()); + $this->assertSame('docker-client', $this->serverResult()['peer']); + } + + public function testUpgradedResponseRemainsReadable(): void + { + $address = $this->startServer(['upgrade' => true]); + $response = DockerClientFactory::create(['remote_socket' => 'http://'.$address])->sendRequest( + new Request('POST', '/exec/test/start', ['Connection' => 'Upgrade', 'Upgrade' => 'tcp']) + ); + + $this->assertSame(101, $response->getStatusCode()); + $this->assertSame('stream-output', $response->getBody()->getContents()); + $request = $this->serverResult()['request']; + $this->assertStringContainsString("Connection: Upgrade\r\n", $request); + $this->assertStringContainsString("Upgrade: tcp\r\n", $request); + } +} diff --git a/tests/Http/StreamingDecoderPluginTest.php b/tests/Http/StreamingDecoderPluginTest.php new file mode 100644 index 000000000..95eb59a30 --- /dev/null +++ b/tests/Http/StreamingDecoderPluginTest.php @@ -0,0 +1,108 @@ + new FulfilledPromise($response); + + return (new StreamingDecoderPlugin($config))->handleRequest(new Request('GET', 'http://localhost/_ping'), $next, $next)->wait(); + } + + public static function encodings(): iterable + { + yield 'chunked' => ['chunked']; + yield 'case insensitive' => ['CHUNKED']; + yield 'whitespace' => [' chunked ']; + } + + #[DataProvider('encodings')] + public function testChunkedResponseUsesIncrementalDecoder(string $encoding): void + { + $response = $this->decode(new Response(200, ['Transfer-Encoding' => $encoding], "5\r\nhello\r\n0\r\n\r\n")); + + self::assertInstanceOf(DechunkStream::class, $response->getBody()); + self::assertFalse($response->hasHeader('Transfer-Encoding')); + self::assertSame('hello', $response->getBody()->getContents()); + } + + public static function unencodedResponses(): iterable + { + yield 'ordinary JSON' => [200, ['Content-Type' => 'application/json'], '{"ok":true}']; + yield 'upgraded stream' => [101, ['Connection' => 'Upgrade', 'Upgrade' => 'tcp'], "\x00raw\r\n"]; + yield 'unknown transfer encoding' => [200, ['Transfer-Encoding' => 'custom'], 'unchanged']; + } + + #[DataProvider('unencodedResponses')] + public function testUnencodedResponseIsNotChanged(int $status, array $headers, string $body): void + { + $response = new Response($status, $headers, $body); + + $decoded = $this->decode($response); + self::assertSame($response->getStatusCode(), $decoded->getStatusCode()); + self::assertSame($response->getHeaders(), $decoded->getHeaders()); + self::assertSame($response->getBody(), $decoded->getBody()); + self::assertSame($body, $response->getBody()->getContents()); + } + + public static function compression(): iterable + { + yield 'gzip' => ['gzip', false]; + yield 'chunked gzip' => ['gzip', true]; + yield 'deflate' => ['deflate', false]; + yield 'chunked deflate' => ['deflate', true]; + } + + #[DataProvider('compression')] + public function testRetainsContentDecoding(string $encoding, bool $chunked): void + { + $body = 'compressed response'; + $encoded = 'gzip' === $encoding ? gzencode($body) : gzcompress($body); + $headers = ['Content-Encoding' => $encoding]; + if ($chunked) { + $encoded = dechex(\strlen($encoded))."\r\n".$encoded."\r\n0\r\n\r\n"; + $headers['Transfer-Encoding'] = 'chunked'; + } + $response = $this->decode(new Response(200, $headers, $encoded)); + + self::assertSame($body, $response->getBody()->getContents()); + self::assertFalse($response->hasHeader('Content-Encoding')); + self::assertFalse($response->hasHeader('Transfer-Encoding')); + } + + public function testContentDecodingCanStillBeDisabled(): void + { + $encoded = gzencode('compressed response'); + $response = $this->decode(new Response(200, ['Content-Encoding' => 'gzip', 'Transfer-Encoding' => 'chunked'], dechex(\strlen($encoded))."\r\n".$encoded."\r\n0\r\n\r\n"), ['use_content_encoding' => false]); + + self::assertSame($encoded, $response->getBody()->getContents()); + self::assertSame('gzip', $response->getHeaderLine('Content-Encoding')); + self::assertFalse($response->hasHeader('Transfer-Encoding')); + } + + public function testPreservesRequestEncodingNegotiation(): void + { + $next = static function (RequestInterface $request): FulfilledPromise { + self::assertSame(['gzip', 'deflate'], $request->getHeader('Accept-Encoding')); + self::assertSame(['gzip', 'deflate', 'chunked'], $request->getHeader('TE')); + + return new FulfilledPromise(new Response()); + }; + + (new StreamingDecoderPlugin())->handleRequest(new Request('GET', 'http://localhost/_ping'), $next, $next)->wait(); + } +} diff --git a/tests/Stream/DechunkStreamTest.php b/tests/Stream/DechunkStreamTest.php new file mode 100644 index 000000000..72fc9f9c2 --- /dev/null +++ b/tests/Stream/DechunkStreamTest.php @@ -0,0 +1,83 @@ +createMock(StreamInterface::class); + $source->method('eof')->willReturn(false); + $source->expects(self::once())->method('read')->with(8192)->willReturn("5\r\nhello\r\n"); + + self::assertSame('hello', (new DechunkStream($source))->read(8192)); + } + + public static function bodies(): iterable + { + yield 'empty body' => ["0\r\n\r\n", '', 8192, 8192]; + yield 'one chunk' => ["5\r\nhello\r\n0\r\n\r\n", 'hello', 8192, 8192]; + yield 'short reads' => ["5\r\nhello\r\n5\r\nworld\r\n0\r\n\r\n", 'helloworld', 8192, 3]; + yield 'split headers and payloads' => ["5\r\nhello\r\n5\r\nworld\r\n0\r\n\r\n", 'helloworld', 1, 8192]; + yield 'chunk extensions and trailers' => ["5;foo=bar\r\nhello\r\n0\r\nX-Test: yes\r\n\r\n", 'hello', 2, 3]; + yield 'binary payload' => ["4\r\n\x00\xff\r\n\r\n0\r\n\r\n", "\x00\xff\r\n", 3, 1]; + $large = str_repeat('abc', 10_000); + yield 'larger than the read buffer' => [dechex(\strlen($large))."\r\n".$large."\r\n0\r\n\r\n", $large, 8192, 8192]; + } + + #[DataProvider('bodies')] + public function testDecodesNonSeekableInput(string $body, string $expected, int $sourceReadSize, int $readSize): void + { + $position = 0; + $source = $this->createMock(StreamInterface::class); + $source->method('eof')->willReturnCallback(static function () use (&$position, $body): bool { + return $position >= \strlen($body); + }); + $source->method('read')->willReturnCallback(static function (int $length) use (&$position, $body, $sourceReadSize): string { + $output = substr($body, $position, min($length, $sourceReadSize)); + $position += \strlen($output); + + return $output; + }); + $source->expects(self::never())->method('seek'); + $source->expects(self::never())->method('rewind'); + $source->expects(self::never())->method('getContents'); + $stream = new DechunkStream($source); + $output = ''; + while (!$stream->eof()) { + $chunk = $stream->read($readSize); + self::assertLessThanOrEqual($readSize, \strlen($chunk)); + $output .= $chunk; + } + + self::assertSame($expected, $output); + self::assertSame('', $stream->read($readSize)); + self::assertFalse($stream->isSeekable()); + self::assertNull($stream->getSize()); + } + + public function testZeroLengthReadDoesNotConsumeInput(): void + { + $stream = new DechunkStream(Stream::create("5\r\nhello\r\n0\r\n\r\n")); + + self::assertSame('', $stream->read(0)); + self::assertSame('hello', $stream->getContents()); + } + + public function testNegativeLengthReadIsRejected(): void + { + $source = $this->createMock(StreamInterface::class); + $source->expects(self::never())->method('read'); + $this->expectException(\InvalidArgumentException::class); + + (new DechunkStream($source))->read(-1); + } +} diff --git a/tests/Stream/SocketReadStreamTest.php b/tests/Stream/SocketReadStreamTest.php new file mode 100644 index 000000000..90971c243 --- /dev/null +++ b/tests/Stream/SocketReadStreamTest.php @@ -0,0 +1,33 @@ + [7, 8192, 7]; + yield 'buffer exceeds request' => [20, 8, 8]; + yield 'no buffered bytes' => [0, 8192, 8192]; + yield 'metadata unavailable' => [null, 8192, 8192]; + yield 'zero length' => [7, 0, 0]; + } + + #[DataProvider('readSizes')] + public function testUsesBufferedBytesBeforeReadingMore(?int $buffered, int $requested, int $expectedRead): void + { + $source = $this->createMock(StreamInterface::class); + $source->expects(self::once())->method('getMetadata')->with('unread_bytes')->willReturn($buffered); + $expected = str_repeat('x', $expectedRead); + $source->expects(self::once())->method('read')->with($expectedRead)->willReturn($expected); + + self::assertSame($expected, (new SocketReadStream($source))->read($requested)); + } +} diff --git a/tests/StreamingTransportTest.php b/tests/StreamingTransportTest.php new file mode 100644 index 000000000..b9d2b2dd9 --- /dev/null +++ b/tests/StreamingTransportTest.php @@ -0,0 +1,64 @@ + false, 'Unix' => true] as $transport => $unix) { + foreach (['TTY' => false, 'multiplexed' => true] as $format => $multiplexed) { + yield $transport.' chunked '.$format => [$unix, $multiplexed, true]; + yield $transport.' upgraded '.$format => [$unix, $multiplexed, false]; + } + } + } + + #[DataProvider('streams')] + public function testCallbacksReceiveOutputBeforeThePeerFinishes(bool $unix, bool $multiplexed, bool $chunked): void + { + $first = $multiplexed ? pack('CxxxN', 1, 6)."first\n".pack('CxxxN', 2, 6)."error\n" : "first\r\nerror\r\n"; + $last = $multiplexed ? pack('CxxxN', 1, 5)."last\n".pack('CxxxN', 2, 6)."final\n" : "last\r\nfinal\r\n"; + $response = ['status' => 101, 'headers' => ['Connection' => 'Upgrade', 'Upgrade' => 'tcp']]; + if ($chunked) { + $response = ['headers' => ['Transfer-Encoding' => 'chunked']]; + $first = dechex(\strlen($first))."\r\n".$first."\r\n"; + $last = dechex(\strlen($last))."\r\n".$last."\r\n0\r\n\r\n"; + } + $address = $this->startServer(['responses' => [$response + [ + 'segments_base64' => [base64_encode($first), base64_encode($last)], + 'delay_ms' => 1000, + ]]], $unix); + $client = DockerClientFactory::create(['remote_socket' => ($unix ? 'unix://' : 'tcp://').$address, 'timeout' => 3000]); + $response = $client->sendRequest(new Request('GET', '/stream')); + $stream = new DockerRawStream($response->getBody(), $multiplexed); + $stdout = ''; + $stderr = ''; + $firstCallback = null; + $lastCallback = null; + $stream->onStdout(static function (string $output) use (&$stdout, &$firstCallback, &$lastCallback): void { + $firstCallback ??= hrtime(true); + $lastCallback = hrtime(true); + $stdout .= $output; + }); + $stream->onStderr(static function (string $output) use (&$stderr, &$firstCallback, &$lastCallback): void { + $firstCallback ??= hrtime(true); + $lastCallback = hrtime(true); + $stderr .= $output; + }); + $stream->wait(); + + self::assertSame($multiplexed ? "first\nlast\n" : "first\r\nerror\r\nlast\r\nfinal\r\n", $stdout); + self::assertSame($multiplexed ? "error\nfinal\n" : '', $stderr); + self::assertNotNull($firstCallback); + self::assertGreaterThan(500_000_000, $lastCallback - $firstCallback, 'Output was buffered until the peer finished.'); + self::assertStringContainsString('GET /v1.45/stream HTTP/1.1', $this->serverResult()['request']); + } +} diff --git a/tests/TransportTestCase.php b/tests/TransportTestCase.php new file mode 100644 index 000000000..673144e0e --- /dev/null +++ b/tests/TransportTestCase.php @@ -0,0 +1,114 @@ +directory = sys_get_temp_dir().'/docker-test-'.bin2hex(random_bytes(6)); + mkdir($this->directory, 0700); + + foreach (['DOCKER_HOST', 'DOCKER_API_VERSION', 'DOCKER_TLS_VERIFY', 'DOCKER_CERT_PATH', 'DOCKER_PEER_NAME'] as $name) { + $this->environment[$name] = getenv($name); + putenv($name); + } + } + + protected function tearDown(): void + { + $this->server?->stop(0); + (new Filesystem())->remove($this->directory); + foreach ($this->environment as $name => $value) { + putenv(false === $value ? $name : $name.'='.$value); + } + parent::tearDown(); + } + + protected function startServer(array $options = [], bool $unix = false): string + { + $socket = $this->directory.'/sock'; + $options['address'] = $unix ? 'unix://'.$socket : 'tcp://127.0.0.1:0'; + $this->server = new Process([\PHP_BINARY, '-d', 'display_errors=stderr', __DIR__.'/fixtures/socket-server.php', json_encode($options, \JSON_THROW_ON_ERROR)]); + $this->server->setTimeout(10); + $this->server->start(); + $ready = $this->server->waitUntil(fn () => str_contains($this->server->getOutput(), "\n")); + $this->assertTrue($ready, $this->server->getErrorOutput()); + $message = json_decode(explode("\n", $this->server->getOutput())[0], true, 512, \JSON_THROW_ON_ERROR); + + return $unix ? $socket : $message['address']; + } + + protected function serverResult(int $index = 0): array + { + $this->server->wait(); + $this->assertTrue($this->server->isSuccessful(), $this->server->getErrorOutput()); + + return json_decode(explode("\n", $this->server->getOutput())[$index + 1], true, 512, \JSON_THROW_ON_ERROR); + } + + protected function serverTlsOptions(): array + { + return [ + 'local_cert' => $this->directory.'/server.pem', + 'local_pk' => $this->directory.'/server-key.pem', + ]; + } + + protected function createCertificates(string $serverNames = 'DNS:docker.test,DNS:localhost,IP:127.0.0.1'): void + { + $config = $this->directory.'/openssl.cnf'; + file_put_contents( + $config, + str_replace( + 'SERVER_NAMES', + $serverNames, + <<<'CONFIG' + [req] + distinguished_name = dn + [dn] + [ca] + basicConstraints = critical,CA:TRUE + keyUsage = critical,keyCertSign,cRLSign + [server] + basicConstraints = critical,CA:FALSE + keyUsage = critical,digitalSignature,keyEncipherment + extendedKeyUsage = serverAuth + subjectAltName = SERVER_NAMES + [client] + basicConstraints = critical,CA:FALSE + keyUsage = critical,digitalSignature,keyEncipherment + extendedKeyUsage = clientAuth + CONFIG + ) + ); + $options = ['config' => $config, 'private_key_bits' => 2048, 'digest_alg' => 'sha256']; + $caKey = openssl_pkey_new($options); + $caRequest = openssl_csr_new(['commonName' => 'Docker PHP test CA'], $caKey, $options); + $ca = openssl_csr_sign($caRequest, null, $caKey, 1, $options + ['x509_extensions' => 'ca'], 1); + $this->assertNotFalse($ca); + openssl_x509_export_to_file($ca, $this->directory.'/ca.pem'); + + foreach (['server' => 'docker.test', 'client' => 'docker-client'] as $type => $name) { + $key = openssl_pkey_new($options); + $request = openssl_csr_new(['commonName' => $name], $key, $options); + $certificate = openssl_csr_sign($request, $ca, $caKey, 1, $options + ['x509_extensions' => $type], 'server' === $type ? 2 : 3); + $this->assertNotFalse($certificate); + openssl_x509_export_to_file($certificate, $this->directory.('server' === $type ? '/server.pem' : '/cert.pem')); + openssl_pkey_export_to_file($key, $this->directory.('server' === $type ? '/server-key.pem' : '/key.pem'), null, $options); + } + } +} diff --git a/tests/fixtures/socket-server.php b/tests/fixtures/socket-server.php new file mode 100644 index 000000000..070b464ea --- /dev/null +++ b/tests/fixtures/socket-server.php @@ -0,0 +1,85 @@ + $config['ssl'] ?? []]); +$server = stream_socket_server($config['address'], $errno, $error, STREAM_SERVER_BIND | STREAM_SERVER_LISTEN, $context); +if (false === $server) { + throw new RuntimeException($error, $errno); +} + +echo json_encode(['address' => stream_socket_get_name($server, false)], JSON_THROW_ON_ERROR)."\n"; +fflush(STDOUT); + +$responses = $config['responses'] ?? [($config['upgrade'] ?? false) + ? ['status' => 101, 'body' => 'stream-output', 'headers' => ['Connection' => 'Upgrade', 'Upgrade' => 'tcp']] + : ['body' => 'OK']]; + +foreach ($responses as $response) { + $connection = stream_socket_accept($server, 5); + if (false === $connection) { + throw new RuntimeException('No test client connected.'); + } + stream_set_timeout($connection, 5); + + if (isset($config['ssl']) && true !== @stream_socket_enable_crypto($connection, true, STREAM_CRYPTO_METHOD_TLSv1_2_SERVER)) { + echo json_encode(['tls' => false], JSON_THROW_ON_ERROR)."\n"; + fclose($connection); + fclose($server); + exit(0); + } + + $request = ''; + while (false !== ($line = fgets($connection))) { + $request .= $line; + if ("\r\n" === $line) { + break; + } + } + $body = ''; + if (preg_match('/\r\nContent-Length:\s*(\d+)/i', $request, $match)) { + while (strlen($body) < (int) $match[1]) { + $chunk = fread($connection, (int) $match[1] - strlen($body)); + if (false === $chunk || '' === $chunk) { + throw new RuntimeException('Incomplete request body.'); + } + $body .= $chunk; + } + } + + $result = ['request' => $request, 'body' => $body]; + $options = stream_context_get_options($connection); + if (isset($options['ssl']['peer_certificate'])) { + $result['peer'] = openssl_x509_parse($options['ssl']['peer_certificate'])['subject']['CN']; + } + echo json_encode($result, JSON_THROW_ON_ERROR)."\n"; + + if ('' !== $request) { + $body = isset($response['body_base64']) ? base64_decode($response['body_base64'], true) : ($response['body'] ?? ''); + $status = $response['status'] ?? 200; + $headers = $response['headers'] ?? []; + if (101 !== $status) { + $headers += ['Connection' => 'close']; + if (!isset($headers['Transfer-Encoding'])) { + $headers += ['Content-Length' => strlen($body)]; + } + } + $message = 'HTTP/1.1 '.$status." Test\r\n"; + foreach ($headers as $name => $value) { + $message .= $name.': '.$value."\r\n"; + } + $segments = isset($response['segments_base64']) + ? array_map(static fn (string $segment): string => base64_decode($segment, true), $response['segments_base64']) + : [$body]; + // Send the first segment with the headers to exercise PHP's read buffer. + fwrite($connection, $message."\r\n".array_shift($segments)); + foreach ($segments as $segment) { + usleep(($response['delay_ms'] ?? 0) * 1000); + fwrite($connection, $segment); + } + } + fclose($connection); +} +fclose($server); From be29deb8794da9d4e77b34b018ecbd0b0aae009b Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 16:57:13 +0100 Subject: [PATCH 098/142] docs(connection): add optional environment and Guzzle examples Explain direct PHP configuration for custom Unix sockets, HTTP endpoints, private CAs and mutual TLS. Environment variables remain optional. Execute the Guzzle snippets in a separate suite with dev-only Guzzle and cURL dependencies. Document the explicit cURL handler buffering limit and use the bundled socket client for live streams. --- README.md | 11 +- composer.json | 8 +- docs/connection.mdx | 94 ++++++++++++++- docs/contributing.mdx | 12 ++ docs/docs.json | 1 + docs/guides/guzzle.mdx | 180 +++++++++++++++++++++++++++++ tests/GuzzleClientTest.php | 228 +++++++++++++++++++++++++++++++++++++ 7 files changed, 526 insertions(+), 8 deletions(-) create mode 100644 docs/guides/guzzle.mdx create mode 100644 tests/GuzzleClientTest.php diff --git a/README.md b/README.md index fb804a25e..622e99dac 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,8 @@ Their PHPDoc lists accepted parameters, return types and API exceptions. ### Connection settings `Docker::create()` connects through `unix:///var/run/docker.sock` by default. -Set `DOCKER_HOST` to use another Unix socket or a `tcp://` address: +Set `DOCKER_HOST` to use another Unix socket or a `tcp://`, `http://` or `https://` +address: ```bash DOCKER_HOST=unix:///run/docker.sock php your-script.php @@ -83,11 +84,19 @@ For a TCP connection with TLS, set `DOCKER_TLS_VERIFY=1` and `DOCKER_CERT_PATH` the directory containing `ca.pem`, `cert.pem` and `key.pem`. `DOCKER_PEER_NAME` sets the name used to verify the server certificate when needed. +An `https://` address enables TLS and verifies the server certificate by default. +HTTP and HTTPS use ports `80` and `443` when no port is given. See +[connection settings](https://docker-php.mintlify.site/connection) for private +CAs and client certificates. + You can pass a configured PSR-18 HTTP client to `Docker::create($httpClient)`. Configure the daemon address, Unix socket and TLS options on that client. For streaming operations, check that it supports unbuffered responses and Docker's upgraded connections. +See the [Guzzle connection examples](https://docker-php.mintlify.site/guides/guzzle) +for PHP-configured Unix sockets, HTTP endpoints and TLS. + ### Container logs Register callbacks and call `wait()` to read the stream: diff --git a/composer.json b/composer.json index e08597e3a..afb253c89 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,10 @@ "symfony/serializer": "^6.3 || ^7.0 || ^8.0" }, "require-dev": { + "ext-curl": "*", "ergebnis/composer-normalize": "^2.42", "friendsofphp/php-cs-fixer": "^3.8", + "guzzlehttp/guzzle": "^7.9", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^10.5.46", @@ -73,7 +75,8 @@ "@phpunit" ], "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", - "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml" + "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", + "test-guzzle": "vendor/bin/phpunit ./tests/GuzzleClientTest.php --disallow-test-output --process-isolation" }, "scripts-descriptions": { "console": "Runs PsySH Console", @@ -81,6 +84,7 @@ "phpunit": "Runs library test suite", "test": "Runs all tests", "test-ci": "Runs library test suite (for continuous integration)", - "test-coverage": "Runs test-coverage analysis" + "test-coverage": "Runs test-coverage analysis", + "test-guzzle": "Runs Guzzle connection examples against local socket fixtures" } } diff --git a/docs/connection.mdx b/docs/connection.mdx index ebdcf2285..d5ba66f6c 100644 --- a/docs/connection.mdx +++ b/docs/connection.mdx @@ -1,13 +1,24 @@ --- title: "Connection settings" -description: "Connect through a Unix socket, a TLS endpoint, or a custom HTTP client." +description: "Connect through Unix sockets, TCP, HTTP or HTTPS, or a custom HTTP client." --- +Environment variables are optional. You can use the default local Docker socket +without any configuration, set connection options through environment variables, +or configure the connection directly in PHP using the +[bundled factory](#factory-options) or [Guzzle](/guides/guzzle). + ## Default connection `Docker::create()` uses `DockerClientFactory::createFromEnv()`. Without `DOCKER_HOST`, it connects to `unix:///var/run/docker.sock`. +If you choose environment variables, set them on the PHP process: in its shell, +service configuration or container environment. The library reads them when +creating the client and does not load `.env` files itself. For connection options supplied +directly in PHP, see [factory options](#factory-options) or +[Guzzle connections](/guides/guzzle). + To choose another socket: ```bash @@ -20,7 +31,20 @@ that create containers or images, and do not expose an unauthenticated daemon to an untrusted network. -## TCP with TLS +## TCP and HTTP + +The factory accepts both `tcp://` and `http://` daemon addresses: + +```bash +DOCKER_HOST=tcp://docker.example.com:2375 php your-script.php +DOCKER_HOST=http://docker.example.com:2375 php your-script.php +``` + +These connections are unencrypted unless TLS is enabled. An `http://` address +without a port uses port `80`; use the daemon's configured port explicitly if +it differs. + +## TLS connections Use the daemon's TCP address and its client certificates: @@ -33,12 +57,24 @@ php your-script.php The certificate directory must contain `ca.pem`, `cert.pem` and `key.pem`. If needed, set `DOCKER_PEER_NAME` to the name used to verify the server -certificate. The current factory enables TLS only when `DOCKER_TLS_VERIFY` -is exactly `1`. +certificate. Set `DOCKER_TLS_VERIFY` to exactly `1` to enable this certificate +configuration. + +An `https://` address also enables TLS, even without `DOCKER_TLS_VERIFY`: + +```bash +DOCKER_HOST=https://docker.example.com:2376 php your-script.php +``` + +Without a port, HTTPS uses port `443`. By default, the server certificate must +be trusted by PHP's configured certificate authorities and match the daemon's +hostname. For a private CA or mutual TLS, use `DOCKER_TLS_VERIFY=1` and +`DOCKER_CERT_PATH` as above; `https://` works with those settings too. ## Factory options -You can configure the bundled socket client directly: +Environment variables are optional. You can configure the bundled socket +client directly in PHP instead: ```php 'https://docker.example.com:2376', + 'stream_context_options' => [ + 'ssl' => ['cafile' => '/path/to/ca.pem'], + ], +]); +``` + +For mutual TLS, add `local_cert` and `local_pk` to the SSL options: + +```php + 'https://docker.example.com:2376', + 'stream_context_options' => [ + 'ssl' => [ + 'cafile' => '/path/to/ca.pem', + 'local_cert' => '/path/to/cert.pem', + 'local_pk' => '/path/to/key.pem', + ], + ], +]); + +$docker = Docker::create($httpClient, [], [], false); +``` + +The factory keeps the socket client's options, including timeouts and SSL +context options. An HTTPS address always enables TLS, including when `ssl` +is set to `false`; use `http://` or `tcp://` for a plaintext connection. + ## Custom HTTP clients `Docker::create($httpClient)` accepts a compatible PSR-18 HTTP client. Configure @@ -67,5 +148,8 @@ its daemon address, TLS options and socket support. Check that it also supports unbuffered responses and Docker's upgraded connections if you use log, attach or exec streams. +See [Guzzle connections](/guides/guzzle) for complete PHP examples using custom +Unix sockets, HTTP, private CAs and mutual TLS. + `DOCKER_API_VERSION` affects the default factory's request path; it does not change the generated models. See [API versions](/api-versions). diff --git a/docs/contributing.mdx b/docs/contributing.mdx index f47d56798..8e7b97efe 100644 --- a/docs/contributing.mdx +++ b/docs/contributing.mdx @@ -32,6 +32,18 @@ The checks validate Mintlify configuration and MDX, internal links and heading anchors, and PHP example syntax. Syntax checks do not prove an example's daemon behavior. Test operational examples separately against a development daemon. +The [Guzzle connection examples](/guides/guzzle) have a separate test suite. +After installing the development dependencies, run it from the repository root: + +```bash +composer test-guzzle +``` + +These tests execute the documented PHP snippets against temporary local Unix, +HTTP and HTTPS servers. They do not need a Docker daemon. They also check +certificate rejection, client certificates, request bodies, API errors and +the handlers' streaming behavior. + Add new pages to `docs.json`, use site-relative links such as `/connection`, and keep examples aligned with the current API models. Do not edit generated API code to make an example work. diff --git a/docs/docs.json b/docs/docs.json index 17fd1773b..ea44264dc 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -17,6 +17,7 @@ { "group": "Guides", "pages": [ + "guides/guzzle", "cookbook/container-run", "cookbook/container-config", "guides/logs", diff --git a/docs/guides/guzzle.mdx b/docs/guides/guzzle.mdx new file mode 100644 index 000000000..ccf0fa53e --- /dev/null +++ b/docs/guides/guzzle.mdx @@ -0,0 +1,180 @@ +--- +title: "Guzzle connections" +description: "Configure custom Unix sockets, HTTP endpoints and TLS directly in PHP." +--- + +Docker PHP accepts a configured Guzzle 7 client. You do not need to set +`DOCKER_HOST`, `DOCKER_TLS_VERIFY` or `DOCKER_CERT_PATH` when configuring the +connection this way. The bundled socket client remains the default. + +Install Guzzle in your application: + +```bash +composer require guzzlehttp/guzzle +``` + +These examples require PHP's cURL extension. They use an explicit cURL handler +so Unix-socket and client-key options are handled consistently. + +## Custom Unix socket + +```php + 'http://localhost', + 'handler' => HandlerStack::create(new CurlHandler()), + 'curl' => [ + CURLOPT_UNIX_SOCKET_PATH => '/run/custom/docker.sock', + ], + 'proxy' => '', + 'timeout' => 10, +]); + +$docker = Docker::create($httpClient); +``` + +`base_uri` supplies the HTTP hostname; the cURL option selects the socket. +Use a filesystem path, not a `unix://` URL, for `CURLOPT_UNIX_SOCKET_PATH`. +The PHP process must have permission to access that socket. + +Docker PHP wraps the supplied client, but does not recreate it or discard its +configured socket options. + +## HTTP endpoint + +Use an HTTP URL for a daemon listening on TCP: + +```php + 'http://docker.example.com:2375', + 'handler' => HandlerStack::create(new CurlHandler()), + 'proxy' => '', + 'timeout' => 10, +]); + +$docker = Docker::create($httpClient); +``` + +Guzzle expects `http://` or `https://` here, not `tcp://`. + + +HTTP is unencrypted. Do not expose an unauthenticated Docker daemon to an +untrusted network. Access to the daemon grants control over its containers +and can grant control over its host. + + +## HTTPS with a private CA + +```php + 'https://docker.example.com:2376', + 'handler' => HandlerStack::create(new CurlHandler()), + 'verify' => '/path/to/ca.pem', + 'proxy' => '', + 'timeout' => 10, +]); + +$docker = Docker::create($httpClient); +``` + +`verify` selects the CA bundle used to verify the server. The certificate must +also match the hostname in `base_uri`. For a publicly trusted certificate, +omit `verify` to use Guzzle's default trust configuration. Do not set it to +`false` to work around certificate errors. + +## Mutual TLS + +If the daemon also requires a client certificate, configure its certificate +and private key: + +```php + 'https://docker.example.com:2376', + 'handler' => HandlerStack::create(new CurlHandler()), + 'verify' => '/path/to/ca.pem', + 'cert' => '/path/to/cert.pem', + 'ssl_key' => '/path/to/key.pem', + 'proxy' => '', + 'timeout' => 10, +]); + +$docker = Docker::create($httpClient); +``` + +The three files correspond to the Docker client's `ca.pem`, `cert.pem` and +`key.pem`. Keep the private key outside source control. + +## Paths, timeouts and proxies + +Use the daemon's root URL for `base_uri`, without `/v1.45` or an endpoint path. +`Docker::create($httpClient)` keeps the generated API version plugin enabled, +so Docker PHP adds `/v1.45` for this API package. `DOCKER_API_VERSION` is a +bundled-factory setting; it does not override this configured Guzzle client. + +This differs from [the bundled factory example](/connection#factory-options), +where the fourth argument is `false` because that factory already supplies the +versioned path. Do not copy that `false` argument into these Guzzle examples. + +The examples set `proxy` to an empty string to keep daemon requests from using +HTTP proxy environment variables. Configure a proxy explicitly if your daemon +connection requires one. + +Guzzle's `timeout` is in seconds; the bundled socket client's timeout is in +milliseconds. The ten-second limit here is for ordinary requests, not a +long-running build or stream. + +## Streaming limits + +These examples are tested against local Unix, HTTP and HTTPS servers through +`Docker::create()`, including request bodies, API errors and mutual TLS. +Completed multiplexed log responses are also tested. + +The explicit cURL handler buffers response bodies, including when `stream` +is set to `true`. That is not suitable for an indefinite log or event stream. +Guzzle's default handler selection can use its PHP stream handler when +streaming is requested, but that handler does not use +`CURLOPT_UNIX_SOCKET_PATH`. + +Use the bundled socket client for live streams and upgraded attach/exec +connections unless you have tested those operations with your chosen custom +transport. A PSR-18 interface alone does not guarantee unbuffered reads or a +writable upgraded connection. See [streams](/reference/streams). + +For the underlying options, see Guzzle's +[request options](https://docs.guzzlephp.org/en/stable/request-options.html) +and [handlers](https://docs.guzzlephp.org/en/stable/handlers-and-middleware.html). diff --git a/tests/GuzzleClientTest.php b/tests/GuzzleClientTest.php new file mode 100644 index 000000000..9ced07b40 --- /dev/null +++ b/tests/GuzzleClientTest.php @@ -0,0 +1,228 @@ + [0, 'unix'], + 'HTTP endpoint' => [1, 'http'], + 'Private CA' => [2, 'https'], + 'Mutual TLS' => [3, 'mutual-tls'], + ]; + } + + #[DataProvider('connectionExamples')] + public function testDocumentationExampleUsesConfiguredConnection(int $example, string $transport): void + { + $serverOptions = ['responses' => [$this->jsonResponse('{}'), $this->jsonResponse('[]')]]; + if ('https' === $transport || 'mutual-tls' === $transport) { + $this->createCertificates(); + $serverOptions['ssl'] = $this->serverTlsOptions(); + } + if ('mutual-tls' === $transport) { + $serverOptions['ssl'] += [ + 'verify_peer' => true, + 'verify_peer_name' => false, + 'cafile' => $this->directory.'/ca.pem', + 'capture_peer_cert' => true, + ]; + } + $address = $this->startServer($serverOptions, 'unix' === $transport); + + // A supplied client must not read the bundled factory's connection settings. + putenv('DOCKER_HOST=unix:///does-not-exist.sock'); + putenv('DOCKER_TLS_VERIFY=1'); + putenv('DOCKER_API_VERSION=v0.0'); + $docker = $this->runDocumentationExample($example, $address); + + $this->assertSame([], $docker->containerList()); + $this->assertStringStartsWith('GET /v1.45/info HTTP/1.1', $this->serverResult()['request']); + $request = $this->serverResult(1); + $this->assertStringStartsWith('GET /v1.45/containers/json?', $request['request']); + $host = 'unix' === $transport ? 'localhost' : $address; + $this->assertStringContainsString('Host: '.$host."\r\n", $request['request']); + if ('mutual-tls' === $transport) { + $this->assertSame('docker-client', $request['peer']); + } + } + + public function testHttpsRejectsUntrustedCertificate(): void + { + $this->createCertificates(); + $address = $this->startServer(['ssl' => $this->serverTlsOptions()]); + + $this->assertCertificateRejected($this->guzzle('https://'.$address)); + } + + public function testHttpsRejectsWrongHostname(): void + { + $this->createCertificates('DNS:not-docker.test'); + $address = $this->startServer(['ssl' => $this->serverTlsOptions()]); + + $this->assertCertificateRejected($this->guzzle('https://'.$address, ['verify' => $this->directory.'/ca.pem'])); + } + + public function testMutualTlsRejectsMissingClientCertificate(): void + { + $this->createCertificates(); + $address = $this->startServer(['ssl' => $this->serverTlsOptions() + [ + 'verify_peer' => true, + 'verify_peer_name' => false, + 'cafile' => $this->directory.'/ca.pem', + ]]); + $this->expectException(GuzzleException::class); + + Docker::create($this->guzzle('https://'.$address, ['verify' => $this->directory.'/ca.pem'])); + } + + public function testRequestBodyReachesDaemon(): void + { + $address = $this->startServer(['responses' => [ + $this->jsonResponse('{}'), + $this->jsonResponse('{"Id":"created","Warnings":[]}', 201), + ]]); + $docker = Docker::create($this->guzzle('http://'.$address)); + $body = new ContainersCreatePostBody(); + $body->setImage('busybox:latest'); + $body->setEnv(['MODE=test']); + + $this->assertSame('created', $docker->containerCreate($body)->getId()); + $request = $this->serverResult(1); + [$method, $uri] = explode(' ', $request['request'], 3); + $this->assertSame('POST', $method); + $this->assertSame('/v1.45/containers/create', parse_url($uri, \PHP_URL_PATH)); + $json = json_decode($request['body'], true, 512, \JSON_THROW_ON_ERROR); + $this->assertSame('busybox:latest', $json['Image']); + $this->assertSame(['MODE=test'], $json['Env']); + } + + public function testApiErrorUsesGeneratedException(): void + { + $address = $this->startServer(['responses' => [ + $this->jsonResponse('{}'), + $this->jsonResponse('{"message":"No such container: missing"}', 404), + ]]); + $docker = Docker::create($this->guzzle('http://'.$address)); + $this->expectException(ContainerInspectNotFoundException::class); + + $docker->containerInspect('missing'); + } + + public function testCompletedLogResponseDecodesStdoutAndStderr(): void + { + $frames = pack('CxxxN', 1, 6)."hello\n".pack('CxxxN', 2, 5)."warn\n"; + $address = $this->startServer(['responses' => [ + $this->jsonResponse('{}'), + ['body_base64' => base64_encode($frames), 'headers' => ['Content-Type' => DockerRawStream::MULTIPLEXED_HEADER]], + ]]); + $docker = Docker::create($this->guzzle('http://'.$address)); + $logs = $docker->containerLogs('test', ['stdout' => true, 'stderr' => true]); + $stdout = ''; + $stderr = ''; + $logs->onStdout(static function (string $chunk) use (&$stdout): void { + $stdout .= $chunk; + }); + $logs->onStderr(static function (string $chunk) use (&$stderr): void { + $stderr .= $chunk; + }); + $logs->wait(); + + $this->assertSame("hello\n", $stdout); + $this->assertSame("warn\n", $stderr); + $this->assertStringContainsString('/v1.45/containers/test/logs?', $this->serverResult(1)['request']); + } + + public function testExplicitCurlHandlerBuffersDespiteStreamOption(): void + { + $address = $this->startServer(); + $client = new PluginClient($this->guzzle('http://'.$address, ['stream' => true])); + $response = $client->sendRequest(new Request('GET', '/_ping')); + + $this->assertTrue($response->getBody()->isSeekable()); + $this->assertSame('php://temp', $response->getBody()->getMetadata('uri')); + $this->assertSame('OK', $response->getBody()->getContents()); + $this->assertStringStartsWith('GET /_ping HTTP/1.1', $this->serverResult()['request']); + } + + public function testDefaultStreamingHandlerDoesNotUseCurlSocketOption(): void + { + if (!\ini_get('allow_url_fopen')) { + $this->markTestSkipped('The default PHP stream handler requires allow_url_fopen.'); + } + $address = $this->startServer(); + $client = new PluginClient(new GuzzleClient([ + 'base_uri' => 'http://'.$address, + 'stream' => true, + 'curl' => [\CURLOPT_UNIX_SOCKET_PATH => $this->directory.'/does-not-exist.sock'], + 'proxy' => '', + 'timeout' => 3, + ])); + $response = $client->sendRequest(new Request('GET', '/_ping')); + + $this->assertFalse($response->getBody()->isSeekable()); + $this->assertSame('http', $response->getBody()->getMetadata('wrapper_type')); + $this->assertSame('OK', $response->getBody()->getContents()); + $this->assertStringContainsString('Host: '.$address."\r\n", $this->serverResult()['request']); + } + + private function guzzle(string $url, array $options = []): GuzzleClient + { + return new GuzzleClient($options + [ + 'base_uri' => $url, + 'handler' => HandlerStack::create(new CurlHandler()), + 'proxy' => '', + 'timeout' => 3, + ]); + } + + private function jsonResponse(string $body, int $status = 200): array + { + return ['status' => $status, 'body' => $body, 'headers' => ['Content-Type' => 'application/json']]; + } + + private function assertCertificateRejected(GuzzleClient $client): void + { + try { + Docker::create($client); + $this->fail('The server certificate should have been rejected.'); + } catch (GuzzleException $exception) { + $this->assertSame(\CURLE_SSL_CACERT, $exception->getHandlerContext()['errno']); + } + } + + private function runDocumentationExample(int $index, string $address): Docker + { + $markdown = file_get_contents(\dirname(__DIR__).'/docs/guides/guzzle.mdx'); + preg_match_all('/^```php[^\r\n]*\R(.*?)^```/ms', $markdown, $blocks); + $this->assertArrayHasKey($index, $blocks[1]); + $code = preg_replace('/^\s*<\?php\s*/', '', $blocks[1][$index]); + $code = str_replace("require __DIR__ . '/vendor/autoload.php';", '', $code); + $code = strtr($code, [ + '/run/custom/docker.sock' => $address, + 'http://docker.example.com:2375' => 'http://'.$address, + 'https://docker.example.com:2376' => 'https://'.$address, + '/path/to/ca.pem' => $this->directory.'/ca.pem', + '/path/to/cert.pem' => $this->directory.'/cert.pem', + '/path/to/key.pem' => $this->directory.'/key.pem', + ]); + + return (static fn (string $code): Docker => eval("namespace {\n".$code."\nreturn \$docker;\n}"))($code); + } +} From 629a8fb95e22f6032fd816dfb418ac1daed1c749 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 5 Oct 2026 16:57:42 +0100 Subject: [PATCH 099/142] test: cover renamed packages and live streaming regressions Check the original client/API package identities and generated normalizers for timestamps, empty objects and null port bindings. Measure follow-log and exec callback delivery for TTY and non-TTY containers. Keep the timing checks in the full suite. Make the tar failure test restore all PATH sources and enable cURL/OpenSSL for CI fixtures. The full suite passes with 203 tests and 854 assertions on PHP 8.1/lowest and PHP 8.5/highest, with the existing websocket test skipped. --- .github/workflows/continuous-integration.yml | 1 + tests/Context/ContextTest.php | 16 ++- tests/GeneratedNormalizerTest.php | 108 +++++++++++++++++++ tests/Resource/LiveStreamTest.php | 96 +++++++++++++++++ 4 files changed, 220 insertions(+), 1 deletion(-) create mode 100644 tests/GeneratedNormalizerTest.php create mode 100644 tests/Resource/LiveStreamTest.php diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 854f94f74..dfc1e11d9 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -35,6 +35,7 @@ jobs: uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 with: php-version: ${{ matrix.php-version }} + extensions: curl, openssl tools: composer:v2 coverage: pcov diff --git a/tests/Context/ContextTest.php b/tests/Context/ContextTest.php index 1038213b7..0fc7bdec3 100644 --- a/tests/Context/ContextTest.php +++ b/tests/Context/ContextTest.php @@ -44,12 +44,26 @@ public function testTarFailed(): void $directory = __DIR__.\DIRECTORY_SEPARATOR.'context-test'; $path = getenv('PATH'); + $serverPath = $_SERVER['PATH'] ?? null; + $environmentPath = $_ENV['PATH'] ?? null; putenv('PATH=/'); + $_SERVER['PATH'] = '/'; + $_ENV['PATH'] = '/'; $context = new Context($directory); try { $context->toTar(); } finally { - putenv("PATH=$path"); + putenv(false === $path ? 'PATH' : "PATH=$path"); + if (null === $serverPath) { + unset($_SERVER['PATH']); + } else { + $_SERVER['PATH'] = $serverPath; + } + if (null === $environmentPath) { + unset($_ENV['PATH']); + } else { + $_ENV['PATH'] = $environmentPath; + } } } diff --git a/tests/GeneratedNormalizerTest.php b/tests/GeneratedNormalizerTest.php new file mode 100644 index 000000000..350a0af16 --- /dev/null +++ b/tests/GeneratedNormalizerTest.php @@ -0,0 +1,108 @@ + true]))] + ); + } + + public function testRenamedPackagesAreInstalledTogether(): void + { + self::assertTrue(InstalledVersions::isInstalled('docker-php/docker-php')); + self::assertTrue(InstalledVersions::isInstalled('docker-php/docker-php-api')); + self::assertFalse(InstalledVersions::isInstalled('beluga-php/docker-php')); + self::assertFalse(InstalledVersions::isInstalled('beluga-php/docker-php-api')); + foreach ([Docker::class => 'docker-php/docker-php', NetworkSettings::class => 'docker-php/docker-php-api'] as $class => $package) { + $path = realpath(InstalledVersions::getInstallPath($package)); + self::assertStringStartsWith($path.\DIRECTORY_SEPARATOR, (new \ReflectionClass($class))->getFileName()); + } + } + + public static function timestampProvider(): iterable + { + yield 'nanoseconds UTC' => ['2019-12-22T10:59:05.638593300Z', '2019-12-22T10:59:05.638593+00:00']; + yield 'localstack seven fractional digits' => ['2019-12-22T10:59:05.6385933Z', '2019-12-22T10:59:05.638593+00:00']; + yield 'microseconds with offset' => ['2019-12-22T10:59:05.638593+02:00', '2019-12-22T10:59:05.638593+02:00']; + yield 'seconds only' => ['2019-12-22T10:59:05Z', '2019-12-22T10:59:05.000000+00:00']; + } + + /** @dataProvider timestampProvider */ + public function testHealthcheckTimestamp(string $input, string $expected): void + { + $result = $this->serializer()->deserialize(json_encode(['Start' => $input], \JSON_THROW_ON_ERROR), HealthcheckResult::class, 'json'); + self::assertInstanceOf(\DateTimeInterface::class, $result->getStart()); + self::assertSame($expected, $result->getStart()->format('Y-m-d\TH:i:s.uP')); + } + + public function testMissingAndNullHealthcheckTimestamp(): void + { + $serializer = $this->serializer(); + self::assertFalse($serializer->deserialize('{}', HealthcheckResult::class, 'json')->isInitialized('start')); + $result = $serializer->deserialize('{"Start":null}', HealthcheckResult::class, 'json'); + self::assertTrue($result->isInitialized('start')); + self::assertNull($result->getStart()); + } + + public static function emptyObjectProvider(): iterable + { + yield 'array' => [[]]; + yield 'ArrayObject' => [new \ArrayObject()]; + yield 'stdClass' => [new \stdClass()]; + } + + /** @dataProvider emptyObjectProvider */ + public function testEmptyExposedPortsAndVolumesAreObjects(mixed $empty): void + { + $body = new ContainersCreatePostBody(); + $body->setImage('busybox:latest'); + $body->setExposedPorts(['80/tcp' => $empty, '53/udp' => $empty]); + $body->setVolumes(['/data' => $empty]); + $json = json_decode($this->serializer()->serialize($body, 'json'), false, 512, \JSON_THROW_ON_ERROR); + self::assertInstanceOf(\stdClass::class, $json->ExposedPorts->{'80/tcp'}); + self::assertInstanceOf(\stdClass::class, $json->ExposedPorts->{'53/udp'}); + self::assertInstanceOf(\stdClass::class, $json->Volumes->{'/data'}); + } + + public function testNullPortBindingsRoundTripThroughContainerInspect(): void + { + $payload = '{"Id":"example","NetworkSettings":{"Ports":{"80/tcp":[{"HostIp":"127.0.0.1","HostPort":"8080"}],"2377/tcp":null,"53/udp":[]}}}'; + $serializer = $this->serializer(); + $container = $serializer->deserialize($payload, ContainersIdJsonGetResponse200::class, 'json'); + $ports = $container->getNetworkSettings()->getPorts(); + self::assertNull($ports['2377/tcp']); + self::assertSame([], $ports['53/udp']); + self::assertInstanceOf(PortBinding::class, $ports['80/tcp'][0]); + self::assertSame('8080', $ports['80/tcp'][0]->getHostPort()); + self::assertSame('127.0.0.1', $ports['80/tcp'][0]->getHostIp()); + self::assertSame(json_decode($payload, true), json_decode($serializer->serialize($container, 'json'), true)); + } + + public function testEmptyPortMapRemainsAnObject(): void + { + $serializer = $this->serializer(); + $settings = $serializer->deserialize('{"Ports":{}}', NetworkSettings::class, 'json'); + self::assertSame('{"Ports":{}}', $serializer->serialize($settings, 'json')); + } +} diff --git a/tests/Resource/LiveStreamTest.php b/tests/Resource/LiveStreamTest.php new file mode 100644 index 000000000..dee1d2f6e --- /dev/null +++ b/tests/Resource/LiveStreamTest.php @@ -0,0 +1,96 @@ + [false]; + yield 'TTY output' => [true]; + } + + private function createContainer(bool $tty, array $command): string + { + $config = new ContainersCreatePostBody(); + $config->setImage('busybox:latest'); + $config->setCmd($command); + $config->setTty($tty); + $config->setExposedPorts(['80/tcp' => new \stdClass()]); + $config->setLabels(['docker-php-test' => 'true']); + $id = self::getDocker()->containerCreate($config)->getId(); + self::getDocker()->containerStart($id); + + return $id; + } + + private function assertLiveOutput(DockerRawStream $stream, bool $tty): void + { + $stdout = ''; + $stderr = ''; + $first = null; + $last = null; + $stream->onStdout(static function (string $chunk) use (&$stdout, &$first, &$last): void { + $first ??= hrtime(true); + $last = hrtime(true); + $stdout .= $chunk; + }); + $stream->onStderr(static function (string $chunk) use (&$stderr, &$first, &$last): void { + $first ??= hrtime(true); + $last = hrtime(true); + $stderr .= $chunk; + }); + $stream->wait(); + self::assertSame($tty ? "first\r\nerror\r\nlast\r\nfinal\r\n" : "first\nlast\n", $stdout); + self::assertSame($tty ? '' : "error\nfinal\n", $stderr); + self::assertNotNull($first); + self::assertGreaterThan(500_000_000, $last - $first, 'Callbacks must receive output before the command finishes, not a buffered response.'); + } + + /** @dataProvider ttyProvider */ + public function testFollowLogsDeliversOutputWhileContainerRuns(bool $tty): void + { + $id = $this->createContainer($tty, ['sh', '-c', 'printf "first\n"; printf "error\n" >&2; sleep 2; printf "last\n"; printf "final\n" >&2']); + try { + $stream = self::getDocker()->containerLogs($id, ['stdout' => true, 'stderr' => true, 'follow' => true]); + self::assertInstanceOf(DockerRawStream::class, $stream); + $this->assertLiveOutput($stream, $tty); + self::assertNull(self::getDocker()->containerInspect($id)->getNetworkSettings()->getPorts()['80/tcp']); + } finally { + self::getDocker()->containerDelete($id, ['force' => true]); + } + } + + /** @dataProvider ttyProvider */ + public function testExecDeliversOutputBeforeExit(bool $tty): void + { + $id = $this->createContainer(false, ['sleep', '30']); + try { + $config = new ContainersIdExecPostBody(); + $config->setAttachStdout(true); + $config->setAttachStderr(true); + $config->setTty($tty); + $config->setCmd(['sh', '-c', 'printf "first\n"; printf "error\n" >&2; sleep 2; printf "last\n"; printf "final\n" >&2']); + $exec = self::getDocker()->containerExec($id, $config); + $start = new ExecIdStartPostBody(); + $start->setDetach(false); + $start->setTty($tty); + $stream = self::getDocker()->execStart($exec->getId(), $start); + self::assertInstanceOf(DockerRawStream::class, $stream); + $this->assertLiveOutput($stream, $tty); + $result = self::getDocker()->execInspect($exec->getId()); + self::assertFalse($result->getRunning()); + self::assertSame(0, $result->getExitCode()); + } finally { + self::getDocker()->containerDelete($id, ['force' => true]); + } + } +} From 6cbd1ed00cbeeeb7137f16a6a1148c339abd66fe Mon Sep 17 00:00:00 2001 From: Rid Date: Tue, 6 Oct 2026 09:08:29 +0100 Subject: [PATCH 100/142] docs(readme): replace detailed examples with documentation links --- README.md | 98 +++++-------------------------------------------------- 1 file changed, 9 insertions(+), 89 deletions(-) diff --git a/README.md b/README.md index 622e99dac..74c3b0ca6 100644 --- a/README.md +++ b/README.md @@ -70,96 +70,15 @@ foreach ($docker->containerList(['all' => true]) as $container) { Endpoint methods return generated models where the API defines a response body. Their PHPDoc lists accepted parameters, return types and API exceptions. -### Connection settings - `Docker::create()` connects through `unix:///var/run/docker.sock` by default. -Set `DOCKER_HOST` to use another Unix socket or a `tcp://`, `http://` or `https://` -address: - -```bash -DOCKER_HOST=unix:///run/docker.sock php your-script.php -``` - -For a TCP connection with TLS, set `DOCKER_TLS_VERIFY=1` and `DOCKER_CERT_PATH` to -the directory containing `ca.pem`, `cert.pem` and `key.pem`. `DOCKER_PEER_NAME` -sets the name used to verify the server certificate when needed. - -An `https://` address enables TLS and verifies the server certificate by default. -HTTP and HTTPS use ports `80` and `443` when no port is given. See -[connection settings](https://docker-php.mintlify.site/connection) for private -CAs and client certificates. - -You can pass a configured PSR-18 HTTP client to `Docker::create($httpClient)`. -Configure the daemon address, Unix socket and TLS options on that client. -For streaming operations, check that it supports unbuffered responses and -Docker's upgraded connections. - -See the [Guzzle connection examples](https://docker-php.mintlify.site/guides/guzzle) -for PHP-configured Unix sockets, HTTP endpoints and TLS. - -### Container logs - -Register callbacks and call `wait()` to read the stream: - -```php -$logs = $docker->containerLogs('my-container', [ - 'stdout' => true, - 'stderr' => true, -]); -$logs->onStdout(function (string $output): void { - echo $output; -}); -$logs->onStderr(function (string $output): void { - fwrite(STDERR, $output); -}); -$logs->wait(); -``` - -Callbacks receive decoded output chunks, which can contain part of a line or -several lines. TTY containers combine stdout and stderr on `onStdout`. - -For responses marked `application/vnd.docker.raw-stream`, the client inspects -the container's TTY setting to distinguish terminal output from Docker's framed -output. This requires permission to inspect the container. Responses marked -`application/vnd.docker.multiplexed-stream` do not need that extra request. - -### Command output - -Create an exec command in a running container, then start it with `Detach` set -to `false`: - -```php -use Docker\API\Model\ContainersIdExecPostBody; -use Docker\API\Model\ExecIdStartPostBody; - -$command = new ContainersIdExecPostBody(); -$command->setCmd(['sh', '-c', 'printf "hello\n"']); -$command->setAttachStdout(true); -$command->setAttachStderr(true); -$command->setTty(false); - -$exec = $docker->containerExec('my-container', $command); - -$start = new ExecIdStartPostBody(); -$start->setDetach(false); -$start->setTty(false); - -$output = $docker->execStart($exec->getId(), $start); -$output->onStdout(function (string $chunk): void { - echo $chunk; -}); -$output->onStderr(function (string $chunk): void { - fwrite(STDERR, $chunk); -}); -$output->wait(); -``` - -Use the same `Tty` setting when creating and starting the command. TTY output -combines stdout and stderr on `onStdout`. +Environment variables are optional. See [connection settings](https://docker-php.mintlify.site/connection) +and the [Guzzle examples](https://docker-php.mintlify.site/guides/guzzle) for +custom sockets, remote daemons and TLS configuration. -`executeRawEndpoint()` and the deprecated `FETCH_RESPONSE` mode return raw -response bodies. Non-TTY log and exec output includes binary frame headers in -those bodies. Use the callback streams above to read decoded output. +For streaming output, see [container logs](https://docker-php.mintlify.site/guides/logs), +[command output](https://docker-php.mintlify.site/guides/exec) and the +[streaming reference](https://docker-php.mintlify.site/reference/streams). +These guides cover callback streams, TTY output and raw response framing. ## Docker API versions @@ -194,7 +113,8 @@ automatically negotiate an API version with the daemon. Version 3.0 requires PHP 8.1 or later, PSR-7 v2 and Jane 7-generated models. Review endpoint signatures, model types and HTTP client dependencies before -upgrading. Check log and exec consumers against the streaming examples above. +upgrading. Check log and exec consumers against the +[streaming documentation](https://docker-php.mintlify.site/reference/streams). Change the client requirement to `docker-php/docker-php:^3.0`. Remove an explicit `docker-php/docker-php-api:4.1.*` requirement, or change it to the API 1.45 range From 1f4aa0858f3b160c05252d5addd91f001dada974 Mon Sep 17 00:00:00 2001 From: Rid Date: Tue, 6 Oct 2026 09:10:25 +0100 Subject: [PATCH 101/142] docs(release): publish 3.0 installation and migration guidance --- CONTRIBUTING.md | 2 +- DOCUMENTATION.md | 4 +--- README.md | 13 +++++-------- docs/api-versions.mdx | 2 +- docs/docs.json | 4 ---- docs/index.mdx | 4 +--- docs/installation.mdx | 8 +------- docs/migration.mdx | 6 ------ 8 files changed, 10 insertions(+), 33 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f0c2eb89b..6a10cf29e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -69,7 +69,7 @@ $ git push -f origin feature-or-bug-fix-description ## Documentation -Documentation for the upcoming 3.0 release lives in `docs/` and uses Mintlify. +Documentation for the 3.0 release lives in `docs/` and uses Mintlify. See [DOCUMENTATION.md](DOCUMENTATION.md) for the local preview, validation commands and hosted setup. Test examples against a development Docker daemon, and keep instructions for unreleased packages clearly marked. diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 3890c3075..44d89819d 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -5,8 +5,7 @@ this repository, alongside the client code. This replaces the legacy MkDocs configuration; earlier documentation remains available in Git history. The public site is hosted at [docker-php.mintlify.site](https://docker-php.mintlify.site/). -It remains a work in progress for the upcoming package releases, which are still -marked as unpublished. No custom domain is configured. +No custom domain is configured. ## Local preview @@ -95,4 +94,3 @@ review the draft and confirm the destination before doing that. - Check the hosted site's navigation, mobile layout and internal links. - Configure a custom documentation hostname and DNS separately if needed. - Keep legacy documentation accessible for users of earlier releases. -- Remove the unreleased notices when both package releases are published. diff --git a/README.md b/README.md index 74c3b0ca6..67a3a17fe 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ This library aims to reach 100% API support of the Docker Engine. ## Documentation -The [version 3.0 documentation](https://docker-php.mintlify.site/) is available -and is still being updated ahead of the release. Its source lives in +The [version 3.0 documentation](https://docker-php.mintlify.site/) is available. +Its source lives in [docs/](docs/); see [DOCUMENTATION.md](DOCUMENTATION.md) to preview and edit it locally. The [legacy documentation](https://docker-php.readthedocs.io/en/latest/) remains available for earlier releases. @@ -28,14 +28,11 @@ maintenance of the original `docker-php/docker-php` repository to give you a better upgrade path. Development will continue here, and we will archive `beluga-php/docker-php` once the migration is complete. -We're preparing new v3.x releases, starting with Docker Engine API v1.45. We plan +Version 3.0 targets Docker Engine API v1.45. We plan to add the missing API versions and bring support up to the latest Docker Engine API. See [Upgrading to 3.0](#upgrading-to-30) below for how to migrate from existing releases. -Version 3.0 has not been published yet. The installation and migration -instructions below apply once it is available. - ## Requirements - PHP 8.1 or later, with the `mbstring` extension. @@ -89,7 +86,7 @@ The client package follows semantic versioning. The generated API package uses `Jane-major.Docker-major.Docker-minor.revision`: `7.1.45.0` means Docker API 1.45, generated with Jane 7, revision 0. -Keep generated API dependencies within one Docker specification. The planned +Keep generated API dependencies within one Docker specification. The 3.0 client uses this range: ```json @@ -159,7 +156,7 @@ contribution instructions. Docker PHP was created by [Geoffrey Bachelet](https://github.com/ubermuda) and [Joel Wurtz](https://github.com/joelwurtz). Development continued under -[beluga-php](https://github.com/beluga-php) before the planned return to the +[beluga-php](https://github.com/beluga-php) before the return to the original repositories. ## License diff --git a/docs/api-versions.mdx b/docs/api-versions.mdx index cd3832397..e1e53add3 100644 --- a/docs/api-versions.mdx +++ b/docs/api-versions.mdx @@ -12,7 +12,7 @@ setters describe how to pass those values in PHP. ## Two package versions -`docker-php/docker-php` follows semantic versioning. Its upcoming 3.0 release +`docker-php/docker-php` follows semantic versioning. Its 3.0 release targets Docker Engine API v1.45. `docker-php/docker-php-api` uses a four-part scheme: diff --git a/docs/docs.json b/docs/docs.json index ea44264dc..b0c25eb27 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -62,10 +62,6 @@ "github": "https://github.com/docker-php/docker-php" } }, - "banner": { - "content": "Docker PHP 3.0 documentation is in progress. The new releases have not been published yet.", - "dismissible": false - }, "redirects": [ { "source": "/async", "destination": "/migration#asynchronous-client" } ] diff --git a/docs/index.mdx b/docs/index.mdx index 40e839685..278a096a0 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -8,9 +8,7 @@ endpoint methods and models, connection handling, and decoded log and command output streams. -These docs cover the upcoming Docker PHP 3.0 client and Docker API package -7.1.45.0. Neither release has been published yet. The docs are still being -prepared; installation commands for stable versions apply after release. +These docs cover the Docker PHP 3.0 client and Docker API package 7.1.45.0. The first restored release targets Docker Engine API v1.45. The PHP namespaces diff --git a/docs/installation.mdx b/docs/installation.mdx index 090122594..59d2382dd 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -11,11 +11,6 @@ description: "Install the client and its matching generated API package." ## Stable installation - -Docker PHP 3.0.0 and API package 7.1.45.0 have not been released yet. Use this -command once both packages are available. - - ```bash composer require "docker-php/docker-php:^3.0" ``` @@ -26,8 +21,7 @@ application requires the API package directly, keep its constraint within one ## Test the development version -For a disposable test application before release, explicitly allow both -development packages: +For a disposable test application, explicitly allow both development packages: ```bash composer require "docker-php/docker-php:3.0.x-dev" "docker-php/docker-php-api:7.1.45.x-dev" --with-all-dependencies diff --git a/docs/migration.mdx b/docs/migration.mdx index 26c9f0dc9..55e364185 100644 --- a/docs/migration.mdx +++ b/docs/migration.mdx @@ -3,12 +3,6 @@ title: "Upgrade to 3.0" description: "Migrate from the original packages or the Beluga fork." --- - -Docker PHP 3.0.0 and API package 7.1.45.0 have not been published yet. Prepare and -review these changes now; resolve stable versions after both releases are -available. - - ## From the original 2.x client The new client requires PHP 8.1 or later, the `mbstring` extension, PSR-7 v2 and From 83ba0f6a1eddc5d8c6c6f7ce00cfbd4ded70d059 Mon Sep 17 00:00:00 2001 From: Rid Date: Tue, 6 Oct 2026 10:12:34 +0100 Subject: [PATCH 102/142] feat(factory): support explicit Docker API versions Add an api_version option that overrides DOCKER_API_VERSION without changing the process environment. Preserve the existing environment fallback and default API 1.45 path. Keep the option out of the underlying socket configuration. Cover version normalization, invalid input, Unix/TCP/TLS routing and unbuffered streams. Document the option for client 3.1.0. --- CHANGELOG.md | 6 +++ README.md | 6 ++- docs/api-versions.mdx | 19 +++++++++ src/DockerClientFactory.php | 22 ++++++++-- tests/DockerClientFactoryTest.php | 48 +++++++++++++++++++++- tests/DockerClientFactoryTransportTest.php | 20 +++++++++ tests/StreamingTransportTest.php | 7 +++- 7 files changed, 120 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3b5716d6..c437a95bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 3.1.0 + +- Add an explicit `api_version` factory option. It overrides `DOCKER_API_VERSION` + without changing the process environment or generated models. +- Preserve the existing environment fallback and default API version 1.45. + ## 2.0 - [BC Break] All endpoints have new names and potentially new parameters diff --git a/README.md b/README.md index 67a3a17fe..31ef3e29f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This library aims to reach 100% API support of the Docker Engine. ## Documentation -The [version 3.0 documentation](https://docker-php.mintlify.site/) is available. +The [version 3.x documentation](https://docker-php.mintlify.site/) is available. Its source lives in [docs/](docs/); see [DOCUMENTATION.md](DOCUMENTATION.md) to preview and edit it locally. The [legacy documentation](https://docker-php.readthedocs.io/en/latest/) @@ -100,6 +100,10 @@ in request URLs: DOCKER_API_VERSION=1.52 php your-script.php ``` +Since 3.1.0, the factory's `api_version` option can pin the request version +directly in PHP. It takes precedence over `DOCKER_API_VERSION`. See +[connection settings](https://docker-php.mintlify.site/connection#factory-options). + The generated endpoints and models still describe API v1.45. Changing the URL version does not add newer API fields or endpoints. The client does not automatically negotiate an API version with the daemon. diff --git a/docs/api-versions.mdx b/docs/api-versions.mdx index e1e53add3..d477ad4aa 100644 --- a/docs/api-versions.mdx +++ b/docs/api-versions.mdx @@ -47,6 +47,25 @@ DOCKER_API_VERSION=1.45 php your-script.php Both `1.45` and `v1.45` are accepted. Choose a version supported by your daemon and compatible with the endpoints you use. +Since client 3.1.0, you can pin the request version directly in PHP: + +```php + 'unix:///var/run/docker.sock', + 'api_version' => '1.45', +]); +$docker = Docker::create($httpClient, [], [], false); +``` + +An explicit `api_version` overrides `DOCKER_API_VERSION`. Without it, the +environment setting and default remain unchanged. The fourth argument disables +the generated server plugins because the factory already adds the API path. + Changing the URL version does not regenerate models or add newer fields and endpoints. The client does not automatically negotiate an API version with the diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index dabf81561..56d4ef328 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -16,8 +16,26 @@ final class DockerClientFactory { + /** + * The api_version option overrides DOCKER_API_VERSION; other options are + * passed to the socket client. Neither setting changes the generated models. + */ public static function create(array $config = [], ?PluginClientFactory $pluginClientFactory = null): PluginClient { + if (\array_key_exists('api_version', $config)) { + if (!\is_string($config['api_version']) || !preg_match('#^/?v?[0-9]+\.[0-9]+$#D', $config['api_version'])) { + throw new \InvalidArgumentException('api_version must be a Docker API version such as 1.45 or v1.45.'); + } + $dockerApiVersion = $config['api_version']; + unset($config['api_version']); + } else { + $dockerApiVersion = getenv('DOCKER_API_VERSION') ?: 'v1.45'; + } + $dockerApiVersion = ltrim($dockerApiVersion, '/'); + if (!str_starts_with($dockerApiVersion, 'v')) { + $dockerApiVersion = 'v'.$dockerApiVersion; + } + if (!\array_key_exists('remote_socket', $config)) { $config['remote_socket'] = 'unix:///var/run/docker.sock'; } @@ -42,10 +60,6 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl } $socketClient = new Client($config); - $dockerApiVersion = ltrim(getenv('DOCKER_API_VERSION') ?: 'v1.45', '/'); - if (!str_starts_with($dockerApiVersion, 'v')) { - $dockerApiVersion = 'v'.$dockerApiVersion; - } $pluginClientFactory ??= new PluginClientFactory(); diff --git a/tests/DockerClientFactoryTest.php b/tests/DockerClientFactoryTest.php index 5c904b18f..ab57d707b 100644 --- a/tests/DockerClientFactoryTest.php +++ b/tests/DockerClientFactoryTest.php @@ -109,6 +109,50 @@ public function testApiVersionWithoutVersionPrefix(): void $this->assertSame('/v1.52', $this->getApiPath()); } + public static function explicitApiVersions(): array + { + return [['1.45'], ['v1.45'], ['/v1.45'], ['/1.45']]; + } + + #[DataProvider('explicitApiVersions')] + public function testExplicitApiVersionOverridesEnvironment(string $version): void + { + putenv('DOCKER_API_VERSION=1.52'); + + $this->assertSame('/v1.45', $this->getApiPath(['api_version' => $version])); + $this->assertSame('1.52', getenv('DOCKER_API_VERSION')); + } + + public static function invalidApiVersions(): array + { + return [[''], [null], [1.45], [145], [false], [[]], ['1'], ['1.45/containers'], ['1.45?x=1'], [' 1.45'], ["1.45\n"]]; + } + + #[DataProvider('invalidApiVersions')] + public function testInvalidExplicitApiVersionIsRejected($version): void + { + $this->expectException(\InvalidArgumentException::class); + $this->expectExceptionMessage('api_version must be a Docker API version'); + + DockerClientFactory::create(['api_version' => $version]); + } + + public function testApiVersionIsNotPassedToSocketClient(): void + { + $config = []; + PluginClientFactory::setFactory(static function (Client $client, array $plugins, array $options) use (&$config): PluginClient { + $config = (new \ReflectionProperty($client, 'config'))->getValue($client); + unset($options['client_name']); + + return new PluginClient($client, $plugins, $options); + }); + + DockerClientFactory::create(['api_version' => '1.45', 'timeout' => 30000]); + + $this->assertArrayNotHasKey('api_version', $config); + $this->assertSame(30000, $config['timeout']); + } + public function testCreateFromEnvWithoutCertPath(): void { $this->expectException(\RuntimeException::class); @@ -158,7 +202,7 @@ public function testCreateCustomPeerName(): void $this->assertSame('test', $context['ssl']['peer_name']); } - private function getApiPath(): string + private function getApiPath(array $config = []): string { $plugins = []; PluginClientFactory::setFactory(static function ($client, array $createdPlugins, array $options) use (&$plugins): PluginClient { @@ -168,7 +212,7 @@ private function getApiPath(): string return new PluginClient($client, $createdPlugins, $options); }); - DockerClientFactory::create(); + DockerClientFactory::create($config); foreach ($plugins as $plugin) { if ($plugin instanceof AddPathPlugin) { diff --git a/tests/DockerClientFactoryTransportTest.php b/tests/DockerClientFactoryTransportTest.php index 70265421d..f3069d189 100644 --- a/tests/DockerClientFactoryTransportTest.php +++ b/tests/DockerClientFactoryTransportTest.php @@ -55,6 +55,26 @@ public function testHttpUrlFromEnvironment(): void $this->assertStringStartsWith('GET /v1.52/_ping HTTP/1.1', $this->serverResult()['request']); } + #[DataProvider('transports')] + public function testExplicitApiVersionOnRealConnection(string $scheme): void + { + putenv('DOCKER_API_VERSION=1.52'); + $serverConfig = []; + $clientConfig = ['api_version' => '1.45', 'timeout' => 3000]; + if ('https' === $scheme) { + $this->createCertificates(); + $serverConfig['ssl'] = $this->serverTlsOptions(); + $clientConfig['stream_context_options']['ssl']['cafile'] = $this->directory.'/ca.pem'; + } + $address = $this->startServer($serverConfig, 'unix' === $scheme); + $clientConfig['remote_socket'] = $scheme.'://'.$address; + $response = DockerClientFactory::create($clientConfig)->sendRequest(new Request('GET', '/_ping')); + + $this->assertSame('OK', $response->getBody()->getContents()); + $this->assertStringStartsWith('GET /v1.45/_ping HTTP/1.1', $this->serverResult()['request']); + $this->assertSame('1.52', getenv('DOCKER_API_VERSION')); + } + public function testHttpsDoesNotAllowPlaintextDowngrade(): void { $this->createCertificates(); diff --git a/tests/StreamingTransportTest.php b/tests/StreamingTransportTest.php index b9d2b2dd9..5963e6bdd 100644 --- a/tests/StreamingTransportTest.php +++ b/tests/StreamingTransportTest.php @@ -36,7 +36,12 @@ public function testCallbacksReceiveOutputBeforeThePeerFinishes(bool $unix, bool 'segments_base64' => [base64_encode($first), base64_encode($last)], 'delay_ms' => 1000, ]]], $unix); - $client = DockerClientFactory::create(['remote_socket' => ($unix ? 'unix://' : 'tcp://').$address, 'timeout' => 3000]); + putenv('DOCKER_API_VERSION=1.52'); + $client = DockerClientFactory::create([ + 'remote_socket' => ($unix ? 'unix://' : 'tcp://').$address, + 'api_version' => '1.45', + 'timeout' => 3000, + ]); $response = $client->sendRequest(new Request('GET', '/stream')); $stream = new DockerRawStream($response->getBody(), $multiplexed); $stdout = ''; From 0ffd32a4b998619a507373244383f09a622e0cc4 Mon Sep 17 00:00:00 2001 From: Rid Date: Tue, 6 Oct 2026 10:27:00 +0100 Subject: [PATCH 103/142] feat(exec): add nonblocking interactive sessions Add a separate interactive exec API for the bundled socket transport. Support bounded stdin writes, backpressure, incremental output framing, non-TTY write-side EOF, idle polling and streaming deadlines. Keep existing blocking exec calls unchanged and reject unsupported HTTP clients before starting an interactive exec. Preserve bytes read with the upgrade headers and close sessions on I/O, callback or deadline failures. Reject TTY half-close because Docker can cut off terminal output; closing a connection never promises to terminate the command. Cover Unix/TCP/TLS fixtures, malformed frames, silent heartbeat hooks, backpressure and real Docker stdin, TTY output, exit status and container-side timeouts. Document the feature-branch API. --- CHANGELOG.md | 7 + docs/docs.json | 1 + docs/guides/exec.mdx | 3 + docs/guides/interactive-exec.mdx | 129 +++++++++ src/Docker.php | 61 ++++- src/DockerClientFactory.php | 12 + src/Endpoint/InteractiveExecStart.php | 19 ++ .../InteractiveExecTimeoutException.php | 9 + src/Http/InteractiveHttpClient.php | 27 ++ src/Stream/InteractiveExecStream.php | 255 ++++++++++++++++++ tests/InteractiveExecTransportTest.php | 108 ++++++++ .../Resource/InteractiveExecResourceTest.php | 124 +++++++++ tests/Stream/InteractiveExecStreamTest.php | 227 ++++++++++++++++ tests/TransportTestCase.php | 4 +- tests/fixtures/interactive-server.php | 68 +++++ 15 files changed, 1049 insertions(+), 5 deletions(-) create mode 100644 docs/guides/interactive-exec.mdx create mode 100644 src/Endpoint/InteractiveExecStart.php create mode 100644 src/Exception/InteractiveExecTimeoutException.php create mode 100644 src/Http/InteractiveHttpClient.php create mode 100644 src/Stream/InteractiveExecStream.php create mode 100644 tests/InteractiveExecTransportTest.php create mode 100644 tests/Resource/InteractiveExecResourceTest.php create mode 100644 tests/Stream/InteractiveExecStreamTest.php create mode 100644 tests/fixtures/interactive-server.php diff --git a/CHANGELOG.md b/CHANGELOG.md index c437a95bb..754caddce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## Unreleased + +- Add opt-in interactive exec sessions with nonblocking stdin writes, bounded + output polling, non-TTY stdin EOF and streaming deadlines. +- Keep existing blocking exec APIs unchanged. Interactive sessions require + the bundled socket transport; TTY stdin half-close is rejected. + ## 3.1.0 - Add an explicit `api_version` factory option. It overrides `DOCKER_API_VERSION` diff --git a/docs/docs.json b/docs/docs.json index b0c25eb27..f8872beb5 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -22,6 +22,7 @@ "cookbook/container-config", "guides/logs", "guides/exec", + "guides/interactive-exec", "cookbook/build-image", "guides/registry", "guides/archives", diff --git a/docs/guides/exec.mdx b/docs/guides/exec.mdx index 981448285..eca6b8329 100644 --- a/docs/guides/exec.mdx +++ b/docs/guides/exec.mdx @@ -92,6 +92,9 @@ This recipe is output-only: it does not implement interactive stdin or a terminal UI. `onStdin()` on `DockerRawStream` is not a write method. See [attach limitations](/reference/streams#attach-and-websocket-limitations). +For the feature-branch API with stdin, nonblocking polling and heartbeat hooks, +see [interactive exec](/guides/interactive-exec). + Raw response bodies can contain binary frame headers. See [Container logs](/guides/logs#raw-response-bodies) before working with raw fetch modes. diff --git a/docs/guides/interactive-exec.mdx b/docs/guides/interactive-exec.mdx new file mode 100644 index 000000000..9b397ad83 --- /dev/null +++ b/docs/guides/interactive-exec.mdx @@ -0,0 +1,129 @@ +--- +title: "Interactive exec" +description: "Send stdin while polling output, with application heartbeats and deadlines." +--- + + +This API is on the `codex/interactive-exec` feature branch. It is not included +in client `3.1.0`. The existing blocking `execStart()` and `wait()` APIs are unchanged. + + +Use interactive exec when a command needs stdin or your application must keep +working while it runs. The session reads and writes without blocking on command +output. A caller can renew a lock, check cancellation or enforce its own deadline +between `poll()` calls, even if the command is silent. + +## Non-TTY stdin and output + +The default `Docker::create()` socket client supports this API. For explicit PHP +configuration, use `DockerClientFactory::createInteractive()`: + +```php + 'unix:///var/run/docker.sock', + 'api_version' => '1.45', + 'timeout' => 2000, +]), [], [], false); + +$command = new ContainersIdExecPostBody(); +$command->setCmd(['timeout', '-s', 'KILL', '30', 'cat']); +$command->setAttachStdin(true); +$command->setAttachStdout(true); +$command->setAttachStderr(true); +$command->setTty(false); +$exec = $docker->containerExec('my-container', $command); + +$start = new ExecIdStartPostBody(); +$start->setTty(false); +$session = $docker->execStartInteractive($exec->getId(), $start, 35000); +$session->onStdout(static function (string $chunk): void { + echo $chunk; +}); +$session->onStderr(static function (string $chunk): void { + fwrite(STDERR, $chunk); +}); + +$input = "{\"example\":true}\n"; +$offset = 0; +$stdinClosed = false; +$nextHeartbeat = 0; +try { + while (!$session->isFinished()) { + $now = hrtime(true); + if ($now >= $nextHeartbeat) { + // Renew your application lock here; throw if ownership was lost. + $nextHeartbeat = $now + 10000000000; + } + if ($offset < strlen($input)) { + $offset += $session->writeStdin(substr($input, $offset, 16384)); + } elseif (!$stdinClosed) { + $session->closeStdin(); + $stdinClosed = true; + } + $session->poll(50); + } +} finally { + $session->close(); +} + +$result = $docker->execInspect($exec->getId()); +if ($result->getRunning() !== false || $result->getExitCode() === null) { + throw new RuntimeException('The exec result is not known yet; inspect it before retrying'); +} +if ($result->getExitCode() !== 0) { + throw new RuntimeException('The command failed with exit status '.$result->getExitCode()); +} +``` + +Replace `my-container` with a running development container. `timeout` must exist +inside its image; use the image's own timeout/supervision mechanism if it does not. + +`writeStdin()` returns the number of bytes accepted, at most 16 KiB per call. +Zero means backpressure: poll output, then retry the unsent suffix. The library +does not retain or queue stdin. Once all input has been sent, `closeStdin()` sends +EOF without closing the non-TTY output channels. + +`poll(50)` reads at most 16 KiB and waits at most 50 milliseconds for data. It +returns `true` while the connection remains open, including during idle periods; +`false` means clean output EOF. Callbacks receive chunks, which can split frames +or lines. Without a callback, that channel is drained and discarded. + +If stdin is already complete, `wait($tick, 50)` is a convenience loop. `$tick` +runs between polls even with no output; it can also send input. Callbacks and +ticks must return promptly. Their exceptions close the local session and propagate. + +## Deadlines and completion + +The factory's `timeout` bounds synchronous HTTP setup requests. The third argument +to `execStartInteractive()` is a separate total streaming deadline in milliseconds, +starting after the HTTP upgrade. It is not reset when output arrives. Expiry throws +`Docker\Exception\InteractiveExecTimeoutException` and closes local I/O. + + +Closing the stream or reaching a local deadline does not guarantee that Docker +terminated the command. Keep an in-container timeout for unattended operations. +Output EOF is not an exit code: inspect `Running` and `ExitCode`, with a bounded +application deadline if you need to poll for the final result. Never automatically +retry a command with side effects after an ambiguous disconnect. + + +## Transports and TTY + +This feature supports the bundled Unix, TCP and TLS socket transport. Guzzle and +arbitrary PSR-18 clients are rejected before sending an interactive start request. +HTTP proxies must preserve the HTTP 101 connection upgrade and bidirectional traffic. + +TTY sessions support stdin writes and combined output on `onStdout()`. They have +terminal semantics, not separate stdout/stderr pipes. `closeStdin()` deliberately +rejects TTY sessions: Docker can close their output when socket stdin reaches EOF. +Use terminal input or let the command exit; use `Tty=false` for JSON-input managers. +The `Tty` setting must match at exec creation and start. diff --git a/src/Docker.php b/src/Docker.php index c091aa64b..faed3f178 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -15,14 +15,21 @@ use Docker\Endpoint\ImageBuild; use Docker\Endpoint\ImageCreate; use Docker\Endpoint\ImagePush; +use Docker\Endpoint\InteractiveExecStart; use Docker\Endpoint\SystemEvents; use Docker\Exception\BadRequestException; +use Docker\Http\InteractiveHttpClient; +use Docker\Stream\InteractiveExecStream; +use Docker\Stream\SocketReadStream; +use Http\Client\Socket\Stream as SocketStream; /** * Docker\Docker. */ class Docker extends Client { + private bool $interactiveExecEnabled = false; + /** * {@inheritdoc} */ @@ -60,6 +67,52 @@ public function execStart(string $id, ?ExecIdStartPostBody $requestBody = null, return $this->executeEndpoint(new ExecStart($id, $requestBody, $accept), $fetch); } + /** + * Start attached exec with nonblocking stdin/stdout/stderr. timeoutMs is a + * streaming deadline after upgrade; HTTP setup uses the factory timeout. + * Inspect the exec separately after output EOF to obtain its exit status. + */ + public function execStartInteractive(string $id, ?ExecIdStartPostBody $requestBody = null, ?int $timeoutMs = null): InteractiveExecStream + { + if (!$this->interactiveExecEnabled) { + throw new \LogicException('Interactive exec requires DockerClientFactory::createInteractive() or the default socket client.'); + } + if (null !== $timeoutMs && ($timeoutMs < 1 || $timeoutMs > 86400000)) { + throw new \InvalidArgumentException('Interactive exec timeout must be between 1 and 86400000 milliseconds.'); + } + if ('' === $id) { + throw new \InvalidArgumentException('An exec ID is required.'); + } + $body = null === $requestBody ? new ExecIdStartPostBody() : clone $requestBody; + if ($body->getDetach()) { + throw new \InvalidArgumentException('Interactive exec cannot be detached.'); + } + $body->setDetach(false); + $response = $this->executeRawEndpoint(new InteractiveExecStart($id, $body)); + $stream = $response->getBody(); + $mediaType = strtolower(trim(explode(';', $response->getHeaderLine('Content-Type'))[0])); + if (101 !== $response->getStatusCode() + || 'tcp' !== strtolower(trim($response->getHeaderLine('Upgrade'))) + || !preg_match('/(?:^|,)\s*upgrade\s*(?:,|$)/i', $response->getHeaderLine('Connection')) + || $response->hasHeader('Transfer-Encoding') + || $response->hasHeader('Content-Encoding') + || !\in_array($mediaType, [\Docker\Stream\DockerRawStream::HEADER, \Docker\Stream\DockerRawStream::MULTIPLEXED_HEADER], true) + || (!$stream instanceof SocketReadStream && !$stream instanceof SocketStream)) { + $stream->close(); + throw new \RuntimeException('Docker did not provide a supported interactive exec upgrade (HTTP '.$response->getStatusCode().').'); + } + // The detached resource keeps bytes PHP read ahead with the headers. + $socket = $stream->detach(); + try { + return new InteractiveExecStream($socket, !(bool) $body->getTty(), $timeoutMs); + } catch (\Throwable $error) { + if (\is_resource($socket)) { + fclose($socket); + } + throw $error; + } + } + /** * {@inheritdoc} */ @@ -75,6 +128,7 @@ public function imageCreate(?string $requestBody = null, array $queryParameters { return $this->executeEndpoint(new ImageCreate($requestBody, $queryParameters, $headerParameters), $fetch); } + public function imagePush(string $name, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { if (isset($headerParameters['X-Registry-Auth']) && $headerParameters['X-Registry-Auth'] instanceof AuthConfig) { @@ -97,14 +151,14 @@ public static function create( array $additionalPlugins = [], array $additionalNormalizers = [], bool $applyServerPlugins = true - ): self - { + ): self { if (null === $httpClient) { - $httpClient = DockerClientFactory::createFromEnv(); + $httpClient = DockerClientFactory::createInteractiveFromEnv(); $applyServerPlugins = false; } $client = parent::create($httpClient, $additionalPlugins, $additionalNormalizers, $applyServerPlugins); + $client->interactiveExecEnabled = $httpClient instanceof InteractiveHttpClient; $response = $client->executeRawEndpoint(new SystemInfo()); $testClient = $response->getBody()->getContents(); $jsonObj = json_decode($testClient); @@ -121,6 +175,7 @@ public static function create( } else { throw new BadRequestException("Failed to decode JSON.", $response); } + return $client; } } diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 56d4ef328..5c62fd540 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -4,6 +4,7 @@ namespace Docker; +use Docker\Http\InteractiveHttpClient; use Docker\Http\StreamingDecoderPlugin; use Http\Client\Common\Plugin\AddHostPlugin; use Http\Client\Common\Plugin\AddPathPlugin; @@ -80,6 +81,17 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl ); } + /** Socket transport with opt-in interactive exec support. */ + public static function createInteractive(array $config = [], ?PluginClientFactory $pluginClientFactory = null): InteractiveHttpClient + { + return new InteractiveHttpClient(self::create($config, $pluginClientFactory)); + } + + public static function createInteractiveFromEnv(?PluginClientFactory $pluginClientFactory = null): InteractiveHttpClient + { + return new InteractiveHttpClient(self::createFromEnv($pluginClientFactory)); + } + public static function createFromEnv(?PluginClientFactory $pluginClientFactory = null): PluginClient { $options = [ diff --git a/src/Endpoint/InteractiveExecStart.php b/src/Endpoint/InteractiveExecStart.php new file mode 100644 index 000000000..55075ff29 --- /dev/null +++ b/src/Endpoint/InteractiveExecStart.php @@ -0,0 +1,19 @@ + ['Upgrade'], + 'Upgrade' => ['tcp'], + ]; + } +} diff --git a/src/Exception/InteractiveExecTimeoutException.php b/src/Exception/InteractiveExecTimeoutException.php new file mode 100644 index 000000000..d433bff98 --- /dev/null +++ b/src/Exception/InteractiveExecTimeoutException.php @@ -0,0 +1,9 @@ +client->sendRequest($request); + } +} diff --git a/src/Stream/InteractiveExecStream.php b/src/Stream/InteractiveExecStream.php new file mode 100644 index 000000000..d11d23186 --- /dev/null +++ b/src/Stream/InteractiveExecStream.php @@ -0,0 +1,255 @@ + 86400000)) { + throw new \InvalidArgumentException('Interactive exec timeout must be between 1 and 86400000 milliseconds.'); + } + if (!stream_set_blocking($socket, false)) { + throw new \RuntimeException('Cannot make the interactive exec socket nonblocking.'); + } + $this->socket = $socket; + $this->deadline = null === $timeoutMs ? null : hrtime(true) + $timeoutMs * 1000000; + } + + public function onStdout(callable $callback): void + { + $this->stdout[] = $callback; + } + + public function onStderr(callable $callback): void + { + $this->stderr[] = $callback; + } + + /** + * Attempt a bounded write. Retry the unsent suffix after polling. + * Returns zero on backpressure; it does not queue or retain stdin. + */ + public function writeStdin(string $data): int + { + $this->checkDeadline(); + $this->requireOpen(); + if ($this->stdinClosed) { + throw new \LogicException('Interactive exec stdin is closed.'); + } + if ('' === $data) { + return 0; + } + $written = @fwrite($this->socket, substr($data, 0, 16384)); + if (false === $written) { + $this->close(); + throw new \RuntimeException('Cannot write interactive exec stdin.'); + } + + return $written; + } + + /** Send EOF to stdin, while keeping stdout and stderr readable. */ + public function closeStdin(): void + { + $this->checkDeadline(); + $this->requireOpen(); + if (!$this->multiplexed) { + throw new \LogicException('TTY stdin cannot be half-closed safely; use terminal input or wait for the command to exit.'); + } + if (!$this->stdinClosed) { + if (!@stream_socket_shutdown($this->socket, \STREAM_SHUT_WR)) { + $this->close(); + throw new \RuntimeException('Cannot close interactive exec stdin.'); + } + $this->stdinClosed = true; + } + } + + /** + * Read at most 16 KiB, waiting at most timeoutMs for data. True means the + * session remains open (possibly idle); false means a clean output EOF. + * Callbacks receive chunks, not necessarily whole Docker frames or lines. + */ + public function poll(int $timeoutMs = 0): bool + { + if ($timeoutMs < 0 || $timeoutMs > 60000) { + throw new \InvalidArgumentException('Poll timeout must be between 0 and 60000 milliseconds.'); + } + if ($this->finished) { + return false; + } + $this->checkDeadline(); + $this->requireOpen(); + + try { + // Try the nonblocking read first: TLS and PHP may already have + // buffered bytes even when the underlying descriptor is not ready. + $data = @fread($this->socket, 16384); + if (false === $data) { + throw new \RuntimeException('Cannot read interactive exec output.'); + } + if ('' === $data && !feof($this->socket)) { + $waitNs = $timeoutMs * 1000000; + if (null !== $this->deadline) { + $waitNs = min($waitNs, max(0, $this->deadline - hrtime(true))); + } + $read = [$this->socket]; + $write = $except = []; + $selected = @stream_select($read, $write, $except, intdiv($waitNs, 1000000000), intdiv($waitNs % 1000000000, 1000)); + $this->checkDeadline(); + if (false === $selected) { + throw new \RuntimeException('Cannot poll interactive exec output.'); + } + if (0 === $selected) { + return true; + } + $data = @fread($this->socket, 16384); + if (false === $data) { + throw new \RuntimeException('Cannot read interactive exec output.'); + } + } + $this->checkDeadline(); + if ('' !== $data) { + $this->dispatch($data); + } + $this->requireOpen(); + if (feof($this->socket)) { + if ('' !== $this->header || $this->remaining > 0) { + throw new \RuntimeException('Docker closed an incomplete exec frame.'); + } + $this->finished = true; + $this->close(); + } + + return !$this->finished; + } catch (\Throwable $error) { + $this->close(); + throw $error; + } + } + + /** The tick runs even when the command produces no output. */ + public function wait(?callable $tick = null, int $pollIntervalMs = 100): void + { + try { + while (!$this->finished) { + if (null !== $tick) { + $tick(); + } + $this->poll($pollIntervalMs); + } + } catch (\Throwable $error) { + $this->close(); + throw $error; + } + } + + public function isFinished(): bool + { + return $this->finished; + } + + /** Cancel local I/O only; the in-container process may still be running. */ + public function close(): void + { + if (\is_resource($this->socket)) { + fclose($this->socket); + } + $this->socket = null; + $this->header = ''; + $this->stdout = $this->stderr = []; + } + + public function __destruct() + { + $this->close(); + } + + private function requireOpen(): void + { + if (!\is_resource($this->socket)) { + throw new \LogicException('Interactive exec session is closed.'); + } + } + + private function checkDeadline(): void + { + if (null !== $this->deadline && hrtime(true) >= $this->deadline) { + $this->close(); + throw new InteractiveExecTimeoutException('Interactive exec exceeded its streaming deadline.'); + } + } + + private function dispatch(string $data): void + { + if (!$this->multiplexed) { + foreach ($this->stdout as $callback) { + $callback($data); + } + + return; + } + $offset = 0; + $length = \strlen($data); + while ($offset < $length) { + if (0 === $this->remaining) { + $take = min(8 - \strlen($this->header), $length - $offset); + $this->header .= substr($data, $offset, $take); + $offset += $take; + if (8 !== \strlen($this->header)) { + return; + } + $frame = unpack('Cchannel/C3padding/Nsize', $this->header); + if ($frame['channel'] > 2 || "\0\0\0" !== substr($this->header, 1, 3)) { + throw new \RuntimeException('Docker returned an invalid exec frame.'); + } + $this->channel = $frame['channel']; + $this->remaining = $frame['size']; + $this->header = ''; + if (0 === $this->remaining) { + continue; + } + } + $take = min($this->remaining, $length - $offset); + if (0 === $take) { + return; + } + $output = substr($data, $offset, $take); + $offset += $take; + $this->remaining -= $take; + foreach (2 === $this->channel ? $this->stderr : $this->stdout as $callback) { + $callback($output); + } + } + } +} diff --git a/tests/InteractiveExecTransportTest.php b/tests/InteractiveExecTransportTest.php new file mode 100644 index 000000000..a4253211c --- /dev/null +++ b/tests/InteractiveExecTransportTest.php @@ -0,0 +1,108 @@ + [$scheme, $tty]; + } + } + } + + #[DataProvider('transports')] + public function testBidirectionalOutputAndHalfClose(string $scheme, bool $tty): void + { + $serverConfig = ['tty' => $tty, 'input_length' => 9 * 16384]; + $config = ['timeout' => 3000, 'api_version' => '1.45']; + if ('https' === $scheme) { + $this->createCertificates(); + $serverConfig['ssl'] = $this->serverTlsOptions(); + $config['stream_context_options']['ssl']['cafile'] = $this->directory.'/ca.pem'; + } + $address = $this->startServer($serverConfig, 'unix' === $scheme, 'interactive-server.php'); + $config['remote_socket'] = $scheme.'://'.$address; + putenv('DOCKER_API_VERSION=1.52'); + $docker = Docker::create(DockerClientFactory::createInteractive($config), [], [], false); + $body = new ExecIdStartPostBody(); + $body->setTty($tty); + $session = $docker->execStartInteractive('test', $body, 5000); + $payload = str_repeat("binary\0\xff\n", 16384); + $stdout = $stderr = ''; + $session->onStdout(static function (string $chunk) use (&$stdout): void { $stdout .= $chunk; }); + $session->onStderr(static function (string $chunk) use (&$stderr): void { $stderr .= $chunk; }); + self::assertTrue($session->poll(100)); + self::assertSame('ready:', $stdout, 'Buffered bytes sent with the HTTP headers were lost.'); + $offset = 0; + while ($offset < \strlen($payload)) { + $offset += $session->writeStdin(substr($payload, $offset)); + $session->poll(1); + } + if (!$tty) { + $session->closeStdin(); + } + $session->wait(); + self::assertSame('ready:'.$payload.':done'.($tty ? 'error' : ''), $stdout); + self::assertSame($tty ? '' : 'error', $stderr); + $request = $this->serverResult(1); + self::assertSame(\strlen($payload), $request['stdin_length']); + self::assertSame(hash('sha256', $payload), $request['stdin_hash']); + self::assertStringStartsWith('POST /v1.45/exec/test/start HTTP/1.1', $request['request']); + self::assertStringContainsString("Upgrade: tcp\r\n", $request['request']); + self::assertSame(['Detach' => false, 'Tty' => $tty], json_decode($request['body'], true)); + self::assertNull($body->getDetach(), 'The caller model was mutated.'); + } + + public function testCustomHttpClientFailsBeforeStartingExec(): void + { + $http = new class() implements \Psr\Http\Client\ClientInterface { + public int $requests = 0; + + public function sendRequest(\Psr\Http\Message\RequestInterface $request): \Psr\Http\Message\ResponseInterface + { + ++$this->requests; + + return new \Nyholm\Psr7\Response(200, ['Content-Type' => 'application/json'], '{}'); + } + }; + $docker = Docker::create($http, [], [], false); + try { + $docker->execStartInteractive('test'); + self::fail('Unsupported transport was accepted.'); + } catch (\LogicException $expected) { + self::assertSame(1, $http->requests); + } + } + + public function testDetachedExecIsRejectedBeforeTheRequest(): void + { + $address = $this->startServer(['responses' => [['body' => '{}']]], true); + $docker = Docker::create(DockerClientFactory::createInteractive(['remote_socket' => 'unix://'.$address]), [], [], false); + $body = new ExecIdStartPostBody(); + $body->setDetach(true); + $this->expectException(\InvalidArgumentException::class); + $docker->execStartInteractive('test', $body); + } + + public function testARegularHttpResponseIsNotTreatedAsAnInteractiveSession(): void + { + $address = $this->startServer(['responses' => [ + ['body' => '{}'], + ['status' => 409, 'body' => '{"message":"fixture conflict"}', 'headers' => ['Content-Type' => 'application/json']], + ]], true); + $docker = Docker::create(DockerClientFactory::createInteractive(['remote_socket' => 'unix://'.$address]), [], [], false); + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('HTTP 409'); + $docker->execStartInteractive('test'); + } +} diff --git a/tests/Resource/InteractiveExecResourceTest.php b/tests/Resource/InteractiveExecResourceTest.php new file mode 100644 index 000000000..3c4be5fbe --- /dev/null +++ b/tests/Resource/InteractiveExecResourceTest.php @@ -0,0 +1,124 @@ +setImage('busybox:latest'); + $container->setCmd(['sleep', '60']); + $created = $docker->containerCreate($container); + try { + $docker->containerStart($created->getId()); + $create = new ContainersIdExecPostBody(); + $create->setAttachStdin(true); + $create->setAttachStdout(true); + $create->setAttachStderr(true); + $create->setTty(true); + $create->setCmd(['sh', '-c', 'read line; printf "ok:%s\\n" "$line"; printf error >&2']); + $exec = $docker->containerExec($created->getId(), $create); + $body = new ExecIdStartPostBody(); + $body->setTty(true); + $session = $docker->execStartInteractive($exec->getId(), $body, 5000); + $output = ''; + $session->onStdout(static function (string $chunk) use (&$output): void { $output .= $chunk; }); + $session->onStderr(static function (): void { self::fail('TTY stderr was separated.'); }); + self::assertSame(6, $session->writeStdin("hello\n")); + // TTY input is a terminal: EOF on the socket can cut off output. + // This command exits after one line, without needing input EOF. + $session->wait(); + self::assertStringContainsString('ok:hello', $output); + self::assertStringContainsString('error', $output); + } finally { + $docker->containerDelete($created->getId(), ['force' => true]); + } + } + + public function testStdinEofAndNonzeroExitAgainstDocker(): void + { + $docker = self::getDocker(); + $container = new ContainersCreatePostBody(); + $container->setImage('busybox:latest'); + $container->setCmd(['sleep', '60']); + $created = $docker->containerCreate($container); + try { + $docker->containerStart($created->getId()); + $create = new ContainersIdExecPostBody(); + $create->setAttachStdin(true); + $create->setAttachStdout(true); + $create->setAttachStderr(true); + $create->setTty(false); + $create->setCmd(['sh', '-c', 'cat; printf error >&2; exit 7']); + $exec = $docker->containerExec($created->getId(), $create); + $body = new ExecIdStartPostBody(); + $body->setTty(false); + $session = $docker->execStartInteractive($exec->getId(), $body, 5000); + $stdout = $stderr = ''; + $session->onStdout(static function (string $chunk) use (&$stdout): void { $stdout .= $chunk; }); + $session->onStderr(static function (string $chunk) use (&$stderr): void { $stderr .= $chunk; }); + $input = str_repeat("binary\0\xff\n", 8192); + $offset = 0; + while ($offset < \strlen($input)) { + $offset += $session->writeStdin(substr($input, $offset)); + $session->poll(1); + } + $session->closeStdin(); + $session->wait(); + self::assertSame($input, $stdout); + self::assertSame('error', $stderr); + $info = $docker->execInspect($exec->getId()); + self::assertFalse($info->getRunning()); + self::assertSame(7, $info->getExitCode()); + } finally { + $docker->containerDelete($created->getId(), ['force' => true]); + } + } + + public function testSilentExecHeartbeatAndContainerTimeout(): void + { + $docker = self::getDocker(); + $container = new ContainersCreatePostBody(); + $container->setImage('busybox:latest'); + $container->setCmd(['sleep', '60']); + $created = $docker->containerCreate($container); + try { + $docker->containerStart($created->getId()); + $create = new ContainersIdExecPostBody(); + $create->setAttachStdout(true); + $create->setAttachStderr(true); + $create->setCmd(['timeout', '-s', 'KILL', '1', 'sleep', '30']); + $exec = $docker->containerExec($created->getId(), $create); + $session = $docker->execStartInteractive($exec->getId(), null, 180); + $ticks = 0; + try { + $session->wait(static function () use (&$ticks): void { ++$ticks; }, 30); + self::fail('The streaming deadline was ignored.'); + } catch (InteractiveExecTimeoutException $expected) { + self::assertGreaterThanOrEqual(3, $ticks); + } + // Disconnecting output is not cancellation. Keep the container-side + // timeout, which terminates only this exec, not the whole container. + self::assertTrue($docker->execInspect($exec->getId())->getRunning()); + $deadline = hrtime(true) + 3000000000; + do { + usleep(50000); + $info = $docker->execInspect($exec->getId()); + } while ($info->getRunning() && hrtime(true) < $deadline); + self::assertFalse($info->getRunning()); + self::assertNotSame(0, $info->getExitCode()); + } finally { + $docker->containerDelete($created->getId(), ['force' => true]); + } + } +} diff --git a/tests/Stream/InteractiveExecStreamTest.php b/tests/Stream/InteractiveExecStreamTest.php new file mode 100644 index 000000000..c9a3701eb --- /dev/null +++ b/tests/Stream/InteractiveExecStreamTest.php @@ -0,0 +1,227 @@ +stream?->close(); + foreach ($this->sockets as $socket) { + if (\is_resource($socket)) { + fclose($socket); + } + } + parent::tearDown(); + } + + private function open(bool $multiplexed = true, ?int $timeoutMs = null): InteractiveExecStream + { + $this->sockets = stream_socket_pair(\STREAM_PF_UNIX, \STREAM_SOCK_STREAM, \STREAM_IPPROTO_IP); + self::assertIsArray($this->sockets); + stream_set_blocking($this->sockets[1], false); + + return $this->stream = new InteractiveExecStream($this->sockets[0], $multiplexed, $timeoutMs); + } + + public function testHalfCloseKeepsOutputReadable(): void + { + $stream = $this->open(); + self::assertSame(5, $stream->writeStdin('input')); + self::assertSame('input', fread($this->sockets[1], 20)); + $stream->closeStdin(); + $stream->closeStdin(); + self::assertSame('', fread($this->sockets[1], 20)); + self::assertTrue(feof($this->sockets[1])); + fwrite($this->sockets[1], pack('CxxxN', 1, 6).'result'); + fclose($this->sockets[1]); + $output = ''; + $stream->onStdout(static function (string $chunk) use (&$output): void { $output .= $chunk; }); + $stream->wait(); + self::assertSame('result', $output); + self::assertTrue($stream->isFinished()); + self::assertFalse($stream->poll()); + } + + public function testPartialWritesAndBackpressureAreBounded(): void + { + $stream = $this->open(); + $payload = str_repeat('x', 1048576); + $offset = 0; + $started = hrtime(true); + do { + $written = $stream->writeStdin(substr($payload, $offset)); + self::assertLessThanOrEqual(16384, $written); + $offset += $written; + } while ($written > 0 && $offset < \strlen($payload)); + self::assertSame(0, $written, 'The peer must eventually apply backpressure.'); + self::assertLessThan(500000000, hrtime(true) - $started, 'writeStdin blocked.'); + self::assertLessThan(\strlen($payload), $offset); + $received = ''; + while ($offset < \strlen($payload)) { + $received .= stream_get_contents($this->sockets[1]); + $offset += $stream->writeStdin(substr($payload, $offset)); + } + $received .= stream_get_contents($this->sockets[1]); + self::assertSame($payload, $received); + } + + public function testFragmentedHeadersPayloadsAndEmptyFrames(): void + { + $stream = $this->open(); + $stdout = $stderr = ''; + $stream->onStdout(static function (string $chunk) use (&$stdout): void { $stdout .= $chunk; }); + $stream->onStderr(static function (string $chunk) use (&$stderr): void { $stderr .= $chunk; }); + $wire = pack('CxxxN', 1, 0).pack('CxxxN', 1, 5).'hello'.pack('CxxxN', 2, 5).'error'.pack('CxxxN', 0, 4).'echo'; + foreach (str_split($wire, 3) as $chunk) { + fwrite($this->sockets[1], $chunk); + self::assertTrue($stream->poll()); + } + fclose($this->sockets[1]); + $stream->wait(); + self::assertSame('helloecho', $stdout); + self::assertSame('error', $stderr); + } + + public function testTtyBytesRemainUnchanged(): void + { + $stream = $this->open(false); + $output = ''; + $stream->onStdout(static function (string $chunk) use (&$output): void { $output .= $chunk; }); + $stream->onStderr(static function (): void { self::fail('TTY output has no separate stderr.'); }); + $bytes = "\0\xffhello\r\n"; + fwrite($this->sockets[1], $bytes); + fclose($this->sockets[1]); + $stream->wait(); + self::assertSame($bytes, $output); + } + + public function testIdlePollIsBoundedAndTicksReachDeadline(): void + { + $stream = $this->open(true, 160); + $started = hrtime(true); + self::assertTrue($stream->poll(30)); + self::assertGreaterThan(20000000, hrtime(true) - $started); + $ticks = 0; + try { + $stream->wait(static function () use (&$ticks): void { ++$ticks; }, 30); + self::fail('An idle session exceeded its deadline.'); + } catch (InteractiveExecTimeoutException $expected) { + self::assertGreaterThanOrEqual(3, $ticks); + self::assertLessThan(500000000, hrtime(true) - $started); + self::assertFalse($stream->isFinished(), 'A timeout is not successful completion.'); + } + } + + public static function invalidFrames(): array + { + return [ + 'partial header' => ["\x01\x00"], + 'partial payload' => [pack('CxxxN', 1, 5).'ab'], + 'invalid channel' => [pack('CxxxN', 9, 0)], + 'invalid padding' => ["\x01\x01\x00\x00\x00\x00\x00\x00"], + 'system error frame' => [pack('CxxxN', 3, 0)], + ]; + } + + #[DataProvider('invalidFrames')] + public function testInvalidOrTruncatedFramesFail(string $wire): void + { + $stream = $this->open(); + fwrite($this->sockets[1], $wire); + fclose($this->sockets[1]); + $this->expectException(\RuntimeException::class); + $stream->wait(); + } + + public function testHugeFrameDoesNotAllocateItsDeclaredSize(): void + { + $stream = $this->open(); + $before = memory_get_usage(true); + fwrite($this->sockets[1], pack('CxxxN', 1, 4294967295).'x'); + self::assertTrue($stream->poll()); + self::assertLessThan(1048576, memory_get_usage(true) - $before); + } + + public function testCallbackFailureClosesConnection(): void + { + $stream = $this->open(); + $error = new \RuntimeException('callback failed'); + $stream->onStdout(static function () use ($error): void { throw $error; }); + fwrite($this->sockets[1], pack('CxxxN', 1, 1).'x'); + try { + $stream->poll(); + self::fail('Callback error was swallowed.'); + } catch (\RuntimeException $caught) { + self::assertSame($error, $caught); + self::assertSame('', fread($this->sockets[1], 1)); + self::assertTrue(feof($this->sockets[1])); + } + } + + public function testHeartbeatFailureClosesConnection(): void + { + $stream = $this->open(); + $this->expectExceptionMessage('lock lost'); + try { + $stream->wait(static function (): void { throw new \RuntimeException('lock lost'); }); + } finally { + self::assertSame('', fread($this->sockets[1], 1)); + self::assertTrue(feof($this->sockets[1])); + } + } + + public function testWriteAfterHalfCloseFails(): void + { + $stream = $this->open(); + $stream->closeStdin(); + $this->expectException(\LogicException::class); + $stream->writeStdin('x'); + } + + public function testTtyHalfCloseIsRejectedWithoutLosingTheConnection(): void + { + $stream = $this->open(false); + try { + $stream->closeStdin(); + self::fail('Unsafe TTY half-close was accepted.'); + } catch (\LogicException $expected) { + self::assertSame(1, $stream->writeStdin('x')); + } + } + + public function testExplicitCloseIsNotSuccessfulEof(): void + { + $stream = $this->open(); + $stream->close(); + $stream->close(); + self::assertFalse($stream->isFinished()); + $this->expectException(\LogicException::class); + $stream->poll(); + } + + public function testWriteFailureClosesConnection(): void + { + $stream = $this->open(); + fclose($this->sockets[1]); + $this->expectException(\RuntimeException::class); + $stream->writeStdin('x'); + } + + public function testInvalidPollTimeoutIsRejected(): void + { + $stream = $this->open(); + $this->expectException(\InvalidArgumentException::class); + $stream->poll(60001); + } +} diff --git a/tests/TransportTestCase.php b/tests/TransportTestCase.php index 673144e0e..2a4ed52c9 100644 --- a/tests/TransportTestCase.php +++ b/tests/TransportTestCase.php @@ -38,11 +38,11 @@ protected function tearDown(): void parent::tearDown(); } - protected function startServer(array $options = [], bool $unix = false): string + protected function startServer(array $options = [], bool $unix = false, string $fixture = 'socket-server.php'): string { $socket = $this->directory.'/sock'; $options['address'] = $unix ? 'unix://'.$socket : 'tcp://127.0.0.1:0'; - $this->server = new Process([\PHP_BINARY, '-d', 'display_errors=stderr', __DIR__.'/fixtures/socket-server.php', json_encode($options, \JSON_THROW_ON_ERROR)]); + $this->server = new Process([\PHP_BINARY, '-d', 'display_errors=stderr', __DIR__.'/fixtures/'.$fixture, json_encode($options, \JSON_THROW_ON_ERROR)]); $this->server->setTimeout(10); $this->server->start(); $ready = $this->server->waitUntil(fn () => str_contains($this->server->getOutput(), "\n")); diff --git a/tests/fixtures/interactive-server.php b/tests/fixtures/interactive-server.php new file mode 100644 index 000000000..197b8bcde --- /dev/null +++ b/tests/fixtures/interactive-server.php @@ -0,0 +1,68 @@ + $config['ssl'] ?? []]); +$server = stream_socket_server($config['address'], $errno, $error, STREAM_SERVER_BIND | STREAM_SERVER_LISTEN, $context); +if ($server === false) { + throw new RuntimeException($error, $errno); +} +echo json_encode(['address' => stream_socket_get_name($server, false)], JSON_THROW_ON_ERROR) . "\n"; +fflush(STDOUT); +for ($index = 0; $index < 2; ++$index) { + $connection = stream_socket_accept($server, 5); + if ($connection === false) { + throw new RuntimeException('No interactive test connection.'); + } + stream_set_timeout($connection, 3); + if (isset($config['ssl']) && true !== stream_socket_enable_crypto($connection, true, STREAM_CRYPTO_METHOD_TLSv1_2_SERVER)) { + throw new RuntimeException('Fixture TLS handshake failed.'); + } + $request = ''; + while (false !== ($line = fgets($connection))) { + $request .= $line; + if ($line === "\r\n") { + break; + } + } + $body = ''; + if (preg_match('/\r\nContent-Length:\s*(\d+)/i', $request, $match)) { + while (strlen($body) < (int) $match[1]) { + $bytes = fread($connection, (int) $match[1] - strlen($body)); + if ($bytes === false || $bytes === '') { + throw new RuntimeException('Incomplete HTTP body.'); + } + $body .= $bytes; + } + } + if ($index === 0) { + echo json_encode(['request' => $request], JSON_THROW_ON_ERROR) . "\n"; + fwrite($connection, "HTTP/1.1 200 OK\r\nContent-Type: application/json\r\nContent-Length: 2\r\nConnection: close\r\n\r\n{}"); + fclose($connection); + continue; + } + $frame = static fn (int $channel, string $bytes): string => ($config['tty'] ?? false) ? $bytes : pack('CxxxN', $channel, strlen($bytes)) . $bytes; + fwrite($connection, "HTTP/1.1 101 UPGRADED\r\nConnection: Upgrade\r\nUpgrade: tcp\r\nContent-Type: application/vnd.docker.raw-stream\r\n\r\n" . $frame(1, 'ready:')); + $stdin = ''; + while (!feof($connection)) { + $chunk = fread($connection, 16384); + if ($chunk === false) { + throw new RuntimeException('Cannot read fixture stdin.'); + } + if ($chunk !== '') { + $stdin .= $chunk; + fwrite($connection, $frame(1, $chunk)); + if (($config['tty'] ?? false) && strlen($stdin) >= $config['input_length']) { + break; + } + } elseif (stream_get_meta_data($connection)['timed_out']) { + throw new RuntimeException('The client did not half-close stdin.'); + } + } + fwrite($connection, $frame(1, ':done') . $frame(2, 'error')); + echo json_encode(['request' => $request, 'body' => $body, 'stdin_hash' => hash('sha256', $stdin), 'stdin_length' => strlen($stdin)], JSON_THROW_ON_ERROR) . "\n"; + fclose($connection); +} +fclose($server); From fbdb2cc2432b1ba9341f144a2f551523536e4a4c Mon Sep 17 00:00:00 2001 From: Rid Date: Tue, 6 Oct 2026 10:33:41 +0100 Subject: [PATCH 104/142] test(exec): make memory regression check allocator-independent Measure live allocations around polling, excluding PHPUnit assertions and allocator page growth. Clarify that socket I/O timeouts do not impose a total deadline on synchronous HTTP setup or status calls. --- docs/guides/interactive-exec.mdx | 6 ++++-- tests/Stream/InteractiveExecStreamTest.php | 10 +++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/guides/interactive-exec.mdx b/docs/guides/interactive-exec.mdx index 9b397ad83..efbae2318 100644 --- a/docs/guides/interactive-exec.mdx +++ b/docs/guides/interactive-exec.mdx @@ -103,8 +103,10 @@ ticks must return promptly. Their exceptions close the local session and propaga ## Deadlines and completion -The factory's `timeout` bounds synchronous HTTP setup requests. The third argument -to `execStartInteractive()` is a separate total streaming deadline in milliseconds, +The factory's `timeout` controls connection and socket I/O timeouts for synchronous +HTTP setup/status calls. It is not a total request deadline: a response that keeps +arriving can extend a request, and application heartbeats cannot run during it. +The third argument to `execStartInteractive()` is a total streaming deadline in milliseconds, starting after the HTTP upgrade. It is not reset when output arrives. Expiry throws `Docker\Exception\InteractiveExecTimeoutException` and closes local I/O. diff --git a/tests/Stream/InteractiveExecStreamTest.php b/tests/Stream/InteractiveExecStreamTest.php index c9a3701eb..9ce26e82e 100644 --- a/tests/Stream/InteractiveExecStreamTest.php +++ b/tests/Stream/InteractiveExecStreamTest.php @@ -147,10 +147,14 @@ public function testInvalidOrTruncatedFramesFail(string $wire): void public function testHugeFrameDoesNotAllocateItsDeclaredSize(): void { $stream = $this->open(); - $before = memory_get_usage(true); + // Measure used bytes, not allocator pages (which grow in 2 MiB steps), + // and exclude PHPUnit's own assertion/autoload allocations. + $before = memory_get_usage(); fwrite($this->sockets[1], pack('CxxxN', 1, 4294967295).'x'); - self::assertTrue($stream->poll()); - self::assertLessThan(1048576, memory_get_usage(true) - $before); + $open = $stream->poll(); + $used = memory_get_usage() - $before; + self::assertTrue($open); + self::assertLessThan(1048576, $used); } public function testCallbackFailureClosesConnection(): void From cd76433bb7c19b5aad5f4154a59cb20255017a1f Mon Sep 17 00:00:00 2001 From: Rid Date: Tue, 6 Oct 2026 12:24:25 +0100 Subject: [PATCH 105/142] docs(exec): document worker safety and canary validation Explain application-owned lease renewal, persisted execution state and safe handling of lost locks or ambiguous disconnects. Closing the SDK stream does not terminate the container command or make a retry safe. Record the 6 October 2026 private queue/Redis canary results and their limits, without publishing infrastructure identifiers. Include the local stream and transport test command and keep the feature marked unreleased. --- docs/guides/interactive-exec.mdx | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/docs/guides/interactive-exec.mdx b/docs/guides/interactive-exec.mdx index efbae2318..59517f132 100644 --- a/docs/guides/interactive-exec.mdx +++ b/docs/guides/interactive-exec.mdx @@ -118,6 +118,30 @@ application deadline if you need to poll for the final result. Never automatical retry a command with side effects after an ambiguous disconnect. +## Worker locks and retries + +Your application owns its queue, lock leases and execution records. Docker PHP +provides the polling and stdin APIs; it does not acquire Redis locks, acknowledge +jobs or deduplicate executions. + +Acquire the lease and persist the application execution ID and Docker exec ID +before starting the command. Renew the lease between polls, atomically comparing +its unique owner token so an expired worker cannot renew another worker's lock. +Use the ten-second heartbeat hook above even when the command is silent. +Choose a lease duration with enough margin for synchronous setup/status requests +and delayed heartbeats; a ten-second schedule is not a guarantee of exact timing. + +If renewal fails, stop sending input and close the local session. A heartbeat +exception passed through `wait($tick)` does this automatically. Record the failed +or uncertain attempt before acknowledging its job, and retain the Docker exec ID +for later inspection. A failed worker result does not prove the command stopped +or that it had no side effects. + +Use persisted execution state to deduplicate repeated job deliveries. Before +starting another attempt after a lost lease or disconnect, confirm the previous +command has stopped and reconcile any side effects. A new queue delivery or an +expired lock alone does not make another exec safe. + ## Transports and TTY This feature supports the bundled Unix, TCP and TLS socket transport. Guzzle and @@ -129,3 +153,33 @@ terminal semantics, not separate stdout/stderr pipes. `closeStdin()` deliberatel rejects TTY sessions: Docker can close their output when socket stdin reaches EOF. Use terminal input or let the command exit; use `Tty=false` for JSON-input managers. The `Tty` setting must match at exec creation and start. + +## Maintainer validation + +On 6 October 2026, a private application canary tested +[client revision `fbdb2cc`](https://github.com/docker-php/docker-php/commit/fbdb2cc2432b1ba9341f144a2f551523536e4a4c) +with API package `7.1.45.0` against Docker Engine `29.8.1`, using API `1.45`. +Its worker sent fixed JSON stdin, closed stdin and polled a command that produced +no output for 40 seconds. + +| Application check | Observed result | +| --- | --- | +| Silent execution | Four Redis lease renewals; completed result callback delivered; queue job acknowledged. | +| Lease loss after the first renewal | The next renewal failed and the failed result callback was delivered. The disconnected container command later completed. | +| Identical admission and job replay after either result | One manager start per execution, one attempt and no second command. | + +The locks, result callbacks and replay guards in these checks belonged to the +application. Concurrent workers, HTTP submission retries and network-failure +recovery still need separate tests. + +The library's stream and local transport-fixture tests cover partial stdin +writes, backpressure, EOF, idle ticks, deadline expiry, callback failures and +Unix/TCP/TLS connections. Run them without a Docker daemon: + +```bash +vendor/bin/phpunit --filter 'InteractiveExec(Stream|Transport)Test' --disallow-test-output +``` + +`tests/Resource/InteractiveExecResourceTest.php` also exercises stdin, TTY output, +exit codes and container-side timeouts against a development Docker daemon. +Those resource tests create and remove their own containers. From e8e65452ee2db25ad0f93a05e4516923d9ec45ca Mon Sep 17 00:00:00 2001 From: Rid Date: Tue, 6 Oct 2026 13:14:57 +0100 Subject: [PATCH 106/142] docs(exec): update feature branch reference Keep the interactive exec guide aligned with the renamed feature branch. The API remains unreleased. --- docs/guides/interactive-exec.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/interactive-exec.mdx b/docs/guides/interactive-exec.mdx index 59517f132..e5f468b6a 100644 --- a/docs/guides/interactive-exec.mdx +++ b/docs/guides/interactive-exec.mdx @@ -4,7 +4,7 @@ description: "Send stdin while polling output, with application heartbeats and d --- -This API is on the `codex/interactive-exec` feature branch. It is not included +This API is on the `feature/interactive-exec` branch. It is not included in client `3.1.0`. The existing blocking `execStart()` and `wait()` APIs are unchanged. From 4dae96334f9f95f179cd8d28ed9d387f42835017 Mon Sep 17 00:00:00 2001 From: Rid Date: Tue, 6 Oct 2026 13:32:39 +0100 Subject: [PATCH 107/142] chore(release): prepare 3.2.0 Mark interactive exec as available in 3.2.0 and update the main branch alias. Existing blocking exec APIs and the Docker Engine API 1.45 dependency remain unchanged. --- CHANGELOG.md | 2 +- composer.json | 2 +- docs/guides/exec.mdx | 2 +- docs/guides/interactive-exec.mdx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 754caddce..3ddd49bfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 3.2.0 - Add opt-in interactive exec sessions with nonblocking stdin writes, bounded output polling, non-TTY stdin EOF and streaming deadlines. diff --git a/composer.json b/composer.json index afb253c89..485ee6693 100644 --- a/composer.json +++ b/composer.json @@ -60,7 +60,7 @@ }, "extra": { "branch-alias": { - "dev-main": "3.0.x-dev" + "dev-main": "3.2.x-dev" } }, "scripts": { diff --git a/docs/guides/exec.mdx b/docs/guides/exec.mdx index eca6b8329..1372ceaac 100644 --- a/docs/guides/exec.mdx +++ b/docs/guides/exec.mdx @@ -92,7 +92,7 @@ This recipe is output-only: it does not implement interactive stdin or a terminal UI. `onStdin()` on `DockerRawStream` is not a write method. See [attach limitations](/reference/streams#attach-and-websocket-limitations). -For the feature-branch API with stdin, nonblocking polling and heartbeat hooks, +For the API added in client 3.2.0 with stdin, nonblocking polling and heartbeat hooks, see [interactive exec](/guides/interactive-exec). Raw response bodies can contain binary frame headers. See diff --git a/docs/guides/interactive-exec.mdx b/docs/guides/interactive-exec.mdx index e5f468b6a..9904ef5b2 100644 --- a/docs/guides/interactive-exec.mdx +++ b/docs/guides/interactive-exec.mdx @@ -4,8 +4,8 @@ description: "Send stdin while polling output, with application heartbeats and d --- -This API is on the `feature/interactive-exec` branch. It is not included -in client `3.1.0`. The existing blocking `execStart()` and `wait()` APIs are unchanged. +Interactive exec is available from client `3.2.0`. The existing blocking +`execStart()` and `wait()` APIs are unchanged. Use interactive exec when a command needs stdin or your application must keep From b0567a62a98e2b41af1660a7def910c85002ef25 Mon Sep 17 00:00:00 2001 From: Rid Date: Wed, 7 Oct 2026 12:16:11 +0100 Subject: [PATCH 108/142] docs(http): clarify client options and streaming limits Compare the bundled socket client and Guzzle, including their connection options and streaming limits. Document optional environment settings, the PHP api_version option and custom StreamingDecoderPlugin chains. Test the documented socket and Guzzle examples against local connection fixtures. --- docs/connection.mdx | 19 ++- docs/guides/guzzle.mdx | 196 +++++++++++++------------- docs/reference/streams.mdx | 49 +++++++ tests/GuzzleClientTest.php | 29 ++-- tests/HttpClientDocumentationTest.php | 71 ++++++++++ 5 files changed, 251 insertions(+), 113 deletions(-) create mode 100644 tests/HttpClientDocumentationTest.php diff --git a/docs/connection.mdx b/docs/connection.mdx index d5ba66f6c..37166f587 100644 --- a/docs/connection.mdx +++ b/docs/connection.mdx @@ -17,7 +17,7 @@ If you choose environment variables, set them on the PHP process: in its shell, service configuration or container environment. The library reads them when creating the client and does not load `.env` files itself. For connection options supplied directly in PHP, see [factory options](#factory-options) or -[Guzzle connections](/guides/guzzle). +[HTTP client examples](/guides/guzzle). To choose another socket: @@ -86,6 +86,8 @@ use Docker\DockerClientFactory; $httpClient = DockerClientFactory::create([ 'remote_socket' => 'unix:///var/run/docker.sock', + 'api_version' => '1.45', + 'timeout' => 10000, ]); $docker = Docker::create($httpClient, [], [], false); @@ -96,6 +98,11 @@ adds the daemon address and versioned path. See [the factory implementation](https://github.com/docker-php/docker-php/blob/main/src/DockerClientFactory.php) for the plugins it configures. +`api_version` pins the request path in PHP, even if `DOCKER_API_VERSION` is set +on the process. It accepts `1.45`, `v1.45` or `/v1.45`. If omitted, the factory +uses `DOCKER_API_VERSION`, falling back to `1.45`. The timeout is in milliseconds. +The `api_version` option requires client `3.1.0` or later. + For a private CA without client certificates, pass the CA file directly: ```php @@ -148,8 +155,10 @@ its daemon address, TLS options and socket support. Check that it also supports unbuffered responses and Docker's upgraded connections if you use log, attach or exec streams. -See [Guzzle connections](/guides/guzzle) for complete PHP examples using custom -Unix sockets, HTTP, private CAs and mutual TLS. +See [HTTP clients](/guides/guzzle) for a comparison of the bundled client and +Guzzle, with PHP examples and their streaming limits. For a socket client with +your own plugin chain, see +[the streaming decoder example](/reference/streams#custom-socket-clients). -`DOCKER_API_VERSION` affects the default factory's request path; it does not -change the generated models. See [API versions](/api-versions). +`api_version` and `DOCKER_API_VERSION` affect the factory's request path; neither +changes the generated models. See [API versions](/api-versions). diff --git a/docs/guides/guzzle.mdx b/docs/guides/guzzle.mdx index ccf0fa53e..23dcfd4d6 100644 --- a/docs/guides/guzzle.mdx +++ b/docs/guides/guzzle.mdx @@ -1,88 +1,89 @@ --- -title: "Guzzle connections" -description: "Configure custom Unix sockets, HTTP endpoints and TLS directly in PHP." +title: "HTTP clients" +description: "Compare the bundled socket client and Guzzle, with connection examples and streaming limits." --- -Docker PHP accepts a configured Guzzle 7 client. You do not need to set -`DOCKER_HOST`, `DOCKER_TLS_VERIFY` or `DOCKER_CERT_PATH` when configuring the -connection this way. The bundled socket client remains the default. +Docker PHP uses its bundled socket client by default. You can also pass a +configured Guzzle 7 client to `Docker::create()`. Both support connection +settings directly in PHP; environment variables are optional. -Install Guzzle in your application: +## Choosing a client -```bash -composer require guzzlehttp/guzzle -``` +| | Bundled socket client | Guzzle with the cURL handler shown below | +| --- | --- | --- | +| Dependencies | Included with Docker PHP; no cURL extension required | Requires Guzzle and PHP's cURL extension | +| Configuration | Socket options and PHP SSL contexts; optional Docker environment variables | Guzzle request options and middleware configured in PHP | +| Unix sockets | Set `remote_socket` | Set `CURLOPT_UNIX_SOCKET_PATH` | +| Streaming | Reads log, exec and progress output as it arrives | Buffers responses; works for completed responses, not indefinite streams | +| Timeouts | Milliseconds | Seconds | -These examples require PHP's cURL extension. They use an explicit cURL handler -so Unix-socket and client-key options are handled consistently. +The bundled client needs little setup and includes Docker's streaming decoder. +Guzzle provides its own middleware and familiar HTTP/TLS options, which can be +useful if your application already uses it. Choose based on the operations you +need and the transport you want to configure. Attach and WebSocket calls have +[additional wrapper limitations](/reference/streams#attach-and-websocket-limitations) +regardless of which client you use. -## Custom Unix socket +## Bundled socket client -```php +Without connection environment variables, this connects to `/var/run/docker.sock`: + +```php Default socket 'http://localhost', - 'handler' => HandlerStack::create(new CurlHandler()), - 'curl' => [ - CURLOPT_UNIX_SOCKET_PATH => '/run/custom/docker.sock', - ], - 'proxy' => '', - 'timeout' => 10, -]); -$docker = Docker::create($httpClient); +$docker = Docker::create(); ``` -`base_uri` supplies the HTTP hostname; the cURL option selects the socket. -Use a filesystem path, not a `unix://` URL, for `CURLOPT_UNIX_SOCKET_PATH`. -The PHP process must have permission to access that socket. - -Docker PHP wraps the supplied client, but does not recreate it or discard its -configured socket options. +To set a custom socket and a ten-second timeout directly in PHP: -## HTTP endpoint - -Use an HTTP URL for a daemon listening on TCP: - -```php +```php Bundled custom socket 'http://docker.example.com:2375', - 'handler' => HandlerStack::create(new CurlHandler()), - 'proxy' => '', - 'timeout' => 10, +$httpClient = DockerClientFactory::create([ + 'remote_socket' => 'unix:///run/custom/docker.sock', + 'api_version' => '1.45', + 'timeout' => 10000, ]); -$docker = Docker::create($httpClient); +$docker = Docker::create($httpClient, [], [], false); ``` -Guzzle expects `http://` or `https://` here, not `tcp://`. +The fourth argument is `false` because this factory already configures the API +path. For HTTP, HTTPS and certificate examples, see +[connection settings](/connection#factory-options). - -HTTP is unencrypted. Do not expose an unauthenticated Docker daemon to an -untrusted network. Access to the daemon grants control over its containers -and can grant control over its host. - +The explicit `api_version` option overrides `DOCKER_API_VERSION` and requires +client `3.1.0` or later. Omit it on `3.0.0` to use the environment setting or +the default API version `1.45`. + +`DockerClientFactory` includes `StreamingDecoderPlugin` automatically. If you +build your own socket client and plugin chain, see +[custom socket clients](/reference/streams#custom-socket-clients). + +## Guzzle + +Install Guzzle in your application: + +```bash +composer require guzzlehttp/guzzle +``` + +These examples use an explicit cURL handler for Unix-socket and client-key +support. The PHP process must have permission to access the socket or +certificate files. -## HTTPS with a private CA +### Custom Unix socket -```php +```php Guzzle Unix socket 'https://docker.example.com:2376', + 'base_uri' => 'http://localhost', 'handler' => HandlerStack::create(new CurlHandler()), - 'verify' => '/path/to/ca.pem', + 'curl' => [ + CURLOPT_UNIX_SOCKET_PATH => '/run/custom/docker.sock', + ], 'proxy' => '', 'timeout' => 10, ]); @@ -103,17 +106,17 @@ $httpClient = new GuzzleClient([ $docker = Docker::create($httpClient); ``` -`verify` selects the CA bundle used to verify the server. The certificate must -also match the hostname in `base_uri`. For a publicly trusted certificate, -omit `verify` to use Guzzle's default trust configuration. Do not set it to -`false` to work around certificate errors. +`base_uri` supplies the HTTP hostname; `CURLOPT_UNIX_SOCKET_PATH` selects the +socket using a filesystem path, without `unix://`. Docker PHP keeps these +options when wrapping the supplied client. -## Mutual TLS +For a TCP daemon over HTTP, change `base_uri` to +`http://docker.example.com:2375` and remove the `curl` option. Guzzle expects +`http://` or `https://`, not `tcp://`. -If the daemon also requires a client certificate, configure its certificate -and private key: +### HTTPS and mutual TLS -```php +```php Guzzle HTTPS +Access to a Docker daemon is privileged. Plain HTTP is unencrypted; do not +expose an unauthenticated daemon to an untrusted network. + -Guzzle's `timeout` is in seconds; the bundled socket client's timeout is in -milliseconds. The ten-second limit here is for ordinary requests, not a -long-running build or stream. +### Paths, timeouts and streaming -## Streaming limits +Use the daemon's root URL for `base_uri`, without `/v1.45`. These Guzzle examples +keep the generated server plugins enabled, so Docker PHP adds the API path. +`DOCKER_API_VERSION` configures the bundled factory; it does not override this +Guzzle client. Do not copy the bundled example's fourth argument (`false`) into +these examples. -These examples are tested against local Unix, HTTP and HTTPS servers through -`Docker::create()`, including request bodies, API errors and mutual TLS. -Completed multiplexed log responses are also tested. +The empty `proxy` option disables HTTP proxy environment settings. Configure +a proxy explicitly if needed. The ten-second timeout is for ordinary calls; +adjust it for builds, transfers or other long-running operations. -The explicit cURL handler buffers response bodies, including when `stream` -is set to `true`. That is not suitable for an indefinite log or event stream. -Guzzle's default handler selection can use its PHP stream handler when -streaming is requested, but that handler does not use -`CURLOPT_UNIX_SOCKET_PATH`. +The cURL handler buffers response bodies even with `stream => true`. Completed +logs can still be decoded, but following logs or subscribing to events can +wait indefinitely or hit the timeout before returning output. Guzzle's PHP +stream handler can read incrementally, but does not use +`CURLOPT_UNIX_SOCKET_PATH`; changing handlers changes which options work. -Use the bundled socket client for live streams and upgraded attach/exec -connections unless you have tested those operations with your chosen custom -transport. A PSR-18 interface alone does not guarantee unbuffered reads or a -writable upgraded connection. See [streams](/reference/streams). +`StreamingDecoderPlugin` handles decoding after the transport returns a +response. It cannot remove buffering inside Guzzle's cURL handler. If you +choose a custom transport for live streams or upgraded exec/attach connections, +test those operations with it. PSR-18 compatibility alone does not guarantee +unbuffered reads or a writable upgraded connection. See +[streaming](/reference/streams#custom-socket-clients). -For the underlying options, see Guzzle's +For more options, see Guzzle's [request options](https://docs.guzzlephp.org/en/stable/request-options.html) and [handlers](https://docs.guzzlephp.org/en/stable/handlers-and-middleware.html). diff --git a/docs/reference/streams.mdx b/docs/reference/streams.mdx index 5cf88a131..695a62fb7 100644 --- a/docs/reference/streams.mdx +++ b/docs/reference/streams.mdx @@ -38,6 +38,55 @@ Do not decode a whole progress stream with one `json_decode()` call. Check `getError()` on every build, pull or push frame: HTTP 200 means the stream opened, not that the operation succeeded. +## Custom socket clients + +`DockerClientFactory::create()` and `Docker::create()` without a supplied client +already use `Docker\Http\StreamingDecoderPlugin`. You do not need to add it +when using the bundled factory. + +If you build a socket client and its plugin chain yourself, use this plugin +in place of `Http\Client\Common\Plugin\DecoderPlugin`. It decodes HTTP chunked +responses incrementally and adapts socket reads so TTY output can arrive +before the stream finishes: + +```php Custom socket client + 'unix:///run/custom/docker.sock', + 'timeout' => 10000, + ]), + [ + new ContentLengthPlugin(), + new StreamingDecoderPlugin(), + new AddHostPlugin(new Uri('http://localhost')), + ] +); + +$docker = Docker::create($httpClient); +``` + +The generated server plugin supplies `/v1.45` in this example. If your custom +chain already supplies the versioned path, disable the server plugins with +`Docker::create($httpClient, [], [], false)` to avoid configuring it twice. + +`Docker::create($httpClient)` does not replace an existing client's decoder. +The streaming plugin handles HTTP transfer decoding, not Docker's stdout/stderr +frames, and cannot undo buffering inside another HTTP transport. In particular, +adding it to Guzzle's cURL handler does not make that handler stream responses. +See [HTTP clients](/guides/guzzle) for the transport comparison. + ## Lifetime, cancellation and timeouts `wait()` blocks until the stream ends or an error interrupts it. A log follow diff --git a/tests/GuzzleClientTest.php b/tests/GuzzleClientTest.php index 9ced07b40..55edfc3ef 100644 --- a/tests/GuzzleClientTest.php +++ b/tests/GuzzleClientTest.php @@ -21,15 +21,15 @@ class GuzzleClientTest extends TransportTestCase public static function connectionExamples(): array { return [ - 'Custom Unix socket' => [0, 'unix'], - 'HTTP endpoint' => [1, 'http'], - 'Private CA' => [2, 'https'], - 'Mutual TLS' => [3, 'mutual-tls'], + 'Custom Unix socket' => ['Guzzle Unix socket', 'unix'], + 'HTTP endpoint' => ['Guzzle Unix socket', 'http'], + 'Private CA' => ['Guzzle HTTPS', 'https'], + 'Mutual TLS' => ['Guzzle HTTPS', 'mutual-tls'], ]; } #[DataProvider('connectionExamples')] - public function testDocumentationExampleUsesConfiguredConnection(int $example, string $transport): void + public function testDocumentationExampleUsesConfiguredConnection(string $example, string $transport): void { $serverOptions = ['responses' => [$this->jsonResponse('{}'), $this->jsonResponse('[]')]]; if ('https' === $transport || 'mutual-tls' === $transport) { @@ -50,7 +50,7 @@ public function testDocumentationExampleUsesConfiguredConnection(int $example, s putenv('DOCKER_HOST=unix:///does-not-exist.sock'); putenv('DOCKER_TLS_VERIFY=1'); putenv('DOCKER_API_VERSION=v0.0'); - $docker = $this->runDocumentationExample($example, $address); + $docker = $this->runDocumentationExample($example, $transport, $address); $this->assertSame([], $docker->containerList()); $this->assertStringStartsWith('GET /v1.45/info HTTP/1.1', $this->serverResult()['request']); @@ -207,13 +207,22 @@ private function assertCertificateRejected(GuzzleClient $client): void } } - private function runDocumentationExample(int $index, string $address): Docker + private function runDocumentationExample(string $title, string $transport, string $address): Docker { $markdown = file_get_contents(\dirname(__DIR__).'/docs/guides/guzzle.mdx'); - preg_match_all('/^```php[^\r\n]*\R(.*?)^```/ms', $markdown, $blocks); - $this->assertArrayHasKey($index, $blocks[1]); - $code = preg_replace('/^\s*<\?php\s*/', '', $blocks[1][$index]); + preg_match_all('/^```php ([^\r\n]+)\R(.*?)^```/ms', $markdown, $blocks); + $examples = array_combine($blocks[1], $blocks[2]); + $this->assertArrayHasKey($title, $examples); + $code = preg_replace('/^\s*<\?php\s*/', '', $examples[$title]); $code = str_replace("require __DIR__ . '/vendor/autoload.php';", '', $code); + // Exercise the HTTP and CA-only variations described below the examples. + if ('http' === $transport) { + $code = preg_replace("/ 'curl' => \\[\\R.*? \\],\\R/s", '', $code); + $code = str_replace("'http://localhost'", "'http://docker.example.com:2375'", $code); + } + if ('https' === $transport) { + $code = preg_replace("/^ '(cert|ssl_key)' => [^\\r\\n]+\\R/m", '', $code); + } $code = strtr($code, [ '/run/custom/docker.sock' => $address, 'http://docker.example.com:2375' => 'http://'.$address, diff --git a/tests/HttpClientDocumentationTest.php b/tests/HttpClientDocumentationTest.php new file mode 100644 index 000000000..5034d392d --- /dev/null +++ b/tests/HttpClientDocumentationTest.php @@ -0,0 +1,71 @@ + ['guides/guzzle.mdx', 'Default socket', true]; + yield 'Bundled custom socket' => ['guides/guzzle.mdx', 'Bundled custom socket', false]; + yield 'Custom socket client' => ['reference/streams.mdx', 'Custom socket client', false]; + } + + #[DataProvider('socketExamples')] + public function testDocumentedSocketClientStreamsTtyOutput(string $page, string $title, bool $useEnvironment): void + { + $address = $this->startServer(['responses' => [ + ['body' => '{}', 'headers' => ['Content-Type' => 'application/json']], + [ + 'headers' => ['Transfer-Encoding' => 'chunked', 'Content-Type' => 'application/vnd.docker.raw-stream'], + 'segments_base64' => [ + base64_encode("7\r\nfirst\r\n\r\n"), + base64_encode("6\r\nlast\r\n\r\n0\r\n\r\n"), + ], + 'delay_ms' => 1000, + ], + ]], true); + putenv('DOCKER_HOST=unix://'.($useEnvironment ? $address : '/does-not-exist.sock')); + $docker = $this->runDocumentationExample($page, $title, $address); + $start = new ExecIdStartPostBody(); + $start->setDetach(false); + $start->setTty(true); + $stream = $docker->execStart('test', $start); + $stdout = ''; + $firstCallback = null; + $lastCallback = null; + $stream->onStdout(static function (string $output) use (&$stdout, &$firstCallback, &$lastCallback): void { + $firstCallback ??= hrtime(true); + $lastCallback = hrtime(true); + $stdout .= $output; + }); + $stream->wait(); + + self::assertSame("first\r\nlast\r\n", $stdout); + self::assertNotNull($firstCallback); + self::assertGreaterThan(500_000_000, $lastCallback - $firstCallback, 'Output was buffered until the peer finished.'); + self::assertStringStartsWith('GET /v1.45/info HTTP/1.1', $this->serverResult()['request']); + $request = $this->serverResult(1)['request']; + self::assertStringStartsWith('POST /v1.45/exec/test/start HTTP/1.1', $request); + self::assertStringContainsString('Host: localhost', $request); + } + + private function runDocumentationExample(string $page, string $title, string $address): Docker + { + $markdown = file_get_contents(\dirname(__DIR__).'/docs/'.$page); + preg_match_all('/^```php ([^\r\n]+)\R(.*?)^```/ms', $markdown, $blocks); + $examples = array_combine($blocks[1], $blocks[2]); + self::assertArrayHasKey($title, $examples); + $code = preg_replace('/^\s*<\?php\s*/', '', $examples[$title]); + $code = str_replace("require __DIR__ . '/vendor/autoload.php';", '', $code); + $code = str_replace('/run/custom/docker.sock', $address, $code); + + return (static fn (string $code): Docker => eval("namespace {\n".$code."\nreturn \$docker;\n}"))($code); + } +} From 5774896ea6552378d42bf2e351bce6c2d226296a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 14:53:18 +0100 Subject: [PATCH 109/142] ci(deps): update actions/checkout to v7.0.1 Update the pinned checkout action in CI, documentation and static analysis workflows. --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/documentation.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index dfc1e11d9..9d88ed8ae 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Repository checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 97d78b816..1249d7607 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -23,7 +23,7 @@ jobs: working-directory: docs steps: - name: Check out the repository - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Node.js uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 43f70ce66..9c065dc99 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Repository checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP with PECL extension uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 From 129b10708f42d5feb79b3de5f7f2f802964cff17 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 14:57:47 +0100 Subject: [PATCH 110/142] ci(deps): update setup-php to v2.37.2 (#361) Update the pinned PHP setup action in CI, documentation and static analysis workflows. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Grant Millar --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/documentation.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9d88ed8ae..a88d2c0aa 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 + uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 with: php-version: ${{ matrix.php-version }} extensions: curl, openssl diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 1249d7607..94d7bf7e3 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -33,7 +33,7 @@ jobs: cache-dependency-path: docs/package-lock.json - name: Set up PHP - uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 + uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 with: php-version: '8.1' coverage: none diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 9c065dc99..cf59b231d 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5 + uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 with: php-version: 8.1 tools: composer:v2 From 4cfff3661442193273a3a646c7fd9a95281cb978 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 15:00:09 +0100 Subject: [PATCH 111/142] ci(deps): update composer-install to v4.0.0 (#360) Update the pinned Composer installation action in CI and static analysis workflows. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rid --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index a88d2c0aa..b1c28b508 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -43,7 +43,7 @@ jobs: run: composer validate --strict - name: Install dependencies - uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1 + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0 with: dependency-versions: ${{ matrix.dependency-versions }} composer-options: ${{ matrix.composer-options }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index cf59b231d..553d3ec41 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -31,7 +31,7 @@ jobs: run: composer validate --strict - name: Install dependencies - uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1 + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0 with: dependency-versions: lowest From 745893ba423f9a362d61cb3d15a56455a1ac97a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 15:01:33 +0100 Subject: [PATCH 112/142] ci(deps): update setup-node to v7.0.0 (#362) Update the pinned Node.js setup action for documentation checks. Keep the documentation runtime on Node.js 22. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Grant Millar --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 94d7bf7e3..0cfec319c 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Node.js - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: '22' cache: npm From 4e56ee9d7c8ffa9ff1d9e6bd29119dabcbdb07d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 15:06:49 +0100 Subject: [PATCH 113/142] ci: support PHPStan 2 and analyse lowest/highest dependencies (#363) Allow PHPStan 1 and 2 as development dependencies. Keep PHP 8.1 analysis with the lowest dependencies and add PHP 8.5 analysis with the highest dependencies. Run static analysis when workflows change so the analysis job itself is tested. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rid --- .github/workflows/static-analysis.yml | 17 ++++++++++++----- composer.json | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 553d3ec41..b110f8a1a 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -4,18 +4,25 @@ on: push: paths-ignore: - 'doc/**' - - '.github/**' pull_request: paths-ignore: - 'doc/**' - - '.github/**' jobs: phpstan: - name: PHPStan + name: PHPStan (PHP ${{ matrix.php-version }}, ${{ matrix.dependency-versions }}) runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - php-version: '8.1' + dependency-versions: lowest + - php-version: '8.5' + dependency-versions: highest + steps: - name: Repository checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -23,7 +30,7 @@ jobs: - name: Setup PHP with PECL extension uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 with: - php-version: 8.1 + php-version: ${{ matrix.php-version }} tools: composer:v2 coverage: none @@ -33,7 +40,7 @@ jobs: - name: Install dependencies uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0 with: - dependency-versions: lowest + dependency-versions: ${{ matrix.dependency-versions }} - name: Run PHPStan run: composer run-script phpstan -- --no-progress diff --git a/composer.json b/composer.json index 485ee6693..d1288e91a 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "friendsofphp/php-cs-fixer": "^3.8", "guzzlehttp/guzzle": "^7.9", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan": "^1.10", + "phpstan/phpstan": "^1.10 || ^2.0", "phpunit/phpunit": "^10.5.46", "psy/psysh": "^0.12.8", "roave/security-advisories": "dev-latest" From 6e2713283314ecc4dfb1cfaec3061eb5ef1191e1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2026 11:21:41 +0100 Subject: [PATCH 114/142] chore(deps-dev): allow guzzlehttp/guzzle ^8.0 * ci: update guzzlehttp/guzzle requirement from ^7.9 to ^7.9 || ^8.0 Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/8.2/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/7.9.0...8.2.0) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-version: 8.2.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] * test(guzzle): support Guzzle 8 in transport tests Guzzle 8 removed getHandlerContext() from transfer exceptions. Read the cURL error from on_stats instead, which reports it in Guzzle 7 and 8. Guzzle 8 also rejects cURL-only options on the PHP stream handler, where Guzzle 7 ignored them. Test incremental reads on that handler separately, and check the curl option is ignored on 7 and rejected on 8. Note the difference in the HTTP client guide and list Guzzle 8 as supported. --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rid --- composer.json | 2 +- docs/guides/guzzle.mdx | 7 ++--- tests/GuzzleClientTest.php | 54 +++++++++++++++++++++++++++++++++----- 3 files changed, 52 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index d1288e91a..81af71085 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-curl": "*", "ergebnis/composer-normalize": "^2.42", "friendsofphp/php-cs-fixer": "^3.8", - "guzzlehttp/guzzle": "^7.9", + "guzzlehttp/guzzle": "^7.9 || ^8.0", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan": "^1.10 || ^2.0", "phpunit/phpunit": "^10.5.46", diff --git a/docs/guides/guzzle.mdx b/docs/guides/guzzle.mdx index 23dcfd4d6..abb65d064 100644 --- a/docs/guides/guzzle.mdx +++ b/docs/guides/guzzle.mdx @@ -4,7 +4,7 @@ description: "Compare the bundled socket client and Guzzle, with connection exam --- Docker PHP uses its bundled socket client by default. You can also pass a -configured Guzzle 7 client to `Docker::create()`. Both support connection +configured Guzzle 7 or 8 client to `Docker::create()`. Both support connection settings directly in PHP; environment variables are optional. ## Choosing a client @@ -165,8 +165,9 @@ adjust it for builds, transfers or other long-running operations. The cURL handler buffers response bodies even with `stream => true`. Completed logs can still be decoded, but following logs or subscribing to events can wait indefinitely or hit the timeout before returning output. Guzzle's PHP -stream handler can read incrementally, but does not use -`CURLOPT_UNIX_SOCKET_PATH`; changing handlers changes which options work. +stream handler can read incrementally, but cannot connect to a Unix socket: +Guzzle 7 ignores the `curl` option on that handler and Guzzle 8 rejects it. +Changing handlers changes which options work. `StreamingDecoderPlugin` handles decoding after the transport returns a response. It cannot remove buffering inside Guzzle's cURL handler. If you diff --git a/tests/GuzzleClientTest.php b/tests/GuzzleClientTest.php index 55edfc3ef..8acf86a25 100644 --- a/tests/GuzzleClientTest.php +++ b/tests/GuzzleClientTest.php @@ -9,9 +9,12 @@ use Docker\Docker; use Docker\Stream\DockerRawStream; use GuzzleHttp\Client as GuzzleClient; +use GuzzleHttp\ClientInterface; use GuzzleHttp\Exception\GuzzleException; +use GuzzleHttp\Exception\InvalidArgumentException as GuzzleInvalidArgumentException; use GuzzleHttp\Handler\CurlHandler; use GuzzleHttp\HandlerStack; +use GuzzleHttp\TransferStats; use Http\Client\Common\PluginClient; use Nyholm\Psr7\Request; use PHPUnit\Framework\Attributes\DataProvider; @@ -68,7 +71,7 @@ public function testHttpsRejectsUntrustedCertificate(): void $this->createCertificates(); $address = $this->startServer(['ssl' => $this->serverTlsOptions()]); - $this->assertCertificateRejected($this->guzzle('https://'.$address)); + $this->assertCertificateRejected('https://'.$address); } public function testHttpsRejectsWrongHostname(): void @@ -76,7 +79,7 @@ public function testHttpsRejectsWrongHostname(): void $this->createCertificates('DNS:not-docker.test'); $address = $this->startServer(['ssl' => $this->serverTlsOptions()]); - $this->assertCertificateRejected($this->guzzle('https://'.$address, ['verify' => $this->directory.'/ca.pem'])); + $this->assertCertificateRejected('https://'.$address, ['verify' => $this->directory.'/ca.pem']); } public function testMutualTlsRejectsMissingClientCertificate(): void @@ -161,7 +164,7 @@ public function testExplicitCurlHandlerBuffersDespiteStreamOption(): void $this->assertStringStartsWith('GET /_ping HTTP/1.1', $this->serverResult()['request']); } - public function testDefaultStreamingHandlerDoesNotUseCurlSocketOption(): void + public function testDefaultStreamingHandlerReadsIncrementally(): void { if (!\ini_get('allow_url_fopen')) { $this->markTestSkipped('The default PHP stream handler requires allow_url_fopen.'); @@ -170,7 +173,6 @@ public function testDefaultStreamingHandlerDoesNotUseCurlSocketOption(): void $client = new PluginClient(new GuzzleClient([ 'base_uri' => 'http://'.$address, 'stream' => true, - 'curl' => [\CURLOPT_UNIX_SOCKET_PATH => $this->directory.'/does-not-exist.sock'], 'proxy' => '', 'timeout' => 3, ])); @@ -182,6 +184,36 @@ public function testDefaultStreamingHandlerDoesNotUseCurlSocketOption(): void $this->assertStringContainsString('Host: '.$address."\r\n", $this->serverResult()['request']); } + public function testDefaultStreamingHandlerDoesNotUseCurlSocketOption(): void + { + if (!\ini_get('allow_url_fopen')) { + $this->markTestSkipped('The default PHP stream handler requires allow_url_fopen.'); + } + $options = [ + 'stream' => true, + 'curl' => [\CURLOPT_UNIX_SOCKET_PATH => $this->directory.'/does-not-exist.sock'], + 'proxy' => '', + 'timeout' => 3, + ]; + + if (ClientInterface::MAJOR_VERSION >= 8) { + // Guzzle 8 rejects cURL-only options on the stream handler. + $client = new PluginClient(new GuzzleClient($options + ['base_uri' => 'http://localhost'])); + $this->expectException(GuzzleInvalidArgumentException::class); + $client->sendRequest(new Request('GET', '/_ping')); + + return; + } + + // Guzzle 7 ignores them and connects to base_uri instead of the socket. + $address = $this->startServer(); + $client = new PluginClient(new GuzzleClient($options + ['base_uri' => 'http://'.$address])); + $response = $client->sendRequest(new Request('GET', '/_ping')); + + $this->assertSame('OK', $response->getBody()->getContents()); + $this->assertStringContainsString('Host: '.$address."\r\n", $this->serverResult()['request']); + } + private function guzzle(string $url, array $options = []): GuzzleClient { return new GuzzleClient($options + [ @@ -197,13 +229,21 @@ private function jsonResponse(string $body, int $status = 200): array return ['status' => $status, 'body' => $body, 'headers' => ['Content-Type' => 'application/json']]; } - private function assertCertificateRejected(GuzzleClient $client): void + private function assertCertificateRejected(string $url, array $options = []): void { + // Guzzle 8 removed the exception handler context; transfer stats report the cURL errno in both majors. + $errno = null; + $client = $this->guzzle($url, $options + [ + 'on_stats' => static function (TransferStats $stats) use (&$errno): void { + $errno = $stats->getHandlerErrorData(); + }, + ]); + try { Docker::create($client); $this->fail('The server certificate should have been rejected.'); - } catch (GuzzleException $exception) { - $this->assertSame(\CURLE_SSL_CACERT, $exception->getHandlerContext()['errno']); + } catch (GuzzleException) { + $this->assertSame(\CURLE_SSL_CACERT, $errno); } } From 17b620ce6af093ddf151829efdefcd40fecbc5c6 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 11:29:46 +0100 Subject: [PATCH 115/142] fix(websocket): handle empty frames in attach streams AttachWebsocketStream read every frame payload with fread(), including frames with a zero-length payload. PHP 8 rejects fread($socket, 0) with a ValueError, so an empty frame from the daemon ended the read loop. Return an empty payload without reading from the socket. Fixes #352 --- src/Stream/AttachWebsocketStream.php | 4 ++++ tests/Stream/AttachWebsocketStreamTest.php | 25 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 tests/Stream/AttachWebsocketStreamTest.php diff --git a/src/Stream/AttachWebsocketStream.php b/src/Stream/AttachWebsocketStream.php index 0394ac2f8..72a9c0817 100644 --- a/src/Stream/AttachWebsocketStream.php +++ b/src/Stream/AttachWebsocketStream.php @@ -156,6 +156,10 @@ public function read($waitTime = 0, $waitMicroTime = 200000, $getFrame = false) private function socketRead($length) { $read = ''; + // Empty frames carry no payload; fread() rejects a zero length. + if ($length <= 0) { + return $read; + } do { $read .= fread($this->socket, $length - \strlen($read)); diff --git a/tests/Stream/AttachWebsocketStreamTest.php b/tests/Stream/AttachWebsocketStreamTest.php new file mode 100644 index 000000000..71ff17fad --- /dev/null +++ b/tests/Stream/AttachWebsocketStreamTest.php @@ -0,0 +1,25 @@ +assertSame('', $stream->read()); + $this->assertSame('hi', $stream->read()); + fclose($server); + } +} From 459a1f231b5c49b9b01edcb464d59a1c21983c67 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 11:34:50 +0100 Subject: [PATCH 116/142] feat(websocket): add close() to attach streams Send a masked close frame and close the socket. A peer that has already closed is ignored, and a second close() does nothing. read() returns null afterwards, and write() throws a RuntimeException instead of a TypeError from fwrite(). Closes #355 --- docs/reference/streams.mdx | 8 ++--- src/Stream/AttachWebsocketStream.php | 21 ++++++++++++ tests/Stream/AttachWebsocketStreamTest.php | 39 ++++++++++++++++++++++ 3 files changed, 64 insertions(+), 4 deletions(-) diff --git a/docs/reference/streams.mdx b/docs/reference/streams.mdx index 695a62fb7..b7e4a89f1 100644 --- a/docs/reference/streams.mdx +++ b/docs/reference/streams.mdx @@ -132,10 +132,10 @@ TTY-aware decoder or handle all upgraded-response variants. Do not assume that terminal output or HTTP 101 will work through this wrapper. `containerAttachWebsocket()` uses a separate `AttachWebsocketStream` with -`read()` and `write()`, not `onStdout()`/`wait()`. Its response handling is also -narrow, and the existing WebSocket integration test is skipped. Treat it as -a feature requiring validation with your daemon and transport, not a tested -interactive-terminal recipe. +`read()`, `write()` and `close()`, not `onStdout()`/`wait()`. Its response +handling is also narrow, and the existing WebSocket integration test is +skipped. Treat it as a feature requiring validation with your daemon and +transport, not a tested interactive-terminal recipe. `DockerRawStream::onStdin()` is an output-channel callback; it is not a method for writing commands into a container. Prefer the [exec recipe](/guides/exec) diff --git a/src/Stream/AttachWebsocketStream.php b/src/Stream/AttachWebsocketStream.php index 72a9c0817..972e41335 100644 --- a/src/Stream/AttachWebsocketStream.php +++ b/src/Stream/AttachWebsocketStream.php @@ -30,6 +30,10 @@ public function __construct(StreamInterface $stream) */ public function write($data): void { + if (!\is_resource($this->socket)) { + throw new \RuntimeException('The WebSocket stream is closed.'); + } + $rand = random_int(0, 28); $frame = [ 'fin' => 1, @@ -80,6 +84,23 @@ public function write($data): void $this->socketWrite($frame['data']); } + /** + * Send a close frame and close the connection. + * + * Later read() calls return null. Calling close() again does nothing. + */ + public function close(): void + { + if (!\is_resource($this->socket)) { + return; + } + + // Masked close frame without a status code (RFC 6455 section 5.5.1). + // The daemon may already have closed its side, so a failed write is ignored. + @$this->socketWrite("\x88\x80".random_bytes(4)); + fclose($this->socket); + } + /** * Block until it receive a frame from websocket or return null if no more connexion. * diff --git a/tests/Stream/AttachWebsocketStreamTest.php b/tests/Stream/AttachWebsocketStreamTest.php index 71ff17fad..7c48c9360 100644 --- a/tests/Stream/AttachWebsocketStreamTest.php +++ b/tests/Stream/AttachWebsocketStreamTest.php @@ -22,4 +22,43 @@ public function testReadsEmptyFrameBeforePayload(): void $this->assertSame('hi', $stream->read()); fclose($server); } + + public function testCloseSendsCloseFrameAndClosesSocket(): void + { + [$client, $server] = stream_socket_pair(\STREAM_PF_UNIX, \STREAM_SOCK_STREAM, \STREAM_IPPROTO_IP); + $stream = new AttachWebsocketStream(Stream::create($client)); + + $stream->close(); + $stream->close(); + + $frame = fread($server, 16); + $this->assertSame("\x88\x80", substr($frame, 0, 2)); + $this->assertSame(6, \strlen($frame)); + $this->assertSame('', fread($server, 1)); + $this->assertTrue(feof($server)); + $this->assertNull($stream->read()); + fclose($server); + } + + public function testCloseIgnoresPeerThatAlreadyClosed(): void + { + [$client, $server] = stream_socket_pair(\STREAM_PF_UNIX, \STREAM_SOCK_STREAM, \STREAM_IPPROTO_IP); + fclose($server); + $stream = new AttachWebsocketStream(Stream::create($client)); + + $stream->close(); + + $this->assertNull($stream->read()); + } + + public function testWriteAfterCloseThrows(): void + { + [$client, $server] = stream_socket_pair(\STREAM_PF_UNIX, \STREAM_SOCK_STREAM, \STREAM_IPPROTO_IP); + $stream = new AttachWebsocketStream(Stream::create($client)); + $stream->close(); + fclose($server); + + $this->expectException(\RuntimeException::class); + $stream->write('exit'); + } } From 21654159610fff7fe0bec9ea9e6e8569e309e6b7 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 11:35:14 +0100 Subject: [PATCH 117/142] fix(websocket): encode 65,536-byte payload lengths correctly write() picked the 16-bit extended length only when the payload was above 65,536 bytes. A payload of exactly 65,536 bytes got the 16-bit form, and pack('n') wrapped its length to 0, so the daemon read a corrupt frame. Switch to the 64-bit form above 0xFFFF and write it with pack('J'). --- src/Stream/AttachWebsocketStream.php | 8 +++---- tests/Stream/AttachWebsocketStreamTest.php | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/src/Stream/AttachWebsocketStream.php b/src/Stream/AttachWebsocketStream.php index 972e41335..da5ea9732 100644 --- a/src/Stream/AttachWebsocketStream.php +++ b/src/Stream/AttachWebsocketStream.php @@ -54,7 +54,8 @@ public function write($data): void } } - if ($frame['len'] > 2 ** 16) { + // 126 carries a 16-bit length, so anything above 0xFFFF needs the 64-bit form. + if ($frame['len'] > 0xFFFF) { $len = 127; } elseif ($frame['len'] > 125) { $len = 126; @@ -71,10 +72,7 @@ public function write($data): void if (126 === $len) { $this->socketWrite(pack('n', $frame['len'])); } elseif (127 === $len) { - $higher = $frame['len'] >> 32; - $lower = ($frame['len'] << 32) >> 32; - $this->socketWrite(pack('N', $higher)); - $this->socketWrite(pack('N', $lower)); + $this->socketWrite(pack('J', $frame['len'])); } if (1 === $frame['mask']) { diff --git a/tests/Stream/AttachWebsocketStreamTest.php b/tests/Stream/AttachWebsocketStreamTest.php index 7c48c9360..bf76ceece 100644 --- a/tests/Stream/AttachWebsocketStreamTest.php +++ b/tests/Stream/AttachWebsocketStreamTest.php @@ -6,6 +6,7 @@ use Docker\Stream\AttachWebsocketStream; use Nyholm\Psr7\Stream; +use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\TestCase; class AttachWebsocketStreamTest extends TestCase @@ -23,6 +24,33 @@ public function testReadsEmptyFrameBeforePayload(): void fclose($server); } + public static function payloadLengths(): iterable + { + yield '7-bit length' => [125, "\xFD", '']; + yield '16-bit length' => [126, "\xFE", pack('n', 126)]; + yield 'largest 16-bit length' => [0xFFFF, "\xFE", pack('n', 0xFFFF)]; + yield 'smallest 64-bit length' => [0x10000, "\xFF", pack('J', 0x10000)]; + } + + #[DataProvider('payloadLengths')] + public function testWriteEncodesPayloadLength(int $length, string $lengthByte, string $extendedLength): void + { + $socket = fopen('php://temp', 'w+'); + $stream = new AttachWebsocketStream(Stream::create($socket)); + $data = str_repeat('x', $length); + + $stream->write($data); + + rewind($socket); + $frame = stream_get_contents($socket); + $header = 2 + \strlen($extendedLength); + $this->assertSame("\x81".$lengthByte.$extendedLength, substr($frame, 0, $header)); + $mask = substr($frame, $header, 4); + $payload = substr($frame, $header + 4); + $this->assertSame($length, \strlen($payload)); + $this->assertSame($data, $payload ^ str_repeat($mask, intdiv($length, 4) + 1)); + } + public function testCloseSendsCloseFrameAndClosesSocket(): void { [$client, $server] = stream_socket_pair(\STREAM_PF_UNIX, \STREAM_SOCK_STREAM, \STREAM_IPPROTO_IP); From 1cbbce1f5e3bacdca06a80c0ceac257e111fe5f0 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 11:37:44 +0100 Subject: [PATCH 118/142] fix(types): declare stream return types on Docker methods The Docker overrides inherited the generated return types, which say containerLogs(), execStart(), imageCreate() and the other streaming calls return null. They return DockerRawStream, AttachWebsocketStream, BuildStream, CreateImageStream, PushStream or EventStream. Declare the real conditional return types and check them with PHPStan assertType() in tests/StaticAnalysis, which the phpstan script now analyses. Closes #321 --- composer.json | 2 +- src/Docker.php | 28 +++++++++++++++++++++- tests/StaticAnalysis/DockerReturnTypes.php | 23 ++++++++++++++++++ 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 tests/StaticAnalysis/DockerReturnTypes.php diff --git a/composer.json b/composer.json index 81af71085..772ece3bc 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ "lint": "vendor/bin/parallel-lint --exclude vendor .", "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", - "phpstan": "vendor/bin/phpstan analyse --level 2 src", + "phpstan": "vendor/bin/phpstan analyse --level 2 src tests/StaticAnalysis", "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", "test": [ "@lint", diff --git a/src/Docker.php b/src/Docker.php index faed3f178..195f5288f 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -19,9 +19,16 @@ use Docker\Endpoint\SystemEvents; use Docker\Exception\BadRequestException; use Docker\Http\InteractiveHttpClient; +use Docker\Stream\AttachWebsocketStream; +use Docker\Stream\BuildStream; +use Docker\Stream\CreateImageStream; +use Docker\Stream\DockerRawStream; +use Docker\Stream\EventStream; use Docker\Stream\InteractiveExecStream; +use Docker\Stream\PushStream; use Docker\Stream\SocketReadStream; use Http\Client\Socket\Stream as SocketStream; +use Psr\Http\Message\ResponseInterface; /** * Docker\Docker. @@ -32,6 +39,8 @@ class Docker extends Client /** * {@inheritdoc} + * + * @return ($fetch is 'object' ? DockerRawStream|null : ResponseInterface) */ public function containerAttach(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { @@ -40,6 +49,8 @@ public function containerAttach(string $id, array $queryParameters = [], string /** * {@inheritdoc} + * + * @return ($fetch is 'object' ? AttachWebsocketStream|null : ResponseInterface) */ public function containerAttachWebsocket(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { @@ -48,6 +59,8 @@ public function containerAttachWebsocket(string $id, array $queryParameters = [] /** * {@inheritdoc} + * + * @return ($fetch is 'object' ? DockerRawStream|null : ResponseInterface) */ public function containerLogs(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { @@ -61,6 +74,8 @@ public function containerLogs(string $id, array $queryParameters = [], string $f /** * {@inheritdoc} + * + * @return ($fetch is 'object' ? DockerRawStream|null : ResponseInterface) */ public function execStart(string $id, ?ExecIdStartPostBody $requestBody = null, string $fetch = self::FETCH_OBJECT, array $accept = []) { @@ -96,7 +111,7 @@ public function execStartInteractive(string $id, ?ExecIdStartPostBody $requestBo || !preg_match('/(?:^|,)\s*upgrade\s*(?:,|$)/i', $response->getHeaderLine('Connection')) || $response->hasHeader('Transfer-Encoding') || $response->hasHeader('Content-Encoding') - || !\in_array($mediaType, [\Docker\Stream\DockerRawStream::HEADER, \Docker\Stream\DockerRawStream::MULTIPLEXED_HEADER], true) + || !\in_array($mediaType, [DockerRawStream::HEADER, DockerRawStream::MULTIPLEXED_HEADER], true) || (!$stream instanceof SocketReadStream && !$stream instanceof SocketStream)) { $stream->close(); throw new \RuntimeException('Docker did not provide a supported interactive exec upgrade (HTTP '.$response->getStatusCode().').'); @@ -115,6 +130,8 @@ public function execStartInteractive(string $id, ?ExecIdStartPostBody $requestBo /** * {@inheritdoc} + * + * @return ($fetch is 'object' ? BuildStream|null : ResponseInterface) */ public function imageBuild($requestBody = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) { @@ -123,12 +140,19 @@ public function imageBuild($requestBody = null, array $queryParameters = [], arr /** * {@inheritdoc} + * + * @return ($fetch is 'object' ? CreateImageStream|null : ResponseInterface) */ public function imageCreate(?string $requestBody = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new ImageCreate($requestBody, $queryParameters, $headerParameters), $fetch); } + /** + * {@inheritdoc} + * + * @return ($fetch is 'object' ? PushStream|null : ResponseInterface) + */ public function imagePush(string $name, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { if (isset($headerParameters['X-Registry-Auth']) && $headerParameters['X-Registry-Auth'] instanceof AuthConfig) { @@ -140,6 +164,8 @@ public function imagePush(string $name, array $queryParameters = [], array $head /** * {@inheritdoc} + * + * @return ($fetch is 'object' ? EventStream|null : ResponseInterface) */ public function systemEvents(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { diff --git a/tests/StaticAnalysis/DockerReturnTypes.php b/tests/StaticAnalysis/DockerReturnTypes.php new file mode 100644 index 000000000..76ef34d50 --- /dev/null +++ b/tests/StaticAnalysis/DockerReturnTypes.php @@ -0,0 +1,23 @@ +containerAttach('id')); + assertType('Docker\Stream\AttachWebsocketStream|null', $docker->containerAttachWebsocket('id')); + assertType('Docker\Stream\DockerRawStream|null', $docker->containerLogs('id')); + assertType('Docker\Stream\DockerRawStream|null', $docker->execStart('id')); + assertType('Docker\Stream\BuildStream|null', $docker->imageBuild()); + assertType('Docker\Stream\CreateImageStream|null', $docker->imageCreate()); + assertType('Docker\Stream\PushStream|null', $docker->imagePush('name')); + assertType('Docker\Stream\EventStream|null', $docker->systemEvents()); + assertType('Psr\Http\Message\ResponseInterface', $docker->containerLogs('id', [], Docker::FETCH_RESPONSE)); +} From 0c271fa36db9ad8ec4ef208b1d6c402d8ce4aaaa Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 11:42:32 +0100 Subject: [PATCH 119/142] feat(build): accept several tags in imageBuild() Docker applies each repeated `t` query parameter as a tag, but the generated endpoint only accepted a single string. Accept a string or a list of strings for `t` and send one `t=` pair per tag. Keyed arrays are reindexed so they don't produce bracketed keys. Declare the wider type in Docker::imageBuild()'s parameter shape and document it in the build recipe. Cover the query string, an invalid tag type and a real build against the daemon. Closes #287 --- docs/cookbook/build-image.mdx | 4 +++ src/Docker.php | 28 ++++++++++++++++ src/Endpoint/ImageBuild.php | 17 ++++++++++ tests/Endpoint/ImageBuildTest.php | 38 ++++++++++++++++++++++ tests/Resource/ImageResourceTest.php | 22 +++++++++++++ tests/StaticAnalysis/DockerReturnTypes.php | 1 + 6 files changed, 110 insertions(+) create mode 100644 tests/Endpoint/ImageBuildTest.php diff --git a/docs/cookbook/build-image.mdx b/docs/cookbook/build-image.mdx index afe2e7768..7da72f148 100644 --- a/docs/cookbook/build-image.mdx +++ b/docs/cookbook/build-image.mdx @@ -79,6 +79,10 @@ $build->wait(); Do not pre-URL-encode the JSON options. Declare `ARG APP_MODE` in the Dockerfile if the build uses it. Build arguments are not a safe channel for secrets. +To apply several tags, pass a list to `t`, for example +`'t' => ['docker-php-example:latest', 'docker-php-example:1.0']`. Docker PHP +sends one `t` parameter per tag. Lists require client `3.3.0` or later. + A streamed context is consumed by the first request. The original tar process is not rewindable. Keep the context alive until the request has finished, and do not assume a process-backed stream has a known byte length. diff --git a/src/Docker.php b/src/Docker.php index 195f5288f..3cc9fe69c 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -131,6 +131,34 @@ public function execStartInteractive(string $id, ?ExecIdStartPostBody $requestBo /** * {@inheritdoc} * + * @param array{ + * "dockerfile"?: string, + * "t"?: string|list, + * "extrahosts"?: string, + * "remote"?: string, + * "q"?: bool, + * "nocache"?: bool, + * "cachefrom"?: string, + * "pull"?: string, + * "rm"?: bool, + * "forcerm"?: bool, + * "memory"?: int, + * "memswap"?: int, + * "cpushares"?: int, + * "cpusetcpus"?: string, + * "cpuperiod"?: int, + * "cpuquota"?: int, + * "buildargs"?: string, + * "shmsize"?: int, + * "squash"?: bool, + * "labels"?: string, + * "networkmode"?: string, + * "platform"?: string, + * "target"?: string, + * "outputs"?: string, + * "version"?: string, + * } $queryParameters + * * @return ($fetch is 'object' ? BuildStream|null : ResponseInterface) */ public function imageBuild($requestBody = null, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) diff --git a/src/Endpoint/ImageBuild.php b/src/Endpoint/ImageBuild.php index 49239c4cf..095f14772 100644 --- a/src/Endpoint/ImageBuild.php +++ b/src/Endpoint/ImageBuild.php @@ -9,6 +9,8 @@ use Docker\Stream\TarStream; use Nyholm\Psr7\Stream; use Psr\Http\Message\ResponseInterface; +use Symfony\Component\OptionsResolver\Options; +use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Serializer\SerializerInterface; class ImageBuild extends BaseEndpoint @@ -24,6 +26,21 @@ public function getBody(SerializerInterface $serializer, $streamFactory = null): return [['Content-Type' => ['application/octet-stream']], $body]; } + protected function getQueryOptionsResolver(): OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + // Docker applies each repeated `t` parameter as a separate tag. + $optionsResolver->setAllowedTypes('t', ['string', 'string[]']); + $optionsResolver->setNormalizer('t', static fn (Options $options, $value) => \is_array($value) ? array_values($value) : $value); + + return $optionsResolver; + } + + protected function getQueryStyles(): array + { + return ['t' => ['style' => 'form', 'explode' => true]] + parent::getQueryStyles(); + } + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode()) { diff --git a/tests/Endpoint/ImageBuildTest.php b/tests/Endpoint/ImageBuildTest.php new file mode 100644 index 000000000..7d7760e6a --- /dev/null +++ b/tests/Endpoint/ImageBuildTest.php @@ -0,0 +1,38 @@ + ['app:latest', ['t=app%3Alatest']]; + yield 'several tags' => [['app:latest', 'app:1.0'], ['t=app%3Alatest', 't=app%3A1.0']]; + yield 'keyed tags' => [['a' => 'app:latest', 'b' => 'app:1.0'], ['t=app%3Alatest', 't=app%3A1.0']]; + yield 'no tags' => [[], []]; + } + + #[DataProvider('tagProvider')] + public function testRepeatsTagParameter(string|array $tags, array $expected): void + { + $query = (new ImageBuild(null, ['t' => $tags]))->getQueryString(); + $parameters = explode('&', $query); + + $this->assertSame($expected, array_values(array_filter($parameters, static fn (string $pair): bool => str_starts_with($pair, 't=')))); + $this->assertContains('dockerfile=Dockerfile', $parameters); + } + + public function testRejectsNonStringTags(): void + { + $this->expectException(InvalidOptionsException::class); + + (new ImageBuild(null, ['t' => ['app:latest', 1]]))->getQueryString(); + } +} diff --git a/tests/Resource/ImageResourceTest.php b/tests/Resource/ImageResourceTest.php index 8e88982da..bbedf66b3 100644 --- a/tests/Resource/ImageResourceTest.php +++ b/tests/Resource/ImageResourceTest.php @@ -40,6 +40,28 @@ public function testBuild(): void $this->assertStringContainsString('Successfully', $lastMessage); } + public function testBuildAppliesSeveralTags(): void + { + $contextBuilder = new ContextBuilder(); + $contextBuilder->from('busybox:latest'); + $contextBuilder->add('/test', 'test file content'); + $context = $contextBuilder->getContext(); + $tags = ['docker-php-test-tags:one', 'docker-php-test-tags:two']; + + $buildStream = $this->getManager()->imageBuild($context->read(), ['t' => $tags]); + $buildStream->wait(); + + try { + $repoTags = $this->getManager()->imageInspect($tags[0])->getRepoTags(); + sort($repoTags); + $this->assertSame($tags, $repoTags); + } finally { + foreach ($tags as $tag) { + $this->getManager()->imageDelete($tag); + } + } + } + public function testCreate(): void { $createImageStream = $this->getManager()->imageCreate('', [ diff --git a/tests/StaticAnalysis/DockerReturnTypes.php b/tests/StaticAnalysis/DockerReturnTypes.php index 76ef34d50..654491cd2 100644 --- a/tests/StaticAnalysis/DockerReturnTypes.php +++ b/tests/StaticAnalysis/DockerReturnTypes.php @@ -16,6 +16,7 @@ function dockerReturnTypes(Docker $docker): void assertType('Docker\Stream\DockerRawStream|null', $docker->containerLogs('id')); assertType('Docker\Stream\DockerRawStream|null', $docker->execStart('id')); assertType('Docker\Stream\BuildStream|null', $docker->imageBuild()); + assertType('Docker\Stream\BuildStream|null', $docker->imageBuild(null, ['t' => ['app:latest', 'app:1.0']])); assertType('Docker\Stream\CreateImageStream|null', $docker->imageCreate()); assertType('Docker\Stream\PushStream|null', $docker->imagePush('name')); assertType('Docker\Stream\EventStream|null', $docker->systemEvents()); From 6be0a0ff2852f994a097de722c8e911794b0f3d1 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 11:51:42 +0100 Subject: [PATCH 120/142] feat(stats): stream container stats with StatsStream containerStats() streams by default, but the generated endpoint read the whole body as one JSON document. On a running container that blocked until the socket timed out; after the container exited, json_decode() failed on the concatenated samples. With `stream` on, return a StatsStream that passes each sample to onFrame() as the same decoded object `stream => false` returns. Move the JSON document splitting from MultiJsonStream into a trait so both streams share it. Add CallbackStream::stop(), which closes the body and ends wait() after the current frame's callbacks. It also lets build, pull, push and event readers finish from a callback. Closes #323 --- docs/guides/events-and-stats.mdx | 50 +++++++++++---- docs/reference/streams.mdx | 20 +++--- src/Docker.php | 16 +++++ src/Endpoint/ContainerStats.php | 24 +++++++ src/Stream/CallbackStream.php | 21 +++++- src/Stream/MultiJsonStream.php | 44 ++----------- src/Stream/ReadsJsonDocuments.php | 63 ++++++++++++++++++ src/Stream/StatsStream.php | 26 ++++++++ tests/Endpoint/ContainerStatsTest.php | 47 ++++++++++++++ tests/Resource/LiveStreamTest.php | 26 ++++++++ tests/StaticAnalysis/DockerReturnTypes.php | 1 + tests/Stream/StatsStreamTest.php | 74 ++++++++++++++++++++++ 12 files changed, 350 insertions(+), 62 deletions(-) create mode 100644 src/Endpoint/ContainerStats.php create mode 100644 src/Stream/ReadsJsonDocuments.php create mode 100644 src/Stream/StatsStream.php create mode 100644 tests/Endpoint/ContainerStatsTest.php create mode 100644 tests/Stream/StatsStreamTest.php diff --git a/docs/guides/events-and-stats.mdx b/docs/guides/events-and-stats.mdx index 071c93803..50ddd966a 100644 --- a/docs/guides/events-and-stats.mdx +++ b/docs/guides/events-and-stats.mdx @@ -1,6 +1,6 @@ --- title: "Events and resource stats" -description: "Read bounded event history and a single stats sample without opening an unintended endless stream." +description: "Read bounded event history, a single stats sample or live stats without opening an unintended endless stream." --- These calls can stay open. Decide whether you want a finite query or a live @@ -45,9 +45,9 @@ assuming no events were lost. Keep slow work out of the synchronous callback. ## Read one stats sample -`containerStats()` defaults to streaming. The generated endpoint does not have -a custom callback wrapper and parses a whole JSON response. Explicitly set -`stream => false` for the normal decoded-result path: +`containerStats()` streams by default and returns a `StatsStream` (see +[continuous stats](#continuous-stats)). Set `stream => false` to get one +decoded sample instead: ```php $stats = $docker->containerStats('my-container', ['stream' => false]); @@ -71,14 +71,38 @@ version before calculating percentages. ## Continuous stats -For a live reader, use -`executeRawEndpoint(new Docker\API\Endpoint\ContainerStats($id, ['stream' => true]))`, -check HTTP 200, and parse JSON documents incrementally from the PSR-7 body. -Close that body when finished. Do not call `containerStats($id)` in an ordinary -web request and assume it will return one sample. +With the default `stream => true`, `containerStats()` returns a `StatsStream`. +Docker sends a sample about once a second until the container stops, so call +`stop()` once you have what you need. Its callback receives each sample as the +same decoded object as `stream => false`: -Socket chunks are not JSON-message boundaries. Buffer incomplete documents, -place a limit on buffered data, and handle timeouts, malformed JSON and -disconnects. There is no `StatsStream` or `onFrame()` method provided for this -endpoint in the current client. See +```php +containerStats('my-container'); +$samples = 0; +$stats->onFrame(function (stdClass $sample) use ($stats, &$samples): void { + printf("Memory usage: %s bytes\n", (string) ($sample->memory_stats->usage ?? 'unavailable')); + + if (++$samples === 5) { + $stats->stop(); + } +}); +$stats->wait(); +``` + +`stop()` closes the response body, and `wait()` returns after the current +sample's callbacks have run. Each sample's `precpu_stats` holds the previous +reading, so a CPU percentage can be calculated from the second sample onwards. + +`StatsStream` requires `3.3.0` or later. Earlier clients have no stats wrapper; +use `stream => false` there. Live samples need a transport that reads +incrementally, such as the bundled socket client. Guzzle's cURL handler +buffers the whole response; see [HTTP clients](/guides/guzzle). Keep the reader +in a worker rather than an ordinary web request, and see [stream lifetime and cancellation](/reference/streams#lifetime-cancellation-and-timeouts). diff --git a/docs/reference/streams.mdx b/docs/reference/streams.mdx index b7e4a89f1..62008b151 100644 --- a/docs/reference/streams.mdx +++ b/docs/reference/streams.mdx @@ -14,7 +14,7 @@ The table describes the restored client with the API v1.45 package. | `containerLogs()` | `DockerRawStream`; TTY-aware output decoding | [Logs](/guides/logs) | | `execStart()` | Attached output stream, or no output when detached | [Exec](/guides/exec) | | `systemEvents()` | `EventStream`, not one event model | [Events and stats](/guides/events-and-stats) | -| `containerStats()` | Plain decoded object with `stream=false`; no typed stream wrapper | [Events and stats](/guides/events-and-stats#read-one-stats-sample) | +| `containerStats()` | `StatsStream` by default; one decoded object with `stream=false` | [Events and stats](/guides/events-and-stats#continuous-stats) | | `containerArchive()` / `containerExport()` | Tar response; use a raw endpoint to retain the body | [Archive transfers](/guides/archives) | | `containerArchiveInfo()` | Metadata in a response header, not a response model | [Archive transfers](/guides/archives#read-path-metadata) | | `putContainerArchive()` | Tar request body; successful typed result is `null` | [Archive transfers](/guides/archives#upload-a-tar-archive) | @@ -28,8 +28,9 @@ Register callbacks before calling `wait()`. The endpoint call obtains the response; `wait()` reads its body and invokes callbacks synchronously. Registering a callback alone does not consume output or finish the operation. -`onFrame()` receives generated models for build, pull, push and event streams. -Their responses contain multiple JSON documents, not one JSON array. +`onFrame()` receives generated models for build, pull, push and event streams, +and decoded objects for stats streams. Their responses contain multiple JSON +documents, not one JSON array. `onStdout()` and `onStderr()` receive strings for logs and exec output. See [output framing](/guides/logs#output-chunks-and-tty-mode) for the difference between output chunks and lines. @@ -89,7 +90,8 @@ See [HTTP clients](/guides/guzzle) for the transport comparison. ## Lifetime, cancellation and timeouts -`wait()` blocks until the stream ends or an error interrupts it. A log follow +`wait()` blocks until the stream ends, `stop()` is called or an error +interrupts it. A log follow or event subscription can remain open indefinitely. The client does not turn these calls into background jobs, promises or an event loop. @@ -98,10 +100,12 @@ to the operation, and keep long-lived readers in a supervised worker rather than an ordinary web request. Reconnect and reconcile state in your application after a connection failure; there is no automatic durable event subscription. -There is no uniform public cancellation method across these wrappers. Do not -treat `CallbackStream::closeAndRead()` as a graceful stop signal: it closes -the underlying body before calling `wait()`. For explicit stream ownership, -use a raw endpoint, manage its PSR-7 body and close it in a `finally` block. +Call `stop()` on a callback stream to close its body and end `wait()`. From +inside a frame callback, `wait()` returns after that frame's callbacks have +run. `stop()` requires `3.3.0` or later. Do not treat +`CallbackStream::closeAndRead()` as a graceful stop signal: it closes the +underlying body before calling `wait()`. For explicit stream ownership, use a +raw endpoint, manage its PSR-7 body and close it in a `finally` block. Closing a build or pull connection can cancel the daemon operation. ## Raw and generated endpoints diff --git a/src/Docker.php b/src/Docker.php index 3cc9fe69c..4ad8eb4dd 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -11,6 +11,7 @@ use Docker\Endpoint\ContainerAttach; use Docker\Endpoint\ContainerAttachWebsocket; use Docker\Endpoint\ContainerLogs; +use Docker\Endpoint\ContainerStats; use Docker\Endpoint\ExecStart; use Docker\Endpoint\ImageBuild; use Docker\Endpoint\ImageCreate; @@ -26,6 +27,7 @@ use Docker\Stream\EventStream; use Docker\Stream\InteractiveExecStream; use Docker\Stream\PushStream; +use Docker\Stream\StatsStream; use Docker\Stream\SocketReadStream; use Http\Client\Socket\Stream as SocketStream; use Psr\Http\Message\ResponseInterface; @@ -72,6 +74,20 @@ public function containerLogs(string $id, array $queryParameters = [], string $f ), $fetch); } + /** + * {@inheritdoc} + * + * With `stream => true` (the default) the result is a StatsStream that + * delivers one sample per frame; with `stream => false` it is one decoded + * sample. + * + * @return ($fetch is 'object' ? StatsStream|\stdClass|null : ResponseInterface) + */ + public function containerStats(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new ContainerStats($id, $queryParameters), $fetch); + } + /** * {@inheritdoc} * diff --git a/src/Endpoint/ContainerStats.php b/src/Endpoint/ContainerStats.php new file mode 100644 index 000000000..1823043ce --- /dev/null +++ b/src/Endpoint/ContainerStats.php @@ -0,0 +1,24 @@ +getStatusCode() && $this->getQueryOptionsResolver()->resolve($this->queryParameters)['stream']) { + return new StatsStream($response->getBody()); + } + + return parent::transformResponseBody($response, $serializer, $contentType); + } +} diff --git a/src/Stream/CallbackStream.php b/src/Stream/CallbackStream.php index 382c935f4..320b63359 100644 --- a/src/Stream/CallbackStream.php +++ b/src/Stream/CallbackStream.php @@ -12,6 +12,8 @@ abstract class CallbackStream private $onNewFrameCallables = []; + private bool $stopped = false; + public function __construct(StreamInterface $stream) { $this->stream = $stream; @@ -35,7 +37,7 @@ abstract protected function readFrame(); */ public function wait(): void { - while (!$this->stream->eof()) { + while (!$this->stopped && !$this->stream->eof()) { $frame = $this->readFrame(); if (null !== $frame) { @@ -50,6 +52,23 @@ public function wait(): void } } + /** + * Stop reading and close the response body. + * + * Called from a frame callback, wait() returns once the remaining callbacks + * for that frame have run. Closing a build or pull connection can cancel + * the daemon operation. + */ + public function stop(): void + { + if ($this->stopped) { + return; + } + + $this->stopped = true; + $this->stream->close(); + } + public function closeAndRead(): void { $this->stream->close(); diff --git a/src/Stream/MultiJsonStream.php b/src/Stream/MultiJsonStream.php index 536afa171..315af9568 100644 --- a/src/Stream/MultiJsonStream.php +++ b/src/Stream/MultiJsonStream.php @@ -12,6 +12,8 @@ */ abstract class MultiJsonStream extends CallbackStream { + use ReadsJsonDocuments; + /** @var SerializerInterface Serializer to decode incoming json object */ private $serializer; @@ -24,46 +26,8 @@ public function __construct(StreamInterface $stream, SerializerInterface $serial protected function readFrame() { - $jsonFrameEnd = false; - $lastJsonChar = ''; - $inquote = false; - $jsonFrame = ''; - $level = 0; - - // This is a - while (!$jsonFrameEnd && !$this->stream->eof()) { - $jsonChar = $this->stream->read(1); - - if ('"' === $jsonChar && '\\' !== $lastJsonChar) { - $inquote = !$inquote; - } - - // We ignore white space when it is not part of a quoted string. - if (!$inquote && \in_array($jsonChar, [' ', "\r", "\n", "\t"], true)) { - continue; - } - - if (!$inquote && \in_array($jsonChar, ['{', '['], true)) { - ++$level; - } - - if (!$inquote && \in_array($jsonChar, ['}', ']'], true)) { - --$level; - - if (0 === $level) { - $jsonFrameEnd = true; - $jsonFrame .= $jsonChar; - $lastJsonChar = ''; - continue; - } - } - - $jsonFrame .= $jsonChar; - $lastJsonChar = $jsonChar; - } - - // Invalid last json, or timeout, or connection close before receiving - if (!$jsonFrameEnd) { + $jsonFrame = $this->readJsonDocument(); + if (null === $jsonFrame) { return null; } diff --git a/src/Stream/ReadsJsonDocuments.php b/src/Stream/ReadsJsonDocuments.php new file mode 100644 index 000000000..a3411f84a --- /dev/null +++ b/src/Stream/ReadsJsonDocuments.php @@ -0,0 +1,63 @@ +stream. + * + * Returns null when the body ends before a document is complete. + */ + protected function readJsonDocument(): ?string + { + $jsonFrameEnd = false; + $lastJsonChar = ''; + $inquote = false; + $jsonFrame = ''; + $level = 0; + + while (!$jsonFrameEnd && !$this->stream->eof()) { + $jsonChar = $this->stream->read(1); + + if ('"' === $jsonChar && '\\' !== $lastJsonChar) { + $inquote = !$inquote; + } + + // We ignore white space when it is not part of a quoted string. + if (!$inquote && \in_array($jsonChar, [' ', "\r", "\n", "\t"], true)) { + continue; + } + + if (!$inquote && \in_array($jsonChar, ['{', '['], true)) { + ++$level; + } + + if (!$inquote && \in_array($jsonChar, ['}', ']'], true)) { + --$level; + + if (0 === $level) { + $jsonFrameEnd = true; + $jsonFrame .= $jsonChar; + $lastJsonChar = ''; + continue; + } + } + + $jsonFrame .= $jsonChar; + $lastJsonChar = $jsonChar; + } + + // Invalid last json, or timeout, or connection close before receiving + if (!$jsonFrameEnd) { + return null; + } + + return $jsonFrame; + } +} diff --git a/src/Stream/StatsStream.php b/src/Stream/StatsStream.php new file mode 100644 index 000000000..d5d9b7ab8 --- /dev/null +++ b/src/Stream/StatsStream.php @@ -0,0 +1,26 @@ + false`. + */ +class StatsStream extends CallbackStream +{ + use ReadsJsonDocuments; + + protected function readFrame() + { + $jsonFrame = $this->readJsonDocument(); + if (null === $jsonFrame) { + return null; + } + + return json_decode($jsonFrame, false, 512, \JSON_THROW_ON_ERROR); + } +} diff --git a/tests/Endpoint/ContainerStatsTest.php b/tests/Endpoint/ContainerStatsTest.php new file mode 100644 index 000000000..97e3d2128 --- /dev/null +++ b/tests/Endpoint/ContainerStatsTest.php @@ -0,0 +1,47 @@ + 'application/json']; + + public function testStreamsByDefaultWithoutReadingBody(): void + { + $response = new Response(200, self::JSON, "{\"read\":\"t1\"}\n{\"read\":\"t2\"}\n"); + + $stats = (new ContainerStats('web'))->parseResponse($response, $this->createMock(SerializerInterface::class)); + + $this->assertInstanceOf(StatsStream::class, $stats); + $this->assertSame(0, $response->getBody()->tell(), 'Creating the wrapper must not consume samples'); + } + + public function testReturnsOneSampleWhenStreamingIsOff(): void + { + $response = new Response(200, self::JSON, '{"read":"t1","memory_stats":{"usage":1}}'); + + $stats = (new ContainerStats('web', ['stream' => false]))->parseResponse($response, $this->createMock(SerializerInterface::class)); + + $this->assertInstanceOf(\stdClass::class, $stats); + $this->assertSame(1, $stats->memory_stats->usage); + } + + public function testMissingContainerStillThrows(): void + { + $serializer = $this->createMock(SerializerInterface::class); + $serializer->method('deserialize')->willReturn(new ErrorResponse()); + $this->expectException(ContainerStatsNotFoundException::class); + + (new ContainerStats('missing'))->parseResponse(new Response(404, self::JSON, '{"message":"No such container"}'), $serializer); + } +} diff --git a/tests/Resource/LiveStreamTest.php b/tests/Resource/LiveStreamTest.php index dee1d2f6e..d8ec31460 100644 --- a/tests/Resource/LiveStreamTest.php +++ b/tests/Resource/LiveStreamTest.php @@ -8,6 +8,7 @@ use Docker\API\Model\ContainersIdExecPostBody; use Docker\API\Model\ExecIdStartPostBody; use Docker\Stream\DockerRawStream; +use Docker\Stream\StatsStream; use Docker\Tests\TestCase; class LiveStreamTest extends TestCase @@ -93,4 +94,29 @@ public function testExecDeliversOutputBeforeExit(bool $tty): void self::getDocker()->containerDelete($id, ['force' => true]); } } + + public function testContainerStatsStreamsLiveSamples(): void + { + $id = $this->createContainer(false, ['sleep', '30']); + + try { + $stats = self::getDocker()->containerStats($id); + $this->assertInstanceOf(StatsStream::class, $stats); + $reads = []; + $stats->onFrame(static function (\stdClass $sample) use ($stats, &$reads): void { + $reads[] = $sample->read; + if (2 === \count($reads)) { + $stats->stop(); + } + }); + $started = microtime(true); + $stats->wait(); + + $this->assertCount(2, $reads); + $this->assertNotSame($reads[0], $reads[1]); + $this->assertLessThan(15, microtime(true) - $started, 'stop() should end wait() before the container exits'); + } finally { + self::getDocker()->containerDelete($id, ['force' => true]); + } + } } diff --git a/tests/StaticAnalysis/DockerReturnTypes.php b/tests/StaticAnalysis/DockerReturnTypes.php index 654491cd2..e163feb7b 100644 --- a/tests/StaticAnalysis/DockerReturnTypes.php +++ b/tests/StaticAnalysis/DockerReturnTypes.php @@ -20,5 +20,6 @@ function dockerReturnTypes(Docker $docker): void assertType('Docker\Stream\CreateImageStream|null', $docker->imageCreate()); assertType('Docker\Stream\PushStream|null', $docker->imagePush('name')); assertType('Docker\Stream\EventStream|null', $docker->systemEvents()); + assertType('Docker\Stream\StatsStream|stdClass|null', $docker->containerStats('id')); assertType('Psr\Http\Message\ResponseInterface', $docker->containerLogs('id', [], Docker::FETCH_RESPONSE)); } diff --git a/tests/Stream/StatsStreamTest.php b/tests/Stream/StatsStreamTest.php new file mode 100644 index 000000000..c30dc28d4 --- /dev/null +++ b/tests/Stream/StatsStreamTest.php @@ -0,0 +1,74 @@ +onFrame(static function (\stdClass $sample) use (&$usage): void { + $usage[$sample->read] = $sample->memory_stats->usage; + }); + + $stream->wait(); + + $this->assertSame(['t1' => 1, 't2' => 2], $usage); + } + + public function testStopFromCallbackEndsWaitAndClosesBody(): void + { + $body = Stream::create(self::BODY); + $stream = new StatsStream($body); + $calls = []; + $stream->onFrame(static function (\stdClass $sample) use ($stream, &$calls): void { + $calls[] = 'first:'.$sample->read; + $stream->stop(); + }); + $stream->onFrame(static function (\stdClass $sample) use (&$calls): void { + $calls[] = 'second:'.$sample->read; + }); + + $stream->wait(); + + $this->assertSame(['first:t1', 'second:t1'], $calls); + $this->assertFalse($body->isReadable()); + } + + public function testStopBeforeWaitSkipsBody(): void + { + $stream = new StatsStream(Stream::create(self::BODY)); + $stream->onFrame(function (): void { + $this->fail('No sample should be delivered after stop().'); + }); + + $stream->stop(); + $stream->stop(); + $stream->wait(); + + $this->addToAssertionCount(1); + } + + public function testIgnoresIncompleteTrailingSample(): void + { + $stream = new StatsStream(Stream::create("{\"read\":\"t1\"}\n{\"read\":")); + $reads = []; + $stream->onFrame(static function (\stdClass $sample) use (&$reads): void { + $reads[] = $sample->read; + }); + + $stream->wait(); + + $this->assertSame(['t1'], $reads); + } +} From 8024e95a676e56d113316d942b94bb1eee373cd7 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 12:06:36 +0100 Subject: [PATCH 121/142] fix(attach): handle TTY and upgraded attach responses containerAttachWebsocket() only wrapped HTTP 200 responses, but Docker answers a WebSocket attach with 101 Switching Protocols, so it always returned null. Return an AttachWebsocketStream for a 101 WebSocket upgrade, and send a handshake key of 16 random bytes. containerAttach() decoded every raw-stream response as multiplexed frames, so a TTY container's output was lost. Resolve the container's TTY setting for raw-stream responses, as containerLogs() does, and handle upgraded 101 responses. AttachWebsocketStream: - answer pings and treat a close frame as the end of the stream instead of returning control frames as data - return null when the connection ends mid-frame - throw when a frame stalls past the socket timeout or select fails, instead of waiting forever - send binary frames with a random mask key, and finish partial writes Re-enable the WebSocket integration test, skipped on Docker Desktop whose socket proxy does not forward attach output, and add a TTY attach test. Wait for the busybox pull in ContainerResourceTest so it works on a clean daemon. Closes #325 --- docs/reference/streams.mdx | 56 ++++- src/Docker.php | 7 +- src/Endpoint/ContainerAttach.php | 25 ++- src/Endpoint/ContainerAttachWebsocket.php | 9 +- src/Stream/AttachWebsocketStream.php | 246 ++++++++++++--------- tests/Endpoint/ContainerAttachTest.php | 96 ++++++++ tests/Resource/ContainerResourceTest.php | 94 +++++--- tests/Stream/AttachWebsocketStreamTest.php | 65 +++++- 8 files changed, 438 insertions(+), 160 deletions(-) create mode 100644 tests/Endpoint/ContainerAttachTest.php diff --git a/docs/reference/streams.mdx b/docs/reference/streams.mdx index 62008b151..766228b36 100644 --- a/docs/reference/streams.mdx +++ b/docs/reference/streams.mdx @@ -129,17 +129,51 @@ for status checks and raw-fetch error handling. `containerAttach()` attaches to the container's existing process; it does not create a new command like `containerExec()` followed by `execStart()`. -The current attach wrapper recognizes HTTP 200 with the exact -`application/vnd.docker.raw-stream` content type and creates a multiplexed -`DockerRawStream`. Unlike the log and exec wrappers, it does not select a -TTY-aware decoder or handle all upgraded-response variants. Do not assume -that terminal output or HTTP 101 will work through this wrapper. - -`containerAttachWebsocket()` uses a separate `AttachWebsocketStream` with -`read()`, `write()` and `close()`, not `onStdout()`/`wait()`. Its response -handling is also narrow, and the existing WebSocket integration test is -skipped. Treat it as a feature requiring validation with your daemon and -transport, not a tested interactive-terminal recipe. +`containerAttach()` returns a `DockerRawStream` for plain and upgraded +responses. Docker labels TTY output and framed non-TTY output on plain +responses with the same content type, so the client inspects the container's +TTY setting to choose the decoder. TTY output arrives through `onStdout()`. +Since `3.3.0`, attaching to a TTY container no longer loses its output. + +`containerAttachWebsocket()` returns an `AttachWebsocketStream` with `read()`, +`write()` and `close()`, not `onStdout()`/`wait()`. It is useful when you need +to write to the container's stdin over the attach connection: + +```php +containerAttachWebsocket('my-container', [ + 'stream' => true, + 'stdin' => true, + 'stdout' => true, + 'stderr' => true, +]); + +$attach->write("echo hello\n"); +// Print output until a second passes without any. +while (is_string($output = $attach->read(1))) { + echo $output; +} +$attach->close(); +``` + +`read()` waits up to the given seconds and microseconds for one frame. It +returns the frame's bytes, `false` when nothing arrived in time, or `null` once +Docker has closed the connection. A frame is a chunk of output, not a line. +Docker mixes stdout and stderr in the same frames, with no marker for which +stream a chunk came from. The stream answers pings and closes itself when +Docker sends a close frame. `write()` sends one binary frame. + +WebSocket attach needs `3.3.0` or later; earlier clients returned `null` +instead of a stream. Docker Desktop's socket proxy upgrades the connection but +does not forward attach output; a Linux daemon or a remote engine works. For +driving commands, [interactive exec](/guides/interactive-exec) gives separate +stdout and stderr, exit codes and deadlines. `DockerRawStream::onStdin()` is an output-channel callback; it is not a method for writing commands into a container. Prefer the [exec recipe](/guides/exec) diff --git a/src/Docker.php b/src/Docker.php index 4ad8eb4dd..3fe9356b9 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -46,7 +46,12 @@ class Docker extends Client */ public function containerAttach(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new ContainerAttach($id, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new ContainerAttach( + $id, + $queryParameters, + $accept, + fn (): bool => (bool) $this->containerInspect($id)->getConfig()?->getTty() + ), $fetch); } /** diff --git a/src/Endpoint/ContainerAttach.php b/src/Endpoint/ContainerAttach.php index 1c776639e..27f909fae 100644 --- a/src/Endpoint/ContainerAttach.php +++ b/src/Endpoint/ContainerAttach.php @@ -11,10 +11,31 @@ class ContainerAttach extends BaseEndpoint { + /** @var callable|null Resolves the container's TTY setting for ambiguous raw-stream responses. */ + private $ttyResolver; + + public function __construct(string $id, array $queryParameters = [], array $accept = [], ?callable $ttyResolver = null) + { + parent::__construct($id, $queryParameters, $accept); + $this->ttyResolver = $ttyResolver; + } + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { - return new DockerRawStream($response->getBody()); + // 101 is an upgraded connection; its body is the same output stream. + if (200 === $response->getStatusCode() || 101 === $response->getStatusCode()) { + $mediaType = strtolower(trim(explode(';', $contentType ?? '')[0])); + if (DockerRawStream::MULTIPLEXED_HEADER === $mediaType) { + return new DockerRawStream($response->getBody()); + } + if (DockerRawStream::HEADER === $mediaType) { + // Docker uses this header for TTY output and for framed non-TTY + // output on plain responses. Keep the historical framed behavior + // when used without a resolver. + $multiplexed = null === $this->ttyResolver || !($this->ttyResolver)(); + + return new DockerRawStream($response->getBody(), $multiplexed); + } } return parent::transformResponseBody($response, $serializer, $contentType); diff --git a/src/Endpoint/ContainerAttachWebsocket.php b/src/Endpoint/ContainerAttachWebsocket.php index ee6fe0237..721220c88 100644 --- a/src/Endpoint/ContainerAttachWebsocket.php +++ b/src/Endpoint/ContainerAttachWebsocket.php @@ -6,7 +6,6 @@ use Docker\API\Endpoint\ContainerAttachWebsocket as BaseEndpoint; use Docker\Stream\AttachWebsocketStream; -use Docker\Stream\DockerRawStream; use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; @@ -22,15 +21,15 @@ public function getExtraHeaders(): array 'Upgrade' => 'websocket', 'Connection' => 'Upgrade', 'Sec-WebSocket-Version' => '13', - 'Sec-WebSocket-Key' => base64_encode(uniqid()), + // RFC 6455 requires 16 random bytes. + 'Sec-WebSocket-Key' => base64_encode(random_bytes(16)), ] ); } - protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string - $contentType = null) + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { - if (200 === $response->getStatusCode() && DockerRawStream::HEADER === $contentType) { + if (101 === $response->getStatusCode() && 'websocket' === strtolower(trim($response->getHeaderLine('Upgrade')))) { return new AttachWebsocketStream($response->getBody()); } diff --git a/src/Stream/AttachWebsocketStream.php b/src/Stream/AttachWebsocketStream.php index da5ea9732..34bb75564 100644 --- a/src/Stream/AttachWebsocketStream.php +++ b/src/Stream/AttachWebsocketStream.php @@ -15,6 +15,11 @@ */ class AttachWebsocketStream { + private const OPCODE_BINARY = 0x2; + private const OPCODE_CLOSE = 0x8; + private const OPCODE_PING = 0x9; + private const OPCODE_PONG = 0xA; + /** @var resource The underlying socket */ private $socket; @@ -24,7 +29,7 @@ public function __construct(StreamInterface $stream) } /** - * Send input to the container. + * Send input to the container as one binary frame. * * @param string $data Data to send */ @@ -34,52 +39,7 @@ public function write($data): void throw new \RuntimeException('The WebSocket stream is closed.'); } - $rand = random_int(0, 28); - $frame = [ - 'fin' => 1, - 'rsv1' => 0, - 'rsv2' => 0, - 'rsv3' => 0, - 'opcode' => 1, // We always send text - 'mask' => 1, - 'len' => \strlen($data), - 'mask_key' => substr(md5(uniqid()), $rand, 4), - 'data' => $data, - ]; - - if (1 === $frame['mask']) { - for ($i = 0; $i < $frame['len']; ++$i) { - $frame['data'][$i] - = \chr(\ord($frame['data'][$i]) ^ \ord($frame['mask_key'][$i % 4])); - } - } - - // 126 carries a 16-bit length, so anything above 0xFFFF needs the 64-bit form. - if ($frame['len'] > 0xFFFF) { - $len = 127; - } elseif ($frame['len'] > 125) { - $len = 126; - } else { - $len = $frame['len']; - } - - $firstByte = ($frame['fin'] << 7) | (($frame['rsv1'] << 7) >> 1) | (($frame['rsv2'] << 7) >> 2) | (($frame['rsv3'] << 7) >> 3) | (($frame['opcode'] << 4) >> 4); - $secondByte = ($frame['mask'] << 7) | (($len << 1) >> 1); - - $this->socketWrite(\chr($firstByte)); - $this->socketWrite(\chr($secondByte)); - - if (126 === $len) { - $this->socketWrite(pack('n', $frame['len'])); - } elseif (127 === $len) { - $this->socketWrite(pack('J', $frame['len'])); - } - - if (1 === $frame['mask']) { - $this->socketWrite($frame['mask_key']); - } - - $this->socketWrite($frame['data']); + $this->sendFrame(self::OPCODE_BINARY, (string) $data); } /** @@ -93,107 +53,179 @@ public function close(): void return; } - // Masked close frame without a status code (RFC 6455 section 5.5.1). - // The daemon may already have closed its side, so a failed write is ignored. - @$this->socketWrite("\x88\x80".random_bytes(4)); + try { + // A close frame without a status code (RFC 6455 section 5.5.1). The + // daemon may already have closed its side, so a failed write is ignored. + $this->sendFrame(self::OPCODE_CLOSE, ''); + } catch (\RuntimeException) { + } fclose($this->socket); } /** - * Block until it receive a frame from websocket or return null if no more connexion. + * Wait for the next data frame. + * + * Ping frames are answered with a pong and a close frame closes the stream; + * neither is returned. Docker sends output as it is written, so a frame is a + * chunk of output rather than a line or a whole message. * * @param int $waitTime Time to wait in seconds before return false * @param int $waitMicroTime Time to wait in microseconds before return false * @param bool $getFrame Whether to return the frame of websocket or only the data * - * @return false|string|array|null Null for socket not available, false for no message, string for the last message and the frame array if $getFrame is set to true + * @return false|string|array|null Null once the stream is closed, false if no frame arrived in time, the frame data, or the frame array if $getFrame is set to true */ public function read($waitTime = 0, $waitMicroTime = 200000, $getFrame = false) { - if (!\is_resource($this->socket) || feof($this->socket)) { - return null; - } + while (true) { + if (!\is_resource($this->socket) || feof($this->socket)) { + return null; + } + + $read = [$this->socket]; + $write = null; + $expect = null; + $selected = @stream_select($read, $write, $expect, $waitTime, $waitMicroTime); + if (false === $selected) { + throw new \RuntimeException('Cannot wait for the WebSocket stream.'); + } + if (0 === $selected) { + return false; + } + + $frame = $this->readFrame(); + if (null === $frame) { + // The daemon closed the connection before sending a whole frame. + fclose($this->socket); + + return null; + } + + if (self::OPCODE_CLOSE === $frame['opcode']) { + $this->close(); + + return null; + } + if (self::OPCODE_PING === $frame['opcode']) { + $this->sendFrame(self::OPCODE_PONG, $frame['data']); + continue; + } + if (self::OPCODE_PONG === $frame['opcode']) { + continue; + } - $read = [$this->socket]; - $write = null; - $expect = null; + return $getFrame ? $frame : $frame['data']; + } + } - if (0 === stream_select($read, $write, $expect, $waitTime, $waitMicroTime)) { - return false; + /** + * Read one frame, or return null when the connection ends first. + */ + private function readFrame(): ?array + { + $header = $this->socketRead(2); + if (2 !== \strlen($header)) { + return null; } + $firstByte = \ord($header[0]); + $secondByte = \ord($header[1]); + + $frame = [ + 'fin' => ($firstByte & 128) >> 7, + 'rsv1' => ($firstByte & 64) >> 6, + 'rsv2' => ($firstByte & 32) >> 5, + 'rsv3' => ($firstByte & 16) >> 4, + 'opcode' => $firstByte & 15, + 'mask' => ($secondByte & 128) >> 7, + 'len' => $secondByte & 127, + ]; - $firstByte = $this->socketRead(1); - $frame = []; - $firstByte = \ord($firstByte); - $secondByte = \ord($this->socketRead(1)); - - // First byte decoding - $frame['fin'] = ($firstByte & 128) >> 7; - $frame['rsv1'] = ($firstByte & 64) >> 6; - $frame['rsv2'] = ($firstByte & 32) >> 5; - $frame['rsv3'] = ($firstByte & 16) >> 4; - $frame['opcode'] = ($firstByte & 15); - - // Second byte decoding - $frame['mask'] = ($secondByte & 128) >> 7; - $frame['len'] = ($secondByte & 127); - - // Get length of the frame - if (126 === $frame['len']) { - $frame['len'] = unpack('n', $this->socketRead(2))[1]; - } elseif (127 === $frame['len']) { - [$higher, $lower] = array_values(unpack('N2', $this->socketRead(8))); - $frame['len'] = ($higher << 32) | $lower; + if (126 === $frame['len'] || 127 === $frame['len']) { + $size = 126 === $frame['len'] ? 2 : 8; + $length = $this->socketRead($size); + if ($size !== \strlen($length)) { + return null; + } + $frame['len'] = unpack(2 === $size ? 'n' : 'J', $length)[1]; } - // Get the mask key if needed if (1 === $frame['mask']) { $frame['mask_key'] = $this->socketRead(4); + if (4 !== \strlen($frame['mask_key'])) { + return null; + } } $frame['data'] = $this->socketRead($frame['len']); + if ($frame['len'] !== \strlen($frame['data'])) { + return null; + } - // Decode data if needed if (1 === $frame['mask']) { - for ($i = 0; $i < $frame['len']; ++$i) { - $frame['data'][$i] = \chr(\ord($frame['data'][$i]) ^ \ord($frame['mask_key'][$i % 4])); - } + $frame['data'] = $this->mask($frame['data'], $frame['mask_key']); } - if ($getFrame) { - return $frame; + return $frame; + } + + /** + * Send one masked frame, as clients must (RFC 6455 section 5.3). + */ + private function sendFrame(int $opcode, string $data): void + { + $length = \strlen($data); + // 126 carries a 16-bit length, so anything above 0xFFFF needs the 64-bit form. + if ($length > 0xFFFF) { + $header = \chr(0x80 | 127).pack('J', $length); + } elseif ($length > 125) { + $header = \chr(0x80 | 126).pack('n', $length); + } else { + $header = \chr(0x80 | $length); } + $maskKey = random_bytes(4); - return (string) $frame['data']; + $this->socketWrite(\chr(0x80 | $opcode).$header.$maskKey.$this->mask($data, $maskKey)); + } + + private function mask(string $data, string $maskKey): string + { + if ('' === $data) { + return ''; + } + + return $data ^ str_repeat($maskKey, intdiv(\strlen($data), 4) + 1); } /** - * Force to have something of the expected size (block). - * - * @return string + * Read exactly $length bytes, or fewer if the connection ends first. */ - private function socketRead($length) + private function socketRead(int $length): string { $read = ''; // Empty frames carry no payload; fread() rejects a zero length. - if ($length <= 0) { - return $read; + while (\strlen($read) < $length && !feof($this->socket)) { + $chunk = @fread($this->socket, $length - \strlen($read)); + // A stalled read returns false or '' depending on the PHP version. + if (stream_get_meta_data($this->socket)['timed_out']) { + throw new \RuntimeException('Timed out reading a WebSocket frame.'); + } + if (false === $chunk) { + throw new \RuntimeException('Cannot read from the WebSocket stream.'); + } + $read .= $chunk; } - do { - $read .= fread($this->socket, $length - \strlen($read)); - } while (\strlen($read) < $length && !feof($this->socket)); - return $read; } - /** - * Write to the socket. - * - * @return int - */ - private function socketWrite($data) + private function socketWrite(string $data): void { - return fwrite($this->socket, $data); + while ('' !== $data) { + $written = @fwrite($this->socket, $data); + if (false === $written || 0 === $written) { + throw new \RuntimeException('Cannot write to the WebSocket stream.'); + } + $data = (string) substr($data, $written); + } } } diff --git a/tests/Endpoint/ContainerAttachTest.php b/tests/Endpoint/ContainerAttachTest.php new file mode 100644 index 000000000..4897ef503 --- /dev/null +++ b/tests/Endpoint/ContainerAttachTest.php @@ -0,0 +1,96 @@ + [200, DockerRawStream::HEADER, false, $framed, "hello\n", "oops\n", 1]; + yield 'TTY plain response' => [200, DockerRawStream::HEADER, true, "hello\n", "hello\n", '', 1]; + yield 'non-TTY upgraded response' => [101, DockerRawStream::MULTIPLEXED_HEADER, false, $framed, "hello\n", "oops\n", 0]; + yield 'TTY upgraded response' => [101, DockerRawStream::HEADER, true, "hello\n", "hello\n", '', 1]; + yield 'multiplexed plain response' => [200, DockerRawStream::MULTIPLEXED_HEADER.'; charset=binary', false, $framed, "hello\n", "oops\n", 0]; + } + + #[DataProvider('responseProvider')] + public function testReadsAttachResponse(int $status, string $contentType, bool $tty, string $body, string $stdout, string $stderr, int $inspections): void + { + $calls = 0; + $endpoint = new ContainerAttach('web', ['stream' => true], [], static function () use (&$calls, $tty): bool { + ++$calls; + + return $tty; + }); + $stream = $endpoint->parseResponse(new Response($status, ['Content-Type' => $contentType], $body), $this->createMock(SerializerInterface::class)); + + $this->assertInstanceOf(DockerRawStream::class, $stream); + $output = ['stdout' => '', 'stderr' => '']; + $stream->onStdout(static function (string $chunk) use (&$output): void { + $output['stdout'] .= $chunk; + }); + $stream->onStderr(static function (string $chunk) use (&$output): void { + $output['stderr'] .= $chunk; + }); + $stream->wait(); + + $this->assertSame(['stdout' => $stdout, 'stderr' => $stderr], $output); + $this->assertSame($inspections, $calls); + } + + public function testWithoutResolverKeepsFramedBehavior(): void + { + $stream = (new ContainerAttach('web'))->parseResponse( + new Response(200, ['Content-Type' => DockerRawStream::HEADER], pack('CxxxN', 1, 5).'hello'), + $this->createMock(SerializerInterface::class) + ); + $output = ''; + $stream->onStdout(static function (string $chunk) use (&$output): void { + $output .= $chunk; + }); + $stream->wait(); + + $this->assertSame('hello', $output); + } + + public function testWebsocketUpgradeReturnsWebsocketStream(): void + { + $socket = fopen('php://temp', 'w+'); + $stream = (new ContainerAttachWebsocket('web'))->parseResponse( + new Response(101, ['Upgrade' => 'WebSocket', 'Connection' => 'Upgrade'], $socket), + $this->createMock(SerializerInterface::class) + ); + + $this->assertInstanceOf(AttachWebsocketStream::class, $stream); + } + + public function testWebsocketWithoutUpgradeIsNotWrapped(): void + { + $stream = (new ContainerAttachWebsocket('web'))->parseResponse( + new Response(200, ['Content-Type' => DockerRawStream::HEADER], 'hello'), + $this->createMock(SerializerInterface::class) + ); + + $this->assertNotInstanceOf(AttachWebsocketStream::class, $stream); + } + + public function testWebsocketHandshakeKeyIsSixteenRandomBytes(): void + { + $key = (new ContainerAttachWebsocket('web'))->getExtraHeaders()['Sec-WebSocket-Key']; + + $this->assertSame(16, \strlen(base64_decode($key, true))); + $this->assertNotSame($key, (new ContainerAttachWebsocket('web'))->getExtraHeaders()['Sec-WebSocket-Key']); + } +} diff --git a/tests/Resource/ContainerResourceTest.php b/tests/Resource/ContainerResourceTest.php index 473623b13..48748439f 100644 --- a/tests/Resource/ContainerResourceTest.php +++ b/tests/Resource/ContainerResourceTest.php @@ -6,6 +6,7 @@ use Docker\API\Model\ContainersCreatePostBody; use Docker\Docker; +use Docker\Stream\AttachWebsocketStream; use Docker\Stream\DockerRawStream; use Docker\Tests\TestCase; @@ -24,9 +25,10 @@ private function getManager() */ public static function setUpBeforeClass(): void { + // The pull only runs while its progress stream is read. self::getDocker()->imageCreate('', [ 'fromImage' => 'busybox:latest', - ]); + ])->wait(); } public function testAttach(): void @@ -59,53 +61,79 @@ public function testAttach(): void $this->assertSame('output', $stdoutFull); } + public function testAttachTty(): void + { + $containerConfig = new ContainersCreatePostBody(); + $containerConfig->setImage('busybox:latest'); + $containerConfig->setCmd(['sh', '-c', 'printf stdout; printf stderr >&2']); + $containerConfig->setTty(true); + $containerConfig->setAttachStdout(true); + $containerConfig->setAttachStderr(true); + $containerConfig->setLabels(['docker-php-test' => 'true']); + $id = $this->getManager()->containerCreate($containerConfig)->getId(); + + try { + $stream = $this->getManager()->containerAttach($id, ['stream' => true, 'stdout' => true, 'stderr' => true]); + $output = ''; + $stream->onStdout(static function (string $chunk) use (&$output): void { + $output .= $chunk; + }); + $this->getManager()->containerStart($id); + $this->getManager()->containerWait($id); + $stream->wait(); + + $this->assertSame('stdoutstderr', $output); + } finally { + $this->getManager()->containerDelete($id, ['force' => true]); + } + } + public function testAttachWebsocket(): void { - $this->markTestSkipped('Since docker API 1.28 Websockets are binary so this test needs work. ' . - 'See https://github.com/xtermjs/xterm.js/issues/883'); + $operatingSystem = (string) $this->getManager()->systemInfo()->getOperatingSystem(); + if (str_contains($operatingSystem, 'Docker Desktop')) { + $this->markTestSkipped('Docker Desktop\'s socket proxy does not forward WebSocket attach output.'); + } + $containerConfig = new ContainersCreatePostBody(); $containerConfig->setImage('busybox:latest'); $containerConfig->setCmd(['sh']); + $containerConfig->setAttachStdin(true); $containerConfig->setAttachStdout(true); $containerConfig->setAttachStderr(true); - $containerConfig->setAttachStdin(false); $containerConfig->setOpenStdin(true); $containerConfig->setTty(true); - $containerConfig->setLabels(new \ArrayObject(['docker-php-test' => 'true'])); + $containerConfig->setLabels(['docker-php-test' => 'true']); + $id = $this->getManager()->containerCreate($containerConfig)->getId(); - $containerCreateResult = $this->getManager()->containerCreate($containerConfig); - $webSocketStream = $this->getManager()->containerAttachWebsocket( - $containerCreateResult->getId(), - [ + try { + $webSocketStream = $this->getManager()->containerAttachWebsocket($id, [ 'stream' => true, 'stdout' => true, 'stderr' => true, 'stdin' => true, - ] - ); - - $this->getManager()->containerStart($containerCreateResult->getId()); - - // Read the bash first line - $webSocketStream->read(); - - // No output after that so it should be false - $this->assertFalse($webSocketStream->read()); - - // Write something to the container - $webSocketStream->write("echo test\n"); - - // Test for echo present (stdin) - $output = ''; - - while (false !== ($data = $webSocketStream->read())) { - $output .= $data; + ]); + $this->assertInstanceOf(AttachWebsocketStream::class, $webSocketStream); + $this->getManager()->containerStart($id); + + $webSocketStream->write("echo docker-php-\$((40 + 2))\n"); + $output = ''; + $deadline = microtime(true) + 10; + while (!str_contains($output, 'docker-php-42') && microtime(true) < $deadline) { + $data = $webSocketStream->read(0, 200000); + $this->assertNotNull($data, 'The WebSocket closed before the command output arrived.'); + $output .= (string) $data; + } + $this->assertStringContainsString('docker-php-42', $output); + + $webSocketStream->write("exit\n"); + $deadline = microtime(true) + 10; + while (null !== $webSocketStream->read(0, 200000) && microtime(true) < $deadline) { + } + $this->assertNull($webSocketStream->read(), 'The WebSocket should close when the shell exits.'); + } finally { + $this->getManager()->containerDelete($id, ['force' => true]); } - - $this->assertContains('echo', $output); - - // Exit the container - $webSocketStream->write("exit\n"); } public static function logsProvider(): iterable diff --git a/tests/Stream/AttachWebsocketStreamTest.php b/tests/Stream/AttachWebsocketStreamTest.php index bf76ceece..c94c4fdc0 100644 --- a/tests/Stream/AttachWebsocketStreamTest.php +++ b/tests/Stream/AttachWebsocketStreamTest.php @@ -44,7 +44,7 @@ public function testWriteEncodesPayloadLength(int $length, string $lengthByte, s rewind($socket); $frame = stream_get_contents($socket); $header = 2 + \strlen($extendedLength); - $this->assertSame("\x81".$lengthByte.$extendedLength, substr($frame, 0, $header)); + $this->assertSame("\x82".$lengthByte.$extendedLength, substr($frame, 0, $header)); $mask = substr($frame, $header, 4); $payload = substr($frame, $header + 4); $this->assertSame($length, \strlen($payload)); @@ -89,4 +89,67 @@ public function testWriteAfterCloseThrows(): void $this->expectException(\RuntimeException::class); $stream->write('exit'); } + + public function testAnswersPingAndReturnsNextDataFrame(): void + { + [$client, $server] = $this->socketPair(); + fwrite($server, "\x89\x02hi\x82\x02ok"); + $stream = new AttachWebsocketStream(Stream::create($client)); + + $this->assertSame('ok', $stream->read()); + $pong = fread($server, 16); + $this->assertSame("\x8A\x82", substr($pong, 0, 2)); + $this->assertSame('hi', substr($pong, 6) ^ substr($pong, 2, 4)); + } + + public function testCloseFrameRepliesAndEndsStream(): void + { + [$client, $server] = $this->socketPair(); + fwrite($server, "\x88\x02\x03\xe8"); + $stream = new AttachWebsocketStream(Stream::create($client)); + + $this->assertNull($stream->read()); + $this->assertSame("\x88\x80", substr(fread($server, 16), 0, 2)); + $this->assertNull($stream->read()); + } + + public function testReadsSixtyFourBitLength(): void + { + [$client, $server] = $this->socketPair(); + fwrite($server, "\x82\x7F".pack('J', 3).'abc'); + $stream = new AttachWebsocketStream(Stream::create($client)); + + $this->assertSame('abc', $stream->read()); + } + + public function testConnectionEndingMidFrameEndsStream(): void + { + [$client, $server] = $this->socketPair(); + fwrite($server, "\x82\x05ab"); + fclose($server); + $stream = new AttachWebsocketStream(Stream::create($client)); + + $this->assertNull($stream->read()); + $this->assertNull($stream->read()); + } + + public function testStalledFrameTimesOut(): void + { + [$client, $server] = $this->socketPair(); + stream_set_timeout($client, 0, 100000); + fwrite($server, "\x82\x05ab"); + $stream = new AttachWebsocketStream(Stream::create($client)); + + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('Timed out'); + $stream->read(); + } + + /** + * @return array{resource, resource} + */ + private function socketPair(): array + { + return stream_socket_pair(\STREAM_PF_UNIX, \STREAM_SOCK_STREAM, \STREAM_IPPROTO_IP); + } } From 26c4c948603ee3c454d13854323fc2b603563067 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 12:21:24 +0100 Subject: [PATCH 122/142] feat(errors): opt in to exceptions for unhandled error statuses Generated endpoints only throw for the status codes and JSON bodies in Docker's specification. Other error responses return null, so a rejected call looks successful: containerUpdate() with an invalid memory limit gets HTTP 400, networkCreate() with a duplicate name gets 409, and both return null. Add Docker::throwOnUnexpectedStatus(). When enabled, an error status of 400 or above that the endpoint does not handle throws UnexpectedClientErrorException (4xx) or UnexpectedServerErrorException (5xx), with the status, request, Docker's error message and the response. They implement the generated ClientException and ServerException interfaces. Without the option, behaviour is unchanged: the call returns null and triggers a deprecation through trigger_deprecation(), naming the status and request. Throwing becomes the default in 4.0. Success statuses and FETCH_RESPONSE calls are not affected, and successful streams are not buffered. Require symfony/deprecation-contracts directly; the generated API package already depends on it. Remove the outdated note that continuous stats have no wrapper. Closes #326 --- composer.json | 1 + docs/basic.mdx | 2 +- docs/reference/requests-and-responses.mdx | 38 ++++- src/Docker.php | 54 +++++++ .../UnexpectedClientErrorException.php | 14 ++ .../UnexpectedServerErrorException.php | 14 ++ .../UnexpectedStatusCodeException.php | 86 ++++++++++++ tests/UnexpectedStatusTest.php | 132 ++++++++++++++++++ 8 files changed, 336 insertions(+), 5 deletions(-) create mode 100644 src/Exception/UnexpectedClientErrorException.php create mode 100644 src/Exception/UnexpectedServerErrorException.php create mode 100644 src/Exception/UnexpectedStatusCodeException.php create mode 100644 tests/UnexpectedStatusTest.php diff --git a/composer.json b/composer.json index 772ece3bc..54e433ffa 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,7 @@ "php-http/discovery": "^1.19", "php-http/socket-client": "^2.3", "psr/http-message": "^2.0", + "symfony/deprecation-contracts": "^2.5 || ^3.0", "symfony/filesystem": "^6.3 || ^7.0 || ^8.0", "symfony/process": "^6.3 || ^7.0 || ^8.0", "symfony/serializer": "^6.3 || ^7.0 || ^8.0" diff --git a/docs/basic.mdx b/docs/basic.mdx index 2050783de..a9e65e096 100644 --- a/docs/basic.mdx +++ b/docs/basic.mdx @@ -67,6 +67,6 @@ them. See [container logs](/guides/logs), [command output](/guides/exec) and [image builds](/cookbook/build-image) for examples. Not every streaming endpoint has a callback wrapper. Archive downloads need a -raw response, and continuous stats need an application-level reader. The +raw response. The [streaming reference](/reference/streams) lists the differences and links to the relevant recipes. diff --git a/docs/reference/requests-and-responses.mdx b/docs/reference/requests-and-responses.mdx index 108385f8d..f13495660 100644 --- a/docs/reference/requests-and-responses.mdx +++ b/docs/reference/requests-and-responses.mdx @@ -76,7 +76,9 @@ Use getters on models; do not assume every result is an array. Successful operations such as starting a container can have no response body. A `null` result is therefore not a general failure indicator. Check the endpoint -contract, or use a raw response when you need the HTTP status. +contract, or use a raw response when you need the HTTP status. To make sure a +`null` never hides an error response, enable +[unexpected status exceptions](#unexpected-error-statuses). For absent or nullable response fields, use null checks or null-safe getters. Inspect responses and create request models serve different purposes; do not @@ -155,9 +157,37 @@ try { The factory itself makes an `/info` request and can fail before the `try` block above. Include client creation in your application's outer connection/error -handling. Generated exceptions cover documented status/content-type pairs; -do not assume they validate every unexpected proxy or daemon response. Use a -raw response when your application requires strict HTTP status handling. +handling. + +### Unexpected error statuses + +Generated exceptions cover the status codes and JSON responses listed in +Docker's API specification. Docker also returns errors the specification +leaves out: `containerUpdate()` answers an invalid memory limit with HTTP 400, +`networkCreate()` answers a duplicate name with 409, and a proxy in front of +the daemon can return its own errors. Those calls return `null`. + +Since `3.3.0` you can make them throw instead: + +```php +$docker = Docker::create()->throwOnUnexpectedStatus(); +``` + +An error status of 400 or above that the endpoint does not handle then throws +`Docker\Exception\UnexpectedClientErrorException` (4xx) or +`UnexpectedServerErrorException` (5xx). Both extend +`Docker\Exception\UnexpectedStatusCodeException`, which exposes the status +code, the request method and path, Docker's error message and the response. +They also implement the generated `ClientException` and `ServerException` +interfaces, so existing `catch` blocks for those still match. + +Success responses are unchanged: a `304` from starting a running container +still returns `null`, and raw responses (`FETCH_RESPONSE`) are never checked. + +Without the option, these calls keep returning `null` and trigger an +`E_USER_DEPRECATED` notice through `trigger_deprecation()`. Frameworks and +PHPUnit report it in their deprecation logs; plain PHP needs an error handler +to see it. Throwing becomes the default in 4.0. Do not automatically retry every failed request. A connection failure after submission can leave the operation's outcome unknown. Reconcile the container diff --git a/src/Docker.php b/src/Docker.php index 3fe9356b9..e5a04688e 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -18,7 +18,9 @@ use Docker\Endpoint\ImagePush; use Docker\Endpoint\InteractiveExecStart; use Docker\Endpoint\SystemEvents; +use Docker\API\Runtime\Client\Endpoint; use Docker\Exception\BadRequestException; +use Docker\Exception\UnexpectedStatusCodeException; use Docker\Http\InteractiveHttpClient; use Docker\Stream\AttachWebsocketStream; use Docker\Stream\BuildStream; @@ -30,6 +32,7 @@ use Docker\Stream\StatsStream; use Docker\Stream\SocketReadStream; use Http\Client\Socket\Stream as SocketStream; +use Nyholm\Psr7\Stream; use Psr\Http\Message\ResponseInterface; /** @@ -39,6 +42,57 @@ class Docker extends Client { private bool $interactiveExecEnabled = false; + private bool $throwOnUnexpectedStatus = false; + + /** + * Throw an UnexpectedStatusCodeException when Docker returns an error + * status that the generated endpoint does not handle. + * + * Without this, such calls return null as in earlier releases and trigger + * a deprecation notice. Throwing becomes the default in 4.0. + */ + public function throwOnUnexpectedStatus(bool $enabled = true): static + { + $this->throwOnUnexpectedStatus = $enabled; + + return $this; + } + + public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_OBJECT) + { + if (self::FETCH_OBJECT !== $fetch) { + return parent::executeEndpoint($endpoint, $fetch); + } + + $response = $this->executeRawEndpoint($endpoint); + if ($response->getStatusCode() < 400) { + return $endpoint->parseResponse($response, $this->serializer, $fetch); + } + + // Error bodies are small. Buffer them so the message is still readable + // after the generated endpoint has parsed the body. + $response = $response->withBody(Stream::create((string) $response->getBody())); + $result = $endpoint->parseResponse($response, $this->serializer, $fetch); + if (null !== $result) { + return $result; + } + + $exception = UnexpectedStatusCodeException::fromResponse($endpoint->getMethod(), $endpoint->getUri(), $response); + if ($this->throwOnUnexpectedStatus) { + throw $exception; + } + + trigger_deprecation( + 'docker-php/docker-php', + '3.3', + '%s The call returned null; from 4.0 it will throw %s. Call Docker::throwOnUnexpectedStatus() to opt in now.', + $exception->getMessage(), + $exception::class + ); + + return null; + } + /** * {@inheritdoc} * diff --git a/src/Exception/UnexpectedClientErrorException.php b/src/Exception/UnexpectedClientErrorException.php new file mode 100644 index 000000000..3de150f30 --- /dev/null +++ b/src/Exception/UnexpectedClientErrorException.php @@ -0,0 +1,14 @@ +getStatusCode(); + parent::__construct( + \sprintf('Docker returned HTTP %d for %s %s: %s', $status, $method, $path, $errorMessage), + $status + ); + } + + /** + * Create the client or server error exception for an unhandled response. + * + * The response body must be seekable; it is rewound after reading Docker's + * error message. + */ + public static function fromResponse(string $method, string $path, ResponseInterface $response): self + { + $body = $response->getBody(); + $body->rewind(); + $raw = $body->getContents(); + $body->rewind(); + + $decoded = json_decode($raw, true); + $message = \is_array($decoded) && \is_string($decoded['message'] ?? null) ? $decoded['message'] : trim($raw); + if ('' === $message) { + $message = $response->getReasonPhrase() ?: 'no error message'; + } + if (\strlen($message) > 500) { + $message = substr($message, 0, 500).'...'; + } + + return $response->getStatusCode() >= 500 + ? new UnexpectedServerErrorException($method, $path, $message, $response) + : new UnexpectedClientErrorException($method, $path, $message, $response); + } + + public function getStatusCode(): int + { + return $this->response->getStatusCode(); + } + + /** Docker's error message, or the response body when it is not JSON. */ + public function getErrorMessage(): string + { + return $this->errorMessage; + } + + public function getMethod(): string + { + return $this->method; + } + + /** Request path, without the API version prefix or query string. */ + public function getPath(): string + { + return $this->path; + } + + public function getResponse(): ResponseInterface + { + return $this->response; + } +} diff --git a/tests/UnexpectedStatusTest.php b/tests/UnexpectedStatusTest.php new file mode 100644 index 000000000..1986b6f95 --- /dev/null +++ b/tests/UnexpectedStatusTest.php @@ -0,0 +1,132 @@ + 'application/json']; + + private array $deprecations = []; + + protected function setUp(): void + { + set_error_handler(function (int $level, string $message): bool { + $this->deprecations[] = $message; + + return true; + }, \E_USER_DEPRECATED); + } + + protected function tearDown(): void + { + restore_error_handler(); + } + + public function testUnhandledErrorReturnsNullWithDeprecationByDefault(): void + { + $docker = $this->docker(new Response(400, self::JSON, '{"message":"Minimum memory limit allowed is 6MB"}')); + + $this->assertNull($docker->containerUpdate('web', new ContainersIdUpdatePostBody())); + $this->assertCount(1, $this->deprecations); + $this->assertStringContainsString('Docker returned HTTP 400 for POST /containers/web/update: Minimum memory limit allowed is 6MB', $this->deprecations[0]); + $this->assertStringContainsString('throwOnUnexpectedStatus()', $this->deprecations[0]); + } + + public function testOptInThrowsClientError(): void + { + $docker = $this->docker(new Response(409, self::JSON, '{"message":"network with name web already exists"}'))->throwOnUnexpectedStatus(); + + try { + $docker->containerUpdate('web', new ContainersIdUpdatePostBody()); + $this->fail('An unhandled 409 should throw.'); + } catch (UnexpectedClientErrorException $error) { + $this->assertInstanceOf(ClientException::class, $error); + $this->assertSame(409, $error->getStatusCode()); + $this->assertSame(409, $error->getCode()); + $this->assertSame('POST', $error->getMethod()); + $this->assertSame('/containers/web/update', $error->getPath()); + $this->assertSame('network with name web already exists', $error->getErrorMessage()); + $this->assertSame('{"message":"network with name web already exists"}', (string) $error->getResponse()->getBody()); + } + $this->assertSame([], $this->deprecations); + } + + public function testOptInThrowsServerErrorWithPlainTextBody(): void + { + $docker = $this->docker(new Response(500, ['Content-Type' => 'text/plain'], "invalid reference format\n"))->throwOnUnexpectedStatus(); + + $this->expectException(UnexpectedServerErrorException::class); + $this->expectExceptionMessage('Docker returned HTTP 500 for POST /images/create: invalid reference format'); + $docker->imageCreate(null, ['fromImage' => 'Bad Name']); + } + + public function testDocumentedErrorsKeepGeneratedExceptions(): void + { + $docker = $this->docker(new Response(404, self::JSON, '{"message":"No such container: web"}')); + + try { + $docker->containerInspect('web'); + $this->fail('A documented 404 should throw the generated exception.'); + } catch (ContainerInspectNotFoundException) { + } + $this->assertSame([], $this->deprecations); + } + + public function testSuccessWithoutBodyStillReturnsNull(): void + { + $docker = $this->docker(new Response(304))->throwOnUnexpectedStatus(); + + $this->assertNull($docker->containerStart('web')); + $this->assertSame([], $this->deprecations); + } + + public function testRawResponsesAreNotChecked(): void + { + $docker = $this->docker(new Response(400, self::JSON, '{"message":"bad"}'))->throwOnUnexpectedStatus(); + + $response = $docker->containerUpdate('web', new ContainersIdUpdatePostBody(), Docker::FETCH_RESPONSE); + + $this->assertSame(400, $response->getStatusCode()); + } + + public function testSuccessfulStreamsAreNotBuffered(): void + { + $response = new Response(200, ['Content-Type' => DockerRawStream::MULTIPLEXED_HEADER], pack('CxxxN', 1, 5).'hello'); + $docker = $this->docker($response)->throwOnUnexpectedStatus(); + + $stream = $docker->containerLogs('web', ['stdout' => true]); + + $this->assertInstanceOf(DockerRawStream::class, $stream); + $this->assertSame(0, $response->getBody()->tell(), 'Successful responses must stay unread'); + } + + private function docker(ResponseInterface ...$responses): Docker + { + $httpClient = new class([new Response(200, self::JSON, '{}'), ...$responses]) implements ClientInterface { + public function __construct(private array $responses) + { + } + + public function sendRequest(RequestInterface $request): ResponseInterface + { + return array_shift($this->responses) ?? throw new \LogicException('Unexpected request '.$request->getUri()); + } + }; + + return Docker::create($httpClient, [], [], false); + } +} From 9dd7c3a4c7fbc396b945fff65a463b2ea7af129a Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 12:27:31 +0100 Subject: [PATCH 123/142] feat(context): opt in to applying .dockerignore Context archived its whole directory, so files a .dockerignore excludes from `docker build` were still sent to the daemon. Add Context::applyDockerignore(). When enabled, the context's .dockerignore is applied the way the Docker CLI applies it: Go filepath.Match patterns with `**`, `!` exceptions, last match wins, and a pattern matching a directory also matches its contents. The Dockerfile and .dockerignore are always sent, as the CLI does, and tar archives the resulting list without recursing. Without the option, behaviour is unchanged and a context with a .dockerignore file triggers a deprecation notice. Applying it becomes the default in 4.0. A fixture with escaped and wildcard filenames, a symlink, empty directories and re-included files produced the same image contents as `DOCKER_BUILDKIT=0 docker build`, including when the Dockerfile and .dockerignore exclude themselves. Closes #327 --- docs/cookbook/build-image.mdx | 19 ++- src/Context/Context.php | 59 +++++++- src/Context/Dockerignore.php | 207 +++++++++++++++++++++++++++++ tests/Context/ContextTest.php | 88 ++++++++++++ tests/Context/DockerignoreTest.php | 67 ++++++++++ 5 files changed, 435 insertions(+), 5 deletions(-) create mode 100644 src/Context/Dockerignore.php create mode 100644 tests/Context/DockerignoreTest.php diff --git a/docs/cookbook/build-image.mdx b/docs/cookbook/build-image.mdx index 7da72f148..05dc91503 100644 --- a/docs/cookbook/build-image.mdx +++ b/docs/cookbook/build-image.mdx @@ -44,9 +44,22 @@ of completed build results. The callback receives generated `BuildInfo` models. Check the frames for daemon-reported build errors as well as handling endpoint exceptions. -`Context` requires `tar` on the machine running PHP. Keep only intended build -files in the context directory; the current helper archives that directory -directly and does not apply `.dockerignore` filtering for you. +`Context` requires `tar` on the machine running PHP. By default it archives the +whole directory. To leave out the paths a `.dockerignore` file in that +directory excludes, as `docker build` does, opt in: + +```php +$context = (new Context(__DIR__ . '/build'))->applyDockerignore(); +``` + +Patterns follow the Docker CLI: `*`, `?`, character classes, `**` for any +number of directories, `!` to re-include a path, and the last matching pattern +wins. The `Dockerfile` and `.dockerignore` are always sent, because the daemon +reads them; it then drops them if your patterns exclude them. If you build +with a differently named Dockerfile through the `dockerfile` option, add a +`!` exception for it. `applyDockerignore()` requires `3.3.0` or later and GNU +or BSD `tar`. Without it, a context with a `.dockerignore` file triggers a +deprecation notice; applying the file becomes the default in 4.0. The example leaves the tagged image on your development daemon. Remove that specific image when you no longer need it. diff --git a/src/Context/Context.php b/src/Context/Context.php index 320f131f4..cfc50f960 100644 --- a/src/Context/Context.php +++ b/src/Context/Context.php @@ -47,6 +47,11 @@ class Context implements ContextInterface */ private $format = self::FORMAT_STREAM; + private bool $applyDockerignore = false; + + /** Temporary NUL-separated list of the paths to archive. */ + private ?string $pathList = null; + /** * @param string $directory Directory of context * @param string $format Format to use when sending the call (stream or tar: string) @@ -89,6 +94,19 @@ public function getDockerfileContent() return file_get_contents($this->directory.\DIRECTORY_SEPARATOR.'Dockerfile'); } + /** + * Leave out paths matched by the context's .dockerignore file, as `docker build` does. + * + * Without this, the whole directory is archived and a .dockerignore file + * triggers a deprecation notice. Applying it becomes the default in 4.0. + */ + public function applyDockerignore(bool $enabled = true): static + { + $this->applyDockerignore = $enabled; + + return $this; + } + /** * @return bool */ @@ -114,7 +132,7 @@ public function read() */ public function toTar() { - $process = new Process(['/usr/bin/env', 'tar', '-c', '.'], $this->directory); + $process = new Process($this->tarCommand(), $this->directory); $process->run(); if (!$process->isSuccessful()) { @@ -132,7 +150,7 @@ public function toTar() public function toStream() { if (!\is_resource($this->process)) { - $this->process = proc_open('/usr/bin/env tar -c .', [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, $this->directory); + $this->process = proc_open($this->tarCommand(), [['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']], $pipes, $this->directory); $this->stream = $pipes[1]; } @@ -149,11 +167,48 @@ public function __destruct() proc_close($this->process); } + if (null !== $this->pathList) { + $this->fs->remove($this->pathList); + } + if ($this->cleanup) { $this->fs->remove($this->directory); } } + /** + * @return list + */ + private function tarCommand(): array + { + $dockerignore = $this->directory.\DIRECTORY_SEPARATOR.'.dockerignore'; + if (!is_file($dockerignore)) { + return ['/usr/bin/env', 'tar', '-c', '.']; + } + + if (!$this->applyDockerignore) { + trigger_deprecation( + 'docker-php/docker-php', + '3.3', + 'The build context %s has a .dockerignore file that is not applied; from 4.0 it will be. Call Context::applyDockerignore() to opt in now.', + $this->directory + ); + + return ['/usr/bin/env', 'tar', '-c', '.']; + } + + // Write the list to a file rather than tar's stdin, so tar can stream + // the archive without waiting for the whole list to be read. + if (null === $this->pathList) { + $paths = Dockerignore::fromFile($dockerignore)->paths($this->directory); + $this->pathList = $this->fs->tempnam(sys_get_temp_dir(), 'docker-context-'); + // "./" keeps names that start with "-" from being read as options. + $this->fs->dumpFile($this->pathList, implode('', array_map(static fn (string $path): string => './'.$path."\0", $paths))); + } + + return ['/usr/bin/env', 'tar', '-c', '--no-recursion', '--null', '-T', $this->pathList]; + } + /** * @param bool $value whether to remove the context directory */ diff --git a/src/Context/Dockerignore.php b/src/Context/Dockerignore.php new file mode 100644 index 000000000..470fcbc6b --- /dev/null +++ b/src/Context/Dockerignore.php @@ -0,0 +1,207 @@ + */ + private array $patterns = []; + + private bool $hasExclusions = false; + + /** + * @param list $keep Paths the daemon always needs, re-included as the Docker CLI does + */ + public function __construct(string $content, array $keep = ['Dockerfile', '.dockerignore']) + { + foreach (preg_split('/\r\n|\n|\r/', $content) as $line) { + // Comments are only recognised at the very start of a line. + if (str_starts_with($line, '#')) { + continue; + } + $this->addPattern(trim($line)); + } + foreach ($keep as $path) { + $this->addPattern('!'.$path); + } + } + + public static function fromFile(string $file): self + { + $content = file_get_contents($file); + if (false === $content) { + throw new \RuntimeException(\sprintf('Cannot read %s.', $file)); + } + + // Ignore a UTF-8 byte order mark, as Docker does. + return new self(preg_replace('/^\xEF\xBB\xBF/', '', $content)); + } + + /** + * Whether a path, relative to the context root with `/` separators, is excluded. + */ + public function excludes(string $path): bool + { + $parts = explode('/', $path); + $excluded = false; + foreach ($this->patterns as $pattern) { + $matches = 1 === preg_match($pattern['regex'], $path); + // A pattern that matches a parent directory also matches its contents. + for ($i = 1; !$matches && $i < \count($parts); ++$i) { + $matches = 1 === preg_match($pattern['regex'], implode('/', \array_slice($parts, 0, $i))); + } + if ($matches) { + $excluded = !$pattern['exclusion']; + } + } + + return $excluded; + } + + /** + * List the paths to archive, relative to $directory and sorted. + * + * Directories are listed before their contents. An excluded directory is + * left out, but its re-included contents are still listed. + * + * @return list + */ + public function paths(string $directory): array + { + $paths = []; + $this->walk(rtrim($directory, '/'), '', $paths); + + return $paths; + } + + private function walk(string $directory, string $relative, array &$paths): void + { + $entries = scandir('' === $relative ? $directory : $directory.'/'.$relative); + if (false === $entries) { + throw new \RuntimeException(\sprintf('Cannot read the build context directory %s.', $directory.'/'.$relative)); + } + sort($entries, \SORT_STRING); + + foreach ($entries as $name) { + if ('.' === $name || '..' === $name) { + continue; + } + $path = '' === $relative ? $name : $relative.'/'.$name; + $full = $directory.'/'.$path; + // Symbolic links are archived as links, not followed. + $isDirectory = is_dir($full) && !is_link($full); + + if ($this->excludes($path)) { + if ($isDirectory && $this->hasExclusions) { + $this->walk($directory, $path, $paths); + } + continue; + } + + $paths[] = $path; + if ($isDirectory) { + $this->walk($directory, $path, $paths); + } + } + } + + private function addPattern(string $pattern): void + { + $exclusion = str_starts_with($pattern, '!'); + if ($exclusion) { + $pattern = trim(substr($pattern, 1)); + } + if ('' === $pattern) { + return; + } + + $pattern = self::clean($pattern); + if ($exclusion) { + $this->hasExclusions = true; + } + $this->patterns[] = ['regex' => self::compile($pattern), 'exclusion' => $exclusion]; + } + + /** + * Go's filepath.Clean, then strip a leading `/`: patterns are relative to the context root. + */ + private static function clean(string $pattern): string + { + $parts = []; + foreach (explode('/', $pattern) as $part) { + if ('' === $part || '.' === $part) { + continue; + } + if ('..' === $part) { + array_pop($parts); + continue; + } + $parts[] = $part; + } + + return [] === $parts ? '.' : implode('/', $parts); + } + + /** + * Translate a pattern to a regular expression, following moby/patternmatcher. + */ + private static function compile(string $pattern): string + { + $regex = ''; + $inClass = false; + $length = \strlen($pattern); + for ($i = 0; $i < $length; ++$i) { + $char = $pattern[$i]; + if ($inClass) { + // Character classes pass through, including ranges and `^` negation. + if (']' === $char) { + $inClass = false; + } elseif ('#' === $char) { + $char = '\\#'; + } elseif ('\\' === $char && $i + 1 < $length) { + $char .= $pattern[++$i]; + } + $regex .= $char; + } elseif ('[' === $char) { + $inClass = true; + $regex .= $char; + } elseif ('*' === $char) { + if ('*' === ($pattern[$i + 1] ?? '')) { + ++$i; + // Treat "**/" as "**". + if ('/' === ($pattern[$i + 1] ?? '')) { + ++$i; + } + // A trailing "**" matches everything; otherwise any number of directories. + $regex .= $i + 1 >= $length ? '.*' : '(.*/)?'; + } else { + $regex .= '[^/]*'; + } + } elseif ('?' === $char) { + $regex .= '[^/]'; + } elseif ('\\' === $char) { + $regex .= $i + 1 < $length ? preg_quote($pattern[++$i], '#') : '\\\\'; + } else { + $regex .= preg_quote($char, '#'); + } + } + + $regex = '#^'.$regex.'$#'; + if ($inClass || false === @preg_match($regex, '')) { + throw new \InvalidArgumentException(\sprintf('Invalid .dockerignore pattern "%s".', $pattern)); + } + + return $regex; + } +} diff --git a/tests/Context/ContextTest.php b/tests/Context/ContextTest.php index 0fc7bdec3..d69191928 100644 --- a/tests/Context/ContextTest.php +++ b/tests/Context/ContextTest.php @@ -77,4 +77,92 @@ public function testRemovesFilesOnDestruct(): void $this->assertFileDoesNotExist($file); } + + public function testAppliesDockerignoreWhenEnabled(): void + { + $directory = $this->contextWithDockerignore(); + $deprecations = $this->captureDeprecations(static function () use ($directory, &$tar, &$stream): void { + $context = (new Context($directory))->applyDockerignore(); + $tar = $context->toTar(); + $stream = stream_get_contents($context->toStream()); + }); + + $this->assertSame([], $deprecations); + $expected = ['./.dockerignore', './Dockerfile', './app.php', './docs', './docs/README.md']; + $this->assertSame($expected, $this->tarEntries($tar)); + $this->assertSame($expected, $this->tarEntries($stream)); + } + + public function testDockerignoreIsNotAppliedByDefault(): void + { + $directory = $this->contextWithDockerignore(); + $deprecations = $this->captureDeprecations(static function () use ($directory, &$tar): void { + $tar = (new Context($directory))->toTar(); + }); + + $this->assertContains('./secret.txt', $this->tarEntries($tar)); + $this->assertCount(1, $deprecations); + $this->assertStringContainsString('Context::applyDockerignore()', $deprecations[0]); + } + + public function testNoDeprecationWithoutDockerignore(): void + { + $deprecations = $this->captureDeprecations(static function (): void { + (new Context(__DIR__.\DIRECTORY_SEPARATOR.'context-test'))->toTar(); + }); + + $this->assertSame([], $deprecations); + } + + private function contextWithDockerignore(): string + { + $directory = sys_get_temp_dir().'/docker-context-'.bin2hex(random_bytes(4)); + foreach (['Dockerfile', 'app.php', 'secret.txt', 'docs/README.md', 'docs/guide.md'] as $file) { + @mkdir(\dirname($directory.'/'.$file), 0777, true); + file_put_contents($directory.'/'.$file, $file); + } + file_put_contents($directory.'/.dockerignore', "secret.txt\ndocs/*\n!docs/README.md\n"); + $this->directories[] = $directory; + + return $directory; + } + + private array $directories = []; + + protected function tearDown(): void + { + foreach ($this->directories as $directory) { + (new \Symfony\Component\Filesystem\Filesystem())->remove($directory); + } + } + + /** @return list */ + private function tarEntries(string $tar): array + { + $process = new Process(['/usr/bin/env', 'tar', '-t']); + $process->setInput($tar); + $process->mustRun(); + $entries = array_map(static fn (string $entry): string => rtrim($entry, '/'), explode("\n", trim($process->getOutput()))); + sort($entries); + + return $entries; + } + + /** @return list */ + private function captureDeprecations(callable $callback): array + { + $deprecations = []; + set_error_handler(static function (int $level, string $message) use (&$deprecations): bool { + $deprecations[] = $message; + + return true; + }, \E_USER_DEPRECATED); + try { + $callback(); + } finally { + restore_error_handler(); + } + + return $deprecations; + } } diff --git a/tests/Context/DockerignoreTest.php b/tests/Context/DockerignoreTest.php new file mode 100644 index 000000000..b471818cf --- /dev/null +++ b/tests/Context/DockerignoreTest.php @@ -0,0 +1,67 @@ + ['*/temp*', ['a/temporary.txt' => true, 'a/temp' => true, 'a/temp/file' => true, 'temp.txt' => false, 'a/b/temp' => false]]; + yield 'two level wildcard' => ['*/*/temp*', ['a/b/temp1' => true, 'a/temp1' => false]]; + yield 'single character' => ['temp?', ['temp1' => true, 'temp12' => false, 'a/temp1' => false]]; + yield 'any depth' => ['**/*.go', ['main.go' => true, 'a/b/c.go' => true, 'a/b/c.gox' => false]]; + yield 'exception' => ["*.md\n!README*.md", ['CHANGES.md' => true, 'README.md' => false, 'README-x.md' => false]]; + yield 'last match wins' => ["*.md\n!README*.md\nREADME-secret.md", ['README.md' => false, 'README-secret.md' => true]]; + yield 'directory and contents' => ['node_modules', ['node_modules' => true, 'node_modules/a/b.js' => true, 'src/node_modules' => false]]; + yield 'leading slash and cleaning' => ["/build/\n./dist/../out", ['build' => true, 'build/x' => true, 'out/y' => true, 'dist' => false]]; + yield 'exception inside excluded directory' => ["docs\n!docs/README.md", ['docs' => true, 'docs/guide.md' => true, 'docs/README.md' => false]]; + yield 'trailing double star keeps the directory' => ['logs/**', ['logs' => false, 'logs/a' => true, 'logs/a/b' => true]]; + yield 'character class' => ["[ab].txt\n[^c]?.log", ['a.txt' => true, 'c.txt' => false, 'd1.log' => true, 'c1.log' => false]]; + yield 'comments and whitespace' => ["# secret\n secret \n\n", ['secret' => true, '# secret' => false]]; + yield 'escaped characters' => ["\\#hash\nfile\\*", ['#hash' => true, 'file*' => true, 'filex' => false]]; + yield 'regex characters are literal' => ['a.b+(c)', ['a.b+(c)' => true, 'axb+(c)' => false]]; + yield 'build files are always kept' => ['*', ['Dockerfile' => false, '.dockerignore' => false, 'src' => true]]; + } + + #[DataProvider('patternProvider')] + public function testMatchesLikeDocker(string $content, array $expected): void + { + $dockerignore = new Dockerignore($content); + + foreach ($expected as $path => $excluded) { + $this->assertSame($excluded, $dockerignore->excludes((string) $path), $path); + } + } + + public function testListsIncludedPaths(): void + { + $directory = sys_get_temp_dir().'/docker-ignore-'.bin2hex(random_bytes(4)); + foreach (['Dockerfile', 'app.php', 'docs/README.md', 'docs/guide.md', 'node_modules/x/y.js', 'empty/.keep'] as $file) { + @mkdir(\dirname($directory.'/'.$file), 0777, true); + touch($directory.'/'.$file); + } + file_put_contents($directory.'/.dockerignore', "node_modules\ndocs\n!docs/README.md\nempty/.keep\n"); + + try { + $paths = Dockerignore::fromFile($directory.'/.dockerignore')->paths($directory); + } finally { + exec('rm -rf '.escapeshellarg($directory)); + } + + $this->assertSame(['.dockerignore', 'Dockerfile', 'app.php', 'docs/README.md', 'empty'], $paths); + } + + public function testRejectsInvalidPattern(): void + { + $this->expectException(\InvalidArgumentException::class); + + new Dockerignore('[abc'); + } +} From 1a39e3156d9608e43b7903a2c7885fec65eec6aa Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 12:30:30 +0100 Subject: [PATCH 124/142] test(docs): follow build recipe example order The .dockerignore opt-in snippet added a code block before the build query example, shifting the indices the documentation tests run by position. --- tests/DocumentationExamplesTest.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/DocumentationExamplesTest.php b/tests/DocumentationExamplesTest.php index 565cd4c2c..ce60a7ebe 100644 --- a/tests/DocumentationExamplesTest.php +++ b/tests/DocumentationExamplesTest.php @@ -148,10 +148,11 @@ public function testPushConvertsTheAuthModel(): void public static function buildExamples(): iterable { + // Index 1 is the one-line .dockerignore opt-in, which does not build. yield 'directory context' => [0]; - yield 'query options' => [1]; - yield 'generated context' => [2]; - yield 'private base image' => [3]; + yield 'query options' => [2]; + yield 'generated context' => [3]; + yield 'private base image' => [4]; } /** @dataProvider buildExamples */ @@ -161,12 +162,12 @@ public function testBuildExamplesSendTarAndReadFrames(int $index): void self::assertStringContainsString('Built successfully', $this->runExample('cookbook/build-image', $index, $client)); self::assertSame('/build', $this->requests[0]['path']); self::assertStringContainsString('Dockerfile', $this->requests[0]['body']); - if (1 === $index) { + if (2 === $index) { parse_str($this->requests[0]['query'], $query); self::assertSame(['APP_MODE' => 'development'], json_decode($query['buildargs'], true, 512, \JSON_THROW_ON_ERROR)); self::assertSame('true', $query['pull']); } - if (3 === $index) { + if (4 === $index) { $config = json_decode(base64_decode($this->requests[0]['headers']['X-Registry-Config'][0], true), true, 512, \JSON_THROW_ON_ERROR); self::assertSame('documentation-token', $config['registry.example.com']['password']); } From 31fb0941fb73cb0605ddb0a6e4e9ee8f2395661b Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 12:34:13 +0100 Subject: [PATCH 125/142] chore(release): prepare 3.3.0 Add the 3.3.0 changelog and update the main branch alias. Generated endpoints and models still target Docker Engine API v1.45. --- CHANGELOG.md | 24 ++++++++++++++++++++++++ composer.json | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ddd49bfa..4e0449af9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## 3.3.0 + +- Add `StatsStream`: `containerStats()` streams samples to `onFrame()` by + default instead of blocking on the endless response. +- Add `stop()` to callback streams, so build, pull, push, event and stats + readers can finish from a callback. +- Add `close()` to `AttachWebsocketStream`. +- Accept a list of tags for `imageBuild()`'s `t` option. +- Add opt-in exceptions for error statuses the generated endpoints do not + handle (`Docker::throwOnUnexpectedStatus()`). Without it, such calls still + return `null` and trigger a deprecation; throwing becomes the default in 4.0. +- Add opt-in `.dockerignore` support for build contexts + (`Context::applyDockerignore()`). Without it, a context with a + `.dockerignore` triggers a deprecation; applying it becomes the default + in 4.0. +- Fix `containerAttachWebsocket()`, which returned `null` for every real + WebSocket upgrade. +- Fix `containerAttach()` losing TTY output, and handle upgraded attach + responses. +- Fix WebSocket close, ping and empty frames, stalled or truncated frames, + 65,536-byte payload lengths, mask key randomness and partial writes. +- Declare the stream return types of `Docker` methods for static analysis. +- Allow Guzzle 8 and PHPStan 2 for development. + ## 3.2.0 - Add opt-in interactive exec sessions with nonblocking stdin writes, bounded diff --git a/composer.json b/composer.json index 54e433ffa..f33d645b6 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,7 @@ }, "extra": { "branch-alias": { - "dev-main": "3.2.x-dev" + "dev-main": "3.3.x-dev" } }, "scripts": { From f2148a9b48d45395f75795f43aaf6d6d0ae3e059 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 16:00:39 +0100 Subject: [PATCH 126/142] feat!: support Docker Engine API v1.45 to v1.56 Allow every docker-php/docker-php-api line from 7.1.45 to 7.1.56. Detect the installed line's version from the generated client and use it as the default request version. Without api_version or DOCKER_API_VERSION, the bundled factory now negotiates: it pings /_ping once and uses the lower of the daemon's and the installed line's API version, as the Docker CLI does. Connection errors from the ping propagate instead of being retried. Handle differences between the generated lines: accept the Accept parameter added to systemEvents() in API 1.52, decode stats samples into ContainerStatsResponse from API 1.48, and add FrameError::message() for progress frames whose error field changed in API 1.52. Decode integers above PHP_INT_MAX as PHP_INT_MAX. Docker reports pids_stats.limit as the largest uint64 for a container without a PID limit, and the generated integer setters rejected it as a float. Throw for error statuses the generated endpoints do not handle, and apply .dockerignore in build contexts, by default. Both keep an opt-out. Run CI against every API line on the runner's daemon, which negotiates the newest lines down, and the newest line against Docker 29. BREAKING CHANGE: Composer installs the newest API line unless the application requires one, and generated model names and fields differ between lines. Require docker-php/docker-php-api >=7.1.45.0 <7.1.46.0 to keep the 3.x models. Unhandled error statuses throw instead of returning null; call throwOnUnexpectedStatus(false) to keep null. Context applies .dockerignore; call applyDockerignore(false) to archive the whole directory. Subclasses overriding systemEvents() need the new $accept parameter. --- .github/workflows/continuous-integration.yml | 59 ++++++++++++ composer.json | 3 +- src/Context/Context.php | 21 +---- src/Docker.php | 43 +++++---- src/DockerClientFactory.php | 64 +++++++++++-- src/Endpoint/ContainerStats.php | 2 +- src/Endpoint/SystemEvents.php | 12 +++ .../UnexpectedStatusCodeException.php | 2 +- src/Http/ApiVersionNegotiationPlugin.php | 60 ++++++++++++ src/Serializer/LargeIntegerJsonDecode.php | 43 +++++++++ src/Stream/FrameError.php | 36 +++++++ src/Stream/StatsStream.php | 19 +++- tests/Context/ContextTest.php | 18 ++-- tests/DockerClientFactoryTest.php | 24 ++++- tests/DockerClientFactoryTransportTest.php | 12 ++- tests/DocumentationExamplesTest.php | 7 +- tests/Endpoint/ContainerStatsTest.php | 41 +++++++- tests/GeneratedNormalizerTest.php | 11 ++- tests/GuzzleClientTest.php | 15 +-- .../Http/ApiVersionNegotiationPluginTest.php | 94 +++++++++++++++++++ tests/HttpClientDocumentationTest.php | 5 +- tests/Resource/LiveStreamTest.php | 5 +- .../Serializer/LargeIntegerJsonDecodeTest.php | 24 +++++ tests/StaticAnalysis/DockerReturnTypes.php | 2 +- tests/UnexpectedStatusTest.php | 34 +++++-- tests/fixtures/socket-server.php | 16 +++- 26 files changed, 581 insertions(+), 91 deletions(-) create mode 100644 src/Http/ApiVersionNegotiationPlugin.php create mode 100644 src/Serializer/LargeIntegerJsonDecode.php create mode 100644 src/Stream/FrameError.php create mode 100644 tests/Http/ApiVersionNegotiationPluginTest.php create mode 100644 tests/Serializer/LargeIntegerJsonDecodeTest.php diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b1c28b508..cac0e31db 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -53,3 +53,62 @@ jobs: - name: Run PHPUnit test suite run: composer run-script test-ci + + api-versions: + name: API ${{ matrix.api-line }} (Docker ${{ matrix.docker }}) + + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + api-line: ["7.1.45", "7.1.46", "7.1.47", "7.1.48", "7.1.49", "7.1.50", "7.1.51", "7.1.52", "7.1.53", "7.1.54", "7.1.55", "7.1.56"] + # The runner's daemon is older than the newest lines, so those negotiate down. + docker: [runner] + include: + # Run the newest line against a daemon that supports it without negotiation. + - api-line: "7.1.56" + docker: "29" + + services: + dind: + image: ${{ matrix.docker == '29' && 'docker:29-dind' || '' }} + options: --privileged + env: + DOCKER_TLS_CERTDIR: "" + ports: + - 2375:2375 + + env: + DOCKER_HOST: ${{ matrix.docker == '29' && 'tcp://127.0.0.1:2375' || '' }} + + steps: + - name: Repository checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + + - name: Setup PHP with PECL extension + uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 + with: + php-version: "8.5" + extensions: curl, openssl + tools: composer:v2 + coverage: none + + - name: Select the API line + run: composer require --no-update "docker-php/docker-php-api:>=${{ matrix.api-line }}.0 <${{ matrix.api-line }}.99999" + + - name: Install dependencies + uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0 + with: + dependency-versions: highest + + - name: Wait for the daemon + run: | + for attempt in $(seq 1 30); do docker version && break; sleep 2; done + docker version --format 'Daemon API {{.Server.APIVersion}}' + + - name: Pull the docker image used by the tests. + run: docker pull busybox:latest + + - name: Run PHPUnit test suite + run: composer run-script test-ci diff --git a/composer.json b/composer.json index f33d645b6..e9fe6690a 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,12 @@ ], "require": { "php": ">=8.1", - "docker-php/docker-php-api": ">=7.1.45.0 <7.1.46.0", + "docker-php/docker-php-api": ">=7.1.45.0 <7.1.57.0", "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", "php-http/discovery": "^1.19", "php-http/socket-client": "^2.3", "psr/http-message": "^2.0", - "symfony/deprecation-contracts": "^2.5 || ^3.0", "symfony/filesystem": "^6.3 || ^7.0 || ^8.0", "symfony/process": "^6.3 || ^7.0 || ^8.0", "symfony/serializer": "^6.3 || ^7.0 || ^8.0" diff --git a/src/Context/Context.php b/src/Context/Context.php index cfc50f960..40708ea34 100644 --- a/src/Context/Context.php +++ b/src/Context/Context.php @@ -47,7 +47,7 @@ class Context implements ContextInterface */ private $format = self::FORMAT_STREAM; - private bool $applyDockerignore = false; + private bool $applyDockerignore = true; /** Temporary NUL-separated list of the paths to archive. */ private ?string $pathList = null; @@ -95,10 +95,10 @@ public function getDockerfileContent() } /** - * Leave out paths matched by the context's .dockerignore file, as `docker build` does. + * Whether to leave out paths matched by the context's .dockerignore file, + * as `docker build` does (the default). * - * Without this, the whole directory is archived and a .dockerignore file - * triggers a deprecation notice. Applying it becomes the default in 4.0. + * Pass false to archive the whole directory, as 3.x did by default. */ public function applyDockerignore(bool $enabled = true): static { @@ -182,18 +182,7 @@ public function __destruct() private function tarCommand(): array { $dockerignore = $this->directory.\DIRECTORY_SEPARATOR.'.dockerignore'; - if (!is_file($dockerignore)) { - return ['/usr/bin/env', 'tar', '-c', '.']; - } - - if (!$this->applyDockerignore) { - trigger_deprecation( - 'docker-php/docker-php', - '3.3', - 'The build context %s has a .dockerignore file that is not applied; from 4.0 it will be. Call Context::applyDockerignore() to opt in now.', - $this->directory - ); - + if (!$this->applyDockerignore || !is_file($dockerignore)) { return ['/usr/bin/env', 'tar', '-c', '.']; } diff --git a/src/Docker.php b/src/Docker.php index e5a04688e..d38dd6211 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -18,10 +18,13 @@ use Docker\Endpoint\ImagePush; use Docker\Endpoint\InteractiveExecStart; use Docker\Endpoint\SystemEvents; +use Docker\API\Normalizer\JaneObjectNormalizer; use Docker\API\Runtime\Client\Endpoint; +use Docker\API\Runtime\Client\FormEncoder; use Docker\Exception\BadRequestException; use Docker\Exception\UnexpectedStatusCodeException; use Docker\Http\InteractiveHttpClient; +use Docker\Serializer\LargeIntegerJsonDecode; use Docker\Stream\AttachWebsocketStream; use Docker\Stream\BuildStream; use Docker\Stream\CreateImageStream; @@ -34,6 +37,10 @@ use Http\Client\Socket\Stream as SocketStream; use Nyholm\Psr7\Stream; use Psr\Http\Message\ResponseInterface; +use Symfony\Component\Serializer\Encoder\JsonEncode; +use Symfony\Component\Serializer\Encoder\JsonEncoder; +use Symfony\Component\Serializer\Normalizer\ArrayDenormalizer; +use Symfony\Component\Serializer\Serializer; /** * Docker\Docker. @@ -42,14 +49,13 @@ class Docker extends Client { private bool $interactiveExecEnabled = false; - private bool $throwOnUnexpectedStatus = false; + private bool $throwOnUnexpectedStatus = true; /** - * Throw an UnexpectedStatusCodeException when Docker returns an error - * status that the generated endpoint does not handle. + * Whether an error status that the generated endpoint does not handle + * throws an UnexpectedStatusCodeException (the default). * - * Without this, such calls return null as in earlier releases and trigger - * a deprecation notice. Throwing becomes the default in 4.0. + * Pass false to return null for those responses, as 3.x did by default. */ public function throwOnUnexpectedStatus(bool $enabled = true): static { @@ -77,19 +83,10 @@ public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_ return $result; } - $exception = UnexpectedStatusCodeException::fromResponse($endpoint->getMethod(), $endpoint->getUri(), $response); if ($this->throwOnUnexpectedStatus) { - throw $exception; + throw UnexpectedStatusCodeException::fromResponse($endpoint->getMethod(), $endpoint->getUri(), $response); } - trigger_deprecation( - 'docker-php/docker-php', - '3.3', - '%s The call returned null; from 4.0 it will throw %s. Call Docker::throwOnUnexpectedStatus() to opt in now.', - $exception->getMessage(), - $exception::class - ); - return null; } @@ -137,10 +134,11 @@ public function containerLogs(string $id, array $queryParameters = [], string $f * {@inheritdoc} * * With `stream => true` (the default) the result is a StatsStream that - * delivers one sample per frame; with `stream => false` it is one decoded - * sample. + * delivers one sample per frame; with `stream => false` it is one sample. + * Samples are ContainerStatsResponse models from API 1.48, and decoded + * \stdClass objects for earlier API versions. * - * @return ($fetch is 'object' ? StatsStream|\stdClass|null : ResponseInterface) + * @return ($fetch is 'object' ? StatsStream|object|null : ResponseInterface) */ public function containerStats(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { @@ -270,9 +268,10 @@ public function imagePush(string $name, array $queryParameters = [], array $head * * @return ($fetch is 'object' ? EventStream|null : ResponseInterface) */ - public function systemEvents(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function systemEvents(array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new SystemEvents($queryParameters), $fetch); + // API 1.52 and later accept an Accept header; earlier endpoints ignore it. + return $this->executeEndpoint(new SystemEvents($queryParameters, $accept), $fetch); } public static function create( @@ -287,6 +286,10 @@ public static function create( } $client = parent::create($httpClient, $additionalPlugins, $additionalNormalizers, $applyServerPlugins); + $client->serializer = new Serializer( + [new ArrayDenormalizer(), new JaneObjectNormalizer(), ...$additionalNormalizers], + [new JsonEncoder(new JsonEncode(), new LargeIntegerJsonDecode(['json_decode_associative' => true])), new FormEncoder()] + ); $client->interactiveExecEnabled = $httpClient instanceof InteractiveHttpClient; $response = $client->executeRawEndpoint(new SystemInfo()); $testClient = $response->getBody()->getContents(); diff --git a/src/DockerClientFactory.php b/src/DockerClientFactory.php index 5c62fd540..7c354f134 100644 --- a/src/DockerClientFactory.php +++ b/src/DockerClientFactory.php @@ -4,6 +4,8 @@ namespace Docker; +use Docker\API\Client as GeneratedClient; +use Docker\Http\ApiVersionNegotiationPlugin; use Docker\Http\InteractiveHttpClient; use Docker\Http\StreamingDecoderPlugin; use Http\Client\Common\Plugin\AddHostPlugin; @@ -14,12 +16,55 @@ use Http\Client\Common\PluginClientFactory; use Http\Client\Socket\Client; use Http\Discovery\Psr17FactoryDiscovery; +use Psr\Http\Client\ClientInterface; +use Psr\Http\Message\RequestInterface; +use Psr\Http\Message\ResponseInterface; final class DockerClientFactory { + private static ?string $defaultApiVersion = null; + + /** + * The Docker API version of the installed docker-php/docker-php-api package, + * for example "1.56". Requests use it unless api_version or DOCKER_API_VERSION + * says otherwise. + */ + public static function defaultApiVersion(): string + { + if (null !== self::$defaultApiVersion) { + return self::$defaultApiVersion; + } + + // The generated client adds its specification's base path to requests. + // Capture one request instead of trusting Composer metadata, so the + // version always matches the classes that are actually loaded. + $recorder = new class implements ClientInterface { + public ?RequestInterface $request = null; + + public function sendRequest(RequestInterface $request): ResponseInterface + { + $this->request = $request; + + return Psr17FactoryDiscovery::findResponseFactory()->createResponse(204); + } + }; + $client = GeneratedClient::create($recorder); + $httpClient = (fn (): ClientInterface => $this->httpClient)->call($client); + $httpClient->sendRequest(Psr17FactoryDiscovery::findRequestFactory()->createRequest('GET', '/')); + + $path = (string) $recorder->request?->getUri()->getPath(); + if (!preg_match('#^/v([0-9]+\.[0-9]+)/#', $path, $matches)) { + throw new \LogicException('Cannot determine the Docker API version of the installed docker-php/docker-php-api package.'); + } + + return self::$defaultApiVersion = $matches[1]; + } + /** - * The api_version option overrides DOCKER_API_VERSION; other options are - * passed to the socket client. Neither setting changes the generated models. + * The api_version option overrides DOCKER_API_VERSION. Without either, the + * client negotiates: it uses the installed API package's version, or the + * daemon's maximum if that is lower. Other options are passed to the socket + * client. No setting changes the generated models. */ public static function create(array $config = [], ?PluginClientFactory $pluginClientFactory = null): PluginClient { @@ -30,11 +75,14 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl $dockerApiVersion = $config['api_version']; unset($config['api_version']); } else { - $dockerApiVersion = getenv('DOCKER_API_VERSION') ?: 'v1.45'; + // Null negotiates with the daemon, up to the installed API package's version. + $dockerApiVersion = getenv('DOCKER_API_VERSION') ?: null; } - $dockerApiVersion = ltrim($dockerApiVersion, '/'); - if (!str_starts_with($dockerApiVersion, 'v')) { - $dockerApiVersion = 'v'.$dockerApiVersion; + if (null !== $dockerApiVersion) { + $dockerApiVersion = ltrim($dockerApiVersion, '/'); + if (!str_starts_with($dockerApiVersion, 'v')) { + $dockerApiVersion = 'v'.$dockerApiVersion; + } } if (!\array_key_exists('remote_socket', $config)) { @@ -69,7 +117,9 @@ public static function create(array $config = [], ?PluginClientFactory $pluginCl [ new ContentLengthPlugin(), new StreamingDecoderPlugin(), - new AddPathPlugin($uriFactory->createUri('/'.$dockerApiVersion)), + null === $dockerApiVersion + ? new ApiVersionNegotiationPlugin(self::defaultApiVersion(), $uriFactory, Psr17FactoryDiscovery::findRequestFactory()) + : new AddPathPlugin($uriFactory->createUri('/'.$dockerApiVersion)), new AddHostPlugin($host), new HeaderDefaultsPlugin([ 'host' => $host->withUserInfo('')->getAuthority(), diff --git a/src/Endpoint/ContainerStats.php b/src/Endpoint/ContainerStats.php index 1823043ce..670035042 100644 --- a/src/Endpoint/ContainerStats.php +++ b/src/Endpoint/ContainerStats.php @@ -16,7 +16,7 @@ protected function transformResponseBody(ResponseInterface $response, Serializer // Both modes use application/json, so the request decides: `stream` // keeps the response open and sends one sample per document. if (200 === $response->getStatusCode() && $this->getQueryOptionsResolver()->resolve($this->queryParameters)['stream']) { - return new StatsStream($response->getBody()); + return new StatsStream($response->getBody(), $serializer); } return parent::transformResponseBody($response, $serializer, $contentType); diff --git a/src/Endpoint/SystemEvents.php b/src/Endpoint/SystemEvents.php index 3f57e916c..808e4f02d 100644 --- a/src/Endpoint/SystemEvents.php +++ b/src/Endpoint/SystemEvents.php @@ -11,6 +11,18 @@ class SystemEvents extends BaseEndpoint { + /** + * @param array $accept Accept header values; API 1.52 added this parameter + */ + public function __construct(array $queryParameters = [], array $accept = []) + { + parent::__construct($queryParameters); + // From API 1.52 the generated endpoint stores the Accept values here. + if (property_exists($this, 'accept')) { + $this->accept = $accept; + } + } + protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null) { if (200 === $response->getStatusCode()) { diff --git a/src/Exception/UnexpectedStatusCodeException.php b/src/Exception/UnexpectedStatusCodeException.php index 80aca85b1..b47dd5c67 100644 --- a/src/Exception/UnexpectedStatusCodeException.php +++ b/src/Exception/UnexpectedStatusCodeException.php @@ -11,7 +11,7 @@ /** * Docker returned an error status that the generated endpoint does not handle. * - * Thrown when Docker::throwOnUnexpectedStatus() is enabled; catch + * Thrown unless Docker::throwOnUnexpectedStatus(false) is set; catch * UnexpectedClientErrorException or UnexpectedServerErrorException to tell 4xx * and 5xx responses apart. */ diff --git a/src/Http/ApiVersionNegotiationPlugin.php b/src/Http/ApiVersionNegotiationPlugin.php new file mode 100644 index 000000000..fd3280446 --- /dev/null +++ b/src/Http/ApiVersionNegotiationPlugin.php @@ -0,0 +1,60 @@ +version; + } + + public function handleRequest(RequestInterface $request, callable $next, callable $first): Promise + { + $version = $this->version ?? $this->negotiate($next); + + return (new AddPathPlugin($this->uriFactory->createUri('/v'.$version)))->handleRequest($request, $next, $first); + } + + private function negotiate(callable $next): string + { + // A connection error propagates, so an unreachable daemon is not tried + // twice. An error response without the header keeps the client version. + $response = $next($this->requestFactory->createRequest('GET', '/_ping'))->wait(); + $daemonVersion = trim($response->getHeaderLine('API-Version')); + $response->getBody()->close(); + + if (!preg_match('/^[0-9]+\.[0-9]+$/D', $daemonVersion)) { + return $this->version = $this->clientVersion; + } + + return $this->version = version_compare($daemonVersion, $this->clientVersion, '<') ? $daemonVersion : $this->clientVersion; + } +} diff --git a/src/Serializer/LargeIntegerJsonDecode.php b/src/Serializer/LargeIntegerJsonDecode.php new file mode 100644 index 000000000..1a542b069 --- /dev/null +++ b/src/Serializer/LargeIntegerJsonDecode.php @@ -0,0 +1,43 @@ += (float) \PHP_INT_MAX ? \PHP_INT_MAX : $value; + } + if (\is_array($value)) { + foreach ($value as $key => $item) { + $value[$key] = self::clamp($item); + } + } elseif ($value instanceof \stdClass) { + foreach (get_object_vars($value) as $key => $item) { + $value->{$key} = self::clamp($item); + } + } + + return $value; + } +} diff --git a/src/Stream/FrameError.php b/src/Stream/FrameError.php new file mode 100644 index 000000000..9b70b3dab --- /dev/null +++ b/src/Stream/FrameError.php @@ -0,0 +1,36 @@ +getErrorDetail()?->getMessage(); + if (\is_string($message) && '' !== $message) { + return $message; + } + } + if (method_exists($frame, 'getError')) { + $message = $frame->getError(); + if (\is_string($message) && '' !== $message) { + return $message; + } + } + + return null; + } +} diff --git a/src/Stream/StatsStream.php b/src/Stream/StatsStream.php index d5d9b7ab8..a326ef564 100644 --- a/src/Stream/StatsStream.php +++ b/src/Stream/StatsStream.php @@ -4,16 +4,27 @@ namespace Docker\Stream; +use Psr\Http\Message\StreamInterface; +use Symfony\Component\Serializer\SerializerInterface; + /** * Live container resource usage from the stats endpoint. * - * Callables passed to onFrame() receive each sample as a decoded \stdClass, - * the same shape containerStats() returns with `stream => false`. + * Callables passed to onFrame() receive each sample in the same form + * containerStats() returns with `stream => false`: a ContainerStatsResponse + * model from API 1.48, or a decoded \stdClass for earlier API versions. */ class StatsStream extends CallbackStream { use ReadsJsonDocuments; + private const MODEL = 'Docker\\API\\Model\\ContainerStatsResponse'; + + public function __construct(StreamInterface $stream, private ?SerializerInterface $serializer = null) + { + parent::__construct($stream); + } + protected function readFrame() { $jsonFrame = $this->readJsonDocument(); @@ -21,6 +32,10 @@ protected function readFrame() return null; } + if (null !== $this->serializer && class_exists(self::MODEL)) { + return $this->serializer->deserialize($jsonFrame, self::MODEL, 'json'); + } + return json_decode($jsonFrame, false, 512, \JSON_THROW_ON_ERROR); } } diff --git a/tests/Context/ContextTest.php b/tests/Context/ContextTest.php index d69191928..19eac608a 100644 --- a/tests/Context/ContextTest.php +++ b/tests/Context/ContextTest.php @@ -78,31 +78,27 @@ public function testRemovesFilesOnDestruct(): void $this->assertFileDoesNotExist($file); } - public function testAppliesDockerignoreWhenEnabled(): void + public function testAppliesDockerignoreByDefault(): void { $directory = $this->contextWithDockerignore(); - $deprecations = $this->captureDeprecations(static function () use ($directory, &$tar, &$stream): void { - $context = (new Context($directory))->applyDockerignore(); - $tar = $context->toTar(); - $stream = stream_get_contents($context->toStream()); - }); + $context = new Context($directory); + $tar = $context->toTar(); + $stream = stream_get_contents($context->toStream()); - $this->assertSame([], $deprecations); $expected = ['./.dockerignore', './Dockerfile', './app.php', './docs', './docs/README.md']; $this->assertSame($expected, $this->tarEntries($tar)); $this->assertSame($expected, $this->tarEntries($stream)); } - public function testDockerignoreIsNotAppliedByDefault(): void + public function testDockerignoreCanBeDisabled(): void { $directory = $this->contextWithDockerignore(); $deprecations = $this->captureDeprecations(static function () use ($directory, &$tar): void { - $tar = (new Context($directory))->toTar(); + $tar = (new Context($directory))->applyDockerignore(false)->toTar(); }); $this->assertContains('./secret.txt', $this->tarEntries($tar)); - $this->assertCount(1, $deprecations); - $this->assertStringContainsString('Context::applyDockerignore()', $deprecations[0]); + $this->assertSame([], $deprecations); } public function testNoDeprecationWithoutDockerignore(): void diff --git a/tests/DockerClientFactoryTest.php b/tests/DockerClientFactoryTest.php index ab57d707b..767a06eca 100644 --- a/tests/DockerClientFactoryTest.php +++ b/tests/DockerClientFactoryTest.php @@ -5,6 +5,7 @@ namespace Docker\Tests; use Docker\DockerClientFactory; +use Docker\Http\ApiVersionNegotiationPlugin; use Http\Client\Common\Plugin\AddPathPlugin; use Http\Client\Common\PluginClient; use Http\Client\Common\PluginClientFactory; @@ -83,9 +84,19 @@ public function testSocketAddressAndRequestUri(string $address, string $socket, $this->assertSame($host, (string) $uri); } - public function testDefaultApiVersion(): void + public function testNegotiatesWithoutAnExplicitVersion(): void { - $this->assertSame('/v1.45', $this->getApiPath()); + $plugins = $this->createdPlugins(); + + $this->assertCount(1, array_filter($plugins, static fn (object $plugin): bool => $plugin instanceof ApiVersionNegotiationPlugin)); + $this->assertCount(0, array_filter($plugins, static fn (object $plugin): bool => $plugin instanceof AddPathPlugin)); + } + + public function testDefaultApiVersionMatchesGeneratedClient(): void + { + $specification = (new \ReflectionClass(\Docker\API\Client::class))->getFileName(); + $this->assertMatchesRegularExpression('#^1\.[0-9]+$#', DockerClientFactory::defaultApiVersion()); + $this->assertStringContainsString("createUri('/v".DockerClientFactory::defaultApiVersion()."')", file_get_contents($specification)); } public function testApiVersionFromEnvironment(): void @@ -202,7 +213,7 @@ public function testCreateCustomPeerName(): void $this->assertSame('test', $context['ssl']['peer_name']); } - private function getApiPath(array $config = []): string + private function createdPlugins(array $config = []): array { $plugins = []; PluginClientFactory::setFactory(static function ($client, array $createdPlugins, array $options) use (&$plugins): PluginClient { @@ -214,7 +225,12 @@ private function getApiPath(array $config = []): string DockerClientFactory::create($config); - foreach ($plugins as $plugin) { + return $plugins; + } + + private function getApiPath(array $config = []): string + { + foreach ($this->createdPlugins($config) as $plugin) { if ($plugin instanceof AddPathPlugin) { $uri = (new \ReflectionProperty($plugin, 'uri'))->getValue($plugin); diff --git a/tests/DockerClientFactoryTransportTest.php b/tests/DockerClientFactoryTransportTest.php index f3069d189..a75e94a69 100644 --- a/tests/DockerClientFactoryTransportTest.php +++ b/tests/DockerClientFactoryTransportTest.php @@ -38,11 +38,21 @@ public function testRealConnection(string $scheme): void $this->assertSame(200, $response->getStatusCode()); $this->assertSame('OK', $response->getBody()->getContents()); $request = $this->serverResult()['request']; - $this->assertStringStartsWith("GET /v1.45/_ping HTTP/1.1\r\n", $request); + $this->assertStringStartsWith('GET /v'.DockerClientFactory::defaultApiVersion()."/_ping HTTP/1.1\r\n", $request); $expectedHost = 'unix' === $scheme ? 'localhost' : $address; $this->assertStringContainsString('Host: '.$expectedHost."\r\n", $request); } + public function testNegotiatesWithAnOlderDaemon(): void + { + $address = $this->startServer(['daemon_api_version' => '1.41']); + + $response = DockerClientFactory::create(['remote_socket' => 'tcp://'.$address, 'timeout' => 3000])->sendRequest(new Request('GET', '/containers/json')); + + $this->assertSame('OK', $response->getBody()->getContents()); + $this->assertStringStartsWith('GET /v1.41/containers/json HTTP/1.1', $this->serverResult()['request']); + } + public function testHttpUrlFromEnvironment(): void { $address = $this->startServer(); diff --git a/tests/DocumentationExamplesTest.php b/tests/DocumentationExamplesTest.php index ce60a7ebe..d65492114 100644 --- a/tests/DocumentationExamplesTest.php +++ b/tests/DocumentationExamplesTest.php @@ -128,7 +128,7 @@ public function testPullUsesAnEncodedHeaderAndConsumesProgress(): void public function testPullReportsAnErrorInsideAnHttp200Stream(): void { - $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"error":"pull denied"}')); + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"errorDetail":{"message":"pull denied"},"error":"pull denied"}')); $this->expectException(\RuntimeException::class); $this->expectExceptionMessage('pull denied'); $this->runExample('guides/registry', 0, $client); @@ -237,6 +237,9 @@ public function testEventsUseStringTimestampsAndModelCallbacks(): void public function testStatsExplicitlyDisableStreaming(): void { + if (!class_exists('Docker\\API\\Model\\ContainerStatsResponse')) { + self::markTestSkipped('The stats example uses the model added in API 1.48.'); + } $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"memory_stats":{"usage":1024}}')); self::assertSame("Memory usage: 1024 bytes\n", $this->runExample('guides/events-and-stats', 1, $client)); parse_str($this->requests[0]['query'], $query); @@ -253,7 +256,7 @@ public function testJsonQueryParametersAreEncodedOnce(): void public function testBuildReportsDaemonErrorsAfterHttpSuccess(): void { - $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"error":"build failed"}')); + $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"errorDetail":{"message":"build failed"},"error":"build failed"}')); $this->expectException(\RuntimeException::class); $this->expectExceptionMessage('build failed'); $this->runExample('cookbook/build-image', 0, $client); diff --git a/tests/Endpoint/ContainerStatsTest.php b/tests/Endpoint/ContainerStatsTest.php index 97e3d2128..fb42aa437 100644 --- a/tests/Endpoint/ContainerStatsTest.php +++ b/tests/Endpoint/ContainerStatsTest.php @@ -6,10 +6,16 @@ use Docker\API\Exception\ContainerStatsNotFoundException; use Docker\API\Model\ErrorResponse; +use Docker\API\Normalizer\JaneObjectNormalizer; use Docker\Endpoint\ContainerStats; use Docker\Stream\StatsStream; use Nyholm\Psr7\Response; use PHPUnit\Framework\TestCase; +use Symfony\Component\Serializer\Encoder\JsonDecode; +use Symfony\Component\Serializer\Encoder\JsonEncode; +use Symfony\Component\Serializer\Encoder\JsonEncoder; +use Symfony\Component\Serializer\Normalizer\ArrayDenormalizer; +use Symfony\Component\Serializer\Serializer; use Symfony\Component\Serializer\SerializerInterface; class ContainerStatsTest extends TestCase @@ -30,10 +36,39 @@ public function testReturnsOneSampleWhenStreamingIsOff(): void { $response = new Response(200, self::JSON, '{"read":"t1","memory_stats":{"usage":1}}'); - $stats = (new ContainerStats('web', ['stream' => false]))->parseResponse($response, $this->createMock(SerializerInterface::class)); + $stats = (new ContainerStats('web', ['stream' => false]))->parseResponse($response, self::serializer()); - $this->assertInstanceOf(\stdClass::class, $stats); - $this->assertSame(1, $stats->memory_stats->usage); + $this->assertSame(1, self::memoryUsage($stats)); + } + + public function testStreamedSamplesMatchTheSingleSampleType(): void + { + $response = new Response(200, self::JSON, '{"read":"t1","memory_stats":{"usage":1}}{"read":"t2","memory_stats":{"usage":2}}'); + $single = (new ContainerStats('web', ['stream' => false]))->parseResponse(new Response(200, self::JSON, '{"read":"t0","memory_stats":{"usage":0}}'), self::serializer()); + $stream = (new ContainerStats('web'))->parseResponse($response, self::serializer()); + $samples = []; + $stream->onFrame(static function (object $sample) use (&$samples): void { + $samples[] = $sample; + }); + $stream->wait(); + + $this->assertSame([1, 2], array_map(self::memoryUsage(...), $samples)); + $this->assertSame($single::class, $samples[0]::class); + // API 1.48 added a generated stats model; earlier versions decode to stdClass. + $this->assertSame(class_exists('Docker\\API\\Model\\ContainerStatsResponse') ? 'Docker\\API\\Model\\ContainerStatsResponse' : \stdClass::class, $single::class); + } + + private static function serializer(): Serializer + { + return new Serializer( + [new ArrayDenormalizer(), new JaneObjectNormalizer()], + [new JsonEncoder(new JsonEncode(), new JsonDecode(['json_decode_associative' => true]))] + ); + } + + private static function memoryUsage(object $sample): int + { + return $sample instanceof \stdClass ? $sample->memory_stats->usage : $sample->getMemoryStats()->getUsage(); } public function testMissingContainerStillThrows(): void diff --git a/tests/GeneratedNormalizerTest.php b/tests/GeneratedNormalizerTest.php index 350a0af16..2471ad9f2 100644 --- a/tests/GeneratedNormalizerTest.php +++ b/tests/GeneratedNormalizerTest.php @@ -6,7 +6,6 @@ use Composer\InstalledVersions; use Docker\API\Model\ContainersCreatePostBody; -use Docker\API\Model\ContainersIdJsonGetResponse200; use Docker\API\Model\HealthcheckResult; use Docker\API\Model\NetworkSettings; use Docker\API\Model\PortBinding; @@ -28,6 +27,14 @@ private function serializer(): Serializer ); } + /** API 1.48 renamed the generated inspect response model. */ + private static function containerInspectModel(): string + { + return class_exists('Docker\\API\\Model\\ContainerInspectResponse') + ? 'Docker\\API\\Model\\ContainerInspectResponse' + : 'Docker\\API\\Model\\ContainersIdJsonGetResponse200'; + } + public function testRenamedPackagesAreInstalledTogether(): void { self::assertTrue(InstalledVersions::isInstalled('docker-php/docker-php')); @@ -89,7 +96,7 @@ public function testNullPortBindingsRoundTripThroughContainerInspect(): void { $payload = '{"Id":"example","NetworkSettings":{"Ports":{"80/tcp":[{"HostIp":"127.0.0.1","HostPort":"8080"}],"2377/tcp":null,"53/udp":[]}}}'; $serializer = $this->serializer(); - $container = $serializer->deserialize($payload, ContainersIdJsonGetResponse200::class, 'json'); + $container = $serializer->deserialize($payload, self::containerInspectModel(), 'json'); $ports = $container->getNetworkSettings()->getPorts(); self::assertNull($ports['2377/tcp']); self::assertSame([], $ports['53/udp']); diff --git a/tests/GuzzleClientTest.php b/tests/GuzzleClientTest.php index 8acf86a25..41c1ee291 100644 --- a/tests/GuzzleClientTest.php +++ b/tests/GuzzleClientTest.php @@ -7,6 +7,7 @@ use Docker\API\Exception\ContainerInspectNotFoundException; use Docker\API\Model\ContainersCreatePostBody; use Docker\Docker; +use Docker\DockerClientFactory; use Docker\Stream\DockerRawStream; use GuzzleHttp\Client as GuzzleClient; use GuzzleHttp\ClientInterface; @@ -56,9 +57,9 @@ public function testDocumentationExampleUsesConfiguredConnection(string $example $docker = $this->runDocumentationExample($example, $transport, $address); $this->assertSame([], $docker->containerList()); - $this->assertStringStartsWith('GET /v1.45/info HTTP/1.1', $this->serverResult()['request']); + $this->assertStringStartsWith('GET /v'.DockerClientFactory::defaultApiVersion().'/info HTTP/1.1', $this->serverResult()['request']); $request = $this->serverResult(1); - $this->assertStringStartsWith('GET /v1.45/containers/json?', $request['request']); + $this->assertStringStartsWith('GET /v'.DockerClientFactory::defaultApiVersion().'/containers/json?', $request['request']); $host = 'unix' === $transport ? 'localhost' : $address; $this->assertStringContainsString('Host: '.$host."\r\n", $request['request']); if ('mutual-tls' === $transport) { @@ -110,7 +111,7 @@ public function testRequestBodyReachesDaemon(): void $request = $this->serverResult(1); [$method, $uri] = explode(' ', $request['request'], 3); $this->assertSame('POST', $method); - $this->assertSame('/v1.45/containers/create', parse_url($uri, \PHP_URL_PATH)); + $this->assertSame('/v'.DockerClientFactory::defaultApiVersion().'/containers/create', parse_url($uri, \PHP_URL_PATH)); $json = json_decode($request['body'], true, 512, \JSON_THROW_ON_ERROR); $this->assertSame('busybox:latest', $json['Image']); $this->assertSame(['MODE=test'], $json['Env']); @@ -149,12 +150,12 @@ public function testCompletedLogResponseDecodesStdoutAndStderr(): void $this->assertSame("hello\n", $stdout); $this->assertSame("warn\n", $stderr); - $this->assertStringContainsString('/v1.45/containers/test/logs?', $this->serverResult(1)['request']); + $this->assertStringContainsString('/v'.DockerClientFactory::defaultApiVersion().'/containers/test/logs?', $this->serverResult(1)['request']); } public function testExplicitCurlHandlerBuffersDespiteStreamOption(): void { - $address = $this->startServer(); + $address = $this->startServer(['negotiation' => false]); $client = new PluginClient($this->guzzle('http://'.$address, ['stream' => true])); $response = $client->sendRequest(new Request('GET', '/_ping')); @@ -169,7 +170,7 @@ public function testDefaultStreamingHandlerReadsIncrementally(): void if (!\ini_get('allow_url_fopen')) { $this->markTestSkipped('The default PHP stream handler requires allow_url_fopen.'); } - $address = $this->startServer(); + $address = $this->startServer(['negotiation' => false]); $client = new PluginClient(new GuzzleClient([ 'base_uri' => 'http://'.$address, 'stream' => true, @@ -206,7 +207,7 @@ public function testDefaultStreamingHandlerDoesNotUseCurlSocketOption(): void } // Guzzle 7 ignores them and connects to base_uri instead of the socket. - $address = $this->startServer(); + $address = $this->startServer(['negotiation' => false]); $client = new PluginClient(new GuzzleClient($options + ['base_uri' => 'http://'.$address])); $response = $client->sendRequest(new Request('GET', '/_ping')); diff --git a/tests/Http/ApiVersionNegotiationPluginTest.php b/tests/Http/ApiVersionNegotiationPluginTest.php new file mode 100644 index 000000000..120638f3a --- /dev/null +++ b/tests/Http/ApiVersionNegotiationPluginTest.php @@ -0,0 +1,94 @@ + [new Response(200, ['API-Version' => '1.43'], 'OK'), '/v1.43/containers/json']; + yield 'newer daemon' => [new Response(200, ['API-Version' => '1.60'], 'OK'), '/v1.56/containers/json']; + yield 'same version' => [new Response(200, ['API-Version' => '1.56'], 'OK'), '/v1.56/containers/json']; + yield 'no version header' => [new Response(200, [], 'OK'), '/v1.56/containers/json']; + yield 'invalid version header' => [new Response(200, ['API-Version' => 'latest'], 'OK'), '/v1.56/containers/json']; + yield 'ping rejected' => [new Response(403, [], 'Forbidden'), '/v1.56/containers/json']; + } + + #[DataProvider('versionProvider')] + public function testUsesTheLowerVersionAndPingsOnce(ResponseInterface $ping, string $expectedPath): void + { + $transport = $this->transport(static fn (RequestInterface $request): ResponseInterface => '/_ping' === $request->getUri()->getPath() ? $ping : new Response(200, [], '[]')); + $client = $this->client($transport); + + $client->sendRequest(new Request('GET', '/containers/json')); + $client->sendRequest(new Request('GET', '/containers/json')); + + $this->assertSame(['/_ping', $expectedPath, $expectedPath], $transport->paths); + } + + public function testConnectionErrorsPropagateAndAreNotRemembered(): void + { + $failures = 1; + $transport = $this->transport(static function (RequestInterface $request) use (&$failures): ResponseInterface { + if ($failures-- > 0) { + throw new class('Connection refused', 0) extends \RuntimeException implements NetworkExceptionInterface { + public function getRequest(): RequestInterface + { + return new Request('GET', '/_ping'); + } + }; + } + + return '/_ping' === $request->getUri()->getPath() ? new Response(200, ['API-Version' => '1.44'], 'OK') : new Response(200, [], '[]'); + }); + $client = $this->client($transport); + + try { + $client->sendRequest(new Request('GET', '/containers/json')); + $this->fail('The ping connection error should propagate.'); + } catch (NetworkExceptionInterface) { + } + $client->sendRequest(new Request('GET', '/containers/json')); + + $this->assertSame(['/_ping', '/_ping', '/v1.44/containers/json'], $transport->paths); + } + + private function client(ClientInterface $transport): PluginClient + { + $factory = new Psr17Factory(); + + return new PluginClient($transport, [new ApiVersionNegotiationPlugin('1.56', $factory, $factory)]); + } + + private function transport(\Closure $respond): ClientInterface + { + return new class($respond) implements ClientInterface { + public array $paths = []; + + public function __construct(private \Closure $respond) + { + } + + public function sendRequest(RequestInterface $request): ResponseInterface + { + $this->paths[] = $request->getUri()->getPath(); + + return ($this->respond)($request); + } + }; + } +} diff --git a/tests/HttpClientDocumentationTest.php b/tests/HttpClientDocumentationTest.php index 5034d392d..bb8bf6013 100644 --- a/tests/HttpClientDocumentationTest.php +++ b/tests/HttpClientDocumentationTest.php @@ -6,6 +6,7 @@ use Docker\API\Model\ExecIdStartPostBody; use Docker\Docker; +use Docker\DockerClientFactory; use PHPUnit\Framework\Attributes\DataProvider; class HttpClientDocumentationTest extends TransportTestCase @@ -50,9 +51,9 @@ public function testDocumentedSocketClientStreamsTtyOutput(string $page, string self::assertSame("first\r\nlast\r\n", $stdout); self::assertNotNull($firstCallback); self::assertGreaterThan(500_000_000, $lastCallback - $firstCallback, 'Output was buffered until the peer finished.'); - self::assertStringStartsWith('GET /v1.45/info HTTP/1.1', $this->serverResult()['request']); + self::assertStringStartsWith('GET /v'.DockerClientFactory::defaultApiVersion().'/info HTTP/1.1', $this->serverResult()['request']); $request = $this->serverResult(1)['request']; - self::assertStringStartsWith('POST /v1.45/exec/test/start HTTP/1.1', $request); + self::assertStringStartsWith('POST /v'.DockerClientFactory::defaultApiVersion().'/exec/test/start HTTP/1.1', $request); self::assertStringContainsString('Host: localhost', $request); } diff --git a/tests/Resource/LiveStreamTest.php b/tests/Resource/LiveStreamTest.php index d8ec31460..2b8bc62ae 100644 --- a/tests/Resource/LiveStreamTest.php +++ b/tests/Resource/LiveStreamTest.php @@ -103,8 +103,9 @@ public function testContainerStatsStreamsLiveSamples(): void $stats = self::getDocker()->containerStats($id); $this->assertInstanceOf(StatsStream::class, $stats); $reads = []; - $stats->onFrame(static function (\stdClass $sample) use ($stats, &$reads): void { - $reads[] = $sample->read; + $stats->onFrame(static function (object $sample) use ($stats, &$reads): void { + // ContainerStatsResponse from API 1.48; a decoded stdClass before that. + $reads[] = $sample instanceof \stdClass ? $sample->read : $sample->getRead()?->format(\DATE_RFC3339_EXTENDED); if (2 === \count($reads)) { $stats->stop(); } diff --git a/tests/Serializer/LargeIntegerJsonDecodeTest.php b/tests/Serializer/LargeIntegerJsonDecodeTest.php new file mode 100644 index 000000000..1374e6cc2 --- /dev/null +++ b/tests/Serializer/LargeIntegerJsonDecodeTest.php @@ -0,0 +1,24 @@ + true]))->decode($json, 'json'); + $object = (new LargeIntegerJsonDecode())->decode($json, 'json'); + + $this->assertSame(['limit' => \PHP_INT_MAX, 'current' => 7, 'ratio' => 0.5, 'items' => [\PHP_INT_MAX, 1], 'name' => '18446744073709551615'], $associative); + $this->assertSame(\PHP_INT_MAX, $object->limit); + $this->assertSame([\PHP_INT_MAX, 1], $object->items); + $this->assertSame(0.5, $object->ratio); + } +} diff --git a/tests/StaticAnalysis/DockerReturnTypes.php b/tests/StaticAnalysis/DockerReturnTypes.php index e163feb7b..04fe52a06 100644 --- a/tests/StaticAnalysis/DockerReturnTypes.php +++ b/tests/StaticAnalysis/DockerReturnTypes.php @@ -20,6 +20,6 @@ function dockerReturnTypes(Docker $docker): void assertType('Docker\Stream\CreateImageStream|null', $docker->imageCreate()); assertType('Docker\Stream\PushStream|null', $docker->imagePush('name')); assertType('Docker\Stream\EventStream|null', $docker->systemEvents()); - assertType('Docker\Stream\StatsStream|stdClass|null', $docker->containerStats('id')); + assertType('object|null', $docker->containerStats('id')); assertType('Psr\Http\Message\ResponseInterface', $docker->containerLogs('id', [], Docker::FETCH_RESPONSE)); } diff --git a/tests/UnexpectedStatusTest.php b/tests/UnexpectedStatusTest.php index 1986b6f95..72ad3d5f8 100644 --- a/tests/UnexpectedStatusTest.php +++ b/tests/UnexpectedStatusTest.php @@ -36,17 +36,24 @@ protected function tearDown(): void restore_error_handler(); } - public function testUnhandledErrorReturnsNullWithDeprecationByDefault(): void + public function testUnhandledErrorThrowsByDefault(): void { $docker = $this->docker(new Response(400, self::JSON, '{"message":"Minimum memory limit allowed is 6MB"}')); + $this->expectException(UnexpectedClientErrorException::class); + $this->expectExceptionMessage('Docker returned HTTP 400 for POST /containers/web/update: Minimum memory limit allowed is 6MB'); + $docker->containerUpdate('web', new ContainersIdUpdatePostBody()); + } + + public function testOptOutReturnsNull(): void + { + $docker = $this->docker(new Response(400, self::JSON, '{"message":"Minimum memory limit allowed is 6MB"}'))->throwOnUnexpectedStatus(false); + $this->assertNull($docker->containerUpdate('web', new ContainersIdUpdatePostBody())); - $this->assertCount(1, $this->deprecations); - $this->assertStringContainsString('Docker returned HTTP 400 for POST /containers/web/update: Minimum memory limit allowed is 6MB', $this->deprecations[0]); - $this->assertStringContainsString('throwOnUnexpectedStatus()', $this->deprecations[0]); + $this->assertSame([], $this->deprecations); } - public function testOptInThrowsClientError(): void + public function testClientErrorDetails(): void { $docker = $this->docker(new Response(409, self::JSON, '{"message":"network with name web already exists"}'))->throwOnUnexpectedStatus(); @@ -65,7 +72,7 @@ public function testOptInThrowsClientError(): void $this->assertSame([], $this->deprecations); } - public function testOptInThrowsServerErrorWithPlainTextBody(): void + public function testServerErrorWithPlainTextBody(): void { $docker = $this->docker(new Response(500, ['Content-Type' => 'text/plain'], "invalid reference format\n"))->throwOnUnexpectedStatus(); @@ -114,6 +121,21 @@ public function testSuccessfulStreamsAreNotBuffered(): void $this->assertSame(0, $response->getBody()->tell(), 'Successful responses must stay unread'); } + public function testUnlimitedPidsLimitDecodes(): void + { + // Docker reports a container without a PID limit as the largest uint64. + $docker = $this->docker(new Response(200, self::JSON, '{"read":"t1","pids_stats":{"current":3,"limit":18446744073709551615}}')); + + $stats = $docker->containerStats('web', ['stream' => false]); + + if ($stats instanceof \stdClass) { + // Before API 1.48 the sample is decoded without generated setters. + $this->assertSame(18446744073709551615.0, $stats->pids_stats->limit); + } else { + $this->assertSame(\PHP_INT_MAX, $stats->getPidsStats()->getLimit()); + } + } + private function docker(ResponseInterface ...$responses): Docker { $httpClient = new class([new Response(200, self::JSON, '{}'), ...$responses]) implements ClientInterface { diff --git a/tests/fixtures/socket-server.php b/tests/fixtures/socket-server.php index 070b464ea..0ff25d471 100644 --- a/tests/fixtures/socket-server.php +++ b/tests/fixtures/socket-server.php @@ -17,7 +17,12 @@ ? ['status' => 101, 'body' => 'stream-output', 'headers' => ['Connection' => 'Upgrade', 'Upgrade' => 'tcp']] : ['body' => 'OK']]; -foreach ($responses as $response) { +// Answer the client's unversioned API negotiation ping like a daemon, without +// using up a scripted response. Pings are not reported to the test. +$daemonApiVersion = $config['daemon_api_version'] ?? '1.99'; +$pings = 0; +$response = array_shift($responses); +while (null !== $response) { $connection = stream_socket_accept($server, 5); if (false === $connection) { throw new RuntimeException('No test client connected.'); @@ -49,6 +54,14 @@ } } + if (($config['negotiation'] ?? true) && str_starts_with($request, "GET /_ping HTTP/1.1\r\n") && $pings < 3) { + ++$pings; + $headers = null === $daemonApiVersion ? '' : 'API-Version: '.$daemonApiVersion."\r\n"; + fwrite($connection, "HTTP/1.1 200 OK\r\n".$headers."Content-Length: 2\r\nConnection: close\r\n\r\nOK"); + fclose($connection); + continue; + } + $result = ['request' => $request, 'body' => $body]; $options = stream_context_get_options($connection); if (isset($options['ssl']['peer_certificate'])) { @@ -81,5 +94,6 @@ } } fclose($connection); + $response = array_shift($responses); } fclose($server); From 3df8a6135498617798a019ab42ee2147e39f83c7 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 16:00:39 +0100 Subject: [PATCH 127/142] docs: document the 4.0 client Describe API line selection, version negotiation and the new defaults. Add a 3.x upgrade section and make examples work on every API line. --- CONTRIBUTING.md | 2 +- DOCUMENTATION.md | 4 +- README.md | 81 ++++++++++--------- docs/api-versions.mdx | 98 ++++++++++++----------- docs/connection.mdx | 11 +-- docs/contributing.mdx | 2 +- docs/cookbook/build-image.mdx | 47 ++++++----- docs/cookbook/container-run.mdx | 6 +- docs/guides/events-and-stats.mdx | 33 ++++---- docs/guides/guzzle.mdx | 15 ++-- docs/guides/interactive-exec.mdx | 1 - docs/guides/registry.mdx | 15 ++-- docs/index.mdx | 10 ++- docs/installation.mdx | 13 +-- docs/migration.mdx | 94 ++++++++++++++++++---- docs/reference/requests-and-responses.mdx | 24 +++--- docs/reference/streams.mdx | 12 +-- 17 files changed, 275 insertions(+), 193 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6a10cf29e..d53bf296d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -69,7 +69,7 @@ $ git push -f origin feature-or-bug-fix-description ## Documentation -Documentation for the 3.0 release lives in `docs/` and uses Mintlify. +Documentation for the 4.0 release lives in `docs/` and uses Mintlify. See [DOCUMENTATION.md](DOCUMENTATION.md) for the local preview, validation commands and hosted setup. Test examples against a development Docker daemon, and keep instructions for unreleased packages clearly marked. diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 44d89819d..ad4337492 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -1,6 +1,6 @@ # Documentation development -The Docker PHP 3.0 documentation uses Mintlify. Its source lives in `docs/` in +The Docker PHP 4.0 documentation uses Mintlify. Its source lives in `docs/` in this repository, alongside the client code. This replaces the legacy MkDocs configuration; earlier documentation remains available in Git history. @@ -89,7 +89,7 @@ review the draft and confirm the destination before doing that. ## Before publishing package releases -- Review the v3.0 migration instructions and test their examples. +- Review the 4.0 migration instructions and test their examples. - Confirm the connected repository, branch and docs path. - Check the hosted site's navigation, mobile layout and internal links. - Configure a custom documentation hostname and DNS separately if needed. diff --git a/README.md b/README.md index 31ef3e29f..886602013 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This library aims to reach 100% API support of the Docker Engine. ## Documentation -The [version 3.x documentation](https://docker-php.mintlify.site/) is available. +The [version 4.x documentation](https://docker-php.mintlify.site/) is available. Its source lives in [docs/](docs/); see [DOCUMENTATION.md](DOCUMENTATION.md) to preview and edit it locally. The [legacy documentation](https://docker-php.readthedocs.io/en/latest/) @@ -28,25 +28,24 @@ maintenance of the original `docker-php/docker-php` repository to give you a better upgrade path. Development will continue here, and we will archive `beluga-php/docker-php` once the migration is complete. -Version 3.0 targets Docker Engine API v1.45. We plan -to add the missing API versions and bring support up to the latest Docker Engine -API. See [Upgrading to 3.0](#upgrading-to-30) below for how to migrate from -existing releases. +Version 4.0 works with Docker Engine API v1.45 to v1.56. See +[Upgrading to 4.0](#upgrading-to-40) below for how to migrate from existing +releases. ## Requirements - PHP 8.1 or later, with the `mbstring` extension. - [Composer](https://getcomposer.org/). -- Access to a Docker daemon that accepts API v1.45 requests. +- Access to a Docker daemon with API v1.45 or later (Docker Engine 26.0 or later). ## Installation ```bash -composer require "docker-php/docker-php:^3.0" +composer require "docker-php/docker-php:^4.0" ``` -Composer installs `docker-php/docker-php-api` as a dependency. The 3.0 release -targets Docker API v1.45 and requires the matching generated API package. +Composer also installs `docker-php/docker-php-api`, choosing the newest API line +unless you require one. See [Docker API versions](#docker-api-versions). ## Usage @@ -79,58 +78,64 @@ These guides cover callback streams, TTY output and raw response framing. ## Docker API versions -See the official [Docker Engine API v1.45 reference](https://docs.docker.com/reference/api/engine/version/v1.45/) -for endpoint descriptions, parameters and response schemas matching this API line. +Each Docker Engine API version has its own `docker-php/docker-php-api` line with +generated endpoints and models. The line uses the four-part version +`Jane-major.Docker-major.Docker-minor.revision`: `7.1.56.0` means Docker API 1.56, +generated with Jane 7, revision 0. To use a specific version, require its line: -The client package follows semantic versioning. The generated API package uses -`Jane-major.Docker-major.Docker-minor.revision`: `7.1.45.0` means Docker API 1.45, -generated with Jane 7, revision 0. - -Keep generated API dependencies within one Docker specification. The -3.0 client uses this range: - -```json -"docker-php/docker-php-api": ">=7.1.45.0 <7.1.46.0" +```bash +composer require "docker-php/docker-php:^4.0" "docker-php/docker-php-api:>=7.1.51.0 <7.1.52.0" ``` -With the default connection factory, `DOCKER_API_VERSION` overrides the version -in request URLs: +Pin a line if your code names generated models or calls methods that differ +between versions. See the official +[Docker Engine API reference](https://docs.docker.com/reference/api/engine/) for +each version's endpoints, parameters and response schemas. -```bash -DOCKER_API_VERSION=1.52 php your-script.php -``` +The bundled connection factory negotiates the version in request URLs: it uses +the lower of the installed line and the daemon's maximum API version, as the +Docker CLI does. `DOCKER_API_VERSION` or the factory's `api_version` option fix +the version instead. Changing the URL version does not change the generated +models. See [API versions](https://docker-php.mintlify.site/api-versions). + +## Upgrading to 4.0 -Since 3.1.0, the factory's `api_version` option can pin the request version -directly in PHP. It takes precedence over `DOCKER_API_VERSION`. See -[connection settings](https://docker-php.mintlify.site/connection#factory-options). +### From docker-php 3.x -The generated endpoints and models still describe API v1.45. Changing the URL -version does not add newer API fields or endpoints. The client does not -automatically negotiate an API version with the daemon. +- Composer now installs the newest API line unless you require one. Require + `docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0` to keep the 3.x models. +- Requests negotiate the API version with the daemon unless you set one. +- Error statuses the generated endpoints do not handle throw an + `UnexpectedStatusCodeException`. Call `throwOnUnexpectedStatus(false)` to + return `null` instead. +- `Context` applies `.dockerignore`. Call `applyDockerignore(false)` to archive + the whole directory. -## Upgrading to 3.0 +Applications that cannot upgrade yet can stay on `^3.3`. See the +[upgrade guide](https://docker-php.mintlify.site/migration#from-3-x) for model +changes between API versions. ### From docker-php 2.x -Version 3.0 requires PHP 8.1 or later, PSR-7 v2 and Jane 7-generated models. +Version 4.0 requires PHP 8.1 or later, PSR-7 v2 and Jane 7-generated models. Review endpoint signatures, model types and HTTP client dependencies before upgrading. Check log and exec consumers against the [streaming documentation](https://docker-php.mintlify.site/reference/streams). -Change the client requirement to `docker-php/docker-php:^3.0`. Remove an explicit -`docker-php/docker-php-api:4.1.*` requirement, or change it to the API 1.45 range +Change the client requirement to `docker-php/docker-php:^4.0`. Remove an explicit +`docker-php/docker-php-api:4.1.*` requirement, or change it to one API line as shown above. Update dependencies, test your application and commit its updated `composer.lock`. ### From beluga-php -Version 3.0 continues the client maintained under `beluga-php/docker-php`. +Version 4.0 continues the client maintained under `beluga-php/docker-php`. The PHP namespaces remain `Docker` and `Docker\API`. Remove the `beluga-php/docker-php` requirement and any explicit `beluga-php/docker-php-api` requirement from `composer.json`. Add -`docker-php/docker-php:^3.0`; add the API 1.45 range above if your application -requires the generated API package directly. Resolve the package changes +`docker-php/docker-php:^4.0`; to keep the Beluga v1.45 models, also require +`docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0`. Resolve the package changes together, then test the application and commit its updated `composer.lock`. Install one package family at a time: the Beluga and original packages contain diff --git a/docs/api-versions.mdx b/docs/api-versions.mdx index d477ad4aa..e95ca3813 100644 --- a/docs/api-versions.mdx +++ b/docs/api-versions.mdx @@ -1,53 +1,57 @@ --- title: "API versions" -description: "Pin generated models to one Docker Engine API specification." +description: "Choose a Docker Engine API version and how requests negotiate with the daemon." --- -## Docker Engine API reference +## Choose an API version -The official [Docker Engine API v1.45 reference](https://docs.docker.com/reference/api/engine/version/v1.45/) -describes the endpoints, parameters and response schemas used by this API line. -Use it alongside these PHP examples; generated method signatures and model -setters describe how to pass those values in PHP. +Docker PHP 4.0 works with Docker Engine API v1.45 to v1.56. Each version has its +own `docker-php/docker-php-api` release line with generated endpoints and +models. Without a direct API requirement, Composer installs the newest line. -## Two package versions +To use a specific version, require its line next to the client: -`docker-php/docker-php` follows semantic versioning. Its 3.0 release -targets Docker Engine API v1.45. - -`docker-php/docker-php-api` uses a four-part scheme: -`Jane-major.Docker-major.Docker-minor.revision`. For example, `7.1.45.0` means -Docker Engine API v1.45, generated with Jane 7, revision 0. It is not the version -of the high-level client. - -Keep generated API requirements within one specification: - -```json -{ - "require": { - "docker-php/docker-php": "^3.0", - "docker-php/docker-php-api": ">=7.1.45.0 <7.1.46.0" - } -} +```bash +composer require "docker-php/docker-php:^4.0" "docker-php/docker-php-api:>=7.1.51.0 <7.1.52.0" ``` -The client already requires that API range. Add a direct API requirement only -if your application needs one. Avoid broad API constraints such as `^7.1.45.0`: -they also allow other Docker specifications. +Pin a line if your code names generated models or calls methods that differ +between versions. Docker renames models and changes fields between API versions; +for example, API 1.48 replaced `ContainersIdJsonGetResponse200` with +`ContainerInspectResponse`, and API 1.52 removed `getError()` from build, pull and +push progress frames. Check Docker's +[API version history](https://docs.docker.com/reference/api/engine/version-history/) +and the [Docker Engine API reference](https://docs.docker.com/reference/api/engine/) +for the version you use. + +## Package versions + +`docker-php/docker-php` follows semantic versioning. + +`docker-php/docker-php-api` uses a four-part scheme: +`Jane-major.Docker-major.Docker-minor.revision`. For example, `7.1.56.0` means +Docker Engine API v1.56, generated with Jane 7, revision 0. Keep a direct API +requirement within one line, as above. A constraint such as `^7.1.45.0` allows +every newer Docker specification. ## Request URL version -The default factory uses `/v1.45` in request URLs. `DOCKER_API_VERSION` can -override the URL version: +The bundled factory negotiates the version in request URLs. Before the first +request it sends an unversioned `/_ping` and reads the daemon's maximum API +version from the response. Requests then use the lower of that version and the +installed API line, as the Docker CLI does. An older daemon keeps working with a +newer API package, and requests never ask for a version the installed models do +not describe. `DockerClientFactory::defaultApiVersion()` returns the installed +line's version. + +To skip negotiation, set the version yourself. `DOCKER_API_VERSION` sets it from +the environment: ```bash -DOCKER_API_VERSION=1.45 php your-script.php +DOCKER_API_VERSION=1.51 php your-script.php ``` -Both `1.45` and `v1.45` are accepted. Choose a version supported by your daemon -and compatible with the endpoints you use. - -Since client 3.1.0, you can pin the request version directly in PHP: +The factory's `api_version` option sets it in PHP and overrides the environment: ```php 'unix:///var/run/docker.sock', - 'api_version' => '1.45', + 'api_version' => '1.51', ]); $docker = Docker::create($httpClient, [], [], false); ``` -An explicit `api_version` overrides `DOCKER_API_VERSION`. Without it, the -environment setting and default remain unchanged. The fourth argument disables -the generated server plugins because the factory already adds the API path. +Both `1.51` and `v1.51` are accepted. The fourth argument disables the generated +server plugins because the factory already adds the API path. + +A client you build yourself, such as [Guzzle](/guides/guzzle), does not negotiate. +The generated server plugins prefix requests with the installed line's version, +so install a line your daemon supports. Changing the URL version does not regenerate models or add newer fields and -endpoints. The client does not automatically negotiate an API version with the -daemon. +endpoints. With an older daemon, fields added after its API version are absent +from responses and ignored in requests. ## Generated code -The API repository contains the -[v1.45 specification](https://github.com/docker-php/docker-php-api/blob/main/spec/v1.45.json) -and [Jane configuration](https://github.com/docker-php/docker-php-api/blob/main/.jane-openapi). -Generation requires Jane 7.14.4 or later within the Jane 7 release line and -uses upstream output without local patches. See the +Each line is generated from Docker's specification for that version with Jane +7.14.4, without local patches. The API repository has one branch per line, +such as [`7.1.56`](https://github.com/docker-php/docker-php-api/tree/7.1.56); see its [generation instructions](https://github.com/docker-php/docker-php-api#generation). - -Newer API lines will need their own generated code and compatible client -requirements. They are separate work after the initial restored release. diff --git a/docs/connection.mdx b/docs/connection.mdx index 37166f587..7bebfd91b 100644 --- a/docs/connection.mdx +++ b/docs/connection.mdx @@ -86,7 +86,7 @@ use Docker\DockerClientFactory; $httpClient = DockerClientFactory::create([ 'remote_socket' => 'unix:///var/run/docker.sock', - 'api_version' => '1.45', + 'api_version' => '1.51', 'timeout' => 10000, ]); @@ -98,10 +98,11 @@ adds the daemon address and versioned path. See [the factory implementation](https://github.com/docker-php/docker-php/blob/main/src/DockerClientFactory.php) for the plugins it configures. -`api_version` pins the request path in PHP, even if `DOCKER_API_VERSION` is set -on the process. It accepts `1.45`, `v1.45` or `/v1.45`. If omitted, the factory -uses `DOCKER_API_VERSION`, falling back to `1.45`. The timeout is in milliseconds. -The `api_version` option requires client `3.1.0` or later. +`api_version` fixes the request path in PHP, even if `DOCKER_API_VERSION` is set +on the process. It accepts `1.51`, `v1.51` or `/v1.51`. If omitted, the factory +uses `DOCKER_API_VERSION`; without either, it +[negotiates](/api-versions#request-url-version) with the daemon. The timeout is +in milliseconds. For a private CA without client certificates, pass the CA file directly: diff --git a/docs/contributing.mdx b/docs/contributing.mdx index 8e7b97efe..2a0d9a151 100644 --- a/docs/contributing.mdx +++ b/docs/contributing.mdx @@ -49,7 +49,7 @@ keep examples aligned with the current API models. Do not edit generated API code to make an example work. Keep unreleased instructions clearly marked until their packages are published. -Avoid documenting legacy `DockerAsync` behavior as part of 3.0. +Avoid documenting legacy `DockerAsync` behavior as part of 4.0. ## Pull requests diff --git a/docs/cookbook/build-image.mdx b/docs/cookbook/build-image.mdx index 05dc91503..0423ff046 100644 --- a/docs/cookbook/build-image.mdx +++ b/docs/cookbook/build-image.mdx @@ -24,14 +24,16 @@ require __DIR__ . '/vendor/autoload.php'; use Docker\API\Model\BuildInfo; use Docker\Context\Context; use Docker\Docker; +use Docker\Stream\FrameError; $docker = Docker::create(); $context = new Context(__DIR__ . '/build'); $build = $docker->imageBuild($context->toStream(), ['t' => 'docker-php-example:latest']); $build->onFrame(function (BuildInfo $frame): void { - if ($frame->getError() !== null) { - throw new RuntimeException($frame->getError()); + $error = FrameError::message($frame); + if ($error !== null) { + throw new RuntimeException($error); } echo $frame->getStream() ?? ''; @@ -44,23 +46,21 @@ of completed build results. The callback receives generated `BuildInfo` models. Check the frames for daemon-reported build errors as well as handling endpoint exceptions. -`Context` requires `tar` on the machine running PHP. By default it archives the -whole directory. To leave out the paths a `.dockerignore` file in that -directory excludes, as `docker build` does, opt in: +`Context` requires GNU or BSD `tar` on the machine running PHP. It leaves out +the paths a `.dockerignore` file in the context directory excludes, as +`docker build` does. Patterns follow the Docker CLI: `*`, `?`, character +classes, `**` for any number of directories, `!` to re-include a path, and the +last matching pattern wins. The `Dockerfile` and `.dockerignore` are always +sent, because the daemon reads them; it then drops them if your patterns +exclude them. If you build with a differently named Dockerfile through the +`dockerfile` option, add a `!` exception for it. + +To archive the whole directory, as 3.x did by default: ```php -$context = (new Context(__DIR__ . '/build'))->applyDockerignore(); +$context = (new Context(__DIR__ . '/build'))->applyDockerignore(false); ``` -Patterns follow the Docker CLI: `*`, `?`, character classes, `**` for any -number of directories, `!` to re-include a path, and the last matching pattern -wins. The `Dockerfile` and `.dockerignore` are always sent, because the daemon -reads them; it then drops them if your patterns exclude them. If you build -with a differently named Dockerfile through the `dockerfile` option, add a -`!` exception for it. `applyDockerignore()` requires `3.3.0` or later and GNU -or BSD `tar`. Without it, a context with a `.dockerignore` file triggers a -deprecation notice; applying the file becomes the default in 4.0. - The example leaves the tagged image on your development daemon. Remove that specific image when you no longer need it. @@ -80,8 +80,9 @@ $build = $docker->imageBuild($context->toStream(), [ 'pull' => 'true', ]); $build->onFrame(function (BuildInfo $frame): void { - if ($frame->getError() !== null) { - throw new RuntimeException($frame->getError()); + $error = FrameError::message($frame); + if ($error !== null) { + throw new RuntimeException($error); } echo $frame->getStream() ?? ''; }); @@ -119,8 +120,9 @@ $context = $builder $build = $docker->imageBuild($context->toStream(), ['t' => 'docker-php-example:generated']); $build->onFrame(function (BuildInfo $frame): void { - if ($frame->getError() !== null) { - throw new RuntimeException($frame->getError()); + $error = FrameError::message($frame); + if ($error !== null) { + throw new RuntimeException($error); } echo $frame->getStream() ?? ''; }); @@ -152,8 +154,9 @@ $build = $docker->imageBuild( ['X-Registry-Config' => $registryConfig] ); $build->onFrame(function (BuildInfo $frame): void { - if ($frame->getError() !== null) { - throw new RuntimeException($frame->getError()); + $error = FrameError::message($frame); + if ($error !== null) { + throw new RuntimeException($error); } echo $frame->getStream() ?? ''; }); @@ -166,7 +169,7 @@ just its hostname. Do not include registry-config headers in request logs. ## Builder backend limits -The v1.45 spec defaults the `version` query parameter to the classic builder +Docker's specification defaults the `version` query parameter to the classic builder (`'1'`). Whether that builder is available depends on your daemon. Merely setting `version => '2'` does not implement BuildKit session handling, secret mounts, SSH forwarding or Buildx workflows in this client. Validate the backend diff --git a/docs/cookbook/container-run.mdx b/docs/cookbook/container-run.mdx index 5a08b123c..0a5761607 100644 --- a/docs/cookbook/container-run.mdx +++ b/docs/cookbook/container-run.mdx @@ -19,6 +19,7 @@ require __DIR__ . '/vendor/autoload.php'; use Docker\API\Model\ContainersCreatePostBody; use Docker\API\Model\CreateImageInfo; use Docker\Docker; +use Docker\Stream\FrameError; $docker = Docker::create(); @@ -27,8 +28,9 @@ $pull = $docker->imageCreate(null, [ 'tag' => 'latest', ]); $pull->onFrame(function (CreateImageInfo $frame): void { - if ($frame->getError() !== null) { - throw new RuntimeException($frame->getError()); + $error = FrameError::message($frame); + if ($error !== null) { + throw new RuntimeException($error); } }); $pull->wait(); diff --git a/docs/guides/events-and-stats.mdx b/docs/guides/events-and-stats.mdx index 50ddd966a..ad92e4c78 100644 --- a/docs/guides/events-and-stats.mdx +++ b/docs/guides/events-and-stats.mdx @@ -46,22 +46,20 @@ assuming no events were lost. Keep slow work out of the synchronous callback. ## Read one stats sample `containerStats()` streams by default and returns a `StatsStream` (see -[continuous stats](#continuous-stats)). Set `stream => false` to get one -decoded sample instead: +[continuous stats](#continuous-stats)). Set `stream => false` to get one sample +instead: ```php $stats = $docker->containerStats('my-container', ['stream' => false]); -if (!is_object($stats)) { - throw new RuntimeException('Expected a decoded stats object'); -} -printf("Memory usage: %s bytes\n", (string) ($stats->memory_stats->usage ?? 'unavailable')); +printf("Memory usage: %s bytes\n", (string) ($stats?->getMemoryStats()?->getUsage() ?? 'unavailable')); ``` -This is a plain decoded object, not a generated stats model with getters. -Use null checks: cgroup versions and daemon configuration affect which fields -are present. `one-shot => true` can reduce waiting for a single sample, but -must be combined with `stream => false` and may not provide the previous CPU -sample needed for a percentage calculation. +From API 1.48, samples are generated `ContainerStatsResponse` models. With an +earlier [API line](/api-versions), they are decoded `stdClass` objects: read +`$stats->memory_stats->usage` instead. Use null checks: cgroup versions and +daemon configuration affect which fields are present. `one-shot => true` can +reduce waiting for a single sample, but must be combined with `stream => false` +and may not provide the previous CPU sample needed for a percentage calculation. Raw memory usage is not necessarily the cache-adjusted value shown by the Docker CLI. Likewise, CPU percentage needs current/previous CPU counters, @@ -73,21 +71,22 @@ version before calculating percentages. With the default `stream => true`, `containerStats()` returns a `StatsStream`. Docker sends a sample about once a second until the container stops, so call -`stop()` once you have what you need. Its callback receives each sample as the -same decoded object as `stream => false`: +`stop()` once you have what you need. Its callback receives each sample in the +same form as `stream => false`: ```php containerStats('my-container'); $samples = 0; -$stats->onFrame(function (stdClass $sample) use ($stats, &$samples): void { - printf("Memory usage: %s bytes\n", (string) ($sample->memory_stats->usage ?? 'unavailable')); +$stats->onFrame(function (ContainerStatsResponse $sample) use ($stats, &$samples): void { + printf("Memory usage: %s bytes\n", (string) ($sample->getMemoryStats()?->getUsage() ?? 'unavailable')); if (++$samples === 5) { $stats->stop(); @@ -99,9 +98,9 @@ $stats->wait(); `stop()` closes the response body, and `wait()` returns after the current sample's callbacks have run. Each sample's `precpu_stats` holds the previous reading, so a CPU percentage can be calculated from the second sample onwards. +With an API line before 1.48, type the callback parameter as `stdClass`. -`StatsStream` requires `3.3.0` or later. Earlier clients have no stats wrapper; -use `stream => false` there. Live samples need a transport that reads +Live samples need a transport that reads incrementally, such as the bundled socket client. Guzzle's cURL handler buffers the whole response; see [HTTP clients](/guides/guzzle). Keep the reader in a worker rather than an ordinary web request, and see diff --git a/docs/guides/guzzle.mdx b/docs/guides/guzzle.mdx index abb65d064..2a4a60948 100644 --- a/docs/guides/guzzle.mdx +++ b/docs/guides/guzzle.mdx @@ -50,7 +50,6 @@ use Docker\DockerClientFactory; $httpClient = DockerClientFactory::create([ 'remote_socket' => 'unix:///run/custom/docker.sock', - 'api_version' => '1.45', 'timeout' => 10000, ]); @@ -61,9 +60,8 @@ The fourth argument is `false` because this factory already configures the API path. For HTTP, HTTPS and certificate examples, see [connection settings](/connection#factory-options). -The explicit `api_version` option overrides `DOCKER_API_VERSION` and requires -client `3.1.0` or later. Omit it on `3.0.0` to use the environment setting or -the default API version `1.45`. +The factory negotiates the API version with the daemon. To fix a version, add +the `api_version` option; see [API versions](/api-versions#request-url-version). `DockerClientFactory` includes `StreamingDecoderPlugin` automatically. If you build your own socket client and plugin chain, see @@ -152,10 +150,11 @@ expose an unauthenticated daemon to an untrusted network. ### Paths, timeouts and streaming -Use the daemon's root URL for `base_uri`, without `/v1.45`. These Guzzle examples -keep the generated server plugins enabled, so Docker PHP adds the API path. -`DOCKER_API_VERSION` configures the bundled factory; it does not override this -Guzzle client. Do not copy the bundled example's fourth argument (`false`) into +Use the daemon's root URL for `base_uri`, without a version such as `/v1.56`. +These Guzzle examples keep the generated server plugins enabled, so Docker PHP +adds the installed API line's path. Guzzle clients do not negotiate, and +`DOCKER_API_VERSION` only configures the bundled factory, so install an +[API line](/api-versions) your daemon supports. Do not copy the bundled example's fourth argument (`false`) into these examples. The empty `proxy` option disables HTTP proxy environment settings. Configure diff --git a/docs/guides/interactive-exec.mdx b/docs/guides/interactive-exec.mdx index 9904ef5b2..1cdd207cf 100644 --- a/docs/guides/interactive-exec.mdx +++ b/docs/guides/interactive-exec.mdx @@ -30,7 +30,6 @@ use Docker\DockerClientFactory; $docker = Docker::create(DockerClientFactory::createInteractive([ 'remote_socket' => 'unix:///var/run/docker.sock', - 'api_version' => '1.45', 'timeout' => 2000, ]), [], [], false); diff --git a/docs/guides/registry.mdx b/docs/guides/registry.mdx index ea2a87fe3..a0f0c48c2 100644 --- a/docs/guides/registry.mdx +++ b/docs/guides/registry.mdx @@ -27,6 +27,7 @@ require __DIR__ . '/vendor/autoload.php'; use Docker\API\Model\CreateImageInfo; use Docker\Docker; +use Docker\Stream\FrameError; $docker = Docker::create(); $username = getenv('DOCKER_REGISTRY_USER'); @@ -47,10 +48,11 @@ $pull = $docker->imageCreate(null, [ ], ['X-Registry-Auth' => $auth]); $pull->onFrame(function (CreateImageInfo $frame): void { - if ($frame->getError() !== null) { - throw new RuntimeException($frame->getError()); + $error = FrameError::message($frame); + if ($error !== null) { + throw new RuntimeException($error); } - printf("%s %s\n", $frame->getStatus() ?? '', $frame->getProgress() ?? ''); + echo ($frame->getStatus() ?? ''), "\n"; }); $pull->wait(); ``` @@ -84,10 +86,11 @@ $push = $docker->imagePush('registry.example.com/team/app', ['tag' => 'example'] 'X-Registry-Auth' => $authConfig, ]); $push->onFrame(function (PushImageInfo $frame): void { - if ($frame->getError() !== null) { - throw new RuntimeException($frame->getError()); + $error = FrameError::message($frame); + if ($error !== null) { + throw new RuntimeException($error); } - printf("%s %s\n", $frame->getStatus() ?? '', $frame->getProgress() ?? ''); + echo ($frame->getStatus() ?? ''), "\n"; }); $push->wait(); ``` diff --git a/docs/index.mdx b/docs/index.mdx index 278a096a0..7c631b7aa 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -8,12 +8,14 @@ endpoint methods and models, connection handling, and decoded log and command output streams. -These docs cover the Docker PHP 3.0 client and Docker API package 7.1.45.0. +These docs cover the Docker PHP 4.0 client, which works with Docker Engine API +v1.45 to v1.56. For 3.x, see the [upgrade guide](/migration#from-3-x). -The first restored release targets Docker Engine API v1.45. The PHP namespaces -remain `Docker` and `Docker\API`, including for applications migrating from -Beluga. +Choose a Docker API version by installing its +[API package line](/api-versions); requests negotiate with the daemon. The PHP +namespaces remain `Docker` and `Docker\API`, including for applications +migrating from Beluga. diff --git a/docs/installation.mdx b/docs/installation.mdx index 59d2382dd..89f023211 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -7,24 +7,25 @@ description: "Install the client and its matching generated API package." - PHP 8.1 or later, with the `mbstring` extension. - [Composer](https://getcomposer.org/). -- Access to a Docker daemon that accepts API v1.45 requests. +- Access to a Docker daemon with API v1.45 or later (Docker Engine 26.0 or later). ## Stable installation ```bash -composer require "docker-php/docker-php:^3.0" +composer require "docker-php/docker-php:^4.0" ``` -Composer installs the matching `docker-php/docker-php-api` dependency. If your -application requires the API package directly, keep its constraint within one -[API line](/api-versions). +Composer also installs `docker-php/docker-php-api`, choosing the newest +[API line](/api-versions) unless you require one. Requests negotiate with the +daemon, so an older daemon still works. Require a specific line if your code +depends on generated model names or fields. ## Test the development version For a disposable test application, explicitly allow both development packages: ```bash -composer require "docker-php/docker-php:3.0.x-dev" "docker-php/docker-php-api:7.1.45.x-dev" --with-all-dependencies +composer require "docker-php/docker-php:4.0.x-dev" --with-all-dependencies ``` Do not use these moving development versions for an unattended production diff --git a/docs/migration.mdx b/docs/migration.mdx index 55e364185..9e55577f3 100644 --- a/docs/migration.mdx +++ b/docs/migration.mdx @@ -1,22 +1,85 @@ --- -title: "Upgrade to 3.0" -description: "Migrate from the original packages or the Beluga fork." +title: "Upgrade to 4.0" +description: "Migrate from 3.x, the original packages or the Beluga fork." --- +## From 3.x + +Change the client requirement to `docker-php/docker-php:^4.0`. Applications that +cannot upgrade yet can stay on `^3.3`, which keeps Docker Engine API v1.45. + +### API version + +4.0 works with API v1.45 to v1.56, and Composer installs the newest API line +unless you require one. Generated models and their methods differ between +versions. To keep the 3.x models, require the v1.45 line: + +```bash +composer require "docker-php/docker-php:^4.0" "docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0" +``` + +To move to a newer line, check the models your code names. For example: + +- API 1.46 renamed `NetworksCreatePostResponse201` to `NetworkCreateResponse`. +- API 1.48 renamed `ContainersIdJsonGetResponse200` to `ContainerInspectResponse` + and added `ContainerStatsResponse`. +- API 1.52 removed `getError()` from `BuildInfo`, `CreateImageInfo` and + `PushImageInfo`. Use `Docker\Stream\FrameError::message($frame)`, which works + with every line. + +See [API versions](/api-versions) and Docker's +[API version history](https://docs.docker.com/reference/api/engine/version-history/). + +### Request version negotiation + +Without `api_version` or `DOCKER_API_VERSION`, the bundled factory now sends an +unversioned `/_ping` before its first request and uses the lower of the daemon's +API version and the installed line. Setting either keeps a fixed version, as in +3.x. + +### Unexpected error statuses throw + +An error status of 400 or above that the generated endpoint does not handle now +throws `UnexpectedClientErrorException` or `UnexpectedServerErrorException`. +In 3.x those calls returned `null`. To keep that behaviour: + +```php +$docker = Docker::create()->throwOnUnexpectedStatus(false); +``` + +See [unexpected error statuses](/reference/requests-and-responses#unexpected-error-statuses). + +### `.dockerignore` is applied + +`Context` now leaves out the paths a context's `.dockerignore` excludes, as +`docker build` does. To archive the whole directory as 3.x did, call +`applyDockerignore(false)` on the context. + +### Stats samples + +From API 1.48, `containerStats()` returns `ContainerStatsResponse` models, for one +sample and for each `StatsStream` frame. Earlier lines still return decoded +`stdClass` objects. + +### Subclasses of `Docker` + +`Docker::systemEvents()` has a new optional `$accept` parameter. A subclass that +overrides it needs the same parameter. + ## From the original 2.x client The new client requires PHP 8.1 or later, the `mbstring` extension, PSR-7 v2 and Jane 7 runtimes. Check your application's other dependencies against these requirements before changing its Composer constraints. -Change the client requirement to `docker-php/docker-php:^3.0`. Remove an explicit -`docker-php/docker-php-api:4.1.*` requirement, or change it to -`>=7.1.45.0 <7.1.46.0` if your application depends on the API package directly. +Change the client requirement to `docker-php/docker-php:^4.0`. Remove an explicit +`docker-php/docker-php-api:4.1.*` requirement, or change it to one +[API line](/api-versions) if your application depends on the API package directly. ```json { "require": { - "docker-php/docker-php": "^3.0" + "docker-php/docker-php": "^4.0" } } ``` @@ -29,11 +92,12 @@ composer update docker-php/docker-php docker-php/docker-php-api --with-all-depen Review endpoint signatures and generated model types. The PHP namespaces remain `Docker` and `Docker\API`, but that does not make all old API models or calling -patterns compatible. The specification changes from the old API line to v1.45. +patterns compatible. The specification changes from the old API line to the one +you install. The changes from 3.x above also apply. ### Asynchronous client -The old `DockerAsync` client and its Amp/Artax examples do not apply to 3.0. +The old `DockerAsync` client and its Amp/Artax examples do not apply to 4.0. The maintained client uses synchronous endpoint calls and callback streams. Applications using `DockerAsync` need to adapt those call sites; this is not a drop-in replacement for the old promise-based client. @@ -59,8 +123,9 @@ For applications on the Beluga API v1.45 line, the package-name migration does not require a PHP namespace change. Remove both Beluga requirements from your application's `composer.json`, if -present. Add `docker-php/docker-php:^3.0`. If you require the API package -directly, add `docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0` as well. +present. Add `docker-php/docker-php:^4.0`. If you require the API package +directly, add the matching line as well, for example +`docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0` for the Beluga v1.45 models. Do not install both package families together: they contain the same PHP classes and the new packages declare conflicts with their Beluga counterparts. @@ -72,8 +137,8 @@ composer update --with-all-dependencies ``` Run that broader update in a test checkout, review unrelated dependency changes, -and commit the tested lock file. If you use another Beluga Docker API line, -review the endpoint and model changes to v1.45 before switching. +and commit the tested lock file. The changes from 3.x above also apply. If you +use another Beluga Docker API line, require the matching line here. ## Verify the application @@ -84,6 +149,7 @@ review the endpoint and model changes to v1.45 before switching. - Commit `composer.lock` and keep the prior release and lock file available for rollback before deploying. -Existing bounded client constraints such as `^2.0` do not automatically admit -3.0. Existing API `4.1.*` constraints do not admit the new 7.x packages. Broad or +Existing bounded client constraints such as `^2.0` or `^3.0` do not +automatically admit 4.0. Existing API `4.1.*` constraints do not admit the new +7.x packages. Broad or unbounded requirements do not provide that protection. diff --git a/docs/reference/requests-and-responses.mdx b/docs/reference/requests-and-responses.mdx index f13495660..b57445427 100644 --- a/docs/reference/requests-and-responses.mdx +++ b/docs/reference/requests-and-responses.mdx @@ -3,7 +3,7 @@ title: "Requests and responses" description: "Understand models, JSON-valued parameters, raw responses and errors." --- -The generated API describes Docker Engine v1.45. `Docker\Docker` extends that +The generated API describes the Docker Engine API version you install. `Docker\Docker` extends that client with connection handling and wrappers for selected streaming endpoints. Use `Docker\Docker`, not `Docker\API\Client`, for those wrappers. @@ -81,6 +81,9 @@ contract, or use a raw response when you need the HTTP status. To make sure a [unexpected status exceptions](#unexpected-error-statuses). For absent or nullable response fields, use null checks or null-safe getters. +Some Docker counters and limits are unsigned 64-bit integers. Values above +`PHP_INT_MAX`, such as the `pids_stats.limit` Docker reports for a container +without a PID limit, are returned as `PHP_INT_MAX`. Inspect responses and create request models serve different purposes; do not send an entire inspect response back as a creation or update payload. @@ -165,15 +168,9 @@ Generated exceptions cover the status codes and JSON responses listed in Docker's API specification. Docker also returns errors the specification leaves out: `containerUpdate()` answers an invalid memory limit with HTTP 400, `networkCreate()` answers a duplicate name with 409, and a proxy in front of -the daemon can return its own errors. Those calls return `null`. +the daemon can return its own errors. -Since `3.3.0` you can make them throw instead: - -```php -$docker = Docker::create()->throwOnUnexpectedStatus(); -``` - -An error status of 400 or above that the endpoint does not handle then throws +An error status of 400 or above that the endpoint does not handle throws `Docker\Exception\UnexpectedClientErrorException` (4xx) or `UnexpectedServerErrorException` (5xx). Both extend `Docker\Exception\UnexpectedStatusCodeException`, which exposes the status @@ -184,10 +181,11 @@ interfaces, so existing `catch` blocks for those still match. Success responses are unchanged: a `304` from starting a running container still returns `null`, and raw responses (`FETCH_RESPONSE`) are never checked. -Without the option, these calls keep returning `null` and trigger an -`E_USER_DEPRECATED` notice through `trigger_deprecation()`. Frameworks and -PHPUnit report it in their deprecation logs; plain PHP needs an error handler -to see it. Throwing becomes the default in 4.0. +To return `null` for these responses instead, as 3.x did by default: + +```php +$docker = Docker::create()->throwOnUnexpectedStatus(false); +``` Do not automatically retry every failed request. A connection failure after submission can leave the operation's outcome unknown. Reconcile the container diff --git a/docs/reference/streams.mdx b/docs/reference/streams.mdx index 766228b36..4ac3438bc 100644 --- a/docs/reference/streams.mdx +++ b/docs/reference/streams.mdx @@ -4,7 +4,7 @@ description: "Find the calls which return streams, binary bodies, headers or unt --- These calls need more than the usual request-model/response-model pattern. -The table describes the restored client with the API v1.45 package. +The table applies to every supported API line. | Call | Default result / special behavior | Guide | | --- | --- | --- | @@ -14,7 +14,7 @@ The table describes the restored client with the API v1.45 package. | `containerLogs()` | `DockerRawStream`; TTY-aware output decoding | [Logs](/guides/logs) | | `execStart()` | Attached output stream, or no output when detached | [Exec](/guides/exec) | | `systemEvents()` | `EventStream`, not one event model | [Events and stats](/guides/events-and-stats) | -| `containerStats()` | `StatsStream` by default; one decoded object with `stream=false` | [Events and stats](/guides/events-and-stats#continuous-stats) | +| `containerStats()` | `StatsStream` by default; one sample with `stream=false` | [Events and stats](/guides/events-and-stats#continuous-stats) | | `containerArchive()` / `containerExport()` | Tar response; use a raw endpoint to retain the body | [Archive transfers](/guides/archives) | | `containerArchiveInfo()` | Metadata in a response header, not a response model | [Archive transfers](/guides/archives#read-path-metadata) | | `putContainerArchive()` | Tar request body; successful typed result is `null` | [Archive transfers](/guides/archives#upload-a-tar-archive) | @@ -36,8 +36,9 @@ See [output framing](/guides/logs#output-chunks-and-tty-mode) for the difference between output chunks and lines. Do not decode a whole progress stream with one `json_decode()` call. Check -`getError()` on every build, pull or push frame: HTTP 200 means the stream -opened, not that the operation succeeded. +`Docker\Stream\FrameError::message($frame)` on every build, pull or push +frame: HTTP 200 means the stream opened, not that the operation succeeded. The +helper reads whichever error field the installed API line has. ## Custom socket clients @@ -78,7 +79,8 @@ $httpClient = new PluginClient( $docker = Docker::create($httpClient); ``` -The generated server plugin supplies `/v1.45` in this example. If your custom +The generated server plugin supplies the installed API line's path, such as +`/v1.56`, in this example. If your custom chain already supplies the versioned path, disable the server plugins with `Docker::create($httpClient, [], [], false)` to avoid configuring it twice. From b1401174dd82708ed956e2fc2195e4cb683c17a9 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 16:00:39 +0100 Subject: [PATCH 128/142] chore(release): prepare 4.0.0 Add the 4.0.0 changelog and update the main branch alias. --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ composer.json | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e0449af9..74259d60f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## 4.0.0 + +### Breaking changes + +- Allow every Docker Engine API line from v1.45 to v1.56 + (`docker-php/docker-php-api` `>=7.1.45.0 <7.1.57.0`). Composer installs the + newest line unless you require one; generated model names and fields differ + between lines. Require `>=7.1.45.0 <7.1.46.0` to keep the 3.x models. +- Negotiate the request API version with the daemon when neither `api_version` + nor `DOCKER_API_VERSION` is set: the bundled factory sends an unversioned + `/_ping` first and uses the lower of the daemon's and the installed line's + versions. +- Throw `UnexpectedClientErrorException` or `UnexpectedServerErrorException` for + error statuses the generated endpoints do not handle. Call + `throwOnUnexpectedStatus(false)` to return `null` instead. +- Apply a context's `.dockerignore` by default. Call `applyDockerignore(false)` + to archive the whole directory. +- Add an optional `$accept` parameter to `Docker::systemEvents()`, matching API + 1.52 and later. Subclasses that override it need the same parameter. + +### Added + +- `DockerClientFactory::defaultApiVersion()` returns the installed API line's + version. +- `FrameError::message()` reads the error from build, pull and push progress + frames on every API line. +- Stats samples decode into `ContainerStatsResponse` models from API 1.48. + +### Fixed + +- Decode integers above `PHP_INT_MAX`, such as the `pids_stats.limit` Docker + reports for a container without a PID limit, as `PHP_INT_MAX`. The generated + integer setters rejected them as floats. + +### Removed + +- The 3.3 deprecation notices, and the direct dependency on + `symfony/deprecation-contracts`. + ## 3.3.0 - Add `StatsStream`: `containerStats()` streams samples to `onFrame()` by diff --git a/composer.json b/composer.json index e9fe6690a..a162a1bbd 100644 --- a/composer.json +++ b/composer.json @@ -60,7 +60,7 @@ }, "extra": { "branch-alias": { - "dev-main": "3.3.x-dev" + "dev-main": "4.0.x-dev" } }, "scripts": { From ca82f4145da4aaf76775775258b1d4ff6e50f4df Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 16:12:07 +0100 Subject: [PATCH 129/142] test(docs): use the IDResponse model name from API 1.48 API 1.48 renamed IdResponse to IDResponse. Pick the generated class that exists, since class files are looked up case-sensitively on Linux. --- tests/DocumentationExamplesTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/DocumentationExamplesTest.php b/tests/DocumentationExamplesTest.php index d65492114..ff0019b3a 100644 --- a/tests/DocumentationExamplesTest.php +++ b/tests/DocumentationExamplesTest.php @@ -285,7 +285,11 @@ public function testExecCreatesAndStartsWithConsistentTtySettings(): void public function testExecChecksTheCommandExitCode(): void { $client = $this->client(static fn () => new Response(200, ['Content-Type' => 'application/json'], '{"Running":false,"ExitCode":7}')); - $exec = new \Docker\API\Model\IdResponse(); + // API 1.48 renamed IdResponse to IDResponse; class names are case-sensitive on Linux. + $model = is_file(\dirname((new \ReflectionClass(\Docker\API\Client::class))->getFileName()).'/Model/IDResponse.php') + ? 'Docker\\API\\Model\\IDResponse' + : 'Docker\\API\\Model\\IdResponse'; + $exec = new $model(); $exec->setId('example-exec'); $this->expectException(\RuntimeException::class); $this->expectExceptionMessage('exit status 7'); From a29719c355910a8dd0cfea38f685133e367f74f2 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 16:38:20 +0100 Subject: [PATCH 130/142] docs: lead the upgrade guide with 2.x and Beluga Most applications upgrading to 4.0 come from the original 2.x client or from beluga-php/docker-php 1.45.x. Link both from the docs home page, list them before 3.x in the upgrade guide and README, and point them to the 3.x changes, which also apply to them. Fix the home page card that still said 3.0. --- README.md | 33 ++++++----- docs/index.mdx | 9 ++- docs/migration.mdx | 137 +++++++++++++++++++++++---------------------- 3 files changed, 96 insertions(+), 83 deletions(-) diff --git a/README.md b/README.md index 886602013..98c3fe530 100644 --- a/README.md +++ b/README.md @@ -100,20 +100,10 @@ models. See [API versions](https://docker-php.mintlify.site/api-versions). ## Upgrading to 4.0 -### From docker-php 3.x - -- Composer now installs the newest API line unless you require one. Require - `docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0` to keep the 3.x models. -- Requests negotiate the API version with the daemon unless you set one. -- Error statuses the generated endpoints do not handle throw an - `UnexpectedStatusCodeException`. Call `throwOnUnexpectedStatus(false)` to - return `null` instead. -- `Context` applies `.dockerignore`. Call `applyDockerignore(false)` to archive - the whole directory. - -Applications that cannot upgrade yet can stay on `^3.3`. See the -[upgrade guide](https://docker-php.mintlify.site/migration#from-3-x) for model -changes between API versions. +Most applications come from the original docker-php 2.x client or from +`beluga-php/docker-php` 1.45.x. Follow the section for your current package, +then check the [3.x changes](#from-docker-php-3x), because 4.0 also changes +defaults that 2.x and Beluga applications rely on. ### From docker-php 2.x @@ -141,6 +131,21 @@ together, then test the application and commit its updated `composer.lock`. Install one package family at a time: the Beluga and original packages contain the same PHP classes. +### From docker-php 3.x + +- Composer now installs the newest API line unless you require one. Require + `docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0` to keep the 3.x models. +- Requests negotiate the API version with the daemon unless you set one. +- Error statuses the generated endpoints do not handle throw an + `UnexpectedStatusCodeException`. Call `throwOnUnexpectedStatus(false)` to + return `null` instead. +- `Context` applies `.dockerignore`. Call `applyDockerignore(false)` to archive + the whole directory. + +Applications that cannot upgrade yet can stay on `^3.3`. See the +[upgrade guide](https://docker-php.mintlify.site/migration#from-3-x) for model +changes between API versions. + ## Development Install dependencies and pull the image used by the integration tests: diff --git a/docs/index.mdx b/docs/index.mdx index 7c631b7aa..208c45d85 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -9,7 +9,10 @@ output streams. These docs cover the Docker PHP 4.0 client, which works with Docker Engine API -v1.45 to v1.56. For 3.x, see the [upgrade guide](/migration#from-3-x). +v1.45 to v1.56. Upgrading from the original +[docker-php 2.x](/migration#from-the-original-2-x-client) client, +[beluga-php/docker-php](/migration#from-beluga) or +[docker-php 3.x](/migration#from-3-x)? Start with the upgrade guide. Choose a Docker API version by installing its @@ -21,8 +24,8 @@ migrating from Beluga. Check the requirements and make your first request. - - Migrate from the original packages or Beluga. + + Migrate from docker-php 2.x, Beluga or 3.x. Consume stdout and stderr without Docker frame headers. diff --git a/docs/migration.mdx b/docs/migration.mdx index 9e55577f3..ce39d9c1a 100644 --- a/docs/migration.mdx +++ b/docs/migration.mdx @@ -1,70 +1,12 @@ --- title: "Upgrade to 4.0" -description: "Migrate from 3.x, the original packages or the Beluga fork." +description: "Migrate from the original 2.x client, the Beluga fork or 3.x." --- -## From 3.x - -Change the client requirement to `docker-php/docker-php:^4.0`. Applications that -cannot upgrade yet can stay on `^3.3`, which keeps Docker Engine API v1.45. - -### API version - -4.0 works with API v1.45 to v1.56, and Composer installs the newest API line -unless you require one. Generated models and their methods differ between -versions. To keep the 3.x models, require the v1.45 line: - -```bash -composer require "docker-php/docker-php:^4.0" "docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0" -``` - -To move to a newer line, check the models your code names. For example: - -- API 1.46 renamed `NetworksCreatePostResponse201` to `NetworkCreateResponse`. -- API 1.48 renamed `ContainersIdJsonGetResponse200` to `ContainerInspectResponse` - and added `ContainerStatsResponse`. -- API 1.52 removed `getError()` from `BuildInfo`, `CreateImageInfo` and - `PushImageInfo`. Use `Docker\Stream\FrameError::message($frame)`, which works - with every line. - -See [API versions](/api-versions) and Docker's -[API version history](https://docs.docker.com/reference/api/engine/version-history/). - -### Request version negotiation - -Without `api_version` or `DOCKER_API_VERSION`, the bundled factory now sends an -unversioned `/_ping` before its first request and uses the lower of the daemon's -API version and the installed line. Setting either keeps a fixed version, as in -3.x. - -### Unexpected error statuses throw - -An error status of 400 or above that the generated endpoint does not handle now -throws `UnexpectedClientErrorException` or `UnexpectedServerErrorException`. -In 3.x those calls returned `null`. To keep that behaviour: - -```php -$docker = Docker::create()->throwOnUnexpectedStatus(false); -``` - -See [unexpected error statuses](/reference/requests-and-responses#unexpected-error-statuses). - -### `.dockerignore` is applied - -`Context` now leaves out the paths a context's `.dockerignore` excludes, as -`docker build` does. To archive the whole directory as 3.x did, call -`applyDockerignore(false)` on the context. - -### Stats samples - -From API 1.48, `containerStats()` returns `ContainerStatsResponse` models, for one -sample and for each `StatsStream` frame. Earlier lines still return decoded -`stdClass` objects. - -### Subclasses of `Docker` - -`Docker::systemEvents()` has a new optional `$accept` parameter. A subclass that -overrides it needs the same parameter. +Most applications come from the original `docker-php/docker-php` 2.x client +or from `beluga-php/docker-php` 1.45.x. Follow the section for your current +package, then apply the [changes from 3.x](#from-3-x), because 4.0 also changes +defaults that 2.x and Beluga applications rely on. ## From the original 2.x client @@ -93,7 +35,7 @@ composer update docker-php/docker-php docker-php/docker-php-api --with-all-depen Review endpoint signatures and generated model types. The PHP namespaces remain `Docker` and `Docker\API`, but that does not make all old API models or calling patterns compatible. The specification changes from the old API line to the one -you install. The changes from 3.x above also apply. +you install. Then apply the [changes from 3.x](#from-3-x). ### Asynchronous client @@ -137,8 +79,71 @@ composer update --with-all-dependencies ``` Run that broader update in a test checkout, review unrelated dependency changes, -and commit the tested lock file. The changes from 3.x above also apply. If you -use another Beluga Docker API line, require the matching line here. +and commit the tested lock file. If you use another Beluga Docker API line, +require the matching line here. Then apply the [changes from 3.x](#from-3-x). + +## From 3.x + +Change the client requirement to `docker-php/docker-php:^4.0`. Applications that +cannot upgrade yet can stay on `^3.3`, which keeps Docker Engine API v1.45. + +### API version + +4.0 works with API v1.45 to v1.56, and Composer installs the newest API line +unless you require one. Generated models and their methods differ between +versions. To keep the 3.x models, require the v1.45 line: + +```bash +composer require "docker-php/docker-php:^4.0" "docker-php/docker-php-api:>=7.1.45.0 <7.1.46.0" +``` + +To move to a newer line, check the models your code names. For example: + +- API 1.46 renamed `NetworksCreatePostResponse201` to `NetworkCreateResponse`. +- API 1.48 renamed `ContainersIdJsonGetResponse200` to `ContainerInspectResponse` + and added `ContainerStatsResponse`. +- API 1.52 removed `getError()` from `BuildInfo`, `CreateImageInfo` and + `PushImageInfo`. Use `Docker\Stream\FrameError::message($frame)`, which works + with every line. + +See [API versions](/api-versions) and Docker's +[API version history](https://docs.docker.com/reference/api/engine/version-history/). + +### Request version negotiation + +Without `api_version` or `DOCKER_API_VERSION`, the bundled factory now sends an +unversioned `/_ping` before its first request and uses the lower of the daemon's +API version and the installed line. Setting either keeps a fixed version, as in +3.x. + +### Unexpected error statuses throw + +An error status of 400 or above that the generated endpoint does not handle now +throws `UnexpectedClientErrorException` or `UnexpectedServerErrorException`. +In 3.x those calls returned `null`. To keep that behaviour: + +```php +$docker = Docker::create()->throwOnUnexpectedStatus(false); +``` + +See [unexpected error statuses](/reference/requests-and-responses#unexpected-error-statuses). + +### `.dockerignore` is applied + +`Context` now leaves out the paths a context's `.dockerignore` excludes, as +`docker build` does. To archive the whole directory as 3.x did, call +`applyDockerignore(false)` on the context. + +### Stats samples + +From API 1.48, `containerStats()` returns `ContainerStatsResponse` models, for one +sample and for each `StatsStream` frame. Earlier lines still return decoded +`stdClass` objects. + +### Subclasses of `Docker` + +`Docker::systemEvents()` has a new optional `$accept` parameter. A subclass that +overrides it needs the same parameter. ## Verify the application From f70e26c4f7929dfda39ba73ebc14fee356dc91e6 Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 16:41:40 +0100 Subject: [PATCH 131/142] chore(docs): patch vulnerable documentation tooling dependencies Update mint to 4.2.992 and override the transitive versions that the latest Mintlify CLI still pins: axios, sharp, adm-zip, js-yaml 4, qs, katex, postcss-selector-parser, fflate and the MCP SDK. front-matter still needs js-yaml 3, which pulls in sprintf-js, and sprintf-js has no patched release. --- docs/package-lock.json | 635 ++++++++++++++++++++++++----------------- docs/package.json | 13 +- 2 files changed, 391 insertions(+), 257 deletions(-) diff --git a/docs/package-lock.json b/docs/package-lock.json index 4ab7af3af..30d331450 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "docker-php-documentation", "devDependencies": { - "mint": "4.2.986" + "mint": "4.2.992" }, "engines": { "node": ">=20.17 <25" @@ -201,19 +201,19 @@ } }, "node_modules/@ark/schema": { - "version": "0.56.6", - "resolved": "https://registry.npmjs.org/@ark/schema/-/schema-0.56.6.tgz", - "integrity": "sha512-OmLv80BCF2ib+zjecrXDosip/CSnZSYBGjblhqWYZWFOzdLQka6QymHToE9u7Z/HZW2KA8Hwc8MCNXoI3uGSIA==", + "version": "0.56.7", + "resolved": "https://registry.npmjs.org/@ark/schema/-/schema-0.56.7.tgz", + "integrity": "sha512-jmoOJlYIc4k1uv8oYBDNOFnAsKk2a2D9t/D6npF2JUfW4ecPB0v6ce6lruKg7lkBxIBA8Z7UtxfmvephYbhUGQ==", "dev": true, "license": "MIT", "dependencies": { - "@ark/util": "0.56.6" + "@ark/util": "0.56.7" } }, "node_modules/@ark/util": { - "version": "0.56.6", - "resolved": "https://registry.npmjs.org/@ark/util/-/util-0.56.6.tgz", - "integrity": "sha512-mHqq0f0HyDd9YadpFl25w0QECAP7d8HGIUpEC85duD+L+xr4i/CwfOid/Z7zJFFF/47oLt6+pZB9RbqWpBYTYg==", + "version": "0.56.7", + "resolved": "https://registry.npmjs.org/@ark/util/-/util-0.56.7.tgz", + "integrity": "sha512-z8pVnrPk/x9GC18yOp5wCe8rR2+Z6us4CTSg7dvxdsDLuA2xXYq+QETD1fO6f3fMuXe+PCjpvtCnhTW9RHLgEw==", "dev": true, "license": "MIT" }, @@ -281,9 +281,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz", - "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==", + "version": "7.29.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz", + "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==", "dev": true, "license": "MIT", "engines": { @@ -348,9 +348,9 @@ "peer": true }, "node_modules/@hono/node-server": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.3.tgz", - "integrity": "sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.4.tgz", + "integrity": "sha512-2g1qeHl4BduwDn6L8nkAvDrPUWPMlkQ//a5NhP/zIyaXKMjZNRV+cG9Csu+BiJFf6+68pqzjf4Hi5sJGKHuS1g==", "dev": true, "license": "MIT", "optional": true, @@ -358,13 +358,23 @@ "node": ">=20" }, "peerDependencies": { - "hono": "^4" + "hono": "^4 || ^5.0.0-0" + } + }, + "node_modules/@img/colour": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz", + "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" } }, "node_modules/@img/sharp-darwin-arm64": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", - "integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz", + "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==", "cpu": [ "arm64" ], @@ -375,19 +385,19 @@ "darwin" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-darwin-arm64": "1.0.4" + "@img/sharp-libvips-darwin-arm64": "1.3.4" } }, "node_modules/@img/sharp-darwin-x64": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz", - "integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz", + "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==", "cpu": [ "x64" ], @@ -398,19 +408,39 @@ "darwin" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-darwin-x64": "1.0.4" + "@img/sharp-libvips-darwin-x64": "1.3.4" + } + }, + "node_modules/@img/sharp-freebsd-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz", + "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "dependencies": { + "@img/sharp-wasm32": "0.35.5" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" } }, "node_modules/@img/sharp-libvips-darwin-arm64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.4.tgz", - "integrity": "sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz", + "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==", "cpu": [ "arm64" ], @@ -425,9 +455,9 @@ } }, "node_modules/@img/sharp-libvips-darwin-x64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.4.tgz", - "integrity": "sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz", + "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==", "cpu": [ "x64" ], @@ -442,9 +472,9 @@ } }, "node_modules/@img/sharp-libvips-linux-arm": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.5.tgz", - "integrity": "sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz", + "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==", "cpu": [ "arm" ], @@ -459,9 +489,9 @@ } }, "node_modules/@img/sharp-libvips-linux-arm64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.4.tgz", - "integrity": "sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz", + "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==", "cpu": [ "arm64" ], @@ -475,10 +505,44 @@ "url": "https://opencollective.com/libvips" } }, + "node_modules/@img/sharp-libvips-linux-ppc64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz", + "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-riscv64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz", + "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, "node_modules/@img/sharp-libvips-linux-s390x": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.4.tgz", - "integrity": "sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz", + "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==", "cpu": [ "s390x" ], @@ -493,9 +557,9 @@ } }, "node_modules/@img/sharp-libvips-linux-x64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.4.tgz", - "integrity": "sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz", + "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==", "cpu": [ "x64" ], @@ -510,9 +574,9 @@ } }, "node_modules/@img/sharp-libvips-linuxmusl-arm64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.4.tgz", - "integrity": "sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz", + "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==", "cpu": [ "arm64" ], @@ -527,9 +591,9 @@ } }, "node_modules/@img/sharp-libvips-linuxmusl-x64": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.4.tgz", - "integrity": "sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz", + "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==", "cpu": [ "x64" ], @@ -544,9 +608,9 @@ } }, "node_modules/@img/sharp-linux-arm": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.5.tgz", - "integrity": "sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz", + "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==", "cpu": [ "arm" ], @@ -557,19 +621,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-arm": "1.0.5" + "@img/sharp-libvips-linux-arm": "1.3.4" } }, "node_modules/@img/sharp-linux-arm64": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.5.tgz", - "integrity": "sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz", + "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==", "cpu": [ "arm64" ], @@ -580,19 +644,65 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm64": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-ppc64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz", + "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-arm64": "1.0.4" + "@img/sharp-libvips-linux-ppc64": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-riscv64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz", + "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-riscv64": "1.3.4" } }, "node_modules/@img/sharp-linux-s390x": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.5.tgz", - "integrity": "sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz", + "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==", "cpu": [ "s390x" ], @@ -603,19 +713,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-s390x": "1.0.4" + "@img/sharp-libvips-linux-s390x": "1.3.4" } }, "node_modules/@img/sharp-linux-x64": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.5.tgz", - "integrity": "sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz", + "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==", "cpu": [ "x64" ], @@ -626,19 +736,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linux-x64": "1.0.4" + "@img/sharp-libvips-linux-x64": "1.3.4" } }, "node_modules/@img/sharp-linuxmusl-arm64": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.5.tgz", - "integrity": "sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz", + "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==", "cpu": [ "arm64" ], @@ -649,19 +759,19 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linuxmusl-arm64": "1.0.4" + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4" } }, "node_modules/@img/sharp-linuxmusl-x64": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.5.tgz", - "integrity": "sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz", + "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==", "cpu": [ "x64" ], @@ -672,39 +782,76 @@ "linux" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-libvips-linuxmusl-x64": "1.0.4" + "@img/sharp-libvips-linuxmusl-x64": "1.3.4" } }, "node_modules/@img/sharp-wasm32": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.5.tgz", - "integrity": "sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz", + "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==", + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "optional": true, + "dependencies": { + "@emnapi/runtime": "^1.11.3" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-webcontainers-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz", + "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==", "cpu": [ "wasm32" ], "dev": true, - "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "license": "Apache-2.0", "optional": true, "dependencies": { - "@emnapi/runtime": "^1.2.0" + "@img/sharp-wasm32": "0.35.5" + }, + "engines": { + "node": ">=20.9.0" }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz", + "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" } }, "node_modules/@img/sharp-win32-ia32": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.5.tgz", - "integrity": "sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz", + "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==", "cpu": [ "ia32" ], @@ -715,16 +862,16 @@ "win32" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": "^20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" } }, "node_modules/@img/sharp-win32-x64": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.5.tgz", - "integrity": "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz", + "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==", "cpu": [ "x64" ], @@ -735,7 +882,7 @@ "win32" ], "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" @@ -1246,19 +1393,19 @@ } }, "node_modules/@mintlify/cli": { - "version": "4.0.1589", - "resolved": "https://registry.npmjs.org/@mintlify/cli/-/cli-4.0.1589.tgz", - "integrity": "sha512-EZmXMwQB/cpo27Ka+z1BzgAScZFX8iW1IgcPBm0+m3VZC7vWvnVA0z6ypszXVbajkm0zTNRyCE2TBSBgC/WzYg==", + "version": "4.0.1595", + "resolved": "https://registry.npmjs.org/@mintlify/cli/-/cli-4.0.1595.tgz", + "integrity": "sha512-npaMX8B1tkMKpurDhFDpF31PuF6bWO9gvK11jg1sckzXM0axhsxk2d9i5zMCUWt5irtTmYLj8eDo0LzwWbLXNw==", "dev": true, "license": "Elastic-2.0", "dependencies": { "@inquirer/prompts": "7.9.0", - "@mintlify/common": "1.0.1209", - "@mintlify/link-rot": "3.0.1417", - "@mintlify/models": "0.0.366", - "@mintlify/prebuild": "1.0.1368", - "@mintlify/previewing": "4.0.1440", - "@mintlify/validation": "0.1.892", + "@mintlify/common": "1.0.1214", + "@mintlify/link-rot": "3.0.1423", + "@mintlify/models": "0.0.369", + "@mintlify/prebuild": "1.0.1373", + "@mintlify/previewing": "4.0.1446", + "@mintlify/validation": "0.1.895", "adm-zip": "0.6.0", "chalk": "5.2.0", "color": "4.2.3", @@ -1302,17 +1449,17 @@ } }, "node_modules/@mintlify/common": { - "version": "1.0.1209", - "resolved": "https://registry.npmjs.org/@mintlify/common/-/common-1.0.1209.tgz", - "integrity": "sha512-U75SJ7JHE987PcGF+56RXyjT8LMkyzxpDHLAdDCGb8pM9iMK2KppgbJVoq5LOCeaPfFH9UxHhl/mSNmg5acWWg==", + "version": "1.0.1214", + "resolved": "https://registry.npmjs.org/@mintlify/common/-/common-1.0.1214.tgz", + "integrity": "sha512-tOpS35jaZMMudHyMSeklwOgJWoGRaYxVuiBlHn8EqX5sro4H4uEAyoxER5NdC8fUidp3moDYzyZuw7stEejwVw==", "dev": true, "license": "ISC", "dependencies": { "@asyncapi/parser": "3.4.0", "@mintlify/mdx": "4.0.7", - "@mintlify/models": "0.0.366", + "@mintlify/models": "0.0.369", "@mintlify/openapi-parser": "0.0.9", - "@mintlify/validation": "0.1.892", + "@mintlify/validation": "0.1.895", "@sindresorhus/slugify": "2.2.0", "@types/mdast": "4.0.4", "acorn": "8.11.2", @@ -1634,18 +1781,18 @@ "peer": true }, "node_modules/@mintlify/link-rot": { - "version": "3.0.1417", - "resolved": "https://registry.npmjs.org/@mintlify/link-rot/-/link-rot-3.0.1417.tgz", - "integrity": "sha512-BTB4OYBgYuwea88dVGAutKcZK+ca0aL7azCrGjQvdctAwSirovEUw0+Zj0FosGfWlhr3NzJX3lI2WTmWGTHjJA==", + "version": "3.0.1423", + "resolved": "https://registry.npmjs.org/@mintlify/link-rot/-/link-rot-3.0.1423.tgz", + "integrity": "sha512-Ny5ABZKYyXNXRVBHz1SaDTdyk3ZpiA6PbAI6XFClB7f/8uh31LaqgGTvZKP7XYSZ+i/viZWo5PzTgUPmZO3h/g==", "dev": true, "license": "Elastic-2.0", "dependencies": { - "@mintlify/common": "1.0.1209", - "@mintlify/models": "0.0.366", - "@mintlify/prebuild": "1.0.1368", - "@mintlify/previewing": "4.0.1440", - "@mintlify/scraping": "4.0.1079", - "@mintlify/validation": "0.1.892", + "@mintlify/common": "1.0.1214", + "@mintlify/models": "0.0.369", + "@mintlify/prebuild": "1.0.1373", + "@mintlify/previewing": "4.0.1446", + "@mintlify/scraping": "4.0.1084", + "@mintlify/validation": "0.1.895", "fs-extra": "11.1.0", "remark-smartypants": "3.0.2", "unist-util-visit": "4.1.2" @@ -1722,9 +1869,9 @@ } }, "node_modules/@mintlify/models": { - "version": "0.0.366", - "resolved": "https://registry.npmjs.org/@mintlify/models/-/models-0.0.366.tgz", - "integrity": "sha512-KLAu3AZ/px+/NxOhUdlhUaoL5xCbth4mHmSMzbFd5qzZjNjUACFygQnoWdRYNSCHAoRgex/ej38FVsE0aFNe2A==", + "version": "0.0.369", + "resolved": "https://registry.npmjs.org/@mintlify/models/-/models-0.0.369.tgz", + "integrity": "sha512-K5gJDVHwuwmpU2P+PVu9dPRk1cSngw/+jYwA+OfFzhcfTax2wQbFS/6inQBR0c79G2bRXfZyfhpvKQ/RQnwFTg==", "dev": true, "license": "Elastic-2.0", "dependencies": { @@ -1772,15 +1919,15 @@ } }, "node_modules/@mintlify/prebuild": { - "version": "1.0.1368", - "resolved": "https://registry.npmjs.org/@mintlify/prebuild/-/prebuild-1.0.1368.tgz", - "integrity": "sha512-ReMQ9S8wZSXkwyJswsM5qrmFWIIAnYYFLecFqr/URflKiMZkgq7q+cmeyqaAGsA5nN57fEE0V/ne6YvsqcPOGA==", + "version": "1.0.1373", + "resolved": "https://registry.npmjs.org/@mintlify/prebuild/-/prebuild-1.0.1373.tgz", + "integrity": "sha512-Hr2RG4EXdWgtx0g/Iz8kIZ+yTvv6xsyeK0aJWVIxvgsOIoC0Cxzglwk6OWxuu3W/zvd+6f277Uf4AbsPd95PMw==", "dev": true, "license": "Elastic-2.0", "dependencies": { - "@mintlify/common": "1.0.1209", - "@mintlify/scraping": "4.0.1079", - "@mintlify/validation": "0.1.892", + "@mintlify/common": "1.0.1214", + "@mintlify/scraping": "4.0.1084", + "@mintlify/validation": "0.1.895", "chalk": "5.3.0", "favicons": "7.2.0", "fflate": "0.8.2", @@ -1821,15 +1968,15 @@ } }, "node_modules/@mintlify/previewing": { - "version": "4.0.1440", - "resolved": "https://registry.npmjs.org/@mintlify/previewing/-/previewing-4.0.1440.tgz", - "integrity": "sha512-+qxI42Mc5P/PZjtGWidAY6tY2//OURaBZmtQv78gpv3HyMnR1QSvN0KW8u32Ob8IqfZYIMhOtmxyI/mMkyOSXQ==", + "version": "4.0.1446", + "resolved": "https://registry.npmjs.org/@mintlify/previewing/-/previewing-4.0.1446.tgz", + "integrity": "sha512-r1Fs3v5dWoGMkbQtikaLsBwulN7Pt4ueCecucMR7w4hD0iOxEetJNNqRAfgGwnKYSqMqcrpgSL9+802JQ94MQQ==", "dev": true, "license": "Elastic-2.0", "dependencies": { - "@mintlify/common": "1.0.1209", - "@mintlify/prebuild": "1.0.1368", - "@mintlify/validation": "0.1.892", + "@mintlify/common": "1.0.1214", + "@mintlify/prebuild": "1.0.1373", + "@mintlify/validation": "0.1.895", "adm-zip": "0.6.0", "better-opn": "3.0.2", "chalk": "5.2.0", @@ -1866,13 +2013,13 @@ } }, "node_modules/@mintlify/scraping": { - "version": "4.0.1079", - "resolved": "https://registry.npmjs.org/@mintlify/scraping/-/scraping-4.0.1079.tgz", - "integrity": "sha512-X/KoN4aD+kQ9z1pMxYvlHF8WMHQLEevHihcDBbttkA5Ie4or0mHcG4dwNKUEibQ9KfMTy1+2IA1+WB1P68Cedw==", + "version": "4.0.1084", + "resolved": "https://registry.npmjs.org/@mintlify/scraping/-/scraping-4.0.1084.tgz", + "integrity": "sha512-ZmdSwuOMzH3NZOdncf2g4eaxoENEc4nlYRM6qjjQLSDGRIrIK1aZMjb1QUIMafWvaw7MLHX1PGK8uEZ5nAsk+Q==", "dev": true, "license": "Elastic-2.0", "dependencies": { - "@mintlify/common": "1.0.1209", + "@mintlify/common": "1.0.1214", "fast-xml-parser": "5.7.3", "fs-extra": "11.1.1", "graphql": "16.11.0", @@ -1990,14 +2137,14 @@ } }, "node_modules/@mintlify/validation": { - "version": "0.1.892", - "resolved": "https://registry.npmjs.org/@mintlify/validation/-/validation-0.1.892.tgz", - "integrity": "sha512-lHWLS/kEisl2JJbI4bLcbY6DdIQoLcbNPlNR/qvDtIPFvpAa/nBwnx938KioIkIL6FyS+RHp/7lY9OLBIekJEA==", + "version": "0.1.895", + "resolved": "https://registry.npmjs.org/@mintlify/validation/-/validation-0.1.895.tgz", + "integrity": "sha512-f4Crb8hoBwKDrmL0TVNYhtI24bom3+zeQV150hFF18fQ3/YiZGK7L4btYRj5Gdq8Xh4kNaX2cEgMjkA/YjWDEA==", "dev": true, "license": "Elastic-2.0", "dependencies": { "@mintlify/mdx": "4.0.7", - "@mintlify/models": "0.0.366", + "@mintlify/models": "0.0.369", "fractional-indexing": "3.2.0", "js-yaml": "4.3.1", "lcm": "0.0.3", @@ -2218,9 +2365,9 @@ } }, "node_modules/@modelcontextprotocol/sdk": { - "version": "1.30.0", - "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.30.0.tgz", - "integrity": "sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA==", + "version": "1.32.1", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.1.tgz", + "integrity": "sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw==", "dev": true, "license": "MIT", "optional": true, @@ -2530,24 +2677,6 @@ "url": "https://opencollective.com/express" } }, - "node_modules/@modelcontextprotocol/sdk/node_modules/qs": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", - "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", - "dev": true, - "license": "BSD-3-Clause", - "optional": true, - "dependencies": { - "es-define-property": "^1.0.1", - "side-channel": "^1.1.1" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/@modelcontextprotocol/sdk/node_modules/send": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", @@ -3668,9 +3797,9 @@ } }, "node_modules/adm-zip": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.6.0.tgz", - "integrity": "sha512-XleryMhbuksdKtofnWZ9Sk+4CUTbms4Mb/EU32SZwToAyZ5RgVos/ki8n+yr0LWHOGKuakbXTuuYNHLQjhddgg==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.6.1.tgz", + "integrity": "sha512-Xwrja8nx9e5o2N1my4DsKCeKpdrnACyr1wtbPxBDgGzKzKyE9kRtBFA8mWldI+RVlD7CBZNWY/wQ2+ydwOR6kQ==", "dev": true, "license": "MIT", "engines": { @@ -3858,25 +3987,25 @@ "license": "Python-2.0" }, "node_modules/arkregex": { - "version": "0.0.12", - "resolved": "https://registry.npmjs.org/arkregex/-/arkregex-0.0.12.tgz", - "integrity": "sha512-sOxL0eX50pnRYO4OyajKZChGuuj/iHwC5tysiAaGOPBu+zJwJQckWn7/DRH2++ol5uaKpyRn7N0hKT7nDqGmgg==", + "version": "0.0.13", + "resolved": "https://registry.npmjs.org/arkregex/-/arkregex-0.0.13.tgz", + "integrity": "sha512-c17sqCqiiZauxyoU1KZ2zbzCgeghGmc8dR2CrdQnlEtpq3bLhRLoLrxTL52M/8yQD8e/i1/IBRpRCNAuqJa7xQ==", "dev": true, "license": "MIT", "dependencies": { - "@ark/util": "0.56.6" + "@ark/util": "0.56.7" } }, "node_modules/arktype": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/arktype/-/arktype-2.2.7.tgz", - "integrity": "sha512-AbgM5SQvwCTURSR+ENfPtOG7cL5VZ0hqOVtoWyXKw2SviFddZhCBEUAjjVJYKCNFlPPR1VX5LGUKxsSqqc4Kdw==", + "version": "2.2.8", + "resolved": "https://registry.npmjs.org/arktype/-/arktype-2.2.8.tgz", + "integrity": "sha512-tZyLza7kO2vN8BXBKcj4t43IVMe8/ZyqlITH0chZv7FfEw+edLovpY922tqcK4mCjTpf4oNo2xV6np7tquP1ww==", "dev": true, "license": "MIT", "dependencies": { - "@ark/schema": "0.56.6", - "@ark/util": "0.56.6", - "arkregex": "0.0.12" + "@ark/schema": "0.56.7", + "@ark/util": "0.56.7", + "arkregex": "0.0.13" } }, "node_modules/array-buffer-byte-length": { @@ -4003,14 +4132,14 @@ } }, "node_modules/axios": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.0.tgz", - "integrity": "sha512-E32NzpYKp++W7XRe52rHiXV2ehxmh3wbdgO7MHeFM+vqxLBYHzt0ElkiImtOBxtOmyp0yoC8C6uESVV84Y2/hw==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.20.0.tgz", + "integrity": "sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==", "dev": true, "license": "MIT", "dependencies": { "follow-redirects": "^1.16.0", - "form-data": "^4.0.5", + "form-data": "^4.0.6", "https-proxy-agent": "^5.0.1", "proxy-from-env": "^2.1.0" } @@ -4159,23 +4288,6 @@ "dev": true, "license": "MIT" }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", - "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "es-define-property": "^1.0.1", - "side-channel": "^1.1.1" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/body-parser/node_modules/raw-body": { "version": "2.5.3", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", @@ -4767,13 +4879,13 @@ } }, "node_modules/commander": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz", + "integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==", "dev": true, "license": "MIT", "engines": { - "node": ">= 12" + "node": ">=22.12.0" } }, "node_modules/concat-map": { @@ -5838,9 +5950,9 @@ } }, "node_modules/express-rate-limit": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.0.tgz", - "integrity": "sha512-hOwV7WOxXfjRpAM1DSJWZDXx3GhplwD8IfwuwvogD8i1Qnkgosw/H45s4ZnFAUHDAhPjlY9hLBvJhKmGMyY26g==", + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.1.tgz", + "integrity": "sha512-2FXbqkygil3mZiXzEtM0IjE/UBmBNot0J1GEVrJT4JbrvwOSoEtqtO+wHbiMQELWe1eNvHoYRg2dkjOid+6JkA==", "dev": true, "license": "MIT", "optional": true, @@ -6017,9 +6129,9 @@ } }, "node_modules/fflate": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", - "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==", + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz", + "integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==", "dev": true, "license": "MIT" }, @@ -8038,9 +8150,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz", - "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", "dev": true, "funding": [ { @@ -8164,9 +8276,9 @@ } }, "node_modules/katex": { - "version": "0.16.47", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz", - "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==", + "version": "0.18.10", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.18.10.tgz", + "integrity": "sha512-/B6p9eY9DX7aHBfpkHdpirDTZ5QH9xTwL9y837PWuzuv41O5jFdqNQwVQEQsimY0/iVNkwBY4+4hMfhQ7d4Dbw==", "dev": true, "funding": [ "https://opencollective.com/katex", @@ -8174,7 +8286,7 @@ ], "license": "MIT", "dependencies": { - "commander": "^8.3.0" + "commander": "^15.0.0" }, "bin": { "katex": "cli.js" @@ -9634,13 +9746,13 @@ } }, "node_modules/mint": { - "version": "4.2.986", - "resolved": "https://registry.npmjs.org/mint/-/mint-4.2.986.tgz", - "integrity": "sha512-KC6L1cbKE4+WcJ43ZKSmiK3YYo8uw956kRXLxV3/TKvocNJvCugTGK6eTKoHvNqIDXJj33b6NA7oXHBcldSkkw==", + "version": "4.2.992", + "resolved": "https://registry.npmjs.org/mint/-/mint-4.2.992.tgz", + "integrity": "sha512-M+t6KmZNpHceKMNnbDhH7sRqwxZILgVR6e6eZFEgZQfO1OAMjy05nGA8ThxkST6GaGZx585h/akBf+UWATLJvQ==", "dev": true, "license": "Elastic-2.0", "dependencies": { - "@mintlify/cli": "4.0.1589" + "@mintlify/cli": "4.0.1595" }, "bin": { "mint": "index.js" @@ -9768,9 +9880,9 @@ } }, "node_modules/node-abi": { - "version": "3.97.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.97.0.tgz", - "integrity": "sha512-6Pu8F0eXGZlyz0EepPJrWgWDcBI8rKt2Wj8exOJU1tjVbu/VyZy5ZaLYS5N+Jp/Y3IP3sIRKcIOElTu7uC6KKA==", + "version": "3.98.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.98.0.tgz", + "integrity": "sha512-Llh8noNw7s15m+rmIrZnZQbe4gLyasL9loT74rC92PkmwWKeEedKvc7o6pjp8B3MhrYT/Cl846NOYZbz1wmddw==", "dev": true, "license": "MIT", "optional": true, @@ -10426,9 +10538,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.4.tgz", - "integrity": "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ==", + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", + "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==", "dev": true, "license": "MIT", "dependencies": { @@ -10594,13 +10706,14 @@ } }, "node_modules/qs": { - "version": "6.14.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz", - "integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==", + "version": "6.16.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", + "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.1.0" + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" }, "engines": { "node": ">=0.6" @@ -11179,14 +11292,14 @@ "peer": true }, "node_modules/resolve": { - "version": "1.22.12", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz", - "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==", + "version": "1.22.13", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.13.tgz", + "integrity": "sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==", "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", - "is-core-module": "^2.16.1", + "is-core-module": "^2.17.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -11672,43 +11785,53 @@ "license": "ISC" }, "node_modules/sharp": { - "version": "0.33.5", - "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.5.tgz", - "integrity": "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==", + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz", + "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==", "dev": true, - "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "color": "^4.2.3", - "detect-libc": "^2.0.3", - "semver": "^7.6.3" + "@img/colour": "^1.1.0", + "detect-libc": "^2.1.2", + "semver": "^7.8.5" }, "engines": { - "node": "^18.17.0 || ^20.3.0 || >=21.0.0" + "node": ">=20.9.0" }, "funding": { "url": "https://opencollective.com/libvips" }, "optionalDependencies": { - "@img/sharp-darwin-arm64": "0.33.5", - "@img/sharp-darwin-x64": "0.33.5", - "@img/sharp-libvips-darwin-arm64": "1.0.4", - "@img/sharp-libvips-darwin-x64": "1.0.4", - "@img/sharp-libvips-linux-arm": "1.0.5", - "@img/sharp-libvips-linux-arm64": "1.0.4", - "@img/sharp-libvips-linux-s390x": "1.0.4", - "@img/sharp-libvips-linux-x64": "1.0.4", - "@img/sharp-libvips-linuxmusl-arm64": "1.0.4", - "@img/sharp-libvips-linuxmusl-x64": "1.0.4", - "@img/sharp-linux-arm": "0.33.5", - "@img/sharp-linux-arm64": "0.33.5", - "@img/sharp-linux-s390x": "0.33.5", - "@img/sharp-linux-x64": "0.33.5", - "@img/sharp-linuxmusl-arm64": "0.33.5", - "@img/sharp-linuxmusl-x64": "0.33.5", - "@img/sharp-wasm32": "0.33.5", - "@img/sharp-win32-ia32": "0.33.5", - "@img/sharp-win32-x64": "0.33.5" + "@img/sharp-darwin-arm64": "0.35.5", + "@img/sharp-darwin-x64": "0.35.5", + "@img/sharp-freebsd-wasm32": "0.35.5", + "@img/sharp-libvips-darwin-arm64": "1.3.4", + "@img/sharp-libvips-darwin-x64": "1.3.4", + "@img/sharp-libvips-linux-arm": "1.3.4", + "@img/sharp-libvips-linux-arm64": "1.3.4", + "@img/sharp-libvips-linux-ppc64": "1.3.4", + "@img/sharp-libvips-linux-riscv64": "1.3.4", + "@img/sharp-libvips-linux-s390x": "1.3.4", + "@img/sharp-libvips-linux-x64": "1.3.4", + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4", + "@img/sharp-libvips-linuxmusl-x64": "1.3.4", + "@img/sharp-linux-arm": "0.35.5", + "@img/sharp-linux-arm64": "0.35.5", + "@img/sharp-linux-ppc64": "0.35.5", + "@img/sharp-linux-riscv64": "0.35.5", + "@img/sharp-linux-s390x": "0.35.5", + "@img/sharp-linux-x64": "0.35.5", + "@img/sharp-linuxmusl-arm64": "0.35.5", + "@img/sharp-linuxmusl-x64": "0.35.5", + "@img/sharp-webcontainers-wasm32": "0.35.5", + "@img/sharp-win32-arm64": "0.35.5", + "@img/sharp-win32-ia32": "0.35.5", + "@img/sharp-win32-x64": "0.35.5" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, "node_modules/sharp-ico": { diff --git a/docs/package.json b/docs/package.json index 6e5186eb7..df71ffb4a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,6 +12,17 @@ "check:examples": "php scripts/check-php-examples.php" }, "devDependencies": { - "mint": "4.2.986" + "mint": "4.2.992" + }, + "overrides": { + "@modelcontextprotocol/sdk": "^1.32.1", + "adm-zip": "^0.6.1", + "axios": "^1.20.0", + "fflate": "^0.8.3", + "js-yaml@^4": "^4.3.2", + "katex": "^0.18.2", + "postcss-selector-parser": "^7.1.6", + "qs": "^6.16.0", + "sharp": "^0.35.5" } } From ffc3386ad4e8e0630d3f32ce96a8df2579d85d9b Mon Sep 17 00:00:00 2001 From: Rid Date: Thu, 8 Oct 2026 16:47:06 +0100 Subject: [PATCH 132/142] docs: link the navbar to the Docker Engine API reference index The 4.0 client supports API v1.45 to v1.56, so link the reference index instead of the v1.45 page. --- docs/docs.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs.json b/docs/docs.json index f8872beb5..81822a5d9 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -45,8 +45,8 @@ "navbar": { "links": [ { - "label": "Engine API v1.45", - "href": "https://docs.docker.com/reference/api/engine/version/v1.45/" + "label": "Engine API", + "href": "https://docs.docker.com/reference/api/engine/" }, { "label": "Issues", From 81e25df5f8fafb237ff2b579193b2096761d3df0 Mon Sep 17 00:00:00 2001 From: Rid Date: Fri, 9 Oct 2026 08:50:37 +0100 Subject: [PATCH 133/142] build(deps): conflict with Jane runtimes before 7.14.4 and php-http/message before 1.16 Older Jane runtimes and php-http/message releases depend on the abandoned php-http/message-factory package. The client allows API package revisions that still accept them, so lowest-dependency installs pulled it in. --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a162a1bbd..02c8abe10 100644 --- a/composer.json +++ b/composer.json @@ -34,8 +34,10 @@ }, "conflict": { "beluga-php/docker-php": "*", + "jane-php/json-schema-runtime": "<7.14.4", + "jane-php/open-api-runtime": "<7.14.4", "nikic/php-parser": "<4.13", - "php-http/message": "<1.15" + "php-http/message": "<1.16" }, "minimum-stability": "dev", "prefer-stable": true, From 9673608b5628b97521c21b8f16dbaf21fc48d62c Mon Sep 17 00:00:00 2001 From: Rid Date: Fri, 9 Oct 2026 08:50:37 +0100 Subject: [PATCH 134/142] chore(release): prepare 4.0.1 Add the 4.0.1 changelog. --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74259d60f..ce3062ea8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 4.0.1 + +### Fixed + +- Stop lowest-dependency installs from pulling in the abandoned + `php-http/message-factory` package. The client now conflicts with Jane + runtimes before 7.14.4, the version that generates the API packages, and with + `php-http/message` before 1.16. + ## 4.0.0 ### Breaking changes From a5d28ca0bf35ebf542dfd684a3c4bf039a2a3457 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 12 Oct 2026 12:13:11 +0100 Subject: [PATCH 135/142] chore: remove the funding links Drop the funding entry from composer.json and .github/FUNDING.yml, which pointed to the Beluga maintainer's sponsorship pages. --- .github/FUNDING.yml | 5 ----- composer.json | 6 ------ 2 files changed, 11 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index d018c1530..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,5 +0,0 @@ -# These are supported funding model platforms - -github: flavioheleno -patreon: flavioheleno -custom: "https://www.buymeacoffee.com/flavioheleno" diff --git a/composer.json b/composer.json index 02c8abe10..bb714694e 100644 --- a/composer.json +++ b/composer.json @@ -3,12 +3,6 @@ "description": "A Docker PHP client", "license": "MIT", "type": "library", - "funding": [ - { - "type": "github", - "url": "https://github.com/flavioheleno" - } - ], "require": { "php": ">=8.1", "docker-php/docker-php-api": ">=7.1.45.0 <7.1.57.0", From 69d5fc578a17ab26b6fb5e6cbbf20d8c4c98c5fd Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 12 Oct 2026 12:15:10 +0100 Subject: [PATCH 136/142] chore(release): prepare 4.0.2 Add the 4.0.2 changelog. --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce3062ea8..6ea88ca4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 4.0.2 + +### Changed + +- Remove the funding links from `composer.json` and the repository, which + pointed to the Beluga maintainer's sponsorship pages. No code changes. + ## 4.0.1 ### Fixed From 565c1e48754e1314803052b61461f0a7a35ae38f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2026 17:29:04 +0100 Subject: [PATCH 137/142] chore(deps): bump shivammathur/setup-php from 2.37.2 to 2.40.0 (#365) Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.37.2 to 2.40.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/f3e473d116dcccaddc5834248c87452386958240...eb7c497e18156a6bbabfef1d3a82760b9eda3962) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-version: 2.40.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/continuous-integration.yml | 4 ++-- .github/workflows/documentation.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index cac0e31db..2cdbfc6e4 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0 with: php-version: ${{ matrix.php-version }} extensions: curl, openssl @@ -87,7 +87,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0 with: php-version: "8.5" extensions: curl, openssl diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0cfec319c..41180b052 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -33,7 +33,7 @@ jobs: cache-dependency-path: docs/package-lock.json - name: Set up PHP - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0 with: php-version: '8.1' coverage: none diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index b110f8a1a..7403f776a 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Setup PHP with PECL extension - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2 + uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0 with: php-version: ${{ matrix.php-version }} tools: composer:v2 From 2bcaa722df6c62fe9c4bd685784a2c4691abe041 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2026 17:30:51 +0100 Subject: [PATCH 138/142] chore(deps): bump actions/setup-node from 7.0.0 to 7.1.0 (#366) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 7.0.0 to 7.1.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/820762786026740c76f36085b0efc47a31fe5020...949feb2413d6458794dcd2491c4babbbce0c15c1) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 41180b052..87a1babb2 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Node.js - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: '22' cache: npm From 370d8d3ccb4f19123d1209639fb7edbe56b38c2b Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 16 Nov 2026 14:53:43 +0000 Subject: [PATCH 139/142] build: require PHP 8.2 or later PHP 8.1 reached end of life on 31 December 2025, and roave/security-advisories now conflicts with every PHP 8.1 release, so the 8.1 CI jobs can no longer install their dependencies. Run the lowest-dependency jobs on PHP 8.2 instead. Docker PHP 4.0 remains available for PHP 8.1. --- .github/workflows/continuous-integration.yml | 1 - .github/workflows/documentation.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- DOCUMENTATION.md | 2 +- README.md | 6 ++++-- composer.json | 2 +- docs/contributing.mdx | 2 +- docs/installation.mdx | 4 +++- docs/migration.mdx | 2 +- 9 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 2cdbfc6e4..67b2b8e08 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -19,7 +19,6 @@ jobs: fail-fast: false matrix: php-version: - - "8.1" - "8.2" - "8.3" - "8.4" diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 87a1babb2..48f938f10 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -35,7 +35,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0 with: - php-version: '8.1' + php-version: '8.2' coverage: none - name: Install documentation tooling diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 7403f776a..68fb0cbb8 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: include: - - php-version: '8.1' + - php-version: '8.2' dependency-versions: lowest - php-version: '8.5' dependency-versions: highest diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index ad4337492..9dd16595f 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -9,7 +9,7 @@ No custom domain is configured. ## Local preview -Use Node.js 22 or 24 LTS and PHP 8.1 or later. From the repository root: +Use Node.js 22 or 24 LTS and PHP 8.2 or later. From the repository root: ```bash cd docs diff --git a/README.md b/README.md index 98c3fe530..d7f684137 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,12 @@ releases. ## Requirements -- PHP 8.1 or later, with the `mbstring` extension. +- PHP 8.2 or later, with the `mbstring` extension. - [Composer](https://getcomposer.org/). - Access to a Docker daemon with API v1.45 or later (Docker Engine 26.0 or later). +Docker PHP 4.0 is the last release line that supports PHP 8.1. + ## Installation ```bash @@ -107,7 +109,7 @@ defaults that 2.x and Beluga applications rely on. ### From docker-php 2.x -Version 4.0 requires PHP 8.1 or later, PSR-7 v2 and Jane 7-generated models. +Version 4.1 requires PHP 8.2 or later, PSR-7 v2 and Jane 7-generated models. Review endpoint signatures, model types and HTTP client dependencies before upgrading. Check log and exec consumers against the [streaming documentation](https://docker-php.mintlify.site/reference/streams). diff --git a/composer.json b/composer.json index bb714694e..6d7394e76 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "license": "MIT", "type": "library", "require": { - "php": ">=8.1", + "php": ">=8.2", "docker-php/docker-php-api": ">=7.1.45.0 <7.1.57.0", "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", diff --git a/docs/contributing.mdx b/docs/contributing.mdx index 2a0d9a151..e213557fa 100644 --- a/docs/contributing.mdx +++ b/docs/contributing.mdx @@ -9,7 +9,7 @@ files; `docs.json` defines their navigation and site settings. ## Preview locally -Use Node.js 22 or 24 LTS and PHP 8.1 or later. From the repository root: +Use Node.js 22 or 24 LTS and PHP 8.2 or later. From the repository root: ```bash cd docs diff --git a/docs/installation.mdx b/docs/installation.mdx index 89f023211..aaa253514 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -5,10 +5,12 @@ description: "Install the client and its matching generated API package." ## Requirements -- PHP 8.1 or later, with the `mbstring` extension. +- PHP 8.2 or later, with the `mbstring` extension. - [Composer](https://getcomposer.org/). - Access to a Docker daemon with API v1.45 or later (Docker Engine 26.0 or later). +Docker PHP 4.0 is the last release line that supports PHP 8.1. + ## Stable installation ```bash diff --git a/docs/migration.mdx b/docs/migration.mdx index ce39d9c1a..0ef6ad043 100644 --- a/docs/migration.mdx +++ b/docs/migration.mdx @@ -10,7 +10,7 @@ defaults that 2.x and Beluga applications rely on. ## From the original 2.x client -The new client requires PHP 8.1 or later, the `mbstring` extension, PSR-7 v2 and +The new client requires PHP 8.2 or later, the `mbstring` extension, PSR-7 v2 and Jane 7 runtimes. Check your application's other dependencies against these requirements before changing its Composer constraints. From a9115cfe6f4c6afc168d58c32faa06f46d70b077 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 16 Nov 2026 14:53:51 +0000 Subject: [PATCH 140/142] feat: support Docker Engine API v1.57 Allow the docker-php-api 7.1.57 line, which Composer installs unless an application requires another line. Add it to the CI matrix and run it against Docker 29. API 1.57 declares JSON error responses for the logs and exec start endpoints, so the generated exceptions now deserialize the error body. Give the endpoint tests' serializer mock a return value, and compare thrown exceptions as well as return values. --- .github/workflows/continuous-integration.yml | 4 ++-- README.md | 4 ++-- composer.json | 2 +- docs/api-versions.mdx | 8 ++++---- docs/guides/guzzle.mdx | 2 +- docs/index.mdx | 4 ++-- docs/migration.mdx | 2 +- docs/reference/streams.mdx | 2 +- tests/Endpoint/ContainerLogsTest.php | 6 +++++- tests/Endpoint/ExecStartTest.php | 16 ++++++++++++++-- 10 files changed, 33 insertions(+), 17 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 67b2b8e08..f54b93af1 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -61,12 +61,12 @@ jobs: strategy: fail-fast: false matrix: - api-line: ["7.1.45", "7.1.46", "7.1.47", "7.1.48", "7.1.49", "7.1.50", "7.1.51", "7.1.52", "7.1.53", "7.1.54", "7.1.55", "7.1.56"] + api-line: ["7.1.45", "7.1.46", "7.1.47", "7.1.48", "7.1.49", "7.1.50", "7.1.51", "7.1.52", "7.1.53", "7.1.54", "7.1.55", "7.1.56", "7.1.57"] # The runner's daemon is older than the newest lines, so those negotiate down. docker: [runner] include: # Run the newest line against a daemon that supports it without negotiation. - - api-line: "7.1.56" + - api-line: "7.1.57" docker: "29" services: diff --git a/README.md b/README.md index d7f684137..6f93a2b39 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ maintenance of the original `docker-php/docker-php` repository to give you a better upgrade path. Development will continue here, and we will archive `beluga-php/docker-php` once the migration is complete. -Version 4.0 works with Docker Engine API v1.45 to v1.56. See +Version 4.1 works with Docker Engine API v1.45 to v1.57. See [Upgrading to 4.0](#upgrading-to-40) below for how to migrate from existing releases. @@ -82,7 +82,7 @@ These guides cover callback streams, TTY output and raw response framing. Each Docker Engine API version has its own `docker-php/docker-php-api` line with generated endpoints and models. The line uses the four-part version -`Jane-major.Docker-major.Docker-minor.revision`: `7.1.56.0` means Docker API 1.56, +`Jane-major.Docker-major.Docker-minor.revision`: `7.1.57.0` means Docker API 1.57, generated with Jane 7, revision 0. To use a specific version, require its line: ```bash diff --git a/composer.json b/composer.json index 6d7394e76..ac72827be 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "type": "library", "require": { "php": ">=8.2", - "docker-php/docker-php-api": ">=7.1.45.0 <7.1.57.0", + "docker-php/docker-php-api": ">=7.1.45.0 <7.1.58.0", "nyholm/psr7": "^1.8", "php-http/client-common": "^2.7", "php-http/discovery": "^1.19", diff --git a/docs/api-versions.mdx b/docs/api-versions.mdx index e95ca3813..883277a07 100644 --- a/docs/api-versions.mdx +++ b/docs/api-versions.mdx @@ -5,7 +5,7 @@ description: "Choose a Docker Engine API version and how requests negotiate with ## Choose an API version -Docker PHP 4.0 works with Docker Engine API v1.45 to v1.56. Each version has its +Docker PHP 4.1 works with Docker Engine API v1.45 to v1.57. Each version has its own `docker-php/docker-php-api` release line with generated endpoints and models. Without a direct API requirement, Composer installs the newest line. @@ -29,8 +29,8 @@ for the version you use. `docker-php/docker-php` follows semantic versioning. `docker-php/docker-php-api` uses a four-part scheme: -`Jane-major.Docker-major.Docker-minor.revision`. For example, `7.1.56.0` means -Docker Engine API v1.56, generated with Jane 7, revision 0. Keep a direct API +`Jane-major.Docker-major.Docker-minor.revision`. For example, `7.1.57.0` means +Docker Engine API v1.57, generated with Jane 7, revision 0. Keep a direct API requirement within one line, as above. A constraint such as `^7.1.45.0` allows every newer Docker specification. @@ -83,5 +83,5 @@ from responses and ignored in requests. Each line is generated from Docker's specification for that version with Jane 7.14.4, without local patches. The API repository has one branch per line, -such as [`7.1.56`](https://github.com/docker-php/docker-php-api/tree/7.1.56); see its +such as [`7.1.57`](https://github.com/docker-php/docker-php-api/tree/7.1.57); see its [generation instructions](https://github.com/docker-php/docker-php-api#generation). diff --git a/docs/guides/guzzle.mdx b/docs/guides/guzzle.mdx index 2a4a60948..f73edaea8 100644 --- a/docs/guides/guzzle.mdx +++ b/docs/guides/guzzle.mdx @@ -150,7 +150,7 @@ expose an unauthenticated daemon to an untrusted network. ### Paths, timeouts and streaming -Use the daemon's root URL for `base_uri`, without a version such as `/v1.56`. +Use the daemon's root URL for `base_uri`, without a version such as `/v1.57`. These Guzzle examples keep the generated server plugins enabled, so Docker PHP adds the installed API line's path. Guzzle clients do not negotiate, and `DOCKER_API_VERSION` only configures the bundled factory, so install an diff --git a/docs/index.mdx b/docs/index.mdx index 208c45d85..bf70074a9 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -8,8 +8,8 @@ endpoint methods and models, connection handling, and decoded log and command output streams. -These docs cover the Docker PHP 4.0 client, which works with Docker Engine API -v1.45 to v1.56. Upgrading from the original +These docs cover the Docker PHP 4.1 client, which works with Docker Engine API +v1.45 to v1.57. Upgrading from the original [docker-php 2.x](/migration#from-the-original-2-x-client) client, [beluga-php/docker-php](/migration#from-beluga) or [docker-php 3.x](/migration#from-3-x)? Start with the upgrade guide. diff --git a/docs/migration.mdx b/docs/migration.mdx index 0ef6ad043..73ac85ec4 100644 --- a/docs/migration.mdx +++ b/docs/migration.mdx @@ -89,7 +89,7 @@ cannot upgrade yet can stay on `^3.3`, which keeps Docker Engine API v1.45. ### API version -4.0 works with API v1.45 to v1.56, and Composer installs the newest API line +4.1 works with API v1.45 to v1.57, and Composer installs the newest API line unless you require one. Generated models and their methods differ between versions. To keep the 3.x models, require the v1.45 line: diff --git a/docs/reference/streams.mdx b/docs/reference/streams.mdx index 4ac3438bc..68b4a83a7 100644 --- a/docs/reference/streams.mdx +++ b/docs/reference/streams.mdx @@ -80,7 +80,7 @@ $docker = Docker::create($httpClient); ``` The generated server plugin supplies the installed API line's path, such as -`/v1.56`, in this example. If your custom +`/v1.57`, in this example. If your custom chain already supplies the versioned path, disable the server plugins with `Docker::create($httpClient, [], [], false)` to avoid configuring it twice. diff --git a/tests/Endpoint/ContainerLogsTest.php b/tests/Endpoint/ContainerLogsTest.php index 647df42e3..b2e58767f 100644 --- a/tests/Endpoint/ContainerLogsTest.php +++ b/tests/Endpoint/ContainerLogsTest.php @@ -71,11 +71,15 @@ public function testNotFoundResponseUsesGeneratedException(): void throw new \LogicException('An error response must not inspect the container'); }); + // From API 1.57 the generated exception carries the deserialized error. + $serializer = $this->createMock(SerializerInterface::class); + $serializer->method('deserialize')->willReturnCallback(static fn (mixed $data, string $type): object => new $type()); + $this->expectException(ContainerLogsNotFoundException::class); $endpoint->parseResponse( new Response(404, ['Content-Type' => 'application/json'], '{"message":"No such container: missing"}'), - $this->createMock(SerializerInterface::class) + $serializer ); } } diff --git a/tests/Endpoint/ExecStartTest.php b/tests/Endpoint/ExecStartTest.php index 04efab5f2..c1747f59e 100644 --- a/tests/Endpoint/ExecStartTest.php +++ b/tests/Endpoint/ExecStartTest.php @@ -90,11 +90,23 @@ public static function nonStreamProvider(): iterable public function testNonStreamResponsesKeepGeneratedBehavior(int $status, string $contentType, string $body): void { $config = (new ExecIdStartPostBody())->setDetach(true); + // From API 1.57 the generated endpoint deserializes JSON error bodies. $serializer = $this->createMock(SerializerInterface::class); + $serializer->method('deserialize')->willReturnCallback(static fn (mixed $data, string $type): object => new $type()); $headers = '' === $contentType ? [] : ['Content-Type' => $contentType]; - $expected = (new RawExecStart('test', $config))->parseResponse(new Response($status, $headers, $body), $serializer); + $expected = self::outcome(static fn () => (new RawExecStart('test', $config))->parseResponse(new Response($status, $headers, $body), $serializer)); - self::assertSame($expected, (new ExecStart('test', $config))->parseResponse(new Response($status, $headers, $body), $serializer)); + self::assertSame($expected, self::outcome(static fn () => (new ExecStart('test', $config))->parseResponse(new Response($status, $headers, $body), $serializer))); + } + + /** @return array{string, mixed} the return value, or the class of the exception thrown */ + private static function outcome(callable $parse): array + { + try { + return ['return', $parse()]; + } catch (\Throwable $exception) { + return ['throw', $exception::class]; + } } public function testRawEndpointPreservesFrameHeaders(): void From b3dde2dad06915764ae4788458b83d5468e86069 Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 16 Nov 2026 14:53:55 +0000 Subject: [PATCH 141/142] build(deps): update the documentation tooling Update mint to 4.3.37, which clears the open npm advisories for hono, @hono/node-server, fast-uri, fast-xml-parser, re2js, body-parser, follow-redirects, qs, zod and ip-address. Keep overrides only for js-yaml 4 and sharp, which mint still pins to vulnerable versions. Supersedes #367, #368, #369 and #370. --- docs/package-lock.json | 13857 +++------------------------------------ docs/package.json | 9 +- 2 files changed, 862 insertions(+), 13004 deletions(-) diff --git a/docs/package-lock.json b/docs/package-lock.json index 30d331450..2bf737770 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -6,359 +6,463 @@ "": { "name": "docker-php-documentation", "devDependencies": { - "mint": "4.2.992" + "mint": "4.3.37" }, "engines": { "node": ">=20.17 <25" } }, - "node_modules/@alcalzone/ansi-tokenize": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@alcalzone/ansi-tokenize/-/ansi-tokenize-0.2.5.tgz", - "integrity": "sha512-3NX/MpTdroi0aKz134A6RC2Gb2iXVECN4QaAXnvCIxxIm3C3AVB1mkUe8NaaiyvOpDfsrqWhYtj+Q6a62RrTsw==", + "node_modules/@emnapi/runtime": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz", + "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "ansi-styles": "^6.2.1", - "is-fullwidth-code-point": "^5.0.0" - }, - "engines": { - "node": ">=18" + "tslib": "^2.4.0" } }, - "node_modules/@alloc/quick-lru": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.3.0.tgz", - "integrity": "sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==", + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", + "cpu": [ + "ppc64" + ], "dev": true, "license": "MIT", + "optional": true, + "os": [ + "aix" + ], "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=18" } }, - "node_modules/@anthropic-ai/claude-agent-sdk": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.3.241.tgz", - "integrity": "sha512-pIHdCSTywFe30H0oWDCKZzC4ipBLtF5YMDRKjf6PHyARg57O4l/72v3b6QKnnefwtKKMe6uWJ1Y9lUJg/sKWyA==", + "node_modules/@esbuild/android-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", + "cpu": [ + "arm" + ], "dev": true, - "license": "SEE LICENSE IN README.md", + "license": "MIT", "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=18.0.0" - }, - "optionalDependencies": { - "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.241", - "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.241", - "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.241", - "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.241", - "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.241", - "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.241", - "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.241", - "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.241" - }, - "peerDependencies": { - "@anthropic-ai/sdk": ">=0.93.0", - "@modelcontextprotocol/sdk": "^1.29.0", - "zod": "^4.0.0" + "node": ">=18" } }, - "node_modules/@anthropic-ai/claude-agent-sdk-darwin-arm64": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-arm64/-/claude-agent-sdk-darwin-arm64-0.3.241.tgz", - "integrity": "sha512-v26ta54lKFMFEZzbOE+6p3YhKERWnDiEA6OmkSAg+3fAQHOa1+aLTKw222cfgzxgiVixwFtHMk8c63zsDd8aXQ==", + "node_modules/@esbuild/android-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", "cpu": [ "arm64" ], "dev": true, - "license": "SEE LICENSE IN LICENSE.md", + "license": "MIT", "optional": true, "os": [ - "darwin" - ] + "android" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@anthropic-ai/claude-agent-sdk-darwin-x64": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-x64/-/claude-agent-sdk-darwin-x64-0.3.241.tgz", - "integrity": "sha512-5jweT0vft1ZCaGSoxZHF9vJlHbx8Yxx4+x5aHAIXTd4lx7ZbT4o5buEF8kpmTeHUB+Fw9jtFIm4QDsRiBXgf+Q==", + "node_modules/@esbuild/android-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", "cpu": [ "x64" ], "dev": true, - "license": "SEE LICENSE IN LICENSE.md", + "license": "MIT", "optional": true, "os": [ - "darwin" - ] + "android" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64/-/claude-agent-sdk-linux-arm64-0.3.241.tgz", - "integrity": "sha512-SxszQGffXiLzMEnAv+pJXEmQbA8haijKyRjjH/jOt1CLeMIfpjKcO9WQDv8dEA8nREWS3zJ103zjgecAF7oOQQ==", + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", "cpu": [ "arm64" ], "dev": true, - "license": "SEE LICENSE IN LICENSE.md", + "license": "MIT", "optional": true, "os": [ - "linux" - ] + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64-musl": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64-musl/-/claude-agent-sdk-linux-arm64-musl-0.3.241.tgz", - "integrity": "sha512-GslvPvSzehfCZyzOaJAt4lgodznm5zpl/LMXN8ygD12z5qnpM+I9/eFnmAaISJ0L8/vyohtlAP1jjaeR2jz1AQ==", + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", "cpu": [ "arm64" ], "dev": true, - "license": "SEE LICENSE IN LICENSE.md", + "license": "MIT", "optional": true, "os": [ - "linux" - ] + "freebsd" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@anthropic-ai/claude-agent-sdk-linux-x64": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64/-/claude-agent-sdk-linux-x64-0.3.241.tgz", - "integrity": "sha512-gJRa922Qcm7loumHcXMDFEFg//tz1aOi7Nx0sQa9I9lC1JSN8yL6i7/idzOU5Hp193tEDFOgqIMFL/yRiXg+rw==", + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", "cpu": [ "x64" ], "dev": true, - "license": "SEE LICENSE IN LICENSE.md", + "license": "MIT", "optional": true, "os": [ - "linux" - ] + "freebsd" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@anthropic-ai/claude-agent-sdk-linux-x64-musl": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64-musl/-/claude-agent-sdk-linux-x64-musl-0.3.241.tgz", - "integrity": "sha512-kZigJ5Ug2I2G/n7Cunmwy4TGr0lOGnWrz6TkzyWiDcUmJOodoTH6GZECNarWAtETfN03AAeLfrpiz8z3hOEDqA==", + "node_modules/@esbuild/linux-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", "cpu": [ - "x64" + "arm" ], "dev": true, - "license": "SEE LICENSE IN LICENSE.md", + "license": "MIT", "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@anthropic-ai/claude-agent-sdk-win32-arm64": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-arm64/-/claude-agent-sdk-win32-arm64-0.3.241.tgz", - "integrity": "sha512-/3yA9jQuCvHDVlILzhtslH6kFYOvydXyMZiKwnzqM8ZfvFTNO41w8TpiFpBLseyM+4A4E8QMeTKu3L01Xyb5IQ==", + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", "cpu": [ "arm64" ], "dev": true, - "license": "SEE LICENSE IN LICENSE.md", + "license": "MIT", "optional": true, "os": [ - "win32" - ] + "linux" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@anthropic-ai/claude-agent-sdk-win32-x64": { - "version": "0.3.241", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-x64/-/claude-agent-sdk-win32-x64-0.3.241.tgz", - "integrity": "sha512-cHYdAgORl9kynujMeYXyV1uj/hbmsBjRw9dRVkIW4/4sF7S6L4u/qDSzn1/wiNP7g2yWSJ4KbsvHDH2WWDnCBQ==", + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", "cpu": [ - "x64" + "ia32" ], "dev": true, - "license": "SEE LICENSE IN LICENSE.md", + "license": "MIT", "optional": true, "os": [ - "win32" - ] + "linux" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@anthropic-ai/sdk": { - "version": "0.120.0", - "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.120.0.tgz", - "integrity": "sha512-ZlvmNFT/iIF6JD13rxbbMWD8nvGR0RaUp6yMQnoc+4Af0YjVVe/bIdW1XSQQsoxXAtg1NaT6Vak0LKFlJ4d37Q==", + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", + "cpu": [ + "loong64" + ], "dev": true, "license": "MIT", "optional": true, - "dependencies": { - "json-schema-to-ts": "^3.1.1", - "standardwebhooks": "^1.0.0" - }, - "bin": { - "anthropic-ai-sdk": "bin/cli" - }, - "peerDependencies": { - "zod": "^3.25.0 || ^4.0.0" - }, - "peerDependenciesMeta": { - "zod": { - "optional": true - } + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@ark/schema": { - "version": "0.56.7", - "resolved": "https://registry.npmjs.org/@ark/schema/-/schema-0.56.7.tgz", - "integrity": "sha512-jmoOJlYIc4k1uv8oYBDNOFnAsKk2a2D9t/D6npF2JUfW4ecPB0v6ce6lruKg7lkBxIBA8Z7UtxfmvephYbhUGQ==", + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", + "cpu": [ + "mips64el" + ], "dev": true, "license": "MIT", - "dependencies": { - "@ark/util": "0.56.7" + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@ark/util": { - "version": "0.56.7", - "resolved": "https://registry.npmjs.org/@ark/util/-/util-0.56.7.tgz", - "integrity": "sha512-z8pVnrPk/x9GC18yOp5wCe8rR2+Z6us4CTSg7dvxdsDLuA2xXYq+QETD1fO6f3fMuXe+PCjpvtCnhTW9RHLgEw==", + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", + "cpu": [ + "ppc64" + ], "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@asyncapi/parser": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.4.0.tgz", - "integrity": "sha512-Sxn74oHiZSU6+cVeZy62iPZMFMvKp4jupMFHelSICCMw1qELmUHPvuZSr+ZHDmNGgHcEpzJM5HN02kR7T4g+PQ==", + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", + "cpu": [ + "riscv64" + ], "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@asyncapi/specs": "^6.8.0", - "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", - "@stoplight/json": "3.21.0", - "@stoplight/json-ref-readers": "^1.2.2", - "@stoplight/json-ref-resolver": "^3.1.5", - "@stoplight/spectral-core": "^1.18.3", - "@stoplight/spectral-functions": "^1.7.2", - "@stoplight/spectral-parsers": "^1.0.2", - "@stoplight/spectral-ref-resolver": "^1.0.3", - "@stoplight/types": "^13.12.0", - "@types/json-schema": "^7.0.11", - "@types/urijs": "^1.19.19", - "ajv": "^8.17.1", - "ajv-errors": "^3.0.0", - "ajv-formats": "^2.1.1", - "avsc": "^5.7.5", - "js-yaml": "^4.1.0", - "jsonpath-plus": "^10.0.0", - "node-fetch": "2.6.7" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@asyncapi/specs": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.11.1.tgz", - "integrity": "sha512-A3WBLqAKGoJ2+6FWFtpjBlCQ1oFCcs4GxF7zsIGvNqp/klGUHjlA3aAcZ9XMMpLGE8zPeYDz2x9FmO6DSuKraQ==", + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", + "cpu": [ + "s390x" + ], "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.11" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@babel/code-frame": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", - "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "node_modules/@esbuild/linux-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.29.7", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", - "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/runtime": { - "version": "7.29.10", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz", - "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==", + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@canvas/image-data": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@canvas/image-data/-/image-data-1.1.0.tgz", - "integrity": "sha512-QdObRRjRbcXGmM1tmJ+MrHcaz1MftF2+W7YI+MsphnsCrmtyfS0d5qJbk0MeSbUeyM/jCb0hmnkXPsy026L7dA==", + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@emnapi/runtime": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz", - "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==", + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", "optional": true, - "dependencies": { - "tslib": "^2.4.0" + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@emnapi/runtime/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", + "cpu": [ + "arm64" + ], "dev": true, - "license": "0BSD", - "optional": true + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@floating-ui/core": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz", - "integrity": "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==", + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", - "peer": true, - "dependencies": { - "@floating-ui/utils": "^0.2.12" + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@floating-ui/dom": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.8.0.tgz", - "integrity": "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg==", + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", + "cpu": [ + "arm64" + ], "dev": true, "license": "MIT", - "peer": true, - "dependencies": { - "@floating-ui/core": "^1.8.0", - "@floating-ui/utils": "^0.2.12" + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@floating-ui/utils": { - "version": "0.2.12", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz", - "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==", + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", + "cpu": [ + "ia32" + ], "dev": true, "license": "MIT", - "peer": true + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/@hono/node-server": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.4.tgz", - "integrity": "sha512-2g1qeHl4BduwDn6L8nkAvDrPUWPMlkQ//a5NhP/zIyaXKMjZNRV+cG9Csu+BiJFf6+68pqzjf4Hi5sJGKHuS1g==", + "node_modules/@esbuild/win32-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", + "cpu": [ + "x64" + ], "dev": true, "license": "MIT", "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=20" - }, - "peerDependencies": { - "hono": "^4 || ^5.0.0-0" + "node": ">=18" } }, "node_modules/@img/colour": { @@ -888,12990 +992,751 @@ "url": "https://opencollective.com/libvips" } }, - "node_modules/@inquirer/ansi": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", - "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/checkbox": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", - "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "node_modules/@mintlify/cli": { + "version": "4.1.37", + "resolved": "https://registry.npmjs.org/@mintlify/cli/-/cli-4.1.37.tgz", + "integrity": "sha512-9ygWtTDz1x3vDijroATRJtryzmX0TCn0UdK41NoBTvzWJuZFGlOHsboqqiRMrtKoYsAcOc1CwNkGRN5aSGJGjQ==", "dev": true, - "license": "MIT", + "license": "Elastic-2.0", "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" + "sharp": "0.33.5" }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/confirm": { - "version": "5.1.21", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", - "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" + "bin": { + "mint": "dist/index.js", + "mintlify": "dist/index.js" }, "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" + "node": ">=18.0.0" }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "optionalDependencies": { + "@mintlify/package-builder": "0.0.159", + "fsevents": "2.3.3", + "keytar": "7.9.0" } }, - "node_modules/@inquirer/core": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", - "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", + "node_modules/@mintlify/package-builder": { + "version": "0.0.159", + "resolved": "https://registry.npmjs.org/@mintlify/package-builder/-/package-builder-0.0.159.tgz", + "integrity": "sha512-g8hcoyWkCGJnvtf+OqzaCCZUKFn9k9eWZipMWSSDq8wqvvg6Y8aQ37rmeb6PktTVi9DbO9fSjqAcRhuC3jKvdQ==", "dev": true, - "license": "MIT", + "license": "Elastic-2.0", + "optional": true, "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "cli-width": "^4.1.0", - "mute-stream": "^2.0.0", - "signal-exit": "^4.1.0", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" + "entities": "7.0.1", + "esbuild": "0.25.12", + "js-yaml": "4.3.1", + "semver": "7.7.4" }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/editor": { - "version": "4.2.23", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", - "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/external-editor": "^1.0.3", - "@inquirer/type": "^3.0.10" + "bin": { + "mint-package-builder": "dist/cli.js" }, "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "node": ">=18.0.0" } }, - "node_modules/@inquirer/expand": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", - "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } + "license": "Python-2.0", + "optional": true }, - "node_modules/@inquirer/external-editor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", - "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "dev": true, - "license": "MIT", - "dependencies": { - "chardet": "^2.1.1", - "iconv-lite": "^0.7.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" } - } - }, - "node_modules/@inquirer/figures": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", - "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", - "dev": true, + ], "license": "MIT", - "engines": { - "node": ">=18" - } + "optional": true }, - "node_modules/@inquirer/input": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", - "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" } }, - "node_modules/@inquirer/number": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", - "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" } - } - }, - "node_modules/@inquirer/password": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", - "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", - "dev": true, + ], "license": "MIT", + "optional": true, "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" } }, - "node_modules/@inquirer/prompts": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.9.0.tgz", - "integrity": "sha512-X7/+dG9SLpSzRkwgG5/xiIzW0oMrV3C0HOa7YHG1WnrLK+vCQHfte4k/T80059YBdei29RBC3s+pSMvPJDU9/A==", + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/checkbox": "^4.3.0", - "@inquirer/confirm": "^5.1.19", - "@inquirer/editor": "^4.2.21", - "@inquirer/expand": "^4.0.21", - "@inquirer/input": "^4.2.5", - "@inquirer/number": "^3.0.21", - "@inquirer/password": "^4.0.21", - "@inquirer/rawlist": "^4.1.9", - "@inquirer/search": "^3.2.0", - "@inquirer/select": "^4.4.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } + "license": "ISC", + "optional": true }, - "node_modules/@inquirer/rawlist": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", - "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", + "node_modules/decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" + "mimic-response": "^3.1.0" }, "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" + "node": ">=10" }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@inquirer/search": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", - "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "dev": true, "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, + "optional": true, "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "node": ">=4.0.0" } }, - "node_modules/@inquirer/select": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", - "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/core": "^10.3.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "yoctocolors-cjs": "^2.1.3" - }, + "license": "Apache-2.0", "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "node": ">=8" } }, - "node_modules/@inquirer/type": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", - "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", "dev": true, "license": "MIT", - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } + "optional": true, + "dependencies": { + "once": "^1.4.0" } }, - "node_modules/@isaacs/fs-minipass": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", - "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^7.0.4" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", - "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0", - "@jridgewell/trace-mapping": "^0.3.24" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", - "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", - "dev": true, - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.31", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", - "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@jsep-plugin/assignment": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@jsep-plugin/assignment/-/assignment-1.3.0.tgz", - "integrity": "sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.16.0" - }, - "peerDependencies": { - "jsep": "^0.4.0||^1.0.0" - } - }, - "node_modules/@jsep-plugin/regex": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.4.tgz", - "integrity": "sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.16.0" - }, - "peerDependencies": { - "jsep": "^0.4.0||^1.0.0" - } - }, - "node_modules/@jsep-plugin/ternary": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@jsep-plugin/ternary/-/ternary-1.1.4.tgz", - "integrity": "sha512-ck5wiqIbqdMX6WRQztBL7ASDty9YLgJ3sSAK5ZpBzXeySvFGCzIvM6UiAI4hTZ22fEcYQVV/zhUbNscggW+Ukg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.16.0" - }, - "peerDependencies": { - "jsep": "^0.4.0||^1.0.0" - } - }, - "node_modules/@leichtgewicht/ip-codec": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", - "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", - "dev": true, - "license": "MIT" - }, - "node_modules/@mdx-js/mdx": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-3.1.1.tgz", - "integrity": "sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/mdx": "^2.0.0", - "acorn": "^8.0.0", - "collapse-white-space": "^2.0.0", - "devlop": "^1.0.0", - "estree-util-is-identifier-name": "^3.0.0", - "estree-util-scope": "^1.0.0", - "estree-walker": "^3.0.0", - "hast-util-to-jsx-runtime": "^2.0.0", - "markdown-extensions": "^2.0.0", - "recma-build-jsx": "^1.0.0", - "recma-jsx": "^1.0.0", - "recma-stringify": "^1.0.0", - "rehype-recma": "^1.0.0", - "remark-mdx": "^3.0.0", - "remark-parse": "^11.0.0", - "remark-rehype": "^11.0.0", - "source-map": "^0.7.0", - "unified": "^11.0.0", - "unist-util-position-from-estree": "^2.0.0", - "unist-util-stringify-position": "^4.0.0", - "unist-util-visit": "^5.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mdx-js/react": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-3.1.1.tgz", - "integrity": "sha512-f++rKLQgUVYDAtECQ6fn/is15GkEH9+nZPM3MS0RcxVqoTfawHvDlSCH7JbMhAM6uJ32v3eXLvLmLvjGu7PTQw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdx": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - }, - "peerDependencies": { - "@types/react": ">=16", - "react": ">=16" - } - }, - "node_modules/@mintlify/cli": { - "version": "4.0.1595", - "resolved": "https://registry.npmjs.org/@mintlify/cli/-/cli-4.0.1595.tgz", - "integrity": "sha512-npaMX8B1tkMKpurDhFDpF31PuF6bWO9gvK11jg1sckzXM0axhsxk2d9i5zMCUWt5irtTmYLj8eDo0LzwWbLXNw==", - "dev": true, - "license": "Elastic-2.0", - "dependencies": { - "@inquirer/prompts": "7.9.0", - "@mintlify/common": "1.0.1214", - "@mintlify/link-rot": "3.0.1423", - "@mintlify/models": "0.0.369", - "@mintlify/prebuild": "1.0.1373", - "@mintlify/previewing": "4.0.1446", - "@mintlify/validation": "0.1.895", - "adm-zip": "0.6.0", - "chalk": "5.2.0", - "color": "4.2.3", - "detect-port": "1.5.1", - "fs-extra": "11.2.0", - "ink": "6.3.0", - "inquirer": "12.3.0", - "js-yaml": "4.3.1", - "jsonc-parser": "3.3.1", - "mdast-util-mdx-jsx": "3.2.0", - "open": "8.4.2", - "openid-client": "6.8.2", - "posthog-node": "5.17.2", - "prosemirror-model": "1.25.4", - "react": "19.2.3", - "remark": "15.0.1", - "remark-frontmatter": "5.0.0", - "remark-gfm": "4.0.1", - "remark-math": "6.0.0", - "remark-mdx": "3.1.1", - "remark-stringify": "11.0.0", - "unified": "11.0.5", - "unist-util-visit": "5.0.0", - "yaml": "2.8.3", - "yargs": "17.7.1", - "zod": "4.3.6" - }, - "bin": { - "mint": "bin/index.js", - "mintlify": "bin/index.js" - }, - "engines": { - "node": ">=18.0.0" - }, - "optionalDependencies": { - "@anthropic-ai/claude-agent-sdk": "0.3.241", - "@anthropic-ai/sdk": "0.120.0", - "@modelcontextprotocol/sdk": "1.30.0", - "@openai/codex-sdk": "0.149.1", - "keytar": "7.9.0" - } - }, - "node_modules/@mintlify/common": { - "version": "1.0.1214", - "resolved": "https://registry.npmjs.org/@mintlify/common/-/common-1.0.1214.tgz", - "integrity": "sha512-tOpS35jaZMMudHyMSeklwOgJWoGRaYxVuiBlHn8EqX5sro4H4uEAyoxER5NdC8fUidp3moDYzyZuw7stEejwVw==", - "dev": true, - "license": "ISC", - "dependencies": { - "@asyncapi/parser": "3.4.0", - "@mintlify/mdx": "4.0.7", - "@mintlify/models": "0.0.369", - "@mintlify/openapi-parser": "0.0.9", - "@mintlify/validation": "0.1.895", - "@sindresorhus/slugify": "2.2.0", - "@types/mdast": "4.0.4", - "acorn": "8.11.2", - "acorn-jsx": "5.3.2", - "estree-util-to-js": "2.0.0", - "estree-walker": "3.0.3", - "front-matter": "4.0.2", - "hast-util-from-html": "2.0.3", - "hast-util-to-estree": "3.1.0", - "hast-util-to-html": "9.0.4", - "ignore": "7.0.5", - "iregexp-check": "0.1.2", - "js-yaml": "4.3.1", - "json-p3": "2.2.2", - "lodash": "4.18.1", - "mdast-util-from-markdown": "2.0.2", - "mdast-util-gfm": "3.0.0", - "mdast-util-mdx": "3.0.0", - "mdast-util-mdx-jsx": "3.1.3", - "micromark-extension-gfm": "3.0.0", - "micromark-extension-mdxjs": "3.0.0", - "openapi-types": "12.1.3", - "postcss": "8.5.23", - "re2js": "2.8.6", - "rehype-katex": "7.0.1", - "rehype-stringify": "10.0.1", - "remark": "15.0.1", - "remark-frontmatter": "5.0.0", - "remark-gfm": "4.0.0", - "remark-math": "6.0.0", - "remark-mdx": "3.1.0", - "remark-parse": "11.0.0", - "remark-rehype": "11.1.1", - "remark-smartypants": "3.0.2", - "remark-stringify": "11.0.0", - "sucrase": "3.34.0", - "tailwindcss-v3": "npm:tailwindcss@3.4.17", - "unified": "11.0.5", - "unist-builder": "4.0.0", - "unist-util-map": "4.0.0", - "unist-util-remove": "4.0.0", - "unist-util-remove-position": "5.0.0", - "unist-util-visit": "5.0.0", - "unist-util-visit-parents": "6.0.1", - "valibot": "1.5.0", - "vfile": "6.0.3", - "xss": "1.0.15" - } - }, - "node_modules/@mintlify/common/node_modules/@base-ui/react": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@base-ui/react/-/react-1.8.0.tgz", - "integrity": "sha512-P0/1sxo6SBVZOklKMIedvTWqw2s2IQzi9x5bIVsXu980cuSOD4NeuRSs+/L7LZQfDkZP/uRZyGPyfFl/B1oH+Q==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.29.7", - "@base-ui/utils": "0.4.0", - "@floating-ui/react-dom": "^2.1.9", - "@floating-ui/utils": "^0.2.12", - "use-sync-external-store": "^1.6.0" - }, - "engines": { - "node": ">=14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui-org" - }, - "peerDependencies": { - "@date-fns/tz": "^1.2.0", - "@types/react": "^17 || ^18 || ^19", - "date-fns": "^4.0.0", - "react": "^17 || ^18 || ^19", - "react-dom": "^17 || ^18 || ^19" - }, - "peerDependenciesMeta": { - "@date-fns/tz": { - "optional": true - }, - "@types/react": { - "optional": true - }, - "date-fns": { - "optional": true - } - } - }, - "node_modules/@mintlify/common/node_modules/@base-ui/utils": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@base-ui/utils/-/utils-0.4.0.tgz", - "integrity": "sha512-bO9fz25kKtPf+aZVyfQrC0PDmJdmVni31W2hCS5/Owb+inwdIL3XU26pCPRPlt4LSxZrBgLwubXQXQlKaFEZzw==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.29.7", - "@floating-ui/utils": "^0.2.12", - "reselect": "^5.2.0", - "use-sync-external-store": "^1.6.0" - }, - "peerDependencies": { - "@types/react": "^17 || ^18 || ^19", - "react": "^17 || ^18 || ^19", - "react-dom": "^17 || ^18 || ^19" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mintlify/common/node_modules/@floating-ui/react-dom": { - "version": "2.1.9", - "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.9.tgz", - "integrity": "sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@floating-ui/dom": "^1.8.0" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "node_modules/@mintlify/common/node_modules/@mintlify/mdx": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@mintlify/mdx/-/mdx-4.0.7.tgz", - "integrity": "sha512-/kOnIHvjM4jwF7WoXjPRp1nDLjgW8YFyApw5JQiXU6cEdXJdqpWH1xW+0rgGD4adi6yXY+Re9cfNRMftJzCo5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/transformers": "^3.23.0", - "@shikijs/twoslash": "^3.23.0", - "arktype": "^2.1.26", - "hast-util-to-string": "^3.0.1", - "mdast-util-from-markdown": "^2.0.2", - "mdast-util-gfm": "^3.1.0", - "mdast-util-mdx-jsx": "^3.2.0", - "mdast-util-to-hast": "^13.2.0", - "next-mdx-remote-client": "^2.1.11", - "rehype-katex": "^7.0.1", - "remark-gfm": "^4.0.0", - "remark-math": "^6.0.0", - "remark-smartypants": "^3.0.2", - "shiki": "^3.23.0", - "twoslash": "^0.3.4", - "unified": "^11.0.0", - "unist-util-visit": "^5.0.0" - }, - "peerDependencies": { - "@base-ui/react": "^1.6.0", - "react": "^19.2.1", - "react-dom": "^19.2.1" - } - }, - "node_modules/@mintlify/common/node_modules/@mintlify/mdx/node_modules/mdast-util-gfm": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", - "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-gfm-autolink-literal": "^2.0.0", - "mdast-util-gfm-footnote": "^2.0.0", - "mdast-util-gfm-strikethrough": "^2.0.0", - "mdast-util-gfm-table": "^2.0.0", - "mdast-util-gfm-task-list-item": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/common/node_modules/@mintlify/mdx/node_modules/mdast-util-mdx-jsx": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz", - "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "@types/unist": "^3.0.0", - "ccount": "^2.0.0", - "devlop": "^1.1.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0", - "parse-entities": "^4.0.0", - "stringify-entities": "^4.0.0", - "unist-util-stringify-position": "^4.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/common/node_modules/mdast-util-mdx-jsx": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.3.tgz", - "integrity": "sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "@types/unist": "^3.0.0", - "ccount": "^2.0.0", - "devlop": "^1.1.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0", - "parse-entities": "^4.0.0", - "stringify-entities": "^4.0.0", - "unist-util-stringify-position": "^4.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/common/node_modules/next-mdx-remote-client": { - "version": "2.1.12", - "resolved": "https://registry.npmjs.org/next-mdx-remote-client/-/next-mdx-remote-client-2.1.12.tgz", - "integrity": "sha512-KDfhIk5aEM0kkZ0xQ8XBkmo4O5xmJeGWUomm40Ac/xhkt5sIDOTmTU/QFfmJGLJUJipD5o0BAHqVSIZKuXgNEw==", - "dev": true, - "license": "MPL 2.0", - "dependencies": { - "@babel/code-frame": "^7.29.7", - "@mdx-js/mdx": "^3.1.1", - "@mdx-js/react": "^3.1.1", - "@types/mdx": "^2.0.14", - "remark-mdx-remove-esm": "^1.3.2", - "serialize-error": "^13.0.1", - "vfile": "^6.0.3", - "vfile-matter": "^5.0.1" - }, - "engines": { - "node": ">=20.9.0" - }, - "peerDependencies": { - "react": ">= 19.1.0", - "react-dom": ">= 19.1.0" - } - }, - "node_modules/@mintlify/common/node_modules/react": { - "version": "19.3.0", - "resolved": "https://registry.npmjs.org/react/-/react-19.3.0.tgz", - "integrity": "sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@mintlify/common/node_modules/react-dom": { - "version": "19.3.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.0.tgz", - "integrity": "sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "scheduler": "^0.28.0" - }, - "peerDependencies": { - "react": "^19.3.0" - } - }, - "node_modules/@mintlify/common/node_modules/remark-gfm": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", - "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-gfm": "^3.0.0", - "micromark-extension-gfm": "^3.0.0", - "remark-parse": "^11.0.0", - "remark-stringify": "^11.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/common/node_modules/remark-mdx": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-3.1.0.tgz", - "integrity": "sha512-Ngl/H3YXyBV9RcRNdlYsZujAmhsxwzxpDzpDEhFBVAGthS4GDgnctpDjgFl/ULx5UEDzqtW1cyBSNKqYYrqLBA==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdast-util-mdx": "^3.0.0", - "micromark-extension-mdxjs": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/common/node_modules/scheduler": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", - "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", - "dev": true, - "license": "MIT", - "peer": true - }, - "node_modules/@mintlify/link-rot": { - "version": "3.0.1423", - "resolved": "https://registry.npmjs.org/@mintlify/link-rot/-/link-rot-3.0.1423.tgz", - "integrity": "sha512-Ny5ABZKYyXNXRVBHz1SaDTdyk3ZpiA6PbAI6XFClB7f/8uh31LaqgGTvZKP7XYSZ+i/viZWo5PzTgUPmZO3h/g==", - "dev": true, - "license": "Elastic-2.0", - "dependencies": { - "@mintlify/common": "1.0.1214", - "@mintlify/models": "0.0.369", - "@mintlify/prebuild": "1.0.1373", - "@mintlify/previewing": "4.0.1446", - "@mintlify/scraping": "4.0.1084", - "@mintlify/validation": "0.1.895", - "fs-extra": "11.1.0", - "remark-smartypants": "3.0.2", - "unist-util-visit": "4.1.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@mintlify/link-rot/node_modules/@types/unist": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", - "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@mintlify/link-rot/node_modules/fs-extra": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", - "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@mintlify/link-rot/node_modules/unist-util-is": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", - "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/link-rot/node_modules/unist-util-visit": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", - "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-is": "^5.0.0", - "unist-util-visit-parents": "^5.1.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/link-rot/node_modules/unist-util-visit-parents": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz", - "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-is": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/models": { - "version": "0.0.369", - "resolved": "https://registry.npmjs.org/@mintlify/models/-/models-0.0.369.tgz", - "integrity": "sha512-K5gJDVHwuwmpU2P+PVu9dPRk1cSngw/+jYwA+OfFzhcfTax2wQbFS/6inQBR0c79G2bRXfZyfhpvKQ/RQnwFTg==", - "dev": true, - "license": "Elastic-2.0", - "dependencies": { - "axios": "1.18.0", - "openapi-types": "12.1.3" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@mintlify/openapi-parser": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/@mintlify/openapi-parser/-/openapi-parser-0.0.9.tgz", - "integrity": "sha512-PHNRY+K6c5lsEqxfLHH1NghO34PTmhtBSFSw5KOx8DyUYe5LTn7k4U3hp7i1qvJuUTC+x0bU4unFmkM1Hc4OGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^8.17.1", - "ajv-draft-04": "^1.0.0", - "ajv-formats": "^3.0.1", - "jsonpointer": "^5.0.1", - "leven": "^4.0.0", - "yaml": "^2.4.5" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@mintlify/openapi-parser/node_modules/ajv-formats": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", - "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/@mintlify/prebuild": { - "version": "1.0.1373", - "resolved": "https://registry.npmjs.org/@mintlify/prebuild/-/prebuild-1.0.1373.tgz", - "integrity": "sha512-Hr2RG4EXdWgtx0g/Iz8kIZ+yTvv6xsyeK0aJWVIxvgsOIoC0Cxzglwk6OWxuu3W/zvd+6f277Uf4AbsPd95PMw==", - "dev": true, - "license": "Elastic-2.0", - "dependencies": { - "@mintlify/common": "1.0.1214", - "@mintlify/scraping": "4.0.1084", - "@mintlify/validation": "0.1.895", - "chalk": "5.3.0", - "favicons": "7.2.0", - "fflate": "0.8.2", - "fs-extra": "11.1.0", - "js-yaml": "4.3.1", - "openapi-types": "12.1.3", - "sharp": "0.33.5", - "sharp-ico": "0.1.5", - "uuid": "11.1.1" - } - }, - "node_modules/@mintlify/prebuild/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@mintlify/prebuild/node_modules/fs-extra": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", - "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@mintlify/previewing": { - "version": "4.0.1446", - "resolved": "https://registry.npmjs.org/@mintlify/previewing/-/previewing-4.0.1446.tgz", - "integrity": "sha512-r1Fs3v5dWoGMkbQtikaLsBwulN7Pt4ueCecucMR7w4hD0iOxEetJNNqRAfgGwnKYSqMqcrpgSL9+802JQ94MQQ==", - "dev": true, - "license": "Elastic-2.0", - "dependencies": { - "@mintlify/common": "1.0.1214", - "@mintlify/prebuild": "1.0.1373", - "@mintlify/validation": "0.1.895", - "adm-zip": "0.6.0", - "better-opn": "3.0.2", - "chalk": "5.2.0", - "chokidar": "3.5.3", - "express": "4.22.0", - "fs-extra": "11.1.0", - "got": "13.0.0", - "ink": "6.3.0", - "ink-spinner": "5.0.0", - "is-online": "10.0.0", - "js-yaml": "4.3.1", - "react": "19.2.3", - "socket.io": "4.8.0", - "tar": "7.5.21", - "yargs": "17.7.1" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@mintlify/previewing/node_modules/fs-extra": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", - "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@mintlify/scraping": { - "version": "4.0.1084", - "resolved": "https://registry.npmjs.org/@mintlify/scraping/-/scraping-4.0.1084.tgz", - "integrity": "sha512-ZmdSwuOMzH3NZOdncf2g4eaxoENEc4nlYRM6qjjQLSDGRIrIK1aZMjb1QUIMafWvaw7MLHX1PGK8uEZ5nAsk+Q==", - "dev": true, - "license": "Elastic-2.0", - "dependencies": { - "@mintlify/common": "1.0.1214", - "fast-xml-parser": "5.7.3", - "fs-extra": "11.1.1", - "graphql": "16.11.0", - "hast-util-to-mdast": "10.1.0", - "js-yaml": "4.3.1", - "mdast-util-mdx-jsx": "3.1.3", - "neotraverse": "0.6.18", - "rehype-parse": "9.0.1", - "remark-gfm": "4.0.0", - "remark-mdx": "3.0.1", - "remark-parse": "11.0.0", - "remark-stringify": "11.0.0", - "unified": "11.0.5", - "unist-util-visit": "5.0.0", - "yargs": "17.7.1", - "zod": "3.24.0" - }, - "bin": { - "mintlify-scrape": "bin/cli.js" - }, - "engines": { - "node": ">=18.0.0" - }, - "peerDependencies": { - "puppeteer": "24.3.1" - }, - "peerDependenciesMeta": { - "puppeteer": { - "optional": true - } - } - }, - "node_modules/@mintlify/scraping/node_modules/fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@mintlify/scraping/node_modules/mdast-util-mdx-jsx": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.1.3.tgz", - "integrity": "sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "@types/unist": "^3.0.0", - "ccount": "^2.0.0", - "devlop": "^1.1.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0", - "parse-entities": "^4.0.0", - "stringify-entities": "^4.0.0", - "unist-util-stringify-position": "^4.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/scraping/node_modules/remark-gfm": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", - "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-gfm": "^3.0.0", - "micromark-extension-gfm": "^3.0.0", - "remark-parse": "^11.0.0", - "remark-stringify": "^11.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/scraping/node_modules/remark-mdx": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-3.0.1.tgz", - "integrity": "sha512-3Pz3yPQ5Rht2pM5R+0J2MrGoBSrzf+tJG94N+t/ilfdh8YLyyKYtidAYwTveB20BoHAcwIopOUqhcmh2F7hGYA==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdast-util-mdx": "^3.0.0", - "micromark-extension-mdxjs": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/scraping/node_modules/zod": { - "version": "3.24.0", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.0.tgz", - "integrity": "sha512-Hz+wiY8yD0VLA2k/+nsg2Abez674dDGTai33SwNvMPuf9uIrBC9eFgIMQxBBbHFxVXi8W+5nX9DcAh9YNSQm/w==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, - "node_modules/@mintlify/validation": { - "version": "0.1.895", - "resolved": "https://registry.npmjs.org/@mintlify/validation/-/validation-0.1.895.tgz", - "integrity": "sha512-f4Crb8hoBwKDrmL0TVNYhtI24bom3+zeQV150hFF18fQ3/YiZGK7L4btYRj5Gdq8Xh4kNaX2cEgMjkA/YjWDEA==", - "dev": true, - "license": "Elastic-2.0", - "dependencies": { - "@mintlify/mdx": "4.0.7", - "@mintlify/models": "0.0.369", - "fractional-indexing": "3.2.0", - "js-yaml": "4.3.1", - "lcm": "0.0.3", - "lodash": "4.18.1", - "neotraverse": "0.6.18", - "object-hash": "3.0.0", - "openapi-types": "12.1.3", - "uuid": "11.1.1", - "zod": "3.24.0", - "zod-to-json-schema": "3.20.4" - } - }, - "node_modules/@mintlify/validation/node_modules/@base-ui/react": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@base-ui/react/-/react-1.8.0.tgz", - "integrity": "sha512-P0/1sxo6SBVZOklKMIedvTWqw2s2IQzi9x5bIVsXu980cuSOD4NeuRSs+/L7LZQfDkZP/uRZyGPyfFl/B1oH+Q==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.29.7", - "@base-ui/utils": "0.4.0", - "@floating-ui/react-dom": "^2.1.9", - "@floating-ui/utils": "^0.2.12", - "use-sync-external-store": "^1.6.0" - }, - "engines": { - "node": ">=14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui-org" - }, - "peerDependencies": { - "@date-fns/tz": "^1.2.0", - "@types/react": "^17 || ^18 || ^19", - "date-fns": "^4.0.0", - "react": "^17 || ^18 || ^19", - "react-dom": "^17 || ^18 || ^19" - }, - "peerDependenciesMeta": { - "@date-fns/tz": { - "optional": true - }, - "@types/react": { - "optional": true - }, - "date-fns": { - "optional": true - } - } - }, - "node_modules/@mintlify/validation/node_modules/@base-ui/utils": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@base-ui/utils/-/utils-0.4.0.tgz", - "integrity": "sha512-bO9fz25kKtPf+aZVyfQrC0PDmJdmVni31W2hCS5/Owb+inwdIL3XU26pCPRPlt4LSxZrBgLwubXQXQlKaFEZzw==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.29.7", - "@floating-ui/utils": "^0.2.12", - "reselect": "^5.2.0", - "use-sync-external-store": "^1.6.0" - }, - "peerDependencies": { - "@types/react": "^17 || ^18 || ^19", - "react": "^17 || ^18 || ^19", - "react-dom": "^17 || ^18 || ^19" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mintlify/validation/node_modules/@floating-ui/react-dom": { - "version": "2.1.9", - "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.9.tgz", - "integrity": "sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@floating-ui/dom": "^1.8.0" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "node_modules/@mintlify/validation/node_modules/@mintlify/mdx": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@mintlify/mdx/-/mdx-4.0.7.tgz", - "integrity": "sha512-/kOnIHvjM4jwF7WoXjPRp1nDLjgW8YFyApw5JQiXU6cEdXJdqpWH1xW+0rgGD4adi6yXY+Re9cfNRMftJzCo5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/transformers": "^3.23.0", - "@shikijs/twoslash": "^3.23.0", - "arktype": "^2.1.26", - "hast-util-to-string": "^3.0.1", - "mdast-util-from-markdown": "^2.0.2", - "mdast-util-gfm": "^3.1.0", - "mdast-util-mdx-jsx": "^3.2.0", - "mdast-util-to-hast": "^13.2.0", - "next-mdx-remote-client": "^2.1.11", - "rehype-katex": "^7.0.1", - "remark-gfm": "^4.0.0", - "remark-math": "^6.0.0", - "remark-smartypants": "^3.0.2", - "shiki": "^3.23.0", - "twoslash": "^0.3.4", - "unified": "^11.0.0", - "unist-util-visit": "^5.0.0" - }, - "peerDependencies": { - "@base-ui/react": "^1.6.0", - "react": "^19.2.1", - "react-dom": "^19.2.1" - } - }, - "node_modules/@mintlify/validation/node_modules/mdast-util-gfm": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", - "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-gfm-autolink-literal": "^2.0.0", - "mdast-util-gfm-footnote": "^2.0.0", - "mdast-util-gfm-strikethrough": "^2.0.0", - "mdast-util-gfm-table": "^2.0.0", - "mdast-util-gfm-task-list-item": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mintlify/validation/node_modules/next-mdx-remote-client": { - "version": "2.1.12", - "resolved": "https://registry.npmjs.org/next-mdx-remote-client/-/next-mdx-remote-client-2.1.12.tgz", - "integrity": "sha512-KDfhIk5aEM0kkZ0xQ8XBkmo4O5xmJeGWUomm40Ac/xhkt5sIDOTmTU/QFfmJGLJUJipD5o0BAHqVSIZKuXgNEw==", - "dev": true, - "license": "MPL 2.0", - "dependencies": { - "@babel/code-frame": "^7.29.7", - "@mdx-js/mdx": "^3.1.1", - "@mdx-js/react": "^3.1.1", - "@types/mdx": "^2.0.14", - "remark-mdx-remove-esm": "^1.3.2", - "serialize-error": "^13.0.1", - "vfile": "^6.0.3", - "vfile-matter": "^5.0.1" - }, - "engines": { - "node": ">=20.9.0" - }, - "peerDependencies": { - "react": ">= 19.1.0", - "react-dom": ">= 19.1.0" - } - }, - "node_modules/@mintlify/validation/node_modules/react": { - "version": "19.3.0", - "resolved": "https://registry.npmjs.org/react/-/react-19.3.0.tgz", - "integrity": "sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@mintlify/validation/node_modules/react-dom": { - "version": "19.3.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.0.tgz", - "integrity": "sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "scheduler": "^0.28.0" - }, - "peerDependencies": { - "react": "^19.3.0" - } - }, - "node_modules/@mintlify/validation/node_modules/scheduler": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", - "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", - "dev": true, - "license": "MIT", - "peer": true - }, - "node_modules/@mintlify/validation/node_modules/zod": { - "version": "3.24.0", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.0.tgz", - "integrity": "sha512-Hz+wiY8yD0VLA2k/+nsg2Abez674dDGTai33SwNvMPuf9uIrBC9eFgIMQxBBbHFxVXi8W+5nX9DcAh9YNSQm/w==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, - "node_modules/@mintlify/validation/node_modules/zod-to-json-schema": { - "version": "3.20.4", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.20.4.tgz", - "integrity": "sha512-Un9+kInJ2Zt63n6Z7mLqBifzzPcOyX+b+Exuzf7L1+xqck9Q2EPByyTRduV3kmSPaXaRer1JCsucubpgL1fipg==", - "dev": true, - "license": "ISC", - "peerDependencies": { - "zod": "^3.20.0" - } - }, - "node_modules/@modelcontextprotocol/sdk": { - "version": "1.32.1", - "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.1.tgz", - "integrity": "sha512-2DdE+SJDtzLEEWzY1ZjY7Q+VcPhcV1KisD3zI4u0XZyktsjHum1mwbMI+JaulUBi2OZk+KJAi2uPXzxichPkdw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@hono/node-server": "^1.19.9 || ^2.0.5", - "ajv": "^8.17.1", - "ajv-formats": "^3.0.1", - "content-type": "^1.0.5", - "cors": "^2.8.5", - "cross-spawn": "^7.0.5", - "eventsource": "^3.0.2", - "eventsource-parser": "^3.0.0", - "express": "^5.2.1", - "express-rate-limit": "^8.2.1", - "hono": "^4.11.4", - "jose": "^6.1.3", - "json-schema-typed": "^8.0.2", - "pkce-challenge": "^5.0.0", - "raw-body": "^3.0.0", - "zod": "^3.25 || ^4.0", - "zod-to-json-schema": "^3.25.1" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@cfworker/json-schema": "^4.1.1", - "zod": "^3.25 || ^4.0" - }, - "peerDependenciesMeta": { - "@cfworker/json-schema": { - "optional": true - }, - "zod": { - "optional": false - } - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/accepts": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", - "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "mime-types": "^3.0.0", - "negotiator": "^1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/ajv-formats": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", - "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/body-parser": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz", - "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "bytes": "^3.1.2", - "content-type": "^2.0.0", - "debug": "^4.4.3", - "http-errors": "^2.0.1", - "iconv-lite": "^0.7.2", - "on-finished": "^2.4.1", - "qs": "^6.15.2", - "raw-body": "^3.0.2", - "type-is": "^2.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/body-parser/node_modules/content-type": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", - "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/content-disposition": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", - "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/cookie-signature": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", - "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=6.6.0" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/express": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", - "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "accepts": "^2.0.0", - "body-parser": "^2.2.1", - "content-disposition": "^1.0.0", - "content-type": "^1.0.5", - "cookie": "^0.7.1", - "cookie-signature": "^1.2.1", - "debug": "^4.4.0", - "depd": "^2.0.0", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "etag": "^1.8.1", - "finalhandler": "^2.1.0", - "fresh": "^2.0.0", - "http-errors": "^2.0.0", - "merge-descriptors": "^2.0.0", - "mime-types": "^3.0.0", - "on-finished": "^2.4.1", - "once": "^1.4.0", - "parseurl": "^1.3.3", - "proxy-addr": "^2.0.7", - "qs": "^6.14.0", - "range-parser": "^1.2.1", - "router": "^2.2.0", - "send": "^1.1.0", - "serve-static": "^2.2.0", - "statuses": "^2.0.1", - "type-is": "^2.0.1", - "vary": "^1.1.2" - }, - "engines": { - "node": ">= 18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/finalhandler": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", - "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "debug": "^4.4.0", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "on-finished": "^2.4.1", - "parseurl": "^1.3.3", - "statuses": "^2.0.1" - }, - "engines": { - "node": ">= 18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", - "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/media-typer": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz", - "integrity": "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/merge-descriptors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", - "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/mime-db": { - "version": "1.54.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", - "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/mime-types": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", - "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "mime-db": "^1.54.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/negotiator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz", - "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "content-type": "^2.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/negotiator/node_modules/content-type": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", - "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/send": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", - "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "debug": "^4.4.3", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "etag": "^1.8.1", - "fresh": "^2.0.0", - "http-errors": "^2.0.1", - "mime-types": "^3.0.2", - "ms": "^2.1.3", - "on-finished": "^2.4.1", - "range-parser": "^1.2.1", - "statuses": "^2.0.2" - }, - "engines": { - "node": ">= 18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/serve-static": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", - "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "parseurl": "^1.3.3", - "send": "^1.2.0" - }, - "engines": { - "node": ">= 18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/type-is": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", - "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "content-type": "^2.0.0", - "media-typer": "^1.1.0", - "mime-types": "^3.0.0" - }, - "engines": { - "node": ">= 18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/type-is/node_modules/content-type": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", - "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/@nodable/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-9uGyhaQavEUMC8AIddIjau4NsnsXhou+j5sBAGojCM1oxmQpVKTWR/9JxABD6UAv12vpIms55fPZKFQEhG6uBg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/nodable" - } - ], - "license": "MIT" - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@openai/codex": { - "version": "0.149.1", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1.tgz", - "integrity": "sha512-6q5pbcpFbJbqOpkubSDBwXmktQ55aD8eUzGzBF1zASob2DjwhBKDSNGtdZKalfrNJUdTDTPDMmzCXEXs5tMBYA==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "bin": { - "codex": "bin/codex.js" - }, - "engines": { - "node": ">=16" - }, - "optionalDependencies": { - "@openai/codex-darwin-arm64": "npm:@openai/codex@0.149.1-darwin-arm64", - "@openai/codex-darwin-x64": "npm:@openai/codex@0.149.1-darwin-x64", - "@openai/codex-linux-arm64": "npm:@openai/codex@0.149.1-linux-arm64", - "@openai/codex-linux-x64": "npm:@openai/codex@0.149.1-linux-x64", - "@openai/codex-win32-arm64": "npm:@openai/codex@0.149.1-win32-arm64", - "@openai/codex-win32-x64": "npm:@openai/codex@0.149.1-win32-x64" - } - }, - "node_modules/@openai/codex-darwin-arm64": { - "name": "@openai/codex", - "version": "0.149.1-darwin-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-darwin-arm64.tgz", - "integrity": "sha512-6X84kTCbnTgPIJ2EdcPsrvwS0Wxsqpa+bCswGmRf4BjhcQ5nPMnBC6yCAaCMj+vrbXQHj+L6sa9FaR4QkmA1qw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "Apache-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=16" - } - }, - "node_modules/@openai/codex-darwin-x64": { - "name": "@openai/codex", - "version": "0.149.1-darwin-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-darwin-x64.tgz", - "integrity": "sha512-MfLBQLfcElJL9tvj6y45qVHHMGSXCPnQOixuD3/Zq0g1BW/eFizkrGLdn48cFpc+l8cK+gt5nYG5pQYwVs6g4A==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "Apache-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=16" - } - }, - "node_modules/@openai/codex-linux-arm64": { - "name": "@openai/codex", - "version": "0.149.1-linux-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-linux-arm64.tgz", - "integrity": "sha512-OqxUfZ1TVvHd18zHPKK/8ZRlpk8Vy11mg5CMHaLxNWldTbwVImDKtSLWT+m8m4NM5Sz4PbjtZMrVT/RfpBW/mQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "Apache-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=16" - } - }, - "node_modules/@openai/codex-linux-x64": { - "name": "@openai/codex", - "version": "0.149.1-linux-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-linux-x64.tgz", - "integrity": "sha512-Of5fGYgr7tAMsyj6vhXb4/RM/UoA3Zq8BLegUBDC09UNy1XTLGYP/2XD+UX8z3qh0NDwxYdCjFIWdDNijKZggQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "Apache-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=16" - } - }, - "node_modules/@openai/codex-sdk": { - "version": "0.149.1", - "resolved": "https://registry.npmjs.org/@openai/codex-sdk/-/codex-sdk-0.149.1.tgz", - "integrity": "sha512-R00Rz5327LefZggAxl28r7vFQq1vxa91OxtjZJOsQfAM/MyH8InW5qwwRu6pzUmRGp1E29XrOzm7u1TeV5Yz2A==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "@openai/codex": "0.149.1" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@openai/codex-win32-arm64": { - "name": "@openai/codex", - "version": "0.149.1-win32-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-win32-arm64.tgz", - "integrity": "sha512-5K0DmOKGK9Bos627p8sK8ATHjovPK0sDyT6h9Cb+4v+5CW5SGw1HLgjGxoLfJ8g3cg6mtg/pRCXXo2L/j71UVA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "Apache-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=16" - } - }, - "node_modules/@openai/codex-win32-x64": { - "name": "@openai/codex", - "version": "0.149.1-win32-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.149.1-win32-x64.tgz", - "integrity": "sha512-G3QXGAg7nyyhqOeooAMUekBCeHd8a1QByhKcVAFyzNBaI06t6Ft7nsF+1SzFS0spuIdU4YyMi5YD26ukADBQUQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "Apache-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=16" - } - }, - "node_modules/@openapi-contrib/openapi-schema-to-json-schema": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@openapi-contrib/openapi-schema-to-json-schema/-/openapi-schema-to-json-schema-3.2.0.tgz", - "integrity": "sha512-Gj6C0JwCr8arj0sYuslWXUBSP/KnUlEGnPW4qxlXvAl543oaNQgMgIgkQUA6vs5BCCvwTEiL8m/wdWzfl4UvSw==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/@posthog/core": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@posthog/core/-/core-1.7.1.tgz", - "integrity": "sha512-kjK0eFMIpKo9GXIbts8VtAknsoZ18oZorANdtuTj1CbgS28t4ZVq//HAWhnxEuXRTrtkd+SUJ6Ux3j2Af8NCuA==", - "dev": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.6" - } - }, - "node_modules/@scarf/scarf": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.4.0.tgz", - "integrity": "sha512-xxeapPiUXdZAE3che6f3xogoJPeZgig6omHEy1rIY5WVsB3H2BHNnZH+gHG6x91SCWyQCzWGsuL2Hh3ClO5/qQ==", - "dev": true, - "hasInstallScript": true, - "license": "Apache-2.0" - }, - "node_modules/@shikijs/core": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-3.23.0.tgz", - "integrity": "sha512-NSWQz0riNb67xthdm5br6lAkvpDJRTgB36fxlo37ZzM2yq0PQFFzbd8psqC2XMPgCzo1fW6cVi18+ArJ44wqgA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "3.23.0", - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4", - "hast-util-to-html": "^9.0.5" - } - }, - "node_modules/@shikijs/core/node_modules/hast-util-to-html": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz", - "integrity": "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/unist": "^3.0.0", - "ccount": "^2.0.0", - "comma-separated-tokens": "^2.0.0", - "hast-util-whitespace": "^3.0.0", - "html-void-elements": "^3.0.0", - "mdast-util-to-hast": "^13.0.0", - "property-information": "^7.0.0", - "space-separated-tokens": "^2.0.0", - "stringify-entities": "^4.0.0", - "zwitch": "^2.0.4" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@shikijs/engine-javascript": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-3.23.0.tgz", - "integrity": "sha512-aHt9eiGFobmWR5uqJUViySI1bHMqrAgamWE1TYSUoftkAeCCAiGawPMwM+VCadylQtF4V3VNOZ5LmfItH5f3yA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "3.23.0", - "@shikijs/vscode-textmate": "^10.0.2", - "oniguruma-to-es": "^4.3.4" - } - }, - "node_modules/@shikijs/engine-oniguruma": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.23.0.tgz", - "integrity": "sha512-1nWINwKXxKKLqPibT5f4pAFLej9oZzQTsby8942OTlsJzOBZ0MWKiwzMsd+jhzu8YPCHAswGnnN1YtQfirL35g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "3.23.0", - "@shikijs/vscode-textmate": "^10.0.2" - } - }, - "node_modules/@shikijs/langs": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.23.0.tgz", - "integrity": "sha512-2Ep4W3Re5aB1/62RSYQInK9mM3HsLeB91cHqznAJMuylqjzNVAVCMnNWRHFtcNHXsoNRayP9z1qj4Sq3nMqYXg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "3.23.0" - } - }, - "node_modules/@shikijs/themes": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.23.0.tgz", - "integrity": "sha512-5qySYa1ZgAT18HR/ypENL9cUSGOeI2x+4IvYJu4JgVJdizn6kG4ia5Q1jDEOi7gTbN4RbuYtmHh0W3eccOrjMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "3.23.0" - } - }, - "node_modules/@shikijs/transformers": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@shikijs/transformers/-/transformers-3.23.0.tgz", - "integrity": "sha512-F9msZVxdF+krQNSdQ4V+Ja5QemeAoTQ2jxt7nJCwhDsdF1JWS3KxIQXA3lQbyKwS3J61oHRUSv4jYWv3CkaKTQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/core": "3.23.0", - "@shikijs/types": "3.23.0" - } - }, - "node_modules/@shikijs/twoslash": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@shikijs/twoslash/-/twoslash-3.23.0.tgz", - "integrity": "sha512-pNaLJWMA3LU7PhT8tm9OQBZ1epy0jmdgeJzntBtr1EVXLbHxGzTj3mnf9vOdcl84l96qnlJXkJ/NGXZYBpXl5g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/core": "3.23.0", - "@shikijs/types": "3.23.0", - "twoslash": "^0.3.6" - }, - "peerDependencies": { - "typescript": ">=5.5.0" - } - }, - "node_modules/@shikijs/types": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.23.0.tgz", - "integrity": "sha512-3JZ5HXOZfYjsYSk0yPwBrkupyYSLpAE26Qc0HLghhZNGTZg/SKxXIIgoxOpmmeQP0RRSDJTk1/vPfw9tbw+jSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" - } - }, - "node_modules/@shikijs/vscode-textmate": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz", - "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@sindresorhus/is": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz", - "integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sindresorhus/is?sponsor=1" - } - }, - "node_modules/@sindresorhus/slugify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/slugify/-/slugify-2.2.0.tgz", - "integrity": "sha512-9Vybc/qX8Kj6pxJaapjkFbiUJPk7MAkCh/GFCxIBnnsuYCFPIXKvnLidG8xlepht3i24L5XemUmGtrJ3UWrl6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/transliterate": "^1.0.0", - "escape-string-regexp": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@sindresorhus/transliterate": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/transliterate/-/transliterate-1.6.0.tgz", - "integrity": "sha512-doH1gimEu3A46VX6aVxpHTeHrytJAG6HgdxntYnCFiIFHEM/ZGpG8KiZGBChchjQmG0XFIBL552kBTjVcMZXwQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@socket.io/component-emitter": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", - "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@stablelib/base64": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/base64/-/base64-1.0.1.tgz", - "integrity": "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/@stoplight/better-ajv-errors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-1.0.3.tgz", - "integrity": "sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "jsonpointer": "^5.0.0", - "leven": "^3.1.0" - }, - "engines": { - "node": "^12.20 || >= 14.13" - }, - "peerDependencies": { - "ajv": ">=8" - } - }, - "node_modules/@stoplight/better-ajv-errors/node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/@stoplight/json": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz", - "integrity": "sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@stoplight/ordered-object-literal": "^1.0.3", - "@stoplight/path": "^1.3.2", - "@stoplight/types": "^13.6.0", - "jsonc-parser": "~2.2.1", - "lodash": "^4.17.21", - "safe-stable-stringify": "^1.1" - }, - "engines": { - "node": ">=8.3.0" - } - }, - "node_modules/@stoplight/json-ref-readers": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz", - "integrity": "sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "node-fetch": "^2.6.0", - "tslib": "^1.14.1" - }, - "engines": { - "node": ">=8.3.0" - } - }, - "node_modules/@stoplight/json-ref-resolver": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.6.tgz", - "integrity": "sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@stoplight/json": "^3.21.0", - "@stoplight/path": "^1.3.2", - "@stoplight/types": "^12.3.0 || ^13.0.0", - "@types/urijs": "^1.19.19", - "dependency-graph": "~0.11.0", - "fast-memoize": "^2.5.2", - "immer": "^9.0.6", - "lodash": "^4.17.21", - "tslib": "^2.6.0", - "urijs": "^1.19.11" - }, - "engines": { - "node": ">=8.3.0" - } - }, - "node_modules/@stoplight/json-ref-resolver/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/@stoplight/json/node_modules/jsonc-parser": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.1.tgz", - "integrity": "sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==", - "dev": true, - "license": "MIT" - }, - "node_modules/@stoplight/ordered-object-literal": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.5.tgz", - "integrity": "sha512-COTiuCU5bgMUtbIFBuyyh2/yVVzlr5Om0v5utQDgBCuQUOPgU1DwoffkTfg4UBQOvByi5foF4w4T+H9CoRe5wg==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, - "node_modules/@stoplight/path": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@stoplight/path/-/path-1.3.2.tgz", - "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, - "node_modules/@stoplight/spectral-core": { - "version": "1.24.0", - "resolved": "https://registry.npmjs.org/@stoplight/spectral-core/-/spectral-core-1.24.0.tgz", - "integrity": "sha512-abKt++GFFaqwKiGTfPZ5O3nIv8s+1V7J5awCjWPBtCXn7ZKTEPzEF8tBYsM3ne+RMrQ8ORkHzKFu9QZhenmkPw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@scarf/scarf": "^1.4.0", - "@stoplight/better-ajv-errors": "1.0.3", - "@stoplight/json": "~3.21.0", - "@stoplight/path": "1.3.2", - "@stoplight/spectral-parsers": "^1.0.0", - "@stoplight/spectral-ref-resolver": "^1.0.4", - "@stoplight/spectral-runtime": "^1.1.2", - "@stoplight/types": "~13.6.0", - "@types/es-aggregate-error": "^1.0.2", - "@types/json-schema": "^7.0.11", - "ajv": "^8.18.0", - "ajv-errors": "~3.0.0", - "ajv-formats": "~2.1.1", - "es-aggregate-error": "^1.0.7", - "expr-eval-fork": "^3.0.1", - "jsonpath-plus": "^10.3.0", - "lodash": "^4.18.1", - "lodash.topath": "^4.5.2", - "minimatch": "^3.1.4", - "nimma": "0.2.3", - "pony-cause": "^1.1.1", - "tslib": "^2.8.1" - }, - "engines": { - "node": "^16.20 || ^18.18 || >= 20.17" - } - }, - "node_modules/@stoplight/spectral-core/node_modules/@stoplight/types": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.6.0.tgz", - "integrity": "sha512-dzyuzvUjv3m1wmhPfq82lCVYGcXG0xUYgqnWfCq3PCVR4BKFhjdkHrnJ+jIDoMKvXb05AZP/ObQF6+NpDo29IQ==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.4", - "utility-types": "^3.10.0" - }, - "engines": { - "node": "^12.20 || >=14.13" - } - }, - "node_modules/@stoplight/spectral-core/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/@stoplight/spectral-formats": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@stoplight/spectral-formats/-/spectral-formats-1.9.0.tgz", - "integrity": "sha512-OmHZpeBdlWbDxAI43HR08vyVXY2D++YHBx9AWMQ6S2DH8aWWCvk64BJOJk161XsHJQuy/vnC8tRBIIKwSQPAsA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@scarf/scarf": "^1.4.0", - "@stoplight/json": "^3.17.0", - "@stoplight/spectral-core": "^1.23.0", - "@types/json-schema": "^7.0.7", - "tslib": "^2.8.1" - }, - "engines": { - "node": "^16.20 || ^18.18 || >= 20.17" - } - }, - "node_modules/@stoplight/spectral-formats/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/@stoplight/spectral-functions": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@stoplight/spectral-functions/-/spectral-functions-1.11.0.tgz", - "integrity": "sha512-HFlFhI+q13GqG8pphY4nNGYq9+5L14dhR9xLqx+/H2/FmAouHTfNaqE4SygIhSmtMxfNDJ8G4qnjxiQRv1kPWA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@scarf/scarf": "^1.4.0", - "@stoplight/better-ajv-errors": "1.0.3", - "@stoplight/json": "^3.17.1", - "@stoplight/spectral-core": "^1.23.0", - "@stoplight/spectral-formats": "^1.8.1", - "@stoplight/spectral-runtime": "^1.1.2", - "ajv": "^8.18.0", - "ajv-draft-04": "~1.0.0", - "ajv-errors": "~3.0.0", - "ajv-formats": "~2.1.1", - "lodash": "^4.18.1", - "tslib": "^2.8.1" - }, - "engines": { - "node": "^16.20 || ^18.18 || >= 20.17" - } - }, - "node_modules/@stoplight/spectral-functions/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/@stoplight/spectral-parsers": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@stoplight/spectral-parsers/-/spectral-parsers-1.0.5.tgz", - "integrity": "sha512-ANDTp2IHWGvsQDAY85/jQi9ZrF4mRrA5bciNHX+PUxPr4DwS6iv4h+FVWJMVwcEYdpyoIdyL+SRmHdJfQEPmwQ==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@stoplight/json": "~3.21.0", - "@stoplight/types": "^14.1.1", - "@stoplight/yaml": "~4.3.0", - "tslib": "^2.8.1" - }, - "engines": { - "node": "^16.20 || ^18.18 || >= 20.17" - } - }, - "node_modules/@stoplight/spectral-parsers/node_modules/@stoplight/types": { - "version": "14.1.1", - "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-14.1.1.tgz", - "integrity": "sha512-/kjtr+0t0tjKr+heVfviO9FrU/uGLc+QNX3fHJc19xsCNYqU7lVhaXxDmEID9BZTjG+/r9pK9xP/xU02XGg65g==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.4", - "utility-types": "^3.10.0" - }, - "engines": { - "node": "^12.20 || >=14.13" - } - }, - "node_modules/@stoplight/spectral-parsers/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/@stoplight/spectral-ref-resolver": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@stoplight/spectral-ref-resolver/-/spectral-ref-resolver-1.0.5.tgz", - "integrity": "sha512-gj3TieX5a9zMW29z3mBlAtDOCgN3GEc1VgZnCVlr5irmR4Qi5LuECuFItAq4pTn5Zu+sW5bqutsCH7D4PkpyAA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@stoplight/json-ref-readers": "1.2.2", - "@stoplight/json-ref-resolver": "~3.1.6", - "@stoplight/spectral-runtime": "^1.1.2", - "dependency-graph": "0.11.0", - "tslib": "^2.8.1" - }, - "engines": { - "node": "^16.20 || ^18.18 || >= 20.17" - } - }, - "node_modules/@stoplight/spectral-ref-resolver/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/@stoplight/spectral-runtime": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@stoplight/spectral-runtime/-/spectral-runtime-1.1.6.tgz", - "integrity": "sha512-Y8rEDyMN4bSMJCrDs2shdcVHYyCnH3FvXRP4dBhha4Z8iJv+JPp7KqOV/hwVB/hWFC209upiwj2oDmLfR0qCDg==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@stoplight/json": "^3.20.1", - "@stoplight/path": "^1.3.2", - "@stoplight/types": "^13.6.0", - "lodash": "^4.18.1", - "node-fetch": "^2.7.0", - "tslib": "^2.8.1" - }, - "engines": { - "node": "^16.20 || ^18.18 || >= 20.17" - } - }, - "node_modules/@stoplight/spectral-runtime/node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/@stoplight/spectral-runtime/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/@stoplight/types": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.20.0.tgz", - "integrity": "sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.4", - "utility-types": "^3.10.0" - }, - "engines": { - "node": "^12.20 || >=14.13" - } - }, - "node_modules/@stoplight/yaml": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@stoplight/yaml/-/yaml-4.3.0.tgz", - "integrity": "sha512-JZlVFE6/dYpP9tQmV0/ADfn32L9uFarHWxfcRhReKUnljz1ZiUM5zpX+PH8h5CJs6lao3TuFqnPm9IJJCEkE2w==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@stoplight/ordered-object-literal": "^1.0.5", - "@stoplight/types": "^14.1.1", - "@stoplight/yaml-ast-parser": "0.0.50", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=10.8" - } - }, - "node_modules/@stoplight/yaml-ast-parser": { - "version": "0.0.50", - "resolved": "https://registry.npmjs.org/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.50.tgz", - "integrity": "sha512-Pb6M8TDO9DtSVla9yXSTAxmo9GVEouq5P40DWXdOie69bXogZTkgvopCq+yEvTMA0F6PEvdJmbtTV3ccIp11VQ==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/@stoplight/yaml/node_modules/@stoplight/types": { - "version": "14.1.1", - "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-14.1.1.tgz", - "integrity": "sha512-/kjtr+0t0tjKr+heVfviO9FrU/uGLc+QNX3fHJc19xsCNYqU7lVhaXxDmEID9BZTjG+/r9pK9xP/xU02XGg65g==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.4", - "utility-types": "^3.10.0" - }, - "engines": { - "node": "^12.20 || >=14.13" - } - }, - "node_modules/@stoplight/yaml/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/@szmarczak/http-timer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz", - "integrity": "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==", - "dev": true, - "license": "MIT", - "dependencies": { - "defer-to-connect": "^2.0.1" - }, - "engines": { - "node": ">=14.16" - } - }, - "node_modules/@types/cors": { - "version": "2.8.19", - "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.19.tgz", - "integrity": "sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/debug": { - "version": "4.1.13", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", - "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/ms": "*" - } - }, - "node_modules/@types/es-aggregate-error": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/@types/es-aggregate-error/-/es-aggregate-error-1.0.6.tgz", - "integrity": "sha512-qJ7LIFp06h1QE1aVxbVd+zJP2wdaugYXYfd6JxsyRMrYHaxb6itXPogW2tz+ylUJ1n1b+JF1PHyYCfYHm0dvUg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/estree": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", - "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/estree-jsx": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", - "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "*" - } - }, - "node_modules/@types/hast": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", - "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "*" - } - }, - "node_modules/@types/http-cache-semantics": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz", - "integrity": "sha512-L3LgimLHXtGkWikKnsPg0/VFx9OGZaC+eN1u4r+OB1XRqH3meBIAVC2zr1WdMH+RHmnRkqliQAOHNJ/E0j/e0Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/katex": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.8.tgz", - "integrity": "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/mdast": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", - "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "*" - } - }, - "node_modules/@types/mdx": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.14.tgz", - "integrity": "sha512-T48PeuJtvLosNTPVhfnIp3i/n3a4g4Bad7YCq5k64D4u7NwDrAotikQ+5+sjtUvBmxCMlbo3dVL+C2dP0rWHzg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/ms": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", - "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/nlcst": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/nlcst/-/nlcst-2.0.3.tgz", - "integrity": "sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "*" - } - }, - "node_modules/@types/node": { - "version": "26.6.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.4.tgz", - "integrity": "sha512-ldVPDCzj7fsaGZrLB0NuHuTvJcsNasysBAqMolr/cgxrLd1xbqxIr3XJiPnHHJUCxj5sNF1vnRj9aWnrVh5Jcg==", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~8.9.0" - } - }, - "node_modules/@types/react": { - "version": "19.3.0", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", - "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "csstype": "^3.2.2" - } - }, - "node_modules/@types/unist": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", - "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/urijs": { - "version": "1.19.26", - "resolved": "https://registry.npmjs.org/@types/urijs/-/urijs-1.19.26.tgz", - "integrity": "sha512-wkXrVzX5yoqLnndOwFsieJA7oKM8cNkOKJtf/3vVGSUFkWDKZvFHpIl9Pvqb/T9UsawBBFMTTD8xu7sK5MWuvg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/ws": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.2.tgz", - "integrity": "sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@typescript/vfs": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/@typescript/vfs/-/vfs-1.6.5.tgz", - "integrity": "sha512-gobLHQLmvQGJInFk31NvgMd1uYzRXsd8qgnOssyLD055R2QPnw1ubRbBQ4+T+5qC7IQVuYXdvNDE2G7tMDVHgw==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.4.3" - }, - "peerDependencies": { - "typescript": "*" - } - }, - "node_modules/@ungap/structured-clone": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", - "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/acorn": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", - "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", - "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/address": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/address/-/address-1.2.2.tgz", - "integrity": "sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/adm-zip": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.6.1.tgz", - "integrity": "sha512-Xwrja8nx9e5o2N1my4DsKCeKpdrnACyr1wtbPxBDgGzKzKyE9kRtBFA8mWldI+RVlD7CBZNWY/wQ2+ydwOR6kQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.0" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/aggregate-error": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", - "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", - "dev": true, - "license": "MIT", - "dependencies": { - "clean-stack": "^4.0.0", - "indent-string": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ajv": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", - "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-draft-04": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", - "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "ajv": "^8.5.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ajv-errors": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", - "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "ajv": "^8.0.1" - } - }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ansi-escapes": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.3.0.tgz", - "integrity": "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg==", - "dev": true, - "license": "MIT", - "dependencies": { - "environment": "^1.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", - "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/any-promise": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "dev": true, - "license": "MIT" - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "license": "ISC", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/anynum": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/anynum/-/anynum-1.0.1.tgz", - "integrity": "sha512-N6//FLET/tXYNM/F6ABca1oH6fWB+KlTt909Le28WMDBk8oaT4vY17DCrwg2MvmuqUKt3Ni4N5dGJ/EoBgcO6A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT" - }, - "node_modules/arg": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", - "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", - "dev": true, - "license": "MIT" - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true, - "license": "Python-2.0" - }, - "node_modules/arkregex": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/arkregex/-/arkregex-0.0.13.tgz", - "integrity": "sha512-c17sqCqiiZauxyoU1KZ2zbzCgeghGmc8dR2CrdQnlEtpq3bLhRLoLrxTL52M/8yQD8e/i1/IBRpRCNAuqJa7xQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@ark/util": "0.56.7" - } - }, - "node_modules/arktype": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/arktype/-/arktype-2.2.8.tgz", - "integrity": "sha512-tZyLza7kO2vN8BXBKcj4t43IVMe8/ZyqlITH0chZv7FfEw+edLovpY922tqcK4mCjTpf4oNo2xV6np7tquP1ww==", - "dev": true, - "license": "MIT", - "dependencies": { - "@ark/schema": "0.56.7", - "@ark/util": "0.56.7", - "arkregex": "0.0.13" - } - }, - "node_modules/array-buffer-byte-length": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", - "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "is-array-buffer": "^3.0.5" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", - "dev": true, - "license": "MIT" - }, - "node_modules/array-iterate": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/array-iterate/-/array-iterate-2.0.1.tgz", - "integrity": "sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", - "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.5", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "is-array-buffer": "^3.0.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/astring": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/astring/-/astring-1.9.0.tgz", - "integrity": "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==", - "dev": true, - "license": "MIT", - "bin": { - "astring": "bin/astring" - } - }, - "node_modules/async-function": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", - "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/auto-bind": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-5.0.1.tgz", - "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/avsc": { - "version": "5.7.9", - "resolved": "https://registry.npmjs.org/avsc/-/avsc-5.7.9.tgz", - "integrity": "sha512-yOA4wFeI7ET3v32Di/sUybQ+ttP20JHSW3mxLuNGeO0uD6PPcvLrIQXSvy/rhJOWU5JrYh7U4OHplWMmtAtjMg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.11" - } - }, - "node_modules/axios": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.20.0.tgz", - "integrity": "sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==", - "dev": true, - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.16.0", - "form-data": "^4.0.6", - "https-proxy-agent": "^5.0.1", - "proxy-from-env": "^2.1.0" - } - }, - "node_modules/bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "optional": true - }, - "node_modules/base64id": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", - "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^4.5.0 || >= 5.9" - } - }, - "node_modules/better-opn": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-3.0.2.tgz", - "integrity": "sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "open": "^8.0.4" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/body-parser": { - "version": "1.20.8", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.8.tgz", - "integrity": "sha512-JNcyFQ64OiijEkPzUBTCe+hyPXUD/3LEldGQ6iF5LR1w00mx9o7xtDWHXBY2iItjdCFGoilOLNQbH943ut7pHA==", - "dev": true, - "license": "MIT", - "dependencies": { - "bytes": "~3.1.2", - "content-type": "~1.0.5", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "~1.2.0", - "http-errors": "~2.0.1", - "iconv-lite": "~0.4.24", - "on-finished": "~2.4.1", - "qs": "~6.16.0", - "raw-body": "~2.5.3", - "type-is": "~1.6.18", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/body-parser/node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/body-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/body-parser/node_modules/raw-body": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", - "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", - "dev": true, - "license": "MIT", - "dependencies": { - "bytes": "~3.1.2", - "http-errors": "~2.0.1", - "iconv-lite": "~0.4.24", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.21", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", - "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "optional": true, - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/cacheable-lookup": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", - "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.16" - } - }, - "node_modules/cacheable-request": { - "version": "10.2.14", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz", - "integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/http-cache-semantics": "^4.0.2", - "get-stream": "^6.0.1", - "http-cache-semantics": "^4.1.1", - "keyv": "^4.5.3", - "mimic-response": "^4.0.0", - "normalize-url": "^8.0.0", - "responselike": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - } - }, - "node_modules/call-bind": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz", - "integrity": "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.2", - "es-define-property": "^1.0.1", - "get-intrinsic": "^1.3.0", - "set-function-length": "^1.2.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/call-bind-apply-helpers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", - "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/call-bound": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", - "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.2", - "get-intrinsic": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/camelcase-css": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", - "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/ccount": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", - "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/chalk": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", - "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/character-entities": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", - "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/character-entities-html4": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", - "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/character-entities-legacy": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", - "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/character-reference-invalid": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", - "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/chardet": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.2.0.tgz", - "integrity": "sha512-rddelWYNPRrXq6PtNEN2S3f6t9ILzvqaN5pVgi4kqt9jHQaXIial9PznB5iSPVlQSLNaaH22ItWz3EJtQ10+OA==", - "dev": true, - "license": "MIT" - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "license": "MIT", - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/chownr": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", - "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/clean-stack": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", - "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-boxes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz", - "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", - "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", - "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", - "dev": true, - "license": "MIT", - "dependencies": { - "slice-ansi": "^5.0.0", - "string-width": "^7.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate/node_modules/is-fullwidth-code-point": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate/node_modules/slice-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/cli-width": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">= 12" - } - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/cliui/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/cliui/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/code-excerpt": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz", - "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==", - "dev": true, - "license": "MIT", - "dependencies": { - "convert-to-spaces": "^2.0.1" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } - }, - "node_modules/collapse-white-space": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", - "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/color": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", - "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1", - "color-string": "^1.9.0" - }, - "engines": { - "node": ">=12.5.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "license": "MIT" - }, - "node_modules/color-string": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", - "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/comma-separated-tokens": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", - "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/commander": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz", - "integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=22.12.0" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true, - "license": "MIT" - }, - "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "5.2.1" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-type": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", - "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/convert-to-spaces": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz", - "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } - }, - "node_modules/cookie": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", - "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", - "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==", - "dev": true, - "license": "MIT" - }, - "node_modules/cors": { - "version": "2.8.6", - "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", - "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "object-assign": "^4", - "vary": "^1" - }, - "engines": { - "node": ">= 0.10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "license": "MIT", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssfilter": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz", - "integrity": "sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==", - "dev": true, - "license": "MIT" - }, - "node_modules/csstype": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", - "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", - "dev": true, - "license": "MIT", - "peer": true - }, - "node_modules/data-view-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", - "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/data-view-byte-length": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", - "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/inspect-js" - } - }, - "node_modules/data-view-byte-offset": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", - "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decode-bmp": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/decode-bmp/-/decode-bmp-0.2.1.tgz", - "integrity": "sha512-NiOaGe+GN0KJqi2STf24hfMkFitDUaIoUU3eKvP/wAbLe8o6FuW5n/x7MHPR0HKvBokp6MQY/j7w8lewEeVCIA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@canvas/image-data": "^1.0.0", - "to-data-view": "^1.1.0" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/decode-ico": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/decode-ico/-/decode-ico-0.4.1.tgz", - "integrity": "sha512-69NZfbKIzux1vBOd31al3XnMnH+2mqDhEgLdpygErm4d60N+UwA5Sq5WFjmEDQzumgB9fElojGwWG0vybVfFmA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@canvas/image-data": "^1.0.0", - "decode-bmp": "^0.2.0", - "to-data-view": "^1.1.0" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/decode-named-character-reference": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", - "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "character-entities": "^2.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/decompress-response": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-response": "^3.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decompress-response/node_modules/mimic-response": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/defer-to-connect": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", - "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/define-lazy-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/define-properties": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", - "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/dependency-graph": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", - "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/dequal": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", - "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/detect-libc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", - "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, - "node_modules/detect-port": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.5.1.tgz", - "integrity": "sha512-aBzdj76lueB6uUst5iAs7+0H/oOjqI5D16XUWxlWMIMROhcM0rfsNVk93zTngq1dDNpoXRr++Sus7ETAExppAQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "address": "^1.0.1", - "debug": "4" - }, - "bin": { - "detect": "bin/detect-port.js", - "detect-port": "bin/detect-port.js" - } - }, - "node_modules/devlop": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", - "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", - "dev": true, - "license": "MIT", - "dependencies": { - "dequal": "^2.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/didyoumean": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", - "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/dlv": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", - "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", - "dev": true, - "license": "MIT" - }, - "node_modules/dns-packet": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.1.tgz", - "integrity": "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@leichtgewicht/ip-codec": "^2.0.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/dns-socket": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/dns-socket/-/dns-socket-4.2.2.tgz", - "integrity": "sha512-BDeBd8najI4/lS00HSKpdFia+OvUMytaVjfzR9n5Lq8MlZRSvtbI+uLtx1+XmQFls5wFU9dssccTmQQ6nfpjdg==", - "dev": true, - "license": "MIT", - "dependencies": { - "dns-packet": "^5.2.4" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/dunder-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", - "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.1", - "es-errors": "^1.3.0", - "gopd": "^1.2.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "dev": true, - "license": "MIT" - }, - "node_modules/emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "dev": true, - "license": "MIT" - }, - "node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", - "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/engine.io": { - "version": "6.6.11", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.11.tgz", - "integrity": "sha512-z34mGpLoY/82ZbkX1LqGMIaf3wjVMPL6gVC681QDqnmzJ26synI8qAE32P+a7UazmpJZ8UGrFIeAavgRfXzYrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/cors": "^2.8.12", - "@types/node": ">=10.0.0", - "@types/ws": "^8.5.12", - "accepts": "~1.3.4", - "cookie": "~0.7.2", - "cors": "~2.8.5", - "debug": "~4.4.1", - "engine.io-parser": "~5.2.1", - "ws": "~8.21.0" - }, - "engines": { - "node": ">=10.2.0" - } - }, - "node_modules/engine.io-parser": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz", - "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/engine.io/node_modules/ws": { - "version": "8.21.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", - "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/entities": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", - "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/environment": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", - "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/es-abstract": { - "version": "1.24.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz", - "integrity": "sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.2", - "arraybuffer.prototype.slice": "^1.0.4", - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.8", - "call-bound": "^1.0.4", - "data-view-buffer": "^1.0.2", - "data-view-byte-length": "^1.0.2", - "data-view-byte-offset": "^1.0.1", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.1.1", - "es-set-tostringtag": "^2.1.0", - "es-to-primitive": "^1.3.0", - "function.prototype.name": "^1.1.8", - "get-intrinsic": "^1.3.0", - "get-proto": "^1.0.1", - "get-symbol-description": "^1.1.0", - "globalthis": "^1.0.4", - "gopd": "^1.2.0", - "has-property-descriptors": "^1.0.2", - "has-proto": "^1.2.0", - "has-symbols": "^1.1.0", - "hasown": "^2.0.2", - "internal-slot": "^1.1.0", - "is-array-buffer": "^3.0.5", - "is-callable": "^1.2.7", - "is-data-view": "^1.0.2", - "is-negative-zero": "^2.0.3", - "is-regex": "^1.2.1", - "is-set": "^2.0.3", - "is-shared-array-buffer": "^1.0.4", - "is-string": "^1.1.1", - "is-typed-array": "^1.1.15", - "is-weakref": "^1.1.1", - "math-intrinsics": "^1.1.0", - "object-inspect": "^1.13.4", - "object-keys": "^1.1.1", - "object.assign": "^4.1.7", - "own-keys": "^1.0.1", - "regexp.prototype.flags": "^1.5.4", - "safe-array-concat": "^1.1.3", - "safe-push-apply": "^1.0.0", - "safe-regex-test": "^1.1.0", - "set-proto": "^1.0.0", - "stop-iteration-iterator": "^1.1.0", - "string.prototype.trim": "^1.2.10", - "string.prototype.trimend": "^1.0.9", - "string.prototype.trimstart": "^1.0.8", - "typed-array-buffer": "^1.0.3", - "typed-array-byte-length": "^1.0.3", - "typed-array-byte-offset": "^1.0.4", - "typed-array-length": "^1.0.7", - "unbox-primitive": "^1.1.0", - "which-typed-array": "^1.1.19" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-abstract-get": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-abstract-get/-/es-abstract-get-1.0.0.tgz", - "integrity": "sha512-6PMWXpdhshVvFp+FoWYs1EvG1Nj0tvk0dZM+XcK0xMEM1czRVcP6ohqPWHy6qPagSpC8j4+p89WXlT+xXJs/fg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "es-object-atoms": "^1.1.2", - "is-callable": "^1.2.7", - "object-inspect": "^1.13.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-aggregate-error": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/es-aggregate-error/-/es-aggregate-error-1.0.14.tgz", - "integrity": "sha512-3YxX6rVb07B5TV11AV5wsL7nQCHXNwoHPsQC8S4AmBiqYhyNCJ5BRKXkXyDJvs8QzXN20NgRtxe3dEEQD9NLHA==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "define-properties": "^1.2.1", - "es-abstract": "^1.24.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "globalthis": "^1.0.4", - "has-property-descriptors": "^1.0.2", - "set-function-name": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-define-property": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", - "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-object-atoms": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", - "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-set-tostringtag": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", - "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-to-primitive": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.4.tgz", - "integrity": "sha512-yPDz7wqpg1/mmHLmS3tcfTfbw5f1eryXvyghYBffGdERwe+mV7ZcWzTR8LR17Kvqt3qfPurjlonmnq3MKXIOXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-abstract-get": "^1.0.0", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "is-callable": "^1.2.7", - "is-date-object": "^1.1.0", - "is-symbol": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-toolkit": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.52.0.tgz", - "integrity": "sha512-XTNEJQh1tY1ZJVcf6ayP/2n4ZPyaHlW2FWs7xvw5ddPuhUVjLD3olQVQS7kf58JbAB48iL0uL/jerTrjtV3lDA==", - "dev": true, - "license": "MIT", - "workspaces": [ - "docs", - "benchmarks", - "tests/types", - "tests/browser-compat" - ] - }, - "node_modules/esast-util-from-estree": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/esast-util-from-estree/-/esast-util-from-estree-2.0.0.tgz", - "integrity": "sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "devlop": "^1.0.0", - "estree-util-visit": "^2.0.0", - "unist-util-position-from-estree": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/esast-util-from-js": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/esast-util-from-js/-/esast-util-from-js-2.0.1.tgz", - "integrity": "sha512-8Ja+rNJ0Lt56Pcf3TAmpBZjmx8ZcK5Ts4cAzIOjsjevg9oSXJnl6SUQ2EevU8tv3h6ZLWmoKL5H4fgWvdvfETw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "acorn": "^8.0.0", - "esast-util-from-estree": "^2.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "dev": true, - "license": "MIT" - }, - "node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/estree-util-attach-comments": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/estree-util-attach-comments/-/estree-util-attach-comments-3.0.0.tgz", - "integrity": "sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/estree-util-build-jsx": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/estree-util-build-jsx/-/estree-util-build-jsx-3.0.1.tgz", - "integrity": "sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "devlop": "^1.0.0", - "estree-util-is-identifier-name": "^3.0.0", - "estree-walker": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/estree-util-is-identifier-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", - "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/estree-util-scope": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-util-scope/-/estree-util-scope-1.0.1.tgz", - "integrity": "sha512-B0np3dcdxqILX5e9nEi5/Fr4K7gL4oYFVPV1zRa2e9wRCbQoZZNWOZFYyoInvXUPJXBXjss+QXlWLJChDEHDkA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "devlop": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/estree-util-to-js": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/estree-util-to-js/-/estree-util-to-js-2.0.0.tgz", - "integrity": "sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "astring": "^1.8.0", - "source-map": "^0.7.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/estree-util-visit": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/estree-util-visit/-/estree-util-visit-2.0.0.tgz", - "integrity": "sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/estree-walker": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0" - } - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/eventsource": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz", - "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "eventsource-parser": "^3.0.1" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/eventsource-parser": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.1.tgz", - "integrity": "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/expand-template": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", - "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", - "dev": true, - "license": "(MIT OR WTFPL)", - "optional": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/expr-eval-fork": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/expr-eval-fork/-/expr-eval-fork-3.0.3.tgz", - "integrity": "sha512-BhC+hbc5lIVjygr840n5DEkW3MQq7H9o+mc1/N7Z5uIiCFVyESLL5DIE7LNq4CYUNxy+XjA+3jRrL/h0Kt2xcg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16.9.0" - } - }, - "node_modules/express": { - "version": "4.22.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.22.0.tgz", - "integrity": "sha512-c2iPh3xp5vvCLgaHK03+mWLFPhox7j1LwyxcZwFVApEv5i0X+IjPpbT50SJJwwLpdBVfp45AkK/v+AFgv/XlfQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "~1.20.3", - "content-disposition": "~0.5.4", - "content-type": "~1.0.4", - "cookie": "~0.7.1", - "cookie-signature": "~1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.3.1", - "fresh": "~0.5.2", - "http-errors": "~2.0.0", - "merge-descriptors": "1.0.3", - "methods": "~1.1.2", - "on-finished": "~2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "~0.1.12", - "proxy-addr": "~2.0.7", - "qs": "~6.14.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "~0.19.0", - "serve-static": "~1.16.2", - "setprototypeof": "1.2.0", - "statuses": "~2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/express-rate-limit": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.1.tgz", - "integrity": "sha512-2FXbqkygil3mZiXzEtM0IjE/UBmBNot0J1GEVrJT4JbrvwOSoEtqtO+wHbiMQELWe1eNvHoYRg2dkjOid+6JkA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "debug": "^4.4.3", - "ip-address": "^10.2.0" - }, - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://github.com/sponsors/express-rate-limit" - }, - "peerDependencies": { - "express": ">= 4.11" - } - }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-memoize": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/fast-memoize/-/fast-memoize-2.5.2.tgz", - "integrity": "sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-sha256": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz", - "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==", - "dev": true, - "license": "Unlicense", - "optional": true - }, - "node_modules/fast-uri": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", - "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/fast-xml-builder": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.3.1.tgz", - "integrity": "sha512-pIM/1n3ntFXKYrUZwW7QCK0gAW7XY+wzj1YMIV3tLDvPj/V+zTGJK5e3/4WJfwj0qWw2ElNXiTixda/R+3YSug==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "path-expression-matcher": "^1.6.2", - "xml-naming": "^0.3.0" - } - }, - "node_modules/fast-xml-parser": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.7.3.tgz", - "integrity": "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "@nodable/entities": "^2.1.0", - "fast-xml-builder": "^1.1.7", - "path-expression-matcher": "^1.5.0", - "strnum": "^2.2.3" - }, - "bin": { - "fxparser": "src/cli/cli.js" - } - }, - "node_modules/fastq": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz", - "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fault": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fault/-/fault-2.0.1.tgz", - "integrity": "sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "format": "^0.2.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/favicons": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/favicons/-/favicons-7.2.0.tgz", - "integrity": "sha512-k/2rVBRIRzOeom3wI9jBPaSEvoTSQEW4iM0EveBmBBKFxO8mSyyRWtDlfC3VnEfu0avmjrMzy8/ZFPSe6F71Hw==", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-html": "^1.0.3", - "sharp": "^0.33.1", - "xml2js": "^0.6.1" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/fflate": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz", - "integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==", - "dev": true, - "license": "MIT" - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/finalhandler": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz", - "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "on-finished": "~2.4.1", - "parseurl": "~1.3.3", - "statuses": "~2.0.2", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/follow-redirects": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.1.tgz", - "integrity": "sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "license": "MIT", - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/for-each": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz", - "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-callable": "^1.2.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/form-data": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", - "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.4", - "mime-types": "^2.1.35" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/form-data-encoder": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", - "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 14.17" - } - }, - "node_modules/format": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", - "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==", - "dev": true, - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fractional-indexing": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/fractional-indexing/-/fractional-indexing-3.2.0.tgz", - "integrity": "sha512-PcOxmqwYCW7O2ovKRU8OoQQj2yqTfEB/yeTYk4gPid6dN5ODRfU1hXd9tTVZzax/0NkO7AxpHykvZnT1aYp/BQ==", - "dev": true, - "license": "CC0-1.0", - "engines": { - "node": "^14.13.1 || >=16.0.0" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/front-matter": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-4.0.2.tgz", - "integrity": "sha512-I8ZuJ/qG92NWX8i5x1Y8qyj3vizhXS31OxjKDu3LKP+7/qBgfIKValiZIEwoVoJKUHlhWtYrktkxV1XsX+pPlg==", - "dev": true, - "license": "MIT", - "dependencies": { - "js-yaml": "^3.13.1" - } - }, - "node_modules/front-matter/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/front-matter/node_modules/js-yaml": { - "version": "3.15.2", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", - "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true, - "license": "ISC" - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/function.prototype.name": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.2.0.tgz", - "integrity": "sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.9", - "call-bound": "^1.0.4", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.2", - "hasown": "^2.0.4", - "is-callable": "^1.2.7", - "is-document.all": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gcd": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/gcd/-/gcd-0.0.1.tgz", - "integrity": "sha512-VNx3UEGr+ILJTiMs1+xc5SX1cMgJCrXezKPa003APUWNqQqaF6n25W8VcR7nHN6yRWbvvUTwCpZCFJeWC2kXlw==", - "dev": true, - "license": "MIT" - }, - "node_modules/generator-function": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/generator-function/-/generator-function-2.0.1.tgz", - "integrity": "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-east-asian-width": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", - "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-intrinsic": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", - "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.2", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.1.1", - "function-bind": "^1.1.2", - "get-proto": "^1.0.1", - "gopd": "^1.2.0", - "has-symbols": "^1.1.0", - "hasown": "^2.0.2", - "math-intrinsics": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", - "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-symbol-description": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", - "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/github-from-package": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/globalthis": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", - "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-properties": "^1.2.1", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gopd": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", - "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/got": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz", - "integrity": "sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/is": "^5.2.0", - "@szmarczak/http-timer": "^5.0.1", - "cacheable-lookup": "^7.0.0", - "cacheable-request": "^10.2.8", - "decompress-response": "^6.0.0", - "form-data-encoder": "^2.1.2", - "get-stream": "^6.0.1", - "http2-wrapper": "^2.1.10", - "lowercase-keys": "^3.0.0", - "p-cancelable": "^3.0.0", - "responselike": "^3.0.0" - }, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/graphql": { - "version": "16.11.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.11.0.tgz", - "integrity": "sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" - } - }, - "node_modules/has-bigints": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", - "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", - "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", - "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", - "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/hast-util-embedded": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hast-util-embedded/-/hast-util-embedded-3.0.0.tgz", - "integrity": "sha512-naH8sld4Pe2ep03qqULEtvYr7EjrLK2QHY8KJR6RJkTUjPGObe1vnx585uzem2hGra+s1q08DZZpfgDVYRbaXA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "hast-util-is-element": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-from-dom": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz", - "integrity": "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==", - "dev": true, - "license": "ISC", - "dependencies": { - "@types/hast": "^3.0.0", - "hastscript": "^9.0.0", - "web-namespaces": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-from-html": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", - "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "devlop": "^1.1.0", - "hast-util-from-parse5": "^8.0.0", - "parse5": "^7.0.0", - "vfile": "^6.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-from-html-isomorphic": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz", - "integrity": "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "hast-util-from-dom": "^5.0.0", - "hast-util-from-html": "^2.0.0", - "unist-util-remove-position": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-from-parse5": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.3.tgz", - "integrity": "sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/unist": "^3.0.0", - "devlop": "^1.0.0", - "hastscript": "^9.0.0", - "property-information": "^7.0.0", - "vfile": "^6.0.0", - "vfile-location": "^5.0.0", - "web-namespaces": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-has-property": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hast-util-has-property/-/hast-util-has-property-3.0.0.tgz", - "integrity": "sha512-MNilsvEKLFpV604hwfhVStK0usFY/QmM5zX16bo7EjnAEGofr5YyI37kzopBlZJkHD4t887i+q/C8/tr5Q94cA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-is-body-ok-link": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-3.0.1.tgz", - "integrity": "sha512-0qpnzOBLztXHbHQenVB8uNuxTnm/QBFUOmdOSsEn7GnBtyY07+ENTWVFBAnXd/zEgd9/SUG3lRY7hSIBWRgGpQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-is-element": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz", - "integrity": "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-minify-whitespace": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hast-util-minify-whitespace/-/hast-util-minify-whitespace-1.0.1.tgz", - "integrity": "sha512-L96fPOVpnclQE0xzdWb/D12VT5FabA7SnZOUMtL1DbXmYiHJMXZvFkIZfiMmTCNJHUeO2K9UYNXoVyfz+QHuOw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "hast-util-embedded": "^3.0.0", - "hast-util-is-element": "^3.0.0", - "hast-util-whitespace": "^3.0.0", - "unist-util-is": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-parse-selector": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", - "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-phrasing": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/hast-util-phrasing/-/hast-util-phrasing-3.0.1.tgz", - "integrity": "sha512-6h60VfI3uBQUxHqTyMymMZnEbNl1XmEGtOxxKYL7stY2o601COo62AWAYBQR9lZbYXYSBoxag8UpPRXK+9fqSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "hast-util-embedded": "^3.0.0", - "hast-util-has-property": "^3.0.0", - "hast-util-is-body-ok-link": "^3.0.0", - "hast-util-is-element": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-to-estree": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hast-util-to-estree/-/hast-util-to-estree-3.1.0.tgz", - "integrity": "sha512-lfX5g6hqVh9kjS/B9E2gSkvHH4SZNiQFiqWS0x9fENzEl+8W12RqdRxX6d/Cwxi30tPQs3bIO+aolQJNp1bIyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "comma-separated-tokens": "^2.0.0", - "devlop": "^1.0.0", - "estree-util-attach-comments": "^3.0.0", - "estree-util-is-identifier-name": "^3.0.0", - "hast-util-whitespace": "^3.0.0", - "mdast-util-mdx-expression": "^2.0.0", - "mdast-util-mdx-jsx": "^3.0.0", - "mdast-util-mdxjs-esm": "^2.0.0", - "property-information": "^6.0.0", - "space-separated-tokens": "^2.0.0", - "style-to-object": "^0.4.0", - "unist-util-position": "^5.0.0", - "zwitch": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-to-estree/node_modules/property-information": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", - "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/hast-util-to-html": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.4.tgz", - "integrity": "sha512-wxQzXtdbhiwGAUKrnQJXlOPmHnEehzphwkK7aluUPQ+lEc1xefC8pblMgpp2w5ldBTEfveRIrADcrhGIWrlTDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/unist": "^3.0.0", - "ccount": "^2.0.0", - "comma-separated-tokens": "^2.0.0", - "hast-util-whitespace": "^3.0.0", - "html-void-elements": "^3.0.0", - "mdast-util-to-hast": "^13.0.0", - "property-information": "^6.0.0", - "space-separated-tokens": "^2.0.0", - "stringify-entities": "^4.0.0", - "zwitch": "^2.0.4" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-to-html/node_modules/property-information": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", - "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/hast-util-to-jsx-runtime": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz", - "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/unist": "^3.0.0", - "comma-separated-tokens": "^2.0.0", - "devlop": "^1.0.0", - "estree-util-is-identifier-name": "^3.0.0", - "hast-util-whitespace": "^3.0.0", - "mdast-util-mdx-expression": "^2.0.0", - "mdast-util-mdx-jsx": "^3.0.0", - "mdast-util-mdxjs-esm": "^2.0.0", - "property-information": "^7.0.0", - "space-separated-tokens": "^2.0.0", - "style-to-js": "^1.0.0", - "unist-util-position": "^5.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-to-mdast": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/hast-util-to-mdast/-/hast-util-to-mdast-10.1.0.tgz", - "integrity": "sha512-DsL/SvCK9V7+vfc6SLQ+vKIyBDXTk2KLSbfBYkH4zeF/uR1yBajHRhkzuaUSGOB1WJSTieJBdHwxlC+HLKvZZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "@ungap/structured-clone": "^1.0.0", - "hast-util-phrasing": "^3.0.0", - "hast-util-to-html": "^9.0.0", - "hast-util-to-text": "^4.0.0", - "hast-util-whitespace": "^3.0.0", - "mdast-util-phrasing": "^4.0.0", - "mdast-util-to-hast": "^13.0.0", - "mdast-util-to-string": "^4.0.0", - "rehype-minify-whitespace": "^6.0.0", - "trim-trailing-lines": "^2.0.0", - "unist-util-position": "^5.0.0", - "unist-util-visit": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-to-string": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.1.tgz", - "integrity": "sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-to-text": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz", - "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/unist": "^3.0.0", - "hast-util-is-element": "^3.0.0", - "unist-util-find-after": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-whitespace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", - "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hastscript": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.1.tgz", - "integrity": "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "comma-separated-tokens": "^2.0.0", - "hast-util-parse-selector": "^4.0.0", - "property-information": "^7.0.0", - "space-separated-tokens": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hono": { - "version": "4.13.13", - "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.13.tgz", - "integrity": "sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=16.9.0" - } - }, - "node_modules/html-void-elements": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", - "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/http-cache-semantics": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz", - "integrity": "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/http-errors": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", - "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "depd": "~2.0.0", - "inherits": "~2.0.4", - "setprototypeof": "~1.2.0", - "statuses": "~2.0.2", - "toidentifier": "~1.0.1" - }, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/http2-wrapper": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", - "integrity": "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.2.0" - }, - "engines": { - "node": ">=10.19.0" - } - }, - "node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/ico-endec": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/ico-endec/-/ico-endec-0.1.6.tgz", - "integrity": "sha512-ZdLU38ZoED3g1j3iEyzcQj+wAkY2xfWNkymszfJPoxucIUhK7NayQ+/C4Kv0nDFMIsbtbEHldv3V8PU494/ueQ==", - "dev": true, - "license": "MPL-2.0" - }, - "node_modules/iconv-lite": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", - "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause", - "optional": true - }, - "node_modules/ignore": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", - "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/immer": { - "version": "9.0.21", - "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", - "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", - "dev": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/immer" - } - }, - "node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "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.", - "dev": true, - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true, - "license": "ISC", - "optional": true - }, - "node_modules/ink": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ink/-/ink-6.3.0.tgz", - "integrity": "sha512-2CbJAa7XeziZYe6pDS5RVLirRY28iSGMQuEV8jRU5NQsONQNfcR/BZHHc9vkMg2lGYTHTM2pskxC1YmY28p6bQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@alcalzone/ansi-tokenize": "^0.2.0", - "ansi-escapes": "^7.0.0", - "ansi-styles": "^6.2.1", - "auto-bind": "^5.0.1", - "chalk": "^5.6.0", - "cli-boxes": "^3.0.0", - "cli-cursor": "^4.0.0", - "cli-truncate": "^4.0.0", - "code-excerpt": "^4.0.0", - "es-toolkit": "^1.39.10", - "indent-string": "^5.0.0", - "is-in-ci": "^2.0.0", - "patch-console": "^2.0.0", - "react-reconciler": "^0.32.0", - "signal-exit": "^3.0.7", - "slice-ansi": "^7.1.0", - "stack-utils": "^2.0.6", - "string-width": "^7.2.0", - "type-fest": "^4.27.0", - "widest-line": "^5.0.0", - "wrap-ansi": "^9.0.0", - "ws": "^8.18.0", - "yoga-layout": "~3.2.1" - }, - "engines": { - "node": ">=20" - }, - "peerDependencies": { - "@types/react": ">=19.0.0", - "react": ">=19.0.0", - "react-devtools-core": "^4.19.1" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "react-devtools-core": { - "optional": true - } - } - }, - "node_modules/ink-spinner": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ink-spinner/-/ink-spinner-5.0.0.tgz", - "integrity": "sha512-EYEasbEjkqLGyPOUc8hBJZNuC5GvXGMLu0w5gdTNskPc7Izc5vO3tdQEYnzvshucyGCBXc86ig0ujXPMWaQCdA==", - "dev": true, - "license": "MIT", - "dependencies": { - "cli-spinners": "^2.7.0" - }, - "engines": { - "node": ">=14.16" - }, - "peerDependencies": { - "ink": ">=4.0.0", - "react": ">=18.0.0" - } - }, - "node_modules/ink/node_modules/chalk": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/ink/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/ink/node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/inline-style-parser": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz", - "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/inquirer": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.3.0.tgz", - "integrity": "sha512-3NixUXq+hM8ezj2wc7wC37b32/rHq1MwNZDYdvx+d6jokOD+r+i8Q4Pkylh9tISYP114A128LCX8RKhopC5RfQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.1.2", - "@inquirer/prompts": "^7.2.1", - "@inquirer/type": "^3.0.2", - "ansi-escapes": "^4.3.2", - "mute-stream": "^2.0.0", - "run-async": "^3.0.0", - "rxjs": "^7.8.1" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - } - }, - "node_modules/inquirer/node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inquirer/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/internal-slot": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", - "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "hasown": "^2.0.2", - "side-channel": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ip-address": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.3.tgz", - "integrity": "sha512-A1kdq/tSb5QjvKvAMgIoEvDBIgL7qaqVP/jkvSwYYRZ9iEzvPpopxp2wQfu3SuZRHtpHNxMn8Fs0bS+gf5Xmwg==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 12" - } - }, - "node_modules/ip-regex": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/iregexp-check": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/iregexp-check/-/iregexp-check-0.1.2.tgz", - "integrity": "sha512-RCcV2SFO5JKh+DdmWiY7yVyiZzzk6XZiHEJvTKbzVs8Z0u404gnoSqDtFqg6C5qJBEG4QseWBQz9zhI68zskEQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/is-alphabetical": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", - "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-alphanumerical": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", - "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-alphabetical": "^2.0.0", - "is-decimal": "^2.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-array-buffer": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", - "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "get-intrinsic": "^1.2.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-arrayish": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.4.tgz", - "integrity": "sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==", - "dev": true, - "license": "MIT" - }, - "node_modules/is-async-function": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz", - "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "async-function": "^1.0.0", - "call-bound": "^1.0.3", - "get-proto": "^1.0.1", - "has-tostringtag": "^1.0.2", - "safe-regex-test": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-bigint": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", - "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-bigints": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-boolean-object": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", - "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz", - "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==", - "dev": true, - "license": "MIT", - "dependencies": { - "hasown": "^2.0.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-data-view": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", - "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "get-intrinsic": "^1.2.6", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", - "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-decimal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", - "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true, - "license": "MIT", - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-document.all": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-document.all/-/is-document.all-1.0.0.tgz", - "integrity": "sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-finalizationregistry": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", - "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", - "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-east-asian-width": "^1.3.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-generator-function": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz", - "integrity": "sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.4", - "generator-function": "^2.0.0", - "get-proto": "^1.0.1", - "has-tostringtag": "^1.0.2", - "safe-regex-test": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-hexadecimal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", - "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-in-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-2.0.0.tgz", - "integrity": "sha512-cFeerHriAnhrQSbpAxL37W1wcJKUUX07HyLWZCW1URJT/ra3GyUTzBgUnh24TMVfNTV2Hij2HLxkPHFZfOZy5w==", - "dev": true, - "license": "MIT", - "bin": { - "is-in-ci": "cli.js" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-ip": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-3.1.0.tgz", - "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "ip-regex": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-map": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", - "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", - "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", - "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-online": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/is-online/-/is-online-10.0.0.tgz", - "integrity": "sha512-WCPdKwNDjXJJmUubf2VHLMDBkUZEtuOvpXUfUnUFbEnM6In9ByiScL4f4jKACz/fsb2qDkesFerW3snf/AYz3A==", - "dev": true, - "license": "MIT", - "dependencies": { - "got": "^12.1.0", - "p-any": "^4.0.0", - "p-timeout": "^5.1.0", - "public-ip": "^5.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-online/node_modules/got": { - "version": "12.6.1", - "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz", - "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/is": "^5.2.0", - "@szmarczak/http-timer": "^5.0.1", - "cacheable-lookup": "^7.0.0", - "cacheable-request": "^10.2.8", - "decompress-response": "^6.0.0", - "form-data-encoder": "^2.1.2", - "get-stream": "^6.0.1", - "http2-wrapper": "^2.1.10", - "lowercase-keys": "^3.0.0", - "p-cancelable": "^3.0.0", - "responselike": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" - } - }, - "node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-promise": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", - "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/is-regex": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", - "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "gopd": "^1.2.0", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-set": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", - "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", - "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-string": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", - "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", - "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "has-symbols": "^1.1.0", - "safe-regex-test": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", - "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.16" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakmap": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", - "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakref": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz", - "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakset": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", - "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "get-intrinsic": "^1.2.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true, - "license": "MIT" - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true, - "license": "ISC" - }, - "node_modules/jiti": { - "version": "1.21.7", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", - "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", - "dev": true, - "license": "MIT", - "bin": { - "jiti": "bin/jiti.js" - } - }, - "node_modules/jose": { - "version": "6.2.12", - "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.12.tgz", - "integrity": "sha512-9NiFmJEex0sy2Dk58j2UGBSHgUs2ypF9eZSu4L6vjOX3Dp96Sw1F3uL+H+D1sx02jZZdzUT0HgvCy59CuvXcWw==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/panva" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/js-yaml": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", - "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/puzrin" - }, - { - "type": "github", - "url": "https://github.com/sponsors/nodeca" - } - ], - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsep": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.4.0.tgz", - "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.16.0" - } - }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/json-p3": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/json-p3/-/json-p3-2.2.2.tgz", - "integrity": "sha512-TmTgkx+C1ne8Wdm9dFQ4/jCeYYbSoeYJAkRpvTz6O+zWN1Dc3cKW8Mt52sa8mSRXy/+JykA5I6rmM+k8h+JRRg==", - "dev": true, - "license": "MIT" - }, - "node_modules/json-schema-to-ts": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-3.1.1.tgz", - "integrity": "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@babel/runtime": "^7.18.3", - "ts-algebra": "^2.0.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "license": "MIT" - }, - "node_modules/json-schema-typed": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz", - "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==", - "dev": true, - "license": "BSD-2-Clause", - "optional": true - }, - "node_modules/jsonc-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", - "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/jsonfile": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz", - "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/jsonpath-plus": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.4.0.tgz", - "integrity": "sha512-T92WWatJXmhBbKsgH/0hl+jxjdXrifi5IKeMY02DWggRxX0UElcbVzPlmgLTbvsPeW1PasQ6xE2Q75stkhGbsA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jsep-plugin/assignment": "^1.3.0", - "@jsep-plugin/regex": "^1.0.4", - "jsep": "^1.4.0" - }, - "bin": { - "jsonpath": "bin/jsonpath-cli.js", - "jsonpath-plus": "bin/jsonpath-cli.js" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/jsonpointer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", - "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/katex": { - "version": "0.18.10", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.18.10.tgz", - "integrity": "sha512-/B6p9eY9DX7aHBfpkHdpirDTZ5QH9xTwL9y837PWuzuv41O5jFdqNQwVQEQsimY0/iVNkwBY4+4hMfhQ7d4Dbw==", - "dev": true, - "funding": [ - "https://opencollective.com/katex", - "https://github.com/sponsors/katex" - ], - "license": "MIT", - "dependencies": { - "commander": "^15.0.0" - }, - "bin": { - "katex": "cli.js" - } - }, - "node_modules/keytar": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/keytar/-/keytar-7.9.0.tgz", - "integrity": "sha512-VPD8mtVtm5JNtA2AErl6Chp06JBfy7diFQ7TQQhdpWOl6MrCRB+eRbvAZUsbGQS9kiMq0coJsy0W0vHpDCkWsQ==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "node-addon-api": "^4.3.0", - "prebuild-install": "^7.0.1" - } - }, - "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", - "dev": true, - "license": "MIT", - "dependencies": { - "json-buffer": "3.0.1" - } - }, - "node_modules/lcm": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/lcm/-/lcm-0.0.3.tgz", - "integrity": "sha512-TB+ZjoillV6B26Vspf9l2L/vKaRY/4ep3hahcyVkCGFgsTNRUQdc24bQeNFiZeoxH0vr5+7SfNRMQuPHv/1IrQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "gcd": "^0.0.1" - } - }, - "node_modules/leven": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-4.1.0.tgz", - "integrity": "sha512-KZ9W9nWDT7rF7Dazg8xyLHGLrmpgq2nVNFUckhqdW3szVP6YhCpp/RAnpmVExA9JvrMynjwSLVrEj3AepHR6ew==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lilconfig": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", - "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antonk52" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", - "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash.topath": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz", - "integrity": "sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg==", - "dev": true, - "license": "MIT" - }, - "node_modules/longest-streak": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", - "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/lowercase-keys": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz", - "integrity": "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/markdown-extensions": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-2.0.0.tgz", - "integrity": "sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/markdown-table": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz", - "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/math-intrinsics": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", - "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/mdast-util-find-and-replace": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.3.tgz", - "integrity": "sha512-xPgpDNl0/OXHsI7TlaIs22lWnH3KlpvZdXG1ET/m/YT2Hhdkx8lJV4kLphE6l9simyM4KPDFBwas08BgEob6Jw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "escape-string-regexp": "^5.0.0", - "unist-util-is": "^6.0.0", - "unist-util-visit-parents": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-from-markdown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", - "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "@types/unist": "^3.0.0", - "decode-named-character-reference": "^1.0.0", - "devlop": "^1.0.0", - "mdast-util-to-string": "^4.0.0", - "micromark": "^4.0.0", - "micromark-util-decode-numeric-character-reference": "^2.0.0", - "micromark-util-decode-string": "^2.0.0", - "micromark-util-normalize-identifier": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0", - "unist-util-stringify-position": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-frontmatter": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-frontmatter/-/mdast-util-frontmatter-2.0.1.tgz", - "integrity": "sha512-LRqI9+wdgC25P0URIJY9vwocIzCcksduHQ9OF2joxQoyTNVduwLAFUzjoopuRJbJAReaKrNQKAZKL3uCMugWJA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "devlop": "^1.0.0", - "escape-string-regexp": "^5.0.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0", - "micromark-extension-frontmatter": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-gfm": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz", - "integrity": "sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-gfm-autolink-literal": "^2.0.0", - "mdast-util-gfm-footnote": "^2.0.0", - "mdast-util-gfm-strikethrough": "^2.0.0", - "mdast-util-gfm-table": "^2.0.0", - "mdast-util-gfm-task-list-item": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-gfm-autolink-literal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", - "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "ccount": "^2.0.0", - "devlop": "^1.0.0", - "mdast-util-find-and-replace": "^3.0.0", - "micromark-util-character": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-gfm-footnote": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", - "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "devlop": "^1.1.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0", - "micromark-util-normalize-identifier": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-gfm-strikethrough": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.1.tgz", - "integrity": "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-gfm-table": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", - "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "devlop": "^1.0.0", - "markdown-table": "^3.0.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-gfm-task-list-item": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", - "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "devlop": "^1.0.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-math": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz", - "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "devlop": "^1.0.0", - "longest-streak": "^3.0.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.1.0", - "unist-util-remove-position": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-mdx": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-mdx/-/mdast-util-mdx-3.0.0.tgz", - "integrity": "sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-mdx-expression": "^2.0.0", - "mdast-util-mdx-jsx": "^3.0.0", - "mdast-util-mdxjs-esm": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-mdx-expression": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", - "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "devlop": "^1.0.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-mdx-jsx": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz", - "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "@types/unist": "^3.0.0", - "ccount": "^2.0.0", - "devlop": "^1.1.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0", - "parse-entities": "^4.0.0", - "stringify-entities": "^4.0.0", - "unist-util-stringify-position": "^4.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-mdxjs-esm": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", - "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree-jsx": "^1.0.0", - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "devlop": "^1.0.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-phrasing": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", - "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "unist-util-is": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-to-hast": { - "version": "13.2.1", - "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz", - "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "@ungap/structured-clone": "^1.0.0", - "devlop": "^1.0.0", - "micromark-util-sanitize-uri": "^2.0.0", - "trim-lines": "^3.0.0", - "unist-util-position": "^5.0.0", - "unist-util-visit": "^5.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-to-markdown": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.2.0.tgz", - "integrity": "sha512-2Jn/ADrHFFyyniBMi0bncTbJqU78K3/TEYvzvwrWWzD9MYPUa/Gm4r3nOeKFQg/PDM5BsbDYdc8ackW4NTY6NA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "@types/unist": "^3.0.0", - "longest-streak": "^3.0.0", - "mdast-util-phrasing": "^4.0.0", - "mdast-util-to-string": "^4.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-classify-character": "^2.0.0", - "micromark-util-decode-string": "^2.0.0", - "micromark-util-html-tag-name": "^2.0.0", - "unist-util-visit": "^5.0.0", - "zwitch": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-to-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", - "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/micromark": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz", - "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "@types/debug": "^4.0.0", - "debug": "^4.0.0", - "decode-named-character-reference": "^1.0.0", - "devlop": "^1.0.0", - "micromark-core-commonmark": "^2.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-combine-extensions": "^2.0.0", - "micromark-util-decode-numeric-character-reference": "^2.0.0", - "micromark-util-edit-map": "^1.0.0", - "micromark-util-encode": "^2.0.0", - "micromark-util-normalize-identifier": "^2.0.0", - "micromark-util-resolve-all": "^2.0.0", - "micromark-util-sanitize-uri": "^2.0.0", - "micromark-util-subtokenize": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-core-commonmark": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz", - "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "decode-named-character-reference": "^1.0.0", - "devlop": "^1.0.0", - "micromark-factory-destination": "^2.0.0", - "micromark-factory-label": "^2.0.0", - "micromark-factory-space": "^2.1.0", - "micromark-factory-title": "^2.0.0", - "micromark-factory-whitespace": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-classify-character": "^2.0.0", - "micromark-util-edit-map": "^1.0.0", - "micromark-util-html-tag-name": "^2.0.0", - "micromark-util-normalize-identifier": "^2.0.0", - "micromark-util-resolve-all": "^2.0.0", - "micromark-util-subtokenize": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.3" - } - }, - "node_modules/micromark-extension-frontmatter": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-frontmatter/-/micromark-extension-frontmatter-2.0.0.tgz", - "integrity": "sha512-C4AkuM3dA58cgZha7zVnuVxBhDsbttIMiytjgsM2XbHAB2faRVaHRle40558FBN+DJcrLNCoqG5mlrpdU4cRtg==", - "dev": true, - "license": "MIT", - "dependencies": { - "fault": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-gfm": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", - "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", - "dev": true, - "license": "MIT", - "dependencies": { - "micromark-extension-gfm-autolink-literal": "^2.0.0", - "micromark-extension-gfm-footnote": "^2.0.0", - "micromark-extension-gfm-strikethrough": "^2.0.0", - "micromark-extension-gfm-table": "^2.0.0", - "micromark-extension-gfm-tagfilter": "^2.0.0", - "micromark-extension-gfm-task-list-item": "^2.0.0", - "micromark-util-combine-extensions": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-gfm-autolink-literal": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", - "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", - "dev": true, - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-sanitize-uri": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-gfm-footnote": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", - "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", - "dev": true, - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-core-commonmark": "^2.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-normalize-identifier": "^2.0.0", - "micromark-util-sanitize-uri": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-gfm-strikethrough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", - "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", - "dev": true, - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-classify-character": "^2.0.0", - "micromark-util-resolve-all": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-gfm-table": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz", - "integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==", - "dev": true, - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-gfm-tagfilter": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", - "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-gfm-task-list-item": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", - "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", - "dev": true, - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-math": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", - "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/katex": "^0.16.0", - "devlop": "^1.0.0", - "katex": "^0.16.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-mdx-expression": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-mdx-expression/-/micromark-extension-mdx-expression-3.0.1.tgz", - "integrity": "sha512-dD/ADLJ1AeMvSAKBwO22zG22N4ybhe7kFIZ3LsDI0GlsNr2A3KYxb0LdC1u5rj4Nw+CHKY0RVdnHX8vj8ejm4Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "devlop": "^1.0.0", - "micromark-factory-mdx-expression": "^2.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-events-to-acorn": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-extension-mdx-jsx": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-3.0.2.tgz", - "integrity": "sha512-e5+q1DjMh62LZAJOnDraSSbDMvGJ8x3cbjygy2qFEi7HCeUT4BDKCvMozPozcD6WmOt6sVvYDNBKhFSz3kjOVQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "devlop": "^1.0.0", - "estree-util-is-identifier-name": "^3.0.0", - "micromark-factory-mdx-expression": "^2.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-events-to-acorn": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-mdx-md": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-mdx-md/-/micromark-extension-mdx-md-2.0.0.tgz", - "integrity": "sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-mdxjs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-mdxjs/-/micromark-extension-mdxjs-3.0.0.tgz", - "integrity": "sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "acorn": "^8.0.0", - "acorn-jsx": "^5.0.0", - "micromark-extension-mdx-expression": "^3.0.0", - "micromark-extension-mdx-jsx": "^3.0.0", - "micromark-extension-mdx-md": "^2.0.0", - "micromark-extension-mdxjs-esm": "^3.0.0", - "micromark-util-combine-extensions": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-mdxjs-esm": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-mdxjs-esm/-/micromark-extension-mdxjs-esm-3.0.0.tgz", - "integrity": "sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "devlop": "^1.0.0", - "micromark-core-commonmark": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-events-to-acorn": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0", - "unist-util-position-from-estree": "^2.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-factory-destination": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", - "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-label": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", - "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-mdx-expression": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-2.0.3.tgz", - "integrity": "sha512-kQnEtA3vzucU2BkrIa8/VaSAsP+EJ3CKOvhMuJgOEGg9KDC6OAY6nSnNDVRiVNRqj7Y4SlSzcStaH/5jge8JdQ==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "devlop": "^1.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-events-to-acorn": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0", - "unist-util-position-from-estree": "^2.0.0", - "vfile-message": "^4.0.0" - } - }, - "node_modules/micromark-factory-space": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz", - "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-title": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", - "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-whitespace": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", - "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-character": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", - "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-chunked": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", - "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-classify-character": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", - "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-combine-extensions": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", - "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-chunked": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-decode-numeric-character-reference": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", - "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-decode-string": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", - "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "decode-named-character-reference": "^1.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-decode-numeric-character-reference": "^2.0.0", - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-edit-map": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz", - "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-encode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", - "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-events-to-acorn": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/micromark-util-events-to-acorn/-/micromark-util-events-to-acorn-2.0.3.tgz", - "integrity": "sha512-jmsiEIiZ1n7X1Rr5k8wVExBQCg5jy4UXVADItHmNk1zkwEVhBuIUKRu3fqv+hs4nxLISi2DQGlqIOGiFxgbfHg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "@types/unist": "^3.0.0", - "devlop": "^1.0.0", - "estree-util-visit": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0", - "vfile-message": "^4.0.0" - } - }, - "node_modules/micromark-util-html-tag-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", - "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-normalize-identifier": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", - "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-resolve-all": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", - "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-sanitize-uri": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", - "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-encode": "^2.0.0", - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-subtokenize": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", - "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-symbol": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", - "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-types": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz", - "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true, - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/mimic-response": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz", - "integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/minimatch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", - "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "license": "MIT", - "optional": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/minipass": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", - "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/minizlib": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", - "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "minipass": "^7.1.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/mint": { - "version": "4.2.992", - "resolved": "https://registry.npmjs.org/mint/-/mint-4.2.992.tgz", - "integrity": "sha512-M+t6KmZNpHceKMNnbDhH7sRqwxZILgVR6e6eZFEgZQfO1OAMjy05nGA8ThxkST6GaGZx585h/akBf+UWATLJvQ==", - "dev": true, - "license": "Elastic-2.0", - "dependencies": { - "@mintlify/cli": "4.0.1595" - }, - "bin": { - "mint": "index.js" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/mkdirp-classic": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", - "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, - "node_modules/mute-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", - "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/mz": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", - "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "any-promise": "^1.0.0", - "object-assign": "^4.0.1", - "thenify-all": "^1.0.0" - } - }, - "node_modules/nanoid": { - "version": "3.3.20", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", - "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/napi-build-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", - "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/neotraverse": { - "version": "0.6.18", - "resolved": "https://registry.npmjs.org/neotraverse/-/neotraverse-0.6.18.tgz", - "integrity": "sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/nimma": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/nimma/-/nimma-0.2.3.tgz", - "integrity": "sha512-1ZOI8J+1PKKGceo/5CT5GfQOG6H8I2BencSK06YarZ2wXwH37BSSUWldqJmMJYA5JfqDqffxDXynt6f11AyKcA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@jsep-plugin/regex": "^1.0.1", - "@jsep-plugin/ternary": "^1.0.2", - "astring": "^1.8.1", - "jsep": "^1.2.0" - }, - "engines": { - "node": "^12.20 || >=14.13" - }, - "optionalDependencies": { - "jsonpath-plus": "^6.0.1 || ^10.1.0", - "lodash.topath": "^4.5.2" - } - }, - "node_modules/nlcst-to-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/nlcst-to-string/-/nlcst-to-string-4.0.0.tgz", - "integrity": "sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/nlcst": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/node-abi": { - "version": "3.98.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.98.0.tgz", - "integrity": "sha512-Llh8noNw7s15m+rmIrZnZQbe4gLyasL9loT74rC92PkmwWKeEedKvc7o6pjp8B3MhrYT/Cl846NOYZbz1wmddw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "semver": "^7.3.5" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/node-addon-api": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", - "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/non-error": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/non-error/-/non-error-0.1.0.tgz", - "integrity": "sha512-TMB1uHiGsHRGv1uYclfhivcnf0/PdFp2pNqRxXjncaAsjYMoisaQJI+SSZCqRq+VliwRTC8tsMQfmrWjDMhkPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/normalize-url": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.1.1.tgz", - "integrity": "sha512-JYc0DPlpGWB40kH5g07gGTrYuMqV653k3uBKY6uITPWds3M0ov3GaWGp9lbE3Bzngx8+XkfzgvASb9vk9JDFXQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/oauth4webapi": { - "version": "3.8.8", - "resolved": "https://registry.npmjs.org/oauth4webapi/-/oauth4webapi-3.8.8.tgz", - "integrity": "sha512-8N28E+a/oxfXWBgOMt+ZP/JUf/XR+IFbvkAEPP3gznXOMv9BpAAwiIj0TFNz3tGTPc0ZQ8zmWBNgN1nAys0gng==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/panva" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-hash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/object-inspect": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", - "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz", - "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0", - "has-symbols": "^1.1.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/oniguruma-parser": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.2.tgz", - "integrity": "sha512-6HVa5oIrgMC6aA6WF6XyyqbhRPJrKR02L20+2+zpDtO5QAzGHAUGw5TKQvwi5vctNnRHkJYmjAhRVQF2EKdTQw==", - "dev": true, - "license": "MIT" - }, - "node_modules/oniguruma-to-es": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.6.tgz", - "integrity": "sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==", - "dev": true, - "license": "MIT", - "dependencies": { - "oniguruma-parser": "^0.12.2", - "regex": "^6.1.0", - "regex-recursion": "^6.0.2" - } - }, - "node_modules/open": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", - "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/openapi-types": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", - "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", - "dev": true, - "license": "MIT" - }, - "node_modules/openid-client": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/openid-client/-/openid-client-6.8.2.tgz", - "integrity": "sha512-uOvTCndr4udZsKihJ68H9bUICrriHdUVJ6Az+4Ns6cW55rwM5h0bjVIzDz2SxgOI84LKjFyjOFvERLzdTUROGA==", - "dev": true, - "license": "MIT", - "dependencies": { - "jose": "^6.1.3", - "oauth4webapi": "^3.8.4" - }, - "funding": { - "url": "https://github.com/sponsors/panva" - } - }, - "node_modules/orderedmap": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/orderedmap/-/orderedmap-2.1.1.tgz", - "integrity": "sha512-TvAWxi0nDe1j/rtMcWcIj94+Ffe6n7zhow33h40SKxmsmozs6dz/e+EajymfoFcHd7sxNn8yHM8839uixMOV6g==", - "dev": true, - "license": "MIT" - }, - "node_modules/own-keys": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.2.tgz", - "integrity": "sha512-19YVAg7T+WTrxggPukVq7DjTv6+PJ867TmhCvBsYwmbFCsZd344rq2Ld1p0wo8f8Qrrhgp82c6FJRqdXWtSEhg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.4", - "get-intrinsic": "^1.3.0", - "object-keys": "^1.1.1", - "safe-push-apply": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/p-any": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-any/-/p-any-4.0.0.tgz", - "integrity": "sha512-S/B50s+pAVe0wmEZHmBs/9yJXeZ5KhHzOsgKzt0hRdgkoR3DxW9ts46fcsWi/r3VnzsnkKS7q4uimze+zjdryw==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-cancelable": "^3.0.0", - "p-some": "^6.0.0" - }, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-cancelable": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", - "integrity": "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12.20" - } - }, - "node_modules/p-some": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/p-some/-/p-some-6.0.0.tgz", - "integrity": "sha512-CJbQCKdfSX3fIh8/QKgS+9rjm7OBNUTmwWswAFQAhc8j1NR1dsEDETUEuVUtQHZpV+J03LqWBEwvu0g1Yn+TYg==", - "dev": true, - "license": "MIT", - "dependencies": { - "aggregate-error": "^4.0.0", - "p-cancelable": "^3.0.0" - }, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-timeout": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-5.1.0.tgz", - "integrity": "sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/parse-entities": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", - "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^2.0.0", - "character-entities-legacy": "^3.0.0", - "character-reference-invalid": "^2.0.0", - "decode-named-character-reference": "^1.0.0", - "is-alphanumerical": "^2.0.0", - "is-decimal": "^2.0.0", - "is-hexadecimal": "^2.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/parse-entities/node_modules/@types/unist": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", - "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", - "dev": true, - "license": "MIT" - }, - "node_modules/parse-latin": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/parse-latin/-/parse-latin-7.0.0.tgz", - "integrity": "sha512-mhHgobPPua5kZ98EF4HWiH167JWBfl4pvAIXXdbaVohtK7a6YBOy56kvhCqduqyo/f3yrHFWmqmiMg/BkBkYYQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/nlcst": "^2.0.0", - "@types/unist": "^3.0.0", - "nlcst-to-string": "^4.0.0", - "unist-util-modify-children": "^4.0.0", - "unist-util-visit-children": "^3.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/parse5": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", - "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", - "dev": true, - "license": "MIT", - "dependencies": { - "entities": "^6.0.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/patch-console": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/patch-console/-/patch-console-2.0.0.tgz", - "integrity": "sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } - }, - "node_modules/path-expression-matcher": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.6.2.tgz", - "integrity": "sha512-enSlaiat05iasnzmgNxRj8reFdj3puY2QpNgP1aPIaVfT6nn9ICuPoFlKHk8EN22HcwewshO+mN2DGbkCEOtqQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true, - "license": "MIT" - }, - "node_modules/path-to-regexp": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz", - "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==", - "dev": true, - "license": "MIT" - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "dev": true, - "license": "ISC" - }, - "node_modules/picomatch": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", - "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pirates": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", - "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkce-challenge": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz", - "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=16.20.0" - } - }, - "node_modules/pony-cause": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pony-cause/-/pony-cause-1.1.1.tgz", - "integrity": "sha512-PxkIc/2ZpLiEzQXu5YRDOUgBlfGYBY8156HY5ZcRAwwonMk5W/MrJP2LLkG/hF7GEQzaHo2aS7ho6ZLCOvf+6g==", - "dev": true, - "license": "0BSD", - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/possible-typed-array-names": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", - "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/postcss": { - "version": "8.5.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.23.tgz", - "integrity": "sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.16", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-import": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", - "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", - "dev": true, - "license": "MIT", - "dependencies": { - "postcss-value-parser": "^4.0.0", - "read-cache": "^1.0.0", - "resolve": "^1.1.7" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "postcss": "^8.0.0" - } - }, - "node_modules/postcss-js": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz", - "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "camelcase-css": "^2.0.1" - }, - "engines": { - "node": "^12 || ^14 || >= 16" - }, - "peerDependencies": { - "postcss": "^8.4.21" - } - }, - "node_modules/postcss-load-config": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", - "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "lilconfig": "^3.0.0", - "yaml": "^2.3.4" - }, - "engines": { - "node": ">= 14" - }, - "peerDependencies": { - "postcss": ">=8.0.9", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "postcss": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/postcss-nested": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", - "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "postcss-selector-parser": "^6.1.1" - }, - "engines": { - "node": ">=12.0" - }, - "peerDependencies": { - "postcss": "^8.2.14" - } - }, - "node_modules/postcss-selector-parser": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", - "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==", - "dev": true, - "license": "MIT", - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/posthog-node": { - "version": "5.17.2", - "resolved": "https://registry.npmjs.org/posthog-node/-/posthog-node-5.17.2.tgz", - "integrity": "sha512-lz3YJOr0Nmiz0yHASaINEDHqoV+0bC3eD8aZAG+Ky292dAnVYul+ga/dMX8KCBXg8hHfKdxw0SztYD5j6dgUqQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@posthog/core": "1.7.1" - }, - "engines": { - "node": ">=20" - } - }, - "node_modules/prebuild-install": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", - "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", - "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "detect-libc": "^2.0.0", - "expand-template": "^2.0.3", - "github-from-package": "0.0.0", - "minimist": "^1.2.3", - "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^2.0.0", - "node-abi": "^3.3.0", - "pump": "^3.0.0", - "rc": "^1.2.7", - "simple-get": "^4.0.0", - "tar-fs": "^2.0.0", - "tunnel-agent": "^0.6.0" - }, - "bin": { - "prebuild-install": "bin.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/property-information": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz", - "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/prosemirror-model": { - "version": "1.25.4", - "resolved": "https://registry.npmjs.org/prosemirror-model/-/prosemirror-model-1.25.4.tgz", - "integrity": "sha512-PIM7E43PBxKce8OQeezAs9j4TP+5yDpZVbuurd1h5phUxEKIu+G2a+EUZzIC5nS1mJktDJWzbqS23n1tsAf5QA==", - "dev": true, - "license": "MIT", - "dependencies": { - "orderedmap": "^2.0.0" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.8.tgz", - "integrity": "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/proxy-from-env": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", - "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/public-ip": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/public-ip/-/public-ip-5.0.0.tgz", - "integrity": "sha512-xaH3pZMni/R2BG7ZXXaWS9Wc9wFlhyDVJF47IJ+3ali0TGv+2PsckKxbmo+rnx3ZxiV2wblVhtdS3bohAP6GGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "dns-socket": "^4.2.2", - "got": "^12.0.0", - "is-ip": "^3.1.0" - }, - "engines": { - "node": "^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/public-ip/node_modules/got": { - "version": "12.6.1", - "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz", - "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/is": "^5.2.0", - "@szmarczak/http-timer": "^5.0.1", - "cacheable-lookup": "^7.0.0", - "cacheable-request": "^10.2.8", - "decompress-response": "^6.0.0", - "form-data-encoder": "^2.1.2", - "get-stream": "^6.0.1", - "http2-wrapper": "^2.1.10", - "lowercase-keys": "^3.0.0", - "p-cancelable": "^3.0.0", - "responselike": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" - } - }, - "node_modules/pump": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", - "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/qs": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", - "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "es-define-property": "^1.0.1", - "side-channel": "^1.1.1" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", - "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "bytes": "~3.1.2", - "http-errors": "~2.0.1", - "iconv-lite": "~0.7.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dev": true, - "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "optional": true, - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/re2js": { - "version": "2.8.6", - "resolved": "https://registry.npmjs.org/re2js/-/re2js-2.8.6.tgz", - "integrity": "sha512-xLgQil4kIUCrAzVk9fRSkxkFNwmygLFjVxXrLc65aE1F0+Zsb8rxumFBy4XKyvgMCTL6kilDq3EZ0piE2dP/Dg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/react": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", - "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-reconciler": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.32.0.tgz", - "integrity": "sha512-2NPMOzgTlG0ZWdIf3qG+dcbLSoAc/uLfOwckc3ofy5sSK0pLJqnQLpUFxvGcN2rlXSjnVtGeeFLNimCQEj5gOQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "scheduler": "^0.26.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "peerDependencies": { - "react": "^19.1.0" - } - }, - "node_modules/read-cache": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.2.tgz", - "integrity": "sha512-/peqiBB/n07gQGLsWaHho3WfvUyRscw0gYTsEFMhrIe/nWLkYaf5SbKYjGYqtRV3aPwykJgF2VEMo1ac4bnsGA==", - "dev": true, - "license": "MIT" - }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "license": "MIT", - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/recma-build-jsx": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/recma-build-jsx/-/recma-build-jsx-1.0.0.tgz", - "integrity": "sha512-8GtdyqaBcDfva+GUKDr3nev3VpKAhup1+RvkMvUxURHpW7QyIvk9F5wz7Vzo06CEMSilw6uArgRqhpiUcWp8ew==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "estree-util-build-jsx": "^3.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/recma-jsx": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/recma-jsx/-/recma-jsx-1.0.1.tgz", - "integrity": "sha512-huSIy7VU2Z5OLv6oFLosQGGDqPqdO1iq6bWNAdhzMxSJP7RAso4fCZ1cKu8j9YHCZf3TPrq4dw3okhrylgcd7w==", - "dev": true, - "license": "MIT", - "dependencies": { - "acorn-jsx": "^5.0.0", - "estree-util-to-js": "^2.0.0", - "recma-parse": "^1.0.0", - "recma-stringify": "^1.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - }, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/recma-parse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/recma-parse/-/recma-parse-1.0.0.tgz", - "integrity": "sha512-OYLsIGBB5Y5wjnSnQW6t3Xg7q3fQ7FWbw/vcXtORTnyaSFscOtABg+7Pnz6YZ6c27fG1/aN8CjfwoUEUIdwqWQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "esast-util-from-js": "^2.0.0", - "unified": "^11.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/recma-stringify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/recma-stringify/-/recma-stringify-1.0.0.tgz", - "integrity": "sha512-cjwII1MdIIVloKvC9ErQ+OgAtwHBmcZ0Bg4ciz78FtbT8In39aAYbaA7zvxQ61xVMSPE8WxhLwLbhif4Js2C+g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "estree-util-to-js": "^2.0.0", - "unified": "^11.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/reflect.getprototypeof": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", - "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.9", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.7", - "get-proto": "^1.0.1", - "which-builtin-type": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/regex/-/regex-6.1.0.tgz", - "integrity": "sha512-6VwtthbV4o/7+OaAF9I5L5V3llLEsoPyq9P1JVXkedTP33c7MfCG0/5NOPcSJn0TzXcG9YUrR0gQSWioew3LDg==", - "dev": true, - "license": "MIT", - "dependencies": { - "regex-utilities": "^2.3.0" - } - }, - "node_modules/regex-recursion": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-6.0.2.tgz", - "integrity": "sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==", - "dev": true, - "license": "MIT", - "dependencies": { - "regex-utilities": "^2.3.0" - } - }, - "node_modules/regex-utilities": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz", - "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==", - "dev": true, - "license": "MIT" - }, - "node_modules/regexp.prototype.flags": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", - "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-errors": "^1.3.0", - "get-proto": "^1.0.1", - "gopd": "^1.2.0", - "set-function-name": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/rehype-katex": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/rehype-katex/-/rehype-katex-7.0.1.tgz", - "integrity": "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/katex": "^0.16.0", - "hast-util-from-html-isomorphic": "^2.0.0", - "hast-util-to-text": "^4.0.0", - "katex": "^0.16.0", - "unist-util-visit-parents": "^6.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/rehype-minify-whitespace": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/rehype-minify-whitespace/-/rehype-minify-whitespace-6.0.2.tgz", - "integrity": "sha512-Zk0pyQ06A3Lyxhe9vGtOtzz3Z0+qZ5+7icZ/PL/2x1SHPbKao5oB/g/rlc6BCTajqBb33JcOe71Ye1oFsuYbnw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "hast-util-minify-whitespace": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/rehype-parse": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/rehype-parse/-/rehype-parse-9.0.1.tgz", - "integrity": "sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "hast-util-from-html": "^2.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/rehype-recma": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/rehype-recma/-/rehype-recma-1.0.0.tgz", - "integrity": "sha512-lqA4rGUf1JmacCNWWZx0Wv1dHqMwxzsDWYMTowuplHF3xH0N/MmrZ/G3BDZnzAkRmxDadujCjaKM2hqYdCBOGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0", - "@types/hast": "^3.0.0", - "hast-util-to-estree": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/rehype-stringify": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/rehype-stringify/-/rehype-stringify-10.0.1.tgz", - "integrity": "sha512-k9ecfXHmIPuFVI61B9DeLPN0qFHfawM6RsuX48hoqlaKSF61RskNjSm1lI8PhBEM0MRdLxVVm4WmTqJQccH9mA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "hast-util-to-html": "^9.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark": { - "version": "15.0.1", - "resolved": "https://registry.npmjs.org/remark/-/remark-15.0.1.tgz", - "integrity": "sha512-Eht5w30ruCXgFmxVUSlNWQ9iiimq07URKeFS3hNc8cUWy1llX4KDWfyEDZRycMc+znsN9Ux5/tJ/BFdgdOwA3A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "remark-parse": "^11.0.0", - "remark-stringify": "^11.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-frontmatter": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/remark-frontmatter/-/remark-frontmatter-5.0.0.tgz", - "integrity": "sha512-XTFYvNASMe5iPN0719nPrdItC9aU0ssC4v14mH1BCi1u0n1gAocqcujWUrByftZTbLhRtiKRyjYTSIOcr69UVQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-frontmatter": "^2.0.0", - "micromark-extension-frontmatter": "^2.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-gfm": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz", - "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-gfm": "^3.0.0", - "micromark-extension-gfm": "^3.0.0", - "remark-parse": "^11.0.0", - "remark-stringify": "^11.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-math": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/remark-math/-/remark-math-6.0.0.tgz", - "integrity": "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-math": "^3.0.0", - "micromark-extension-math": "^3.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-mdx": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-3.1.1.tgz", - "integrity": "sha512-Pjj2IYlUY3+D8x00UJsIOg5BEvfMyeI+2uLPn9VO9Wg4MEtN/VTIq2NEJQfde9PnX15KgtHyl9S0BcTnWrIuWg==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdast-util-mdx": "^3.0.0", - "micromark-extension-mdxjs": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-mdx-remove-esm": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/remark-mdx-remove-esm/-/remark-mdx-remove-esm-1.3.3.tgz", - "integrity": "sha512-KgGfD4JV3lKse0n/m8UxW4jK6H/9ffkCVxVAJ60aGY4uiPX/+SQCT5/lQcRGcjyQuRLDq2Df2krv6pD/qWJRVw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.4", - "unist-util-remove": "^4.0.0" - }, - "peerDependencies": { - "unified": "^11" - } - }, - "node_modules/remark-parse": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", - "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-from-markdown": "^2.0.0", - "micromark-util-types": "^2.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-rehype": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.1.tgz", - "integrity": "sha512-g/osARvjkBXb6Wo0XvAeXQohVta8i84ACbenPpoSsxTOQH/Ae0/RGP4WZgnMH5pMLpsj4FG7OHmcIcXxpza8eQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "mdast-util-to-hast": "^13.0.0", - "unified": "^11.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-smartypants": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/remark-smartypants/-/remark-smartypants-3.0.2.tgz", - "integrity": "sha512-ILTWeOriIluwEvPjv67v7Blgrcx+LZOkAUVtKI3putuhlZm84FnqDORNXPPm+HY3NdZOMhyDwZ1E+eZB/Df5dA==", - "dev": true, - "license": "MIT", - "dependencies": { - "retext": "^9.0.0", - "retext-smartypants": "^6.0.0", - "unified": "^11.0.4", - "unist-util-visit": "^5.0.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/remark-stringify": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", - "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-to-markdown": "^2.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/reselect": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.3.0.tgz", - "integrity": "sha512-XGoLeRAVzUTcJ1qkxPQhDJyIZ5d6zzZD9nT7AEZOaaU9UbWclhycElmhO+VD5bFeLuzhPBaOV2oXC8uG35ZSpg==", - "dev": true, - "license": "MIT", - "peer": true - }, - "node_modules/resolve": { - "version": "1.22.13", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.13.tgz", - "integrity": "sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "is-core-module": "^2.17.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-alpn": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz", - "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==", - "dev": true, - "license": "MIT" - }, - "node_modules/responselike": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", - "integrity": "sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==", - "dev": true, - "license": "MIT", - "dependencies": { - "lowercase-keys": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/restore-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", - "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/restore-cursor/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/retext": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/retext/-/retext-9.0.0.tgz", - "integrity": "sha512-sbMDcpHCNjvlheSgMfEcVrZko3cDzdbe1x/e7G66dFp0Ff7Mldvi2uv6JkJQzdRcvLYE8CA8Oe8siQx8ZOgTcA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/nlcst": "^2.0.0", - "retext-latin": "^4.0.0", - "retext-stringify": "^4.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/retext-latin": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/retext-latin/-/retext-latin-4.0.0.tgz", - "integrity": "sha512-hv9woG7Fy0M9IlRQloq/N6atV82NxLGveq+3H2WOi79dtIYWN8OaxogDm77f8YnVXJL2VD3bbqowu5E3EMhBYA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/nlcst": "^2.0.0", - "parse-latin": "^7.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/retext-smartypants": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/retext-smartypants/-/retext-smartypants-6.2.0.tgz", - "integrity": "sha512-kk0jOU7+zGv//kfjXEBjdIryL1Acl4i9XNkHxtM7Tm5lFiCog576fjNC9hjoR7LTKQ0DsPWy09JummSsH1uqfQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/nlcst": "^2.0.0", - "nlcst-to-string": "^4.0.0", - "unist-util-visit": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/retext-stringify": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/retext-stringify/-/retext-stringify-4.0.0.tgz", - "integrity": "sha512-rtfN/0o8kL1e+78+uxPTqu1Klt0yPzKuQ2BfWwwfgIUSayyzxpM1PJzkKt4V8803uB9qSy32MvI7Xep9khTpiA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/nlcst": "^2.0.0", - "nlcst-to-string": "^4.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/reusify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", - "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/router": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", - "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "debug": "^4.4.0", - "depd": "^2.0.0", - "is-promise": "^4.0.0", - "parseurl": "^1.3.3", - "path-to-regexp": "^8.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/router/node_modules/path-to-regexp": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", - "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", - "dev": true, - "license": "MIT", - "optional": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/run-async": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", - "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/rxjs": { - "version": "7.8.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", - "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/rxjs/node_modules/tslib": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, - "license": "0BSD" - }, - "node_modules/safe-array-concat": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.4.tgz", - "integrity": "sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.9", - "call-bound": "^1.0.4", - "get-intrinsic": "^1.3.0", - "has-symbols": "^1.1.0", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">=0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/safe-push-apply": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", - "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safe-regex-test": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", - "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "is-regex": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safe-stable-stringify": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", - "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==", - "dev": true, - "license": "MIT" - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true, - "license": "MIT" - }, - "node_modules/sax": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.1.tgz", - "integrity": "sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=11.0.0" - } - }, - "node_modules/scheduler": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", - "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", - "dev": true, - "license": "MIT" - }, - "node_modules/semver": { - "version": "7.8.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", - "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/send": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", - "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "~0.5.2", - "http-errors": "~2.0.1", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "~2.4.1", - "range-parser": "~1.2.1", - "statuses": "~2.0.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/serialize-error": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-13.0.2.tgz", - "integrity": "sha512-G+YKwp9I6IvWMe5RlwqxdmTPIcq/G8HK/sU51gdV1XAJznYkRSTB0ph+zB9AfSxG0fx6xrqYA6i9HeIcHFTXow==", - "dev": true, - "license": "MIT", - "dependencies": { - "non-error": "^0.1.0", - "type-fest": "^5.4.1" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/serialize-error/node_modules/type-fest": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.10.0.tgz", - "integrity": "sha512-NoSdpq/WEiAg5sjmBkmV/hfxv6HJH4NqPNrqjtSO5CwRmpsDfaf4begxW34KdJykH/l1yHtwBWQkCRdoXO8mPA==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "dependencies": { - "tagged-tag": "^1.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/serve-static": { - "version": "1.16.3", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz", - "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==", - "dev": true, - "license": "MIT", - "dependencies": { - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "~0.19.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-function-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", - "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-proto": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz", - "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "dev": true, - "license": "ISC" - }, - "node_modules/sharp": { - "version": "0.35.5", - "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz", - "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@img/colour": "^1.1.0", - "detect-libc": "^2.1.2", - "semver": "^7.8.5" - }, - "engines": { - "node": ">=20.9.0" - }, - "funding": { - "url": "https://opencollective.com/libvips" - }, - "optionalDependencies": { - "@img/sharp-darwin-arm64": "0.35.5", - "@img/sharp-darwin-x64": "0.35.5", - "@img/sharp-freebsd-wasm32": "0.35.5", - "@img/sharp-libvips-darwin-arm64": "1.3.4", - "@img/sharp-libvips-darwin-x64": "1.3.4", - "@img/sharp-libvips-linux-arm": "1.3.4", - "@img/sharp-libvips-linux-arm64": "1.3.4", - "@img/sharp-libvips-linux-ppc64": "1.3.4", - "@img/sharp-libvips-linux-riscv64": "1.3.4", - "@img/sharp-libvips-linux-s390x": "1.3.4", - "@img/sharp-libvips-linux-x64": "1.3.4", - "@img/sharp-libvips-linuxmusl-arm64": "1.3.4", - "@img/sharp-libvips-linuxmusl-x64": "1.3.4", - "@img/sharp-linux-arm": "0.35.5", - "@img/sharp-linux-arm64": "0.35.5", - "@img/sharp-linux-ppc64": "0.35.5", - "@img/sharp-linux-riscv64": "0.35.5", - "@img/sharp-linux-s390x": "0.35.5", - "@img/sharp-linux-x64": "0.35.5", - "@img/sharp-linuxmusl-arm64": "0.35.5", - "@img/sharp-linuxmusl-x64": "0.35.5", - "@img/sharp-webcontainers-wasm32": "0.35.5", - "@img/sharp-win32-arm64": "0.35.5", - "@img/sharp-win32-ia32": "0.35.5", - "@img/sharp-win32-x64": "0.35.5" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/sharp-ico": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/sharp-ico/-/sharp-ico-0.1.5.tgz", - "integrity": "sha512-a3jODQl82NPp1d5OYb0wY+oFaPk7AvyxipIowCHk7pBsZCWgbe0yAkU2OOXdoH0ENyANhyOQbs9xkAiRHcF02Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "decode-ico": "*", - "ico-endec": "*", - "sharp": "*" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/shiki": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-3.23.0.tgz", - "integrity": "sha512-55Dj73uq9ZXL5zyeRPzHQsK7Nbyt6Y10k5s7OjuFZGMhpp4r/rsLBH0o/0fstIzX1Lep9VxefWljK/SKCzygIA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/core": "3.23.0", - "@shikijs/engine-javascript": "3.23.0", - "@shikijs/engine-oniguruma": "3.23.0", - "@shikijs/langs": "3.23.0", - "@shikijs/themes": "3.23.0", - "@shikijs/types": "3.23.0", - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" - } - }, - "node_modules/side-channel": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz", - "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "object-inspect": "^1.13.4", - "side-channel-list": "^1.0.1", - "side-channel-map": "^1.0.1", - "side-channel-weakmap": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-list": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", - "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "object-inspect": "^1.13.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-map": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", - "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.5", - "object-inspect": "^1.13.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-weakmap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", - "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.5", - "object-inspect": "^1.13.3", - "side-channel-map": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "optional": true - }, - "node_modules/simple-get": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", - "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "optional": true, - "dependencies": { - "decompress-response": "^6.0.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, - "node_modules/simple-swizzle": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.4.tgz", - "integrity": "sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/slice-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz", - "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "is-fullwidth-code-point": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/socket.io": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.0.tgz", - "integrity": "sha512-8U6BEgGjQOfGz3HHTYaC/L1GaxDCJ/KM0XTkJly0EhZ5U/du9uNEZy4ZgYzEzIqlx2CMm25CrCqr1ck899eLNA==", - "dev": true, - "license": "MIT", - "dependencies": { - "accepts": "~1.3.4", - "base64id": "~2.0.0", - "cors": "~2.8.5", - "debug": "~4.3.2", - "engine.io": "~6.6.0", - "socket.io-adapter": "~2.5.2", - "socket.io-parser": "~4.2.4" - }, - "engines": { - "node": ">=10.2.0" - } - }, - "node_modules/socket.io-adapter": { - "version": "2.5.8", - "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.8.tgz", - "integrity": "sha512-6Oy52pbg+kvdCVvjcN+FnY7BvxZ7cIHNScbvztT/It5d0vbwoJoVZmF2gjJmnV0/4WlXRfG15zc45ySk9Ah8bw==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "~4.4.1", - "ws": "~8.21.0" - } - }, - "node_modules/socket.io-adapter/node_modules/ws": { - "version": "8.21.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", - "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/socket.io-parser": { - "version": "4.2.7", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.7.tgz", - "integrity": "sha512-IH/iSeO9T6gz1KkFleGDWkG9N3dl4jXVYUtMhIqH10Md0ttMer8nUNWiP1DKuNrybD2xBrixLJdCC9J6ECoYkg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@socket.io/component-emitter": "~3.1.0", - "debug": "~4.4.1" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/socket.io/node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/source-map": { - "version": "0.7.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", - "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 12" - } - }, - "node_modules/source-map-js": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", - "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/space-separated-tokens": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", - "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/stack-utils/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/standardwebhooks": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/standardwebhooks/-/standardwebhooks-1.1.1.tgz", - "integrity": "sha512-bCbX9ZEyFkWPsRz7Bl3NuQUJohmwGSev/yhr7vhaGPlc4AfIrspIRa6cPTBuI1ItmrTDJ4d/S2hCsfe4+vQGnQ==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@stablelib/base64": "^1.0.0", - "fast-sha256": "^1.3.0" - } - }, - "node_modules/statuses": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", - "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/stop-iteration-iterator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz", - "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "internal-slot": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/string.prototype.trim": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.11.tgz", - "integrity": "sha512-PwvK7BU+CMTJGYQCTZb5RWXIML92lftJLhQz1tBzgKiqGxJaMlBAa48POXaNAC2s4y8jr3EFqrkF9+44neS46w==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.9", - "call-bound": "^1.0.4", - "define-data-property": "^1.1.4", - "define-properties": "^1.2.1", - "es-abstract": "^1.24.2", - "es-object-atoms": "^1.1.2", - "has-property-descriptors": "^1.0.2", - "safe-regex-test": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.10.tgz", - "integrity": "sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.9", - "call-bound": "^1.0.4", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", - "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/stringify-entities": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", - "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", - "dev": true, - "license": "MIT", - "dependencies": { - "character-entities-html4": "^2.0.0", - "character-entities-legacy": "^3.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strnum": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.4.2.tgz", - "integrity": "sha512-rDG3Ah4TV0k1hWvLSzkZtMmLN9+eS+h3knq4MP6A42Y3Yh5qGNnOUs1jJkoSr8FG5dsL28c7KgkIBzSEykqtuw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "anynum": "^1.0.1" - } - }, - "node_modules/style-to-js": { - "version": "1.1.21", - "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz", - "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "style-to-object": "1.0.14" - } - }, - "node_modules/style-to-js/node_modules/inline-style-parser": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz", - "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==", - "dev": true, - "license": "MIT" - }, - "node_modules/style-to-js/node_modules/style-to-object": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz", - "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==", - "dev": true, - "license": "MIT", - "dependencies": { - "inline-style-parser": "0.2.7" - } - }, - "node_modules/style-to-object": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-0.4.4.tgz", - "integrity": "sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==", - "dev": true, - "license": "MIT", - "dependencies": { - "inline-style-parser": "0.1.1" - } - }, - "node_modules/sucrase": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", - "integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.2", - "commander": "^4.0.0", - "glob": "7.1.6", - "lines-and-columns": "^1.1.6", - "mz": "^2.7.0", - "pirates": "^4.0.1", - "ts-interface-checker": "^0.1.9" - }, - "bin": { - "sucrase": "bin/sucrase", - "sucrase-node": "bin/sucrase-node" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/sucrase/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/tagged-tag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz", - "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/tailwindcss-v3": { - "name": "tailwindcss", - "version": "3.4.17", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", - "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", - "dev": true, - "license": "MIT", - "dependencies": { - "@alloc/quick-lru": "^5.2.0", - "arg": "^5.0.2", - "chokidar": "^3.6.0", - "didyoumean": "^1.2.2", - "dlv": "^1.1.3", - "fast-glob": "^3.3.2", - "glob-parent": "^6.0.2", - "is-glob": "^4.0.3", - "jiti": "^1.21.6", - "lilconfig": "^3.1.3", - "micromatch": "^4.0.8", - "normalize-path": "^3.0.0", - "object-hash": "^3.0.0", - "picocolors": "^1.1.1", - "postcss": "^8.4.47", - "postcss-import": "^15.1.0", - "postcss-js": "^4.0.1", - "postcss-load-config": "^4.0.2", - "postcss-nested": "^6.2.0", - "postcss-selector-parser": "^6.1.2", - "resolve": "^1.22.8", - "sucrase": "^3.35.0" - }, - "bin": { - "tailwind": "lib/cli.js", - "tailwindcss": "lib/cli.js" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/tailwindcss-v3/node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", - "dev": true, - "license": "MIT", - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/tailwindcss-v3/node_modules/chokidar/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/tailwindcss-v3/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/tailwindcss-v3/node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/tailwindcss-v3/node_modules/sucrase": { - "version": "3.35.1", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", - "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.2", - "commander": "^4.0.0", - "lines-and-columns": "^1.1.6", - "mz": "^2.7.0", - "pirates": "^4.0.1", - "tinyglobby": "^0.2.11", - "ts-interface-checker": "^0.1.9" - }, - "bin": { - "sucrase": "bin/sucrase", - "sucrase-node": "bin/sucrase-node" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/tar": { - "version": "7.5.21", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.21.tgz", - "integrity": "sha512-XdhtCvlMywwxpCW8YEq3lOXBJpUPTR2OHHcwLPO3HwsJqOHa2Ok/oJ7ruGzp+JrKoRPVCzJwAdEjqLW/vNRPHA==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.1.0", - "yallist": "^5.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/tar-fs": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.5.tgz", - "integrity": "sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.1.4" - } - }, - "node_modules/tar-fs/node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true, - "license": "ISC", - "optional": true - }, - "node_modules/tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/thenify": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", - "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", - "dev": true, - "license": "MIT", - "dependencies": { - "any-promise": "^1.0.0" - } - }, - "node_modules/thenify-all": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", - "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", - "dev": true, - "license": "MIT", - "dependencies": { - "thenify": ">= 3.1.0 < 4" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/tinyglobby": { - "version": "0.2.17", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", - "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fdir": "^6.5.0", - "picomatch": "^4.0.4" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/SuperchupuDev" - } - }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", - "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/to-data-view": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/to-data-view/-/to-data-view-1.1.0.tgz", - "integrity": "sha512-1eAdufMg6mwgmlojAx3QeMnzB/BTVp7Tbndi3U7ftcT2zCZadjxkkmLmd97zmaxWi+sgGcgWrokmpEoy0Dn0vQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true, - "license": "MIT" - }, - "node_modules/trim-lines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", - "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/trim-trailing-lines": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-2.1.0.tgz", - "integrity": "sha512-5UR5Biq4VlVOtzqkm2AZlgvSlDJtME46uV0br0gENbwN4l5+mMKT4b9gJKqWtuL2zAIqajGJGuvbCbcAJUZqBg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/trough": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", - "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/ts-algebra": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-2.0.0.tgz", - "integrity": "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/ts-interface-checker": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", - "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true, - "license": "0BSD" - }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/twoslash": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/twoslash/-/twoslash-0.3.9.tgz", - "integrity": "sha512-rDclk+OtzuTX+tnea7DYLCkqGQ3eP0IyfD+kzUJ7t46X/NzlaxwrhecmEBNuSCuEn3V+n1PhcjUUQQ7gUJzX5Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript/vfs": "^1.6.4", - "twoslash-protocol": "0.3.9" - }, - "peerDependencies": { - "typescript": "^5.5.0 || ^6.0.0" - } - }, - "node_modules/twoslash-protocol": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/twoslash-protocol/-/twoslash-protocol-0.3.9.tgz", - "integrity": "sha512-9/iwp+CXOnjFMPQuPL5PkuRbZnDoNpBvtJCLs9t8kDYkL3YHujbvnHfZA1i5fApDftVEdBw+T/4F+dH5kIzpYQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/typed-array-buffer": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", - "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/typed-array-byte-length": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", - "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "for-each": "^0.3.3", - "gopd": "^1.2.0", - "has-proto": "^1.2.0", - "is-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-byte-offset": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.5.tgz", - "integrity": "sha512-0FHJvLPqZ7KJzp17O13jfsAjsqazgrxBu2zEK95PmUz8lv2+GjRuxUInCr2Rk9Dms3ihN21zJ929ZO43yJ95QQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.9", - "for-each": "^0.3.5", - "gopd": "^1.2.0", - "is-typed-array": "^1.1.15", - "reflect.getprototypeof": "^1.0.10" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-length": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.8.tgz", - "integrity": "sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.9", - "for-each": "^0.3.5", - "gopd": "^1.2.0", - "is-typed-array": "^1.1.15", - "possible-typed-array-names": "^1.1.0", - "reflect.getprototypeof": "^1.0.10" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typescript": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", - "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", - "dev": true, - "license": "Apache-2.0", - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/unbox-primitive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", - "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-bigints": "^1.0.2", - "has-symbols": "^1.1.0", - "which-boxed-primitive": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/undici-types": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", - "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", - "dev": true, - "license": "MIT" - }, - "node_modules/unified": { - "version": "11.0.5", - "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", - "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "bail": "^2.0.0", - "devlop": "^1.0.0", - "extend": "^3.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-builder": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unist-builder/-/unist-builder-4.0.0.tgz", - "integrity": "sha512-wmRFnH+BLpZnTKpc5L7O67Kac89s9HMrtELpnNaE6TAobq5DTZZs5YaTQfAZBA9bFPECx2uVAPO31c+GVug8mg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-find-after": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz", - "integrity": "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-is": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-is": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz", - "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unist-util-map/-/unist-util-map-4.0.0.tgz", - "integrity": "sha512-HJs1tpkSmRJUzj6fskQrS5oYhBYlmtcvy4SepdDEEsL04FjBrgF0Mgggvxc1/qGBGgW7hRh9+UBK1aqTEnBpIA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-modify-children": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unist-util-modify-children/-/unist-util-modify-children-4.0.0.tgz", - "integrity": "sha512-+tdN5fGNddvsQdIzUF3Xx82CU9sMM+fA0dLgR9vOmT0oPT2jH+P1nd5lSqfCfXAw+93NhcXNY2qqvTUtE4cQkw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "array-iterate": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-position": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", - "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-position-from-estree": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unist-util-position-from-estree/-/unist-util-position-from-estree-2.0.0.tgz", - "integrity": "sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-remove": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-4.0.0.tgz", - "integrity": "sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-is": "^6.0.0", - "unist-util-visit-parents": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-remove-position": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", - "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-visit": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-stringify-position": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", - "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-visit": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz", - "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-is": "^6.0.0", - "unist-util-visit-parents": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-visit-children": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unist-util-visit-children/-/unist-util-visit-children-3.0.0.tgz", - "integrity": "sha512-RgmdTfSBOg04sdPcpTSD1jzoNBjt9a80/ZCzp5cI9n1qPzLZWF9YdvWGN2zmTumP1HWhXKdUWexjy/Wy/lJ7tA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-visit-parents": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", - "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-is": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/urijs": { - "version": "1.19.11", - "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.11.tgz", - "integrity": "sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/use-sync-external-store": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz", - "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==", - "dev": true, - "license": "MIT", - "peer": true, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true, - "license": "MIT" - }, - "node_modules/utility-types": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.11.0.tgz", - "integrity": "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/uuid": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", - "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", - "dev": true, - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/esm/bin/uuid" - } - }, - "node_modules/valibot": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/valibot/-/valibot-1.5.0.tgz", - "integrity": "sha512-nil6AkP2TChWL43Z5uJ6GTxX01CUA+g8LWUM+N/rB9NBbkUMaUsi9PUNzlUPgoKASgmx9f7eGOYpJ04/fSa6FQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "typescript": ">=5" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "node_modules/entities": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", "dev": true, - "license": "MIT", + "license": "BSD-2-Clause", + "optional": true, "engines": { - "node": ">= 0.8" + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/vfile": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", - "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "node_modules/esbuild": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", "dev": true, + "hasInstallScript": true, "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "vfile-message": "^4.0.0" + "optional": true, + "bin": { + "esbuild": "bin/esbuild" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" } }, - "node_modules/vfile-location": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz", - "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", + "node_modules/expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "license": "(MIT OR WTFPL)", + "optional": true, + "engines": { + "node": ">=6" } }, - "node_modules/vfile-matter": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/vfile-matter/-/vfile-matter-5.0.1.tgz", - "integrity": "sha512-o6roP82AiX0XfkyTHyRCMXgHfltUNlXSEqCIS80f+mbAyiQBE2fxtDVMtseyytGx75sihiJFo/zR6r/4LTs2Cw==", + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "dev": true, "license": "MIT", - "dependencies": { - "vfile": "^6.0.0", - "yaml": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } + "optional": true }, - "node_modules/vfile-message": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz", - "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==", + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, + "hasInstallScript": true, "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-stringify-position": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/web-namespaces": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", - "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "node_modules/github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", "dev": true, "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } + "optional": true }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "dev": true, - "license": "BSD-2-Clause" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause", + "optional": true }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true, - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } + "license": "ISC", + "optional": true }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true, "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } + "optional": true }, - "node_modules/which-boxed-primitive": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", - "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", + "node_modules/js-yaml": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], "license": "MIT", + "optional": true, "dependencies": { - "is-bigint": "^1.1.0", - "is-boolean-object": "^1.2.1", - "is-number-object": "^1.1.1", - "is-string": "^1.1.1", - "is-symbol": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" + "argparse": "^2.0.1" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/which-builtin-type": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", - "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", + "node_modules/keytar": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/keytar/-/keytar-7.9.0.tgz", + "integrity": "sha512-VPD8mtVtm5JNtA2AErl6Chp06JBfy7diFQ7TQQhdpWOl6MrCRB+eRbvAZUsbGQS9kiMq0coJsy0W0vHpDCkWsQ==", "dev": true, + "hasInstallScript": true, "license": "MIT", + "optional": true, "dependencies": { - "call-bound": "^1.0.2", - "function.prototype.name": "^1.1.6", - "has-tostringtag": "^1.0.2", - "is-async-function": "^2.0.0", - "is-date-object": "^1.1.0", - "is-finalizationregistry": "^1.1.0", - "is-generator-function": "^1.0.10", - "is-regex": "^1.2.1", - "is-weakref": "^1.0.2", - "isarray": "^2.0.5", - "which-boxed-primitive": "^1.1.0", - "which-collection": "^1.0.2", - "which-typed-array": "^1.1.16" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node-addon-api": "^4.3.0", + "prebuild-install": "^7.0.1" } }, - "node_modules/which-collection": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", - "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "node_modules/mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", "dev": true, "license": "MIT", - "dependencies": { - "is-map": "^2.0.3", - "is-set": "^2.0.3", - "is-weakmap": "^2.0.2", - "is-weakset": "^2.0.3" - }, + "optional": true, "engines": { - "node": ">= 0.4" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/which-typed-array": { - "version": "1.1.24", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.24.tgz", - "integrity": "sha512-wk4Mf4pR5mRP7eYuuTBCIQ9d0ud2Fv2jRLQpfgnRjbOxAFHmjKFValgTpitVKzJJS8ajnYQV2Du1SZ8j6b/EUQ==", + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.9", - "call-bound": "^1.0.4", - "for-each": "^0.3.5", - "get-proto": "^1.0.1", - "gopd": "^1.2.0", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, + "optional": true, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/widest-line": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-5.0.0.tgz", - "integrity": "sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==", + "node_modules/mint": { + "version": "4.3.37", + "resolved": "https://registry.npmjs.org/mint/-/mint-4.3.37.tgz", + "integrity": "sha512-vuobDcMnsiEpnktMy+78QW51cHywJEGaN20mJblT0TcoUsaA6etQnqozHVIrVRRI42mtO5o24DJ86RhkHuUjGQ==", "dev": true, - "license": "MIT", + "license": "Elastic-2.0", "dependencies": { - "string-width": "^7.0.0" + "@mintlify/cli": "4.1.37" }, - "engines": { - "node": ">=18" + "bin": { + "mint": "index.js" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=18.0.0" } }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } + "optional": true }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/napi-build-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", "dev": true, "license": "MIT", - "engines": { - "node": ">=8" - } + "optional": true }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/node-abi": { + "version": "3.101.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.101.0.tgz", + "integrity": "sha512-bkb/RkuWCE64eWu1PCh3Fu2pGc9mKRs+kOE+FU2bGHRYlQa86/D321DSATV54AsCQMKz3/xSt9sRgraZTpqdhQ==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "color-convert": "^2.0.1" + "semver": "^7.3.5" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "node": ">=10" } }, - "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "node_modules/node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==", "dev": true, "license": "MIT", - "engines": { - "node": ">=8" - } + "optional": true }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, - "license": "MIT", + "license": "ISC", + "optional": true, "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" + "wrappy": "1" } }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "node_modules/prebuild-install": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", + "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/ws": { - "version": "8.22.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz", - "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/xml-naming": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/xml-naming/-/xml-naming-0.3.0.tgz", - "integrity": "sha512-ghig2TBE/H11aOVgmahA3MhimvkBr6JIYknH/Dhdk10nXwdbIqBJsbfMxpvFPG8bAw77gN29aQWvKpmVoPlvPQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", + "detect-libc": "^2.0.0", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^2.0.0", + "node-abi": "^3.3.0", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^4.0.0", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0" + }, + "bin": { + "prebuild-install": "bin.js" + }, "engines": { - "node": ">=16.0.0" + "node": ">=10" } }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "node_modules/pump": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", + "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" + "end-of-stream": "^1.1.0", + "once": "^1.3.1" } }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=4.0" + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "optional": true, + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" } }, - "node_modules/xss": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.15.tgz", - "integrity": "sha512-FVdlVVC67WOIPvfOwhoMETV72f6GbW7aOabBC3WxN/oUdoEMDyLz4OgRv5/gck2ZeNqEQu+Tb0kloovXOfpYVg==", + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "commander": "^2.20.3", - "cssfilter": "0.0.10" - }, - "bin": { - "xss": "bin/xss" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" }, "engines": { - "node": ">= 0.10.0" + "node": ">= 6" } }, - "node_modules/xss/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "dev": true, - "license": "MIT" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "node_modules/semver": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", + "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", "dev": true, "license": "ISC", + "optional": true, + "bin": { + "semver": "bin/semver.js" + }, "engines": { "node": ">=10" } }, - "node_modules/yallist": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", - "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "node_modules/sharp": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz", + "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==", "dev": true, - "license": "BlueOak-1.0.0", + "license": "Apache-2.0", + "dependencies": { + "@img/colour": "^1.1.0", + "detect-libc": "^2.1.2", + "semver": "^7.8.5" + }, "engines": { - "node": ">=18" + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-darwin-arm64": "0.35.5", + "@img/sharp-darwin-x64": "0.35.5", + "@img/sharp-freebsd-wasm32": "0.35.5", + "@img/sharp-libvips-darwin-arm64": "1.3.4", + "@img/sharp-libvips-darwin-x64": "1.3.4", + "@img/sharp-libvips-linux-arm": "1.3.4", + "@img/sharp-libvips-linux-arm64": "1.3.4", + "@img/sharp-libvips-linux-ppc64": "1.3.4", + "@img/sharp-libvips-linux-riscv64": "1.3.4", + "@img/sharp-libvips-linux-s390x": "1.3.4", + "@img/sharp-libvips-linux-x64": "1.3.4", + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4", + "@img/sharp-libvips-linuxmusl-x64": "1.3.4", + "@img/sharp-linux-arm": "0.35.5", + "@img/sharp-linux-arm64": "0.35.5", + "@img/sharp-linux-ppc64": "0.35.5", + "@img/sharp-linux-riscv64": "0.35.5", + "@img/sharp-linux-s390x": "0.35.5", + "@img/sharp-linux-x64": "0.35.5", + "@img/sharp-linuxmusl-arm64": "0.35.5", + "@img/sharp-linuxmusl-x64": "0.35.5", + "@img/sharp-webcontainers-wasm32": "0.35.5", + "@img/sharp-win32-arm64": "0.35.5", + "@img/sharp-win32-ia32": "0.35.5", + "@img/sharp-win32-x64": "0.35.5" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } } }, - "node_modules/yaml": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", - "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", + "node_modules/sharp/node_modules/semver": { + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz", + "integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==", "dev": true, "license": "ISC", "bin": { - "yaml": "bin.mjs" + "semver": "bin/semver.js" }, "engines": { - "node": ">= 14.6" - }, - "funding": { - "url": "https://github.com/sponsors/eemeli" + "node": ">=10" } }, - "node_modules/yargs": { - "version": "17.7.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", - "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", + "node_modules/simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } + "optional": true }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "node_modules/simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" } }, - "node_modules/yargs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "dev": true, "license": "MIT", - "engines": { - "node": ">=8" + "optional": true, + "dependencies": { + "safe-buffer": "~5.2.0" } }, - "node_modules/yargs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/yargs/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", "dev": true, "license": "MIT", + "optional": true, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/yargs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "node_modules/tar-fs": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.5.tgz", + "integrity": "sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" } }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { - "ansi-regex": "^5.0.1" + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" }, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/yoctocolors-cjs": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", - "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", + "node_modules/tslib": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "license": "0BSD", + "optional": true }, - "node_modules/yoga-layout": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-3.2.1.tgz", - "integrity": "sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ==", + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", "dev": true, - "license": "MIT" + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } }, - "node_modules/zod": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", - "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==", + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "dev": true, "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } + "optional": true }, - "node_modules/zod-to-json-schema": { - "version": "3.25.2", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz", - "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==", + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true, "license": "ISC", - "optional": true, - "peerDependencies": { - "zod": "^3.25.28 || ^4" - } - }, - "node_modules/zwitch": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", - "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } + "optional": true } } } diff --git a/docs/package.json b/docs/package.json index df71ffb4a..49b4d889c 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,17 +12,10 @@ "check:examples": "php scripts/check-php-examples.php" }, "devDependencies": { - "mint": "4.2.992" + "mint": "4.3.37" }, "overrides": { - "@modelcontextprotocol/sdk": "^1.32.1", - "adm-zip": "^0.6.1", - "axios": "^1.20.0", - "fflate": "^0.8.3", "js-yaml@^4": "^4.3.2", - "katex": "^0.18.2", - "postcss-selector-parser": "^7.1.6", - "qs": "^6.16.0", "sharp": "^0.35.5" } } From ed542424eb94bf4bd1c6655fe7e6c4b925c54d6f Mon Sep 17 00:00:00 2001 From: Rid Date: Mon, 16 Nov 2026 14:53:55 +0000 Subject: [PATCH 142/142] chore(release): prepare 4.1.0 Add the 4.1.0 changelog and update the main branch alias. --- CHANGELOG.md | 12 ++++++++++++ composer.json | 2 +- docs/installation.mdx | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ea88ca4e..c26f027db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 4.1.0 + +### Changed + +- Require PHP 8.2 or later. PHP 8.1 reached end of life on 31 December 2025; + Docker PHP 4.0 remains available for it. +- Allow the Docker Engine API v1.57 line (`docker-php/docker-php-api` + `>=7.1.45.0 <7.1.58.0`). Composer installs the newest line unless you require + one. API 1.57 adds a `restarting` attribute to container `die` events and + declares JSON error responses for streaming endpoints; generated model names + are unchanged from 1.56. + ## 4.0.2 ### Changed diff --git a/composer.json b/composer.json index ac72827be..2ebc33cea 100644 --- a/composer.json +++ b/composer.json @@ -56,7 +56,7 @@ }, "extra": { "branch-alias": { - "dev-main": "4.0.x-dev" + "dev-main": "4.1.x-dev" } }, "scripts": { diff --git a/docs/installation.mdx b/docs/installation.mdx index aaa253514..4fe16d64d 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -27,7 +27,7 @@ depends on generated model names or fields. For a disposable test application, explicitly allow both development packages: ```bash -composer require "docker-php/docker-php:4.0.x-dev" --with-all-dependencies +composer require "docker-php/docker-php:4.1.x-dev" --with-all-dependencies ``` Do not use these moving development versions for an unattended production