Commit Graph

7 Commits

Author SHA1 Message Date
Linden
e624aa2559 fix(version): split and compare semver in 3 parts
'11.10' is equal to '11.1' cause maths.
2022-09-29 17:14:11 +10:00
Linden
bdb88e74c5 fix(version): properly compare minor/patch semver
Comparing "2.7.4" to "2.10.1" would compare each number, i.e.
2 = 2,
7 < 10,
4 > 1
Instead compare the major (2 v 2), then minor.patch (7.4 v 10.1).
where doka to do my math
2022-08-23 19:29:45 +10:00
Linden
f5c5597277 fix(version): compare semver numbers
Values were being compared as whole strings.
2022-08-22 20:53:55 +10:00
Linden
ef6f780028 tweak(resource/version): currentVersion validation
Check currentVersion is valid before performing HttpRequest, and
print a message when failing.
2022-07-28 22:05:16 +10:00
Linden
f406cebcc8 refactor(version/server): reliable resource name check
So people can rename resources and pretend they're custom made, without getting an error.
2022-06-15 00:22:03 +10:00
Linden
e83aa653cc refactor(init): call imports and exports via lib
Deprecate import (now just references lib); when calling or indexing
lib for the first time, attempt to load a module else call an export.
2022-02-28 02:40:25 +00:00
Linden
478cd93e97 feat(version): version and dependency checks 2022-02-28 00:49:24 +00:00