Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-26379

Unable to parse a package-lock.json file

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • JLib
    • None

    Description

      Here is the example file I want to be able to parse:

      {
          "name": "demoRepoC",
          "version": "1.0.0",
          "lockfileVersion": 2,
          "requires": true,
          "packages": {
            "": {
              "version": "1.0.0",
              "dependencies": {
                "demoRepoD": "ghalliday/gch-ecldemo-d#version2"
              }
            },
            "node_modules/demoRepoD": {
              "version": "1.0.0",
              "resolved": "git+ssh://git@github.com/ghalliday/gch-ecldemo-d.git#214b7a30e5b4de9c046b0a66bcb743b7dd063ae5"
            }
          }
        }
       

      It currently has two problems.

      • a mapping of "". I think the best fix for this is to use a standard tag instead. E.g. "_empty_" or something similar
      • a mapping of "a/b". Ideally I think this would map to <a><b>...</b></a>

      Attachments

        Activity

          People

            afishbeck Anthony Fishbeck
            ghalliday Gavin Halliday
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: