fix: upgrade transformers runtime - #30
Merged
Merged
Conversation
Migrate to the maintained Transformers.js v4 package to remove the protobufjs dependency chain.\n\nCo-Authored-By: Codex (GPT-5) <noreply@openai.com>
yltw27
marked this pull request as ready for review
July 28, 2026 09:47
yltw27
requested review from
djslimbo,
horlaarsco and
matt-koevort
and removed request for
a team
July 28, 2026 09:47
horlaarsco
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates eval-kit from the deprecated @xenova/transformers runtime to the maintained @huggingface/transformers v4 package. This removes the critical protobufjs dependency chain.
Changes
Remaining security follow-up
The new upstream runtime still resolves high-severity advisories through sharp and onnxruntime-node > adm-zip. These require upstream-compatible releases; no incompatible overrides are included here.
Override cleanup follow-up
Several existing pnpm overrides may now be removable or replaceable with compatible parent-package upgrades. Validate each separately by removing it, regenerating the lockfile, and checking the resulting dependency tree; retain only narrowly scoped, same-major patches where no compatible parent release exists.
Validation