Linden
cc6aed591f
chore: adjust links
2025-03-29 21:46:58 +11:00
Linden
fb2225e373
chore: add copyright notices to each file
...
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
Linden
1f76590b53
fix(version): report unknown versions during checkDependency
...
Rather than throwing potentially fatal and confusing errors we should
just report the current version as 'unknown'.
2023-06-13 00:36:17 +10:00
David Malchin
9c1c784e5d
fix(version): match major versions with multiple digits ( #259 )
2023-03-02 04:30:26 +11:00
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
84ad4abcca
refactor(resource/version): checkDependency optional print and return
...
Send 'true' to match old behaviour (print message, return nil).
New behaviour has no output unless sending a third argument.
2022-04-19 01:09:22 +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