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.

17 lines (10 loc) 1.23 kB
## 🛠️ Summary of Changes ### 💎 `TinyNewWinEvents` & `TinyIframeEvents` * **New Feature:** Added `winEmit` to emit events directly to a window. The standard `emit` function will now fall back to the native `EventEmitter` implementation. * **Security & Namespacing:** To enforce strict isolation and improve event tracking, all events dispatched via `winEmit` are now automatically prefixed. They will always return in the format: `win:{EventName}`. ### 📦 `Buffer` Module Optimization * **Breaking Change:** To make the core package lighter, the `Buffer` utility has been **removed** from `objType.mjs`. * **How to Restore:** If your project relies on this functionality, you can easily re-introduce it manually by importing it from `basics/extendObjType/Buffer.mjs`. ### 🔄 `TinyEvents` Migration to `MyTinyEvents` * **Repository Migration:** `TinyEvents` has officially been migrated to a dedicated repository. It is now maintained as **MyTinyEvents** at [Tiny-Essentials/My-Tiny-Events](https://github.com/Tiny-Essentials/My-Tiny-Events). * **Architecture Update:** All modules within the `tiny-essentials` ecosystem have been refactored to natively use `EventEmitter` for robust and standardized event handling.