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

deno-library/progress 13

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/bugu-web 0

BuguLink backend project (Koa2 + MySQL + Redis).

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

fuxingZhang/cordova 0

cordova apps

fuxingZhang/date 0

date format

created tagdeno-library/progress

tagv1.1.4

ProgressBar in terminal for deno

created time in 8 days

release deno-library/progress

v1.1.4

released time in 8 days

push eventdeno-library/progress

张复星

commit sha 8d3417b476277f916d48a3b8be307dd29e6c4917

v1.1.4

view details

push time in 8 days

push eventdeno-library/crc32

张复星

commit sha c8be222a67672196ab0a00f231695a76920abba6

add gitignore

view details

push time in 8 days

startedawslabs/diagram-maker

started time in 11 days

created tagdeno-library/compress

tagv0.3.6

compress and uncompress for Deno

created time in a month

release deno-library/compress

v0.3.6

released time in a month

push eventdeno-library/compress

张复星

commit sha 4720d3ef61c562408a261deb72f2cd1e06703a31

v0.3.6

view details

push time in a month

push eventdeno-library/compress

张复星

commit sha bb7e533281446b942f804543a6751e9ead5a192b

update deps.ts

view details

push time in a month

push eventdeno-library/compress

Jakob Hellermann

commit sha 85b6235da647fb2406ac7ef538e021f59ede0f94

fix: error because importsNotUsedAsValues with deno 1.4 --unstable see https://deno.land/posts/v1.4#stricter-type-checks-in-code--unstablecode

view details

zfx

commit sha e22db056e5e7eacf2c17c2fa1681a212785717d2

Merge pull request #3 from jakobhellermann/fix/import-type fix: error because of importsNotUsedAsValues with deno 1.4 --unstable

view details

push time in a month

PR merged deno-library/compress

fix: error because of importsNotUsedAsValues with deno 1.4 --unstable

see https://deno.land/posts/v1.4#stricter-type-checks-in-code--unstablecode

+4 -4

1 comment

4 changed files

jakobhellermann

pr closed time in a month

pull request commentdeno-library/compress

fix: error because of importsNotUsedAsValues with deno 1.4 --unstable

Sorry to see now.

jakobhellermann

comment created time in a month

push eventdeno-library/pg

张复星

commit sha 2334761573aa4a72d42c744323d46a25d074dc04

update

view details

push time in a month

fork fuxingZhang/client-go

Go client for Kubernetes.

fork in a month

push eventdeno-library/compress

fuxingZhang

commit sha 0c138aaa03647b854656d4946c8526e345bf10be

update

view details

push time in 2 months

created tagdeno-library/progress

tagv1.1.3

ProgressBar in terminal for deno

created time in 2 months

release deno-library/progress

v1.1.3

released time in 2 months

push eventdeno-library/progress

fuxingZhang

commit sha a60c421af4cab5ab0c772c306ad7e712659a5790

v1.1.3

view details

push time in 2 months

push eventfuxingZhang/go

fuxingZhang

commit sha 9b0b924c3791978e3b3e5193c405391d3c8a3ad9

update

view details

push time in 2 months

created tagdeno-library/compress

tagv0.3.5

compress and uncompress for Deno

created time in 2 months

release deno-library/compress

v0.3.5

released time in 2 months

push eventdeno-library/compress

fuxingZhang

commit sha 9c70d30f26f62183b8af55c055429065ec57cc29

v0.3.5

view details

push time in 2 months

pull request commentdeno-library/compress

fix(readme): typos

If you bump the version to 0.3.4 and publish a new tagged release, the changes will appear on https://deno.land/x/compress.

I have done it.

https://github.com/deno-library/compress/releases

jsejcksn

comment created time in 2 months

created tagdeno-library/compress

tagv0.3.4

compress and uncompress for Deno

created time in 2 months

release deno-library/compress

v0.3.4

released time in 2 months

push eventdeno-library/compress

fuxingZhang

commit sha 47201146e60263d7fbbeeb1583afd4125324bbfb

v0.3.4

view details

push time in 2 months

push eventdeno-library/compress

Jesse Jackson

commit sha 94d3baf7f8918bdf6c8ad133f73d872fc4401538

Fix a few typos

view details

zfx

commit sha acb172310289497b652c7a4c33b93b3c4ecb775c

Merge pull request #2 from jsejcksn/patch-1 fix(readme): typos

view details

push time in 2 months

PR merged deno-library/compress

fix(readme): typos

Just a few minor grammatical fixes

+7 -7

1 comment

1 changed file

jsejcksn

pr closed time in 2 months

pull request commentdeno-library/compress

fix(readme): typos

tanks

jsejcksn

comment created time in 2 months

push eventfuxingZhang/go

fuxingZhang

commit sha 6a512eee0566d44df9887b0e621b7b01601aadd2

godoc

view details

fuxingZhang

commit sha 29736665ad801e3bd7a31dd4396612527df1c4be

add logger

view details

push time in 2 months

push eventfuxingZhang/go

fuxingZhang

commit sha 0f0bcb9f168b72401d003f28a62856506285afcc

add channel

view details

push time in 2 months

issue commentdeno-library/progress

Render upon end

ProgressBar instance cannot be reused. If you need more than one, you can create multiple instances.

const progress1 = new ProgressBar();
const progress2 = new ProgressBar();

If you have a good idea, welcome to submit a pull request.

Brimstedt

comment created time in 2 months

created tagdeno-library/progress

tagv1.1.2

ProgressBar in terminal for deno

created time in 2 months

release deno-library/progress

v1.1.2

released time in 2 months

push eventdeno-library/progress

fuxingZhang

commit sha 6c281b2c6322688abd932a43e12d02e3b6244230

update to v1.1.2

view details

push time in 2 months

startedgravityblast/fresh

started time in 2 months

fork fuxingZhang/air

☁️ Live reload for Go apps

fork in 2 months

push eventfuxingZhang/go

fuxingZhang

commit sha 197b0a69a1fe3cd5d3031a8046c748566d577e6a

update

view details

push time in 2 months

push eventfuxingZhang/go

fuxingZhang

commit sha 19dc8d369b8fc5e90f87798a0725e638845469e3

update

view details

push time in 2 months

push eventfuxingZhang/go

fuxingZhang

commit sha 992c635b37bb1970901c59da5e3abda6a1117581

add config demo

view details

push time in 2 months

push eventdeno-library/compress

fuxingZhang

commit sha 27040c33859a2b7766d124f0d02771af2ebfaea0

update readme

view details

push time in 2 months

startedmobz/elasticsearch-head

started time in 3 months

push eventfuxingZhang/go

fuxingZhang

commit sha bf8924793e9388d9f745d793a28314a24161016c

update

view details

push time in 3 months

push eventfuxingZhang/go

fuxingZhang

commit sha 4d0b345c932e45a81e7cd37337f216d13a0795c8

update

view details

push time in 3 months

push eventfuxingZhang/go

fuxingZhang

commit sha da0f8fea4817f4b9a6dda3ad9f8e58decb46a29f

update

view details

push time in 3 months

create barnchfuxingZhang/go

branch : master

created branch time in 3 months

created repositoryfuxingZhang/go

created time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha ff1f007119c885e1430618c12075878592a725e2

update readme

view details

push time in 3 months

created tagdeno-library/compress

tagv0.3.3

compress and uncompress for Deno

created time in 3 months

release deno-library/compress

v0.3.3

released time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 18fb60fed8425044b75e08d2db7b1c73a80fd298

update tar

view details

fuxingZhang

commit sha fa25ce59d9821ef7d6ff608477f1f4b8ca225ef4

v0.3.3

view details

push time in 3 months

delete branch fuxingZhang/deno

delete branch : patch-1

delete time in 3 months

push eventfuxingZhang/deno

zfx

commit sha 0d8682b234c4c1241507f5d0ad0302a2ba3b3172

fix a bug meta.type is a numeric string ```ts meta.type = FileTypes[parseInt(meta.type!)] ?? meta.type; // meta.type = FileTypes[parseInt("0")] ?? "0"; ```

view details

push time in 3 months

Pull request review commentdenoland/deno

fix directory type

 function pad(num: number, bytes: number, base?: number): string {   return "000000000000".substr(numString.length + 12 - bytes) + numString; } -const types: { [key: string]: string } = {-  "": "file",-  "0": "file",-  "1": "link",-  "2": "symlink",-  "3": "character-device",-  "4": "block-device",-  "5": "directory",-};+enum Types {+  "file" = 0,+  "link" = 1,+  "symlink" = 2,+  "character-device" = 3,+  "block-device" = 4,+  "directory" = 5,+  "fifo" = 6,+  "contiguous-file" = 7,+}

in method #getMetadata of Class Untar, convert a numeric string to string, such as "0" => "file"

// before
meta.type = types[meta.type as string] || meta.type;
// now
meta.type =
  FileTypes[meta.type as keyof typeof FileTypes] as unknown as string ??
    meta.type;

if the value is string, i get an error

enum FileTypes {
  "file" = "0",
  "link" = 1,
}
console.log(FileTypes.file);
// ok
console.log(FileTypes[1]);
// throw an error: Element implicitly has an 'any' type because index expression is not of type 'number'.ts(7015)
console.log(FileTypes["0"]);
fuxingZhang

comment created time in 3 months

push eventfuxingZhang/deno

zfx

commit sha 6bf33f1b8953e3ec26f6ff0666bce296332b212b

Update tar.ts

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha c929dc47a8f28dd2cad85e1da84b4796edb75ea5

use FileTypes instead of Types

view details

push time in 3 months

Pull request review commentdenoland/deno

fix directory type

 export class Tar {       fileSize: pad(fileSize, 11),       mtime: pad(mtime, 11),       checksum: "        ",-      type: "0", // just a file+      type: info?.isDirectory ?? opts.type === "directory" ? "5" : "0",

I have updated the code, but I am not sure if it is appropriate.

I referenced some websites, and I add "fifo" and "contiguous-file" into Types

https://github.com/mafintosh/tar-stream http://www.gnu.org/software/tar/manual/html_node/Standard.html

fuxingZhang

comment created time in 3 months

push eventfuxingZhang/deno

zfx

commit sha 1a10bb31382ff7162162dbb593db7ca2f81da8f0

Update tar.ts

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha 36d62d9f2f3ad972bd657402f31e2192ea3b0bad

Update tar_test.ts

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha 743108aaa1998bc9ec0b76b5bf1b41839f76f10a

Update tar.ts

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha fbc9d11b9d87a3d962fad97f4b3aabe73beb30d7

Update tar_test.ts

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha aff81dbc89bbd1269ccc9680f3fd3327b6209ff8

format tar_test.ts

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha d2ef4495001ffcdf5e9d9012b21f42bea4b004c8

fix test

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha 527cacc252a6c7d9be0d3e864db5a6013d8c0e6b

Update tar_test.ts

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha b75a9d82a20300989bfd00800a871d80e090ad65

modify the judgment rule

view details

push time in 3 months

PR opened denoland/deno

fix directory type

<!-- Before submitting a PR, please read https://github.com/denoland/deno/blob/master/docs/contributing.md -->

I use tar.append to add a folder and I get incorrect entry.type.

image

+13 -1

0 comment

2 changed files

pr created time in 3 months

push eventfuxingZhang/deno

zfx

commit sha 61be69dcaf9a40c48fc78e653db7985da1e20d4d

add test

view details

push time in 3 months

created tagdeno-library/compress

tagv0.3.2

compress and uncompress for Deno

created time in 3 months

release deno-library/compress

v0.3.2

released time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 52a0e5baefe4f8773353398a2546346a946eaf80

delete test file

view details

fuxingZhang

commit sha 80f989de2f08776b1b193887e1a31d18d7cce2e1

v0.3.2

view details

push time in 3 months

push eventfuxingZhang/deno

zfx

commit sha 8d9c33617d5fcde6d2d22bd84015da7ce116fff6

fix directory type

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha e3fdd64ac85f70e8b2cd1c68452b088267307bb7

update tar

view details

push time in 3 months

fork fuxingZhang/deno

A secure JavaScript and TypeScript runtime

https://deno.land

fork in 3 months

created tagdeno-library/compress

tagv0.3.1

compress and uncompress for Deno

created time in 3 months

release deno-library/compress

v0.3.1

released time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 10f7d742fac86dbb7e310a49e1deb289a146267e

v0.3.1

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 50702738b8fca70fa61c334e9721b9456128299c

update tar and tgz

view details

push time in 3 months

created tagdeno-library/compress

tagv0.3.0

compress and uncompress for Deno

created time in 3 months

release deno-library/compress

v0.3.0

released time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 945f18747004459895083be64fae4b05541cfd82

update version

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 89eb24e49afb1ba396a8403deb76e7d6a904ab87

update readme for tgz

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 3b9a774440b698bb513e5f428f7e30f960cbf34c

add tgz

view details

push time in 3 months

created tagdeno-library/crc32

tagv0.2.0

created time in 3 months

release deno-library/crc32

v0.2.0

released time in 3 months

created tagdeno-library/compress

tagv0.2.2

compress and uncompress for Deno

created time in 3 months

release deno-library/compress

v0.2.2

released time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha d8dff2753181bc4f820bf5195263bc5975ccd829

update

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 25f9e152eef23942066941bd83b8c7e859fc2322

update readme

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha e00a9e5e2c3b8ba029bb8ee226d2b29408119642

update readme

view details

push time in 3 months

created tagdeno-library/compress

tagv0.2.1

compress and uncompress for Deno

created time in 3 months

release deno-library/compress

v0.2.1

released time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 21f013cd203afb8aef33f22029c80ca3c908b378

update version

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 2f63b49c342694d7391320b4cc69d2bce729104c

update zlib

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 66185e77614d818f68dbc194d53840a21476f32c

update gzip

view details

push time in 3 months

created tagdeno-library/compress

tagv0.2.0

compress and uncompress for Deno

created time in 3 months

release deno-library/compress

v0.2.0

released time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 175662489771a2f638da0814e3551b7b5ec4c861

update readme

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 24b08b878c35da49882800fc29c99dae9a20d1f7

update version

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 53ab3a938add4b67879cd4e91c83b46ef0ec5a48

update deflate doc

view details

push time in 3 months

push eventdeno-library/compress

fuxingZhang

commit sha 32287038f562474b37875cbab98f9177a8c2f207

export default zlib.deflate

view details

push time in 3 months

more