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

Provide checksum for NPM packages #171

Open
prudloff-insite opened this issue Dec 23, 2024 · 0 comments
Open

Provide checksum for NPM packages #171

prudloff-insite opened this issue Dec 23, 2024 · 0 comments

Comments

@prudloff-insite
Copy link

npm-asset packages don't have a shasum property.
This could be added to let Composer check the file was not modified.

For example:

        {
            "name": "npm-asset/cropper",
            "version": "4.1.0",
            "dist": {
                "type": "tar",
                "url": "https://registry.npmjs.org/cropper/-/cropper-4.1.0.tgz",
                "shasum": "3c2faaa78f730a3c71814cee61e17c7a674b943f"
            },
            "require": {
                "npm-asset/cropperjs": ">=1.5.6,<2.0.0"
            },
            "type": "npm-asset",
            "license": [
                "MIT"
            ]
        }
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

1 participant