chore(deps): remove explicit laravel/serializable-closure dependency#136
Open
easytzb wants to merge 1 commit into
Open
chore(deps): remove explicit laravel/serializable-closure dependency#136easytzb wants to merge 1 commit into
easytzb wants to merge 1 commit into
Conversation
illuminate/database ^13.20 now depends on laravel/serializable-closure ^2.0.10, which conflicts with webman/admin's pinned ^1.0 constraint. Since illuminate/database properly declares its own dependency now, the workaround is no longer needed and should be removed to resolve the conflict.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
composer require -W webman/admin ~2.0时出现依赖冲突:webman/adminrequirelaravel/serializable-closure ^1.0(最初是为了解决illuminate/database未声明该依赖的兼容问题)illuminate/database ^13.20requirelaravel/serializable-closure ^2.0.10修复
删除
composer.json中的"laravel/serializable-closure": "^1.0",因为illuminate/database现在已正确声明自己的依赖,不再需要此 workaround。验证
移除后,
composer require -W webman/admin ~2.0可正常安装,依赖由illuminate/database自行管理。