@php-wasm/node 3.0.42 → 3.0.43
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 +0 -12
- package/index.js +0 -12
- package/lib/extensions/intl/with-intl.d.ts +1 -1
- package/lib/extensions/xdebug/with-xdebug.d.ts +1 -1
- package/package.json +14 -16
package/index.cjs
CHANGED
|
@@ -61,10 +61,6 @@ async function getPHPLoaderModule(version = import_universal.LatestSupportedPHPV
|
|
|
61
61
|
return (await import("@php-wasm/node-8-0")).getPHPLoaderModule();
|
|
62
62
|
case "7.4":
|
|
63
63
|
return (await import("@php-wasm/node-7-4")).getPHPLoaderModule();
|
|
64
|
-
case "7.3":
|
|
65
|
-
return (await import("@php-wasm/node-7-3")).getPHPLoaderModule();
|
|
66
|
-
case "7.2":
|
|
67
|
-
return (await import("@php-wasm/node-7-2")).getPHPLoaderModule();
|
|
68
64
|
}
|
|
69
65
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
70
66
|
} catch (errorCandidate) {
|
|
@@ -444,10 +440,6 @@ async function getXdebugExtensionModule(version = import_universal2.LatestSuppor
|
|
|
444
440
|
return (await import("@php-wasm/node-8-0")).getXdebugExtensionPath();
|
|
445
441
|
case "7.4":
|
|
446
442
|
return (await import("@php-wasm/node-7-4")).getXdebugExtensionPath();
|
|
447
|
-
case "7.3":
|
|
448
|
-
return (await import("@php-wasm/node-7-3")).getXdebugExtensionPath();
|
|
449
|
-
case "7.2":
|
|
450
|
-
return (await import("@php-wasm/node-7-2")).getXdebugExtensionPath();
|
|
451
443
|
}
|
|
452
444
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
453
445
|
}
|
|
@@ -531,10 +523,6 @@ async function getIntlExtensionModule(version = import_universal4.LatestSupporte
|
|
|
531
523
|
return (await import("@php-wasm/node-8-0")).getIntlExtensionPath();
|
|
532
524
|
case "7.4":
|
|
533
525
|
return (await import("@php-wasm/node-7-4")).getIntlExtensionPath();
|
|
534
|
-
case "7.3":
|
|
535
|
-
return (await import("@php-wasm/node-7-3")).getIntlExtensionPath();
|
|
536
|
-
case "7.2":
|
|
537
|
-
return (await import("@php-wasm/node-7-2")).getIntlExtensionPath();
|
|
538
526
|
}
|
|
539
527
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
540
528
|
}
|
package/index.js
CHANGED
|
@@ -28,10 +28,6 @@ async function getPHPLoaderModule(version = LatestSupportedPHPVersion) {
|
|
|
28
28
|
return (await import("@php-wasm/node-8-0")).getPHPLoaderModule();
|
|
29
29
|
case "7.4":
|
|
30
30
|
return (await import("@php-wasm/node-7-4")).getPHPLoaderModule();
|
|
31
|
-
case "7.3":
|
|
32
|
-
return (await import("@php-wasm/node-7-3")).getPHPLoaderModule();
|
|
33
|
-
case "7.2":
|
|
34
|
-
return (await import("@php-wasm/node-7-2")).getPHPLoaderModule();
|
|
35
31
|
}
|
|
36
32
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
37
33
|
} catch (errorCandidate) {
|
|
@@ -411,10 +407,6 @@ async function getXdebugExtensionModule(version = LatestSupportedPHPVersion2) {
|
|
|
411
407
|
return (await import("@php-wasm/node-8-0")).getXdebugExtensionPath();
|
|
412
408
|
case "7.4":
|
|
413
409
|
return (await import("@php-wasm/node-7-4")).getXdebugExtensionPath();
|
|
414
|
-
case "7.3":
|
|
415
|
-
return (await import("@php-wasm/node-7-3")).getXdebugExtensionPath();
|
|
416
|
-
case "7.2":
|
|
417
|
-
return (await import("@php-wasm/node-7-2")).getXdebugExtensionPath();
|
|
418
410
|
}
|
|
419
411
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
420
412
|
}
|
|
@@ -498,10 +490,6 @@ async function getIntlExtensionModule(version = LatestSupportedPHPVersion4) {
|
|
|
498
490
|
return (await import("@php-wasm/node-8-0")).getIntlExtensionPath();
|
|
499
491
|
case "7.4":
|
|
500
492
|
return (await import("@php-wasm/node-7-4")).getIntlExtensionPath();
|
|
501
|
-
case "7.3":
|
|
502
|
-
return (await import("@php-wasm/node-7-3")).getIntlExtensionPath();
|
|
503
|
-
case "7.2":
|
|
504
|
-
return (await import("@php-wasm/node-7-2")).getIntlExtensionPath();
|
|
505
493
|
}
|
|
506
494
|
throw new Error(`Unsupported PHP version ${version}`);
|
|
507
495
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { EmscriptenOptions } from '@php-wasm/universal';
|
|
2
|
-
export declare function withIntl(version: "8.5" | "8.4" | "8.3" | "8.2" | "8.1" | "8.0" | "7.4" |
|
|
2
|
+
export declare function withIntl(version: "8.5" | "8.4" | "8.3" | "8.2" | "8.1" | "8.0" | "7.4" | undefined, options: EmscriptenOptions): Promise<EmscriptenOptions>;
|
|
@@ -2,4 +2,4 @@ import type { EmscriptenOptions } from '@php-wasm/universal';
|
|
|
2
2
|
export interface XdebugOptions {
|
|
3
3
|
ideKey?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function withXdebug(version: "8.5" | "8.4" | "8.3" | "8.2" | "8.1" | "8.0" | "7.4" |
|
|
5
|
+
export declare function withXdebug(version: "8.5" | "8.4" | "8.3" | "8.2" | "8.1" | "8.0" | "7.4" | undefined, options: EmscriptenOptions, xdebugOptions?: XdebugOptions): Promise<EmscriptenOptions>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.43",
|
|
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": "a73661b5ec1f5d4bd2b1cd29789625d80561ff85",
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=20.18.3",
|
|
44
44
|
"npm": ">=10.1.0"
|
|
@@ -49,20 +49,18 @@
|
|
|
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/
|
|
62
|
-
"@php-wasm/
|
|
63
|
-
"@
|
|
64
|
-
"@php-wasm/util": "3.0.42",
|
|
65
|
-
"@wp-playground/common": "3.0.42"
|
|
52
|
+
"@php-wasm/node-polyfills": "3.0.43",
|
|
53
|
+
"@php-wasm/universal": "3.0.43",
|
|
54
|
+
"@php-wasm/node-8-5": "3.0.43",
|
|
55
|
+
"@php-wasm/node-8-4": "3.0.43",
|
|
56
|
+
"@php-wasm/node-8-3": "3.0.43",
|
|
57
|
+
"@php-wasm/node-8-2": "3.0.43",
|
|
58
|
+
"@php-wasm/node-8-1": "3.0.43",
|
|
59
|
+
"@php-wasm/node-8-0": "3.0.43",
|
|
60
|
+
"@php-wasm/node-7-4": "3.0.43",
|
|
61
|
+
"@php-wasm/logger": "3.0.43",
|
|
62
|
+
"@php-wasm/util": "3.0.43",
|
|
63
|
+
"@wp-playground/common": "3.0.43"
|
|
66
64
|
},
|
|
67
65
|
"packageManager": "npm@10.9.2",
|
|
68
66
|
"overrides": {
|