Update babel, jest, webpack bits

This should fix the handlebars and serialize-javascript
	security alerts on GH at least.

	It also updates the node requirement (I think through the
	jest update this was necessary) - somebody should check
	if we can actually make	the jump.
This commit is contained in:
Daniel Holbach
2020-03-10 12:22:35 +01:00
parent e6eaf11fb6
commit 8dfd0abbc9
4 changed files with 1610 additions and 1140 deletions

View File

@@ -1 +1 @@
v8.12.0
v10.19.0

View File

@@ -1,7 +1,7 @@
# Changes to this file will not take effect in CI
# until the image version in the CI config is updated. See
# https://github.com/weaveworks/scope/blob/master/.circleci/config.yml#L11
FROM node:8.12
FROM node:10.19
ENV NPM_CONFIG_LOGLEVEL=warn
ENV NPM_CONFIG_PROGRESS=false
ENV XDG_CACHE_HOME=/home/weave/scope/.cache

View File

@@ -7,7 +7,7 @@
"private": true,
"main": "index.js",
"dependencies": {
"@babel/polyfill": "^7.6.0",
"@babel/polyfill": "^7.8.7",
"babel-plugin-lodash": "3.3.4",
"classnames": "2.2.6",
"d3-array": "2.3.1",
@@ -49,16 +49,16 @@
"xterm": "3.14.5"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.7.0",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"@fortawesome/fontawesome-free": "^5.10.1",
"autoprefixer": "9.6.1",
"babel-eslint": "10.0.3",
"babel-jest": "25.0.0",
"babel-eslint": "10.1.0",
"babel-jest": "25.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
@@ -75,8 +75,8 @@
"html-webpack-plugin": "3.2.0",
"http-proxy": "1.16.2",
"http-proxy-rules": "1.1.1",
"jest": "25.0.0",
"jest-cli": "25.0.0",
"jest": "25.1.0",
"jest-cli": "25.1.0",
"json-loader": "0.5.7",
"mockdate": "2.0.2",
"postcss-loader": "3.0.0",
@@ -90,10 +90,10 @@
"stylelint-processor-styled-components": "1.8.0",
"url": "0.11.0",
"url-loader": "0.6.2",
"webpack": "4.41.2",
"webpack-cli": "^3.3.0",
"webpack-dev-middleware": "3.1.3",
"webpack-hot-middleware": "2.22.2"
"webpack": "4.42.0",
"webpack-cli": "^3.3.11",
"webpack-dev-middleware": "3.7.2",
"webpack-hot-middleware": "2.25.0"
},
"scripts": {
"build": "webpack --config webpack.production.config.js",
@@ -127,6 +127,6 @@
]
},
"engines": {
"node": "^8.12.0"
"node": "^10.19.0"
}
}

File diff suppressed because it is too large Load Diff