@php-wasm/node-7-4 3.0.42 → 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
|
package/asyncify/php_7_4.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, '7_4_33', 'php_7_4.wasm');
|
|
15
17
|
export { dependencyFilename };
|
|
16
|
-
export const dependenciesTotalSize =
|
|
18
|
+
export const dependenciesTotalSize = 22934545;
|
|
17
19
|
const phpVersionString = '7.4.33';
|
|
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
|
-
|
|
31815
|
+
11305425: ($0) => {
|
|
31814
31816
|
if (!$0) {
|
|
31815
31817
|
AL.alcErr = 0xa004;
|
|
31816
31818
|
return 1;
|
|
31817
31819
|
}
|
|
31818
31820
|
},
|
|
31819
|
-
|
|
31821
|
+
11305473: ($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 =
|
|
32304
|
+
var ___heap_base = 12520384;
|
|
32303
32305
|
|
|
32304
32306
|
var wasmImports = {
|
|
32305
32307
|
/** @export */
|
package/jspi/7_4_33/php_7_4.wasm
CHANGED
|
Binary file
|
package/jspi/php_7_4.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, '7_4_33', 'php_7_4.wasm');
|
|
15
17
|
export { dependencyFilename };
|
|
16
|
-
export const dependenciesTotalSize =
|
|
18
|
+
export const dependenciesTotalSize = 22427190;
|
|
17
19
|
const phpVersionString = '7.4.33';
|
|
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
|
-
|
|
30979
|
+
11305986: ($0) => {
|
|
30978
30980
|
if (!$0) {
|
|
30979
30981
|
AL.alcErr = 0xa004;
|
|
30980
30982
|
return 1;
|
|
30981
30983
|
}
|
|
30982
30984
|
},
|
|
30983
|
-
|
|
30985
|
+
11306034: ($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 =
|
|
31473
|
+
var ___heap_base = 12521504;
|
|
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-7-4",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.43",
|
|
4
4
|
"description": "PHP 7.4 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": "
|
|
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.
|
|
43
|
+
"@php-wasm/universal": "3.0.43"
|
|
44
44
|
},
|
|
45
45
|
"packageManager": "npm@10.9.2",
|
|
46
46
|
"overrides": {
|