@php-wasm/node-8-2 3.0.41 → 3.0.43

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
@@ -7,13 +7,15 @@ const require = createRequire(import.meta.url);
7
7
  import path from 'path';
8
8
  import { fileURLToPath } from 'url';
9
9
 
10
+ // Determine the current directory path. In CJS mode, __dirname is available.
11
+ // In ESM mode, we derive it from import.meta.url.
10
12
  const currentDirPath =
11
13
  typeof __dirname !== 'undefined'
12
14
  ? __dirname
13
15
  : path.dirname(fileURLToPath(import.meta.url));
14
16
  const dependencyFilename = path.join(currentDirPath, '8_2_30', 'php_8_2.wasm');
15
17
  export { dependencyFilename };
16
- export const dependenciesTotalSize = 27520165;
18
+ export const dependenciesTotalSize = 27520224;
17
19
  const phpVersionString = '8.2.30';
18
20
  export function init(RuntimeName, PHPLoader) {
19
21
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -31810,13 +31812,13 @@ export function init(RuntimeName, PHPLoader) {
31810
31812
  // end include: postlibrary.js
31811
31813
 
31812
31814
  var ASM_CONSTS = {
31813
- 13131041: ($0) => {
31815
+ 13131297: ($0) => {
31814
31816
  if (!$0) {
31815
31817
  AL.alcErr = 0xa004;
31816
31818
  return 1;
31817
31819
  }
31818
31820
  },
31819
- 13131089: ($0) => {
31821
+ 13131345: ($0) => {
31820
31822
  if (!AL.currentCtx) {
31821
31823
  err('alGetProcAddress() called without a valid context');
31822
31824
  return 1;
@@ -32299,7 +32301,7 @@ export function init(RuntimeName, PHPLoader) {
32299
32301
  wasmExports['__indirect_function_table'];
32300
32302
  }
32301
32303
 
32302
- var ___heap_base = 14717312;
32304
+ var ___heap_base = 14717568;
32303
32305
 
32304
32306
  var wasmImports = {
32305
32307
  /** @export */
Binary file
package/jspi/php_8_2.js CHANGED
@@ -7,13 +7,15 @@ const require = createRequire(import.meta.url);
7
7
  import path from 'path';
8
8
  import { fileURLToPath } from 'url';
9
9
 
10
+ // Determine the current directory path. In CJS mode, __dirname is available.
11
+ // In ESM mode, we derive it from import.meta.url.
10
12
  const currentDirPath =
11
13
  typeof __dirname !== 'undefined'
12
14
  ? __dirname
13
15
  : path.dirname(fileURLToPath(import.meta.url));
14
16
  const dependencyFilename = path.join(currentDirPath, '8_2_30', 'php_8_2.wasm');
15
17
  export { dependencyFilename };
16
- export const dependenciesTotalSize = 26936396;
18
+ export const dependenciesTotalSize = 26936464;
17
19
  const phpVersionString = '8.2.30';
18
20
  export function init(RuntimeName, PHPLoader) {
19
21
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -30974,13 +30976,13 @@ export function init(RuntimeName, PHPLoader) {
30974
30976
  // end include: postlibrary.js
30975
30977
 
30976
30978
  var ASM_CONSTS = {
30977
- 13131602: ($0) => {
30979
+ 13131858: ($0) => {
30978
30980
  if (!$0) {
30979
30981
  AL.alcErr = 0xa004;
30980
30982
  return 1;
30981
30983
  }
30982
30984
  },
30983
- 13131650: ($0) => {
30985
+ 13131906: ($0) => {
30984
30986
  if (!AL.currentCtx) {
30985
30987
  err('alGetProcAddress() called without a valid context');
30986
30988
  return 1;
@@ -31468,7 +31470,7 @@ export function init(RuntimeName, PHPLoader) {
31468
31470
  ___cpp_exception = wasmExports['__cpp_exception'];
31469
31471
  }
31470
31472
 
31471
- var ___heap_base = 14718432;
31473
+ var ___heap_base = 14718688;
31472
31474
 
31473
31475
  var wasmImports = {
31474
31476
  /** @export */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node-8-2",
3
- "version": "3.0.41",
3
+ "version": "3.0.43",
4
4
  "description": "PHP 8.2 WebAssembly binaries for node",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,12 +35,12 @@
35
35
  "node": ">=20.18.3",
36
36
  "npm": ">=10.1.0"
37
37
  },
38
- "gitHead": "638b025343c1cfee4f1b1732c0e05d286e67e136",
38
+ "gitHead": "a73661b5ec1f5d4bd2b1cd29789625d80561ff85",
39
39
  "dependencies": {
40
40
  "ini": "4.1.2",
41
41
  "wasm-feature-detect": "1.8.0",
42
42
  "ws": "8.18.3",
43
- "@php-wasm/universal": "3.0.41"
43
+ "@php-wasm/universal": "3.0.43"
44
44
  },
45
45
  "packageManager": "npm@10.9.2",
46
46
  "overrides": {