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.3.1 to 1.4.0

4

es/usePaginated.js

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

var _useAsync = useAsync(service, _objectSpread({}, restOptions, {
var _useAsync = useAsync(service, _objectSpread({
defaultParams: [{

@@ -50,3 +50,3 @@ current: 1,

}]
})),
}, restOptions)),
data = _useAsync.data,

@@ -53,0 +53,0 @@ params = _useAsync.params,

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

var _useAsync = (0, _useAsync2.default)(service, _objectSpread({}, restOptions, {
var _useAsync = (0, _useAsync2.default)(service, _objectSpread({
defaultParams: [{

@@ -61,3 +61,3 @@ current: 1,

}]
})),
}, restOptions)),
data = _useAsync.data,

@@ -64,0 +64,0 @@ params = _useAsync.params,

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

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

"devDependencies": {
"@umijs/hooks": "^1.8.1",
"@umijs/hooks": "^1.9.0",
"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