@storm-software/git-tools 2.104.47 → 2.104.48

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.
Files changed (88) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-MM5AJ3HN.js → chunk-23TCSI67.js} +26 -143
  3. package/bin/{chunk-LHINQG4H.cjs → chunk-34R4PCUS.cjs} +9 -35
  4. package/bin/chunk-3XEEEMLV.js +25 -0
  5. package/bin/{chunk-FDIL5LQQ.cjs → chunk-3YZZSIRA.cjs} +2 -8
  6. package/bin/{chunk-QVRLY7GO.js → chunk-5DZECCFZ.js} +1831 -3498
  7. package/bin/{chunk-C56ONEWE.cjs → chunk-A3QVIDKR.cjs} +2063 -4146
  8. package/bin/{chunk-RWG7K3L2.cjs → chunk-ANR3M366.cjs} +14 -46
  9. package/bin/{chunk-YCGKNXJZ.cjs → chunk-AQDYBQBF.cjs} +2 -12
  10. package/bin/{chunk-DNTOHRW4.js → chunk-BJYW7ISD.js} +78 -182
  11. package/bin/{chunk-YKGA2MVU.cjs → chunk-FY5QB5MQ.cjs} +13 -47
  12. package/bin/{chunk-DBXOSHV7.js → chunk-GIYWTOX5.js} +10 -44
  13. package/bin/{chunk-YS7O5BRI.cjs → chunk-H6RJC2EU.cjs} +29 -146
  14. package/bin/{chunk-IFBRUMYX.js → chunk-KTLBDGE7.js} +1 -11
  15. package/bin/{chunk-RJTSICHA.js → chunk-M3SPNRDT.js} +6 -32
  16. package/bin/{chunk-PW5R2BRU.cjs → chunk-MRCW7ZWW.cjs} +4 -5
  17. package/bin/{chunk-KD5ZCYX3.cjs → chunk-OQNZFKFJ.cjs} +22 -445
  18. package/bin/{chunk-OBE5IRH4.js → chunk-PAW5GJNL.js} +3 -4
  19. package/bin/{chunk-377YOE7Z.js → chunk-QROY5223.js} +4 -426
  20. package/bin/{chunk-QYSGMK4D.js → chunk-REUY4MDC.js} +10 -42
  21. package/bin/{chunk-JUU5ILZB.cjs → chunk-RHY34RLE.cjs} +4 -6
  22. package/bin/{chunk-PRG2N75Y.js → chunk-V3UDZCED.js} +1 -7
  23. package/bin/chunk-VNWRUK6N.cjs +25 -0
  24. package/bin/{chunk-EJRTGQIY.js → chunk-W2TU25OT.js} +2 -4
  25. package/bin/{chunk-V2L6QG6X.cjs → chunk-Z3K5JTIC.cjs} +88 -192
  26. package/bin/{dist-YVMKTFW6.cjs → dist-3B7RDNKI.cjs} +1097 -2113
  27. package/bin/{dist-AXJG5W3U.js → dist-BGCQPBHL.js} +2 -5
  28. package/bin/{dist-5TR4KAWC.cjs → dist-WGGNNSDG.cjs} +6 -9
  29. package/bin/{dist-KY7IAJSV.js → dist-YM6D424K.js} +417 -1489
  30. package/bin/{esm-MGSMO3WY.cjs → esm-6GE5MI4G.cjs} +249 -254
  31. package/bin/{esm-IZHFRARS.js → esm-WLHP7RVO.js} +246 -251
  32. package/bin/git.cjs +9757 -20881
  33. package/bin/git.js +4720 -13387
  34. package/bin/json5-ELADGSSP.js +10 -0
  35. package/bin/json5-FQPHMSAC.cjs +10 -0
  36. package/bin/jsonc-CTYQYPBR.cjs +15 -0
  37. package/bin/{jsonc-6643P3LC.js → jsonc-RUGZP2X2.js} +3 -3
  38. package/bin/{multipart-parser-Z3URKOGZ.cjs → multipart-parser-I4Y55UNL.cjs} +8 -14
  39. package/bin/{multipart-parser-HAF2WA3O.js → multipart-parser-MFV7BRF2.js} +3 -9
  40. package/bin/post-checkout.cjs +29 -23
  41. package/bin/post-checkout.js +19 -13
  42. package/bin/post-commit.cjs +29 -23
  43. package/bin/post-commit.js +19 -13
  44. package/bin/post-merge.cjs +29 -23
  45. package/bin/post-merge.js +19 -13
  46. package/bin/pre-commit.cjs +26 -20
  47. package/bin/pre-commit.js +17 -11
  48. package/bin/pre-install.cjs +22 -19
  49. package/bin/pre-install.js +13 -10
  50. package/bin/pre-push.cjs +55 -36
  51. package/bin/pre-push.js +40 -21
  52. package/bin/prepare.cjs +20 -17
  53. package/bin/prepare.js +13 -10
  54. package/bin/toml-IRXKI45Y.cjs +10 -0
  55. package/bin/toml-U3J6BEAR.js +10 -0
  56. package/bin/{utils-WL6G35GX.js → utils-6O4EJJM3.js} +2 -12
  57. package/bin/{utils-PZ3SHU7I.cjs → utils-GJRPR6GZ.cjs} +5 -15
  58. package/bin/version-warning.cjs +18 -15
  59. package/bin/version-warning.js +13 -10
  60. package/bin/yaml-CPOMXZOK.js +10 -0
  61. package/bin/yaml-WGJNEJ7V.cjs +10 -0
  62. package/dist/{chunk-232JIEVA.js → chunk-3MA2SHAT.js} +1 -1
  63. package/dist/chunk-3V3F7TB7.cjs +18 -0
  64. package/dist/{chunk-TFEV2FZY.js → chunk-D7HN6Y5M.js} +8 -9
  65. package/dist/{chunk-L2C6A3XV.cjs → chunk-EQZ3BKYL.cjs} +9 -10
  66. package/dist/{chunk-WTMYHIID.cjs → chunk-FX5G24P6.cjs} +3 -3
  67. package/dist/{chunk-W7SYRJE7.js → chunk-JVIJRTGD.js} +1 -1
  68. package/dist/commit/config.cjs +3 -3
  69. package/dist/commit/config.js +2 -2
  70. package/dist/commitlint/config.cjs +24 -103
  71. package/dist/commitlint/config.js +24 -103
  72. package/dist/index.cjs +4 -4
  73. package/dist/index.js +3 -3
  74. package/dist/release/config.cjs +3 -3
  75. package/dist/release/config.js +2 -2
  76. package/dist/types.cjs +2 -2
  77. package/dist/types.js +1 -1
  78. package/package.json +1 -1
  79. package/bin/chunk-5DWG2HXA.js +0 -22
  80. package/bin/chunk-7B6YVRI6.cjs +0 -22
  81. package/bin/json5-DQ2B7V4X.js +0 -10
  82. package/bin/json5-OV4LY5NN.cjs +0 -10
  83. package/bin/jsonc-SKJF3GPV.cjs +0 -15
  84. package/bin/toml-IP5GTCQW.cjs +0 -10
  85. package/bin/toml-KSQJ7SIB.js +0 -10
  86. package/bin/yaml-3NH46CEJ.cjs +0 -10
  87. package/bin/yaml-F3NXDIX4.js +0 -10
  88. package/dist/chunk-Y7XG7IJ6.cjs +0 -18
@@ -1,11 +1,10 @@
1
1
  import {
2
2
  C,
3
3
  N
4
- } from "./chunk-IFBRUMYX.js";
4
+ } from "./chunk-KTLBDGE7.js";
5
5
  import {
6
- __name,
7
6
  init_esm_shims
8
- } from "./chunk-EJRTGQIY.js";
7
+ } from "./chunk-W2TU25OT.js";
9
8
 
10
9
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs
11
10
  init_esm_shims();
@@ -24,11 +23,9 @@ function $(n, l = false) {
24
23
  }
25
24
  return s < i && (c = -1), c;
26
25
  }
27
- __name(I, "I");
28
26
  function V(i) {
29
27
  e = i, u = "", p = 0, k = 16, b = 0;
30
28
  }
31
- __name(V, "V");
32
29
  function F() {
33
30
  let i = e;
34
31
  if (n.charCodeAt(e) === 48) e++;
@@ -42,7 +39,6 @@ function $(n, l = false) {
42
39
  } else b = 3;
43
40
  return n.substring(i, T);
44
41
  }
45
- __name(F, "F");
46
42
  function j() {
47
43
  let i = "", T = e;
48
44
  for (; ; ) {
@@ -104,7 +100,6 @@ function $(n, l = false) {
104
100
  }
105
101
  return i;
106
102
  }
107
- __name(j, "j");
108
103
  function w() {
109
104
  if (u = "", b = 0, p = e, o = A, B = O, e >= g) return p = g, k = 17;
110
105
  let i = n.charCodeAt(e);
@@ -181,7 +176,6 @@ function $(n, l = false) {
181
176
  return u += String.fromCharCode(i), e++, k = 16;
182
177
  }
183
178
  }
184
- __name(w, "w");
185
179
  function v(i) {
186
180
  if (J(i) || r(i)) return false;
187
181
  switch (i) {
@@ -197,7 +191,6 @@ function $(n, l = false) {
197
191
  }
198
192
  return true;
199
193
  }
200
- __name(v, "v");
201
194
  function E() {
202
195
  let i;
203
196
  do
@@ -205,22 +198,17 @@ function $(n, l = false) {
205
198
  while (i >= 12 && i <= 15);
206
199
  return i;
207
200
  }
208
- __name(E, "E");
209
- return { setPosition: V, getPosition: /* @__PURE__ */ __name(() => e, "getPosition"), scan: l ? E : w, getToken: /* @__PURE__ */ __name(() => k, "getToken"), getTokenValue: /* @__PURE__ */ __name(() => u, "getTokenValue"), getTokenOffset: /* @__PURE__ */ __name(() => p, "getTokenOffset"), getTokenLength: /* @__PURE__ */ __name(() => e - p, "getTokenLength"), getTokenStartLine: /* @__PURE__ */ __name(() => o, "getTokenStartLine"), getTokenStartCharacter: /* @__PURE__ */ __name(() => p - B, "getTokenStartCharacter"), getTokenError: /* @__PURE__ */ __name(() => b, "getTokenError") };
201
+ return { setPosition: V, getPosition: () => e, scan: l ? E : w, getToken: () => k, getTokenValue: () => u, getTokenOffset: () => p, getTokenLength: () => e - p, getTokenStartLine: () => o, getTokenStartCharacter: () => p - B, getTokenError: () => b };
210
202
  }
211
- __name($, "$");
212
203
  function J(n) {
213
204
  return n === 32 || n === 9;
214
205
  }
215
- __name(J, "J");
216
206
  function r(n) {
217
207
  return n === 10 || n === 13;
218
208
  }
219
- __name(r, "r");
220
209
  function L(n) {
221
210
  return n >= 48 && n <= 57;
222
211
  }
223
- __name(L, "L");
224
212
  var Q;
225
213
  (function(n) {
226
214
  n[n.lineFeed = 10] = "lineFeed", n[n.carriageReturn = 13] = "carriageReturn", n[n.space = 32] = "space", n[n._0 = 48] = "_0", n[n._1 = 49] = "_1", n[n._2 = 50] = "_2", n[n._3 = 51] = "_3", n[n._4 = 52] = "_4", n[n._5 = 53] = "_5", n[n._6 = 54] = "_6", n[n._7 = 55] = "_7", n[n._8 = 56] = "_8", n[n._9 = 57] = "_9", n[n.a = 97] = "a", n[n.b = 98] = "b", n[n.c = 99] = "c", n[n.d = 100] = "d", n[n.e = 101] = "e", n[n.f = 102] = "f", n[n.g = 103] = "g", n[n.h = 104] = "h", n[n.i = 105] = "i", n[n.j = 106] = "j", n[n.k = 107] = "k", n[n.l = 108] = "l", n[n.m = 109] = "m", n[n.n = 110] = "n", n[n.o = 111] = "o", n[n.p = 112] = "p", n[n.q = 113] = "q", n[n.r = 114] = "r", n[n.s = 115] = "s", n[n.t = 116] = "t", n[n.u = 117] = "u", n[n.v = 118] = "v", n[n.w = 119] = "w", n[n.x = 120] = "x", n[n.y = 121] = "y", n[n.z = 122] = "z", n[n.A = 65] = "A", n[n.B = 66] = "B", n[n.C = 67] = "C", n[n.D = 68] = "D", n[n.E = 69] = "E", n[n.F = 70] = "F", n[n.G = 71] = "G", n[n.H = 72] = "H", n[n.I = 73] = "I", n[n.J = 74] = "J", n[n.K = 75] = "K", n[n.L = 76] = "L", n[n.M = 77] = "M", n[n.N = 78] = "N", n[n.O = 79] = "O", n[n.P = 80] = "P", n[n.Q = 81] = "Q", n[n.R = 82] = "R", n[n.S = 83] = "S", n[n.T = 84] = "T", n[n.U = 85] = "U", n[n.V = 86] = "V", n[n.W = 87] = "W", n[n.X = 88] = "X", n[n.Y = 89] = "Y", n[n.Z = 90] = "Z", n[n.asterisk = 42] = "asterisk", n[n.backslash = 92] = "backslash", n[n.closeBrace = 125] = "closeBrace", n[n.closeBracket = 93] = "closeBracket", n[n.colon = 58] = "colon", n[n.comma = 44] = "comma", n[n.dot = 46] = "dot", n[n.doubleQuote = 34] = "doubleQuote", n[n.minus = 45] = "minus", n[n.openBrace = 123] = "openBrace", n[n.openBracket = 91] = "openBracket", n[n.plus = 43] = "plus", n[n.slash = 47] = "slash", n[n.formFeed = 12] = "formFeed", n[n.tab = 9] = "tab";
@@ -241,51 +229,44 @@ function S(n, l = [], g = U.DEFAULT) {
241
229
  function k(o) {
242
230
  Array.isArray(u) ? u.push(o) : e !== null && (u[e] = o);
243
231
  }
244
- __name(k, "k");
245
- return P(n, { onObjectBegin: /* @__PURE__ */ __name(() => {
232
+ return P(n, { onObjectBegin: () => {
246
233
  const o = {};
247
234
  k(o), p.push(u), u = o, e = null;
248
- }, "onObjectBegin"), onObjectProperty: /* @__PURE__ */ __name((o) => {
235
+ }, onObjectProperty: (o) => {
249
236
  e = o;
250
- }, "onObjectProperty"), onObjectEnd: /* @__PURE__ */ __name(() => {
237
+ }, onObjectEnd: () => {
251
238
  u = p.pop();
252
- }, "onObjectEnd"), onArrayBegin: /* @__PURE__ */ __name(() => {
239
+ }, onArrayBegin: () => {
253
240
  const o = [];
254
241
  k(o), p.push(u), u = o, e = null;
255
- }, "onArrayBegin"), onArrayEnd: /* @__PURE__ */ __name(() => {
242
+ }, onArrayEnd: () => {
256
243
  u = p.pop();
257
- }, "onArrayEnd"), onLiteralValue: k, onError: /* @__PURE__ */ __name((o, O, B) => {
244
+ }, onLiteralValue: k, onError: (o, O, B) => {
258
245
  l.push({ error: o, offset: O, length: B });
259
- }, "onError") }, g), u[0];
246
+ } }, g), u[0];
260
247
  }
261
- __name(S, "S");
262
248
  function P(n, l, g = U.DEFAULT) {
263
249
  const e = $(n, false), u = [];
264
250
  let p = 0;
265
251
  function k(f) {
266
252
  return f ? () => p === 0 && f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => true;
267
253
  }
268
- __name(k, "k");
269
254
  function A(f) {
270
255
  return f ? (m) => p === 0 && f(m, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => true;
271
256
  }
272
- __name(A, "A");
273
257
  function o(f) {
274
258
  return f ? (m) => p === 0 && f(m, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) : () => true;
275
259
  }
276
- __name(o, "o");
277
260
  function O(f) {
278
261
  return f ? () => {
279
262
  p > 0 ? p++ : f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) === false && (p = 1);
280
263
  } : () => true;
281
264
  }
282
- __name(O, "O");
283
265
  function B(f) {
284
266
  return f ? () => {
285
267
  p > 0 && p--, p === 0 && f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter());
286
268
  } : () => true;
287
269
  }
288
- __name(B, "B");
289
270
  const b = O(l.onObjectBegin), I = o(l.onObjectProperty), V = B(l.onObjectEnd), F = O(l.onArrayBegin), j = B(l.onArrayEnd), w = o(l.onLiteralValue), v = A(l.onSeparator), E = k(l.onComment), i = A(l.onError), T = g && g.disallowComments, s = g && g.allowTrailingComma;
290
271
  function c() {
291
272
  for (; ; ) {
@@ -326,7 +307,6 @@ function P(n, l, g = U.DEFAULT) {
326
307
  }
327
308
  }
328
309
  }
329
- __name(c, "c");
330
310
  function t(f, m = [], y = []) {
331
311
  if (i(f), m.length + y.length > 0) {
332
312
  let _ = e.getToken();
@@ -339,12 +319,10 @@ function P(n, l, g = U.DEFAULT) {
339
319
  }
340
320
  }
341
321
  }
342
- __name(t, "t");
343
322
  function D(f) {
344
323
  const m = e.getTokenValue();
345
324
  return f ? w(m) : (I(m), u.push(m)), c(), true;
346
325
  }
347
- __name(D, "D");
348
326
  function G() {
349
327
  switch (e.getToken()) {
350
328
  case 11:
@@ -366,11 +344,9 @@ function P(n, l, g = U.DEFAULT) {
366
344
  }
367
345
  return c(), true;
368
346
  }
369
- __name(G, "G");
370
347
  function M() {
371
348
  return e.getToken() !== 10 ? (t(3, [], [2, 5]), false) : (D(false), e.getToken() === 6 ? (v(":"), c(), a() || t(4, [], [2, 5])) : t(5, [], [2, 5]), u.pop(), true);
372
349
  }
373
- __name(M, "M");
374
350
  function X() {
375
351
  b(), c();
376
352
  let f = false;
@@ -382,7 +358,6 @@ function P(n, l, g = U.DEFAULT) {
382
358
  }
383
359
  return V(), e.getToken() !== 2 ? t(7, [2], []) : c(), true;
384
360
  }
385
- __name(X, "X");
386
361
  function Y() {
387
362
  F(), c();
388
363
  let f = true, m = false;
@@ -394,7 +369,6 @@ function P(n, l, g = U.DEFAULT) {
394
369
  }
395
370
  return j(), f || u.pop(), e.getToken() !== 4 ? t(8, [4], []) : c(), true;
396
371
  }
397
- __name(Y, "Y");
398
372
  function a() {
399
373
  switch (e.getToken()) {
400
374
  case 3:
@@ -407,10 +381,8 @@ function P(n, l, g = U.DEFAULT) {
407
381
  return G();
408
382
  }
409
383
  }
410
- __name(a, "a");
411
384
  return c(), e.getToken() === 17 ? g.allowEmptyContent ? true : (t(4, [], []), false) : a() ? (e.getToken() !== 17 && t(9, [], []), true) : (t(4, [], []), false);
412
385
  }
413
- __name(P, "P");
414
386
  var W;
415
387
  (function(n) {
416
388
  n[n.None = 0] = "None", n[n.UnexpectedEndOfComment = 1] = "UnexpectedEndOfComment", n[n.UnexpectedEndOfString = 2] = "UnexpectedEndOfString", n[n.UnexpectedEndOfNumber = 3] = "UnexpectedEndOfNumber", n[n.InvalidUnicode = 4] = "InvalidUnicode", n[n.InvalidEscapeCharacter = 5] = "InvalidEscapeCharacter", n[n.InvalidCharacter = 6] = "InvalidCharacter";
@@ -428,21 +400,17 @@ function x(n, l) {
428
400
  const g = JSON.parse(n, l?.reviver);
429
401
  return N(n, g, l), g;
430
402
  }
431
- __name(x, "x");
432
403
  function z(n, l) {
433
404
  const g = C(n, l), e = JSON.stringify(n, l?.replacer, g.indent);
434
405
  return g.whitespace.start + e + g.whitespace.end;
435
406
  }
436
- __name(z, "z");
437
407
  function h(n, l) {
438
408
  const g = K(n, l?.errors, l);
439
409
  return N(n, g, l), g;
440
410
  }
441
- __name(h, "h");
442
411
  function d(n, l) {
443
412
  return z(n, l);
444
413
  }
445
- __name(d, "d");
446
414
 
447
415
  export {
448
416
  x,
@@ -4,7 +4,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
7
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
8
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
9
  }) : x)(function(x) {
@@ -39,11 +38,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
39
38
  ));
40
39
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
40
 
42
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=f38aab44b872fc3814414c6a0e9d6e644f0efcadfc3a3eff3f293f7a0295534d__11c18a981686f6a33e045201f02415b6/node_modules/tsup/assets/cjs_shims.js
41
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=616d4d8468728c5caa25e7b97fe871f667b5342103b43bda8e891020bc6b674a__e7bfd10e92d28211ce978b182e37e925/node_modules/tsup/assets/cjs_shims.js
43
42
  var getImportMetaUrl, importMetaUrl;
44
43
  var init_cjs_shims = __esm({
45
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=f38aab44b872fc3814414c6a0e9d6e644f0efcadfc3a3eff3f293f7a0295534d__11c18a981686f6a33e045201f02415b6/node_modules/tsup/assets/cjs_shims.js"() {
46
- getImportMetaUrl = /* @__PURE__ */ __name(() => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href, "getImportMetaUrl");
44
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=616d4d8468728c5caa25e7b97fe871f667b5342103b43bda8e891020bc6b674a__e7bfd10e92d28211ce978b182e37e925/node_modules/tsup/assets/cjs_shims.js"() {
45
+ getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
47
46
  importMetaUrl = exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
48
47
  }
49
48
  });
@@ -57,5 +56,4 @@ var init_cjs_shims = __esm({
57
56
 
58
57
 
59
58
 
60
-
61
- exports.__name = __name; exports.__require = __require; exports.__esm = __esm; exports.__commonJS = __commonJS; exports.__export = __export; exports.__toESM = __toESM; exports.__toCommonJS = __toCommonJS; exports.importMetaUrl = importMetaUrl; exports.init_cjs_shims = init_cjs_shims;
59
+ exports.__require = __require; exports.__esm = __esm; exports.__commonJS = __commonJS; exports.__export = __export; exports.__toESM = __toESM; exports.__toCommonJS = __toCommonJS; exports.importMetaUrl = importMetaUrl; exports.init_cjs_shims = init_cjs_shims;
@@ -1,19 +1,14 @@
1
1
  import {
2
- __name,
3
2
  init_esm_shims
4
- } from "./chunk-EJRTGQIY.js";
3
+ } from "./chunk-W2TU25OT.js";
5
4
 
6
5
  // ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs
7
6
  init_esm_shims();
8
7
  function serialize(o) {
9
8
  return typeof o == "string" ? `'${o}'` : new c().serialize(o);
10
9
  }
11
- __name(serialize, "serialize");
12
10
  var c = /* @__PURE__ */ function() {
13
11
  class o {
14
- static {
15
- __name(this, "o");
16
- }
17
12
  #t = /* @__PURE__ */ new Map();
18
13
  compare(t, r) {
19
14
  const e = typeof t, n = typeof r;
@@ -109,7 +104,6 @@ function isEqual(object1, object2) {
109
104
  }
110
105
  return false;
111
106
  }
112
- __name(isEqual, "isEqual");
113
107
 
114
108
  export {
115
109
  serialize,
@@ -0,0 +1,25 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
+
3
+ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
4
+
5
+ // src/utilities/check-package-version.ts
6
+ _chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
7
+ var isPackageVersionChanged = (fields) => _optionalChain([fields, 'optionalAccess', _ => _.some, 'call', _2 => _2(
8
+ (arg) => arg.includes("package-lock.json") || arg.includes("yarn.lock") || arg.includes("pnpm-lock.json") || arg.includes("pnpm-lock.yaml") || arg.includes("pnpm-lock.yml") || arg.includes("bun.lockb")
9
+ )]);
10
+ var checkPackageVersion = (fields) => {
11
+ if (isPackageVersionChanged(fields)) {
12
+ console.warn(
13
+ [
14
+ "\u26A0\uFE0F ----------------------------------------------------------------------------------------- \u26A0\uFE0F",
15
+ "\u26A0\uFE0F The pnpm-lock file changed! Please run `pnpm i` to ensure your packages are up to date. \u26A0\uFE0F",
16
+ "\u26A0\uFE0F ----------------------------------------------------------------------------------------- \u26A0\uFE0F"
17
+ ].join("\n")
18
+ );
19
+ }
20
+ };
21
+
22
+
23
+
24
+
25
+ exports.isPackageVersionChanged = isPackageVersionChanged; exports.checkPackageVersion = checkPackageVersion;
@@ -4,7 +4,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
7
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
8
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
9
  }) : x)(function(x) {
@@ -38,14 +37,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
37
  mod
39
38
  ));
40
39
 
41
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=f38aab44b872fc3814414c6a0e9d6e644f0efcadfc3a3eff3f293f7a0295534d__11c18a981686f6a33e045201f02415b6/node_modules/tsup/assets/esm_shims.js
40
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=616d4d8468728c5caa25e7b97fe871f667b5342103b43bda8e891020bc6b674a__e7bfd10e92d28211ce978b182e37e925/node_modules/tsup/assets/esm_shims.js
42
41
  var init_esm_shims = __esm({
43
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=f38aab44b872fc3814414c6a0e9d6e644f0efcadfc3a3eff3f293f7a0295534d__11c18a981686f6a33e045201f02415b6/node_modules/tsup/assets/esm_shims.js"() {
42
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=616d4d8468728c5caa25e7b97fe871f667b5342103b43bda8e891020bc6b674a__e7bfd10e92d28211ce978b182e37e925/node_modules/tsup/assets/esm_shims.js"() {
44
43
  }
45
44
  });
46
45
 
47
46
  export {
48
- __name,
49
47
  __require,
50
48
  __esm,
51
49
  __commonJS,