@wp-playground/cli 3.1.15 → 3.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/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-BpNO572W.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-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();
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-CaJWk9j8.js").then((e) => e.c).then(({ parseOptionsAndRunCLI: e }) => {
7
+ import("./run-cli-CrCfo8mJ.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-BpNO572W.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-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;
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-CaJWk9j8.js";
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";
2
2
  export {
3
3
  r as LogVerbosity,
4
4
  a as internalsKeyForTesting,
@@ -4,6 +4,7 @@
4
4
  * The Regex is based on the releases on https://wordpress.org/download/releases/#betas
5
5
  * The version string can be one of the following formats:
6
6
  * - "latest"
7
+ * - "beta"
7
8
  * - "trunk"
8
9
  * - "trunk" (legacy alias: "nightly")
9
10
  * - "x.y" (x and y are integers) e.g. "6.2"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/cli",
3
- "version": "3.1.15",
3
+ "version": "3.1.17",
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": "65a430c046c86341e7dc3cf6f30c9a5aeb8aa67d",
37
+ "gitHead": "72cd51e70d02ad4ea39889f17a11dd7f7fab622e",
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.15",
65
- "@php-wasm/logger": "3.1.15",
66
- "@php-wasm/progress": "3.1.15",
67
- "@php-wasm/universal": "3.1.15",
68
- "@wp-playground/blueprints": "3.1.15",
69
- "@wp-playground/wordpress": "3.1.15",
70
- "@php-wasm/node": "3.1.15",
71
- "@php-wasm/util": "3.1.15",
72
- "@php-wasm/cli-util": "3.1.15",
73
- "@wp-playground/storage": "3.1.15",
74
- "@php-wasm/xdebug-bridge": "3.1.15",
75
- "@wp-playground/tools": "3.1.15"
64
+ "@wp-playground/common": "3.1.17",
65
+ "@php-wasm/logger": "3.1.17",
66
+ "@php-wasm/progress": "3.1.17",
67
+ "@php-wasm/universal": "3.1.17",
68
+ "@wp-playground/blueprints": "3.1.17",
69
+ "@wp-playground/wordpress": "3.1.17",
70
+ "@php-wasm/node": "3.1.17",
71
+ "@php-wasm/util": "3.1.17",
72
+ "@php-wasm/cli-util": "3.1.17",
73
+ "@wp-playground/storage": "3.1.17",
74
+ "@php-wasm/xdebug-bridge": "3.1.17",
75
+ "@wp-playground/tools": "3.1.17"
76
76
  },
77
77
  "packageManager": "npm@10.9.2",
78
78
  "overrides": {