@php-wasm/node 0.1.32 → 0.1.39
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 +68295 -41
- package/index.d.ts +7 -1
- package/package.json +5 -4
- package/php_5_6.wasm +0 -0
- package/php_7_0.wasm +0 -0
- package/php_7_1.wasm +0 -0
- package/php_7_2.wasm +0 -0
- package/php_7_3.wasm +0 -0
- package/php_7_4.wasm +0 -0
- package/php_8_0.wasm +0 -0
- package/php_8_1.wasm +0 -0
- package/php_8_2.wasm +0 -0
package/index.d.ts
CHANGED
|
@@ -146,7 +146,8 @@ export interface RequestHandler {
|
|
|
146
146
|
*/
|
|
147
147
|
absoluteUrl: string;
|
|
148
148
|
/**
|
|
149
|
-
* The
|
|
149
|
+
* The directory in the PHP filesystem where the server will look
|
|
150
|
+
* for the files to serve. Default: `/var/www`.
|
|
150
151
|
*/
|
|
151
152
|
documentRoot: string;
|
|
152
153
|
}
|
|
@@ -443,12 +444,17 @@ export type PHPLoaderModule = {
|
|
|
443
444
|
};
|
|
444
445
|
export type EmscriptenOptions = {
|
|
445
446
|
onAbort?: (message: string) => void;
|
|
447
|
+
/**
|
|
448
|
+
* Set to true for debugging tricky WebAssembly errors.
|
|
449
|
+
*/
|
|
450
|
+
debug?: boolean;
|
|
446
451
|
ENV?: Record<string, string>;
|
|
447
452
|
locateFile?: (path: string) => string;
|
|
448
453
|
noInitialRun?: boolean;
|
|
449
454
|
dataFileDownloads?: Record<string, number>;
|
|
450
455
|
print?: (message: string) => void;
|
|
451
456
|
printErr?: (message: string) => void;
|
|
457
|
+
quit?: (status: number, toThrow: any) => void;
|
|
452
458
|
onRuntimeInitialized?: () => void;
|
|
453
459
|
monitorRunDependencies?: (left: number) => void;
|
|
454
460
|
} & Record<string, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
4
4
|
"description": "PHP.wasm for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,14 +25,15 @@
|
|
|
25
25
|
"access": "public",
|
|
26
26
|
"directory": "../../../dist/packages/php-wasm/node"
|
|
27
27
|
},
|
|
28
|
-
"license": "
|
|
28
|
+
"license": "GPL-2.0-or-later",
|
|
29
29
|
"main": "index.cjs",
|
|
30
30
|
"types": "index.d.ts",
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "18dcdc0d24417bf9207e113d4832229e80c68a28",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"comlink": "4.4.1",
|
|
34
34
|
"express": "4.18.2",
|
|
35
35
|
"ws": "8.13.0",
|
|
36
|
-
"@php-wasm/universal": "0.1.
|
|
36
|
+
"@php-wasm/universal": "0.1.39",
|
|
37
|
+
"@php-wasm/util": "0.1.37"
|
|
37
38
|
}
|
|
38
39
|
}
|
package/php_5_6.wasm
CHANGED
|
Binary file
|
package/php_7_0.wasm
CHANGED
|
Binary file
|
package/php_7_1.wasm
CHANGED
|
Binary file
|
package/php_7_2.wasm
CHANGED
|
Binary file
|
package/php_7_3.wasm
CHANGED
|
Binary file
|
package/php_7_4.wasm
CHANGED
|
Binary file
|
package/php_8_0.wasm
CHANGED
|
Binary file
|
package/php_8_1.wasm
CHANGED
|
Binary file
|
package/php_8_2.wasm
CHANGED
|
Binary file
|