diff --git a/apps/block_scout_web/assets/js/lib/async_listing_load.js b/apps/block_scout_web/assets/js/lib/async_listing_load.js index 54aee37e03..785b1f4e2f 100644 --- a/apps/block_scout_web/assets/js/lib/async_listing_load.js +++ b/apps/block_scout_web/assets/js/lib/async_listing_load.js @@ -305,7 +305,7 @@ export const elements = { */ export function createAsyncLoadStore (reducer, initialState, itemKey) { const state = merge(asyncInitialState, initialState) - const store = createStore(reduceReducers(asyncReducer, reducer, state)) + const store = createStore(reduceReducers(state, asyncReducer, reducer)) if (typeof itemKey !== 'undefined') { store.dispatch({ diff --git a/apps/block_scout_web/assets/js/lib/random_access_pagination.js b/apps/block_scout_web/assets/js/lib/random_access_pagination.js index 6ef20ce6e8..bc36d26461 100644 --- a/apps/block_scout_web/assets/js/lib/random_access_pagination.js +++ b/apps/block_scout_web/assets/js/lib/random_access_pagination.js @@ -227,7 +227,7 @@ export const elements = { */ export function createAsyncLoadStore (reducer, initialState, itemKey) { const state = merge(asyncInitialState, initialState) - const store = createStore(reduceReducers(asyncReducer, reducer, state)) + const store = createStore(reduceReducers(state, asyncReducer, reducer)) if (typeof itemKey !== 'undefined') { store.dispatch({ diff --git a/apps/block_scout_web/assets/package-lock.json b/apps/block_scout_web/assets/package-lock.json index 701401e06f..98d819094b 100644 --- a/apps/block_scout_web/assets/package-lock.json +++ b/apps/block_scout_web/assets/package-lock.json @@ -52,7 +52,7 @@ "phoenix_html": "file:../../../deps/phoenix_html", "pikaday": "^1.8.2", "popper.js": "^1.14.7", - "reduce-reducers": "^0.4.3", + "reduce-reducers": "^1.0.4", "redux": "^4.2.0", "stream-browserify": "^3.0.0", "stream-http": "^3.1.1", @@ -95,11 +95,10 @@ } }, "../../../deps/phoenix": { - "version": "1.5.13", - "license": "MIT" + "version": "0.0.1" }, "../../../deps/phoenix_html": { - "version": "3.0.4" + "version": "0.0.1" }, "node_modules/@ampproject/remapping": { "version": "2.2.0", @@ -15464,9 +15463,9 @@ } }, "node_modules/reduce-reducers": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/reduce-reducers/-/reduce-reducers-0.4.3.tgz", - "integrity": "sha512-+CNMnI8QhgVMtAt54uQs3kUxC3Sybpa7Y63HR14uGLgI9/QR5ggHvpxwhGGe3wmx5V91YwqQIblN9k5lspAmGw==" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reduce-reducers/-/reduce-reducers-1.0.4.tgz", + "integrity": "sha512-Mb2WZ2bJF597exiqX7owBzrqJ74DHLK3yOQjCyPAaNifRncE8OD0wFIuoMhXxTnHK07+8zZ2SJEKy/qtiyR7vw==" }, "node_modules/redux": { "version": "4.2.0", @@ -30390,9 +30389,9 @@ } }, "reduce-reducers": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/reduce-reducers/-/reduce-reducers-0.4.3.tgz", - "integrity": "sha512-+CNMnI8QhgVMtAt54uQs3kUxC3Sybpa7Y63HR14uGLgI9/QR5ggHvpxwhGGe3wmx5V91YwqQIblN9k5lspAmGw==" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reduce-reducers/-/reduce-reducers-1.0.4.tgz", + "integrity": "sha512-Mb2WZ2bJF597exiqX7owBzrqJ74DHLK3yOQjCyPAaNifRncE8OD0wFIuoMhXxTnHK07+8zZ2SJEKy/qtiyR7vw==" }, "redux": { "version": "4.2.0", diff --git a/apps/block_scout_web/assets/package.json b/apps/block_scout_web/assets/package.json index 1cd3ea81b9..ab14ffc098 100644 --- a/apps/block_scout_web/assets/package.json +++ b/apps/block_scout_web/assets/package.json @@ -64,7 +64,7 @@ "phoenix_html": "file:../../../deps/phoenix_html", "pikaday": "^1.8.2", "popper.js": "^1.14.7", - "reduce-reducers": "^0.4.3", + "reduce-reducers": "^1.0.4", "redux": "^4.2.0", "stream-browserify": "^3.0.0", "stream-http": "^3.1.1",