@php-wasm/node 0.1.11 → 0.1.17

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.d.ts CHANGED
@@ -321,7 +321,7 @@ export type EmscriptenOptions = {
321
321
  } & Record<string, any>;
322
322
  export type MountSettings = {
323
323
  root: string;
324
- mountpoint: string;
324
+ mountpoint?: string;
325
325
  };
326
326
  /**
327
327
  * An environment-agnostic wrapper around the Emscripten PHP runtime
@@ -347,6 +347,7 @@ export declare class PHP implements WithPHPIniBindings, WithFilesystem, WithNode
347
347
  setPhpIniPath(path: string): void;
348
348
  /** @inheritDoc */
349
349
  setPhpIniEntry(key: string, value: string): void;
350
+ chdir(path: string): void;
350
351
  /** @inheritDoc */
351
352
  run(request?: PHPRequest): PHPResponse;
352
353
  cli(argv: string[]): Promise<number>;
package/noop.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node",
3
- "version": "0.1.11",
3
+ "version": "0.1.17",
4
4
  "description": "PHP.wasm for Node.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,10 +20,9 @@
20
20
  "directory": "../../../dist/packages/php-wasm/node"
21
21
  },
22
22
  "license": "(GPL-2.0-or-later OR MPL-2.0)",
23
- "type": "module",
24
- "gitHead": "e6a7ed1b4e3e804590a5d9c40d95dfb9e6281e1a",
23
+ "gitHead": "252cef47cf1e98e446488691c8c83b5dec86ff46",
25
24
  "dependencies": {
26
25
  "comlink": "4.4.1"
27
26
  },
28
- "main": "index.js"
27
+ "main": "index.cjs"
29
28
  }
package/php_5_6.wasm CHANGED
Binary file
package/php_7_0.wasm CHANGED
Binary file
package/php_7_1.wasm CHANGED
Binary file
package/php_7_2.wasm CHANGED
Binary file
package/php_7_3.wasm CHANGED
Binary file
package/php_7_4.wasm CHANGED
Binary file
package/php_8_0.wasm CHANGED
Binary file
package/php_8_1.wasm CHANGED
Binary file
package/php_8_2.wasm CHANGED
Binary file