@wp-playground/cli 3.1.35 → 3.1.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.
package/cli.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("child_process");function t(){return!("Suspending"in WebAssembly||process.env.PLAYGROUND_NO_JSPI_RESPAWN||process.versions.bun||"Deno"in globalThis||process.execArgv.includes("--experimental-wasm-jspi")||parseInt(process.versions.node.split(".")[0],10)<23)}function o(){const r=process.argv.slice(2);Promise.resolve().then(()=>require("./run-cli-C1cUS9na.cjs")).then(e=>e.runCli).then(({parseOptionsAndRunCLI:e})=>{e(r)})}if(t()){const r=Date.now(),e=i.spawn(process.execPath,["--experimental-wasm-jspi",...process.execArgv,...process.argv.slice(1)],{stdio:"inherit"});for(const s of["SIGINT","SIGTERM"])process.on(s,()=>e.kill(s));e.on("error",()=>{o()}),e.on("close",(s,n)=>{if(s!==0&&!n&&Date.now()-r<1e3){o();return}n?process.kill(process.pid,n):process.exit(s)})}else o();
1
+ "use strict";const i=require("child_process");function t(){return!("Suspending"in WebAssembly||process.env.PLAYGROUND_NO_JSPI_RESPAWN||process.versions.bun||"Deno"in globalThis||process.execArgv.includes("--experimental-wasm-jspi")||parseInt(process.versions.node.split(".")[0],10)<23)}function o(){const r=process.argv.slice(2);Promise.resolve().then(()=>require("./run-cli-BCIvTpD9.cjs")).then(e=>e.runCli).then(({parseOptionsAndRunCLI:e})=>{e(r)})}if(t()){const r=Date.now(),e=i.spawn(process.execPath,["--experimental-wasm-jspi",...process.execArgv,...process.argv.slice(1)],{stdio:"inherit"});for(const s of["SIGINT","SIGTERM"])process.on(s,()=>e.kill(s));e.on("error",()=>{o()}),e.on("close",(s,n)=>{if(s!==0&&!n&&Date.now()-r<1e3){o();return}n?process.kill(process.pid,n):process.exit(s)})}else o();
2
2
  //# sourceMappingURL=cli.cjs.map
package/cli.js CHANGED
@@ -4,7 +4,7 @@ function t() {
4
4
  }
5
5
  function o() {
6
6
  const r = process.argv.slice(2);
7
- import("./run-cli-DxD1h5dy.js").then((e) => e.d).then(({ parseOptionsAndRunCLI: e }) => {
7
+ import("./run-cli-B5GdKs2V.js").then((e) => e.d).then(({ parseOptionsAndRunCLI: e }) => {
8
8
  e(r);
9
9
  });
10
10
  }
package/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./run-cli-C1cUS9na.cjs");exports.LogVerbosity=e.LogVerbosity;exports.internalsKeyForTesting=e.internalsKeyForTesting;exports.mergeDefinedConstants=e.mergeDefinedConstants;exports.parseOptionsAndRunCLI=e.parseOptionsAndRunCLI;exports.resolveWorkerCount=e.resolveWorkerCount;exports.runCLI=e.runCLI;exports.spawnWorkerThread=e.spawnWorkerThread;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./run-cli-BCIvTpD9.cjs");exports.LogVerbosity=e.LogVerbosity;exports.internalsKeyForTesting=e.internalsKeyForTesting;exports.mergeDefinedConstants=e.mergeDefinedConstants;exports.parseOptionsAndRunCLI=e.parseOptionsAndRunCLI;exports.resolveWorkerCount=e.resolveWorkerCount;exports.runCLI=e.runCLI;exports.spawnWorkerThread=e.spawnWorkerThread;
2
2
  //# sourceMappingURL=index.cjs.map
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as r, i as a, m as n, p as o, r as t, a as i, s as p } from "./run-cli-DxD1h5dy.js";
1
+ import { L as r, i as a, m as n, p as o, r as t, a as i, s as p } from "./run-cli-B5GdKs2V.js";
2
2
  export {
3
3
  r as LogVerbosity,
4
4
  a as internalsKeyForTesting,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/cli",
3
- "version": "3.1.35",
3
+ "version": "3.1.36",
4
4
  "description": "WordPress Playground CLI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,25 +34,25 @@
34
34
  "bin": {
35
35
  "wp-playground-cli": "wp-playground.js"
36
36
  },
37
- "gitHead": "9d29b73246e12465902d8ce42c0fe747125bc69a",
37
+ "gitHead": "371f4fd6f9d56af6fb35b6c2cf0267edaea83755",
38
38
  "dependencies": {
39
39
  "express": "4.22.0",
40
40
  "fs-extra": "11.1.1",
41
41
  "tmp-promise": "3.0.3",
42
42
  "wasm-feature-detect": "1.8.0",
43
43
  "yargs": "17.7.2",
44
- "@wp-playground/common": "3.1.35",
45
- "@php-wasm/logger": "3.1.35",
46
- "@php-wasm/progress": "3.1.35",
47
- "@php-wasm/universal": "3.1.35",
48
- "@wp-playground/blueprints": "3.1.35",
49
- "@wp-playground/wordpress": "3.1.35",
50
- "@php-wasm/node": "3.1.35",
51
- "@php-wasm/util": "3.1.35",
52
- "@php-wasm/cli-util": "3.1.35",
53
- "@wp-playground/storage": "3.1.35",
54
- "@php-wasm/xdebug-bridge": "3.1.35",
55
- "@wp-playground/tools": "3.1.35"
44
+ "@wp-playground/common": "3.1.36",
45
+ "@php-wasm/logger": "3.1.36",
46
+ "@php-wasm/progress": "3.1.36",
47
+ "@php-wasm/universal": "3.1.36",
48
+ "@wp-playground/blueprints": "3.1.36",
49
+ "@wp-playground/wordpress": "3.1.36",
50
+ "@php-wasm/node": "3.1.36",
51
+ "@php-wasm/util": "3.1.36",
52
+ "@php-wasm/cli-util": "3.1.36",
53
+ "@wp-playground/storage": "3.1.36",
54
+ "@php-wasm/xdebug-bridge": "3.1.36",
55
+ "@wp-playground/tools": "3.1.36"
56
56
  },
57
57
  "packageManager": "npm@10.9.2",
58
58
  "overrides": {