Socket
Socket
Sign inDemoInstall

npm-api

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-api - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

2

lib/list.js

@@ -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)",

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