@php-wasm/node 0.9.34 → 0.9.36

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.
Files changed (3) hide show
  1. package/index.cjs +4 -1
  2. package/index.js +4 -1
  3. package/package.json +8 -8
package/index.cjs CHANGED
@@ -67167,9 +67167,12 @@ function listenTCPToWSProxy(options) {
67167
67167
  // packages/php-wasm/node/src/lib/networking/with-networking.ts
67168
67168
  async function withNetworking(phpModuleArgs = {}) {
67169
67169
  const [inboundProxyWsServerPort, outboundProxyWsServerPort] = await findFreePorts(2);
67170
- await initOutboundWebsocketProxyServer(outboundProxyWsServerPort);
67170
+ const outboundNetworkProxyServer = await initOutboundWebsocketProxyServer(
67171
+ outboundProxyWsServerPort
67172
+ );
67171
67173
  return {
67172
67174
  ...phpModuleArgs,
67175
+ outboundNetworkProxyServer,
67173
67176
  websocket: {
67174
67177
  ...phpModuleArgs["websocket"] || {},
67175
67178
  url: (_, host, port) => {
package/index.js CHANGED
@@ -67148,9 +67148,12 @@ function listenTCPToWSProxy(options) {
67148
67148
  // packages/php-wasm/node/src/lib/networking/with-networking.ts
67149
67149
  async function withNetworking(phpModuleArgs = {}) {
67150
67150
  const [inboundProxyWsServerPort, outboundProxyWsServerPort] = await findFreePorts(2);
67151
- await initOutboundWebsocketProxyServer(outboundProxyWsServerPort);
67151
+ const outboundNetworkProxyServer = await initOutboundWebsocketProxyServer(
67152
+ outboundProxyWsServerPort
67153
+ );
67152
67154
  return {
67153
67155
  ...phpModuleArgs,
67156
+ outboundNetworkProxyServer,
67154
67157
  websocket: {
67155
67158
  ...phpModuleArgs["websocket"] || {},
67156
67159
  url: (_, host, port) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node",
3
- "version": "0.9.34",
3
+ "version": "0.9.36",
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": "7bb2d07709cc230bf3c940b80ef39fa643e53916",
41
+ "gitHead": "7e69767d7998d57224cbbc5a1de986cef93cee0f",
42
42
  "engines": {
43
43
  "node": ">=18.18.0",
44
44
  "npm": ">=8.11.0"
@@ -49,11 +49,11 @@
49
49
  "ini": "4.1.2",
50
50
  "ws": "8.18.0",
51
51
  "yargs": "17.7.2",
52
- "@php-wasm/node-polyfills": "0.9.34",
53
- "@php-wasm/universal": "0.9.34",
54
- "@php-wasm/logger": "0.9.34",
55
- "@php-wasm/util": "0.9.34",
56
- "@wp-playground/common": "0.9.34",
57
- "@wp-playground/wordpress": "0.9.34"
52
+ "@php-wasm/node-polyfills": "0.9.36",
53
+ "@php-wasm/universal": "0.9.36",
54
+ "@php-wasm/logger": "0.9.36",
55
+ "@php-wasm/util": "0.9.36",
56
+ "@wp-playground/common": "0.9.36",
57
+ "@wp-playground/wordpress": "0.9.36"
58
58
  }
59
59
  }