diff --git a/package-lock.json b/package-lock.json index af015126..e9917be6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9818,9 +9818,9 @@ "dev": true }, "prettier": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", - "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", + "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", "dev": true }, "prettier-linter-helpers": { diff --git a/package.json b/package.json index ede0f148..c65495e3 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "image-minimizer-webpack-plugin": "^2.1.0", "imagemin-svgo": "^8.0.0", "jest": "^26.6.3", - "prettier": "^2.2.1", + "prettier": "^2.3.0", "source-map-loader": "^2.0.1", "style-loader": "^2.0.0", "stylelint": "^13.13.1", diff --git a/src/components/maincontroller.ts b/src/components/maincontroller.ts index b51980c7..21f93a45 100644 --- a/src/components/maincontroller.ts +++ b/src/components/maincontroller.ts @@ -724,7 +724,8 @@ export function setTextTrack(index: number | null): void { return; } - const tracks: Array = textTracksManager.getTracks(); + const tracks: Array = + textTracksManager.getTracks(); const subtitleTrack: framework.messages.Track | undefined = tracks.find( (track: framework.messages.Track) => { return track.trackId === index; @@ -737,7 +738,8 @@ export function setTextTrack(index: number | null): void { const subtitleAppearance = window.subtitleAppearance; if (subtitleAppearance) { - const textTrackStyle = new cast.framework.messages.TextTrackStyle(); + const textTrackStyle = + new cast.framework.messages.TextTrackStyle(); if (subtitleAppearance.dropShadow != null) { // Empty string is DROP_SHADOW