Commit Graph

5 Commits

Author SHA1 Message Date
lilydjwg 254a229401 fix support for Python 3.7 2020-09-24 18:56:14 +08:00
lilydjwg cd1cbfde30 support per source plugin configuration and support different registry for the npm source 2020-09-24 18:27:30 +08:00
Felix Yan 71a63f90f6
npm: Fetch only first 1KB
The result is still large even after specifying
"Accept: application/vnd.npm.install-v1+json". Since the content we need
are always at the beginning of the response, let's make it more violent.
2020-09-23 20:04:02 +08:00
Felix Yan 23bcbf8906
npm: Request abbreviated metadata to reduce download size
Ref:
https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md
2020-09-23 16:51:09 +08:00
lilydjwg 870fb99182 port more sources 2020-08-17 22:04:44 +08:00