You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

query-registry

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

query-registry - npm Package Versions

23

4.1.0

Diff
v
velut
published 4.1.0 •

Changelog

Source

[4.1.0] - 2025-06-16

Changed

  • Upgraded dependencies
v
velut
published 4.0.1 •

Changelog

Source

[4.0.1] - 2025-03-31

Fixed

  • Catch unknown literal values in the type module format field (See https://github.com/velut/query-registry/issues/415) (Thanks @officialrajdeepsingh)
v
velut
published 4.0.0 •

Changelog

Source

[4.0.0] - 2025-01-20

Changed

  • BREAKING CHANGE: Updated the SearchCriteria and SearchResult types used with the searchPackages() function to align with the latest npm registry requirements and responses
  • Upgraded dependencies
v
velut
published 3.0.1 •

Changelog

Source

[3.0.1] - 2024-06-12

Changed

  • Type of sideEffects changed from boolean | undefined to boolean | string[] | undefined (See https://github.com/velut/zod-package-json/issues/5) (Thanks @Sec-ant)
  • Upgraded dependencies
v
velut
published 3.0.0 •

Changelog

Source

[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.

Added

These are the current package's exports:

  • Variables:
    • cache
    • npmRegistryDownloadsApiUrl
    • npmRegistryUrl
  • Functions:
    • getAbbreviatedPackument()
    • getBulkDailyPackageDownloads()
    • getBulkPackageDownloads()
    • getDailyPackageDownloads()
    • getDailyRegistryDownloads()
    • getPackageDownloads()
    • getPackageManifest()
    • getPackageVersionsDownloads()
    • getPackument()
    • getRegistryDownloads()
    • getRegistryMetadata()
    • getRegistrySigningKeys()
    • searchPackages()
  • Zod schemas / TypeScript types:
    • AbbreviatedPackument
    • BulkDailyPackageDownloads
    • BulkPackageDownloads
    • DailyPackageDownloads
    • DailyRegistryDownloads
    • DownloadPeriod
    • PackageDownloads
    • PackageJson
    • PackageManifest
    • PackageVersionsDownloads
    • Packument
    • RegistryDownloads
    • RegistryMetadata
    • RegistrySigningKeys
    • SearchCriteria
    • SearchResults

Changed

  • BREAKING CHANGE: This package is now a pure ESM package.
  • BREAKING CHANGE: Require Node.js 20 (latest LTS).
  • BREAKING CHANGE: Use fetch for network requests.
v
velut
published 3.0.0-1 •
v
velut
published 3.0.0-0 •
v
velut
published 2.6.0 •

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.
v
velut
published 2.5.0 •

Changelog

Source

[2.5.0] - 2022-05-28

Changed

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