profile
viewpoint
zfx fuxingZhang deno,node,swift,flutter,etc.

deno-library/progress 17

ProgressBar in terminal for deno

fuxingZhang/blog 9

Personal blog build on node.js, vue.js and mysql

fuxingZhang/egg-rabbitmq 4

egg rabbitmq plugin

fuxingZhang/egg-es 1

Elasticsearch plugin for Egg.js

fuxingZhang/bugu-web 0

BuguLink backend project (Koa2 + MySQL + Redis).

fuxingZhang/catalog 0

Catalog of shared Tasks and Pipelines.

fuxingZhang/child_process.spawn 0

Use child_process.spawn to process stream data passed by child processes

fuxingZhang/client-go 0

Go client for Kubernetes.

fuxingZhang/copydir 0

Copy files from one directory to another by nodejs

PR opened fuxingZhang/html2image

Bump urijs from 1.19.2 to 1.19.5

Bumps urijs from 1.19.2 to 1.19.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/medialize/URI.js/releases">urijs's releases</a>.</em></p> <blockquote> <h2>1.19.5 (December 30th 2020)</h2> <ul> <li>dropping jquery.URI.js from minified bundle accidentally added since v1.19.3 - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">#404</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">medialize/URI.js#404</a>)</li> </ul> <h2>1.19.4 (December 23rd 2020)</h2> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - followed up to by <a href="https://github.com/alesandroortiz">alesandroortiz</a> in [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">medialize/URI.js#403</a>), relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h2>1.19.3 (December 20th 2020)</h2> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - disclosed privately by <a href="https://github.com/alesandroortiz">alesandroortiz</a>, relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md">urijs's changelog</a>.</em></p> <blockquote> <h3>1.19.5 (December 30th 2020)</h3> <ul> <li>dropping jquery.URI.js from minified bundle accidentally added since v1.19.3 - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">#404</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">medialize/URI.js#404</a>)</li> </ul> <h3>1.19.4 (December 23rd 2020)</h3> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - followed up to by <a href="https://github.com/alesandroortiz">alesandroortiz</a> in [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">medialize/URI.js#403</a>), relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h3>1.19.3 (December 20th 2020)</h3> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - disclosed privately by <a href="https://github.com/alesandroortiz">alesandroortiz</a>, relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/medialize/URI.js/commit/d7bb4ce8cb71caa5063a617b2afdb5a0a3685532"><code>d7bb4ce</code></a> chore(build): bumping to version 1.19.5</li> <li><a href="https://github.com/medialize/URI.js/commit/bf04ec5f053829f9ea3a887608bdfca4fd84cd64"><code>bf04ec5</code></a> chore(build): bumping to version 1.19.4</li> <li><a href="https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155"><code>b02bf03</code></a> fix(parse): treat backslash as forwardslash in authority (<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>)</li> <li><a href="https://github.com/medialize/URI.js/commit/d7064ab9acbbdf8d8acc35d9dc2454cf1606ff98"><code>d7064ab</code></a> chore(build): bumping to version 1.19.3</li> <li><a href="https://github.com/medialize/URI.js/commit/4f45fafedec9fea4d65c2562721ec94343a33c2b"><code>4f45faf</code></a> fix(parse): treat backslash as forwardslash in authority</li> <li>See full diff in <a href="https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.5">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

pr created time in a month

create barnchfuxingZhang/html2image

branch : dependabot/npm_and_yarn/urijs-1.19.5

created branch time in a month

created repositoryry/tinyclouds2

created time in a month

issue closeddeno-library/progress

Render multiple progress bars

Thanks for making this library.

Sometimes we want to show multiple bars at a time, for example, if we program to download files, we want to show their progress on the console together. How to make that happen with this library? Thanks!

closed time in a month

shixiaobao17145

created repositoryry/test_repo

foo bar

created time in 2 months

issue openeddeno-library/progress

Render multiple progress bars

Thanks for making this library.

Sometimes we want to show multiple bars at a time, for example, if we program to download files, we want to show their progress on the console together. How to make that happen with this library? Thanks!

created time in 2 months

startedfuxingZhang/egg-es

started time in 2 months

startedfuxingZhang/egg-es

started time in 2 months

issue closeddeno-library/progress

feat: 添加变化速率

用于显示下载/上传速度。

这就有一个场景,需要我多线程下载, 然后汇总到一个进度条中。

比较麻烦的是,我得分别计算每一个线程,然后再汇总出一个下载速度 2Mb/s

如果在 display 模版中可以提供每妙变化的速率,那么就很好的支持了速度计算。

closed time in 3 months

axetroy

issue commentdeno-library/progress

feat: 添加变化速率

I implement it via extends

import { ProgressBar } from "https://deno.land/x/progress@v1.1.4/mod.ts";

export class Progress extends ProgressBar {
  public speed = 0;
  #current = 0;
  #updateAt = new Date();

  render(
    number: number,
    options?: {
      title?: string;
      total?: number;
      complete?: string;
      preciseBar?: string[];
      incomplete?: string;
    },
  ) {
    this.#current += number;
    const now = new Date();
    const diffTime = now.getTime() - this.#updateAt.getTime();
    this.#updateAt = now;

    this.speed = +((number / diffTime) * 1000).toFixed(2);

    return super.render(this.#current, options);
  }
}

axetroy

comment created time in 3 months

issue openeddeno-library/progress

feat: 添加变化速率

用于显示下载/上传速度。

这就有一个场景,需要我多线程下载, 然后汇总到一个进度条中。

比较麻烦的是,我得分别计算每一个线程,然后再汇总出一个下载速度 2Mb/s

如果在 display 模版中可以提供每妙变化的速率,那么就很好的支持了速度计算。

created time in 3 months

more