Socket
Socket
Sign inDemoInstall

tmdb-node

Package Overview
Dependencies
48
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.0 to 0.8.1

4

lib/api.js

@@ -127,7 +127,7 @@ var config = require('./config')

TmdbApi.prototype.search = function(where,query,opts,callback) {
if(!query || typeof query !== 'string') return callback("You must specify a query!")
if(typeof opts === 'function'){
callback = opts
opts = {}
opts = { qs : {} }
}
if(!query || typeof query !== 'string') return callback("You must specify a query!")
opts.uri = formUri(config.endpoints.search[where])

@@ -134,0 +134,0 @@ opts.qs.query = query

{
"name": "tmdb-node",
"version": "0.8.0",
"version": "0.8.1",
"description": "Wrapper for The Movie Database api",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc