Skip to content
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

Search page shows newer version than detail page #163

Open
holtkamp opened this issue Nov 2, 2023 · 5 comments
Open

Search page shows newer version than detail page #163

holtkamp opened this issue Nov 2, 2023 · 5 comments

Comments

@holtkamp
Copy link

holtkamp commented Nov 2, 2023

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:

Screenshot 2023-11-02 at 12 39 41

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:

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.
@SilverFire
Copy link
Member

Hi.
Thanks for a report, I will check it out next week

@FlorentTorregrosa
Copy link

Hi,

I have the same problem for:

On Bower I obtain error on search page.

Sorry, there was an error while fetching repositories

So I guess the problem is from Bower than asset-packagist?

The problem is that not all bower packages have the NPM equivalent.

@holtkamp
Copy link
Author

holtkamp commented Nov 6, 2023

@FlorentTorregrosa thanks for the additional information!

On Bower I obtain error on search page.

Yeah, that error has been there for months. Strange thing: "this" error we describe now, seems to be something of the last weeks... Maybe Bower's API has also shut down by now?

@acoesgarantem
Copy link

Hi there,

I have the same issue here, on asset-packagist.org is listing bower-asset/jquery 3.7.1 as last version.

But when we check the download page it's only available 3.6.4. It's breaking my Yii update. Can you check it please?

https://asset-packagist.org/package/bower-asset/jquery

Thanks.

@r-simlinger
Copy link

Is there any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants