AppThreat / vulnerability-db

Vulnerability database and package search for sources such as Linux, OSV, NVD, GitHub and npm. Powered by sqlite, CVE 5.0, purl, and vers.
MIT License
93 stars 22 forks source link

Add json fallback #15

Closed jayvdb closed 3 years ago

jayvdb commented 3 years ago

orjson is not available for most distros https://repology.org/project/python:orjson/versions

It would be nice to have a fallback to json if orjson is missing.

prabhu commented 3 years ago

1.6.0 adds this fallback.

prabhu commented 3 years ago

@jayvdb were you able to make use of this change?

jayvdb commented 3 years ago

Yes I was. I created package for openSUSE https://build.opensuse.org/package/show/home:jayvdb:py-new/python-appthreat-vulnerability-db