@php-wasm/universal 3.1.2 → 3.1.3
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 +5 -5
- package/index.cjs.map +1 -1
- package/index.js +140 -82
- package/index.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/php.d.ts +10 -2
- package/lib/process-id-allocator.d.ts +9 -0
- package/package.json +7 -7
package/lib/index.d.ts
CHANGED
package/lib/php.d.ts
CHANGED
|
@@ -351,10 +351,18 @@ export declare class PHP implements Disposable {
|
|
|
351
351
|
* Moves a file or directory in the PHP filesystem to a
|
|
352
352
|
* new location.
|
|
353
353
|
*
|
|
354
|
-
* @param
|
|
355
|
-
* @param
|
|
354
|
+
* @param fromPath The path to rename.
|
|
355
|
+
* @param toPath The new path.
|
|
356
356
|
*/
|
|
357
357
|
mv(fromPath: string, toPath: string): void;
|
|
358
|
+
/**
|
|
359
|
+
* Copies a file or directory in the PHP filesystem to a
|
|
360
|
+
* new location.
|
|
361
|
+
*
|
|
362
|
+
* @param fromPath The source path.
|
|
363
|
+
* @param toPath The target path.
|
|
364
|
+
*/
|
|
365
|
+
cp(fromPath: string, toPath: string): void;
|
|
358
366
|
/**
|
|
359
367
|
* Removes a directory from the PHP filesystem.
|
|
360
368
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/universal",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "PHP.wasm – emscripten bindings for PHP",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"module": "./index.js",
|
|
38
38
|
"types": "index.d.ts",
|
|
39
39
|
"license": "GPL-2.0-or-later",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "54bb87ba4c9624ec02f60194a2f1938b3f42477b",
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20.10.0",
|
|
43
43
|
"npm": ">=10.2.3"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"ini": "4.1.2",
|
|
47
|
-
"@php-wasm/node-polyfills": "3.1.
|
|
48
|
-
"@php-wasm/logger": "3.1.
|
|
49
|
-
"@php-wasm/util": "3.1.
|
|
50
|
-
"@php-wasm/stream-compression": "3.1.
|
|
51
|
-
"@php-wasm/progress": "3.1.
|
|
47
|
+
"@php-wasm/node-polyfills": "3.1.3",
|
|
48
|
+
"@php-wasm/logger": "3.1.3",
|
|
49
|
+
"@php-wasm/util": "3.1.3",
|
|
50
|
+
"@php-wasm/stream-compression": "3.1.3",
|
|
51
|
+
"@php-wasm/progress": "3.1.3"
|
|
52
52
|
},
|
|
53
53
|
"packageManager": "npm@10.9.2",
|
|
54
54
|
"overrides": {
|