Skip to content

[Snyk] Upgrade tailwindcss from 3.4.4 to 4.0.9 #48

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Mar 18, 2025

snyk-top-banner

Snyk has created this PR to upgrade tailwindcss from 3.4.4 to 4.0.9.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 69 versions ahead of your current version.

  • The recommended version was released 21 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Missing Release of Resource after Effective Lifetime
SNYK-JS-INFLIGHT-6095116
131 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
131 No Known Exploit
Release notes
Package name: tailwindcss
  • 4.0.9 - 2025-02-25

    Fixed

    • Make JS APIs available to plugins and configs in the Standalone CLI (#15934)
    • Vite: Don't crash when importing a virtual module from JavaScript that ends in .css (#16780)
    • Fix an issue where @ reference "…" would sometimes omit keyframe animations (#16774)
    • Ensure z-*! utilities are properly marked as !important (#16795)
    • Read UTF-8 CSS files that start with a byte-order mark (BOM) (#16800)
    • Ensure nested functions in selectors used with JavaScript plugins are not truncated (#16802)

    Changed

    • Emit variable fallbacks when using @ reference "…" instead of duplicate CSS variable declarations (#16774)
  • 4.0.8 - 2025-02-21

    Added

    • Allow @ import with theme(…) options for stylesheets that contain more than just @ theme rules (#16514)

    Fixed

    • Don't add !important to CSS variable declarations when using the important modifier (#16668)
    • Vite: Ignore files and directories specified in your .gitignore file when using automatic source detection(#16631)
    • Vite: Don't rely on the module graph for detecting candidates to ensure setups with multiple Vite builds work as expected (#16631)
    • Vite: Ensure Astro production builds always contain classes used in client-only components (#16631)
    • Vite: Always scan raw file contents for utility classes before any other transforms have been applied to ensure utility classes are scanned without any additional escaping (#16631)
    • Ensure utilities with more declarations are always sorted before utilities with fewer declarations when utilities only define CSS variables (#16715)
    • Only include translate-z-px utilities once in compiled CSS (#16718)

    Changed

    • Don't include theme variables that aren't used in compiled CSS (#16211, #16676)
  • 4.0.7 - 2025-02-18

    Fixed

    • Export tailwindcss/lib/util/flattenColorPalette.js for backward compatibility (#16411)
    • Fix sorting of numeric utility suggestions when they have different magnitudes (#16414)
    • Show suggestions for fractions in IntelliSense (#16353)
    • Don’t replace _ in suggested theme keys (#16433)
    • Ensure --default-outline-width can be used to change the outline-width value of the outline utility (#16469)
    • Ensure drop shadow utilities don't inherit unexpectedly (#16471)
    • Export config and plugin types from tailwindcss/plugin for backward compatibility (#16505)
    • Ensure JavaScript plugins that emit nested rules referencing the utility name work as expected (#16539)
    • Statically link Visual Studio redistributables in @ tailwindcss/oxide Windows builds (#16602)
    • Ensure that Next.js splat routes are scanned for classes (#16457)
    • Pin exact version of tailwindcss in @ tailwindcss/* packages (#16623)
    • Upgrade: Report errors when updating dependencies (#16504)
    • Upgrade: Ensure a darkMode JS config setting with block syntax converts to use @ slot (#16507)
    • Upgrade: Ensure the latest version of tailwindcss and @ tailwindcss/postcss are installed when upgrading (#16620)
  • 4.0.6 - 2025-02-10

    Fixed

    • Revert change to no longer include theme variables that aren't used in compiled CSS (#16403)
  • 4.0.5 - 2025-02-08

    Added

    • Add @ theme static option for always including theme variables in compiled CSS (#16211)

    Fixed

    • Remove rogue console.log from @ tailwindcss/vite (#16307)

    Changed

    • Don't include theme variables that aren't used in compiled CSS (#16211)
  • 4.0.4 - 2025-02-06
  • 4.0.3 - 2025-02-01
  • 4.0.2 - 2025-01-31
  • 4.0.1 - 2025-01-29
  • 4.0.0 - 2025-01-21
  • 4.0.0-beta.10 - 2025-01-21
  • 4.0.0-beta.9 - 2025-01-09
  • 4.0.0-beta.8 - 2024-12-17
  • 4.0.0-beta.7 - 2024-12-13
  • 4.0.0-beta.6 - 2024-12-06
  • 4.0.0-beta.5 - 2024-12-04
  • 4.0.0-beta.4 - 2024-11-29
  • 4.0.0-beta.3 - 2024-11-27
  • 4.0.0-beta.2 - 2024-11-22
  • 4.0.0-beta.1 - 2024-11-21
  • 4.0.0-alpha.36 - 2024-11-21
  • 4.0.0-alpha.35 - 2024-11-20
  • 4.0.0-alpha.34 - 2024-11-14
  • 4.0.0-alpha.33 - 2024-11-12
  • 4.0.0-alpha.32 - 2024-11-11
  • 4.0.0-alpha.31 - 2024-10-30
  • 4.0.0-alpha.30 - 2024-10-24
  • 4.0.0-alpha.29 - 2024-10-23
  • 4.0.0-alpha.28 - 2024-10-17
  • 4.0.0-alpha.27 - 2024-10-15
  • 4.0.0-alpha.26 - 2024-10-03
  • 4.0.0-alpha.25 - 2024-09-24
  • 4.0.0-alpha.24 - 2024-09-12
  • 4.0.0-alpha.23 - 2024-09-05
  • 4.0.0-alpha.22 - 2024-09-05
  • 4.0.0-alpha.21 - 2024-09-02
  • 4.0.0-alpha.20 - 2024-08-23
  • 4.0.0-alpha.19 - 2024-08-09
  • 4.0.0-alpha.18 - 2024-07-25
  • 4.0.0-alpha.17 - 2024-07-04
  • 4.0.0-alpha.16 - 2024-06-07
  • 4.0.0-alpha.15 - 2024-05-08
  • 4.0.0-alpha.14 - 2024-04-09
  • 4.0.0-alpha.13 - 2024-04-04
  • 4.0.0-alpha.12 - 2024-04-04
  • 4.0.0-alpha.11 - 2024-03-27
  • 4.0.0-alpha.10 - 2024-03-21
  • 4.0.0-alpha.9 - 2024-03-13
  • 4.0.0-alpha.8 - 2024-03-11
  • 4.0.0-alpha.7 - 2024-03-08
  • 4.0.0-alpha.6 - 2024-03-07
  • 4.0.0-alpha.5 - 2024-03-06
  • 4.0.0-alpha.4 - 2024-03-06
  • 4.0.0-alpha.3 - 2024-03-06
  • 4.0.0-alpha.2 - 2024-03-06
  • 4.0.0-alpha.1 - 2024-03-05
  • 3.4.17 - 2024-12-17
  • 3.4.16 - 2024-12-03
  • 3.4.15 - 2024-11-14
  • 3.4.14 - 2024-10-15
  • 3.4.13 - 2024-09-23
  • 3.4.12 - 2024-09-17
  • 3.4.11 - 2024-09-11
  • 3.4.10 - 2024-08-13
  • 3.4.9 - 2024-08-08
  • 3.4.8 - 2024-08-07
  • 3.4.7 - 2024-07-25
  • 3.4.6 - 2024-07-16
  • 3.4.5 - 2024-07-15
  • 3.4.4 - 2024-06-05
from tailwindcss GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Upgrade the tailwindcss dependency from version 3.4.4 to 4.0.9.

Bug Fixes:

  • Fixes a missing release of resource after effective lifetime.
  • Fixes an improper input validation.

Snyk has created this PR to upgrade tailwindcss from 3.4.4 to 4.0.9.

See this package in npm:
tailwindcss

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/ded0d4c9-2f65-458e-91a2-4bc521804eb9?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Mar 18, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the tailwindcss dependency from version 3.4.4 to 4.0.9. This upgrade includes fixes for existing vulnerabilities and ensures the project uses the latest features and improvements.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
The pull request upgrades the tailwindcss dependency.
  • Upgrades tailwindcss from version 3.4.4 to 4.0.9.
package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants