update project & fix default value add rainfall

This commit is contained in:
Romulus21
2023-12-23 20:51:53 +01:00
parent 857126ffb8
commit 7ff0470e48
4 changed files with 1052 additions and 1082 deletions

271
composer.lock generated
View File

@@ -63,26 +63,26 @@
}, },
{ {
"name": "carbonphp/carbon-doctrine-types", "name": "carbonphp/carbon-doctrine-types",
"version": "3.0.0", "version": "2.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git",
"reference": "49856fbc09fe91b5433381faec60e3620ad364ad" "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/49856fbc09fe91b5433381faec60e3620ad364ad", "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/99f76ffa36cce3b70a4a6abce41dba15ca2e84cb",
"reference": "49856fbc09fe91b5433381faec60e3620ad364ad", "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^8.1" "php": "^7.4 || ^8.0"
}, },
"conflict": { "conflict": {
"doctrine/dbal": "<4.0.0 || >=5.0.0" "doctrine/dbal": "<3.7.0 || >=4.0.0"
}, },
"require-dev": { "require-dev": {
"doctrine/dbal": "^4.0.0", "doctrine/dbal": "^3.7.0",
"nesbot/carbon": "^2.71.0 || ^3.0.0", "nesbot/carbon": "^2.71.0 || ^3.0.0",
"phpunit/phpunit": "^10.3" "phpunit/phpunit": "^10.3"
}, },
@@ -112,7 +112,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues",
"source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/3.0.0" "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/2.1.0"
}, },
"funding": [ "funding": [
{ {
@@ -128,7 +128,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-10-01T14:36:55+00:00" "time": "2023-12-11T17:09:12+00:00"
}, },
{ {
"name": "dflydev/dot-access-data", "name": "dflydev/dot-access-data",
@@ -1099,16 +1099,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v10.34.2", "version": "v10.38.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "c581caa233e380610b34cc491490bfa147a3b62b" "reference": "ced4689f495213e9d23995b36098f12a802cc15b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/c581caa233e380610b34cc491490bfa147a3b62b", "url": "https://api.github.com/repos/laravel/framework/zipball/ced4689f495213e9d23995b36098f12a802cc15b",
"reference": "c581caa233e380610b34cc491490bfa147a3b62b", "reference": "ced4689f495213e9d23995b36098f12a802cc15b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1141,7 +1141,7 @@
"symfony/console": "^6.2", "symfony/console": "^6.2",
"symfony/error-handler": "^6.2", "symfony/error-handler": "^6.2",
"symfony/finder": "^6.2", "symfony/finder": "^6.2",
"symfony/http-foundation": "^6.3", "symfony/http-foundation": "^6.4",
"symfony/http-kernel": "^6.2", "symfony/http-kernel": "^6.2",
"symfony/mailer": "^6.2", "symfony/mailer": "^6.2",
"symfony/mime": "^6.2", "symfony/mime": "^6.2",
@@ -1154,6 +1154,8 @@
"voku/portable-ascii": "^2.0" "voku/portable-ascii": "^2.0"
}, },
"conflict": { "conflict": {
"carbonphp/carbon-doctrine-types": ">=3.0",
"doctrine/dbal": ">=4.0",
"tightenco/collect": "<5.5.33" "tightenco/collect": "<5.5.33"
}, },
"provide": { "provide": {
@@ -1265,6 +1267,7 @@
"files": [ "files": [
"src/Illuminate/Collections/helpers.php", "src/Illuminate/Collections/helpers.php",
"src/Illuminate/Events/functions.php", "src/Illuminate/Events/functions.php",
"src/Illuminate/Filesystem/functions.php",
"src/Illuminate/Foundation/helpers.php", "src/Illuminate/Foundation/helpers.php",
"src/Illuminate/Support/helpers.php" "src/Illuminate/Support/helpers.php"
], ],
@@ -1297,7 +1300,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2023-11-28T19:06:27+00:00" "time": "2023-12-20T14:52:12+00:00"
}, },
{ {
"name": "laravel/prompts", "name": "laravel/prompts",
@@ -1358,16 +1361,16 @@
}, },
{ {
"name": "laravel/pulse", "name": "laravel/pulse",
"version": "v1.0.0-beta3", "version": "v1.0.0-beta7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/pulse.git", "url": "https://github.com/laravel/pulse.git",
"reference": "6d27eede84bed499b5baaf720a14ccec7f6bb9c9" "reference": "1f2d6667b4a68ea4780a149677757193ed692702"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/pulse/zipball/6d27eede84bed499b5baaf720a14ccec7f6bb9c9", "url": "https://api.github.com/repos/laravel/pulse/zipball/1f2d6667b4a68ea4780a149677757193ed692702",
"reference": "6d27eede84bed499b5baaf720a14ccec7f6bb9c9", "reference": "1f2d6667b4a68ea4780a149677757193ed692702",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1386,7 +1389,7 @@
"illuminate/routing": "^10.21", "illuminate/routing": "^10.21",
"illuminate/support": "^10.21", "illuminate/support": "^10.21",
"illuminate/view": "^10.21", "illuminate/view": "^10.21",
"livewire/livewire": "^3.02", "livewire/livewire": "^3.2",
"nesbot/carbon": "^2.67", "nesbot/carbon": "^2.67",
"php": "^8.1" "php": "^8.1"
}, },
@@ -1396,7 +1399,7 @@
"require-dev": { "require-dev": {
"guzzlehttp/guzzle": "^7.7", "guzzlehttp/guzzle": "^7.7",
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"orchestra/testbench": "^8.0", "orchestra/testbench": "^8.16",
"pestphp/pest": "^2.0", "pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.2", "pestphp/pest-plugin-laravel": "^2.2",
"phpstan/phpstan": "^1.11", "phpstan/phpstan": "^1.11",
@@ -1431,6 +1434,7 @@
"email": "taylor@laravel.com" "email": "taylor@laravel.com"
} }
], ],
"description": "Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.",
"homepage": "https://github.com/laravel/pulse", "homepage": "https://github.com/laravel/pulse",
"keywords": [ "keywords": [
"laravel" "laravel"
@@ -1439,7 +1443,7 @@
"issues": "https://github.com/laravel/pulse/issues", "issues": "https://github.com/laravel/pulse/issues",
"source": "https://github.com/laravel/pulse" "source": "https://github.com/laravel/pulse"
}, },
"time": "2023-12-04T16:15:29+00:00" "time": "2023-12-13T00:05:37+00:00"
}, },
{ {
"name": "laravel/sanctum", "name": "laravel/sanctum",
@@ -2032,16 +2036,16 @@
}, },
{ {
"name": "livewire/livewire", "name": "livewire/livewire",
"version": "v3.2.6", "version": "v3.3.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/livewire/livewire.git", "url": "https://github.com/livewire/livewire.git",
"reference": "ecded08cdc4b36bbb4b26bcc7f7a171ea2e4368c" "reference": "6dd3bec8c711cd792742be4620057637e261e6f7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/livewire/livewire/zipball/ecded08cdc4b36bbb4b26bcc7f7a171ea2e4368c", "url": "https://api.github.com/repos/livewire/livewire/zipball/6dd3bec8c711cd792742be4620057637e261e6f7",
"reference": "ecded08cdc4b36bbb4b26bcc7f7a171ea2e4368c", "reference": "6dd3bec8c711cd792742be4620057637e261e6f7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2094,7 +2098,7 @@
"description": "A front-end framework for Laravel.", "description": "A front-end framework for Laravel.",
"support": { "support": {
"issues": "https://github.com/livewire/livewire/issues", "issues": "https://github.com/livewire/livewire/issues",
"source": "https://github.com/livewire/livewire/tree/v3.2.6" "source": "https://github.com/livewire/livewire/tree/v3.3.3"
}, },
"funding": [ "funding": [
{ {
@@ -2102,7 +2106,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-12-04T21:20:19+00:00" "time": "2023-12-20T05:34:05+00:00"
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
@@ -2207,16 +2211,16 @@
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "2.72.0", "version": "2.72.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/briannesbitt/Carbon.git", "url": "https://github.com/briannesbitt/Carbon.git",
"reference": "a6885fcbad2ec4360b0e200ee0da7d9b7c90786b" "reference": "2b3b3db0a2d0556a177392ff1a3bf5608fa09f78"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/a6885fcbad2ec4360b0e200ee0da7d9b7c90786b", "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/2b3b3db0a2d0556a177392ff1a3bf5608fa09f78",
"reference": "a6885fcbad2ec4360b0e200ee0da7d9b7c90786b", "reference": "2b3b3db0a2d0556a177392ff1a3bf5608fa09f78",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2310,7 +2314,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-11-28T10:13:25+00:00" "time": "2023-12-08T23:47:49+00:00"
}, },
{ {
"name": "nette/schema", "name": "nette/schema",
@@ -2462,16 +2466,16 @@
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
"version": "v4.17.1", "version": "v4.18.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nikic/PHP-Parser.git", "url": "https://github.com/nikic/PHP-Parser.git",
"reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999",
"reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2512,9 +2516,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/nikic/PHP-Parser/issues", "issues": "https://github.com/nikic/PHP-Parser/issues",
"source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0"
}, },
"time": "2023-08-13T19:53:39+00:00" "time": "2023-12-10T21:03:43+00:00"
}, },
{ {
"name": "nunomaduro/termwind", "name": "nunomaduro/termwind",
@@ -3490,20 +3494,20 @@
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
"version": "v6.4.0", "version": "v7.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/css-selector.git", "url": "https://github.com/symfony/css-selector.git",
"reference": "d036c6c0d0b09e24a14a35f8292146a658f986e4" "reference": "bb51d46e53ef8d50d523f0c5faedba056a27943e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/css-selector/zipball/d036c6c0d0b09e24a14a35f8292146a658f986e4", "url": "https://api.github.com/repos/symfony/css-selector/zipball/bb51d46e53ef8d50d523f0c5faedba056a27943e",
"reference": "d036c6c0d0b09e24a14a35f8292146a658f986e4", "reference": "bb51d46e53ef8d50d523f0c5faedba056a27943e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=8.1" "php": ">=8.2"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -3535,7 +3539,7 @@
"description": "Converts CSS selectors to XPath expressions", "description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/css-selector/tree/v6.4.0" "source": "https://github.com/symfony/css-selector/tree/v7.0.0"
}, },
"funding": [ "funding": [
{ {
@@ -3551,7 +3555,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-10-31T08:40:20+00:00" "time": "2023-10-31T17:59:56+00:00"
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
@@ -5653,23 +5657,23 @@
}, },
{ {
"name": "tijsverkoyen/css-to-inline-styles", "name": "tijsverkoyen/css-to-inline-styles",
"version": "2.2.6", "version": "v2.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
"reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c" "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c", "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb",
"reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c", "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-dom": "*", "ext-dom": "*",
"ext-libxml": "*", "ext-libxml": "*",
"php": "^5.5 || ^7.0 || ^8.0", "php": "^5.5 || ^7.0 || ^8.0",
"symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10"
@@ -5700,9 +5704,9 @@
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",
"support": { "support": {
"issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues",
"source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6" "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7"
}, },
"time": "2023-01-03T09:29:04+00:00" "time": "2023-12-08T13:03:43+00:00"
}, },
{ {
"name": "vlucas/phpdotenv", "name": "vlucas/phpdotenv",
@@ -6376,16 +6380,16 @@
}, },
{ {
"name": "laravel/breeze", "name": "laravel/breeze",
"version": "v1.26.2", "version": "v1.27.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/breeze.git", "url": "https://github.com/laravel/breeze.git",
"reference": "60f339c38098bc5adbf8614bf5d89b77647a06c5" "reference": "b0ac214483b5cf42fe5a8007d643d0fe9f95e2e1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/breeze/zipball/60f339c38098bc5adbf8614bf5d89b77647a06c5", "url": "https://api.github.com/repos/laravel/breeze/zipball/b0ac214483b5cf42fe5a8007d643d0fe9f95e2e1",
"reference": "60f339c38098bc5adbf8614bf5d89b77647a06c5", "reference": "b0ac214483b5cf42fe5a8007d643d0fe9f95e2e1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6434,20 +6438,20 @@
"issues": "https://github.com/laravel/breeze/issues", "issues": "https://github.com/laravel/breeze/issues",
"source": "https://github.com/laravel/breeze" "source": "https://github.com/laravel/breeze"
}, },
"time": "2023-11-24T14:41:28+00:00" "time": "2023-12-19T14:44:20+00:00"
}, },
{ {
"name": "laravel/pint", "name": "laravel/pint",
"version": "v1.13.6", "version": "v1.13.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/pint.git", "url": "https://github.com/laravel/pint.git",
"reference": "3e3d2ab01c7d8b484c18e6100ecf53639c744fa7" "reference": "4157768980dbd977f1c4b4cc94997416d8b30ece"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/3e3d2ab01c7d8b484c18e6100ecf53639c744fa7", "url": "https://api.github.com/repos/laravel/pint/zipball/4157768980dbd977f1c4b4cc94997416d8b30ece",
"reference": "3e3d2ab01c7d8b484c18e6100ecf53639c744fa7", "reference": "4157768980dbd977f1c4b4cc94997416d8b30ece",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6500,20 +6504,20 @@
"issues": "https://github.com/laravel/pint/issues", "issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint" "source": "https://github.com/laravel/pint"
}, },
"time": "2023-11-07T17:59:57+00:00" "time": "2023-12-05T19:43:12+00:00"
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
"version": "v1.26.2", "version": "v1.26.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/sail.git", "url": "https://github.com/laravel/sail.git",
"reference": "c0177786b1cd05b687b0fa11364aeeecb42cd3d8" "reference": "fa1ad5fbb03686dfc752bfd1861d86091cc1c32d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/sail/zipball/c0177786b1cd05b687b0fa11364aeeecb42cd3d8", "url": "https://api.github.com/repos/laravel/sail/zipball/fa1ad5fbb03686dfc752bfd1861d86091cc1c32d",
"reference": "c0177786b1cd05b687b0fa11364aeeecb42cd3d8", "reference": "fa1ad5fbb03686dfc752bfd1861d86091cc1c32d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6565,20 +6569,20 @@
"issues": "https://github.com/laravel/sail/issues", "issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail" "source": "https://github.com/laravel/sail"
}, },
"time": "2023-11-27T14:46:06+00:00" "time": "2023-12-02T18:26:39+00:00"
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
"version": "1.6.6", "version": "1.6.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/mockery/mockery.git", "url": "https://github.com/mockery/mockery.git",
"reference": "b8e0bb7d8c604046539c1115994632c74dcb361e" "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/mockery/mockery/zipball/b8e0bb7d8c604046539c1115994632c74dcb361e", "url": "https://api.github.com/repos/mockery/mockery/zipball/0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06",
"reference": "b8e0bb7d8c604046539c1115994632c74dcb361e", "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6591,9 +6595,7 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^8.5 || ^9.6.10", "phpunit/phpunit": "^8.5 || ^9.6.10",
"psalm/plugin-phpunit": "^0.18.4", "symplify/easy-coding-standard": "^12.0.8"
"symplify/easy-coding-standard": "^11.5.0",
"vimeo/psalm": "^4.30"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -6650,7 +6652,7 @@
"security": "https://github.com/mockery/mockery/security/advisories", "security": "https://github.com/mockery/mockery/security/advisories",
"source": "https://github.com/mockery/mockery" "source": "https://github.com/mockery/mockery"
}, },
"time": "2023-08-09T00:03:52+00:00" "time": "2023-12-10T02:24:34+00:00"
}, },
{ {
"name": "myclabs/deep-copy", "name": "myclabs/deep-copy",
@@ -6809,16 +6811,16 @@
}, },
{ {
"name": "pestphp/pest", "name": "pestphp/pest",
"version": "v2.27.0", "version": "v2.28.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pestphp/pest.git", "url": "https://github.com/pestphp/pest.git",
"reference": "809fb855de3ce4fe9487ec5b3ad03c37ce3e7689" "reference": "9ee41910201ef8fc5f5b6d1390e5ec4558222927"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pestphp/pest/zipball/809fb855de3ce4fe9487ec5b3ad03c37ce3e7689", "url": "https://api.github.com/repos/pestphp/pest/zipball/9ee41910201ef8fc5f5b6d1390e5ec4558222927",
"reference": "809fb855de3ce4fe9487ec5b3ad03c37ce3e7689", "reference": "9ee41910201ef8fc5f5b6d1390e5ec4558222927",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6826,12 +6828,12 @@
"nunomaduro/collision": "^7.10.0|^8.0.0", "nunomaduro/collision": "^7.10.0|^8.0.0",
"nunomaduro/termwind": "^1.15.1|^2.0.0", "nunomaduro/termwind": "^1.15.1|^2.0.0",
"pestphp/pest-plugin": "^2.1.1", "pestphp/pest-plugin": "^2.1.1",
"pestphp/pest-plugin-arch": "^2.4.1", "pestphp/pest-plugin-arch": "^2.5.0",
"php": "^8.1.0", "php": "^8.1.0",
"phpunit/phpunit": "^10.5.1" "phpunit/phpunit": "^10.5.3"
}, },
"conflict": { "conflict": {
"phpunit/phpunit": ">10.5.1", "phpunit/phpunit": ">10.5.3",
"sebastian/exporter": "<5.1.0", "sebastian/exporter": "<5.1.0",
"webmozart/assert": "<1.11.0" "webmozart/assert": "<1.11.0"
}, },
@@ -6901,7 +6903,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/pestphp/pest/issues", "issues": "https://github.com/pestphp/pest/issues",
"source": "https://github.com/pestphp/pest/tree/v2.27.0" "source": "https://github.com/pestphp/pest/tree/v2.28.1"
}, },
"funding": [ "funding": [
{ {
@@ -6913,7 +6915,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-12-04T11:11:35+00:00" "time": "2023-12-15T11:42:34+00:00"
}, },
{ {
"name": "pestphp/pest-plugin", "name": "pestphp/pest-plugin",
@@ -6987,16 +6989,16 @@
}, },
{ {
"name": "pestphp/pest-plugin-arch", "name": "pestphp/pest-plugin-arch",
"version": "v2.4.1", "version": "v2.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pestphp/pest-plugin-arch.git", "url": "https://github.com/pestphp/pest-plugin-arch.git",
"reference": "59698f0a381c5bc4fa2cd5b6ed331067c4501fdb" "reference": "8d850753f0192c3fa1ed6c6cac6f76b718d131db"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/59698f0a381c5bc4fa2cd5b6ed331067c4501fdb", "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/8d850753f0192c3fa1ed6c6cac6f76b718d131db",
"reference": "59698f0a381c5bc4fa2cd5b6ed331067c4501fdb", "reference": "8d850753f0192c3fa1ed6c6cac6f76b718d131db",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -7006,10 +7008,17 @@
"ta-tikoma/phpunit-architecture-test": "^0.7.5" "ta-tikoma/phpunit-architecture-test": "^0.7.5"
}, },
"require-dev": { "require-dev": {
"pestphp/pest": "^2.23.2", "pestphp/pest": "^2.27.0",
"pestphp/pest-dev-tools": "^2.16.0" "pestphp/pest-dev-tools": "^2.16.0"
}, },
"type": "library", "type": "library",
"extra": {
"pest": {
"plugins": [
"Pest\\Arch\\Plugin"
]
}
},
"autoload": { "autoload": {
"files": [ "files": [
"src/Autoload.php" "src/Autoload.php"
@@ -7035,7 +7044,7 @@
"unit" "unit"
], ],
"support": { "support": {
"source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.4.1" "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.5.0"
}, },
"funding": [ "funding": [
{ {
@@ -7047,7 +7056,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-10-12T15:35:38+00:00" "time": "2023-12-05T19:01:10+00:00"
}, },
{ {
"name": "pestphp/pest-plugin-laravel", "name": "pestphp/pest-plugin-laravel",
@@ -7399,16 +7408,16 @@
}, },
{ {
"name": "phpstan/phpdoc-parser", "name": "phpstan/phpdoc-parser",
"version": "1.24.4", "version": "1.24.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git", "url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fedf211ff14ec8381c9bf5714e33a7a552dd1acc",
"reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -7440,29 +7449,29 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types", "description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": { "support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues", "issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.4" "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.5"
}, },
"time": "2023-11-26T18:29:22+00:00" "time": "2023-12-16T09:33:33+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "10.1.9", "version": "10.1.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "a56a9ab2f680246adcf3db43f38ddf1765774735" "reference": "78c3b7625965c2513ee96569a4dbb62601784145"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a56a9ab2f680246adcf3db43f38ddf1765774735", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/78c3b7625965c2513ee96569a4dbb62601784145",
"reference": "a56a9ab2f680246adcf3db43f38ddf1765774735", "reference": "78c3b7625965c2513ee96569a4dbb62601784145",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-dom": "*", "ext-dom": "*",
"ext-libxml": "*", "ext-libxml": "*",
"ext-xmlwriter": "*", "ext-xmlwriter": "*",
"nikic/php-parser": "^4.15", "nikic/php-parser": "^4.18 || ^5.0",
"php": ">=8.1", "php": ">=8.1",
"phpunit/php-file-iterator": "^4.0", "phpunit/php-file-iterator": "^4.0",
"phpunit/php-text-template": "^3.0", "phpunit/php-text-template": "^3.0",
@@ -7512,7 +7521,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.9" "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.11"
}, },
"funding": [ "funding": [
{ {
@@ -7520,7 +7529,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-11-23T12:23:20+00:00" "time": "2023-12-21T15:38:30+00:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@@ -7767,16 +7776,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.5.1", "version": "10.5.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408" "reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6fce887c71076a73f32fd3e0774a6833fc5c7f19",
"reference": "d5d9dca6a902d05b34c4bcbc7c1636ce1dc25408", "reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -7848,7 +7857,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.1" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.3"
}, },
"funding": [ "funding": [
{ {
@@ -7864,7 +7873,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-12-01T16:57:05+00:00" "time": "2023-12-13T07:25:23+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
@@ -8112,20 +8121,20 @@
}, },
{ {
"name": "sebastian/complexity", "name": "sebastian/complexity",
"version": "3.1.0", "version": "3.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/complexity.git", "url": "https://github.com/sebastianbergmann/complexity.git",
"reference": "68cfb347a44871f01e33ab0ef8215966432f6957" "reference": "68ff824baeae169ec9f2137158ee529584553799"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68cfb347a44871f01e33ab0ef8215966432f6957", "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799",
"reference": "68cfb347a44871f01e33ab0ef8215966432f6957", "reference": "68ff824baeae169ec9f2137158ee529584553799",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nikic/php-parser": "^4.10", "nikic/php-parser": "^4.18 || ^5.0",
"php": ">=8.1" "php": ">=8.1"
}, },
"require-dev": { "require-dev": {
@@ -8134,7 +8143,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "3.1-dev" "dev-main": "3.2-dev"
} }
}, },
"autoload": { "autoload": {
@@ -8158,7 +8167,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/complexity/issues", "issues": "https://github.com/sebastianbergmann/complexity/issues",
"security": "https://github.com/sebastianbergmann/complexity/security/policy", "security": "https://github.com/sebastianbergmann/complexity/security/policy",
"source": "https://github.com/sebastianbergmann/complexity/tree/3.1.0" "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0"
}, },
"funding": [ "funding": [
{ {
@@ -8166,7 +8175,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-28T11:50:59+00:00" "time": "2023-12-21T08:37:17+00:00"
}, },
{ {
"name": "sebastian/diff", "name": "sebastian/diff",
@@ -8441,20 +8450,20 @@
}, },
{ {
"name": "sebastian/lines-of-code", "name": "sebastian/lines-of-code",
"version": "2.0.1", "version": "2.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/lines-of-code.git", "url": "https://github.com/sebastianbergmann/lines-of-code.git",
"reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d" "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/649e40d279e243d985aa8fb6e74dd5bb28dc185d", "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0",
"reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d", "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nikic/php-parser": "^4.10", "nikic/php-parser": "^4.18 || ^5.0",
"php": ">=8.1" "php": ">=8.1"
}, },
"require-dev": { "require-dev": {
@@ -8487,7 +8496,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/lines-of-code/issues", "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
"security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy",
"source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.1" "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2"
}, },
"funding": [ "funding": [
{ {
@@ -8495,7 +8504,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-31T09:25:50+00:00" "time": "2023-12-21T08:38:20+00:00"
}, },
{ {
"name": "sebastian/object-enumerator", "name": "sebastian/object-enumerator",
@@ -8998,16 +9007,16 @@
}, },
{ {
"name": "spatie/laravel-ignition", "name": "spatie/laravel-ignition",
"version": "2.3.1", "version": "2.3.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-ignition.git", "url": "https://github.com/spatie/laravel-ignition.git",
"reference": "bf21cd15aa47fa4ec5d73bbc932005c70261efc8" "reference": "66499cd3c858642ded56dafb8fa0352057ca20dd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/bf21cd15aa47fa4ec5d73bbc932005c70261efc8", "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/66499cd3c858642ded56dafb8fa0352057ca20dd",
"reference": "bf21cd15aa47fa4ec5d73bbc932005c70261efc8", "reference": "66499cd3c858642ded56dafb8fa0352057ca20dd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -9086,7 +9095,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-10-09T12:55:26+00:00" "time": "2023-12-21T09:43:05+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",

View File

@@ -11,30 +11,30 @@
"generate-pwa-assets": "pwa-assets-generator" "generate-pwa-assets": "pwa-assets-generator"
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/forms": "^0.5.6", "@tailwindcss/forms": "^0.5.7",
"@types/d3": "^7.4.1", "@types/d3": "^7.4.3",
"@types/react": "^18.2.22", "@types/react": "^18.2.45",
"@types/react-dom": "^18.2.7", "@types/react-dom": "^18.2.18",
"@vite-pwa/assets-generator": "^0.0.11", "@vite-pwa/assets-generator": "^0.0.11",
"@vitejs/plugin-react": "^4.0.4", "@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"axios": "^1.5.0", "axios": "^1.6.2",
"eslint": "^8.50.0", "eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2", "eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tailwindcss": "^3.13.0", "eslint-plugin-tailwindcss": "^3.13.0",
"laravel-vite-plugin": "^0.8.0", "laravel-vite-plugin": "^0.8.1",
"postcss": "^8.4.30", "postcss": "^8.4.32",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"rollup-plugin-copy": "^3.5.0", "rollup-plugin-copy": "^3.5.0",
"tailwindcss": "^3.3.3", "tailwindcss": "^3.4.0",
"typescript": "^5.2.2", "typescript": "^5.3.3",
"vite": "^4.4.9" "vite": "^4.5.1"
}, },
"dependencies": { "dependencies": {
"d3": "^7.8.5", "d3": "^7.8.5",
"react-router-dom": "^6.16.0", "react-router-dom": "^6.21.0",
"vite-plugin-pwa": "^0.17.4" "vite-plugin-pwa": "^0.17.4"
} }
} }

1833
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,14 +7,14 @@ const AddRainfall: FC<AddRainfallProps> = ({reload}) => {
const {errorCatch, errorLabel, axiosPost} = useAxiosTools() const {errorCatch, errorLabel, axiosPost} = useAxiosTools()
const [date, setDate] = useState((new Date()).toSQLDate()) const [date, setDate] = useState((new Date()).toSQLDate())
const [value, setValue] = useState(0) const [value, setValue] = useState<null|number>(null)
const handleSubmit = async (event: FormEvent) => { const handleSubmit = async (event: FormEvent) => {
event.preventDefault() event.preventDefault()
try { try {
await axiosPost('/api/rainfalls', {date, value}) await axiosPost('/api/rainfalls', {date, value})
setDate((new Date()).toSQLDate()) setDate((new Date()).toSQLDate())
setValue(0) setValue(null)
reload(new Date()) reload(new Date())
} catch (error) { } catch (error) {
errorCatch(error) errorCatch(error)