@lynx-js/web-core-canary 0.15.6-canary-20250815-7e47c4a7 → 0.15.6

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +34 -32
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,18 +1,20 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.15.6-canary-20250815124729-7e47c4a777441a6782bc8aac31298b9af34b6f3e
3
+ ## 0.15.6
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - fix: systeminfo in mts function ([#1537](https://github.com/lynx-family/lynx-stack/pull/1537))
8
+
7
9
  - refactor: use utf-8 string ([#1473](https://github.com/lynx-family/lynx-stack/pull/1473))
8
10
 
9
11
  - Fix mtsGlobalThis race condition in createRenderAllOnUI ([#1506](https://github.com/lynx-family/lynx-stack/pull/1506))
10
12
 
11
- - Updated dependencies [[`b8f89e2`](https://github.com/lynx-family/lynx-stack/commit/b8f89e25f106a15ba9d70f2df06dfb684cbb6633), [`f76aae9`](https://github.com/lynx-family/lynx-stack/commit/f76aae9ea06abdc7022ba508d22f9f4eb00864e8), [`b8b060b`](https://github.com/lynx-family/lynx-stack/commit/b8b060b9bef722bb47bd90c33fab3922160c711d), [`d8381a5`](https://github.com/lynx-family/lynx-stack/commit/d8381a58d12af6424cab4955617251e798bdc9f1), [`214898b`](https://github.com/lynx-family/lynx-stack/commit/214898bb9c74fc9b44e68cb220a4c02485102ce2), [`ab8cee4`](https://github.com/lynx-family/lynx-stack/commit/ab8cee4bab384fa905c045c4b4b93e5d4a95d57f)]:
12
- - @lynx-js/web-mainthread-apis@0.15.6-canary-20250815124729-7e47c4a777441a6782bc8aac31298b9af34b6f3e
13
- - @lynx-js/web-constants@0.15.6-canary-20250815124729-7e47c4a777441a6782bc8aac31298b9af34b6f3e
14
- - @lynx-js/web-worker-runtime@0.15.6-canary-20250815124729-7e47c4a777441a6782bc8aac31298b9af34b6f3e
15
- - @lynx-js/web-worker-rpc@0.15.6-canary-20250815124729-7e47c4a777441a6782bc8aac31298b9af34b6f3e
13
+ - Updated dependencies [[`405a917`](https://github.com/lynx-family/lynx-stack/commit/405a9170442ae32603b7687549b49ab4b34aff92), [`b8f89e2`](https://github.com/lynx-family/lynx-stack/commit/b8f89e25f106a15ba9d70f2df06dfb684cbb6633), [`f76aae9`](https://github.com/lynx-family/lynx-stack/commit/f76aae9ea06abdc7022ba508d22f9f4eb00864e8), [`b8b060b`](https://github.com/lynx-family/lynx-stack/commit/b8b060b9bef722bb47bd90c33fab3922160c711d), [`d8381a5`](https://github.com/lynx-family/lynx-stack/commit/d8381a58d12af6424cab4955617251e798bdc9f1), [`214898b`](https://github.com/lynx-family/lynx-stack/commit/214898bb9c74fc9b44e68cb220a4c02485102ce2), [`ab8cee4`](https://github.com/lynx-family/lynx-stack/commit/ab8cee4bab384fa905c045c4b4b93e5d4a95d57f)]:
14
+ - @lynx-js/web-mainthread-apis@0.15.6
15
+ - @lynx-js/web-constants@0.15.6
16
+ - @lynx-js/web-worker-runtime@0.15.6
17
+ - @lynx-js/web-worker-rpc@0.15.6
16
18
 
17
19
  ## 0.15.5
18
20
 
@@ -202,25 +204,25 @@
202
204
  lynxView.initI18nResources = [
203
205
  {
204
206
  options: {
205
- locale: "en",
206
- channel: "1",
207
- fallback_url: "",
207
+ locale: 'en',
208
+ channel: '1',
209
+ fallback_url: '',
208
210
  },
209
211
  resource: {
210
- hello: "hello",
211
- lynx: "lynx web platform1",
212
+ hello: 'hello',
213
+ lynx: 'lynx web platform1',
212
214
  },
213
215
  },
214
216
  ];
215
- lynxView.addEventListener("i18nResourceMissed", (e) => {
217
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
216
218
  console.log(e);
217
219
  });
218
220
 
219
221
  // mts
220
222
  _I18nResourceTranslation({
221
- locale: "en",
222
- channel: "1",
223
- fallback_url: "",
223
+ locale: 'en',
224
+ channel: '1',
225
+ fallback_url: '',
224
226
  });
225
227
  ```
226
228
 
@@ -628,8 +630,8 @@
628
630
  }
629
631
  };`,
630
632
  ],
631
- { type: "text/javascript" }
632
- )
633
+ { type: 'text/javascript' },
634
+ ),
633
635
  ),
634
636
  };
635
637
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -744,8 +746,8 @@
744
746
  };
745
747
  };`,
746
748
  ],
747
- { type: "text/javascript" }
748
- )
749
+ { type: 'text/javascript' },
750
+ ),
749
751
  );
750
752
 
751
753
  const color_methods = URL.createObjectURL(
@@ -760,8 +762,8 @@
760
762
  };
761
763
  };`,
762
764
  ],
763
- { type: "text/javascript" }
764
- )
765
+ { type: 'text/javascript' },
766
+ ),
765
767
  );
766
768
 
767
769
  lynxView.napiModuleMap = {
@@ -778,7 +780,7 @@
778
780
 
779
781
  ```js
780
782
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
781
- if (name === "getColor" && moduleName === "color_methods") {
783
+ if (name === 'getColor' && moduleName === 'color_methods') {
782
784
  return data.color;
783
785
  }
784
786
  };
@@ -857,8 +859,8 @@
857
859
  }
858
860
  };`,
859
861
  ],
860
- { type: "text/javascript" }
861
- )
862
+ { type: 'text/javascript' },
863
+ ),
862
864
  );
863
865
  ```
864
866
 
@@ -870,7 +872,7 @@
870
872
 
871
873
  ```js
872
874
  lynxView.onNativeModulesCall = (name, data, callback) => {
873
- if (name === "getColor") {
875
+ if (name === 'getColor') {
874
876
  callback(data.color);
875
877
  }
876
878
  };
@@ -880,7 +882,7 @@
880
882
 
881
883
  ```js
882
884
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
883
- if (name === "getColor" && moduleName === "bridge") {
885
+ if (name === 'getColor' && moduleName === 'bridge') {
884
886
  return data.color;
885
887
  }
886
888
  };
@@ -1238,7 +1240,7 @@
1238
1240
  This flag changes the behaviour of cascading. It provide a way to do this
1239
1241
 
1240
1242
  ```jsx
1241
- <view class="class-a class-b" />
1243
+ <view class='class-a class-b' />;
1242
1244
  ```
1243
1245
 
1244
1246
  The class-b will override (cascading) styles of class-a.
@@ -1338,11 +1340,11 @@
1338
1340
  There is also a simple way to use this feature
1339
1341
 
1340
1342
  ```javascript
1341
- import { LynxCard } from "@lynx-js/web-core";
1342
- import { loadElement } from "@lynx-js/web-elements/lazy";
1343
- import "@lynx-js/web-elements/index.css";
1344
- import "@lynx-js/web-core/index.css";
1345
- import "./index.css";
1343
+ import { LynxCard } from '@lynx-js/web-core';
1344
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1345
+ import '@lynx-js/web-elements/index.css';
1346
+ import '@lynx-js/web-core/index.css';
1347
+ import './index.css';
1346
1348
 
1347
1349
  const lynxcard = new LynxCard({
1348
1350
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.15.6-canary-20250815-7e47c4a7",
3
+ "version": "0.15.6",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -25,10 +25,10 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.3",
28
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6-canary-20250815-7e47c4a7",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6-canary-20250815-7e47c4a7",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.6-canary-20250815-7e47c4a7",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.15.6-canary-20250815-7e47c4a7"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.6",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.15.6"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@lynx-js/lynx-core": "0.1.3",