@storm-software/git-tools 2.113.14 → 2.113.17

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 (66) hide show
  1. package/README.md +2 -1
  2. package/bin/{chunk-TOALWLBQ.js → chunk-54Q5U5WW.js} +2 -8
  3. package/bin/chunk-AMSZ7DVW.js +17 -0
  4. package/bin/chunk-CIJVSMK2.cjs +23 -0
  5. package/bin/chunk-DDGJVTT5.cjs +1622 -0
  6. package/bin/chunk-NRQQ6RND.js +1581 -0
  7. package/bin/{chunk-TDO6B2H4.js → chunk-SWXHQXUT.cjs} +3 -8
  8. package/bin/git.cjs +3013 -81697
  9. package/bin/git.js +2825 -91795
  10. package/bin/post-checkout.cjs +16 -36
  11. package/bin/post-checkout.js +3 -25
  12. package/bin/post-commit.cjs +16 -36
  13. package/bin/post-commit.js +3 -25
  14. package/bin/post-merge.cjs +16 -36
  15. package/bin/post-merge.js +3 -25
  16. package/bin/pre-commit.cjs +13 -32
  17. package/bin/pre-commit.js +2 -23
  18. package/bin/pre-install.cjs +12 -29
  19. package/bin/pre-install.js +2 -21
  20. package/bin/pre-push.cjs +33 -50
  21. package/bin/pre-push.js +6 -30
  22. package/bin/prepare.cjs +10 -27
  23. package/bin/prepare.js +2 -21
  24. package/bin/version-warning.cjs +8 -23
  25. package/bin/version-warning.js +2 -19
  26. package/package.json +7 -10
  27. package/bin/chunk-2EJN2ZIP.cjs +0 -3631
  28. package/bin/chunk-2FWQQ2X4.js +0 -35624
  29. package/bin/chunk-335YPSVH.cjs +0 -111
  30. package/bin/chunk-5OLGPOTK.js +0 -1003
  31. package/bin/chunk-5QFXXGFE.js +0 -7427
  32. package/bin/chunk-D2AN4H4B.js +0 -111
  33. package/bin/chunk-DTYNP6HG.js +0 -3634
  34. package/bin/chunk-FMYKTN2Z.cjs +0 -7427
  35. package/bin/chunk-GSZ2Y7H4.cjs +0 -1003
  36. package/bin/chunk-GWDOCACN.cjs +0 -27
  37. package/bin/chunk-H4MEIOPL.cjs +0 -476
  38. package/bin/chunk-HTVOKCRJ.cjs +0 -25
  39. package/bin/chunk-IG6EXAQU.cjs +0 -59
  40. package/bin/chunk-JHBHEVIE.js +0 -55
  41. package/bin/chunk-MXO7CLUN.cjs +0 -739
  42. package/bin/chunk-OKG5KNKQ.js +0 -419
  43. package/bin/chunk-QWTKUQL3.js +0 -739
  44. package/bin/chunk-R7ZVOQ5D.js +0 -476
  45. package/bin/chunk-TVPM4C6Y.cjs +0 -419
  46. package/bin/chunk-UQFYXF6V.cjs +0 -74
  47. package/bin/chunk-VU7MBHMN.js +0 -74
  48. package/bin/chunk-WOADGD4X.cjs +0 -35563
  49. package/bin/dist-GTHSKIW6.cjs +0 -16571
  50. package/bin/dist-JFDTSOSQ.js +0 -33
  51. package/bin/dist-JIPEOSES.js +0 -16736
  52. package/bin/dist-S2SQNR26.cjs +0 -33
  53. package/bin/esm-MJTK2O7U.js +0 -1708
  54. package/bin/esm-NOFJXYSW.cjs +0 -1708
  55. package/bin/json5-PMDKQHWU.js +0 -10
  56. package/bin/json5-XWK64HEF.cjs +0 -10
  57. package/bin/jsonc-GWY6R4PV.js +0 -15
  58. package/bin/jsonc-SBYIKOG2.cjs +0 -15
  59. package/bin/multipart-parser-HT3QRMAQ.cjs +0 -181
  60. package/bin/multipart-parser-LDIDKHXR.js +0 -185
  61. package/bin/toml-CWI7LORJ.cjs +0 -10
  62. package/bin/toml-KVVESQIU.js +0 -10
  63. package/bin/utils-EKXINDVD.js +0 -101
  64. package/bin/utils-P2DNOMLG.cjs +0 -101
  65. package/bin/yaml-WPTJ2ZU5.cjs +0 -10
  66. package/bin/yaml-XEVR3LQS.js +0 -10
@@ -1,111 +0,0 @@
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 _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
4
-
5
- // ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs
6
- _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
7
- function serialize(o) {
8
- return typeof o == "string" ? `'${o}'` : new c().serialize(o);
9
- }
10
- var c = /* @__PURE__ */ function() {
11
- class o {
12
- #t = /* @__PURE__ */ new Map();
13
- compare(t, r) {
14
- const e = typeof t, n = typeof r;
15
- return e === "string" && n === "string" ? t.localeCompare(r) : e === "number" && n === "number" ? t - r : String.prototype.localeCompare.call(this.serialize(t, true), this.serialize(r, true));
16
- }
17
- serialize(t, r) {
18
- if (t === null) return "null";
19
- switch (typeof t) {
20
- case "string":
21
- return r ? t : `'${t}'`;
22
- case "bigint":
23
- return `${t}n`;
24
- case "object":
25
- return this.$object(t);
26
- case "function":
27
- return this.$function(t);
28
- }
29
- return String(t);
30
- }
31
- serializeObject(t) {
32
- const r = Object.prototype.toString.call(t);
33
- if (r !== "[object Object]") return this.serializeBuiltInType(r.length < 10 ? `unknown:${r}` : r.slice(8, -1), t);
34
- const e = t.constructor, n = e === Object || e === void 0 ? "" : e.name;
35
- if (n !== "" && globalThis[n] === e) return this.serializeBuiltInType(n, t);
36
- if (typeof t.toJSON == "function") {
37
- const i = t.toJSON();
38
- return n + (i !== null && typeof i == "object" ? this.$object(i) : `(${this.serialize(i)})`);
39
- }
40
- return this.serializeObjectEntries(n, Object.entries(t));
41
- }
42
- serializeBuiltInType(t, r) {
43
- const e = this["$" + t];
44
- if (e) return e.call(this, r);
45
- if (typeof _optionalChain([r, 'optionalAccess', _ => _.entries]) == "function") return this.serializeObjectEntries(t, r.entries());
46
- throw new Error(`Cannot serialize ${t}`);
47
- }
48
- serializeObjectEntries(t, r) {
49
- const e = Array.from(r).sort((i, a) => this.compare(i[0], a[0]));
50
- let n = `${t}{`;
51
- for (let i = 0; i < e.length; i++) {
52
- const [a, l] = e[i];
53
- n += `${this.serialize(a, true)}:${this.serialize(l)}`, i < e.length - 1 && (n += ",");
54
- }
55
- return n + "}";
56
- }
57
- $object(t) {
58
- let r = this.#t.get(t);
59
- return r === void 0 && (this.#t.set(t, `#${this.#t.size}`), r = this.serializeObject(t), this.#t.set(t, r)), r;
60
- }
61
- $function(t) {
62
- const r = Function.prototype.toString.call(t);
63
- return r.slice(-15) === "[native code] }" ? `${t.name || ""}()[native]` : `${t.name}(${t.length})${r.replace(/\s*\n\s*/g, "")}`;
64
- }
65
- $Array(t) {
66
- let r = "[";
67
- for (let e = 0; e < t.length; e++) r += this.serialize(t[e]), e < t.length - 1 && (r += ",");
68
- return r + "]";
69
- }
70
- $Date(t) {
71
- try {
72
- return `Date(${t.toISOString()})`;
73
- } catch (e2) {
74
- return "Date(null)";
75
- }
76
- }
77
- $ArrayBuffer(t) {
78
- return `ArrayBuffer[${new Uint8Array(t).join(",")}]`;
79
- }
80
- $Set(t) {
81
- return `Set${this.$Array(Array.from(t).sort((r, e) => this.compare(r, e)))}`;
82
- }
83
- $Map(t) {
84
- return this.serializeObjectEntries("Map", t.entries());
85
- }
86
- }
87
- for (const s of ["Error", "RegExp", "URL"]) o.prototype["$" + s] = function(t) {
88
- return `${s}(${t})`;
89
- };
90
- for (const s of ["Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]) o.prototype["$" + s] = function(t) {
91
- return `${s}[${t.join(",")}]`;
92
- };
93
- for (const s of ["BigInt64Array", "BigUint64Array"]) o.prototype["$" + s] = function(t) {
94
- return `${s}[${t.join("n,")}${t.length > 0 ? "n" : ""}]`;
95
- };
96
- return o;
97
- }();
98
- function isEqual(object1, object2) {
99
- if (object1 === object2) {
100
- return true;
101
- }
102
- if (serialize(object1) === serialize(object2)) {
103
- return true;
104
- }
105
- return false;
106
- }
107
-
108
-
109
-
110
-
111
- exports.serialize = serialize; exports.isEqual = isEqual;