Skip to content

Update abandoned web-token dependencies #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 3 additions & 23 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"identity"
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-json": "*",
"facile-it/php-jose-verifier": "^0.3 || ^0.4.3",
"php-http/discovery": "^1.6",
Expand All @@ -39,12 +39,7 @@
"psr/http-message": "^1.0 || ^2.0",
"psr/http-message-implementation": "^1.0",
"psr/http-server-middleware": "^1.0",
"web-token/jwt-checker": "^2.0 || ^3.0",
"web-token/jwt-core": "^2.0 || ^3.0",
"web-token/jwt-encryption": "^2.0 || ^3.0",
"web-token/jwt-key-mgmt": "^2.0.7 || ^3.0",
"web-token/jwt-signature": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-rsa": "^2.0 || ^3.0"
"web-token/jwt-library": "^2.0 || ^3.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't make sense, this package exists only since 3.3: https://packagist.org/packages/web-token/jwt-library

Suggested change
"web-token/jwt-library": "^2.0 || ^3.0"
"web-token/jwt-library": "^3.3"

},
"autoload": {
"files": [
Expand Down Expand Up @@ -84,22 +79,7 @@
"phpunit/phpunit": "^8.5.14 || ^9.3",
"symfony/console": "^4.3 || ^5.0 || ^6.0",
"vimeo/psalm": "^5.6.0",
"web-token/jwt-encryption-algorithm-aescbc": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-aesgcm": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-aesgcmkw": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-aeskw": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-dir": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-ecdh-es": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-eddsa": "^2.2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-ecdh-es": "^2.2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-experimental": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-pbes2": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-rsa": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-ecdsa": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-eddsa": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-experimental": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-hmac": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-none": "^2.0 || ^3.0"
"web-token/jwt-library": "^2.0 || ^3.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicating the dependency doesn't make sense

Suggested change
"web-token/jwt-library": "^2.0 || ^3.0"

},
"suggest": {
"facile-it/php-oauth2-http-client": "To use a PSR HTTP client to interact with OAuth2/OpenID protected APIs",
Expand Down
Loading