@shopify/create-app 3.90.0 → 3.91.0
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/{acorn-45LE5Z2A.js → acorn-WDTBS4B3.js} +2 -2
- package/dist/{angular-Z5FPQPLR.js → angular-WLPEGHXZ.js} +4 -4
- package/dist/{babel-TRRZ6QQY.js → babel-LQYCV4NA.js} +2 -7
- package/dist/{brotli-2OKV26Y6.js → brotli-6CC7WD4Z.js} +1 -2
- package/dist/{chunk-7YUNOVUI.js → chunk-5V2QRULS.js} +5 -5
- package/dist/{chunk-6ONJEX7Y.js → chunk-6NVYATES.js} +2 -2
- package/dist/{chunk-3GXB4ZRP.js → chunk-CE4S2SGM.js} +10 -10
- package/dist/{chunk-V7OWCSFT.js → chunk-D7M6DPGX.js} +54 -130
- package/dist/{chunk-RGJ4BXIY.js → chunk-JSNPKE7R.js} +349 -374
- package/dist/{chunk-2HKUDD5O.js → chunk-SOPKCUZ6.js} +51098 -49016
- package/dist/{chunk-6J45DHE7.js → chunk-SXHGDJJG.js} +9 -9
- package/dist/{chunk-XD3LXUGW.js → chunk-VBBBCVMH.js} +2 -2
- package/dist/{chunk-GWY4CBLA.js → chunk-Y7N4CVJX.js} +3 -3
- package/dist/{custom-oclif-loader-2UXWLT7G.js → custom-oclif-loader-YGL55JE6.js} +4 -4
- package/dist/{del-OKZSX2EU.js → del-IYDC7TRH.js} +3 -3
- package/dist/{devtools-2SG3BFWJ.js → devtools-BAOTGU3O.js} +2 -2
- package/dist/{error-handler-TTBMK4H6.js → error-handler-CZSHD75Y.js} +7 -8
- package/dist/{estree-PY6WKTNG.js → estree-U57GTUKI.js} +14 -35
- package/dist/{flow-YN54TSCB.js → flow-CBPGBIW5.js} +2 -4
- package/dist/{glimmer-RMPUUUDS.js → glimmer-VWCK7UCR.js} +2 -6
- package/dist/{graphql-PPLVYWBL.js → graphql-2HHXB4VZ.js} +3 -5
- package/dist/hooks/postrun.js +8 -7
- package/dist/hooks/prerun.js +8 -7
- package/dist/{html-3U6QZZZ4.js → html-ST4I6M3K.js} +4 -6
- package/dist/index.js +5025 -1332
- package/dist/index.test.js +23 -26
- package/dist/{lib-IF6LVQLE.js → lib-YAB2PPNZ.js} +2 -2
- package/dist/{local-XJBENDBD.js → local-AQABQSKR.js} +6 -6
- package/dist/{markdown-RHRQTUMC.js → markdown-NVTT3U3H.js} +4 -13
- package/dist/{meriyah-7MIMHTWQ.js → meriyah-H6RUUN2F.js} +2 -9
- package/dist/{multipart-parser-IYYNISJK.js → multipart-parser-WKKMXACL.js} +2 -2
- package/dist/{node-package-manager-5CRVMYIH.js → node-package-manager-4NRVKS7Z.js} +5 -5
- package/dist/{postcss-MSOPGY7M.js → postcss-LKRKUSYR.js} +4 -6
- package/dist/{prettier-2ITB6I34.js → prettier-BJT6DAGC.js} +29 -29
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-NL6F4FZE.js → ui-EEB34UNU.js} +4 -4
- package/dist/{yaml-6GALFXQY.js → yaml-54MHMX7H.js} +6 -9
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-2DEP3RXL.js +0 -2234
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
runWithTimer,
|
|
21
21
|
unixFileIsOwnedByCurrentUser,
|
|
22
22
|
writeFile
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JSNPKE7R.js";
|
|
24
24
|
import {
|
|
25
25
|
require_semver
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-D7M6DPGX.js";
|
|
27
27
|
import {
|
|
28
28
|
dirname,
|
|
29
29
|
joinPath
|
|
@@ -5973,7 +5973,7 @@ var require_agent = __commonJS({
|
|
|
5973
5973
|
"../../node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/agent.js"(exports, module) {
|
|
5974
5974
|
"use strict";
|
|
5975
5975
|
init_cjs_shims();
|
|
5976
|
-
var { URL: URL4 } = __require("url"), EventEmitter4 = __require("events"), tls = __require("tls"), http22 = __require("http2"), QuickLRU = require_quick_lru(), delayAsyncDestroy = require_delay_async_destroy(), kCurrentStreamCount = Symbol("currentStreamCount"), kRequest = Symbol("request"), kOriginSet = Symbol("cachedOriginSet"), kGracefullyClosing = Symbol("gracefullyClosing"), kLength = Symbol("length"), nameKeys = [
|
|
5976
|
+
var { URL: URL4 } = __require("url"), EventEmitter4 = __require("events"), tls = __require("tls"), http22 = __require("http2"), QuickLRU = require_quick_lru(), delayAsyncDestroy = require_delay_async_destroy(), kCurrentStreamCount = /* @__PURE__ */ Symbol("currentStreamCount"), kRequest = /* @__PURE__ */ Symbol("request"), kOriginSet = /* @__PURE__ */ Symbol("cachedOriginSet"), kGracefullyClosing = /* @__PURE__ */ Symbol("gracefullyClosing"), kLength = /* @__PURE__ */ Symbol("length"), nameKeys = [
|
|
5977
5977
|
// Not an Agent option actually
|
|
5978
5978
|
"createConnection",
|
|
5979
5979
|
// `http2.connect()` options
|
|
@@ -6541,7 +6541,7 @@ var require_client_request = __commonJS({
|
|
|
6541
6541
|
HTTP2_HEADER_PATH,
|
|
6542
6542
|
HTTP2_HEADER_AUTHORITY,
|
|
6543
6543
|
HTTP2_METHOD_CONNECT
|
|
6544
|
-
} = http22.constants, kHeaders = Symbol("headers"), kOrigin = Symbol("origin"), kSession = Symbol("session"), kOptions = Symbol("options"), kFlushedHeaders = Symbol("flushedHeaders"), kJobs = Symbol("jobs"), kPendingAgentPromise = Symbol("pendingAgentPromise"), ClientRequest = class extends Writable {
|
|
6544
|
+
} = http22.constants, kHeaders = /* @__PURE__ */ Symbol("headers"), kOrigin = /* @__PURE__ */ Symbol("origin"), kSession = /* @__PURE__ */ Symbol("session"), kOptions = /* @__PURE__ */ Symbol("options"), kFlushedHeaders = /* @__PURE__ */ Symbol("flushedHeaders"), kJobs = /* @__PURE__ */ Symbol("jobs"), kPendingAgentPromise = /* @__PURE__ */ Symbol("pendingAgentPromise"), ClientRequest = class extends Writable {
|
|
6545
6545
|
constructor(input, options, callback) {
|
|
6546
6546
|
if (super({
|
|
6547
6547
|
autoDestroy: !1,
|
|
@@ -7850,7 +7850,7 @@ var require_graceful_fs = __commonJS({
|
|
|
7850
7850
|
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js"(exports, module) {
|
|
7851
7851
|
init_cjs_shims();
|
|
7852
7852
|
var fs3 = __require("fs"), polyfills = require_polyfills(), legacy = require_legacy_streams(), clone = require_clone(), util = __require("util"), gracefulQueue, previousSymbol;
|
|
7853
|
-
typeof Symbol == "function" && typeof Symbol.for == "function" ? (gracefulQueue = Symbol.for("graceful-fs.queue"), previousSymbol = Symbol.for("graceful-fs.previous")) : (gracefulQueue = "___graceful-fs.queue", previousSymbol = "___graceful-fs.previous");
|
|
7853
|
+
typeof Symbol == "function" && typeof Symbol.for == "function" ? (gracefulQueue = /* @__PURE__ */ Symbol.for("graceful-fs.queue"), previousSymbol = /* @__PURE__ */ Symbol.for("graceful-fs.previous")) : (gracefulQueue = "___graceful-fs.queue", previousSymbol = "___graceful-fs.previous");
|
|
7854
7854
|
function noop3() {
|
|
7855
7855
|
}
|
|
7856
7856
|
function publishQueue(context, queue2) {
|
|
@@ -11132,7 +11132,7 @@ function unhandle() {
|
|
|
11132
11132
|
}
|
|
11133
11133
|
|
|
11134
11134
|
// ../../node_modules/.pnpm/got@12.6.1/node_modules/got/dist/source/core/timed-out.js
|
|
11135
|
-
var reentry = Symbol("reentry"), noop = () => {
|
|
11135
|
+
var reentry = /* @__PURE__ */ Symbol("reentry"), noop = () => {
|
|
11136
11136
|
}, TimeoutError2 = class extends Error {
|
|
11137
11137
|
constructor(threshold, event) {
|
|
11138
11138
|
super(`Timeout awaiting '${event}' for ${threshold}ms`), Object.defineProperty(this, "event", {
|
|
@@ -11302,7 +11302,7 @@ import {
|
|
|
11302
11302
|
} from "node:dns";
|
|
11303
11303
|
import { promisify as promisify3 } from "node:util";
|
|
11304
11304
|
import os2 from "node:os";
|
|
11305
|
-
var { Resolver: AsyncResolver } = dnsPromises, kCacheableLookupCreateConnection = Symbol("cacheableLookupCreateConnection"), kCacheableLookupInstance = Symbol("cacheableLookupInstance"), kExpires = Symbol("expires"), supportsALL = typeof ALL == "number", verifyAgent = (agent) => {
|
|
11305
|
+
var { Resolver: AsyncResolver } = dnsPromises, kCacheableLookupCreateConnection = /* @__PURE__ */ Symbol("cacheableLookupCreateConnection"), kCacheableLookupInstance = /* @__PURE__ */ Symbol("cacheableLookupInstance"), kExpires = /* @__PURE__ */ Symbol("expires"), supportsALL = typeof ALL == "number", verifyAgent = (agent) => {
|
|
11306
11306
|
if (!(agent && typeof agent.createConnection == "function"))
|
|
11307
11307
|
throw new Error("Expected an Agent instance as the first argument");
|
|
11308
11308
|
}, map4to6 = (entries2) => {
|
|
@@ -12663,7 +12663,7 @@ var globalCache = /* @__PURE__ */ new Map(), globalDnsCache, getGlobalDnsCache =
|
|
|
12663
12663
|
toJSON() {
|
|
12664
12664
|
return { ...this._internals };
|
|
12665
12665
|
}
|
|
12666
|
-
[Symbol.for("nodejs.util.inspect.custom")](_depth, options) {
|
|
12666
|
+
[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](_depth, options) {
|
|
12667
12667
|
return inspect(this._internals, options);
|
|
12668
12668
|
}
|
|
12669
12669
|
createNativeRequestOptions() {
|
|
@@ -13996,4 +13996,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13996
13996
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13997
13997
|
*)
|
|
13998
13998
|
*/
|
|
13999
|
-
//# sourceMappingURL=chunk-
|
|
13999
|
+
//# sourceMappingURL=chunk-SXHGDJJG.js.map
|
|
@@ -125,7 +125,7 @@ var require_ponyfill_es2018 = __commonJS({
|
|
|
125
125
|
return front._elements[cursor];
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
let AbortSteps = Symbol("[[AbortSteps]]"), ErrorSteps = Symbol("[[ErrorSteps]]"), CancelSteps = Symbol("[[CancelSteps]]"), PullSteps = Symbol("[[PullSteps]]"), ReleaseSteps = Symbol("[[ReleaseSteps]]");
|
|
128
|
+
let AbortSteps = /* @__PURE__ */ Symbol("[[AbortSteps]]"), ErrorSteps = /* @__PURE__ */ Symbol("[[ErrorSteps]]"), CancelSteps = /* @__PURE__ */ Symbol("[[CancelSteps]]"), PullSteps = /* @__PURE__ */ Symbol("[[PullSteps]]"), ReleaseSteps = /* @__PURE__ */ Symbol("[[ReleaseSteps]]");
|
|
129
129
|
function ReadableStreamReaderGenericInitialize(reader, stream) {
|
|
130
130
|
reader._ownerReadableStream = stream, stream._reader = reader, stream._state === "readable" ? defaultReaderClosedPromiseInitialize(reader) : stream._state === "closed" ? defaultReaderClosedPromiseInitializeAsResolved(reader) : defaultReaderClosedPromiseInitializeAsRejected(reader, stream._storedError);
|
|
131
131
|
}
|
|
@@ -2993,4 +2993,4 @@ fetch-blob/index.js:
|
|
|
2993
2993
|
formdata-polyfill/esm.min.js:
|
|
2994
2994
|
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
|
|
2995
2995
|
*/
|
|
2996
|
-
//# sourceMappingURL=chunk-
|
|
2996
|
+
//# sourceMappingURL=chunk-VBBBCVMH.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getNextDeprecationDate,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SOPKCUZ6.js";
|
|
5
5
|
import {
|
|
6
6
|
addSensitiveMetadata,
|
|
7
7
|
getAllSensitiveMetadata,
|
|
8
8
|
outputDebug,
|
|
9
9
|
renderWarning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JSNPKE7R.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
13
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
postRunHookHasCompleted,
|
|
76
76
|
hook
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-Y7N4CVJX.js.map
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync,
|
|
4
4
|
isDevelopment
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JSNPKE7R.js";
|
|
6
6
|
import {
|
|
7
7
|
require_lib
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-D7M6DPGX.js";
|
|
9
9
|
import "./chunk-UMUTXITN.js";
|
|
10
10
|
import {
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath,
|
|
13
13
|
sniffForPath
|
|
14
14
|
} from "./chunk-Y2JP6WFP.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-6NVYATES.js";
|
|
16
16
|
import "./chunk-LABBARNJ.js";
|
|
17
17
|
import "./chunk-CTFDRWUN.js";
|
|
18
18
|
import "./chunk-7IK72W75.js";
|
|
@@ -46,4 +46,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
46
46
|
export {
|
|
47
47
|
ShopifyConfig
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
49
|
+
//# sourceMappingURL=custom-oclif-loader-YGL55JE6.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import "./chunk-SHWOPMLQ.js";
|
|
5
5
|
import {
|
|
6
6
|
require_graceful_fs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6NVYATES.js";
|
|
8
8
|
import {
|
|
9
9
|
require_indent_string
|
|
10
10
|
} from "./chunk-LABBARNJ.js";
|
|
@@ -111,7 +111,7 @@ var require_ignore = __commonJS({
|
|
|
111
111
|
return Array.isArray(subject) ? subject : [subject];
|
|
112
112
|
}
|
|
113
113
|
var EMPTY = "", SPACE = " ", ESCAPE = "\\", REGEX_TEST_BLANK_LINE = /^\s+$/, REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/, REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/, REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/, REGEX_SPLITALL_CRLF = /\r?\n/g, REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/, SLASH = "/", TMP_KEY_IGNORE = "node-ignore";
|
|
114
|
-
typeof Symbol < "u" && (TMP_KEY_IGNORE = Symbol.for("node-ignore"));
|
|
114
|
+
typeof Symbol < "u" && (TMP_KEY_IGNORE = /* @__PURE__ */ Symbol.for("node-ignore"));
|
|
115
115
|
var KEY_IGNORE = TMP_KEY_IGNORE, define = (object, key, value) => Object.defineProperty(object, key, { value }), REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g, RETURN_FALSE = () => !1, sanitizeRange = (range) => range.replace(
|
|
116
116
|
REGEX_REGEXP_RANGE,
|
|
117
117
|
(match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY
|
|
@@ -958,4 +958,4 @@ var require_del = __commonJS({
|
|
|
958
958
|
}
|
|
959
959
|
});
|
|
960
960
|
export default require_del();
|
|
961
|
-
//# sourceMappingURL=del-
|
|
961
|
+
//# sourceMappingURL=del-IYDC7TRH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
wrapper_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CE4S2SGM.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -69,4 +69,4 @@ customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
|
|
|
69
69
|
// ../../node_modules/.pnpm/ink@5.2.1_@types+react@18.3.12_react@18.3.1/node_modules/ink/build/devtools.js
|
|
70
70
|
import devtools from "react-devtools-core";
|
|
71
71
|
devtools.connectToDevTools();
|
|
72
|
-
//# sourceMappingURL=devtools-
|
|
72
|
+
//# sourceMappingURL=devtools-BAOTGU3O.js.map
|
|
@@ -4,16 +4,15 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-V7OWCSFT.js";
|
|
7
|
+
} from "./chunk-SOPKCUZ6.js";
|
|
8
|
+
import "./chunk-VBBBCVMH.js";
|
|
9
|
+
import "./chunk-SXHGDJJG.js";
|
|
10
|
+
import "./chunk-JSNPKE7R.js";
|
|
11
|
+
import "./chunk-D7M6DPGX.js";
|
|
13
12
|
import "./chunk-UMUTXITN.js";
|
|
14
13
|
import "./chunk-Y2JP6WFP.js";
|
|
15
14
|
import "./chunk-SHWOPMLQ.js";
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-6NVYATES.js";
|
|
17
16
|
import "./chunk-LABBARNJ.js";
|
|
18
17
|
import "./chunk-CTFDRWUN.js";
|
|
19
18
|
import "./chunk-7IK72W75.js";
|
|
@@ -26,4 +25,4 @@ export {
|
|
|
26
25
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
27
26
|
sendErrorToBugsnag
|
|
28
27
|
};
|
|
29
|
-
//# sourceMappingURL=error-handler-
|
|
28
|
+
//# sourceMappingURL=error-handler-CZSHD75Y.js.map
|
|
@@ -1752,12 +1752,7 @@ function ds(e, t) {
|
|
|
1752
1752
|
return !1;
|
|
1753
1753
|
}
|
|
1754
1754
|
case "ClassExpression":
|
|
1755
|
-
|
|
1756
|
-
case "NewExpression":
|
|
1757
|
-
return n === "callee";
|
|
1758
|
-
default:
|
|
1759
|
-
return !1;
|
|
1760
|
-
}
|
|
1755
|
+
return s.type === "NewExpression" ? n === "callee" : !1;
|
|
1761
1756
|
case "OptionalMemberExpression":
|
|
1762
1757
|
case "OptionalCallExpression":
|
|
1763
1758
|
case "CallExpression":
|
|
@@ -1891,7 +1886,7 @@ function v(e, t, r = {}) {
|
|
|
1891
1886
|
function Mt(e, t) {
|
|
1892
1887
|
let r = e.node;
|
|
1893
1888
|
if (!r) return {};
|
|
1894
|
-
let n = t[Symbol.for("printedComments")];
|
|
1889
|
+
let n = t[/* @__PURE__ */ Symbol.for("printedComments")];
|
|
1895
1890
|
if ((r.comments || []).filter((p) => !n.has(p)).length === 0) return { leading: "", trailing: "" };
|
|
1896
1891
|
let i = [], o = [], u;
|
|
1897
1892
|
return e.each(() => {
|
|
@@ -1990,7 +1985,7 @@ function on(e, t, r) {
|
|
|
1990
1985
|
let y = s.type === "ReturnStatement" || s.type === "ThrowStatement" || s.type === "JSXExpressionContainer" && i.type === "JSXAttribute" || n.operator !== "|" && s.type === "JsExpressionRoot" || n.type !== "NGPipeExpression" && (s.type === "NGRoot" && t.parser === "__ng_binding" || s.type === "NGMicrosyntaxExpression" && i.type === "NGMicrosyntax" && i.body.length === 1) || n === s.body && s.type === "ArrowFunctionExpression" || n !== s.body && s.type === "ForStatement" || s.type === "ConditionalExpression" && i.type !== "ReturnStatement" && i.type !== "ThrowStatement" && !M(i) && i.type !== "NewExpression" || s.type === "TemplateLiteral" || El(e), D = s.type === "AssignmentExpression" || s.type === "VariableDeclarator" || s.type === "ClassProperty" || s.type === "PropertyDefinition" || s.type === "TSAbstractPropertyDefinition" || s.type === "ClassPrivateProperty" || Oe(s), F = Te(n.left) && dr(n.operator, n.left.operator);
|
|
1991
1986
|
if (y || er(n) && !F || !er(n) && D) return l(c);
|
|
1992
1987
|
if (c.length === 0) return "";
|
|
1993
|
-
let C = H(n.right), d = c.findIndex((S) => typeof S != "string" && !Array.isArray(S) && S.type === Fe), b = c.slice(0, d === -1 ? 1 : d + 1), B = c.slice(b.length, C ? -1 : void 0), O = Symbol("logicalChain-" + ++fl), h = l([...b, m(B)], { id: O });
|
|
1988
|
+
let C = H(n.right), d = c.findIndex((S) => typeof S != "string" && !Array.isArray(S) && S.type === Fe), b = c.slice(0, d === -1 ? 1 : d + 1), B = c.slice(b.length, C ? -1 : void 0), O = /* @__PURE__ */ Symbol("logicalChain-" + ++fl), h = l([...b, m(B)], { id: O });
|
|
1994
1989
|
if (!C) return h;
|
|
1995
1990
|
let g = N(0, c, -1);
|
|
1996
1991
|
return l([h, yt(g, { groupId: O })]);
|
|
@@ -2079,7 +2074,7 @@ function tr(e, t, r) {
|
|
|
2079
2074
|
let { node: n } = e, s = [], i = "[", o = "]", u = n.type === "TupleTypeAnnotation" && n.types ? "types" : n.type === "TSTupleType" || n.type === "TupleTypeAnnotation" ? "elementTypes" : "elements", p = n[u];
|
|
2080
2075
|
if (p.length === 0) s.push(Al(e, t, i, o));
|
|
2081
2076
|
else {
|
|
2082
|
-
let c = N(0, p, -1), y = c?.type !== "RestElement" && !n.inexact, D = c === null, F = Symbol("array"), C = !t.__inJestEach && p.length > 1 && p.every((B, O, h) => {
|
|
2077
|
+
let c = N(0, p, -1), y = c?.type !== "RestElement" && !n.inexact, D = c === null, F = /* @__PURE__ */ Symbol("array"), C = !t.__inJestEach && p.length > 1 && p.every((B, O, h) => {
|
|
2083
2078
|
let g = B?.type;
|
|
2084
2079
|
if (!q(B) && !se(B)) return !1;
|
|
2085
2080
|
let S = h[O + 1];
|
|
@@ -2329,7 +2324,7 @@ function ht(e, t, r, n, s, i) {
|
|
|
2329
2324
|
case "never-break-after-operator":
|
|
2330
2325
|
return l([l(n), s, " ", u]);
|
|
2331
2326
|
case "fluid": {
|
|
2332
|
-
let p = Symbol("assignment");
|
|
2327
|
+
let p = /* @__PURE__ */ Symbol("assignment");
|
|
2333
2328
|
return l([l(n), s, l(m(A), { id: p }), je, yt(u, { groupId: p })]);
|
|
2334
2329
|
}
|
|
2335
2330
|
case "break-lhs":
|
|
@@ -2887,7 +2882,7 @@ function Tu(e, t, r, n = {}) {
|
|
|
2887
2882
|
}
|
|
2888
2883
|
p && (u || (u = h.returnType && K(h).length > 0 || h.typeParameters || K(h).some((S) => S.type !== "Identifier"))), !p || h.body.type !== "ArrowFunctionExpression" ? (i = r("body", n), c = h.body) : e.call(O, "body");
|
|
2889
2884
|
})();
|
|
2890
|
-
let y = !Ee(t.originalText, c) && (ym(c) || Fm(c, i, t) || !u && Au(c)), D = e.key === "callee" && Dt(e.parent), F = Symbol("arrow-chain"), C = dm(e, n, { signatureDocs: s, shouldBreak: u }), d = !1, b = !1, B = !1;
|
|
2885
|
+
let y = !Ee(t.originalText, c) && (ym(c) || Fm(c, i, t) || !u && Au(c)), D = e.key === "callee" && Dt(e.parent), F = /* @__PURE__ */ Symbol("arrow-chain"), C = dm(e, n, { signatureDocs: s, shouldBreak: u }), d = !1, b = !1, B = !1;
|
|
2891
2886
|
return p && (D || n.assignmentLayout) && (b = !0, B = !T(e.node, x.Leading & x.Line), d = n.assignmentLayout === "chain-tail-arrow-chain" || D && !y), i = Cm(e, t, n, { bodyDoc: i, bodyComments: o, functionBody: c, shouldPutBodyOnSameLine: y }), l([l(b ? m([B ? f : "", C]) : C, { shouldBreak: d, id: F }), " =>", p ? yt(i, { groupId: F }) : l(i), p && D ? P(f, "", { groupId: F }) : ""]);
|
|
2892
2887
|
}
|
|
2893
2888
|
function Em(e, t, r, n) {
|
|
@@ -3026,14 +3021,7 @@ function Sm({ node: e, next: t }, r) {
|
|
|
3026
3021
|
return !1;
|
|
3027
3022
|
}
|
|
3028
3023
|
function bu({ node: e, next: t }, r) {
|
|
3029
|
-
|
|
3030
|
-
if (Bu(e)) return !0;
|
|
3031
|
-
if (!t) return !1;
|
|
3032
|
-
switch (t.type) {
|
|
3033
|
-
case "TSCallSignatureDeclaration":
|
|
3034
|
-
return !0;
|
|
3035
|
-
}
|
|
3036
|
-
return !1;
|
|
3024
|
+
return r.semi || !Bm(e) ? !1 : Bu(e) ? !0 : t ? t.type === "TSCallSignatureDeclaration" : !1;
|
|
3037
3025
|
}
|
|
3038
3026
|
function sr(e, t, r) {
|
|
3039
3027
|
let { node: n } = e, s = Pm(n), i = [Q(e), Zt(e), s ? "interface" : "class"], o = ku(e), u = [], p = [];
|
|
@@ -3169,7 +3157,7 @@ function Mu(e, t) {
|
|
|
3169
3157
|
}
|
|
3170
3158
|
function Nm(e, t, r) {
|
|
3171
3159
|
let n = e.originalText.slice(t, r);
|
|
3172
|
-
for (let s of e[Symbol.for("comments")]) {
|
|
3160
|
+
for (let s of e[/* @__PURE__ */ Symbol.for("comments")]) {
|
|
3173
3161
|
let i = w(s);
|
|
3174
3162
|
if (i > r) break;
|
|
3175
3163
|
let o = I(s);
|
|
@@ -3272,14 +3260,7 @@ function Uu(e, t, r) {
|
|
|
3272
3260
|
function Um(e) {
|
|
3273
3261
|
if (e.type !== "ImportSpecifier" && e.type !== "ExportSpecifier") return !1;
|
|
3274
3262
|
let { local: t, [e.type === "ImportSpecifier" ? "imported" : "exported"]: r } = e;
|
|
3275
|
-
|
|
3276
|
-
if (V(t)) return t.value === r.value && pe(t) === pe(r);
|
|
3277
|
-
switch (t.type) {
|
|
3278
|
-
case "Identifier":
|
|
3279
|
-
return t.name === r.name;
|
|
3280
|
-
default:
|
|
3281
|
-
return !1;
|
|
3282
|
-
}
|
|
3263
|
+
return t.type !== r.type || !ai(t, r) ? !1 : V(t) ? t.value === r.value && pe(t) === pe(r) : t.type === "Identifier" ? t.name === r.name : !1;
|
|
3283
3264
|
}
|
|
3284
3265
|
function or(e, t) {
|
|
3285
3266
|
return ["...", t("argument"), G(e, t)];
|
|
@@ -3367,7 +3348,7 @@ function ur(e, t, r, n) {
|
|
|
3367
3348
|
}, "test"), !h && T(D, x.Dangling) && e.call(() => {
|
|
3368
3349
|
cr.push(v(e, t));
|
|
3369
3350
|
}, "alternate"), T(s, x.Dangling) && cr.push(v(e, t));
|
|
3370
|
-
let Vs = Symbol("test"), xa = Symbol("consequent"), kr = Symbol("test-and-consequent"), ga = i ? [Ws(r("test")), s.test.type === "ConditionalExpression" ? ke : ""] : [r("checkType"), " ", "extends", " ", Ue(s.extendsType) || s.extendsType.type === "TSMappedType" ? r("extendsType") : l(Ws(r("extendsType")))], $s = l([ga, " ?"], { id: Vs }), ha = r(u), Ir = m([O || Ie && (H(y) || d || g) ? E : A, Pr, ha]), Sa = Mn ? l([$s, g ? Ir : P(Ir, l(Ir, { id: xa }), { groupId: Vs })], { id: kr }) : [$s, Ir], Nn = r(p), Ks = Bt ? P(Nn, Qr(Ws(Nn)), { groupId: kr }) : Nn, lr = [Sa, cr.length > 0 ? [m([E, cr]), E] : h ? E : Bt ? P(A, " ", { groupId: kr }) : A, ":", h ? " " : S ? Mn ? P(ae, P(g || Bt ? " " : ae, " "), { groupId: kr }) : P(ae, " ") : " ", h ? Ks : l([m(Ks), Ie && !Bt ? f : ""]), _ && !st ? f : "", it ? ke : ""];
|
|
3351
|
+
let Vs = /* @__PURE__ */ Symbol("test"), xa = /* @__PURE__ */ Symbol("consequent"), kr = /* @__PURE__ */ Symbol("test-and-consequent"), ga = i ? [Ws(r("test")), s.test.type === "ConditionalExpression" ? ke : ""] : [r("checkType"), " ", "extends", " ", Ue(s.extendsType) || s.extendsType.type === "TSMappedType" ? r("extendsType") : l(Ws(r("extendsType")))], $s = l([ga, " ?"], { id: Vs }), ha = r(u), Ir = m([O || Ie && (H(y) || d || g) ? E : A, Pr, ha]), Sa = Mn ? l([$s, g ? Ir : P(Ir, l(Ir, { id: xa }), { groupId: Vs })], { id: kr }) : [$s, Ir], Nn = r(p), Ks = Bt ? P(Nn, Qr(Ws(Nn)), { groupId: kr }) : Nn, lr = [Sa, cr.length > 0 ? [m([E, cr]), E] : h ? E : Bt ? P(A, " ", { groupId: kr }) : A, ":", h ? " " : S ? Mn ? P(ae, P(g || Bt ? " " : ae, " "), { groupId: kr }) : P(ae, " ") : " ", h ? Ks : l([m(Ks), Ie && !Bt ? f : ""]), _ && !st ? f : "", it ? ke : ""];
|
|
3371
3352
|
return z && !it ? l(m([f, l(lr)])) : z || ee ? l(m(lr)) : st || o && b ? l([m([f, lr]), re ? f : ""]) : C === Y ? l(lr) : lr;
|
|
3372
3353
|
}
|
|
3373
3354
|
function Hu(e, t, r, n) {
|
|
@@ -3589,7 +3570,6 @@ function Hu(e, t, r, n) {
|
|
|
3589
3570
|
return "void";
|
|
3590
3571
|
case "EmptyStatement":
|
|
3591
3572
|
if (kt(e)) return ";";
|
|
3592
|
-
case "InterpreterDirective":
|
|
3593
3573
|
default:
|
|
3594
3574
|
throw new Qe(s, "ESTree");
|
|
3595
3575
|
}
|
|
@@ -3823,11 +3803,11 @@ function pD(e, t) {
|
|
|
3823
3803
|
function On(e, t, r) {
|
|
3824
3804
|
let { node: n } = e, s = [n.const ? "const " : ""], i = n.type === "TSTypeParameter" ? r("name") : n.name;
|
|
3825
3805
|
if (n.variance && s.push(r("variance")), n.in && s.push("in "), n.out && s.push("out "), s.push(i), n.bound && (n.usesExtendsBound && s.push(" extends "), s.push(G(e, r, "bound"))), n.constraint) {
|
|
3826
|
-
let o = Symbol("constraint");
|
|
3806
|
+
let o = /* @__PURE__ */ Symbol("constraint");
|
|
3827
3807
|
s.push(" extends", l(m(A), { id: o }), je, yt(r("constraint"), { groupId: o }));
|
|
3828
3808
|
}
|
|
3829
3809
|
if (n.default) {
|
|
3830
|
-
let o = Symbol("default");
|
|
3810
|
+
let o = /* @__PURE__ */ Symbol("default");
|
|
3831
3811
|
s.push(" =", l(m(A), { id: o }), je, yt(r("default"), { groupId: o }));
|
|
3832
3812
|
}
|
|
3833
3813
|
return l(s);
|
|
@@ -4150,7 +4130,6 @@ function fa(e, t, r) {
|
|
|
4150
4130
|
return Us(e, r, "?");
|
|
4151
4131
|
case "TSJSDocNonNullableType":
|
|
4152
4132
|
return Us(e, r, "!");
|
|
4153
|
-
case "TSParenthesizedType":
|
|
4154
4133
|
default:
|
|
4155
4134
|
throw new Qe(n, "TypeScript");
|
|
4156
4135
|
}
|
|
@@ -4317,7 +4296,7 @@ var Ba, jn, Ta, Qs, Hs, Wt, ba, Pa, W, Ia, N, Lr, Zs, ei, _a, Ma, ot, JD, ze, ti
|
|
|
4317
4296
|
xc = { type: 0 }, gc = { type: 1 }, as = { value: "", length: 0, queue: [], get root() {
|
|
4318
4297
|
return as;
|
|
4319
4298
|
} };
|
|
4320
|
-
ve = Symbol("MODE_BREAK"), ct = Symbol("MODE_FLAT"), cs = Symbol("DOC_FILL_PRINTED_LENGTH");
|
|
4299
|
+
ve = /* @__PURE__ */ Symbol("MODE_BREAK"), ct = /* @__PURE__ */ Symbol("MODE_FLAT"), cs = /* @__PURE__ */ Symbol("DOC_FILL_PRINTED_LENGTH");
|
|
4321
4300
|
no = Sc;
|
|
4322
4301
|
so = Bc;
|
|
4323
4302
|
fs = [(e, t) => e.type === "ObjectExpression" && t === "properties", (e, t) => e.type === "CallExpression" && e.callee.type === "Identifier" && e.callee.name === "Component" && t === "arguments", (e, t) => e.type === "Decorator" && t === "expression"];
|
|
@@ -4487,4 +4466,4 @@ export {
|
|
|
4487
4466
|
Aa as options,
|
|
4488
4467
|
dD as printers
|
|
4489
4468
|
};
|
|
4490
|
-
//# sourceMappingURL=estree-
|
|
4469
|
+
//# sourceMappingURL=estree-U57GTUKI.js.map
|
|
@@ -1142,8 +1142,6 @@ var QA0, Vj, ZA0, xI0, rI0, eI0, tI0, $Y, nI0, uI0, QY, Tz, tD, bz, ZY, o6, fI0,
|
|
|
1142
1142
|
if (x > r) return 1;
|
|
1143
1143
|
}
|
|
1144
1144
|
break;
|
|
1145
|
-
case 246:
|
|
1146
|
-
case 254:
|
|
1147
1145
|
default:
|
|
1148
1146
|
if (Mz(u)) {
|
|
1149
1147
|
u2("compare: continuation value");
|
|
@@ -1813,7 +1811,7 @@ var QA0, Vj, ZA0, xI0, rI0, eI0, tI0, $Y, nI0, uI0, QY, Tz, tD, bz, ZY, o6, fI0,
|
|
|
1813
1811
|
A2.prototype.nm = function(x) {
|
|
1814
1812
|
return this.root + x;
|
|
1815
1813
|
}, A2.prototype.create_dir_if_needed = function(x) {
|
|
1816
|
-
for (var r = x.split(se), e = rx, t = 0; t < r.length - 1; t++) e += r[t] + se, !this.content[e] && (this.content[e] = Symbol("directory"));
|
|
1814
|
+
for (var r = x.split(se), e = rx, t = 0; t < r.length - 1; t++) e += r[t] + se, !this.content[e] && (this.content[e] = /* @__PURE__ */ Symbol("directory"));
|
|
1817
1815
|
}, A2.prototype.slash = function(x) {
|
|
1818
1816
|
return /\/$/.test(x) ? x : x + se;
|
|
1819
1817
|
}, A2.prototype.lookup = function(x) {
|
|
@@ -27510,4 +27508,4 @@ export {
|
|
|
27510
27508
|
Tz as default,
|
|
27511
27509
|
tD as parsers
|
|
27512
27510
|
};
|
|
27513
|
-
//# sourceMappingURL=flow-
|
|
27511
|
+
//# sourceMappingURL=flow-CBPGBIW5.js.map
|
|
@@ -648,10 +648,6 @@ function js(e5, t, r) {
|
|
|
648
648
|
return "undefined";
|
|
649
649
|
case "NullLiteral":
|
|
650
650
|
return "null";
|
|
651
|
-
case "FrontMatter":
|
|
652
|
-
case "AtHead":
|
|
653
|
-
case "VarHead":
|
|
654
|
-
case "ThisHead":
|
|
655
651
|
default:
|
|
656
652
|
throw new qr(s, "Handlebars");
|
|
657
653
|
}
|
|
@@ -2760,7 +2756,7 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
|
|
|
2760
2756
|
hi = new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"), pi = /* @__PURE__ */ new Set(["true", "false", "null", "undefined"]), fi = (e5, t) => t === 0 && e5.startsWith("@") ? !1 : t !== 0 && pi.has(e5) || /\s/u.test(e5) || /^\d/u.test(e5) || Array.prototype.some.call(e5, (r) => hi.has(r));
|
|
2761
2757
|
di = { features: { experimental_frontMatterSupport: { massageAstNode: !0, embed: !0, print: !0 } }, print: js, massageAstNode: Fr, hasPrettierIgnore: yn, getVisitorKeys: dn, embed: Hr }, _n = di, Ln = [{ name: "Handlebars", type: "markup", aceMode: "handlebars", extensions: [".handlebars", ".hbs"], tmScope: "text.html.handlebars", aliases: ["hbs", "htmlbars"], parsers: ["glimmer"], vscodeLanguageIds: ["handlebars"], linguistLanguageId: 155 }], yr = {};
|
|
2762
2758
|
Oe(yr, { glimmer: () => Ni });
|
|
2763
|
-
Dn = gi, On = Symbol.for("PRETTIER_IS_FRONT_MATTER"), Wt = 3;
|
|
2759
|
+
Dn = gi, On = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER"), Wt = 3;
|
|
2764
2760
|
In = yi;
|
|
2765
2761
|
ki = (e5) => {
|
|
2766
2762
|
let { start: t, end: r } = e5.loc;
|
|
@@ -2778,4 +2774,4 @@ export {
|
|
|
2778
2774
|
yr as parsers,
|
|
2779
2775
|
Ai as printers
|
|
2780
2776
|
};
|
|
2781
|
-
//# sourceMappingURL=glimmer-
|
|
2777
|
+
//# sourceMappingURL=glimmer-VWCK7UCR.js.map
|
|
@@ -813,10 +813,8 @@ spurious results.`);
|
|
|
813
813
|
return this.parseFragmentDefinition();
|
|
814
814
|
}
|
|
815
815
|
if (t) throw h(this._lexer.source, this._lexer.token.start, "Unexpected description, only GraphQL definitions support descriptions.");
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
return this.parseTypeSystemExtension();
|
|
819
|
-
}
|
|
816
|
+
if (n.value === "extend")
|
|
817
|
+
return this.parseTypeSystemExtension();
|
|
820
818
|
}
|
|
821
819
|
throw this.unexpected(n);
|
|
822
820
|
}
|
|
@@ -1222,4 +1220,4 @@ export {
|
|
|
1222
1220
|
he as parsers,
|
|
1223
1221
|
nn as printers
|
|
1224
1222
|
};
|
|
1225
|
-
//# sourceMappingURL=graphql-
|
|
1223
|
+
//# sourceMappingURL=graphql-2HHXB4VZ.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hook
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-Y7N4CVJX.js";
|
|
4
|
+
import "../chunk-SOPKCUZ6.js";
|
|
5
|
+
import "../chunk-VBBBCVMH.js";
|
|
6
|
+
import "../chunk-SXHGDJJG.js";
|
|
7
|
+
import "../chunk-JSNPKE7R.js";
|
|
8
|
+
import "../chunk-D7M6DPGX.js";
|
|
9
9
|
import "../chunk-UMUTXITN.js";
|
|
10
10
|
import "../chunk-Y2JP6WFP.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-SHWOPMLQ.js";
|
|
12
|
+
import "../chunk-6NVYATES.js";
|
|
12
13
|
import "../chunk-LABBARNJ.js";
|
|
13
14
|
import "../chunk-CTFDRWUN.js";
|
|
14
15
|
import "../chunk-7IK72W75.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchNotificationsInBackground
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5V2QRULS.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-SOPKCUZ6.js";
|
|
8
|
+
import "../chunk-VBBBCVMH.js";
|
|
9
9
|
import {
|
|
10
10
|
checkForCachedNewVersion,
|
|
11
11
|
checkForNewVersion,
|
|
12
12
|
packageManagerFromUserAgent,
|
|
13
13
|
runAtMinimumInterval
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-SXHGDJJG.js";
|
|
15
15
|
import {
|
|
16
16
|
currentProcessIsGlobal,
|
|
17
17
|
inferPackageManagerForGlobalCLI,
|
|
@@ -20,11 +20,12 @@ import {
|
|
|
20
20
|
outputDebug,
|
|
21
21
|
outputToken,
|
|
22
22
|
outputWarn
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-JSNPKE7R.js";
|
|
24
|
+
import "../chunk-D7M6DPGX.js";
|
|
25
25
|
import "../chunk-UMUTXITN.js";
|
|
26
26
|
import "../chunk-Y2JP6WFP.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-SHWOPMLQ.js";
|
|
28
|
+
import "../chunk-6NVYATES.js";
|
|
28
29
|
import "../chunk-LABBARNJ.js";
|
|
29
30
|
import "../chunk-CTFDRWUN.js";
|
|
30
31
|
import "../chunk-7IK72W75.js";
|
|
@@ -775,7 +775,7 @@ function Ie(e, t, r) {
|
|
|
775
775
|
let s = e.node, a = s.prev ? qt(s.prev, s) : "";
|
|
776
776
|
return [a ? [a, Ke(s.prev) ? v : ""] : "", st(e, t, r)];
|
|
777
777
|
}, "children")];
|
|
778
|
-
let i = n.children.map(() => Symbol(""));
|
|
778
|
+
let i = n.children.map(() => /* @__PURE__ */ Symbol(""));
|
|
779
779
|
return e.map(({ node: s, index: a }) => {
|
|
780
780
|
if (O(s)) {
|
|
781
781
|
if (s.prev && O(s.prev)) {
|
|
@@ -818,7 +818,7 @@ function Li(e, t, r) {
|
|
|
818
818
|
function Pi(e, t, r) {
|
|
819
819
|
let { node: n } = e;
|
|
820
820
|
if (xt(n, t)) return [U(n, t), C(rt(e, t, r)), L(Ft(n, t)), ...Ze(n, t), V(n, t)];
|
|
821
|
-
let i = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, s = Symbol("element-attr-group-id"), a = (p) => C([C(rt(e, t, r), { id: s }), p, Ze(n, t)]), o = (p) => i ? ln(p, { groupId: s }) : (H(n, t) || Je(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : y(p), c = () => i ? X(k, "", { groupId: s }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? on(k) : k, u = () => (n.next ? $(n.next) : de(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : i ? X(k, "", { groupId: s }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _ : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : k;
|
|
821
|
+
let i = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, s = /* @__PURE__ */ Symbol("element-attr-group-id"), a = (p) => C([C(rt(e, t, r), { id: s }), p, Ze(n, t)]), o = (p) => i ? ln(p, { groupId: s }) : (H(n, t) || Je(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : y(p), c = () => i ? X(k, "", { groupId: s }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? on(k) : k, u = () => (n.next ? $(n.next) : de(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : i ? X(k, "", { groupId: s }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _ : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : k;
|
|
822
822
|
return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : a([Pn(n) ? j : "", o([c(), Ie(e, t, r)]), u()]);
|
|
823
823
|
}
|
|
824
824
|
function at(e, t = !0) {
|
|
@@ -1152,8 +1152,6 @@ function nl(e, t, r) {
|
|
|
1152
1152
|
let i = Sr(n.value), s = Rt(n, t) ? "" : pn(i, '"');
|
|
1153
1153
|
return [n.rawName, "=", s, L(s === '"' ? w(0, i, '"', """) : w(0, i, "'", "'")), s];
|
|
1154
1154
|
}
|
|
1155
|
-
case "frontMatter":
|
|
1156
|
-
case "cdata":
|
|
1157
1155
|
default:
|
|
1158
1156
|
throw new mn(n, "HTML");
|
|
1159
1157
|
}
|
|
@@ -1425,7 +1423,7 @@ var Jr, Zr, ks, en, ir, As, $e, tn, ws, Ae, ys, xs, w, Ls, F, Ps, ze, Ye, je, _t
|
|
|
1425
1423
|
En = (e) => String(e).split(/[/\\]/u).pop(), Cn = (e) => String(e).startsWith("file:");
|
|
1426
1424
|
Re = Js;
|
|
1427
1425
|
ea = void 0;
|
|
1428
|
-
At = ta, yt = Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
1426
|
+
At = ta, yt = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
1429
1427
|
le = ra, Xe = 3;
|
|
1430
1428
|
pr = ia, bn = "inline", hr = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", select: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", option: "block", optgroup: "block" }, wn = "normal", mr = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
|
|
1431
1429
|
ce = sa, aa = (e) => w(0, e, /^[\t\f\r ]*\n/gu, ""), fr = (e) => aa(x.trimEnd(e)), kn = (e) => {
|
|
@@ -2765,4 +2763,4 @@ export {
|
|
|
2765
2763
|
Qr as parsers,
|
|
2766
2764
|
xl as printers
|
|
2767
2765
|
};
|
|
2768
|
-
//# sourceMappingURL=html-
|
|
2766
|
+
//# sourceMappingURL=html-ST4I6M3K.js.map
|