@php-wasm/web 3.1.33 → 3.1.35

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.
@@ -32,8 +32,10 @@ export type SyncProgress = {
32
32
  files: number;
33
33
  /** The number of all files that need to be synced. */
34
34
  total: number;
35
+ /** The current stage of the initial sync. */
36
+ phase?: 'copying' | 'flushing';
35
37
  };
36
- export type SyncProgressCallback = (progress: SyncProgress) => void;
38
+ export type SyncProgressCallback = (progress: SyncProgress) => void | Promise<void>;
37
39
  interface JournalFSEventsToOpfsOptions {
38
40
  maxFlushPasses?: number;
39
41
  }
@@ -140,4 +140,6 @@ export declare class RawBytesFetch {
140
140
  expectsContinue: boolean;
141
141
  }>;
142
142
  private static parseRequestHeaders;
143
+ private static expectsContinue;
144
+ private static normalizeRequestHeadersForFetch;
143
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/web",
3
- "version": "3.1.33",
3
+ "version": "3.1.35",
4
4
  "description": "PHP.wasm for the web",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,23 +39,23 @@
39
39
  "types": "index.d.ts",
40
40
  "dependencies": {
41
41
  "wasm-feature-detect": "1.8.0",
42
- "@php-wasm/util": "3.1.33",
43
- "@php-wasm/universal": "3.1.33",
44
- "@php-wasm/logger": "3.1.33",
45
- "@php-wasm/fs-journal": "3.1.33",
46
- "@wp-playground/storage": "3.1.33",
47
- "@php-wasm/web-8-5": "3.1.33",
48
- "@php-wasm/web-8-4": "3.1.33",
49
- "@php-wasm/web-8-3": "3.1.33",
50
- "@php-wasm/web-8-2": "3.1.33",
51
- "@php-wasm/web-8-1": "3.1.33",
52
- "@php-wasm/web-8-0": "3.1.33",
53
- "@php-wasm/web-7-4": "3.1.33",
54
- "@wp-playground/common": "3.1.33",
55
- "@php-wasm/web-5-2": "3.1.33",
56
- "@php-wasm/web-service-worker": "3.1.33"
42
+ "@php-wasm/util": "3.1.35",
43
+ "@php-wasm/universal": "3.1.35",
44
+ "@php-wasm/logger": "3.1.35",
45
+ "@php-wasm/fs-journal": "3.1.35",
46
+ "@wp-playground/storage": "3.1.35",
47
+ "@php-wasm/web-8-5": "3.1.35",
48
+ "@php-wasm/web-8-4": "3.1.35",
49
+ "@php-wasm/web-8-3": "3.1.35",
50
+ "@php-wasm/web-8-2": "3.1.35",
51
+ "@php-wasm/web-8-1": "3.1.35",
52
+ "@php-wasm/web-8-0": "3.1.35",
53
+ "@php-wasm/web-7-4": "3.1.35",
54
+ "@wp-playground/common": "3.1.35",
55
+ "@php-wasm/web-5-2": "3.1.35",
56
+ "@php-wasm/web-service-worker": "3.1.35"
57
57
  },
58
- "gitHead": "f80a40d763283d582f9b97b0d5eb59bf54d2a943",
58
+ "gitHead": "9d29b73246e12465902d8ce42c0fe747125bc69a",
59
59
  "engines": {
60
60
  "node": ">=20.10.0",
61
61
  "npm": ">=10.2.3"