Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fast-npm-meta

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-npm-meta - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

9

dist/index.d.ts

@@ -19,2 +19,6 @@ interface PackageManifest {

apiEndpoint?: string;
/**
* Fetch function
*/
fetch?: typeof fetch;
}

@@ -38,7 +42,8 @@ declare const defaultOptions: {

*
* @param scope - npm scope
* @param scope - scope of package, get from 'npm-package-arg'
* @param npmConfigs - npm configs, read from `.npmrc` file
* @param defaultRegistry - default registry, default to 'https://registry.npmjs.org/'
*/
declare function pickRegistry(scope: string, npmConfigs: Record<string, string>, defaultRegistry?: string): string;
declare function pickRegistry(scope: string | null | undefined, npmConfigs: Record<string, unknown>, defaultRegistry?: string): string;
export { type ApiOptions, NPM_REGISTRY, type PackageManifest, type ResolvedPackageVersion, defaultOptions, getLatestVersion, getLatestVersionBatch, getVersions, getVersionsBatch, pickRegistry };
{
"name": "fast-npm-meta",
"type": "module",
"version": "0.1.0",
"version": "0.1.1",
"description": "Get npm package metadata",

@@ -38,5 +38,2 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

],
"dependencies": {
"ofetch": "^1.3.4"
},
"scripts": {

@@ -43,0 +40,0 @@ "build": "unbuild",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc