Bump postcss, autoprefixer and postcss-cli - #756
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [postcss](https://github.com/postcss/postcss) to 8.5.26 and updates ancestor dependencies [postcss](https://github.com/postcss/postcss), [autoprefixer](https://github.com/postcss/autoprefixer) and [postcss-cli](https://github.com/postcss/postcss-cli). These dependencies need to be updated together. Updates `postcss` from 7.0.38 to 8.5.26 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@7.0.38...8.5.26) Updates `autoprefixer` from 9.8.5 to 10.5.4 - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](postcss/autoprefixer@9.8.5...10.5.4) Updates `postcss-cli` from 7.1.2 to 11.0.1 - [Release notes](https://github.com/postcss/postcss-cli/releases) - [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md) - [Commits](postcss/postcss-cli@7.1.2...11.0.1) --- updated-dependencies: - dependency-name: autoprefixer dependency-version: 10.5.4 dependency-type: direct:production - dependency-name: postcss dependency-version: 8.5.26 dependency-type: indirect - dependency-name: postcss-cli dependency-version: 11.0.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
1f6da90 to
f7f3085
Compare
Vad1mo
left a comment
There was a problem hiding this comment.
This breaks the build. postcss-cli 8+ and autoprefixer 10+ declare postcss as a peerDependency, but this PR does not add postcss to package.json dependencies, and the updated yarn.lock contains no postcss resolution at all. Netlify builds with yarn because yarn.lock is committed, and yarn 1 does not install peer deps.
Reproduced locally with this PR's package.json:
warning " > autoprefixer@10.6.1" has unmet peer dependency "postcss@^8.1.0".
warning " > postcss-cli@11.0.1" has unmet peer dependency "postcss@^8.0.0".
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'postcss' imported from node_modules/postcss-cli/index.js
Hugo shells out to node_modules/.bin/postcss for the postCSS pipe in layouts/partials/css.html, so this fails the site build. That is consistent with all three Netlify checks failing here while the lock-only dependabot PRs pass.
Required changes:
- Add
"postcss": "^8.5.26"to thedependenciesblock in package.json. - Regenerate both package-lock.json and yarn.lock so postcss 8 is resolved in each. The npm lockfile currently hides the problem because npm auto-installs peers; the yarn lockfile is the one Netlify uses.
postcss-cli@11.0.1declaresengines: {"node": ">=18"}while.nvmrcon main isv14.11.0. The Node bump needs to land with this or before it.- Rebase onto current main; this branch is based on 2d9215b and two js-yaml lock bumps have landed since.
Dependabot will not add a new direct dependency on its own, so this likely needs to be redone as a manual PR. Note #744 bumps the same two packages to the same versions and has the same Node constraint.
Bumps postcss to 8.5.26 and updates ancestor dependencies postcss, autoprefixer and postcss-cli. These dependencies need to be updated together.
Updates
postcssfrom 7.0.38 to 8.5.26Release notes
Sourced from postcss's releases.
... (truncated)
Changelog
Sourced from postcss's changelog.
... (truncated)
Commits
07b2577Release 8.5.26 version47de6b9Update CI1493a83Fix Rule#selectors losing the empty selector (#2129)180db16Typo29e9e00Resolve symlinks before the previous-source-map containment check (#2125)3ba8f84Update dependencies87e72f6Update lock filecaaeeb9Upgrade nanoid to fix infinite loop on zero size (#2124)3609b6fExplain how to type plugin optionsfbad419docs: show ESM and TypeScript plugin declaration (#2118)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for postcss since your current version.
Updates
autoprefixerfrom 9.8.5 to 10.5.4Release notes
Sourced from autoprefixer's releases.
... (truncated)
Changelog
Sourced from autoprefixer's changelog.
... (truncated)
Commits
4cad00fRelease 10.5.4 versione62a4b1Update CI configc8f0d0aUpdate dependenciescae3577Move back to latest pnpm 11fd31eb3Fix duplicated prefixed selectors on reformatted CSS (#1552)958d390Release 10.5.3 version21d2adbFix gradient parserf7ddae9Fix bracket parser10ea5e7Update dependencies and remove patchb6e8a2aUpdate Dev ContainerMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for autoprefixer since your current version.
Updates
postcss-clifrom 7.1.2 to 11.0.1Release notes
Sourced from postcss-cli's releases.
Changelog
Sourced from postcss-cli's changelog.
... (truncated)
Commits
7bea18011.0.10dc4ebaUse eslint v9 + flat config (#490)733ef42chore(deps): update dependency sugarss to v5 (#483)1363a65Update dependency prettier to ~3.5.0 (#488)bd416f5Update dependency uuid to v11 (#482)bfad16dUpdate dependency c8 to v10 (#480)b5d8f0efeat: replace globby with tinyglobby and remove get-stdin in favor of builtin...5f9f92aUpdate dependency prettier to ~3.4.0 (#484)0f52be7Update dependency prettier to ~3.3.0 (#477)528af4cAdding link to PostCSS (#472)