@php-wasm/web 0.7.18 → 0.7.20
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.d.ts +1 -22
- package/index.js +440 -423
- package/kitchen-sink/7_0_33/php_7_0.wasm +0 -0
- package/kitchen-sink/7_1_30/php_7_1.wasm +0 -0
- package/kitchen-sink/7_2_34/php_7_2.wasm +0 -0
- package/kitchen-sink/7_3_33/php_7_3.wasm +0 -0
- package/kitchen-sink/7_4_33/php_7_4.wasm +0 -0
- package/kitchen-sink/8_0_30/php_8_0.wasm +0 -0
- package/kitchen-sink/8_1_23/php_8_1.wasm +0 -0
- package/kitchen-sink/8_2_10/php_8_2.wasm +0 -0
- package/kitchen-sink/8_3_0/php_8_3.wasm +0 -0
- package/kitchen-sink/php_7_0.js +3 -3
- package/kitchen-sink/php_7_1.js +3 -3
- package/kitchen-sink/php_7_2.js +3 -3
- package/kitchen-sink/php_7_3.js +3 -3
- package/kitchen-sink/php_7_4.js +3 -3
- package/kitchen-sink/php_8_0.js +3 -3
- package/kitchen-sink/php_8_1.js +3 -3
- package/kitchen-sink/php_8_2.js +3 -3
- package/kitchen-sink/php_8_3.js +3 -7313
- package/light/7_0_33/php_7_0.wasm +0 -0
- package/light/7_1_30/php_7_1.wasm +0 -0
- package/light/7_2_34/php_7_2.wasm +0 -0
- package/light/7_3_33/php_7_3.wasm +0 -0
- package/light/7_4_33/php_7_4.wasm +0 -0
- package/light/8_0_30/php_8_0.wasm +0 -0
- package/light/8_1_23/php_8_1.wasm +0 -0
- package/light/8_2_10/php_8_2.wasm +0 -0
- package/light/8_3_0/php_8_3.wasm +0 -0
- package/light/php_7_0.js +3 -3
- package/light/php_7_1.js +3 -3
- package/light/php_7_2.js +3 -3
- package/light/php_7_3.js +3 -3
- package/light/php_7_4.js +3 -3
- package/light/php_8_0.js +3 -3
- package/light/php_8_1.js +3 -3
- package/light/php_8_2.js +3 -3
- package/light/php_8_3.js +3 -7297
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -141,19 +141,6 @@ export interface IsomorphicLocalPHP {
|
|
|
141
141
|
* @param listener - The listener function to be removed.
|
|
142
142
|
*/
|
|
143
143
|
removeEventListener(eventType: PHPEvent["type"], listener: PHPEventListener): void;
|
|
144
|
-
/**
|
|
145
|
-
* Sets the path to the php.ini file to use for the PHP instance.
|
|
146
|
-
*
|
|
147
|
-
* @param path - The path to the php.ini file.
|
|
148
|
-
*/
|
|
149
|
-
setPhpIniPath(path: string): void;
|
|
150
|
-
/**
|
|
151
|
-
* Sets a value for a specific key in the php.ini file for the PHP instance.
|
|
152
|
-
*
|
|
153
|
-
* @param key - The key to set the value for.
|
|
154
|
-
* @param value - The value to set for the key.
|
|
155
|
-
*/
|
|
156
|
-
setPhpIniEntry(key: string, value: string): void;
|
|
157
144
|
/**
|
|
158
145
|
* Recursively creates a directory with the given path in the PHP filesystem.
|
|
159
146
|
* For example, if the path is `/root/php/data`, and `/root` already exists,
|
|
@@ -656,10 +643,6 @@ declare abstract class BasePHP implements IsomorphicLocalPHP, Disposable {
|
|
|
656
643
|
/** @inheritDoc */
|
|
657
644
|
setSapiName(newName: string): Promise<void>;
|
|
658
645
|
/** @inheritDoc */
|
|
659
|
-
setPhpIniPath(path: string): void;
|
|
660
|
-
/** @inheritDoc */
|
|
661
|
-
setPhpIniEntry(key: string, value: string): void;
|
|
662
|
-
/** @inheritDoc */
|
|
663
646
|
chdir(path: string): void;
|
|
664
647
|
/**
|
|
665
648
|
* Do not use. Use new PHPRequestHandler() instead.
|
|
@@ -825,7 +808,7 @@ declare class EmscriptenDownloadMonitor extends EventTarget {
|
|
|
825
808
|
/**
|
|
826
809
|
* A PHP client that can be used to run PHP code in the browser.
|
|
827
810
|
*/
|
|
828
|
-
export declare class WebPHPEndpoint implements Omit<IsomorphicLocalPHP, "setSapiName"
|
|
811
|
+
export declare class WebPHPEndpoint implements Omit<IsomorphicLocalPHP, "setSapiName"> {
|
|
829
812
|
/** @inheritDoc @php-wasm/universal!RequestHandler.absoluteUrl */
|
|
830
813
|
absoluteUrl: string;
|
|
831
814
|
/** @inheritDoc @php-wasm/universal!RequestHandler.documentRoot */
|
|
@@ -861,10 +844,6 @@ export declare class WebPHPEndpoint implements Omit<IsomorphicLocalPHP, "setSapi
|
|
|
861
844
|
chdir(path: string): void;
|
|
862
845
|
/** @inheritDoc @php-wasm/web!WebPHP.setSapiName */
|
|
863
846
|
setSapiName(newName: string): void;
|
|
864
|
-
/** @inheritDoc @php-wasm/web!WebPHP.setPhpIniPath */
|
|
865
|
-
setPhpIniPath(path: string): void;
|
|
866
|
-
/** @inheritDoc @php-wasm/web!WebPHP.setPhpIniEntry */
|
|
867
|
-
setPhpIniEntry(key: string, value: string): void;
|
|
868
847
|
/** @inheritDoc @php-wasm/web!WebPHP.mkdir */
|
|
869
848
|
mkdir(path: string): void;
|
|
870
849
|
/** @inheritDoc @php-wasm/web!WebPHP.mkdirTree */
|