Skip to content

Commit

Permalink
Updated Firefox stats (#412)
Browse files Browse the repository at this point in the history
It looks like Firefox supports dynamic import in Worker Contexts as of ~113. See [Bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1540913) and [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import#browser_compatibility)
  • Loading branch information
marklundin authored Mar 2, 2024
1 parent 3da7487 commit 37feb67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,11 @@ Browser Compatibility on baseline ES modules support **with** ES Module Shims:
| [CSS Modules](#css-modules) | :heavy_check_mark:<sup>1</sup> | :heavy_check_mark:<sup>1</sup> | :heavy_check_mark:<sup>1</sup> |
| [Wasm Modules](#wasm-modules) | 89+ | 89+ | 15+ |
| [import.meta.resolve](#resolve) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| [Module Workers](#module-workers) (via wrapper) | 63+ | :x:<sup>2</sup> | 15+ |
| [Module Workers](#module-workers) (via wrapper) | 63+ | ~113+ | 15+ |
| Top-Level Await (unpolyfilled<sup>3</sup>) | 89+ | 89+ | 15+ |

* 1: _CSS module support requires a separate [Constructable Stylesheets polyfill](https://github.com/calebdwilliams/construct-style-sheets#readme)._
* 2: _Module worker support cannot yet be implemented in Firefox due to no dynamic import support in web workers._
* 3: _Top-level await support is not currently polyfilled but is possible for ES Module Shims to implement for intermediate browser versions, with the feature request tracking in https://github.com/guybedford/es-module-shims/issues/5. The compatibility gap with native modules is currently < 5% of users so it may not even be necessary._
* 2: _Top-level await support is not currently polyfilled but is possible for ES Module Shims to implement for intermediate browser versions, with the feature request tracking in https://github.com/guybedford/es-module-shims/issues/5. The compatibility gap with native modules is currently < 5% of users so it may not even be necessary._

Browser compatibility **without** ES Module Shims:

Expand Down

0 comments on commit 37feb67

Please sign in to comment.