@storm-software/git-tools 2.93.10 → 2.93.12

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 (69) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-46TFHLDW.js → chunk-3XGJBJX7.js} +1 -1
  3. package/bin/{chunk-QNJB5IEX.cjs → chunk-5NAEFF2X.cjs} +40 -40
  4. package/bin/{chunk-S6G2S5IS.cjs → chunk-7X6YELWM.cjs} +153 -153
  5. package/bin/{chunk-EVE473WJ.cjs → chunk-AUFQBIWE.cjs} +32 -32
  6. package/bin/{chunk-GW4IGINN.js → chunk-CAWZOVX4.js} +2 -2
  7. package/bin/chunk-GYFNF5FR.js +105 -0
  8. package/bin/{chunk-3ZFT4DK5.cjs → chunk-IAVOT7U5.cjs} +2243 -2884
  9. package/bin/{chunk-OKJAVPW6.js → chunk-IQBMCLX2.js} +2 -2
  10. package/bin/{chunk-ELR4T4D7.cjs → chunk-IZ727EE5.cjs} +388 -388
  11. package/bin/chunk-JECY5M2M.cjs +105 -0
  12. package/bin/{chunk-P7N4P3IF.js → chunk-JNHNMXXI.js} +25 -666
  13. package/bin/{chunk-TUNSEFLU.js → chunk-JO24NWND.js} +1 -1
  14. package/bin/{chunk-RWGUF7UA.cjs → chunk-KMH6DPCE.cjs} +138 -138
  15. package/bin/{chunk-VHCDWDKU.js → chunk-L5ZYUSXB.js} +2 -2
  16. package/bin/{chunk-IITIPRA5.js → chunk-LIMYU7MD.js} +2 -2
  17. package/bin/{chunk-LX4SFOZS.js → chunk-LISBOJRQ.js} +1 -1
  18. package/bin/{chunk-QBG5LGWG.cjs → chunk-PVRLG6TD.cjs} +44 -44
  19. package/bin/{chunk-PNTLVS6C.js → chunk-SVL6A23B.js} +2 -2
  20. package/bin/{chunk-662AMFFX.js → chunk-THX4SGV6.js} +2 -2
  21. package/bin/{chunk-7QTYF5B4.cjs → chunk-VAMJFMK7.cjs} +4 -4
  22. package/bin/{chunk-GI3GYRQC.cjs → chunk-VBCOZ7WP.cjs} +2 -2
  23. package/bin/{chunk-276KKXGZ.cjs → chunk-W6TGSUTT.cjs} +3 -3
  24. package/bin/{chunk-HON2WVYK.js → chunk-XMBE7TLV.js} +2 -2
  25. package/bin/{chunk-DC3SIU7G.cjs → chunk-ZRFKGZ7M.cjs} +11 -11
  26. package/bin/dist-7YI5MCCJ.cjs +34 -0
  27. package/bin/{dist-5TRZOPG4.cjs → dist-KAPJ5VJJ.cjs} +1057 -1054
  28. package/bin/{dist-3Y3T6XGP.js → dist-SYG7V2CR.js} +18 -15
  29. package/bin/dist-UUHJC3OE.js +34 -0
  30. package/bin/{esm-IHPSXCMZ.cjs → esm-MSEBOZ3V.cjs} +46 -46
  31. package/bin/{esm-XOMOWV3G.js → esm-PI4FM4JT.js} +1 -1
  32. package/bin/git.cjs +3932 -3932
  33. package/bin/git.js +91 -91
  34. package/bin/json5-6MHBBLXW.js +10 -0
  35. package/bin/json5-TKO4QKHH.cjs +10 -0
  36. package/bin/{jsonc-LABOISKG.js → jsonc-SC2XDCPU.js} +3 -3
  37. package/bin/jsonc-XOWSF47W.cjs +15 -0
  38. package/bin/{multipart-parser-35HXWNWA.js → multipart-parser-IVYN3ZMH.js} +2 -2
  39. package/bin/{multipart-parser-2W57DTWK.cjs → multipart-parser-ULAHO7P2.cjs} +11 -11
  40. package/bin/post-checkout.cjs +22 -22
  41. package/bin/post-checkout.js +10 -10
  42. package/bin/post-commit.cjs +22 -22
  43. package/bin/post-commit.js +10 -10
  44. package/bin/post-merge.cjs +22 -22
  45. package/bin/post-merge.js +10 -10
  46. package/bin/pre-commit.cjs +20 -20
  47. package/bin/pre-commit.js +9 -9
  48. package/bin/pre-install.cjs +19 -19
  49. package/bin/pre-install.js +9 -9
  50. package/bin/pre-push.cjs +27 -27
  51. package/bin/pre-push.js +10 -10
  52. package/bin/prepare.cjs +17 -17
  53. package/bin/prepare.js +9 -9
  54. package/bin/toml-TZ4D4WHK.js +10 -0
  55. package/bin/toml-UPZWP2BY.cjs +10 -0
  56. package/bin/utils-F2HXLJWN.js +120 -0
  57. package/bin/utils-G3OPFIJE.cjs +120 -0
  58. package/bin/version-warning.cjs +15 -15
  59. package/bin/version-warning.js +9 -9
  60. package/bin/yaml-JFKN57YY.cjs +10 -0
  61. package/bin/yaml-S77IVR7P.js +10 -0
  62. package/package.json +1 -1
  63. package/bin/json5-JKGVA4EU.cjs +0 -10
  64. package/bin/json5-NET3LOJ6.js +0 -10
  65. package/bin/jsonc-AHMTY5TZ.cjs +0 -15
  66. package/bin/toml-HKM2W3Q4.js +0 -10
  67. package/bin/toml-NDDPGF5N.cjs +0 -10
  68. package/bin/yaml-UUCBBN32.js +0 -10
  69. package/bin/yaml-Z3AFMP5Z.cjs +0 -10
@@ -0,0 +1,105 @@
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
+
4
+ var _chunkVBCOZ7WPcjs = require('./chunk-VBCOZ7WP.cjs');
5
+
6
+ // ../../node_modules/.pnpm/ohash@2.0.4/node_modules/ohash/dist/shared/ohash.CL_iaQBA.mjs
7
+ _chunkVBCOZ7WPcjs.init_cjs_shims.call(void 0, );
8
+ function serialize(s) {
9
+ if (typeof s == "string") return `'${s}'`;
10
+ const i = new c();
11
+ return i.dispatch(s), i.serialized;
12
+ }
13
+ _chunkVBCOZ7WPcjs.__name.call(void 0, serialize, "serialize");
14
+ var c = /* @__PURE__ */ function() {
15
+ class s {constructor() { s.prototype.__init.call(this); }
16
+ static {
17
+ _chunkVBCOZ7WPcjs.__name.call(void 0, this, "s");
18
+ }
19
+ __init() {this.serialized = ""}
20
+ #t = /* @__PURE__ */ new Map();
21
+ write(t) {
22
+ this.serialized += t;
23
+ }
24
+ dispatch(t) {
25
+ return this["$" + (t === null ? "null" : typeof t)].call(this, t);
26
+ }
27
+ compare(t, r) {
28
+ return typeof t == "string" && typeof r == "string" ? t.localeCompare(r) : serialize(t).localeCompare(serialize(r));
29
+ }
30
+ objectEntries(t, r) {
31
+ const e = Array.from(r).sort((n, a) => this.compare(n[0], a[0]));
32
+ this.write(`${t}{`);
33
+ for (let n = 0; n < e.length; n++) {
34
+ const [a, o] = e[n];
35
+ this.write(`${a}:`), this.dispatch(o), n < e.length - 1 && this.write(",");
36
+ }
37
+ this.write("}");
38
+ }
39
+ $string(t) {
40
+ this.write("'" + t + "'");
41
+ }
42
+ $symbol(t) {
43
+ this.write(t.toString());
44
+ }
45
+ $bigint(t) {
46
+ this.write(`${t}n`);
47
+ }
48
+ $object(t) {
49
+ const r = Object.prototype.toString.call(t);
50
+ let e = "";
51
+ const n = r.length;
52
+ n < 10 ? e = "unknown:[" + r + "]" : e = r.slice(8, n - 1);
53
+ let a = null;
54
+ if ((a = this.#t.get(t)) === void 0) this.#t.set(t, this.#t.size);
55
+ else return this.write(`#${a}`);
56
+ if (e !== "Object" && e !== "Function" && e !== "AsyncFunction") {
57
+ const o = this["$" + e];
58
+ if (o) o.call(this, t);
59
+ else {
60
+ if (typeof _optionalChain([t, 'optionalAccess', _ => _.entries]) == "function") return this.objectEntries(e, t.entries());
61
+ throw new Error(`Cannot serialize ${e}`);
62
+ }
63
+ } else {
64
+ const o = t.constructor.name, l = o === "Object" ? "" : o;
65
+ return typeof t.toJSON == "function" ? (l && this.write(l), this.$object(t.toJSON())) : this.objectEntries(l, Object.entries(t));
66
+ }
67
+ }
68
+ $function(t) {
69
+ const r = Function.prototype.toString.call(t);
70
+ if (r.slice(-15) === "[native code] }") return this.write(`${t.name || ""}()[native]`);
71
+ this.write(`${t.name}(${t.length})${r.replace(/\s*\n\s*/g, "")}`);
72
+ }
73
+ $Array(t) {
74
+ this.write("[");
75
+ for (let r = 0; r < t.length; r++) this.dispatch(t[r]), r < t.length - 1 && this.write(",");
76
+ this.write("]");
77
+ }
78
+ $Date(t) {
79
+ return this.write(`Date(${t.toJSON()})`);
80
+ }
81
+ $ArrayBuffer(t) {
82
+ this.write(`ArrayBuffer[${Array.prototype.slice.call(new Uint8Array(t)).join(",")}]`);
83
+ }
84
+ $Set(t) {
85
+ this.write("Set"), this.$Array(Array.from(t).sort((r, e) => this.compare(r, e)));
86
+ }
87
+ $Map(t) {
88
+ return this.objectEntries("Map", t.entries());
89
+ }
90
+ }
91
+ for (const i of ["boolean", "number", "null", "undefined"]) s.prototype["$" + i] = function(t) {
92
+ return this.write(t);
93
+ };
94
+ for (const i of ["Error", "RegExp", "URL"]) s.prototype["$" + i] = function(t) {
95
+ return this.write(`${i}(${t.toString()})`);
96
+ };
97
+ for (const i of ["Uint8Array", "Uint8ClampedArray", "Unt8Array", "Uint16Array", "Unt16Array", "Uint32Array", "Unt32Array", "Float32Array", "Float64Array"]) s.prototype["$" + i] = function(t) {
98
+ this.write(`${i}[${Array.prototype.slice.call(t).join(",")}]`);
99
+ };
100
+ return s;
101
+ }();
102
+
103
+
104
+
105
+ exports.serialize = serialize;