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
Markdown
## ๐ฆ 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