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 0.1.96 to 0.1.97

10

dist/useFetch.js

@@ -95,9 +95,9 @@ "use strict";

}, [url, requestInit, isServer]);
const post = makeFetch(types_1.HTTPMethod.POST);
const del = makeFetch(types_1.HTTPMethod.DELETE);
const post = react_1.useCallback(makeFetch(types_1.HTTPMethod.POST), [makeFetch]);
const del = react_1.useCallback(makeFetch(types_1.HTTPMethod.DELETE), [makeFetch]);
const request = {
get: makeFetch(types_1.HTTPMethod.GET),
get: react_1.useCallback(makeFetch(types_1.HTTPMethod.GET), [makeFetch]),
post,
patch: makeFetch(types_1.HTTPMethod.PATCH),
put: makeFetch(types_1.HTTPMethod.PUT),
patch: react_1.useCallback(makeFetch(types_1.HTTPMethod.PATCH), [makeFetch]),
put: react_1.useCallback(makeFetch(types_1.HTTPMethod.PUT), [makeFetch]),
del,

@@ -104,0 +104,0 @@ delete: del,

{
"name": "use-http",
"version": "0.1.96",
"version": "0.1.97",
"homepage": "http://use-http.com",

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

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