Realm

v0

gno.land/r/moul/x/daily/semverdemo/v0

Render

semver — Semantic Versioning on-chain

Demo of the p/moul/x/daily/semver library — a port of golang.org/x/mod/semver. Parse vMAJOR.MINOR.PATCH[-prerelease][+build] and compare with SemVer 2.0.0 precedence.

Examples

arelbnote
1.2.3<1.2.10numeric patch, not lexical
1.0.0-alpha<1.0.0pre-release < release
1.0.0-alpha.1<1.0.0-alpha.betanumeric id < alphanumeric id
1.0.0-rc.1<1.0.0release candidate < final
2.0.0=2.0.0+build.5build metadata ignored

Try it

Transactions

HashBlockTimeMsgCallerStatus
76193864E3…08E59E99447,17910d agoCall Submitg1manfre…dlf5ok

Calls, deploys, and child packages in indexed history.

Call function

Source (qfile)