MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

enable brotli

+7 -1
+1
examples/spec/buffer.js
··· 12 12 test('Uint8Array length', u8.length, 8); 13 13 test('Uint8Array byteLength', u8.byteLength, 8); 14 14 test('Uint8Array BYTES_PER_ELEMENT', u8.BYTES_PER_ELEMENT, 1); 15 + test('Uint8Array constructor', u8.constructor, Uint8Array); 15 16 test('Uint8Array with new', new Uint8Array(5).length, 5); 16 17 test('Uint8Array via Reflect.construct', Reflect.construct(Uint8Array, [5]).length, 5); 17 18 testThrows('Uint8Array without new throws', () => Uint8Array(5));
+1
include/streams/compression.h
··· 8 8 ZFMT_GZIP = 0, 9 9 ZFMT_DEFLATE, 10 10 ZFMT_DEFLATE_RAW, 11 + ZFMT_BROTLI, 11 12 } zformat_t; 12 13 13 14 extern ant_value_t g_cs_proto;
+2 -1
meson/deps/meson.build
··· 219 219 argtable3_dep, tlsuv_dep, libsodium_dep, 220 220 yyjson_dep, minicoro_dep, uuidv7_dep, 221 221 uriparser_dep, utf8proc_dep, openssl_dep, 222 - zlib_dep, uthash_dep, lmdb_dep, 222 + zlib_dep, brotli_common_dep, brotli_dec_dep, 223 + brotli_enc_dep, uthash_dep, lmdb_dep, 223 224 ] + mbedtls_dep + win_deps 224 225 225 226 if get_option('jit')
+3
src/modules/buffer.c
··· 2091 2091 ant_value_t name##_ctor_obj = js_mkobj(js); \ 2092 2092 ant_value_t name##_proto = js_mkobj(js); \ 2093 2093 js_set_proto_init(name##_proto, typedarray_proto); \ 2094 + js_setprop(js, name##_proto, ANT_STRING("constructor"), js_obj_to_func(name##_ctor_obj)); \ 2095 + js_set_descriptor(js, name##_proto, "constructor", 11, JS_DESC_W | JS_DESC_C); \ 2096 + js_set_sym(js, name##_proto, get_toStringTag_sym(), js_mkstr(js, #name, sizeof(#name) - 1)); \ 2094 2097 js_set_slot(name##_ctor_obj, SLOT_CFUNC, js_mkfun(js_##name##_constructor)); \ 2095 2098 js_setprop(js, name##_ctor_obj, js_mkstr(js, "prototype", 9), name##_proto); \ 2096 2099 js_mkprop_fast(js, name##_ctor_obj, "name", 4, ANT_STRING(#name)); \