-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Might be related to #156
When searching on https://asset-packagist.org for datatables.net-buttons-bs on "any" platform, the URL becomes https://asset-packagist.org/package/search?query=datatables.net-buttons-bs&platform=bower%2Cnpm which shows:
As we can see for both NPM and Bower the most recent version is 2.4.2
.
When visiting the detail pages, we can see the following versions:
-
NPM: 2.4.2 @ https://asset-packagist.org/package/detail?fullname=npm-asset/datatables.net-buttons-bs
-
Bower: 2.3.5 @ https://asset-packagist.org/package/detail?fullname=bower-asset/datatables.net-buttons-bs
A few weeks ago the Bower variant was still also at 2.4.2
...
And when trying to install one of them, for NPM 2.3.6
is installed and for Bower version 2.3.5
is installed:
NPM
{
"require": {
"npm-asset/datatables.net-buttons-bs": "^2.0"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
Bower:
{
"require": {
"bower-asset/datatables.net-buttons-bs": "^2.0"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
What could be the cause of this difference in used versions?
When trying to force composer to download ^2.4
, the following errors are generated:
NPM
- Root composer.json requires npm-asset/datatables.net-buttons-bs ^2.4 -> satisfiable by npm-asset/datatables.net-buttons-bs[2.4.0, 2.4.1, 2.4.2].
- npm-asset/datatables.net-buttons-bs[2.4.0, 2.4.1, 2.4.2] require npm-asset/datatables.net-buttons >=2.3.6 -> found npm-asset/datatables.net-buttons[dev-master, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7.0, 1.7.1, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5] but it does not match the constraint.
Bower:
Problem 1
- Root composer.json requires bower-asset/datatables.net-buttons-bs ^2.4, found bower-asset/datatables.net-buttons-bs[dev-master, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7.0, 1.7.1, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5] but it does not match the constraint.