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.

add libuv

+19 -3
+3 -2
examples/server/server.js
··· 28 28 }); 29 29 30 30 router.insert('/status', async c => { 31 - return c.res.body('Server is running with Radix3 router!'); 31 + const result = (await fetch('http://localhost:8000/meow')).text(); 32 + return c.res.body(`server is responding with ${result}`); 32 33 }); 33 34 34 35 router.insert('/users/:id', async c => { ··· 82 83 83 84 if (result?.handler) { 84 85 const ctx = { req, res, params: result.params }; 85 - return void result.handler(ctx); 86 + return await result.handler(ctx); 86 87 } 87 88 88 89 res.body('not found: ' + req.uri, 404);
+3 -1
meson.build
··· 23 23 libsodium_dep = dependency('libsodium', required: true) 24 24 25 25 # dependencies 26 + libuv_dep = subproject('libuv').get_variable('libuv_dep') 26 27 yyjson_dep = subproject('yyjson').get_variable('yyjson_dep') 27 28 uuidv7_dep = subproject('uuidv7').get_variable('uuidv7_dep') 28 29 mongoose_dep = subproject('mongoose').get_variable('mongoose_dep') ··· 50 51 build_date = run_command('date', '+%Y-%m-%d', check: true).stdout().strip() 51 52 52 53 version_conf = configuration_data() 53 - version_conf.set('ANT_VERSION', '0.0.6.19') 54 + version_conf.set('ANT_VERSION', '0.0.6.20') 54 55 version_conf.set('ANT_GIT_HASH', git_hash) 55 56 version_conf.set('ANT_BUILD_DATE', build_date) 56 57 ··· 106 107 sources + [snapshot_h], 107 108 include_directories: [include, build_include], 108 109 dependencies: [ 110 + libuv_dep, 109 111 curl_dep, 110 112 yyjson_dep, 111 113 uuidv7_dep,
+13
subprojects/libuv.wrap
··· 1 + [wrap-file] 2 + directory = libuv-v1.51.0 3 + source_url = https://dist.libuv.org/dist/v1.51.0/libuv-v1.51.0.tar.gz 4 + source_filename = libuv-v1.51.0.tar.gz 5 + source_hash = 5f0557b90b1106de71951a3c3931de5e0430d78da1d9a10287ebc7a3f78ef8eb 6 + patch_filename = libuv_1.51.0-1_patch.zip 7 + patch_url = https://wrapdb.mesonbuild.com/v2/libuv_1.51.0-1/get_patch 8 + patch_hash = 0fb123dee5e74621a767a8f2a29dde7219c65a01a5fe63e3c8ffeed675a2d820 9 + source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libuv_1.51.0-1/libuv-v1.51.0.tar.gz 10 + wrapdb_version = 1.51.0-1 11 + 12 + [provide] 13 + libuv = libuv_dep