@php-wasm/node-5-2 3.1.21 → 3.1.25

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
package/jspi/php_5_2.js CHANGED
@@ -15,7 +15,7 @@ const currentDirPath =
15
15
  : path.dirname(fileURLToPath(import.meta.url));
16
16
  const dependencyFilename = path.join(currentDirPath, '5_2_17', 'php_5_2.wasm');
17
17
  export { dependencyFilename };
18
- export const dependenciesTotalSize = 9914905;
18
+ export const dependenciesTotalSize = 9915614;
19
19
  const phpVersionString = '5.2.17';
20
20
  export function init(RuntimeName, PHPLoader) {
21
21
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -9996,7 +9996,13 @@ export function init(RuntimeName, PHPLoader) {
9996
9996
  __asyncjs__js_module_onMessage.sig = 'iii';
9997
9997
 
9998
9998
  // Imports from the Wasm binary.
9999
- var _calloc,
9999
+ var _compile_string,
10000
+ __efree,
10001
+ __zval_ptr_dtor,
10002
+ _destroy_op_array,
10003
+ __zend_bailout,
10004
+ _execute,
10005
+ _calloc,
10000
10006
  _malloc,
10001
10007
  ___errno_location,
10002
10008
  _wasm_sleep,
@@ -10057,6 +10063,16 @@ export function init(RuntimeName, PHPLoader) {
10057
10063
  wasmMemory;
10058
10064
 
10059
10065
  function assignWasmExports(wasmExports) {
10066
+ _compile_string = Module['_compile_string'] =
10067
+ wasmExports['compile_string'];
10068
+ __efree = Module['__efree'] = wasmExports['_efree'];
10069
+ __zval_ptr_dtor = Module['__zval_ptr_dtor'] =
10070
+ wasmExports['_zval_ptr_dtor'];
10071
+ _destroy_op_array = Module['_destroy_op_array'] =
10072
+ wasmExports['destroy_op_array'];
10073
+ __zend_bailout = Module['__zend_bailout'] =
10074
+ wasmExports['_zend_bailout'];
10075
+ _execute = Module['_execute'] = wasmExports['execute'];
10060
10076
  _calloc = wasmExports['calloc'];
10061
10077
  _malloc =
10062
10078
  PHPLoader['malloc'] =
@@ -10157,7 +10173,29 @@ export function init(RuntimeName, PHPLoader) {
10157
10173
  ___c_longjmp = Module['___c_longjmp'] = wasmExports['__c_longjmp'];
10158
10174
  }
10159
10175
 
10160
- var ___heap_base = 5123904;
10176
+ var _file_globals = (Module['_file_globals'] = 4026816);
10177
+
10178
+ var _sapi_module = (Module['_sapi_module'] = 4032012);
10179
+
10180
+ var _sapi_globals = (Module['_sapi_globals'] = 4032152);
10181
+
10182
+ var _compiler_globals = (Module['_compiler_globals'] = 4025696);
10183
+
10184
+ var _executor_globals = (Module['_executor_globals'] = 4026040);
10185
+
10186
+ var _zend_ce_traversable = (Module['_zend_ce_traversable'] = 4020136);
10187
+
10188
+ var _zend_ce_aggregate = (Module['_zend_ce_aggregate'] = 4020140);
10189
+
10190
+ var _zend_ce_iterator = (Module['_zend_ce_iterator'] = 4020144);
10191
+
10192
+ var _zend_ce_arrayaccess = (Module['_zend_ce_arrayaccess'] = 4020148);
10193
+
10194
+ var _zend_ce_serializable = (Module['_zend_ce_serializable'] = 4020152);
10195
+
10196
+ var _std_object_handlers = (Module['_std_object_handlers'] = 3648076);
10197
+
10198
+ var ___heap_base = 5123888;
10161
10199
 
10162
10200
  var wasmImports = {
10163
10201
  /** @export */ __assert_fail: ___assert_fail,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node-5-2",
3
- "version": "3.1.21",
3
+ "version": "3.1.25",
4
4
  "description": "PHP 5.2 WebAssembly binaries for node (legacy)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,12 +35,12 @@
35
35
  "node": ">=20.10.0",
36
36
  "npm": ">=10.2.3"
37
37
  },
38
- "gitHead": "5864051cbf4c2a55656112d99a3f1b076bcd67cd",
38
+ "gitHead": "e662afdd9a3b6dad3e194ad34d80421c539b7386",
39
39
  "dependencies": {
40
40
  "ini": "4.1.2",
41
41
  "wasm-feature-detect": "1.8.0",
42
42
  "ws": "8.18.0",
43
- "@php-wasm/universal": "3.1.21"
43
+ "@php-wasm/universal": "3.1.25"
44
44
  },
45
45
  "packageManager": "npm@10.9.2",
46
46
  "overrides": {