# Task: fix the reported bugs in this copy of `semver`

This directory is the npm `semver` package (v7.8.6) with its test suite removed. Users have filed the eight bug reports in `ISSUES.md`. Find and fix the root cause of each one in the library source.

Rules:
- Fix the code, not the symptom: the hidden test runs the package's full original test suite (several thousand assertions) plus extra checks for each report, so a special case that only makes the reported example pass will not be enough, and anything you break elsewhere costs points.
- Do not add dependencies. Change only files in this directory. Keep the public API unchanged.
- There is no test runner installed. Use `node -e "..."` or small scripts to reproduce and check (`const semver = require('./')`).

When done, reply with one line per issue: the file and what you changed.
