@php-wasm/web 0.1.20 → 0.1.21

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.
@@ -1310,7 +1310,7 @@ function Te() {
1310
1310
  }), t;
1311
1311
  }
1312
1312
  const Ce = function() {
1313
- return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 ? "iframe" : "webworker";
1313
+ return navigator?.userAgent?.toLowerCase().indexOf("firefox") > -1 ? "iframe" : "webworker";
1314
1314
  }();
1315
1315
  async function Fe(t, e = "webworker", r = {}) {
1316
1316
  if (t = Ee(t, r), e === "webworker")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/web",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "PHP.wasm for the web",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,5 +29,5 @@
29
29
  "type": "module",
30
30
  "main": "index.js",
31
31
  "types": "index.d.ts",
32
- "gitHead": "bbe56ef04fa9740506efed428ef8c89de7223d96"
32
+ "gitHead": "f28412f5d32026c3d3030db0035c867bbf26d73c"
33
33
  }