@php-wasm/web-5-2 3.1.44 → 3.1.46

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.
@@ -7192,6 +7192,13 @@ export function init(RuntimeName, PHPLoader) {
7192
7192
  }
7193
7193
  const interval = setInterval(pump, 20);
7194
7194
  pump();
7195
+ } else {
7196
+ /**
7197
+ * Descriptor 0 was not provided, so the child process must observe EOF.
7198
+ * Closing stdin explicitly lets spawn handlers distinguish that case from
7199
+ * a valid pipe whose first bytes have not arrived yet.
7200
+ */
7201
+ cp.stdin.end();
7195
7202
  }
7196
7203
  return ProcInfo.pid;
7197
7204
  });
package/jspi/php_5_2.js CHANGED
@@ -7145,6 +7145,13 @@ export function init(RuntimeName, PHPLoader) {
7145
7145
  }
7146
7146
  const interval = setInterval(pump, 20);
7147
7147
  pump();
7148
+ } else {
7149
+ /**
7150
+ * Descriptor 0 was not provided, so the child process must observe EOF.
7151
+ * Closing stdin explicitly lets spawn handlers distinguish that case from
7152
+ * a valid pipe whose first bytes have not arrived yet.
7153
+ */
7154
+ cp.stdin.end();
7148
7155
  }
7149
7156
  return ProcInfo.pid;
7150
7157
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/web-5-2",
3
- "version": "3.1.44",
3
+ "version": "3.1.46",
4
4
  "description": "PHP 5.2 WebAssembly binaries for web (legacy)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,10 +35,10 @@
35
35
  "node": ">=20.10.0",
36
36
  "npm": ">=10.2.3"
37
37
  },
38
- "gitHead": "0dbdfe5a210d28802052ef7023d385eb005ff7a4",
38
+ "gitHead": "581c7c172428159eb4e6c5309054a568cd39a97a",
39
39
  "dependencies": {
40
40
  "wasm-feature-detect": "1.8.0",
41
- "@php-wasm/universal": "3.1.44"
41
+ "@php-wasm/universal": "3.1.46"
42
42
  },
43
43
  "packageManager": "npm@10.9.2",
44
44
  "overrides": {