Skip to content

Commit 2a67a85

Browse files
committed
Upgrade more scripts dependencies
1 parent f61152c commit 2a67a85

9 files changed

Lines changed: 3415 additions & 1001 deletions

File tree

package-lock.json

Lines changed: 3371 additions & 978 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"@wordpress/stylelint-config": "file:packages/stylelint-config",
143143
"appium": "1.20.2",
144144
"babel-jest": "26.6.3",
145-
"babel-loader": "8.1.0",
145+
"babel-loader": "8.2.2",
146146
"babel-plugin-emotion": "10.0.33",
147147
"babel-plugin-inline-json-import": "0.3.2",
148148
"babel-plugin-react-native-classname-to-style": "1.2.2",
@@ -155,7 +155,7 @@
155155
"concurrently": "3.5.0",
156156
"copy-webpack-plugin": "4.5.2",
157157
"cross-env": "3.2.4",
158-
"css-loader": "3.5.2",
158+
"css-loader": "5.1.3",
159159
"cssnano": "4.1.10",
160160
"deep-freeze": "0.0.1",
161161
"enzyme": "3.11.0",
@@ -183,8 +183,8 @@
183183
"nock": "12.0.3",
184184
"node-watch": "0.7.0",
185185
"patch-package": "6.2.2",
186-
"postcss": "7.0.32",
187-
"postcss-loader": "3.0.0",
186+
"postcss": "8.2.2",
187+
"postcss-loader": "5.2.0",
188188
"prettier": "npm:wp-prettier@2.2.1-beta-1",
189189
"progress": "2.0.3",
190190
"react": "16.13.1",
@@ -194,18 +194,18 @@
194194
"rimraf": "3.0.2",
195195
"rtlcss": "2.6.2",
196196
"sass": "1.26.11",
197-
"sass-loader": "8.0.2",
197+
"sass-loader": "11.0.1",
198198
"semver": "7.3.2",
199199
"simple-git": "^2.35.0",
200200
"snapshot-diff": "0.8.1",
201201
"source-map-loader": "0.2.4",
202202
"sprintf-js": "1.1.1",
203-
"style-loader": "1.0.0",
203+
"style-loader": "2.0.0",
204204
"terser-webpack-plugin": "3.0.3",
205205
"typescript": "4.1.3",
206206
"uuid": "8.3.0",
207207
"wd": "1.12.1",
208-
"webpack": "4.42.0",
208+
"webpack": "4.46.0",
209209
"webpack-bundle-analyzer": "4.2.0",
210210
"worker-farm": "1.7.0"
211211
},

packages/postcss-plugins-preset/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Unreleased
44

5+
### Breaking Changes
6+
7+
- The bundled `autoprefixer` dependency has been updated from requiring `^9.8.6` to requiring `^10.2.5` (see [Breaking Changes](https://github.com/postcss/autoprefixer/releases/tag/10.0.0), [#27821](https://github.com/WordPress/gutenberg/pull/27821)).
8+
- The bundled `postcss-custom-properties` dependency has been updated from requiring `^10.0.0` to requiring `^11.0.0` (see [Breaking Changes](https://github.com/postcss/postcss-custom-properties/releases/tag/11.0.0), [#27821](https://github.com/WordPress/gutenberg/pull/27821)).
9+
510
## 2.0.0 (2021-01-21)
611

712
### Breaking Changes

packages/postcss-plugins-preset/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"dependencies": {
3232
"@wordpress/base-styles": "file:../base-styles",
3333
"@wordpress/postcss-themes": "file:../postcss-themes",
34-
"autoprefixer": "^9.8.6",
35-
"postcss-custom-properties": "^10.0.0"
34+
"autoprefixer": "^10.2.5",
35+
"postcss-custom-properties": "^11.0.0"
3636
},
3737
"publishConfig": {
3838
"access": "public"

packages/postcss-themes/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Breaking Changes
6+
7+
- The bundled `postcss` dependency requiring `^7.0.32` has been replaced with a peer dependency requiring `^8.0.0` (see [Breaking Changes](https://github.com/postcss/postcss/releases/tag/8.0.0), [#27821](https://github.com/WordPress/gutenberg/pull/27821)).
8+
59
## 3.0.0 (2021-01-21)
610

711
### Breaking Changes

packages/postcss-themes/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"index.js"
3131
],
3232
"main": "index.js",
33-
"dependencies": {
34-
"postcss": "^7.0.32"
33+
"peerDependencies": {
34+
"postcss": "^8.0.0"
3535
},
3636
"publishConfig": {
3737
"access": "public"

packages/scripts/CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@
44

55
### Breaking Changes
66

7-
- The bundled `postcss-loader` dependency has been updated from requiring `^3.0.0` to requiring `^4.1.0` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
7+
- The bundled `css-loader` dependency has been updated from requiring `^3.5.2` to requiring `^5.1.3` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
8+
- The bundled `mini-css-extract-plugin` dependency has been updated from requiring `^0.9.0` to requiring `^1.3.9` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
9+
- The bundled `postcss-loader` dependency has been updated from requiring `^3.0.0` to requiring `^5.2.0` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
10+
- The bundled `sass-loader` dependency has been updated from requiring `^8.0.2` to requiring `^11.0.1` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
11+
- The bundled `thread-loader` dependency has been updated from requiring `^2.1.3` to requiring `^3.0.1` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
12+
- The bundled `url-loader` dependency has been updated from requiring `^3.0.0` to requiring `^4.1.1` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
13+
14+
### Enhancements
15+
16+
- The bundled `webpack` dependency has been updated from requiring `4.42.0` to requiring `^4.46.0` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
17+
- The bundled `babel-loader` dependency has been updated from requiring `^8.1.1` to requiring `^8.2.2` ([#27821](https://github.com/WordPress/gutenberg/pull/27821)).
818

919
## 14.0.0 (2021-03-17)
1020

packages/scripts/config/webpack.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ const cssLoaders = [
4343
// Provide a fallback configuration if there's not
4444
// one explicitly available in the project.
4545
...( ! hasPostCSSConfig() && {
46-
ident: 'postcss',
47-
plugins: postcssPlugins,
46+
postcssOptions: {
47+
ident: 'postcss',
48+
plugins: postcssPlugins,
49+
},
4850
} ),
4951
},
5052
},
@@ -218,7 +220,7 @@ const config = {
218220
// bundle content as a convenient interactive zoomable treemap.
219221
process.env.WP_BUNDLE_ANALYZER && new BundleAnalyzerPlugin(),
220222
// MiniCSSExtractPlugin to extract the CSS thats gets imported into JavaScript.
221-
new MiniCSSExtractPlugin( { esModule: false, filename: '[name].css' } ),
223+
new MiniCSSExtractPlugin( { filename: '[name].css' } ),
222224
// MiniCSSExtractPlugin creates JavaScript assets for CSS that are
223225
// obsolete and should be removed. Related webpack issue:
224226
// https://github.com/webpack-contrib/mini-css-extract-plugin/issues/85

packages/scripts/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
"@wordpress/prettier-config": "file:../prettier-config",
4343
"@wordpress/stylelint-config": "file:../stylelint-config",
4444
"babel-jest": "^26.6.3",
45-
"babel-loader": "^8.1.0",
45+
"babel-loader": "^8.2.2",
4646
"chalk": "^4.0.0",
4747
"check-node-version": "^4.1.0",
4848
"clean-webpack-plugin": "^3.0.0",
4949
"cross-spawn": "^5.1.0",
50-
"css-loader": "^3.5.2",
50+
"css-loader": "^5.1.3",
5151
"cwd": "^0.10.0",
5252
"dir-glob": "^3.0.1",
5353
"eslint": "^7.17.0",
@@ -61,22 +61,22 @@
6161
"markdownlint": "^0.18.0",
6262
"markdownlint-cli": "^0.21.0",
6363
"merge-deep": "^3.0.3",
64-
"mini-css-extract-plugin": "^0.9.0",
64+
"mini-css-extract-plugin": "^1.3.9",
6565
"minimist": "^1.2.0",
6666
"npm-package-json-lint": "^5.0.0",
67-
"postcss-loader": "^4.1.0",
67+
"postcss-loader": "^5.2.0",
6868
"prettier": "npm:wp-prettier@2.2.1-beta-1",
6969
"puppeteer-core": "^5.5.0",
7070
"read-pkg-up": "^1.0.1",
7171
"resolve-bin": "^0.4.0",
7272
"sass": "^1.26.11",
73-
"sass-loader": "^8.0.2",
73+
"sass-loader": "^11.0.1",
7474
"source-map-loader": "^0.2.4",
7575
"stylelint": "^13.8.0",
7676
"terser-webpack-plugin": "^3.0.3",
77-
"thread-loader": "^2.1.3",
78-
"url-loader": "^3.0.0",
79-
"webpack": "^4.42.0",
77+
"thread-loader": "^3.0.1",
78+
"url-loader": "^4.1.1",
79+
"webpack": "^4.46.0",
8080
"webpack-bundle-analyzer": "^4.2.0",
8181
"webpack-cli": "^3.3.11",
8282
"webpack-livereload-plugin": "^2.3.0",

0 commit comments

Comments
 (0)