New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ghcrawler

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghcrawler - npm Package Compare versions

Comparing version 0.2.17 to 0.2.18

17

lib/crawlerService.js

@@ -95,20 +95,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

}
return Q()
.then(this._getRequests.bind(this, queue, count))
.then(this._finishRequests.bind(this, queue, remove))
return queue.popMany(count, remove);
}
_getRequests(queue, count) {
const result = [];
for (let i = 0; i < count; i++) {
result.push(queue.pop());
}
return Q.all(result).then(requests =>
requests.filter(request => request));
}
_finishRequests(queue, remove, requests) {
return Q.all(requests.map(request => remove ? queue.done(request) : queue.abandon(request))).thenResolve(requests);
}
_reconfigure(current, changes) {

@@ -115,0 +100,0 @@ // if the loop count changed, make it so

2

package.json
{
"name": "ghcrawler",
"version": "0.2.17",
"version": "0.2.18",
"description": "A robust GitHub API crawler that walks a queue of GitHub entities retrieving and storing their contents.",

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

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