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.0.0 to 2.0.1

4

index.js

@@ -44,3 +44,3 @@ var namedQueue = require('named-queue');

if (cache.hasOwnProperty(key))
return cb(null, cache[key], { match: 'cache' })
return cb(null, cache[key][0], { match: cache[key][1].match, isCached: true })

@@ -56,3 +56,3 @@ queue.push({

if (imdb_id) {
cache[key] = imdb_id
cache[key] = [imdb_id, match]
setTimeout(function() { delete cache[key] }, CACHE_TTL)

@@ -59,0 +59,0 @@ }

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

@@ -5,0 +5,0 @@ "main": "index.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