Mark package as deprecated or vulnerable on local source #11583
-
I want to mark a package as deprecated and another as vulnerable for testing purposes. Is this possible when using a local source or is this only a feature on nuget.org? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I don't believe you can do this with a local source. The NuGet.org test environment is great for testing stuff like this. Anything you do on it will not be reflected on the real NuGet.org. The API url is It's also worth pointing out that the integration environment isn't always up-to-date with respect to the real NuGet.org, so you might not want to test packages with dependencies. (EG: Newtonsoft.Json is only at version |
Beta Was this translation helpful? Give feedback.
I don't believe you can do this with a local source.
The NuGet.org test environment is great for testing stuff like this. Anything you do on it will not be reflected on the real NuGet.org. The API url is
https://apiint.nugettest.org/v3/index.json
It's also worth pointing out that the integration environment isn't always up-to-date with respect to the real NuGet.org, so you might not want to test packages with dependencies. (EG: Newtonsoft.Json is only at version
7.0.1-beta3
whereas the real latest is13.0.1
.)