@php-wasm/universal 3.1.22 → 3.1.25

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
@@ -36,7 +36,7 @@ export { rotatePHPRuntime } from './rotate-php-runtime';
36
36
  export { writeFiles } from './write-files';
37
37
  export type { FileTree } from './write-files';
38
38
  export { withResolvedPHPExtensions, installPHPExtensionFilesSync, PHP_EXTENSIONS_DIR, resolvePHPExtension, } from './load-extension';
39
- export type { InstallPHPExtensionFilesOptions, PHPExtensionExtraFiles, PHPExtensionIniDirective, PHPExtensionInstallOptions, ResolvedPHPExtension, PHPExtensionManifest, PHPExtensionManifestArtifact, PHPExtensionSource, PHPWasmAsyncMode, ResolvePHPExtensionOptions, } from './load-extension';
39
+ export type { InstallPHPExtensionFilesOptions, PHPExtensionExtraFiles, PHPExtensionIniDirective, PHPExtensionInstallOptions, ResolvedPHPExtension, PHPExtensionManifest, PHPExtensionManifestArtifact, PHPExtensionSource, ResolvePHPExtensionOptions, } from './load-extension';
40
40
  export { DEFAULT_BASE_URL, ensurePathPrefix, removePathPrefix, toRelativeUrl, } from './urls';
41
41
  export { isExitCode } from './is-exit-code';
42
42
  export { proxyFileSystem, isPathToSharedFS } from './proxy-file-system';
@@ -6,13 +6,6 @@ import type { FileTree } from './write-files';
6
6
  * writes their per-extension ini files.
7
7
  */
8
8
  export declare const PHP_EXTENSIONS_DIR = "/internal/shared/extensions";
9
- /**
10
- * Async mode used by the PHP.wasm build that will load the extension.
11
- *
12
- * Extension side modules must be compiled for the same mode as the main PHP
13
- * module.
14
- */
15
- export type PHPWasmAsyncMode = 'jspi' | 'asyncify';
16
9
  /**
17
10
  * The php.ini directive used to load the extension.
18
11
  *
@@ -28,10 +21,6 @@ export interface PHPExtensionManifestArtifact {
28
21
  * PHP major/minor version the artifact was compiled against, e.g. `8.4`.
29
22
  */
30
23
  phpVersion: string;
31
- /**
32
- * PHP.wasm async mode the artifact was compiled against.
33
- */
34
- asyncMode: PHPWasmAsyncMode;
35
24
  /**
36
25
  * Relative to the manifest URL/base URL, or an absolute URL.
37
26
  */
@@ -46,7 +35,7 @@ export interface PHPExtensionManifestArtifact {
46
35
  *
47
36
  * A manifest lets callers publish a matrix of `.so` files and lets
48
37
  * `resolvePHPExtension()` select the artifact that matches the current PHP
49
- * version and async mode.
38
+ * version. External extension artifacts are JSPI-only.
50
39
  */
51
40
  export interface PHPExtensionManifest {
52
41
  name: string;
@@ -172,7 +161,6 @@ export interface PHPExtensionInstallOptions {
172
161
  */
173
162
  export type ResolvePHPExtensionOptions = PHPExtensionInstallOptions & {
174
163
  phpVersion: string;
175
- asyncMode: PHPWasmAsyncMode;
176
164
  };
177
165
  /**
178
166
  * Inputs used to build the staged `.so` path and per-extension ini file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/universal",
3
- "version": "3.1.22",
3
+ "version": "3.1.25",
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": "04c986b63dd56fe74e4ed0cf04d00cae7ac050bf",
40
+ "gitHead": "e662afdd9a3b6dad3e194ad34d80421c539b7386",
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.22",
48
- "@php-wasm/util": "3.1.22",
49
- "@php-wasm/stream-compression": "3.1.22",
50
- "@php-wasm/progress": "3.1.22"
47
+ "@php-wasm/logger": "3.1.25",
48
+ "@php-wasm/util": "3.1.25",
49
+ "@php-wasm/stream-compression": "3.1.25",
50
+ "@php-wasm/progress": "3.1.25"
51
51
  },
52
52
  "packageManager": "npm@10.9.2",
53
53
  "overrides": {