Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Youtube-Clone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "Jigar Sable",
"license": "ISC",
"dependencies": {
"tailwindcss": "^2.2.7",
"tailwindcss": "^2.2.19",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

This upgrade to 2.2.19 is a good step to patch the identified security vulnerabilities. However, it's important to note that Tailwind CSS v2 is no longer receiving updates, including for security.

For the long-term health and security of the project, I recommend planning an upgrade to Tailwind CSS v3. This will provide access to the latest features, performance improvements (like the Just-in-Time engine which is on by default), and continued support.

The official Tailwind CSS documentation has a comprehensive upgrade guide. One of the key changes you'll need to make is in your tailwind.config.js, where the purge option is replaced by content.

"win-node-env": "^0.4.0"
},
"devDependencies": {
Expand Down