UNPKG

tiny-essentials

Version:

Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.

23 lines (14 loc) โ€ข 805 B
## ๐Ÿ“ฆ 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. ```js 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**: https://github.com/JasminDreasond/Tiny-Essentials/compare/1.10.0...1.10.2