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 #167

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

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

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-viseo-dialogflow@1.0.1
   ├─ node-red-viseo-bot-manager@0.1.0
   │  ├─ node-red-viseo-helper@0.3.2
   │  └─ extend@3.0.2
   ├─ node-red-contrib-viseo-google-authentication@0.1.1
   │  └─ googleapis@44.0.0
   │     ├─ googleapis-common@3.2.2
   │     │  ├─ gaxios@2.3.4
   │     │  │  ├─ extend@3.0.2
   │     │  │  ├─ abort-controller@3.0.0
   │     │  │  │  └─ event-target-shim@5.0.1
   │     │  │  ├─ https-proxy-agent@5.0.0
   │     │  │  │  ├─ agent-base@6.0.2
   │     │  │  │  │  └─ debug@4.3.2
   │     │  │  │  └─ debug@4.3.2
   │     │  │  │     └─ ms@2.1.2
   │     │  │  ├─ is-stream@2.0.0
   │     │  │  └─ node-fetch@2.6.1
   │     │  ├─ extend@3.0.2
   │     │  ├─ qs@6.10.1
   │     │  │  └─ side-channel@1.0.4
   │     │  │     ├─ get-intrinsic@1.1.1
   │     │  │     │  ├─ function-bind@1.1.1
   │     │  │     │  ├─ has-symbols@1.0.2
   │     │  │     │  └─ has@1.0.3
   │     │  │     │     └─ function-bind@1.1.1
   │     │  │     ├─ object-inspect@1.11.0
   │     │  │     └─ call-bind@1.0.2
   │     │  │        ├─ function-bind@1.1.1
   │     │  │        └─ get-intrinsic@1.1.1
   │     │  ├─ url-template@2.0.8
   │     │  ├─ google-auth-library@5.10.1
   │     │  └─ uuid@7.0.3
   │     └─ google-auth-library@5.10.1
   │        ├─ arrify@2.0.1
   │        ├─ base64-js@1.5.1
   │        ├─ fast-text-encoding@1.0.3
   │        ├─ gcp-metadata@3.5.0
   │        │  ├─ json-bigint@0.3.1
   │        │  │  └─ bignumber.js@9.0.1
   │        │  └─ gaxios@2.3.4
   │        ├─ gtoken@4.1.4
   │        │  ├─ gaxios@2.3.4
   │        │  ├─ google-p12-pem@2.0.5
   │        │  │  └─ node-forge@0.10.0
   │        │  ├─ jws@4.0.0
   │        │  └─ mime@2.5.2
   │        ├─ gaxios@2.3.4
   │        ├─ ecdsa-sig-formatter@1.0.11
   │        │  └─ safe-buffer@5.2.1
   │        ├─ jws@4.0.0
   │        │  ├─ jwa@2.0.0
   │        │  │  ├─ buffer-equal-constant-time@1.0.1
   │        │  │  ├─ ecdsa-sig-formatter@1.0.11
   │        │  │  └─ safe-buffer@5.2.1
   │        │  └─ safe-buffer@5.2.1
   │        └─ lru-cache@5.1.1
   │           └─ yallist@3.1.1
   ├─ request-promise@4.2.6
   │  ├─ request-promise-core@1.1.4
   │  │  └─ lodash@4.17.21
   │  ├─ stealthy-require@1.1.1
   │  ├─ tough-cookie@2.5.0
   │  │  ├─ punycode@2.1.1
   │  │  └─ psl@1.8.0
   │  └─ bluebird@3.7.2
   ├─ node-red-viseo-helper@0.3.2
   │  ├─ extend@3.0.1
   │  ├─ request-promise@4.2.6
   │  └─ request@2.88.2
   ├─ actions-on-google@2.12.0
   │  ├─ @types&#x2F;debug@0.0.30
   │  ├─ @types&#x2F;aws-lambda@0.0.33
   │  ├─ @types&#x2F;express@4.17.13
   │  │  ├─ @types&#x2F;body-parser@1.19.1
   │  │  │  ├─ @types&#x2F;connect@3.4.35
   │  │  │  │  └─ @types&#x2F;node@16.4.0
   │  │  │  └─ @types&#x2F;node@16.4.0
   │  │  ├─ @types&#x2F;express-serve-static-core@4.17.24
   │  │  │  ├─ @types&#x2F;range-parser@1.2.4
   │  │  │  ├─ @types&#x2F;qs@6.9.7
   │  │  │  └─ @types&#x2F;node@16.4.0
   │  │  ├─ @types&#x2F;serve-static@1.13.10
   │  │  │  ├─ @types&#x2F;mime@1.3.2
   │  │  │  └─ @types&#x2F;node@16.4.0
   │  │  └─ @types&#x2F;qs@6.9.7
   │  ├─ debug@3.2.7
   │  │  └─ ms@2.1.3
   │  ├─ google-auth-library@1.6.1
   │  │  ├─ jws@3.2.2
   │  │  │  ├─ jwa@1.4.1
   │  │  │  │  ├─ buffer-equal-constant-time@1.0.1
   │  │  │  │  ├─ safe-buffer@5.2.1
   │  │  │  │  └─ ecdsa-sig-formatter@1.0.11
   │  │  │  └─ safe-buffer@5.2.1
   │  │  ├─ axios@0.18.1
   │  │  │  ├─ follow-redirects@1.5.10
   │  │  │  │  └─ debug@3.1.0
   │  │  │  │     └─ ms@2.0.0
   │  │  │  └─ is-buffer@2.0.5
   │  │  ├─ gtoken@2.3.3
   │  │  │  ├─ gaxios@1.8.4
   │  │  │  │  ├─ abort-controller@3.0.0
   │  │  │  │  ├─ extend@3.0.2
   │  │  │  │  ├─ https-proxy-agent@2.2.4
   │  │  │  │  └─ node-fetch@2.6.1
   │  │  │  ├─ jws@3.2.2
   │  │  │  ├─ google-p12-pem@1.0.5
   │  │  │  │  ├─ pify@4.0.1
   │  │  │  │  └─ node-forge@0.10.0
   │  │  │  ├─ mime@2.5.2
   │  │  │  └─ pify@4.0.1
   │  │  ├─ retry-axios@0.3.2
   │  │  ├─ lru-cache@4.1.5
   │  │  │  ├─ pseudomap@1.0.2
   │  │  │  └─ yallist@2.1.2
   │  │  ├─ gcp-metadata@0.6.3
   │  │  │  ├─ axios@0.18.1
   │  │  │  ├─ extend@3.0.2
   │  │  │  └─ retry-axios@0.3.2
   │  │  └─ lodash.isstring@4.0.1
   │  ├─ googleapis@39.2.0
   │  │  ├─ googleapis-common@0.7.2
   │  │  │  ├─ pify@4.0.1
   │  │  │  ├─ url-template@2.0.8
   │  │  │  ├─ gaxios@1.8.4
   │  │  │  ├─ google-auth-library@3.1.2
   │  │  │  ├─ qs@6.10.1
   │  │  │  └─ uuid@3.4.0
   │  │  └─ google-auth-library@3.1.2
   │  │     ├─ base64-js@1.5.1
   │  │     ├─ fast-text-encoding@1.0.3
   │  │     ├─ gaxios@1.8.4
   │  │     ├─ gtoken@2.3.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
   │  │     ├─ jws@3.2.2
   │  │     ├─ gcp-metadata@1.0.0
   │  │     │  ├─ json-bigint@0.3.1
   │  │     │  └─ gaxios@1.8.4
   │  │     ├─ semver@5.7.1
   │  │     └─ lru-cache@5.1.1
   │  └─ @types&#x2F;node@9.6.61
   └─ request@2.88.2
      ├─ aws-sign2@0.7.0
      ├─ aws4@1.11.0
      ├─ caseless@0.12.0
      ├─ combined-stream@1.0.8
      │  └─ delayed-stream@1.0.0
      ├─ extend@3.0.2
      ├─ forever-agent@0.6.1
      ├─ isstream@0.1.2
      ├─ is-typedarray@1.0.0
      ├─ json-stringify-safe@5.0.1
      ├─ form-data@2.3.3
      │  ├─ combined-stream@1.0.8
      │  ├─ asynckit@0.4.0
      │  └─ mime-types@2.1.31
      ├─ har-validator@5.1.5
      │  ├─ har-schema@2.0.0
      │  └─ ajv@6.12.6
      │     ├─ fast-deep-equal@3.1.3
      │     ├─ json-schema-traverse@0.4.1
      │     ├─ uri-js@4.4.1
      │     │  └─ punycode@2.1.1
      │     └─ fast-json-stable-stringify@2.1.0
      ├─ http-signature@1.2.0
      │  ├─ assert-plus@1.0.0
      │  ├─ sshpk@1.16.1
      │  │  ├─ asn1@0.2.4
      │  │  │  └─ safer-buffer@2.1.2
      │  │  ├─ assert-plus@1.0.0
      │  │  ├─ safer-buffer@2.1.2
      │  │  ├─ ecc-jsbn@0.1.2
      │  │  │  ├─ jsbn@0.1.1
      │  │  │  └─ safer-buffer@2.1.2
      │  │  ├─ getpass@0.1.7
      │  │  │  └─ assert-plus@1.0.0
      │  │  ├─ dashdash@1.14.1
      │  │  │  └─ assert-plus@1.0.0
      │  │  ├─ bcrypt-pbkdf@1.0.2
      │  │  │  └─ tweetnacl@0.14.5
      │  │  ├─ jsbn@0.1.1
      │  │  └─ tweetnacl@0.14.5
      │  └─ jsprim@1.4.1
      │     ├─ assert-plus@1.0.0
      │     ├─ verror@1.10.0
      │     │  ├─ extsprintf@1.4.0
      │     │  ├─ core-util-is@1.0.2
      │     │  └─ assert-plus@1.0.0
      │     ├─ extsprintf@1.3.0
      │     └─ json-schema@0.2.3
      ├─ performance-now@2.1.0
      ├─ mime-types@2.1.31
      │  └─ mime-db@1.48.0
      ├─ qs@6.5.2
      ├─ safe-buffer@5.2.1
      ├─ tunnel-agent@0.6.0
      │  └─ safe-buffer@5.2.1
      ├─ tough-cookie@2.5.0
      ├─ uuid@3.4.0
      └─ oauth-sign@0.9.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.

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