You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: prevent package name cross-contamination with word boundaries
- Fix critical regex bug where 'zip' would match 'unzip' causing wrong version updates
- Add word boundaries (\b) to package regex in dependency file parser
- Prevent 'unzip: ^6.0' from being overwritten with 'zip' version (3.0.0)
- Add comprehensive tests for package name disambiguation
- Covers edge cases like vue/vue-router and other similar package names
- Resolves issue where constraint preservation failed due to substring matching
Fixes: unzip: ^6.0 → ^3.0.0 (wrong) now correctly becomes unzip: ^6.0 → ^6.0.0
0 commit comments