Skip to content

chore(deps): update devdependency knip to v6.42.1 - #3345

Merged
gameroman merged 5 commits into
npmx-dev:mainfrom
cylewaitforit:knip-6.42.1
Oct 23, 2026
Merged

gameroman merged 5 commits into
npmx-dev:mainfrom
cylewaitforit:knip-6.42.1

Conversation

@cylewaitforit

@cylewaitforit cylewaitforit commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Note

The commit for #3349 was originally generated by the autofix pipeline in this PR.

Why not stack the PRs?

PRs from forks are not currently supported by GH stacks. That would have required the fix-i18n-empty-keys branch to be part of the parent repo instead of the fork. github/gh-stack#46

🔗 Linked issue

#3306

🧭 Context

This updates to knip 6.42.1 and runs knip:fix.

Then removed code determined by knip to be unused.

Also removed file marked as unused. It hasn't been used for over 7 months and since it was part of the source control it can always be restored if it is needed.

📚 Description

Knip 6.39.0 allowed Knip to skip synthetic self-imports in Vue and Nuxt auto-import compilers. Before these exports looked used even though nothing else imported them.

@agentscanapp

agentscanapp Bot commented Oct 21, 2026

Copy link
Copy Markdown

Thanks for opening this pull request! 🎉

We really appreciate you taking the time to contribute, @cylewaitforit.

A maintainer will take a look as soon as they can. In the meantime, please make sure that:

  • the description explains what changed and why
  • any related issues are linked
  • existing tests still pass

If anything needs adjusting we'll leave comments here. Thanks again!

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs.npmx.dev Ready Ready Preview Oct 23, 2026 1:18am UTC
npmx.dev Ready Ready Preview Oct 23, 2026 1:18am UTC
1 Skipped Deployment
Project Deployment Actions Updated
npmx-lunaria Ignored Ignored Oct 23, 2026 1:18am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
📥 Commits

Reviewing files that changed from the base of the PR and between 22c5f49 and 86fc870.

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 2
  • server/utils/embed-downloads-svg.ts
  • shared/utils/trends-chart.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Changes
    • Removed the file-by-file translation progress view and its related labels. Translation progress by locale remains available.
    • Restricted several internal utilities and data types to their modules; their existing behaviour is unchanged.
    • Updated the Knip development tool.

The pull request removes an unused file-based translation status component and its locale strings. It also removes or narrows selected exports across app, server, and shared modules, and updates Knip configuration and its development dependency.

Changes: Unused translation status UI

Layer / File(s) Summary
Remove file-based translation status UI
app/components/Translation/StatusByFile.unused.vue, test/unit/a11y-component-coverage.spec.ts, i18n/locales/*, i18n/schema.json, knip.ts, package.json
The unused component, its test skip entry, and its file-status translation entries are removed. Knip no longer ignores **/*.unused.*, and its development dependency changes from 6.38.0 to 6.42.1.

Module export cleanup

Layer / File(s) Summary
Narrow app module exports
app/composables/usePackageComparison.ts, app/utils/*
Selected app helpers and types are no longer exported. Their implementations and behaviour remain unchanged.
Narrow server module exports
server/utils/*
Selected server helpers and types are made module-private. The exported filterLowUsageVersions function is removed.
Narrow shared type exports
shared/types/*
Selected shared types are made module-private or removed, including dependency-analysis, documentation, i18n status, and npm registry declarations.
Narrow shared utility exports
shared/utils/*
Selected shared utility declarations are made module-private or removed. parseUnifiedDiff’s declaration is reformatted without a behaviour change.

Possibly related issues

  • npmx-dev/npmx.dev issue 2: The issue concerns the dependency dashboard, and this pull request updates the Knip development dependency.

Suggested reviewers: graphieros

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 86fc8

No merge-blocking issue is established for the selected changes; normal checks remain appropriate.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title names the main change: a devDependency update of knip to v6.42.1. The changeset also removes unused exports and an unused component, which the title does not mention, but the title is accura…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description directly matches the changes. It explains the Knip 6.42.1 update, the removal of unused code, and the deletion of an unused file.
Full details: Title check

Explanation

The title names the main change: a devDependency update of knip to v6.42.1. The changeset also removes unused exports and an unused component, which the title does not mention, but the title is accurate and specific to the primary change. Scope is conventional-commit style with a clear subject.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@socket-security

socket-security Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedknip@​6.38.0 ⏵ 6.42.199 +110095 +196100

View full report

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
server/utils/atproto/oauth.ts 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

📊 Dependency Size Changes

Warning

This PR adds 234.2 kB of new dependencies, which exceeds the threshold of 200 kB.

📦 Package 📏 Size
knip@6.38.0 → knip@6.42.1 84.4 kB
unbash@4.0.11 → unbash@6.0.0 74.6 kB
formatly@0.7.0 → formatly@0.11.4 44.4 kB
smol-toml@1.8.0 → smol-toml@1.9.1 30.9 kB

Total size change: 234.2 kB

@gameroman gameroman added the needs review This PR is waiting for a review from a maintainer label Oct 21, 2026
@gameroman

Copy link
Copy Markdown
Member

unused i18n keys will also need to be removed then

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the tracking.ignoredKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
i18n/locales/ar-EG.json Localization changed, will be marked as complete. 🔄️
i18n/locales/bn-IN.json Localization changed, will be marked as complete. 🔄️
i18n/locales/cs-CZ.json Localization changed, will be marked as complete. 🔄️
i18n/locales/de.json Localization changed, will be marked as complete. 🔄️
i18n/locales/en.json Source changed, localizations will be marked as outdated.
i18n/locales/es.json Localization changed, will be marked as complete. 🔄️
i18n/locales/fr-FR.json Localization changed, will be marked as complete. 🔄️
i18n/locales/hi-IN.json Localization changed, will be marked as complete. 🔄️
i18n/locales/id-ID.json Localization changed, will be marked as complete. 🔄️
i18n/locales/it-IT.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ja-JP.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ko-KR.json Localization changed, will be marked as complete. 🔄️
i18n/locales/mr-IN.json Localization changed, will be marked as complete. 🔄️
i18n/locales/nb-NO.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ne-NP.json Localization changed, will be marked as complete. 🔄️
i18n/locales/nl.json Localization changed, will be marked as complete. 🔄️
i18n/locales/pt-BR.json Localization changed, will be marked as complete. 🔄️
i18n/locales/pt-PT.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ro-RO.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ru-RU.json Localization changed, will be marked as complete. 🔄️
i18n/locales/sr-Latn-RS.json Localization changed, will be marked as complete. 🔄️
i18n/locales/tr-TR.json Localization changed, will be marked as complete. 🔄️
i18n/locales/uk-UA.json Localization changed, will be marked as complete. 🔄️
i18n/locales/vi-VN.json Localization changed, will be marked as complete. 🔄️
i18n/locales/zh-CN.json Localization changed, will be marked as complete. 🔄️
i18n/locales/zh-TW.json Localization changed, will be marked as complete. 🔄️
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@cylewaitforit

Copy link
Copy Markdown
Contributor Author

unused i18n keys will also need to be removed then

Thanks @gameroman, I ran the i18n report fix script but touching those files caused the autofix workflow to create empty translation keys. I've moved that autofix commit to a separate PR (#3349) since the changes aren't actually related to this knip update.

@gameroman
gameroman added this pull request to the merge queue Oct 23, 2026
Merged via the queue into npmx-dev:main with commit 3472596 Oct 23, 2026
25 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 23, 2026

This branch was successfully deployed

2 active deployments
Preview – npmx.dev — ad10e106 Deployed Oct 23, 2026 by vercel[bot]
Preview – docs.npmx.dev — ad10e106 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review This PR is waiting for a review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants