From 88d8946a93fbdb31605253630ef1d4ee5c343a43 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 29 Mar 2026 00:57:50 +0000 Subject: [PATCH] Version Packages --- .changeset/vast-impalas-fold.md | 5 ----- .changeset/wise-keys-cough.md | 11 ----------- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 4 files changed, 13 insertions(+), 17 deletions(-) delete mode 100644 .changeset/vast-impalas-fold.md delete mode 100644 .changeset/wise-keys-cough.md diff --git a/.changeset/vast-impalas-fold.md b/.changeset/vast-impalas-fold.md deleted file mode 100644 index c10f9ea..0000000 --- a/.changeset/vast-impalas-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-frame-component': patch ---- - -Add types condition to package.json exports to fix TypeScript resolution with TSGo and modern ESM tools diff --git a/.changeset/wise-keys-cough.md b/.changeset/wise-keys-cough.md deleted file mode 100644 index 2003342..0000000 --- a/.changeset/wise-keys-cough.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'react-frame-component': patch ---- - -## Fix race condition in getMountTarget() (issue #250) - -Fixed "Cannot read properties of null" errors when `initialContent` changes rapidly by adding null checks for `doc` and `doc.body` in `getMountTarget()`. - -### Changes - -- **src/Frame.jsx**: Added null check in `getMountTarget()` to handle cases when iframe document is temporarily unavailable during rapid rerenders diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f92ebe..9040d98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # react-frame-component +## 5.3.2 + +### Patch Changes + +- f191d58: Add types condition to package.json exports to fix TypeScript resolution with TSGo and modern ESM tools +- 1820bc3: ## Fix race condition in getMountTarget() (issue #250) + + Fixed "Cannot read properties of null" errors when `initialContent` changes rapidly by adding null checks for `doc` and `doc.body` in `getMountTarget()`. + + ### Changes + - **src/Frame.jsx**: Added null check in `getMountTarget()` to handle cases when iframe document is temporarily unavailable during rapid rerenders + ## 5.3.1 ### Patch Changes diff --git a/package.json b/package.json index 055234f..4de94c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-frame-component", - "version": "5.3.1", + "version": "5.3.2", "type": "module", "description": "React component to wrap your application or component in an iFrame for encapsulation purposes", "main": "dist/react-frame-component.umd.js",