hack-pad / hackpadfs

An extensible file system abstraction for Go. File systems, composable interfaces, and test suites.
Apache License 2.0
254 stars 11 forks source link

Use safejs for JS panic handling, add JS to coverage reports #31

Closed JohnStarich closed 1 year ago

JohnStarich commented 1 year ago

Switches to hack-pad/safejs to properly handle all JavaScript panic scenarios in the IndexedDB FS.

Also adds JS to coverage reports, now that wasmbrowsertest supports JS coverage profiles: https://github.com/agnivade/wasmbrowsertest/pull/41

NOTE: Drops support for Go 1.16 and 1.17 to use safejs. Requires a minor version bump v0.x to give adopters a heads up.