diff --git a/catatan_rilis.md b/catatan_rilis.md index e1b967bd..2a68964b 100644 --- a/catatan_rilis.md +++ b/catatan_rilis.md @@ -12,4 +12,5 @@ Di rilis v2508.0.0 berisi perbaikan yang diminta Komunitas Open Desa. #### Penyesuaian Teknis -1. [#521](https://github.com/OpenSID/pantau/issues/521) Tambahkan e2e testing. \ No newline at end of file +1. [#521](https://github.com/OpenSID/pantau/issues/521) Tambahkan e2e testing. +2. [#526](https://github.com/OpenSID/pantau/issues/526) Upgrade packages berdasarkan temuan composer audit \ No newline at end of file diff --git a/composer.lock b/composer.lock index 5f4adfb5..90ca7d03 100644 --- a/composer.lock +++ b/composer.lock @@ -2505,16 +2505,16 @@ }, { "name": "league/commonmark", - "version": "2.7.0", + "version": "2.7.1", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405" + "reference": "10732241927d3971d28e7ea7b5712721fa2296ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", - "reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/10732241927d3971d28e7ea7b5712721fa2296ca", + "reference": "10732241927d3971d28e7ea7b5712721fa2296ca", "shasum": "" }, "require": { @@ -2543,7 +2543,7 @@ "symfony/process": "^5.4 | ^6.0 | ^7.0", "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0", "unleashedtech/php-coding-standard": "^3.1.1", - "vimeo/psalm": "^4.24.0 || ^5.0.0" + "vimeo/psalm": "^4.24.0 || ^5.0.0 || ^6.0.0" }, "suggest": { "symfony/yaml": "v2.3+ required if using the Front Matter extension" @@ -2608,7 +2608,7 @@ "type": "tidelift" } ], - "time": "2025-05-05T12:20:28+00:00" + "time": "2025-07-20T12:47:49+00:00" }, { "name": "league/config", @@ -3769,16 +3769,16 @@ }, { "name": "phpoffice/phpspreadsheet", - "version": "1.29.11", + "version": "1.30.0", "source": { "type": "git", "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "05b6c4378ddf3e81b460ea645c42b46432c0db25" + "reference": "2f39286e0136673778b7a142b3f0d141e43d1714" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/05b6c4378ddf3e81b460ea645c42b46432c0db25", - "reference": "05b6c4378ddf3e81b460ea645c42b46432c0db25", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/2f39286e0136673778b7a142b3f0d141e43d1714", + "reference": "2f39286e0136673778b7a142b3f0d141e43d1714", "shasum": "" }, "require": { @@ -3869,9 +3869,9 @@ ], "support": { "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", - "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.29.11" + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.30.0" }, - "time": "2025-06-23T01:22:06+00:00" + "time": "2025-08-10T06:28:02+00:00" }, { "name": "phpoption/phpoption", @@ -5567,16 +5567,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.4.23", + "version": "v6.4.24", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "452d19f945ee41345fd8a50c18b60783546b7bd3" + "reference": "0341e41d8d8830c31a1dff5cbc5bdb3ec872a073" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/452d19f945ee41345fd8a50c18b60783546b7bd3", - "reference": "452d19f945ee41345fd8a50c18b60783546b7bd3", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/0341e41d8d8830c31a1dff5cbc5bdb3ec872a073", + "reference": "0341e41d8d8830c31a1dff5cbc5bdb3ec872a073", "shasum": "" }, "require": { @@ -5624,7 +5624,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.4.23" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.24" }, "funding": [ { @@ -5635,12 +5635,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-05-26T09:17:58+00:00" + "time": "2025-07-10T08:14:14+00:00" }, { "name": "symfony/http-kernel", @@ -6560,16 +6564,16 @@ }, { "name": "symfony/process", - "version": "v6.4.20", + "version": "v6.4.24", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "e2a61c16af36c9a07e5c9906498b73e091949a20" + "reference": "8eb6dc555bfb49b2703438d5de65cc9f138ff50b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e2a61c16af36c9a07e5c9906498b73e091949a20", - "reference": "e2a61c16af36c9a07e5c9906498b73e091949a20", + "url": "https://api.github.com/repos/symfony/process/zipball/8eb6dc555bfb49b2703438d5de65cc9f138ff50b", + "reference": "8eb6dc555bfb49b2703438d5de65cc9f138ff50b", "shasum": "" }, "require": { @@ -6601,7 +6605,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.20" + "source": "https://github.com/symfony/process/tree/v6.4.24" }, "funding": [ { @@ -6612,12 +6616,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-10T17:11:00+00:00" + "time": "2025-07-10T08:14:14+00:00" }, { "name": "symfony/routing", diff --git a/tests/Feature/Auth/AuthenticationTest.php b/tests/Feature/Auth/AuthenticationTest.php index 4dd37058..975b89e6 100644 --- a/tests/Feature/Auth/AuthenticationTest.php +++ b/tests/Feature/Auth/AuthenticationTest.php @@ -22,7 +22,7 @@ public function test_users_can_authenticate_using_the_login_screen() { $user = User::factory()->create(); - $response = $this->post('/login', [ + $response = $this->withoutMiddleware(\App\Http\Middleware\VerifyCsrfToken::class)->post('/login', [ 'email' => $user->email, 'password' => 'password', ]); diff --git a/tests/Feature/Auth/PasswordConfirmationTest.php b/tests/Feature/Auth/PasswordConfirmationTest.php index 87c3acf0..2b0e184c 100644 --- a/tests/Feature/Auth/PasswordConfirmationTest.php +++ b/tests/Feature/Auth/PasswordConfirmationTest.php @@ -23,10 +23,11 @@ public function test_password_can_be_confirmed() { $user = User::factory()->create(); - $response = $this->actingAs($user)->post('/password/confirm', [ - 'password' => 'password', - ]); - + $response = $this->withoutMiddleware(\App\Http\Middleware\VerifyCsrfToken::class) + ->actingAs($user) + ->post('/password/confirm', [ + 'password' => 'password', + ]); $response->assertRedirect(); $response->assertSessionHasNoErrors(); } @@ -35,7 +36,8 @@ public function test_password_is_not_confirmed_with_invalid_password() { $user = User::factory()->create(); - $response = $this->actingAs($user)->post('/password/confirm', [ + $response = $this->withoutMiddleware(\App\Http\Middleware\VerifyCsrfToken::class) + ->actingAs($user)->post('/password/confirm', [ 'password' => 'wrong-password', ]); diff --git a/tests/Feature/Auth/PasswordResetTest.php b/tests/Feature/Auth/PasswordResetTest.php index c2cec9b7..64b91d94 100644 --- a/tests/Feature/Auth/PasswordResetTest.php +++ b/tests/Feature/Auth/PasswordResetTest.php @@ -25,7 +25,7 @@ public function test_reset_password_link_can_be_requested() $user = User::factory()->create(); - $this->post('/password/email', ['email' => $user->email]); + $this->withoutMiddleware(\App\Http\Middleware\VerifyCsrfToken::class)->post('/password/email', ['email' => $user->email]); Notification::assertSentTo($user, ResetPassword::class); } @@ -36,7 +36,7 @@ public function test_reset_password_screen_can_be_rendered() $user = User::factory()->create(); - $this->post('/password/email', ['email' => $user->email]); + $this->withoutMiddleware(\App\Http\Middleware\VerifyCsrfToken::class)->post('/password/email', ['email' => $user->email]); Notification::assertSentTo($user, ResetPassword::class, function ($notification) { $response = $this->get('/password/reset/'.$notification->token); @@ -53,7 +53,7 @@ public function test_password_can_be_reset_with_valid_token() $user = User::factory()->create(); - $this->post('/password/email', ['email' => $user->email]); + $this->withoutMiddleware(\App\Http\Middleware\VerifyCsrfToken::class)->post('/password/email', ['email' => $user->email]); Notification::assertSentTo($user, ResetPassword::class, function ($notification) use ($user) { $response = $this->post('/password/reset', [