Skip to content

Bump cssnano from 9.0.2 to 9.0.4 - #331

Open
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/cssnano-9.0.4
Open

dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/cssnano-9.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps cssnano from 9.0.2 to 9.0.4.

Release notes

Sourced from cssnano's releases.

v9.0.4

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@9.0.3...cssnano@9.0.4

v9.0.3

What's Changed

  • fix: update color parsing library in cssnano/cssnano#1964

  • fix: update PostCSS and selector parser

  • fix: update conflict detection and color conversion CSS spec conformance

  • fix: update PostCSS peer dependency

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@9.0.2...cssnano@9.0.3

Commits
  • 88b2266 Publish cssnano 9.0.4
  • 13b2373 chore: update pnpm
  • 0dd1284 fix(cssnano-preset-default): update postcss-calc
  • 7dd2a19 Publish cssnano 9.0.3
  • 8a71cd2 fix: update PostCSS peer dependency
  • 8ca8877 fix: update spec conformance in conflict detection and color conversion
  • 8bb6018 fix: update autoprefixer
  • c6190b4 fix: updated colordx and browserslist
  • ce4082e docs: update outdated links
  • b172f6b docs: update site dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cssnano](https://github.com/cssnano/cssnano) from 9.0.2 to 9.0.4.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@9.0.2...cssnano@9.0.4)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-version: 9.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 14, 2026
@koddsson
koddsson requested a lite review from Copilot September 14, 2026 13:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@koddsson
koddsson requested a lite review from Copilot September 16, 2026 08:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@koddsson
koddsson requested a lite review from Copilot September 16, 2026 09:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@koddsson

Copy link
Copy Markdown
Owner

@copilot can you fix this?

Copilot AI commented Sep 16, 2026

Copy link
Copy Markdown

@copilot can you fix this?

I can take care of it — can you confirm what you want fixed here: the dependency update itself, or the "Copilot wasn't able to review any files" messages?

@koddsson

Copy link
Copy Markdown
Owner

@copilot all the CI tasks are failing.

Run npm run build --if-present

> web-dev@0.0.1 prebuild
> npm run build:css


> web-dev@0.0.1 build:css
> postcss src/css/index.css -o dist/index.css

TypeError: trustedFunctions.difference is not a function
    at file:///home/runner/work/web-dev/web-dev/node_modules/postcss-merge-longhand/src/lib/unresolved.js:34:50
    at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
    at async importModuleDynamicallyWrapper (node:internal/vm/module:432:15)
    at async req (/home/runner/work/web-dev/web-dev/node_modules/postcss-load-config/src/req.js:19:13)
    at async Object.search (/home/runner/work/web-dev/web-dev/node_modules/lilconfig/src/index.js:225:23)
    at async Promise.all (index 0)
Error: Process completed with exit code 1.

Co-authored-by: koddsson <318208+koddsson@users.noreply.github.com>

Copilot AI commented Sep 16, 2026

Copy link
Copy Markdown

@copilot all the CI tasks are failing.

...

Fixed in 199f61a.

I updated the CI workflows to use Node.js 24 (.github/workflows/ci.yml and .github/workflows/lighthouse.yml), which resolves the build failure caused by running the updated cssnano/postcss toolchain on Node 18.

@koddsson

Copy link
Copy Markdown
Owner

@dependabot now I'm getting:

Run npm run build --if-present

> web-dev@0.0.1 prebuild
> npm run build:css


> web-dev@0.0.1 build:css
> postcss src/css/index.css -o dist/index.css


> web-dev@0.0.1 build
> rollup -c rollup.config.js


index.html → dist...
[!] (plugin @web/rollup-plugin-html) SyntaxError: No such file or directory (os error 2)
undefined (1:1)
SyntaxError: No such file or directory (os error 2)


Error: Process completed with exit code 1.

@koddsson

Copy link
Copy Markdown
Owner

@copilot now I'm getting:

Run npm run build --if-present

> web-dev@0.0.1 prebuild
> npm run build:css


> web-dev@0.0.1 build:css
> postcss src/css/index.css -o dist/index.css


> web-dev@0.0.1 build
> rollup -c rollup.config.js


index.html → dist...
[!] (plugin @web/rollup-plugin-html) SyntaxError: No such file or directory (os error 2)
undefined (1:1)
SyntaxError: No such file or directory (os error 2)


Error: Process completed with exit code 1.

Co-authored-by: koddsson <318208+koddsson@users.noreply.github.com>

Copilot AI commented Sep 16, 2026

Copy link
Copy Markdown

@copilot now I'm getting:

...

Fixed in a8a16df.

I updated src/css/index.css imports to explicit filesystem paths so @web/rollup-plugin-html can resolve them during rollup -c in CI.

@dependabot @github

dependabot Bot commented on behalf of github Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

A newer version of cssnano exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants