Closed TommyDew42 closed 2 years ago
@fengmk2 @atian25
'fs/promises'
is only available for node version >= 14. We either remove fs/promises
or remove tests running on version 8 & 12.
proxy.test.js
(node versions 14 & 16)It seems to me https://registry.npm.taobao.org
response has been changed since the time we wrote proxy.test.js
.
Going to https://registry.npm.taobao.org
would redirect (302) us to https://registry.npmmirror.com/
Going to (http) http://registry.npmmirror.com/pedding/1.0.0
also redirect us to (https) https://registry.npmmirror.com/pedding/1.0.0
I suggest changing https://registry.npm.taobao.org
to https://registry.npmmirror.com
. It should solve test should proxy https work
but it ended up with a new error:
Would love to have your ideas how we should solve the errors!
What this PR is for?
Remove utility lib from dependencies. Requested by issue 362.
How the changes are tested?
Unit tests.