@types/redux-storage
Advanced tools
Comparing version 4.0.11 to 4.1.0
@@ -1,5 +0,7 @@ | ||
// Type definitions for redux-storage 4.0.1 | ||
// Project: https://github.com/michaelcontento/redux-storage | ||
// Type definitions for redux-storage 4.1.2 | ||
// Project: https://github.com/react-stack/redux-storage | ||
// Definitions by: Alexey Svetliakov <https://github.com/asvetliakov> | ||
// Alexey Pelykh <https://github.com/alexey-pelykh> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
@@ -44,2 +46,8 @@ /// <reference types="redux" /> | ||
/** | ||
* Callback that checks action type | ||
* @param type | ||
*/ | ||
export type ActionTypeCheckCallback = (type: string) => boolean | ||
/** | ||
* Create storage middleware | ||
@@ -50,3 +58,3 @@ * @param engine | ||
*/ | ||
export function createMiddleware(engine: StorageEngine, actionBlacklist?: string[], actionWhitelist?: string[]): Middleware; | ||
export function createMiddleware(engine: StorageEngine, actionBlacklist?: string[], actionWhitelist?: string[] | ActionTypeCheckCallback): Middleware; | ||
@@ -53,0 +61,0 @@ /** |
{ | ||
"name": "@types/redux-storage", | ||
"version": "4.0.11", | ||
"version": "4.1.0", | ||
"description": "TypeScript definitions for redux-storage", | ||
@@ -11,15 +11,22 @@ "license": "MIT", | ||
"githubUsername": "asvetliakov" | ||
}, | ||
{ | ||
"name": "Alexey Pelykh", | ||
"url": "https://github.com/alexey-pelykh", | ||
"githubUsername": "alexey-pelykh" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/redux-storage" | ||
}, | ||
"scripts": {}, | ||
"dependencies": { | ||
"redux": "^3.6.0" | ||
"redux": "^3.6.0 || ^4.0.0" | ||
}, | ||
"typesPublisherContentHash": "e574313594bef729ea4fe52513c8ebf7ff27b60a2c0a614ee35d51f1d28aa360", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "4dd4fa94f0249d020bd800fd574633ee02f19a40ca8ae55ea4b38c0ecbc5bb3f", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for redux-storage (https://github.com/michaelcontento/redux-storage). | ||
This package contains type definitions for redux-storage ( https://github.com/react-stack/redux-storage ). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-storage | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-storage | ||
Additional Details | ||
* Last updated: Wed, 20 Dec 2017 14:50:50 GMT | ||
* Dependencies: redux | ||
* Last updated: Sat, 04 May 2019 07:57:49 GMT | ||
* Dependencies: @types/redux | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Alexey Svetliakov <https://github.com/asvetliakov>. | ||
These definitions were written by Alexey Svetliakov <https://github.com/asvetliakov>, Alexey Pelykh <https://github.com/alexey-pelykh>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5973
98
+ Added@babel/runtime@7.25.6(transitive)
+ Addedredux@4.2.1(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlodash-es@4.17.21(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedredux@3.7.2(transitive)
- Removedsymbol-observable@1.2.0(transitive)
Updatedredux@^3.6.0 || ^4.0.0