@shopify/cli 3.90.1 → 3.91.1
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/assets/hydrogen/starter/.graphqlrc.ts +4 -2
- package/dist/assets/hydrogen/starter/CHANGELOG.md +172 -0
- package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +67 -38
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +45 -7
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +20 -38
- package/dist/assets/hydrogen/starter/app/components/MockShopNotice.tsx +20 -0
- package/dist/assets/hydrogen/starter/app/entry.client.tsx +2 -3
- package/dist/assets/hydrogen/starter/app/lib/fragments.ts +8 -0
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +4 -5
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +12 -12
- package/dist/assets/hydrogen/starter/app/routes/account.tsx +4 -7
- package/dist/assets/hydrogen/starter/app/routes/account_.login.tsx +10 -0
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +2 -9
- package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +1 -4
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +3 -11
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -3
- package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +2 -8
- package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +1 -4
- package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +2 -9
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +18 -12
- package/dist/assets/hydrogen/starter/app/styles/app.css +72 -1
- package/dist/assets/hydrogen/starter/eslint.config.js +1 -0
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +3 -3
- package/dist/assets/hydrogen/starter/guides/search/search.md +1 -1
- package/dist/assets/hydrogen/starter/package.json +14 -13
- package/dist/assets/hydrogen/starter/server.ts +5 -7
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +89 -0
- package/dist/{babel-TRRZ6QQY.js → babel-LQYCV4NA.js} +2 -7
- package/dist/{brotli-2OKV26Y6.js → brotli-6CC7WD4Z.js} +1 -2
- package/dist/{chunk-SGU7BPE4.js → chunk-2EQNSO7C.js} +3 -3
- package/dist/{chunk-PAU7LKSJ.js → chunk-2YAGQHB2.js} +3 -3
- package/dist/{chunk-OZPZBNSB.js → chunk-463KYFYO.js} +2 -2
- package/dist/{chunk-IEPPQIPW.js → chunk-54FE2FGU.js} +2 -2
- package/dist/{chunk-EFOOQV72.js → chunk-56ELYGPH.js} +2 -2
- package/dist/{chunk-6ONJ77I7.js → chunk-5JYQJQ2E.js} +2 -2
- package/dist/chunk-5ZDTGPNX.js +28 -0
- package/dist/{chunk-6ONJEX7Y.js → chunk-6NVYATES.js} +2 -2
- package/dist/chunk-77BDQRQW.js +90 -0
- package/dist/{chunk-HMDWNGIV.js → chunk-A27P5CF7.js} +211 -103
- package/dist/{chunk-4BBQTKIZ.js → chunk-A2CZGTAP.js} +27763 -25681
- package/dist/{chunk-TIYR37XP.js → chunk-ATQVKUJC.js} +4 -4
- package/dist/{chunk-3GXB4ZRP.js → chunk-CE4S2SGM.js} +10 -10
- package/dist/{chunk-WC5EDB4Z.js → chunk-CEUL3KX5.js} +1190 -144
- package/dist/{chunk-2TMOMDXO.js → chunk-DR5R5UTE.js} +6 -6
- package/dist/{chunk-IYNLJNFT.js → chunk-DUNGALP3.js} +3 -3
- package/dist/{chunk-TGDLXF4K.js → chunk-E44JKFB6.js} +2 -2
- package/dist/{chunk-5SJCPOBW.js → chunk-E4GUDBAR.js} +417 -387
- package/dist/{chunk-C5STUYKR.js → chunk-FKP67FZI.js} +3 -3
- package/dist/{chunk-ZZNQWJUM.js → chunk-HAG3HJ2V.js} +10 -10
- package/dist/{chunk-PUMWL67K.js → chunk-HOIU6WRE.js} +3 -3
- package/dist/{chunk-GPKHDSF5.js → chunk-HTGTTXQL.js} +24 -26
- package/dist/{chunk-3VKS4374.js → chunk-I23GZAC4.js} +15 -17
- package/dist/chunk-ITTNM7I4.js +23 -0
- package/dist/chunk-IUKBWIQY.js +39 -0
- package/dist/{chunk-H3SSAPRP.js → chunk-K45ALTZ7.js} +3 -3
- package/dist/chunk-K52ORY26.js +78 -0
- package/dist/{prettier-2ITB6I34.js → chunk-KV3364EL.js} +43 -42
- package/dist/{chunk-4TOZOCIV.js → chunk-LFMBIRVC.js} +3 -3
- package/dist/{chunk-OTD3FRPC.js → chunk-NYP3N62G.js} +2 -2
- package/dist/chunk-OIUDJFV2.js +309 -0
- package/dist/{chunk-HV4MPORZ.js → chunk-PCNR4TMY.js} +5 -5
- package/dist/{chunk-SG2A4CTL.js → chunk-QFO7QSBW.js} +4 -4
- package/dist/{chunk-UHBL2XEG.js → chunk-R622IPZN.js} +3 -3
- package/dist/{chunk-X7CGUWBF.js → chunk-RKFRXKFE.js} +3 -3
- package/dist/{chunk-WYVKPOTO.js → chunk-RLJICWO6.js} +4 -4
- package/dist/chunk-SJXHR42U.js +36 -0
- package/dist/{chunk-CYPBBNM2.js → chunk-SUFC4ISB.js} +6 -6
- package/dist/{chunk-3AF66HDC.js → chunk-SVV4RJVX.js} +4 -4
- package/dist/chunk-TH7ZYYDZ.js +20868 -0
- package/dist/{chunk-J2CFMYG5.js → chunk-TY5YKCUW.js} +5 -5
- package/dist/{chunk-XD3LXUGW.js → chunk-VBBBCVMH.js} +2 -2
- package/dist/chunk-VRUH5BDH.js +51 -0
- package/dist/{chunk-7FIBLDM2.js → chunk-VUYVHHZY.js} +3 -3
- package/dist/{chunk-KC6KOCJ5.js → chunk-WDYPK6VH.js} +7 -7
- package/dist/{chunk-JRFL7VGC.js → chunk-XDCBS7SY.js} +3 -3
- package/dist/{chunk-6MYWZ7MP.js → chunk-Z5FK5H2M.js} +8 -27
- package/dist/{chunk-RHYTM4FE.js → chunk-ZLV2A27J.js} +2 -2
- package/dist/cli/commands/auth/login.js +14 -16
- package/dist/cli/commands/auth/login.test.js +16 -18
- package/dist/cli/commands/auth/logout.js +14 -16
- package/dist/cli/commands/auth/logout.test.js +17 -19
- package/dist/cli/commands/cache/clear.js +15 -16
- package/dist/cli/commands/debug/command-flags.js +14 -16
- package/dist/cli/commands/docs/generate.js +14 -16
- package/dist/cli/commands/docs/generate.test.js +15 -17
- package/dist/cli/commands/doctor-release/doctor-release.d.ts +6 -0
- package/dist/cli/commands/doctor-release/doctor-release.js +27 -0
- package/dist/cli/commands/doctor-release/theme/index.d.ts +14 -0
- package/dist/cli/commands/doctor-release/theme/index.js +33 -0
- package/dist/cli/commands/help.js +14 -16
- package/dist/cli/commands/kitchen-sink/async.js +15 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +16 -18
- package/dist/cli/commands/kitchen-sink/index.js +17 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +20 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +16 -18
- package/dist/cli/commands/kitchen-sink/static.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +16 -18
- package/dist/cli/commands/notifications/generate.js +15 -17
- package/dist/cli/commands/notifications/list.js +15 -17
- package/dist/cli/commands/search.js +15 -17
- package/dist/cli/commands/upgrade.js +15 -17
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +15 -17
- package/dist/cli/commands/version.test.js +16 -18
- package/dist/cli/services/commands/notifications.js +14 -14
- package/dist/cli/services/commands/search.js +8 -9
- package/dist/cli/services/commands/search.test.js +9 -10
- package/dist/cli/services/commands/version.js +9 -10
- package/dist/cli/services/commands/version.test.js +11 -12
- package/dist/cli/services/doctor-release/context.d.ts +16 -0
- package/dist/cli/services/doctor-release/context.js +9 -0
- package/dist/cli/services/doctor-release/theme/runner.d.ts +7 -0
- package/dist/cli/services/doctor-release/theme/runner.js +24 -0
- package/dist/cli/services/doctor-release/theme/tests/init.d.ts +11 -0
- package/dist/cli/services/doctor-release/theme/tests/init.js +21 -0
- package/dist/cli/services/doctor-release/theme/tests/push.d.ts +10 -0
- package/dist/cli/services/doctor-release/theme/tests/push.js +21 -0
- package/dist/cli/services/kitchen-sink/async.js +8 -9
- package/dist/cli/services/kitchen-sink/prompts.js +8 -9
- package/dist/cli/services/kitchen-sink/static.js +8 -9
- package/dist/cli/services/upgrade.js +9 -10
- package/dist/cli/services/upgrade.test.js +11 -12
- package/dist/{custom-oclif-loader-RINU7HR3.js → custom-oclif-loader-AAJZ7WBW.js} +8 -9
- package/dist/{del-E4LJOSMR.js → del-63DSU6FP.js} +7 -7
- package/dist/{devtools-D47L6HIC.js → devtools-4MXU7BNJ.js} +2 -2
- package/dist/{devtools-2SG3BFWJ.js → devtools-BAOTGU3O.js} +2 -2
- package/dist/{error-handler-CWNDOJLB.js → error-handler-GSQRFK57.js} +12 -14
- 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 +13 -13
- package/dist/hooks/prerun.js +14 -14
- package/dist/{html-3U6QZZZ4.js → html-ST4I6M3K.js} +4 -6
- package/dist/index.js +143537 -8573
- package/dist/{lib-XGN4IWQ3.js → lib-HAW436ZI.js} +3 -4
- package/dist/{local-FQVEYJ4K.js → local-GOP2BHNI.js} +10 -11
- package/dist/{markdown-RHRQTUMC.js → markdown-NVTT3U3H.js} +4 -13
- package/dist/{meriyah-7MIMHTWQ.js → meriyah-H6RUUN2F.js} +2 -9
- package/dist/{morph-37GC7LQM.js → morph-7WAMUK6I.js} +68 -143
- package/dist/{multipart-parser-IYYNISJK.js → multipart-parser-WKKMXACL.js} +2 -2
- package/dist/{node-package-manager-XIE2HZEQ.js → node-package-manager-W4R4DUTE.js} +9 -10
- package/dist/{npa-E675GQOI.js → npa-GRSJKUWS.js} +5 -7
- package/dist/{postcss-MSOPGY7M.js → postcss-LKRKUSYR.js} +4 -6
- package/dist/prettier-5ODD6NHV.js +36 -0
- package/dist/{source-map-UFUVQCYE.js → source-map-KSW2YKNC.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-UAEFJEFY.js → ui-VRLRLHWH.js} +8 -9
- package/dist/{workerd-EPURL4IC.js → workerd-AO3T6IIJ.js} +19 -22
- package/dist/{yaml-6GALFXQY.js → yaml-54MHMX7H.js} +6 -9
- package/oclif.manifest.json +128 -9
- package/package.json +8 -8
- package/dist/chunk-DOZD5WAI.js +0 -153039
- package/dist/chunk-EZQWZ57B.js +0 -53
- package/dist/chunk-W65CJE3X.js +0 -2238
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
require_brace_expansion,
|
|
3
|
+
require_source_map_support
|
|
4
|
+
} from "./chunk-KUJQ4AB6.js";
|
|
4
5
|
import {
|
|
5
6
|
require_src,
|
|
6
7
|
require_supports_color
|
|
7
8
|
} from "./chunk-UMUTXITN.js";
|
|
8
|
-
import {
|
|
9
|
-
require_brace_expansion,
|
|
10
|
-
require_source_map_support
|
|
11
|
-
} from "./chunk-KUJQ4AB6.js";
|
|
12
9
|
import {
|
|
13
10
|
require_is_wsl
|
|
14
11
|
} from "./chunk-G2ZZKGSV.js";
|
|
@@ -110,6 +107,1130 @@ var require_util = __commonJS({
|
|
|
110
107
|
}
|
|
111
108
|
});
|
|
112
109
|
|
|
110
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js
|
|
111
|
+
var require_constants = __commonJS({
|
|
112
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"(exports, module) {
|
|
113
|
+
init_cjs_shims();
|
|
114
|
+
var SEMVER_SPEC_VERSION = "2.0.0", MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
115
|
+
9007199254740991, MAX_SAFE_COMPONENT_LENGTH = 16, MAX_SAFE_BUILD_LENGTH = 250, RELEASE_TYPES = [
|
|
116
|
+
"major",
|
|
117
|
+
"premajor",
|
|
118
|
+
"minor",
|
|
119
|
+
"preminor",
|
|
120
|
+
"patch",
|
|
121
|
+
"prepatch",
|
|
122
|
+
"prerelease"
|
|
123
|
+
];
|
|
124
|
+
module.exports = {
|
|
125
|
+
MAX_LENGTH: 256,
|
|
126
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
127
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
128
|
+
MAX_SAFE_INTEGER,
|
|
129
|
+
RELEASE_TYPES,
|
|
130
|
+
SEMVER_SPEC_VERSION,
|
|
131
|
+
FLAG_INCLUDE_PRERELEASE: 1,
|
|
132
|
+
FLAG_LOOSE: 2
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js
|
|
138
|
+
var require_debug = __commonJS({
|
|
139
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"(exports, module) {
|
|
140
|
+
init_cjs_shims();
|
|
141
|
+
var debug = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
142
|
+
};
|
|
143
|
+
module.exports = debug;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js
|
|
148
|
+
var require_re = __commonJS({
|
|
149
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"(exports, module) {
|
|
150
|
+
init_cjs_shims();
|
|
151
|
+
var {
|
|
152
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
153
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
154
|
+
MAX_LENGTH
|
|
155
|
+
} = require_constants(), debug = require_debug();
|
|
156
|
+
exports = module.exports = {};
|
|
157
|
+
var re = exports.re = [], safeRe = exports.safeRe = [], src = exports.src = [], t = exports.t = {}, R = 0, LETTERDASHNUMBER = "[a-zA-Z0-9-]", safeRegexReplacements = [
|
|
158
|
+
["\\s", 1],
|
|
159
|
+
["\\d", MAX_LENGTH],
|
|
160
|
+
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
161
|
+
], makeSafeRegex = (value) => {
|
|
162
|
+
for (let [token, max] of safeRegexReplacements)
|
|
163
|
+
value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
|
|
164
|
+
return value;
|
|
165
|
+
}, createToken = (name, value, isGlobal) => {
|
|
166
|
+
let safe = makeSafeRegex(value), index = R++;
|
|
167
|
+
debug(name, index, value), t[name] = index, src[index] = value, re[index] = new RegExp(value, isGlobal ? "g" : void 0), safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
168
|
+
};
|
|
169
|
+
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
170
|
+
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
171
|
+
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
172
|
+
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
173
|
+
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
174
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
175
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
176
|
+
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
177
|
+
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
178
|
+
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
179
|
+
createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
180
|
+
createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
181
|
+
createToken("FULL", `^${src[t.FULLPLAIN]}$`);
|
|
182
|
+
createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
183
|
+
createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
|
|
184
|
+
createToken("GTLT", "((?:<|>)?=?)");
|
|
185
|
+
createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
186
|
+
createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
187
|
+
createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
188
|
+
createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
189
|
+
createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
190
|
+
createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
191
|
+
createToken("COERCEPLAIN", `(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
192
|
+
createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
193
|
+
createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
|
|
194
|
+
createToken("COERCERTL", src[t.COERCE], !0);
|
|
195
|
+
createToken("COERCERTLFULL", src[t.COERCEFULL], !0);
|
|
196
|
+
createToken("LONETILDE", "(?:~>?)");
|
|
197
|
+
createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, !0);
|
|
198
|
+
exports.tildeTrimReplace = "$1~";
|
|
199
|
+
createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
200
|
+
createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
201
|
+
createToken("LONECARET", "(?:\\^)");
|
|
202
|
+
createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, !0);
|
|
203
|
+
exports.caretTrimReplace = "$1^";
|
|
204
|
+
createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
205
|
+
createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
206
|
+
createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
207
|
+
createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
208
|
+
createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, !0);
|
|
209
|
+
exports.comparatorTrimReplace = "$1$2$3";
|
|
210
|
+
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
|
|
211
|
+
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
|
|
212
|
+
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
213
|
+
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
214
|
+
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js
|
|
219
|
+
var require_parse_options = __commonJS({
|
|
220
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
221
|
+
init_cjs_shims();
|
|
222
|
+
var looseOption = Object.freeze({ loose: !0 }), emptyOpts = Object.freeze({}), parseOptions = (options) => options ? typeof options != "object" ? looseOption : options : emptyOpts;
|
|
223
|
+
module.exports = parseOptions;
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js
|
|
228
|
+
var require_identifiers = __commonJS({
|
|
229
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
230
|
+
init_cjs_shims();
|
|
231
|
+
var numeric = /^[0-9]+$/, compareIdentifiers = (a, b) => {
|
|
232
|
+
let anum = numeric.test(a), bnum = numeric.test(b);
|
|
233
|
+
return anum && bnum && (a = +a, b = +b), a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
234
|
+
}, rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
|
|
235
|
+
module.exports = {
|
|
236
|
+
compareIdentifiers,
|
|
237
|
+
rcompareIdentifiers
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js
|
|
243
|
+
var require_semver = __commonJS({
|
|
244
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"(exports, module) {
|
|
245
|
+
init_cjs_shims();
|
|
246
|
+
var debug = require_debug(), { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants(), { safeRe: re, t } = require_re(), parseOptions = require_parse_options(), { compareIdentifiers } = require_identifiers(), SemVer = class _SemVer {
|
|
247
|
+
constructor(version, options) {
|
|
248
|
+
if (options = parseOptions(options), version instanceof _SemVer) {
|
|
249
|
+
if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease)
|
|
250
|
+
return version;
|
|
251
|
+
version = version.version;
|
|
252
|
+
} else if (typeof version != "string")
|
|
253
|
+
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
254
|
+
if (version.length > MAX_LENGTH)
|
|
255
|
+
throw new TypeError(
|
|
256
|
+
`version is longer than ${MAX_LENGTH} characters`
|
|
257
|
+
);
|
|
258
|
+
debug("SemVer", version, options), this.options = options, this.loose = !!options.loose, this.includePrerelease = !!options.includePrerelease;
|
|
259
|
+
let m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
260
|
+
if (!m)
|
|
261
|
+
throw new TypeError(`Invalid Version: ${version}`);
|
|
262
|
+
if (this.raw = version, this.major = +m[1], this.minor = +m[2], this.patch = +m[3], this.major > MAX_SAFE_INTEGER || this.major < 0)
|
|
263
|
+
throw new TypeError("Invalid major version");
|
|
264
|
+
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0)
|
|
265
|
+
throw new TypeError("Invalid minor version");
|
|
266
|
+
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0)
|
|
267
|
+
throw new TypeError("Invalid patch version");
|
|
268
|
+
m[4] ? this.prerelease = m[4].split(".").map((id) => {
|
|
269
|
+
if (/^[0-9]+$/.test(id)) {
|
|
270
|
+
let num = +id;
|
|
271
|
+
if (num >= 0 && num < MAX_SAFE_INTEGER)
|
|
272
|
+
return num;
|
|
273
|
+
}
|
|
274
|
+
return id;
|
|
275
|
+
}) : this.prerelease = [], this.build = m[5] ? m[5].split(".") : [], this.format();
|
|
276
|
+
}
|
|
277
|
+
format() {
|
|
278
|
+
return this.version = `${this.major}.${this.minor}.${this.patch}`, this.prerelease.length && (this.version += `-${this.prerelease.join(".")}`), this.version;
|
|
279
|
+
}
|
|
280
|
+
toString() {
|
|
281
|
+
return this.version;
|
|
282
|
+
}
|
|
283
|
+
compare(other) {
|
|
284
|
+
if (debug("SemVer.compare", this.version, this.options, other), !(other instanceof _SemVer)) {
|
|
285
|
+
if (typeof other == "string" && other === this.version)
|
|
286
|
+
return 0;
|
|
287
|
+
other = new _SemVer(other, this.options);
|
|
288
|
+
}
|
|
289
|
+
return other.version === this.version ? 0 : this.compareMain(other) || this.comparePre(other);
|
|
290
|
+
}
|
|
291
|
+
compareMain(other) {
|
|
292
|
+
return other instanceof _SemVer || (other = new _SemVer(other, this.options)), compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
293
|
+
}
|
|
294
|
+
comparePre(other) {
|
|
295
|
+
if (other instanceof _SemVer || (other = new _SemVer(other, this.options)), this.prerelease.length && !other.prerelease.length)
|
|
296
|
+
return -1;
|
|
297
|
+
if (!this.prerelease.length && other.prerelease.length)
|
|
298
|
+
return 1;
|
|
299
|
+
if (!this.prerelease.length && !other.prerelease.length)
|
|
300
|
+
return 0;
|
|
301
|
+
let i = 0;
|
|
302
|
+
do {
|
|
303
|
+
let a = this.prerelease[i], b = other.prerelease[i];
|
|
304
|
+
if (debug("prerelease compare", i, a, b), a === void 0 && b === void 0)
|
|
305
|
+
return 0;
|
|
306
|
+
if (b === void 0)
|
|
307
|
+
return 1;
|
|
308
|
+
if (a === void 0)
|
|
309
|
+
return -1;
|
|
310
|
+
if (a === b)
|
|
311
|
+
continue;
|
|
312
|
+
return compareIdentifiers(a, b);
|
|
313
|
+
} while (++i);
|
|
314
|
+
}
|
|
315
|
+
compareBuild(other) {
|
|
316
|
+
other instanceof _SemVer || (other = new _SemVer(other, this.options));
|
|
317
|
+
let i = 0;
|
|
318
|
+
do {
|
|
319
|
+
let a = this.build[i], b = other.build[i];
|
|
320
|
+
if (debug("build compare", i, a, b), a === void 0 && b === void 0)
|
|
321
|
+
return 0;
|
|
322
|
+
if (b === void 0)
|
|
323
|
+
return 1;
|
|
324
|
+
if (a === void 0)
|
|
325
|
+
return -1;
|
|
326
|
+
if (a === b)
|
|
327
|
+
continue;
|
|
328
|
+
return compareIdentifiers(a, b);
|
|
329
|
+
} while (++i);
|
|
330
|
+
}
|
|
331
|
+
// preminor will bump the version up to the next minor release, and immediately
|
|
332
|
+
// down to pre-release. premajor and prepatch work the same way.
|
|
333
|
+
inc(release, identifier, identifierBase) {
|
|
334
|
+
switch (release) {
|
|
335
|
+
case "premajor":
|
|
336
|
+
this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", identifier, identifierBase);
|
|
337
|
+
break;
|
|
338
|
+
case "preminor":
|
|
339
|
+
this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", identifier, identifierBase);
|
|
340
|
+
break;
|
|
341
|
+
case "prepatch":
|
|
342
|
+
this.prerelease.length = 0, this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
|
|
343
|
+
break;
|
|
344
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
345
|
+
// prepatch.
|
|
346
|
+
case "prerelease":
|
|
347
|
+
this.prerelease.length === 0 && this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
|
|
348
|
+
break;
|
|
349
|
+
case "major":
|
|
350
|
+
(this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease = [];
|
|
351
|
+
break;
|
|
352
|
+
case "minor":
|
|
353
|
+
(this.patch !== 0 || this.prerelease.length === 0) && this.minor++, this.patch = 0, this.prerelease = [];
|
|
354
|
+
break;
|
|
355
|
+
case "patch":
|
|
356
|
+
this.prerelease.length === 0 && this.patch++, this.prerelease = [];
|
|
357
|
+
break;
|
|
358
|
+
// This probably shouldn't be used publicly.
|
|
359
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
360
|
+
case "pre": {
|
|
361
|
+
let base = Number(identifierBase) ? 1 : 0;
|
|
362
|
+
if (!identifier && identifierBase === !1)
|
|
363
|
+
throw new Error("invalid increment argument: identifier is empty");
|
|
364
|
+
if (this.prerelease.length === 0)
|
|
365
|
+
this.prerelease = [base];
|
|
366
|
+
else {
|
|
367
|
+
let i = this.prerelease.length;
|
|
368
|
+
for (; --i >= 0; )
|
|
369
|
+
typeof this.prerelease[i] == "number" && (this.prerelease[i]++, i = -2);
|
|
370
|
+
if (i === -1) {
|
|
371
|
+
if (identifier === this.prerelease.join(".") && identifierBase === !1)
|
|
372
|
+
throw new Error("invalid increment argument: identifier already exists");
|
|
373
|
+
this.prerelease.push(base);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
if (identifier) {
|
|
377
|
+
let prerelease = [identifier, base];
|
|
378
|
+
identifierBase === !1 && (prerelease = [identifier]), compareIdentifiers(this.prerelease[0], identifier) === 0 ? isNaN(this.prerelease[1]) && (this.prerelease = prerelease) : this.prerelease = prerelease;
|
|
379
|
+
}
|
|
380
|
+
break;
|
|
381
|
+
}
|
|
382
|
+
default:
|
|
383
|
+
throw new Error(`invalid increment argument: ${release}`);
|
|
384
|
+
}
|
|
385
|
+
return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
module.exports = SemVer;
|
|
389
|
+
}
|
|
390
|
+
});
|
|
391
|
+
|
|
392
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js
|
|
393
|
+
var require_parse = __commonJS({
|
|
394
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"(exports, module) {
|
|
395
|
+
init_cjs_shims();
|
|
396
|
+
var SemVer = require_semver(), parse = (version, options, throwErrors = !1) => {
|
|
397
|
+
if (version instanceof SemVer)
|
|
398
|
+
return version;
|
|
399
|
+
try {
|
|
400
|
+
return new SemVer(version, options);
|
|
401
|
+
} catch (er) {
|
|
402
|
+
if (!throwErrors)
|
|
403
|
+
return null;
|
|
404
|
+
throw er;
|
|
405
|
+
}
|
|
406
|
+
};
|
|
407
|
+
module.exports = parse;
|
|
408
|
+
}
|
|
409
|
+
});
|
|
410
|
+
|
|
411
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js
|
|
412
|
+
var require_valid = __commonJS({
|
|
413
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"(exports, module) {
|
|
414
|
+
init_cjs_shims();
|
|
415
|
+
var parse = require_parse(), valid = (version, options) => {
|
|
416
|
+
let v = parse(version, options);
|
|
417
|
+
return v ? v.version : null;
|
|
418
|
+
};
|
|
419
|
+
module.exports = valid;
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
|
|
423
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js
|
|
424
|
+
var require_clean = __commonJS({
|
|
425
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"(exports, module) {
|
|
426
|
+
init_cjs_shims();
|
|
427
|
+
var parse = require_parse(), clean = (version, options) => {
|
|
428
|
+
let s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
429
|
+
return s ? s.version : null;
|
|
430
|
+
};
|
|
431
|
+
module.exports = clean;
|
|
432
|
+
}
|
|
433
|
+
});
|
|
434
|
+
|
|
435
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js
|
|
436
|
+
var require_inc = __commonJS({
|
|
437
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js"(exports, module) {
|
|
438
|
+
init_cjs_shims();
|
|
439
|
+
var SemVer = require_semver(), inc = (version, release, options, identifier, identifierBase) => {
|
|
440
|
+
typeof options == "string" && (identifierBase = identifier, identifier = options, options = void 0);
|
|
441
|
+
try {
|
|
442
|
+
return new SemVer(
|
|
443
|
+
version instanceof SemVer ? version.version : version,
|
|
444
|
+
options
|
|
445
|
+
).inc(release, identifier, identifierBase).version;
|
|
446
|
+
} catch {
|
|
447
|
+
return null;
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
module.exports = inc;
|
|
451
|
+
}
|
|
452
|
+
});
|
|
453
|
+
|
|
454
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js
|
|
455
|
+
var require_diff = __commonJS({
|
|
456
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js"(exports, module) {
|
|
457
|
+
init_cjs_shims();
|
|
458
|
+
var parse = require_parse(), diff = (version1, version2) => {
|
|
459
|
+
let v1 = parse(version1, null, !0), v2 = parse(version2, null, !0), comparison = v1.compare(v2);
|
|
460
|
+
if (comparison === 0)
|
|
461
|
+
return null;
|
|
462
|
+
let v1Higher = comparison > 0, highVersion = v1Higher ? v1 : v2, lowVersion = v1Higher ? v2 : v1, highHasPre = !!highVersion.prerelease.length;
|
|
463
|
+
if (!!lowVersion.prerelease.length && !highHasPre)
|
|
464
|
+
return !lowVersion.patch && !lowVersion.minor ? "major" : highVersion.patch ? "patch" : highVersion.minor ? "minor" : "major";
|
|
465
|
+
let prefix = highHasPre ? "pre" : "";
|
|
466
|
+
return v1.major !== v2.major ? prefix + "major" : v1.minor !== v2.minor ? prefix + "minor" : v1.patch !== v2.patch ? prefix + "patch" : "prerelease";
|
|
467
|
+
};
|
|
468
|
+
module.exports = diff;
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
|
|
472
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js
|
|
473
|
+
var require_major = __commonJS({
|
|
474
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js"(exports, module) {
|
|
475
|
+
init_cjs_shims();
|
|
476
|
+
var SemVer = require_semver(), major = (a, loose) => new SemVer(a, loose).major;
|
|
477
|
+
module.exports = major;
|
|
478
|
+
}
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js
|
|
482
|
+
var require_minor = __commonJS({
|
|
483
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js"(exports, module) {
|
|
484
|
+
init_cjs_shims();
|
|
485
|
+
var SemVer = require_semver(), minor = (a, loose) => new SemVer(a, loose).minor;
|
|
486
|
+
module.exports = minor;
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
|
|
490
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js
|
|
491
|
+
var require_patch = __commonJS({
|
|
492
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js"(exports, module) {
|
|
493
|
+
init_cjs_shims();
|
|
494
|
+
var SemVer = require_semver(), patch = (a, loose) => new SemVer(a, loose).patch;
|
|
495
|
+
module.exports = patch;
|
|
496
|
+
}
|
|
497
|
+
});
|
|
498
|
+
|
|
499
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js
|
|
500
|
+
var require_prerelease = __commonJS({
|
|
501
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
502
|
+
init_cjs_shims();
|
|
503
|
+
var parse = require_parse(), prerelease = (version, options) => {
|
|
504
|
+
let parsed = parse(version, options);
|
|
505
|
+
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
506
|
+
};
|
|
507
|
+
module.exports = prerelease;
|
|
508
|
+
}
|
|
509
|
+
});
|
|
510
|
+
|
|
511
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js
|
|
512
|
+
var require_compare = __commonJS({
|
|
513
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"(exports, module) {
|
|
514
|
+
init_cjs_shims();
|
|
515
|
+
var SemVer = require_semver(), compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
516
|
+
module.exports = compare;
|
|
517
|
+
}
|
|
518
|
+
});
|
|
519
|
+
|
|
520
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js
|
|
521
|
+
var require_rcompare = __commonJS({
|
|
522
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
523
|
+
init_cjs_shims();
|
|
524
|
+
var compare = require_compare(), rcompare = (a, b, loose) => compare(b, a, loose);
|
|
525
|
+
module.exports = rcompare;
|
|
526
|
+
}
|
|
527
|
+
});
|
|
528
|
+
|
|
529
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js
|
|
530
|
+
var require_compare_loose = __commonJS({
|
|
531
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
532
|
+
init_cjs_shims();
|
|
533
|
+
var compare = require_compare(), compareLoose = (a, b) => compare(a, b, !0);
|
|
534
|
+
module.exports = compareLoose;
|
|
535
|
+
}
|
|
536
|
+
});
|
|
537
|
+
|
|
538
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js
|
|
539
|
+
var require_compare_build = __commonJS({
|
|
540
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
541
|
+
init_cjs_shims();
|
|
542
|
+
var SemVer = require_semver(), compareBuild = (a, b, loose) => {
|
|
543
|
+
let versionA = new SemVer(a, loose), versionB = new SemVer(b, loose);
|
|
544
|
+
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
545
|
+
};
|
|
546
|
+
module.exports = compareBuild;
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
|
|
550
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js
|
|
551
|
+
var require_sort = __commonJS({
|
|
552
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js"(exports, module) {
|
|
553
|
+
init_cjs_shims();
|
|
554
|
+
var compareBuild = require_compare_build(), sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
555
|
+
module.exports = sort;
|
|
556
|
+
}
|
|
557
|
+
});
|
|
558
|
+
|
|
559
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js
|
|
560
|
+
var require_rsort = __commonJS({
|
|
561
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
562
|
+
init_cjs_shims();
|
|
563
|
+
var compareBuild = require_compare_build(), rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
564
|
+
module.exports = rsort;
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
|
|
568
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js
|
|
569
|
+
var require_gt = __commonJS({
|
|
570
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"(exports, module) {
|
|
571
|
+
init_cjs_shims();
|
|
572
|
+
var compare = require_compare(), gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
573
|
+
module.exports = gt;
|
|
574
|
+
}
|
|
575
|
+
});
|
|
576
|
+
|
|
577
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js
|
|
578
|
+
var require_lt = __commonJS({
|
|
579
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"(exports, module) {
|
|
580
|
+
init_cjs_shims();
|
|
581
|
+
var compare = require_compare(), lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
582
|
+
module.exports = lt;
|
|
583
|
+
}
|
|
584
|
+
});
|
|
585
|
+
|
|
586
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js
|
|
587
|
+
var require_eq = __commonJS({
|
|
588
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"(exports, module) {
|
|
589
|
+
init_cjs_shims();
|
|
590
|
+
var compare = require_compare(), eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
591
|
+
module.exports = eq;
|
|
592
|
+
}
|
|
593
|
+
});
|
|
594
|
+
|
|
595
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js
|
|
596
|
+
var require_neq = __commonJS({
|
|
597
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"(exports, module) {
|
|
598
|
+
init_cjs_shims();
|
|
599
|
+
var compare = require_compare(), neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
600
|
+
module.exports = neq;
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
|
|
604
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js
|
|
605
|
+
var require_gte = __commonJS({
|
|
606
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"(exports, module) {
|
|
607
|
+
init_cjs_shims();
|
|
608
|
+
var compare = require_compare(), gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
609
|
+
module.exports = gte;
|
|
610
|
+
}
|
|
611
|
+
});
|
|
612
|
+
|
|
613
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js
|
|
614
|
+
var require_lte = __commonJS({
|
|
615
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"(exports, module) {
|
|
616
|
+
init_cjs_shims();
|
|
617
|
+
var compare = require_compare(), lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
618
|
+
module.exports = lte;
|
|
619
|
+
}
|
|
620
|
+
});
|
|
621
|
+
|
|
622
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js
|
|
623
|
+
var require_cmp = __commonJS({
|
|
624
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
625
|
+
init_cjs_shims();
|
|
626
|
+
var eq = require_eq(), neq = require_neq(), gt = require_gt(), gte = require_gte(), lt = require_lt(), lte = require_lte(), cmp = (a, op, b, loose) => {
|
|
627
|
+
switch (op) {
|
|
628
|
+
case "===":
|
|
629
|
+
return typeof a == "object" && (a = a.version), typeof b == "object" && (b = b.version), a === b;
|
|
630
|
+
case "!==":
|
|
631
|
+
return typeof a == "object" && (a = a.version), typeof b == "object" && (b = b.version), a !== b;
|
|
632
|
+
case "":
|
|
633
|
+
case "=":
|
|
634
|
+
case "==":
|
|
635
|
+
return eq(a, b, loose);
|
|
636
|
+
case "!=":
|
|
637
|
+
return neq(a, b, loose);
|
|
638
|
+
case ">":
|
|
639
|
+
return gt(a, b, loose);
|
|
640
|
+
case ">=":
|
|
641
|
+
return gte(a, b, loose);
|
|
642
|
+
case "<":
|
|
643
|
+
return lt(a, b, loose);
|
|
644
|
+
case "<=":
|
|
645
|
+
return lte(a, b, loose);
|
|
646
|
+
default:
|
|
647
|
+
throw new TypeError(`Invalid operator: ${op}`);
|
|
648
|
+
}
|
|
649
|
+
};
|
|
650
|
+
module.exports = cmp;
|
|
651
|
+
}
|
|
652
|
+
});
|
|
653
|
+
|
|
654
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js
|
|
655
|
+
var require_coerce = __commonJS({
|
|
656
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
657
|
+
init_cjs_shims();
|
|
658
|
+
var SemVer = require_semver(), parse = require_parse(), { safeRe: re, t } = require_re(), coerce = (version, options) => {
|
|
659
|
+
if (version instanceof SemVer)
|
|
660
|
+
return version;
|
|
661
|
+
if (typeof version == "number" && (version = String(version)), typeof version != "string")
|
|
662
|
+
return null;
|
|
663
|
+
options = options || {};
|
|
664
|
+
let match = null;
|
|
665
|
+
if (!options.rtl)
|
|
666
|
+
match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
|
|
667
|
+
else {
|
|
668
|
+
let coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL], next;
|
|
669
|
+
for (; (next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length); )
|
|
670
|
+
(!match || next.index + next[0].length !== match.index + match[0].length) && (match = next), coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
|
|
671
|
+
coerceRtlRegex.lastIndex = -1;
|
|
672
|
+
}
|
|
673
|
+
if (match === null)
|
|
674
|
+
return null;
|
|
675
|
+
let major = match[2], minor = match[3] || "0", patch = match[4] || "0", prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "", build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
|
|
676
|
+
return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options);
|
|
677
|
+
};
|
|
678
|
+
module.exports = coerce;
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
|
|
682
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js
|
|
683
|
+
var require_lrucache = __commonJS({
|
|
684
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
685
|
+
init_cjs_shims();
|
|
686
|
+
var LRUCache = class {
|
|
687
|
+
constructor() {
|
|
688
|
+
this.max = 1e3, this.map = /* @__PURE__ */ new Map();
|
|
689
|
+
}
|
|
690
|
+
get(key) {
|
|
691
|
+
let value = this.map.get(key);
|
|
692
|
+
if (value !== void 0)
|
|
693
|
+
return this.map.delete(key), this.map.set(key, value), value;
|
|
694
|
+
}
|
|
695
|
+
delete(key) {
|
|
696
|
+
return this.map.delete(key);
|
|
697
|
+
}
|
|
698
|
+
set(key, value) {
|
|
699
|
+
if (!this.delete(key) && value !== void 0) {
|
|
700
|
+
if (this.map.size >= this.max) {
|
|
701
|
+
let firstKey = this.map.keys().next().value;
|
|
702
|
+
this.delete(firstKey);
|
|
703
|
+
}
|
|
704
|
+
this.map.set(key, value);
|
|
705
|
+
}
|
|
706
|
+
return this;
|
|
707
|
+
}
|
|
708
|
+
};
|
|
709
|
+
module.exports = LRUCache;
|
|
710
|
+
}
|
|
711
|
+
});
|
|
712
|
+
|
|
713
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js
|
|
714
|
+
var require_range = __commonJS({
|
|
715
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"(exports, module) {
|
|
716
|
+
init_cjs_shims();
|
|
717
|
+
var SPACE_CHARACTERS = /\s+/g, Range = class _Range {
|
|
718
|
+
constructor(range, options) {
|
|
719
|
+
if (options = parseOptions(options), range instanceof _Range)
|
|
720
|
+
return range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease ? range : new _Range(range.raw, options);
|
|
721
|
+
if (range instanceof Comparator)
|
|
722
|
+
return this.raw = range.value, this.set = [[range]], this.formatted = void 0, this;
|
|
723
|
+
if (this.options = options, this.loose = !!options.loose, this.includePrerelease = !!options.includePrerelease, this.raw = range.trim().replace(SPACE_CHARACTERS, " "), this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length), !this.set.length)
|
|
724
|
+
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
725
|
+
if (this.set.length > 1) {
|
|
726
|
+
let first = this.set[0];
|
|
727
|
+
if (this.set = this.set.filter((c) => !isNullSet(c[0])), this.set.length === 0)
|
|
728
|
+
this.set = [first];
|
|
729
|
+
else if (this.set.length > 1) {
|
|
730
|
+
for (let c of this.set)
|
|
731
|
+
if (c.length === 1 && isAny(c[0])) {
|
|
732
|
+
this.set = [c];
|
|
733
|
+
break;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
this.formatted = void 0;
|
|
738
|
+
}
|
|
739
|
+
get range() {
|
|
740
|
+
if (this.formatted === void 0) {
|
|
741
|
+
this.formatted = "";
|
|
742
|
+
for (let i = 0; i < this.set.length; i++) {
|
|
743
|
+
i > 0 && (this.formatted += "||");
|
|
744
|
+
let comps = this.set[i];
|
|
745
|
+
for (let k = 0; k < comps.length; k++)
|
|
746
|
+
k > 0 && (this.formatted += " "), this.formatted += comps[k].toString().trim();
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
return this.formatted;
|
|
750
|
+
}
|
|
751
|
+
format() {
|
|
752
|
+
return this.range;
|
|
753
|
+
}
|
|
754
|
+
toString() {
|
|
755
|
+
return this.range;
|
|
756
|
+
}
|
|
757
|
+
parseRange(range) {
|
|
758
|
+
let memoKey = ((this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE)) + ":" + range, cached = cache.get(memoKey);
|
|
759
|
+
if (cached)
|
|
760
|
+
return cached;
|
|
761
|
+
let loose = this.options.loose, hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
|
|
762
|
+
range = range.replace(hr, hyphenReplace(this.options.includePrerelease)), debug("hyphen replace", range), range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace), debug("comparator trim", range), range = range.replace(re[t.TILDETRIM], tildeTrimReplace), debug("tilde trim", range), range = range.replace(re[t.CARETTRIM], caretTrimReplace), debug("caret trim", range);
|
|
763
|
+
let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
|
|
764
|
+
loose && (rangeList = rangeList.filter((comp) => (debug("loose invalid filter", comp, this.options), !!comp.match(re[t.COMPARATORLOOSE])))), debug("range list", rangeList);
|
|
765
|
+
let rangeMap = /* @__PURE__ */ new Map(), comparators = rangeList.map((comp) => new Comparator(comp, this.options));
|
|
766
|
+
for (let comp of comparators) {
|
|
767
|
+
if (isNullSet(comp))
|
|
768
|
+
return [comp];
|
|
769
|
+
rangeMap.set(comp.value, comp);
|
|
770
|
+
}
|
|
771
|
+
rangeMap.size > 1 && rangeMap.has("") && rangeMap.delete("");
|
|
772
|
+
let result = [...rangeMap.values()];
|
|
773
|
+
return cache.set(memoKey, result), result;
|
|
774
|
+
}
|
|
775
|
+
intersects(range, options) {
|
|
776
|
+
if (!(range instanceof _Range))
|
|
777
|
+
throw new TypeError("a Range is required");
|
|
778
|
+
return this.set.some((thisComparators) => isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => rangeComparators.every((rangeComparator) => thisComparator.intersects(rangeComparator, options)))));
|
|
779
|
+
}
|
|
780
|
+
// if ANY of the sets match ALL of its comparators, then pass
|
|
781
|
+
test(version) {
|
|
782
|
+
if (!version)
|
|
783
|
+
return !1;
|
|
784
|
+
if (typeof version == "string")
|
|
785
|
+
try {
|
|
786
|
+
version = new SemVer(version, this.options);
|
|
787
|
+
} catch {
|
|
788
|
+
return !1;
|
|
789
|
+
}
|
|
790
|
+
for (let i = 0; i < this.set.length; i++)
|
|
791
|
+
if (testSet(this.set[i], version, this.options))
|
|
792
|
+
return !0;
|
|
793
|
+
return !1;
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
module.exports = Range;
|
|
797
|
+
var LRU = require_lrucache(), cache = new LRU(), parseOptions = require_parse_options(), Comparator = require_comparator(), debug = require_debug(), SemVer = require_semver(), {
|
|
798
|
+
safeRe: re,
|
|
799
|
+
t,
|
|
800
|
+
comparatorTrimReplace,
|
|
801
|
+
tildeTrimReplace,
|
|
802
|
+
caretTrimReplace
|
|
803
|
+
} = require_re(), { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants(), isNullSet = (c) => c.value === "<0.0.0-0", isAny = (c) => c.value === "", isSatisfiable = (comparators, options) => {
|
|
804
|
+
let result = !0, remainingComparators = comparators.slice(), testComparator = remainingComparators.pop();
|
|
805
|
+
for (; result && remainingComparators.length; )
|
|
806
|
+
result = remainingComparators.every((otherComparator) => testComparator.intersects(otherComparator, options)), testComparator = remainingComparators.pop();
|
|
807
|
+
return result;
|
|
808
|
+
}, parseComparator = (comp, options) => (debug("comp", comp, options), comp = replaceCarets(comp, options), debug("caret", comp), comp = replaceTildes(comp, options), debug("tildes", comp), comp = replaceXRanges(comp, options), debug("xrange", comp), comp = replaceStars(comp, options), debug("stars", comp), comp), isX = (id) => !id || id.toLowerCase() === "x" || id === "*", replaceTildes = (comp, options) => comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" "), replaceTilde = (comp, options) => {
|
|
809
|
+
let r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
810
|
+
return comp.replace(r, (_, M, m, p, pr) => {
|
|
811
|
+
debug("tilde", comp, _, M, m, p, pr);
|
|
812
|
+
let ret;
|
|
813
|
+
return isX(M) ? ret = "" : isX(m) ? ret = `>=${M}.0.0 <${+M + 1}.0.0-0` : isX(p) ? ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0` : pr ? (debug("replaceTilde pr", pr), ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`) : ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`, debug("tilde return", ret), ret;
|
|
814
|
+
});
|
|
815
|
+
}, replaceCarets = (comp, options) => comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" "), replaceCaret = (comp, options) => {
|
|
816
|
+
debug("caret", comp, options);
|
|
817
|
+
let r = options.loose ? re[t.CARETLOOSE] : re[t.CARET], z = options.includePrerelease ? "-0" : "";
|
|
818
|
+
return comp.replace(r, (_, M, m, p, pr) => {
|
|
819
|
+
debug("caret", comp, _, M, m, p, pr);
|
|
820
|
+
let ret;
|
|
821
|
+
return isX(M) ? ret = "" : isX(m) ? ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0` : isX(p) ? M === "0" ? ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0` : pr ? (debug("replaceCaret pr", pr), M === "0" ? m === "0" ? ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0` : ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`) : (debug("no pr"), M === "0" ? m === "0" ? ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0` : ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`), debug("caret return", ret), ret;
|
|
822
|
+
});
|
|
823
|
+
}, replaceXRanges = (comp, options) => (debug("replaceXRanges", comp, options), comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ")), replaceXRange = (comp, options) => {
|
|
824
|
+
comp = comp.trim();
|
|
825
|
+
let r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
826
|
+
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
827
|
+
debug("xRange", comp, ret, gtlt, M, m, p, pr);
|
|
828
|
+
let xM = isX(M), xm = xM || isX(m), xp = xm || isX(p), anyX = xp;
|
|
829
|
+
return gtlt === "=" && anyX && (gtlt = ""), pr = options.includePrerelease ? "-0" : "", xM ? gtlt === ">" || gtlt === "<" ? ret = "<0.0.0-0" : ret = "*" : gtlt && anyX ? (xm && (m = 0), p = 0, gtlt === ">" ? (gtlt = ">=", xm ? (M = +M + 1, m = 0, p = 0) : (m = +m + 1, p = 0)) : gtlt === "<=" && (gtlt = "<", xm ? M = +M + 1 : m = +m + 1), gtlt === "<" && (pr = "-0"), ret = `${gtlt + M}.${m}.${p}${pr}`) : xm ? ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0` : xp && (ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`), debug("xRange return", ret), ret;
|
|
830
|
+
});
|
|
831
|
+
}, replaceStars = (comp, options) => (debug("replaceStars", comp, options), comp.trim().replace(re[t.STAR], "")), replaceGTE0 = (comp, options) => (debug("replaceGTE0", comp, options), comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "")), hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => (isX(fM) ? from = "" : isX(fm) ? from = `>=${fM}.0.0${incPr ? "-0" : ""}` : isX(fp) ? from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}` : fpr ? from = `>=${from}` : from = `>=${from}${incPr ? "-0" : ""}`, isX(tM) ? to = "" : isX(tm) ? to = `<${+tM + 1}.0.0-0` : isX(tp) ? to = `<${tM}.${+tm + 1}.0-0` : tpr ? to = `<=${tM}.${tm}.${tp}-${tpr}` : incPr ? to = `<${tM}.${tm}.${+tp + 1}-0` : to = `<=${to}`, `${from} ${to}`.trim()), testSet = (set, version, options) => {
|
|
832
|
+
for (let i = 0; i < set.length; i++)
|
|
833
|
+
if (!set[i].test(version))
|
|
834
|
+
return !1;
|
|
835
|
+
if (version.prerelease.length && !options.includePrerelease) {
|
|
836
|
+
for (let i = 0; i < set.length; i++)
|
|
837
|
+
if (debug(set[i].semver), set[i].semver !== Comparator.ANY && set[i].semver.prerelease.length > 0) {
|
|
838
|
+
let allowed = set[i].semver;
|
|
839
|
+
if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch)
|
|
840
|
+
return !0;
|
|
841
|
+
}
|
|
842
|
+
return !1;
|
|
843
|
+
}
|
|
844
|
+
return !0;
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
});
|
|
848
|
+
|
|
849
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js
|
|
850
|
+
var require_comparator = __commonJS({
|
|
851
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
852
|
+
init_cjs_shims();
|
|
853
|
+
var ANY = /* @__PURE__ */ Symbol("SemVer ANY"), Comparator = class _Comparator {
|
|
854
|
+
static get ANY() {
|
|
855
|
+
return ANY;
|
|
856
|
+
}
|
|
857
|
+
constructor(comp, options) {
|
|
858
|
+
if (options = parseOptions(options), comp instanceof _Comparator) {
|
|
859
|
+
if (comp.loose === !!options.loose)
|
|
860
|
+
return comp;
|
|
861
|
+
comp = comp.value;
|
|
862
|
+
}
|
|
863
|
+
comp = comp.trim().split(/\s+/).join(" "), debug("comparator", comp, options), this.options = options, this.loose = !!options.loose, this.parse(comp), this.semver === ANY ? this.value = "" : this.value = this.operator + this.semver.version, debug("comp", this);
|
|
864
|
+
}
|
|
865
|
+
parse(comp) {
|
|
866
|
+
let r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR], m = comp.match(r);
|
|
867
|
+
if (!m)
|
|
868
|
+
throw new TypeError(`Invalid comparator: ${comp}`);
|
|
869
|
+
this.operator = m[1] !== void 0 ? m[1] : "", this.operator === "=" && (this.operator = ""), m[2] ? this.semver = new SemVer(m[2], this.options.loose) : this.semver = ANY;
|
|
870
|
+
}
|
|
871
|
+
toString() {
|
|
872
|
+
return this.value;
|
|
873
|
+
}
|
|
874
|
+
test(version) {
|
|
875
|
+
if (debug("Comparator.test", version, this.options.loose), this.semver === ANY || version === ANY)
|
|
876
|
+
return !0;
|
|
877
|
+
if (typeof version == "string")
|
|
878
|
+
try {
|
|
879
|
+
version = new SemVer(version, this.options);
|
|
880
|
+
} catch {
|
|
881
|
+
return !1;
|
|
882
|
+
}
|
|
883
|
+
return cmp(version, this.operator, this.semver, this.options);
|
|
884
|
+
}
|
|
885
|
+
intersects(comp, options) {
|
|
886
|
+
if (!(comp instanceof _Comparator))
|
|
887
|
+
throw new TypeError("a Comparator is required");
|
|
888
|
+
return this.operator === "" ? this.value === "" ? !0 : new Range(comp.value, options).test(this.value) : comp.operator === "" ? comp.value === "" ? !0 : new Range(this.value, options).test(comp.semver) : (options = parseOptions(options), options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0") || !options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && comp.operator.startsWith(">") || this.operator.startsWith("<") && comp.operator.startsWith("<") || this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=") || cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<") || cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")));
|
|
889
|
+
}
|
|
890
|
+
};
|
|
891
|
+
module.exports = Comparator;
|
|
892
|
+
var parseOptions = require_parse_options(), { safeRe: re, t } = require_re(), cmp = require_cmp(), debug = require_debug(), SemVer = require_semver(), Range = require_range();
|
|
893
|
+
}
|
|
894
|
+
});
|
|
895
|
+
|
|
896
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js
|
|
897
|
+
var require_satisfies = __commonJS({
|
|
898
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
899
|
+
init_cjs_shims();
|
|
900
|
+
var Range = require_range(), satisfies = (version, range, options) => {
|
|
901
|
+
try {
|
|
902
|
+
range = new Range(range, options);
|
|
903
|
+
} catch {
|
|
904
|
+
return !1;
|
|
905
|
+
}
|
|
906
|
+
return range.test(version);
|
|
907
|
+
};
|
|
908
|
+
module.exports = satisfies;
|
|
909
|
+
}
|
|
910
|
+
});
|
|
911
|
+
|
|
912
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js
|
|
913
|
+
var require_to_comparators = __commonJS({
|
|
914
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
915
|
+
init_cjs_shims();
|
|
916
|
+
var Range = require_range(), toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
917
|
+
module.exports = toComparators;
|
|
918
|
+
}
|
|
919
|
+
});
|
|
920
|
+
|
|
921
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js
|
|
922
|
+
var require_max_satisfying = __commonJS({
|
|
923
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
924
|
+
init_cjs_shims();
|
|
925
|
+
var SemVer = require_semver(), Range = require_range(), maxSatisfying = (versions, range, options) => {
|
|
926
|
+
let max = null, maxSV = null, rangeObj = null;
|
|
927
|
+
try {
|
|
928
|
+
rangeObj = new Range(range, options);
|
|
929
|
+
} catch {
|
|
930
|
+
return null;
|
|
931
|
+
}
|
|
932
|
+
return versions.forEach((v) => {
|
|
933
|
+
rangeObj.test(v) && (!max || maxSV.compare(v) === -1) && (max = v, maxSV = new SemVer(max, options));
|
|
934
|
+
}), max;
|
|
935
|
+
};
|
|
936
|
+
module.exports = maxSatisfying;
|
|
937
|
+
}
|
|
938
|
+
});
|
|
939
|
+
|
|
940
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js
|
|
941
|
+
var require_min_satisfying = __commonJS({
|
|
942
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
943
|
+
init_cjs_shims();
|
|
944
|
+
var SemVer = require_semver(), Range = require_range(), minSatisfying = (versions, range, options) => {
|
|
945
|
+
let min = null, minSV = null, rangeObj = null;
|
|
946
|
+
try {
|
|
947
|
+
rangeObj = new Range(range, options);
|
|
948
|
+
} catch {
|
|
949
|
+
return null;
|
|
950
|
+
}
|
|
951
|
+
return versions.forEach((v) => {
|
|
952
|
+
rangeObj.test(v) && (!min || minSV.compare(v) === 1) && (min = v, minSV = new SemVer(min, options));
|
|
953
|
+
}), min;
|
|
954
|
+
};
|
|
955
|
+
module.exports = minSatisfying;
|
|
956
|
+
}
|
|
957
|
+
});
|
|
958
|
+
|
|
959
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js
|
|
960
|
+
var require_min_version = __commonJS({
|
|
961
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
962
|
+
init_cjs_shims();
|
|
963
|
+
var SemVer = require_semver(), Range = require_range(), gt = require_gt(), minVersion = (range, loose) => {
|
|
964
|
+
range = new Range(range, loose);
|
|
965
|
+
let minver = new SemVer("0.0.0");
|
|
966
|
+
if (range.test(minver) || (minver = new SemVer("0.0.0-0"), range.test(minver)))
|
|
967
|
+
return minver;
|
|
968
|
+
minver = null;
|
|
969
|
+
for (let i = 0; i < range.set.length; ++i) {
|
|
970
|
+
let comparators = range.set[i], setMin = null;
|
|
971
|
+
comparators.forEach((comparator) => {
|
|
972
|
+
let compver = new SemVer(comparator.semver.version);
|
|
973
|
+
switch (comparator.operator) {
|
|
974
|
+
case ">":
|
|
975
|
+
compver.prerelease.length === 0 ? compver.patch++ : compver.prerelease.push(0), compver.raw = compver.format();
|
|
976
|
+
/* fallthrough */
|
|
977
|
+
case "":
|
|
978
|
+
case ">=":
|
|
979
|
+
(!setMin || gt(compver, setMin)) && (setMin = compver);
|
|
980
|
+
break;
|
|
981
|
+
case "<":
|
|
982
|
+
case "<=":
|
|
983
|
+
break;
|
|
984
|
+
/* istanbul ignore next */
|
|
985
|
+
default:
|
|
986
|
+
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
987
|
+
}
|
|
988
|
+
}), setMin && (!minver || gt(minver, setMin)) && (minver = setMin);
|
|
989
|
+
}
|
|
990
|
+
return minver && range.test(minver) ? minver : null;
|
|
991
|
+
};
|
|
992
|
+
module.exports = minVersion;
|
|
993
|
+
}
|
|
994
|
+
});
|
|
995
|
+
|
|
996
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js
|
|
997
|
+
var require_valid2 = __commonJS({
|
|
998
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
999
|
+
init_cjs_shims();
|
|
1000
|
+
var Range = require_range(), validRange = (range, options) => {
|
|
1001
|
+
try {
|
|
1002
|
+
return new Range(range, options).range || "*";
|
|
1003
|
+
} catch {
|
|
1004
|
+
return null;
|
|
1005
|
+
}
|
|
1006
|
+
};
|
|
1007
|
+
module.exports = validRange;
|
|
1008
|
+
}
|
|
1009
|
+
});
|
|
1010
|
+
|
|
1011
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js
|
|
1012
|
+
var require_outside = __commonJS({
|
|
1013
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
1014
|
+
init_cjs_shims();
|
|
1015
|
+
var SemVer = require_semver(), Comparator = require_comparator(), { ANY } = Comparator, Range = require_range(), satisfies = require_satisfies(), gt = require_gt(), lt = require_lt(), lte = require_lte(), gte = require_gte(), outside = (version, range, hilo, options) => {
|
|
1016
|
+
version = new SemVer(version, options), range = new Range(range, options);
|
|
1017
|
+
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
1018
|
+
switch (hilo) {
|
|
1019
|
+
case ">":
|
|
1020
|
+
gtfn = gt, ltefn = lte, ltfn = lt, comp = ">", ecomp = ">=";
|
|
1021
|
+
break;
|
|
1022
|
+
case "<":
|
|
1023
|
+
gtfn = lt, ltefn = gte, ltfn = gt, comp = "<", ecomp = "<=";
|
|
1024
|
+
break;
|
|
1025
|
+
default:
|
|
1026
|
+
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
1027
|
+
}
|
|
1028
|
+
if (satisfies(version, range, options))
|
|
1029
|
+
return !1;
|
|
1030
|
+
for (let i = 0; i < range.set.length; ++i) {
|
|
1031
|
+
let comparators = range.set[i], high = null, low = null;
|
|
1032
|
+
if (comparators.forEach((comparator) => {
|
|
1033
|
+
comparator.semver === ANY && (comparator = new Comparator(">=0.0.0")), high = high || comparator, low = low || comparator, gtfn(comparator.semver, high.semver, options) ? high = comparator : ltfn(comparator.semver, low.semver, options) && (low = comparator);
|
|
1034
|
+
}), high.operator === comp || high.operator === ecomp || (!low.operator || low.operator === comp) && ltefn(version, low.semver))
|
|
1035
|
+
return !1;
|
|
1036
|
+
if (low.operator === ecomp && ltfn(version, low.semver))
|
|
1037
|
+
return !1;
|
|
1038
|
+
}
|
|
1039
|
+
return !0;
|
|
1040
|
+
};
|
|
1041
|
+
module.exports = outside;
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
1044
|
+
|
|
1045
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js
|
|
1046
|
+
var require_gtr = __commonJS({
|
|
1047
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
1048
|
+
init_cjs_shims();
|
|
1049
|
+
var outside = require_outside(), gtr = (version, range, options) => outside(version, range, ">", options);
|
|
1050
|
+
module.exports = gtr;
|
|
1051
|
+
}
|
|
1052
|
+
});
|
|
1053
|
+
|
|
1054
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js
|
|
1055
|
+
var require_ltr = __commonJS({
|
|
1056
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
1057
|
+
init_cjs_shims();
|
|
1058
|
+
var outside = require_outside(), ltr = (version, range, options) => outside(version, range, "<", options);
|
|
1059
|
+
module.exports = ltr;
|
|
1060
|
+
}
|
|
1061
|
+
});
|
|
1062
|
+
|
|
1063
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js
|
|
1064
|
+
var require_intersects = __commonJS({
|
|
1065
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
1066
|
+
init_cjs_shims();
|
|
1067
|
+
var Range = require_range(), intersects = (r1, r2, options) => (r1 = new Range(r1, options), r2 = new Range(r2, options), r1.intersects(r2, options));
|
|
1068
|
+
module.exports = intersects;
|
|
1069
|
+
}
|
|
1070
|
+
});
|
|
1071
|
+
|
|
1072
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js
|
|
1073
|
+
var require_simplify = __commonJS({
|
|
1074
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
1075
|
+
init_cjs_shims();
|
|
1076
|
+
var satisfies = require_satisfies(), compare = require_compare();
|
|
1077
|
+
module.exports = (versions, range, options) => {
|
|
1078
|
+
let set = [], first = null, prev = null, v = versions.sort((a, b) => compare(a, b, options));
|
|
1079
|
+
for (let version of v)
|
|
1080
|
+
satisfies(version, range, options) ? (prev = version, first || (first = version)) : (prev && set.push([first, prev]), prev = null, first = null);
|
|
1081
|
+
first && set.push([first, null]);
|
|
1082
|
+
let ranges = [];
|
|
1083
|
+
for (let [min, max] of set)
|
|
1084
|
+
min === max ? ranges.push(min) : !max && min === v[0] ? ranges.push("*") : max ? min === v[0] ? ranges.push(`<=${max}`) : ranges.push(`${min} - ${max}`) : ranges.push(`>=${min}`);
|
|
1085
|
+
let simplified = ranges.join(" || "), original = typeof range.raw == "string" ? range.raw : String(range);
|
|
1086
|
+
return simplified.length < original.length ? simplified : range;
|
|
1087
|
+
};
|
|
1088
|
+
}
|
|
1089
|
+
});
|
|
1090
|
+
|
|
1091
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js
|
|
1092
|
+
var require_subset = __commonJS({
|
|
1093
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
1094
|
+
init_cjs_shims();
|
|
1095
|
+
var Range = require_range(), Comparator = require_comparator(), { ANY } = Comparator, satisfies = require_satisfies(), compare = require_compare(), subset = (sub, dom, options = {}) => {
|
|
1096
|
+
if (sub === dom)
|
|
1097
|
+
return !0;
|
|
1098
|
+
sub = new Range(sub, options), dom = new Range(dom, options);
|
|
1099
|
+
let sawNonNull = !1;
|
|
1100
|
+
OUTER: for (let simpleSub of sub.set) {
|
|
1101
|
+
for (let simpleDom of dom.set) {
|
|
1102
|
+
let isSub = simpleSubset(simpleSub, simpleDom, options);
|
|
1103
|
+
if (sawNonNull = sawNonNull || isSub !== null, isSub)
|
|
1104
|
+
continue OUTER;
|
|
1105
|
+
}
|
|
1106
|
+
if (sawNonNull)
|
|
1107
|
+
return !1;
|
|
1108
|
+
}
|
|
1109
|
+
return !0;
|
|
1110
|
+
}, minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")], minimumVersion = [new Comparator(">=0.0.0")], simpleSubset = (sub, dom, options) => {
|
|
1111
|
+
if (sub === dom)
|
|
1112
|
+
return !0;
|
|
1113
|
+
if (sub.length === 1 && sub[0].semver === ANY) {
|
|
1114
|
+
if (dom.length === 1 && dom[0].semver === ANY)
|
|
1115
|
+
return !0;
|
|
1116
|
+
options.includePrerelease ? sub = minimumVersionWithPreRelease : sub = minimumVersion;
|
|
1117
|
+
}
|
|
1118
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
1119
|
+
if (options.includePrerelease)
|
|
1120
|
+
return !0;
|
|
1121
|
+
dom = minimumVersion;
|
|
1122
|
+
}
|
|
1123
|
+
let eqSet = /* @__PURE__ */ new Set(), gt, lt;
|
|
1124
|
+
for (let c of sub)
|
|
1125
|
+
c.operator === ">" || c.operator === ">=" ? gt = higherGT(gt, c, options) : c.operator === "<" || c.operator === "<=" ? lt = lowerLT(lt, c, options) : eqSet.add(c.semver);
|
|
1126
|
+
if (eqSet.size > 1)
|
|
1127
|
+
return null;
|
|
1128
|
+
let gtltComp;
|
|
1129
|
+
if (gt && lt) {
|
|
1130
|
+
if (gtltComp = compare(gt.semver, lt.semver, options), gtltComp > 0)
|
|
1131
|
+
return null;
|
|
1132
|
+
if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<="))
|
|
1133
|
+
return null;
|
|
1134
|
+
}
|
|
1135
|
+
for (let eq of eqSet) {
|
|
1136
|
+
if (gt && !satisfies(eq, String(gt), options) || lt && !satisfies(eq, String(lt), options))
|
|
1137
|
+
return null;
|
|
1138
|
+
for (let c of dom)
|
|
1139
|
+
if (!satisfies(eq, String(c), options))
|
|
1140
|
+
return !1;
|
|
1141
|
+
return !0;
|
|
1142
|
+
}
|
|
1143
|
+
let higher, lower, hasDomLT, hasDomGT, needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : !1, needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : !1;
|
|
1144
|
+
needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0 && (needDomLTPre = !1);
|
|
1145
|
+
for (let c of dom) {
|
|
1146
|
+
if (hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=", hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=", gt) {
|
|
1147
|
+
if (needDomGTPre && c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch && (needDomGTPre = !1), c.operator === ">" || c.operator === ">=") {
|
|
1148
|
+
if (higher = higherGT(gt, c, options), higher === c && higher !== gt)
|
|
1149
|
+
return !1;
|
|
1150
|
+
} else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options))
|
|
1151
|
+
return !1;
|
|
1152
|
+
}
|
|
1153
|
+
if (lt) {
|
|
1154
|
+
if (needDomLTPre && c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch && (needDomLTPre = !1), c.operator === "<" || c.operator === "<=") {
|
|
1155
|
+
if (lower = lowerLT(lt, c, options), lower === c && lower !== lt)
|
|
1156
|
+
return !1;
|
|
1157
|
+
} else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options))
|
|
1158
|
+
return !1;
|
|
1159
|
+
}
|
|
1160
|
+
if (!c.operator && (lt || gt) && gtltComp !== 0)
|
|
1161
|
+
return !1;
|
|
1162
|
+
}
|
|
1163
|
+
return !(gt && hasDomLT && !lt && gtltComp !== 0 || lt && hasDomGT && !gt && gtltComp !== 0 || needDomGTPre || needDomLTPre);
|
|
1164
|
+
}, higherGT = (a, b, options) => {
|
|
1165
|
+
if (!a)
|
|
1166
|
+
return b;
|
|
1167
|
+
let comp = compare(a.semver, b.semver, options);
|
|
1168
|
+
return comp > 0 ? a : comp < 0 || b.operator === ">" && a.operator === ">=" ? b : a;
|
|
1169
|
+
}, lowerLT = (a, b, options) => {
|
|
1170
|
+
if (!a)
|
|
1171
|
+
return b;
|
|
1172
|
+
let comp = compare(a.semver, b.semver, options);
|
|
1173
|
+
return comp < 0 ? a : comp > 0 || b.operator === "<" && a.operator === "<=" ? b : a;
|
|
1174
|
+
};
|
|
1175
|
+
module.exports = subset;
|
|
1176
|
+
}
|
|
1177
|
+
});
|
|
1178
|
+
|
|
1179
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js
|
|
1180
|
+
var require_semver2 = __commonJS({
|
|
1181
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js"(exports, module) {
|
|
1182
|
+
init_cjs_shims();
|
|
1183
|
+
var internalRe = require_re(), constants = require_constants(), SemVer = require_semver(), identifiers = require_identifiers(), parse = require_parse(), valid = require_valid(), clean = require_clean(), inc = require_inc(), diff = require_diff(), major = require_major(), minor = require_minor(), patch = require_patch(), prerelease = require_prerelease(), compare = require_compare(), rcompare = require_rcompare(), compareLoose = require_compare_loose(), compareBuild = require_compare_build(), sort = require_sort(), rsort = require_rsort(), gt = require_gt(), lt = require_lt(), eq = require_eq(), neq = require_neq(), gte = require_gte(), lte = require_lte(), cmp = require_cmp(), coerce = require_coerce(), Comparator = require_comparator(), Range = require_range(), satisfies = require_satisfies(), toComparators = require_to_comparators(), maxSatisfying = require_max_satisfying(), minSatisfying = require_min_satisfying(), minVersion = require_min_version(), validRange = require_valid2(), outside = require_outside(), gtr = require_gtr(), ltr = require_ltr(), intersects = require_intersects(), simplifyRange = require_simplify(), subset = require_subset();
|
|
1184
|
+
module.exports = {
|
|
1185
|
+
parse,
|
|
1186
|
+
valid,
|
|
1187
|
+
clean,
|
|
1188
|
+
inc,
|
|
1189
|
+
diff,
|
|
1190
|
+
major,
|
|
1191
|
+
minor,
|
|
1192
|
+
patch,
|
|
1193
|
+
prerelease,
|
|
1194
|
+
compare,
|
|
1195
|
+
rcompare,
|
|
1196
|
+
compareLoose,
|
|
1197
|
+
compareBuild,
|
|
1198
|
+
sort,
|
|
1199
|
+
rsort,
|
|
1200
|
+
gt,
|
|
1201
|
+
lt,
|
|
1202
|
+
eq,
|
|
1203
|
+
neq,
|
|
1204
|
+
gte,
|
|
1205
|
+
lte,
|
|
1206
|
+
cmp,
|
|
1207
|
+
coerce,
|
|
1208
|
+
Comparator,
|
|
1209
|
+
Range,
|
|
1210
|
+
satisfies,
|
|
1211
|
+
toComparators,
|
|
1212
|
+
maxSatisfying,
|
|
1213
|
+
minSatisfying,
|
|
1214
|
+
minVersion,
|
|
1215
|
+
validRange,
|
|
1216
|
+
outside,
|
|
1217
|
+
gtr,
|
|
1218
|
+
ltr,
|
|
1219
|
+
intersects,
|
|
1220
|
+
simplifyRange,
|
|
1221
|
+
subset,
|
|
1222
|
+
SemVer,
|
|
1223
|
+
re: internalRe.re,
|
|
1224
|
+
src: internalRe.src,
|
|
1225
|
+
tokens: internalRe.t,
|
|
1226
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
1227
|
+
RELEASE_TYPES: constants.RELEASE_TYPES,
|
|
1228
|
+
compareIdentifiers: identifiers.compareIdentifiers,
|
|
1229
|
+
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
1230
|
+
};
|
|
1231
|
+
}
|
|
1232
|
+
});
|
|
1233
|
+
|
|
113
1234
|
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/fs.js
|
|
114
1235
|
var require_fs = __commonJS({
|
|
115
1236
|
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/fs.js"(exports) {
|
|
@@ -19436,7 +20557,9 @@ ${lanes.join(`
|
|
|
19436
20557
|
let checks = [isFileProbablyExternalModule];
|
|
19437
20558
|
(options.jsx === 4 || options.jsx === 5) && checks.push(isFileModuleFromUsingJSXTag), checks.push(isFileForcedToBeModuleByFormat);
|
|
19438
20559
|
let combined = or(...checks);
|
|
19439
|
-
return (file) =>
|
|
20560
|
+
return (file) => {
|
|
20561
|
+
file.externalModuleIndicator = combined(file, options);
|
|
20562
|
+
};
|
|
19440
20563
|
}
|
|
19441
20564
|
}
|
|
19442
20565
|
function importSyntaxAffectsModuleResolution(options) {
|
|
@@ -21605,11 +22728,7 @@ ${lanes.join(`
|
|
|
21605
22728
|
return checkType;
|
|
21606
22729
|
}
|
|
21607
22730
|
function parenthesizeExtendsTypeOfConditionalType(extendsType) {
|
|
21608
|
-
|
|
21609
|
-
case 194:
|
|
21610
|
-
return factory2.createParenthesizedType(extendsType);
|
|
21611
|
-
}
|
|
21612
|
-
return extendsType;
|
|
22731
|
+
return extendsType.kind === 194 ? factory2.createParenthesizedType(extendsType) : extendsType;
|
|
21613
22732
|
}
|
|
21614
22733
|
function parenthesizeConstituentTypeOfUnionType(type) {
|
|
21615
22734
|
switch (type.kind) {
|
|
@@ -21635,18 +22754,10 @@ ${lanes.join(`
|
|
|
21635
22754
|
return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfIntersectionType));
|
|
21636
22755
|
}
|
|
21637
22756
|
function parenthesizeOperandOfTypeOperator(type) {
|
|
21638
|
-
|
|
21639
|
-
case 193:
|
|
21640
|
-
return factory2.createParenthesizedType(type);
|
|
21641
|
-
}
|
|
21642
|
-
return parenthesizeConstituentTypeOfIntersectionType(type);
|
|
22757
|
+
return type.kind === 193 ? factory2.createParenthesizedType(type) : parenthesizeConstituentTypeOfIntersectionType(type);
|
|
21643
22758
|
}
|
|
21644
22759
|
function parenthesizeOperandOfReadonlyTypeOperator(type) {
|
|
21645
|
-
|
|
21646
|
-
case 198:
|
|
21647
|
-
return factory2.createParenthesizedType(type);
|
|
21648
|
-
}
|
|
21649
|
-
return parenthesizeOperandOfTypeOperator(type);
|
|
22760
|
+
return type.kind === 198 ? factory2.createParenthesizedType(type) : parenthesizeOperandOfTypeOperator(type);
|
|
21650
22761
|
}
|
|
21651
22762
|
function parenthesizeNonArrayTypeOfPostfixType(type) {
|
|
21652
22763
|
switch (type.kind) {
|
|
@@ -38788,7 +39899,9 @@ ${lanes.join(`
|
|
|
38788
39899
|
features,
|
|
38789
39900
|
conditions,
|
|
38790
39901
|
requestContainingDirectory: containingDirectory,
|
|
38791
|
-
reportDiagnostic: (diag2) =>
|
|
39902
|
+
reportDiagnostic: (diag2) => {
|
|
39903
|
+
diagnostics.push(diag2);
|
|
39904
|
+
},
|
|
38792
39905
|
isConfigLookup: !1,
|
|
38793
39906
|
candidateIsFromPackageJsonField: !1,
|
|
38794
39907
|
resolvedPackageDirectory: !1
|
|
@@ -39438,7 +40551,9 @@ ${lanes.join(`
|
|
|
39438
40551
|
features,
|
|
39439
40552
|
conditions: conditions ?? emptyArray,
|
|
39440
40553
|
requestContainingDirectory: containingDirectory,
|
|
39441
|
-
reportDiagnostic: (diag2) =>
|
|
40554
|
+
reportDiagnostic: (diag2) => {
|
|
40555
|
+
diagnostics.push(diag2);
|
|
40556
|
+
},
|
|
39442
40557
|
isConfigLookup,
|
|
39443
40558
|
candidateIsFromPackageJsonField: !1,
|
|
39444
40559
|
resolvedPackageDirectory: !1
|
|
@@ -40458,7 +41573,9 @@ ${lanes.join(`
|
|
|
40458
41573
|
features: 0,
|
|
40459
41574
|
conditions: [],
|
|
40460
41575
|
requestContainingDirectory: containingDirectory,
|
|
40461
|
-
reportDiagnostic: (diag2) =>
|
|
41576
|
+
reportDiagnostic: (diag2) => {
|
|
41577
|
+
diagnostics.push(diag2);
|
|
41578
|
+
},
|
|
40462
41579
|
isConfigLookup: !1,
|
|
40463
41580
|
candidateIsFromPackageJsonField: !1,
|
|
40464
41581
|
resolvedPackageDirectory: !1
|
|
@@ -40558,7 +41675,9 @@ ${lanes.join(`
|
|
|
40558
41675
|
features: 0,
|
|
40559
41676
|
conditions: [],
|
|
40560
41677
|
requestContainingDirectory: void 0,
|
|
40561
|
-
reportDiagnostic: (diag2) =>
|
|
41678
|
+
reportDiagnostic: (diag2) => {
|
|
41679
|
+
diagnostics.push(diag2);
|
|
41680
|
+
},
|
|
40562
41681
|
isConfigLookup: !1,
|
|
40563
41682
|
candidateIsFromPackageJsonField: !1,
|
|
40564
41683
|
resolvedPackageDirectory: !1
|
|
@@ -58634,7 +59753,9 @@ ${lanes.join(`
|
|
|
58634
59753
|
8576,
|
|
58635
59754
|
/*stringsOnly*/
|
|
58636
59755
|
!1,
|
|
58637
|
-
(t) =>
|
|
59756
|
+
(t) => {
|
|
59757
|
+
mappedKeys.push(instantiateType(nameType, appendTypeMapping(targetType.mapper, getTypeParameterFromMappedType(targetType), t)));
|
|
59758
|
+
}
|
|
58638
59759
|
), getUnionType(mappedKeys);
|
|
58639
59760
|
}
|
|
58640
59761
|
function structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo) {
|
|
@@ -69736,12 +70857,6 @@ ${lanes.join(`
|
|
|
69736
70857
|
return !0;
|
|
69737
70858
|
}
|
|
69738
70859
|
return !1;
|
|
69739
|
-
// Some forms listed here for clarity
|
|
69740
|
-
case 222:
|
|
69741
|
-
// Explicit opt-out
|
|
69742
|
-
case 216:
|
|
69743
|
-
// Not SEF, but can produce useful type warnings
|
|
69744
|
-
case 234:
|
|
69745
70860
|
// Not SEF, but can produce useful type warnings
|
|
69746
70861
|
default:
|
|
69747
70862
|
return !1;
|
|
@@ -73683,7 +74798,7 @@ ${lanes.join(`
|
|
|
73683
74798
|
function checkClassLikeDeclaration(node) {
|
|
73684
74799
|
checkGrammarClassLikeDeclaration(node), checkDecorators(node), checkCollisionsForDeclarationName(node, node.name), checkTypeParameters(getEffectiveTypeParameterDeclarations(node)), checkExportsOnMergedDeclarations(node);
|
|
73685
74800
|
let symbol = getSymbolOfDeclaration(node), type = getDeclaredTypeOfSymbol(symbol), typeWithThis = getTypeWithThisArgument(type), staticType = getTypeOfSymbol(symbol);
|
|
73686
|
-
checkTypeParameterListsIdentical(symbol), checkFunctionOrConstructorSymbol(symbol), checkClassForDuplicateDeclarations(node),
|
|
74801
|
+
checkTypeParameterListsIdentical(symbol), checkFunctionOrConstructorSymbol(symbol), checkClassForDuplicateDeclarations(node), node.flags & 33554432 || checkClassForStaticPropertyNameConflicts(node);
|
|
73687
74802
|
let baseTypeNode = getEffectiveBaseTypeNode(node);
|
|
73688
74803
|
if (baseTypeNode) {
|
|
73689
74804
|
forEach(baseTypeNode.typeArguments, checkSourceElement), languageVersion < LanguageFeatureMinimumTarget.Classes && checkExternalEmitHelpers(
|
|
@@ -82292,12 +83407,7 @@ ${lanes.join(`
|
|
|
82292
83407
|
return addEmitHelpers(visited, context.readEmitHelpers()), visited;
|
|
82293
83408
|
}
|
|
82294
83409
|
function modifierVisitor(node) {
|
|
82295
|
-
|
|
82296
|
-
case 129:
|
|
82297
|
-
return shouldTransformAutoAccessorsInCurrentClass() ? void 0 : node;
|
|
82298
|
-
default:
|
|
82299
|
-
return tryCast(node, isModifier);
|
|
82300
|
-
}
|
|
83410
|
+
return node.kind === 129 ? shouldTransformAutoAccessorsInCurrentClass() ? void 0 : node : tryCast(node, isModifier);
|
|
82301
83411
|
}
|
|
82302
83412
|
function visitor(node) {
|
|
82303
83413
|
if (!(node.transformFlags & 16777216) && !(node.transformFlags & 134234112))
|
|
@@ -82468,12 +83578,7 @@ ${lanes.join(`
|
|
|
82468
83578
|
}
|
|
82469
83579
|
}
|
|
82470
83580
|
function propertyNameVisitor(node) {
|
|
82471
|
-
|
|
82472
|
-
case 167:
|
|
82473
|
-
return visitComputedPropertyName(node);
|
|
82474
|
-
default:
|
|
82475
|
-
return visitor(node);
|
|
82476
|
-
}
|
|
83581
|
+
return node.kind === 167 ? visitComputedPropertyName(node) : visitor(node);
|
|
82477
83582
|
}
|
|
82478
83583
|
function accessorFieldResultVisitor(node) {
|
|
82479
83584
|
switch (node.kind) {
|
|
@@ -84779,11 +85884,7 @@ ${lanes.join(`
|
|
|
84779
85884
|
return node = previousOnSubstituteNode(hint, node), hint === 1 ? substituteExpression(node) : node;
|
|
84780
85885
|
}
|
|
84781
85886
|
function substituteExpression(node) {
|
|
84782
|
-
|
|
84783
|
-
case 80:
|
|
84784
|
-
return substituteExpressionIdentifier(node);
|
|
84785
|
-
}
|
|
84786
|
-
return node;
|
|
85887
|
+
return node.kind === 80 ? substituteExpressionIdentifier(node) : node;
|
|
84787
85888
|
}
|
|
84788
85889
|
function substituteExpressionIdentifier(node) {
|
|
84789
85890
|
return trySubstituteClassAlias(node) ?? node;
|
|
@@ -84956,20 +86057,12 @@ ${lanes.join(`
|
|
|
84956
86057
|
}
|
|
84957
86058
|
}
|
|
84958
86059
|
function fallbackVisitor(node) {
|
|
84959
|
-
|
|
84960
|
-
|
|
84961
|
-
return;
|
|
84962
|
-
default:
|
|
84963
|
-
return visitor(node);
|
|
84964
|
-
}
|
|
86060
|
+
if (node.kind !== 170)
|
|
86061
|
+
return visitor(node);
|
|
84965
86062
|
}
|
|
84966
86063
|
function modifierVisitor(node) {
|
|
84967
|
-
|
|
84968
|
-
|
|
84969
|
-
return;
|
|
84970
|
-
default:
|
|
84971
|
-
return node;
|
|
84972
|
-
}
|
|
86064
|
+
if (node.kind !== 170)
|
|
86065
|
+
return node;
|
|
84973
86066
|
}
|
|
84974
86067
|
function classElementVisitor(node) {
|
|
84975
86068
|
switch (node.kind) {
|
|
@@ -85187,18 +86280,11 @@ ${lanes.join(`
|
|
|
85187
86280
|
let outerThis;
|
|
85188
86281
|
for (let expression of pendingExpressions) {
|
|
85189
86282
|
expression = visitNode(expression, function thisVisitor(node2) {
|
|
85190
|
-
|
|
85191
|
-
|
|
85192
|
-
|
|
85193
|
-
|
|
85194
|
-
|
|
85195
|
-
"_outerThis",
|
|
85196
|
-
16
|
|
85197
|
-
/* Optimistic */
|
|
85198
|
-
), classDefinitionStatements.unshift(createLet(outerThis, factory2.createThis()))), outerThis;
|
|
85199
|
-
default:
|
|
85200
|
-
return visitEachChild(node2, thisVisitor, context);
|
|
85201
|
-
}
|
|
86283
|
+
return node2.transformFlags & 16384 ? node2.kind === 110 ? (outerThis || (outerThis = factory2.createUniqueName(
|
|
86284
|
+
"_outerThis",
|
|
86285
|
+
16
|
|
86286
|
+
/* Optimistic */
|
|
86287
|
+
), classDefinitionStatements.unshift(createLet(outerThis, factory2.createThis()))), outerThis) : visitEachChild(node2, thisVisitor, context) : node2;
|
|
85202
86288
|
}, isExpression);
|
|
85203
86289
|
let statement = factory2.createExpressionStatement(expression);
|
|
85204
86290
|
leadingBlockStatements = append(leadingBlockStatements, statement);
|
|
@@ -88228,14 +89314,7 @@ ${lanes.join(`
|
|
|
88228
89314
|
return node.isDeclarationFile ? node : visitEachChild(node, visitor, context);
|
|
88229
89315
|
}
|
|
88230
89316
|
function visitor(node) {
|
|
88231
|
-
|
|
88232
|
-
return node;
|
|
88233
|
-
switch (node.kind) {
|
|
88234
|
-
case 299:
|
|
88235
|
-
return visitCatchClause(node);
|
|
88236
|
-
default:
|
|
88237
|
-
return visitEachChild(node, visitor, context);
|
|
88238
|
-
}
|
|
89317
|
+
return (node.transformFlags & 64) === 0 ? node : node.kind === 299 ? visitCatchClause(node) : visitEachChild(node, visitor, context);
|
|
88239
89318
|
}
|
|
88240
89319
|
function visitCatchClause(node) {
|
|
88241
89320
|
return node.variableDeclaration ? visitEachChild(node, visitor, context) : factory2.updateCatchClause(
|
|
@@ -89784,14 +90863,7 @@ ${lanes.join(`
|
|
|
89784
90863
|
return node.isDeclarationFile ? node : visitEachChild(node, visitor, context);
|
|
89785
90864
|
}
|
|
89786
90865
|
function visitor(node) {
|
|
89787
|
-
|
|
89788
|
-
return node;
|
|
89789
|
-
switch (node.kind) {
|
|
89790
|
-
case 226:
|
|
89791
|
-
return visitBinaryExpression(node);
|
|
89792
|
-
default:
|
|
89793
|
-
return visitEachChild(node, visitor, context);
|
|
89794
|
-
}
|
|
90866
|
+
return (node.transformFlags & 512) === 0 ? node : node.kind === 226 ? visitBinaryExpression(node) : visitEachChild(node, visitor, context);
|
|
89795
90867
|
}
|
|
89796
90868
|
function visitBinaryExpression(node) {
|
|
89797
90869
|
switch (node.operatorToken.kind) {
|
|
@@ -95116,7 +96188,6 @@ ${lanes.join(`
|
|
|
95116
96188
|
return createImportCallExpressionAMD(argument, containsLexicalThis);
|
|
95117
96189
|
case 3:
|
|
95118
96190
|
return createImportCallExpressionUMD(argument ?? factory2.createVoidZero(), containsLexicalThis);
|
|
95119
|
-
case 1:
|
|
95120
96191
|
default:
|
|
95121
96192
|
return createImportCallExpressionCommonJS(argument);
|
|
95122
96193
|
}
|
|
@@ -97053,11 +98124,7 @@ ${lanes.join(`
|
|
|
97053
98124
|
return node = previousOnSubstituteNode(hint, node), isSubstitutionPrevented(node) ? node : hint === 1 ? substituteExpression(node) : hint === 4 ? substituteUnspecified(node) : node;
|
|
97054
98125
|
}
|
|
97055
98126
|
function substituteUnspecified(node) {
|
|
97056
|
-
|
|
97057
|
-
case 304:
|
|
97058
|
-
return substituteShorthandPropertyAssignment(node);
|
|
97059
|
-
}
|
|
97060
|
-
return node;
|
|
98127
|
+
return node.kind === 304 ? substituteShorthandPropertyAssignment(node) : node;
|
|
97061
98128
|
}
|
|
97062
98129
|
function substituteShorthandPropertyAssignment(node) {
|
|
97063
98130
|
var _a, _b;
|
|
@@ -101906,7 +102973,7 @@ ${lanes.join(`
|
|
|
101906
102973
|
for (let i = 0; i < statements.length; i++) {
|
|
101907
102974
|
let statement = statements[i];
|
|
101908
102975
|
if (isPrologueDirective(statement))
|
|
101909
|
-
(seenPrologueDirectives
|
|
102976
|
+
(!seenPrologueDirectives || !seenPrologueDirectives.has(statement.expression.text)) && (needsToSetSourceFile && (needsToSetSourceFile = !1, setSourceFile(sourceFile)), writeLine(), emit(statement), seenPrologueDirectives && seenPrologueDirectives.add(statement.expression.text));
|
|
101910
102977
|
else
|
|
101911
102978
|
return i;
|
|
101912
102979
|
}
|
|
@@ -110074,8 +111141,6 @@ ${lanes.join(`
|
|
|
110074
111141
|
case 2:
|
|
110075
111142
|
queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, Debug.checkDefined(buildResult)), step++;
|
|
110076
111143
|
break;
|
|
110077
|
-
// Should never be done
|
|
110078
|
-
case 3:
|
|
110079
111144
|
default:
|
|
110080
111145
|
}
|
|
110081
111146
|
Debug.assert(step > currentStep);
|
|
@@ -116061,7 +117126,6 @@ ${lanes.join(`
|
|
|
116061
117126
|
case 5:
|
|
116062
117127
|
case 4:
|
|
116063
117128
|
return 8;
|
|
116064
|
-
case 80:
|
|
116065
117129
|
default:
|
|
116066
117130
|
return isTemplateLiteralKind(token) ? 6 : 2;
|
|
116067
117131
|
}
|
|
@@ -121161,12 +122225,7 @@ ${newComment.split(`
|
|
|
121161
122225
|
}
|
|
121162
122226
|
function getRefactorEditsToConvertToTemplateString(context, actionName2) {
|
|
121163
122227
|
let { file, startPosition } = context, node = getNodeOrParentOfParentheses(file, startPosition);
|
|
121164
|
-
|
|
121165
|
-
case refactorDescription6:
|
|
121166
|
-
return { edits: getEditsForToTemplateLiteral(context, node) };
|
|
121167
|
-
default:
|
|
121168
|
-
return Debug.fail("invalid action");
|
|
121169
|
-
}
|
|
122228
|
+
return actionName2 === refactorDescription6 ? { edits: getEditsForToTemplateLiteral(context, node) } : Debug.fail("invalid action");
|
|
121170
122229
|
}
|
|
121171
122230
|
function getEditsForToTemplateLiteral(context, node) {
|
|
121172
122231
|
let maybeBinary = getParentBinaryExpression(node), file = context.file, templateLiteral = nodesToTemplate(treeToArray(maybeBinary), file), trailingCommentRanges = getTrailingCommentRanges(file.text, maybeBinary.end);
|
|
@@ -122643,10 +123702,8 @@ ${newComment.split(`
|
|
|
122643
123702
|
}
|
|
122644
123703
|
function isExtractableExpression(node) {
|
|
122645
123704
|
let { parent: parent2 } = node;
|
|
122646
|
-
|
|
122647
|
-
|
|
122648
|
-
return !1;
|
|
122649
|
-
}
|
|
123705
|
+
if (parent2.kind === 306)
|
|
123706
|
+
return !1;
|
|
122650
123707
|
switch (node.kind) {
|
|
122651
123708
|
case 11:
|
|
122652
123709
|
return parent2.kind !== 272 && parent2.kind !== 276;
|
|
@@ -131054,15 +132111,11 @@ ${newComment.split(`
|
|
|
131054
132111
|
getAllCodeActions: (context) => codeFixAll(context, errorCodes31, (_changes, diag2, commands) => {
|
|
131055
132112
|
let packageName = tryGetImportedPackageName(diag2.file, diag2.start);
|
|
131056
132113
|
if (packageName !== void 0)
|
|
131057
|
-
|
|
131058
|
-
|
|
131059
|
-
|
|
131060
|
-
|
|
131061
|
-
|
|
131062
|
-
}
|
|
131063
|
-
default:
|
|
131064
|
-
Debug.fail(`Bad fixId: ${context.fixId}`);
|
|
131065
|
-
}
|
|
132114
|
+
if (context.fixId === fixIdInstallTypesPackage) {
|
|
132115
|
+
let pkg = getTypesPackageNameToInstall(packageName, context.host, diag2.code);
|
|
132116
|
+
pkg && commands.push(getInstallCommand(diag2.file.fileName, pkg));
|
|
132117
|
+
} else
|
|
132118
|
+
Debug.fail(`Bad fixId: ${context.fixId}`);
|
|
131066
132119
|
})
|
|
131067
132120
|
});
|
|
131068
132121
|
function getInstallCommand(fileName, packageName) {
|
|
@@ -135634,12 +136687,9 @@ ${newComment.split(`
|
|
|
135634
136687
|
};
|
|
135635
136688
|
}
|
|
135636
136689
|
function keywordFiltersFromSyntaxKind(keywordCompletion) {
|
|
135637
|
-
|
|
135638
|
-
|
|
135639
|
-
|
|
135640
|
-
default:
|
|
135641
|
-
Debug.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters");
|
|
135642
|
-
}
|
|
136690
|
+
if (keywordCompletion === 156)
|
|
136691
|
+
return 8;
|
|
136692
|
+
Debug.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters");
|
|
135643
136693
|
}
|
|
135644
136694
|
function getOptionalReplacementSpan(location) {
|
|
135645
136695
|
return location?.kind === 80 ? createTextSpanFromNode(location) : void 0;
|
|
@@ -137454,12 +138504,7 @@ ${newComment.split(`
|
|
|
137454
138504
|
case 102:
|
|
137455
138505
|
return { defaultCommitCharacters: [], isNewIdentifierLocation: !0 };
|
|
137456
138506
|
case 25:
|
|
137457
|
-
|
|
137458
|
-
case 267:
|
|
137459
|
-
return { defaultCommitCharacters: [], isNewIdentifierLocation: !0 };
|
|
137460
|
-
default:
|
|
137461
|
-
return { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: !1 };
|
|
137462
|
-
}
|
|
138507
|
+
return containingNodeKind === 267 ? { defaultCommitCharacters: [], isNewIdentifierLocation: !0 } : { defaultCommitCharacters: allCommitCharacters, isNewIdentifierLocation: !1 };
|
|
137463
138508
|
case 19:
|
|
137464
138509
|
switch (containingNodeKind) {
|
|
137465
138510
|
case 263:
|
|
@@ -161188,7 +162233,7 @@ var require_symbols = __commonJS({
|
|
|
161188
162233
|
init_cjs_shims();
|
|
161189
162234
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
161190
162235
|
exports.SINGLE_COMMAND_CLI_SYMBOL = void 0;
|
|
161191
|
-
exports.SINGLE_COMMAND_CLI_SYMBOL = Symbol("SINGLE_COMMAND_CLI").toString();
|
|
162236
|
+
exports.SINGLE_COMMAND_CLI_SYMBOL = (/* @__PURE__ */ Symbol("SINGLE_COMMAND_CLI")).toString();
|
|
161192
162237
|
}
|
|
161193
162238
|
});
|
|
161194
162239
|
|
|
@@ -164983,7 +166028,7 @@ var require_commonjs = __commonJS({
|
|
|
164983
166028
|
};
|
|
164984
166029
|
exports.sep = defaultPlatform === "win32" ? path.win32.sep : path.posix.sep;
|
|
164985
166030
|
exports.minimatch.sep = exports.sep;
|
|
164986
|
-
exports.GLOBSTAR = Symbol("globstar **");
|
|
166031
|
+
exports.GLOBSTAR = /* @__PURE__ */ Symbol("globstar **");
|
|
164987
166032
|
exports.minimatch.GLOBSTAR = exports.GLOBSTAR;
|
|
164988
166033
|
var qmark = "[^/]", star = qmark + "*?", twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?", twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?", filter = (pattern, options = {}) => (p) => (0, exports.minimatch)(p, pattern, options);
|
|
164989
166034
|
exports.filter = filter;
|
|
@@ -165402,7 +166447,7 @@ globstar while`, file, fr, pattern, pr, swallowee), this.matchOne(file.slice(fr)
|
|
|
165402
166447
|
});
|
|
165403
166448
|
|
|
165404
166449
|
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
|
|
165405
|
-
var
|
|
166450
|
+
var require_constants2 = __commonJS({
|
|
165406
166451
|
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
165407
166452
|
"use strict";
|
|
165408
166453
|
init_cjs_shims();
|
|
@@ -165591,7 +166636,7 @@ var require_utils2 = __commonJS({
|
|
|
165591
166636
|
REGEX_REMOVE_BACKSLASH,
|
|
165592
166637
|
REGEX_SPECIAL_CHARS,
|
|
165593
166638
|
REGEX_SPECIAL_CHARS_GLOBAL
|
|
165594
|
-
} =
|
|
166639
|
+
} = require_constants2();
|
|
165595
166640
|
exports.isObject = (val) => val !== null && typeof val == "object" && !Array.isArray(val);
|
|
165596
166641
|
exports.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
|
|
165597
166642
|
exports.isRegexChar = (str) => str.length === 1 && exports.hasRegexChars(str);
|
|
@@ -165660,7 +166705,7 @@ var require_scan = __commonJS({
|
|
|
165660
166705
|
/* ) */
|
|
165661
166706
|
CHAR_RIGHT_SQUARE_BRACKET
|
|
165662
166707
|
/* ] */
|
|
165663
|
-
} =
|
|
166708
|
+
} = require_constants2(), isPathSeparator = (code) => code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH, depth = (token) => {
|
|
165664
166709
|
token.isPrefix !== !0 && (token.depth = token.isGlobstar ? 1 / 0 : 1);
|
|
165665
166710
|
}, scan = (input, options) => {
|
|
165666
166711
|
let opts = options || {}, length = input.length - 1, scanToEnd = opts.parts === !0 || opts.scanToEnd === !0, slashes = [], tokens = [], parts = [], str = input, index = -1, start = 0, lastIndex = 0, isBrace = !1, isBracket = !1, isGlob = !1, isExtglob = !1, isGlobstar = !1, braceEscaped = !1, backslashes = !1, negated = !1, negatedExtglob = !1, finished = !1, braces = 0, prev, code, token = { value: "", depth: 0, isGlob: !1 }, eos = () => index >= length, peek = () => str.charCodeAt(index + 1), advance = () => (prev = code, str.charCodeAt(++index));
|
|
@@ -165812,11 +166857,11 @@ var require_scan = __commonJS({
|
|
|
165812
166857
|
});
|
|
165813
166858
|
|
|
165814
166859
|
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
|
|
165815
|
-
var
|
|
166860
|
+
var require_parse2 = __commonJS({
|
|
165816
166861
|
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
165817
166862
|
"use strict";
|
|
165818
166863
|
init_cjs_shims();
|
|
165819
|
-
var constants =
|
|
166864
|
+
var constants = require_constants2(), utils = require_utils2(), {
|
|
165820
166865
|
MAX_LENGTH,
|
|
165821
166866
|
POSIX_REGEX_SOURCE,
|
|
165822
166867
|
REGEX_NON_SPECIAL_CHARS,
|
|
@@ -166260,7 +167305,7 @@ var require_picomatch = __commonJS({
|
|
|
166260
167305
|
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
166261
167306
|
"use strict";
|
|
166262
167307
|
init_cjs_shims();
|
|
166263
|
-
var scan = require_scan(), parse =
|
|
167308
|
+
var scan = require_scan(), parse = require_parse2(), utils = require_utils2(), constants = require_constants2(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
|
|
166264
167309
|
if (Array.isArray(glob)) {
|
|
166265
167310
|
let fns = glob.map((input) => picomatch(input, options, returnState));
|
|
166266
167311
|
return (str) => {
|
|
@@ -168722,7 +169767,7 @@ Alternatively, you can use "--" to signify the end of the flags and the beginnin
|
|
|
168722
169767
|
});
|
|
168723
169768
|
|
|
168724
169769
|
// ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/parse.js
|
|
168725
|
-
var
|
|
169770
|
+
var require_parse3 = __commonJS({
|
|
168726
169771
|
"../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/parse.js"(exports) {
|
|
168727
169772
|
"use strict";
|
|
168728
169773
|
init_cjs_shims();
|
|
@@ -169198,7 +170243,7 @@ var require_parser = __commonJS({
|
|
|
169198
170243
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
169199
170244
|
exports.validate = exports.flagUsages = void 0;
|
|
169200
170245
|
exports.parse = parse;
|
|
169201
|
-
var parse_1 =
|
|
170246
|
+
var parse_1 = require_parse3(), validate_1 = require_validate(), help_1 = require_help2();
|
|
169202
170247
|
Object.defineProperty(exports, "flagUsages", { enumerable: !0, get: function() {
|
|
169203
170248
|
return help_1.flagUsages;
|
|
169204
170249
|
} });
|
|
@@ -169651,7 +170696,7 @@ var require_lib = __commonJS({
|
|
|
169651
170696
|
function checkNodeVersion() {
|
|
169652
170697
|
if (!(process.env.OCLIF_DISABLE_ENGINE_WARNING && (0, util_1.isTruthy)(process.env.OCLIF_DISABLE_ENGINE_WARNING)))
|
|
169653
170698
|
try {
|
|
169654
|
-
let path = __require("node:path"), semver =
|
|
170699
|
+
let path = __require("node:path"), semver = require_semver2(), root = path.join(__dirname, ".."), pjson = __require(path.join(root, "package.json"));
|
|
169655
170700
|
semver.satisfies(process.versions.node, pjson.engines.node) || process.emitWarning(`Node version must be ${pjson.engines.node} to use this CLI. Current node version: ${process.versions.node}`);
|
|
169656
170701
|
} catch {
|
|
169657
170702
|
}
|
|
@@ -169734,6 +170779,7 @@ export {
|
|
|
169734
170779
|
require_color_name,
|
|
169735
170780
|
require_color_convert,
|
|
169736
170781
|
require_ansi_styles,
|
|
170782
|
+
require_semver2 as require_semver,
|
|
169737
170783
|
require_ejs,
|
|
169738
170784
|
require_escape_string_regexp,
|
|
169739
170785
|
require_clean_stack,
|
|
@@ -169777,4 +170823,4 @@ typescript/lib/typescript.js:
|
|
|
169777
170823
|
and limitations under the License.
|
|
169778
170824
|
***************************************************************************** *)
|
|
169779
170825
|
*/
|
|
169780
|
-
//# sourceMappingURL=chunk-
|
|
170826
|
+
//# sourceMappingURL=chunk-CEUL3KX5.js.map
|