APIv3-typescript-library icon indicating copy to clipboard operation
APIv3-typescript-library copied to clipboard

Update deprecated dependencies

Open davide-scalzo opened this issue 3 years ago • 7 comments
trafficstars

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

davide-scalzo avatar Feb 14 '22 17:02 davide-scalzo

Yes please!

🙏

supercairos avatar Aug 22 '22 08:08 supercairos

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

Kondamon avatar Sep 01 '22 16:09 Kondamon

The team seems to be 😴

Alcas1 avatar Feb 09 '23 04:02 Alcas1

@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.

Screenshot 2023-02-26 at 2 15 50 PM

jacobg avatar Feb 26 '23 19:02 jacobg

@aayush-sib

jacobg avatar Feb 26 '23 19:02 jacobg

hey team can you assign this task to me. request package can be converted to node-fetch or axios.

Charlygraphy23 avatar Apr 05 '23 05:04 Charlygraphy23

Honestly guys, if this package is not maintained just let us know so we can build our own bindings

alfaproject avatar Jun 07 '23 08:06 alfaproject