What is new
Fixed
- Moved
offsetWidthread out of thewritephase and intoearlyRead— it was a layout-forcing DOM read that slipped through the 0.0.10 refactor, reintroducing the thrashing it aimed to eliminate. - Guarded
matchMediaaddEventListenercall against environments that return a bare mock object (e.g. SSR-like test environments). - Exported
resetCapabilityCache()so test suites can clear the static capability cache between runs.
Verification
./node_modules/.bin/ng build ngx-digit-flownpm publish ./dist/ngx-digit-flow --access publicnpm view ngx-digit-flow@0.0.11 version --json
Published to npm as ngx-digit-flow@0.0.11.