From 8a237abe0548e206f899ba912758d3da9734b182 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Thu, 9 May 2024 11:21:48 -0700 Subject: [PATCH] test: Upgrade UA parser to differentiate Chromecasts (#6568) This uses a preview of https://github.com/faisalman/ua-parser-js/pull/724 to differentiate between Chromecast models in Karma. --- package-lock.json | 19 +++++++++++-------- package.json | 5 +++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4cb0517f0d..0bc10c7622 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8290,9 +8290,8 @@ } }, "node_modules/ua-parser-js": { - "version": "0.7.31", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz", - "integrity": "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==", + "version": "2.0.0-beta.2", + "resolved": "git+ssh://git@github.com/joeyparrish/ua-parser-js.git#6fdf30c86785b51885f69d1bfe764cda90257579", "dev": true, "funding": [ { @@ -8302,8 +8301,13 @@ { "type": "paypal", "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" } ], + "license": "AGPL-3.0-or-later", "engines": { "node": "*" } @@ -12966,7 +12970,7 @@ "socket.io": "^4.2.0", "source-map": "^0.6.1", "tmp": "^0.2.1", - "ua-parser-js": "^0.7.30", + "ua-parser-js": "github:joeyparrish/ua-parser-js#preview", "yargs": "^16.1.1" }, "dependencies": { @@ -15061,10 +15065,9 @@ } }, "ua-parser-js": { - "version": "0.7.31", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz", - "integrity": "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==", - "dev": true + "version": "git+ssh://git@github.com/joeyparrish/ua-parser-js.git#6fdf30c86785b51885f69d1bfe764cda90257579", + "dev": true, + "from": "ua-parser-js@github:joeyparrish/ua-parser-js#preview" }, "uc.micro": { "version": "1.0.6", diff --git a/package.json b/package.json index 56819912b0..c3045b511f 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,11 @@ "tippy.js": "^4.3.5", "which": "^2.0.2" }, + "overrides": { + "karma": { + "ua-parser-js": "github:joeyparrish/ua-parser-js#preview" + } + }, "shakaCustom": { "purposeOfDemoDeps": "These are the files from node_modules that need to be deployed with the demo app.", "demoDeps": [