Releases: Space48/mutation-ready
Releases · Space48/mutation-ready
Release list
v1.0.3
Fixed
- Replaced per-element
readyDOM flag with per-listenerWeakSetdeduplication. - Added tests for dynamic additions, same-node reinsert behavior, and fresh-node re-add behavior.
- Guarded observer setup when
MutationObserveris unavailable while retaining immediate DOM check behavior. - Excluded
*.test.tsfrom TypeScript build output. - Fixed package metadata and publish list (
licensekey andLICENSEfilename). - Restricted published
distartifacts to runtime and declaration entrypoints only.
v1.0.1
What's Changed
- Fixed test environment setup with proper jest.config.js configuration
- Updated minimum Node.js engine requirement to >=16.0.0
- Fixed package naming and configuration
- Added proper configuration for @Space48 scope
Full Changelog
Initial Release 1.0.0
Initial Release
This is the first release of @space48/mutation-ready, a utility that provides a Promise-based API for detecting when DOM mutations have settled.
Features
- Promise-based API for DOM mutation detection
- Compatible with modern browsers
- Lightweight with no external dependencies
- TypeScript support
Usage
import { mutationReady } from '@space48/mutation-ready';
await mutationReady();
// DOM mutations have now settled