From 475ba3d5d6c8db419430dc0ae12362eb605a4873 Mon Sep 17 00:00:00 2001 From: DD Liu Date: Mon, 29 Jul 2019 13:02:51 -0400 Subject: [PATCH] Update version changed deps (#873) --- .travis.yml | 3 ++- package.json | 16 ++++++++-------- webpack.config.js | 7 ++++--- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index afcd57d8..dbbd2fa3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,8 @@ language: node_js sudo: required dist: trusty node_js: -- 6 +- 8 +- 10 cache: directories: - node_modules diff --git a/package.json b/package.json index b9108499..8f9fe49d 100644 --- a/package.json +++ b/package.json @@ -58,13 +58,13 @@ "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.22.0", "canvas-prebuilt": "^2.0.0-alpha.14", - "css-loader": "1.0.0", + "css-loader": "3.1.0", "enzyme": "^3.6.0", "enzyme-adapter-react-16": "^1.5.0", "eslint": "^4.4.1", "eslint-config-import": "^0.13.0", "eslint-config-scratch": "^5.0.0", - "eslint-plugin-import": "^2.9.0", + "eslint-plugin-import": "^2.18.2", "eslint-plugin-react": "^7.2.1", "gh-pages": "github:rschamp/gh-pages#publish-branch-to-subfolder", "html-webpack-plugin": "3.2.0", @@ -76,11 +76,11 @@ "postcss-simple-vars": "^5.0.1", "raf": "^3.4.0", "react": "16.2.0", - "react-dom": "16.4.0", - "react-intl": "2.7.2", + "react-dom": "16.2.0", + "react-intl": "2.9.0", "react-intl-redux": "2.0.0", "react-popover": "0.5.10", - "react-redux": "5.1.0", + "react-redux": "5.0.7", "react-responsive": "4.1.0", "react-style-proptype": "3.2.2", "react-test-renderer": "^16.0.0", @@ -92,10 +92,10 @@ "rimraf": "^2.6.1", "scratch-l10n": "3.1.20181129221712", "style-loader": "^0.23.1", - "svg-url-loader": "^2.3.2", - "tap": "^11.1.0", + "svg-url-loader": "^3.0.0", + "tap": "^14.4.3", "uglifyjs-webpack-plugin": "^2.0.1", - "url-loader": "^1.0.1", + "url-loader": "^2.1.0", "webpack": "^4.8.0", "webpack-cli": "^3.1.0", "webpack-dev-server": "^3.1.9" diff --git a/webpack.config.js b/webpack.config.js index e352299f..6d2d8a45 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -30,10 +30,11 @@ const base = { }, { loader: 'css-loader', options: { - modules: true, importLoaders: 1, - localIdentName: '[name]_[local]_[hash:base64:5]', - camelCase: true + modules: { + localIdentName: '[name]_[local]_[hash:base64:5]' + }, + localsConvention: 'camelCase' } }, { loader: 'postcss-loader',