@php-wasm/universal 3.1.35 → 3.1.36

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/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.35",
3
+ "version": "3.1.36",
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": "9d29b73246e12465902d8ce42c0fe747125bc69a",
40
+ "gitHead": "371f4fd6f9d56af6fb35b6c2cf0267edaea83755",
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.35",
48
- "@php-wasm/util": "3.1.35",
49
- "@php-wasm/stream-compression": "3.1.35",
50
- "@php-wasm/progress": "3.1.35"
47
+ "@php-wasm/logger": "3.1.36",
48
+ "@php-wasm/util": "3.1.36",
49
+ "@php-wasm/stream-compression": "3.1.36",
50
+ "@php-wasm/progress": "3.1.36"
51
51
  },
52
52
  "packageManager": "npm@10.9.2",
53
53
  "overrides": {