Skip to content

Bump @tailwindcss/vite from 4.1.18 to 4.2.2#356

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/tailwindcss/vite-4.2.2
Open

Bump @tailwindcss/vite from 4.1.18 to 4.2.2#356
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/tailwindcss/vite-4.2.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 27, 2026

Bumps @tailwindcss/vite from 4.1.18 to 4.2.2.

Release notes

Sourced from @​tailwindcss/vite's releases.

v4.2.2

Added

  • Support Vite 8 in @tailwindcss/vite (#19790)

Fixed

  • Don't crash when candidates contain prototype properties like row-constructor (#19725)
  • Canonicalize calc(var(--spacing)*…) expressions into --spacing(…) (#19769)
  • Fix crash in canonicalization step when handling utilities containing @property at-rules (e.g. shadow-sm border) (#19727)
  • Skip full reload for server only modules scanned by client CSS when using @tailwindcss/vite (#19745)
  • Improve canonicalization for bare values exceeding default spacing scale suggestions (e.g. w-1234 h-1234size-1234) (#19809)
  • Fix canonicalization resulting in empty list (e.g. w-5 h-5 size-5'' instead of size-5) (#19812)

v4.2.1

Fixed

  • Allow trailing dash in functional utility names for backwards compatibility (#19696)
  • Properly detect classes containing . characters within curly braces in MDX files (#19711)

v4.2.0

Added

  • Add mauve, olive, mist, and taupe color palettes to the default theme (#19627)
  • Add @tailwindcss/webpack package to run Tailwind CSS as a webpack plugin (#19610)
  • Add pbs-* and pbe-* utilities for padding-block-start and padding-block-end (#19601)
  • Add mbs-* and mbe-* utilities for margin-block-start and margin-block-end (#19601)
  • Add scroll-pbs-* and scroll-pbe-* utilities for scroll-padding-block-start and scroll-padding-block-end (#19601)
  • Add scroll-mbs-* and scroll-mbe-* utilities for scroll-margin-block-start and scroll-margin-block-end (#19601)
  • Add border-bs-* and border-be-* utilities for border-block-start and border-block-end (#19601)
  • Add inline-*, min-inline-*, max-inline-* utilities for inline-size, min-inline-size, and max-inline-size (#19612)
  • Add block-*, min-block-*, max-block-* utilities for block-size, min-block-size, and max-block-size (#19612)
  • Add inset-s-*, inset-e-*, inset-bs-*, inset-be-* utilities for inset-inline-start, inset-inline-end, inset-block-start, and inset-block-end (#19613)
  • Add font-features-* utility for font-feature-settings (#19623)

Fixed

  • Prevent double @supports wrapper for color-mix values (#19450)
  • Allow whitespace around @source inline() argument (#19461)
  • Emit comment when source maps are saved to files when using @tailwindcss/cli (#19447)
  • Detect utilities containing capital letters followed by numbers (#19465)
  • Fix class extraction for Rails' strict locals (#19525)
  • Align @utility name validation with Oxide scanner rules (#19524)
  • Fix infinite loop when using @variant inside @custom-variant (#19633)
  • Allow multiples of .25 in aspect-* fractions (e.g. aspect-8.5/11) (#19688)
  • Ensure changes to external files listed via @source trigger a full page reload when using @tailwindcss/vite (#19670)
  • Improve performance of Oxide scanner in bigger projects by reducing file system walks (#19632)
  • Ensure import aliases in Astro v5 work without crashing when using @tailwindcss/vite (#19677)
  • Allow escape characters in @utility names to improve support with formatters such as Biome (#19626)
  • Fix incorrect canonicalization results when canonicalizing multiple times (#19675)

... (truncated)

Changelog

Sourced from @​tailwindcss/vite's changelog.

[4.2.2] - 2026-03-18

Fixed

  • Don't crash when candidates contain prototype properties like row-constructor (#19725)
  • Canonicalize calc(var(--spacing)*…) expressions into --spacing(…) (#19769)
  • Fix crash in canonicalization step when handling utilities containing @property at-rules (e.g. shadow-sm border) (#19727)
  • Skip full reload for server only modules scanned by client CSS when using @tailwindcss/vite (#19745)
  • Add support for Vite 8 in @tailwindcss/vite (#19790)
  • Improve canonicalization for bare values exceeding default spacing scale suggestions (e.g. w-1234 h-1234size-1234) (#19809)
  • Fix canonicalization resulting in empty list (e.g. w-5 h-5 size-5'' instead of size-5) (#19812)
  • Resolve tsconfig paths to allow for @import '@/path/to/file'; when using @tailwindcss/vite (#19803)

[4.2.1] - 2026-02-23

Fixed

  • Allow trailing dash in functional utility names for backwards compatibility (#19696)
  • Properly detect classes containing . characters within curly braces in MDX files (#19711)

[4.2.0] - 2026-02-18

Added

  • Add mauve, olive, mist, and taupe color palettes to the default theme (#19627)
  • Add @tailwindcss/webpack package to run Tailwind CSS as a webpack plugin (#19610)
  • Add pbs-* and pbe-* utilities for padding-block-start and padding-block-end (#19601)
  • Add mbs-* and mbe-* utilities for margin-block-start and margin-block-end (#19601)
  • Add scroll-pbs-* and scroll-pbe-* utilities for scroll-padding-block-start and scroll-padding-block-end (#19601)
  • Add scroll-mbs-* and scroll-mbe-* utilities for scroll-margin-block-start and scroll-margin-block-end (#19601)
  • Add border-bs-* and border-be-* utilities for border-block-start and border-block-end (#19601)
  • Add inline-*, min-inline-*, max-inline-* utilities for inline-size, min-inline-size, and max-inline-size (#19612)
  • Add block-*, min-block-*, max-block-* utilities for block-size, min-block-size, and max-block-size (#19612)
  • Add inset-s-*, inset-e-*, inset-bs-*, inset-be-* utilities for inset-inline-start, inset-inline-end, inset-block-start, and inset-block-end (#19613)
  • Add font-features-* utility for font-feature-settings (#19623)

Fixed

  • Prevent double @supports wrapper for color-mix values (#19450)
  • Allow whitespace around @source inline() argument (#19461)
  • Emit comment when source maps are saved to files when using @tailwindcss/cli (#19447)
  • Detect utilities containing capital letters followed by numbers (#19465)
  • Fix class extraction for Rails' strict locals (#19525)
  • Align @utility name validation with Oxide scanner rules (#19524)
  • Fix infinite loop when using @variant inside @custom-variant (#19633)
  • Allow multiples of .25 in aspect-* fractions (e.g. aspect-8.5/11) (#19688)
  • Ensure changes to external files listed via @source trigger a full page reload when using @tailwindcss/vite (#19670)
  • Improve performance of Oxide scanner in bigger projects by reducing file system walks (#19632)
  • Ensure import aliases in Astro v5 work without crashing when using @tailwindcss/vite (#19677)
  • Allow escape characters in @utility names to improve support with formatters such as Biome (#19626)

... (truncated)

Commits

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 [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) from 4.1.18 to 4.2.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.2/packages/@tailwindcss-vite)

---
updated-dependencies:
- dependency-name: "@tailwindcss/vite"
  dependency-version: 4.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Mar 27, 2026
@github-actions
Copy link
Copy Markdown

⚠️ Duplicate Dependencies (found: 29, threshold: 1)

📦 Package 📋 Versions
semver
2 versions
  • jensroemer-astro@0.0.1
    • @astrojs/solid-js@5.1.3
      • vite-plugin-solid@2.11.10
        • @babel/core@7.28.5
          • @babel/helper-compilation-targets@7.27.2
            • semver@6.3.1

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • semver@7.7.3

lru-cache
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • unstorage@1.17.4
        • lru-cache@11.2.4

  • jensroemer-astro@0.0.1
    • @astrojs/solid-js@5.1.3
      • vite-plugin-solid@2.11.10
        • @babel/core@7.28.5
          • @babel/helper-compilation-targets@7.27.2
            • lru-cache@5.1.1

@babel/helper-module-imports
2 versions
  • jensroemer-astro@0.0.1
    • @astrojs/solid-js@5.1.3
      • vite-plugin-solid@2.11.10
        • babel-preset-solid@1.9.10
          • babel-plugin-jsx-dom-expressions@0.40.3
            • @babel/helper-module-imports@7.18.6

  • jensroemer-astro@0.0.1
    • @astrojs/solid-js@5.1.3
      • vite-plugin-solid@2.11.10
        • @babel/core@7.28.5
          • @babel/helper-module-transforms@7.28.3
            • @babel/helper-module-imports@7.27.1

@emnapi/runtime
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • sharp@0.34.5
        • @img/sharp-wasm32@0.34.5
          • @emnapi/runtime@1.7.1

  • jensroemer-astro@0.0.1
    • @tailwindcss/vite@4.2.2
      • @tailwindcss/oxide@4.2.2
        • @tailwindcss/oxide-wasm32-wasi@4.2.2
          • @emnapi/runtime@1.8.1

eslint-visitor-keys
3 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • @eslint-community/eslint-utils@4.9.1
        • eslint-visitor-keys@3.4.3

  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • @eslint/eslintrc@3.3.1
        • espree@10.4.0
          • eslint-visitor-keys@4.2.1

  • jensroemer-astro@0.0.1
    • eslint-plugin-astro@1.6.0
      • astro-eslint-parser@1.3.0
        • @typescript-eslint/scope-manager@8.56.0
          • @typescript-eslint/visitor-keys@8.56.0
            • eslint-visitor-keys@5.0.0

@humanwhocodes/retry
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • @humanfs/node@0.16.6
        • @humanwhocodes/retry@0.3.1

  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • @humanwhocodes/retry@0.4.2

estree-walker
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • @rollup/pluginutils@5.3.0
        • estree-walker@2.0.2

  • jensroemer-astro@0.0.1
    • @astrojs/mdx@4.3.13
      • @mdx-js/mdx@3.1.1
        • estree-walker@3.0.3

@types/unist
2 versions
  • jensroemer-astro@0.0.1
    • @astrojs/mdx@4.3.13
      • ...
        • mdast-util-mdx-jsx@3.2.0
          • parse-entities@4.0.2
            • @types/unist@2.0.11

  • jensroemer-astro@0.0.1
    • @astrojs/mdx@4.3.13
      • @astrojs/markdown-remark@6.3.10
        • hast-util-from-html@2.0.3
          • @types/hast@3.0.4
            • @types/unist@3.0.3

ignore
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • @eslint/eslintrc@3.3.1
        • ignore@5.3.2

  • jensroemer-astro@0.0.1
    • typescript-eslint@8.56.0
      • @typescript-eslint/eslint-plugin@8.56.0
        • ignore@7.0.5

brace-expansion
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • @eslint/config-array@0.21.1
        • minimatch@3.1.2
          • brace-expansion@1.1.11

  • jensroemer-astro@0.0.1
    • typescript-eslint@8.56.0
      • ...
        • @typescript-eslint/typescript-estree@8.56.0
          • minimatch@9.0.5
            • brace-expansion@2.0.2

minimatch
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • @eslint/config-array@0.21.1
        • minimatch@3.1.2

  • jensroemer-astro@0.0.1
    • typescript-eslint@8.56.0
      • @typescript-eslint/eslint-plugin@8.56.0
        • @typescript-eslint/type-utils@8.56.0
          • @typescript-eslint/typescript-estree@8.56.0
            • minimatch@9.0.5

ansi-regex
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • ...
        • string-width@4.2.3
          • strip-ansi@6.0.1
            • ansi-regex@5.0.1

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • string-width@7.2.0
          • strip-ansi@7.1.0
            • ansi-regex@6.1.0

emoji-regex
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • string-width@7.2.0
          • emoji-regex@10.4.0

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • ansi-align@3.0.1
          • string-width@4.2.3
            • emoji-regex@8.0.0

string-width
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • ansi-align@3.0.1
          • string-width@4.2.3

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • string-width@7.2.0

strip-ansi
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • ansi-align@3.0.1
          • string-width@4.2.3
            • strip-ansi@6.0.1

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • string-width@7.2.0
          • strip-ansi@7.1.0

ansi-styles
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • chalk@4.1.2
        • ansi-styles@4.3.0

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • wrap-ansi@9.0.0
          • ansi-styles@6.2.1

picomatch
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • unstorage@1.17.4
        • anymatch@3.1.3
          • picomatch@2.3.1

  • jensroemer-astro@0.0.1
    • @astrojs/solid-js@5.1.3
      • vite@6.4.1
        • picomatch@4.0.3

chalk
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • chalk@4.1.2

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • boxen@8.0.1
        • chalk@5.4.1

css-tree
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • svgo@4.0.0
        • csso@5.0.5
          • css-tree@2.2.1

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • svgo@4.0.0
        • css-tree@3.1.0

mdn-data
2 versions
  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • svgo@4.0.0
        • csso@5.0.5
          • css-tree@2.2.1
            • mdn-data@2.0.28

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • svgo@4.0.0
        • css-tree@3.1.0
          • mdn-data@2.12.2

entities
2 versions
  • jensroemer-astro@0.0.1
    • @astrojs/mdx@4.3.13
      • @astrojs/markdown-remark@6.3.10
        • hast-util-from-html@2.0.3
          • parse5@7.2.1
            • entities@4.5.0

  • jensroemer-astro@0.0.1
    • eslint-plugin-astro@1.6.0
      • astro-eslint-parser@1.3.0
        • entities@6.0.1

escape-string-regexp
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • escape-string-regexp@4.0.0

  • jensroemer-astro@0.0.1
    • @astrojs/mdx@4.3.13
      • ...
        • mdast-util-gfm-autolink-literal@2.0.1
          • mdast-util-find-and-replace@3.0.2
            • escape-string-regexp@5.0.0

globals
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • @eslint/eslintrc@3.3.1
        • globals@14.0.0

  • jensroemer-astro@0.0.1
    • eslint-plugin-astro@1.6.0
      • globals@16.5.0

glob-parent
2 versions
  • jensroemer-astro@0.0.1
    • eslint-plugin-astro@1.6.0
      • astro-eslint-parser@1.3.0
        • fast-glob@3.3.3
          • glob-parent@5.1.2

  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • glob-parent@6.0.2

fsevents
2 versions
  • jensroemer-astro@0.0.1
    • @astrojs/solid-js@5.1.3
      • vite@6.4.1
        • rollup@4.39.0
          • fsevents@2.3.2

  • jensroemer-astro@0.0.1
    • @astrojs/solid-js@5.1.3
      • vite@6.4.1
        • fsevents@2.3.3

property-information
2 versions
  • jensroemer-astro@0.0.1
    • @astrojs/mdx@4.3.13
      • ...
        • hast-util-raw@9.1.0
          • hast-util-to-parse5@8.0.0
            • property-information@6.5.0

  • jensroemer-astro@0.0.1
    • @astrojs/mdx@4.3.13
      • ...
        • hast-util-from-parse5@8.0.3
          • hastscript@9.0.1
            • property-information@7.0.0

nanoid
2 versions
  • jensroemer-astro@0.0.1
    • @astrojs/solid-js@5.1.3
      • vite@6.4.1
        • postcss@8.5.3
          • nanoid@3.3.11

  • jensroemer-astro@0.0.1
    • ts-generate-mock-data@0.0.2
      • nanoid@5.1.2

p-limit
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • find-up@5.0.0
        • locate-path@6.0.0
          • p-locate@5.0.0
            • p-limit@3.1.0

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • p-limit@6.2.0

yocto-queue
2 versions
  • jensroemer-astro@0.0.1
    • eslint@9.39.2
      • ...
        • p-locate@5.0.0
          • p-limit@3.1.0
            • yocto-queue@0.1.0

  • jensroemer-astro@0.0.1
    • astro@5.16.13
      • p-limit@6.2.0
        • yocto-queue@1.2.1

💡 To find out what depends on a specific package, run: npm ls example-package

📊 Dependency Size Changes

Warning

This PR adds 363.9 kB of new dependencies, which exceeds the threshold of 100 kB.

📦 Package 📏 Size
tailwindcss@4.1.18 -748.8 kB
lightningcss-linux-x64-gnu@1.30.2 → lightningcss-linux-x64-gnu@1.32.0 571.7 kB
@emnapi/runtime@1.8.1 424.1 kB
@tailwindcss/oxide-linux-x64-gnu@4.1.18 → @tailwindcss/oxide-linux-x64-gnu@4.2.2 53.3 kB
enhanced-resolve@5.18.4 → enhanced-resolve@5.20.1 36.4 kB
@emnapi/core@1.7.1 → @emnapi/core@1.8.1 13.4 kB
lightningcss@1.30.2 → lightningcss@1.32.0 9.4 kB
@tailwindcss/node@4.1.18 → @tailwindcss/node@4.2.2 2.9 kB
@tailwindcss/vite@4.1.18 → @tailwindcss/vite@4.2.2 1.4 kB
@napi-rs/wasm-runtime@1.1.0 → @napi-rs/wasm-runtime@1.1.1 130 B
@tailwindcss/oxide@4.1.18 → @tailwindcss/oxide@4.2.2 -66 B
tapable@2.3.0 → tapable@2.3.2 47 B

Total size change: 363.9 kB

@sonarqubecloud
Copy link
Copy Markdown

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.

0 participants