From 6264904c570acefcf263ba4bb18a2f0f628ab257 Mon Sep 17 00:00:00 2001 From: Mark Lundin Date: Wed, 28 Feb 2024 14:37:44 +0000 Subject: [PATCH] Updated Firefox stats 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) --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 93743f00..a4d525ba 100644 --- a/README.md +++ b/README.md @@ -225,12 +225,11 @@ Browser Compatibility on baseline ES modules support **with** ES Module Shims: | [CSS Modules](#css-modules) | :heavy_check_mark:1 | :heavy_check_mark:1 | :heavy_check_mark:1 | | [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:2 | 15+ | +| [Module Workers](#module-workers) (via wrapper) | 63+ | ~113+ | 15+ | | Top-Level Await (unpolyfilled3) | 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: