shinkom 1.1.1 → 1.1.2

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.
Files changed (57) hide show
  1. package/README.md +0 -18
  2. package/dist/bundles/_virtual/_rolldown/runtime.js +1 -1
  3. package/dist/bundles/core/constants.d.ts +1 -1
  4. package/dist/bundles/core/constants.js +1 -1
  5. package/dist/bundles/core/elements/compat-view-element.d.ts +1 -1
  6. package/dist/bundles/core/elements/compat-view-element.js +2 -2
  7. package/dist/bundles/core/elements/control-panel-element.d.ts +1 -1
  8. package/dist/bundles/core/elements/control-panel-element.js +1 -1
  9. package/dist/bundles/core/elements/index.d.ts +1 -1
  10. package/dist/bundles/core/elements/index.js +1 -1
  11. package/dist/bundles/core/elements/inspector-element.d.ts +1 -1
  12. package/dist/bundles/core/elements/inspector-element.js +1 -1
  13. package/dist/bundles/core/elements/recent-result-item.js +1 -1
  14. package/dist/bundles/core/elements/results-history-item.js +1 -1
  15. package/dist/bundles/core/elements/templates/compat-view.templates.js +2 -2
  16. package/dist/bundles/core/elements/templates/control-panel.templates.js +1 -1
  17. package/dist/bundles/core/elements/templates/root-styles.template.js +1 -1
  18. package/dist/bundles/core/event-bus.d.ts +1 -1
  19. package/dist/bundles/core/event-bus.js +1 -1
  20. package/dist/bundles/core/helpers.js +1 -1
  21. package/dist/bundles/core/index.d.ts +1 -1
  22. package/dist/bundles/core/index.js +1 -1
  23. package/dist/bundles/core/state-service.d.ts +1 -1
  24. package/dist/bundles/core/state-service.js +12 -1
  25. package/dist/bundles/core/ui-component.d.ts +1 -1
  26. package/dist/bundles/core/ui-component.js +1 -1
  27. package/dist/bundles/engine/engine.d.ts +1 -1
  28. package/dist/bundles/engine/engine.js +1 -1
  29. package/dist/bundles/engine/index.js +1 -1
  30. package/dist/bundles/gen/index.js +1 -1
  31. package/dist/bundles/index.d.ts +1 -1
  32. package/dist/bundles/index.js +1 -1
  33. package/dist/bundles/pkg/shinkore.d.ts +8 -18
  34. package/dist/bundles/pkg/shinkore.js +202 -202
  35. package/dist/bundles/pkg/shinkore_bg.wasm +0 -0
  36. package/dist/bundles/shinkom.d.ts +1 -1
  37. package/dist/bundles/shinkom.js +1 -1
  38. package/dist/bundles/ui/compat-ui/compat-ui.d.ts +1 -1
  39. package/dist/bundles/ui/compat-ui/compat-ui.js +1 -1
  40. package/dist/bundles/ui/compat-ui/index.js +1 -1
  41. package/dist/bundles/ui/compatibility-view/compatibility-view.d.ts +1 -1
  42. package/dist/bundles/ui/compatibility-view/compatibility-view.js +1 -1
  43. package/dist/bundles/ui/compatibility-view/index.js +1 -1
  44. package/dist/bundles/ui/control-panel/control-panel.d.ts +1 -1
  45. package/dist/bundles/ui/control-panel/control-panel.js +1 -1
  46. package/dist/bundles/ui/control-panel/index.js +1 -1
  47. package/dist/bundles/ui/index.d.ts +1 -1
  48. package/dist/bundles/ui/index.js +1 -1
  49. package/dist/bundles/ui/inspector/index.js +1 -1
  50. package/dist/bundles/ui/inspector/inspector.d.ts +1 -1
  51. package/dist/bundles/ui/inspector/inspector.js +1 -1
  52. package/dist/modules/core/elements/compat-view-element.cjs +1 -1
  53. package/dist/modules/core/elements/templates/compat-view.templates.cjs +1 -1
  54. package/dist/modules/core/state-service.cjs +11 -0
  55. package/dist/modules/pkg/shinkore.cjs +201 -201
  56. package/dist/modules/pkg/shinkore_bg.wasm +0 -0
  57. package/package.json +100 -100
@@ -64,217 +64,217 @@ var CompatEngine = class {
64
64
  * @param {any} ciu_usage_data
65
65
  */
66
66
  constructor(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data) {
67
- this.__wbg_ptr = wasm.compatengine_new(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data) >>> 0;
67
+ const ret = wasm.compatengine_new(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data);
68
+ this.__wbg_ptr = ret >>> 0;
68
69
  CompatEngineFinalization.register(this, this.__wbg_ptr, this);
69
70
  return this;
70
71
  }
71
72
  };
72
73
  if (Symbol.dispose) CompatEngine.prototype[Symbol.dispose] = CompatEngine.prototype.free;
73
74
  function __wbg_get_imports() {
74
- const import0 = {
75
+ return {
75
76
  __proto__: null,
76
- __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
77
- return Error(getStringFromWasm0(arg0, arg1));
78
- },
79
- __wbg_String_8564e559799eccda: function(arg0, arg1) {
80
- const ptr1 = passStringToWasm0(String(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
81
- const len1 = WASM_VECTOR_LEN;
82
- getDataViewMemory0().setInt32(arg0 + 4, len1, true);
83
- getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
84
- },
85
- __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
86
- const v = arg1;
87
- const ret = typeof v === "bigint" ? v : void 0;
88
- getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
89
- getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
90
- },
91
- __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
92
- const v = arg0;
93
- const ret = typeof v === "boolean" ? v : void 0;
94
- return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
95
- },
96
- __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
97
- const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
98
- const len1 = WASM_VECTOR_LEN;
99
- getDataViewMemory0().setInt32(arg0 + 4, len1, true);
100
- getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
101
- },
102
- __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
103
- return arg0 in arg1;
104
- },
105
- __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
106
- return typeof arg0 === "bigint";
107
- },
108
- __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
109
- return typeof arg0 === "function";
110
- },
111
- __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
112
- const val = arg0;
113
- return typeof val === "object" && val !== null;
114
- },
115
- __wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
116
- return typeof arg0 === "string";
117
- },
118
- __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
119
- return arg0 === void 0;
120
- },
121
- __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
122
- return arg0 === arg1;
123
- },
124
- __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
125
- return arg0 == arg1;
126
- },
127
- __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
128
- const obj = arg1;
129
- const ret = typeof obj === "number" ? obj : void 0;
130
- getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
131
- getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
132
- },
133
- __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
134
- const obj = arg1;
135
- const ret = typeof obj === "string" ? obj : void 0;
136
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
137
- var len1 = WASM_VECTOR_LEN;
138
- getDataViewMemory0().setInt32(arg0 + 4, len1, true);
139
- getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
140
- },
141
- __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
142
- throw new Error(getStringFromWasm0(arg0, arg1));
143
- },
144
- __wbg_call_14b169f759b26747: function() {
145
- return handleError(function(arg0, arg1) {
146
- return arg0.call(arg1);
147
- }, arguments);
148
- },
149
- __wbg_done_9158f7cc8751ba32: function(arg0) {
150
- return arg0.done;
151
- },
152
- __wbg_entries_e0b73aa8571ddb56: function(arg0) {
153
- return Object.entries(arg0);
154
- },
155
- __wbg_error_2001591ad2463697: function(arg0) {
156
- console.error(arg0);
157
- },
158
- __wbg_get_1affdbdd5573b16a: function() {
159
- return handleError(function(arg0, arg1) {
160
- return Reflect.get(arg0, arg1);
161
- }, arguments);
162
- },
163
- __wbg_get_8360291721e2339f: function(arg0, arg1) {
164
- return arg0[arg1 >>> 0];
165
- },
166
- __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
167
- return arg0[arg1 >>> 0];
168
- },
169
- __wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
170
- return arg0[arg1];
171
- },
172
- __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
173
- let result;
174
- try {
175
- result = arg0 instanceof ArrayBuffer;
176
- } catch (_) {
177
- result = false;
178
- }
179
- return result;
180
- },
181
- __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
182
- let result;
183
- try {
184
- result = arg0 instanceof Map;
185
- } catch (_) {
186
- result = false;
187
- }
188
- return result;
189
- },
190
- __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
191
- let result;
192
- try {
193
- result = arg0 instanceof Uint8Array;
194
- } catch (_) {
195
- result = false;
77
+ "./shinkore_bg.js": {
78
+ __proto__: null,
79
+ __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
80
+ return Error(getStringFromWasm0(arg0, arg1));
81
+ },
82
+ __wbg_String_8564e559799eccda: function(arg0, arg1) {
83
+ const ptr1 = passStringToWasm0(String(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
84
+ const len1 = WASM_VECTOR_LEN;
85
+ getDataViewMemory0().setInt32(arg0 + 4, len1, true);
86
+ getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
87
+ },
88
+ __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
89
+ const v = arg1;
90
+ const ret = typeof v === "bigint" ? v : void 0;
91
+ getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
92
+ getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
93
+ },
94
+ __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
95
+ const v = arg0;
96
+ const ret = typeof v === "boolean" ? v : void 0;
97
+ return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
98
+ },
99
+ __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
100
+ const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
101
+ const len1 = WASM_VECTOR_LEN;
102
+ getDataViewMemory0().setInt32(arg0 + 4, len1, true);
103
+ getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
104
+ },
105
+ __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
106
+ return arg0 in arg1;
107
+ },
108
+ __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
109
+ return typeof arg0 === "bigint";
110
+ },
111
+ __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
112
+ return typeof arg0 === "function";
113
+ },
114
+ __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
115
+ const val = arg0;
116
+ return typeof val === "object" && val !== null;
117
+ },
118
+ __wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
119
+ return typeof arg0 === "string";
120
+ },
121
+ __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
122
+ return arg0 === void 0;
123
+ },
124
+ __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
125
+ return arg0 === arg1;
126
+ },
127
+ __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
128
+ return arg0 == arg1;
129
+ },
130
+ __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
131
+ const obj = arg1;
132
+ const ret = typeof obj === "number" ? obj : void 0;
133
+ getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
134
+ getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
135
+ },
136
+ __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
137
+ const obj = arg1;
138
+ const ret = typeof obj === "string" ? obj : void 0;
139
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
140
+ var len1 = WASM_VECTOR_LEN;
141
+ getDataViewMemory0().setInt32(arg0 + 4, len1, true);
142
+ getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
143
+ },
144
+ __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
145
+ throw new Error(getStringFromWasm0(arg0, arg1));
146
+ },
147
+ __wbg_call_14b169f759b26747: function() {
148
+ return handleError(function(arg0, arg1) {
149
+ return arg0.call(arg1);
150
+ }, arguments);
151
+ },
152
+ __wbg_done_9158f7cc8751ba32: function(arg0) {
153
+ return arg0.done;
154
+ },
155
+ __wbg_entries_e0b73aa8571ddb56: function(arg0) {
156
+ return Object.entries(arg0);
157
+ },
158
+ __wbg_error_2001591ad2463697: function(arg0) {
159
+ console.error(arg0);
160
+ },
161
+ __wbg_get_1affdbdd5573b16a: function() {
162
+ return handleError(function(arg0, arg1) {
163
+ return Reflect.get(arg0, arg1);
164
+ }, arguments);
165
+ },
166
+ __wbg_get_8360291721e2339f: function(arg0, arg1) {
167
+ return arg0[arg1 >>> 0];
168
+ },
169
+ __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
170
+ return arg0[arg1 >>> 0];
171
+ },
172
+ __wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
173
+ return arg0[arg1];
174
+ },
175
+ __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
176
+ let result;
177
+ try {
178
+ result = arg0 instanceof ArrayBuffer;
179
+ } catch (_) {
180
+ result = false;
181
+ }
182
+ return result;
183
+ },
184
+ __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
185
+ let result;
186
+ try {
187
+ result = arg0 instanceof Map;
188
+ } catch (_) {
189
+ result = false;
190
+ }
191
+ return result;
192
+ },
193
+ __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
194
+ let result;
195
+ try {
196
+ result = arg0 instanceof Uint8Array;
197
+ } catch (_) {
198
+ result = false;
199
+ }
200
+ return result;
201
+ },
202
+ __wbg_isArray_c3109d14ffc06469: function(arg0) {
203
+ return Array.isArray(arg0);
204
+ },
205
+ __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
206
+ return Number.isSafeInteger(arg0);
207
+ },
208
+ __wbg_iterator_013bc09ec998c2a7: function() {
209
+ return Symbol.iterator;
210
+ },
211
+ __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
212
+ return arg0.length;
213
+ },
214
+ __wbg_length_9f1775224cf1d815: function(arg0) {
215
+ return arg0.length;
216
+ },
217
+ __wbg_new_0c7403db6e782f19: function(arg0) {
218
+ return new Uint8Array(arg0);
219
+ },
220
+ __wbg_new_34d45cc8e36aaead: function() {
221
+ return /* @__PURE__ */ new Map();
222
+ },
223
+ __wbg_new_682678e2f47e32bc: function() {
224
+ return new Array();
225
+ },
226
+ __wbg_new_aa8d0fa9762c29bd: function() {
227
+ return /* @__PURE__ */ new Object();
228
+ },
229
+ __wbg_next_0340c4ae324393c3: function() {
230
+ return handleError(function(arg0) {
231
+ return arg0.next();
232
+ }, arguments);
233
+ },
234
+ __wbg_next_7646edaa39458ef7: function(arg0) {
235
+ return arg0.next;
236
+ },
237
+ __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
238
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
239
+ },
240
+ __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
241
+ arg0[arg1 >>> 0] = arg2;
242
+ },
243
+ __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
244
+ arg0[arg1] = arg2;
245
+ },
246
+ __wbg_set_fde2cec06c23692b: function(arg0, arg1, arg2) {
247
+ return arg0.set(arg1, arg2);
248
+ },
249
+ __wbg_value_ee3a06f4579184fa: function(arg0) {
250
+ return arg0.value;
251
+ },
252
+ __wbg_warn_3cc416af27dbdc02: function(arg0) {
253
+ console.warn(arg0);
254
+ },
255
+ __wbindgen_cast_0000000000000001: function(arg0) {
256
+ return arg0;
257
+ },
258
+ __wbindgen_cast_0000000000000002: function(arg0) {
259
+ return arg0;
260
+ },
261
+ __wbindgen_cast_0000000000000003: function(arg0, arg1) {
262
+ return getStringFromWasm0(arg0, arg1);
263
+ },
264
+ __wbindgen_cast_0000000000000004: function(arg0) {
265
+ return BigInt.asUintN(64, arg0);
266
+ },
267
+ __wbindgen_init_externref_table: function() {
268
+ const table = wasm.__wbindgen_externrefs;
269
+ const offset = table.grow(4);
270
+ table.set(0, void 0);
271
+ table.set(offset + 0, void 0);
272
+ table.set(offset + 1, null);
273
+ table.set(offset + 2, true);
274
+ table.set(offset + 3, false);
196
275
  }
197
- return result;
198
- },
199
- __wbg_isArray_c3109d14ffc06469: function(arg0) {
200
- return Array.isArray(arg0);
201
- },
202
- __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
203
- return Number.isSafeInteger(arg0);
204
- },
205
- __wbg_iterator_013bc09ec998c2a7: function() {
206
- return Symbol.iterator;
207
- },
208
- __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
209
- return arg0.length;
210
- },
211
- __wbg_length_9f1775224cf1d815: function(arg0) {
212
- return arg0.length;
213
- },
214
- __wbg_new_0c7403db6e782f19: function(arg0) {
215
- return new Uint8Array(arg0);
216
- },
217
- __wbg_new_34d45cc8e36aaead: function() {
218
- return /* @__PURE__ */ new Map();
219
- },
220
- __wbg_new_682678e2f47e32bc: function() {
221
- return new Array();
222
- },
223
- __wbg_new_aa8d0fa9762c29bd: function() {
224
- return /* @__PURE__ */ new Object();
225
- },
226
- __wbg_next_0340c4ae324393c3: function() {
227
- return handleError(function(arg0) {
228
- return arg0.next();
229
- }, arguments);
230
- },
231
- __wbg_next_7646edaa39458ef7: function(arg0) {
232
- return arg0.next;
233
- },
234
- __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
235
- Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
236
- },
237
- __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
238
- arg0[arg1 >>> 0] = arg2;
239
- },
240
- __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
241
- arg0[arg1] = arg2;
242
- },
243
- __wbg_set_fde2cec06c23692b: function(arg0, arg1, arg2) {
244
- return arg0.set(arg1, arg2);
245
- },
246
- __wbg_value_ee3a06f4579184fa: function(arg0) {
247
- return arg0.value;
248
- },
249
- __wbg_warn_3cc416af27dbdc02: function(arg0) {
250
- console.warn(arg0);
251
- },
252
- __wbindgen_cast_0000000000000001: function(arg0) {
253
- return arg0;
254
- },
255
- __wbindgen_cast_0000000000000002: function(arg0) {
256
- return arg0;
257
- },
258
- __wbindgen_cast_0000000000000003: function(arg0, arg1) {
259
- return getStringFromWasm0(arg0, arg1);
260
- },
261
- __wbindgen_cast_0000000000000004: function(arg0) {
262
- return BigInt.asUintN(64, arg0);
263
- },
264
- __wbindgen_init_externref_table: function() {
265
- const table = wasm.__wbindgen_externrefs;
266
- const offset = table.grow(4);
267
- table.set(0, void 0);
268
- table.set(offset + 0, void 0);
269
- table.set(offset + 1, null);
270
- table.set(offset + 2, true);
271
- table.set(offset + 3, false);
272
276
  }
273
277
  };
274
- return {
275
- __proto__: null,
276
- "./shinkore_bg.js": import0
277
- };
278
278
  }
279
279
  const CompatEngineFinalization = typeof FinalizationRegistry === "undefined" ? {
280
280
  register: () => {},
Binary file
package/package.json CHANGED
@@ -1,100 +1,100 @@
1
- {
2
- "name": "shinkom",
3
- "version": "1.1.1",
4
- "description": "A cross-browser compatibility library for developers",
5
- "license": "MIT",
6
- "author": "OneilNvM <oneil324@outlook.com>",
7
- "type": "module",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/OneilNvM/shinkom.git"
11
- },
12
- "files": [
13
- "dist"
14
- ],
15
- "main": "./dist/modules/index.cjs",
16
- "module": "./dist/bundles/index.js",
17
- "types": "./dist/bundles/index.d.ts",
18
- "keywords": [
19
- "html",
20
- "css",
21
- "javascript",
22
- "typescript",
23
- "rust",
24
- "wasm",
25
- "cross-browser",
26
- "compatibility",
27
- "compat"
28
- ],
29
- "engines": {
30
- "node": ">=20.0.0"
31
- },
32
- "exports": {
33
- ".": {
34
- "types": "./dist/bundles/index.d.ts",
35
- "import": "./dist/bundles/index.js",
36
- "require": "./dist/modules/index.cjs"
37
- },
38
- "./shinkom": {
39
- "types": "./dist/bundles/shinkom.d.ts",
40
- "import": "./dist/bundles/shinkom.js",
41
- "require": "./dist/modules/shinkom.cjs"
42
- },
43
- "./engine": {
44
- "types": "./dist/bundles/engine/engine.d.ts",
45
- "import": "./dist/bundles/engine/engine.js",
46
- "require": "./dist/modules/engine/engine.cjs"
47
- },
48
- "./ui": {
49
- "types": "./dist/bundles/ui/index.d.ts",
50
- "import": "./dist/bundles/ui/index.js",
51
- "require": "./dist/modules/ui/index.cjs"
52
- },
53
- "./ui/inspector": {
54
- "types": "./dist/bundles/ui/inspector/inspector.d.ts",
55
- "import": "./dist/bundles/ui/inspector/inspector.js",
56
- "require": "./dist/modules/ui/inspector/inspector.cjs"
57
- },
58
- "./ui/control-panel": {
59
- "types": "./dist/bundles/ui/control-panel/control-panel.d.ts",
60
- "import": "./dist/bundles/ui/control-panel/control-panel.js",
61
- "require": "./dist/modules/ui/control-panel/control-panel.cjs"
62
- },
63
- "./ui/compatibility-view": {
64
- "types": "./dist/bundles/ui/compatibility-view/compatibility-view.d.ts",
65
- "import": "./dist/bundles/ui/compatibility-view/compatibility-view.js",
66
- "require": "./dist/modules/ui/compatibility-view/compatibility-view.cjs"
67
- },
68
- "./ui/compat-ui": {
69
- "types": "./dist/bundles/ui/compat-ui/compat-ui.d.ts",
70
- "import": "./dist/bundles/ui/compat-ui/compat-ui.js",
71
- "require": "./dist/modules/ui/compat-ui/compat-ui.cjs"
72
- },
73
- "./@types": "./dist/bundles/types/public.d.ts",
74
- "./wasm": "./dist/bundles/pkg/shinkore_bg.wasm"
75
- },
76
- "scripts": {
77
- "dev:nobuild": "vite",
78
- "dev": "npm run build:wasm && vite",
79
- "build": "npm run build:wasm && npm run build:js",
80
- "build:js": "tsdown --config-loader unrun && cp src/types/public.d.ts dist/bundles/types/public.d.ts && cp src/types/types.d.ts dist/bundles/types/types.d.ts",
81
- "build:wasm": "wasm-pack build shinkore --target web --out-dir ../pkg --release",
82
- "test": "vitest",
83
- "type:check": "tsc --project tsconfig.json",
84
- "gen:data": "tsx ./scripts/extract-compat.ts && tsx ./scripts/extract-browser-data.ts && tsx ./scripts/extract-usage-data.ts"
85
- },
86
- "devDependencies": {
87
- "@mdn/browser-compat-data": "7.3.16",
88
- "@types/node": "^25.6.0",
89
- "caniuse-db": "^1.0.30001793",
90
- "construct-style-sheets-polyfill": "^3.1.0",
91
- "jsdom": "^28.1.0",
92
- "node": "^25.9.0",
93
- "tsdown": "^0.21.2",
94
- "tsx": "^4.21.0",
95
- "typescript": "^5.9.3",
96
- "vite": "^7.3.1",
97
- "vitest": "^4.0.18",
98
- "vitest-localstorage-mock": "^0.1.2"
99
- }
100
- }
1
+ {
2
+ "name": "shinkom",
3
+ "version": "1.1.2",
4
+ "description": "A cross-browser compatibility library for developers",
5
+ "license": "MIT",
6
+ "author": "OneilNvM <oneil324@outlook.com>",
7
+ "type": "module",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/OneilNvM/shinkom.git"
11
+ },
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "main": "./dist/modules/index.cjs",
16
+ "module": "./dist/bundles/index.js",
17
+ "types": "./dist/bundles/index.d.ts",
18
+ "keywords": [
19
+ "html",
20
+ "css",
21
+ "javascript",
22
+ "typescript",
23
+ "rust",
24
+ "wasm",
25
+ "cross-browser",
26
+ "compatibility",
27
+ "compat"
28
+ ],
29
+ "engines": {
30
+ "node": ">=20.0.0"
31
+ },
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/bundles/index.d.ts",
35
+ "import": "./dist/bundles/index.js",
36
+ "require": "./dist/modules/index.cjs"
37
+ },
38
+ "./shinkom": {
39
+ "types": "./dist/bundles/shinkom.d.ts",
40
+ "import": "./dist/bundles/shinkom.js",
41
+ "require": "./dist/modules/shinkom.cjs"
42
+ },
43
+ "./engine": {
44
+ "types": "./dist/bundles/engine/engine.d.ts",
45
+ "import": "./dist/bundles/engine/engine.js",
46
+ "require": "./dist/modules/engine/engine.cjs"
47
+ },
48
+ "./ui": {
49
+ "types": "./dist/bundles/ui/index.d.ts",
50
+ "import": "./dist/bundles/ui/index.js",
51
+ "require": "./dist/modules/ui/index.cjs"
52
+ },
53
+ "./ui/inspector": {
54
+ "types": "./dist/bundles/ui/inspector/inspector.d.ts",
55
+ "import": "./dist/bundles/ui/inspector/inspector.js",
56
+ "require": "./dist/modules/ui/inspector/inspector.cjs"
57
+ },
58
+ "./ui/control-panel": {
59
+ "types": "./dist/bundles/ui/control-panel/control-panel.d.ts",
60
+ "import": "./dist/bundles/ui/control-panel/control-panel.js",
61
+ "require": "./dist/modules/ui/control-panel/control-panel.cjs"
62
+ },
63
+ "./ui/compatibility-view": {
64
+ "types": "./dist/bundles/ui/compatibility-view/compatibility-view.d.ts",
65
+ "import": "./dist/bundles/ui/compatibility-view/compatibility-view.js",
66
+ "require": "./dist/modules/ui/compatibility-view/compatibility-view.cjs"
67
+ },
68
+ "./ui/compat-ui": {
69
+ "types": "./dist/bundles/ui/compat-ui/compat-ui.d.ts",
70
+ "import": "./dist/bundles/ui/compat-ui/compat-ui.js",
71
+ "require": "./dist/modules/ui/compat-ui/compat-ui.cjs"
72
+ },
73
+ "./@types": "./dist/bundles/types/public.d.ts",
74
+ "./wasm": "./dist/bundles/pkg/shinkore_bg.wasm"
75
+ },
76
+ "devDependencies": {
77
+ "@mdn/browser-compat-data": "8.0.2",
78
+ "@types/node": "^25.6.0",
79
+ "caniuse-db": "^1.0.30001793",
80
+ "construct-style-sheets-polyfill": "^3.1.0",
81
+ "jsdom": "^28.1.0",
82
+ "node": "^25.9.0",
83
+ "tsdown": "^0.21.2",
84
+ "tsx": "^4.21.0",
85
+ "typescript": "^5.9.3",
86
+ "vite": "^8.0.16",
87
+ "vitest": "^4.0.18",
88
+ "vitest-localstorage-mock": "^0.1.2"
89
+ },
90
+ "scripts": {
91
+ "dev:nobuild": "vite",
92
+ "dev": "pnpm run build:wasm && vite",
93
+ "build": "pnpm run build:wasm && pnpm run build:js",
94
+ "build:js": "tsdown --config-loader unrun && cp src/types/public.d.ts dist/bundles/types/public.d.ts && cp src/types/types.d.ts dist/bundles/types/types.d.ts",
95
+ "build:wasm": "wasm-pack build ../../crates/shinkore --target web --out-dir ../../packages/shinkom/pkg --release",
96
+ "test": "vitest",
97
+ "type:check": "tsc --project tsconfig.json",
98
+ "gen:data": "tsx ./scripts/extract-compat.ts && tsx ./scripts/extract-browser-data.ts && tsx ./scripts/extract-usage-data.ts"
99
+ }
100
+ }