Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sammachin opened this issue Jul 22, 2021 · 0 comments
Open

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

sammachin opened this issue Jul 22, 2021 · 0 comments

Comments

@sammachin
Copy link

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-ms-cognitive-services@1.0.8
   ├─ md5@2.1.0
   │  ├─ charenc@0.0.2
   │  ├─ is-buffer@1.1.6
   │  └─ crypt@0.0.2
   ├─ https-proxy-agent@3.0.1
   │  ├─ debug@3.2.7
   │  │  └─ ms@2.1.3
   │  └─ agent-base@4.3.0
   │     └─ es6-promisify@5.0.0
   │        └─ es6-promise@4.2.8
   └─ microsoft-cognitiveservices-speech-sdk@1.18.0
      ├─ asn1.js-rfc5280@3.0.0
      │  └─ asn1.js@5.4.1
      │     ├─ inherits@2.0.4
      │     ├─ bn.js@4.12.0
      │     ├─ minimalistic-assert@1.0.1
      │     └─ safer-buffer@2.1.2
      ├─ simple-lru-cache@0.0.2
      ├─ https-proxy-agent@4.0.0
      │  ├─ agent-base@5.1.1
      │  └─ debug@4.3.2
      ├─ async-disk-cache@2.1.0
      │  ├─ heimdalljs@0.2.6
      │  │  └─ rsvp@3.2.1
      │  ├─ debug@4.3.2
      │  │  └─ ms@2.1.2
      │  ├─ mkdirp@0.5.5
      │  │  └─ minimist@1.2.5
      │  ├─ rsvp@4.8.5
      │  ├─ username-sync@1.0.2
      │  ├─ rimraf@3.0.2
      │  │  └─ glob@7.1.7
      │  │     ├─ fs.realpath@1.0.0
      │  │     ├─ minimatch@3.0.4
      │  │     │  └─ brace-expansion@1.1.11
      │  │     │     ├─ concat-map@0.0.1
      │  │     │     └─ balanced-match@1.0.2
      │  │     ├─ once@1.4.0
      │  │     │  └─ wrappy@1.0.2
      │  │     ├─ inflight@1.0.6
      │  │     │  ├─ wrappy@1.0.2
      │  │     │  └─ once@1.4.0
      │  │     ├─ inherits@2.0.4
      │  │     └─ path-is-absolute@1.0.1
      │  └─ istextorbinary@2.6.0
      │     ├─ editions@2.3.1
      │     │  ├─ semver@6.3.0
      │     │  └─ errlop@2.2.0
      │     ├─ textextensions@2.6.0
      │     └─ binaryextensions@2.3.0
      ├─ asn1.js-rfc2560@5.0.1
      │  └─ asn1.js-rfc5280@3.0.0
      ├─ agent-base@6.0.2
      │  └─ debug@4.3.2
      ├─ url-parse@1.5.1
      │  ├─ querystringify@2.2.0
      │  └─ requires-port@1.0.0
      ├─ uuid@3.4.0
      ├─ xmlhttprequest-ts@1.0.1
      │  └─ tslib@1.14.1
      └─ ws@7.5.3


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant