hack-pad / go-indexeddb

An IndexedDB driver for Go code compiled to WebAssembly.
Apache License 2.0
27 stars 4 forks source link

Use safejs for JS panic handling, add coverage reports #8

Closed JohnStarich closed 1 year ago

JohnStarich commented 1 year ago

Switches to hack-pad/safejs to properly handle all panic scenarios.

Also add 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. Giving a minor version bump v0.x to give adopters a heads up.