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

imdb-api

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imdb-api - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

defs/node.d.ts

9

package.json

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

"description": "Queries unofficial imdb APIs to get movie and television information from imdb",
"version": "1.1.0",
"version": "1.2.0",
"main": "lib/imdb.js",

@@ -15,5 +15,8 @@ "homepage": "https://github.com/worr/node-imdb-api",

"repository" : { "type" : "git", "url": "https://github.com/worr/node-imdb-api" },
"scripts": { "test": "./node_modules/.bin/nodeunit test" },
"scripts": {
"test": "make test",
"install": "make build"
},
"dependencies": {
"node.extend": "1.x.x"
"typescript": "0.8.x"
},

@@ -20,0 +23,0 @@ "devDependencies": {

@@ -9,3 +9,3 @@ # node-imdb-api

var imdb = require('imdb');
var imdb = require('imdb-api');

@@ -12,0 +12,0 @@ Call get.

@@ -0,1 +1,3 @@

"use strict";
var http = require('http');

@@ -17,3 +19,3 @@ var nock = require('nock');

test.equal(data.imdbid, 'tt0090191', "testing returned data");
test.equal(typeof(data.episodes), "object", "testing for null episodes");
test.equal(typeof(data.episodes), "function", "testing for null episodes");

@@ -20,0 +22,0 @@ test.done();

@@ -0,1 +1,3 @@

"use strict";
var http = require('http');

@@ -17,3 +19,3 @@ var nock = require('nock');

test.equal(data.title, 'The Toxic Avenger', "testing returned data");
test.equal(typeof(data.episodes), "object", "testing for null episodes");
test.equal(typeof(data.episodes), "undefined", "testing for null episodes");

@@ -48,2 +50,2 @@ test.done();

}
}
}

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