@php-wasm/node 0.1.10 → 0.1.16
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 +35 -0
- package/index.d.ts +2 -1
- package/noop.cjs +1 -0
- package/package.json +3 -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.js +0 -36
- package/noop.js +0 -1
package/index.d.ts
CHANGED
|
@@ -321,7 +321,7 @@ export type EmscriptenOptions = {
|
|
|
321
321
|
} & Record<string, any>;
|
|
322
322
|
export type MountSettings = {
|
|
323
323
|
root: string;
|
|
324
|
-
mountpoint
|
|
324
|
+
mountpoint?: string;
|
|
325
325
|
};
|
|
326
326
|
/**
|
|
327
327
|
* An environment-agnostic wrapper around the Emscripten PHP runtime
|
|
@@ -347,6 +347,7 @@ export declare class PHP implements WithPHPIniBindings, WithFilesystem, WithNode
|
|
|
347
347
|
setPhpIniPath(path: string): void;
|
|
348
348
|
/** @inheritDoc */
|
|
349
349
|
setPhpIniEntry(key: string, value: string): void;
|
|
350
|
+
chdir(path: string): void;
|
|
350
351
|
/** @inheritDoc */
|
|
351
352
|
run(request?: PHPRequest): PHPResponse;
|
|
352
353
|
cli(argv: string[]): Promise<number>;
|
package/noop.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "PHP.wasm for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,10 +20,9 @@
|
|
|
20
20
|
"directory": "../../../dist/packages/php-wasm/node"
|
|
21
21
|
},
|
|
22
22
|
"license": "(GPL-2.0-or-later OR MPL-2.0)",
|
|
23
|
-
"
|
|
24
|
-
"gitHead": "14306190cd56668b951d2d4732f85963b729ef68",
|
|
23
|
+
"gitHead": "8de6da5b33182c74df8144316ea9a67aaa96973f",
|
|
25
24
|
"dependencies": {
|
|
26
25
|
"comlink": "4.4.1"
|
|
27
26
|
},
|
|
28
|
-
"main": "index.
|
|
27
|
+
"main": "index.cjs"
|
|
29
28
|
}
|
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
|