@php-wasm/node 2.0.19 → 2.0.20
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/php_8_3.wasm +0 -0
- package/asyncify/8_4_12/php_8_4.wasm +0 -0
- package/asyncify/php_7_2.js +3 -3
- package/asyncify/php_7_3.js +3 -3
- package/asyncify/php_7_4.js +7 -7
- package/asyncify/php_8_0.js +3 -3
- package/asyncify/php_8_1.js +1 -1
- package/asyncify/php_8_2.js +1 -1
- package/asyncify/php_8_3.js +7 -7
- package/asyncify/php_8_4.js +1 -1
- package/index.cjs +70 -70
- package/index.js +70 -70
- 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/php_8_3.wasm +0 -0
- package/jspi/8_4_12/php_8_4.wasm +0 -0
- package/jspi/php_7_2.js +8 -8
- package/jspi/php_7_3.js +4 -4
- package/jspi/php_7_4.js +4 -4
- package/jspi/php_8_0.js +8 -8
- package/jspi/php_8_1.js +2 -2
- package/jspi/php_8_2.js +8 -8
- package/jspi/php_8_3.js +8 -8
- package/jspi/php_8_4.js +2 -2
- package/package.json +7 -7
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/asyncify/php_7_2.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '7_2_34', 'php_7_2.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 22894943;
|
|
12
12
|
const phpVersionString = '7.2.34';
|
|
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
|
|
@@ -32115,13 +32115,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32115
32115
|
// End JS library code
|
|
32116
32116
|
|
|
32117
32117
|
var ASM_CONSTS = {
|
|
32118
|
-
|
|
32118
|
+
9805453: ($0) => {
|
|
32119
32119
|
if (!$0) {
|
|
32120
32120
|
AL.alcErr = 0xa004;
|
|
32121
32121
|
return 1;
|
|
32122
32122
|
}
|
|
32123
32123
|
},
|
|
32124
|
-
|
|
32124
|
+
9805501: ($0) => {
|
|
32125
32125
|
if (!AL.currentCtx) {
|
|
32126
32126
|
err('alGetProcAddress() called without a valid context');
|
|
32127
32127
|
return 1;
|
package/asyncify/php_7_3.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '7_3_33', 'php_7_3.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 23218265;
|
|
12
12
|
const phpVersionString = '7.3.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
|
|
@@ -32115,13 +32115,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32115
32115
|
// End JS library code
|
|
32116
32116
|
|
|
32117
32117
|
var ASM_CONSTS = {
|
|
32118
|
-
|
|
32118
|
+
10210589: ($0) => {
|
|
32119
32119
|
if (!$0) {
|
|
32120
32120
|
AL.alcErr = 0xa004;
|
|
32121
32121
|
return 1;
|
|
32122
32122
|
}
|
|
32123
32123
|
},
|
|
32124
|
-
|
|
32124
|
+
10210637: ($0) => {
|
|
32125
32125
|
if (!AL.currentCtx) {
|
|
32126
32126
|
err('alGetProcAddress() called without a valid context');
|
|
32127
32127
|
return 1;
|
package/asyncify/php_7_4.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '7_4_33', 'php_7_4.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 23626901;
|
|
12
12
|
const phpVersionString = '7.4.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
|
|
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
831
831
|
},
|
|
832
832
|
};
|
|
833
833
|
|
|
834
|
-
var ___heap_base =
|
|
834
|
+
var ___heap_base = 11742144;
|
|
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 = 11742144;
|
|
1790
1790
|
|
|
1791
|
-
var ___stack_low =
|
|
1791
|
+
var ___stack_low = 10693568;
|
|
1792
1792
|
|
|
1793
1793
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1794
1794
|
{ value: 'i32', mutable: true },
|
|
1795
|
-
|
|
1795
|
+
11742144
|
|
1796
1796
|
);
|
|
1797
1797
|
|
|
1798
1798
|
var PATH = {
|
|
@@ -32115,13 +32115,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32115
32115
|
// End JS library code
|
|
32116
32116
|
|
|
32117
32117
|
var ASM_CONSTS = {
|
|
32118
|
-
|
|
32118
|
+
10534397: ($0) => {
|
|
32119
32119
|
if (!$0) {
|
|
32120
32120
|
AL.alcErr = 0xa004;
|
|
32121
32121
|
return 1;
|
|
32122
32122
|
}
|
|
32123
32123
|
},
|
|
32124
|
-
|
|
32124
|
+
10534445: ($0) => {
|
|
32125
32125
|
if (!AL.currentCtx) {
|
|
32126
32126
|
err('alGetProcAddress() called without a valid context');
|
|
32127
32127
|
return 1;
|
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 = 24845949;
|
|
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
|
|
@@ -32115,13 +32115,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32115
32115
|
// End JS library code
|
|
32116
32116
|
|
|
32117
32117
|
var ASM_CONSTS = {
|
|
32118
|
-
|
|
32118
|
+
11563981: ($0) => {
|
|
32119
32119
|
if (!$0) {
|
|
32120
32120
|
AL.alcErr = 0xa004;
|
|
32121
32121
|
return 1;
|
|
32122
32122
|
}
|
|
32123
32123
|
},
|
|
32124
|
-
|
|
32124
|
+
11564029: ($0) => {
|
|
32125
32125
|
if (!AL.currentCtx) {
|
|
32126
32126
|
err('alGetProcAddress() called without a valid context');
|
|
32127
32127
|
return 1;
|
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 = 25172855;
|
|
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
|
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 = 25477333;
|
|
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
|
package/asyncify/php_8_3.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '8_3_25', 'php_8_3.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 26575874;
|
|
12
12
|
const phpVersionString = '8.3.25';
|
|
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
|
|
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
831
831
|
},
|
|
832
832
|
};
|
|
833
833
|
|
|
834
|
-
var ___heap_base =
|
|
834
|
+
var ___heap_base = 13876736;
|
|
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 = 13876736;
|
|
1790
1790
|
|
|
1791
|
-
var ___stack_low =
|
|
1791
|
+
var ___stack_low = 12828160;
|
|
1792
1792
|
|
|
1793
1793
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1794
1794
|
{ value: 'i32', mutable: true },
|
|
1795
|
-
|
|
1795
|
+
13876736
|
|
1796
1796
|
);
|
|
1797
1797
|
|
|
1798
1798
|
var PATH = {
|
|
@@ -32115,13 +32115,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32115
32115
|
// End JS library code
|
|
32116
32116
|
|
|
32117
32117
|
var ASM_CONSTS = {
|
|
32118
|
-
|
|
32118
|
+
12632685: ($0) => {
|
|
32119
32119
|
if (!$0) {
|
|
32120
32120
|
AL.alcErr = 0xa004;
|
|
32121
32121
|
return 1;
|
|
32122
32122
|
}
|
|
32123
32123
|
},
|
|
32124
|
-
|
|
32124
|
+
12632733: ($0) => {
|
|
32125
32125
|
if (!AL.currentCtx) {
|
|
32126
32126
|
err('alGetProcAddress() called without a valid context');
|
|
32127
32127
|
return 1;
|
package/asyncify/php_8_4.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '8_4_12', 'php_8_4.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 30326899;
|
|
12
12
|
const phpVersionString = '8.4.12';
|
|
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
|