Skip to content

License is always shown from latest version #2163

Description

@43081j

Describe the bug

Take a look at glob:
https://npmx.dev/package/glob

Now at v9 of glob:
https://npmx.dev/package/glob/v/9.3.5

both show blueoak license but the latter is actually ISC.

Additional context

No response

Logs

!

Activity

  1. added theissue type on Mar 20, 2026
  2. RYGRIT commented on Mar 20, 2026

    @RYGRIT
    Contributor

    I'll take a look at this issue later.

  3. ghostdevv commented on Mar 20, 2026

    @ghostdevv
    Member

    It's likely because somewhere we're reading license from the top level of the packument, which is just a reference to the latest version (like with most top level packument fields that have been pulled up)

  4. maxchang3 commented on Mar 20, 2026

    @maxchang3
    Contributor
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

    frontFrontend, Designp2Priority 2 bug (medium)

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions