diff --git a/lib/osv/ecosystems.py b/lib/osv/ecosystems.py index 0ca09b18bce..ca02947deb5 100644 --- a/lib/osv/ecosystems.py +++ b/lib/osv/ecosystems.py @@ -215,8 +215,8 @@ def enumerate_versions(self, package, introduced, fixed, limits=None): class NuGet(Ecosystem): """NuGet ecosystem.""" - _API_PACKAGE_URL = ('https://api.nuget.org/v3/registration3/{package}/' - 'index.json') + _API_PACKAGE_URL = ('https://api.nuget.org/v3/registration5-semver1/' + '{package}/index.json') def sort_key(self, version): """Sort key.""" diff --git a/lib/setup.py b/lib/setup.py index 87c2840cd34..c11c5e337b4 100644 --- a/lib/setup.py +++ b/lib/setup.py @@ -19,7 +19,7 @@ setuptools.setup( name='osv', - version='0.0.12', + version='0.0.13', author='OSV authors', author_email='osv-discuss@googlegroups.com', description='Open Source Vulnerabilities library',