New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yifysubtitles

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yifysubtitles - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

4

index.js
const rp = require('request-promise');
const etl = require('etl');
const unzipper = require('unzipper').Parse;
const srt2vtt = require('srt-to-vtt');

@@ -39,6 +40,7 @@ const apiUri = 'http://api.yifysubtitles.com/subs';

.pipe(etl.map(entry => {
const fileName = entry.path;
const fileName = entry.path.replace('srt', 'vtt');
if (!fileName.match(reg)) {
writed = fileName;
return entry
.pipe(srt2vtt())
.pipe(etl.toFile(path + '/' + fileName));

@@ -45,0 +47,0 @@ }

{
"name": "yifysubtitles",
"version": "1.1.0",
"version": "1.2.0",
"description": "A simple wrapper to download subtitles from yifysubtitles api.",

@@ -11,4 +11,4 @@ "main": "index.js",

"repository": {
"type": "git",
"url": "https://github.com/MRdotB/yifysubtitles"
"type": "git",
"url": "https://github.com/MRdotB/yifysubtitles"
},

@@ -20,14 +20,15 @@ "license": "MIT",

"request-promise": "^4.1.1",
"srt-to-vtt": "^1.1.1",
"unzipper": "^0.7.2"
},
"keywords": [
"yifysubtitles",
"yify",
"subtitles",
"api",
"wrapper",
"srt",
"movies",
"films"
]
"keywords": [
"yifysubtitles",
"yify",
"subtitles",
"api",
"wrapper",
"srt",
"movies",
"films"
]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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