@nrk/player-elements
Advanced tools
+5
-5
| { | ||
| "name": "@nrk/player-elements", | ||
| "version": "17.2.5", | ||
| "version": "17.2.6", | ||
| "description": "", | ||
@@ -25,4 +25,4 @@ "author": "", | ||
| "@nrk/live-epg": "1.2.0", | ||
| "@nrk/player-tracker": "8.2.1", | ||
| "@nrk/player-psapi-client": "8.1.1" | ||
| "@nrk/player-psapi-client": "8.1.1", | ||
| "@nrk/player-tracker": "8.2.1" | ||
| }, | ||
@@ -56,4 +56,4 @@ "peerDependencies": { | ||
| "@nrk/eslint-config": "1.1.0", | ||
| "@nrk/ts-config": "1.0.3", | ||
| "@nrk/stylelint-config": "1.0.2" | ||
| "@nrk/stylelint-config": "1.0.2", | ||
| "@nrk/ts-config": "1.0.3" | ||
| }, | ||
@@ -60,0 +60,0 @@ "dependencyComments": { |
@@ -35,3 +35,3 @@ import { version as playerCoreVersion } from "@nrk/player-core/types.js"; | ||
| const FONT_SIZE_BREAK_POINT = 500; | ||
| const PLAYER_ELEMENTS_VERSION = "17.2.5"; | ||
| const PLAYER_ELEMENTS_VERSION = "17.2.6"; | ||
| class PlayerElement extends DimensionsMixin( | ||
@@ -309,3 +309,4 @@ FocusVisibleMixin( | ||
| } else if (propName === "preferredManifest") { | ||
| if (oldValue !== this.preferredManifest) { | ||
| const isManifestReset = oldValue !== void 0; | ||
| if (isManifestReset) { | ||
| this.manifest = void 0; | ||
@@ -1074,7 +1075,5 @@ this.metadata = void 0; | ||
| } | ||
| const client = this.psapiClient; | ||
| const iterator = client.loadMetadata({ throwNonPlayableError }); | ||
| const iterator = this.psapiClient.loadMetadata({ throwNonPlayableError }); | ||
| let resolvePlayability; | ||
| this.pendingMetadataPlayable = new Promise((resolve) => resolvePlayability = resolve); | ||
| const myPlayable = this.pendingMetadataPlayable; | ||
| const iterate = () => { | ||
@@ -1092,7 +1091,5 @@ this.pendingMetadataResponse = iterator.next().then((result) => { | ||
| }).catch((err) => { | ||
| if (this.pendingMetadataPlayable === myPlayable) { | ||
| this.pendingMetadataPlayable = void 0; | ||
| this.pendingMetadataResponse = void 0; | ||
| } | ||
| if (this.psapiClient === client && toError(err).name !== "AbortError") { | ||
| this.pendingMetadataPlayable = void 0; | ||
| this.pendingMetadataResponse = void 0; | ||
| if (toError(err).name !== "AbortError") { | ||
| this.panic(err); | ||
@@ -1099,0 +1096,0 @@ } |
Sorry, the diff of this file is too big to display
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
601832
-0.05%13825
-0.04%