Skip to content

Remove unused cheerio dependency - #514

Merged
cigamit merged 1 commit into
ctrliq:mainfrom
blaipr:remove/cheerio
Jun 25, 2026
Merged

Remove unused cheerio dependency#514
cigamit merged 1 commit into
ctrliq:mainfrom
blaipr:remove/cheerio

Conversation

@blaipr

@blaipr blaipr commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

SUMMARY

Remove cheerio, a server-side HTML parser that is never used.

  • Zero imports in UI source, config, scripts, or tests
  • Pinned to an old release candidate (1.0.0-rc.12)
  • Lint, Jest (552 suites, 2,908 tests), and production build all pass without it
  • Removes from package.json, package-lock.json, and licenses/ui/

ISSUE TYPE

  • Bug, Docs Fix or other nominal change

COMPONENT NAME

  • UI

ASCENDER VERSION

awx: 25.4.1.dev

ADDITIONAL INFORMATION

Identified by auditing all npm production dependencies for actual usage.

cheerio is a server-side HTML parser that is never imported
anywhere in the UI source, config, scripts, or tests. It was
pinned to an old release candidate (1.0.0-rc.12) with no
consumers.

Copilot AI 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.

Pull request overview

This PR removes the unused cheerio dependency from the UI’s Node dependency set and cleans up associated artifacts (lockfile and third-party license text), reducing dependency surface area and maintenance overhead in awx/ui.

Changes:

  • Removed cheerio from awx/ui/package.json dependencies.
  • Updated awx/ui/package-lock.json to reflect removal of cheerio and its transitive packages.
  • Removed the Cheerio third-party license file from licenses/ui/.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
licenses/ui/cheerio.txt Removes the third-party license text corresponding to the deleted dependency.
awx/ui/package.json Drops cheerio from UI runtime dependencies.
awx/ui/package-lock.json Updates the lockfile to remove cheerio and adjust dependency metadata accordingly.
Files not reviewed (1)
  • awx/ui/package-lock.json: Generated file

@cigamit cigamit self-assigned this Jun 25, 2026
@cigamit cigamit added the dependencies Pull requests that update a dependency file label Jun 25, 2026
@cigamit
cigamit merged commit 4a9aecb into ctrliq:main Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Development

Successfully merging this pull request may close these issues.

3 participants