@lynx-js/web-core-server-canary 0.17.0-canary-20250919-f0d7ee43 → 0.17.0-canary-20250919-ec48624b

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/web-core-server
2
2
 
3
- ## 0.17.0-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
3
+ ## 0.17.0-canary-20250919153613-ec48624beeb75f579be8a479e4a772afc59c7a17
4
4
 
5
5
  ## 0.16.1
6
6
 
package/dist/index.js CHANGED
@@ -743,7 +743,7 @@ const globalDisallowedVars = [
743
743
  const templateUpgraders = [
744
744
  (template)=>{
745
745
  const defaultInjectStr = "Card,setTimeout,setInterval,clearInterval,clearTimeout,NativeModules,Component,ReactLynx,nativeAppId,Behavior,LynxJSBI,lynx,window,document,frames,location,navigator,localStorage,history,Caches,screen,alert,confirm,prompt,fetch,XMLHttpRequest,__WebSocket__,webkit,Reporter,print,global,requestAnimationFrame,cancelAnimationFrame";
746
- template.appType = template.appType ?? template.lepusCode.root.startsWith('(function (globDynamicComponentEntry') ? 'lazy' : 'card';
746
+ template.appType = template.appType ?? (template.lepusCode.root.startsWith('(function (globDynamicComponentEntry') ? 'lazy' : 'card');
747
747
  template.manifest = Object.fromEntries(Object.entries(template.manifest).map(([key, value])=>[
748
748
  key,
749
749
  `module.exports={init: (lynxCoreInject) => { var {${defaultInjectStr}} = lynxCoreInject.tt; var module = {exports:{}}; var exports=module.exports; ${value}\n return module.exports; } }`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-server-canary",
3
- "version": "0.17.0-canary-20250919-f0d7ee43",
3
+ "version": "0.17.0-canary-20250919-ec48624b",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -26,10 +26,10 @@
26
26
  "rsbuild-plugin-arethetypeswrong": "0.1.1",
27
27
  "rsbuild-plugin-publint": "0.3.3",
28
28
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.17.0-canary-20250919-f0d7ee43",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.17.0-canary-20250919-f0d7ee43",
31
- "@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.7-canary-20250919-f0d7ee43",
32
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.17.0-canary-20250919-f0d7ee43"
29
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.17.0-canary-20250919-ec48624b",
30
+ "@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.7-canary-20250919-ec48624b",
31
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.17.0-canary-20250919-ec48624b",
32
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.17.0-canary-20250919-ec48624b"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "rslib build",