Upgrade packages and fix package security vulnerability (#2903)

Updates and pins package version numbers in `package.json` to reflect the actual
versions in `yarn.lock`. Pins `react-iframe` to `1.7.16` and `jest` to `23.6.0`
- in both cases, there are later versions but they include breaking changes.
Modifies `webpack.config.js` to work with the updated `css-loader` library.
Fixes #2908.
This commit is contained in:
Carol A. Scott 2019-06-10 16:45:51 -07:00 committed by GitHub
parent 24bbd7c64b
commit 47718c508a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 121 additions and 685 deletions

View File

@ -7,40 +7,40 @@
"@material-ui/core": "3.6.1",
"@material-ui/icons": "3.0.1",
"classnames": "2.2.6",
"d3-drag": "^1.2.3",
"d3-force": "^2.0.0",
"d3-format": "^1.3.2",
"d3-selection": "^1.3.2",
"date-fns": "^1.30.1",
"d3-drag": "1.2.3",
"d3-force": "2.0.1",
"d3-format": "1.3.2",
"d3-selection": "1.4.0",
"date-fns": "1.30.1",
"lodash": "4.17.11",
"path": "0.12.7",
"prop-types": "15.6.1",
"react": "16.5.0",
"react-dom": "16.5.0",
"react-iframe": "^1.5.0",
"react-router": "4.2.0",
"react-router-dom": "4.2.2",
"react-router-prop-types": "^1.0.4",
"react-iframe": "1.7.16",
"react-router": "4.3.1",
"react-router-dom": "4.3.1",
"react-router-prop-types": "1.0.4",
"react-url-query": "1.4.0",
"whatwg-fetch": "2.0.3"
},
"devDependencies": {
"@wdio/cli": "^5.7.10",
"@wdio/local-runner": "^5.7.9",
"@wdio/mocha-framework": "^5.7.8",
"@wdio/sync": "^5.7.9",
"@wdio/cli": "5.9.4",
"@wdio/local-runner": "5.9.4",
"@wdio/mocha-framework": "5.9.4",
"@wdio/sync": "5.9.4",
"babel-core": "6.26.0",
"babel-eslint": "8.0.3",
"babel-jest": "23.6.0",
"babel-loader": "7.1.4",
"babel-plugin-import": "1.7.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"babel-preset-env": "1.7.0",
"babel-preset-react-app": "3.1.1",
"babel-runtime": "^6.26.0",
"chromedriver": "^2.46.0",
"babel-runtime": "6.26.0",
"chromedriver": "2.46.0",
"clean-webpack-plugin": "1.0.0",
"css-loader": "0.28.7",
"css-loader": "2.1.1",
"enzyme": "3.7.0",
"enzyme-adapter-react-16": "1.6.0",
"eslint": "4.12.1",
@ -56,16 +56,16 @@
"jest": "23.6.0",
"jest-dot-reporter": "1.0.7",
"jest-enzyme": "7.0.0",
"lodash-webpack-plugin": "^0.11.5",
"lodash-webpack-plugin": "0.11.5",
"react-test-renderer": "16.5.2",
"sinon": "7.0.0",
"sinon-stub-promise": "4.0.0",
"style-loader": "0.21.0",
"url-loader": "1.0.1",
"wdio-chromedriver-service": "^5.0.1",
"webdriverio": "^5.7.9",
"wdio-chromedriver-service": "5.0.1",
"webdriverio": "5.9.4",
"webpack": "4.20.2",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-bundle-analyzer": "3.3.2",
"webpack-cli": "3.0.7",
"webpack-dev-server": "3.3.1"
},

View File

@ -48,7 +48,7 @@ module.exports = {
test: /\.css$/,
use: [
'style-loader',
{ loader: 'css-loader', options: { importLoaders: 1, minimize: true } },
{ loader: 'css-loader', options: { importLoaders: 1 } },
]
},
{

File diff suppressed because it is too large Load Diff