Releases: Sv443-Network/UserUtils
Releases · Sv443-Network/UserUtils
v9.4.4
v9.4.3
v9.4.2
v9.4.1
v9.4.0
Minor Changes
- 5075831: Added
Mixinsclass for allowing multiple sources to modify values in a controlled way - 99dedfd: Added unit tests
- 7530fd0: Added
Debouncer.getListeners()method to get an array of all listener functions - 48306da: Added
storesfilter parameter to theDataStoreSerializermethodsloadStoresData(),resetStoresData()anddeleteStoresData()
Patch Changes
- f6a68c7: Fixed error when calling
interceptEvent()in a non-GM environment
v9.3.0
v9.2.1
v9.2.0
Minor Changes
- 905fea4: Added function
isDomLoaded()to check if the DOM is queryable, regardless of@run-atsetting - 4264154: Added parameter
withDecimalstodigitCount()(true by default) - 4264154: Added function
roundFixed()to round a floating-point number to the given amount of decimals. Can also round to the given power of 10. - 7e492cf: Added
probeElementStyle()to probe the computed style of a temporary element, allowing to resolve CSS variables and default style values, etc. - 905fea4: Added function
onDomLoad()to call a callback and/or resolve a Promise when the DOM is loaded, even retroactively - 4264154: Added function
bitSetHas()to check if a given value is present in a bitset - bf55335: Replaced a bunch of generic
Errors with the new custom error class instances - bf55335: Added custom error classes
ChecksumMismatchError,MigrationErrorandPlatformError, extending from the base classUUError
The base class has the additional propertydatewhich is the time of the error creation
Patch Changes
v9.1.0
Minor Changes
- eb20132: Added the type
ListWithLengthto represent an array or object with a numericlength,countorsizeproperty. - eb20132: Added
autoPlural()support for generic objects with a numericlength,countorsizeproperty. - c9b13d8: Added
signal: AbortSignalandrejectOnAbort: booleanparams topauseFor()to allow for cutting the pause short - c66324b: Support for words with
-y/-iesextension inautoPlural() - c9b13d8: Added
getListLength()function to resolve a value of the newListWithLengthtype - c13e890:
autoPlural()now defaultspluralTypeto"auto"andnumto 2 ifpluralTypeis invalid ornumresolves to NaN
Patch Changes
- 3f86215: Fixed fetchAdvanced error "'abort' called on an object that does not implement interface AbortController"