镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Wrong license spdx (MIT instead of Apache-2.0) is shown in the npmjs.com repository #162

Description

@johannesstellnberger

In the metadata shown in the npmjs.com repository of this component is wrong (MIT instead of Apache-2.0).
If you display the license file (shown at code link) the correct license file is attached.

==> is it possible to correct this metadata so npm works with all metadata correct?

https://www.npmjs.com/package/@pkgjs/parseargs

Image

Activity

  1. ljharb commented on Jan 28, 2025

    @ljharb
    Member

    You're right there's a mismatch; I'd say the SPDX declaration takes precedence personally (50513fc) but the license file could be argued as well.

    There are 10 non-bot contributors. Can each of you explicitly confirm whether you're comfortable with your contributions being Apache-2, MIT, or either? (Ideally, we'll go with MIT, but the important point is that all contributors agree)

  2. shadowspawn commented on Jan 28, 2025

    @shadowspawn
    Collaborator

    Related: #153 #154

    Thanks for explicitly checking with contributors @ljharb

  3. kisaragi-hiu commented on Jan 28, 2025

    @kisaragi-hiu
    Contributor

    I'm comfortable with either license for my contributions.

  4. darcyclarke commented on Jan 28, 2025

    @darcyclarke
    Member

    Apologies for the confusion here. Looks like this was a mistake I committed awhile back & never caught it. Given that I checked in the Apache license I believe that's likely what should take precedence even though the package.json metadata is often used by tools. I'm flexible though so I checked "either". I'll leave it to the current maintainers to decide how to move forward.

  5. shadowspawn commented on Feb 16, 2025

    @shadowspawn
    Collaborator

    @bcoe @Eomm

    Tidying up the licence confusion in parseArgs repo. Would you please confirm whether you're comfortable with your contributions being Apache-2, MIT, or either?

    You can just tick the appropriate checkboxes in this comment:
    #162 (comment)

  6. bcoe commented on May 6, 2025

    @bcoe
    Collaborator

    @shadowspawn I'm comfortable with either licence. I usually opt for MIT.

  7. Eomm commented on May 6, 2025

    @Eomm
    Collaborator

    Late to the party - those licences LGTM

  8. ljharb commented on May 6, 2025

    @ljharb
    Member

    Awesome, thank you! I'm on it.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions