Skip to content

Releases: Sv443-Network/UserUtils

v1.1.1

14 Sep 13:11
4d09e31

Choose a tag to compare

Patch Changes

  • 4799a9f: Fix TS error in ConfigManager migration functions

v1.1.0

12 Sep 20:10
868959f

Choose a tag to compare

Minor Changes

  • db5cded: Added isScrollable() to check whether an element has a horizontal or vertical scroll bar

Patch Changes

  • 9e26464: Replaced most occurrences of HTMLElement in the docs with Element for better compatibility

v1.0.0

07 Sep 19:43
88b79bf

Choose a tag to compare

Major Changes

  • a500a98: Added ConfigManager to manage persistent user configurations including data versioning and migration

Patch Changes

  • 6d0a700: Event interceptor can now be toggled at runtime (#16)
  • d038b21: Global (IIFE) build now comes with a header

v0.5.3

14 Aug 10:35
6c5bfff

Choose a tag to compare

Patch Changes

v0.5.2

12 Aug 22:16
4c056d8

Choose a tag to compare

Patch Changes

v0.5.1

12 Aug 21:28
2a4f4b8

Choose a tag to compare

Patch Changes

v0.5.0

12 Aug 20:37
fe2db89

Choose a tag to compare

Minor Changes

  • 54e7905: Features:

    • add function amplifyMedia() to boost the volume of a MediaElement past its default maximum
    • allow all MutationObserver.observe() options to be passed to initOnSelector()

    Fixes:

    • fix onSelector() not triggering correctly

v0.4.1

08 Aug 23:20
4f5d246

Choose a tag to compare

Patch Changes

  • 85ec87b: fix missing export for array functions

v0.4.0

08 Aug 23:07
fc60dfb

Choose a tag to compare

Minor Changes

  • 231a79c: Refactored code and documentation and added new functions:
    • mapRange() to map a number from one range to the same spot in another range
    • randRange() to generate a random number between a min and max boundary
    • randomItem() to return a random item from an array
    • randomItemIndex() to return a tuple of a random item and its index from an array
    • takeRandomItem() to return a random item from an array and mutate it to remove the item
    • randomizeArray() to return a copy of the array with its items in a random order

Patch Changes

  • 7edf837: decrease npm bundle size

v0.3.0

08 Aug 17:05
e43c944

Choose a tag to compare

Minor Changes

  • 07ec443: add getSelectorMap() to return all currently registered selectors