@wp-playground/blueprints 3.1.18 → 3.1.20
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/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.js +11 -12
- package/index.js.map +1 -1
- package/package.json +16 -16
- package/vitest-setup-file.d.ts +0 -0
package/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "@php-wasm/node-polyfills";
|
|
2
1
|
import { cloneStreamMonitorProgress as Zr, cloneResponseMonitorProgress as Qr, ProgressTracker as Yr } from "@php-wasm/progress";
|
|
3
2
|
import { randomFilename as ir, phpVars as mr, joinPaths as ie, phpVar as be, dirname as yr, Semaphore as qr, normalizePath as Gr, basename as kr } from "@php-wasm/util";
|
|
4
3
|
import { writeFiles as hr, LatestSupportedPHPVersion as Jr, SupportedPHPVersions as Xr } from "@php-wasm/universal";
|
|
@@ -13424,7 +13423,7 @@ async function Ns(r) {
|
|
|
13424
13423
|
}
|
|
13425
13424
|
return t;
|
|
13426
13425
|
}
|
|
13427
|
-
async function
|
|
13426
|
+
async function Xs(r, t) {
|
|
13428
13427
|
await r.run(t);
|
|
13429
13428
|
}
|
|
13430
13429
|
function xs(r) {
|
|
@@ -13464,7 +13463,7 @@ function Ds(r) {
|
|
|
13464
13463
|
};
|
|
13465
13464
|
}
|
|
13466
13465
|
}
|
|
13467
|
-
async function
|
|
13466
|
+
async function Ks(r) {
|
|
13468
13467
|
var _, h;
|
|
13469
13468
|
const t = r.cliArgs || [];
|
|
13470
13469
|
for (const k of t)
|
|
@@ -13607,7 +13606,7 @@ class Us extends Error {
|
|
|
13607
13606
|
super(t, l), this.name = "BlueprintFetchError", this.url = n;
|
|
13608
13607
|
}
|
|
13609
13608
|
}
|
|
13610
|
-
async function
|
|
13609
|
+
async function ei(r) {
|
|
13611
13610
|
let t;
|
|
13612
13611
|
try {
|
|
13613
13612
|
const n = await fetch(r, {
|
|
@@ -13674,7 +13673,7 @@ async function Bs(r) {
|
|
|
13674
13673
|
const t = new Uint8Array(r, 0, 4);
|
|
13675
13674
|
return t[0] === 80 && t[1] === 75 && t[2] === 3 && t[3] === 4;
|
|
13676
13675
|
}
|
|
13677
|
-
async function
|
|
13676
|
+
async function ri(r) {
|
|
13678
13677
|
if ((await or.create(r)).getVersion() === 1) {
|
|
13679
13678
|
const n = await Es(
|
|
13680
13679
|
r
|
|
@@ -13706,7 +13705,7 @@ async function ti(r) {
|
|
|
13706
13705
|
extraLibraries: []
|
|
13707
13706
|
};
|
|
13708
13707
|
}
|
|
13709
|
-
function
|
|
13708
|
+
function ti() {
|
|
13710
13709
|
}
|
|
13711
13710
|
export {
|
|
13712
13711
|
Us as BlueprintFetchError,
|
|
@@ -13738,18 +13737,18 @@ export {
|
|
|
13738
13737
|
Yt as mv,
|
|
13739
13738
|
Bt as request,
|
|
13740
13739
|
ps as resetData,
|
|
13741
|
-
|
|
13742
|
-
|
|
13740
|
+
ei as resolveRemoteBlueprint,
|
|
13741
|
+
ri as resolveRuntimeConfiguration,
|
|
13743
13742
|
cr as rm,
|
|
13744
13743
|
Jt as rmdir,
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13744
|
+
Xs as runBlueprintSteps,
|
|
13745
|
+
Xs as runBlueprintV1Steps,
|
|
13746
|
+
Ks as runBlueprintV2,
|
|
13748
13747
|
Dt as runPHP,
|
|
13749
13748
|
Ut as runPHPWithOptions,
|
|
13750
13749
|
Wt as runSql,
|
|
13751
13750
|
ls as runWpInstallationWizard,
|
|
13752
|
-
|
|
13751
|
+
ti as setPluginProxyURL,
|
|
13753
13752
|
ms as setSiteLanguage,
|
|
13754
13753
|
xr as setSiteOptions,
|
|
13755
13754
|
Pr as unzip,
|