Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-12388

NPM rewrite external dependencies does not support all the possible shorthand resolvers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 5.4.4
    • Fix Version/s: 5.5.2
    • Component/s: NPM
    • Labels:
    • Severity:
      High

      Description

      Upon using NPM external dependency, you can put in the package.json file various Git URLs and GitHub URLs. Artifactory does not support all of the types.

      The types that Artifactory does not support are:
      git+ssh://user@hostname:project.git#commit-ish
      git+ssh://user@hostname/project.git#commit-ish
      git+https://git@github.com/isaacs/abbrev-js.git
      user/package

      For the last one, NPM adds the github prefix so the request is actually for a package that is written as following: github:user/package

      Here is the NPM documentation: https://docs.npmjs.com/files/package.json#git-urls-as-dependencies

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                inbart Inbar Tal (Inactive)
                Reporter:
                alexeiv Alexei Vainshtein
                Votes:
                7 Vote for this issue
                Watchers:
                15 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Sync Status

                    Connection: RTFACT Sync
                    RTMID-12388 -
                    SYNCHRONIZED
                    • Last Sync Date: