shinkom 1.1.2 → 1.2.0
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 +0 -2
- 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/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/pkg/shinkore.cjs +52 -50
- package/dist/modules/pkg/shinkore_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -148,8 +148,6 @@ then consider contributing by creating a **pull request** on the **dev** branch
|
|
|
148
148
|
|
|
149
149
|
### Basic
|
|
150
150
|
|
|
151
|
-
https://github.com/user-attachments/assets/fc0dda8d-1f1b-44cf-bcbe-db7a5f4c76c9
|
|
152
|
-
|
|
153
151
|
The simplest and **recommended** way to utilize Shinkom is through the main entry-point.
|
|
154
152
|
|
|
155
153
|
```javascript
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shinkom - elements
|
|
3
|
-
* @version 1.
|
|
3
|
+
* @version 1.2.0
|
|
4
4
|
* @license MIT
|
|
5
5
|
* @copyright 2026 - OneilNvM
|
|
6
6
|
*/
|
|
@@ -22,7 +22,7 @@ let cachedTransitions = null;
|
|
|
22
22
|
/**
|
|
23
23
|
* @type {string}
|
|
24
24
|
*/
|
|
25
|
-
const _macroVersion = "1.
|
|
25
|
+
const _macroVersion = "1.2.0";
|
|
26
26
|
/**
|
|
27
27
|
* A custom element for the `CompatView` UI component.
|
|
28
28
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shinkom - core\elements\templates\compat-view
|
|
3
|
-
* @version 1.
|
|
3
|
+
* @version 1.2.0
|
|
4
4
|
* @license MIT
|
|
5
5
|
* @copyright 2026 - OneilNvM
|
|
6
6
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
/**
|
|
10
10
|
* @type {string}
|
|
11
11
|
*/
|
|
12
|
-
const _macroVersion = "1.
|
|
12
|
+
const _macroVersion = "1.2.0";
|
|
13
13
|
const compatViewHTML = `
|
|
14
14
|
<button id="sk-toggle-compat-view" class="sk-toggle-compat-view sk-button-style">
|
|
15
15
|
<svg style="pointer-events: none;" version="1.0" xmlns="http://www.w3.org/2000/svg" width="57" height="26"
|
package/dist/bundles/index.d.ts
CHANGED
package/dist/bundles/index.js
CHANGED
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shinkom - pkg
|
|
3
|
-
* @version 1.
|
|
3
|
+
* @version 1.2.0
|
|
4
4
|
* @license MIT
|
|
5
5
|
* @copyright 2026 - OneilNvM
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
//#region pkg/shinkore.d.ts
|
|
9
|
-
/* tslint:disable */
|
|
10
|
-
/* eslint-disable */
|
|
11
9
|
/**
|
|
12
10
|
* The [`CompatEngine`] struct stores the compatibility data
|
|
13
11
|
* and acts as an entry-point for the Rust/WASM engine.
|
|
14
12
|
*/
|
|
15
13
|
declare class CompatEngine {
|
|
14
|
+
/**
|
|
15
|
+
* Constructs an new engine instance
|
|
16
|
+
* @param {any} bcd_html_data
|
|
17
|
+
* @param {any} bcd_svg_data
|
|
18
|
+
* @param {any} bcd_browser_data
|
|
19
|
+
* @param {any} ciu_usage_data
|
|
20
|
+
*/
|
|
21
|
+
constructor(bcd_html_data: any, bcd_svg_data: any, bcd_browser_data: any, ciu_usage_data: any);
|
|
22
|
+
__destroy_into_raw(): any;
|
|
23
|
+
__wbg_ptr: any;
|
|
16
24
|
free(): void;
|
|
17
|
-
[Symbol.dispose](): void;
|
|
18
25
|
/**
|
|
19
26
|
* Used for checking the compatibility of a single element and its attributes.
|
|
27
|
+
* @param {string} html
|
|
28
|
+
* @returns {any}
|
|
20
29
|
*/
|
|
21
30
|
check_element(html: string): any;
|
|
22
31
|
/**
|
|
@@ -26,16 +35,17 @@ declare class CompatEngine {
|
|
|
26
35
|
* returning element tags.
|
|
27
36
|
*
|
|
28
37
|
* See [`preprocess::pre_process_html`] to learn more about how `depth_level` works.
|
|
38
|
+
* @param {string} html
|
|
39
|
+
* @param {number} depth_level
|
|
40
|
+
* @returns {any}
|
|
29
41
|
*/
|
|
30
42
|
check_elements(html: string, depth_level: number): any;
|
|
31
43
|
/**
|
|
32
44
|
* Used for performing a full page compatibility check.
|
|
45
|
+
* @param {string} html
|
|
46
|
+
* @returns {any}
|
|
33
47
|
*/
|
|
34
48
|
full_inspect(html: string): any;
|
|
35
|
-
/**
|
|
36
|
-
* Constructs an new engine instance
|
|
37
|
-
*/
|
|
38
|
-
constructor(bcd_html_data: any, bcd_svg_data: any, bcd_browser_data: any, ciu_usage_data: any);
|
|
39
49
|
}
|
|
40
50
|
//#endregion
|
|
41
51
|
export { CompatEngine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shinkom - pkg
|
|
3
|
-
* @version 1.
|
|
3
|
+
* @version 1.2.0
|
|
4
4
|
* @license MIT
|
|
5
5
|
* @copyright 2026 - OneilNvM
|
|
6
6
|
*/
|
|
@@ -72,7 +72,7 @@ var CompatEngine = class {
|
|
|
72
72
|
*/
|
|
73
73
|
constructor(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data) {
|
|
74
74
|
const ret = wasm.compatengine_new(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data);
|
|
75
|
-
this.__wbg_ptr = ret
|
|
75
|
+
this.__wbg_ptr = ret;
|
|
76
76
|
CompatEngineFinalization.register(this, this.__wbg_ptr, this);
|
|
77
77
|
return this;
|
|
78
78
|
}
|
|
@@ -83,7 +83,7 @@ function __wbg_get_imports() {
|
|
|
83
83
|
__proto__: null,
|
|
84
84
|
"./shinkore_bg.js": {
|
|
85
85
|
__proto__: null,
|
|
86
|
-
|
|
86
|
+
__wbg_Error_9dc85fe1bc224456: function(arg0, arg1) {
|
|
87
87
|
return Error(getStringFromWasm0(arg0, arg1));
|
|
88
88
|
},
|
|
89
89
|
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
@@ -92,55 +92,55 @@ function __wbg_get_imports() {
|
|
|
92
92
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
93
93
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
94
94
|
},
|
|
95
|
-
|
|
95
|
+
__wbg___wbindgen_bigint_get_as_i64_8ea6736501f396b6: function(arg0, arg1) {
|
|
96
96
|
const v = arg1;
|
|
97
97
|
const ret = typeof v === "bigint" ? v : void 0;
|
|
98
98
|
getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
99
99
|
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
100
100
|
},
|
|
101
|
-
|
|
101
|
+
__wbg___wbindgen_boolean_get_b131b2f36d6b2f55: function(arg0) {
|
|
102
102
|
const v = arg0;
|
|
103
103
|
const ret = typeof v === "boolean" ? v : void 0;
|
|
104
104
|
return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
|
|
105
105
|
},
|
|
106
|
-
|
|
106
|
+
__wbg___wbindgen_debug_string_56c147eb1a51f0c4: function(arg0, arg1) {
|
|
107
107
|
const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
108
108
|
const len1 = WASM_VECTOR_LEN;
|
|
109
109
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
110
110
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
111
111
|
},
|
|
112
|
-
|
|
112
|
+
__wbg___wbindgen_in_ce8569b2fc6f5088: function(arg0, arg1) {
|
|
113
113
|
return arg0 in arg1;
|
|
114
114
|
},
|
|
115
|
-
|
|
115
|
+
__wbg___wbindgen_is_bigint_df272c65456269c2: function(arg0) {
|
|
116
116
|
return typeof arg0 === "bigint";
|
|
117
117
|
},
|
|
118
|
-
|
|
118
|
+
__wbg___wbindgen_is_function_147961669f068cd4: function(arg0) {
|
|
119
119
|
return typeof arg0 === "function";
|
|
120
120
|
},
|
|
121
|
-
|
|
121
|
+
__wbg___wbindgen_is_object_3a2c414391dbf751: function(arg0) {
|
|
122
122
|
const val = arg0;
|
|
123
123
|
return typeof val === "object" && val !== null;
|
|
124
124
|
},
|
|
125
|
-
|
|
125
|
+
__wbg___wbindgen_is_string_6541b0f6ecd4e8e5: function(arg0) {
|
|
126
126
|
return typeof arg0 === "string";
|
|
127
127
|
},
|
|
128
|
-
|
|
128
|
+
__wbg___wbindgen_is_undefined_4410e3c20a99fa97: function(arg0) {
|
|
129
129
|
return arg0 === void 0;
|
|
130
130
|
},
|
|
131
|
-
|
|
131
|
+
__wbg___wbindgen_jsval_eq_174c93ec61bab0c5: function(arg0, arg1) {
|
|
132
132
|
return arg0 === arg1;
|
|
133
133
|
},
|
|
134
|
-
|
|
134
|
+
__wbg___wbindgen_jsval_loose_eq_e07e3b1f5db6da6c: function(arg0, arg1) {
|
|
135
135
|
return arg0 == arg1;
|
|
136
136
|
},
|
|
137
|
-
|
|
137
|
+
__wbg___wbindgen_number_get_588ed6b97f0d7e14: function(arg0, arg1) {
|
|
138
138
|
const obj = arg1;
|
|
139
139
|
const ret = typeof obj === "number" ? obj : void 0;
|
|
140
140
|
getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
|
|
141
141
|
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
142
142
|
},
|
|
143
|
-
|
|
143
|
+
__wbg___wbindgen_string_get_fa2687d531ed17a5: function(arg0, arg1) {
|
|
144
144
|
const obj = arg1;
|
|
145
145
|
const ret = typeof obj === "string" ? obj : void 0;
|
|
146
146
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -148,38 +148,38 @@ function __wbg_get_imports() {
|
|
|
148
148
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
149
149
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
150
150
|
},
|
|
151
|
-
|
|
151
|
+
__wbg___wbindgen_throw_bbadd78c1bac3a77: function(arg0, arg1) {
|
|
152
152
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
153
153
|
},
|
|
154
|
-
|
|
154
|
+
__wbg_call_91f00ddc43e01490: function() {
|
|
155
155
|
return handleError(function(arg0, arg1) {
|
|
156
156
|
return arg0.call(arg1);
|
|
157
157
|
}, arguments);
|
|
158
158
|
},
|
|
159
|
-
|
|
159
|
+
__wbg_done_6a8439e544ec6206: function(arg0) {
|
|
160
160
|
return arg0.done;
|
|
161
161
|
},
|
|
162
|
-
|
|
162
|
+
__wbg_entries_5a6a7e7e0df09fe5: function(arg0) {
|
|
163
163
|
return Object.entries(arg0);
|
|
164
164
|
},
|
|
165
|
-
|
|
165
|
+
__wbg_error_6651fee1c71e5da9: function(arg0) {
|
|
166
166
|
console.error(arg0);
|
|
167
167
|
},
|
|
168
|
-
|
|
168
|
+
__wbg_get_44e98e27bda25b5b: function() {
|
|
169
169
|
return handleError(function(arg0, arg1) {
|
|
170
170
|
return Reflect.get(arg0, arg1);
|
|
171
171
|
}, arguments);
|
|
172
172
|
},
|
|
173
|
-
|
|
173
|
+
__wbg_get_4b90d6d8c5deb5d5: function(arg0, arg1) {
|
|
174
174
|
return arg0[arg1 >>> 0];
|
|
175
175
|
},
|
|
176
|
-
|
|
176
|
+
__wbg_get_unchecked_46e778e3cec74b5e: function(arg0, arg1) {
|
|
177
177
|
return arg0[arg1 >>> 0];
|
|
178
178
|
},
|
|
179
179
|
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
180
180
|
return arg0[arg1];
|
|
181
181
|
},
|
|
182
|
-
|
|
182
|
+
__wbg_instanceof_ArrayBuffer_a581da923203f29f: function(arg0) {
|
|
183
183
|
let result;
|
|
184
184
|
try {
|
|
185
185
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -188,7 +188,7 @@ function __wbg_get_imports() {
|
|
|
188
188
|
}
|
|
189
189
|
return result;
|
|
190
190
|
},
|
|
191
|
-
|
|
191
|
+
__wbg_instanceof_Map_7f94c740225003e2: function(arg0) {
|
|
192
192
|
let result;
|
|
193
193
|
try {
|
|
194
194
|
result = arg0 instanceof Map;
|
|
@@ -197,7 +197,7 @@ function __wbg_get_imports() {
|
|
|
197
197
|
}
|
|
198
198
|
return result;
|
|
199
199
|
},
|
|
200
|
-
|
|
200
|
+
__wbg_instanceof_Uint8Array_b6fe1ac89eba107e: function(arg0) {
|
|
201
201
|
let result;
|
|
202
202
|
try {
|
|
203
203
|
result = arg0 instanceof Uint8Array;
|
|
@@ -206,57 +206,60 @@ function __wbg_get_imports() {
|
|
|
206
206
|
}
|
|
207
207
|
return result;
|
|
208
208
|
},
|
|
209
|
-
|
|
209
|
+
__wbg_isArray_139f48e3c057ede8: function(arg0) {
|
|
210
210
|
return Array.isArray(arg0);
|
|
211
211
|
},
|
|
212
|
-
|
|
212
|
+
__wbg_isSafeInteger_c22ccb4af2201fe9: function(arg0) {
|
|
213
213
|
return Number.isSafeInteger(arg0);
|
|
214
214
|
},
|
|
215
|
-
|
|
215
|
+
__wbg_iterator_9b36cebf3be7b7cd: function() {
|
|
216
216
|
return Symbol.iterator;
|
|
217
217
|
},
|
|
218
|
-
|
|
218
|
+
__wbg_length_68a9d5278d084f4f: function(arg0) {
|
|
219
219
|
return arg0.length;
|
|
220
220
|
},
|
|
221
|
-
|
|
221
|
+
__wbg_length_fb04d16d7bdf6d4c: function(arg0) {
|
|
222
222
|
return arg0.length;
|
|
223
223
|
},
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
},
|
|
227
|
-
__wbg_new_34d45cc8e36aaead: function() {
|
|
228
|
-
return /* @__PURE__ */ new Map();
|
|
224
|
+
__wbg_log_6614a4effdb4e983: function(arg0) {
|
|
225
|
+
console.log(arg0);
|
|
229
226
|
},
|
|
230
|
-
|
|
227
|
+
__wbg_new_0b303268aa395a38: function() {
|
|
231
228
|
return new Array();
|
|
232
229
|
},
|
|
233
|
-
|
|
230
|
+
__wbg_new_20b778a4c5c691c3: function() {
|
|
234
231
|
return /* @__PURE__ */ new Object();
|
|
235
232
|
},
|
|
236
|
-
|
|
233
|
+
__wbg_new_883c0db065f06efd: function() {
|
|
234
|
+
return /* @__PURE__ */ new Map();
|
|
235
|
+
},
|
|
236
|
+
__wbg_new_b06772b280cc6e52: function(arg0) {
|
|
237
|
+
return new Uint8Array(arg0);
|
|
238
|
+
},
|
|
239
|
+
__wbg_next_8cb028b6ba50743f: function() {
|
|
237
240
|
return handleError(function(arg0) {
|
|
238
241
|
return arg0.next();
|
|
239
242
|
}, arguments);
|
|
240
243
|
},
|
|
241
|
-
|
|
244
|
+
__wbg_next_cfd0b146c9538df8: function(arg0) {
|
|
242
245
|
return arg0.next;
|
|
243
246
|
},
|
|
244
|
-
|
|
247
|
+
__wbg_prototypesetcall_956c7493c68e29b4: function(arg0, arg1, arg2) {
|
|
245
248
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
246
249
|
},
|
|
247
|
-
|
|
248
|
-
arg0
|
|
250
|
+
__wbg_set_5f806304fb633ab3: function(arg0, arg1, arg2) {
|
|
251
|
+
return arg0.set(arg1, arg2);
|
|
249
252
|
},
|
|
250
253
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
251
254
|
arg0[arg1] = arg2;
|
|
252
255
|
},
|
|
253
|
-
|
|
254
|
-
|
|
256
|
+
__wbg_set_da33c120a6584674: function(arg0, arg1, arg2) {
|
|
257
|
+
arg0[arg1 >>> 0] = arg2;
|
|
255
258
|
},
|
|
256
|
-
|
|
259
|
+
__wbg_value_3d3defe09fb1ffca: function(arg0) {
|
|
257
260
|
return arg0.value;
|
|
258
261
|
},
|
|
259
|
-
|
|
262
|
+
__wbg_warn_633bacc13ba7e6c3: function(arg0) {
|
|
260
263
|
console.warn(arg0);
|
|
261
264
|
},
|
|
262
265
|
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
@@ -286,7 +289,7 @@ function __wbg_get_imports() {
|
|
|
286
289
|
const CompatEngineFinalization = typeof FinalizationRegistry === "undefined" ? {
|
|
287
290
|
register: () => {},
|
|
288
291
|
unregister: () => {}
|
|
289
|
-
} : new FinalizationRegistry((ptr) => wasm.__wbg_compatengine_free(ptr
|
|
292
|
+
} : new FinalizationRegistry((ptr) => wasm.__wbg_compatengine_free(ptr, 1));
|
|
290
293
|
function addToExternrefTable0(obj) {
|
|
291
294
|
const idx = wasm.__externref_table_alloc();
|
|
292
295
|
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
@@ -336,8 +339,7 @@ function getDataViewMemory0() {
|
|
|
336
339
|
return cachedDataViewMemory0;
|
|
337
340
|
}
|
|
338
341
|
function getStringFromWasm0(ptr, len) {
|
|
339
|
-
|
|
340
|
-
return decodeText(ptr, len);
|
|
342
|
+
return decodeText(ptr >>> 0, len);
|
|
341
343
|
}
|
|
342
344
|
let cachedUint8ArrayMemory0 = null;
|
|
343
345
|
function getUint8ArrayMemory0() {
|
|
Binary file
|
package/dist/bundles/shinkom.js
CHANGED
package/dist/bundles/ui/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
*/
|
|
5
|
-
const _macroVersion = "1.
|
|
5
|
+
const _macroVersion = "1.2.0";
|
|
6
6
|
const compatViewHTML = `
|
|
7
7
|
<button id="sk-toggle-compat-view" class="sk-toggle-compat-view sk-button-style">
|
|
8
8
|
<svg style="pointer-events: none;" version="1.0" xmlns="http://www.w3.org/2000/svg" width="57" height="26"
|
|
@@ -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
|