dcloud git security fix-dependencies

Fix the security issues of this repository: open a pull request that bumps the vulnerable dependencies of its package-lock.json and pnpm-lock.yaml

IAM git:CreatePullRequestChanges state

Answers 202; the platform creates a branch, bumps the versions, updates the lockfile with the package manager (no install scripts, public registry) and opens a pull request listing the advisories, so CI runs. It never merges. Needs git:PushRepository too. `get-dependency-fix` shows the outcome; 409 names an open fix pull request for the same package.

Synopsis

dcloud git security fix-dependencies repoId [flags]

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

Flags

  • --packagesOptional

    array of string

    Package groups to fix, as `ecosystem:package` (e.g. `pnpm:vite`); leave out to fix every package a fixed version exists for

    Constraints: 3-300 chars

Example

dcloud git security fix-dependencies repoId

Generated from the API description, the same one the API checks requests against and the CLI is built from.