@lynx-js/react-canary 0.114.1-canary-20251001-80f5d60b → 0.114.1-canary-20251001-2576ac9e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/react
|
|
2
2
|
|
|
3
|
-
## 0.114.1-canary-
|
|
3
|
+
## 0.114.1-canary-20251001032027-2576ac9e2e04a669ff95362cb0e9cac8c5b56bc3
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
|
|
29
29
|
Note, if this feature is used in [Lazy Loading Standalone Project](https://lynxjs.org/react/code-splitting.html#lazy-loading-standalone-project), both the Producer and the Consumer should update to latest version of `@lynx-js/react` to make sure the feature is available.
|
|
30
30
|
|
|
31
|
+
- Fix the "ReferenceError: Node is not defined" error. ([#1850](https://github.com/lynx-family/lynx-stack/pull/1850))
|
|
32
|
+
|
|
33
|
+
This error would happen when upgrading to `@testing-library/jest-dom` [v6.9.0](https://github.com/testing-library/jest-dom/releases/tag/v6.9.0).
|
|
34
|
+
|
|
31
35
|
- fix: optimize main thread event error message ([#1838](https://github.com/lynx-family/lynx-stack/pull/1838))
|
|
32
36
|
|
|
33
37
|
## 0.114.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-canary",
|
|
3
|
-
"version": "0.114.1-canary-20251001-
|
|
3
|
+
"version": "0.114.1-canary-20251001-2576ac9e",
|
|
4
4
|
"description": "ReactLynx is a framework for developing Lynx applications with familiar React.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -606,10 +606,12 @@ const env = {
|
|
|
606
606
|
await builtinEnvironments.jsdom.setup(fakeGlobal, {});
|
|
607
607
|
const lynxTestingEnv1 = new LynxTestingEnv(fakeGlobal.jsdom);
|
|
608
608
|
global1.lynxTestingEnv = lynxTestingEnv1;
|
|
609
|
+
global1.Node = lynxTestingEnv1.jsdom.window.Node;
|
|
609
610
|
return {
|
|
610
611
|
teardown (global1) {
|
|
611
612
|
delete global1.lynxTestingEnv;
|
|
612
613
|
delete global1.jsdom;
|
|
614
|
+
delete global1.Node;
|
|
613
615
|
}
|
|
614
616
|
};
|
|
615
617
|
}
|