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

local-video-library

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

local-video-library - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

10

index.js

@@ -1,2 +0,2 @@

'use strict'
'use strict';

@@ -8,3 +8,3 @@ const Parser = require('library-parser');

module.exports = class Library {
constructor(traktId = String(), paths = Array(), debug) {
constructor(traktId = String(), paths = Array(), debug = false) {
if (!traktId) throw Error('You need to pass a Trakt.tv client_id, see http://docs.trakt.apiary.io/');

@@ -53,3 +53,3 @@ if (!paths.length) throw Error('At least one path is required');

resolve(this.matchedFiles.concat(this.unmatchedFiles));
}
};

@@ -66,3 +66,3 @@ queue.push(files);

this.trakt.matcher.match(file).then((md = Object()) => {
this.trakt.matcher.match(file).then((md = {}) => {
file.metadata = md;

@@ -78,2 +78,2 @@

}
}
};

@@ -5,3 +5,3 @@ {

"author": "Jean van Kasteel",
"version": "1.1.0",
"version": "1.2.0",
"license": "MIT",

@@ -13,7 +13,7 @@ "repository": {

"dependencies": {
"library-parser": "1.x.x",
"async": "2.x.x",
"trakt.tv": "^5.x.x",
"trakt.tv-matcher": "^5.x.x"
"async": "^2.6.1",
"library-parser": "^1.1.0",
"trakt.tv": "^7.1.0",
"trakt.tv-matcher": "^7.x.x"
}
}
}

@@ -17,4 +17,4 @@ # local-video-library

var Parser = require('local-video-library');
var library = new Parser(traktId, paths, debug);
const Parser = require('local-video-library');
const library = new Parser(traktId, paths, debug);

@@ -21,0 +21,0 @@ library.scan(paths).then((localLibrary) => {

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