Updates dependencies to fix vulnerabilities

38020 vulnerabilities fixed
This commit is contained in:
Nanobyte
2020-08-13 23:26:08 +02:00
parent 34d520c2ca
commit 2b8b72f4df
3 changed files with 5973 additions and 3983 deletions

9931
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -15,17 +15,17 @@
"react-dom": "^16.12.0" "react-dom": "^16.12.0"
}, },
"devDependencies": { "devDependencies": {
"web-ext": "^4.2.0",
"@types/chrome": "0.0.91", "@types/chrome": "0.0.91",
"@types/firefox-webext-browser": "70.0.1", "@types/firefox-webext-browser": "70.0.1",
"@types/jest": "^24.0.23", "@types/jest": "^24.0.23",
"@types/jquery": "^3.3.31", "@types/jquery": "^3.3.31",
"copy-webpack-plugin": "^5.0.5", "copy-webpack-plugin": "^6.0.3",
"jest": "^24.9.0", "jest": "^26.4.0",
"ts-jest": "^24.2.0",
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
"ts-jest": "^26.2.0",
"ts-loader": "^6.2.1", "ts-loader": "^6.2.1",
"typescript": "~3.7.3", "typescript": "~3.7.3",
"web-ext": "^5.0.0",
"webpack": "~4.41.2", "webpack": "~4.41.2",
"webpack-cli": "~3.3.10", "webpack-cli": "~3.3.10",
"webpack-merge": "~4.2.2" "webpack-merge": "~4.2.2"

View File

@@ -35,11 +35,18 @@ module.exports = env => ({
}, },
plugins: [ plugins: [
// exclude locale files in moment // exclude locale files in moment
new CopyPlugin([ new CopyPlugin({
{ from: '.', to: '../', ignore: ['manifest.json'] } patterns: [
], {
{context: 'public' } from: '.',
), to: '../',
globOptions: {
ignore: ['manifest.json'],
},
context: './public',
}
]
}),
new BuildManifest({ new BuildManifest({
browser: env.browser, browser: env.browser,
pretty: env.mode === "production", pretty: env.mode === "production",