Skip to content

Commit

Permalink
chore(deps): update webpack packages (#80829)
Browse files Browse the repository at this point in the history
* chore(deps): update webpack packages

* Bump webpack-bundle-analyzer to the latest version

* readStatsFromFile() is now async

* dedupe

---------

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Marin Atanasov <[email protected]>
  • Loading branch information
3 people authored and pull[bot] committed Jan 12, 2024
1 parent 7f7214c commit 5182756
Show file tree
Hide file tree
Showing 31 changed files with 358 additions and 329 deletions.
8 changes: 4 additions & 4 deletions apps/blaze-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@
"@automattic/webpack-extensive-lodash-replacement-plugin": "workspace:^",
"@automattic/webpack-inline-constant-exports-plugin": "workspace:^",
"@automattic/wp-babel-makepot": "workspace:^",
"@wordpress/dependency-extraction-webpack-plugin": "^4.21.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.29.0",
"autoprefixer": "^10.2.5",
"gettext-parser": "^6.0.0",
"html-webpack-plugin": "^5.0.0-beta.4",
"html-webpack-plugin": "^5.5.3",
"lodash": "^4.17.21",
"mkdirp": "^1.0.4",
"node-fetch": "^2.6.6",
"path-browserify": "^1.0.1",
"postcss": "^8.3.11",
"webpack": "^5.68.0",
"webpack-bundle-analyzer": "^4.5.0"
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.1"
}
}
6 changes: 3 additions & 3 deletions apps/editing-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"@wordpress/data": "^9.14.0",
"@wordpress/data-controls": "^3.13.0",
"@wordpress/date": "^4.44.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.21.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.29.0",
"@wordpress/dom-ready": "^3.44.0",
"@wordpress/edit-post": "^7.21.0",
"@wordpress/element": "^5.21.0",
Expand Down Expand Up @@ -127,7 +127,7 @@
"@testing-library/react": "^14.1.0",
"@types/node": "^20.8.6",
"@wordpress/eslint-plugin": "^17.1.0",
"@wordpress/readable-js-assets-webpack-plugin": "^2.21.0",
"@wordpress/readable-js-assets-webpack-plugin": "^2.29.0",
"babel-jest": "^29.6.1",
"eslint-filtered-fix": "^0.3.0",
"eslint-nibble": "^8.1.0",
Expand All @@ -137,6 +137,6 @@
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
"prettier": "npm:[email protected]",
"wait-for-expect": "^3.0.2",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
}
}
6 changes: 3 additions & 3 deletions apps/happy-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
"@automattic/calypso-apps-builder": "workspace:^",
"@emotion/react": "^11.11.1",
"@testing-library/react": "^14.1.0",
"@wordpress/readable-js-assets-webpack-plugin": "^2.21.0",
"copy-webpack-plugin": "^10.1.0",
"@wordpress/readable-js-assets-webpack-plugin": "^2.29.0",
"copy-webpack-plugin": "^10.2.4",
"glob": "^7.1.6",
"postcss": "^8.4.5",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
}
}
8 changes: 4 additions & 4 deletions apps/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"react-redux": "^8.1.3",
"redux": "^4.2.1",
"redux-thunk": "^2.4.2",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-bundle-analyzer": "^4.10.1",
"wpcom": "workspace:^",
"wpcom-proxy-request": "workspace:^",
"wpcom-xhr-request": "workspace:^"
Expand All @@ -50,10 +50,10 @@
"@automattic/calypso-apps-builder": "workspace:^",
"@automattic/calypso-build": "workspace:^",
"@automattic/calypso-eslint-overrides": "workspace:^",
"html-webpack-plugin": "^5.0.0-beta.4",
"html-webpack-plugin": "^5.5.3",
"postcss": "^8.4.5",
"postcss-custom-properties": "^11.0.0",
"webpack": "^5.68.0",
"webpack-dev-server": "^4.7.3"
"webpack": "^5.89.0",
"webpack-dev-server": "^4.15.1"
}
}
4 changes: 2 additions & 2 deletions apps/o2-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"devDependencies": {
"@automattic/calypso-apps-builder": "workspace:^",
"@automattic/calypso-eslint-overrides": "workspace:^",
"@wordpress/readable-js-assets-webpack-plugin": "^2.21.0",
"@wordpress/readable-js-assets-webpack-plugin": "^2.29.0",
"postcss": "^8.4.5",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
}
}
8 changes: 4 additions & 4 deletions apps/odyssey-stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@
"@automattic/wp-babel-makepot": "workspace:^",
"@babel/core": "^7.23.2",
"@size-limit/file": "^8.2.6",
"@wordpress/dependency-extraction-webpack-plugin": "^4.21.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.29.0",
"autoprefixer": "^10.2.5",
"babel-jest": "^29.6.1",
"gettext-parser": "^6.0.0",
"html-webpack-plugin": "^5.0.0-beta.4",
"html-webpack-plugin": "^5.5.3",
"jest": "^29.7.0",
"lodash": "^4.17.21",
"mkdirp": "^1.0.4",
"node-fetch": "^2.6.6",
"path-browserify": "^1.0.1",
"postcss": "^8.3.11",
"size-limit": "^8.2.6",
"webpack": "^5.68.0",
"webpack-bundle-analyzer": "^4.5.0"
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.1"
}
}
4 changes: 2 additions & 2 deletions apps/wpcom-block-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"@automattic/calypso-apps-builder": "workspace:^",
"@automattic/calypso-build": "workspace:^",
"@automattic/calypso-eslint-overrides": "workspace:^",
"@wordpress/dependency-extraction-webpack-plugin": "^4.21.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.29.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.5",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
}
}
4 changes: 2 additions & 2 deletions bin/icfy-analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const { getViewerData, readStatsFromFile } = require( 'webpack-bundle-analyzer/l

analyzeBundle();

function analyzeBundle() {
async function analyzeBundle() {
console.log( 'Analyze: reading stats.json file' );
const stats = readStatsFromFile( 'client/stats.json' );
const stats = await readStatsFromFile( 'client/stats.json' );
console.log( 'Analyze: analyzing' );
const chart = getViewerData( stats, './public/evergreen' );
console.log( 'Analyze: writing chart.json file' );
Expand Down
10 changes: 5 additions & 5 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,18 +206,18 @@
"utility-types": "^3.10.0",
"uuid": "^8.3.2",
"valid-url": "^1.0.9",
"webpack": "^5.68.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-dev-middleware": "^5.3.1",
"webpack-hot-middleware": "^2.25.1",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-dev-middleware": "^5.3.3",
"webpack-hot-middleware": "^2.25.4",
"webpack-node-externals": "^3.0.0",
"wpcom": "workspace:^",
"wpcom-proxy-request": "workspace:^",
"wpcom-xhr-request": "workspace:^"
},
"devDependencies": {
"@automattic/calypso-eslint-overrides": "workspace:^",
"@sentry/webpack-plugin": "^1.18.8",
"@sentry/webpack-plugin": "^1.20.1",
"@storybook/addon-actions": "^7.5.3",
"@tanstack/query-sync-storage-persister": "^4.29.1",
"@testing-library/dom": "^9.3.3",
Expand Down
6 changes: 3 additions & 3 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"@automattic/calypso-build": "workspace:^",
"@automattic/calypso-eslint-overrides": "workspace:^",
"copy-webpack-plugin": "^10.1.0",
"copy-webpack-plugin": "^10.2.4",
"electron": "26.2.1",
"electron-builder": "23.0.3",
"electron-notarize": "^0.1.1",
Expand All @@ -47,8 +47,8 @@
"postcss": "^8.4.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2"
"webpack": "^5.89.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"archiver": "^3.1.1",
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"@types/store": "^2.0.2",
"@types/uuid": "^8.3.4",
"@types/validator": "^13.7.1",
"@types/webpack-env": "^1.16.3",
"@types/webpack-env": "^1.18.4",
"@wordpress/base-styles": "^4.35.0",
"@wordpress/commands": "^0.15.0",
"@wordpress/components": "^25.10.0",
Expand Down Expand Up @@ -218,7 +218,7 @@
"@babel/register": "^7.22.15",
"@babel/runtime": "^7.23.2",
"@bartekbp/typescript-checkstyle": "^5.0.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@signal-noise/stylelint-scales": "^2.0.3",
"@storybook/cli": "^7.5.3",
"@storybook/react": "^7.5.3",
Expand All @@ -237,7 +237,7 @@
"chalk": "^4.1.2",
"check-node-version": "^4.0.2",
"chroma-js": "^2.1.2",
"css-loader": "^6.5.1",
"css-loader": "^6.8.1",
"doctrine": "^3.0.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
Expand All @@ -263,7 +263,7 @@
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-teamcity": "^1.11.0",
"loader-utils": "^1.2.3",
"loader-utils": "^1.4.2",
"lunr": "^2.3.8",
"mixedindentlint": "^1.2.0",
"mkdirp": "^1.0.4",
Expand All @@ -287,10 +287,10 @@
"stylelint": "^14.16.1",
"tslib": "^2.3.0",
"typescript": "^5.2.2",
"webpack": "^5.68.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-dev-middleware": "^5.3.1",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^4.10.0",
"webpack-dev-middleware": "^5.3.3",
"whybundled": "^2.0.0",
"yargs": "^17.0.1"
},
Expand Down Expand Up @@ -327,7 +327,7 @@
"@wordpress/data-controls": "3.13.0",
"@wordpress/data": "^9.14.0",
"@wordpress/date": "4.44.0",
"@wordpress/dependency-extraction-webpack-plugin": "4.21.0",
"@wordpress/dependency-extraction-webpack-plugin": "4.29.0",
"@wordpress/deprecated": "3.44.0",
"@wordpress/docgen": "1.53.0",
"@wordpress/dom-ready": "3.44.0",
Expand Down Expand Up @@ -372,7 +372,7 @@
"@wordpress/private-apis": "^0.26.0",
"@wordpress/project-management-automation": "1.43.0",
"@wordpress/react-i18n": "3.42.0",
"@wordpress/readable-js-assets-webpack-plugin": "2.21.0",
"@wordpress/readable-js-assets-webpack-plugin": "2.29.0",
"@wordpress/redux-routine": "4.44.0",
"@wordpress/reusable-blocks": "4.21.0",
"@wordpress/rich-text": "6.21.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/calypso-apps-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
},
"dependencies": {
"chokidar": "^3.5.2",
"html-webpack-plugin": "^5.0.0-beta.4",
"html-webpack-plugin": "^5.5.3",
"npm-run-all": "^4.1.5",
"tree-kill": "^1.2.2",
"webpack": "^5.68.0",
"webpack": "^5.89.0",
"yargs": "^17.0.1"
},
"devDependencies": {
Expand Down
16 changes: 8 additions & 8 deletions packages/calypso-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,34 +37,34 @@
"@automattic/webpack-rtl-plugin": "workspace:^",
"@babel/compat-data": "^7.23.2",
"@babel/core": "^7.23.2",
"@types/webpack-env": "^1.16.3",
"@types/webpack-env": "^1.18.4",
"@wordpress/browserslist-config": "^5.27.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.21.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.29.0",
"autoprefixer": "^10.2.5",
"babel-loader": "^8.2.3",
"browserslist": "^4.8.2",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"mini-css-extract-plugin": "^1.6.2",
"postcss-custom-properties": "^11.0.0",
"postcss-loader": "^6.2.0",
"postcss-loader": "^6.2.1",
"recursive-copy": "^2.0.14",
"sass": "^1.37.5",
"sass-loader": "^12.1.0",
"semver": "^7.3.2",
"stream-browserify": "^3.0.0",
"terser-webpack-plugin": "^5.2.4",
"terser-webpack-plugin": "^5.3.9",
"thread-loader": "^3.0.4",
"typescript": "^5.2.2",
"webpack-cli": "^4.9.2"
"webpack-cli": "^4.10.0"
},
"devDependencies": {
"@automattic/calypso-eslint-overrides": "workspace:^",
"@automattic/calypso-typescript-config": "workspace:^"
},
"peerDependencies": {
"postcss": "^8.4.5",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
}
}
6 changes: 3 additions & 3 deletions packages/calypso-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"@storybook/addon-controls": "^7.5.3",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react-webpack5": "^7.5.3",
"css-loader": "^6.5.1",
"css-loader": "^6.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass-loader": "^12.1.0",
"style-loader": "^1.2.1",
"webpack": "^5.68.0"
"style-loader": "^1.3.0",
"webpack": "^5.89.0"
},
"peerDependencies": {
"@storybook/react": "^7.5.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/design-carousel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react-dom": "^18.2.0",
"redux": "^4.2.1",
"typescript": "^5.2.2",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
},
"peerDependencies": {
"@wordpress/data": "^9.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/design-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"react-dom": "^18.2.0",
"redux": "^4.2.1",
"typescript": "^5.2.2",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
},
"peerDependencies": {
"@wordpress/data": "^9.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/domains-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"react-dom": "^18.2.0",
"resize-observer-polyfill": "^1.5.1",
"typescript": "^5.2.2",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
},
"peerDependencies": {
"@wordpress/data": "^9.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/languages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"react-dom": "^18.2.0",
"redux": "^4.2.1",
"typescript": "^5.2.2",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
}
}
2 changes: 1 addition & 1 deletion packages/launchpad-navigator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react-dom": "^18.2.0",
"redux": "^4.2.1",
"typescript": "^5.2.2",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
},
"peerDependencies": {
"@wordpress/data": "^9.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/launchpad/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react-dom": "^18.2.0",
"redux": "^4.2.1",
"typescript": "^5.2.2",
"webpack": "^5.68.0"
"webpack": "^5.89.0"
},
"peerDependencies": {
"@wordpress/data": "^9.14.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/onboarding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"react-dom": "^18.2.0",
"redux": "^4.2.1",
"sass-loader": "^10.1.1",
"style-loader": "^1.2.1",
"style-loader": "^1.3.0",
"typescript": "^5.2.2",
"webpack": "^5.63.0"
"webpack": "^5.89.0"
},
"peerDependencies": {
"@wordpress/i18n": "^4.44.0",
Expand Down
Loading

0 comments on commit 5182756

Please sign in to comment.