@php-wasm/universal 3.1.35 → 3.1.38
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 +2 -2
- package/index.cjs.map +1 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/supported-php-versions.d.ts +8 -2
- package/package.json +8 -7
package/lib/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export type { MaxPhpInstancesError, PHPFactory, PHPFactoryOptions, ProcessManage
|
|
|
21
21
|
export { PHPResponse, StreamedPHPResponse } from './php-response';
|
|
22
22
|
export type { PHPResponseData } from './php-response';
|
|
23
23
|
export type { ErrnoError } from './rethrow-file-system-error';
|
|
24
|
-
export { AllPHPVersions, isLegacyPHPVersion, LatestSupportedPHPVersion, LegacyPHPVersions, SupportedPHPVersions, SupportedPHPVersionsList, } from './supported-php-versions';
|
|
24
|
+
export { AllPHPVersions, PHPNextVersion, isLegacyPHPVersion, isPHPNextVersion, LatestSupportedPHPVersion, LegacyPHPVersions, SupportedPHPVersions, SupportedPHPVersionsList, } from './supported-php-versions';
|
|
25
25
|
export type { AllPHPVersion, LegacyPHPVersion, SupportedPHPVersion, } from './supported-php-versions';
|
|
26
26
|
export { createLegacyPhpIniPreRunStep, LEGACY_PHP_INI_CONTENT, LEGACY_PHP_INI_PATH, } from './legacy-php-ini';
|
|
27
27
|
export { PHP, __private__dont__use, PHPExecutionFailureError } from './php';
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
+
export declare const PHPNextVersion = "next";
|
|
2
|
+
export type PHPNextVersion = typeof PHPNextVersion;
|
|
1
3
|
export declare const SupportedPHPVersions: readonly ["8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.4"];
|
|
2
4
|
export declare const LatestSupportedPHPVersion: "8.5";
|
|
3
5
|
export declare const SupportedPHPVersionsList: string[];
|
|
4
6
|
export type SupportedPHPVersion = (typeof SupportedPHPVersions)[number];
|
|
5
7
|
export declare const LegacyPHPVersions: readonly ["5.2"];
|
|
6
8
|
export type LegacyPHPVersion = (typeof LegacyPHPVersions)[number];
|
|
9
|
+
/**
|
|
10
|
+
* Type guard for the PHP next build pseudo-version.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isPHPNextVersion(version: string | undefined): version is PHPNextVersion;
|
|
7
13
|
/**
|
|
8
14
|
* Type guard for legacy PHP versions. Lets callers narrow a string
|
|
9
15
|
* to `LegacyPHPVersion` without the `as readonly string[]` cast that
|
|
10
16
|
* would otherwise be required to satisfy `Array.prototype.includes`.
|
|
11
17
|
*/
|
|
12
18
|
export declare function isLegacyPHPVersion(version: string | undefined): version is LegacyPHPVersion;
|
|
13
|
-
export declare const AllPHPVersions: readonly ["8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.4", "5.2"];
|
|
14
|
-
export type AllPHPVersion = SupportedPHPVersion | LegacyPHPVersion;
|
|
19
|
+
export declare const AllPHPVersions: readonly ["next", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.4", "5.2"];
|
|
20
|
+
export type AllPHPVersion = PHPNextVersion | SupportedPHPVersion | LegacyPHPVersion;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/universal",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.38",
|
|
4
4
|
"description": "PHP.wasm – emscripten bindings for PHP",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"module": "./index.js",
|
|
38
38
|
"types": "index.d.ts",
|
|
39
39
|
"license": "GPL-2.0-or-later",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "2850a2a6f512e68e68407f4a9426dad705b426f0",
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20.10.0",
|
|
43
43
|
"npm": ">=10.2.3"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"ini": "4.1.2",
|
|
47
|
-
"@php-wasm/logger": "3.1.
|
|
48
|
-
"@php-wasm/util": "3.1.
|
|
49
|
-
"@php-wasm/stream-compression": "3.1.
|
|
50
|
-
"@php-wasm/progress": "3.1.
|
|
47
|
+
"@php-wasm/logger": "3.1.38",
|
|
48
|
+
"@php-wasm/util": "3.1.38",
|
|
49
|
+
"@php-wasm/stream-compression": "3.1.38",
|
|
50
|
+
"@php-wasm/progress": "3.1.38"
|
|
51
51
|
},
|
|
52
52
|
"packageManager": "npm@10.9.2",
|
|
53
53
|
"overrides": {
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"form-data": "^4.0.4",
|
|
61
61
|
"lodash": "^4.17.23",
|
|
62
62
|
"glob": "^9.3.0",
|
|
63
|
-
"webpackbar": "^7.0.0"
|
|
63
|
+
"webpackbar": "^7.0.0",
|
|
64
|
+
"ws": "8.21.0"
|
|
64
65
|
}
|
|
65
66
|
}
|