renovate/lib/versioning/npm
RahulGautamSingh 692f4b72ae
refactor: ensure strict null check node,npm (#13404)
* add strictNullCheck for versioning/npm,node

* refactor(npm): ensure strict null

* refactor(node): ensure strict null

* refactor: added variable to handle null error

* refactor: revert last commit instead use non-null assertion
2022-01-06 20:33:52 +01:00
..
index.spec.ts test: Use tables for NPM versioning tests (#11349) 2021-08-20 09:57:45 +02:00
index.ts refactor: ensure strict null check node,npm (#13404) 2022-01-06 20:33:52 +01:00
range.ts refactor: ensure strict null check node,npm (#13404) 2022-01-06 20:33:52 +01:00
readme.md docs: improve versioning docs 2020-02-17 23:02:00 +01:00

npm versioning is the most well known/widely-used implementation of Semantic Versioning 2.0.

It's important to understand that "npm" versioning scheme is not the same as "semver" versioning. SemVer's spec does not define ranges at all - so all range/constraint syntax in npm is npm-specific and not part of the spec.