Files
Jamie Tanna 021612414c fix(lint): use parseInt over Number (#45472)
* fix(lint): use `parseInt` over `Number`

As a code review comment that comes up every so often, we can add a
linting rule to enforce this check.

This also fixes any existing usages.

As this could be breaking, we can release it as a `fix`.

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>

* fixup! fix(lint): use `parseInt` over `Number`

* fixup! fix(lint): use `parseInt` over `Number`

---------

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
2026-08-26 13:02:26 +00:00
..

Package Versioning Policy is used with Haskell. It's like semver, except that the first two parts are of the major version. That is, in A.B.C:

  • A.B: major version
  • C: minor

The remaining parts are all considered of the patch version, and they will be concatenated to form a number, i.e. IEEE 754 double. This means that both 0.0.0.0.1 and 0.0.0.0.10 have patch version 0.1.

The range syntax comes from Cabal, specifically the build-depends section.

This module is considered experimental since it only supports ranges of forms:

  • >=W.X && <Y.Z
  • <Y.Z && >=W.X