Comparing version 0.4.2 to 0.4.3
@@ -58,3 +58,3 @@ /*! | ||
return yield new Promise(function(resolve, reject) { | ||
utils.request(this.url(params), function (err, response, body) { | ||
utils.request(self.url(params), function (err, response, body) { | ||
if (err) return reject(err); | ||
@@ -61,0 +61,0 @@ var res = {}; |
@@ -61,4 +61,4 @@ /*! | ||
//https://skimdb.npmjs.com/registry/_design/app/_view/listAll?key=%22assemble%22 | ||
var view = new this.View('listAll'); | ||
var results = yield view.query({key: JSON.stringify(this.name)}); | ||
var view = new self.View('listAll'); | ||
var results = yield view.query({key: JSON.stringify(self.name)}); | ||
self.set('pkg', results.map(function (pkg) { | ||
@@ -65,0 +65,0 @@ return pkg.value; |
{ | ||
"name": "npm-api", | ||
"description": "Base class for retrieving data from the npm registry.", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"homepage": "https://github.com/doowb/npm-api", | ||
@@ -6,0 +6,0 @@ "author": "Brian Woodward (https://github.com/doowb)", |
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
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