New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/redux

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/redux - npm Package Compare versions

Comparing version 3.5.30 to 3.6.31

79

redux/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for Redux v3.5.2
// Type definitions for Redux v3.6.0
// Project: https://github.com/reactjs/redux

@@ -18,7 +18,7 @@ // Definitions by: William Buchwalter <https://github.com/wbuchwalter/>, Vincent Prouillet <https://github.com/Keats/>, Kaur Kuut <https://github.com/xStrom>

* performed. Types can be defined as constants and imported from another
* module. It’s better to use strings for `type` than Symbols because strings
* module. It's better to use strings for `type` than Symbols because strings
* are serializable.
*
* Other than `type`, the structure of an action object is really up to you.
* If you’re interested, check out Flux Standard Action for recommendations on
* If you're interested, check out Flux Standard Action for recommendations on
* how actions should be constructed.

@@ -97,3 +97,3 @@ */

* The base dispatch function *always* synchronously sends an action to the
* store’s reducer, along with the previous state returned by the store, to
* store's reducer, along with the previous state returned by the store, to
* calculate a new state. It expects actions to be plain objects ready to be

@@ -119,3 +119,3 @@ * consumed by the reducer.

/**
* A store is an object that holds the application’s state tree.
* A store is an object that holds the application's state tree.
* There should only be a single store in a Redux app, as the composition

@@ -226,3 +226,3 @@ * happens on the reducer level.

*
* Most likely you’ll never write a store enhancer, but you may use the one
* Most likely you'll never write a store enhancer, but you may use the one
* provided by the developer tools. It is what makes time travel possible

@@ -315,3 +315,3 @@ * without the app being aware it is happening. Amusingly, the Redux

* Calling an action creator only produces an action, but does not dispatch
* it. You need to call the store’s `dispatch` function to actually cause the
* it. You need to call the store's `dispatch` function to actually cause the
* mutation. Sometimes we say *bound action creators* to mean functions that

@@ -374,2 +374,7 @@ * call an action creator and immediately dispatch its result to a specific

type Func0<R> = () => R;
type Func1<T1, R> = (a1: T1) => R;
type Func2<T1, T2, R> = (a1: T1, a2: T2) => R;
type Func3<T1, T2, T3, R> = (a1: T1, a2: T2, a3: T3, ...args: any[]) => R;
/**

@@ -385,26 +390,54 @@ * Composes single-argument functions from right to left. The rightmost

*/
function compose(): <R>(a: R, ...args: any[]) => R;
function compose(): <R>(a: R) => R;
function compose<F extends Function>(f: F): F;
/* two functions */
function compose<A, R>(
f1: (b: A) => R,
f2: (...args: any[]) => A
): (...args: any[]) => R;
f1: (b: A) => R, f2: Func0<A>
): Func0<R>;
function compose<A, T1, R>(
f1: (b: A) => R, f2: Func1<T1, A>
): Func1<T1, R>;
function compose<A, T1, T2, R>(
f1: (b: A) => R, f2: Func2<T1, T2, A>
): Func2<T1, T2, R>;
function compose<A, T1, T2, T3, R>(
f1: (b: A) => R, f2: Func3<T1, T2, T3, A>
): Func3<T1, T2, T3, R>;
/* three functions */
function compose<A, B, R>(
f1: (b: B) => R,
f2: (a: A) => B,
f3: (...args: any[]) => A
): (...args: any[]) => R;
f1: (b: B) => R, f2: (a: A) => B, f3: Func0<A>
): Func0<R>;
function compose<A, B, T1, R>(
f1: (b: B) => R, f2: (a: A) => B, f3: Func1<T1, A>
): Func1<T1, R>;
function compose<A, B, T1, T2, R>(
f1: (b: B) => R, f2: (a: A) => B, f3: Func2<T1, T2, A>
): Func2<T1, T2, R>;
function compose<A, B, T1, T2, T3, R>(
f1: (b: B) => R, f2: (a: A) => B, f3: Func3<T1, T2, T3, A>
): Func3<T1, T2, T3, R>;
/* four functions */
function compose<A, B, C, R>(
f1: (b: C) => R,
f2: (a: B) => C,
f3: (a: A) => B,
f4: (...args: any[]) => A
): (...args: any[]) => R;
f1: (b: C) => R, f2: (a: B) => C, f3: (a: A) => B, f4: Func0<A>
): Func0<R>;
function compose<A, B, C, T1, R>(
f1: (b: C) => R, f2: (a: B) => C, f3: (a: A) => B, f4: Func1<T1, A>
): Func1<T1, R>;
function compose<A, B, C, T1, T2, R>(
f1: (b: C) => R, f2: (a: B) => C, f3: (a: A) => B, f4: Func2<T1, T2, A>
): Func2<T1, T2, R>;
function compose<A, B, C, T1, T2, T3, R>(
f1: (b: C) => R, f2: (a: B) => C, f3: (a: A) => B, f4: Func3<T1, T2, T3, A>
): Func3<T1, T2, T3, R>;
/* rest */
function compose<R>(
f1: (a: any) => R,
...funcs: Function[]
f1: (b: any) => R, ...funcs: Function[]
): (...args: any[]) => R;
}
function compose<R>(...funcs: Function[]): (...args: any[]) => R;
}
{
"name": "@types/redux",
"version": "3.5.30",
"description": "TypeScript definitions for Redux v3.5.2",
"version": "3.6.31",
"description": "TypeScript definitions for Redux v3.6.0",
"license": "MIT",

@@ -14,4 +14,5 @@ "author": "William Buchwalter <https://github.com/wbuchwalter/>, Vincent Prouillet <https://github.com/Keats/>, Kaur Kuut <https://github.com/xStrom>",

"dependencies": {},
"peerDependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "a28e6cdce3bbe87f650ba04c329fbc0475e1b797322fe726108e24cb88f9e87d"
"typesPublisherContentHash": "a4f408b298f1bc0c56c8b84d528f390db510ce9e67ce67878ac4bd4ec1bffd50"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for Redux v3.5.2 (https://github.com/reactjs/redux).
This package contains type definitions for Redux v3.6.0 (https://github.com/reactjs/redux).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* Last updated: Wed, 05 Oct 2016 20:53:38 GMT
* File structure: UMD

@@ -15,0 +15,0 @@ * Library Dependencies: none

@@ -7,4 +7,4 @@ {

"libraryMajorVersion": "3",
"libraryMinorVersion": "5",
"libraryName": "Redux v3.5.2",
"libraryMinorVersion": "6",
"libraryName": "Redux v3.6.0",
"typingsPackageName": "redux",

@@ -23,3 +23,3 @@ "projectName": "https://github.com/reactjs/redux",

"hasPackageJson": false,
"contentHash": "a28e6cdce3bbe87f650ba04c329fbc0475e1b797322fe726108e24cb88f9e87d"
"contentHash": "a4f408b298f1bc0c56c8b84d528f390db510ce9e67ce67878ac4bd4ec1bffd50"
}
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