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

react-fetch-hook

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fetch-hook - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

23

package.json
{
"name": "react-fetch-hook",
"version": "1.7.1",
"version": "1.7.2",
"description": "React fetch hook",

@@ -14,4 +14,3 @@ "scripts": {

"run:example:depends": "parcel ./examples/depends/index.html",
"run:example:pagination": "parcel ./examples/pagination/index.html --no-cache",
"prepublish": "npm run flow:check && npm run typescript && npm run lint && npm run size && npm run test"
"run:example:pagination": "parcel ./examples/pagination/index.html --no-cache"
},

@@ -35,11 +34,5 @@ "eslintConfig": {

],
"limit": "397 B",
"path": "index.js"
},
{
"ignore": [
"react"
],
"limit": "227 B",
"path": "usePaginatedRequest.js"
"limit": "408 B",
"path": "index.js",
"running": false
}

@@ -59,7 +52,2 @@ ],

],
"pre-commit": [
"lint",
"flow:check",
"test"
],
"repository": {

@@ -112,3 +100,2 @@ "type": "git",

"parcel-bundler": "^1.12.3",
"pre-commit": "^1.2.2",
"react": "^16.8.0",

@@ -115,0 +102,0 @@ "react-dom": "^16.8.0",

# react-fetch-hook
[![Build Status](https://travis-ci.org/ilyalesik/react-fetch-hook.svg?branch=master)](https://travis-ci.org/ilyalesik/react-fetch-hook)
[![CircleCI](https://circleci.com/gh/ilyalesik/react-fetch-hook.svg?style=shield)](https://circleci.com/gh/ilyalesik/react-fetch-hook)
[![npm version](https://img.shields.io/npm/v/react-fetch-hook.svg)](https://www.npmjs.com/package/react-fetch-hook)

@@ -9,3 +9,3 @@ [![npm downloads](https://img.shields.io/npm/dt/react-fetch-hook.svg)](https://www.npmjs.com/package/react-fetch-hook)

* **Tiny** (397 B). Calculated by [size-limit](https://github.com/ai/size-limit)
* **Tiny** (408 B). Calculated by [size-limit](https://github.com/ai/size-limit)
* Both **Flow** and **TypeScript** types included

@@ -12,0 +12,0 @@

@@ -9,3 +9,3 @@ function flattenInput () {

}
} else if (input instanceof URL) {
} else if (typeof URL !== 'undefined' && input instanceof URL) {
res = res.concat(input.toJSON())

@@ -12,0 +12,0 @@ } else if (input instanceof Object) {

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