build: upgrade deps

This commit is contained in:
dependabot-preview[bot] 2019-07-28 22:12:17 +08:00 committed by Haishan
parent b54a11338f
commit a3590a8530
3 changed files with 313 additions and 2019 deletions

View file

@ -34,20 +34,20 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.5.5", "@babel/runtime": "^7.5.5",
"@hot-loader/react-dom": "^16.8.6", "@hot-loader/react-dom": "^16.9.0",
"@hsjs/react-cache": "0.0.0-alpha.aa94237", "@hsjs/react-cache": "0.0.0-alpha.aa94237",
"@sentry/browser": "^5.5.0", "@sentry/browser": "^5.6.1",
"chart.js": "^2.7.3", "chart.js": "^2.7.3",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"core-js": "^3.1.4", "core-js": "^3.2.1",
"history": "^4.7.2", "history": "^4.7.2",
"invariant": "^2.2.4", "invariant": "^2.2.4",
"lodash-es": "^4.17.14", "lodash-es": "^4.17.14",
"memoize-one": "^5.0.5", "memoize-one": "^5.0.5",
"modern-normalize": "^0.5.0", "modern-normalize": "^0.5.0",
"prop-types": "^15.5.10", "prop-types": "^15.5.10",
"react": "^16.8.4", "react": "^16.9.0",
"react-dom": "^16.8.4", "react-dom": "^16.9.0",
"react-modal": "^3.9.1", "react-modal": "^3.9.1",
"react-router-dom": "^5.0.1", "react-router-dom": "^5.0.1",
"react-window": "^1.8.5", "react-window": "^1.8.5",
@ -69,34 +69,34 @@
"babel-eslint": "^10.0.2", "babel-eslint": "^10.0.2",
"babel-loader": "^8.0.5", "babel-loader": "^8.0.5",
"clean-webpack-plugin": "^3.0.0", "clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.0", "copy-webpack-plugin": "^5.0.4",
"css-loader": "^3.1.0", "css-loader": "^3.2.0",
"cssnano": "^4.1.7", "cssnano": "^4.1.7",
"eslint": "^5.13.0", "eslint": "^5.13.0",
"eslint-config-react-app": "^4.0.1", "eslint-config-react-app": "^4.0.1",
"eslint-import-resolver-webpack": "^0.11.0", "eslint-import-resolver-webpack": "^0.11.0",
"eslint-plugin-flowtype": "^3.10.4", "eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.18.0", "eslint-plugin-import": "^2.18.0",
"eslint-plugin-jest": "^22.13.6", "eslint-plugin-jest": "^22.15.1",
"eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3", "eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.6.1", "eslint-plugin-react-hooks": "^1.7.0",
"file-loader": "^4.1.0", "file-loader": "^4.2.0",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"husky": "^3.0.1", "husky": "^3.0.3",
"lint-staged": "^9.2.0", "lint-staged": "^9.2.0",
"mini-css-extract-plugin": "^0.8.0", "mini-css-extract-plugin": "^0.8.0",
"postcss-extend-rule": "^2.0.0", "postcss-extend-rule": "^3.0.0",
"postcss-import": "^12.0.1", "postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0", "postcss-loader": "^3.0.0",
"postcss-nested": "^4.1.2", "postcss-nested": "^4.1.2",
"prettier": "^1.17.1", "prettier": "^1.17.1",
"react-hot-loader": "^4.12.9", "react-hot-loader": "^4.12.11",
"style-loader": "^0.23.0", "style-loader": "^1.0.0",
"svg-sprite-loader": "^4.1.2", "svg-sprite-loader": "^4.1.2",
"terser-webpack-plugin": "^1.2.2", "terser-webpack-plugin": "^1.4.1",
"webpack": "^4.37.0", "webpack": "^4.39.2",
"webpack-bundle-analyzer": "^3.0.3", "webpack-bundle-analyzer": "^3.4.1",
"webpack-cli": "^3.3.6", "webpack-cli": "^3.3.6",
"webpack-dev-middleware": "^3.5.2", "webpack-dev-middleware": "^3.5.2",
"webpack-hot-middleware": "^2.22.2" "webpack-hot-middleware": "^2.22.2"

View file

@ -73,12 +73,14 @@ if (isDev) {
const loaders = { const loaders = {
style: { style: {
loader: 'style-loader', loader: 'style-loader'
options: { // options: {
// workaround css modules HMR issue // workaround css modules HMR issue
// see https://github.com/webpack-contrib/style-loader/issues/320 // see https://github.com/webpack-contrib/style-loader/issues/320
hmr: false // hmr: false
} // }
//
// the options hmr is removed in style-loader v1.0.0
}, },
css: { loader: 'css-loader' }, css: { loader: 'css-loader' },
cssModule: { cssModule: {

2282
yarn.lock

File diff suppressed because it is too large Load diff