From 308b9675ac1ba5ca6e3b7b3a22b3eeade499a345 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 9 Feb 2025 13:29:35 +0000 Subject: [PATCH] chore: create new release --- .changeset/fifty-tigers-live.md | 5 ----- .changeset/gorgeous-scissors-sparkle.md | 5 ----- .changeset/proud-pants-care.md | 5 ----- .changeset/spotty-pumpkins-chew.md | 5 ----- .changeset/swift-carrots-relax.md | 5 ----- .changeset/witty-bobcats-remember.md | 5 ----- .changeset/yellow-fireants-rule.md | 5 ----- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 9 files changed, 16 insertions(+), 36 deletions(-) delete mode 100644 .changeset/fifty-tigers-live.md delete mode 100644 .changeset/gorgeous-scissors-sparkle.md delete mode 100644 .changeset/proud-pants-care.md delete mode 100644 .changeset/spotty-pumpkins-chew.md delete mode 100644 .changeset/swift-carrots-relax.md delete mode 100644 .changeset/witty-bobcats-remember.md delete mode 100644 .changeset/yellow-fireants-rule.md diff --git a/.changeset/fifty-tigers-live.md b/.changeset/fifty-tigers-live.md deleted file mode 100644 index c77f1bb..0000000 --- a/.changeset/fifty-tigers-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sv443-network/userutils": minor ---- - -Added the type `ListWithLength` to represent an array or object with a numeric `length`, `count` or `size` property. diff --git a/.changeset/gorgeous-scissors-sparkle.md b/.changeset/gorgeous-scissors-sparkle.md deleted file mode 100644 index ae76f19..0000000 --- a/.changeset/gorgeous-scissors-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sv443-network/userutils": minor ---- - -Added `autoPlural()` support for generic objects with a numeric `length`, `count` or `size` property. diff --git a/.changeset/proud-pants-care.md b/.changeset/proud-pants-care.md deleted file mode 100644 index 813b74b..0000000 --- a/.changeset/proud-pants-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sv443-network/userutils": minor ---- - -Added `signal: AbortSignal` and `rejectOnAbort: boolean` params to `pauseFor()` to allow for cutting the pause short diff --git a/.changeset/spotty-pumpkins-chew.md b/.changeset/spotty-pumpkins-chew.md deleted file mode 100644 index e733d44..0000000 --- a/.changeset/spotty-pumpkins-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sv443-network/userutils": minor ---- - -Support for words with `-y`/`-ies` extension in `autoPlural()` diff --git a/.changeset/swift-carrots-relax.md b/.changeset/swift-carrots-relax.md deleted file mode 100644 index fc4a723..0000000 --- a/.changeset/swift-carrots-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sv443-network/userutils": minor ---- - -Added `getListLength()` function to resolve a value of the new `ListWithLength` type diff --git a/.changeset/witty-bobcats-remember.md b/.changeset/witty-bobcats-remember.md deleted file mode 100644 index 36b4e3b..0000000 --- a/.changeset/witty-bobcats-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sv443-network/userutils": patch ---- - -Fixed fetchAdvanced error "'abort' called on an object that does not implement interface AbortController" diff --git a/.changeset/yellow-fireants-rule.md b/.changeset/yellow-fireants-rule.md deleted file mode 100644 index 69bff5c..0000000 --- a/.changeset/yellow-fireants-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sv443-network/userutils": minor ---- - -`autoPlural()` now defaults `pluralType` to `"auto"` and `num` to 2 if `pluralType` is invalid or `num` resolves to NaN diff --git a/CHANGELOG.md b/CHANGELOG.md index 3326e3a..9fc7fd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # @sv443-network/userutils +## 9.1.0 + +### Minor Changes + +- eb20132: Added the type `ListWithLength` to represent an array or object with a numeric `length`, `count` or `size` property. +- eb20132: Added `autoPlural()` support for generic objects with a numeric `length`, `count` or `size` property. +- c9b13d8: Added `signal: AbortSignal` and `rejectOnAbort: boolean` params to `pauseFor()` to allow for cutting the pause short +- c66324b: Support for words with `-y`/`-ies` extension in `autoPlural()` +- c9b13d8: Added `getListLength()` function to resolve a value of the new `ListWithLength` type +- c13e890: `autoPlural()` now defaults `pluralType` to `"auto"` and `num` to 2 if `pluralType` is invalid or `num` resolves to NaN + +### Patch Changes + +- 3f86215: Fixed fetchAdvanced error "'abort' called on an object that does not implement interface AbortController" + ## 9.0.4 ### Patch Changes diff --git a/package.json b/package.json index 48e7699..6d5815e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@sv443-network/userutils", "libName": "UserUtils", - "version": "9.0.4", + "version": "9.1.0", "description": "Lightweight library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and much more", "main": "dist/index.js", "module": "dist/index.js",