Skip to content

Commit

Permalink
Merge pull request #433 from DataDog/s.obregoso/update_top_packages
Browse files Browse the repository at this point in the history
Update top pkgs resources for NPM and PYPI
  • Loading branch information
sobregosodd authored Aug 2, 2024
2 parents 12ee30d + 4e2b24d commit d706916
Show file tree
Hide file tree
Showing 3 changed files with 23,440 additions and 20,440 deletions.
2 changes: 1 addition & 1 deletion guarddog/analyzer/metadata/npm/typosquatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _get_top_packages(self) -> set:

if top_packages_information is None:
response = requests.get(popular_packages_url).json()
top_packages_information = list([i["name"] for i in response[0:5000]])
top_packages_information = list([i["name"] for i in response[0:8000]])
with open(top_packages_path, "w+") as f:
json.dump(top_packages_information, f, ensure_ascii=False, indent=4)

Expand Down
Loading

0 comments on commit d706916

Please sign in to comment.