composer: upgrade dependencies (#3427)

This commit is contained in:
Matthew Penner 2021-07-11 11:27:15 -06:00 committed by GitHub
parent 1260965dfd
commit d33522c857
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 789 additions and 649 deletions

View file

@ -33,6 +33,7 @@
"pragmarx/google2fa": "^5.0", "pragmarx/google2fa": "^5.0",
"predis/predis": "^1.1", "predis/predis": "^1.1",
"prologue/alerts": "^0.4", "prologue/alerts": "^0.4",
"psr/cache": "1.0.1",
"s1lentium/iptools": "^1.1", "s1lentium/iptools": "^1.1",
"spatie/laravel-fractal": "^5.8", "spatie/laravel-fractal": "^5.8",
"spatie/laravel-query-builder": "^3.3", "spatie/laravel-query-builder": "^3.3",

1419
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -20,8 +20,8 @@ class AllocationFactory extends Factory
public function definition(): array public function definition(): array
{ {
return [ return [
'ip' => $this->faker->ipv4, 'ip' => $this->faker->unique()->ipv4,
'port' => $this->faker->randomNumber(5), 'port' => $this->faker->unique()->randomNumber(5),
]; ];
} }
} }

View file

@ -25,8 +25,8 @@ class ApiKeyFactory extends Factory
return [ return [
'key_type' => ApiKey::TYPE_APPLICATION, 'key_type' => ApiKey::TYPE_APPLICATION,
'identifier' => Str::random(\Pterodactyl\Models\ApiKey::IDENTIFIER_LENGTH), 'identifier' => Str::random(ApiKey::IDENTIFIER_LENGTH),
'token' => $token ?: $token = encrypt(Str::random(\Pterodactyl\Models\ApiKey::KEY_LENGTH)), 'token' => $token ?: $token = encrypt(Str::random(ApiKey::KEY_LENGTH)),
'allowed_ips' => null, 'allowed_ips' => null,
'memo' => 'Test Function Key', 'memo' => 'Test Function Key',
'created_at' => Carbon::now(), 'created_at' => Carbon::now(),

View file

@ -21,7 +21,7 @@ class EggVariableFactory extends Factory
public function definition(): array public function definition(): array
{ {
return [ return [
'name' => $this->faker->firstName, 'name' => $this->faker->unique()->firstName,
'description' => $this->faker->sentence(), 'description' => $this->faker->sentence(),
'env_variable' => Str::upper(Str::replaceArray(' ', ['_'], $this->faker->words(2, true))), 'env_variable' => Str::upper(Str::replaceArray(' ', ['_'], $this->faker->words(2, true))),
'default_value' => $this->faker->colorName, 'default_value' => $this->faker->colorName,

View file

@ -25,8 +25,8 @@ class NodeFactory extends Factory
return [ return [
'uuid' => Uuid::uuid4()->toString(), 'uuid' => Uuid::uuid4()->toString(),
'public' => true, 'public' => true,
'name' => $this->faker->firstName, 'name' => $this->faker->unique()->firstName,
'fqdn' => $this->faker->ipv4, 'fqdn' => $this->faker->unique()->ipv4,
'scheme' => 'http', 'scheme' => 'http',
'behind_proxy' => false, 'behind_proxy' => false,
'memory' => 1024, 'memory' => 1024,

View file

@ -26,8 +26,8 @@ class UserFactory extends Factory
return [ return [
'external_id' => $this->faker->unique()->isbn10, 'external_id' => $this->faker->unique()->isbn10,
'uuid' => Uuid::uuid4()->toString(), 'uuid' => Uuid::uuid4()->toString(),
'username' => $this->faker->userName, 'username' => $this->faker->unique()->userName,
'email' => $this->faker->safeEmail, 'email' => $this->faker->unique()->safeEmail,
'name_first' => $this->faker->firstName, 'name_first' => $this->faker->firstName,
'name_last' => $this->faker->lastName, 'name_last' => $this->faker->lastName,
'password' => $password ?: $password = bcrypt('password'), 'password' => $password ?: $password = bcrypt('password'),