@php-wasm/web 1.0.7 → 1.0.8

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.
Files changed (2) hide show
  1. package/index.js +18 -18
  2. package/package.json +6 -6
package/index.js CHANGED
@@ -96,44 +96,44 @@ async function De(s = Le) {
96
96
  if (await ye())
97
97
  switch (s) {
98
98
  case "8.3":
99
- return await import("./jspi/php_8_3.js");
99
+ return await import("./php/jspi/php_8_3.js");
100
100
  case "8.2":
101
- return await import("./jspi/php_8_2.js");
101
+ return await import("./php/jspi/php_8_2.js");
102
102
  case "8.1":
103
- return await import("./jspi/php_8_1.js");
103
+ return await import("./php/jspi/php_8_1.js");
104
104
  case "8.0":
105
- return await import("./jspi/php_8_0.js");
105
+ return await import("./php/jspi/php_8_0.js");
106
106
  case "7.4":
107
- return await import("./jspi/php_7_4.js");
107
+ return await import("./php/jspi/php_7_4.js");
108
108
  case "7.3":
109
- return await import("./jspi/php_7_3.js");
109
+ return await import("./php/jspi/php_7_3.js");
110
110
  case "7.2":
111
- return await import("./jspi/php_7_2.js");
111
+ return await import("./php/jspi/php_7_2.js");
112
112
  case "7.1":
113
- return await import("./jspi/php_7_1.js");
113
+ return await import("./php/jspi/php_7_1.js");
114
114
  case "7.0":
115
- return await import("./jspi/php_7_0.js");
115
+ return await import("./php/jspi/php_7_0.js");
116
116
  }
117
117
  else
118
118
  switch (s) {
119
119
  case "8.3":
120
- return await import("./asyncify/php_8_3.js");
120
+ return await import("./php/asyncify/php_8_3.js");
121
121
  case "8.2":
122
- return await import("./asyncify/php_8_2.js");
122
+ return await import("./php/asyncify/php_8_2.js");
123
123
  case "8.1":
124
- return await import("./asyncify/php_8_1.js");
124
+ return await import("./php/asyncify/php_8_1.js");
125
125
  case "8.0":
126
- return await import("./asyncify/php_8_0.js");
126
+ return await import("./php/asyncify/php_8_0.js");
127
127
  case "7.4":
128
- return await import("./asyncify/php_7_4.js");
128
+ return await import("./php/asyncify/php_7_4.js");
129
129
  case "7.3":
130
- return await import("./asyncify/php_7_3.js");
130
+ return await import("./php/asyncify/php_7_3.js");
131
131
  case "7.2":
132
- return await import("./asyncify/php_7_2.js");
132
+ return await import("./php/asyncify/php_7_2.js");
133
133
  case "7.1":
134
- return await import("./asyncify/php_7_1.js");
134
+ return await import("./php/asyncify/php_7_1.js");
135
135
  case "7.0":
136
- return await import("./asyncify/php_7_0.js");
136
+ return await import("./php/asyncify/php_7_0.js");
137
137
  }
138
138
  throw new Error(`Unsupported PHP version ${s}`);
139
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/web",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "PHP.wasm for the web",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,7 +29,7 @@
29
29
  "type": "module",
30
30
  "main": "index.js",
31
31
  "types": "index.d.ts",
32
- "gitHead": "f58ee29986be25a64ad09c7dbfdd38b60284bc91",
32
+ "gitHead": "24129f2e086fc4c47d088f9e2cf0bcb661872cdd",
33
33
  "engines": {
34
34
  "node": ">=16.15.1",
35
35
  "npm": ">=8.11.0"
@@ -42,9 +42,9 @@
42
42
  "wasm-feature-detect": "1.8.0",
43
43
  "ws": "8.18.0",
44
44
  "yargs": "17.7.2",
45
- "@php-wasm/universal": "1.0.7",
46
- "@php-wasm/util": "1.0.7",
47
- "@php-wasm/logger": "1.0.7",
48
- "@php-wasm/fs-journal": "1.0.7"
45
+ "@php-wasm/universal": "1.0.8",
46
+ "@php-wasm/util": "1.0.8",
47
+ "@php-wasm/logger": "1.0.8",
48
+ "@php-wasm/fs-journal": "1.0.8"
49
49
  }
50
50
  }