Skip to content

chore(deps): drop six unused root dependencies - #5969

Merged
norman-abramovitz merged 1 commit into
cloudfoundry:developfrom
nabramovitz:norm/chore/drop-unused-deps
Sep 29, 2026
Merged

norman-abramovitz merged 1 commit into
cloudfoundry:developfrom
nabramovitz:norm/chore/drop-unused-deps

Conversation

@nabramovitz

Copy link
Copy Markdown
Contributor

Removes six root dependencies that nothing in the repository imports or runs. A dependency-archival scan (modrot, across every manifest) flagged them; each was then checked against the sources, styles and package scripts.

Package State upstream Use in Stratos
q archived and deprecated none
delete no change since 2017 none
ps-node no change since 2021 none
npm-run-all no change since 2024 no script calls npm-run-all, run-s or run-p
mappy-breakpoints no change since 2023 no SCSS import
kind-of 2020 security pin past 6.0.2 none directly (see below)
  • kind-of was pinned in April 2020 and noted in package.md as removable once the referencing package moved on. clone-deep (via webpack-merge) now requires ^6.0.2 and resolves the patched 6.0.3 without the pin; package.md records the removal.
  • Lockfile, analysed with scripts/lockdiff.mjs: 125 package versions leave, none are added. Most of it is npm-run-all's own tree (string.prototype.padend alone accounts for 72).
  • The devkit's package scan reads root dependency names only to find Stratos plugin packages, so dropping these has no effect on it.
  • Not included: the inert src/frontend/packages/core/package.json still names mappy-breakpoints, web-animations-js and @types/marked; nothing installs from it.

Verification

make check gate green on d205364926: 3751 unit tests (2 skipped), no MaxListenersExceededWarning, production build, gofmt / go vet / golangci-lint and go test across the seven Go modules. Changelog fragment 0008-drop-unused-deps.

Nothing in the repository imports or runs q, delete, ps-node,
npm-run-all, mappy-breakpoints or kind-of. A dependency-archival scan
flagged them (q is archived and deprecated; the others have not
changed upstream in two to nine years), and a search of the sources,
styles and package scripts found no use.

kind-of was added in April 2020 as a security pin past 6.0.2, noted in
package.md as removable once the referencing package moved on. It
has: clone-deep (via webpack-merge) requires ^6.0.2 and resolves 6.0.3
without the pin. package.md records the removal.

Lockfile: 125 package versions leave, none are added (most of it is
npm-run-all's own tree). Changelog fragment 0008.

@norman-abramovitz norman-abramovitz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@norman-abramovitz
norman-abramovitz marked this pull request as ready for review September 29, 2026 07:13
@norman-abramovitz
norman-abramovitz merged commit 5df71ed into cloudfoundry:develop Sep 29, 2026
24 checks passed
@nabramovitz
nabramovitz deleted the norm/chore/drop-unused-deps branch September 29, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants