Skip to content

DeprecationWarning in Node.js v24 #133

@fabon-f

Description

@fabon-f

Running npx jsr publish --dry-run emits deprecation warning as below in Node.js v24.5.0:

Downloading JSR release binary...
[00:02] [#################################################>] 36.5 MiB/37.0 MiB
(node:1323) [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)

Probably the warning comes from here:

shell: true,

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