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

caption-core

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caption-core - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

10

examples/download.js

@@ -6,6 +6,6 @@ const Core = require("./../dist/index");

{
name: "Vikings.S04E03.PROPER.HDTV.x264-KILLERS.srt",
name:
"Comedians in Cars.eps2.0.unm4sk-pt2.tc.1080p.WEB-DL.DD5.1.H264-NTb.srt",
downloadUrl:
"https://dl.opensubtitles.org/en/download/src-api/vrf-19a90c51/sid-NLc6F2GB58zJLo-Qd8iaELspR-4/filead/1955117623.gz",
encoding: "ASCII",
"http://dl.opensubtitles.org/en/download/src-api/vrf-19bc0c59/sid-NWi9,PbRu-XVfHuV1OQ5jEwcTHd/filead/1955264178",
extention: "",

@@ -17,3 +17,3 @@ source: "opensubtitles",

"opensubtitles",
"/Users/gielcobben/Downloads/opensubtitles.srt",
"/Users/vernon/Movies/opensubtitles.srt",
);

@@ -40,3 +40,3 @@

"addic7ed",
"/Users/gielcobben/Downloads/addic7ed.srt",
"/Users/vernon/Movies/addic7ed.srt",
);
const Core = require("./../dist/index");
Core.searchByQuery("Vikings", "eng", 10)
Core.searchByQuery("Comedians in Cars getting coffee", "eng", 10)
.on("fastest", results => console.log("Fastest results", results))
.on("completed", results => console.log("All results", results));
{
"name": "caption-core",
"version": "2.1.0",
"version": "2.1.1",
"description": "Download subtitles from multiple sources.",

@@ -17,3 +17,8 @@ "main": "dist/index.js",

},
"keywords": ["caption", "subtitles", "opensubtitles", "addic7ed"],
"keywords": [
"caption",
"subtitles",
"opensubtitles",
"addic7ed"
],
"author": {

@@ -44,6 +49,7 @@ "name": "Giel Cobben",

"bluebird": "^3.5.1",
"iconv-lite": "^0.4.19",
"lodash": "^4.17.4",
"opensubtitles-api": "^4.0.0",
"request": "^2.83.0",
"zlib": "^1.0.5"
"request-promise-native": "^1.0.5"
},

@@ -68,3 +74,6 @@ "devDependencies": {

"jest": {
"moduleDirectories": ["node_modules", "src"],
"moduleDirectories": [
"node_modules",
"src"
],
"transform": {

@@ -71,0 +80,0 @@ "^.+\\.js?$": "babel-jest"

Sorry, the diff of this file is too big to display

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