This repository was archived by the owner on Jun 4, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
fix(security): pin dashboard dependencies to exact versions #7
Closed
xiaolai
wants to merge
1
commit into
webdevtodayjason:main
from
xiaolai:fix/nlpm-pin-semver-dashboard
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,32 +10,32 @@ | |
| "lint": "next lint" | ||
| }, | ||
| "dependencies": { | ||
| "@radix-ui/react-alert-dialog": "^1.0.5", | ||
| "@radix-ui/react-dialog": "^1.0.5", | ||
| "@radix-ui/react-dropdown-menu": "^2.0.6", | ||
| "@radix-ui/react-label": "^2.0.2", | ||
| "@radix-ui/react-select": "^2.0.0", | ||
| "@radix-ui/react-slot": "^1.0.2", | ||
| "@radix-ui/react-tabs": "^1.0.4", | ||
| "@radix-ui/react-toast": "^1.1.5", | ||
| "class-variance-authority": "^0.7.0", | ||
| "clsx": "^2.1.0", | ||
| "lucide-react": "^0.344.0", | ||
| "@radix-ui/react-alert-dialog": "1.0.5", | ||
| "@radix-ui/react-dialog": "1.0.5", | ||
| "@radix-ui/react-dropdown-menu": "2.0.6", | ||
| "@radix-ui/react-label": "2.0.2", | ||
| "@radix-ui/react-select": "2.0.0", | ||
| "@radix-ui/react-slot": "1.0.2", | ||
| "@radix-ui/react-tabs": "1.0.4", | ||
| "@radix-ui/react-toast": "1.1.5", | ||
| "class-variance-authority": "0.7.0", | ||
| "clsx": "2.1.0", | ||
| "lucide-react": "0.344.0", | ||
| "next": "14.1.0", | ||
| "react": "^18", | ||
| "react-dom": "^18", | ||
| "tailwind-merge": "^2.2.1", | ||
| "tailwindcss-animate": "^1.0.7" | ||
| "react": "18.2.0", | ||
| "react-dom": "18.2.0", | ||
| "tailwind-merge": "2.2.1", | ||
| "tailwindcss-animate": "1.0.7" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "^20", | ||
| "@types/react": "^18", | ||
| "@types/react-dom": "^18", | ||
| "autoprefixer": "^10.0.1", | ||
| "eslint": "^8", | ||
| "@types/node": "20.11.5", | ||
| "@types/react": "18.2.48", | ||
| "@types/react-dom": "18.2.18", | ||
| "autoprefixer": "10.0.1", | ||
| "eslint": "8.56.0", | ||
| "eslint-config-next": "14.1.0", | ||
| "postcss": "^8", | ||
| "tailwindcss": "^3.3.0", | ||
| "typescript": "^5" | ||
| "postcss": "8.4.33", | ||
| "tailwindcss": "3.3.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tailwind CSS pinned to older version than installedLow Severity
Reviewed by Cursor Bugbot for commit 44f92a2. Configure here. |
||
| "typescript": "5.3.3" | ||
| } | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Autoprefixer pinned to ancient 2020 version unintentionally
Medium Severity
autoprefixeris pinned to10.0.1(September 2020), but the lock file shows10.4.21was actually installed. It appears the^was simply stripped from^10.0.1, treating it like other deps where the lower bound was already appropriate (e.g.,^1.0.5→1.0.5). Other bare-major specifiers like^8and^20were correctly resolved to contemporary versions (8.4.33,20.11.5), so this is inconsistent. The version contemporary tonext@14.1.0would be around10.4.16.Reviewed by Cursor Bugbot for commit 44f92a2. Configure here.