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

redux-thunk-recursion-detect

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-thunk-recursion-detect - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

10

index.d.ts

@@ -19,4 +19,2 @@ import {

* @template TBasicAction The (non-thunk) actions that can be dispatched.
* @template TReturnTypeConstraint Gives the ability to restrain the possible
* thunk return types
*/

@@ -29,3 +27,3 @@ export interface ThunkDispatch<

<TReturnType>(
thunkAction: ThunkAction<TState, TExtraThunkArg, TBasicAction, TReturnType>
thunkAction: ThunkAction<TReturnType, TState, TExtraThunkArg, TBasicAction>
): TReturnType;

@@ -47,10 +45,8 @@ <A extends TBasicAction>(action: A): A;

* @template TBasicAction The (non-thunk) actions that can be dispatched.
* @template TReturnTypeConstraint Gives the ability to restrain the possible
* thunk return types
*/
export type ThunkAction<
TReturnType,
TState,
TExtraThunkArg,
TBasicAction extends Action,
TReturnType
TBasicAction extends Action
> = (

@@ -57,0 +53,0 @@ dispatch: ThunkDispatch<TState, TExtraThunkArg, TBasicAction>,

{
"name": "redux-thunk-recursion-detect",
"version": "1.1.2",
"version": "1.1.3",
"description": "A drop-in replacement for `redux-thunk` that allows middleware to detect that a thunk has been dispatched from within another thunk",

@@ -40,3 +40,3 @@ "main": "dist/reduxThunkRecursionDetect.cjs.js",

},
"gitHead": "ce99a9a31342577e2c19976999ecab10ec1cdd7f"
"gitHead": "82813e05d3976d70495bfdc91ced88e1161e0eb8"
}
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