* Introduced --fail-on-diff and --fail-on-missing options
* Updated run() to return a result summary
* Enhanced README and tests to cover new functionality
- checkMissingDependencies: stop flagging workspace-protocol peer
dependencies as missing from the main app; the redundant OR clause
bypassed the workspace exclusion filter.
- updateDependencies: strict mode now leaves pinned (non-range)
versions untouched instead of force-updating them, matching the
documented behavior.
- getSemverVersion: strip leftover range operators (^, ~, etc.) from
workspace:-prefixed versions so workspace:^x.y.z and workspace:~x.y.z
resolve correctly instead of being treated as invalid.
- Remove unreachable duplicate JSON-building branch in displayResults.
- bin/dep-check.js: exit with a non-zero status on unhandled errors
instead of silently exiting 0.
- index.ts: replace the fragile file-URL string slicing used to detect
direct execution with a proper pathToFileURL comparison.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LQedTpSTfxtbYUYo3gdT7v