From 22aa871ec4b04398350690c1396613cc2db3d0bc Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 9 Jan 2025 15:20:50 +1100 Subject: [PATCH] v5.11.12 --- VERSION.txt | 2 +- app/Utils/Traits/Pdf/PdfMaker.php | 2 +- composer.json | 6 +- composer.lock | 102 ++++++++++++++++-------------- config/ninja.php | 4 +- 5 files changed, 65 insertions(+), 51 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 6ee03e5143..a0a6c317a0 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.11.11 \ No newline at end of file +5.11.12 \ No newline at end of file diff --git a/app/Utils/Traits/Pdf/PdfMaker.php b/app/Utils/Traits/Pdf/PdfMaker.php index 46fcc030b3..bf91e1ef87 100644 --- a/app/Utils/Traits/Pdf/PdfMaker.php +++ b/app/Utils/Traits/Pdf/PdfMaker.php @@ -32,7 +32,7 @@ trait PdfMaker $chrome_flags = [ '--headless', - '--sandbox', + '--no-sandbox', '--disable-gpu', '--no-margins', '--hide-scrollbars', diff --git a/composer.json b/composer.json index 329ceb4f94..0fb1a81e90 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ "aws/aws-sdk-php": "^3.319", "babenkoivan/elastic-scout-driver": "^4.0", "bacon/bacon-qr-code": "^2.0", - "beganovich/snappdf": "^5.0", + "beganovich/snappdf": "dev-master", "braintree/braintree_php": "^6.0", "btcpayserver/btcpayserver-greenfield-php": "^2.6", "checkout/checkout-sdk-php": "^3.0", @@ -218,6 +218,10 @@ { "type": "vcs", "url": "https://github.com/beganovich/php-ansible" + }, + { + "type": "vcs", + "url": "https://github.com/turbo124/snappdf" } ], "minimum-stability": "dev", diff --git a/composer.lock b/composer.lock index d8e14ac349..f6e678c34b 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": "d0ffe28b0593b9494bc5c644a552ac3a", + "content-hash": "2c6101c30fcaacfda880d86254ac85a4", "packages": [ { "name": "adrienrn/php-mimetyper", @@ -536,16 +536,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.336.10", + "version": "3.336.11", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "bb137145fdbcd4ca121446157d804b9653aff54c" + "reference": "442039c766a82f06ecfecb0ac2c610d6aaba228d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/bb137145fdbcd4ca121446157d804b9653aff54c", - "reference": "bb137145fdbcd4ca121446157d804b9653aff54c", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/442039c766a82f06ecfecb0ac2c610d6aaba228d", + "reference": "442039c766a82f06ecfecb0ac2c610d6aaba228d", "shasum": "" }, "require": { @@ -628,9 +628,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.336.10" + "source": "https://github.com/aws/aws-sdk-php/tree/3.336.11" }, - "time": "2025-01-07T19:05:48+00:00" + "time": "2025-01-08T19:06:59+00:00" }, { "name": "babenkoivan/elastic-adapter", @@ -899,16 +899,16 @@ }, { "name": "beganovich/snappdf", - "version": "v5.0.1", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/beganovich/snappdf.git", - "reference": "340e877e63ef98db82766a8d8a853d7759cf79fa" + "url": "https://github.com/turbo124/snappdf.git", + "reference": "73997afb327fb9cd99686368769d2f0562cb3a9f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/beganovich/snappdf/zipball/340e877e63ef98db82766a8d8a853d7759cf79fa", - "reference": "340e877e63ef98db82766a8d8a853d7759cf79fa", + "url": "https://api.github.com/repos/turbo124/snappdf/zipball/73997afb327fb9cd99686368769d2f0562cb3a9f", + "reference": "73997afb327fb9cd99686368769d2f0562cb3a9f", "shasum": "" }, "require": { @@ -923,6 +923,7 @@ "friendsofphp/php-cs-fixer": "^3.6", "phpunit/phpunit": "^11.4" }, + "default-branch": true, "bin": [ "snappdf" ], @@ -932,7 +933,16 @@ "Beganovich\\Snappdf\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", + "autoload-dev": { + "psr-4": { + "Test\\Snappdf\\": "tests/" + } + }, + "scripts": { + "tests": [ + "@php vendor/bin/phpunit --testdox" + ] + }, "license": [ "MIT" ], @@ -944,10 +954,9 @@ ], "description": "Convert webpages or HTML into the PDF file using Chromium or Google Chrome.", "support": { - "issues": "https://github.com/beganovich/snappdf/issues", - "source": "https://github.com/beganovich/snappdf/tree/v5.0.1" + "source": "https://github.com/turbo124/snappdf/tree/master" }, - "time": "2024-11-20T17:31:20+00:00" + "time": "2025-01-04T00:35:22+00:00" }, { "name": "braintree/braintree_php", @@ -1317,16 +1326,16 @@ }, { "name": "composer/ca-bundle", - "version": "1.5.4", + "version": "1.5.5", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "bc0593537a463e55cadf45fd938d23b75095b7e1" + "reference": "08c50d5ec4c6ced7d0271d2862dec8c1033283e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/bc0593537a463e55cadf45fd938d23b75095b7e1", - "reference": "bc0593537a463e55cadf45fd938d23b75095b7e1", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/08c50d5ec4c6ced7d0271d2862dec8c1033283e6", + "reference": "08c50d5ec4c6ced7d0271d2862dec8c1033283e6", "shasum": "" }, "require": { @@ -1373,7 +1382,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.5.4" + "source": "https://github.com/composer/ca-bundle/tree/1.5.5" }, "funding": [ { @@ -1389,7 +1398,7 @@ "type": "tidelift" } ], - "time": "2024-11-27T15:35:25+00:00" + "time": "2025-01-08T16:17:16+00:00" }, { "name": "dasprid/enum", @@ -6069,16 +6078,16 @@ }, { "name": "league/csv", - "version": "9.20.1", + "version": "9.21.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "491d1e79e973a7370c7571dc0fe4a7241f4936ee" + "reference": "72196d11ebba22d868954cb39c0c7346207430cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/491d1e79e973a7370c7571dc0fe4a7241f4936ee", - "reference": "491d1e79e973a7370c7571dc0fe4a7241f4936ee", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/72196d11ebba22d868954cb39c0c7346207430cc", + "reference": "72196d11ebba22d868954cb39c0c7346207430cc", "shasum": "" }, "require": { @@ -6152,7 +6161,7 @@ "type": "github" } ], - "time": "2024-12-18T10:11:15+00:00" + "time": "2025-01-08T19:27:58+00:00" }, { "name": "league/flysystem", @@ -7783,12 +7792,12 @@ "version": "3.8.4", "source": { "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", + "url": "https://github.com/CarbonPHP/carbon.git", "reference": "129700ed449b1f02d70272d2ac802357c8c30c58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/129700ed449b1f02d70272d2ac802357c8c30c58", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/129700ed449b1f02d70272d2ac802357c8c30c58", "reference": "129700ed449b1f02d70272d2ac802357c8c30c58", "shasum": "" }, @@ -8401,16 +8410,16 @@ }, { "name": "open-telemetry/api", - "version": "1.1.2", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/api.git", - "reference": "04c85a1e41a3d59fa9bdc801a5de1df6624b95ed" + "reference": "351a30baa79699de3de3a814c8ccc7b52ccdfb1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/04c85a1e41a3d59fa9bdc801a5de1df6624b95ed", - "reference": "04c85a1e41a3d59fa9bdc801a5de1df6624b95ed", + "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/351a30baa79699de3de3a814c8ccc7b52ccdfb1d", + "reference": "351a30baa79699de3de3a814c8ccc7b52ccdfb1d", "shasum": "" }, "require": { @@ -8467,7 +8476,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2024-11-16T04:32:30+00:00" + "time": "2025-01-08T23:50:34+00:00" }, { "name": "open-telemetry/context", @@ -17106,16 +17115,16 @@ }, { "name": "barryvdh/laravel-ide-helper", - "version": "v3.5.2", + "version": "v3.5.3", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-ide-helper.git", - "reference": "655e0576260b74014731280826c43c0417cb1f20" + "reference": "271682a2a6d57691e1c7ff378f44e4ae6ac2aba0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/655e0576260b74014731280826c43c0417cb1f20", - "reference": "655e0576260b74014731280826c43c0417cb1f20", + "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/271682a2a6d57691e1c7ff378f44e4ae6ac2aba0", + "reference": "271682a2a6d57691e1c7ff378f44e4ae6ac2aba0", "shasum": "" }, "require": { @@ -17184,7 +17193,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-ide-helper/issues", - "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.5.2" + "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.5.3" }, "funding": [ { @@ -17196,7 +17205,7 @@ "type": "github" } ], - "time": "2025-01-06T15:29:58+00:00" + "time": "2025-01-08T10:01:30+00:00" }, { "name": "barryvdh/reflection-docblock", @@ -17887,16 +17896,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.66.2", + "version": "v3.67.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "25addd3cb10e54cfd20b84d9c083c6625cd52218" + "reference": "0ad34c75d1172f7d30320460e803887981830cbf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/25addd3cb10e54cfd20b84d9c083c6625cd52218", - "reference": "25addd3cb10e54cfd20b84d9c083c6625cd52218", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/0ad34c75d1172f7d30320460e803887981830cbf", + "reference": "0ad34c75d1172f7d30320460e803887981830cbf", "shasum": "" }, "require": { @@ -17978,7 +17987,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.66.2" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.67.0" }, "funding": [ { @@ -17986,7 +17995,7 @@ "type": "github" } ], - "time": "2025-01-07T09:21:51+00:00" + "time": "2025-01-08T10:17:40+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -21189,6 +21198,7 @@ "minimum-stability": "dev", "stability-flags": { "asm/php-ansible": 20, + "beganovich/snappdf": 20, "horstoeko/orderx": 20, "invoiceninja/einvoice": 20, "socialiteproviders/apple": 20 diff --git a/config/ninja.php b/config/ninja.php index ee7ecae88c..854e546f4a 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -17,8 +17,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => env('APP_VERSION', '5.11.11'), - 'app_tag' => env('APP_TAG', '5.11.11'), + 'app_version' => env('APP_VERSION', '5.11.12'), + 'app_tag' => env('APP_TAG', '5.11.12'), 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),