Skip to content

[BUG - cli win] DEP0190 deprecation warning #2216

@mynameistito

Description

@mynameistito

Describe the bug

Running npmx-connector emits a Node.js DEP0190 deprecation warning when checking npm authentication

Additional context

No response

Logs

PS C:\\Users\\mynameistito> bunx npmx-connector

┌   npmx connector
│
▲  This allows npmx.dev to access your npm cli and any authenticated contexts.
│
◇  Do you accept?
│  Yes
│
●  Checking npm authentication...
(node:28304) \[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.

(Use `node --trace-deprecation ...` to show where the warning was created)
│
▲  Not logged in to npm. Starting npm login...

npm notice Log in on https://registry.npmjs.org/

Login at:

https://www.npmjs.com/login?next=/login/cli/UUID

Press ENTER to open in the browser...

Logged in on https://registry.npmjs.org/.

●  Authenticated as: mynameistito
│
◇  Click to connect ──────────────────────────────────────────────────────────╮
│                                                                             │
│  Open: https://npmx.dev/?token=<token>\&port=31415                          │
│                                                                             │
│  Or paste token manually: <token>                                           │
│                                                                             │
├─────────────────────────────────────────────────────────────────────────────╯

➜ Listening on: http://127.0.0.1:31415/
│
●  Waiting for connection... (Press Ctrl+C to stop)
Server closed successfully.
PS C:\\Users\\mynameistito>

Metadata

Metadata

Assignees

No one assigned

    Labels

    backServer, Datap2Priority 2 bug (medium)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions