@storm-software/git-tools 2.93.9 → 2.93.11

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
@@ -8,14 +8,14 @@ import {
8
8
  join,
9
9
  readPackageJSON,
10
10
  resolve
11
- } from "./chunk-IITIPRA5.js";
11
+ } from "./chunk-LIMYU7MD.js";
12
12
  import {
13
13
  __commonJS,
14
14
  __name,
15
15
  __require,
16
16
  __toESM,
17
17
  init_esm_shims
18
- } from "./chunk-662AMFFX.js";
18
+ } from "./chunk-THX4SGV6.js";
19
19
 
20
20
  // ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
21
21
  var require_color_name = __commonJS({
@@ -5248,8 +5248,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
5248
5248
  throw error.url = String(resolved2), error;
5249
5249
  }
5250
5250
  if (!preserveSymlinks2) {
5251
- const real = (0, external_node_fs_namespaceObject.realpathSync)(filePath), { search, hash: hash2 } = resolved2;
5252
- (resolved2 = (0, external_node_url_namespaceObject.pathToFileURL)(real + (filePath.endsWith(external_node_path_namespaceObject.sep) ? "/" : ""))).search = search, resolved2.hash = hash2;
5251
+ const real = (0, external_node_fs_namespaceObject.realpathSync)(filePath), { search, hash } = resolved2;
5252
+ (resolved2 = (0, external_node_url_namespaceObject.pathToFileURL)(real + (filePath.endsWith(external_node_path_namespaceObject.sep) ? "/" : ""))).search = search, resolved2.hash = hash;
5253
5253
  }
5254
5254
  return resolved2;
5255
5255
  }(resolved, base, preserveSymlinks);
@@ -5925,8 +5925,8 @@ Did you specify these with the most recent transformation maps first?`);
5925
5925
  return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(path) ? path : "/" + path, match[3] || "", match[4] || "");
5926
5926
  }
5927
5927
  __name(parseFileUrl, "parseFileUrl");
5928
- function makeUrl(scheme, user, host, port, path, query, hash2) {
5929
- return { scheme, user, host, port, path, query, hash: hash2, type: 7 };
5928
+ function makeUrl(scheme, user, host, port, path, query, hash) {
5929
+ return { scheme, user, host, port, path, query, hash, type: 7 };
5930
5930
  }
5931
5931
  __name(makeUrl, "makeUrl");
5932
5932
  function parseUrl(input) {
@@ -6952,9 +6952,9 @@ Did you specify these with the most recent transformation maps first?`);
6952
6952
  }, Object.keys(env).forEach((key) => {
6953
6953
  createDebug[key] = env[key];
6954
6954
  }), createDebug.names = [], createDebug.skips = [], createDebug.formatters = {}, createDebug.selectColor = function(namespace) {
6955
- let hash2 = 0;
6956
- for (let i = 0; i < namespace.length; i++) hash2 = (hash2 << 5) - hash2 + namespace.charCodeAt(i), hash2 |= 0;
6957
- return createDebug.colors[Math.abs(hash2) % createDebug.colors.length];
6955
+ let hash = 0;
6956
+ for (let i = 0; i < namespace.length; i++) hash = (hash << 5) - hash + namespace.charCodeAt(i), hash |= 0;
6957
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
6958
6958
  }, createDebug.enable(createDebug.load()), createDebug;
6959
6959
  };
6960
6960
  }, "./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js"), "./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js": /* @__PURE__ */ __name((module2, __unused_webpack_exports, __webpack_require__2) => {
@@ -7164,9 +7164,9 @@ Did you specify these with the most recent transformation maps first?`);
7164
7164
  }, "hexadecimal"), toString = object.toString, isArray = Array.isArray, isBigInt = /* @__PURE__ */ __name((value2) => "bigint" == typeof value2, "isBigInt"), singleEscapes = { "\\": "\\\\", "\b": "\\b", "\f": "\\f", "\n": "\\n", "\r": "\\r", " ": "\\t" }, regexSingleEscape = /[\\\b\f\n\r\t]/, regexDigit = /[0-9]/, regexWhitespace = /[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, escapeEverythingRegex = /([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g, escapeNonAsciiRegex = /([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g, jsesc = /* @__PURE__ */ __name((argument, options) => {
7165
7165
  const increaseIndentation = /* @__PURE__ */ __name(() => {
7166
7166
  oldIndent = indent, ++options.indentLevel, indent = options.indent.repeat(options.indentLevel);
7167
- }, "increaseIndentation"), defaults3 = { escapeEverything: false, minimal: false, isScriptContext: false, quotes: "single", wrap: false, es6: false, json: false, compact: true, lowercaseHex: false, numbers: "decimal", indent: " ", indentLevel: 0, __inline1__: false, __inline2__: false }, json = options && options.json;
7167
+ }, "increaseIndentation"), defaults2 = { escapeEverything: false, minimal: false, isScriptContext: false, quotes: "single", wrap: false, es6: false, json: false, compact: true, lowercaseHex: false, numbers: "decimal", indent: " ", indentLevel: 0, __inline1__: false, __inline2__: false }, json = options && options.json;
7168
7168
  var destination, source;
7169
- json && (defaults3.quotes = "double", defaults3.wrap = true), destination = defaults3, "single" != (options = (source = options) ? (forOwn(source, (key, value2) => {
7169
+ json && (defaults2.quotes = "double", defaults2.wrap = true), destination = defaults2, "single" != (options = (source = options) ? (forOwn(source, (key, value2) => {
7170
7170
  destination[key] = value2;
7171
7171
  }), destination) : destination).quotes && "double" != options.quotes && "backtick" != options.quotes && (options.quotes = "single");
7172
7172
  const quote = "double" == options.quotes ? '"' : "backtick" == options.quotes ? "`" : "'", compact = options.compact, lowercaseHex = options.lowercaseHex;
@@ -11202,8 +11202,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
11202
11202
  throw error.url = String(resolved2), error;
11203
11203
  }
11204
11204
  if (!preserveSymlinks2) {
11205
- const real = (0, _fs().realpathSync)(filePath), { search, hash: hash2 } = resolved2;
11206
- (resolved2 = (0, _url().pathToFileURL)(real + (filePath.endsWith(_path().sep) ? "/" : ""))).search = search, resolved2.hash = hash2;
11205
+ const real = (0, _fs().realpathSync)(filePath), { search, hash } = resolved2;
11206
+ (resolved2 = (0, _url().pathToFileURL)(real + (filePath.endsWith(_path().sep) ? "/" : ""))).search = search, resolved2.hash = hash;
11207
11207
  }
11208
11208
  return resolved2;
11209
11209
  }(resolved, base, preserveSymlinks);
@@ -40272,10 +40272,10 @@ init_esm_shims();
40272
40272
  // ../config-tools/src/config-file/get-config-file.ts
40273
40273
  init_esm_shims();
40274
40274
 
40275
- // ../../node_modules/.pnpm/c12@2.0.2/node_modules/c12/dist/index.mjs
40275
+ // ../../node_modules/.pnpm/c12@2.0.4/node_modules/c12/dist/index.mjs
40276
40276
  init_esm_shims();
40277
40277
 
40278
- // ../../node_modules/.pnpm/c12@2.0.2/node_modules/c12/dist/shared/c12.UwygHULp.mjs
40278
+ // ../../node_modules/.pnpm/c12@2.0.4/node_modules/c12/dist/shared/c12.PQMoYrit.mjs
40279
40279
  init_esm_shims();
40280
40280
  import { existsSync as existsSync4, promises } from "node:fs";
40281
40281
  import { rm, readFile as readFile2 } from "node:fs/promises";
@@ -40555,649 +40555,7 @@ function readUser(options) {
40555
40555
  }
40556
40556
  __name(readUser, "readUser");
40557
40557
 
40558
- // ../../node_modules/.pnpm/ohash@1.1.4/node_modules/ohash/dist/index.mjs
40559
- init_esm_shims();
40560
- var defaults2 = Object.freeze({
40561
- ignoreUnknown: false,
40562
- respectType: false,
40563
- respectFunctionNames: false,
40564
- respectFunctionProperties: false,
40565
- unorderedObjects: true,
40566
- unorderedArrays: false,
40567
- unorderedSets: false,
40568
- excludeKeys: void 0,
40569
- excludeValues: void 0,
40570
- replacer: void 0
40571
- });
40572
- function objectHash(object, options) {
40573
- if (options) {
40574
- options = { ...defaults2, ...options };
40575
- } else {
40576
- options = defaults2;
40577
- }
40578
- const hasher = createHasher(options);
40579
- hasher.dispatch(object);
40580
- return hasher.toString();
40581
- }
40582
- __name(objectHash, "objectHash");
40583
- var defaultPrototypesKeys = Object.freeze([
40584
- "prototype",
40585
- "__proto__",
40586
- "constructor"
40587
- ]);
40588
- function createHasher(options) {
40589
- let buff = "";
40590
- let context = /* @__PURE__ */ new Map();
40591
- const write = /* @__PURE__ */ __name((str) => {
40592
- buff += str;
40593
- }, "write");
40594
- return {
40595
- toString() {
40596
- return buff;
40597
- },
40598
- getContext() {
40599
- return context;
40600
- },
40601
- dispatch(value2) {
40602
- if (options.replacer) {
40603
- value2 = options.replacer(value2);
40604
- }
40605
- const type = value2 === null ? "null" : typeof value2;
40606
- return this[type](value2);
40607
- },
40608
- object(object) {
40609
- if (object && typeof object.toJSON === "function") {
40610
- return this.object(object.toJSON());
40611
- }
40612
- const objString = Object.prototype.toString.call(object);
40613
- let objType = "";
40614
- const objectLength = objString.length;
40615
- if (objectLength < 10) {
40616
- objType = "unknown:[" + objString + "]";
40617
- } else {
40618
- objType = objString.slice(8, objectLength - 1);
40619
- }
40620
- objType = objType.toLowerCase();
40621
- let objectNumber = null;
40622
- if ((objectNumber = context.get(object)) === void 0) {
40623
- context.set(object, context.size);
40624
- } else {
40625
- return this.dispatch("[CIRCULAR:" + objectNumber + "]");
40626
- }
40627
- if (typeof Buffer !== "undefined" && Buffer.isBuffer && Buffer.isBuffer(object)) {
40628
- write("buffer:");
40629
- return write(object.toString("utf8"));
40630
- }
40631
- if (objType !== "object" && objType !== "function" && objType !== "asyncfunction") {
40632
- if (this[objType]) {
40633
- this[objType](object);
40634
- } else if (!options.ignoreUnknown) {
40635
- this.unkown(object, objType);
40636
- }
40637
- } else {
40638
- let keys = Object.keys(object);
40639
- if (options.unorderedObjects) {
40640
- keys = keys.sort();
40641
- }
40642
- let extraKeys = [];
40643
- if (options.respectType !== false && !isNativeFunction(object)) {
40644
- extraKeys = defaultPrototypesKeys;
40645
- }
40646
- if (options.excludeKeys) {
40647
- keys = keys.filter((key) => {
40648
- return !options.excludeKeys(key);
40649
- });
40650
- extraKeys = extraKeys.filter((key) => {
40651
- return !options.excludeKeys(key);
40652
- });
40653
- }
40654
- write("object:" + (keys.length + extraKeys.length) + ":");
40655
- const dispatchForKey = /* @__PURE__ */ __name((key) => {
40656
- this.dispatch(key);
40657
- write(":");
40658
- if (!options.excludeValues) {
40659
- this.dispatch(object[key]);
40660
- }
40661
- write(",");
40662
- }, "dispatchForKey");
40663
- for (const key of keys) {
40664
- dispatchForKey(key);
40665
- }
40666
- for (const key of extraKeys) {
40667
- dispatchForKey(key);
40668
- }
40669
- }
40670
- },
40671
- array(arr, unordered) {
40672
- unordered = unordered === void 0 ? options.unorderedArrays !== false : unordered;
40673
- write("array:" + arr.length + ":");
40674
- if (!unordered || arr.length <= 1) {
40675
- for (const entry of arr) {
40676
- this.dispatch(entry);
40677
- }
40678
- return;
40679
- }
40680
- const contextAdditions = /* @__PURE__ */ new Map();
40681
- const entries = arr.map((entry) => {
40682
- const hasher = createHasher(options);
40683
- hasher.dispatch(entry);
40684
- for (const [key, value2] of hasher.getContext()) {
40685
- contextAdditions.set(key, value2);
40686
- }
40687
- return hasher.toString();
40688
- });
40689
- context = contextAdditions;
40690
- entries.sort();
40691
- return this.array(entries, false);
40692
- },
40693
- date(date) {
40694
- return write("date:" + date.toJSON());
40695
- },
40696
- symbol(sym) {
40697
- return write("symbol:" + sym.toString());
40698
- },
40699
- unkown(value2, type) {
40700
- write(type);
40701
- if (!value2) {
40702
- return;
40703
- }
40704
- write(":");
40705
- if (value2 && typeof value2.entries === "function") {
40706
- return this.array(
40707
- Array.from(value2.entries()),
40708
- true
40709
- /* ordered */
40710
- );
40711
- }
40712
- },
40713
- error(err) {
40714
- return write("error:" + err.toString());
40715
- },
40716
- boolean(bool) {
40717
- return write("bool:" + bool);
40718
- },
40719
- string(string) {
40720
- write("string:" + string.length + ":");
40721
- write(string);
40722
- },
40723
- function(fn) {
40724
- write("fn:");
40725
- if (isNativeFunction(fn)) {
40726
- this.dispatch("[native]");
40727
- } else {
40728
- this.dispatch(fn.toString());
40729
- }
40730
- if (options.respectFunctionNames !== false) {
40731
- this.dispatch("function-name:" + String(fn.name));
40732
- }
40733
- if (options.respectFunctionProperties) {
40734
- this.object(fn);
40735
- }
40736
- },
40737
- number(number) {
40738
- return write("number:" + number);
40739
- },
40740
- xml(xml) {
40741
- return write("xml:" + xml.toString());
40742
- },
40743
- null() {
40744
- return write("Null");
40745
- },
40746
- undefined() {
40747
- return write("Undefined");
40748
- },
40749
- regexp(regex) {
40750
- return write("regex:" + regex.toString());
40751
- },
40752
- uint8array(arr) {
40753
- write("uint8array:");
40754
- return this.dispatch(Array.prototype.slice.call(arr));
40755
- },
40756
- uint8clampedarray(arr) {
40757
- write("uint8clampedarray:");
40758
- return this.dispatch(Array.prototype.slice.call(arr));
40759
- },
40760
- int8array(arr) {
40761
- write("int8array:");
40762
- return this.dispatch(Array.prototype.slice.call(arr));
40763
- },
40764
- uint16array(arr) {
40765
- write("uint16array:");
40766
- return this.dispatch(Array.prototype.slice.call(arr));
40767
- },
40768
- int16array(arr) {
40769
- write("int16array:");
40770
- return this.dispatch(Array.prototype.slice.call(arr));
40771
- },
40772
- uint32array(arr) {
40773
- write("uint32array:");
40774
- return this.dispatch(Array.prototype.slice.call(arr));
40775
- },
40776
- int32array(arr) {
40777
- write("int32array:");
40778
- return this.dispatch(Array.prototype.slice.call(arr));
40779
- },
40780
- float32array(arr) {
40781
- write("float32array:");
40782
- return this.dispatch(Array.prototype.slice.call(arr));
40783
- },
40784
- float64array(arr) {
40785
- write("float64array:");
40786
- return this.dispatch(Array.prototype.slice.call(arr));
40787
- },
40788
- arraybuffer(arr) {
40789
- write("arraybuffer:");
40790
- return this.dispatch(new Uint8Array(arr));
40791
- },
40792
- url(url) {
40793
- return write("url:" + url.toString());
40794
- },
40795
- map(map) {
40796
- write("map:");
40797
- const arr = [...map];
40798
- return this.array(arr, options.unorderedSets !== false);
40799
- },
40800
- set(set) {
40801
- write("set:");
40802
- const arr = [...set];
40803
- return this.array(arr, options.unorderedSets !== false);
40804
- },
40805
- file(file) {
40806
- write("file:");
40807
- return this.dispatch([file.name, file.size, file.type, file.lastModfied]);
40808
- },
40809
- blob() {
40810
- if (options.ignoreUnknown) {
40811
- return write("[blob]");
40812
- }
40813
- throw new Error(
40814
- 'Hashing Blob objects is currently not supported\nUse "options.replacer" or "options.ignoreUnknown"\n'
40815
- );
40816
- },
40817
- domwindow() {
40818
- return write("domwindow");
40819
- },
40820
- bigint(number) {
40821
- return write("bigint:" + number.toString());
40822
- },
40823
- /* Node.js standard native objects */
40824
- process() {
40825
- return write("process");
40826
- },
40827
- timer() {
40828
- return write("timer");
40829
- },
40830
- pipe() {
40831
- return write("pipe");
40832
- },
40833
- tcp() {
40834
- return write("tcp");
40835
- },
40836
- udp() {
40837
- return write("udp");
40838
- },
40839
- tty() {
40840
- return write("tty");
40841
- },
40842
- statwatcher() {
40843
- return write("statwatcher");
40844
- },
40845
- securecontext() {
40846
- return write("securecontext");
40847
- },
40848
- connection() {
40849
- return write("connection");
40850
- },
40851
- zlib() {
40852
- return write("zlib");
40853
- },
40854
- context() {
40855
- return write("context");
40856
- },
40857
- nodescript() {
40858
- return write("nodescript");
40859
- },
40860
- httpparser() {
40861
- return write("httpparser");
40862
- },
40863
- dataview() {
40864
- return write("dataview");
40865
- },
40866
- signal() {
40867
- return write("signal");
40868
- },
40869
- fsevent() {
40870
- return write("fsevent");
40871
- },
40872
- tlswrap() {
40873
- return write("tlswrap");
40874
- }
40875
- };
40876
- }
40877
- __name(createHasher, "createHasher");
40878
- var nativeFunc = "[native code] }";
40879
- var nativeFuncLength = nativeFunc.length;
40880
- function isNativeFunction(f) {
40881
- if (typeof f !== "function") {
40882
- return false;
40883
- }
40884
- return Function.prototype.toString.call(f).slice(-nativeFuncLength) === nativeFunc;
40885
- }
40886
- __name(isNativeFunction, "isNativeFunction");
40887
- var __defProp$1 = Object.defineProperty;
40888
- var __defNormalProp$1 = /* @__PURE__ */ __name((obj, key, value2) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2, "__defNormalProp$1");
40889
- var __publicField$1 = /* @__PURE__ */ __name((obj, key, value2) => {
40890
- __defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value2);
40891
- return value2;
40892
- }, "__publicField$1");
40893
- var WordArray = class _WordArray {
40894
- static {
40895
- __name(this, "WordArray");
40896
- }
40897
- constructor(words, sigBytes) {
40898
- __publicField$1(this, "words");
40899
- __publicField$1(this, "sigBytes");
40900
- words = this.words = words || [];
40901
- this.sigBytes = sigBytes === void 0 ? words.length * 4 : sigBytes;
40902
- }
40903
- toString(encoder) {
40904
- return (encoder || Hex).stringify(this);
40905
- }
40906
- concat(wordArray) {
40907
- this.clamp();
40908
- if (this.sigBytes % 4) {
40909
- for (let i = 0; i < wordArray.sigBytes; i++) {
40910
- const thatByte = wordArray.words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
40911
- this.words[this.sigBytes + i >>> 2] |= thatByte << 24 - (this.sigBytes + i) % 4 * 8;
40912
- }
40913
- } else {
40914
- for (let j = 0; j < wordArray.sigBytes; j += 4) {
40915
- this.words[this.sigBytes + j >>> 2] = wordArray.words[j >>> 2];
40916
- }
40917
- }
40918
- this.sigBytes += wordArray.sigBytes;
40919
- return this;
40920
- }
40921
- clamp() {
40922
- this.words[this.sigBytes >>> 2] &= 4294967295 << 32 - this.sigBytes % 4 * 8;
40923
- this.words.length = Math.ceil(this.sigBytes / 4);
40924
- }
40925
- clone() {
40926
- return new _WordArray([...this.words]);
40927
- }
40928
- };
40929
- var Hex = {
40930
- stringify(wordArray) {
40931
- const hexChars = [];
40932
- for (let i = 0; i < wordArray.sigBytes; i++) {
40933
- const bite = wordArray.words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
40934
- hexChars.push((bite >>> 4).toString(16), (bite & 15).toString(16));
40935
- }
40936
- return hexChars.join("");
40937
- }
40938
- };
40939
- var Base64 = {
40940
- stringify(wordArray) {
40941
- const keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
40942
- const base64Chars = [];
40943
- for (let i = 0; i < wordArray.sigBytes; i += 3) {
40944
- const byte1 = wordArray.words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
40945
- const byte2 = wordArray.words[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255;
40946
- const byte3 = wordArray.words[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255;
40947
- const triplet = byte1 << 16 | byte2 << 8 | byte3;
40948
- for (let j = 0; j < 4 && i * 8 + j * 6 < wordArray.sigBytes * 8; j++) {
40949
- base64Chars.push(keyStr.charAt(triplet >>> 6 * (3 - j) & 63));
40950
- }
40951
- }
40952
- return base64Chars.join("");
40953
- }
40954
- };
40955
- var Latin1 = {
40956
- parse(latin1Str) {
40957
- const latin1StrLength = latin1Str.length;
40958
- const words = [];
40959
- for (let i = 0; i < latin1StrLength; i++) {
40960
- words[i >>> 2] |= (latin1Str.charCodeAt(i) & 255) << 24 - i % 4 * 8;
40961
- }
40962
- return new WordArray(words, latin1StrLength);
40963
- }
40964
- };
40965
- var Utf8 = {
40966
- parse(utf8Str) {
40967
- return Latin1.parse(unescape(encodeURIComponent(utf8Str)));
40968
- }
40969
- };
40970
- var BufferedBlockAlgorithm = class {
40971
- static {
40972
- __name(this, "BufferedBlockAlgorithm");
40973
- }
40974
- constructor() {
40975
- __publicField$1(this, "_data", new WordArray());
40976
- __publicField$1(this, "_nDataBytes", 0);
40977
- __publicField$1(this, "_minBufferSize", 0);
40978
- __publicField$1(this, "blockSize", 512 / 32);
40979
- }
40980
- reset() {
40981
- this._data = new WordArray();
40982
- this._nDataBytes = 0;
40983
- }
40984
- _append(data) {
40985
- if (typeof data === "string") {
40986
- data = Utf8.parse(data);
40987
- }
40988
- this._data.concat(data);
40989
- this._nDataBytes += data.sigBytes;
40990
- }
40991
- _doProcessBlock(_dataWords, _offset) {
40992
- }
40993
- _process(doFlush) {
40994
- let processedWords;
40995
- let nBlocksReady = this._data.sigBytes / (this.blockSize * 4);
40996
- if (doFlush) {
40997
- nBlocksReady = Math.ceil(nBlocksReady);
40998
- } else {
40999
- nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);
41000
- }
41001
- const nWordsReady = nBlocksReady * this.blockSize;
41002
- const nBytesReady = Math.min(nWordsReady * 4, this._data.sigBytes);
41003
- if (nWordsReady) {
41004
- for (let offset = 0; offset < nWordsReady; offset += this.blockSize) {
41005
- this._doProcessBlock(this._data.words, offset);
41006
- }
41007
- processedWords = this._data.words.splice(0, nWordsReady);
41008
- this._data.sigBytes -= nBytesReady;
41009
- }
41010
- return new WordArray(processedWords, nBytesReady);
41011
- }
41012
- };
41013
- var Hasher = class extends BufferedBlockAlgorithm {
41014
- static {
41015
- __name(this, "Hasher");
41016
- }
41017
- update(messageUpdate) {
41018
- this._append(messageUpdate);
41019
- this._process();
41020
- return this;
41021
- }
41022
- finalize(messageUpdate) {
41023
- if (messageUpdate) {
41024
- this._append(messageUpdate);
41025
- }
41026
- }
41027
- };
41028
- var __defProp = Object.defineProperty;
41029
- var __defNormalProp = /* @__PURE__ */ __name((obj, key, value2) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value2 }) : obj[key] = value2, "__defNormalProp");
41030
- var __publicField = /* @__PURE__ */ __name((obj, key, value2) => {
41031
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value2);
41032
- return value2;
41033
- }, "__publicField");
41034
- var H = [
41035
- 1779033703,
41036
- -1150833019,
41037
- 1013904242,
41038
- -1521486534,
41039
- 1359893119,
41040
- -1694144372,
41041
- 528734635,
41042
- 1541459225
41043
- ];
41044
- var K = [
41045
- 1116352408,
41046
- 1899447441,
41047
- -1245643825,
41048
- -373957723,
41049
- 961987163,
41050
- 1508970993,
41051
- -1841331548,
41052
- -1424204075,
41053
- -670586216,
41054
- 310598401,
41055
- 607225278,
41056
- 1426881987,
41057
- 1925078388,
41058
- -2132889090,
41059
- -1680079193,
41060
- -1046744716,
41061
- -459576895,
41062
- -272742522,
41063
- 264347078,
41064
- 604807628,
41065
- 770255983,
41066
- 1249150122,
41067
- 1555081692,
41068
- 1996064986,
41069
- -1740746414,
41070
- -1473132947,
41071
- -1341970488,
41072
- -1084653625,
41073
- -958395405,
41074
- -710438585,
41075
- 113926993,
41076
- 338241895,
41077
- 666307205,
41078
- 773529912,
41079
- 1294757372,
41080
- 1396182291,
41081
- 1695183700,
41082
- 1986661051,
41083
- -2117940946,
41084
- -1838011259,
41085
- -1564481375,
41086
- -1474664885,
41087
- -1035236496,
41088
- -949202525,
41089
- -778901479,
41090
- -694614492,
41091
- -200395387,
41092
- 275423344,
41093
- 430227734,
41094
- 506948616,
41095
- 659060556,
41096
- 883997877,
41097
- 958139571,
41098
- 1322822218,
41099
- 1537002063,
41100
- 1747873779,
41101
- 1955562222,
41102
- 2024104815,
41103
- -2067236844,
41104
- -1933114872,
41105
- -1866530822,
41106
- -1538233109,
41107
- -1090935817,
41108
- -965641998
41109
- ];
41110
- var W = [];
41111
- var SHA256 = class extends Hasher {
41112
- static {
41113
- __name(this, "SHA256");
41114
- }
41115
- constructor() {
41116
- super(...arguments);
41117
- __publicField(this, "_hash", new WordArray([...H]));
41118
- }
41119
- /**
41120
- * Resets the internal state of the hash object to initial values.
41121
- */
41122
- reset() {
41123
- super.reset();
41124
- this._hash = new WordArray([...H]);
41125
- }
41126
- _doProcessBlock(M, offset) {
41127
- const H2 = this._hash.words;
41128
- let a = H2[0];
41129
- let b = H2[1];
41130
- let c = H2[2];
41131
- let d = H2[3];
41132
- let e = H2[4];
41133
- let f = H2[5];
41134
- let g = H2[6];
41135
- let h = H2[7];
41136
- for (let i = 0; i < 64; i++) {
41137
- if (i < 16) {
41138
- W[i] = M[offset + i] | 0;
41139
- } else {
41140
- const gamma0x = W[i - 15];
41141
- const gamma0 = (gamma0x << 25 | gamma0x >>> 7) ^ (gamma0x << 14 | gamma0x >>> 18) ^ gamma0x >>> 3;
41142
- const gamma1x = W[i - 2];
41143
- const gamma1 = (gamma1x << 15 | gamma1x >>> 17) ^ (gamma1x << 13 | gamma1x >>> 19) ^ gamma1x >>> 10;
41144
- W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];
41145
- }
41146
- const ch = e & f ^ ~e & g;
41147
- const maj = a & b ^ a & c ^ b & c;
41148
- const sigma0 = (a << 30 | a >>> 2) ^ (a << 19 | a >>> 13) ^ (a << 10 | a >>> 22);
41149
- const sigma1 = (e << 26 | e >>> 6) ^ (e << 21 | e >>> 11) ^ (e << 7 | e >>> 25);
41150
- const t1 = h + sigma1 + ch + K[i] + W[i];
41151
- const t2 = sigma0 + maj;
41152
- h = g;
41153
- g = f;
41154
- f = e;
41155
- e = d + t1 | 0;
41156
- d = c;
41157
- c = b;
41158
- b = a;
41159
- a = t1 + t2 | 0;
41160
- }
41161
- H2[0] = H2[0] + a | 0;
41162
- H2[1] = H2[1] + b | 0;
41163
- H2[2] = H2[2] + c | 0;
41164
- H2[3] = H2[3] + d | 0;
41165
- H2[4] = H2[4] + e | 0;
41166
- H2[5] = H2[5] + f | 0;
41167
- H2[6] = H2[6] + g | 0;
41168
- H2[7] = H2[7] + h | 0;
41169
- }
41170
- /**
41171
- * Finishes the hash calculation and returns the hash as a WordArray.
41172
- *
41173
- * @param {string} messageUpdate - Additional message content to include in the hash.
41174
- * @returns {WordArray} The finalised hash as a WordArray.
41175
- */
41176
- finalize(messageUpdate) {
41177
- super.finalize(messageUpdate);
41178
- const nBitsTotal = this._nDataBytes * 8;
41179
- const nBitsLeft = this._data.sigBytes * 8;
41180
- this._data.words[nBitsLeft >>> 5] |= 128 << 24 - nBitsLeft % 32;
41181
- this._data.words[(nBitsLeft + 64 >>> 9 << 4) + 14] = Math.floor(
41182
- nBitsTotal / 4294967296
41183
- );
41184
- this._data.words[(nBitsLeft + 64 >>> 9 << 4) + 15] = nBitsTotal;
41185
- this._data.sigBytes = this._data.words.length * 4;
41186
- this._process();
41187
- return this._hash;
41188
- }
41189
- };
41190
- function sha256base64(message) {
41191
- return new SHA256().finalize(message).toString(Base64);
41192
- }
41193
- __name(sha256base64, "sha256base64");
41194
- function hash(object, options = {}) {
41195
- const hashed = typeof object === "string" ? object : objectHash(object, options);
41196
- return sha256base64(hashed).slice(0, 10);
41197
- }
41198
- __name(hash, "hash");
41199
-
41200
- // ../../node_modules/.pnpm/c12@2.0.2/node_modules/c12/dist/shared/c12.UwygHULp.mjs
40558
+ // ../../node_modules/.pnpm/c12@2.0.4/node_modules/c12/dist/shared/c12.PQMoYrit.mjs
41201
40559
  var dotenv = __toESM(require_main(), 1);
41202
40560
  async function setupDotenv(options) {
41203
40561
  const targetEnvironment = options.env ?? process.env;
@@ -41277,11 +40635,11 @@ function interpolate(target, source = {}, parse3 = (v) => v) {
41277
40635
  __name(interpolate, "interpolate");
41278
40636
  var _normalize = /* @__PURE__ */ __name((p) => p?.replace(/\\/g, "/"), "_normalize");
41279
40637
  var ASYNC_LOADERS = {
41280
- ".yaml": /* @__PURE__ */ __name(() => import("./yaml-UUCBBN32.js").then((r) => r.parseYAML), ".yaml"),
41281
- ".yml": /* @__PURE__ */ __name(() => import("./yaml-UUCBBN32.js").then((r) => r.parseYAML), ".yml"),
41282
- ".jsonc": /* @__PURE__ */ __name(() => import("./jsonc-LABOISKG.js").then((r) => r.parseJSONC), ".jsonc"),
41283
- ".json5": /* @__PURE__ */ __name(() => import("./json5-NET3LOJ6.js").then((r) => r.parseJSON5), ".json5"),
41284
- ".toml": /* @__PURE__ */ __name(() => import("./toml-HKM2W3Q4.js").then((r) => r.parseTOML), ".toml")
40638
+ ".yaml": /* @__PURE__ */ __name(() => import("./yaml-S77IVR7P.js").then((r) => r.parseYAML), ".yaml"),
40639
+ ".yml": /* @__PURE__ */ __name(() => import("./yaml-S77IVR7P.js").then((r) => r.parseYAML), ".yml"),
40640
+ ".jsonc": /* @__PURE__ */ __name(() => import("./jsonc-SC2XDCPU.js").then((r) => r.parseJSONC), ".jsonc"),
40641
+ ".json5": /* @__PURE__ */ __name(() => import("./json5-6MHBBLXW.js").then((r) => r.parseJSON5), ".json5"),
40642
+ ".toml": /* @__PURE__ */ __name(() => import("./toml-TZ4D4WHK.js").then((r) => r.parseTOML), ".toml")
41285
40643
  };
41286
40644
  var SUPPORTED_EXTENSIONS = [
41287
40645
  // with jiti
@@ -41483,8 +40841,9 @@ async function resolveConfig(source, options, sourceOptions = {}) {
41483
40841
  }
41484
40842
  const _merger = options.merger || defu;
41485
40843
  if (options.giget !== false && GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) {
41486
- const { downloadTemplate } = await import("./dist-3Y3T6XGP.js");
41487
- const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + hash(source);
40844
+ const { downloadTemplate } = await import("./dist-SYG7V2CR.js");
40845
+ const { digest } = await import("./dist-UUHJC3OE.js");
40846
+ const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
41488
40847
  let cloneDir;
41489
40848
  const localNodeModules = resolve(options.cwd, "node_modules");
41490
40849
  const parentDir = dirname(options.cwd);
@@ -41565,7 +40924,7 @@ async function resolveConfig(source, options, sourceOptions = {}) {
41565
40924
  }
41566
40925
  __name(resolveConfig, "resolveConfig");
41567
40926
 
41568
- // ../../node_modules/.pnpm/c12@2.0.2/node_modules/c12/dist/index.mjs
40927
+ // ../../node_modules/.pnpm/c12@2.0.4/node_modules/c12/dist/index.mjs
41569
40928
  var import_dotenv = __toESM(require_main(), 1);
41570
40929
 
41571
40930
  // ../config-tools/src/config-file/get-config-file.ts