diff --git a/composer.lock b/composer.lock index 0065a3881d77e1d9e0c228643383a09b4fbd65b4..40bce99a9ad9e9d6a6343a1f3056a28567e6e409 100644 --- a/composer.lock +++ b/composer.lock @@ -535,14 +535,14 @@ "dist": { "type": "path", "url": "core", - "reference": "60f96b86b97f28bf6a18f9a7e392f56caea5eba3" + "reference": "a986b9e62a8273bbdb670ac6e8829ff8e69d9cec" }, "require": { "asm89/stack-cors": "^1.1", "composer/semver": "^3.0", "doctrine/annotations": "^1.12", "doctrine/reflection": "^1.1", - "egulias/email-validator": "^2.0", + "egulias/email-validator": "^2.1.22", "ext-date": "*", "ext-dom": "*", "ext-filter": "*", @@ -5521,9 +5521,6 @@ "require": { "php": "^7.1 || ^8.0" }, - "replace": { - "myclabs/deep-copy": "self.version" - }, "require-dev": { "doctrine/collections": "^1.0", "doctrine/common": "^2.6", @@ -6968,6 +6965,7 @@ "type": "github" } ], + "abandoned": true, "time": "2020-11-30T07:30:19+00:00" }, { diff --git a/core/composer.json b/core/composer.json index d83b166ca13d2174e6cacb7ff20ca3e562c7c798..5d316e470d7e3ccbfb25bff359da743ae3a1d941 100644 --- a/core/composer.json +++ b/core/composer.json @@ -40,7 +40,7 @@ "symfony-cmf/routing": "^2.1", "laminas/laminas-feed": "^2.12", "stack/builder": "^1.0", - "egulias/email-validator": "^2.0", + "egulias/email-validator": "^2.1.22", "masterminds/html5": "^2.1", "symfony/psr-http-message-bridge": "^2.0", "laminas/laminas-diactoros": "^2.1", diff --git a/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php b/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php index fc657794b7cd90963729370d84757dba0cba2d81..26318ebe380bf8c7fd9b4d3d09a5fbebf021eaa2 100644 --- a/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php @@ -25,6 +25,7 @@ public function testIsValid() { $validator = new EmailValidator(); $this->assertTrue($validator->isValid('example@example.com')); $this->assertFalse($validator->isValid('example@example.com@')); + $this->assertFalse($validator->isValid('example@example .com')); } /**