@shopify/create-app 3.74.0 → 3.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-VK6YB4CW.js → chunk-3YDOTMPD.js} +3 -3
- package/dist/{chunk-ZUCWDIGE.js → chunk-57Q6OQG4.js} +2 -2
- package/dist/{chunk-QPEQYFIE.js → chunk-5SC2R6CT.js} +10053 -10052
- package/dist/{chunk-A2CUF3IE.js → chunk-C5GINFDG.js} +2 -2
- package/dist/{chunk-PNW5KDM2.js → chunk-EPQ2L6IW.js} +7 -7
- package/dist/{chunk-MFOTVT4R.js → chunk-ICQBXF5V.js} +83 -20
- package/dist/{chunk-ZKGBK6WQ.js → chunk-IVFBSLUD.js} +15 -8
- package/dist/{chunk-RVS7NPOH.js → chunk-L7GASDV2.js} +4 -4
- package/dist/{chunk-NBA3G6YQ.js → chunk-S3QEOIDU.js} +33 -28
- package/dist/{custom-oclif-loader-3WFQ2GRD.js → custom-oclif-loader-CXVA2M3L.js} +5 -6
- package/dist/{del-CKAQ44SX.js → del-G6PUU7PY.js} +3 -3
- package/dist/{error-handler-N6P2X42R.js → error-handler-GC4GWYD5.js} +9 -10
- package/dist/hooks/postrun.js +7 -8
- package/dist/hooks/prerun.js +6 -7
- package/dist/index.js +5972 -5283
- package/dist/index.test.js +34 -35
- package/dist/{lib-ZAUU5FOJ.js → lib-GSZAN7VA.js} +3 -3
- package/dist/{local-EBAW6AUD.js → local-6CQLDUCI.js} +7 -6
- package/dist/{magic-string.es-PJMYOE6F.js → magic-string.es-BSVDQOZI.js} +32 -20
- package/dist/{node-package-manager-VTG2B4KW.js → node-package-manager-DQ4PU7OM.js} +6 -7
- package/dist/{path-GWAZZN2N.js → path-2K5HIMHZ.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-QBKDPUJX.js → ui-PWRERZXU.js} +5 -6
- package/oclif.manifest.json +1 -1
- package/package.json +5 -4
- package/dist/chunk-CFIKVUNW.js +0 -45
package/dist/index.test.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-CFIKVUNW.js";
|
|
2
1
|
import {
|
|
3
2
|
resolve
|
|
4
3
|
} from "./chunk-CDBXAE2F.js";
|
|
@@ -4341,19 +4340,19 @@ var require_chai2 = __commonJS({
|
|
|
4341
4340
|
// src/index.test.ts
|
|
4342
4341
|
init_cjs_shims();
|
|
4343
4342
|
|
|
4344
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
4343
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/index.js
|
|
4345
4344
|
init_cjs_shims();
|
|
4346
4345
|
|
|
4347
|
-
// ../../node_modules/.pnpm/@vitest+runner@1.6.
|
|
4346
|
+
// ../../node_modules/.pnpm/@vitest+runner@1.6.1/node_modules/@vitest/runner/dist/index.js
|
|
4348
4347
|
init_cjs_shims();
|
|
4349
4348
|
|
|
4350
4349
|
// ../../node_modules/.pnpm/p-limit@5.0.0/node_modules/p-limit/index.js
|
|
4351
4350
|
init_cjs_shims();
|
|
4352
4351
|
|
|
4353
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
4352
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/index.js
|
|
4354
4353
|
init_cjs_shims();
|
|
4355
4354
|
|
|
4356
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
4355
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/helpers.js
|
|
4357
4356
|
init_cjs_shims();
|
|
4358
4357
|
function assertTypes(value, name, types) {
|
|
4359
4358
|
let receivedType = typeof value;
|
|
@@ -4433,7 +4432,7 @@ function createDefer() {
|
|
|
4433
4432
|
return p.resolve = resolve3, p.reject = reject, p;
|
|
4434
4433
|
}
|
|
4435
4434
|
|
|
4436
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
4435
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/chunk-display.js
|
|
4437
4436
|
init_cjs_shims();
|
|
4438
4437
|
var import_pretty_format = __toESM(require_build(), 1), loupe = __toESM(require_loupe(), 1), {
|
|
4439
4438
|
AsymmetricMatcher,
|
|
@@ -4548,7 +4547,7 @@ function objDisplay(obj, options = {}) {
|
|
|
4548
4547
|
return str;
|
|
4549
4548
|
}
|
|
4550
4549
|
|
|
4551
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
4550
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/chunk-colors.js
|
|
4552
4551
|
init_cjs_shims();
|
|
4553
4552
|
var SAFE_TIMERS_SYMBOL = Symbol("vitest:SAFE_TIMERS"), SAFE_COLORS_SYMBOL = Symbol("vitest:SAFE_COLORS"), colorsMap = {
|
|
4554
4553
|
bold: ["\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"],
|
|
@@ -4586,7 +4585,7 @@ function getColors() {
|
|
|
4586
4585
|
return globalThis[SAFE_COLORS_SYMBOL] || defaultColors;
|
|
4587
4586
|
}
|
|
4588
4587
|
|
|
4589
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
4588
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/index.js
|
|
4590
4589
|
var import_pretty_format2 = __toESM(require_build(), 1), import_loupe = __toESM(require_loupe(), 1);
|
|
4591
4590
|
function getSafeTimers() {
|
|
4592
4591
|
let {
|
|
@@ -4686,10 +4685,10 @@ var reservedWords = {
|
|
|
4686
4685
|
]
|
|
4687
4686
|
}, keywords = new Set(reservedWords.keyword), reservedWordsStrictSet = new Set(reservedWords.strict);
|
|
4688
4687
|
|
|
4689
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
4688
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/error.js
|
|
4690
4689
|
init_cjs_shims();
|
|
4691
4690
|
|
|
4692
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
4691
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/diff.js
|
|
4693
4692
|
init_cjs_shims();
|
|
4694
4693
|
var import_pretty_format3 = __toESM(require_build(), 1), diff$1 = __toESM(require_build2(), 1);
|
|
4695
4694
|
function getType2(value) {
|
|
@@ -5127,7 +5126,7 @@ function getObjectsDifference(a, b2, formatOptions, options) {
|
|
|
5127
5126
|
}
|
|
5128
5127
|
}
|
|
5129
5128
|
|
|
5130
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
5129
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/error.js
|
|
5131
5130
|
var import_pretty_format4 = __toESM(require_build(), 1), import_diff_sequences = __toESM(require_build2(), 1);
|
|
5132
5131
|
var import_loupe2 = __toESM(require_loupe(), 1), IS_RECORD_SYMBOL = "@@__IMMUTABLE_RECORD__@@", IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
|
|
5133
5132
|
function isImmutable(v) {
|
|
@@ -5234,7 +5233,7 @@ function replaceAsymmetricMatcher(actual, expected, actualReplaced = /* @__PURE_
|
|
|
5234
5233
|
}) : { replacedActual: actual, replacedExpected: expected };
|
|
5235
5234
|
}
|
|
5236
5235
|
|
|
5237
|
-
// ../../node_modules/.pnpm/@vitest+runner@1.6.
|
|
5236
|
+
// ../../node_modules/.pnpm/@vitest+runner@1.6.1/node_modules/@vitest/runner/dist/chunk-tasks.js
|
|
5238
5237
|
init_cjs_shims();
|
|
5239
5238
|
function createChainable(keys2, fn2) {
|
|
5240
5239
|
function create(context) {
|
|
@@ -5264,7 +5263,7 @@ function getNames(task) {
|
|
|
5264
5263
|
return names;
|
|
5265
5264
|
}
|
|
5266
5265
|
|
|
5267
|
-
// ../../node_modules/.pnpm/@vitest+utils@1.6.
|
|
5266
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.1/node_modules/@vitest/utils/dist/source-map.js
|
|
5268
5267
|
init_cjs_shims();
|
|
5269
5268
|
function normalizeWindowsPath(input = "") {
|
|
5270
5269
|
return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
|
|
@@ -5524,7 +5523,7 @@ function parseSingleV8Stack(raw) {
|
|
|
5524
5523
|
});
|
|
5525
5524
|
}
|
|
5526
5525
|
|
|
5527
|
-
// ../../node_modules/.pnpm/@vitest+runner@1.6.
|
|
5526
|
+
// ../../node_modules/.pnpm/@vitest+runner@1.6.1/node_modules/@vitest/runner/dist/index.js
|
|
5528
5527
|
var fnMap = /* @__PURE__ */ new WeakMap(), fixtureMap = /* @__PURE__ */ new WeakMap(), hooksMap = /* @__PURE__ */ new WeakMap();
|
|
5529
5528
|
function setFn(key, fn2) {
|
|
5530
5529
|
fnMap.set(key, fn2);
|
|
@@ -5964,16 +5963,16 @@ function createTestHook(name, handler) {
|
|
|
5964
5963
|
};
|
|
5965
5964
|
}
|
|
5966
5965
|
|
|
5967
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
5966
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
|
|
5968
5967
|
init_cjs_shims();
|
|
5969
5968
|
|
|
5970
|
-
// ../../node_modules/.pnpm/@vitest+runner@1.6.
|
|
5969
|
+
// ../../node_modules/.pnpm/@vitest+runner@1.6.1/node_modules/@vitest/runner/dist/utils.js
|
|
5971
5970
|
init_cjs_shims();
|
|
5972
5971
|
|
|
5973
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
5972
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/index.SMVOaj7F.js
|
|
5974
5973
|
init_cjs_shims();
|
|
5975
5974
|
|
|
5976
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
5975
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/global.CkGT_TMy.js
|
|
5977
5976
|
init_cjs_shims();
|
|
5978
5977
|
function getWorkerState() {
|
|
5979
5978
|
let workerState = globalThis.__vitest_worker__;
|
|
@@ -5994,7 +5993,7 @@ function getCurrentEnvironment() {
|
|
|
5994
5993
|
return state?.environment.name;
|
|
5995
5994
|
}
|
|
5996
5995
|
|
|
5997
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
5996
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/index.SMVOaj7F.js
|
|
5998
5997
|
function getRunMode() {
|
|
5999
5998
|
return getWorkerState().config.mode;
|
|
6000
5999
|
}
|
|
@@ -6002,7 +6001,7 @@ function isRunningInBenchmark() {
|
|
|
6002
6001
|
return getRunMode() === "benchmark";
|
|
6003
6002
|
}
|
|
6004
6003
|
|
|
6005
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
6004
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
|
|
6006
6005
|
var benchFns = /* @__PURE__ */ new WeakMap(), benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
6007
6006
|
var bench = createBenchmark(
|
|
6008
6007
|
function(name, fn2 = noop, options = {}) {
|
|
@@ -6028,7 +6027,7 @@ function formatName2(name) {
|
|
|
6028
6027
|
return typeof name == "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name);
|
|
6029
6028
|
}
|
|
6030
6029
|
|
|
6031
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
6030
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/run-once.Olz_Zkd8.js
|
|
6032
6031
|
init_cjs_shims();
|
|
6033
6032
|
var filesCount = /* @__PURE__ */ new Map(), cache = /* @__PURE__ */ new Map();
|
|
6034
6033
|
function runOnce(fn2, key) {
|
|
@@ -6044,7 +6043,7 @@ function isFirstRun() {
|
|
|
6044
6043
|
}, "__vitest_first_run__"), firstRun;
|
|
6045
6044
|
}
|
|
6046
6045
|
|
|
6047
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
6046
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/vi.YFlodzP_.js
|
|
6048
6047
|
init_cjs_shims();
|
|
6049
6048
|
|
|
6050
6049
|
// ../../node_modules/.pnpm/chai@4.4.1/node_modules/chai/index.mjs
|
|
@@ -6065,17 +6064,17 @@ __export(chai_exports, {
|
|
|
6065
6064
|
init_cjs_shims();
|
|
6066
6065
|
var import_index = __toESM(require_chai2(), 1), expect = import_index.default.expect, version = import_index.default.version, Assertion = import_index.default.Assertion, AssertionError = import_index.default.AssertionError, util = import_index.default.util, config = import_index.default.config, use = import_index.default.use, should = import_index.default.should, assert = import_index.default.assert, core = import_index.default.core, chai_default = import_index.default;
|
|
6067
6066
|
|
|
6068
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
6067
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/_commonjsHelpers.jjO7Zipk.js
|
|
6069
6068
|
init_cjs_shims();
|
|
6070
6069
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6071
6070
|
function getDefaultExportFromCjs(x) {
|
|
6072
6071
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
|
|
6073
6072
|
}
|
|
6074
6073
|
|
|
6075
|
-
// ../../node_modules/.pnpm/@vitest+expect@1.6.
|
|
6074
|
+
// ../../node_modules/.pnpm/@vitest+expect@1.6.1/node_modules/@vitest/expect/dist/index.js
|
|
6076
6075
|
init_cjs_shims();
|
|
6077
6076
|
|
|
6078
|
-
// ../../node_modules/.pnpm/@vitest+spy@1.6.
|
|
6077
|
+
// ../../node_modules/.pnpm/@vitest+spy@1.6.1/node_modules/@vitest/spy/dist/index.js
|
|
6079
6078
|
init_cjs_shims();
|
|
6080
6079
|
|
|
6081
6080
|
// ../../node_modules/.pnpm/tinyspy@2.2.1/node_modules/tinyspy/dist/index.js
|
|
@@ -6165,7 +6164,7 @@ function E(e, t, n) {
|
|
|
6165
6164
|
return i(T, "restore", K), i(T, "getOriginal", () => l ? o() : o), i(T, "willCall", (h) => (T.impl = h, y)), O(l ? () => (P(y, n), y) : y), g.add(y), y;
|
|
6166
6165
|
}
|
|
6167
6166
|
|
|
6168
|
-
// ../../node_modules/.pnpm/@vitest+spy@1.6.
|
|
6167
|
+
// ../../node_modules/.pnpm/@vitest+spy@1.6.1/node_modules/@vitest/spy/dist/index.js
|
|
6169
6168
|
var mocks = /* @__PURE__ */ new Set();
|
|
6170
6169
|
function isMockFunction(fn2) {
|
|
6171
6170
|
return typeof fn2 == "function" && "_isMockFunction" in fn2 && fn2._isMockFunction;
|
|
@@ -6223,7 +6222,7 @@ function fn(implementation) {
|
|
|
6223
6222
|
return implementation && enhancedSpy.mockImplementation(implementation), enhancedSpy;
|
|
6224
6223
|
}
|
|
6225
6224
|
|
|
6226
|
-
// ../../node_modules/.pnpm/@vitest+expect@1.6.
|
|
6225
|
+
// ../../node_modules/.pnpm/@vitest+expect@1.6.1/node_modules/@vitest/expect/dist/index.js
|
|
6227
6226
|
var MATCHERS_OBJECT = Symbol.for("matchers-object"), JEST_MATCHERS_OBJECT = Symbol.for("$$jest-matchers-object"), GLOBAL_EXPECT = Symbol.for("expect-global"), ASYMMETRIC_MATCHERS_OBJECT = Symbol.for("asymmetric-matchers-object");
|
|
6228
6227
|
if (!Object.prototype.hasOwnProperty.call(globalThis, MATCHERS_OBJECT)) {
|
|
6229
6228
|
let globalState = /* @__PURE__ */ new WeakMap(), matchers = /* @__PURE__ */ Object.create(null), customEqualityTesters = [], assymetricMatchers = /* @__PURE__ */ Object.create(null);
|
|
@@ -7408,7 +7407,7 @@ var JestExtend = (chai3, utils) => {
|
|
|
7408
7407
|
});
|
|
7409
7408
|
};
|
|
7410
7409
|
|
|
7411
|
-
// ../../node_modules/.pnpm/@vitest+snapshot@1.6.
|
|
7410
|
+
// ../../node_modules/.pnpm/@vitest+snapshot@1.6.1/node_modules/@vitest/snapshot/dist/index.js
|
|
7412
7411
|
init_cjs_shims();
|
|
7413
7412
|
var import_pretty_format5 = __toESM(require_build(), 1);
|
|
7414
7413
|
function getDefaultExportFromCjs2(x) {
|
|
@@ -8029,7 +8028,7 @@ function parseErrorStacktrace(e, options = {}) {
|
|
|
8029
8028
|
return options.frameFilter && (stackFrames = stackFrames.filter((f2) => options.frameFilter(e, f2) !== !1)), e.stacks = stackFrames, stackFrames;
|
|
8030
8029
|
}
|
|
8031
8030
|
async function saveInlineSnapshots(environment, snapshots) {
|
|
8032
|
-
let MagicString = (await import("./magic-string.es-
|
|
8031
|
+
let MagicString = (await import("./magic-string.es-BSVDQOZI.js")).default, files = new Set(snapshots.map((i2) => i2.file));
|
|
8033
8032
|
await Promise.all(Array.from(files).map(async (file) => {
|
|
8034
8033
|
let snaps = snapshots.filter((i2) => i2.file === file), code = await environment.readSnapshotFile(file), s = new MagicString(code);
|
|
8035
8034
|
for (let snap of snaps) {
|
|
@@ -8349,19 +8348,19 @@ var SnapshotClient = class {
|
|
|
8349
8348
|
}
|
|
8350
8349
|
};
|
|
8351
8350
|
|
|
8352
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
8351
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/tasks.IknbGB2n.js
|
|
8353
8352
|
init_cjs_shims();
|
|
8354
8353
|
function getFullName(task, separator = " > ") {
|
|
8355
8354
|
return getNames(task).join(separator);
|
|
8356
8355
|
}
|
|
8357
8356
|
|
|
8358
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
8357
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/base.5NT-gWu5.js
|
|
8359
8358
|
init_cjs_shims();
|
|
8360
8359
|
function isChildProcess() {
|
|
8361
8360
|
return typeof process < "u" && !!process.send;
|
|
8362
8361
|
}
|
|
8363
8362
|
|
|
8364
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
8363
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/date.Ns1pGd_X.js
|
|
8365
8364
|
init_cjs_shims();
|
|
8366
8365
|
var RealDate = Date, now2 = null, MockDate = class _MockDate extends RealDate {
|
|
8367
8366
|
constructor(y, m, d, h, M2, s, ms) {
|
|
@@ -8401,7 +8400,7 @@ function resetDate() {
|
|
|
8401
8400
|
globalThis.Date = RealDate;
|
|
8402
8401
|
}
|
|
8403
8402
|
|
|
8404
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
8403
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/vi.YFlodzP_.js
|
|
8405
8404
|
function resetModules(modules, resetMocks = !1) {
|
|
8406
8405
|
let skipPaths = [
|
|
8407
8406
|
// Vitest
|
|
@@ -9906,7 +9905,7 @@ function createVitest() {
|
|
|
9906
9905
|
}
|
|
9907
9906
|
var vitest = createVitest(), vi = vitest;
|
|
9908
9907
|
|
|
9909
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
9908
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/vendor/index.dI9lHwVn.js
|
|
9910
9909
|
init_cjs_shims();
|
|
9911
9910
|
function getRunningMode() {
|
|
9912
9911
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -9994,7 +9993,7 @@ var assertType = noop2, VitestIndex = /* @__PURE__ */ Object.freeze({
|
|
|
9994
9993
|
vitest
|
|
9995
9994
|
});
|
|
9996
9995
|
|
|
9997
|
-
// ../../node_modules/.pnpm/vitest@1.6.
|
|
9996
|
+
// ../../node_modules/.pnpm/vitest@1.6.1_@types+node@18.19.70/node_modules/vitest/dist/index.js
|
|
9998
9997
|
var expectTypeOf = dist.expectTypeOf;
|
|
9999
9998
|
|
|
10000
9999
|
// src/index.test.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_lib
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S3QEOIDU.js";
|
|
4
4
|
import "./chunk-3I3GQNEW.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-IVFBSLUD.js";
|
|
6
6
|
import "./chunk-5DBS6QOU.js";
|
|
7
7
|
import "./chunk-B3YWYURY.js";
|
|
8
8
|
import "./chunk-G2ZZKGSV.js";
|
|
9
9
|
import "./chunk-PKR7KJ6P.js";
|
|
10
10
|
export default require_lib();
|
|
11
|
-
//# sourceMappingURL=lib-
|
|
11
|
+
//# sourceMappingURL=lib-GSZAN7VA.js.map
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
codespacePortForwardingDomain,
|
|
8
8
|
codespaceURL,
|
|
9
9
|
firstPartyDev,
|
|
10
|
+
getThemeKitAccessDomain,
|
|
10
11
|
gitpodURL,
|
|
11
12
|
hasGit,
|
|
12
13
|
homeDirectory,
|
|
@@ -22,14 +23,13 @@ import {
|
|
|
22
23
|
themeToken,
|
|
23
24
|
useEmbeddedThemeCLI,
|
|
24
25
|
useThemebundling
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-ICQBXF5V.js";
|
|
27
|
+
import "./chunk-S3QEOIDU.js";
|
|
27
28
|
import "./chunk-3I3GQNEW.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-ZUCWDIGE.js";
|
|
29
|
+
import "./chunk-57Q6OQG4.js";
|
|
30
30
|
import "./chunk-CDBXAE2F.js";
|
|
31
31
|
import "./chunk-75LV6AQS.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-IVFBSLUD.js";
|
|
33
33
|
import "./chunk-5DBS6QOU.js";
|
|
34
34
|
import "./chunk-B3YWYURY.js";
|
|
35
35
|
import "./chunk-G2ZZKGSV.js";
|
|
@@ -43,6 +43,7 @@ export {
|
|
|
43
43
|
codespacePortForwardingDomain,
|
|
44
44
|
codespaceURL,
|
|
45
45
|
firstPartyDev,
|
|
46
|
+
getThemeKitAccessDomain,
|
|
46
47
|
gitpodURL,
|
|
47
48
|
hasGit,
|
|
48
49
|
homeDirectory,
|
|
@@ -59,4 +60,4 @@ export {
|
|
|
59
60
|
useEmbeddedThemeCLI,
|
|
60
61
|
useThemebundling
|
|
61
62
|
};
|
|
62
|
-
//# sourceMappingURL=local-
|
|
63
|
+
//# sourceMappingURL=local-6CQLDUCI.js.map
|
|
@@ -5,14 +5,23 @@ import {
|
|
|
5
5
|
// ../../node_modules/.pnpm/magic-string@0.30.10/node_modules/magic-string/dist/magic-string.es.mjs
|
|
6
6
|
init_cjs_shims();
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.
|
|
8
|
+
// ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
9
9
|
init_cjs_shims();
|
|
10
10
|
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = new Uint8Array(64), charToInt = new Uint8Array(128);
|
|
11
11
|
for (let i = 0; i < chars.length; i++) {
|
|
12
12
|
let c = chars.charCodeAt(i);
|
|
13
13
|
intToChar[i] = c, charToInt[c] = i;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
function encodeInteger(builder, num, relative) {
|
|
16
|
+
let delta = num - relative;
|
|
17
|
+
delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
|
|
18
|
+
do {
|
|
19
|
+
let clamped = delta & 31;
|
|
20
|
+
delta >>>= 5, delta > 0 && (clamped |= 32), builder.write(intToChar[clamped]);
|
|
21
|
+
} while (delta > 0);
|
|
22
|
+
return num;
|
|
23
|
+
}
|
|
24
|
+
var bufLength = 1024 * 16, td = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? {
|
|
16
25
|
decode(buf) {
|
|
17
26
|
return Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength).toString();
|
|
18
27
|
}
|
|
@@ -23,29 +32,32 @@ var td = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof B
|
|
|
23
32
|
out += String.fromCharCode(buf[i]);
|
|
24
33
|
return out;
|
|
25
34
|
}
|
|
35
|
+
}, StringWriter = class {
|
|
36
|
+
constructor() {
|
|
37
|
+
this.pos = 0, this.out = "", this.buffer = new Uint8Array(bufLength);
|
|
38
|
+
}
|
|
39
|
+
write(v) {
|
|
40
|
+
let { buffer } = this;
|
|
41
|
+
buffer[this.pos++] = v, this.pos === bufLength && (this.out += td.decode(buffer), this.pos = 0);
|
|
42
|
+
}
|
|
43
|
+
flush() {
|
|
44
|
+
let { buffer, out, pos } = this;
|
|
45
|
+
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
|
|
46
|
+
}
|
|
26
47
|
};
|
|
27
48
|
function encode(decoded) {
|
|
28
|
-
let
|
|
49
|
+
let writer = new StringWriter(), sourcesIndex = 0, sourceLine = 0, sourceColumn = 0, namesIndex = 0;
|
|
29
50
|
for (let i = 0; i < decoded.length; i++) {
|
|
30
51
|
let line = decoded[i];
|
|
31
|
-
if (i > 0 &&
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
52
|
+
if (i > 0 && writer.write(59), line.length === 0)
|
|
53
|
+
continue;
|
|
54
|
+
let genColumn = 0;
|
|
55
|
+
for (let j = 0; j < line.length; j++) {
|
|
56
|
+
let segment = line[j];
|
|
57
|
+
j > 0 && writer.write(44), genColumn = encodeInteger(writer, segment[0], genColumn), segment.length !== 1 && (sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex), sourceLine = encodeInteger(writer, segment[2], sourceLine), sourceColumn = encodeInteger(writer, segment[3], sourceColumn), segment.length !== 4 && (namesIndex = encodeInteger(writer, segment[4], namesIndex)));
|
|
37
58
|
}
|
|
38
59
|
}
|
|
39
|
-
return
|
|
40
|
-
}
|
|
41
|
-
function encodeInteger(buf, pos, state, segment, j) {
|
|
42
|
-
let next = segment[j], num = next - state[j];
|
|
43
|
-
state[j] = next, num = num < 0 ? -num << 1 | 1 : num << 1;
|
|
44
|
-
do {
|
|
45
|
-
let clamped = num & 31;
|
|
46
|
-
num >>>= 5, num > 0 && (clamped |= 32), buf[pos++] = intToChar[clamped];
|
|
47
|
-
} while (num > 0);
|
|
48
|
-
return pos;
|
|
60
|
+
return writer.flush();
|
|
49
61
|
}
|
|
50
62
|
|
|
51
63
|
// ../../node_modules/.pnpm/magic-string@0.30.10/node_modules/magic-string/dist/magic-string.es.mjs
|
|
@@ -793,4 +805,4 @@ export {
|
|
|
793
805
|
SourceMap,
|
|
794
806
|
MagicString as default
|
|
795
807
|
};
|
|
796
|
-
//# sourceMappingURL=magic-string.es-
|
|
808
|
+
//# sourceMappingURL=magic-string.es-BSVDQOZI.js.map
|
|
@@ -29,15 +29,14 @@ import {
|
|
|
29
29
|
versionSatisfies,
|
|
30
30
|
writePackageJSON,
|
|
31
31
|
yarnLockfile
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-3YDOTMPD.js";
|
|
33
|
+
import "./chunk-ICQBXF5V.js";
|
|
34
|
+
import "./chunk-S3QEOIDU.js";
|
|
35
35
|
import "./chunk-3I3GQNEW.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-ZUCWDIGE.js";
|
|
36
|
+
import "./chunk-57Q6OQG4.js";
|
|
38
37
|
import "./chunk-CDBXAE2F.js";
|
|
39
38
|
import "./chunk-75LV6AQS.js";
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-IVFBSLUD.js";
|
|
41
40
|
import "./chunk-5DBS6QOU.js";
|
|
42
41
|
import "./chunk-B3YWYURY.js";
|
|
43
42
|
import "./chunk-G2ZZKGSV.js";
|
|
@@ -74,4 +73,4 @@ export {
|
|
|
74
73
|
writePackageJSON,
|
|
75
74
|
yarnLockfile
|
|
76
75
|
};
|
|
77
|
-
//# sourceMappingURL=node-package-manager-
|
|
76
|
+
//# sourceMappingURL=node-package-manager-DQ4PU7OM.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolvePath,
|
|
14
14
|
sniffForJson,
|
|
15
15
|
sniffForPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-57Q6OQG4.js";
|
|
17
17
|
import "./chunk-CDBXAE2F.js";
|
|
18
18
|
import "./chunk-PKR7KJ6P.js";
|
|
19
19
|
export {
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
sniffForJson,
|
|
33
33
|
sniffForPath
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=path-
|
|
35
|
+
//# sourceMappingURL=path-2K5HIMHZ.js.map
|