Skip to content

Commit

Permalink
Merge pull request #112 from terascope/dependabot/npm_and_yarn/multi-…
Browse files Browse the repository at this point in the history
…progress-4.0.0

Bump multi-progress from 3.0.0 to 4.0.0
  • Loading branch information
peterdemartini authored Nov 2, 2020
2 parents c1163d3 + 051b3b8 commit 6d83915
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "0.7.2",
"version": "0.7.3",
"description": "",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -41,7 +41,7 @@
"extract-zip": "^2.0.1",
"gauge": "^3.0.0",
"got": "^11.4.0",
"multi-progress": "^3.0.0",
"multi-progress": "^4.0.0",
"progress": "^2.0.3"
},
"devDependencies": {
Expand Down
5 changes: 2 additions & 3 deletions src/downloadRelease.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import os from 'os';
import fs from 'fs';
import path from 'path';
import Progress from 'progress';
import extract from 'extract-zip';
import getReleases from './getReleases';
import getLatest from './getLatest';
Expand All @@ -12,7 +11,7 @@ function pass() {
return true;
}

const MultiProgress = require('multi-progress')(Progress);
const MultiProgress = require('multi-progress');

async function downloadRelease(
user,
Expand All @@ -33,7 +32,7 @@ async function downloadRelease(
);
}
if (!disableLogging) {
console.log(`Downloading ${user}/${repo}@${release.tag_name}...`);
console.error(`Downloading ${user}/${repo}@${release.tag_name}...`);
}
const promises = release.assets.map(async (asset) => {
let progress;
Expand Down
2 changes: 1 addition & 1 deletion src/getLatest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function getLatest(releases, filterRelease = pass, filterAsset =
if (!releases) {
return null;
}

const filtered = releases.filter(filterRelease);

if (!filtered.length) {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3246,10 +3246,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==

multi-progress@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/multi-progress/-/multi-progress-3.0.0.tgz#ee33d96ecc9a96315bce6b6a82a1520ad91e7e98"
integrity sha512-4QNgWKyAy9PTasSyI66Yz5MxbebKY5+vuX74ZEL1jkwD9oheCWcDXqfKps99tW6iY9l2UeqbJ+/rETRYIeGUfg==
multi-progress@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/multi-progress/-/multi-progress-4.0.0.tgz#a14dd4e4da14f6a7cc2e1a5c0abd8b005dd23923"
integrity sha512-9zcjyOou3FFCKPXsmkbC3ethv51SFPoA4dJD6TscIp2pUmy26kBDZW6h9XofPELrzseSkuD7r0V+emGEeo39Pg==

[email protected]:
version "0.0.7"
Expand Down

0 comments on commit 6d83915

Please sign in to comment.