@php-wasm/node-8-1 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.
|
Binary file
|
package/asyncify/php_8_1.js
CHANGED
|
@@ -7,13 +7,15 @@ 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
16
|
const dependencyFilename = path.join(currentDirPath, '8_1_34', 'php_8_1.wasm');
|
|
15
17
|
export { dependencyFilename };
|
|
16
|
-
export const dependenciesTotalSize =
|
|
18
|
+
export const dependenciesTotalSize = 27231625;
|
|
17
19
|
const phpVersionString = '8.1.34';
|
|
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
|
package/jspi/8_1_34/php_8_1.wasm
CHANGED
|
Binary file
|
package/jspi/php_8_1.js
CHANGED
|
@@ -7,13 +7,15 @@ 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
16
|
const dependencyFilename = path.join(currentDirPath, '8_1_34', 'php_8_1.wasm');
|
|
15
17
|
export { dependencyFilename };
|
|
16
|
-
export const dependenciesTotalSize =
|
|
18
|
+
export const dependenciesTotalSize = 26663958;
|
|
17
19
|
const phpVersionString = '8.1.34';
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node-8-1",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.43",
|
|
4
4
|
"description": "PHP 8.1 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": {
|