From b03b89368b1c84222769b030746d65002a4fd7be Mon Sep 17 00:00:00 2001 From: * <*> Date: Mon, 3 Apr 2023 13:20:12 +0800 Subject: [PATCH] Match-id-6732fcf1f87ddf39249416023500ccb13dbff4e1 --- CHANGELOG.md | 3 +++ libs/horizon/package.json | 2 +- libs/horizon/src/horizonx/devtools/index.ts | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e40a7703..f42fe512 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.0.44 (2023-04-03) +- **core**: 修复horizonX-devtool Firefox75报错 + ## 0.0.43 (2023-03-30) - **core**: 解决act方法无法等待useEffect触发的更新完成问题 diff --git a/libs/horizon/package.json b/libs/horizon/package.json index e5feca61..6eb58684 100644 --- a/libs/horizon/package.json +++ b/libs/horizon/package.json @@ -4,7 +4,7 @@ "keywords": [ "horizon" ], - "version": "0.0.43", + "version": "0.0.44", "homepage": "", "bugs": "", "main": "index.js", diff --git a/libs/horizon/src/horizonx/devtools/index.ts b/libs/horizon/src/horizonx/devtools/index.ts index 7c14a438..23bb6000 100644 --- a/libs/horizon/src/horizonx/devtools/index.ts +++ b/libs/horizon/src/horizonx/devtools/index.ts @@ -151,7 +151,7 @@ function getAffectedComponents() { return { name: vnode?.type .toString() - .replace(/\{.*\}/gms, '{...}') + .replace(/\{.*\}/, '{...}') .replace('function ', ''), nodeId: window.__HORIZON_DEV_HOOK__.getVnodeId(vnode), };