@php-wasm/node 3.0.8 → 3.0.12
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/asyncify/7_2_34/php_7_2.wasm +0 -0
- package/asyncify/7_3_33/php_7_3.wasm +0 -0
- package/asyncify/7_4_33/php_7_4.wasm +0 -0
- package/asyncify/8_0_30/php_8_0.wasm +0 -0
- package/asyncify/8_1_33/php_8_1.wasm +0 -0
- package/asyncify/8_2_29/php_8_2.wasm +0 -0
- package/asyncify/{8_3_25 → 8_3_26}/php_8_3.wasm +0 -0
- package/asyncify/{8_4_12 → 8_4_13}/php_8_4.wasm +0 -0
- package/asyncify/php_7_2.js +35551 -32177
- package/asyncify/php_7_3.js +35564 -32190
- package/asyncify/php_7_4.js +35575 -32202
- package/asyncify/php_8_0.js +2 -2
- package/asyncify/php_8_1.js +2 -2
- package/asyncify/php_8_2.js +2 -2
- package/asyncify/php_8_3.js +10 -10
- package/asyncify/php_8_4.js +11 -11
- package/index.cjs +9117 -2983
- package/index.js +9117 -2983
- package/jspi/7_2_34/php_7_2.wasm +0 -0
- package/jspi/7_3_33/php_7_3.wasm +0 -0
- package/jspi/7_4_33/php_7_4.wasm +0 -0
- package/jspi/8_0_30/php_8_0.wasm +0 -0
- package/jspi/8_1_33/php_8_1.wasm +0 -0
- package/jspi/8_2_29/php_8_2.wasm +0 -0
- package/jspi/{8_3_25 → 8_3_26}/php_8_3.wasm +0 -0
- package/jspi/{8_4_12 → 8_4_13}/php_8_4.wasm +0 -0
- package/jspi/extensions/xdebug/7_2/xdebug.so +0 -0
- package/jspi/extensions/xdebug/7_3/xdebug.so +0 -0
- package/jspi/extensions/xdebug/7_4/xdebug.so +0 -0
- package/jspi/extensions/xdebug/8_0/xdebug.so +0 -0
- package/jspi/extensions/xdebug/8_1/xdebug.so +0 -0
- package/jspi/extensions/xdebug/8_2/xdebug.so +0 -0
- package/jspi/extensions/xdebug/8_3/xdebug.so +0 -0
- package/jspi/extensions/xdebug/8_4/xdebug.so +0 -0
- package/jspi/php_8_0.js +1 -1
- package/jspi/php_8_1.js +1 -1
- package/jspi/php_8_2.js +1 -1
- package/jspi/php_8_3.js +10 -10
- package/jspi/php_8_4.js +11 -11
- package/package.json +11 -8
- package/asyncify/8_3_23/php_8_3.wasm +0 -0
- package/asyncify/8_4_10/php_8_4.wasm +0 -0
- package/jspi/8_3_24/php_8_3.wasm +0 -0
package/jspi/7_2_34/php_7_2.wasm
CHANGED
|
Binary file
|
package/jspi/7_3_33/php_7_3.wasm
CHANGED
|
Binary file
|
package/jspi/7_4_33/php_7_4.wasm
CHANGED
|
Binary file
|
package/jspi/8_0_30/php_8_0.wasm
CHANGED
|
Binary file
|
package/jspi/8_1_33/php_8_1.wasm
CHANGED
|
Binary file
|
package/jspi/8_2_29/php_8_2.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/jspi/php_8_0.js
CHANGED
|
@@ -6594,7 +6594,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6594
6594
|
// single PHP process.
|
|
6595
6595
|
FS.mkdir('/request');
|
|
6596
6596
|
// The /internal directory is shared amongst all PHP processes
|
|
6597
|
-
// and contains
|
|
6597
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6598
6598
|
FS.mkdir('/internal');
|
|
6599
6599
|
|
|
6600
6600
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
package/jspi/php_8_1.js
CHANGED
|
@@ -6594,7 +6594,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6594
6594
|
// single PHP process.
|
|
6595
6595
|
FS.mkdir('/request');
|
|
6596
6596
|
// The /internal directory is shared amongst all PHP processes
|
|
6597
|
-
// and contains
|
|
6597
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6598
6598
|
FS.mkdir('/internal');
|
|
6599
6599
|
|
|
6600
6600
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
package/jspi/php_8_2.js
CHANGED
|
@@ -6594,7 +6594,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6594
6594
|
// single PHP process.
|
|
6595
6595
|
FS.mkdir('/request');
|
|
6596
6596
|
// The /internal directory is shared amongst all PHP processes
|
|
6597
|
-
// and contains
|
|
6597
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6598
6598
|
FS.mkdir('/internal');
|
|
6599
6599
|
|
|
6600
6600
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
package/jspi/php_8_3.js
CHANGED
|
@@ -6,10 +6,10 @@ const require = createRequire(import.meta.url);
|
|
|
6
6
|
// Note: The path module is currently needed by code injected by the php-wasm Dockerfile.
|
|
7
7
|
import path from 'path';
|
|
8
8
|
|
|
9
|
-
const dependencyFilename = path.join(__dirname, '
|
|
9
|
+
const dependencyFilename = path.join(__dirname, '8_3_26', 'php_8_3.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
12
|
-
const phpVersionString = '8.3.
|
|
11
|
+
export const dependenciesTotalSize = 26009279;
|
|
12
|
+
const phpVersionString = '8.3.26';
|
|
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
|
|
15
15
|
// include: shell.js
|
|
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
848
848
|
},
|
|
849
849
|
};
|
|
850
850
|
|
|
851
|
-
var ___heap_base =
|
|
851
|
+
var ___heap_base = 13877920;
|
|
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 =
|
|
1746
|
+
var ___stack_high = 13877920;
|
|
1747
1747
|
|
|
1748
|
-
var ___stack_low =
|
|
1748
|
+
var ___stack_low = 12829344;
|
|
1749
1749
|
|
|
1750
1750
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1751
1751
|
{ value: 'i32', mutable: true },
|
|
1752
|
-
|
|
1752
|
+
13877920
|
|
1753
1753
|
);
|
|
1754
1754
|
|
|
1755
1755
|
var PATH = {
|
|
@@ -6594,7 +6594,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6594
6594
|
// single PHP process.
|
|
6595
6595
|
FS.mkdir('/request');
|
|
6596
6596
|
// The /internal directory is shared amongst all PHP processes
|
|
6597
|
-
// and contains
|
|
6597
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6598
6598
|
FS.mkdir('/internal');
|
|
6599
6599
|
|
|
6600
6600
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
|
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31298
31298
|
// End JS library code
|
|
31299
31299
|
|
|
31300
31300
|
var ASM_CONSTS = {
|
|
31301
|
-
|
|
31301
|
+
12633310: ($0) => {
|
|
31302
31302
|
if (!$0) {
|
|
31303
31303
|
AL.alcErr = 0xa004;
|
|
31304
31304
|
return 1;
|
|
31305
31305
|
}
|
|
31306
31306
|
},
|
|
31307
|
-
|
|
31307
|
+
12633358: ($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
|
@@ -6,10 +6,10 @@ const require = createRequire(import.meta.url);
|
|
|
6
6
|
// Note: The path module is currently needed by code injected by the php-wasm Dockerfile.
|
|
7
7
|
import path from 'path';
|
|
8
8
|
|
|
9
|
-
const dependencyFilename = path.join(__dirname, '
|
|
9
|
+
const dependencyFilename = path.join(__dirname, '8_4_13', 'php_8_4.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
12
|
-
const phpVersionString = '8.4.
|
|
11
|
+
export const dependenciesTotalSize = 28394931;
|
|
12
|
+
const phpVersionString = '8.4.13';
|
|
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
|
|
15
15
|
// include: shell.js
|
|
@@ -848,7 +848,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
848
848
|
},
|
|
849
849
|
};
|
|
850
850
|
|
|
851
|
-
var ___heap_base =
|
|
851
|
+
var ___heap_base = 15606240;
|
|
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:
|
|
1015
|
+
initial: 12062,
|
|
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 =
|
|
1746
|
+
var ___stack_high = 15606240;
|
|
1747
1747
|
|
|
1748
|
-
var ___stack_low =
|
|
1748
|
+
var ___stack_low = 14557664;
|
|
1749
1749
|
|
|
1750
1750
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1751
1751
|
{ value: 'i32', mutable: true },
|
|
1752
|
-
|
|
1752
|
+
15606240
|
|
1753
1753
|
);
|
|
1754
1754
|
|
|
1755
1755
|
var PATH = {
|
|
@@ -6594,7 +6594,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6594
6594
|
// single PHP process.
|
|
6595
6595
|
FS.mkdir('/request');
|
|
6596
6596
|
// The /internal directory is shared amongst all PHP processes
|
|
6597
|
-
// and contains
|
|
6597
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6598
6598
|
FS.mkdir('/internal');
|
|
6599
6599
|
|
|
6600
6600
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
|
@@ -31298,13 +31298,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31298
31298
|
// End JS library code
|
|
31299
31299
|
|
|
31300
31300
|
var ASM_CONSTS = {
|
|
31301
|
-
|
|
31301
|
+
14357070: ($0) => {
|
|
31302
31302
|
if (!$0) {
|
|
31303
31303
|
AL.alcErr = 0xa004;
|
|
31304
31304
|
return 1;
|
|
31305
31305
|
}
|
|
31306
31306
|
},
|
|
31307
|
-
|
|
31307
|
+
14357118: ($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.
|
|
3
|
+
"version": "3.0.12",
|
|
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": "
|
|
41
|
+
"gitHead": "75715549fdb6064f4fa335e65bc5718e2177c229",
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=20.18.3",
|
|
44
44
|
"npm": ">=10.1.0"
|
|
@@ -49,19 +49,22 @@
|
|
|
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": "3.0.
|
|
53
|
-
"@php-wasm/universal": "3.0.
|
|
54
|
-
"@php-wasm/logger": "3.0.
|
|
55
|
-
"@php-wasm/util": "3.0.
|
|
56
|
-
"@wp-playground/common": "3.0.
|
|
52
|
+
"@php-wasm/node-polyfills": "3.0.12",
|
|
53
|
+
"@php-wasm/universal": "3.0.12",
|
|
54
|
+
"@php-wasm/logger": "3.0.12",
|
|
55
|
+
"@php-wasm/util": "3.0.12",
|
|
56
|
+
"@wp-playground/common": "3.0.12"
|
|
57
57
|
},
|
|
58
|
+
"packageManager": "npm@10.9.2",
|
|
58
59
|
"overrides": {
|
|
59
60
|
"rollup": "^4.34.6",
|
|
60
61
|
"react": "18.3.1",
|
|
61
62
|
"react-dom": "18.3.1",
|
|
62
63
|
"typescript": "5.4.5",
|
|
63
64
|
"@playwright/test": "1.47.1",
|
|
64
|
-
"ws": "^8.18.0"
|
|
65
|
+
"ws": "^8.18.0",
|
|
66
|
+
"tmp": "0.2.5",
|
|
67
|
+
"form-data": "^4.0.4"
|
|
65
68
|
},
|
|
66
69
|
"optionalDependencies": {
|
|
67
70
|
"fs-ext": "2.1.1"
|
|
Binary file
|
|
Binary file
|
package/jspi/8_3_24/php_8_3.wasm
DELETED
|
Binary file
|