build: 修复一个依赖问题

This commit is contained in:
李东云
2023-11-08 15:17:33 +08:00
parent 623913234f
commit a987b60e66
2 changed files with 76 additions and 77 deletions

150
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "139b5d8213ad3c6a679a886ca9703aa5", "content-hash": "a1f720c07adb20cce3ae9563a58cde47",
"packages": [ "packages": [
{ {
"name": "casbin/casbin", "name": "casbin/casbin",
@@ -298,16 +298,16 @@
}, },
{ {
"name": "composer/composer", "name": "composer/composer",
"version": "2.6.4", "version": "2.6.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/composer.git", "url": "https://github.com/composer/composer.git",
"reference": "d75d17c16a863438027d1d96401cddcd6aa5bb60" "reference": "4b0fe89db9e65b1e64df633a992e70a7a215ab33"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/composer/zipball/d75d17c16a863438027d1d96401cddcd6aa5bb60", "url": "https://api.github.com/repos/composer/composer/zipball/4b0fe89db9e65b1e64df633a992e70a7a215ab33",
"reference": "d75d17c16a863438027d1d96401cddcd6aa5bb60", "reference": "4b0fe89db9e65b1e64df633a992e70a7a215ab33",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -398,7 +398,7 @@
"irc": "ircs://irc.libera.chat:6697/composer", "irc": "ircs://irc.libera.chat:6697/composer",
"issues": "https://github.com/composer/composer/issues", "issues": "https://github.com/composer/composer/issues",
"security": "https://github.com/composer/composer/security/policy", "security": "https://github.com/composer/composer/security/policy",
"source": "https://github.com/composer/composer/tree/2.6.4" "source": "https://github.com/composer/composer/tree/2.6.5"
}, },
"funding": [ "funding": [
{ {
@@ -414,7 +414,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-29T08:54:47+00:00" "time": "2023-10-06T08:11:52+00:00"
}, },
{ {
"name": "composer/metadata-minifier", "name": "composer/metadata-minifier",
@@ -1725,16 +1725,16 @@
}, },
{ {
"name": "hyperf/command", "name": "hyperf/command",
"version": "v3.0.37", "version": "v3.0.41",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/hyperf/command.git", "url": "https://github.com/hyperf/command.git",
"reference": "20731f30a2fb8aed76874f6e2d9f57b757cd7710" "reference": "b88631cf2fbd2fb6ba67d4727ad133d495bfccc8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/hyperf/command/zipball/20731f30a2fb8aed76874f6e2d9f57b757cd7710", "url": "https://api.github.com/repos/hyperf/command/zipball/b88631cf2fbd2fb6ba67d4727ad133d495bfccc8",
"reference": "20731f30a2fb8aed76874f6e2d9f57b757cd7710", "reference": "b88631cf2fbd2fb6ba67d4727ad133d495bfccc8",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -1777,9 +1777,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/hyperf/command/issues", "issues": "https://github.com/hyperf/command/issues",
"source": "https://github.com/hyperf/command/tree/v3.0.37" "source": "https://github.com/hyperf/command/tree/v3.0.41"
}, },
"time": "2023-09-19T01:50:18+00:00" "time": "2023-10-27T01:21:47+00:00"
}, },
{ {
"name": "hyperf/conditionable", "name": "hyperf/conditionable",
@@ -2195,16 +2195,16 @@
}, },
{ {
"name": "hyperf/database", "name": "hyperf/database",
"version": "v3.0.40", "version": "v3.0.42",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/hyperf/database.git", "url": "https://github.com/hyperf/database.git",
"reference": "78c477ffac2b0c1fcf5c6db970230e63bf6f243d" "reference": "e2f627afc89f6b1b2b883a3e91166f136b06f0c2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/hyperf/database/zipball/78c477ffac2b0c1fcf5c6db970230e63bf6f243d", "url": "https://api.github.com/repos/hyperf/database/zipball/e2f627afc89f6b1b2b883a3e91166f136b06f0c2",
"reference": "78c477ffac2b0c1fcf5c6db970230e63bf6f243d", "reference": "e2f627afc89f6b1b2b883a3e91166f136b06f0c2",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -2258,7 +2258,7 @@
"pull-request": "https://github.com/hyperf/hyperf/pulls", "pull-request": "https://github.com/hyperf/hyperf/pulls",
"source": "https://github.com/hyperf/hyperf" "source": "https://github.com/hyperf/hyperf"
}, },
"time": "2023-10-17T12:54:04+00:00" "time": "2023-11-02T03:31:42+00:00"
}, },
{ {
"name": "hyperf/db-connection", "name": "hyperf/db-connection",
@@ -2327,16 +2327,16 @@
}, },
{ {
"name": "hyperf/di", "name": "hyperf/di",
"version": "v3.0.37", "version": "v3.0.42",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/hyperf/di.git", "url": "https://github.com/hyperf/di.git",
"reference": "86ff03dbbedebd7cc6f4f7f0d67999bbbc4b9358" "reference": "f42252d74c1dc74d75bcd62e218f3be18a4e676e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/hyperf/di/zipball/86ff03dbbedebd7cc6f4f7f0d67999bbbc4b9358", "url": "https://api.github.com/repos/hyperf/di/zipball/f42252d74c1dc74d75bcd62e218f3be18a4e676e",
"reference": "86ff03dbbedebd7cc6f4f7f0d67999bbbc4b9358", "reference": "f42252d74c1dc74d75bcd62e218f3be18a4e676e",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -2394,7 +2394,7 @@
"pull-request": "https://github.com/hyperf/hyperf/pulls", "pull-request": "https://github.com/hyperf/hyperf/pulls",
"source": "https://github.com/hyperf/hyperf" "source": "https://github.com/hyperf/hyperf"
}, },
"time": "2023-09-19T01:50:18+00:00" "time": "2023-11-02T09:26:27+00:00"
}, },
{ {
"name": "hyperf/dispatcher", "name": "hyperf/dispatcher",
@@ -2860,16 +2860,16 @@
}, },
{ {
"name": "hyperf/http-server", "name": "hyperf/http-server",
"version": "v3.0.37", "version": "v3.0.41",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/hyperf/http-server.git", "url": "https://github.com/hyperf/http-server.git",
"reference": "e177b49c181e213c969d69bc2d333295dbab894d" "reference": "2aabe1c328e1408457433952f5a8f779e561c289"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/hyperf/http-server/zipball/e177b49c181e213c969d69bc2d333295dbab894d", "url": "https://api.github.com/repos/hyperf/http-server/zipball/2aabe1c328e1408457433952f5a8f779e561c289",
"reference": "e177b49c181e213c969d69bc2d333295dbab894d", "reference": "2aabe1c328e1408457433952f5a8f779e561c289",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -2932,7 +2932,7 @@
"pull-request": "https://github.com/hyperf/hyperf/pulls", "pull-request": "https://github.com/hyperf/hyperf/pulls",
"source": "https://github.com/hyperf/hyperf" "source": "https://github.com/hyperf/hyperf"
}, },
"time": "2023-09-19T01:50:18+00:00" "time": "2023-10-26T10:42:14+00:00"
}, },
{ {
"name": "hyperf/logger", "name": "hyperf/logger",
@@ -3817,16 +3817,16 @@
}, },
{ {
"name": "hyperf/translation", "name": "hyperf/translation",
"version": "v3.0.37", "version": "v3.0.42",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/hyperf/translation.git", "url": "https://github.com/hyperf/translation.git",
"reference": "bea69dbec3e2f9ea24b272ff7af92962a2a37443" "reference": "64505a0079af41b415a067e22d0aa6be331e2323"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/hyperf/translation/zipball/bea69dbec3e2f9ea24b272ff7af92962a2a37443", "url": "https://api.github.com/repos/hyperf/translation/zipball/64505a0079af41b415a067e22d0aa6be331e2323",
"reference": "bea69dbec3e2f9ea24b272ff7af92962a2a37443", "reference": "64505a0079af41b415a067e22d0aa6be331e2323",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -3871,9 +3871,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/hyperf/translation/issues", "issues": "https://github.com/hyperf/translation/issues",
"source": "https://github.com/hyperf/translation/tree/v3.0.37" "source": "https://github.com/hyperf/translation/tree/v3.0.42"
}, },
"time": "2023-09-19T01:50:18+00:00" "time": "2023-11-02T13:31:39+00:00"
}, },
{ {
"name": "hyperf/utils", "name": "hyperf/utils",
@@ -3957,16 +3957,16 @@
}, },
{ {
"name": "hyperf/validation", "name": "hyperf/validation",
"version": "v3.0.37", "version": "v3.0.41",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/hyperf/validation.git", "url": "https://github.com/hyperf/validation.git",
"reference": "4d2d9edcdae15203acbdff7f0884481706f277f5" "reference": "00c517320e4d38c873c83529ef10c0060aad0b9a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/hyperf/validation/zipball/4d2d9edcdae15203acbdff7f0884481706f277f5", "url": "https://api.github.com/repos/hyperf/validation/zipball/00c517320e4d38c873c83529ef10c0060aad0b9a",
"reference": "4d2d9edcdae15203acbdff7f0884481706f277f5", "reference": "00c517320e4d38c873c83529ef10c0060aad0b9a",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -4021,9 +4021,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/hyperf/validation/issues", "issues": "https://github.com/hyperf/validation/issues",
"source": "https://github.com/hyperf/validation/tree/v3.0.37" "source": "https://github.com/hyperf/validation/tree/v3.0.41"
}, },
"time": "2023-09-19T01:50:18+00:00" "time": "2023-10-24T03:14:35+00:00"
}, },
{ {
"name": "jetbrains/phpstorm-attributes", "name": "jetbrains/phpstorm-attributes",
@@ -4151,16 +4151,16 @@
}, },
{ {
"name": "laminas/laminas-mime", "name": "laminas/laminas-mime",
"version": "2.11.0", "version": "2.12.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laminas/laminas-mime.git", "url": "https://github.com/laminas/laminas-mime.git",
"reference": "60ec04b755821c79c1987ce291b44e69f2c0831f" "reference": "08cc544778829b7d68d27a097885bd6e7130135e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laminas/laminas-mime/zipball/60ec04b755821c79c1987ce291b44e69f2c0831f", "url": "https://api.github.com/repos/laminas/laminas-mime/zipball/08cc544778829b7d68d27a097885bd6e7130135e",
"reference": "60ec04b755821c79c1987ce291b44e69f2c0831f", "reference": "08cc544778829b7d68d27a097885bd6e7130135e",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -4171,7 +4171,7 @@
}, },
"require": { "require": {
"laminas/laminas-stdlib": "^2.7 || ^3.0", "laminas/laminas-stdlib": "^2.7 || ^3.0",
"php": "~8.0.0 || ~8.1.0 || ~8.2.0" "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0"
}, },
"conflict": { "conflict": {
"zendframework/zend-mime": "*" "zendframework/zend-mime": "*"
@@ -4214,7 +4214,7 @@
"type": "community_bridge" "type": "community_bridge"
} }
], ],
"time": "2022-10-18T08:38:15+00:00" "time": "2023-11-02T16:47:19+00:00"
}, },
{ {
"name": "laminas/laminas-stdlib", "name": "laminas/laminas-stdlib",
@@ -4335,16 +4335,16 @@
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
"version": "3.4.0", "version": "3.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/monolog.git", "url": "https://github.com/Seldaek/monolog.git",
"reference": "e2392369686d420ca32df3803de28b5d6f76867d" "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/e2392369686d420ca32df3803de28b5d6f76867d", "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c915e2634718dbc8a4a15c61b0e62e7a44e14448",
"reference": "e2392369686d420ca32df3803de28b5d6f76867d", "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -4426,7 +4426,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/monolog/issues", "issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/3.4.0" "source": "https://github.com/Seldaek/monolog/tree/3.5.0"
}, },
"funding": [ "funding": [
{ {
@@ -4438,7 +4438,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-06-21T08:46:11+00:00" "time": "2023-10-27T15:32:31+00:00"
}, },
{ {
"name": "myclabs/php-enum", "name": "myclabs/php-enum",
@@ -5778,11 +5778,11 @@
}, },
{ {
"name": "singularity/hdk-core", "name": "singularity/hdk-core",
"version": "1.0.0-alpha.14", "version": "1.0.0-alpha.15",
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://nest.doylee.cn/api/packages/HDK/composer/files/singularity%2Fhdk-core/1.0.0-alpha.14/singularity-hdk-core.1.0.0-alpha.14.zip", "url": "https://nest.doylee.cn/api/packages/HDK/composer/files/singularity%2Fhdk-core/1.0.0-alpha.15/singularity-hdk-core.1.0.0-alpha.15.zip",
"shasum": "9dcb025916461ebaf72be36c3c4347bad535cb3a" "shasum": "baa44e195d3980e5ff8475224435e9ec9fd82849"
}, },
"require": { "require": {
"composer/composer": ">=2.0", "composer/composer": ">=2.0",
@@ -5823,7 +5823,7 @@
"hyperf/validation": "^3.0.18", "hyperf/validation": "^3.0.18",
"pestphp/pest": "^1.22", "pestphp/pest": "^1.22",
"phpstan/phpstan": "^1.9", "phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5", "phpunit/phpunit": "^9.6",
"roave/security-advisories": "dev-latest", "roave/security-advisories": "dev-latest",
"spatie/pest-plugin-test-time": "^1.1", "spatie/pest-plugin-test-time": "^1.1",
"swoole/ide-helper": "*", "swoole/ide-helper": "*",
@@ -5866,7 +5866,7 @@
} }
], ],
"description": "Common Hyperf Development Kit", "description": "Common Hyperf Development Kit",
"time": "2023-10-23T20:49:26+08:00" "time": "2023-10-30T18:13:28+08:00"
}, },
{ {
"name": "symfony/cache", "name": "symfony/cache",
@@ -6432,16 +6432,16 @@
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v6.3.6", "version": "v6.3.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "c186627f52febe09c6d5270b04f8462687a250a6" "reference": "59d1837d5d992d16c2628cd0d6b76acf8d69b33e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/c186627f52febe09c6d5270b04f8462687a250a6", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/59d1837d5d992d16c2628cd0d6b76acf8d69b33e",
"reference": "c186627f52febe09c6d5270b04f8462687a250a6", "reference": "59d1837d5d992d16c2628cd0d6b76acf8d69b33e",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -6495,7 +6495,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v6.3.6" "source": "https://github.com/symfony/http-foundation/tree/v6.3.7"
}, },
"funding": [ "funding": [
{ {
@@ -6511,7 +6511,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-10-17T11:32:53+00:00" "time": "2023-10-28T23:55:27+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@@ -7636,16 +7636,16 @@
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
"version": "v6.3.6", "version": "v6.3.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
"reference": "869b26c7a9d4b8a48afdd77ab36031909c87e3a2" "reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/869b26c7a9d4b8a48afdd77ab36031909c87e3a2", "url": "https://api.github.com/repos/symfony/translation/zipball/30212e7c87dcb79c83f6362b00bde0e0b1213499",
"reference": "869b26c7a9d4b8a48afdd77ab36031909c87e3a2", "reference": "30212e7c87dcb79c83f6362b00bde0e0b1213499",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -7717,7 +7717,7 @@
"description": "Provides tools to internationalize your application", "description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/translation/tree/v6.3.6" "source": "https://github.com/symfony/translation/tree/v6.3.7"
}, },
"funding": [ "funding": [
{ {
@@ -7733,7 +7733,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-10-17T11:32:53+00:00" "time": "2023-10-28T23:11:45+00:00"
}, },
{ {
"name": "symfony/translation-contracts", "name": "symfony/translation-contracts",
@@ -8046,16 +8046,16 @@
"packages-dev": [ "packages-dev": [
{ {
"name": "firebase/php-jwt", "name": "firebase/php-jwt",
"version": "v6.8.1", "version": "v6.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/firebase/php-jwt.git", "url": "https://github.com/firebase/php-jwt.git",
"reference": "5dbc8959427416b8ee09a100d7a8588c00fb2e26" "reference": "f03270e63eaccf3019ef0f32849c497385774e11"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/5dbc8959427416b8ee09a100d7a8588c00fb2e26", "url": "https://api.github.com/repos/firebase/php-jwt/zipball/f03270e63eaccf3019ef0f32849c497385774e11",
"reference": "5dbc8959427416b8ee09a100d7a8588c00fb2e26", "reference": "f03270e63eaccf3019ef0f32849c497385774e11",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@@ -8109,9 +8109,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/firebase/php-jwt/issues", "issues": "https://github.com/firebase/php-jwt/issues",
"source": "https://github.com/firebase/php-jwt/tree/v6.8.1" "source": "https://github.com/firebase/php-jwt/tree/v6.9.0"
}, },
"time": "2023-07-14T18:33:00+00:00" "time": "2023-10-05T00:24:42+00:00"
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",

View File

@@ -3,7 +3,6 @@
namespace Singularity\HDK\Auth\Middleware; namespace Singularity\HDK\Auth\Middleware;
use Lmc\HttpConstants\Header; use Lmc\HttpConstants\Header;
use OneSm\Sm3;
use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface; use Psr\Http\Server\MiddlewareInterface;
@@ -26,7 +25,7 @@ use function Hyperf\Config\config;
*/ */
class AuthenticateMiddleware implements MiddlewareInterface class AuthenticateMiddleware implements MiddlewareInterface
{ {
public function __construct(private AuthenticationInterface $authentication) public function __construct(private readonly AuthenticationInterface $authentication)
{ {
} }