Skip to content

fix(deps): update dependencies - #103

Merged
aminya merged 1 commit into
mainfrom
renovate/dependencies
Sep 5, 2026
Merged

fix(deps): update dependencies#103
aminya merged 1 commit into
mainfrom
renovate/dependencies

Conversation

@renovate

@renovate renovate Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cssnano ^7.1.7^9.0.0 age adoption passing confidence
htmlnano ^2.1.5^3.0.0 age adoption passing confidence

Release Notes

cssnano/cssnano (cssnano)

v9.0.2: v9.0.2

Compare Source

What's Changed

  • fix: add main and types to package manifests in #​1958
  • fix: update postcss-calc

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

v9.0.1: v9.0.1

Compare Source

What's Changed

  • refactor: some small performance gains in #​1955

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@9.0.0...cssnano@9.0.1

v9.0.0: v9.0.0

Compare Source

What's Changed

Breaking changes
  • Migrate to ESM and simplify config loading in #​1948

Probably backward-compatible for most users. Some changes to configuration loading documented in migration guide.

Bug fixes
  • Introduce new postcss-calc plugin in 34aec91

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.10...cssnano@9.0.0

v8.0.10: v8.0.10

Compare Source

What's Changed

  • Make charset normalization idempotent in #​1949

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.9...cssnano@8.0.10

v8.0.9: v8.0.9

Compare Source

Bug fixes

Bug fixes coming by way of updating colordx and svgo to the latest release.

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.8...cssnano@8.0.9

v8.0.8: v8.0.8

Compare Source

What's Changed

Bug Fixes
  • fix(postcss-minify-gradients): minify gradients using spec algorithm in #​1941

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.7...cssnano@8.0.8

v8.0.7: v8.0.7

Compare Source

What's Changed

Bug Fixes
  • fix(cssnano): tighten option types in #​1919
  • fix(postcss-discard-empty): better optimize cascade layers in #​1924
Documentation
  • docs: add security information in #​1922
Website playground
  • feat(site): update playground to use a web worker in #​1918

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.6...cssnano@8.0.7

v8.0.6: v8.0.6

Compare Source

What's Changed

Bug Fixes
  • fix(postcss-merge-rules): fix invalid merging in #​1893

  • fix(postcss-merge-rules): use webref data to perform a merge #​1897

  • fix(postcss-reduce-idents): do not break grid-template-areas in #​1898

  • fix: ensure correct repository URL in published packages in #​1900

  • fix(postcss-merge-longhand): improve longhand merging correctness in #​1907

  • fix(postcss-merge-longhand): add a fuzzer and fix the cases it found in #​1914

  • fix: improve selector minification in #​1915

Other Changes

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.5...cssnano@8.0.6

v8.0.5: v8.0.5

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.4...cssnano@8.0.5

v8.0.4: v8.0.4

Compare Source

What's Changed

Bug Fixes

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.3...cssnano@8.0.4

v8.0.3: v8.0.3

Compare Source

What's Changed

Bug Fixes
  • postcss-reduce-initial: update initial properties
  • potcss-minify-gradients: handle more than two stops
  • postcss-normalize-whitespace: preserve whitespace in custom prop
  • postcss-normalize-url: ensure trailing slash is preserved
Other Changes
  • packages now define an exports field in package.json. This prevents any file added to the package to automatically be exposed as a possible import. The has been done in a backward compatible way, so you should be able to import every file you did in the previous release.

  • types have also been regenerated with TypeScript 7.

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.2...cssnano@8.0.3

v8.0.2: v8.0.2

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.1...cssnano@8.0.2

v8.0.1: v8.0.1

Compare Source

What's Changed

  • fix(postcss-minify-selectors): reject :is() fold when divergent middle contains a combinator under a non-empty prefix (closes #​1786) by @​dkryaklin in #​1798
  • fix(postcss-minify-selectors): tighten :is() fold acceptance to a strict allowlist by @​dkryaklin in #​1799

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.0...cssnano@8.0.1

v8.0.0: v8.0.0

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.9...cssnano@8.0.0

maltsev/htmlnano (htmlnano)

v3.4.1

Compare Source

Changed
Fixed
  • Correctly handle isolated scopes when merging <style> and <script> elements [#​456].
  • Preserve escaped < characters when using minifyJson.

v3.4.0

Compare Source

This release adds several new modules and optimizations. A few of them change the minified output of the default safe preset (all producing semantically-equivalent HTML) — see Changed below so nothing surprises you in a diff. No configuration options were removed and existing configs keep working.

Added
  • minifyCharacterReferences module — decodes HTML character references to shorter UTF-8 characters (e.g. &mdash;, &#x2014;) in text and attribute values. Enabled in the safe preset; never decodes syntactically required references (&amp;, &lt;, &gt;, &quot;) and skips script/style/textarea content. max preset runs it with { decodeAll: true }.
  • normalizeDoctype module (max preset only) — rewrites legacy XHTML/HTML4 doctypes to the short <!doctype html>.
  • removeXmlLeftovers module (max preset only) — removes XHTML-era leftovers: xmlns="http://www.w3.org/1999/xhtml" on <html> and xml:lang when a matching lang attribute is present.
  • minifyAttributes now minifies <meta name="viewport"> content (under the existing metaContent option), e.g. width=device-width, initial-scale=1.0width=device-width,initial-scale=1.
  • minifyUrls now strips default ports (:80 for http, :443 for https) and trailing empty ?/#, including inside srcset.
  • normalizeAttributeValues and removeRedundantAttributes now handle the fetchpriority attribute (high/low/auto) on img, link and script.
  • CLI: multiple input files and glob patterns, plus --output-dir <dir> (preserves relative structure) and --in-place. Single-file and stdin/stdout usage is unchanged. Adds tinyglobby as a dependency.
Changed
  • minifyCharacterReferences is on by default in the safe preset, so entity-heavy documents now produce different (shorter) bytes.
  • mergeStyles no longer merges <style> tags across an intervening stylesheet source (a <link rel="stylesheet"> or a <style> with different media). This preserves CSS source-order / cascade correctness; only contiguous same-group styles are merged.
  • collapseWhitespace now preserves whitespace in elements (and their subtrees) carrying an inline style with white-space: pre / pre-wrap / pre-line / break-spaces, matching how <pre> is treated.
  • collapseBooleanAttributes now collapses popover="auto" to bare popover and recognizes the declarative shadow DOM booleans shadowrootclonable, shadowrootdelegatesfocus, shadowrootserializable.
  • removeComments in safe mode now preserves license comments (<!--! ... -->), matching the /*! ... */ convention used by Terser and cssnano.
  • custom functions that return a Promise are now awaited, including multiple promise-returning functions applied in order.
Deprecated
  • redundantWhitespaces: 'agressive' — use the correctly-spelled 'aggressive'. The old value still works as an alias and will be kept for backwards compatibility.
Fixed
  • collapseBooleanAttributes no longer collapses hidden="until-found" to bare hiddenuntil-found is a distinct state and is now preserved.
  • Fixed the redundantWhitespaces option to accept the correctly-spelled 'aggressive' (see Deprecated).
  • Fixed package exports so TypeScript consumers get the correct type declarations for ESM and CommonJS under modern (node16/bundler) resolution; the previous map pointed ESM consumers at CommonJS .d.ts files. Validated in CI with publint and @arethetypeswrong/cli.

v3.3.2

Compare Source

Fixed
  • Restored compatibility with both cssnano 7 and 8 by widening the peer dependency range [#​434].

v3.3.1

Compare Source

Fixed
  • Fixed cssnano version in peerDependencies [#​432].

v3.3.0

Compare Source

Changed
  • Upgraded to cssnano@8.

v3.2.1

Compare Source

Changed
  • Improved minifyCss performance by initializing cssnano only once [#​400].
  • Reduced aggressive cssnano transforms for inline CSS in minifyCss to avoid non-relevant minifications [#​400].
Fixed
  • Removed peer dependency type imports from public declaration files, fixing TypeScript type usage without requiring peer dependency types to be installed [#​425].
  • Corrected the safe preset typing for minifyJson to use its supported boolean form, improving TypeScript compatibility.

v3.2.0

Compare Source

Changed
  • Refactor attribute normalization and sorting to avoid code duplication.
  • Make max preset more aggresive.
  • Use purgeCSS and default tool in removeUnusedCss.
Fixed
  • Handle exceptions raised by Terser.

v3.1.0

Compare Source

This release touches almost the whole htmlnano code.
Minifier modules are fully covered by tests, and many new edge cases were added, so I don’t expect regressions, but please be aware.

Added
  • minifyHtmlTemplate module to minify HTML inside template containers [#​11].
  • removeEmptyElements module [#​8].
  • minifyAttributes improvements: new module for meta refresh optimization and options for redundant whitespace handling [#​37].
  • removeComments now supports a regex string in JSON config [#​255].
  • Fallback SVG optimization.
Changed
  • Upgrade to PurgeCSS v8.
  • Expanded and hardened behavior across all minifier modules.
  • Updated SVGO peer dependency range to ^4.0.0 and synced peer/dev versions [#​394].
Fixed
  • minifyJs preserves single quotes in handler attributes [#​41].
  • minifyJs now pushes event-handler minification promises correctly [#​398].
  • Fixed removeUnusedCss option typings [#​401].

v3.0.0

Compare Source

Changed
  • SVGO has been upgraded to v4, which includes some breaking changes. This is the main reason for the major version bump in this release of htmlnano.
Added

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label May 9, 2026
@renovate
renovate Bot force-pushed the renovate/dependencies branch from a3994f1 to 4fb4151 Compare June 22, 2026 11:54
@renovate
renovate Bot force-pushed the renovate/dependencies branch 2 times, most recently from 3ba4085 to 941acc2 Compare July 21, 2026 07:12
@renovate
renovate Bot force-pushed the renovate/dependencies branch from 941acc2 to 382c9f2 Compare August 27, 2026 23:48
@aminya
aminya merged commit 925d235 into main Sep 5, 2026
1 check passed
@renovate
renovate Bot deleted the renovate/dependencies branch September 5, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant