Commit d9dee07
committed
refactor: simplify browser provider peer dep logic and version patch
- Inline peer dep addition into the removal loop, eliminating
intermediate array and second loop
- Use direct mutation instead of spread for consistency
- Single-pass regex replace in build.ts version patch1 parent d285377 commit d9dee07
2 files changed
Lines changed: 14 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1209 | 1209 | | |
1210 | 1210 | | |
1211 | 1211 | | |
1212 | | - | |
1213 | 1212 | | |
1214 | 1213 | | |
1215 | 1214 | | |
| |||
1221 | 1220 | | |
1222 | 1221 | | |
1223 | 1222 | | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
| 1223 | + | |
1231 | 1224 | | |
1232 | | - | |
1233 | | - | |
1234 | | - | |
1235 | | - | |
1236 | | - | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
1237 | 1233 | | |
1238 | 1234 | | |
1239 | 1235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1637 | 1637 | | |
1638 | 1638 | | |
1639 | 1639 | | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
| 1640 | + | |
1643 | 1641 | | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
1648 | 1645 | | |
1649 | 1646 | | |
1650 | 1647 | | |
1651 | 1648 | | |
1652 | 1649 | | |
| 1650 | + | |
1653 | 1651 | | |
1654 | 1652 | | |
1655 | 1653 | | |
| |||
0 commit comments