Repository navigation
Releases
Releases · Oblique-Code/oblique-exit-intent
v1.0.2
Security
- CTA
hrefvalues usingjavascript:,data:orvbscript:schemes are now
blocked; the CTA renders as a plain button and a console warning is logged. - CTA links with
target: '_blank'now getrel="noopener noreferrer"to
prevent reverse tabnabbing.
Fixed
- Re-opening the modal within 220 ms of closing it no longer unmounts it while open.
ExitModal#destroy()now removes the overlay immediately, as documented.- Closing or destroying the modal before its first animation frame no longer
throws or moves focus into the closed dialog. - With
mobile.backButton, repeatedstop()/start()cycles no longer push
extra history entries.
Changed
- Dev tooling upgraded: vitest 5, happy-dom 21, tsup 9, postcss-cli 12,
TypeScript 6, Tailwind CSS 4.3.5, PostCSS 8.5.33. Resolves allnpm audit
advisories (dev-only; the package has no runtime dependencies). - Developing and building the package now requires Node.js ≥ 22.18. Consumers
are unaffected. - Added
repository,homepageandbugsfields so npm links to the GitHub repo.
npm: https://www.npmjs.com/package/@oblique-code/exit-intent/v/1.0.2