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

adnf

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adnf - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

12

dist/adnf.d.ts

@@ -23,3 +23,3 @@ declare type AbortControllerGroup = {

declare type Declare<F extends Fetch> = <V = unknown, E = unknown, A = void>(resource: Resource, options?: FetchOptions | ((args: A) => FetchOptions)) => InferResult<F> extends FetchResult ? Declaration<FetchResult<V, E>, never, A> : Declaration<V, null | E, A>;
declare type Declare<F extends Fetch> = <V = unknown, E = unknown, A = void>(resource: Resource, options?: FetchOptions | ((args: A) => FetchOptions)) => InferFetchResult<F> extends FetchResult ? Declaration<FetchResult<V, E>, never, A> : Declaration<V, null | E, A>;

@@ -103,4 +103,12 @@ /**

declare type InferResult<F extends Fetch> = F extends Fetch<infer F> ? F : never;
export declare type Infer<F> = F extends {
fetch: (...args: any) => Promise<FetchResult<infer V, any>>;
} ? V : InferFetchValue<F>;
export declare type InferFetchError<F> = F extends (...args: any) => Promise<FetchResult<any, infer E>> ? E : never;
export declare type InferFetchResult<F extends Fetch> = F extends Fetch<infer F> ? F : never;
export declare type InferFetchValue<F> = F extends (...args: any) => Promise<FetchResult<infer V, any>> ? V : never;
export declare const mergeOptions: (prevOptions?: FetchOptions, options?: FetchOptions, warn?: boolean) => FetchOptions;

@@ -107,0 +115,0 @@

2

package.json
{
"name": "adnf",
"version": "0.0.19",
"version": "0.0.20",
"type": "module",

@@ -5,0 +5,0 @@ "files": [

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