Skip to content
Merged
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
6 changes: 1 addition & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@
{
"name": "wp-packages",
"type": "composer",
"url": "https://repo.wp-packages.org",
"only": [
"wp-plugin/*",
"wp-theme/*"
]
"url": "https://repo.wp-packages.org"
Copy link

Copilot AI Mar 19, 2026

Choose a reason for hiding this comment

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

Removing the only whitelist means this repository can now advertise any package names, and Composer may prefer packages from repo.wp-packages.org over Packagist when a name exists in both repos. To avoid accidental/supply-chain shadowing of non-WordPress dependencies, consider setting this repository to canonical: false (or reintroduce a narrower allowlist/exclude list) while still allowing wp-plugin/* and wp-theme/* packages to resolve from it.

Suggested change
"url": "https://repo.wp-packages.org"
"url": "https://repo.wp-packages.org",
"canonical": false

Copilot uses AI. Check for mistakes.
}
],
"require": {
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading