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.

bump version

+3 -4
+1 -1
meson.build
··· 74 74 build_date = run_command('date', '+%Y-%m-%d', check: true).stdout().strip() 75 75 76 76 version_conf = configuration_data() 77 - version_conf.set('ANT_VERSION', '0.0.7.39') 77 + version_conf.set('ANT_VERSION', '0.0.8.0') 78 78 version_conf.set('ANT_GIT_HASH', git_hash) 79 79 version_conf.set('ANT_BUILD_DATE', build_date) 80 80
+2 -3
src/ant.c
··· 449 449 jsval_t js_get_ctor_proto(struct js *js, const char *name, size_t len); 450 450 static jsval_t get_prototype_for_type(struct js *js, uint8_t type); 451 451 452 - // Backward compat aliases (defined after implementations below) 453 452 static jsval_t get_proto(struct js *js, jsval_t obj); 454 453 static void set_proto(struct js *js, jsval_t obj, jsval_t proto); 455 454 static jsval_t get_ctor_proto(struct js *js, const char *name, size_t len); ··· 1889 1888 for (unsigned int i = 0; i < len; i++) { 1890 1889 if (entries[i].offset > 0 && entries[i].size > 0) { 1891 1890 if (entries[i].offset < safe_threshold) continue; 1892 - if (entries[i].offset + entries[i].size > js->size) continue; 1891 + if (entries[i].offset + entries[i].size > js->size) continue; 1892 + // ugh disable zeroing for now until a better solution is found 1893 1893 // memset(&js->mem[entries[i].offset], 0, entries[i].size); 1894 1894 total_freed += entries[i].size; 1895 1895 } ··· 7443 7443 jsoff_t koff = loadoff(js, next + (jsoff_t) sizeof(next)); 7444 7444 jsoff_t klen = offtolen(loadoff(js, koff)); 7445 7445 const char *key = (char *) &js->mem[koff + sizeof(koff)]; 7446 - // Skip internal __proto__ property 7447 7446 if (!streq(key, klen, "__proto__", 9)) { 7448 7447 char idxstr[16]; 7449 7448 snprintf(idxstr, sizeof(idxstr), "%u", (unsigned) idx);