chore: update dependencies to latest versions (fixes #31)#136
Open
chore: update dependencies to latest versions (fixes #31)#136
Conversation
Updates outdated dependencies as requested in issue #31: ## Dependency Updates - **dash.js**: 4.5.1 → 5.1.1 (major update) - **mitt**: 3.0.0 → 3.0.1 (patch update) - **shaka-player**: 4.3.0 → 5.0.1 (major update, already compatible via PR #134) - **hls.js**: 1.6.15 (already at latest) ## Verification ✅ All tests pass (npm test) ✅ Build succeeds (npm run build) ✅ No breaking API changes detected ✅ All tech adapters remain compatible ## Breaking Change Analysis ### dash.js v5.x - No breaking changes in our DashJsTech.ts implementation - All APIs (MediaPlayer.create(), initialize(), destroy()) remain stable - Tested with DASH streams successfully ### shaka-player v5.x - Already compatible (PR #134 fixed deprecation warning) - Uses modern attach() API instead of deprecated constructor pattern ### mitt v3.0.1 - Fully backward compatible with v3.0.0 - Event emitter interface unchanged ## Impact - Resolves security vulnerabilities in older dependencies - Provides access to latest features and bug fixes - Maintains full backward compatibility with existing code - No migration required for applications using the player Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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
Fixes #31 - Updates outdated dependencies (dash.js, mitt, shaka-player) to their latest versions.
Dependency Updates
Verification
✅ All tests pass (
npm test)✅ Build succeeds (
npm run build)✅ No breaking API changes detected
✅ All tech adapters remain compatible
Breaking Change Analysis
dash.js v4 → v5
Impact: ✅ None
DashJsTech.tsimplementation uses stable APIsMediaPlayer.create(),initialize(),destroy()) remain unchangedshaka-player v4 → v5
Impact: ✅ Already Compatible (via PR #134)
attach()API instead of deprecated constructor patternmitt v3.0.0 → v3.0.1
Impact: ✅ None
Benefits
Security
Features & Bug Fixes
Maintainability
Testing Performed
No Code Changes Required
All existing tech adapter implementations remain fully compatible:
Migration Notes
For Application Developers: No action required. This is a drop-in replacement with full backward compatibility.
The updated versions maintain API compatibility, so applications using the Eyevinn Web Player will continue to work without modifications.
Files Changed
packages/core/package.json- Updated dependency versionsRelated PRs
🤖 Generated with Claude Code