@storm-software/git-tools 2.104.41 → 2.104.42
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/README.md +2 -1
- package/bin/{chunk-CNSINS6M.cjs → chunk-3YCY7WOJ.cjs} +153 -153
- package/bin/{chunk-IGPA3E4X.cjs → chunk-4VYGXQ63.cjs} +388 -388
- package/bin/chunk-4YADVZY3.js +4056 -0
- package/bin/{chunk-HA4RU2IV.js → chunk-6LCOCP5R.js} +2 -2
- package/bin/{chunk-3AY2ETGU.cjs → chunk-76QSQFB2.cjs} +5 -5
- package/bin/{chunk-J5V6RN7J.js → chunk-ALVTBP6X.js} +2 -2
- package/bin/{chunk-PA2TTU2X.cjs → chunk-AS2SJCPQ.cjs} +2227 -2227
- package/bin/{chunk-YB4LN235.js → chunk-BAUD34AK.js} +2 -4
- package/bin/{chunk-4SG6L7KZ.js → chunk-DKE6RUCO.js} +2 -2
- package/bin/{chunk-DI42VU2Y.js → chunk-H6XAJ45L.js} +2 -2
- package/bin/{chunk-XKYC75ZP.cjs → chunk-LJBGJPPU.cjs} +32 -32
- package/bin/{chunk-6QH67MDH.cjs → chunk-OC2DNWXQ.cjs} +44 -44
- package/bin/{chunk-IXEFC2CN.js → chunk-PDS3VIYI.js} +3763 -4115
- package/bin/{chunk-S7AYYV7F.js → chunk-PJBUPPE5.js} +2 -2
- package/bin/{chunk-2XK2GEHX.js → chunk-PKUTAHKY.js} +1 -1
- package/bin/{chunk-IFSA3KTA.cjs → chunk-PMS5GJKU.cjs} +2 -2
- package/bin/{chunk-Y2FQGYTE.cjs → chunk-QX54YOLJ.cjs} +4 -4
- package/bin/{chunk-HDBERUPP.cjs → chunk-RAZSMU2Y.cjs} +11 -11
- package/bin/{chunk-UCAWAVXZ.cjs → chunk-RHUTEEJZ.cjs} +40 -40
- package/bin/{chunk-LJWC4RB6.cjs → chunk-RIRBANM7.cjs} +3 -3
- package/bin/{chunk-PROSABYQ.js → chunk-SLKOUTYF.js} +1 -1
- package/bin/{chunk-TIZIZUQQ.js → chunk-TINWNS4N.js} +1 -1
- package/bin/{chunk-5A2B7ARD.cjs → chunk-UNBZYSZQ.cjs} +138 -138
- package/bin/{chunk-FEODEU53.js → chunk-UNNNRATD.js} +1 -1
- package/bin/{dist-6EVS2APL.cjs → dist-DA6ER5UH.cjs} +8 -8
- package/bin/{dist-JF7DX2LS.js → dist-EGDS6DHF.js} +2 -2
- package/bin/{dist-BJOKLL2B.cjs → dist-FFCMM5V4.cjs} +1038 -1038
- package/bin/{dist-ADN34VBT.js → dist-RGSEOYRN.js} +3646 -3411
- package/bin/{esm-N7PG3VBM.cjs → esm-APEBY4LU.cjs} +46 -46
- package/bin/{esm-YB4IW5RJ.js → esm-WJBKFFXO.js} +1 -1
- package/bin/git.cjs +4694 -4694
- package/bin/git.js +42195 -34413
- package/bin/json5-XU2RUFJQ.js +10 -0
- package/bin/json5-YV5I4DH3.cjs +10 -0
- package/bin/jsonc-6LA7Y6SO.cjs +15 -0
- package/bin/{jsonc-34WDTSBH.js → jsonc-UXZUXE5A.js} +3 -3
- package/bin/{multipart-parser-DPSN2VJY.cjs → multipart-parser-57V34SDK.cjs} +11 -11
- package/bin/multipart-parser-JM5SRUGB.js +191 -0
- package/bin/post-checkout.cjs +22 -22
- package/bin/post-checkout.js +10 -10
- package/bin/post-commit.cjs +22 -22
- package/bin/post-commit.js +10 -10
- package/bin/post-merge.cjs +22 -22
- package/bin/post-merge.js +10 -10
- package/bin/pre-commit.cjs +20 -20
- package/bin/pre-commit.js +9 -9
- package/bin/pre-install.cjs +19 -19
- package/bin/pre-install.js +9 -9
- package/bin/pre-push.cjs +27 -27
- package/bin/pre-push.js +10 -10
- package/bin/prepare.cjs +17 -17
- package/bin/prepare.js +9 -9
- package/bin/toml-4VVY5LRD.js +10 -0
- package/bin/toml-DQ4EZ2G5.cjs +10 -0
- package/bin/{utils-ATNNBHPH.cjs → utils-AT5XGAT4.cjs} +10 -10
- package/bin/{utils-JWX7FC4K.js → utils-YJUYC3LM.js} +2 -2
- package/bin/version-warning.cjs +15 -15
- package/bin/version-warning.js +9 -9
- package/bin/yaml-3BWWOPH3.js +10 -0
- package/bin/yaml-V6LUJIDL.cjs +10 -0
- package/package.json +1 -1
- package/bin/chunk-IP7YEHGA.js +0 -4054
- package/bin/json5-6IUD42I6.cjs +0 -10
- package/bin/json5-UX4MLDSU.js +0 -10
- package/bin/jsonc-ZKQ2BUN6.cjs +0 -15
- package/bin/multipart-parser-57ARWDE7.js +0 -187
- package/bin/toml-PMEOAAI4.cjs +0 -10
- package/bin/toml-ZZYFXS46.js +0 -10
- package/bin/yaml-OLXTLVXQ.cjs +0 -10
- package/bin/yaml-PLGSS3L5.js +0 -10
package/bin/json5-6IUD42I6.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkXKYC75ZPcjs = require('./chunk-XKYC75ZP.cjs');
|
|
5
|
-
require('./chunk-HDBERUPP.cjs');
|
|
6
|
-
require('./chunk-IFSA3KTA.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.parseJSON5 = _chunkXKYC75ZPcjs.ou; exports.stringifyJSON5 = _chunkXKYC75ZPcjs.cu;
|
package/bin/json5-UX4MLDSU.js
DELETED
package/bin/jsonc-ZKQ2BUN6.cjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk6QH67MDHcjs = require('./chunk-6QH67MDH.cjs');
|
|
5
|
-
require('./chunk-HDBERUPP.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkIFSA3KTAcjs = require('./chunk-IFSA3KTA.cjs');
|
|
9
|
-
|
|
10
|
-
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
|
-
_chunkIFSA3KTAcjs.init_cjs_shims.call(void 0, );
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
exports.parseJSONC = _chunk6QH67MDHcjs.h; exports.stringifyJSONC = _chunk6QH67MDHcjs.d;
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
require_node,
|
|
3
|
-
require_node_fetch_native_DhEqb06g
|
|
4
|
-
} from "./chunk-IP7YEHGA.js";
|
|
5
|
-
import {
|
|
6
|
-
__commonJS,
|
|
7
|
-
__name,
|
|
8
|
-
__require,
|
|
9
|
-
init_esm_shims
|
|
10
|
-
} from "./chunk-YB4LN235.js";
|
|
11
|
-
|
|
12
|
-
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
|
|
13
|
-
var require_multipart_parser = __commonJS({
|
|
14
|
-
"../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"(exports) {
|
|
15
|
-
init_esm_shims();
|
|
16
|
-
var N = Object.defineProperty;
|
|
17
|
-
var c = /* @__PURE__ */ __name((_, a) => N(_, "name", { value: a, configurable: true }), "c");
|
|
18
|
-
__require("node:fs"), __require("node:path");
|
|
19
|
-
var node = require_node();
|
|
20
|
-
__require("node:http"), __require("node:https"), __require("node:zlib"), __require("node:stream"), __require("node:buffer"), __require("node:util"), require_node_fetch_native_DhEqb06g(), __require("node:url"), __require("node:net");
|
|
21
|
-
var s = 0;
|
|
22
|
-
var S = { START_BOUNDARY: s++, HEADER_FIELD_START: s++, HEADER_FIELD: s++, HEADER_VALUE_START: s++, HEADER_VALUE: s++, HEADER_VALUE_ALMOST_DONE: s++, HEADERS_ALMOST_DONE: s++, PART_DATA_START: s++, PART_DATA: s++, END: s++ };
|
|
23
|
-
var f = 1;
|
|
24
|
-
var F = { PART_BOUNDARY: f, LAST_BOUNDARY: f *= 2 };
|
|
25
|
-
var LF = 10;
|
|
26
|
-
var CR = 13;
|
|
27
|
-
var SPACE = 32;
|
|
28
|
-
var HYPHEN = 45;
|
|
29
|
-
var COLON = 58;
|
|
30
|
-
var A = 97;
|
|
31
|
-
var Z = 122;
|
|
32
|
-
var lower = c((_) => _ | 32, "lower");
|
|
33
|
-
var noop = c(() => {
|
|
34
|
-
}, "noop");
|
|
35
|
-
var MultipartParser = class {
|
|
36
|
-
static {
|
|
37
|
-
__name(this, "MultipartParser");
|
|
38
|
-
}
|
|
39
|
-
static {
|
|
40
|
-
c(this, "MultipartParser");
|
|
41
|
-
}
|
|
42
|
-
constructor(a) {
|
|
43
|
-
this.index = 0, this.flags = 0, this.onHeaderEnd = noop, this.onHeaderField = noop, this.onHeadersEnd = noop, this.onHeaderValue = noop, this.onPartBegin = noop, this.onPartData = noop, this.onPartEnd = noop, this.boundaryChars = {}, a = `\r
|
|
44
|
-
--` + a;
|
|
45
|
-
const t = new Uint8Array(a.length);
|
|
46
|
-
for (let n = 0; n < a.length; n++) t[n] = a.charCodeAt(n), this.boundaryChars[t[n]] = true;
|
|
47
|
-
this.boundary = t, this.lookbehind = new Uint8Array(this.boundary.length + 8), this.state = S.START_BOUNDARY;
|
|
48
|
-
}
|
|
49
|
-
write(a) {
|
|
50
|
-
let t = 0;
|
|
51
|
-
const n = a.length;
|
|
52
|
-
let E = this.index, { lookbehind: d, boundary: h, boundaryChars: H, index: e, state: o, flags: l } = this;
|
|
53
|
-
const b = this.boundary.length, m = b - 1, O = a.length;
|
|
54
|
-
let r, P;
|
|
55
|
-
const u = c((D) => {
|
|
56
|
-
this[D + "Mark"] = t;
|
|
57
|
-
}, "mark"), i = c((D) => {
|
|
58
|
-
delete this[D + "Mark"];
|
|
59
|
-
}, "clear"), T = c((D, p, R, g) => {
|
|
60
|
-
(p === void 0 || p !== R) && this[D](g && g.subarray(p, R));
|
|
61
|
-
}, "callback"), L = c((D, p) => {
|
|
62
|
-
const R = D + "Mark";
|
|
63
|
-
R in this && (p ? (T(D, this[R], t, a), delete this[R]) : (T(D, this[R], a.length, a), this[R] = 0));
|
|
64
|
-
}, "dataCallback");
|
|
65
|
-
for (t = 0; t < n; t++) switch (r = a[t], o) {
|
|
66
|
-
case S.START_BOUNDARY:
|
|
67
|
-
if (e === h.length - 2) {
|
|
68
|
-
if (r === HYPHEN) l |= F.LAST_BOUNDARY;
|
|
69
|
-
else if (r !== CR) return;
|
|
70
|
-
e++;
|
|
71
|
-
break;
|
|
72
|
-
} else if (e - 1 === h.length - 2) {
|
|
73
|
-
if (l & F.LAST_BOUNDARY && r === HYPHEN) o = S.END, l = 0;
|
|
74
|
-
else if (!(l & F.LAST_BOUNDARY) && r === LF) e = 0, T("onPartBegin"), o = S.HEADER_FIELD_START;
|
|
75
|
-
else return;
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
78
|
-
r !== h[e + 2] && (e = -2), r === h[e + 2] && e++;
|
|
79
|
-
break;
|
|
80
|
-
case S.HEADER_FIELD_START:
|
|
81
|
-
o = S.HEADER_FIELD, u("onHeaderField"), e = 0;
|
|
82
|
-
case S.HEADER_FIELD:
|
|
83
|
-
if (r === CR) {
|
|
84
|
-
i("onHeaderField"), o = S.HEADERS_ALMOST_DONE;
|
|
85
|
-
break;
|
|
86
|
-
}
|
|
87
|
-
if (e++, r === HYPHEN) break;
|
|
88
|
-
if (r === COLON) {
|
|
89
|
-
if (e === 1) return;
|
|
90
|
-
L("onHeaderField", true), o = S.HEADER_VALUE_START;
|
|
91
|
-
break;
|
|
92
|
-
}
|
|
93
|
-
if (P = lower(r), P < A || P > Z) return;
|
|
94
|
-
break;
|
|
95
|
-
case S.HEADER_VALUE_START:
|
|
96
|
-
if (r === SPACE) break;
|
|
97
|
-
u("onHeaderValue"), o = S.HEADER_VALUE;
|
|
98
|
-
case S.HEADER_VALUE:
|
|
99
|
-
r === CR && (L("onHeaderValue", true), T("onHeaderEnd"), o = S.HEADER_VALUE_ALMOST_DONE);
|
|
100
|
-
break;
|
|
101
|
-
case S.HEADER_VALUE_ALMOST_DONE:
|
|
102
|
-
if (r !== LF) return;
|
|
103
|
-
o = S.HEADER_FIELD_START;
|
|
104
|
-
break;
|
|
105
|
-
case S.HEADERS_ALMOST_DONE:
|
|
106
|
-
if (r !== LF) return;
|
|
107
|
-
T("onHeadersEnd"), o = S.PART_DATA_START;
|
|
108
|
-
break;
|
|
109
|
-
case S.PART_DATA_START:
|
|
110
|
-
o = S.PART_DATA, u("onPartData");
|
|
111
|
-
case S.PART_DATA:
|
|
112
|
-
if (E = e, e === 0) {
|
|
113
|
-
for (t += m; t < O && !(a[t] in H); ) t += b;
|
|
114
|
-
t -= m, r = a[t];
|
|
115
|
-
}
|
|
116
|
-
if (e < h.length) h[e] === r ? (e === 0 && L("onPartData", true), e++) : e = 0;
|
|
117
|
-
else if (e === h.length) e++, r === CR ? l |= F.PART_BOUNDARY : r === HYPHEN ? l |= F.LAST_BOUNDARY : e = 0;
|
|
118
|
-
else if (e - 1 === h.length) if (l & F.PART_BOUNDARY) {
|
|
119
|
-
if (e = 0, r === LF) {
|
|
120
|
-
l &= ~F.PART_BOUNDARY, T("onPartEnd"), T("onPartBegin"), o = S.HEADER_FIELD_START;
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
|
-
} else l & F.LAST_BOUNDARY && r === HYPHEN ? (T("onPartEnd"), o = S.END, l = 0) : e = 0;
|
|
124
|
-
if (e > 0) d[e - 1] = r;
|
|
125
|
-
else if (E > 0) {
|
|
126
|
-
const D = new Uint8Array(d.buffer, d.byteOffset, d.byteLength);
|
|
127
|
-
T("onPartData", 0, E, D), E = 0, u("onPartData"), t--;
|
|
128
|
-
}
|
|
129
|
-
break;
|
|
130
|
-
case S.END:
|
|
131
|
-
break;
|
|
132
|
-
default:
|
|
133
|
-
throw new Error(`Unexpected state entered: ${o}`);
|
|
134
|
-
}
|
|
135
|
-
L("onHeaderField"), L("onHeaderValue"), L("onPartData"), this.index = e, this.state = o, this.flags = l;
|
|
136
|
-
}
|
|
137
|
-
end() {
|
|
138
|
-
if (this.state === S.HEADER_FIELD_START && this.index === 0 || this.state === S.PART_DATA && this.index === this.boundary.length) this.onPartEnd();
|
|
139
|
-
else if (this.state !== S.END) throw new Error("MultipartParser.end(): stream ended unexpectedly");
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
function _fileName(_) {
|
|
143
|
-
const a = _.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);
|
|
144
|
-
if (!a) return;
|
|
145
|
-
const t = a[2] || a[3] || "";
|
|
146
|
-
let n = t.slice(t.lastIndexOf("\\") + 1);
|
|
147
|
-
return n = n.replace(/%22/g, '"'), n = n.replace(/&#(\d{4});/g, (E, d) => String.fromCharCode(d)), n;
|
|
148
|
-
}
|
|
149
|
-
__name(_fileName, "_fileName");
|
|
150
|
-
c(_fileName, "_fileName");
|
|
151
|
-
async function toFormData(_, a) {
|
|
152
|
-
if (!/multipart/i.test(a)) throw new TypeError("Failed to fetch");
|
|
153
|
-
const t = a.match(/boundary=(?:"([^"]+)"|([^;]+))/i);
|
|
154
|
-
if (!t) throw new TypeError("no or bad content-type header, no multipart boundary");
|
|
155
|
-
const n = new MultipartParser(t[1] || t[2]);
|
|
156
|
-
let E, d, h, H, e, o;
|
|
157
|
-
const l = [], b = new node.FormData(), m = c((i) => {
|
|
158
|
-
h += u.decode(i, { stream: true });
|
|
159
|
-
}, "onPartData"), O = c((i) => {
|
|
160
|
-
l.push(i);
|
|
161
|
-
}, "appendToFile"), r = c(() => {
|
|
162
|
-
const i = new node.File(l, o, { type: e });
|
|
163
|
-
b.append(H, i);
|
|
164
|
-
}, "appendFileToFormData"), P = c(() => {
|
|
165
|
-
b.append(H, h);
|
|
166
|
-
}, "appendEntryToFormData"), u = new TextDecoder("utf-8");
|
|
167
|
-
u.decode(), n.onPartBegin = function() {
|
|
168
|
-
n.onPartData = m, n.onPartEnd = P, E = "", d = "", h = "", H = "", e = "", o = null, l.length = 0;
|
|
169
|
-
}, n.onHeaderField = function(i) {
|
|
170
|
-
E += u.decode(i, { stream: true });
|
|
171
|
-
}, n.onHeaderValue = function(i) {
|
|
172
|
-
d += u.decode(i, { stream: true });
|
|
173
|
-
}, n.onHeaderEnd = function() {
|
|
174
|
-
if (d += u.decode(), E = E.toLowerCase(), E === "content-disposition") {
|
|
175
|
-
const i = d.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);
|
|
176
|
-
i && (H = i[2] || i[3] || ""), o = _fileName(d), o && (n.onPartData = O, n.onPartEnd = r);
|
|
177
|
-
} else E === "content-type" && (e = d);
|
|
178
|
-
d = "", E = "";
|
|
179
|
-
};
|
|
180
|
-
for await (const i of _) n.write(i);
|
|
181
|
-
return n.end(), b;
|
|
182
|
-
}
|
|
183
|
-
__name(toFormData, "toFormData");
|
|
184
|
-
c(toFormData, "toFormData"), exports.toFormData = toFormData;
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
export default require_multipart_parser();
|
package/bin/toml-PMEOAAI4.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkUCAWAVXZcjs = require('./chunk-UCAWAVXZ.cjs');
|
|
5
|
-
require('./chunk-HDBERUPP.cjs');
|
|
6
|
-
require('./chunk-IFSA3KTA.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.parseTOML = _chunkUCAWAVXZcjs.ae; exports.stringifyTOML = _chunkUCAWAVXZcjs.ue;
|
package/bin/toml-ZZYFXS46.js
DELETED
package/bin/yaml-OLXTLVXQ.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk5A2B7ARDcjs = require('./chunk-5A2B7ARD.cjs');
|
|
5
|
-
require('./chunk-HDBERUPP.cjs');
|
|
6
|
-
require('./chunk-IFSA3KTA.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.parseYAML = _chunk5A2B7ARDcjs.Ar; exports.stringifyYAML = _chunk5A2B7ARDcjs.vr;
|