Skip to content

Commit

Permalink
[CVE-2024-29180] Bump webpack-dev-server from 3.11.3 to 4.6.0
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <miki@amazon.com>
  • Loading branch information
AMoo-Miki committed May 1, 2024
1 parent 6778930 commit 1caabd7
Show file tree
Hide file tree
Showing 4 changed files with 518 additions and 465 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Bump `babel-template` from `6.26.0` to `@babel/template` `7.10.4` ([#1095](https://github.com/opensearch-project/oui/pull/1095))
- [CVE-2023-45857] Remediate `axios` vulnerabilities ([#1152](https://github.com/opensearch-project/oui/pull/1152))
- [CVE-2023-45133] Bump `@babel/traverse` from `7.12.10` to `7.23.6` ([#1174](https://github.com/opensearch-project/oui/pull/1174))
- [CVE-2024-29180] Bump `webpack-dev-server` from `3.11.3` to `4.6.0` ([#1269](https://github.com/opensearch-project/oui/pull/1269))

### 📈 Features/Enhancements

Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"*.scss"
],
"scripts": {
"start": "cross-env BABEL_MODULES=false webpack-dev-server --inline --hot --config=src-docs/webpack.config.js",
"start": "cross-env BABEL_MODULES=false webpack-dev-server --hot --config=src-docs/webpack.config.js",
"test-docker": "node ./scripts/test-docker.js",
"sync-docs": "node ./scripts/docs-sync.js",
"build-docs": "cross-env BABEL_MODULES=false cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 webpack --config=src-docs/webpack.config.js",
Expand Down Expand Up @@ -77,9 +77,6 @@
"sass-lint/merge": "^2.1.1",
"start-server-and-test/**/minimist": "^1.2.6",
"start-server-and-test/wait-on": "^7.1.0",
"webpack-dev-server/**/ansi-regex": "^5.0.1",
"webpack-dev-server/chokidar/glob-parent": "^6.0.1",
"webpack-dev-server/selfsigned": "^2.0.1",
"webpack/**/chokidar/glob-parent": "^6.0.1",
"webpack/terser-webpack-plugin/serialize-javascript": "^3.1.0",
"yo/**/find-versions": "^4.0.0",
Expand Down Expand Up @@ -159,6 +156,7 @@
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@webpack-cli/serve": "^2.0.5",
"autoprefixer": "^9.8.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.1.0",
Expand Down Expand Up @@ -238,8 +236,8 @@
"typescript": "4.6.4",
"url-loader": "^4.1.0",
"webpack": "npm:@amoo-miki/webpack@4.46.0-rc.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.6.0",
"yeoman-generator": "^5.8.0",
"yo": "^4.3.1"
},
Expand Down
4 changes: 2 additions & 2 deletions scripts/compile-charts.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const dtsGenerator = require('dts-generator').default;
function compileChartsBundle() {
console.log('Building chart theme module...');
execSync(
'webpack src/themes/charts/themes.ts -o dist/oui_charts_theme.js --output-library-target="commonjs" --config=src/webpack.config.js',
'webpack src/themes/charts/themes.ts -o dist/oui_charts_theme.js --config=src/webpack.config.js',
{
stdio: 'inherit',
}
Expand All @@ -59,7 +59,7 @@ function compileChartsBundle() {

/* OUI -> EUI Aliases */
execSync(
'webpack src/themes/charts/themes.ts -o dist/eui_charts_theme.js --output-library-target="commonjs" --config=src/webpack.config.js',
'webpack src/themes/charts/themes.ts -o dist/eui_charts_theme.js --config=src/webpack.config.js',
{
stdio: 'inherit',
}
Expand Down
Loading

0 comments on commit 1caabd7

Please sign in to comment.