Skip to content

Releases: developit/jsdom-worker

0.3.0

29 Aug 14:28
Compare
Choose a tag to compare

What's Changed

  • feat: switch worker.terminate to log warning instead of throwing error by @G07cha in #13

New Contributors

Full Changelog: 0.2.1...0.3.0

0.2.1

18 Jun 01:22
Compare
Choose a tag to compare
  • Switch from eval() to Function() for code evaluation (#6)
  • Fix self.onmessage detection (#9)
  • Re-install fetch mock if it's overwritten by Jest (#9)

0.2.0

18 Jun 00:46
Compare
Choose a tag to compare

Wow, two years! This release includes two changes:

  • importScripts() is now mocked by default. You'll want to add your own mock, but jest-worker won't error by default now. (#2, thanks @alexnoz)
  • A bugfix for worker scripts wrapped in an immediately-invoked functions (#3, thanks again @alexnoz)

0.1.0

31 Jan 21:31
Compare
Choose a tag to compare

Initial release!