Skip to content

cmake-js@^7.3.0 dependency pulls a vulnerable tar@6.2.1 + deprecated npmlog stack — bump to ^8.0.0 #49

Description

@AsiaOstrich

ryugraph's package.json currently pins:

"dependencies": {
  "cmake-js": "^7.3.0",
  ...
}

cmake-js@7.4.0 (the latest version satisfying that range) depends on:

cmake-js@8.0.0 (released and available on npm) has already dropped npmlog entirely and bumped its tar dependency to ^7.5.6, which resolves clean under npm audit.

Every project depending on ryugraph — including ours (engramgraph) — inherits these 4 high-severity vulnerabilities + 3 deprecated-package warnings on a plain npm install, purely through this one pinned range. We worked around it locally with an npm overrides field, but that only helps when our own package.json is the install root — it doesn't propagate to anyone who installs our package (or any other ryugraph consumer) as a dependency or globally, so every downstream user still sees the same warnings.

Ask: would you consider bumping the cmake-js dependency range to ^8.0.0? From a quick look, cmake-js@8.0.0's public API surface used by ryugraph (native module build orchestration) appears unchanged, so this looks like it should be a safe, non-breaking bump — happy to be corrected if there's a reason ^7.3.0 was pinned intentionally, or to send a PR if that's easier.

Thanks for maintaining ryugraph!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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