@php-wasm/web 0.5.5 → 0.5.6

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -189,8 +189,8 @@ CLI option:
189
189
  `, Se = "\x1B[41m", pt = "\x1B[1m", ke = "\x1B[0m", _e = "\x1B[K";
190
190
  let Te = !1;
191
191
  function mt(t) {
192
- if (!Te) {
193
- Te = !0, console.log(`${Se}
192
+ if (!Te && (Te = !0, !(t != null && t.trim().startsWith("Program terminated with exit")))) {
193
+ console.log(`${Se}
194
194
  ${_e}
195
195
  ${pt} WASM ERROR${ke}${Se}`);
196
196
  for (const e of t.split(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/web",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "PHP.wasm for the web",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,15 +29,15 @@
29
29
  "type": "module",
30
30
  "main": "index.js",
31
31
  "types": "index.d.ts",
32
- "gitHead": "1ec8131ad189a9d77ec1ecbfdf0f82abb6aeb96a",
32
+ "gitHead": "72e190ebb407051ccb5ef544e2a62018395395a0",
33
33
  "engines": {
34
34
  "node": ">=16.15.1",
35
35
  "npm": ">=8.11.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "comlink": "^4.4.1",
39
- "@php-wasm/universal": "0.5.5",
40
- "@php-wasm/web-service-worker": "0.5.5",
41
- "@php-wasm/progress": "0.5.5"
39
+ "@php-wasm/universal": "0.5.6",
40
+ "@php-wasm/web-service-worker": "0.5.6",
41
+ "@php-wasm/progress": "0.5.6"
42
42
  }
43
43
  }