es-module-shims 2.4.1 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/dist/es-module-shims-typescript.js +4 -3
- package/dist/es-module-shims.debug.js +1253 -1254
- package/dist/es-module-shims.js +1227 -1230
- package/dist/es-module-shims.wasm.js +1227 -1230
- package/index.d.ts +30 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ Because we are still using the native module loader the edge cases work out comp
|
|
|
30
30
|
Include ES Module Shims with a `async` attribute on the script, then include an import map and module scripts normally:
|
|
31
31
|
|
|
32
32
|
```html
|
|
33
|
-
<script async src="https://ga.jspm.io/npm:es-module-shims@2.
|
|
33
|
+
<script async src="https://ga.jspm.io/npm:es-module-shims@2.5.1/dist/es-module-shims.js"></script>
|
|
34
34
|
|
|
35
35
|
<!-- https://generator.jspm.io/#U2NhYGBkDM0rySzJSU1hKEpNTC5xMLTQM9Az0C1K1jMAAKFS5w0gAA -->
|
|
36
36
|
<script type="importmap">
|
|
@@ -520,7 +520,7 @@ In addition CSS files need to be served with a valid CSS content type.
|
|
|
520
520
|
|
|
521
521
|
Implements the [WebAssembly ESM Integration](https://github.com/WebAssembly/esm-integration) spec, including support for source phase imports.
|
|
522
522
|
|
|
523
|
-
In shim mode, Wasm modules are always supported. In polyfill mode, Wasm modules require the `polyfillEnable: ['wasm-module-sources']` (or `'wasm-
|
|
523
|
+
In shim mode, Wasm modules are always supported. In polyfill mode, Wasm modules require the `polyfillEnable: ['wasm-module-sources']` (or `'wasm-module-instances'` for instance imports) [init option](#polyfill-enable-option).
|
|
524
524
|
|
|
525
525
|
WebAssembly module exports are made available as module exports and WebAssembly module imports will be resolved using the browser module loader.
|
|
526
526
|
|
|
@@ -693,7 +693,6 @@ Provide a `esmsInitOptions` on the global scope before `es-module-shims` is load
|
|
|
693
693
|
* [nativePassthrough](#native-passthrough)
|
|
694
694
|
* [modulepreload](#modulepreload)
|
|
695
695
|
* [noLoadEventRetriggers](#no-load-event-retriggers)
|
|
696
|
-
* [globalLoadEventRetrigger](#global-load-event-retrigger)
|
|
697
696
|
* [nonce](#nonce)
|
|
698
697
|
* [onerror](#error-hook)
|
|
699
698
|
* [onpolyfill](#polyfill-hook)
|