Update more dependencies

This commit is contained in:
AaronDewes 2022-07-26 17:21:12 +00:00
parent 47ff32fc9f
commit 2b22e8cd05
3 changed files with 979 additions and 2073 deletions

3010
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -75,7 +75,7 @@
"babel-plugin-istanbul": "^5.2.0", "babel-plugin-istanbul": "^5.2.0",
"base64-js": "^1.5.1", "base64-js": "^1.5.1",
"content-disposition": "^0.5.4", "content-disposition": "^0.5.4",
"copy-webpack-plugin": "^5.1.2", "copy-webpack-plugin": "^6.4.0",
"core-js": "^3.21.1", "core-js": "^3.21.1",
"crc": "^3.8.0", "crc": "^3.8.0",
"cross-env": "^6.0.3", "cross-env": "^6.0.3",
@ -91,7 +91,7 @@
"extract-loader": "^3.2.0", "extract-loader": "^3.2.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0", "extract-text-webpack-plugin": "^4.0.0-beta.0",
"fast-text-encoding": "^1.0.3", "fast-text-encoding": "^1.0.3",
"file-loader": "^4.2.0", "file-loader": "^6.2.0",
"git-rev-sync": "^3.0.2", "git-rev-sync": "^3.0.2",
"html-loader": "^0.5.5", "html-loader": "^0.5.5",
"http_ece": "^1.1.0", "http_ece": "^1.1.0",
@ -116,13 +116,13 @@
"script-loader": "^0.7.2", "script-loader": "^0.7.2",
"sinon": "^7.5.0", "sinon": "^7.5.0",
"string-hash": "^1.1.3", "string-hash": "^1.1.3",
"stylelint": "^13.13.1", "stylelint": "^14.9.1",
"stylelint-config-standard": "^19.0.0", "stylelint-config-standard": "^26.0.0",
"stylelint-no-unsupported-browser-features": "^4.1.4", "stylelint-no-unsupported-browser-features": "^5.0.3",
"svgo": "^2.8.0", "svgo": "^2.8.0",
"svgo-loader": "^3.0.1", "svgo-loader": "^3.0.1",
"tailwindcss": "^2", "tailwindcss": "^2",
"val-loader": "^1.1.1", "val-loader": "^2.1.2",
"webpack": "4.38.0", "webpack": "4.38.0",
"webpack-cli": "^3.3.12", "webpack-cli": "^3.3.12",
"webpack-dev-middleware": "^3.7.3", "webpack-dev-middleware": "^3.7.3",
@ -147,7 +147,7 @@
"express": "^4.17.3", "express": "^4.17.3",
"helmet": "^3.23.3", "helmet": "^3.23.3",
"mkdirp": "^0.5.6", "mkdirp": "^0.5.6",
"mozlog": "^2.2.0", "mozlog": "^3.0.1",
"node-fetch": "^2.6.7", "node-fetch": "^2.6.7",
"redis": "^3.1.1", "redis": "^3.1.1",
"redis-mock": "^0.47.0", "redis-mock": "^0.47.0",

View File

@ -42,7 +42,8 @@ const serviceWorker = {
test: /\.(png|jpg)$/, test: /\.(png|jpg)$/,
loader: 'file-loader', loader: 'file-loader',
options: { options: {
name: '[name].[contenthash:8].[ext]' name: '[name].[contenthash:8].[ext]',
esModule: false
} }
}, },
{ {
@ -51,7 +52,8 @@ const serviceWorker = {
{ {
loader: 'file-loader', loader: 'file-loader',
options: { options: {
name: '[name].[contenthash:8].[ext]' name: '[name].[contenthash:8].[ext]',
esModule: false
} }
}, },
{ {
@ -136,7 +138,8 @@ const web = {
test: /\.(png|jpg)$/, test: /\.(png|jpg)$/,
loader: 'file-loader', loader: 'file-loader',
options: { options: {
name: '[name].[contenthash:8].[ext]' name: '[name].[contenthash:8].[ext]',
esModule: false
} }
}, },
{ {
@ -145,7 +148,8 @@ const web = {
{ {
loader: 'file-loader', loader: 'file-loader',
options: { options: {
name: '[name].[contenthash:8].[ext]' name: '[name].[contenthash:8].[ext]',
esModule: false
} }
}, },
{ {
@ -206,12 +210,14 @@ const web = {
] ]
}, },
plugins: [ plugins: [
new CopyPlugin([ new CopyPlugin({
patterns: [
{ {
context: 'public', context: 'public',
from: '*.*' from: '*.*'
} }
]), ]
}),
new webpack.EnvironmentPlugin(['NODE_ENV']), new webpack.EnvironmentPlugin(['NODE_ENV']),
new webpack.IgnorePlugin(/\.\.\/dist/), // used in common/*.js new webpack.IgnorePlugin(/\.\.\/dist/), // used in common/*.js
new ExtractTextPlugin({ new ExtractTextPlugin({