Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youtube-transcript

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-transcript - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

dist/youtube-transcript.common.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc