orchestra-components
Advanced tools
Comparing version 0.8.1 to 0.9.0
{ | ||
"name": "orchestra-components", | ||
"version": "0.8.1", | ||
"version": "0.9.0", | ||
"description": "", | ||
"main": "index.js", | ||
"repository": "https://github.com/ahumphreys87/orchestra-components", | ||
"author": "Andrew Humphreys <ahumphreys87@googlemail.com>", | ||
@@ -13,6 +14,4 @@ "contributors": "Liam Swinney <me@liamswinney.co.uk>", | ||
"node-polyglot": "^2.2.2", | ||
"redux": "^3.6.0", | ||
"redux-logger": "^2.7.4", | ||
"redux-thunk": "^2.1.0" | ||
"redux": "^3.6.0" | ||
} | ||
} |
import { createStore, applyMiddleware, compose } from 'redux'; | ||
import thunkMiddleware from 'redux-thunk'; | ||
@@ -17,3 +16,3 @@ const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; | ||
export function configureStore(reducer, preloadedState) { | ||
export function configureStore(reducer, preloadedState, middleware = []) { | ||
return createStore( | ||
@@ -23,7 +22,5 @@ reducer, | ||
composeEnhancers( | ||
applyMiddleware( | ||
thunkMiddleware | ||
) | ||
applyMiddleware(...middleware) | ||
) | ||
); | ||
}; |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
16778
4
13
284
- Removedredux-logger@^2.7.4
- Removedredux-thunk@^2.1.0
- Removed@babel/runtime@7.26.9(transitive)
- Removeddeep-diff@0.3.4(transitive)
- Removedredux@4.2.1(transitive)
- Removedredux-logger@2.10.2(transitive)
- Removedredux-thunk@2.4.2(transitive)
- Removedregenerator-runtime@0.14.1(transitive)