Skip to content

BUG: Builders.FromNodePackageJson.ComponentBuilder cuts names after second slash #599

Closed

Description

Even though https://npmjs.org does not allow it, there is nothing wrong with a package name that contains more than one slash(/).
It is completely compliant to NodeJS rules and will be properly resolved. read PackageJson spec

examples:

  • @foo/bar - group: @foo, name: bar
  • @foo/bar/baz - group: @foo, name: bar/baz
  • foo/bar - - group: none, name: foo/bar

current implementation of Builders.FromNodePackageJson.ComponentBuilder cuts off everything after (and including) the second slash(/)
This is unacceptable and should be changed.

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions