Skip to content

[BUG]: NPMAuthenticate@0 has a Deprecation Warning #21565

@tap1992

Description

@tap1992

New issue checklist

Task name

npmAuthenticate@0

Task version

0.262.0

Issue Description

When running in a Alpine Container with Node 20.19.6 we are seeing the below warning in the NPMAuthenticate task logs:

(node:2231) [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)

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Alpine 3.20

Relevant log output

##[debug]AGENT_JOBSTATUS=Succeeded
##[debug]AGENT_OS=Linux
(node:2231) [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)
##[debug]AGENT_OSARCHITECTURE=X64
##[debug]AGENT_VERSION=4.264.2

Full task logs with system.debug enabled

No response

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions