@takumi-rs/wasm 1.1.1 → 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/dist/export.cjs +48 -49
- package/dist/export.mjs +48 -49
- package/package.json +4 -3
- package/pkg/takumi_wasm_bg.wasm +0 -0
package/dist/export.cjs
CHANGED
|
@@ -65,7 +65,7 @@ var Renderer$1 = class {
|
|
|
65
65
|
constructor(options) {
|
|
66
66
|
const ret = wasm.renderer_new(isLikeNone(options) ? 0 : addToExternrefTable0(options));
|
|
67
67
|
if (ret[2]) throw takeFromExternrefTable0(ret[1]);
|
|
68
|
-
this.__wbg_ptr = ret[0]
|
|
68
|
+
this.__wbg_ptr = ret[0];
|
|
69
69
|
RendererFinalization.register(this, this.__wbg_ptr, this);
|
|
70
70
|
return this;
|
|
71
71
|
}
|
|
@@ -136,10 +136,10 @@ function __wbg_get_imports() {
|
|
|
136
136
|
__proto__: null,
|
|
137
137
|
"./takumi_wasm_bg.js": {
|
|
138
138
|
__proto__: null,
|
|
139
|
-
|
|
139
|
+
__wbg_Error_bce6d499ff0a4aff: function(arg0, arg1) {
|
|
140
140
|
return Error(getStringFromWasm0(arg0, arg1));
|
|
141
141
|
},
|
|
142
|
-
|
|
142
|
+
__wbg_Number_b7972a139bfbfdf0: function(arg0) {
|
|
143
143
|
return Number(arg0);
|
|
144
144
|
},
|
|
145
145
|
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
@@ -148,55 +148,55 @@ 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_bigint_get_as_i64_410e28c7b761ad83: function(arg0, arg1) {
|
|
152
152
|
const v = arg1;
|
|
153
153
|
const ret = typeof v === "bigint" ? v : void 0;
|
|
154
154
|
getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
155
155
|
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
156
156
|
},
|
|
157
|
-
|
|
157
|
+
__wbg___wbindgen_boolean_get_2304fb8c853028c8: function(arg0) {
|
|
158
158
|
const v = arg0;
|
|
159
159
|
const ret = typeof v === "boolean" ? v : void 0;
|
|
160
160
|
return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
|
|
161
161
|
},
|
|
162
|
-
|
|
162
|
+
__wbg___wbindgen_debug_string_edece8177ad01481: function(arg0, arg1) {
|
|
163
163
|
const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
164
164
|
const len1 = WASM_VECTOR_LEN;
|
|
165
165
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
166
166
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
167
167
|
},
|
|
168
|
-
|
|
168
|
+
__wbg___wbindgen_in_07056af4f902c445: function(arg0, arg1) {
|
|
169
169
|
return arg0 in arg1;
|
|
170
170
|
},
|
|
171
|
-
|
|
171
|
+
__wbg___wbindgen_is_bigint_aeae3893f30ed54e: function(arg0) {
|
|
172
172
|
return typeof arg0 === "bigint";
|
|
173
173
|
},
|
|
174
|
-
|
|
174
|
+
__wbg___wbindgen_is_function_5cd60d5cf78b4eef: function(arg0) {
|
|
175
175
|
return typeof arg0 === "function";
|
|
176
176
|
},
|
|
177
|
-
|
|
177
|
+
__wbg___wbindgen_is_object_b4593df85baada48: function(arg0) {
|
|
178
178
|
const val = arg0;
|
|
179
179
|
return typeof val === "object" && val !== null;
|
|
180
180
|
},
|
|
181
|
-
|
|
181
|
+
__wbg___wbindgen_is_string_dde0fd9020db4434: function(arg0) {
|
|
182
182
|
return typeof arg0 === "string";
|
|
183
183
|
},
|
|
184
|
-
|
|
184
|
+
__wbg___wbindgen_is_undefined_35bb9f4c7fd651d5: function(arg0) {
|
|
185
185
|
return arg0 === void 0;
|
|
186
186
|
},
|
|
187
|
-
|
|
187
|
+
__wbg___wbindgen_jsval_eq_c0ed08b3e0f393b9: function(arg0, arg1) {
|
|
188
188
|
return arg0 === arg1;
|
|
189
189
|
},
|
|
190
|
-
|
|
190
|
+
__wbg___wbindgen_jsval_loose_eq_0ad77b7717db155c: function(arg0, arg1) {
|
|
191
191
|
return arg0 == arg1;
|
|
192
192
|
},
|
|
193
|
-
|
|
193
|
+
__wbg___wbindgen_number_get_f73a1244370fcc2c: function(arg0, arg1) {
|
|
194
194
|
const obj = arg1;
|
|
195
195
|
const ret = typeof obj === "number" ? obj : void 0;
|
|
196
196
|
getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
|
|
197
197
|
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
198
198
|
},
|
|
199
|
-
|
|
199
|
+
__wbg___wbindgen_string_get_d109740c0d18f4d7: function(arg0, arg1) {
|
|
200
200
|
const obj = arg1;
|
|
201
201
|
const ret = typeof obj === "string" ? obj : void 0;
|
|
202
202
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -204,35 +204,35 @@ function __wbg_get_imports() {
|
|
|
204
204
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
205
205
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
206
206
|
},
|
|
207
|
-
|
|
207
|
+
__wbg___wbindgen_throw_9c31b086c2b26051: function(arg0, arg1) {
|
|
208
208
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
209
209
|
},
|
|
210
|
-
|
|
210
|
+
__wbg_call_13665d9f14390edc: function() {
|
|
211
211
|
return handleError(function(arg0, arg1) {
|
|
212
212
|
return arg0.call(arg1);
|
|
213
213
|
}, arguments);
|
|
214
214
|
},
|
|
215
|
-
|
|
215
|
+
__wbg_done_54b8da57023b7ed2: function(arg0) {
|
|
216
216
|
return arg0.done;
|
|
217
217
|
},
|
|
218
|
-
|
|
218
|
+
__wbg_entries_564a7e8b1e54ede5: function(arg0) {
|
|
219
219
|
return Object.entries(arg0);
|
|
220
220
|
},
|
|
221
|
-
|
|
221
|
+
__wbg_get_3e9a707ab7d352eb: function() {
|
|
222
222
|
return handleError(function(arg0, arg1) {
|
|
223
223
|
return Reflect.get(arg0, arg1);
|
|
224
224
|
}, arguments);
|
|
225
225
|
},
|
|
226
|
-
|
|
226
|
+
__wbg_get_98fdf51d029a75eb: function(arg0, arg1) {
|
|
227
227
|
return arg0[arg1 >>> 0];
|
|
228
228
|
},
|
|
229
|
-
|
|
229
|
+
__wbg_get_unchecked_1dfe6d05ad91d9b7: function(arg0, arg1) {
|
|
230
230
|
return arg0[arg1 >>> 0];
|
|
231
231
|
},
|
|
232
232
|
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
233
233
|
return arg0[arg1];
|
|
234
234
|
},
|
|
235
|
-
|
|
235
|
+
__wbg_instanceof_ArrayBuffer_53db37b06f6b9afe: function(arg0) {
|
|
236
236
|
let result;
|
|
237
237
|
try {
|
|
238
238
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -241,7 +241,7 @@ function __wbg_get_imports() {
|
|
|
241
241
|
}
|
|
242
242
|
return result;
|
|
243
243
|
},
|
|
244
|
-
|
|
244
|
+
__wbg_instanceof_Map_16f217b9a2a08d8c: function(arg0) {
|
|
245
245
|
let result;
|
|
246
246
|
try {
|
|
247
247
|
result = arg0 instanceof Map;
|
|
@@ -250,7 +250,7 @@ function __wbg_get_imports() {
|
|
|
250
250
|
}
|
|
251
251
|
return result;
|
|
252
252
|
},
|
|
253
|
-
|
|
253
|
+
__wbg_instanceof_Uint8Array_abd07d4bd221d50b: function(arg0) {
|
|
254
254
|
let result;
|
|
255
255
|
try {
|
|
256
256
|
result = arg0 instanceof Uint8Array;
|
|
@@ -259,51 +259,51 @@ function __wbg_get_imports() {
|
|
|
259
259
|
}
|
|
260
260
|
return result;
|
|
261
261
|
},
|
|
262
|
-
|
|
262
|
+
__wbg_isArray_94898ed3aad6947b: function(arg0) {
|
|
263
263
|
return Array.isArray(arg0);
|
|
264
264
|
},
|
|
265
|
-
|
|
265
|
+
__wbg_isSafeInteger_01e964d144ad3a55: function(arg0) {
|
|
266
266
|
return Number.isSafeInteger(arg0);
|
|
267
267
|
},
|
|
268
|
-
|
|
268
|
+
__wbg_iterator_1441b47f341dc34f: function() {
|
|
269
269
|
return Symbol.iterator;
|
|
270
270
|
},
|
|
271
|
-
|
|
271
|
+
__wbg_length_2591a0f4f659a55c: function(arg0) {
|
|
272
272
|
return arg0.length;
|
|
273
273
|
},
|
|
274
|
-
|
|
274
|
+
__wbg_length_56fcd3e2b7e0299d: function(arg0) {
|
|
275
275
|
return arg0.length;
|
|
276
276
|
},
|
|
277
|
-
|
|
278
|
-
return new
|
|
277
|
+
__wbg_new_02d162bc6cf02f60: function() {
|
|
278
|
+
return /* @__PURE__ */ new Object();
|
|
279
279
|
},
|
|
280
|
-
|
|
280
|
+
__wbg_new_1f236d63ba0c4784: function(arg0, arg1) {
|
|
281
281
|
return new Error(getStringFromWasm0(arg0, arg1));
|
|
282
282
|
},
|
|
283
|
-
|
|
283
|
+
__wbg_new_310879b66b6e95e1: function() {
|
|
284
284
|
return new Array();
|
|
285
285
|
},
|
|
286
|
-
|
|
287
|
-
return
|
|
286
|
+
__wbg_new_7ddec6de44ff8f5d: function(arg0) {
|
|
287
|
+
return new Uint8Array(arg0);
|
|
288
288
|
},
|
|
289
|
-
|
|
289
|
+
__wbg_next_2a4e19f4f5083b0f: function(arg0) {
|
|
290
|
+
return arg0.next;
|
|
291
|
+
},
|
|
292
|
+
__wbg_next_6429a146bf756f93: function() {
|
|
290
293
|
return handleError(function(arg0) {
|
|
291
294
|
return arg0.next();
|
|
292
295
|
}, arguments);
|
|
293
296
|
},
|
|
294
|
-
|
|
295
|
-
return arg0.next;
|
|
296
|
-
},
|
|
297
|
-
__wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
|
|
297
|
+
__wbg_prototypesetcall_5f9bdc8d75e07276: function(arg0, arg1, arg2) {
|
|
298
298
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
299
299
|
},
|
|
300
|
-
__wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
|
|
301
|
-
arg0[arg1 >>> 0] = arg2;
|
|
302
|
-
},
|
|
303
300
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
304
301
|
arg0[arg1] = arg2;
|
|
305
302
|
},
|
|
306
|
-
|
|
303
|
+
__wbg_set_78ea6a19f4818587: function(arg0, arg1, arg2) {
|
|
304
|
+
arg0[arg1 >>> 0] = arg2;
|
|
305
|
+
},
|
|
306
|
+
__wbg_value_9cc0518af87a489c: function(arg0) {
|
|
307
307
|
return arg0.value;
|
|
308
308
|
},
|
|
309
309
|
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
@@ -338,7 +338,7 @@ function __wbg_get_imports() {
|
|
|
338
338
|
const RendererFinalization = typeof FinalizationRegistry === "undefined" ? {
|
|
339
339
|
register: () => {},
|
|
340
340
|
unregister: () => {}
|
|
341
|
-
} : new FinalizationRegistry((ptr) => wasm.__wbg_renderer_free(ptr
|
|
341
|
+
} : new FinalizationRegistry((ptr) => wasm.__wbg_renderer_free(ptr, 1));
|
|
342
342
|
function addToExternrefTable0(obj) {
|
|
343
343
|
const idx = wasm.__externref_table_alloc();
|
|
344
344
|
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
@@ -396,8 +396,7 @@ function getDataViewMemory0() {
|
|
|
396
396
|
return cachedDataViewMemory0;
|
|
397
397
|
}
|
|
398
398
|
function getStringFromWasm0(ptr, len) {
|
|
399
|
-
|
|
400
|
-
return decodeText(ptr, len);
|
|
399
|
+
return decodeText(ptr >>> 0, len);
|
|
401
400
|
}
|
|
402
401
|
let cachedUint8ArrayMemory0 = null;
|
|
403
402
|
function getUint8ArrayMemory0() {
|
package/dist/export.mjs
CHANGED
|
@@ -61,7 +61,7 @@ var Renderer$1 = class {
|
|
|
61
61
|
constructor(options) {
|
|
62
62
|
const ret = wasm.renderer_new(isLikeNone(options) ? 0 : addToExternrefTable0(options));
|
|
63
63
|
if (ret[2]) throw takeFromExternrefTable0(ret[1]);
|
|
64
|
-
this.__wbg_ptr = ret[0]
|
|
64
|
+
this.__wbg_ptr = ret[0];
|
|
65
65
|
RendererFinalization.register(this, this.__wbg_ptr, this);
|
|
66
66
|
return this;
|
|
67
67
|
}
|
|
@@ -132,10 +132,10 @@ function __wbg_get_imports() {
|
|
|
132
132
|
__proto__: null,
|
|
133
133
|
"./takumi_wasm_bg.js": {
|
|
134
134
|
__proto__: null,
|
|
135
|
-
|
|
135
|
+
__wbg_Error_bce6d499ff0a4aff: function(arg0, arg1) {
|
|
136
136
|
return Error(getStringFromWasm0(arg0, arg1));
|
|
137
137
|
},
|
|
138
|
-
|
|
138
|
+
__wbg_Number_b7972a139bfbfdf0: function(arg0) {
|
|
139
139
|
return Number(arg0);
|
|
140
140
|
},
|
|
141
141
|
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
@@ -144,55 +144,55 @@ function __wbg_get_imports() {
|
|
|
144
144
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
145
145
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
146
146
|
},
|
|
147
|
-
|
|
147
|
+
__wbg___wbindgen_bigint_get_as_i64_410e28c7b761ad83: function(arg0, arg1) {
|
|
148
148
|
const v = arg1;
|
|
149
149
|
const ret = typeof v === "bigint" ? v : void 0;
|
|
150
150
|
getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
151
151
|
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
152
152
|
},
|
|
153
|
-
|
|
153
|
+
__wbg___wbindgen_boolean_get_2304fb8c853028c8: function(arg0) {
|
|
154
154
|
const v = arg0;
|
|
155
155
|
const ret = typeof v === "boolean" ? v : void 0;
|
|
156
156
|
return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
|
|
157
157
|
},
|
|
158
|
-
|
|
158
|
+
__wbg___wbindgen_debug_string_edece8177ad01481: function(arg0, arg1) {
|
|
159
159
|
const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
160
160
|
const len1 = WASM_VECTOR_LEN;
|
|
161
161
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
162
162
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
163
163
|
},
|
|
164
|
-
|
|
164
|
+
__wbg___wbindgen_in_07056af4f902c445: function(arg0, arg1) {
|
|
165
165
|
return arg0 in arg1;
|
|
166
166
|
},
|
|
167
|
-
|
|
167
|
+
__wbg___wbindgen_is_bigint_aeae3893f30ed54e: function(arg0) {
|
|
168
168
|
return typeof arg0 === "bigint";
|
|
169
169
|
},
|
|
170
|
-
|
|
170
|
+
__wbg___wbindgen_is_function_5cd60d5cf78b4eef: function(arg0) {
|
|
171
171
|
return typeof arg0 === "function";
|
|
172
172
|
},
|
|
173
|
-
|
|
173
|
+
__wbg___wbindgen_is_object_b4593df85baada48: function(arg0) {
|
|
174
174
|
const val = arg0;
|
|
175
175
|
return typeof val === "object" && val !== null;
|
|
176
176
|
},
|
|
177
|
-
|
|
177
|
+
__wbg___wbindgen_is_string_dde0fd9020db4434: function(arg0) {
|
|
178
178
|
return typeof arg0 === "string";
|
|
179
179
|
},
|
|
180
|
-
|
|
180
|
+
__wbg___wbindgen_is_undefined_35bb9f4c7fd651d5: function(arg0) {
|
|
181
181
|
return arg0 === void 0;
|
|
182
182
|
},
|
|
183
|
-
|
|
183
|
+
__wbg___wbindgen_jsval_eq_c0ed08b3e0f393b9: function(arg0, arg1) {
|
|
184
184
|
return arg0 === arg1;
|
|
185
185
|
},
|
|
186
|
-
|
|
186
|
+
__wbg___wbindgen_jsval_loose_eq_0ad77b7717db155c: function(arg0, arg1) {
|
|
187
187
|
return arg0 == arg1;
|
|
188
188
|
},
|
|
189
|
-
|
|
189
|
+
__wbg___wbindgen_number_get_f73a1244370fcc2c: function(arg0, arg1) {
|
|
190
190
|
const obj = arg1;
|
|
191
191
|
const ret = typeof obj === "number" ? obj : void 0;
|
|
192
192
|
getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
|
|
193
193
|
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
194
194
|
},
|
|
195
|
-
|
|
195
|
+
__wbg___wbindgen_string_get_d109740c0d18f4d7: function(arg0, arg1) {
|
|
196
196
|
const obj = arg1;
|
|
197
197
|
const ret = typeof obj === "string" ? obj : void 0;
|
|
198
198
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -200,35 +200,35 @@ function __wbg_get_imports() {
|
|
|
200
200
|
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
201
201
|
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
202
202
|
},
|
|
203
|
-
|
|
203
|
+
__wbg___wbindgen_throw_9c31b086c2b26051: function(arg0, arg1) {
|
|
204
204
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
205
205
|
},
|
|
206
|
-
|
|
206
|
+
__wbg_call_13665d9f14390edc: function() {
|
|
207
207
|
return handleError(function(arg0, arg1) {
|
|
208
208
|
return arg0.call(arg1);
|
|
209
209
|
}, arguments);
|
|
210
210
|
},
|
|
211
|
-
|
|
211
|
+
__wbg_done_54b8da57023b7ed2: function(arg0) {
|
|
212
212
|
return arg0.done;
|
|
213
213
|
},
|
|
214
|
-
|
|
214
|
+
__wbg_entries_564a7e8b1e54ede5: function(arg0) {
|
|
215
215
|
return Object.entries(arg0);
|
|
216
216
|
},
|
|
217
|
-
|
|
217
|
+
__wbg_get_3e9a707ab7d352eb: function() {
|
|
218
218
|
return handleError(function(arg0, arg1) {
|
|
219
219
|
return Reflect.get(arg0, arg1);
|
|
220
220
|
}, arguments);
|
|
221
221
|
},
|
|
222
|
-
|
|
222
|
+
__wbg_get_98fdf51d029a75eb: function(arg0, arg1) {
|
|
223
223
|
return arg0[arg1 >>> 0];
|
|
224
224
|
},
|
|
225
|
-
|
|
225
|
+
__wbg_get_unchecked_1dfe6d05ad91d9b7: function(arg0, arg1) {
|
|
226
226
|
return arg0[arg1 >>> 0];
|
|
227
227
|
},
|
|
228
228
|
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
229
229
|
return arg0[arg1];
|
|
230
230
|
},
|
|
231
|
-
|
|
231
|
+
__wbg_instanceof_ArrayBuffer_53db37b06f6b9afe: function(arg0) {
|
|
232
232
|
let result;
|
|
233
233
|
try {
|
|
234
234
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -237,7 +237,7 @@ function __wbg_get_imports() {
|
|
|
237
237
|
}
|
|
238
238
|
return result;
|
|
239
239
|
},
|
|
240
|
-
|
|
240
|
+
__wbg_instanceof_Map_16f217b9a2a08d8c: function(arg0) {
|
|
241
241
|
let result;
|
|
242
242
|
try {
|
|
243
243
|
result = arg0 instanceof Map;
|
|
@@ -246,7 +246,7 @@ function __wbg_get_imports() {
|
|
|
246
246
|
}
|
|
247
247
|
return result;
|
|
248
248
|
},
|
|
249
|
-
|
|
249
|
+
__wbg_instanceof_Uint8Array_abd07d4bd221d50b: function(arg0) {
|
|
250
250
|
let result;
|
|
251
251
|
try {
|
|
252
252
|
result = arg0 instanceof Uint8Array;
|
|
@@ -255,51 +255,51 @@ function __wbg_get_imports() {
|
|
|
255
255
|
}
|
|
256
256
|
return result;
|
|
257
257
|
},
|
|
258
|
-
|
|
258
|
+
__wbg_isArray_94898ed3aad6947b: function(arg0) {
|
|
259
259
|
return Array.isArray(arg0);
|
|
260
260
|
},
|
|
261
|
-
|
|
261
|
+
__wbg_isSafeInteger_01e964d144ad3a55: function(arg0) {
|
|
262
262
|
return Number.isSafeInteger(arg0);
|
|
263
263
|
},
|
|
264
|
-
|
|
264
|
+
__wbg_iterator_1441b47f341dc34f: function() {
|
|
265
265
|
return Symbol.iterator;
|
|
266
266
|
},
|
|
267
|
-
|
|
267
|
+
__wbg_length_2591a0f4f659a55c: function(arg0) {
|
|
268
268
|
return arg0.length;
|
|
269
269
|
},
|
|
270
|
-
|
|
270
|
+
__wbg_length_56fcd3e2b7e0299d: function(arg0) {
|
|
271
271
|
return arg0.length;
|
|
272
272
|
},
|
|
273
|
-
|
|
274
|
-
return new
|
|
273
|
+
__wbg_new_02d162bc6cf02f60: function() {
|
|
274
|
+
return /* @__PURE__ */ new Object();
|
|
275
275
|
},
|
|
276
|
-
|
|
276
|
+
__wbg_new_1f236d63ba0c4784: function(arg0, arg1) {
|
|
277
277
|
return new Error(getStringFromWasm0(arg0, arg1));
|
|
278
278
|
},
|
|
279
|
-
|
|
279
|
+
__wbg_new_310879b66b6e95e1: function() {
|
|
280
280
|
return new Array();
|
|
281
281
|
},
|
|
282
|
-
|
|
283
|
-
return
|
|
282
|
+
__wbg_new_7ddec6de44ff8f5d: function(arg0) {
|
|
283
|
+
return new Uint8Array(arg0);
|
|
284
284
|
},
|
|
285
|
-
|
|
285
|
+
__wbg_next_2a4e19f4f5083b0f: function(arg0) {
|
|
286
|
+
return arg0.next;
|
|
287
|
+
},
|
|
288
|
+
__wbg_next_6429a146bf756f93: function() {
|
|
286
289
|
return handleError(function(arg0) {
|
|
287
290
|
return arg0.next();
|
|
288
291
|
}, arguments);
|
|
289
292
|
},
|
|
290
|
-
|
|
291
|
-
return arg0.next;
|
|
292
|
-
},
|
|
293
|
-
__wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
|
|
293
|
+
__wbg_prototypesetcall_5f9bdc8d75e07276: function(arg0, arg1, arg2) {
|
|
294
294
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
295
295
|
},
|
|
296
|
-
__wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
|
|
297
|
-
arg0[arg1 >>> 0] = arg2;
|
|
298
|
-
},
|
|
299
296
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
300
297
|
arg0[arg1] = arg2;
|
|
301
298
|
},
|
|
302
|
-
|
|
299
|
+
__wbg_set_78ea6a19f4818587: function(arg0, arg1, arg2) {
|
|
300
|
+
arg0[arg1 >>> 0] = arg2;
|
|
301
|
+
},
|
|
302
|
+
__wbg_value_9cc0518af87a489c: function(arg0) {
|
|
303
303
|
return arg0.value;
|
|
304
304
|
},
|
|
305
305
|
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
@@ -334,7 +334,7 @@ function __wbg_get_imports() {
|
|
|
334
334
|
const RendererFinalization = typeof FinalizationRegistry === "undefined" ? {
|
|
335
335
|
register: () => {},
|
|
336
336
|
unregister: () => {}
|
|
337
|
-
} : new FinalizationRegistry((ptr) => wasm.__wbg_renderer_free(ptr
|
|
337
|
+
} : new FinalizationRegistry((ptr) => wasm.__wbg_renderer_free(ptr, 1));
|
|
338
338
|
function addToExternrefTable0(obj) {
|
|
339
339
|
const idx = wasm.__externref_table_alloc();
|
|
340
340
|
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
@@ -392,8 +392,7 @@ function getDataViewMemory0() {
|
|
|
392
392
|
return cachedDataViewMemory0;
|
|
393
393
|
}
|
|
394
394
|
function getStringFromWasm0(ptr, len) {
|
|
395
|
-
|
|
396
|
-
return decodeText(ptr, len);
|
|
395
|
+
return decodeText(ptr >>> 0, len);
|
|
397
396
|
}
|
|
398
397
|
let cachedUint8ArrayMemory0 = null;
|
|
399
398
|
function getUint8ArrayMemory0() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takumi-rs/wasm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"css",
|
|
6
6
|
"image",
|
|
@@ -76,13 +76,14 @@
|
|
|
76
76
|
"prepublishOnly": "jq '.dependencies[\"@takumi-rs/helpers\"] = .version' package.json > tmp.json && mv tmp.json package.json"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@takumi-rs/helpers": "1.
|
|
79
|
+
"@takumi-rs/helpers": "1.2.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/bun": "catalog:",
|
|
83
83
|
"csstype": "^3.2.3",
|
|
84
84
|
"tsdown": "catalog:",
|
|
85
|
-
"typescript": "catalog:"
|
|
85
|
+
"typescript": "catalog:",
|
|
86
|
+
"unrun": "catalog:"
|
|
86
87
|
},
|
|
87
88
|
"readme": "README.md"
|
|
88
89
|
}
|
package/pkg/takumi_wasm_bg.wasm
CHANGED
|
Binary file
|