Skip to main content

Node.js SuperAgent Vulnerability and Other Fixes

· One min read

We've updated the version of SuperAgent library used in our Node.js SDK to fix a moderate severity vulnerability. We've also made some other smaller fixes.

Please generate a new Node.js SDK to receive these fixes.

Details

note

These changes only affect Node.js SDKs that use SuperAgent as their HTTP client. This client can be selected by changing the CodeGen settings; the default HTTP client is request.

  • We've updated our SuperAgent dependency from 1.5.0 to 4.1.0, due to a moderate level vulnerability in the previous version.
  • We've fixed a bug in our HTTP client wrapper for SuperAgent, which caused our Mocha tests to get stuck.
  • We've added license and repository information to the package.json file to prevent npm from showing a warning.

Please generate a new Node.js SDK to receive these fixes.