Socket
Socket
Sign inDemoInstall

query-registry

Package Overview
Dependencies
17
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

2.6.0

Diff

Changelog

Source

[2.6.0] - 2022-08-13

Added

  • Added custom normalization for git urls; the normalized values for the gitRepository property may change with respect to previous releases

Changed

  • Updated dependencies and dev dependencies

Removed

  • Removed dependency on git-url-parse
velut
published 2.5.0 •

Changelog

Source

[2.5.0] - 2022-05-28

Added

  • N/A

Changed

  • Fixed ESM export declarations in package.json (Thanks @mt-empty)
  • Updated dependencies and dev dependencies

Removed

  • N/A
velut
published 2.5.0-0 •

velut
published 2.4.0 •

Changelog

Source

[2.4.0] - 2022-05-11

Added

  • N/A

Changed

  • Preserve subdomains in git repository URLs (https://git.example.com/user/repo) (Thanks @tomdyqin)
  • Updated dependencies and dev dependencies

Removed

  • N/A
velut
published 2.3.0 •

Changelog

Source

[2.3.0] - 2022-04-27

Added

  • N/A

Changed

  • Preserve pathnames in registry URLs (https://example.com/my/npm/registry) (Thanks @tomdyqin)
  • Updated dependencies and dev dependencies

Removed

  • N/A
velut
published 2.3.0-0 •

velut
published 2.2.0 •

Changelog

Source

[2.2.0] - 2021-12-01

Added

  • Abbreviated packuments (application/vnd.npm.install-v1+json) can now be retrieved using getAbbreviatedPackument() or getRawAbbreviatedPackument()

Changed

  • Responses are now cached based on headers and URL
  • Updated docs
  • Updated dependencies and dev dependencies
  • Moved debug package to dev dependencies

Removed

  • N/A
velut
published 2.2.0-0 •

velut
published 2.1.0-0 •

velut
published 2.0.0 •

Changelog

Source

[2.0.0] - 2021-03-09

Added

  • Export named functions to query the npm registry
    • getDailyPackageDownloads()
    • getDailyRegistryDownloads()
    • getPackageDownloads()
    • getPackageManifest()
    • getPackument()
    • getRawPackageManifest()
    • getRawPackument()
    • getRegistryDownloads()
    • getRegistryMetadata()
    • searchPackages()
  • This package can now be used in a browser environment
  • BREAKING CHANGE: Added export map to package.json

Changed

  • Updated typing of registry responses
  • Updated normalization of custom properties on Packument and PackageManifest interfaces
  • Updated and reduced number of dependencies

Removed

  • BREAKING CHANGE: Removed Registry class; use the exported functions instead
23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc