Vonage / vonage-node-sdk

Vonage API client for Node.js. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Apache License 2.0
375 stars 178 forks source link

[Bug]: many deprecations when installed #923

Closed ORESoftware closed 3 months ago

ORESoftware commented 3 months ago

Node Version

20.x

Platform

Mac (intel)

SDK Version

2.9.1

Code Sample

when installing, many warnings:

alex.mills@alex apm.vibe % npm i nexmo 
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated uuid@2.0.3: 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.

added 50 packages, and audited 305 packages in 7s

35 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (4 moderate, 4 critical)

Expected Behavior

have zero vulnerabilities, zero warnings

Actual Behavior

Many warnings etc

manchuck commented 3 months ago

@ORESoftware the nexmo package and version 2.x are no longer supported. You should update to use @vonage/server-sdk instead.