Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts: Update PostCSS minimum version to ensure it is secure #31685

Merged
merged 1 commit into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"nock": "12.0.3",
"node-watch": "0.7.0",
"patch-package": "6.2.2",
"postcss": "8.2.2",
"postcss": "8.2.15",
"postcss-loader": "4.2.0",
"prettier": "npm:wp-prettier@2.2.1-beta-1",
"progress": "2.0.3",
Expand Down
6 changes: 6 additions & 0 deletions packages/scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
- Have the `format` command ignore files listed in a `.prettierignore` file, add a fallback `.prettierignore` to the package ([30844](https://github.com/WordPress/gutenberg/pull/30844)).
- The e2e tests are now using [`jest-circus`](https://github.com/facebook/jest/tree/master/packages/jest-circus) as the test runner. This enable us to capture screenshots at the time the tests failed. The unit tests are also using the same test runner for consistency ([#28449](https://github.com/WordPress/gutenberg/pull/28449), [#31178](https://github.com/WordPress/gutenberg/pull/31178)).

### Security Fix

- Update `postcss` dependency to the latest patch version. Versions before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing ([#31685](https://github.com/WordPress/gutenberg/pull/31685)).

## 15.0.1 (2021-04-30)
ntsekouras marked this conversation as resolved.
Show resolved Hide resolved

### Bug Fix

- Add `postcss` as a dependency to ensure that the correct version gets installed.
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"mini-css-extract-plugin": "^1.3.9",
"minimist": "^1.2.0",
"npm-package-json-lint": "^5.0.0",
"postcss": "^8.2.2",
"postcss": "^8.2.15",
"postcss-loader": "^4.2.0",
"prettier": "npm:wp-prettier@2.2.1-beta-1",
"puppeteer-core": "^9.0.0",
Expand Down