Skip to content

Unpublish broken versions on npm #819

Closed

Description

@RobLoach

There are a few versions on the npm package that don't really make sense:

npm view prismjs
{ "name": "prismjs",
  "dist-tags": { "latest": "1.3.0" },
  "versions": [ "0.0.1", "1.1.0", "1.2.0", "1.3.0", "9000.0.1" ],
  "time": 
   {
    "9000.0.1": "2015-05-12T23:54:40.643Z",
     "9000.0.2": "2015-05-12T23:56:14.033Z",
     "0.0.1": "2015-05-13T00:37:38.541Z",
     "1.1.0": "2015-10-06T00:03:04.995Z",
     "1.2.0": "2015-10-07T17:35:20.776Z",
     "1.3.0": "2015-10-27T02:35:27.738Z" }
 }

The following should remove the versions....

npm unpublish [email protected]
npm unpublish [email protected]

Activity

  1. LeaVerou commented on Nov 23, 2015

    @LeaVerou
    Member

    @Golmote any ideas where the 9000 came from? Is it safe to remove?

  2. Golmote commented on Jul 5, 2016

    @Golmote
    Contributor

    @LeaVerou Hey, sorry for not answering that before! I missed this issue somehow.
    I don't know where those weird versions come from. They are dated at the time of the creation of the NPM package... so I guess they may have been mistakes, or automatically created maybe?
    Anyway, I'm pretty sure they are safe to remove.

  3. mAAdhaTTah commented on May 27, 2018

    @mAAdhaTTah
    Member

    @Golmote I still see '9000.0.1' in npm view prismjs. Can we unpub that too?

  4. Golmote commented on May 27, 2018

    @Golmote
    Contributor

    I do not have access to our npm repo. Only @LeaVerou can do this at the moment.

  5. nezhar commented on Oct 10, 2019

    @nezhar

    Removing this would be great as it will help to keep a consistent versioning.

    Currently this is causing also confusion in services such as https://stackblitz.com/.
    Updating to the latest version of the dependencies causes it to take 9000.0.1

    Selection_001

    Can be tested here: https://stackblitz.com/edit/ngx-documentary

  6. mAAdhaTTah commented on Oct 16, 2019

    @mAAdhaTTah
    Member

    I may be able to handle this now. Let me look at it this evening.

  7. mAAdhaTTah commented on Oct 18, 2019

    @mAAdhaTTah
    Member
    ± |master ✓| → npm unpublish [email protected]
    - [email protected]
    

    Seems to have worked? Although I still see the version here: https://www.npmjs.com/package/prismjs

    Dunno if that's a caching thing; will recheck in a bit.

  8. mAAdhaTTah commented on Oct 18, 2019

    @mAAdhaTTah
    Member

    Doesn't seem to be going–sent in a support ticket. Will update here with latest.

  9. mAAdhaTTah commented on Oct 21, 2019

    @mAAdhaTTah
    Member

    This is being handled by npm support and should be fixed shortly.

  10. joskuijpers commented on Jul 12, 2022

    @joskuijpers

    The versions still show up for me, and they trigger an automated 'dependency check' of Renovate Bot continuously.

    "9000.0.1": "2015-05-12T23:54:40.643Z",
    "9000.0.2": "2015-05-12T23:56:14.033Z",
    

    Can this be looked at again?

  11. RunDevelopment commented on Jul 12, 2022

    @RunDevelopment
    Member

    @joskuijpers They are no longer listed.

    npm view prismjs versions
    $ npm view prismjs versions
    [
      '0.0.1',  '1.1.0',  '1.2.0',  '1.3.0',
      '1.4.1',  '1.5.0',  '1.5.1',  '1.6.0',
      '1.7.0',  '1.8.0',  '1.8.1',  '1.8.3',
      '1.8.4',  '1.9.0',  '1.10.0', '1.11.0',
      '1.12.0', '1.12.2', '1.13.0', '1.14.0',
      '1.15.0', '1.16.0', '1.17.0', '1.17.1',
      '1.18.0', '1.19.0', '1.20.0', '1.21.0',
      '1.22.0', '1.23.0', '1.24.0', '1.24.1',
      '1.25.0', '1.26.0', '1.27.0', '1.28.0'
    ]

    My guess is that Renovate uses an internal database, and that this database is outdated. You might want to report this bug.

  12. joskuijpers commented on Jul 12, 2022

    @joskuijpers

    Ah I found the trouble.... I am not actually using NPM but a CDN:

    https://cdnjs.com/libraries/prism still knows of version 9000

  13. RunDevelopment commented on Jul 12, 2022

    @RunDevelopment
    Member

    I've asked them if it's possible to remove the v9000.0.1 (cdnjs/cdnjs#14145). Let's see how this goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions