@wp-playground/cli 3.1.18 → 3.1.19

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-DZBuTllO.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-DGeb628T.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-CrCfo8mJ.js").then((e) => e.c).then(({ parseOptionsAndRunCLI: e }) => {
7
+ import("./run-cli-D1CmUFoL.js").then((e) => e.c).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-DZBuTllO.cjs");exports.LogVerbosity=e.LogVerbosity;exports.internalsKeyForTesting=e.internalsKeyForTesting;exports.mergeDefinedConstants=e.mergeDefinedConstants;exports.parseOptionsAndRunCLI=e.parseOptionsAndRunCLI;exports.runCLI=e.runCLI;exports.spawnWorkerThread=e.spawnWorkerThread;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./run-cli-DGeb628T.cjs");exports.LogVerbosity=e.LogVerbosity;exports.internalsKeyForTesting=e.internalsKeyForTesting;exports.mergeDefinedConstants=e.mergeDefinedConstants;exports.parseOptionsAndRunCLI=e.parseOptionsAndRunCLI;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, s as i } from "./run-cli-CrCfo8mJ.js";
1
+ import { L as r, i as a, m as n, p as o, r as t, s as i } from "./run-cli-D1CmUFoL.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.18",
3
+ "version": "3.1.19",
4
4
  "description": "WordPress Playground CLI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "bin": {
35
35
  "wp-playground-cli": "wp-playground.js"
36
36
  },
37
- "gitHead": "556d5464c00b85ced0a505a31968b3fa1753eb28",
37
+ "gitHead": "be542ee28a5966eeb28154cd8e3723db5ff9df07",
38
38
  "dependencies": {
39
39
  "@zip.js/zip.js": "2.7.57",
40
40
  "ajv": "8.12.0",
@@ -61,18 +61,18 @@
61
61
  "ws": "8.18.3",
62
62
  "xml2js": "0.6.2",
63
63
  "yargs": "17.7.2",
64
- "@wp-playground/common": "3.1.18",
65
- "@php-wasm/logger": "3.1.18",
66
- "@php-wasm/progress": "3.1.18",
67
- "@php-wasm/universal": "3.1.18",
68
- "@wp-playground/blueprints": "3.1.18",
69
- "@wp-playground/wordpress": "3.1.18",
70
- "@php-wasm/node": "3.1.18",
71
- "@php-wasm/util": "3.1.18",
72
- "@php-wasm/cli-util": "3.1.18",
73
- "@wp-playground/storage": "3.1.18",
74
- "@php-wasm/xdebug-bridge": "3.1.18",
75
- "@wp-playground/tools": "3.1.18"
64
+ "@wp-playground/common": "3.1.19",
65
+ "@php-wasm/logger": "3.1.19",
66
+ "@php-wasm/progress": "3.1.19",
67
+ "@php-wasm/universal": "3.1.19",
68
+ "@wp-playground/blueprints": "3.1.19",
69
+ "@wp-playground/wordpress": "3.1.19",
70
+ "@php-wasm/node": "3.1.19",
71
+ "@php-wasm/util": "3.1.19",
72
+ "@php-wasm/cli-util": "3.1.19",
73
+ "@wp-playground/storage": "3.1.19",
74
+ "@php-wasm/xdebug-bridge": "3.1.19",
75
+ "@wp-playground/tools": "3.1.19"
76
76
  },
77
77
  "packageManager": "npm@10.9.2",
78
78
  "overrides": {