@php-wasm/node 2.0.3 → 2.0.5
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/7_2_34/php_7_2.wasm +0 -0
- package/asyncify/7_3_33/php_7_3.wasm +0 -0
- package/asyncify/7_4_33/php_7_4.wasm +0 -0
- package/asyncify/8_0_30/php_8_0.wasm +0 -0
- package/asyncify/8_1_33/php_8_1.wasm +0 -0
- package/asyncify/8_2_29/php_8_2.wasm +0 -0
- package/asyncify/8_3_23/php_8_3.wasm +0 -0
- package/asyncify/8_4_10/php_8_4.wasm +0 -0
- package/asyncify/php_7_2.js +472 -188
- package/asyncify/php_7_3.js +469 -185
- package/asyncify/php_7_4.js +476 -192
- package/asyncify/php_8_0.js +469 -185
- package/asyncify/php_8_1.js +469 -185
- package/asyncify/php_8_2.js +469 -185
- package/asyncify/php_8_3.js +469 -185
- package/asyncify/php_8_4.js +469 -185
- package/index.cjs +34 -754
- package/index.js +34 -754
- package/jspi/7_2_34/php_7_2.wasm +0 -0
- package/jspi/7_3_33/php_7_3.wasm +0 -0
- package/jspi/7_4_33/php_7_4.wasm +0 -0
- package/jspi/8_0_30/php_8_0.wasm +0 -0
- package/jspi/8_1_33/php_8_1.wasm +0 -0
- package/jspi/8_2_29/php_8_2.wasm +0 -0
- package/jspi/8_3_23/php_8_3.wasm +0 -0
- package/jspi/8_4_10/php_8_4.wasm +0 -0
- package/jspi/php_7_2.js +2 -1
- package/jspi/php_7_3.js +2 -1
- package/jspi/php_7_4.js +2 -1
- package/jspi/php_8_0.js +2 -1
- package/jspi/php_8_1.js +2 -1
- package/jspi/php_8_2.js +2 -1
- package/jspi/php_8_3.js +2 -1
- package/jspi/php_8_4.js +2 -1
- package/package.json +7 -7
package/jspi/7_2_34/php_7_2.wasm
CHANGED
|
Binary file
|
package/jspi/7_3_33/php_7_3.wasm
CHANGED
|
Binary file
|
package/jspi/7_4_33/php_7_4.wasm
CHANGED
|
Binary file
|
package/jspi/8_0_30/php_8_0.wasm
CHANGED
|
Binary file
|
package/jspi/8_1_33/php_8_1.wasm
CHANGED
|
Binary file
|
package/jspi/8_2_29/php_8_2.wasm
CHANGED
|
Binary file
|
package/jspi/8_3_23/php_8_3.wasm
CHANGED
|
Binary file
|
package/jspi/8_4_10/php_8_4.wasm
CHANGED
|
Binary file
|
package/jspi/php_7_2.js
CHANGED
|
@@ -7252,6 +7252,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7252
7252
|
return -ERRNO_CODES.EBADF;
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
const flockStructAddr = syscallGetVarargP();
|
|
7256
|
+
|
|
7255
7257
|
if (!locking.is_path_to_shared_fs(vfsPath)) {
|
|
7256
7258
|
_js_wasm_trace(
|
|
7257
7259
|
"fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
|
|
@@ -7267,7 +7269,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7267
7269
|
return 0;
|
|
7268
7270
|
}
|
|
7269
7271
|
|
|
7270
|
-
const flockStructAddr = syscallGetVarargP();
|
|
7271
7272
|
const flockStruct = read_flock_struct(flockStructAddr);
|
|
7272
7273
|
|
|
7273
7274
|
if (!(flockStruct.l_type in locking.fcntlToLockState)) {
|
package/jspi/php_7_3.js
CHANGED
|
@@ -7252,6 +7252,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7252
7252
|
return -ERRNO_CODES.EBADF;
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
const flockStructAddr = syscallGetVarargP();
|
|
7256
|
+
|
|
7255
7257
|
if (!locking.is_path_to_shared_fs(vfsPath)) {
|
|
7256
7258
|
_js_wasm_trace(
|
|
7257
7259
|
"fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
|
|
@@ -7267,7 +7269,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7267
7269
|
return 0;
|
|
7268
7270
|
}
|
|
7269
7271
|
|
|
7270
|
-
const flockStructAddr = syscallGetVarargP();
|
|
7271
7272
|
const flockStruct = read_flock_struct(flockStructAddr);
|
|
7272
7273
|
|
|
7273
7274
|
if (!(flockStruct.l_type in locking.fcntlToLockState)) {
|
package/jspi/php_7_4.js
CHANGED
|
@@ -7252,6 +7252,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7252
7252
|
return -ERRNO_CODES.EBADF;
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
const flockStructAddr = syscallGetVarargP();
|
|
7256
|
+
|
|
7255
7257
|
if (!locking.is_path_to_shared_fs(vfsPath)) {
|
|
7256
7258
|
_js_wasm_trace(
|
|
7257
7259
|
"fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
|
|
@@ -7267,7 +7269,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7267
7269
|
return 0;
|
|
7268
7270
|
}
|
|
7269
7271
|
|
|
7270
|
-
const flockStructAddr = syscallGetVarargP();
|
|
7271
7272
|
const flockStruct = read_flock_struct(flockStructAddr);
|
|
7272
7273
|
|
|
7273
7274
|
if (!(flockStruct.l_type in locking.fcntlToLockState)) {
|
package/jspi/php_8_0.js
CHANGED
|
@@ -7252,6 +7252,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7252
7252
|
return -ERRNO_CODES.EBADF;
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
const flockStructAddr = syscallGetVarargP();
|
|
7256
|
+
|
|
7255
7257
|
if (!locking.is_path_to_shared_fs(vfsPath)) {
|
|
7256
7258
|
_js_wasm_trace(
|
|
7257
7259
|
"fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
|
|
@@ -7267,7 +7269,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7267
7269
|
return 0;
|
|
7268
7270
|
}
|
|
7269
7271
|
|
|
7270
|
-
const flockStructAddr = syscallGetVarargP();
|
|
7271
7272
|
const flockStruct = read_flock_struct(flockStructAddr);
|
|
7272
7273
|
|
|
7273
7274
|
if (!(flockStruct.l_type in locking.fcntlToLockState)) {
|
package/jspi/php_8_1.js
CHANGED
|
@@ -7252,6 +7252,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7252
7252
|
return -ERRNO_CODES.EBADF;
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
const flockStructAddr = syscallGetVarargP();
|
|
7256
|
+
|
|
7255
7257
|
if (!locking.is_path_to_shared_fs(vfsPath)) {
|
|
7256
7258
|
_js_wasm_trace(
|
|
7257
7259
|
"fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
|
|
@@ -7267,7 +7269,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7267
7269
|
return 0;
|
|
7268
7270
|
}
|
|
7269
7271
|
|
|
7270
|
-
const flockStructAddr = syscallGetVarargP();
|
|
7271
7272
|
const flockStruct = read_flock_struct(flockStructAddr);
|
|
7272
7273
|
|
|
7273
7274
|
if (!(flockStruct.l_type in locking.fcntlToLockState)) {
|
package/jspi/php_8_2.js
CHANGED
|
@@ -7252,6 +7252,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7252
7252
|
return -ERRNO_CODES.EBADF;
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
const flockStructAddr = syscallGetVarargP();
|
|
7256
|
+
|
|
7255
7257
|
if (!locking.is_path_to_shared_fs(vfsPath)) {
|
|
7256
7258
|
_js_wasm_trace(
|
|
7257
7259
|
"fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
|
|
@@ -7267,7 +7269,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7267
7269
|
return 0;
|
|
7268
7270
|
}
|
|
7269
7271
|
|
|
7270
|
-
const flockStructAddr = syscallGetVarargP();
|
|
7271
7272
|
const flockStruct = read_flock_struct(flockStructAddr);
|
|
7272
7273
|
|
|
7273
7274
|
if (!(flockStruct.l_type in locking.fcntlToLockState)) {
|
package/jspi/php_8_3.js
CHANGED
|
@@ -7252,6 +7252,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7252
7252
|
return -ERRNO_CODES.EBADF;
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
const flockStructAddr = syscallGetVarargP();
|
|
7256
|
+
|
|
7255
7257
|
if (!locking.is_path_to_shared_fs(vfsPath)) {
|
|
7256
7258
|
_js_wasm_trace(
|
|
7257
7259
|
"fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
|
|
@@ -7267,7 +7269,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7267
7269
|
return 0;
|
|
7268
7270
|
}
|
|
7269
7271
|
|
|
7270
|
-
const flockStructAddr = syscallGetVarargP();
|
|
7271
7272
|
const flockStruct = read_flock_struct(flockStructAddr);
|
|
7272
7273
|
|
|
7273
7274
|
if (!(flockStruct.l_type in locking.fcntlToLockState)) {
|
package/jspi/php_8_4.js
CHANGED
|
@@ -7252,6 +7252,8 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7252
7252
|
return -ERRNO_CODES.EBADF;
|
|
7253
7253
|
}
|
|
7254
7254
|
|
|
7255
|
+
const flockStructAddr = syscallGetVarargP();
|
|
7256
|
+
|
|
7255
7257
|
if (!locking.is_path_to_shared_fs(vfsPath)) {
|
|
7256
7258
|
_js_wasm_trace(
|
|
7257
7259
|
"fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
|
|
@@ -7267,7 +7269,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7267
7269
|
return 0;
|
|
7268
7270
|
}
|
|
7269
7271
|
|
|
7270
|
-
const flockStructAddr = syscallGetVarargP();
|
|
7271
7272
|
const flockStruct = read_flock_struct(flockStructAddr);
|
|
7272
7273
|
|
|
7273
7274
|
if (!(flockStruct.l_type in locking.fcntlToLockState)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "PHP.wasm for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"license": "GPL-2.0-or-later",
|
|
40
40
|
"types": "index.d.ts",
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "9d14cae73a85996c749bdca82b8266572d4c1e31",
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=20.18.3",
|
|
44
44
|
"npm": ">=10.1.0"
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"wasm-feature-detect": "1.8.0",
|
|
50
50
|
"ws": "8.18.1",
|
|
51
51
|
"yargs": "17.7.2",
|
|
52
|
-
"@php-wasm/node-polyfills": "2.0.
|
|
53
|
-
"@php-wasm/universal": "2.0.
|
|
54
|
-
"@php-wasm/logger": "2.0.
|
|
55
|
-
"@php-wasm/util": "2.0.
|
|
56
|
-
"@wp-playground/common": "2.0.
|
|
52
|
+
"@php-wasm/node-polyfills": "2.0.5",
|
|
53
|
+
"@php-wasm/universal": "2.0.5",
|
|
54
|
+
"@php-wasm/logger": "2.0.5",
|
|
55
|
+
"@php-wasm/util": "2.0.5",
|
|
56
|
+
"@wp-playground/common": "2.0.5"
|
|
57
57
|
},
|
|
58
58
|
"overrides": {
|
|
59
59
|
"rollup": "^4.34.6",
|