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

reshow-return

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reshow-return - npm Package Compare versions

Comparing version 0.17.42 to 0.17.43

2

build/cjs/src/connectOptions.js

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

var reset = function reset(props, more) {
var cleanKeys = ["immutable", "initStates", "pathStates", "excludeStates", "renewProps", "store", "storeLocator"].concat((0, _toConsumableArray2["default"])(more || []));
var cleanKeys = ["excludeStates", "immutable", "initStates", "pathStates", "renewProps", "store", "storeLocator", "shouldComponentUpdate"].concat((0, _toConsumableArray2["default"])(more || []));
var i = cleanKeys.length;

@@ -31,0 +31,0 @@

@@ -16,2 +16,3 @@ "use strict";

* @property {boolean} [renewProps]
* @property {function({prev:any, nextProps:any, nextState:any}):boolean} [shouldComponentUpdate]
*/

@@ -32,6 +33,6 @@

excludeStates = _ref.excludeStates,
renewProps = _ref.renewProps,
shouldComponentUpdate = _ref.shouldComponentUpdate,
_ref$immutable = _ref.immutable,
immutable = _ref$immutable === void 0 ? true : _ref$immutable,
_ref$renewProps = _ref.renewProps,
renewProps = _ref$renewProps === void 0 ? true : _ref$renewProps;
immutable = _ref$immutable === void 0 ? true : _ref$immutable;
var state = (0, _reshowFlux.useConnect)(_connectOptions["default"])({

@@ -42,4 +43,5 @@ store: store,

excludeStates: excludeStates,
immutable: immutable,
renewProps: renewProps
renewProps: renewProps,
shouldComponentUpdate: shouldComponentUpdate,
immutable: immutable
});

@@ -46,0 +48,0 @@ return state;

{
"version": "0.17.42",
"version": "0.17.43",
"name": "reshow-return",

@@ -4,0 +4,0 @@ "repository": {

@@ -9,2 +9,7 @@ export default useReturn;

renewProps?: boolean;
shouldComponentUpdate?: (arg0: {
prev: any;
nextProps: any;
nextState: any;
}) => boolean;
};

@@ -18,2 +23,3 @@ export type UseReturnType = (initStates: import('./connectOptions').InitStatesProps, store: import("reshow-flux-base").StoreObject<any, any>, payload?: UseReturnPayLoad) => any;

* @property {boolean} [renewProps]
* @property {function({prev:any, nextProps:any, nextState:any}):boolean} [shouldComponentUpdate]
*/

@@ -20,0 +26,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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