@php-wasm/node 3.0.43 → 3.0.44

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.
@@ -9,7 +9,7 @@ export interface PHPLoaderOptions {
9
9
  xdebug?: XdebugOptions;
10
10
  withIntl?: boolean;
11
11
  }
12
- type PHPLoaderOptionsForNode = PHPLoaderOptions & {
12
+ export type PHPLoaderOptionsForNode = PHPLoaderOptions & {
13
13
  emscriptenOptions?: EmscriptenOptions & {
14
14
  /**
15
15
  * The process ID for the PHP runtime.
@@ -59,4 +59,3 @@ type PHPLoaderOptionsForNode = PHPLoaderOptions & {
59
59
  * @see load
60
60
  */
61
61
  export declare function loadNodeRuntime(phpVersion: SupportedPHPVersion, options?: PHPLoaderOptionsForNode): Promise<number>;
62
- export {};
@@ -0,0 +1,9 @@
1
+ export declare class SyscallsForNode {
2
+ /**
3
+ * Resolve a hostname to an IP address.
4
+ *
5
+ * @param hostname The hostname to resolve.
6
+ * @returns The IP address of the hostname as a string.
7
+ */
8
+ gethostbyname(hostname: string): Promise<string>;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node",
3
- "version": "3.0.43",
3
+ "version": "3.0.44",
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": "a73661b5ec1f5d4bd2b1cd29789625d80561ff85",
41
+ "gitHead": "16881b9b024e961a5254be5b366fad096585c310",
42
42
  "engines": {
43
43
  "node": ">=20.18.3",
44
44
  "npm": ">=10.1.0"
@@ -49,18 +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.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"
52
+ "@php-wasm/node-polyfills": "3.0.44",
53
+ "@php-wasm/universal": "3.0.44",
54
+ "@php-wasm/node-8-5": "3.0.44",
55
+ "@php-wasm/node-8-4": "3.0.44",
56
+ "@php-wasm/node-8-3": "3.0.44",
57
+ "@php-wasm/node-8-2": "3.0.44",
58
+ "@php-wasm/node-8-1": "3.0.44",
59
+ "@php-wasm/node-8-0": "3.0.44",
60
+ "@php-wasm/node-7-4": "3.0.44",
61
+ "@php-wasm/logger": "3.0.44",
62
+ "@php-wasm/util": "3.0.44",
63
+ "@wp-playground/common": "3.0.44"
64
64
  },
65
65
  "packageManager": "npm@10.9.2",
66
66
  "overrides": {