@php-wasm/universal 1.0.20 → 1.0.22
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 +7 -7
- package/index.cjs.map +1 -1
- package/index.js +127 -118
- package/index.js.map +1 -1
- package/lib/php.d.ts +1 -1
- package/lib/supported-php-versions.d.ts +2 -2
- package/package.json +7 -7
package/lib/php.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ export declare class PHP implements Disposable {
|
|
|
317
317
|
* is fully decoupled from the request handler and
|
|
318
318
|
* accepts a constructor-level cwd argument.
|
|
319
319
|
*/
|
|
320
|
-
hotSwapPHPRuntime(runtime: number, cwd?: string): void
|
|
320
|
+
hotSwapPHPRuntime(runtime: number, cwd?: string): Promise<void>;
|
|
321
321
|
/**
|
|
322
322
|
* Mounts a filesystem to a given path in the PHP filesystem.
|
|
323
323
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SupportedPHPVersions: readonly ["8.3", "8.2", "8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0"];
|
|
2
|
-
export declare const LatestSupportedPHPVersion: "8.
|
|
1
|
+
export declare const SupportedPHPVersions: readonly ["8.4", "8.3", "8.2", "8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0"];
|
|
2
|
+
export declare const LatestSupportedPHPVersion: "8.4";
|
|
3
3
|
export declare const SupportedPHPVersionsList: string[];
|
|
4
4
|
export type SupportedPHPVersion = (typeof SupportedPHPVersions)[number];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/universal",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"description": "PHP.wasm – emscripten bindings for PHP",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"module": "./index.js",
|
|
38
38
|
"types": "index.d.ts",
|
|
39
39
|
"license": "GPL-2.0-or-later",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "94e1fcac04c4ec4499094c52c1e8d0c856cd58e7",
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18.18.0",
|
|
43
43
|
"npm": ">=8.11.0"
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"comlink": "^4.4.1",
|
|
47
47
|
"ini": "4.1.2",
|
|
48
|
-
"@php-wasm/node-polyfills": "1.0.
|
|
49
|
-
"@php-wasm/logger": "1.0.
|
|
50
|
-
"@php-wasm/util": "1.0.
|
|
51
|
-
"@php-wasm/stream-compression": "1.0.
|
|
52
|
-
"@php-wasm/progress": "1.0.
|
|
48
|
+
"@php-wasm/node-polyfills": "1.0.22",
|
|
49
|
+
"@php-wasm/logger": "1.0.22",
|
|
50
|
+
"@php-wasm/util": "1.0.22",
|
|
51
|
+
"@php-wasm/stream-compression": "1.0.22",
|
|
52
|
+
"@php-wasm/progress": "1.0.22"
|
|
53
53
|
}
|
|
54
54
|
}
|