From bd81c07a668e36f75d5b861e08b17950b8902b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Bj=C3=B6rneheim?= Date: Fri, 13 Feb 2026 23:55:39 +0100 Subject: [PATCH] chore: update dependencies to latest versions (fixes #31) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- packages/core/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 49946ec..23a9c3a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -33,10 +33,10 @@ }, "dependencies": { "@eyevinn/webrtc-player": "^0.12.1", - "dashjs": "^4.5.1", + "dashjs": "^5.1.1", "hls.js": "^1.6.15", - "mitt": "^3.0.0", - "shaka-player": "^4.3.0" + "mitt": "^3.0.1", + "shaka-player": "^5.0.1" }, "publishConfig": { "access": "public"