Comparing version 1.1.0 to 1.2.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75251
11
1427
1
+ Addedtypescript@0.8.x
+ Addedtypescript@0.8.3(transitive)
- Removednode.extend@1.x.x
- Removedhas@1.0.4(transitive)
- Removedis@3.3.0(transitive)
- Removednode.extend@1.1.8(transitive)