Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Updated to redux-logger v3
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Mar 23, 2017
1 parent f22f592 commit 91f5957
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"readable-code": "^1.5.2",
"redux": "^3.6.0",
"redux-immutable-state-invariant": "^2.0.0",
"redux-logger": "^2.10.2",
"redux-logger": "^3.0.0",
"redux-thunk": "^2.2.0",
"rimraf": "^2.6.1",
"serialize-javascript": "^1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/api/common/State.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function createReduxStore({ reducers = {}, middlewares = [], enhancers =
// Note: Logger must be the last middleware in chain, otherwise it will log thunk and
// promise, not actual actions (https://github.com/evgenyrodionov/redux-logger/issues/20).
process.env.TARGET === "web" ?
require("redux-logger")({ collapsed: true }) : emptyMiddleware
require("redux-logger").createLogger({ collapsed: true }) : emptyMiddleware
),
...enhancers
)
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7557,9 +7557,9 @@ redux-immutable-state-invariant@^2.0.0:
invariant "^2.1.0"
json-stringify-safe "^5.0.1"

redux-logger@^2.10.2:
version "2.10.2"
resolved "https://registry.yarnpkg.com/redux-logger/-/redux-logger-2.10.2.tgz#3c5a5f0a6f32577c1deadf6655f257f82c6c3937"
redux-logger@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/redux-logger/-/redux-logger-3.0.0.tgz#f552052d8992d058cfcdb42b5c654fa5f7beb9cc"
dependencies:
deep-diff "0.3.4"

Expand Down

0 comments on commit 91f5957

Please sign in to comment.