@zntc/wasm 0.1.3 → 0.1.5

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/dist/index.js CHANGED
@@ -28,7 +28,7 @@ function targetToUnsupported(target) {
28
28
  }
29
29
  function buildOptionsJson(opts = {}, unsupportedOverride) {
30
30
  const payload = {};
31
- if (opts.target)
31
+ if (opts.target && ES_TARGET_BITS[opts.target] !== undefined)
32
32
  payload.target = opts.target;
33
33
  if (unsupportedOverride !== undefined && unsupportedOverride !== 0)
34
34
  payload.unsupported = unsupportedOverride;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zntc/wasm",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "ZNTC native transpiler & compiler — WASM build",
5
5
  "keywords": [
6
6
  "browser",
package/zntc-bundler.wasm CHANGED
Binary file
package/zntc.wasm CHANGED
Binary file