@lynx-js/web-constants-canary 0.17.0-canary-20250919-56223065 → 0.17.0-canary-20250919-f0d7ee43

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-constants
2
2
 
3
- ## 0.17.0-canary-20250919141251-562230658d8c0ea8f5b381ed82a0c69ba2931dac
3
+ ## 0.17.0-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -9,7 +9,7 @@
9
9
  After this commit, we use DAG methods to handle the styleInfos
10
10
 
11
11
  - Updated dependencies []:
12
- - @lynx-js/web-worker-rpc@0.17.0-canary-20250919141251-562230658d8c0ea8f5b381ed82a0c69ba2931dac
12
+ - @lynx-js/web-worker-rpc@0.17.0-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
13
13
 
14
14
  ## 0.16.1
15
15
 
@@ -42,7 +42,7 @@ const templateUpgraders = [
42
42
  'requestAnimationFrame',
43
43
  'cancelAnimationFrame',
44
44
  ].join(',');
45
- template.appType = template.lepusCode.root.startsWith('(function (globDynamicComponentEntry')
45
+ template.appType = template.appType ?? template.lepusCode.root.startsWith('(function (globDynamicComponentEntry')
46
46
  ? 'lazy'
47
47
  : 'card';
48
48
  /**
@@ -72,7 +72,7 @@ const generateModuleContent = (content, eager, appType) =>
72
72
  '\n(function() { "use strict"; const ',
73
73
  globalDisallowedVars.join('=void 0,'),
74
74
  '=void 0;\n',
75
- appType === 'lazy' ? 'module.exports=\n' : '',
75
+ appType !== 'card' ? 'module.exports=\n' : '',
76
76
  content,
77
77
  '\n})()',
78
78
  ].join('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants-canary",
3
- "version": "0.17.0-canary-20250919-56223065",
3
+ "version": "0.17.0-canary-20250919-f0d7ee43",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -23,7 +23,7 @@
23
23
  "**/*.css"
24
24
  ],
25
25
  "dependencies": {
26
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.17.0-canary-20250919-56223065"
26
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.17.0-canary-20250919-f0d7ee43"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4"