Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 3, 2025

Bumps tiny-essentials from 1.3.0 to 1.10.2.

Release notes

Sourced from tiny-essentials's releases.

1.10.2

πŸ“¦ Release v1.10.2 – Object Detection Upgrade! 🧱✨

✨ What's New

🧼 isJsonObject(value) – Now Stronger Than Ever!

Our object purity checker has been upgraded to strictly validate only plain JSON-style objects.

isPureJsonObject({}); // βœ… true
isPureJsonObject(new Date()); // ❌ false

This means:

  • ❌ No Array, Date, Map, Set, Buffer, or any other exotic object
  • βœ… Only {} or new Object() style values pass

Tip: Use isJsonObject() when you want real JSON-like purity, not just "typeof object" πŸ˜‰

I just did a quick review of the JSDoc comments in the objFilter.mjs file β€” no deep changes, just a light inspection. πŸ“

Full Changelog: Tiny-Essentials/Tiny-Essentials@1.10.0...1.10.2

1.10.0

πŸ†• TinyRateLimiter Updates in v1.10.0 🎯

This version brings a bunch of internal improvements and cleanup to TinyRateLimiter, making it faster, cleaner, and more memory-friendly. Here’s what’s new:

  • πŸ“¦ New memory optimization logic: The limiter can now keep only the latest N entries per group (#maxMemory) to reduce memory usage. Automatically calls onMemoryExceeded(groupId) if defined.

  • πŸ§ͺ Improved rate limit check: The isRateLimited() method is now faster and more consistent, even when interval is disabled.

  • 🧼 Better cleanup system: Groups now use either their own TTL or fallback to maxIdle, and the internal _cleanup() handles expiration gracefully.

  • πŸ“Š New metrics method: getMetrics(groupId) now returns hit count, last hit, spacing average, and time since last hit in one call!

  • πŸ” New helpers:

    • getAllUserMappings() – returns user β†’ group map as plain object πŸ“„
    • getAverageHitSpacing() – computes average time between hits
    • getTimeSinceLastHit() – useful for time-based triggers
  • ⚠️ Deprecated: reset(userId) is now deprecated β€” use resetUserGroup(userId) instead.

  • πŸš€ Fully isolated internals: All core options (interval, maxHits, maxIdle) now throw if misconfigured. Stronger encapsulation and clearer API.

This release keeps the class drop-in compatible with previous versions but brings real performance and control benefits under scale. Enjoy! πŸ§©πŸ’‘

Full Changelog: Tiny-Essentials/Tiny-Essentials@1.9.2...1.10.0

1.9.2

πŸ› οΈ extendObjType Function – Release Update

Version: 1.9.2

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tiny-essentials](https://github.com/JasminDreasond/Tiny-Essentials) from 1.3.0 to 1.10.2.
- [Release notes](https://github.com/JasminDreasond/Tiny-Essentials/releases)
- [Commits](https://github.com/JasminDreasond/Tiny-Essentials/commits/1.10.2)

---
updated-dependencies:
- dependency-name: tiny-essentials
  dependency-version: 1.10.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 3, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 10, 2025

Superseded by #22.

@dependabot dependabot bot closed this Jun 10, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tiny-essentials-1.10.2 branch June 10, 2025 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants