- use
Object.hasOwn
which requires ES2022 or a polyfill
- decorateWorker requires Node 14+
- Functions provided to registerWorker can also return Promises
- Requires async await support
- Worker is a module by default
- Works with Deno
- Add arrayParallel.js
- Rename
built/worka_require.js
intobuilt/worka.cjs
- Rename
built/worka_script.js
intobuilt/worka.iife.js
- Move Changelog to changelog.md
- Symbols are exported individually
- work expects an object as argument
- for MULTI_FUNCTION, functionName is separated from name
- Move to ES Module first
- build-time decorateWorker exposed, FILE loadMode support
- built/worka_script.js and built/worka_require.js removed from git
- Use npm or run build yourself.
- Symbol is expected to be defined. Cleanup behaviour after error occurs, instead of never settled promised
- Now importable with require. See built/worka_require.js
- Run time errors inside the worker will cause the catch statement to be executed with the error message inside as String. See example/workaRunTimeError.html Syntax Errors are not managed (same as before)
- Now importable as script. See built/worka_script.js
- Renamed SYMBOLS into WORKA_SYMBOLS
- Do less when there is no web worker support
- add
.npmignore
for light npm install