github.com/google/osv-scalibr@v0.4.1/clients/datasource/testdata/npm_registry/fake-package.json (about)

     1  {
     2    "name": "fake-package",
     3    "versions": {
     4      "1.0.0": {
     5        "name": "fake-package",
     6        "version": "1.0.0",
     7        "main": "index.js",
     8        "scripts": {
     9          "test": "echo \"Error: no test specified\" && exit 1"
    10        },
    11        "author": "",
    12        "license": "ISC",
    13        "_id": "fake-package@1.0.0",
    14        "_nodeVersion": "20.9.0",
    15        "_npmVersion": "10.1.0",
    16        "dist": {
    17          "integrity": "sha512-leL6CT1Ld/eHfO5bYq0NQRKBh0fu0WyKGMbZ/IA/wcfDlZpA+5NBARcCciGmswKgdIk/zD+7uRQ8366YwVuoEg==",
    18          "shasum": "0d2ff81ce4e33cbb95d45c8ee394c5f90398cf2e",
    19          "tarball": "http://localhost:4873/fake-package/-/fake-package-1.0.0.tgz"
    20        },
    21        "contributors": []
    22      },
    23      "2.2.2": {
    24        "name": "fake-package",
    25        "version": "2.2.2",
    26        "main": "index.js",
    27        "scripts": {
    28          "test": "echo \"Error: no test specified\" && exit 1"
    29        },
    30        "author": "",
    31        "license": "ISC",
    32        "dependencies": {
    33          "a": "^3.0.1",
    34          "b": "^2.0.1",
    35          "e": "^0.2.33",
    36          "f": "npm:g@^2.0.1"
    37        },
    38        "devDependencies": {
    39          "c": "^1.1.1",
    40          "d": "^1.0.2"
    41        },
    42        "optionalDependencies": {
    43          "e": "^0.2.33",
    44          "f": "npm:g@^2.0.1"
    45        },
    46        "peerDependencies": {
    47          "h": "^1.0.0"
    48        },
    49        "bundleDependencies": [
    50          "a"
    51        ],
    52        "_id": "fake-package@2.2.2",
    53        "_nodeVersion": "20.9.0",
    54        "_npmVersion": "10.1.0",
    55        "dist": {
    56          "integrity": "sha512-NWvNE9fxykrzSQVr1CSKchzkQr5qwplvgn3O/0JL46qM6BhoGlKRjLiaZYdo1byXJWLGthghOgGpUZiEL04HQQ==",
    57          "shasum": "8dc47515da4e67bb794a4c9c7f4750bb4d67c7fc",
    58          "tarball": "http://localhost:4873/fake-package/-/fake-package-2.2.2.tgz"
    59        },
    60        "contributors": []
    61      }
    62    },
    63    "time": {
    64      "modified": "2024-03-20T04:11:53.692Z",
    65      "created": "2024-03-20T04:03:14.913Z",
    66      "1.0.0": "2024-03-20T04:03:14.913Z",
    67      "2.2.2": "2024-03-20T04:11:53.692Z"
    68    },
    69    "users": {},
    70    "dist-tags": {
    71      "latest": "1.0.0",
    72      "version1": "1.0.0",
    73      "version2": "2.2.2"
    74    },
    75    "_rev": "6-08472a5a07b7c076",
    76    "_id": "fake-package",
    77    "readme": "ERROR: No README data found!",
    78    "_attachments": {}
    79  }