query-registry
Advanced tools
Changelog
[3.0.0] - 2024-04-23
Version 3 is a complete rewrite of query-registry.
This package is now a pure ESM package and uses the fetch global function to perform network requests.
Additionally, every response returned by the registry is now validated against its expected schema. This means that data can now be safely accessed according to the corresponding TypeScript type definition. Unexpected data will reject with an error; in this case open an issue to propose changes to the schemas.
These are the current package's exports:
fetch
for network requests.Changelog
[2.6.0] - 2022-08-13
gitRepository
property may change with respect to previous releasesgit-url-parse
Changelog
[2.5.0] - 2022-05-28
package.json
(Thanks @mt-empty).Changelog
[2.4.0] - 2022-05-11
https://git.example.com/user/repo
) (Thanks @tomdyqin).Changelog
[2.3.0] - 2022-04-27
https://example.com/my/npm/registry
) (Thanks @tomdyqin).Changelog
[2.2.0] - 2021-12-01
application/vnd.npm.install-v1+json
) can now be retrieved using getAbbreviatedPackument()
or getRawAbbreviatedPackument()
.debug
package to dev dependencies.