mirror of
https://github.com/ION606/linkedin-api.git
synced 2026-05-14 22:06:54 +00:00
company size fix
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ export function numsToSizes(...nums) {
|
||||
|
||||
const ranges = nums.map(findRangeIndex);
|
||||
if (ranges.includes(-1)) throw `${nums} CONTAINS AN INVALID RANGE!`;
|
||||
return `[${ranges.join(",")}]`;
|
||||
return `${ranges.join(",")}`;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+3
-2
@@ -38,8 +38,9 @@ export class LoadingBar {
|
||||
this.size = size;
|
||||
this.cursor = 0;
|
||||
this.timer = null;
|
||||
this.y = process.stdout.rows;
|
||||
|
||||
cursorTo(process.stdout, this.cursor);
|
||||
cursorTo(process.stdout, this.cursor, this.y);
|
||||
|
||||
// draw the initial outline
|
||||
process.stdout.write("\x1B[?25l");
|
||||
@@ -49,7 +50,7 @@ export class LoadingBar {
|
||||
}
|
||||
|
||||
increment(amt = 1) {
|
||||
cursorTo(process.stdout, this.cursor);
|
||||
cursorTo(process.stdout, this.cursor, this.y);
|
||||
for (let i = 0; i < amt; i++) process.stdout.write("\u2588");
|
||||
this.cursor += amt;
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
},
|
||||
"type": "module",
|
||||
"name": "linkedin-api-js",
|
||||
"version": "1.0.0-17",
|
||||
"version": "1.0.0-18",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
|
||||
Reference in New Issue
Block a user