@php-wasm/node 3.0.33 → 3.0.34
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/index.cjs +27 -27
- package/package.json +16 -16
package/index.cjs
CHANGED
|
@@ -47,23 +47,23 @@ var import_universal = require("@php-wasm/universal");
|
|
|
47
47
|
async function getPHPLoaderModule(version = import_universal.LatestSupportedPHPVersion) {
|
|
48
48
|
switch (version) {
|
|
49
49
|
case "8.5":
|
|
50
|
-
return (await
|
|
50
|
+
return (await import("@php-wasm/node-8-5")).getPHPLoaderModule();
|
|
51
51
|
case "8.4":
|
|
52
|
-
return (await
|
|
52
|
+
return (await import("@php-wasm/node-8-4")).getPHPLoaderModule();
|
|
53
53
|
case "8.3":
|
|
54
|
-
return (await
|
|
54
|
+
return (await import("@php-wasm/node-8-3")).getPHPLoaderModule();
|
|
55
55
|
case "8.2":
|
|
56
|
-
return (await
|
|
56
|
+
return (await import("@php-wasm/node-8-2")).getPHPLoaderModule();
|
|
57
57
|
case "8.1":
|
|
58
|
-
return (await
|
|
58
|
+
return (await import("@php-wasm/node-8-1")).getPHPLoaderModule();
|
|
59
59
|
case "8.0":
|
|
60
|
-
return (await
|
|
60
|
+
return (await import("@php-wasm/node-8-0")).getPHPLoaderModule();
|
|
61
61
|
case "7.4":
|
|
62
|
-
return (await
|
|
62
|
+
return (await import("@php-wasm/node-7-4")).getPHPLoaderModule();
|
|
63
63
|
case "7.3":
|
|
64
|
-
return (await
|
|
64
|
+
return (await import("@php-wasm/node-7-3")).getPHPLoaderModule();
|
|
65
65
|
case "7.2":
|
|
66
|
-
return (await
|
|
66
|
+
return (await import("@php-wasm/node-7-2")).getPHPLoaderModule();
|
|
67
67
|
}
|
|
68
68
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
69
69
|
}
|
|
@@ -402,23 +402,23 @@ var import_universal2 = require("@php-wasm/universal");
|
|
|
402
402
|
async function getXdebugExtensionModule(version = import_universal2.LatestSupportedPHPVersion) {
|
|
403
403
|
switch (version) {
|
|
404
404
|
case "8.5":
|
|
405
|
-
return (await
|
|
405
|
+
return (await import("@php-wasm/node-8-5")).getXdebugExtensionPath();
|
|
406
406
|
case "8.4":
|
|
407
|
-
return (await
|
|
407
|
+
return (await import("@php-wasm/node-8-4")).getXdebugExtensionPath();
|
|
408
408
|
case "8.3":
|
|
409
|
-
return (await
|
|
409
|
+
return (await import("@php-wasm/node-8-3")).getXdebugExtensionPath();
|
|
410
410
|
case "8.2":
|
|
411
|
-
return (await
|
|
411
|
+
return (await import("@php-wasm/node-8-2")).getXdebugExtensionPath();
|
|
412
412
|
case "8.1":
|
|
413
|
-
return (await
|
|
413
|
+
return (await import("@php-wasm/node-8-1")).getXdebugExtensionPath();
|
|
414
414
|
case "8.0":
|
|
415
|
-
return (await
|
|
415
|
+
return (await import("@php-wasm/node-8-0")).getXdebugExtensionPath();
|
|
416
416
|
case "7.4":
|
|
417
|
-
return (await
|
|
417
|
+
return (await import("@php-wasm/node-7-4")).getXdebugExtensionPath();
|
|
418
418
|
case "7.3":
|
|
419
|
-
return (await
|
|
419
|
+
return (await import("@php-wasm/node-7-3")).getXdebugExtensionPath();
|
|
420
420
|
case "7.2":
|
|
421
|
-
return (await
|
|
421
|
+
return (await import("@php-wasm/node-7-2")).getXdebugExtensionPath();
|
|
422
422
|
}
|
|
423
423
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
424
424
|
}
|
|
@@ -488,23 +488,23 @@ var import_universal4 = require("@php-wasm/universal");
|
|
|
488
488
|
async function getIntlExtensionModule(version = import_universal4.LatestSupportedPHPVersion) {
|
|
489
489
|
switch (version) {
|
|
490
490
|
case "8.5":
|
|
491
|
-
return (await
|
|
491
|
+
return (await import("@php-wasm/node-8-5")).getIntlExtensionPath();
|
|
492
492
|
case "8.4":
|
|
493
|
-
return (await
|
|
493
|
+
return (await import("@php-wasm/node-8-4")).getIntlExtensionPath();
|
|
494
494
|
case "8.3":
|
|
495
|
-
return (await
|
|
495
|
+
return (await import("@php-wasm/node-8-3")).getIntlExtensionPath();
|
|
496
496
|
case "8.2":
|
|
497
|
-
return (await
|
|
497
|
+
return (await import("@php-wasm/node-8-2")).getIntlExtensionPath();
|
|
498
498
|
case "8.1":
|
|
499
|
-
return (await
|
|
499
|
+
return (await import("@php-wasm/node-8-1")).getIntlExtensionPath();
|
|
500
500
|
case "8.0":
|
|
501
|
-
return (await
|
|
501
|
+
return (await import("@php-wasm/node-8-0")).getIntlExtensionPath();
|
|
502
502
|
case "7.4":
|
|
503
|
-
return (await
|
|
503
|
+
return (await import("@php-wasm/node-7-4")).getIntlExtensionPath();
|
|
504
504
|
case "7.3":
|
|
505
|
-
return (await
|
|
505
|
+
return (await import("@php-wasm/node-7-3")).getIntlExtensionPath();
|
|
506
506
|
case "7.2":
|
|
507
|
-
return (await
|
|
507
|
+
return (await import("@php-wasm/node-7-2")).getIntlExtensionPath();
|
|
508
508
|
}
|
|
509
509
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
510
510
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.34",
|
|
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": "5e146a8f0772bb97881a28a52747ae4abfa36f9b",
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=20.18.3",
|
|
44
44
|
"npm": ">=10.1.0"
|
|
@@ -49,20 +49,20 @@
|
|
|
49
49
|
"wasm-feature-detect": "1.8.0",
|
|
50
50
|
"ws": "8.18.3",
|
|
51
51
|
"yargs": "17.7.2",
|
|
52
|
-
"@php-wasm/node-polyfills": "3.0.
|
|
53
|
-
"@php-wasm/universal": "3.0.
|
|
54
|
-
"@php-wasm/node-8-5": "3.0.
|
|
55
|
-
"@php-wasm/node-8-4": "3.0.
|
|
56
|
-
"@php-wasm/node-8-3": "3.0.
|
|
57
|
-
"@php-wasm/node-8-2": "3.0.
|
|
58
|
-
"@php-wasm/node-8-1": "3.0.
|
|
59
|
-
"@php-wasm/node-8-0": "3.0.
|
|
60
|
-
"@php-wasm/node-7-4": "3.0.
|
|
61
|
-
"@php-wasm/node-7-3": "3.0.
|
|
62
|
-
"@php-wasm/node-7-2": "3.0.
|
|
63
|
-
"@php-wasm/logger": "3.0.
|
|
64
|
-
"@php-wasm/util": "3.0.
|
|
65
|
-
"@wp-playground/common": "3.0.
|
|
52
|
+
"@php-wasm/node-polyfills": "3.0.34",
|
|
53
|
+
"@php-wasm/universal": "3.0.34",
|
|
54
|
+
"@php-wasm/node-8-5": "3.0.34",
|
|
55
|
+
"@php-wasm/node-8-4": "3.0.34",
|
|
56
|
+
"@php-wasm/node-8-3": "3.0.34",
|
|
57
|
+
"@php-wasm/node-8-2": "3.0.34",
|
|
58
|
+
"@php-wasm/node-8-1": "3.0.34",
|
|
59
|
+
"@php-wasm/node-8-0": "3.0.34",
|
|
60
|
+
"@php-wasm/node-7-4": "3.0.34",
|
|
61
|
+
"@php-wasm/node-7-3": "3.0.34",
|
|
62
|
+
"@php-wasm/node-7-2": "3.0.34",
|
|
63
|
+
"@php-wasm/logger": "3.0.34",
|
|
64
|
+
"@php-wasm/util": "3.0.34",
|
|
65
|
+
"@wp-playground/common": "3.0.34"
|
|
66
66
|
},
|
|
67
67
|
"packageManager": "npm@10.9.2",
|
|
68
68
|
"overrides": {
|