@lynx-js/web-core-canary 0.16.0-canary-20250830-d7d0b9b9 → 0.16.1-canary-20250910-c24b6021

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,18 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.16.0-canary-20250830063332-d7d0b9b94e219cd057c935d723775c82b10559a6
3
+ ## 0.16.1-canary-20250910033502-c24b60214bbb194adfd96985f3f80d1e0f5a0e08
4
+
5
+ ### Patch Changes
6
+
7
+ - refactor: improve chunk loading ([#1703](https://github.com/lynx-family/lynx-stack/pull/1703))
8
+
9
+ - Updated dependencies []:
10
+ - @lynx-js/web-constants@0.16.1-canary-20250910033502-c24b60214bbb194adfd96985f3f80d1e0f5a0e08
11
+ - @lynx-js/web-mainthread-apis@0.16.1-canary-20250910033502-c24b60214bbb194adfd96985f3f80d1e0f5a0e08
12
+ - @lynx-js/web-worker-rpc@0.16.1-canary-20250910033502-c24b60214bbb194adfd96985f3f80d1e0f5a0e08
13
+ - @lynx-js/web-worker-runtime@0.16.1-canary-20250910033502-c24b60214bbb194adfd96985f3f80d1e0f5a0e08
14
+
15
+ ## 0.16.0
4
16
 
5
17
  ### Minor Changes
6
18
 
@@ -25,11 +37,11 @@
25
37
  - fix: the SystemInfo in bts should be assigned to the globalThis ([#1599](https://github.com/lynx-family/lynx-stack/pull/1599))
26
38
 
27
39
  - Updated dependencies [[`1a32dd8`](https://github.com/lynx-family/lynx-stack/commit/1a32dd886fe736c95639f67028cf7685377d9769), [`bb53d9a`](https://github.com/lynx-family/lynx-stack/commit/bb53d9a035f607e7c89952098d4ed77877a2e3c1), [`1a32dd8`](https://github.com/lynx-family/lynx-stack/commit/1a32dd886fe736c95639f67028cf7685377d9769), [`c1f8715`](https://github.com/lynx-family/lynx-stack/commit/c1f8715a81b2e69ff46fc363013626db4468c209)]:
28
- - @lynx-js/web-mainthread-apis@0.16.0-canary-20250830063332-d7d0b9b94e219cd057c935d723775c82b10559a6
29
- - @lynx-js/web-constants@0.16.0-canary-20250830063332-d7d0b9b94e219cd057c935d723775c82b10559a6
30
- - @lynx-js/web-worker-runtime@0.16.0-canary-20250830063332-d7d0b9b94e219cd057c935d723775c82b10559a6
31
- - @lynx-js/offscreen-document@0.1.4-canary-20250830063332-d7d0b9b94e219cd057c935d723775c82b10559a6
32
- - @lynx-js/web-worker-rpc@0.16.0-canary-20250830063332-d7d0b9b94e219cd057c935d723775c82b10559a6
40
+ - @lynx-js/web-mainthread-apis@0.16.0
41
+ - @lynx-js/web-constants@0.16.0
42
+ - @lynx-js/web-worker-runtime@0.16.0
43
+ - @lynx-js/offscreen-document@0.1.4
44
+ - @lynx-js/web-worker-rpc@0.16.0
33
45
 
34
46
  ## 0.15.7
35
47
 
@@ -36,7 +36,12 @@ function createIFrameRealm(parent) {
36
36
  script.fetchPriority = 'high';
37
37
  script.defer = true;
38
38
  script.async = false;
39
- script.onload = () => resolve(iframeWindow?.module?.exports);
39
+ script.onload = () => {
40
+ const ret = iframeWindow?.module?.exports;
41
+ // @ts-expect-error
42
+ iframeWindow.module = { exports: undefined };
43
+ resolve(ret);
44
+ };
40
45
  script.onerror = (err) => reject(new Error(`Failed to load script: ${url}`, { cause: err }));
41
46
  // @ts-expect-error
42
47
  iframeWindow.module = { exports: undefined };
@@ -53,7 +58,10 @@ function createIFrameRealm(parent) {
53
58
  // @ts-expect-error
54
59
  iframeWindow.module = { exports: undefined };
55
60
  iframe.contentDocument.head.appendChild(script);
56
- return iframeWindow?.module?.exports;
61
+ const ret = iframeWindow?.module?.exports;
62
+ // @ts-expect-error
63
+ iframeWindow.module = { exports: undefined };
64
+ return ret;
57
65
  }
58
66
  else {
59
67
  throw new Error(`Failed to load script: ${url}`, { cause: xhr });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.16.0-canary-20250830-d7d0b9b9",
3
+ "version": "0.16.1-canary-20250910-c24b6021",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -24,15 +24,15 @@
24
24
  "**/*.css"
25
25
  ],
26
26
  "dependencies": {
27
- "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4-canary-20250830-d7d0b9b9",
28
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.16.0-canary-20250830-d7d0b9b9",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.16.0-canary-20250830-d7d0b9b9",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.16.0-canary-20250830-d7d0b9b9",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.16.0-canary-20250830-d7d0b9b9"
27
+ "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4",
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.16.1-canary-20250910-c24b6021",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.16.1-canary-20250910-c24b6021",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.16.1-canary-20250910-c24b6021",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.16.1-canary-20250910-c24b6021"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@lynx-js/lynx-core": "0.1.3",
35
- "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.8.4"
35
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.8.5"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@lynx-js/lynx-core": "0.1.3",