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.63 to 0.1.64

53

package.json
{
"name": "use-http",
"version": "0.1.63",
"version": "0.1.64",
"homepage": "https://codesandbox.io/embed/km04k9k9x5",
"main": "dist/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alex-cory/use-http.git"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@types/fetch-mock": "^7.2.3",
"@types/jest": "^24.0.12",
"@types/react": "^16.8.8",
"@types/react-dom": "^16.8.4",
"fetch-mock": "^7.3.1",
"jest": "^24.7.1",
"react-hooks-testing-library": "^0.5.0",
"ts-jest": "^24.0.0",
"typescript": "^3.4.5"
},
"scripts": {
"prepublish": "yarn build # runs before publish",
"build": "rm -rf dist && ./node_modules/.bin/tsc --module CommonJS",
"test": "tsc -p . --noEmit && tsc -p ./src/__tests__ && jest"
},
"files": [
"dist"
],
"keywords": [

@@ -45,26 +73,3 @@ "react hook",

"query"
],
"repository": {
"type": "git",
"url": "https://github.com/alex-cory/use-http.git"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@types/jest": "^24.0.12",
"@types/react": "^16.8.8",
"@types/react-dom": "^16.8.4",
"jest": "^24.7.1",
"typescript": "^3.4.5"
},
"scripts": {
"prepublish": "yarn build # runs before publish",
"build": "rm -rf dist && ./node_modules/.bin/tsc --module CommonJS",
"test": "tsc -p . --noEmit && tsc -p ./src/__tests__ && jest"
},
"files": [
"dist"
]
}
<h1 align="center">useFetch</h1>
<p align="center">
<h1 align="center">useFetch</h1>
</p>
<p align="center">🐶 React hook for making isomorphic http requests</p>

@@ -12,5 +14,4 @@ <p align="center">

<a href="https://www.npmjs.com/package/use-http">
<img src="https://img.shields.io/npm/dt/use-http.svg" />
<img src="https://img.shields.io/npm/dm/use-http.svg" />
</a>
<br />
<a href="https://lgtm.com/projects/g/alex-cory/use-http/context:javascript">

@@ -22,2 +23,5 @@ <img alt="undefined" src="https://img.shields.io/lgtm/grade/javascript/g/alex-cory/use-http.svg?logo=lgtm&logoWidth=18"/>

</a>
<a href="https://bundlephobia.com/result?p=use-http">
<img alt="undefined" src="https://img.shields.io/bundlephobia/minzip/use-http.svg">
</a>
</p>

@@ -58,3 +62,3 @@

function addTodo () {
function addTodo() {
todos.post({

@@ -61,0 +65,0 @@ title: 'no way',

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