pihentagyP
Deno11mo ago
pihentagy

fix library version of a dependency

Putting this to
deno.json

{
  "imports": {
    "gcp-metadata": "npm:gcp-metadata@6.1.0"
  }
}



but having this in deno.lock:
    "google-auth-library@9.15.1": {
      "integrity": "sha512-Jb6Z0+nvECVz+2lzSMt9u98UsoakXxA2HGHMCxh+so3n90XgYWkq5dur19JAJV7ONiJY22yBTyJB1TSkvPq9Ng==",
      "dependencies": [
        "base64-js",
        "ecdsa-sig-formatter",
        "gaxios",
        "gcp-metadata",
        "gtoken",
        "jws"
      ]
    },

    "gcp-metadata@6.1.1": {
      "integrity": "sha512-a4tiq7E0/5fTjxPAaH4jpjkSv/uCaU2p5KC6HVGrvl0cDjA8iBZv4vv1gyzlmK0ZUKqwpOyQMKzZQe3lTit77A==",
      "dependencies": [
        "gaxios",
        "google-logging-utils",
        "json-bigint"
      ]
    },


Generated after deleting
deno.lock
, and doing
deno cache --allow-import -r main.ts


Please help finding a good tag, I found just Deno CLI for that.
Was this page helpful?