Update dependencies and resolve hidden error

This commit is contained in:
Preston 2020-09-18 18:11:58 -04:00
parent 08dbe59624
commit b58821908a
3 changed files with 355 additions and 445 deletions

777
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -44,11 +44,12 @@
"youtube-comments-task": "^1.3.15",
"youtube-suggest": "^1.1.0",
"yt-channel-info": "^1.1.1",
"yt-comment-scraper": "^1.0.0",
"yt-dash-manifest-generator": "^1.1.0",
"yt-trending-scraper": "^1.0.3",
"yt-xml2vtt": "^1.1.2",
"ytdl-core": "^3.2.2",
"ytpl": "^1.0.0",
"ytpl": "^1.0.1",
"ytsr": "^1.0.1"
},
"description": "A private YouTube client",
@ -58,16 +59,16 @@
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"acorn": "^8.0.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^6.1.0",
"copy-webpack-plugin": "^6.1.1",
"css-loader": "^4.3.0",
"devtron": "^1.4.0",
"electron": "^10.1.1",
"electron-builder": "^22.8.0",
"electron": "^10.1.2",
"electron-builder": "^22.8.1",
"electron-builder-squirrel-windows": "^22.8.1",
"electron-debug": "^3.1.0",
"electron-rebuild": "^2.0.3",
@ -88,19 +89,19 @@
"node-abi": "^2.19.1",
"node-loader": "^1.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1",
"sass": "^1.26.10",
"prettier": "^2.1.2",
"sass": "^1.26.11",
"sass-loader": "^10.0.2",
"style-loader": "^1.2.1",
"tree-kill": "1.2.2",
"typescript": "^4.0.2",
"typescript": "^4.0.3",
"url-loader": "^4.1.0",
"vue-devtools": "^5.1.4",
"vue-eslint-parser": "^7.1.0",
"vue-loader": "^15.9.3",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.44.1",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},

View File

@ -217,7 +217,7 @@ export default Vue.extend({
this.videoLikeCount = result.videoDetails.likes
this.videoDislikeCount = result.videoDetails.dislikes
this.isLive = result.player_response.videoDetails.isLiveContent
this.isUpcoming = result.player_response.videoDetails.isUpcoming
this.isUpcoming = result.player_response.videoDetails.isUpcoming ? result.player_response.videoDetails.isUpcoming : false
if (!this.isLive && !this.isUpcoming) {
const captionTracks =