UNPKG
apisurf
Version:
latest (1.4.0)
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.1
0.1.0
Analyze API surface changes between npm package versions to catch breaking changes
apisurf
/
lib
/
utilities
/
getVersionBumpType.d.ts
5 lines
(4 loc)
•
215 B
TypeScript
View Raw
1
2
3
4
5
/** * Determines the type of version bump between two semver versions */
export
declare
function
getVersionBumpType
(
fromVersion
:
string
,
toVersion
:
string
):
'major'
|
'minor'
|
'patch'
|
'prerelease'
|
'unknown'
;