@php-wasm/universal 2.0.10 → 2.0.11
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/index.cjs +3 -3
- package/index.cjs.map +1 -1
- package/index.js +35 -10
- package/index.js.map +1 -1
- package/lib/php-response.d.ts +5 -1
- package/package.json +7 -7
package/lib/php-response.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export declare class StreamedPHPResponse {
|
|
|
42
42
|
*/
|
|
43
43
|
readonly exitCode: Promise<number>;
|
|
44
44
|
private parsedHeaders;
|
|
45
|
-
private
|
|
45
|
+
private cachedStdoutBytes;
|
|
46
46
|
private cachedStderrText;
|
|
47
47
|
constructor(headers: ReadableStream<Uint8Array>, stdout: ReadableStream<Uint8Array>, stderr: ReadableStream<Uint8Array>, exitCode: Promise<number>);
|
|
48
48
|
/**
|
|
@@ -66,6 +66,10 @@ export declare class StreamedPHPResponse {
|
|
|
66
66
|
* Exposes the stdout bytes as they're produced by the PHP instance
|
|
67
67
|
*/
|
|
68
68
|
get stdoutText(): Promise<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Exposes the stdout bytes as they're produced by the PHP instance
|
|
71
|
+
*/
|
|
72
|
+
get stdoutBytes(): Promise<Uint8Array>;
|
|
69
73
|
/**
|
|
70
74
|
* Exposes the stderr bytes as they're produced by the PHP instance
|
|
71
75
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/universal",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "PHP.wasm – emscripten bindings for PHP",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"module": "./index.js",
|
|
38
38
|
"types": "index.d.ts",
|
|
39
39
|
"license": "GPL-2.0-or-later",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "537de170ea60139b84225bbf932ddf3afaf7e19a",
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20.18.3",
|
|
43
43
|
"npm": ">=10.1.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"ini": "4.1.2",
|
|
47
|
-
"@php-wasm/node-polyfills": "2.0.
|
|
48
|
-
"@php-wasm/logger": "2.0.
|
|
49
|
-
"@php-wasm/util": "2.0.
|
|
50
|
-
"@php-wasm/stream-compression": "2.0.
|
|
51
|
-
"@php-wasm/progress": "2.0.
|
|
47
|
+
"@php-wasm/node-polyfills": "2.0.11",
|
|
48
|
+
"@php-wasm/logger": "2.0.11",
|
|
49
|
+
"@php-wasm/util": "2.0.11",
|
|
50
|
+
"@php-wasm/stream-compression": "2.0.11",
|
|
51
|
+
"@php-wasm/progress": "2.0.11"
|
|
52
52
|
},
|
|
53
53
|
"overrides": {
|
|
54
54
|
"rollup": "^4.34.6",
|