New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

use-http

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-http - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

2

dist/cjs/types.d.ts

@@ -118,3 +118,3 @@ import { ReactNode } from 'react';

loading: boolean;
error: Error;
error: Error | undefined;
cache: Cache;

@@ -121,0 +121,0 @@ }

import { ReqBase } from './types';
declare type ArrayDestructure<TData = any> = [TData | undefined, boolean, Error, (variables?: object) => Promise<any>];
declare type ArrayDestructure<TData = any> = [TData | undefined, boolean, Error | undefined, (variables?: object) => Promise<any>];
interface ObjectDestructure<TData = any> extends ReqBase<TData> {

@@ -4,0 +4,0 @@ mutate: (variables?: object) => Promise<any>;

import { ReqBase, Cache } from './types';
declare type ArrayDestructure<TData = any> = [TData | undefined, boolean, Error, (variables?: object) => Promise<any>];
declare type ArrayDestructure<TData = any> = [TData | undefined, boolean, Error | undefined, (variables?: object) => Promise<any>];
interface ObjectDestructure<TData = any> extends ReqBase<TData> {

@@ -4,0 +4,0 @@ query: (variables?: object) => Promise<any>;

@@ -118,3 +118,3 @@ import { ReactNode } from 'react';

loading: boolean;
error: Error;
error: Error | undefined;
cache: Cache;

@@ -121,0 +121,0 @@ }

import { ReqBase } from './types';
declare type ArrayDestructure<TData = any> = [TData | undefined, boolean, Error, (variables?: object) => Promise<any>];
declare type ArrayDestructure<TData = any> = [TData | undefined, boolean, Error | undefined, (variables?: object) => Promise<any>];
interface ObjectDestructure<TData = any> extends ReqBase<TData> {

@@ -4,0 +4,0 @@ mutate: (variables?: object) => Promise<any>;

import { ReqBase, Cache } from './types';
declare type ArrayDestructure<TData = any> = [TData | undefined, boolean, Error, (variables?: object) => Promise<any>];
declare type ArrayDestructure<TData = any> = [TData | undefined, boolean, Error | undefined, (variables?: object) => Promise<any>];
interface ObjectDestructure<TData = any> extends ReqBase<TData> {

@@ -4,0 +4,0 @@ query: (variables?: object) => Promise<any>;

{
"name": "use-http",
"version": "1.0.23",
"version": "1.0.24",
"homepage": "https://use-http.com",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

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