@php-wasm/node 3.0.19 → 3.0.21

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
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '7_2_34', 'php_7_2.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 22634360;
11
+ export const dependenciesTotalSize = 27475009;
12
12
  const phpVersionString = '7.2.34';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 11102624;
851
+ var ___heap_base = 11837856;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 11200,
1015
+ initial: 12454,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 11102624;
1746
+ var ___stack_high = 11837856;
1747
1747
 
1748
- var ___stack_low = 10054048;
1748
+ var ___stack_low = 10789280;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 11102624
1752
+ 11837856
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
31298
31298
  // End JS library code
31299
31299
 
31300
31300
  var ASM_CONSTS = {
31301
- 9824574: ($0) => {
31301
+ 10553262: ($0) => {
31302
31302
  if (!$0) {
31303
31303
  AL.alcErr = 0xa004;
31304
31304
  return 1;
31305
31305
  }
31306
31306
  },
31307
- 9824622: ($0) => {
31307
+ 10553310: ($0) => {
31308
31308
  if (!AL.currentCtx) {
31309
31309
  err('alGetProcAddress() called without a valid context');
31310
31310
  return 1;
package/jspi/php_7_3.js CHANGED
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '7_3_33', 'php_7_3.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 22966184;
11
+ export const dependenciesTotalSize = 27803641;
12
12
  const phpVersionString = '7.3.33';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 11437920;
851
+ var ___heap_base = 12173152;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 11164,
1015
+ initial: 12418,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 11437920;
1746
+ var ___stack_high = 12173152;
1747
1747
 
1748
- var ___stack_low = 10389344;
1748
+ var ___stack_low = 11124576;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 11437920
1752
+ 12173152
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
31298
31298
  // End JS library code
31299
31299
 
31300
31300
  var ASM_CONSTS = {
31301
- 10229726: ($0) => {
31301
+ 10958382: ($0) => {
31302
31302
  if (!$0) {
31303
31303
  AL.alcErr = 0xa004;
31304
31304
  return 1;
31305
31305
  }
31306
31306
  },
31307
- 10229774: ($0) => {
31307
+ 10958430: ($0) => {
31308
31308
  if (!AL.currentCtx) {
31309
31309
  err('alGetProcAddress() called without a valid context');
31310
31310
  return 1;
package/jspi/php_7_4.js CHANGED
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '7_4_33', 'php_7_4.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 23444550;
11
+ export const dependenciesTotalSize = 28280911;
12
12
  const phpVersionString = '7.4.33';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 11762464;
851
+ var ___heap_base = 12497696;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 10912,
1015
+ initial: 12166,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 11762464;
1746
+ var ___stack_high = 12497696;
1747
1747
 
1748
- var ___stack_low = 10713888;
1748
+ var ___stack_low = 11449120;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 11762464
1752
+ 12497696
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
31298
31298
  // End JS library code
31299
31299
 
31300
31300
  var ASM_CONSTS = {
31301
- 10553630: ($0) => {
31301
+ 11282270: ($0) => {
31302
31302
  if (!$0) {
31303
31303
  AL.alcErr = 0xa004;
31304
31304
  return 1;
31305
31305
  }
31306
31306
  },
31307
- 10553678: ($0) => {
31307
+ 11282318: ($0) => {
31308
31308
  if (!AL.currentCtx) {
31309
31309
  err('alGetProcAddress() called without a valid context');
31310
31310
  return 1;
package/jspi/php_8_0.js CHANGED
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '8_0_30', 'php_8_0.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 24653950;
11
+ export const dependenciesTotalSize = 29493342;
12
12
  const phpVersionString = '8.0.30';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 12862880;
851
+ var ___heap_base = 13599584;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 11030,
1015
+ initial: 12289,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 12862880;
1746
+ var ___stack_high = 13599584;
1747
1747
 
1748
- var ___stack_low = 11814304;
1748
+ var ___stack_low = 12551008;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 12862880
1752
+ 13599584
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
31298
31298
  // End JS library code
31299
31299
 
31300
31300
  var ASM_CONSTS = {
31301
- 11583374: ($0) => {
31301
+ 12313534: ($0) => {
31302
31302
  if (!$0) {
31303
31303
  AL.alcErr = 0xa004;
31304
31304
  return 1;
31305
31305
  }
31306
31306
  },
31307
- 11583422: ($0) => {
31307
+ 12313582: ($0) => {
31308
31308
  if (!AL.currentCtx) {
31309
31309
  err('alGetProcAddress() called without a valid context');
31310
31310
  return 1;
package/jspi/php_8_1.js CHANGED
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '8_1_33', 'php_8_1.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 28938926;
11
+ export const dependenciesTotalSize = 33777153;
12
12
  const phpVersionString = '8.1.33';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 13897120;
851
+ var ___heap_base = 14633568;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 13204,
1015
+ initial: 14463,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 13897120;
1746
+ var ___stack_high = 14633568;
1747
1747
 
1748
- var ___stack_low = 12848544;
1748
+ var ___stack_low = 13584992;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 13897120
1752
+ 14633568
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
31298
31298
  // End JS library code
31299
31299
 
31300
31300
  var ASM_CONSTS = {
31301
- 12317614: ($0) => {
31301
+ 13047470: ($0) => {
31302
31302
  if (!$0) {
31303
31303
  AL.alcErr = 0xa004;
31304
31304
  return 1;
31305
31305
  }
31306
31306
  },
31307
- 12317662: ($0) => {
31307
+ 13047518: ($0) => {
31308
31308
  if (!AL.currentCtx) {
31309
31309
  err('alGetProcAddress() called without a valid context');
31310
31310
  return 1;
package/jspi/php_8_2.js CHANGED
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '8_2_29', 'php_8_2.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 29226363;
11
+ export const dependenciesTotalSize = 34065711;
12
12
  const phpVersionString = '8.2.29';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 13934624;
851
+ var ___heap_base = 14671264;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 13446,
1015
+ initial: 14705,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 13934624;
1746
+ var ___stack_high = 14671264;
1747
1747
 
1748
- var ___stack_low = 12886048;
1748
+ var ___stack_low = 13622688;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 13934624
1752
+ 14671264
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
31298
31298
  // End JS library code
31299
31299
 
31300
31300
  var ASM_CONSTS = {
31301
- 12356446: ($0) => {
31301
+ 13086542: ($0) => {
31302
31302
  if (!$0) {
31303
31303
  AL.alcErr = 0xa004;
31304
31304
  return 1;
31305
31305
  }
31306
31306
  },
31307
- 12356494: ($0) => {
31307
+ 13086590: ($0) => {
31308
31308
  if (!AL.currentCtx) {
31309
31309
  err('alGetProcAddress() called without a valid context');
31310
31310
  return 1;
package/jspi/php_8_3.js CHANGED
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '8_3_27', 'php_8_3.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 30323678;
11
+ export const dependenciesTotalSize = 35162934;
12
12
  const phpVersionString = '8.3.27';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 14853216;
851
+ var ___heap_base = 15589856;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 13481,
1015
+ initial: 14740,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 14853216;
1746
+ var ___stack_high = 15589856;
1747
1747
 
1748
- var ___stack_low = 13804640;
1748
+ var ___stack_low = 14541280;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 14853216
1752
+ 15589856
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
31298
31298
  // End JS library code
31299
31299
 
31300
31300
  var ASM_CONSTS = {
31301
- 13307550: ($0) => {
31301
+ 14037646: ($0) => {
31302
31302
  if (!$0) {
31303
31303
  AL.alcErr = 0xa004;
31304
31304
  return 1;
31305
31305
  }
31306
31306
  },
31307
- 13307598: ($0) => {
31307
+ 14037694: ($0) => {
31308
31308
  if (!AL.currentCtx) {
31309
31309
  err('alGetProcAddress() called without a valid context');
31310
31310
  return 1;
package/jspi/php_8_4.js CHANGED
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '8_4_14', 'php_8_4.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 32705816;
11
+ export const dependenciesTotalSize = 37551076;
12
12
  const phpVersionString = '8.4.14';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
848
848
  },
849
849
  };
850
850
 
851
- var ___heap_base = 16582880;
851
+ var ___heap_base = 17324256;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1012,7 +1012,7 @@ export function init(RuntimeName, PHPLoader) {
1012
1012
 
1013
1013
  /** @type {WebAssembly.Table} */
1014
1014
  var wasmTable = new WebAssembly.Table({
1015
- initial: 14301,
1015
+ initial: 15560,
1016
1016
  element: 'anyfunc',
1017
1017
  });
1018
1018
  var getWasmTableEntry = (funcPtr) => {
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 16582880;
1746
+ var ___stack_high = 17324256;
1747
1747
 
1748
- var ___stack_low = 15534304;
1748
+ var ___stack_low = 16275680;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 16582880
1752
+ 17324256
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
31298
31298
  // End JS library code
31299
31299
 
31300
31300
  var ASM_CONSTS = {
31301
- 15032478: ($0) => {
31301
+ 15767278: ($0) => {
31302
31302
  if (!$0) {
31303
31303
  AL.alcErr = 0xa004;
31304
31304
  return 1;
31305
31305
  }
31306
31306
  },
31307
- 15032526: ($0) => {
31307
+ 15767326: ($0) => {
31308
31308
  if (!AL.currentCtx) {
31309
31309
  err('alGetProcAddress() called without a valid context');
31310
31310
  return 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node",
3
- "version": "3.0.19",
3
+ "version": "3.0.21",
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": "5d6cbf03fb33b4c58c587c43a4a7793d4b050885",
41
+ "gitHead": "8d3a2da8f91ca792ba8f6fe7e92fdb658f4075ee",
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.3",
51
51
  "yargs": "17.7.2",
52
- "@php-wasm/node-polyfills": "3.0.19",
53
- "@php-wasm/universal": "3.0.19",
54
- "@php-wasm/logger": "3.0.19",
55
- "@php-wasm/util": "3.0.19",
56
- "@wp-playground/common": "3.0.19"
52
+ "@php-wasm/node-polyfills": "3.0.21",
53
+ "@php-wasm/universal": "3.0.21",
54
+ "@php-wasm/logger": "3.0.21",
55
+ "@php-wasm/util": "3.0.21",
56
+ "@wp-playground/common": "3.0.21"
57
57
  },
58
58
  "packageManager": "npm@10.9.2",
59
59
  "overrides": {