Dmitriy Mozgovoy

Results 106 comments of Dmitriy Mozgovoy

@christopherreay Are you talking about introducing a WeakMap instead of a plain object to store event handlers for the potential ability to auto-dispose of listeners? If so, this won't work...

Hmm, I'm not sure if this is a real bug since this issue does not actually arise if the constructor chain was called properly. With ES6 classes, which are currently...

@LinusU Of course, it is not difficult to make middleware that the user will have to install and configure. And yes, this is not a standard conversion, but all field...

[cp-axios](https://www.npmjs.com/package/cp-axios)

@lohart13 No. PR #5169 does not add support for AxiosHeaders instance to be used as Axios header config but takes the first step in this direction. The implementation needs to...

@msageryd Axios requires at least the latest minor versions of node v12. You can try importing the cjs package directly ```js const axios = require('axios/dist/node/axios.cjs'); // common js bundle ```...

> In an ideal world, the nodejs app would have started without error. > Node.js Version 12.0.0 In an ideal world, people wouldn't use legacy Node without ESM module support...

Does the problem still occur when you set `maxRedirects` to 0?

Without redirects enabled, I have no idea what is causing this problem (follow-redirects has a streams backpressure problem). Try to replace Axios with [dev/null stream](https://github.com/thlorenz/dev-null) and limit its speed with...

https://nodejs.org/api/stream.html#streampipelinestreams-callback