APIv3-typescript-library
APIv3-typescript-library copied to clipboard
Update deprecated dependencies
When installing the library the following pops up:
warning @sendinblue/client > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @sendinblue/client > request > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @sendinblue/client > request > [email protected]: this library is no longer supported
Would be good to use updated dependencies
Yes please!
🙏
Still deprecated dependencies, please update!
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
The team seems to be 😴
@sendinblue/client is relying on the deprecated request library that has not been updated in over 3 years. npm shows a big red warning over it.
sendinblue should switch to axios or one of the other alternative libraries recommended here:
https://github.com/request/request/issues/3143
Whatever you choose, please make sure the library is easy to mock, e.g. axios-mock-adapter.
@aayush-sib
hey team can you assign this task to me. request package can be converted to node-fetch or axios.
Honestly guys, if this package is not maintained just let us know so we can build our own bindings