@php-wasm/node-8-2 3.1.2 → 3.1.4
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/asyncify/8_2_30/php_8_2.wasm +0 -0
- package/asyncify/php_8_2.js +595 -236
- package/index.cjs +6 -6
- package/index.js +6 -6
- package/jspi/8_2_30/php_8_2.wasm +0 -0
- package/jspi/extensions/intl/{8_2/intl.so → intl.so} +0 -0
- package/jspi/extensions/memcached/{8_2/memcached.so → memcached.so} +0 -0
- package/jspi/extensions/redis/{8_2/redis.so → redis.so} +0 -0
- package/jspi/extensions/xdebug/{8_2/xdebug.so → xdebug.so} +0 -0
- package/jspi/php_8_2.js +3776 -25400
- package/package.json +3 -3
- /package/asyncify/extensions/intl/{8_2/intl.la → intl.la} +0 -0
- /package/asyncify/extensions/intl/{8_2/intl.so → intl.so} +0 -0
- /package/asyncify/extensions/xdebug/{8_2/xdebug.la → xdebug.la} +0 -0
- /package/asyncify/extensions/xdebug/{8_2/xdebug.so → xdebug.so} +0 -0
- /package/jspi/extensions/intl/{8_2/intl.la → intl.la} +0 -0
- /package/jspi/extensions/memcached/{8_2/memcached.la → memcached.la} +0 -0
- /package/jspi/extensions/redis/{8_2/redis.la → redis.la} +0 -0
- /package/jspi/extensions/xdebug/{8_2/xdebug.la → xdebug.la} +0 -0
package/index.cjs
CHANGED
|
@@ -53,21 +53,21 @@ async function getPHPLoaderModule() {
|
|
|
53
53
|
}
|
|
54
54
|
async function getIntlExtensionPath() {
|
|
55
55
|
if (await (0, import_wasm_feature_detect.jspi)()) {
|
|
56
|
-
return (0, import_node_path.join)(packageDir, "jspi/extensions/intl/
|
|
56
|
+
return (0, import_node_path.join)(packageDir, "jspi/extensions/intl/intl.so");
|
|
57
57
|
} else {
|
|
58
|
-
return (0, import_node_path.join)(packageDir, "asyncify/extensions/intl/
|
|
58
|
+
return (0, import_node_path.join)(packageDir, "asyncify/extensions/intl/intl.so");
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
async function getXdebugExtensionPath() {
|
|
62
62
|
if (await (0, import_wasm_feature_detect.jspi)()) {
|
|
63
|
-
return (0, import_node_path.join)(packageDir, "jspi/extensions/xdebug/
|
|
63
|
+
return (0, import_node_path.join)(packageDir, "jspi/extensions/xdebug/xdebug.so");
|
|
64
64
|
} else {
|
|
65
|
-
return (0, import_node_path.join)(packageDir, "asyncify/extensions/xdebug/
|
|
65
|
+
return (0, import_node_path.join)(packageDir, "asyncify/extensions/xdebug/xdebug.so");
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
async function getRedisExtensionPath() {
|
|
69
69
|
if (await (0, import_wasm_feature_detect.jspi)()) {
|
|
70
|
-
return (0, import_node_path.join)(packageDir, "jspi/extensions/redis/
|
|
70
|
+
return (0, import_node_path.join)(packageDir, "jspi/extensions/redis/redis.so");
|
|
71
71
|
}
|
|
72
72
|
throw new Error(
|
|
73
73
|
"The Redis extension requires JSPI (JavaScript Promise Integration) support. Your current environment is using asyncify, which cannot properly handle exceptions during Redis network operations. Please use Node.js 23+ or a browser with JSPI support to use the Redis extension."
|
|
@@ -75,7 +75,7 @@ async function getRedisExtensionPath() {
|
|
|
75
75
|
}
|
|
76
76
|
async function getMemcachedExtensionPath() {
|
|
77
77
|
if (await (0, import_wasm_feature_detect.jspi)()) {
|
|
78
|
-
return (0, import_node_path.join)(packageDir, "jspi/extensions/memcached/
|
|
78
|
+
return (0, import_node_path.join)(packageDir, "jspi/extensions/memcached/memcached.so");
|
|
79
79
|
}
|
|
80
80
|
throw new Error(
|
|
81
81
|
"The Memcached extension requires JSPI (JavaScript Promise Integration) support. Your current environment is using asyncify, which cannot properly handle exceptions during Memcached network operations. Please use Node.js 23+ or a browser with JSPI support to use the Memcached extension."
|
package/index.js
CHANGED
|
@@ -14,21 +14,21 @@ async function getPHPLoaderModule() {
|
|
|
14
14
|
}
|
|
15
15
|
async function getIntlExtensionPath() {
|
|
16
16
|
if (await jspi()) {
|
|
17
|
-
return join(packageDir, "jspi/extensions/intl/
|
|
17
|
+
return join(packageDir, "jspi/extensions/intl/intl.so");
|
|
18
18
|
} else {
|
|
19
|
-
return join(packageDir, "asyncify/extensions/intl/
|
|
19
|
+
return join(packageDir, "asyncify/extensions/intl/intl.so");
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
async function getXdebugExtensionPath() {
|
|
23
23
|
if (await jspi()) {
|
|
24
|
-
return join(packageDir, "jspi/extensions/xdebug/
|
|
24
|
+
return join(packageDir, "jspi/extensions/xdebug/xdebug.so");
|
|
25
25
|
} else {
|
|
26
|
-
return join(packageDir, "asyncify/extensions/xdebug/
|
|
26
|
+
return join(packageDir, "asyncify/extensions/xdebug/xdebug.so");
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
async function getRedisExtensionPath() {
|
|
30
30
|
if (await jspi()) {
|
|
31
|
-
return join(packageDir, "jspi/extensions/redis/
|
|
31
|
+
return join(packageDir, "jspi/extensions/redis/redis.so");
|
|
32
32
|
}
|
|
33
33
|
throw new Error(
|
|
34
34
|
"The Redis extension requires JSPI (JavaScript Promise Integration) support. Your current environment is using asyncify, which cannot properly handle exceptions during Redis network operations. Please use Node.js 23+ or a browser with JSPI support to use the Redis extension."
|
|
@@ -36,7 +36,7 @@ async function getRedisExtensionPath() {
|
|
|
36
36
|
}
|
|
37
37
|
async function getMemcachedExtensionPath() {
|
|
38
38
|
if (await jspi()) {
|
|
39
|
-
return join(packageDir, "jspi/extensions/memcached/
|
|
39
|
+
return join(packageDir, "jspi/extensions/memcached/memcached.so");
|
|
40
40
|
}
|
|
41
41
|
throw new Error(
|
|
42
42
|
"The Memcached extension requires JSPI (JavaScript Promise Integration) support. Your current environment is using asyncify, which cannot properly handle exceptions during Memcached network operations. Please use Node.js 23+ or a browser with JSPI support to use the Memcached extension."
|
package/jspi/8_2_30/php_8_2.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|