@tailwindcss/oxide-wasm32-wasi 4.1.18 → 4.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/node_modules/@emnapi/core/dist/emnapi-core.cjs.js +51 -2
- package/node_modules/@emnapi/core/dist/emnapi-core.cjs.min.js +1 -1
- package/node_modules/@emnapi/core/dist/emnapi-core.esm-bundler.js +55 -2
- package/node_modules/@emnapi/core/dist/emnapi-core.js +55 -2
- package/node_modules/@emnapi/core/dist/emnapi-core.min.js +1 -1
- package/node_modules/@emnapi/core/dist/emnapi-core.min.mjs +1 -1
- package/node_modules/@emnapi/core/dist/emnapi-core.mjs +51 -2
- package/node_modules/@emnapi/core/package.json +1 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.cjs.js +1 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.cjs.min.d.ts +3 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.cjs.min.js +1 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.d.mts +3 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.d.ts +3 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.esm-bundler.js +1 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.iife.js +1 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.js +1 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.min.d.mts +3 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.min.js +1 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.min.mjs +1 -1
- package/node_modules/@emnapi/runtime/dist/emnapi.mjs +1 -1
- package/node_modules/@emnapi/runtime/package.json +1 -1
- package/node_modules/@napi-rs/wasm-runtime/package.json +6 -1
- package/package.json +5 -5
- package/tailwindcss-oxide.wasm32-wasi.wasm +0 -0
|
@@ -2368,6 +2368,40 @@ function createNapiModule(options) {
|
|
|
2368
2368
|
}
|
|
2369
2369
|
return envObject.clearLastError();
|
|
2370
2370
|
}
|
|
2371
|
+
function node_api_set_prototype(env, object, value) {
|
|
2372
|
+
if (!env)
|
|
2373
|
+
return 1;
|
|
2374
|
+
var envObject = emnapiCtx.envStore.get(env);
|
|
2375
|
+
envObject.checkGCAccess();
|
|
2376
|
+
if (!envObject.tryCatch.isEmpty())
|
|
2377
|
+
return envObject.setLastError(10);
|
|
2378
|
+
if (!envObject.canCallIntoJs())
|
|
2379
|
+
return envObject.setLastError(envObject.moduleApiVersion >= 10 ? 23 : 10);
|
|
2380
|
+
envObject.clearLastError();
|
|
2381
|
+
try {
|
|
2382
|
+
if (!value)
|
|
2383
|
+
return envObject.setLastError(1);
|
|
2384
|
+
var obj = emnapiCtx.handleStore.get(object).value;
|
|
2385
|
+
if (obj == null) {
|
|
2386
|
+
throw new TypeError('Cannot convert undefined or null to object');
|
|
2387
|
+
}
|
|
2388
|
+
var type = typeof obj;
|
|
2389
|
+
var v = void 0;
|
|
2390
|
+
try {
|
|
2391
|
+
v = (type === 'object' && obj !== null) || type === 'function' ? obj : Object(obj);
|
|
2392
|
+
}
|
|
2393
|
+
catch (_) {
|
|
2394
|
+
return envObject.setLastError(2);
|
|
2395
|
+
}
|
|
2396
|
+
var val = emnapiCtx.handleStore.get(value).value;
|
|
2397
|
+
Object.setPrototypeOf(v, val);
|
|
2398
|
+
return envObject.getReturnStatus();
|
|
2399
|
+
}
|
|
2400
|
+
catch (err) {
|
|
2401
|
+
envObject.tryCatch.setError(err);
|
|
2402
|
+
return envObject.setLastError(10);
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2371
2405
|
function napi_get_prototype(env, value, result) {
|
|
2372
2406
|
if (!env)
|
|
2373
2407
|
return 1;
|
|
@@ -2440,6 +2474,9 @@ function createNapiModule(options) {
|
|
|
2440
2474
|
else if (v instanceof Uint32Array) {
|
|
2441
2475
|
t = 6;
|
|
2442
2476
|
}
|
|
2477
|
+
else if (typeof Float16Array === 'function' && v instanceof Float16Array) {
|
|
2478
|
+
t = 11;
|
|
2479
|
+
}
|
|
2443
2480
|
else if (v instanceof Float32Array) {
|
|
2444
2481
|
t = 7;
|
|
2445
2482
|
}
|
|
@@ -2914,7 +2951,8 @@ function createNapiModule(options) {
|
|
|
2914
2951
|
napi_get_value_string_latin1: napi_get_value_string_latin1,
|
|
2915
2952
|
napi_get_value_string_utf16: napi_get_value_string_utf16,
|
|
2916
2953
|
napi_get_value_string_utf8: napi_get_value_string_utf8,
|
|
2917
|
-
napi_get_value_uint32: napi_get_value_uint32
|
|
2954
|
+
napi_get_value_uint32: napi_get_value_uint32,
|
|
2955
|
+
node_api_set_prototype: node_api_set_prototype
|
|
2918
2956
|
});
|
|
2919
2957
|
function napi_create_int32(env, value, result) {
|
|
2920
2958
|
if (!env)
|
|
@@ -3588,6 +3626,12 @@ function createNapiModule(options) {
|
|
|
3588
3626
|
case -1:
|
|
3589
3627
|
viewDescriptor = { Ctor: DataView, address: external_data, length: byte_length, ownership: 1, runtimeAllocated: 0 };
|
|
3590
3628
|
break;
|
|
3629
|
+
case 11:
|
|
3630
|
+
if (typeof Float16Array !== 'function') {
|
|
3631
|
+
return envObject.setLastError(1);
|
|
3632
|
+
}
|
|
3633
|
+
viewDescriptor = { Ctor: Float16Array, address: external_data, length: byte_length >> 1, ownership: 1, runtimeAllocated: 0 };
|
|
3634
|
+
break;
|
|
3591
3635
|
case -2: {
|
|
3592
3636
|
if (!emnapiCtx.feature.Buffer) {
|
|
3593
3637
|
throw emnapiCtx.createNotSupportBufferError('emnapi_create_memory_view', '');
|
|
@@ -4165,6 +4209,11 @@ function createNapiModule(options) {
|
|
|
4165
4209
|
return createTypedArray(envObject, BigInt64Array, 8, buffer, byte_offset, length);
|
|
4166
4210
|
case 10:
|
|
4167
4211
|
return createTypedArray(envObject, BigUint64Array, 8, buffer, byte_offset, length);
|
|
4212
|
+
case 11:
|
|
4213
|
+
if (typeof Float16Array !== 'function') {
|
|
4214
|
+
return envObject.setLastError(1);
|
|
4215
|
+
}
|
|
4216
|
+
return createTypedArray(envObject, Float16Array, 2, buffer, byte_offset, length);
|
|
4168
4217
|
default:
|
|
4169
4218
|
return envObject.setLastError(1);
|
|
4170
4219
|
}
|
|
@@ -6784,7 +6833,7 @@ class MessageHandler extends wasiThreads.ThreadMessageHandler {
|
|
|
6784
6833
|
}
|
|
6785
6834
|
}
|
|
6786
6835
|
|
|
6787
|
-
const version = "1.
|
|
6836
|
+
const version = "1.8.1";
|
|
6788
6837
|
|
|
6789
6838
|
exports.MessageHandler = MessageHandler;
|
|
6790
6839
|
exports.createNapiModule = createNapiModule;
|