@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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
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",
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": "6355c320ae2de93d4a0176e45ded2ad4cc6f4ae2",
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.3",
53
- "@php-wasm/universal": "2.0.3",
54
- "@php-wasm/logger": "2.0.3",
55
- "@php-wasm/util": "2.0.3",
56
- "@wp-playground/common": "2.0.3"
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",