From dbd8647bb88f4ea159f57233608b382306ec569b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 20 Mar 2024 16:32:55 +0100 Subject: [PATCH] wip #6800 @1 --- app/Fluidbook/Compiler/Compiler.php | 27 +-- app/Fluidbook/Compiler/PDF.php | 45 +++++ app/Fluidbook/PDF.php | 12 +- composer.lock | 294 ++++++++++++++-------------- 4 files changed, 206 insertions(+), 172 deletions(-) create mode 100644 app/Fluidbook/Compiler/PDF.php diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index d6517176c..9b0aa93fa 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -3,7 +3,6 @@ namespace App\Fluidbook\Compiler; use App\Fields\FluidbookFont; -use App\Fluidbook\PDF; use App\Fluidbook\SEO\Page; use App\Fluidbook\SocialImage; use App\Http\Controllers\Admin\Operations\Tools\Favicon; @@ -52,6 +51,7 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError use Search; use Accessibility; use Tabs; + use PDF; /** @var Lock */ protected $lock; @@ -1249,32 +1249,7 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError return $variables; } - protected function writePDF() - { - if (!$this->fluidbookSettings->print && !$this->fluidbookSettings->pdf) { - return; - } - - $res = PDF::compilePDF($this->getFluidbook()); - $this->config->pdfName = str_replace('.pdf', '', $this->config->pdfName); - if (!$this->config->pdfName) { - $this->config->pdfName = '%title%'; - } - $this->config->pdfName = Text::str2URL(static::replaceVariables($this->config->pdfName), false, true); - if (!$this->config->pdfName) { - $this->config->pdfName = 'document'; - } - if (mb_strtolower(substr($this->config->pdfName, -4)) !== '.pdf') { - $this->config->pdfName .= '.pdf'; - } - - if ($res !== false) { - $this->vdir->copy($res, 'data/' . $this->config->pdfName); - } - $this->log('PDF written'); - return ''; - } protected function replaceVariables($str) { diff --git a/app/Fluidbook/Compiler/PDF.php b/app/Fluidbook/Compiler/PDF.php new file mode 100644 index 000000000..b0a0bf1c3 --- /dev/null +++ b/app/Fluidbook/Compiler/PDF.php @@ -0,0 +1,45 @@ +writePDFToCanvasPDF(); + if (!$this->fluidbookSettings->print && !$this->fluidbookSettings->pdf) { + return; + } + + $res = \App\Fluidbook\PDF::compilePDF($this->getFluidbook()); + $this->config->pdfName = str_replace('.pdf', '', $this->config->pdfName); + if (!$this->config->pdfName) { + $this->config->pdfName = '%title%'; + } + $this->config->pdfName = Text::str2URL(static::replaceVariables($this->config->pdfName), false, true); + if (!$this->config->pdfName) { + $this->config->pdfName = 'document'; + } + + if (mb_strtolower(substr($this->config->pdfName, -4)) !== '.pdf') { + $this->config->pdfName .= '.pdf'; + } + + if ($res !== false) { + $this->vdir->copy($res, 'data/' . $this->config->pdfName); + } + $this->log('PDF written'); + return ''; + } + + protected function writePDFToCanvasPDF() + { + if ($this->fluidbookSettings->svgToCanvas != 2) { + return; + } + $pdf = \App\Fluidbook\PDF::compilePDF($this->getFluidbook(), type: 'onlytexts'); + $this->vdir->copy($pdf, 'data/texts.pdf'); + } +} diff --git a/app/Fluidbook/PDF.php b/app/Fluidbook/PDF.php index a9f8a6159..19a82d510 100644 --- a/app/Fluidbook/PDF.php +++ b/app/Fluidbook/PDF.php @@ -15,7 +15,7 @@ class PDF * @param $log * @return false|string|void */ - public static function compilePDF($fluidbook, $log = null) + public static function compilePDF($fluidbook, $log = null, $type = 'default') { $pdfName = $fluidbook->getAttribute('pdfName'); @@ -28,6 +28,7 @@ class PDF $normalPDF = $cacheDir . 'normal.pdf'; $originalPDF = $cacheDir . 'original.pdf'; $compressedPDF = $cacheDir . 'compressed.pdf'; + $onlytextsPDF = $cacheDir . 'onlytexts.pdf'; $files = [$normalPDF, $originalPDF, $compressedPDF]; @@ -177,6 +178,15 @@ class PDF } } + if ($type === 'original') { + return $originalPDF; + } else if ($type === 'onlytexts') { + if (!file_exists($onlytextsPDF) || !filesize($onlytextsPDF) || filemtime($originalPDF) > filemtime($onlytextsPDF)) { + PDFTools::filter($originalPDF, $onlytextsPDF, false, false, true); + } + return $onlytextsPDF; + } + if ($fluidbook->pdfReplace) { $replace = $fluidbook->getAssetDir() . $fluidbook->pdfReplace; diff --git a/composer.lock b/composer.lock index 886c0d346..36efe4a9b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b1ef1b34635430225d64706e3ea26656", + "content-hash": "06f032dba93afca18a24b1684cfc5463", "packages": [ { "name": "archtechx/enums", @@ -1678,13 +1678,13 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/cubist_cms-back.git", - "reference": "88d5dc958d1d2414134d493f638963af0d9314ee" + "reference": "c7a6028e19fe87ceae9a7894a9154865ddc071fc" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-be1c31.tar", - "reference": "88d5dc958d1d2414134d493f638963af0d9314ee", - "shasum": "5a9369ae9cf24a349269ffe9a56e6cb7f72ed19e" + "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-5a249f.tar", + "reference": "c7a6028e19fe87ceae9a7894a9154865ddc071fc", + "shasum": "a8667781bc678f6e3b44bbc0bc6b6f6ccf0882f1" }, "require": { "backpack/backupmanager": "^v3.0.9", @@ -1763,7 +1763,7 @@ } ], "description": "Cubist Backpack extension", - "time": "2024-03-14T08:46:52+00:00" + "time": "2024-03-19T09:26:21+00:00" }, { "name": "cubist/cms-front", @@ -2103,13 +2103,13 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/cubist_pdf.git", - "reference": "0ed905cbc9025bfa2118c48073ad40721219353b" + "reference": "fac077e0349369a7c2700de3f7b6a7460c1cc308" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/cubist/pdf/cubist-pdf-dev-master-126d9e.tar", - "reference": "0ed905cbc9025bfa2118c48073ad40721219353b", - "shasum": "12dd4fa201a4d84306a9436db54ad6784af4ef10" + "url": "https://composer.cubedesigners.com/dist/cubist/pdf/cubist-pdf-dev-master-e96b2d.tar", + "reference": "fac077e0349369a7c2700de3f7b6a7460c1cc308", + "shasum": "4258e7c3da499a72fcdf2089250419bc19f25741" }, "require": { "cubist/util": "dev-master", @@ -2145,7 +2145,7 @@ "cubist", "pdf" ], - "time": "2024-01-19T09:44:53+00:00" + "time": "2024-03-20T11:09:10+00:00" }, { "name": "cubist/scorm", @@ -3834,13 +3834,13 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/fluidbook_tools.git", - "reference": "cdb9b727b6b3e683c51c1f681d168349ef58b776" + "reference": "27d7719a3dceda4e87e437867d1f1d135badf78d" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/fluidbook/tools/fluidbook-tools-dev-master-acf838.tar", - "reference": "cdb9b727b6b3e683c51c1f681d168349ef58b776", - "shasum": "157379470a3c458bb77b089682a4c121e6748860" + "url": "https://composer.cubedesigners.com/dist/fluidbook/tools/fluidbook-tools-dev-master-55779e.tar", + "reference": "27d7719a3dceda4e87e437867d1f1d135badf78d", + "shasum": "e702bb1703c9a7911b8dfdca6abf35eff92bbe30" }, "require": { "barryvdh/laravel-debugbar": "*", @@ -3876,7 +3876,7 @@ } ], "description": "Fluidbook Tools", - "time": "2024-03-13T17:00:21+00:00" + "time": "2024-03-15T17:26:34+00:00" }, { "name": "fruitcake/php-cors", @@ -3951,31 +3951,31 @@ }, { "name": "graham-campbell/markdown", - "version": "v15.1.0", + "version": "v15.2.0", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Laravel-Markdown.git", - "reference": "94917d0d712c26788095ad2b5eafd9b33cd43095" + "reference": "d594fc197b9068de5e234a890be361807a1ab34f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Laravel-Markdown/zipball/94917d0d712c26788095ad2b5eafd9b33cd43095", - "reference": "94917d0d712c26788095ad2b5eafd9b33cd43095", + "url": "https://api.github.com/repos/GrahamCampbell/Laravel-Markdown/zipball/d594fc197b9068de5e234a890be361807a1ab34f", + "reference": "d594fc197b9068de5e234a890be361807a1ab34f", "shasum": "" }, "require": { - "illuminate/contracts": "^8.75 || ^9.0 || ^10.0", - "illuminate/filesystem": "^8.75 || ^9.0 || ^10.0", - "illuminate/support": "^8.75 || ^9.0 || ^10.0", - "illuminate/view": "^8.75 || ^9.0 || ^10.0", - "league/commonmark": "^2.4.1", + "illuminate/contracts": "^8.75 || ^9.0 || ^10.0 || ^11.0", + "illuminate/filesystem": "^8.75 || ^9.0 || ^10.0 || ^11.0", + "illuminate/support": "^8.75 || ^9.0 || ^10.0 || ^11.0", + "illuminate/view": "^8.75 || ^9.0 || ^10.0 || ^11.0", + "league/commonmark": "^2.4.2", "php": "^7.4.15 || ^8.0.2" }, "require-dev": { "graham-campbell/analyzer": "^4.1", "graham-campbell/testbench": "^6.1", "mockery/mockery": "^1.6.6", - "phpunit/phpunit": "^9.6.15 || ^10.4.2" + "phpunit/phpunit": "^9.6.17 || ^10.5.13" }, "type": "library", "extra": { @@ -4015,7 +4015,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Laravel-Markdown/issues", - "source": "https://github.com/GrahamCampbell/Laravel-Markdown/tree/v15.1.0" + "source": "https://github.com/GrahamCampbell/Laravel-Markdown/tree/v15.2.0" }, "funding": [ { @@ -4027,7 +4027,7 @@ "type": "tidelift" } ], - "time": "2023-12-04T02:43:19+00:00" + "time": "2024-03-17T23:07:39+00:00" }, { "name": "graham-campbell/result-type", @@ -4552,6 +4552,71 @@ }, "time": "2021-12-07T10:10:20+00:00" }, + { + "name": "ilab/standalone-blade", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/enhydrav/standalone-blade.git", + "reference": "75e4ac563b1f4558a623cf4885afea5c18108685" + }, + "require": { + "illuminate/config": "^9.0|^10.0", + "illuminate/support": "^9.0|^10.0", + "illuminate/view": "^9.0|^10.0", + "php": "^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", + "pestphp/pest": "^1.20", + "spatie/ray": "^1.28" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "RyanChandler\\Blade\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "RyanChandler\\Blade\\Tests\\": "tests" + } + }, + "scripts": { + "test": [ + "vendor/bin/pest" + ], + "test-coverage": [ + "vendor/bin/pest --coverage" + ], + "format": [ + "vendor/bin/php-cs-fixer fix --allow-risky=yes" + ] + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ryan Chandler", + "email": "support@ryangjchandler.co.uk", + "role": "Developer" + }, + { + "name": "Jon Gilkison", + "email": "jon@interfacelab.com", + "role": "Developer" + } + ], + "description": "Use Laravel's Blade templating engine outside of Laravel.", + "homepage": "https://github.com/Interfacelab/standalone-blade", + "keywords": [ + "ryangjchandler", + "standalone-blade" + ], + "time": "2024-03-15T18:40:21+00:00" + }, { "name": "intervention/image", "version": "2.7.2", @@ -5118,16 +5183,16 @@ }, { "name": "laravel/framework", - "version": "v10.48.2", + "version": "v10.48.3", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "32a8bb151d748b579c3794dea53b56bd40dfbbd3" + "reference": "5791c052b41c6b593556adc687076bfbdd13c501" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/32a8bb151d748b579c3794dea53b56bd40dfbbd3", - "reference": "32a8bb151d748b579c3794dea53b56bd40dfbbd3", + "url": "https://api.github.com/repos/laravel/framework/zipball/5791c052b41c6b593556adc687076bfbdd13c501", + "reference": "5791c052b41c6b593556adc687076bfbdd13c501", "shasum": "" }, "require": { @@ -5321,7 +5386,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-12T16:35:43+00:00" + "time": "2024-03-15T10:17:07+00:00" }, { "name": "laravel/prompts", @@ -5775,16 +5840,16 @@ }, { "name": "league/flysystem", - "version": "3.25.0", + "version": "3.25.1", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "4c44347133618cccd9b3df1729647a1577b4ad99" + "reference": "abbd664eb4381102c559d358420989f835208f18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/4c44347133618cccd9b3df1729647a1577b4ad99", - "reference": "4c44347133618cccd9b3df1729647a1577b4ad99", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/abbd664eb4381102c559d358420989f835208f18", + "reference": "abbd664eb4381102c559d358420989f835208f18", "shasum": "" }, "require": { @@ -5849,7 +5914,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.25.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.25.1" }, "funding": [ { @@ -5861,20 +5926,20 @@ "type": "github" } ], - "time": "2024-03-09T17:06:45+00:00" + "time": "2024-03-16T12:53:19+00:00" }, { "name": "league/flysystem-local", - "version": "3.23.1", + "version": "3.25.1", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "b884d2bf9b53bb4804a56d2df4902bb51e253f00" + "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/b884d2bf9b53bb4804a56d2df4902bb51e253f00", - "reference": "b884d2bf9b53bb4804a56d2df4902bb51e253f00", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/61a6a90d6e999e4ddd9ce5adb356de0939060b92", + "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92", "shasum": "" }, "require": { @@ -5908,8 +5973,7 @@ "local" ], "support": { - "issues": "https://github.com/thephpleague/flysystem-local/issues", - "source": "https://github.com/thephpleague/flysystem-local/tree/3.23.1" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.25.1" }, "funding": [ { @@ -5921,7 +5985,7 @@ "type": "github" } ], - "time": "2024-01-26T18:25:23+00:00" + "time": "2024-03-15T19:58:44+00:00" }, { "name": "league/glide", @@ -8024,16 +8088,16 @@ }, { "name": "php-http/promise", - "version": "1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/php-http/promise.git", - "reference": "2916a606d3b390f4e9e8e2b8dd68581508be0f07" + "reference": "fc85b1fba37c169a69a07ef0d5a8075770cc1f83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/2916a606d3b390f4e9e8e2b8dd68581508be0f07", - "reference": "2916a606d3b390f4e9e8e2b8dd68581508be0f07", + "url": "https://api.github.com/repos/php-http/promise/zipball/fc85b1fba37c169a69a07ef0d5a8075770cc1f83", + "reference": "fc85b1fba37c169a69a07ef0d5a8075770cc1f83", "shasum": "" }, "require": { @@ -8070,9 +8134,9 @@ ], "support": { "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.3.0" + "source": "https://github.com/php-http/promise/tree/1.3.1" }, - "time": "2024-01-04T18:49:48+00:00" + "time": "2024-03-15T13:55:21+00:00" }, { "name": "php-jsonpointer/php-jsonpointer", @@ -9310,67 +9374,6 @@ }, "time": "2022-09-27T16:11:03+00:00" }, - { - "name": "ryangjchandler/standalone-blade", - "version": "v0.2.0", - "source": { - "type": "git", - "url": "https://github.com/ryangjchandler/standalone-blade.git", - "reference": "a146e1b82461c942aec7486df7a0bf7ad62f8078" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ryangjchandler/standalone-blade/zipball/a146e1b82461c942aec7486df7a0bf7ad62f8078", - "reference": "a146e1b82461c942aec7486df7a0bf7ad62f8078", - "shasum": "" - }, - "require": { - "illuminate/config": "^10.0", - "illuminate/support": "^10.0", - "illuminate/view": "^10.0", - "php": "^8.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.0", - "pestphp/pest": "^1.20", - "spatie/ray": "^1.28" - }, - "type": "library", - "autoload": { - "psr-4": { - "RyanChandler\\Blade\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ryan Chandler", - "email": "support@ryangjchandler.co.uk", - "role": "Developer" - } - ], - "description": "Use Laravel's Blade templating engine outside of Laravel.", - "homepage": "https://github.com/ryangjchandler/standalone-blade", - "keywords": [ - "ryangjchandler", - "standalone-blade" - ], - "support": { - "issues": "https://github.com/ryangjchandler/standalone-blade/issues", - "source": "https://github.com/ryangjchandler/standalone-blade/tree/v0.2.0" - }, - "funding": [ - { - "url": "https://github.com/ryangjchandler", - "type": "github" - } - ], - "abandoned": true, - "time": "2023-02-24T15:16:34+00:00" - }, { "name": "simplesoftwareio/simple-qrcode", "version": "4.2.0", @@ -9979,16 +9982,16 @@ }, { "name": "spatie/laravel-package-tools", - "version": "1.16.3", + "version": "1.16.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "59db18c2e20d49a0b6d447bb1c654f6c123beb9e" + "reference": "ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/59db18c2e20d49a0b6d447bb1c654f6c123beb9e", - "reference": "59db18c2e20d49a0b6d447bb1c654f6c123beb9e", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53", + "reference": "ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53", "shasum": "" }, "require": { @@ -10027,7 +10030,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.3" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.4" }, "funding": [ { @@ -10035,7 +10038,7 @@ "type": "github" } ], - "time": "2024-03-07T07:35:57+00:00" + "time": "2024-03-20T07:29:11+00:00" }, { "name": "spatie/laravel-permission", @@ -14769,16 +14772,16 @@ }, { "name": "composer/class-map-generator", - "version": "1.1.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/composer/class-map-generator.git", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9" + "reference": "8286a62d243312ed99b3eee20d5005c961adb311" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/953cc4ea32e0c31f2185549c7d216d7921f03da9", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/8286a62d243312ed99b3eee20d5005c961adb311", + "reference": "8286a62d243312ed99b3eee20d5005c961adb311", "shasum": "" }, "require": { @@ -14822,7 +14825,7 @@ ], "support": { "issues": "https://github.com/composer/class-map-generator/issues", - "source": "https://github.com/composer/class-map-generator/tree/1.1.0" + "source": "https://github.com/composer/class-map-generator/tree/1.1.1" }, "funding": [ { @@ -14838,20 +14841,20 @@ "type": "tidelift" } ], - "time": "2023-06-30T13:58:57+00:00" + "time": "2024-03-15T12:53:41+00:00" }, { "name": "composer/pcre", - "version": "3.1.2", + "version": "3.1.3", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "4775f35b2d70865807c89d32c8e7385b86eb0ace" + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/4775f35b2d70865807c89d32c8e7385b86eb0ace", - "reference": "4775f35b2d70865807c89d32c8e7385b86eb0ace", + "url": "https://api.github.com/repos/composer/pcre/zipball/5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", + "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8", "shasum": "" }, "require": { @@ -14893,7 +14896,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.2" + "source": "https://github.com/composer/pcre/tree/3.1.3" }, "funding": [ { @@ -14909,7 +14912,7 @@ "type": "tidelift" } ], - "time": "2024-03-07T15:38:35+00:00" + "time": "2024-03-19T10:26:25+00:00" }, { "name": "doctrine/instantiator", @@ -15171,16 +15174,16 @@ }, { "name": "mockery/mockery", - "version": "1.6.9", + "version": "1.6.10", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06" + "reference": "47065d1be1fa05def58dc14c03cf831d3884ef0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06", - "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06", + "url": "https://api.github.com/repos/mockery/mockery/zipball/47065d1be1fa05def58dc14c03cf831d3884ef0b", + "reference": "47065d1be1fa05def58dc14c03cf831d3884ef0b", "shasum": "" }, "require": { @@ -15192,8 +15195,8 @@ "phpunit/phpunit": "<8.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.6.10", - "symplify/easy-coding-standard": "^12.0.8" + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" }, "type": "library", "autoload": { @@ -15250,7 +15253,7 @@ "security": "https://github.com/mockery/mockery/security/advisories", "source": "https://github.com/mockery/mockery" }, - "time": "2023-12-10T02:24:34+00:00" + "time": "2024-03-19T16:15:45+00:00" }, { "name": "myclabs/deep-copy", @@ -16157,16 +16160,16 @@ }, { "name": "psy/psysh", - "version": "v0.12.0", + "version": "v0.12.2", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d" + "reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/750bf031a48fd07c673dbe3f11f72362ea306d0d", - "reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9185c66c2165bbf4d71de78a69dccf4974f9538d", + "reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d", "shasum": "" }, "require": { @@ -16230,9 +16233,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.0" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.2" }, - "time": "2023-12-20T15:28:09+00:00" + "time": "2024-03-17T01:53:00+00:00" }, { "name": "sebastian/cli-parser", @@ -17564,7 +17567,8 @@ "cubist/matomo": 20, "cubist/pdf": 20, "cubist/scorm": 20, - "fluidbook/tools": 20 + "fluidbook/tools": 20, + "ilab/standalone-blade": 20 }, "prefer-stable": true, "prefer-lowest": false, -- 2.39.5