Skip to content

chore(deps): replace the deprecated crowdin package with @crowdin/cli - #4696

Merged
thetaPC merged 1 commit into
mainfrom
crowdin
Sep 2, 2026
Merged

chore(deps): replace the deprecated crowdin package with @crowdin/cli#4696
thetaPC merged 1 commit into
mainfrom
crowdin

Conversation

@thetaPC

@thetaPC thetaPC commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Issue URL: internal

What is the current behavior?

crowdin@3.5.0 is deprecated, and its dependency tree is the source of the repo's only two outstanding advisories, form-data (critical) and got (moderate).

What is the new behavior?

@crowdin/cli@5.0.1, which is maintained and is the package Docusaurus's i18n guide prescribes. Both advisories go with the old tree, and the lockfile drops 333 lines: 50 transitive packages out, 8 in.

It's also the package our setup was always written for. crowdin:sync calls crowdin upload && crowdin download, but the old package is an API client with no bin, so those were commands that didn't exist.

Does this introduce a breaking change?

  • Yes
  • No

prebuild only calls crowdin:sync when CROWDIN_PERSONAL_TOKEN is set, and it isn't set in Vercel. The sync didn't run before and doesn't now.

Other information

Whether Crowdin is still in use is unresolved. crowdin.yml hasn't been touched since April 2023, while Japanese prose arrives through scripts/i18n.sh from the actively maintained translation/jp branch. Until we know which it is, being on a maintained package beats sitting on a deprecated one with a critical advisory. Removing it outright is the other option, but that decision needs the answer first.

Verified without credentials: the CLI parses crowdin.yml and resolves api_token_env; with a placeholder token it reaches Crowdin and stops at authorization, uploading nothing. Plain npm ci works and the binary survives it.

One thing to note for whoever picks up the ownership question. Two things used to prevent the sync running, no binary and no token. Now only the token does, and if one is added, crowdin download runs after i18n.sh and writes into the same path the translation/jp tarball unpacks into.

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Sep 2, 2026 6:32pm UTC

Request Review

@thetaPC
thetaPC marked this pull request as ready for review September 2, 2026 18:36
@thetaPC
thetaPC requested a review from a team as a code owner September 2, 2026 18:36

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@thetaPC
thetaPC merged commit b7e1b10 into main Sep 2, 2026
4 checks passed
@thetaPC
thetaPC deleted the crowdin branch September 2, 2026 22:27
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