You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
Using inlined serve static as there is no info on how to integrate with filesystem API for static asset handling (IMPORTANT LIMITATION) (raised question ~> Serving assets from filesystem wasmerio/winterjs#28)
Response.body getter overridden to return bodyInit (this is an ugly workaround to fix issue when body getter is Promise<ReadableStream> and also non iteratable. used by proxy streaming. (seems known issue?)
The text was updated successfully, but these errors were encountered:
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
winterjs
preset #1863respondWith
: fix(winterjs): 0.1.7 compatibility #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: MissingHeaders.entries
wasmerio/winterjs#25)URL.pathname
poly-filled and returnsthis.path
(tracker: MissingURL.pathname
wasmerio/winterjs#26)new URL(url, base)
usingufo
utils and a polyfill (Cannot construct URL with base wasmerio/winterjs#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?)The text was updated successfully, but these errors were encountered: