ScriptMaster
ScriptMaster
A 1kb router for markojs: https://github.com/scriptmaster/simple-marko-router/ #Features Provides two new tags, and ... Supports named routes. Supports pushstates. Route Components changed event.
This node_modules ecosystem sucks from past 10 years... Learn from NuGet.config
https://github.com/vlang/v/blob/master/vlib/picoev/socket_util.c.v#L126-L129 ``` // addr settings saddr := '${config.host}:${config.port}' addrs := net.resolve_addrs(saddr, config.family, .tcp) or { panic(err) } addr := addrs[0] alen := addr.len() ```
Added two more test-data to explain the issue: `v -autofree run examples/net_resolve.v` ``` import net for addr in [ ':8080' // this works '127.0.0.1:12700' // this does not 'vlang.io:80', 'google.com:80',...
``` v -autofree run examples/net_resolve.v ─╯ :8080 > 0.0.0.0:8080 ip tcp > 0.0.0.0:8080 ip udp 127.0.0.1:12700 > unspec tcp > unspec udp vlang.io:80 > unspec tcp > unspec tcp >...
if the host is set to ":" it works, for example: `picoev.new(host: ":", port: 8008, cb: perf_route)` this is because of these lines in vlib/net/address.c.v:resolve_ipaddrs:170-180 ``` if addr[0] == `:`...
The issue comes down to something wrong when pushing an item to an array when using -autofree `addresses
same with `println("string interpolation $myvar")` with -autofree
@lucacasonato please review and merge
@bpevs are you aware of the number of devs facing sass and node-sass related install issues, which can be easily remedied with this merge? Anyway, I have written complete bundler...