youtube-transcript
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -102,3 +102,3 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});/*! ***************************************************************************** | ||
} | ||
const transcriptURL = ((config === null || config === void 0 ? void 0 : config.lang) ? captions.captionTracks.find((track) => track.languageCode === config.lang) | ||
const transcriptURL = ((config === null || config === void 0 ? void 0 : config.lang) ? captions.captionTracks.find((track) => track.languageCode === (config === null || config === void 0 ? void 0 : config.lang)) | ||
: captions.captionTracks[0]).baseUrl; | ||
@@ -105,0 +105,0 @@ const transcriptResponse = yield fetch(transcriptURL, { |
@@ -104,3 +104,3 @@ /*! ***************************************************************************** | ||
} | ||
const transcriptURL = ((config === null || config === void 0 ? void 0 : config.lang) ? captions.captionTracks.find((track) => track.languageCode === config.lang) | ||
const transcriptURL = ((config === null || config === void 0 ? void 0 : config.lang) ? captions.captionTracks.find((track) => track.languageCode === (config === null || config === void 0 ? void 0 : config.lang)) | ||
: captions.captionTracks[0]).baseUrl; | ||
@@ -107,0 +107,0 @@ const transcriptResponse = yield fetch(transcriptURL, { |
{ | ||
"name": "youtube-transcript", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Fetch transcript from a youtube video", | ||
@@ -5,0 +5,0 @@ "main": "dist/youtube-transcript.common.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18329
0
4