Skip to content

ruby-head-wasm-wasi-0.5.0

Compare
Choose a tag to compare
@kateinoigakukun kateinoigakukun released this 12 Nov 05:07
· 1005 commits to main since this release
channel source
head ruby/ruby@0a9d51ee9d2b3d0111832e5ea1c8195a16e2f99b

What's Changed

begin
  JS.eval("throw new Error('foo')") 
rescue JS::Error => e
  puts e
end
const text = await vm.evalAsync(`
  require "js"
  response = JS.global.fetch("https://httpbin.org/user-agent").await
  response.text.await
`)
console.log(text.toString())

New Contributors

Full Changelog: ruby-head-wasm-wasi-0.4.0...ruby-head-wasm-wasi-0.5.0