diff --git a/bin/bump b/bin/bump index d6993fa5..25b0019a 100755 --- a/bin/bump +++ b/bin/bump @@ -172,6 +172,11 @@ update_version() { update_package_file "$file" "$current_version" "$new_version" done + # Update root package.json + if [ -f "package.json" ]; then + update_package_file "package.json" "$current_version" "$new_version" + fi + echo -e "\n ${SUCCESS} Version bump complete!\n" } diff --git a/composer.json b/composer.json index 335055c8..9fdbe258 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,6 @@ "illuminate/support": "^11.0|^12.0|^13.0", "laravel/octane": "^2.3", "livewire/livewire": "^3.0", - "paragonie/random_compat": "^2.0", "psr/container": "^1.1|^2.0", "symfony/config": "^7.0|^8.0", "symfony/console": "^7.0|^8.0", diff --git a/composer.lock b/composer.lock index 7c6f1ea2..31d3b65d 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": "75c6ad2f4921d2b29ebfc9c3e2a067be", + "content-hash": "bae119fc55afe5c607e35e693f3e8c59", "packages": [ { "name": "brick/math", @@ -2624,33 +2624,29 @@ }, { "name": "paragonie/random_compat", - "version": "v2.0.0", + "version": "v9.99.100", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "321a59fed499a5624b0e40cb5c824ae6116e0c18" + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/321a59fed499a5624b0e40cb5c824ae6116e0c18", - "reference": "321a59fed499a5624b0e40cb5c824ae6116e0c18", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", "shasum": "" }, "require": { - "php": ">=5.2.0" + "php": ">= 7" }, "require-dev": { - "phpunit/phpunit": "4.*|5.*" + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" }, "suggest": { "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." }, "type": "library", - "autoload": { - "files": [ - "lib/random.php" - ] - }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -2665,6 +2661,7 @@ "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", "keywords": [ "csprng", + "polyfill", "pseudorandom", "random" ], @@ -2673,7 +2670,7 @@ "issues": "https://github.com/paragonie/random_compat/issues", "source": "https://github.com/paragonie/random_compat" }, - "time": "2016-03-18T17:17:33+00:00" + "time": "2020-10-15T08:29:30+00:00" }, { "name": "phpoption/phpoption", @@ -11389,7 +11386,7 @@ "minimum-stability": "dev", "stability-flags": {}, "prefer-stable": true, - "prefer-lowest": true, + "prefer-lowest": false, "platform": { "php": ">=8.2", "ext-intl": "*" diff --git a/package.json b/package.json index 1f8698d0..8b67d2c9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@flasher/php-flasher", "type": "module", - "version": "2.1.5", + "version": "2.5.1", "description": "A powerful and flexible flash notification system for PHP applications", "license": "MIT", "author": "Younes ENNAJI ",