@php-wasm/node 2.0.19 → 2.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.
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 = 24293495;
11
+ export const dependenciesTotalSize = 24293572;
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 = 12843488;
851
+ var ___heap_base = 12843552;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 12843488;
1746
+ var ___stack_high = 12843552;
1747
1747
 
1748
- var ___stack_low = 11794912;
1748
+ var ___stack_low = 11794976;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 12843488
1752
+ 12843552
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -18262,7 +18262,7 @@ export function init(RuntimeName, PHPLoader) {
18262
18262
  },
18263
18263
  instrumentWasmExports(exports) {
18264
18264
  var exportPattern =
18265
- /^(php_wasm_init|fd_close|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|main|__main_argc_argv)$/;
18265
+ /^(php_wasm_init|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|fd_close|main|__main_argc_argv)$/;
18266
18266
  Asyncify.asyncExports = new Set();
18267
18267
  var ret = {};
18268
18268
  for (let [x, original] of Object.entries(exports)) {
@@ -31275,13 +31275,13 @@ export function init(RuntimeName, PHPLoader) {
31275
31275
  // End JS library code
31276
31276
 
31277
31277
  var ASM_CONSTS = {
31278
- 11564526: ($0) => {
31278
+ 11564558: ($0) => {
31279
31279
  if (!$0) {
31280
31280
  AL.alcErr = 0xa004;
31281
31281
  return 1;
31282
31282
  }
31283
31283
  },
31284
- 11564574: ($0) => {
31284
+ 11564606: ($0) => {
31285
31285
  if (!AL.currentCtx) {
31286
31286
  err('alGetProcAddress() called without a valid context');
31287
31287
  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 = 24628760;
11
+ export const dependenciesTotalSize = 24628805;
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
@@ -18268,7 +18268,7 @@ export function init(RuntimeName, PHPLoader) {
18268
18268
  },
18269
18269
  instrumentWasmExports(exports) {
18270
18270
  var exportPattern =
18271
- /^(php_wasm_init|fd_close|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|main|__main_argc_argv)$/;
18271
+ /^(php_wasm_init|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|fd_close|main|__main_argc_argv)$/;
18272
18272
  Asyncify.asyncExports = new Set();
18273
18273
  var ret = {};
18274
18274
  for (let [x, original] of Object.entries(exports)) {
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 = 24915437;
11
+ export const dependenciesTotalSize = 24915546;
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 = 12959392;
851
+ var ___heap_base = 12959456;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 12959392;
1746
+ var ___stack_high = 12959456;
1747
1747
 
1748
- var ___stack_low = 11910816;
1748
+ var ___stack_low = 11910880;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 12959392
1752
+ 12959456
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -18270,7 +18270,7 @@ export function init(RuntimeName, PHPLoader) {
18270
18270
  },
18271
18271
  instrumentWasmExports(exports) {
18272
18272
  var exportPattern =
18273
- /^(php_wasm_init|fd_close|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|main|__main_argc_argv)$/;
18273
+ /^(php_wasm_init|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|fd_close|main|__main_argc_argv)$/;
18274
18274
  Asyncify.asyncExports = new Set();
18275
18275
  var ret = {};
18276
18276
  for (let [x, original] of Object.entries(exports)) {
@@ -31275,13 +31275,13 @@ export function init(RuntimeName, PHPLoader) {
31275
31275
  // End JS library code
31276
31276
 
31277
31277
  var ASM_CONSTS = {
31278
- 11682270: ($0) => {
31278
+ 11682334: ($0) => {
31279
31279
  if (!$0) {
31280
31280
  AL.alcErr = 0xa004;
31281
31281
  return 1;
31282
31282
  }
31283
31283
  },
31284
- 11682318: ($0) => {
31284
+ 11682382: ($0) => {
31285
31285
  if (!AL.currentCtx) {
31286
31286
  err('alGetProcAddress() called without a valid context');
31287
31287
  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_25', 'php_8_3.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 26008119;
11
+ export const dependenciesTotalSize = 26008228;
12
12
  const phpVersionString = '8.3.25';
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 = 13877792;
851
+ var ___heap_base = 13877856;
852
852
 
853
853
  var alignMemory = (size, alignment) => {
854
854
  return Math.ceil(size / alignment) * alignment;
@@ -1743,13 +1743,13 @@ export function init(RuntimeName, PHPLoader) {
1743
1743
  1024
1744
1744
  );
1745
1745
 
1746
- var ___stack_high = 13877792;
1746
+ var ___stack_high = 13877856;
1747
1747
 
1748
- var ___stack_low = 12829216;
1748
+ var ___stack_low = 12829280;
1749
1749
 
1750
1750
  var ___stack_pointer = new WebAssembly.Global(
1751
1751
  { value: 'i32', mutable: true },
1752
- 13877792
1752
+ 13877856
1753
1753
  );
1754
1754
 
1755
1755
  var PATH = {
@@ -18270,7 +18270,7 @@ export function init(RuntimeName, PHPLoader) {
18270
18270
  },
18271
18271
  instrumentWasmExports(exports) {
18272
18272
  var exportPattern =
18273
- /^(php_wasm_init|fd_close|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|main|__main_argc_argv)$/;
18273
+ /^(php_wasm_init|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|fd_close|main|__main_argc_argv)$/;
18274
18274
  Asyncify.asyncExports = new Set();
18275
18275
  var ret = {};
18276
18276
  for (let [x, original] of Object.entries(exports)) {
@@ -31275,13 +31275,13 @@ export function init(RuntimeName, PHPLoader) {
31275
31275
  // End JS library code
31276
31276
 
31277
31277
  var ASM_CONSTS = {
31278
- 12633182: ($0) => {
31278
+ 12633246: ($0) => {
31279
31279
  if (!$0) {
31280
31280
  AL.alcErr = 0xa004;
31281
31281
  return 1;
31282
31282
  }
31283
31283
  },
31284
- 12633230: ($0) => {
31284
+ 12633294: ($0) => {
31285
31285
  if (!AL.currentCtx) {
31286
31286
  err('alGetProcAddress() called without a valid context');
31287
31287
  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_12', 'php_8_4.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 29761007;
11
+ export const dependenciesTotalSize = 29761052;
12
12
  const phpVersionString = '8.4.12';
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
@@ -18270,7 +18270,7 @@ export function init(RuntimeName, PHPLoader) {
18270
18270
  },
18271
18271
  instrumentWasmExports(exports) {
18272
18272
  var exportPattern =
18273
- /^(php_wasm_init|fd_close|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|main|__main_argc_argv)$/;
18273
+ /^(php_wasm_init|wasm_sleep|wasm_read|emscripten_sleep|wasm_sapi_handle_request|wasm_sapi_request_shutdown|wasm_poll_socket|wrap_select|__wrap_select|select|php_pollfd_for|fflush|wasm_popen|wasm_read|wasm_php_exec|run_cli|wasm_recv|fd_close|main|__main_argc_argv)$/;
18274
18274
  Asyncify.asyncExports = new Set();
18275
18275
  var ret = {};
18276
18276
  for (let [x, original] of Object.entries(exports)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node",
3
- "version": "2.0.19",
3
+ "version": "2.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": "11cac8e802cfd045c73db6f2342da8f1059c4579",
41
+ "gitHead": "761d56003db86c28dd0d34c96f9cada5944e562e",
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.19",
53
- "@php-wasm/universal": "2.0.19",
54
- "@php-wasm/logger": "2.0.19",
55
- "@php-wasm/util": "2.0.19",
56
- "@wp-playground/common": "2.0.19"
52
+ "@php-wasm/node-polyfills": "2.0.21",
53
+ "@php-wasm/universal": "2.0.21",
54
+ "@php-wasm/logger": "2.0.21",
55
+ "@php-wasm/util": "2.0.21",
56
+ "@wp-playground/common": "2.0.21"
57
57
  },
58
58
  "overrides": {
59
59
  "rollup": "^4.34.6",