🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@nrk/player-elements

Package Overview
Dependencies
Maintainers
196
Versions
421
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrk/player-elements - npm Package Compare versions

Package was removed
Sorry, it seems this package was removed from the registry
Comparing version
17.2.5
to
17.2.6
+5
-5
package.json
{
"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