Releases: Sv443-Network/UserUtils
Releases · Sv443-Network/UserUtils
v8.3.0
v8.2.0
Minor Changes
- 3fe8b25: Added overload to
mapRange()
that only needs bothmax
values and assumes 0 for bothmin
values - d7e8a31: Added utility type
Prettify
to make complex types more readable - 8ec2010: Added
randomCase
parameter to the functionrandomId()
(true by default) - d9a36d5: Added property
migrateIds
to the constructor ofDataStore
for easier ID migration - b2f757e: Added
enhancedEntropy
parameter to the functionrandRange()
(false by default)
v8.1.0
v8.0.2
v8.0.1
v8.0.0
Major Changes
- 54ee0ce: Changed
hexToRgb()
andrgbToHex()
to support#RGBA
and#RRGGBBAA
color codes (with an alpha channel).
Both functions now have analpha
value immediately afterblue
, which can be set toundefined
to restore the old behavior.
Minor Changes
- 54ee0ce: Added parameter
upperCase
(false by default) tolightenColor()
anddarkenColor()
Patch Changes
- 54ee0ce: Consolidated behavior of
lightenColor()
anddarkenColor()
when using non-number values
v7.3.0
v7.2.2
v7.2.1
v7.2.0
Minor Changes
- 3b8aa88: Added color manipulation functions
hexToRgb()
,rgbToHex()
,lightenColor()
anddarkenColor()
- 7303aa2: Added
setInnerHtmlUnsafe()
for setting innerHTML unsanitized using a Trusted Types policy
Patch Changes
- 7303aa2: Made
addGlobalStyle()
use the newsetInnerHtmlUnsafe()
to fix the error "This document requires 'TrustedHTML' assignment" on Chromium-based browsers