Upgrade redux / redux-thunk

redux       | 3.6.0 | 4.0.1
redux-thunk | 2.2.0 | 2.3.0

Upgrading these two dependencies caused the build size to increase from
from 12.2 KB to 12.4 KB (gzip) and so the bundlesize was adjusted
accordingly in our package.json.

Additionally, our linters flagged two rules that were then turned off in
.eslintrc.es5.json.

Looks like the changes in Redux were mostly cosmetic with much work
dedicated to typescript definitiions and dropping support of private
imports [1].

The changes to redux-thunk only involved changing typescript typings and
should not affect us. [2]

The upgrade was tested locally and did not appear to break anything.

[1] https://github.com/reduxjs/redux/issues/1342#issue-130452197
[2] https://github.com/reduxjs/redux-thunk/releases/tag/v2.3.0

Bug: T209314
Change-Id: I35284793ca0c72914d9b9b2e7c28dd407bafd4d8
This commit is contained in:
Nicholas Ray 2018-12-12 23:41:12 -07:00
parent 0c1a65f39d
commit 63031429b8
4 changed files with 6 additions and 4 deletions

View file

@ -51,6 +51,8 @@
"no-implicit-coercion": 0,
"no-catch-shadow": 0,
"max-statements-per-line": 0,
"no-bitwise": 0
"no-bitwise": 0,
"no-loop-func": 0,
"no-new-func": 0
}
}

View file

@ -36,8 +36,8 @@
"jsdoc": "3.5.5",
"nyc": "13.1.0",
"pre-commit": "1.2.2",
"redux": "3.6.0",
"redux-thunk": "2.2.0",
"redux": "4.0.1",
"redux-thunk": "2.3.0",
"stylelint-config-wikimedia": "0.5.0",
"svg-inline-loader": "0.8.0",
"tap-mocha-reporter": "3.0.7",
@ -52,7 +52,7 @@
"bundlesize": [
{
"path": "resources/dist/index.js",
"maxSize": "12.2KB"
"maxSize": "12.4KB"
}
]
}

Binary file not shown.

Binary file not shown.