Comparing version 0.1.63 to 0.1.64
{ | ||
"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', |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31309
328
1
9