-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(linter): expand package checks across multiple ecosystems (#322)
This PR enhances the linter by adding package existence checks for a variety of ecosystems: - crates.io - npm - NuGet - RubyGems - Packagist - Pub - Hackage - Maven To accommodate these additions, the `ecosystems.go` file has been refactored, with code related to package existence checks moved to `package_check.go` and version checks moved to `version_check.go`. A current limitation is that malicious package record validation may fail, as these packages are often removed from package registries and are no longer queryable via API. --------- Signed-off-by: Holly Gong <[email protected]>
- Loading branch information
Showing
4 changed files
with
659 additions
and
232 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.