An open API service providing repository metadata for many open source software ecosystems.

GitHub / scala-js / scala-js-macrotask-executor

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scala-js%2Fscala-js-macrotask-executor
PURL: pkg:github/scala-js/scala-js-macrotask-executor

Stars: 34
Forks: 7
Open issues: 9

License: apache-2.0
Language: Scala
Size: 187 KB
Dependencies parsed at: Pending

Created at: about 4 years ago
Updated at: 8 months ago
Pushed at: 9 months ago
Last synced at: 4 months ago

Commit Stats

Commits: 125
Authors: 6
Mean commits per author: 20.83
Development Distribution Score: 0.608
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/scala-js/scala-js-macrotask-executor

Releases
v1.1.0

v1.1.0

  • Updated to Scala 3.1.3
over 3 years ago
Download
v1.0.0

v1.0.0

This release is functionally-equivalent to v0.2.0, and we consider the code to be production-stable at this point. Please share and enjoy!

about 4 years ago
Download
v0.2.0

v0.2.0

This release is expected to be the final pre-1.0 release of the macrotask-executor project. It is fully source- and binary-compatible with 0.1.0, and it is expected that 1.0.0 will retain this same property.

The primary changes from 0.1.0 in this release are support for Scala 2.11(!!) and polyfill support for the JSDOM test environment. The JSDOM environment was previously supported in terms of functionality, but only due to the fallback to setTimeout, meaning that all JSDOM usage was quite slow. Thanks to some creative sandbox breaking, we now utilize the Node.js setImmediate function from the host environment when running under JSDOM, which allows for much higher performance (and thus, much faster tests!). This also allowed us to reenable the internal-facing regression tests which verify that the polyfill is in fact working and avoiding timeout clamping.

The primary expected changes between now and 1.0 will focus on testing in more environments (e.g. Safari on macOS) and any resultant hardening and bugfixing.

User-Facing Pull Requests

  • #23 – Cross-build for Scala 2.11 (@armanbilge)
  • #22 – Make Undefined a final val so that it can be constant-folded (@sjrd)
  • #17 – Implement polyfill for JSDOM (@armanbilge)
  • #15 – Add README reference about micro/macrotask queues (@armanbilge)

Thank you, everyone!

about 4 years ago
Download
v0.1.0

v0.1.0

Initial port and release of the PolyfillExecutionContext from Cats Effect! The code itself is already highly stable and well-tested, so we expect to progress towards a 1.0.0 very soon.

Very special thanks to @armanbilge for doing the lion’s share of the work, particularly with respect to web worker support!

about 4 years ago
Download