Skip to content

[DEP0169] DeprecationWarning: url.parse() behavior is not standardized and prone to errors that have security implications #61

Description

@mastoj

Just deployed our application after adding statsig to our application, and we see a lot of the following error:

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

It seems to be related to https://github.com/statsig-io/node-js-server-sdk/blob/main/src/utils/safeFetch.ts and where it is using node-fetch. We are using it in nextjs and running on Vercel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions