@php-wasm/node 2.0.7 → 2.0.8
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_24/php_8_3.wasm +0 -0
- package/asyncify/8_4_11/php_8_4.wasm +0 -0
- package/asyncify/php_7_2.js +1 -1
- package/asyncify/php_7_3.js +1 -1
- package/asyncify/php_7_4.js +1 -1
- package/asyncify/php_8_0.js +1 -1
- package/asyncify/php_8_1.js +1 -1
- package/asyncify/php_8_2.js +1 -1
- package/asyncify/php_8_3.js +1 -1
- package/asyncify/php_8_4.js +1 -1
- package/index.cjs +9 -9
- package/index.js +9 -9
- 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 = 29381880;
|
|
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
|
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 = 29698903;
|
|
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
|
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 = 30110863;
|
|
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
|
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 = 31318489;
|
|
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
|
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 = 31651651;
|
|
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 = 32043737;
|
|
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_24', 'php_8_3.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 33148094;
|
|
12
12
|
const phpVersionString = '8.3.24';
|
|
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_4.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '8_4_11', 'php_8_4.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 36945699;
|
|
12
12
|
const phpVersionString = '8.4.11';
|
|
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/index.cjs
CHANGED
|
@@ -253681,7 +253681,7 @@ var init_php_8_42 = __esm({
|
|
|
253681
253681
|
import_module9 = require("module");
|
|
253682
253682
|
import_path9 = __toESM(require("path"), 1);
|
|
253683
253683
|
dependencyFilename9 = import_path9.default.join(__dirname + "/asyncify", "8_4_11", "php_8_4.wasm");
|
|
253684
|
-
dependenciesTotalSize9 =
|
|
253684
|
+
dependenciesTotalSize9 = 36945699;
|
|
253685
253685
|
phpVersionString9 = "8.4.11";
|
|
253686
253686
|
}
|
|
253687
253687
|
});
|
|
@@ -282726,7 +282726,7 @@ var init_php_8_32 = __esm({
|
|
|
282726
282726
|
import_module10 = require("module");
|
|
282727
282727
|
import_path10 = __toESM(require("path"), 1);
|
|
282728
282728
|
dependencyFilename10 = import_path10.default.join(__dirname + "/asyncify", "8_3_24", "php_8_3.wasm");
|
|
282729
|
-
dependenciesTotalSize10 =
|
|
282729
|
+
dependenciesTotalSize10 = 33148094;
|
|
282730
282730
|
phpVersionString10 = "8.3.24";
|
|
282731
282731
|
}
|
|
282732
282732
|
});
|
|
@@ -311771,7 +311771,7 @@ var init_php_8_22 = __esm({
|
|
|
311771
311771
|
import_module11 = require("module");
|
|
311772
311772
|
import_path11 = __toESM(require("path"), 1);
|
|
311773
311773
|
dependencyFilename11 = import_path11.default.join(__dirname + "/asyncify", "8_2_29", "php_8_2.wasm");
|
|
311774
|
-
dependenciesTotalSize11 =
|
|
311774
|
+
dependenciesTotalSize11 = 32043737;
|
|
311775
311775
|
phpVersionString11 = "8.2.29";
|
|
311776
311776
|
}
|
|
311777
311777
|
});
|
|
@@ -340816,7 +340816,7 @@ var init_php_8_12 = __esm({
|
|
|
340816
340816
|
import_module12 = require("module");
|
|
340817
340817
|
import_path12 = __toESM(require("path"), 1);
|
|
340818
340818
|
dependencyFilename12 = import_path12.default.join(__dirname + "/asyncify", "8_1_33", "php_8_1.wasm");
|
|
340819
|
-
dependenciesTotalSize12 =
|
|
340819
|
+
dependenciesTotalSize12 = 31651651;
|
|
340820
340820
|
phpVersionString12 = "8.1.33";
|
|
340821
340821
|
}
|
|
340822
340822
|
});
|
|
@@ -369848,7 +369848,7 @@ var init_php_8_02 = __esm({
|
|
|
369848
369848
|
import_module13 = require("module");
|
|
369849
369849
|
import_path13 = __toESM(require("path"), 1);
|
|
369850
369850
|
dependencyFilename13 = import_path13.default.join(__dirname + "/asyncify", "8_0_30", "php_8_0.wasm");
|
|
369851
|
-
dependenciesTotalSize13 =
|
|
369851
|
+
dependenciesTotalSize13 = 31318489;
|
|
369852
369852
|
phpVersionString13 = "8.0.30";
|
|
369853
369853
|
}
|
|
369854
369854
|
});
|
|
@@ -398867,7 +398867,7 @@ var init_php_7_42 = __esm({
|
|
|
398867
398867
|
import_module14 = require("module");
|
|
398868
398868
|
import_path14 = __toESM(require("path"), 1);
|
|
398869
398869
|
dependencyFilename14 = import_path14.default.join(__dirname + "/asyncify", "7_4_33", "php_7_4.wasm");
|
|
398870
|
-
dependenciesTotalSize14 =
|
|
398870
|
+
dependenciesTotalSize14 = 30110863;
|
|
398871
398871
|
phpVersionString14 = "7.4.33";
|
|
398872
398872
|
}
|
|
398873
398873
|
});
|
|
@@ -427873,7 +427873,7 @@ var init_php_7_32 = __esm({
|
|
|
427873
427873
|
import_module15 = require("module");
|
|
427874
427874
|
import_path15 = __toESM(require("path"), 1);
|
|
427875
427875
|
dependencyFilename15 = import_path15.default.join(__dirname + "/asyncify", "7_3_33", "php_7_3.wasm");
|
|
427876
|
-
dependenciesTotalSize15 =
|
|
427876
|
+
dependenciesTotalSize15 = 29698903;
|
|
427877
427877
|
phpVersionString15 = "7.3.33";
|
|
427878
427878
|
}
|
|
427879
427879
|
});
|
|
@@ -456865,7 +456865,7 @@ var init_php_7_22 = __esm({
|
|
|
456865
456865
|
import_module16 = require("module");
|
|
456866
456866
|
import_path16 = __toESM(require("path"), 1);
|
|
456867
456867
|
dependencyFilename16 = import_path16.default.join(__dirname + "/asyncify", "7_2_34", "php_7_2.wasm");
|
|
456868
|
-
dependenciesTotalSize16 =
|
|
456868
|
+
dependenciesTotalSize16 = 29381880;
|
|
456869
456869
|
phpVersionString16 = "7.2.34";
|
|
456870
456870
|
}
|
|
456871
456871
|
});
|
|
@@ -457640,7 +457640,7 @@ async function loadNodeRuntime(phpVersion, options = {}) {
|
|
|
457640
457640
|
)
|
|
457641
457641
|
);
|
|
457642
457642
|
const symlinkPath = (0, import_util.joinPaths)(
|
|
457643
|
-
`/
|
|
457643
|
+
`/internal/symlinks`,
|
|
457644
457644
|
absoluteSourcePath
|
|
457645
457645
|
);
|
|
457646
457646
|
if (!import_universal5.FSHelpers.fileExists(phpRuntime.FS, symlinkPath) && import_fs3.default.existsSync(absoluteSourcePath)) {
|
package/index.js
CHANGED
|
@@ -253671,7 +253671,7 @@ var init_php_8_42 = __esm({
|
|
|
253671
253671
|
"packages/php-wasm/node/asyncify/php_8_4.js"() {
|
|
253672
253672
|
"use strict";
|
|
253673
253673
|
dependencyFilename9 = path9.join(__dirname + "/asyncify", "8_4_11", "php_8_4.wasm");
|
|
253674
|
-
dependenciesTotalSize9 =
|
|
253674
|
+
dependenciesTotalSize9 = 36945699;
|
|
253675
253675
|
phpVersionString9 = "8.4.11";
|
|
253676
253676
|
}
|
|
253677
253677
|
});
|
|
@@ -282716,7 +282716,7 @@ var init_php_8_32 = __esm({
|
|
|
282716
282716
|
"packages/php-wasm/node/asyncify/php_8_3.js"() {
|
|
282717
282717
|
"use strict";
|
|
282718
282718
|
dependencyFilename10 = path10.join(__dirname + "/asyncify", "8_3_24", "php_8_3.wasm");
|
|
282719
|
-
dependenciesTotalSize10 =
|
|
282719
|
+
dependenciesTotalSize10 = 33148094;
|
|
282720
282720
|
phpVersionString10 = "8.3.24";
|
|
282721
282721
|
}
|
|
282722
282722
|
});
|
|
@@ -311761,7 +311761,7 @@ var init_php_8_22 = __esm({
|
|
|
311761
311761
|
"packages/php-wasm/node/asyncify/php_8_2.js"() {
|
|
311762
311762
|
"use strict";
|
|
311763
311763
|
dependencyFilename11 = path11.join(__dirname + "/asyncify", "8_2_29", "php_8_2.wasm");
|
|
311764
|
-
dependenciesTotalSize11 =
|
|
311764
|
+
dependenciesTotalSize11 = 32043737;
|
|
311765
311765
|
phpVersionString11 = "8.2.29";
|
|
311766
311766
|
}
|
|
311767
311767
|
});
|
|
@@ -340806,7 +340806,7 @@ var init_php_8_12 = __esm({
|
|
|
340806
340806
|
"packages/php-wasm/node/asyncify/php_8_1.js"() {
|
|
340807
340807
|
"use strict";
|
|
340808
340808
|
dependencyFilename12 = path12.join(__dirname + "/asyncify", "8_1_33", "php_8_1.wasm");
|
|
340809
|
-
dependenciesTotalSize12 =
|
|
340809
|
+
dependenciesTotalSize12 = 31651651;
|
|
340810
340810
|
phpVersionString12 = "8.1.33";
|
|
340811
340811
|
}
|
|
340812
340812
|
});
|
|
@@ -369838,7 +369838,7 @@ var init_php_8_02 = __esm({
|
|
|
369838
369838
|
"packages/php-wasm/node/asyncify/php_8_0.js"() {
|
|
369839
369839
|
"use strict";
|
|
369840
369840
|
dependencyFilename13 = path13.join(__dirname + "/asyncify", "8_0_30", "php_8_0.wasm");
|
|
369841
|
-
dependenciesTotalSize13 =
|
|
369841
|
+
dependenciesTotalSize13 = 31318489;
|
|
369842
369842
|
phpVersionString13 = "8.0.30";
|
|
369843
369843
|
}
|
|
369844
369844
|
});
|
|
@@ -398857,7 +398857,7 @@ var init_php_7_42 = __esm({
|
|
|
398857
398857
|
"packages/php-wasm/node/asyncify/php_7_4.js"() {
|
|
398858
398858
|
"use strict";
|
|
398859
398859
|
dependencyFilename14 = path14.join(__dirname + "/asyncify", "7_4_33", "php_7_4.wasm");
|
|
398860
|
-
dependenciesTotalSize14 =
|
|
398860
|
+
dependenciesTotalSize14 = 30110863;
|
|
398861
398861
|
phpVersionString14 = "7.4.33";
|
|
398862
398862
|
}
|
|
398863
398863
|
});
|
|
@@ -427863,7 +427863,7 @@ var init_php_7_32 = __esm({
|
|
|
427863
427863
|
"packages/php-wasm/node/asyncify/php_7_3.js"() {
|
|
427864
427864
|
"use strict";
|
|
427865
427865
|
dependencyFilename15 = path15.join(__dirname + "/asyncify", "7_3_33", "php_7_3.wasm");
|
|
427866
|
-
dependenciesTotalSize15 =
|
|
427866
|
+
dependenciesTotalSize15 = 29698903;
|
|
427867
427867
|
phpVersionString15 = "7.3.33";
|
|
427868
427868
|
}
|
|
427869
427869
|
});
|
|
@@ -456855,7 +456855,7 @@ var init_php_7_22 = __esm({
|
|
|
456855
456855
|
"packages/php-wasm/node/asyncify/php_7_2.js"() {
|
|
456856
456856
|
"use strict";
|
|
456857
456857
|
dependencyFilename16 = path16.join(__dirname + "/asyncify", "7_2_34", "php_7_2.wasm");
|
|
456858
|
-
dependenciesTotalSize16 =
|
|
456858
|
+
dependenciesTotalSize16 = 29381880;
|
|
456859
456859
|
phpVersionString16 = "7.2.34";
|
|
456860
456860
|
}
|
|
456861
456861
|
});
|
|
@@ -457616,7 +457616,7 @@ async function loadNodeRuntime(phpVersion, options = {}) {
|
|
|
457616
457616
|
)
|
|
457617
457617
|
);
|
|
457618
457618
|
const symlinkPath = joinPaths(
|
|
457619
|
-
`/
|
|
457619
|
+
`/internal/symlinks`,
|
|
457620
457620
|
absoluteSourcePath
|
|
457621
457621
|
);
|
|
457622
457622
|
if (!FSHelpers3.fileExists(phpRuntime.FS, symlinkPath) && fs4.existsSync(absoluteSourcePath)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
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": "886a4a87ea86fed4f76ef1d71fc53601fc90c724",
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=20.18.3",
|
|
44
44
|
"npm": ">=10.1.0"
|
|
@@ -49,11 +49,11 @@
|
|
|
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": "2.0.
|
|
53
|
-
"@php-wasm/universal": "2.0.
|
|
54
|
-
"@php-wasm/logger": "2.0.
|
|
55
|
-
"@php-wasm/util": "2.0.
|
|
56
|
-
"@wp-playground/common": "2.0.
|
|
52
|
+
"@php-wasm/node-polyfills": "2.0.8",
|
|
53
|
+
"@php-wasm/universal": "2.0.8",
|
|
54
|
+
"@php-wasm/logger": "2.0.8",
|
|
55
|
+
"@php-wasm/util": "2.0.8",
|
|
56
|
+
"@wp-playground/common": "2.0.8"
|
|
57
57
|
},
|
|
58
58
|
"overrides": {
|
|
59
59
|
"rollup": "^4.34.6",
|