{"id":20707635,"url":"https://github.com/theory/semver","last_synced_at":"2025-04-23T02:15:22.515Z","repository":{"id":66729454,"uuid":"899050","full_name":"theory/semver","owner":"theory","description":"Semantic version object for Perl","archived":false,"fork":false,"pushed_at":"2022-06-18T19:52:25.000Z","size":107,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-23T02:15:16.835Z","etag":null,"topics":["perl","semantic-versions","semver","version"],"latest_commit_sha":null,"homepage":"https://semver.org/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theory.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-09-09T16:39:33.000Z","updated_at":"2021-10-11T13:07:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfa5721e-a1bd-43a2-8d8a-4617ab1c32cb","html_url":"https://github.com/theory/semver","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theory%2Fsemver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theory%2Fsemver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theory%2Fsemver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theory%2Fsemver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theory","download_url":"https://codeload.github.com/theory/semver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354511,"owners_count":21416751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["perl","semantic-versions","semver","version"],"created_at":"2024-11-17T01:27:06.980Z","updated_at":"2025-04-23T02:15:22.507Z","avatar_url":"https://github.com/theory.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"SemVer version 0.10.1\n=====================\n\n[![CPAN version](https://badge.fury.io/pl/SemVer.svg)](https://badge.fury.io/pl/SemVer)\n[![Build Status](https://github.com/theory/semver/workflows/CI/badge.svg)](https://github.com/theory/semver/actions/)\n\nThis module subclasses [`version`] to create semantic versions, as defined by\nthe [Semantic Versioning 2.0.0 Specification]\nThe salient points of the specification, for the purposes of version\nformatting, are:\n\n1. A normal version number MUST take the form X.Y.Z where X, Y, and Z are \n   non-negative integers, and MUST NOT contain leading zeroes. X is the major \n   version, Y is the minor version, and Z is the patch version. Each element \n   MUST increase numerically.\n   For instance: `1.9.0 \u003c 1.10.0 \u003c 1.11.0`.\n\n2. A pre-release version MAY be denoted by appending a hyphen and a series \n   of dot separated identifiers immediately following the patch version. \n   Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-]. \n   Identifiers MUST NOT be empty. Numeric identifiers MUST NOT include leading \n   zeroes. Pre-release versions have a lower precedence than the associated \n   normal version. A pre-release version indicates that the version is \n   unstable and might not satisfy the intended compatibility requirements \n   as denoted by its associated normal version. \n   Examples: `1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7, 1.0.0-x.7.z.92`.\n\n3. Build metadata MAY be denoted by appending a plus sign and a series of \n   dot separated identifiers immediately following the patch or pre-release \n   version. Identifiers MUST comprise only ASCII alphanumerics and hyphen \n   [0-9A-Za-z-]. Identifiers MUST NOT be empty. Build metadata SHOULD be \n   ignored when determining version precedence. Thus two versions that differ \n   only in the build metadata, have the same precedence. \n   Examples: `1.0.0-alpha+001, 1.0.0+20130313144700, 1.0.0-beta+exp.sha.5114f85`.\n\n4. Precedence refers to how versions are compared to each other when ordered. \n   Precedence MUST be calculated by separating the version into major, minor, \n   patch and pre-release identifiers in that order (Build metadata does not \n   figure into precedence). Precedence is determined by the first difference \n   when comparing each of these identifiers from left to right as follows: \n   Major, minor, and patch versions are always compared numerically. \n   Example: `1.0.0 \u003c 2.0.0 \u003c 2.1.0 \u003c 2.1.1`. \n   When major, minor, and patch are equal, a pre-release version has lower \n   precedence than a normal version. \n   Example: `1.0.0-alpha \u003c 1.0.0`. \n   Precedence for two pre-release versions with the same major, minor, and \n   patch version MUST be determined by comparing each dot separated identifier \n   from left to right until a difference is found as follows: identifiers \n   consisting of only digits are compared numerically and identifiers with \n   letters or hyphens are compared lexically in ASCII sort order. Numeric \n   identifiers always have lower precedence than non-numeric identifiers. A \n   larger set of pre-release fields has a higher precedence than a smaller \n   set, if all of the preceding identifiers are equal. \n   Example: `1.0.0-alpha \u003c 1.0.0-alpha.1 \u003c 1.0.0-alpha.beta \u003c 1.0.0-beta \u003c 1.0.0-beta.2 \u003c 1.0.0-beta.11 \u003c 1.0.0-rc.1 \u003c 1.0.0`.\n\n\n[`version`]: https://metacpan.org/pod/version\n[Semantic Versioning 2.0.0 Specification]: https://semver.org/spec/v2.0.0.html\n\nInstallation\n============\n\nTo install this module, type the following:\n\n    perl Build.PL\n    ./Build\n    ./Build test\n    ./Build install\n\nDependencies\n------------\n\nSemVer requires version.\n\nCopyright and License\n---------------------\n\nCopyright (c) 2010-2020 David E. Wheeler. Some Rights Reserved.\n\nThis module is free software; you can redistribute it and/or modify it under\nthe same terms as Perl itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheory%2Fsemver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheory%2Fsemver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheory%2Fsemver/lists"}