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

name-to-imdb

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

name-to-imdb - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

7

index.js
var namedQueue = require('named-queue');
var _ = require('lodash');
var helpers = require('./helpers')

@@ -29,3 +28,5 @@

var q = _.pick(args, 'name', 'year', 'type')
var q = { name: args.name }
if (args.year) q.year = args.year
if (args.type) q.type = args.type

@@ -43,3 +44,3 @@ if (! q.name)

var key = new Buffer(args.hintUrl || _.values(q).join(':')).toString('ascii') // convert to ASCII since EventEmitter bugs with UTF8
var key = new Buffer(args.hintUrl || Object.values(q).join(':')).toString('ascii') // convert to ASCII since EventEmitter bugs with UTF8

@@ -46,0 +47,0 @@ if (cache.hasOwnProperty(key) && Date.now()-cacheLastSet[key] < CACHE_TTL) {

{
"name": "name-to-imdb",
"version": "2.1.0",
"version": "2.1.1",
"description": "Finds IMDB ID by movie/series name (fuzzily) and optionally year and type",

@@ -26,3 +26,2 @@ "main": "index.js",

"dependencies": {
"lodash": "^3.10.1",
"named-queue": "^2.1.0",

@@ -29,0 +28,0 @@ "needle": "^1.1.2",

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