Commit 45f4fbd
fix: upgrade Storybook to v10.0.5 to resolve security vulnerabilities
This upgrade resolves several critical and high-severity security vulnerabilities:
- ws CRITICAL vulnerability (DoS with many HTTP headers)
- form-data and parse-url CRITICAL vulnerabilities (already fixed in earlier work)
Vulnerability status after upgrade:
- Critical: 0 (down from 2)
- High: 1 (down from 3)
- Moderate: ~12 (various deprecations)
Changes:
- Upgraded Storybook from 8.6.14 to 10.0.5
- Ran Storybook automigrations (renderer-to-framework, remove-essential-addons)
- Updated all 55 story files to use Storybook 10 import patterns:
- Types (StoryFn) from @storybook/react-webpack5 (framework package)
- Runtime functions (action) from storybook/test (consolidated package)
- Excluded story files from TypeScript build in tsconfig.json
- Fixed import order in all story files
Testing:
- All tests passing
- Build successful
- Lint passing
- Storybook build successful
Refs #311
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d60bbe1 commit 45f4fbd
58 files changed
Lines changed: 571 additions & 801 deletions
File tree
- .storybook
- src
- Alert
- Autocomplete
- Avatar
- BackTop
- Badge
- Breadcrumb
- Button
- Card
- Checkbox
- Collapse
- Comment
- DatePicker
- Descriptions
- Divider
- Drawer
- Dropdown
- Empty
- Fields
- Form
- Grid
- ImageMap
- Image
- Input
- List
- Menu
- Modal
- PageHeader
- Plate
- Popconfirm
- Popover
- Progress
- Provider
- Radio
- RangeWithValue
- Result
- Select
- Skeleton
- Slider
- Space
- Spinner
- Statistic
- Steps
- Switch
- Table
- Tabs
- Tag
- Timeline
- Tooltip
- TreeSelect
- Tree
- Typography
- Upload
- UserDetailsPopover
- notification
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 82 | + | |
| 83 | + | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
| |||
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | | - | |
| 105 | + | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| |||
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
125 | | - | |
| 124 | + | |
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments