@prismicio/cli 0.0.3-beta.16 → 0.0.3-beta.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/dist/{cli-rM_Gpyxu.js → cli-Bx3eNU69.js} +19 -7
- package/dist/{cli-rM_Gpyxu.js.map → cli-Bx3eNU69.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/{index-D-Aliggj.js → index-PlLF1sme.js} +2 -2
- package/dist/{index-D-Aliggj.js.map → index-PlLF1sme.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{multipart-parser-DzJEZ_L-.js → multipart-parser-DK7Tuvzc.js} +2 -2
- package/dist/{multipart-parser-DzJEZ_L-.js.map → multipart-parser-DK7Tuvzc.js.map} +1 -1
- package/package.json +5 -5
|
@@ -2533,7 +2533,7 @@ class Body {
|
|
|
2533
2533
|
}
|
|
2534
2534
|
return formData;
|
|
2535
2535
|
}
|
|
2536
|
-
const { toFormData } = await import("./multipart-parser-
|
|
2536
|
+
const { toFormData } = await import("./multipart-parser-DK7Tuvzc.js");
|
|
2537
2537
|
return toFormData(this.body, ct);
|
|
2538
2538
|
}
|
|
2539
2539
|
/**
|
|
@@ -71814,7 +71814,7 @@ const fetch = async (...args) => {
|
|
|
71814
71814
|
if (globalThis.fetch) {
|
|
71815
71815
|
return globalThis.fetch(...args);
|
|
71816
71816
|
} else if (typeof EdgeRuntime !== "string") {
|
|
71817
|
-
return (await import("./index-
|
|
71817
|
+
return (await import("./index-PlLF1sme.js")).default(...args);
|
|
71818
71818
|
} else {
|
|
71819
71819
|
throw new Error("Invariant: an edge runtime that does not support fetch should not exist");
|
|
71820
71820
|
}
|
|
@@ -83726,7 +83726,7 @@ const meow = (helpText, options8 = {}) => {
|
|
|
83726
83726
|
return result;
|
|
83727
83727
|
};
|
|
83728
83728
|
const name$3 = "@prismicio/cli";
|
|
83729
|
-
const version$k = "0.0.3-beta.
|
|
83729
|
+
const version$k = "0.0.3-beta.17";
|
|
83730
83730
|
const description = "Prismic CLI";
|
|
83731
83731
|
const keywords = ["typescript", "prismic"];
|
|
83732
83732
|
const repository = { "type": "git", "url": "git+https://github.com/prismicio/devtools.git" };
|
|
@@ -143930,6 +143930,7 @@ function requirePrinter() {
|
|
|
143930
143930
|
return (0, lines_1.concat)(parts);
|
|
143931
143931
|
}
|
|
143932
143932
|
function genericPrintNoParens2(path2, options8, print2) {
|
|
143933
|
+
var _a2, _b2, _c2;
|
|
143933
143934
|
var n2 = path2.getValue();
|
|
143934
143935
|
if (!n2) {
|
|
143935
143936
|
return (0, lines_1.fromString)("");
|
|
@@ -144242,9 +144243,15 @@ function requirePrinter() {
|
|
|
144242
144243
|
case "ReturnStatement": {
|
|
144243
144244
|
parts.push("return");
|
|
144244
144245
|
if (n2.argument) {
|
|
144246
|
+
var argIsJsxElement = ((_a2 = namedTypes2.JSXElement) === null || _a2 === void 0 ? void 0 : _a2.check(n2.argument)) || ((_b2 = namedTypes2.JSXFragment) === null || _b2 === void 0 ? void 0 : _b2.check(n2.argument));
|
|
144245
144247
|
var argLines = path2.call(print2, "argument");
|
|
144246
|
-
if (argLines.startsWithComment() || argLines.length > 1 &&
|
|
144247
|
-
|
|
144248
|
+
if (argLines.startsWithComment() || argLines.length > 1 && argIsJsxElement) {
|
|
144249
|
+
if (argIsJsxElement && ((_c2 = n2.argument.extra) === null || _c2 === void 0 ? void 0 : _c2.parenthesized)) {
|
|
144250
|
+
n2.argument.extra.parenthesized = false;
|
|
144251
|
+
argLines = path2.call(print2, "argument");
|
|
144252
|
+
n2.argument.extra.parenthesized = true;
|
|
144253
|
+
}
|
|
144254
|
+
parts.push(" ", (0, lines_1.concat)(["(\n", argLines]).indentTail(options8.tabWidth), "\n)");
|
|
144248
144255
|
} else {
|
|
144249
144256
|
parts.push(" ", argLines);
|
|
144250
144257
|
}
|
|
@@ -144881,7 +144888,12 @@ function requirePrinter() {
|
|
|
144881
144888
|
return (0, lines_1.concat)(parts).lockIndentTail();
|
|
144882
144889
|
}
|
|
144883
144890
|
case "TaggedTemplateExpression":
|
|
144884
|
-
|
|
144891
|
+
parts.push(path2.call(print2, "tag"));
|
|
144892
|
+
if (n2.typeParameters) {
|
|
144893
|
+
parts.push(path2.call(print2, "typeParameters"));
|
|
144894
|
+
}
|
|
144895
|
+
parts.push(path2.call(print2, "quasi"));
|
|
144896
|
+
return (0, lines_1.concat)(parts);
|
|
144885
144897
|
// These types are unprintable because they serve as abstract
|
|
144886
144898
|
// supertypes for other (printable) types.
|
|
144887
144899
|
case "Node":
|
|
@@ -171531,4 +171543,4 @@ export {
|
|
|
171531
171543
|
getDefaultExportFromCjs$3 as g,
|
|
171532
171544
|
run as r
|
|
171533
171545
|
};
|
|
171534
|
-
//# sourceMappingURL=cli-
|
|
171546
|
+
//# sourceMappingURL=cli-Bx3eNU69.js.map
|