fast-npm-meta 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -30,6 +30,9 @@ interface PackageError {
|
|
|
30
30
|
error: string;
|
|
31
31
|
}
|
|
32
32
|
type MaybeError<T> = T | PackageError;
|
|
33
|
+
interface PackageManifestError extends PackageError {
|
|
34
|
+
lastSynced: number;
|
|
35
|
+
}
|
|
33
36
|
interface ResolvedPackageVersion {
|
|
34
37
|
name: string;
|
|
35
38
|
version: string | null;
|
|
@@ -119,4 +122,4 @@ declare const NPM_REGISTRY = "https://registry.npmjs.org/";
|
|
|
119
122
|
*/
|
|
120
123
|
declare function pickRegistry(scope: string | null | undefined, npmConfigs: Record<string, unknown>, defaultRegistry?: string): string;
|
|
121
124
|
|
|
122
|
-
export { type FetchOptions, type GetLatestVersionOptions, type GetVersionsOptions, type InferGetLatestVersionResult, type InferGetVersionsResult, NPM_REGISTRY, type PackageManifest, type ResolvedPackageVersion, defaultOptions, getLatestVersion, getLatestVersionBatch, getVersions, getVersionsBatch, pickRegistry };
|
|
125
|
+
export { type Engines, type FetchOptions, type GetLatestVersionOptions, type GetVersionsOptions, type InferGetLatestVersionResult, type InferGetVersionsResult, type MaybeError, NPM_REGISTRY, type PackageError, type PackageManifest, type PackageManifestError, type PackageVersionMeta, type PackageVersionsInfo, type PackageVersionsInfoWithMetadata, type ResolvedPackageVersion, type ResolvedPackageVersionWithMetadata, defaultOptions, getLatestVersion, getLatestVersionBatch, getVersions, getVersionsBatch, pickRegistry };
|