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

@umijs/use-request

Package Overview
Dependencies
Maintainers
13
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umijs/use-request - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

es/useLoadMore.js

@@ -128,3 +128,3 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }

var scrollMethod = useCallback(function () {
if (loading || !ref || !ref.current) {
if (loading || loadingMore || !ref || !ref.current) {
return;

@@ -131,0 +131,0 @@ }

@@ -139,3 +139,3 @@ "use strict";

var scrollMethod = (0, _react.useCallback)(function () {
if (loading || !ref || !ref.current) {
if (loading || loadingMore || !ref || !ref.current) {
return;

@@ -142,0 +142,0 @@ }

{
"name": "@umijs/use-request",
"version": "1.4.0",
"version": "1.4.1",
"description": "React Hooks for fetching, caching and updating asynchronous data",

@@ -38,3 +38,3 @@ "main": "./lib/index.js",

"devDependencies": {
"@umijs/hooks": "^1.9.0",
"@umijs/hooks": "^1.9.1",
"axios": "^0.19.2"

@@ -41,0 +41,0 @@ },

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