@php-wasm/node-8-5 3.0.41 → 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.
|
Binary file
|
package/asyncify/php_8_5.js
CHANGED
|
@@ -7,14 +7,16 @@ const require = createRequire(import.meta.url);
|
|
|
7
7
|
import path from 'path';
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
9
9
|
|
|
10
|
+
// Determine the current directory path. In CJS mode, __dirname is available.
|
|
11
|
+
// In ESM mode, we derive it from import.meta.url.
|
|
10
12
|
const currentDirPath =
|
|
11
13
|
typeof __dirname !== 'undefined'
|
|
12
14
|
? __dirname
|
|
13
15
|
: path.dirname(fileURLToPath(import.meta.url));
|
|
14
|
-
const dependencyFilename = path.join(currentDirPath, '
|
|
16
|
+
const dependencyFilename = path.join(currentDirPath, '8_5_2', 'php_8_5.wasm');
|
|
15
17
|
export { dependencyFilename };
|
|
16
|
-
export const dependenciesTotalSize =
|
|
17
|
-
const phpVersionString = '8.5.
|
|
18
|
+
export const dependenciesTotalSize = 31307064;
|
|
19
|
+
const phpVersionString = '8.5.2';
|
|
18
20
|
export function init(RuntimeName, PHPLoader) {
|
|
19
21
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
20
22
|
// include: shell.js
|
|
Binary file
|
package/jspi/php_8_5.js
CHANGED
|
@@ -7,14 +7,16 @@ const require = createRequire(import.meta.url);
|
|
|
7
7
|
import path from 'path';
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
9
9
|
|
|
10
|
+
// Determine the current directory path. In CJS mode, __dirname is available.
|
|
11
|
+
// In ESM mode, we derive it from import.meta.url.
|
|
10
12
|
const currentDirPath =
|
|
11
13
|
typeof __dirname !== 'undefined'
|
|
12
14
|
? __dirname
|
|
13
15
|
: path.dirname(fileURLToPath(import.meta.url));
|
|
14
|
-
const dependencyFilename = path.join(currentDirPath, '
|
|
16
|
+
const dependencyFilename = path.join(currentDirPath, '8_5_2', 'php_8_5.wasm');
|
|
15
17
|
export { dependencyFilename };
|
|
16
|
-
export const dependenciesTotalSize =
|
|
17
|
-
const phpVersionString = '8.5.
|
|
18
|
+
export const dependenciesTotalSize = 30719778;
|
|
19
|
+
const phpVersionString = '8.5.2';
|
|
18
20
|
export function init(RuntimeName, PHPLoader) {
|
|
19
21
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
20
22
|
// include: shell.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node-8-5",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.43",
|
|
4
4
|
"description": "PHP 8.5 WebAssembly binaries for node",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"node": ">=20.18.3",
|
|
36
36
|
"npm": ">=10.1.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "a73661b5ec1f5d4bd2b1cd29789625d80561ff85",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"ini": "4.1.2",
|
|
41
41
|
"wasm-feature-detect": "1.8.0",
|
|
42
42
|
"ws": "8.18.3",
|
|
43
|
-
"@php-wasm/universal": "3.0.
|
|
43
|
+
"@php-wasm/universal": "3.0.43"
|
|
44
44
|
},
|
|
45
45
|
"packageManager": "npm@10.9.2",
|
|
46
46
|
"overrides": {
|