Skip to content

url.parse deprecation warning from axios #60

Description

@lukehedger

Seeing the following deprecation warning about url.parse(), which can be traced to the axios library:

(node:2) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
    at urlParse (node:url:136:13)
    at Object.DN (/node_modules/proxy-from-env/index.js:25:45)
    at setProxy (/node_modules/axios/lib/adapters/http.js:183:35)
    at asyncExecutor (/node_modules/axios/lib/adapters/http.js:629:7)
    at <anonymous> (/node_modules/axios/lib/adapters/http.js:253:5)
    at new Promise (<anonymous>)
    at asyncExecutor (/node_modules/axios/lib/adapters/http.js:233:10)
    at http (/node_modules/axios/lib/adapters/http.js:319:10)
    at Go.Wx (/node_modules/axios/lib/core/dispatchRequest.js:49:81)
    at Go._request (/node_modules/axios/lib/core/Axios.js:194:33)

SDK version: 2.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions