@php-wasm/web 0.7.19 → 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.
Files changed (39) hide show
  1. package/index.d.ts +1 -22
  2. package/index.js +440 -423
  3. package/kitchen-sink/7_0_33/php_7_0.wasm +0 -0
  4. package/kitchen-sink/7_1_30/php_7_1.wasm +0 -0
  5. package/kitchen-sink/7_2_34/php_7_2.wasm +0 -0
  6. package/kitchen-sink/7_3_33/php_7_3.wasm +0 -0
  7. package/kitchen-sink/7_4_33/php_7_4.wasm +0 -0
  8. package/kitchen-sink/8_0_30/php_8_0.wasm +0 -0
  9. package/kitchen-sink/8_1_23/php_8_1.wasm +0 -0
  10. package/kitchen-sink/8_2_10/php_8_2.wasm +0 -0
  11. package/kitchen-sink/8_3_0/php_8_3.wasm +0 -0
  12. package/kitchen-sink/php_7_0.js +3 -3
  13. package/kitchen-sink/php_7_1.js +3 -3
  14. package/kitchen-sink/php_7_2.js +3 -3
  15. package/kitchen-sink/php_7_3.js +3 -3
  16. package/kitchen-sink/php_7_4.js +3 -3
  17. package/kitchen-sink/php_8_0.js +3 -3
  18. package/kitchen-sink/php_8_1.js +3 -3
  19. package/kitchen-sink/php_8_2.js +3 -3
  20. package/kitchen-sink/php_8_3.js +3 -7313
  21. package/light/7_0_33/php_7_0.wasm +0 -0
  22. package/light/7_1_30/php_7_1.wasm +0 -0
  23. package/light/7_2_34/php_7_2.wasm +0 -0
  24. package/light/7_3_33/php_7_3.wasm +0 -0
  25. package/light/7_4_33/php_7_4.wasm +0 -0
  26. package/light/8_0_30/php_8_0.wasm +0 -0
  27. package/light/8_1_23/php_8_1.wasm +0 -0
  28. package/light/8_2_10/php_8_2.wasm +0 -0
  29. package/light/8_3_0/php_8_3.wasm +0 -0
  30. package/light/php_7_0.js +3 -3
  31. package/light/php_7_1.js +3 -3
  32. package/light/php_7_2.js +3 -3
  33. package/light/php_7_3.js +3 -3
  34. package/light/php_7_4.js +3 -3
  35. package/light/php_8_0.js +3 -3
  36. package/light/php_8_1.js +3 -3
  37. package/light/php_8_2.js +3 -3
  38. package/light/php_8_3.js +3 -7297
  39. 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" | "setPhpIniEntry" | "setPhpIniPath"> {
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 */