svozza opened a new pull request, #3970:
URL: https://github.com/apache/avro/pull/3970
## 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**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]