jeffijoe / typesync

Install missing TypeScript typings for dependencies in your package.json.
MIT License
1.51k stars 21 forks source link

Upgrade axios@0.19.0, fixs HTTP_PROXY use issue #31

Closed septs closed 5 years ago

septs commented 5 years ago

Reference: axios/axios#925

➜  test git:(master) ✗ env | grep "PROXY"
HTTP_PROXY=http://127.0.0.1:6152
HTTPS_PROXY=http://127.0.0.1:6152
FTP_PROXY=http://127.0.0.1:6152
RSYNC_PROXY=http://127.0.0.1:6152
ALL_PROXY=http://127.0.0.1:6152
➜  test git:(master) ✗ # upgrade before
➜  test git:(master) ✗ time typesync
»  TypeSync v0.5.1
✖  Client network socket disconnected before secure TLS connection was established
Stack:
Error: Client network socket disconnected before secure TLS connection was established
    at connResetException (internal/errors.js:559:14)
    at TLSSocket.onConnectEnd (_tls_wrap.js:1357:19)
    at Object.onceWrapper (events.js:291:20)
    at TLSSocket.emit (events.js:208:15)
    at endReadableNT (_stream_readable.js:1154:12)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)
typesync  0.96s user 0.18s system 0% cpu 3:06.02 total
➜  test git:(master) ✗ # upgrade after
➜  test git:(master) ✗ time ../typesync/bin/typesync
»  TypeSync v0.5.1
✔  No new typings added, looks like you're all synced up!
../typesync/bin/typesync  0.13s user 0.02s system 6% cpu 2.329 total
coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 3f6ea27723c4fb6d521a6b27e1cd739672d152b3 on septs:master into f3da5037ea6142d91f4db47c22eaa0880f841d4d on jeffijoe:master.

septs commented 5 years ago

@jeffijoe Hope to release a patch version.

jeffijoe commented 5 years ago

Great! Will release when I get a chance!

septs commented 5 years ago

@jeffijoe When to release the next version?

jeffijoe commented 5 years ago

This has been released as 0.5.2, thanks!