It turns out that a release on NuGet can be "unlisted" but not "deprecated" on their side, e.g. "RestSharp@105.2.0", and it's not clear why.
But we consider both "unlisted" and "deprecated" on the NuGet side as "status: 'Deprecated'" on our side. This fix ensures we don't save the 1900 "published" date on these cases.
It turns out that a release on NuGet can be "unlisted" but not "deprecated" on their side, e.g.
"RestSharp@105.2.0"
, and it's not clear why.But we consider both "unlisted" and "deprecated" on the NuGet side as "status: 'Deprecated'" on our side. This fix ensures we don't save the 1900 "published" date on these cases.