Skip to content

AVRO-4350: [JavaScript] Restore underscore dependency - #3970

Open
svozza wants to merge 1 commit into
apache:mainfrom
svozza:AVRO-4350-restore-underscore
Open

AVRO-4350: [JavaScript] Restore underscore dependency#3970
svozza wants to merge 1 commit into
apache:mainfrom
svozza:AVRO-4350-restore-underscore

Conversation

@svozza

@svozza svozza commented Aug 24, 2026

Copy link
Copy Markdown

What is the purpose of the change

AVRO-4350

Restore Underscore as a production dependency of avro-js. The deprecated validator is loaded by the package entry point and still requires Underscore, causing clean installations to fail when requiring avro-js.

Removing the Underscore usage from the deprecated validator is likely the better long-term solution. Since the currently published package is broken for clean installations, this PR prioritizes restoring the dependency as a small, low-risk fix. Removing the dependency can be handled separately.

Verifying this change

Manually verified by packaging the modified local source, installing the resulting tarball in a clean project, and successfully running:

node -e "require('avro-js')"

The JavaScript test suite and lint task also pass.

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant