shinkom 1.1.2 → 1.2.1
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/README.md +2 -3
- package/dist/bundles/_virtual/_rolldown/runtime.js +1 -1
- package/dist/bundles/core/constants.d.ts +1 -1
- package/dist/bundles/core/constants.js +1 -1
- package/dist/bundles/core/elements/compat-view-element.d.ts +1 -1
- package/dist/bundles/core/elements/compat-view-element.js +2 -2
- package/dist/bundles/core/elements/control-panel-element.d.ts +1 -1
- package/dist/bundles/core/elements/control-panel-element.js +1 -1
- package/dist/bundles/core/elements/index.d.ts +1 -1
- package/dist/bundles/core/elements/index.js +1 -1
- package/dist/bundles/core/elements/inspector-element.d.ts +1 -1
- package/dist/bundles/core/elements/inspector-element.js +1 -1
- package/dist/bundles/core/elements/recent-result-item.js +1 -1
- package/dist/bundles/core/elements/results-history-item.js +1 -1
- package/dist/bundles/core/elements/templates/compat-view.templates.js +2 -2
- package/dist/bundles/core/elements/templates/control-panel.templates.js +1 -1
- package/dist/bundles/core/elements/templates/root-styles.template.js +1 -1
- package/dist/bundles/core/event-bus.d.ts +1 -1
- package/dist/bundles/core/event-bus.js +1 -1
- package/dist/bundles/core/helpers.js +1 -1
- package/dist/bundles/core/index.d.ts +1 -1
- package/dist/bundles/core/index.js +1 -1
- package/dist/bundles/core/state-service.d.ts +1 -1
- package/dist/bundles/core/state-service.js +1 -1
- package/dist/bundles/core/ui-component.d.ts +1 -1
- package/dist/bundles/core/ui-component.js +1 -1
- package/dist/bundles/engine/engine.d.ts +1 -1
- package/dist/bundles/engine/engine.js +1 -1
- package/dist/bundles/engine/index.js +1 -1
- package/dist/bundles/gen/browser-data.js +1 -96
- package/dist/bundles/gen/browser-usage-data.js +1 -671
- package/dist/bundles/gen/compat-data.js +1 -1
- package/dist/bundles/gen/index.js +1 -1
- package/dist/bundles/index.d.ts +1 -1
- package/dist/bundles/index.js +1 -1
- package/dist/bundles/pkg/shinkore.d.ts +18 -8
- package/dist/bundles/pkg/shinkore.js +53 -51
- package/dist/bundles/pkg/shinkore_bg.wasm +0 -0
- package/dist/bundles/shinkom.d.ts +1 -1
- package/dist/bundles/shinkom.js +1 -1
- package/dist/bundles/ui/compat-ui/compat-ui.d.ts +1 -1
- package/dist/bundles/ui/compat-ui/compat-ui.js +1 -1
- package/dist/bundles/ui/compat-ui/index.js +1 -1
- package/dist/bundles/ui/compatibility-view/compatibility-view.d.ts +1 -1
- package/dist/bundles/ui/compatibility-view/compatibility-view.js +1 -1
- package/dist/bundles/ui/compatibility-view/index.js +1 -1
- package/dist/bundles/ui/control-panel/control-panel.d.ts +1 -1
- package/dist/bundles/ui/control-panel/control-panel.js +1 -1
- package/dist/bundles/ui/control-panel/index.js +1 -1
- package/dist/bundles/ui/index.d.ts +1 -1
- package/dist/bundles/ui/index.js +1 -1
- package/dist/bundles/ui/inspector/index.js +1 -1
- package/dist/bundles/ui/inspector/inspector.d.ts +1 -1
- package/dist/bundles/ui/inspector/inspector.js +1 -1
- package/dist/modules/core/elements/compat-view-element.cjs +1 -1
- package/dist/modules/core/elements/templates/compat-view.templates.cjs +1 -1
- package/dist/modules/gen/browser-data.cjs +1 -100
- package/dist/modules/gen/browser-usage-data.cjs +1 -675
- package/dist/modules/gen/compat-data.cjs +1 -31015
- package/dist/modules/pkg/shinkore.cjs +52 -50
- package/dist/modules/pkg/shinkore_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@ var CompatEngine = class {
|
|
|
65
65
|
*/
|
|
66
66
|
constructor(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data) {
|
|
67
67
|
const ret = wasm.compatengine_new(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data);
|
|
68
|
-
this.__wbg_ptr = ret
|
|
68
|
+
this.__wbg_ptr = ret;
|
|
69
69
|
CompatEngineFinalization.register(this, this.__wbg_ptr, this);
|
|
70
70
|
return this;
|
|
71
71
|
}
|
|
@@ -76,7 +76,7 @@ function __wbg_get_imports() {
|
|
|
76
76
|
__proto__: null,
|
|
77
77
|
"./shinkore_bg.js": {
|
|
78
78
|
__proto__: null,
|
|
79
|
-
|
|
79
|
+
__wbg_Error_9dc85fe1bc224456: function(arg0, arg1) {
|
|
80
80
|
return Error(getStringFromWasm0(arg0, arg1));
|
|
81
81
|
},
|
|
82
82
|
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
@@ -85,55 +85,55 @@ function __wbg_get_imports() {
|
|
|
85
85
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
86
86
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
87
87
|
},
|
|
88
|
-
|
|
88
|
+
__wbg___wbindgen_bigint_get_as_i64_8ea6736501f396b6: function(arg0, arg1) {
|
|
89
89
|
const v = arg1;
|
|
90
90
|
const ret = typeof v === "bigint" ? v : void 0;
|
|
91
91
|
getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
92
92
|
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
93
93
|
},
|
|
94
|
-
|
|
94
|
+
__wbg___wbindgen_boolean_get_b131b2f36d6b2f55: function(arg0) {
|
|
95
95
|
const v = arg0;
|
|
96
96
|
const ret = typeof v === "boolean" ? v : void 0;
|
|
97
97
|
return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
|
|
98
98
|
},
|
|
99
|
-
|
|
99
|
+
__wbg___wbindgen_debug_string_56c147eb1a51f0c4: function(arg0, arg1) {
|
|
100
100
|
const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
101
101
|
const len1 = WASM_VECTOR_LEN;
|
|
102
102
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
103
103
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
104
104
|
},
|
|
105
|
-
|
|
105
|
+
__wbg___wbindgen_in_ce8569b2fc6f5088: function(arg0, arg1) {
|
|
106
106
|
return arg0 in arg1;
|
|
107
107
|
},
|
|
108
|
-
|
|
108
|
+
__wbg___wbindgen_is_bigint_df272c65456269c2: function(arg0) {
|
|
109
109
|
return typeof arg0 === "bigint";
|
|
110
110
|
},
|
|
111
|
-
|
|
111
|
+
__wbg___wbindgen_is_function_147961669f068cd4: function(arg0) {
|
|
112
112
|
return typeof arg0 === "function";
|
|
113
113
|
},
|
|
114
|
-
|
|
114
|
+
__wbg___wbindgen_is_object_3a2c414391dbf751: function(arg0) {
|
|
115
115
|
const val = arg0;
|
|
116
116
|
return typeof val === "object" && val !== null;
|
|
117
117
|
},
|
|
118
|
-
|
|
118
|
+
__wbg___wbindgen_is_string_6541b0f6ecd4e8e5: function(arg0) {
|
|
119
119
|
return typeof arg0 === "string";
|
|
120
120
|
},
|
|
121
|
-
|
|
121
|
+
__wbg___wbindgen_is_undefined_4410e3c20a99fa97: function(arg0) {
|
|
122
122
|
return arg0 === void 0;
|
|
123
123
|
},
|
|
124
|
-
|
|
124
|
+
__wbg___wbindgen_jsval_eq_174c93ec61bab0c5: function(arg0, arg1) {
|
|
125
125
|
return arg0 === arg1;
|
|
126
126
|
},
|
|
127
|
-
|
|
127
|
+
__wbg___wbindgen_jsval_loose_eq_e07e3b1f5db6da6c: function(arg0, arg1) {
|
|
128
128
|
return arg0 == arg1;
|
|
129
129
|
},
|
|
130
|
-
|
|
130
|
+
__wbg___wbindgen_number_get_588ed6b97f0d7e14: function(arg0, arg1) {
|
|
131
131
|
const obj = arg1;
|
|
132
132
|
const ret = typeof obj === "number" ? obj : void 0;
|
|
133
133
|
getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
|
|
134
134
|
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
135
135
|
},
|
|
136
|
-
|
|
136
|
+
__wbg___wbindgen_string_get_fa2687d531ed17a5: function(arg0, arg1) {
|
|
137
137
|
const obj = arg1;
|
|
138
138
|
const ret = typeof obj === "string" ? obj : void 0;
|
|
139
139
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -141,38 +141,38 @@ function __wbg_get_imports() {
|
|
|
141
141
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
142
142
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
143
143
|
},
|
|
144
|
-
|
|
144
|
+
__wbg___wbindgen_throw_bbadd78c1bac3a77: function(arg0, arg1) {
|
|
145
145
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
146
146
|
},
|
|
147
|
-
|
|
147
|
+
__wbg_call_91f00ddc43e01490: function() {
|
|
148
148
|
return handleError(function(arg0, arg1) {
|
|
149
149
|
return arg0.call(arg1);
|
|
150
150
|
}, arguments);
|
|
151
151
|
},
|
|
152
|
-
|
|
152
|
+
__wbg_done_6a8439e544ec6206: function(arg0) {
|
|
153
153
|
return arg0.done;
|
|
154
154
|
},
|
|
155
|
-
|
|
155
|
+
__wbg_entries_5a6a7e7e0df09fe5: function(arg0) {
|
|
156
156
|
return Object.entries(arg0);
|
|
157
157
|
},
|
|
158
|
-
|
|
158
|
+
__wbg_error_6651fee1c71e5da9: function(arg0) {
|
|
159
159
|
console.error(arg0);
|
|
160
160
|
},
|
|
161
|
-
|
|
161
|
+
__wbg_get_44e98e27bda25b5b: function() {
|
|
162
162
|
return handleError(function(arg0, arg1) {
|
|
163
163
|
return Reflect.get(arg0, arg1);
|
|
164
164
|
}, arguments);
|
|
165
165
|
},
|
|
166
|
-
|
|
166
|
+
__wbg_get_4b90d6d8c5deb5d5: function(arg0, arg1) {
|
|
167
167
|
return arg0[arg1 >>> 0];
|
|
168
168
|
},
|
|
169
|
-
|
|
169
|
+
__wbg_get_unchecked_46e778e3cec74b5e: function(arg0, arg1) {
|
|
170
170
|
return arg0[arg1 >>> 0];
|
|
171
171
|
},
|
|
172
172
|
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
173
173
|
return arg0[arg1];
|
|
174
174
|
},
|
|
175
|
-
|
|
175
|
+
__wbg_instanceof_ArrayBuffer_a581da923203f29f: function(arg0) {
|
|
176
176
|
let result;
|
|
177
177
|
try {
|
|
178
178
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -181,7 +181,7 @@ function __wbg_get_imports() {
|
|
|
181
181
|
}
|
|
182
182
|
return result;
|
|
183
183
|
},
|
|
184
|
-
|
|
184
|
+
__wbg_instanceof_Map_7f94c740225003e2: function(arg0) {
|
|
185
185
|
let result;
|
|
186
186
|
try {
|
|
187
187
|
result = arg0 instanceof Map;
|
|
@@ -190,7 +190,7 @@ function __wbg_get_imports() {
|
|
|
190
190
|
}
|
|
191
191
|
return result;
|
|
192
192
|
},
|
|
193
|
-
|
|
193
|
+
__wbg_instanceof_Uint8Array_b6fe1ac89eba107e: function(arg0) {
|
|
194
194
|
let result;
|
|
195
195
|
try {
|
|
196
196
|
result = arg0 instanceof Uint8Array;
|
|
@@ -199,57 +199,60 @@ function __wbg_get_imports() {
|
|
|
199
199
|
}
|
|
200
200
|
return result;
|
|
201
201
|
},
|
|
202
|
-
|
|
202
|
+
__wbg_isArray_139f48e3c057ede8: function(arg0) {
|
|
203
203
|
return Array.isArray(arg0);
|
|
204
204
|
},
|
|
205
|
-
|
|
205
|
+
__wbg_isSafeInteger_c22ccb4af2201fe9: function(arg0) {
|
|
206
206
|
return Number.isSafeInteger(arg0);
|
|
207
207
|
},
|
|
208
|
-
|
|
208
|
+
__wbg_iterator_9b36cebf3be7b7cd: function() {
|
|
209
209
|
return Symbol.iterator;
|
|
210
210
|
},
|
|
211
|
-
|
|
211
|
+
__wbg_length_68a9d5278d084f4f: function(arg0) {
|
|
212
212
|
return arg0.length;
|
|
213
213
|
},
|
|
214
|
-
|
|
214
|
+
__wbg_length_fb04d16d7bdf6d4c: function(arg0) {
|
|
215
215
|
return arg0.length;
|
|
216
216
|
},
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
},
|
|
220
|
-
__wbg_new_34d45cc8e36aaead: function() {
|
|
221
|
-
return /* @__PURE__ */ new Map();
|
|
217
|
+
__wbg_log_6614a4effdb4e983: function(arg0) {
|
|
218
|
+
console.log(arg0);
|
|
222
219
|
},
|
|
223
|
-
|
|
220
|
+
__wbg_new_0b303268aa395a38: function() {
|
|
224
221
|
return new Array();
|
|
225
222
|
},
|
|
226
|
-
|
|
223
|
+
__wbg_new_20b778a4c5c691c3: function() {
|
|
227
224
|
return /* @__PURE__ */ new Object();
|
|
228
225
|
},
|
|
229
|
-
|
|
226
|
+
__wbg_new_883c0db065f06efd: function() {
|
|
227
|
+
return /* @__PURE__ */ new Map();
|
|
228
|
+
},
|
|
229
|
+
__wbg_new_b06772b280cc6e52: function(arg0) {
|
|
230
|
+
return new Uint8Array(arg0);
|
|
231
|
+
},
|
|
232
|
+
__wbg_next_8cb028b6ba50743f: function() {
|
|
230
233
|
return handleError(function(arg0) {
|
|
231
234
|
return arg0.next();
|
|
232
235
|
}, arguments);
|
|
233
236
|
},
|
|
234
|
-
|
|
237
|
+
__wbg_next_cfd0b146c9538df8: function(arg0) {
|
|
235
238
|
return arg0.next;
|
|
236
239
|
},
|
|
237
|
-
|
|
240
|
+
__wbg_prototypesetcall_956c7493c68e29b4: function(arg0, arg1, arg2) {
|
|
238
241
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
239
242
|
},
|
|
240
|
-
|
|
241
|
-
arg0
|
|
243
|
+
__wbg_set_5f806304fb633ab3: function(arg0, arg1, arg2) {
|
|
244
|
+
return arg0.set(arg1, arg2);
|
|
242
245
|
},
|
|
243
246
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
244
247
|
arg0[arg1] = arg2;
|
|
245
248
|
},
|
|
246
|
-
|
|
247
|
-
|
|
249
|
+
__wbg_set_da33c120a6584674: function(arg0, arg1, arg2) {
|
|
250
|
+
arg0[arg1 >>> 0] = arg2;
|
|
248
251
|
},
|
|
249
|
-
|
|
252
|
+
__wbg_value_3d3defe09fb1ffca: function(arg0) {
|
|
250
253
|
return arg0.value;
|
|
251
254
|
},
|
|
252
|
-
|
|
255
|
+
__wbg_warn_633bacc13ba7e6c3: function(arg0) {
|
|
253
256
|
console.warn(arg0);
|
|
254
257
|
},
|
|
255
258
|
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
@@ -279,7 +282,7 @@ function __wbg_get_imports() {
|
|
|
279
282
|
const CompatEngineFinalization = typeof FinalizationRegistry === "undefined" ? {
|
|
280
283
|
register: () => {},
|
|
281
284
|
unregister: () => {}
|
|
282
|
-
} : new FinalizationRegistry((ptr) => wasm.__wbg_compatengine_free(ptr
|
|
285
|
+
} : new FinalizationRegistry((ptr) => wasm.__wbg_compatengine_free(ptr, 1));
|
|
283
286
|
function addToExternrefTable0(obj) {
|
|
284
287
|
const idx = wasm.__externref_table_alloc();
|
|
285
288
|
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
@@ -329,8 +332,7 @@ function getDataViewMemory0() {
|
|
|
329
332
|
return cachedDataViewMemory0;
|
|
330
333
|
}
|
|
331
334
|
function getStringFromWasm0(ptr, len) {
|
|
332
|
-
|
|
333
|
-
return decodeText(ptr, len);
|
|
335
|
+
return decodeText(ptr >>> 0, len);
|
|
334
336
|
}
|
|
335
337
|
let cachedUint8ArrayMemory0 = null;
|
|
336
338
|
function getUint8ArrayMemory0() {
|
|
Binary file
|