Skip to content

Releases: Space48/mutation-ready

v1.0.3

Choose a tag to compare

@AndrewBarber AndrewBarber released this 24 Apr 13:22
cd4dce3

Fixed

  • Replaced per-element ready DOM flag with per-listener WeakSet deduplication.
  • Added tests for dynamic additions, same-node reinsert behavior, and fresh-node re-add behavior.
  • Guarded observer setup when MutationObserver is unavailable while retaining immediate DOM check behavior.
  • Excluded *.test.ts from TypeScript build output.
  • Fixed package metadata and publish list (license key and LICENSE filename).
  • Restricted published dist artifacts to runtime and declaration entrypoints only.

v1.0.1

Choose a tag to compare

@AndrewBarber AndrewBarber released this 20 Mar 13:49
f7fa63d

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

v1.0.0...v1.0.1

Initial Release 1.0.0

Choose a tag to compare

@AndrewBarber AndrewBarber released this 07 Mar 09:33
a09efa9

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