cloud-annotations / node-red-contrib-cloud-annotations

Node-RED nodes for making predictions with Cloud Annotations models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency Issue with agent-base <6.0.0 and Node-RED 2.0

sammachin opened this issue · comments

Hi,

We've detected that your node has a dependency on an old version of agent-base (<6.0.0) ,
These old versions were patching a core node.js function in a way that could break other libraries - including one we started using in Node-RED 2.0 for the HTTP Request node.
Therefore any users that upgrade to Node-RED 2.0 and have your node installed (or later try to install it) will get errors when using the http-request node.

Could you please take a look at your dependencies and see if you can update the versions so that you are no longer dependent on agent-base before version 6.0.0

Note this could be a module that you are using has a dependency on agent-base so you might need to check for updates to that module, to help you we've attached your nodes dependency tree below

More details on this issue and the warning message that is now displayed in Node-RED 2.0.2 are on the forum at link https://discourse.nodered.org/t/node-red-2-0-2-released/48767

└─ node-red-contrib-cloud-annotations@0.0.2
   └─ @cloud-annotations&#x2F;models-node@0.0.3
      └─ @tensorflow&#x2F;tfjs-node@1.4.0
         ├─ progress@2.0.3
         ├─ https-proxy-agent@2.2.4
         │  ├─ agent-base@4.3.0
         │  │  └─ es6-promisify@5.0.0
         │  │     └─ es6-promise@4.2.8
         │  └─ debug@3.2.7
         │     └─ ms@2.1.3
         ├─ adm-zip@0.4.16
         ├─ rimraf@2.7.1
         │  └─ glob@7.1.7
         │     ├─ fs.realpath@1.0.0
         │     ├─ inflight@1.0.6
         │     │  ├─ wrappy@1.0.2
         │     │  └─ once@1.4.0
         │     ├─ inherits@2.0.4
         │     ├─ minimatch@3.0.4
         │     │  └─ brace-expansion@1.1.11
         │     │     ├─ balanced-match@1.0.2
         │     │     └─ concat-map@0.0.1
         │     ├─ path-is-absolute@1.0.1
         │     └─ once@1.4.0
         │        └─ wrappy@1.0.2
         ├─ google-protobuf@3.17.3
         ├─ tar@4.4.13
         │  ├─ fs-minipass@1.2.7
         │  │  └─ minipass@2.9.0
         │  ├─ chownr@1.1.4
         │  ├─ minizlib@1.3.3
         │  │  └─ minipass@2.9.0
         │  ├─ minipass@2.9.0
         │  │  ├─ safe-buffer@5.2.1
         │  │  └─ yallist@3.1.1
         │  ├─ safe-buffer@5.2.1
         │  ├─ mkdirp@0.5.5
         │  │  └─ minimist@1.2.5
         │  └─ yallist@3.1.1
         ├─ node-pre-gyp@0.13.0
         │  ├─ detect-libc@1.0.3
         │  ├─ mkdirp@0.5.5
         │  ├─ needle@2.8.0
         │  │  ├─ iconv-lite@0.4.24
         │  │  │  └─ safer-buffer@2.1.2
         │  │  ├─ sax@1.2.4
         │  │  └─ debug@3.2.7
         │  ├─ npm-packlist@1.4.8
         │  │  ├─ npm-bundled@1.1.2
         │  │  │  └─ npm-normalize-package-bin@1.0.1
         │  │  ├─ ignore-walk@3.0.4
         │  │  │  └─ minimatch@3.0.4
         │  │  └─ npm-normalize-package-bin@1.0.1
         │  ├─ npmlog@4.1.2
         │  │  ├─ set-blocking@2.0.0
         │  │  ├─ are-we-there-yet@1.1.5
         │  │  │  ├─ delegates@1.0.0
         │  │  │  └─ readable-stream@2.3.7
         │  │  │     ├─ core-util-is@1.0.2
         │  │  │     ├─ inherits@2.0.4
         │  │  │     ├─ isarray@1.0.0
         │  │  │     ├─ process-nextick-args@2.0.1
         │  │  │     ├─ string_decoder@1.1.1
         │  │  │     │  └─ safe-buffer@5.1.2
         │  │  │     ├─ safe-buffer@5.1.2
         │  │  │     └─ util-deprecate@1.0.2
         │  │  ├─ console-control-strings@1.1.0
         │  │  └─ gauge@2.7.4
         │  │     ├─ aproba@1.2.0
         │  │     ├─ console-control-strings@1.1.0
         │  │     ├─ has-unicode@2.0.1
         │  │     ├─ object-assign@4.1.1
         │  │     ├─ signal-exit@3.0.3
         │  │     ├─ string-width@1.0.2
         │  │     │  ├─ code-point-at@1.1.0
         │  │     │  ├─ is-fullwidth-code-point@1.0.0
         │  │     │  │  └─ number-is-nan@1.0.1
         │  │     │  └─ strip-ansi@3.0.1
         │  │     ├─ wide-align@1.1.3
         │  │     │  └─ string-width@2.1.1
         │  │     │     ├─ strip-ansi@4.0.0
         │  │     │     │  └─ ansi-regex@3.0.0
         │  │     │     └─ is-fullwidth-code-point@2.0.0
         │  │     └─ strip-ansi@3.0.1
         │  │        └─ ansi-regex@2.1.1
         │  ├─ rc@1.2.8
         │  │  ├─ deep-extend@0.6.0
         │  │  ├─ ini@1.3.8
         │  │  ├─ minimist@1.2.5
         │  │  └─ strip-json-comments@2.0.1
         │  ├─ semver@5.7.1
         │  ├─ rimraf@2.7.1
         │  ├─ nopt@4.0.3
         │  │  ├─ osenv@0.1.5
         │  │  │  ├─ os-homedir@1.0.2
         │  │  │  └─ os-tmpdir@1.0.2
         │  │  └─ abbrev@1.1.1
         │  └─ tar@4.4.13
         └─ @tensorflow&#x2F;tfjs@1.4.0
            ├─ @tensorflow&#x2F;tfjs-converter@1.4.0
            ├─ @tensorflow&#x2F;tfjs-core@1.4.0
            │  ├─ @types&#x2F;offscreencanvas@2019.3.0
            │  ├─ @types&#x2F;seedrandom@2.4.27
            │  ├─ @types&#x2F;webgl-ext@0.0.30
            │  ├─ @types&#x2F;webgl2@0.0.4
            │  ├─ node-fetch@2.1.2
            │  └─ seedrandom@2.4.3
            ├─ @tensorflow&#x2F;tfjs-data@1.4.0
            │  ├─ @types&#x2F;node-fetch@2.5.11
            │  │  ├─ form-data@3.0.1
            │  │  │  ├─ combined-stream@1.0.8
            │  │  │  │  └─ delayed-stream@1.0.0
            │  │  │  ├─ asynckit@0.4.0
            │  │  │  └─ mime-types@2.1.31
            │  │  │     └─ mime-db@1.48.0
            │  │  └─ @types&#x2F;node@16.4.0
            │  └─ node-fetch@2.1.2
            └─ @tensorflow&#x2F;tfjs-layers@1.4.0


Thanks in advance for looking into this.

Sam

PS Sorry for the templated issue but we've got a number of nodes with the issue so I'm automating the issue creation.