Skip to content

Deprecation warnings with latest node version #3279

@crystalfp

Description

@crystalfp

On Windows and latest node-gyp@12.1.0 and node@25.5.0, the following deprecation warnings appear:

PS D:\Projects> node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@12.1.0
gyp info using node@25.5.0 | win32 | x64
(node:36696) [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.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:36696) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
gyp info find Python using Python version 3.12.5 found at "C:\Program Files\Python312\python.exe"

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