@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/asyncify/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 =
|
|
11
|
+
export const dependenciesTotalSize = 24846242;
|
|
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
|
|
@@ -6637,7 +6637,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6637
6637
|
// single PHP process.
|
|
6638
6638
|
FS.mkdir('/request');
|
|
6639
6639
|
// The /internal directory is shared amongst all PHP processes
|
|
6640
|
-
// and contains
|
|
6640
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6641
6641
|
FS.mkdir('/internal');
|
|
6642
6642
|
|
|
6643
6643
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
package/asyncify/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 =
|
|
11
|
+
export const dependenciesTotalSize = 25173180;
|
|
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
|
|
@@ -6637,7 +6637,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6637
6637
|
// single PHP process.
|
|
6638
6638
|
FS.mkdir('/request');
|
|
6639
6639
|
// The /internal directory is shared amongst all PHP processes
|
|
6640
|
-
// and contains
|
|
6640
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6641
6641
|
FS.mkdir('/internal');
|
|
6642
6642
|
|
|
6643
6643
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
package/asyncify/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 =
|
|
11
|
+
export const dependenciesTotalSize = 25477658;
|
|
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
|
|
@@ -6637,7 +6637,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6637
6637
|
// single PHP process.
|
|
6638
6638
|
FS.mkdir('/request');
|
|
6639
6639
|
// The /internal directory is shared amongst all PHP processes
|
|
6640
|
-
// and contains
|
|
6640
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6641
6641
|
FS.mkdir('/internal');
|
|
6642
6642
|
|
|
6643
6643
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
package/asyncify/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 = 26577262;
|
|
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
|
|
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
831
831
|
},
|
|
832
832
|
};
|
|
833
833
|
|
|
834
|
-
var ___heap_base =
|
|
834
|
+
var ___heap_base = 13876800;
|
|
835
835
|
|
|
836
836
|
var alignMemory = (size, alignment) => {
|
|
837
837
|
return Math.ceil(size / alignment) * alignment;
|
|
@@ -1786,13 +1786,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
1786
1786
|
1024
|
|
1787
1787
|
);
|
|
1788
1788
|
|
|
1789
|
-
var ___stack_high =
|
|
1789
|
+
var ___stack_high = 13876800;
|
|
1790
1790
|
|
|
1791
|
-
var ___stack_low =
|
|
1791
|
+
var ___stack_low = 12828224;
|
|
1792
1792
|
|
|
1793
1793
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1794
1794
|
{ value: 'i32', mutable: true },
|
|
1795
|
-
|
|
1795
|
+
13876800
|
|
1796
1796
|
);
|
|
1797
1797
|
|
|
1798
1798
|
var PATH = {
|
|
@@ -6637,7 +6637,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6637
6637
|
// single PHP process.
|
|
6638
6638
|
FS.mkdir('/request');
|
|
6639
6639
|
// The /internal directory is shared amongst all PHP processes
|
|
6640
|
-
// and contains
|
|
6640
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6641
6641
|
FS.mkdir('/internal');
|
|
6642
6642
|
|
|
6643
6643
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
|
@@ -32138,13 +32138,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32138
32138
|
// End JS library code
|
|
32139
32139
|
|
|
32140
32140
|
var ASM_CONSTS = {
|
|
32141
|
-
|
|
32141
|
+
12632749: ($0) => {
|
|
32142
32142
|
if (!$0) {
|
|
32143
32143
|
AL.alcErr = 0xa004;
|
|
32144
32144
|
return 1;
|
|
32145
32145
|
}
|
|
32146
32146
|
},
|
|
32147
|
-
|
|
32147
|
+
12632797: ($0) => {
|
|
32148
32148
|
if (!AL.currentCtx) {
|
|
32149
32149
|
err('alGetProcAddress() called without a valid context');
|
|
32150
32150
|
return 1;
|
package/asyncify/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 = 28961712;
|
|
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
|
|
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
831
831
|
},
|
|
832
832
|
};
|
|
833
833
|
|
|
834
|
-
var ___heap_base =
|
|
834
|
+
var ___heap_base = 15605120;
|
|
835
835
|
|
|
836
836
|
var alignMemory = (size, alignment) => {
|
|
837
837
|
return Math.ceil(size / alignment) * alignment;
|
|
@@ -995,7 +995,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
995
995
|
|
|
996
996
|
/** @type {WebAssembly.Table} */
|
|
997
997
|
var wasmTable = new WebAssembly.Table({
|
|
998
|
-
initial:
|
|
998
|
+
initial: 12461,
|
|
999
999
|
element: 'anyfunc',
|
|
1000
1000
|
});
|
|
1001
1001
|
var getWasmTableEntry = (funcPtr) => {
|
|
@@ -1786,13 +1786,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
1786
1786
|
1024
|
|
1787
1787
|
);
|
|
1788
1788
|
|
|
1789
|
-
var ___stack_high =
|
|
1789
|
+
var ___stack_high = 15605120;
|
|
1790
1790
|
|
|
1791
|
-
var ___stack_low =
|
|
1791
|
+
var ___stack_low = 14556544;
|
|
1792
1792
|
|
|
1793
1793
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1794
1794
|
{ value: 'i32', mutable: true },
|
|
1795
|
-
|
|
1795
|
+
15605120
|
|
1796
1796
|
);
|
|
1797
1797
|
|
|
1798
1798
|
var PATH = {
|
|
@@ -6637,7 +6637,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6637
6637
|
// single PHP process.
|
|
6638
6638
|
FS.mkdir('/request');
|
|
6639
6639
|
// The /internal directory is shared amongst all PHP processes
|
|
6640
|
-
// and contains
|
|
6640
|
+
// and contains the php.ini, constants definitions, etc.
|
|
6641
6641
|
FS.mkdir('/internal');
|
|
6642
6642
|
|
|
6643
6643
|
if (phpWasmInitOptions?.nativeInternalDirPath) {
|
|
@@ -32138,13 +32138,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32138
32138
|
// End JS library code
|
|
32139
32139
|
|
|
32140
32140
|
var ASM_CONSTS = {
|
|
32141
|
-
|
|
32141
|
+
14356509: ($0) => {
|
|
32142
32142
|
if (!$0) {
|
|
32143
32143
|
AL.alcErr = 0xa004;
|
|
32144
32144
|
return 1;
|
|
32145
32145
|
}
|
|
32146
32146
|
},
|
|
32147
|
-
|
|
32147
|
+
14356557: ($0) => {
|
|
32148
32148
|
if (!AL.currentCtx) {
|
|
32149
32149
|
err('alGetProcAddress() called without a valid context');
|
|
32150
32150
|
return 1;
|