UNPKG
@lando/acquia
Version:
edge (1.8.1)
latest (1.8.1)
1.8.1
1.8.0
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.0
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.0
0.10.1
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
A Lando plugin that provides a tight integration with Acquia.
github.com/lando/acquia
lando/acquia
@lando/acquia
/
node_modules
/
semver
/
functions
/
compare-build.js
8 lines
(7 loc)
•
267 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
SemVer
=
require
(
'../classes/semver'
)
const
compareBuild
= (
a, b, loose
) => {
const
versionA =
new
SemVer
(a, loose)
const
versionB =
new
SemVer
(b, loose)
return
versionA.
compare
(versionB) || versionA.
compareBuild
(versionB) }
module
.
exports
= compareBuild