@lynx-js/web-core-server-canary 0.15.6-canary-20250815-3fe17081 → 0.15.6-canary-20250815-39c7b781

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,10 @@
1
1
  # @lynx-js/web-core-server
2
2
 
3
- ## 0.15.6-canary-20250815091258-3fe17081d73ca1746162f5967e72528af82e6d23
3
+ ## 0.15.6-canary-20250815124551-39c7b78160c9365e688d07c0e4ed8a6bef643f16
4
+
5
+ ### Patch Changes
6
+
7
+ - refactor: use utf-8 string ([#1473](https://github.com/lynx-family/lynx-stack/pull/1473))
4
8
 
5
9
  ## 0.15.5
6
10
 
package/dist/index.js CHANGED
@@ -8,12 +8,10 @@ var __webpack_modules__ = {
8
8
  __webpack_require__.d(__webpack_exports__, {
9
9
  C2: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.C2,
10
10
  Or: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.Or,
11
- Y1: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.Y1,
12
11
  a9: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.a9,
13
- gd: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.gd,
12
+ h4: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.h4,
14
13
  oT: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.oT,
15
14
  pE: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.pE,
16
- sy: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.sy,
17
15
  xJ: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.xJ,
18
16
  xQ: ()=>_standard_bg_js__WEBPACK_IMPORTED_MODULE_0__.xQ
19
17
  });
@@ -35,12 +33,10 @@ var __webpack_modules__ = {
35
33
  __webpack_require__.d(__webpack_exports__, {
36
34
  C2: ()=>__wbg_push_737cfc8c1432c2c6,
37
35
  Or: ()=>__wbindgen_throw,
38
- Y1: ()=>malloc,
39
36
  a9: ()=>__wbg_new_78feb108b6472713,
40
- gd: ()=>free,
37
+ h4: ()=>__wbindgen_string_new,
41
38
  oT: ()=>__wbg_set_wasm,
42
39
  pE: ()=>transform_raw_u16_inline_style_ptr_parsed,
43
- sy: ()=>__wbg_fromCharCode_5493f9b25e1ce0a1,
44
40
  xJ: ()=>transform_raw_u16_inline_style_ptr,
45
41
  xQ: ()=>__wbindgen_init_externref_table
46
42
  });
@@ -49,15 +45,6 @@ var __webpack_modules__ = {
49
45
  function __wbg_set_wasm(val) {
50
46
  wasm = val;
51
47
  }
52
- let cachedUint16ArrayMemory0 = null;
53
- function getUint16ArrayMemory0() {
54
- if (null === cachedUint16ArrayMemory0 || 0 === cachedUint16ArrayMemory0.byteLength) cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
55
- return cachedUint16ArrayMemory0;
56
- }
57
- function getArrayU16FromWasm0(ptr, len) {
58
- ptr >>>= 0;
59
- return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
60
- }
61
48
  const lTextDecoder = 'undefined' == typeof TextDecoder ? (0, module.require)('util').TextDecoder : TextDecoder;
62
49
  let cachedTextDecoder = new lTextDecoder('utf-8', {
63
50
  ignoreBOM: true,
@@ -73,23 +60,64 @@ var __webpack_modules__ = {
73
60
  ptr >>>= 0;
74
61
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
75
62
  }
76
- function transform_raw_u16_inline_style_ptr(ptr, len) {
77
- const ret = wasm.transform_raw_u16_inline_style_ptr(ptr, len);
78
- return ret;
79
- }
80
- function transform_raw_u16_inline_style_ptr_parsed(name_ptr, name_len, value_ptr, value_len) {
81
- const ret = wasm.transform_raw_u16_inline_style_ptr_parsed(name_ptr, name_len, value_ptr, value_len);
82
- return ret;
83
- }
84
- function malloc(size) {
85
- const ret = wasm.malloc(size);
86
- return ret >>> 0;
63
+ let WASM_VECTOR_LEN = 0;
64
+ const lTextEncoder = 'undefined' == typeof TextEncoder ? (0, module.require)('util').TextEncoder : TextEncoder;
65
+ let cachedTextEncoder = new lTextEncoder('utf-8');
66
+ const encodeString = 'function' == typeof cachedTextEncoder.encodeInto ? function(arg, view) {
67
+ return cachedTextEncoder.encodeInto(arg, view);
68
+ } : function(arg, view) {
69
+ const buf = cachedTextEncoder.encode(arg);
70
+ view.set(buf);
71
+ return {
72
+ read: arg.length,
73
+ written: buf.length
74
+ };
75
+ };
76
+ function passStringToWasm0(arg, malloc, realloc) {
77
+ if (void 0 === realloc) {
78
+ const buf = cachedTextEncoder.encode(arg);
79
+ const ptr = malloc(buf.length, 1) >>> 0;
80
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
81
+ WASM_VECTOR_LEN = buf.length;
82
+ return ptr;
83
+ }
84
+ let len = arg.length;
85
+ let ptr = malloc(len, 1) >>> 0;
86
+ const mem = getUint8ArrayMemory0();
87
+ let offset = 0;
88
+ for(; offset < len; offset++){
89
+ const code = arg.charCodeAt(offset);
90
+ if (code > 0x7F) break;
91
+ mem[ptr + offset] = code;
92
+ }
93
+ if (offset !== len) {
94
+ if (0 !== offset) arg = arg.slice(offset);
95
+ ptr = realloc(ptr, len, len = offset + 3 * arg.length, 1) >>> 0;
96
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
97
+ const ret = encodeString(arg, view);
98
+ offset += ret.written;
99
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
100
+ }
101
+ WASM_VECTOR_LEN = offset;
102
+ return ptr;
87
103
  }
88
- function free(ptr, size) {
89
- wasm.free(ptr, size);
104
+ function transform_raw_u16_inline_style_ptr(str) {
105
+ const ptr0 = passStringToWasm0(str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
106
+ const len0 = WASM_VECTOR_LEN;
107
+ const ret = wasm.transform_raw_u16_inline_style_ptr(ptr0, len0);
108
+ let v2;
109
+ if (0 !== ret[0]) {
110
+ v2 = getStringFromWasm0(ret[0], ret[1]).slice();
111
+ wasm.__wbindgen_free(ret[0], +ret[1], 1);
112
+ }
113
+ return v2;
90
114
  }
91
- function __wbg_fromCharCode_5493f9b25e1ce0a1(arg0, arg1) {
92
- const ret = String.fromCharCode(...getArrayU16FromWasm0(arg0, arg1));
115
+ function transform_raw_u16_inline_style_ptr_parsed(name, value) {
116
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
117
+ const len0 = WASM_VECTOR_LEN;
118
+ const ptr1 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
119
+ const len1 = WASM_VECTOR_LEN;
120
+ const ret = wasm.transform_raw_u16_inline_style_ptr_parsed(ptr0, len0, ptr1, len1);
93
121
  return ret;
94
122
  }
95
123
  function __wbg_new_78feb108b6472713() {
@@ -109,6 +137,10 @@ var __webpack_modules__ = {
109
137
  table.set(offset + 2, true);
110
138
  table.set(offset + 3, false);
111
139
  }
140
+ function __wbindgen_string_new(arg0, arg1) {
141
+ const ret = getStringFromWasm0(arg0, arg1);
142
+ return ret;
143
+ }
112
144
  function __wbindgen_throw(arg0, arg1) {
113
145
  throw new Error(getStringFromWasm0(arg0, arg1));
114
146
  }
@@ -118,25 +150,20 @@ var __webpack_modules__ = {
118
150
  try {
119
151
  __webpack_require__.r(__webpack_exports__);
120
152
  __webpack_require__.d(__webpack_exports__, {
121
- __wbg_fromCharCode_5493f9b25e1ce0a1: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.sy,
122
153
  __wbg_new_78feb108b6472713: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.a9,
123
154
  __wbg_push_737cfc8c1432c2c6: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.C2,
124
155
  __wbg_set_wasm: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.oT,
125
156
  __wbindgen_init_externref_table: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.xQ,
157
+ __wbindgen_string_new: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.h4,
126
158
  __wbindgen_throw: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.Or,
127
- free: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.gd,
128
- malloc: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.Y1,
129
- memory: ()=>_dist_standard_bg_wasm__WEBPACK_IMPORTED_MODULE_1__.memory,
130
159
  transform_raw_u16_inline_style_ptr: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.xJ,
131
160
  transform_raw_u16_inline_style_ptr_parsed: ()=>_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__.pE
132
161
  });
133
162
  var _dist_standard_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../web-style-transformer/dist/standard.js");
134
- var _dist_standard_bg_wasm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../web-style-transformer/dist/standard_bg.wasm");
135
163
  var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([
136
- _dist_standard_js__WEBPACK_IMPORTED_MODULE_0__,
137
- _dist_standard_bg_wasm__WEBPACK_IMPORTED_MODULE_1__
164
+ _dist_standard_js__WEBPACK_IMPORTED_MODULE_0__
138
165
  ]);
139
- [_dist_standard_js__WEBPACK_IMPORTED_MODULE_0__, _dist_standard_bg_wasm__WEBPACK_IMPORTED_MODULE_1__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__;
166
+ _dist_standard_js__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
140
167
  __webpack_async_result__();
141
168
  } catch (e) {
142
169
  __webpack_async_result__(e);
@@ -145,10 +172,10 @@ var __webpack_modules__ = {
145
172
  },
146
173
  "../web-style-transformer/dist/standard_bg.wasm": function(module, exports, __webpack_require__) {
147
174
  var WEBPACK_IMPORTED_MODULE_0 = __webpack_require__("../web-style-transformer/dist/standard_bg.js");
148
- module.exports = __webpack_require__.v(exports, module.id, "942a36269c98f88c", {
175
+ module.exports = __webpack_require__.v(exports, module.id, "431436911960378f", {
149
176
  "./standard_bg.js": {
150
- __wbg_fromCharCode_5493f9b25e1ce0a1: WEBPACK_IMPORTED_MODULE_0.sy,
151
177
  __wbg_new_78feb108b6472713: WEBPACK_IMPORTED_MODULE_0.a9,
178
+ __wbindgen_string_new: WEBPACK_IMPORTED_MODULE_0.h4,
152
179
  __wbg_push_737cfc8c1432c2c6: WEBPACK_IMPORTED_MODULE_0.C2,
153
180
  __wbindgen_throw: WEBPACK_IMPORTED_MODULE_0.Or,
154
181
  __wbindgen_init_externref_table: WEBPACK_IMPORTED_MODULE_0.xQ
@@ -880,51 +907,22 @@ async function initWasm() {
880
907
  const supportsReferenceTypes = await referenceTypes();
881
908
  wasm = supportsReferenceTypes ? await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "../web-style-transformer/standard.js")) : await __webpack_require__.e("501").then(__webpack_require__.bind(__webpack_require__, "../web-style-transformer/legacy.js"));
882
909
  }
883
- let HEAPU16;
884
- const stringToUTF16 = (str)=>{
885
- const len = str.length;
886
- const ptr = wasm.malloc(len << 1);
887
- if (!HEAPU16 || 0 == HEAPU16.byteLength) HEAPU16 = new Uint16Array(wasm.memory.buffer);
888
- for(let i = 0; i < len; i++)HEAPU16[(ptr >> 1) + i] = str.charCodeAt(i);
889
- return {
890
- ptr,
891
- len
892
- };
893
- };
894
910
  function transformInlineStyleString(str) {
895
- const { ptr, len } = stringToUTF16(str);
896
- try {
897
- const transformedStyle = wasm.transform_raw_u16_inline_style_ptr(ptr, len) ?? str;
898
- wasm.free(ptr, len << 1);
899
- return transformedStyle;
900
- } catch (e) {
901
- wasm.free(ptr, len << 1);
902
- throw e;
903
- }
911
+ return wasm.transform_raw_u16_inline_style_ptr(str) ?? str;
904
912
  }
905
913
  function transformParsedStyles(styles) {
906
914
  let childStyle = [];
907
915
  let transformedStyle = [];
908
916
  for (const [property, value] of styles){
909
- const { ptr: propertyPtr, len: propertyLen } = stringToUTF16(property);
910
- const { ptr: valuePtr, len: valueLen } = stringToUTF16(value);
911
- try {
912
- const transformedResult = wasm.transform_raw_u16_inline_style_ptr_parsed(propertyPtr, propertyLen, valuePtr, valueLen);
913
- wasm.free(propertyPtr, propertyLen << 1);
914
- wasm.free(valuePtr, valueLen << 1);
915
- if (transformedResult) {
916
- const [transformedStyleForCurrent, childStyleForCurrent] = transformedResult;
917
- transformedStyle = transformedStyle.concat(transformedStyleForCurrent);
918
- if (childStyleForCurrent) childStyle = childStyle.concat(childStyleForCurrent);
919
- } else transformedStyle.push([
920
- property,
921
- value
922
- ]);
923
- } catch (e) {
924
- wasm.free(propertyPtr, propertyLen << 1);
925
- wasm.free(valuePtr, valueLen << 1);
926
- throw e;
927
- }
917
+ const transformedResult = wasm.transform_raw_u16_inline_style_ptr_parsed(property, value);
918
+ if (transformedResult) {
919
+ const [transformedStyleForCurrent, childStyleForCurrent] = transformedResult;
920
+ transformedStyle = transformedStyle.concat(transformedStyleForCurrent);
921
+ if (childStyleForCurrent) childStyle = childStyle.concat(childStyleForCurrent);
922
+ } else transformedStyle.push([
923
+ property,
924
+ value
925
+ ]);
928
926
  }
929
927
  return {
930
928
  childStyle,
@@ -8,12 +8,10 @@ export const __webpack_modules__ = {
8
8
  __webpack_require__.d(__webpack_exports__, {
9
9
  C2: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.C2,
10
10
  Or: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.Or,
11
- Y1: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.Y1,
12
11
  a9: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.a9,
13
- gd: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.gd,
12
+ h4: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.h4,
14
13
  oT: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.oT,
15
14
  pE: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.pE,
16
- sy: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.sy,
17
15
  ug: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.ug,
18
16
  xJ: ()=>_legacy_bg_js__WEBPACK_IMPORTED_MODULE_0__.xJ
19
17
  });
@@ -34,12 +32,10 @@ export const __webpack_modules__ = {
34
32
  __webpack_require__.d(__webpack_exports__, {
35
33
  C2: ()=>__wbg_push_737cfc8c1432c2c6,
36
34
  Or: ()=>__wbindgen_throw,
37
- Y1: ()=>malloc,
38
35
  a9: ()=>__wbg_new_78feb108b6472713,
39
- gd: ()=>free,
36
+ h4: ()=>__wbindgen_string_new,
40
37
  oT: ()=>__wbg_set_wasm,
41
38
  pE: ()=>transform_raw_u16_inline_style_ptr_parsed,
42
- sy: ()=>__wbg_fromCharCode_5493f9b25e1ce0a1,
43
39
  ug: ()=>__wbindgen_object_drop_ref,
44
40
  xJ: ()=>transform_raw_u16_inline_style_ptr
45
41
  });
@@ -48,15 +44,6 @@ export const __webpack_modules__ = {
48
44
  function __wbg_set_wasm(val) {
49
45
  wasm = val;
50
46
  }
51
- let cachedUint16ArrayMemory0 = null;
52
- function getUint16ArrayMemory0() {
53
- if (null === cachedUint16ArrayMemory0 || 0 === cachedUint16ArrayMemory0.byteLength) cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
54
- return cachedUint16ArrayMemory0;
55
- }
56
- function getArrayU16FromWasm0(ptr, len) {
57
- ptr >>>= 0;
58
- return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
59
- }
60
47
  const heap = new Array(128).fill(void 0);
61
48
  heap.push(void 0, null, true, false);
62
49
  let heap_next = heap.length;
@@ -95,24 +82,77 @@ export const __webpack_modules__ = {
95
82
  ptr >>>= 0;
96
83
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
97
84
  }
98
- function transform_raw_u16_inline_style_ptr(ptr, len) {
99
- const ret = wasm.transform_raw_u16_inline_style_ptr(ptr, len);
100
- return takeObject(ret);
101
- }
102
- function transform_raw_u16_inline_style_ptr_parsed(name_ptr, name_len, value_ptr, value_len) {
103
- const ret = wasm.transform_raw_u16_inline_style_ptr_parsed(name_ptr, name_len, value_ptr, value_len);
104
- return takeObject(ret);
85
+ let WASM_VECTOR_LEN = 0;
86
+ const lTextEncoder = 'undefined' == typeof TextEncoder ? (0, module.require)('util').TextEncoder : TextEncoder;
87
+ let cachedTextEncoder = new lTextEncoder('utf-8');
88
+ const encodeString = 'function' == typeof cachedTextEncoder.encodeInto ? function(arg, view) {
89
+ return cachedTextEncoder.encodeInto(arg, view);
90
+ } : function(arg, view) {
91
+ const buf = cachedTextEncoder.encode(arg);
92
+ view.set(buf);
93
+ return {
94
+ read: arg.length,
95
+ written: buf.length
96
+ };
97
+ };
98
+ function passStringToWasm0(arg, malloc, realloc) {
99
+ if (void 0 === realloc) {
100
+ const buf = cachedTextEncoder.encode(arg);
101
+ const ptr = malloc(buf.length, 1) >>> 0;
102
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
103
+ WASM_VECTOR_LEN = buf.length;
104
+ return ptr;
105
+ }
106
+ let len = arg.length;
107
+ let ptr = malloc(len, 1) >>> 0;
108
+ const mem = getUint8ArrayMemory0();
109
+ let offset = 0;
110
+ for(; offset < len; offset++){
111
+ const code = arg.charCodeAt(offset);
112
+ if (code > 0x7F) break;
113
+ mem[ptr + offset] = code;
114
+ }
115
+ if (offset !== len) {
116
+ if (0 !== offset) arg = arg.slice(offset);
117
+ ptr = realloc(ptr, len, len = offset + 3 * arg.length, 1) >>> 0;
118
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
119
+ const ret = encodeString(arg, view);
120
+ offset += ret.written;
121
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
122
+ }
123
+ WASM_VECTOR_LEN = offset;
124
+ return ptr;
105
125
  }
106
- function malloc(size) {
107
- const ret = wasm.malloc(size);
108
- return ret >>> 0;
126
+ let cachedDataViewMemory0 = null;
127
+ function getDataViewMemory0() {
128
+ if (null === cachedDataViewMemory0 || true === cachedDataViewMemory0.buffer.detached || void 0 === cachedDataViewMemory0.buffer.detached && cachedDataViewMemory0.buffer !== wasm.memory.buffer) cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
129
+ return cachedDataViewMemory0;
109
130
  }
110
- function free(ptr, size) {
111
- wasm.free(ptr, size);
131
+ function transform_raw_u16_inline_style_ptr(str) {
132
+ try {
133
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
134
+ const ptr0 = passStringToWasm0(str, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
135
+ const len0 = WASM_VECTOR_LEN;
136
+ wasm.transform_raw_u16_inline_style_ptr(retptr, ptr0, len0);
137
+ var r0 = getDataViewMemory0().getInt32(retptr + 0, true);
138
+ var r1 = getDataViewMemory0().getInt32(retptr + 4, true);
139
+ let v2;
140
+ if (0 !== r0) {
141
+ v2 = getStringFromWasm0(r0, r1).slice();
142
+ wasm.__wbindgen_export_2(r0, +r1, 1);
143
+ }
144
+ return v2;
145
+ } finally{
146
+ wasm.__wbindgen_add_to_stack_pointer(16);
147
+ }
112
148
  }
113
- function __wbg_fromCharCode_5493f9b25e1ce0a1(arg0, arg1) {
114
- const ret = String.fromCharCode(...getArrayU16FromWasm0(arg0, arg1));
115
- return addHeapObject(ret);
149
+ function transform_raw_u16_inline_style_ptr_parsed(name, value) {
150
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
151
+ const len0 = WASM_VECTOR_LEN;
152
+ const ptr1 = passStringToWasm0(value, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
153
+ const len1 = WASM_VECTOR_LEN;
154
+ const ret = wasm.transform_raw_u16_inline_style_ptr_parsed(ptr0, len0, ptr1, len1);
155
+ return takeObject(ret);
116
156
  }
117
157
  function __wbg_new_78feb108b6472713() {
118
158
  const ret = new Array();
@@ -125,6 +165,10 @@ export const __webpack_modules__ = {
125
165
  function __wbindgen_object_drop_ref(arg0) {
126
166
  takeObject(arg0);
127
167
  }
168
+ function __wbindgen_string_new(arg0, arg1) {
169
+ const ret = getStringFromWasm0(arg0, arg1);
170
+ return addHeapObject(ret);
171
+ }
128
172
  function __wbindgen_throw(arg0, arg1) {
129
173
  throw new Error(getStringFromWasm0(arg0, arg1));
130
174
  }
@@ -134,14 +178,12 @@ export const __webpack_modules__ = {
134
178
  try {
135
179
  __webpack_require__.r(__webpack_exports__);
136
180
  __webpack_require__.d(__webpack_exports__, {
137
- __wbg_fromCharCode_5493f9b25e1ce0a1: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.sy,
138
181
  __wbg_new_78feb108b6472713: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.a9,
139
182
  __wbg_push_737cfc8c1432c2c6: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.C2,
140
183
  __wbg_set_wasm: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.oT,
141
184
  __wbindgen_object_drop_ref: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.ug,
185
+ __wbindgen_string_new: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.h4,
142
186
  __wbindgen_throw: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.Or,
143
- free: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.gd,
144
- malloc: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.Y1,
145
187
  memory: ()=>_dist_legacy_bg_wasm__WEBPACK_IMPORTED_MODULE_1__.memory,
146
188
  transform_raw_u16_inline_style_ptr: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.xJ,
147
189
  transform_raw_u16_inline_style_ptr_parsed: ()=>_dist_legacy_js__WEBPACK_IMPORTED_MODULE_0__.pE
@@ -161,10 +203,10 @@ export const __webpack_modules__ = {
161
203
  },
162
204
  "../web-style-transformer/dist/legacy_bg.wasm": function(module, exports, __webpack_require__) {
163
205
  var WEBPACK_IMPORTED_MODULE_0 = __webpack_require__("../web-style-transformer/dist/legacy_bg.js");
164
- module.exports = __webpack_require__.v(exports, module.id, "1960de5f207811d4", {
206
+ module.exports = __webpack_require__.v(exports, module.id, "578076972e1e5ffd", {
165
207
  "./legacy_bg.js": {
166
- __wbg_fromCharCode_5493f9b25e1ce0a1: WEBPACK_IMPORTED_MODULE_0.sy,
167
208
  __wbg_new_78feb108b6472713: WEBPACK_IMPORTED_MODULE_0.a9,
209
+ __wbindgen_string_new: WEBPACK_IMPORTED_MODULE_0.h4,
168
210
  __wbg_push_737cfc8c1432c2c6: WEBPACK_IMPORTED_MODULE_0.C2,
169
211
  __wbindgen_object_drop_ref: WEBPACK_IMPORTED_MODULE_0.ug,
170
212
  __wbindgen_throw: WEBPACK_IMPORTED_MODULE_0.Or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-server-canary",
3
- "version": "0.15.6-canary-20250815-3fe17081",
3
+ "version": "0.15.6-canary-20250815-39c7b781",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -23,11 +23,11 @@
23
23
  "README.md"
24
24
  ],
25
25
  "devDependencies": {
26
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6-canary-20250815-39c7b781",
27
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6-canary-20250815-39c7b781",
28
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.6-canary-20250815-39c7b781",
26
29
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.3",
27
- "@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.4",
28
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6-canary-20250815-3fe17081",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6-canary-20250815-3fe17081",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.6-canary-20250815-3fe17081"
30
+ "@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.4"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rslib build",