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

made-in-generator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

made-in-generator - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

11

lib/madeIn.js

@@ -17,2 +17,3 @@ 'use strict';

const SORTS = [undefined, 'followers', 'repositories', 'joined']; // undefined will be used best match
const DELAY = 60 * 1000;

@@ -22,2 +23,3 @@ const LOWEST_STAR = 3;

const MAXIMUM_LENGTH = 30;
const MAXIMUM_PAGE = 33;

@@ -141,2 +143,3 @@ const filepath = _.transform([

location,
sort: 0,
page: index === 0 ? page : 1

@@ -148,2 +151,3 @@ };

q: `location:${location}`,
sort: SORTS[info.sort],
page: info.page

@@ -154,5 +158,10 @@ };

.then(items => {
info.page++;
const developers = _.map(items, 'login');
this._developers.push(...developers);
if (info.page++ > MAXIMUM_PAGE) {
info.page = 0;
if (++info.sort === SORTS.length) {
return [];
}
}
return developers;

@@ -159,0 +168,0 @@ });

2

package.json
{
"name": "made-in-generator",
"version": "0.2.0",
"version": "0.2.1",
"description": "Geneator of made-in-xxx",

@@ -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