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

http-react

Package Overview
Dependencies
Maintainers
0
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-react - npm Package Compare versions

Comparing version 3.6.9 to 3.6.91

1

dist/index.d.ts

@@ -13,4 +13,5 @@ /**

export { FetchConfig, SSRSuspense } from './components/server';
export { SSRSuspense as Suspense } from './components/server';
export { queryProvider, mutateData, revalidate, cancelRequest, getMiliseconds } from './utils';
export { defaultCache } from './internal';
export { Client, setURLParams, hasBaseUrl, isDefined, isFormData, isFunction, serialize, notNull, setQueryParams, setParamsAndQuery, actionResult, actionData, $form, $formData, $searchParams, jsonCompare, windowExists, queue, gql, getRequestHeaders as $headers } from './utils/shared';

6

dist/index.js

@@ -10,4 +10,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.setURLParams = exports.Client = exports.defaultCache = exports.getMiliseconds = exports.cancelRequest = exports.revalidate = exports.mutateData = exports.queryProvider = exports.SSRSuspense = exports.FetchConfig = exports.useAction = exports.useServerMutation = exports.useServerAction = exports.useMutation = exports.useIsomorphicLayoutEffect = exports.useDebounceFetch = exports.useSuccess = exports.useRevalidating = exports.useReFetch = exports.useOnline = exports.useLoadingFirst = exports.useHasData = exports.useExpiration = exports.useFetchSuspense = exports.useRequestStart = exports.useRequestEnd = exports.useResponseTime = exports.useResolve = exports.useImperative = exports.useGql = exports.useUNLINK = exports.useText = exports.usePUT = exports.usePURGE = exports.usePOST = exports.usePATCH = exports.useOPTIONS = exports.useManualFetch = exports.useMutate = exports.useLoading = exports.useLINK = exports.useHEAD = exports.useGET = exports.useFetchId = exports.useError = exports.useDELETE = exports.useConfig = exports.useCode = exports.useBlob = exports.useData = void 0;
exports.$headers = exports.gql = exports.queue = exports.windowExists = exports.jsonCompare = exports.$searchParams = exports.$formData = exports.$form = exports.actionData = exports.actionResult = exports.setParamsAndQuery = exports.setQueryParams = exports.notNull = exports.serialize = exports.isFunction = exports.isFormData = exports.isDefined = exports.hasBaseUrl = void 0;
exports.Client = exports.defaultCache = exports.getMiliseconds = exports.cancelRequest = exports.revalidate = exports.mutateData = exports.queryProvider = exports.Suspense = exports.SSRSuspense = exports.FetchConfig = exports.useAction = exports.useServerMutation = exports.useServerAction = exports.useMutation = exports.useIsomorphicLayoutEffect = exports.useDebounceFetch = exports.useSuccess = exports.useRevalidating = exports.useReFetch = exports.useOnline = exports.useLoadingFirst = exports.useHasData = exports.useExpiration = exports.useFetchSuspense = exports.useRequestStart = exports.useRequestEnd = exports.useResponseTime = exports.useResolve = exports.useImperative = exports.useGql = exports.useUNLINK = exports.useText = exports.usePUT = exports.usePURGE = exports.usePOST = exports.usePATCH = exports.useOPTIONS = exports.useManualFetch = exports.useMutate = exports.useLoading = exports.useLINK = exports.useHEAD = exports.useGET = exports.useFetchId = exports.useError = exports.useDELETE = exports.useConfig = exports.useCode = exports.useBlob = exports.useData = void 0;
exports.$headers = exports.gql = exports.queue = exports.windowExists = exports.jsonCompare = exports.$searchParams = exports.$formData = exports.$form = exports.actionData = exports.actionResult = exports.setParamsAndQuery = exports.setQueryParams = exports.notNull = exports.serialize = exports.isFunction = exports.isFormData = exports.isDefined = exports.hasBaseUrl = exports.setURLParams = void 0;
const hooks_1 = require("./hooks");

@@ -59,2 +59,4 @@ exports.default = hooks_1.useFetch;

Object.defineProperty(exports, "SSRSuspense", { enumerable: true, get: function () { return server_1.SSRSuspense; } });
var server_2 = require("./components/server");
Object.defineProperty(exports, "Suspense", { enumerable: true, get: function () { return server_2.SSRSuspense; } });
var utils_1 = require("./utils");

@@ -61,0 +63,0 @@ Object.defineProperty(exports, "queryProvider", { enumerable: true, get: function () { return utils_1.queryProvider; } });

{
"name": "http-react",
"version": "3.6.9",
"version": "3.6.91",
"description": "React hooks for data fetching",

@@ -5,0 +5,0 @@ "main": "dist/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