UNPKG

emscripten-wasm-loader

Version:

Common interface to load wasm module into isomorphic environment

199 lines (88 loc) 6.64 kB
## [3.0.3](https://github.com/kwonoj/emscripten-wasm-loader/compare/v3.0.2...v3.0.3) (2019-07-19) ### Bug Fixes * **getmoduleloader:** raise exception when init timeout occurs ([6169bb3](https://github.com/kwonoj/emscripten-wasm-loader/commit/6169bb3)) ## [3.0.2](https://github.com/kwonoj/emscripten-wasm-loader/compare/v3.0.1...v3.0.2) (2019-06-13) ### Bug Fixes * **mountbuffer:** fix dependencies ([911c8b7](https://github.com/kwonoj/emscripten-wasm-loader/commit/911c8b7)) ## [3.0.1](https://github.com/kwonoj/emscripten-wasm-loader/compare/v3.0.0...v3.0.1) (2019-06-12) ### Features * **baseasmmodule:** update types ([6b29049](https://github.com/kwonoj/emscripten-wasm-loader/commit/6b29049)) # [3.0.0](https://github.com/kwonoj/emscripten-wasm-loader/compare/v2.2.3...v3.0.0) (2019-06-12) BREAKING CHANGES: targeting es2018 for output ## [2.2.3](https://github.com/kwonoj/emscripten-wasm-loader/compare/v2.2.2...v2.2.3) (2019-01-31) ### Features * **asmmodule:** export malloc ([45388c6](https://github.com/kwonoj/emscripten-wasm-loader/commit/45388c6)) <a name="2.2.2"></a> ## [2.2.2](https://github.com/kwonoj/emscripten-wasm-loader/compare/v2.2.1...v2.2.2) (2018-10-23) - Support browser field for treeshaking <a name="2.2.1"></a> ## [2.2.1](https://github.com/kwonoj/emscripten-wasm-loader/compare/v2.1.1...v2.2.1) (2018-10-23) ### Features * **constructmodule:** support binaryendpoint ([e38d740](https://github.com/kwonoj/emscripten-wasm-loader/commit/e38d740)) * **free:** export free interface ([08d09bc](https://github.com/kwonoj/emscripten-wasm-loader/commit/08d09bc)) * **getmoduleloader:** expose timeout for wasm module loading ([f74a268](https://github.com/kwonoj/emscripten-wasm-loader/commit/f74a268)) <a name="2.1.1"></a> ## [2.1.1](https://github.com/kwonoj/emscripten-wasm-loader/compare/v2.1.0...v2.1.1) (2018-07-11) ### Bug Fixes * **mountdirectory:** remove redundant env param ([c751ec9](https://github.com/kwonoj/emscripten-wasm-loader/commit/c751ec9)) <a name="2.1.0"></a> # [2.1.0](https://github.com/kwonoj/emscripten-wasm-loader/compare/v2.0.0...v2.1.0) (2018-07-11) ### Features * **index:** export path modules ([ea5f0fd](https://github.com/kwonoj/emscripten-wasm-loader/commit/ea5f0fd)) * **ismounted:** implement ismounted ([38368cd](https://github.com/kwonoj/emscripten-wasm-loader/commit/38368cd)) * **mkdirtree:** implement mkdirtree ([9d7fc9f](https://github.com/kwonoj/emscripten-wasm-loader/commit/9d7fc9f)) * **mountbuffer:** implement mountbuffer ([f24c13a](https://github.com/kwonoj/emscripten-wasm-loader/commit/f24c13a)) * **mountdirectory:** implement mountdirectory ([325e1f4](https://github.com/kwonoj/emscripten-wasm-loader/commit/325e1f4)) * **unmount:** implement unmount ([19739d7](https://github.com/kwonoj/emscripten-wasm-loader/commit/19739d7)) <a name="2.0.0"></a> # [2.0.0](https://github.com/kwonoj/emscripten-wasm-loader/compare/v1.0.0...v2.0.0) (2018-07-11) ### Bug Fixes * **constructmodule:** deprecate environment ([5a39c45](https://github.com/kwonoj/emscripten-wasm-loader/commit/5a39c45)) * **getmoduleloader:** deprecate environment ([1fc7e3f](https://github.com/kwonoj/emscripten-wasm-loader/commit/1fc7e3f)) ### BREAKING CHANGES * **constructmodule:** no longer able to specify environment in runtime <a name="1.0.0"></a> # [1.0.0](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.8...v1.0.0) (2017-11-29) ### Features * **getmoduleloader:** drop custom binarypath support ([2f9fb92](https://github.com/kwonoj/emscripten-wasm-loader/commit/2f9fb92)) ### BREAKING CHANGES * **getmoduleloader:** Loader now accepts single file, native wasm module only <a name="0.0.8"></a> ## [0.0.8](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.7...v0.0.8) (2017-09-18) <a name="0.0.7"></a> ## [0.0.7](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.6...v0.0.7) (2017-09-17) ### Features * **constructmodule:** wire onAbort callback ([6440650](https://github.com/kwonoj/emscripten-wasm-loader/commit/6440650)) * **loadmodule:** enhance error handling ([4f3004f](https://github.com/kwonoj/emscripten-wasm-loader/commit/4f3004f)) <a name="0.0.6"></a> ## [0.0.6](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.5...v0.0.6) (2017-09-17) ### Features * **getmoduleloader:** forward environment to factoryloader ([244fdb9](https://github.com/kwonoj/emscripten-wasm-loader/commit/244fdb9)) <a name="0.0.5"></a> ## [0.0.5](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.4...v0.0.5) (2017-09-15) ### Bug Fixes * **environment:** correct environement for emscripten preamble ([8a65acf](https://github.com/kwonoj/emscripten-wasm-loader/commit/8a65acf)) <a name="0.0.4"></a> ## [0.0.4](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.3...v0.0.4) (2017-09-15) ### Bug Fixes * **constructmodule:** inject environment ([9f4b82a](https://github.com/kwonoj/emscripten-wasm-loader/commit/9f4b82a)) <a name="0.0.3"></a> ## [0.0.3](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.2...v0.0.3) (2017-09-15) <a name="0.0.2"></a> ## [0.0.2](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.1...v0.0.2) (2017-09-15) ### Bug Fixes * **asmruntimetype:** fix interface type ([cd087b1](https://github.com/kwonoj/emscripten-wasm-loader/commit/cd087b1)) <a name="0.0.1"></a> ## 0.0.1 (2017-09-15) ### Bug Fixes * **constructmodule:** correct node.js locatefile ([5680d7e](https://github.com/kwonoj/emscripten-wasm-loader/commit/5680d7e)) * **getmoduleloader:** correct wasm binary loading ([ccac577](https://github.com/kwonoj/emscripten-wasm-loader/commit/ccac577)) ### Features * **constructmodule:** implements constructmodule ([82a269f](https://github.com/kwonoj/emscripten-wasm-loader/commit/82a269f)) * **enum:** export enums ([400f8a9](https://github.com/kwonoj/emscripten-wasm-loader/commit/400f8a9)) * **getmoduleloader:** implements getmoduleloader ([d46c18d](https://github.com/kwonoj/emscripten-wasm-loader/commit/d46c18d)) * **index:** export interfaces ([a01a478](https://github.com/kwonoj/emscripten-wasm-loader/commit/a01a478)) * **index:** export interfaces ([f4a6933](https://github.com/kwonoj/emscripten-wasm-loader/commit/f4a6933)) * **isnode:** implements isNode ([115af40](https://github.com/kwonoj/emscripten-wasm-loader/commit/115af40)) * **iswasmenabled:** implements isWasmEnabled ([121d4b0](https://github.com/kwonoj/emscripten-wasm-loader/commit/121d4b0)) * **logger:** implements logger ([a902c4c](https://github.com/kwonoj/emscripten-wasm-loader/commit/a902c4c))