Open pi0 opened 10 months ago
Update: Before 2.8 release I just noticed runtime is completely broken again. I had to disable tests to allow release and also hide documentation temporarily. (preset will be still available for 2.8 but undocumented and unsupported)
Really looking forward to announce wasmer support but seems too early.
Related: Wasmer Edge
WinterJS is a JavaScript Service Workers server written in Rust, that uses the SpiderMonkey runtime to execute JavaScript (the same runtime that Firefox uses) (announcement).
The latest documentation is living in: https://nitro.unjs.io/deploy/runtimes/winterjs
Changelog
respondWith
: #1876Status
Currently, winter is not a stable preset but having it in the nightly channel allows iterating and testing across the ecosystem.
Currently, Nitro tests are passing (9 skipped mainly because of isolated behavior)
nitro-deploys works except for static assets
Basic Nuxt apps
used to hangare now working too!TODO:
Headers.entities
poly-filled using array iterator (tracker: https://github.com/wasmerio/winterjs/issues/25)URL.pathname
poly-filled and returnsthis.path
(tracker: https://github.com/wasmerio/winterjs/issues/26)new URL(url, base)
usingufo
utils and a polyfill (https://github.com/wasmerio/winterjs/issues/27)Response.body
getter overridden to return bodyInit (this is an ugly workaround to fix issue whenbody
getter isPromise<ReadableStream>
and also non iteratable. used by proxy streaming. (seems known issue?)