Implement review fixes: semver library, scoping, case-insensitive matching, error logging, and configurable fail behavior (#7)
* Initial plan
* Implement PR review comment fixes: semver library, error handling, case-insensitive matching, and rows scoping
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Fix formatting and rebuild dist folder
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Fix fail-closed logic and remove redundant @types/semver
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Apply review feedback: fix empty range handling, add trimming, implement range check caching
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Apply review feedback: align fail-closed behavior for empty version, fix TypeScript typing, normalize cache keys
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Fix linter errors, optimize cache keys, and improve trimming logic
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Add fail-open option for patch selection and optimize with preTrimmed flag
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Enforce fail-closed with explicit validation, fix debug messages, normalize cache keys
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Fix unreachable ternary in debug message and eliminate duplicate trim operation
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Normalize eco comparison and add preNormalized option to avoid duplicate range conversion
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Remove unnecessary cache, fix function signature, and correct semver comment
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Make includePrerelease conditional based on version type to preserve range semantics
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Improve debug message to report both invalid version and range when applicable
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
* Convert to JSDoc, add explicit type annotation, and remove redundant initializer
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>