We are hosting Nexus Repository Manager version 3.36.0-01 and is needing to delete a component version due to the presence of malicious code.
Component details: colors v1.4.1 / 1.4.2 / 1.4.44-liberty-2
I have deleted the component via GUI by going doing:
Search > colors > colors Version 1.4.1 > “Delete Component” button
For example (this screenshot is for 1.4.0)
I can see the versions are no longer there in the GUI but when do do the following command locally
npm info --registry https://nexus.cd.auspost.com.au/nexus/repository/auspost-ddc-npmjs/ colors versions
We can see the version still exists:
npm info --registry https://nexus.cd.auspost.com.au/nexus/repository/auspost-ddc-npmjs/ colors versions
[
'0.3.0', '0.5.0',
'0.5.1', '0.6.0-1',
'0.6.0', '0.6.1',
'0.6.2', '1.0.0',
'1.0.1', '1.0.2',
'1.0.3', '1.1.0',
'1.1.1', '1.1.2',
'1.2.0-rc0', '1.2.0',
'1.2.1', '1.2.2',
'1.2.3', '1.2.4',
'1.2.5', '1.3.0',
'1.3.1', '1.3.2',
'1.3.3', '1.4.0',
'1.4.1', '1.4.2',
'1.4.44-liberty-2'
]
Is there a way to rebuild the metadata in our current version?
Thanks