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: Handle semver range prefixes in devEngines version strings
Strip common range prefixes (^, >=, ~, etc.) before extracting the
major version from devEngines.packageManager.version. Previously,
versions like "^9.0.0" or ">=4.0.0" would silently fall through to
lockfile detection instead of correctly identifying the major version.
Also adds a length cap (10 chars) on digit extraction to prevent
theoretical unbounded allocation from adversarial input.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments