@kubb/core 2.21.0 → 2.21.2

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.
@@ -3,23 +3,23 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk5FVZDHZFcjs = require('./chunk-5FVZDHZF.cjs');
6
+ var _chunkNPISNQZWcjs = require('./chunk-NPISNQZW.cjs');
7
7
 
8
8
 
9
- var _chunkYSPZSLSKcjs = require('./chunk-YSPZSLSK.cjs');
9
+ var _chunkQGEKR3WNcjs = require('./chunk-QGEKR3WN.cjs');
10
10
 
11
11
  // src/transformers/index.ts
12
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
12
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
13
13
  var _remeda = require('remeda');
14
14
 
15
15
  // src/transformers/combineCodes.ts
16
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
16
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
17
17
  function combineCodes(codes) {
18
18
  return codes.join("\n");
19
19
  }
20
20
 
21
21
  // src/transformers/createJSDocBlockText.ts
22
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
22
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
23
23
  function createJSDocBlockText({ comments }) {
24
24
  const filteredComments = comments.filter(Boolean);
25
25
  if (!filteredComments.length) {
@@ -31,7 +31,7 @@ function createJSDocBlockText({ comments }) {
31
31
  }
32
32
 
33
33
  // src/transformers/escape.ts
34
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
34
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
35
35
  function escape(text) {
36
36
  return text ? text.replaceAll("`", "\\`") : "";
37
37
  }
@@ -57,13 +57,13 @@ function jsStringEscape(input) {
57
57
  }
58
58
 
59
59
  // src/transformers/indent.ts
60
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
60
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
61
61
  function createIndent(size) {
62
62
  return Array.from({ length: size + 1 }).join(" ");
63
63
  }
64
64
 
65
65
  // src/transformers/nameSorter.ts
66
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
66
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
67
67
  function nameSorter(a, b) {
68
68
  if (a.name < b.name) {
69
69
  return -1;
@@ -75,7 +75,7 @@ function nameSorter(a, b) {
75
75
  }
76
76
 
77
77
  // src/transformers/searchAndReplace.ts
78
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
78
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
79
79
  function searchAndReplace(options) {
80
80
  const { text, replaceBy, prefix = "", key } = options;
81
81
  const searchValues = _optionalChain([options, 'access', _ => _.searchValues, 'optionalCall', _2 => _2(prefix, key)]) || [
@@ -93,10 +93,10 @@ function searchAndReplace(options) {
93
93
  }
94
94
 
95
95
  // src/transformers/stringify.ts
96
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
96
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
97
97
 
98
98
  // src/transformers/trim.ts
99
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
99
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
100
100
  function trim(text) {
101
101
  return text.replaceAll(/\n/g, "").trim();
102
102
  }
@@ -136,7 +136,7 @@ function stringifyObject(value) {
136
136
  }
137
137
 
138
138
  // src/transformers/toRegExp.ts
139
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
139
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
140
140
  function stringToRegex(text) {
141
141
  const isStartWithSlash = text.startsWith("/");
142
142
  const isEndWithSlash = text.endsWith("/");
@@ -157,7 +157,7 @@ function toRegExpString(text) {
157
157
  }
158
158
 
159
159
  // src/transformers/transformReservedWord.ts
160
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
160
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
161
161
  var reservedWords = [
162
162
  "abstract",
163
163
  "arguments",
@@ -270,11 +270,11 @@ var transformers_default = {
270
270
  JSDoc: {
271
271
  createJSDocBlockText
272
272
  },
273
- orderBy: _chunk5FVZDHZFcjs.orderBy,
273
+ orderBy: _chunkNPISNQZWcjs.orderBy,
274
274
  merge: _remeda.merge,
275
- camelCase: _chunk5FVZDHZFcjs.camelCase,
276
- pascalCase: _chunk5FVZDHZFcjs.pascalCase,
277
- pathCase: _chunk5FVZDHZFcjs.pathCase
275
+ camelCase: _chunkNPISNQZWcjs.camelCase,
276
+ pascalCase: _chunkNPISNQZWcjs.pascalCase,
277
+ pathCase: _chunkNPISNQZWcjs.pathCase
278
278
  };
279
279
 
280
280
 
@@ -296,4 +296,4 @@ var transformers_default = {
296
296
 
297
297
 
298
298
  exports.trim = trim; exports.trimQuotes = trimQuotes; exports.trimExtName = trimExtName; exports.searchAndReplace = searchAndReplace; exports.combineCodes = combineCodes; exports.createJSDocBlockText = createJSDocBlockText; exports.escape = escape; exports.jsStringEscape = jsStringEscape; exports.createIndent = createIndent; exports.nameSorter = nameSorter; exports.stringify = stringify; exports.stringifyObject = stringifyObject; exports.toRegExp = toRegExp; exports.toRegExpString = toRegExpString; exports.transformReservedWord = transformReservedWord; exports.transformers_default = transformers_default; exports.merge = _remeda.merge;
299
- //# sourceMappingURL=chunk-YDJ4Z6NY.cjs.map
299
+ //# sourceMappingURL=chunk-5UEMCOTB.cjs.map
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkYSPZSLSKcjs = require('./chunk-YSPZSLSK.cjs');
5
+ var _chunkQGEKR3WNcjs = require('./chunk-QGEKR3WN.cjs');
6
6
 
7
7
  // src/logger.ts
8
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
8
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
9
9
  var _seedrandom = require('seedrandom'); var _seedrandom2 = _interopRequireDefault(_seedrandom);
10
10
 
11
11
  // ../../node_modules/.pnpm/tinyrainbow@1.1.1/node_modules/tinyrainbow/dist/node.js
12
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
12
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
13
13
 
14
14
  // ../../node_modules/.pnpm/tinyrainbow@1.1.1/node_modules/tinyrainbow/dist/chunk-5WCZOS7T.js
15
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
15
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
16
16
  var b = {
17
17
  reset: [0, 0],
18
18
  bold: [1, 22, "\x1B[22m\x1B[1m"],
@@ -77,25 +77,25 @@ var _tty = require('tty');
77
77
  var p2 = w(_tty.isatty.call(void 0, 1));
78
78
 
79
79
  // src/utils/EventEmitter.ts
80
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
80
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
81
81
  var _events = require('events');
82
82
  var _emitter;
83
83
  var EventEmitter = class {
84
84
  constructor() {
85
- _chunkYSPZSLSKcjs.__privateAdd.call(void 0, this, _emitter, new (0, _events.EventEmitter)());
86
- _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _emitter).setMaxListeners(100);
85
+ _chunkQGEKR3WNcjs.__privateAdd.call(void 0, this, _emitter, new (0, _events.EventEmitter)());
86
+ _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _emitter).setMaxListeners(100);
87
87
  }
88
88
  emit(eventName, ...eventArg) {
89
- _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _emitter).emit(eventName, ...eventArg);
89
+ _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _emitter).emit(eventName, ...eventArg);
90
90
  }
91
91
  on(eventName, handler) {
92
- _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _emitter).on(eventName, handler);
92
+ _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _emitter).on(eventName, handler);
93
93
  }
94
94
  off(eventName, handler) {
95
- _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _emitter).off(eventName, handler);
95
+ _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _emitter).off(eventName, handler);
96
96
  }
97
97
  removeAll() {
98
- _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _emitter).removeAllListeners();
98
+ _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _emitter).removeAllListeners();
99
99
  }
100
100
  };
101
101
  _emitter = new WeakMap();
@@ -184,4 +184,4 @@ function randomCliColour(text, colors = defaultColours) {
184
184
 
185
185
 
186
186
  exports.p = p2; exports.EventEmitter = EventEmitter; exports.LogLevel = LogLevel; exports.LogMapper = LogMapper; exports.createLogger = createLogger; exports.randomColour = randomColour; exports.randomCliColour = randomCliColour;
187
- //# sourceMappingURL=chunk-DNGK2BKN.cjs.map
187
+ //# sourceMappingURL=chunk-7GISIU7C.cjs.map
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
2
 
3
- var _chunkYSPZSLSKcjs = require('./chunk-YSPZSLSK.cjs');
3
+ var _chunkQGEKR3WNcjs = require('./chunk-QGEKR3WN.cjs');
4
4
 
5
5
  // ../../node_modules/.pnpm/natural-orderby@3.0.2/node_modules/natural-orderby/dist/index.js
6
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
6
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
7
7
  var compareNumbers = function compareNumbers2(numberA, numberB) {
8
8
  if (numberA < numberB) {
9
9
  return -1;
@@ -306,10 +306,10 @@ function orderBy(collection, identifiers, orders) {
306
306
  }
307
307
 
308
308
  // src/transformers/casing.ts
309
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
309
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
310
310
 
311
311
  // ../../node_modules/.pnpm/change-case@5.4.4/node_modules/change-case/dist/index.js
312
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
312
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
313
313
  var SPLIT_LOWER_UPPER_RE = /([\p{Ll}\d])(\p{Lu})/gu;
314
314
  var SPLIT_UPPER_UPPER_RE = /(\p{Lu})([\p{Lu}][\p{Ll}])/gu;
315
315
  var SPLIT_SEPARATE_NUMBER_RE = /(\d)\p{Ll}|(\p{L})\d/u;
@@ -458,4 +458,4 @@ natural-orderby/dist/index.js:
458
458
  * @license MIT
459
459
  *)
460
460
  */
461
- //# sourceMappingURL=chunk-5FVZDHZF.cjs.map
461
+ //# sourceMappingURL=chunk-NPISNQZW.cjs.map
@@ -45,9 +45,9 @@ var __privateWrapper = (obj, member, setter, getter) => ({
45
45
  }
46
46
  });
47
47
 
48
- // ../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.47.0_@types+node@20.14.7__postcss@8.4.38_ts-node@10.9.2_l77vl7pmscxb2y6hgmiv35pvfy/node_modules/tsup/assets/cjs_shims.js
48
+ // ../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.47.0_@types+node@20.14.9__postcss@8.4.38_ts-node@10.9.2_e4wj7wuzn7kxi3mm64msznmrum/node_modules/tsup/assets/cjs_shims.js
49
49
  var init_cjs_shims = __esm({
50
- "../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.47.0_@types+node@20.14.7__postcss@8.4.38_ts-node@10.9.2_l77vl7pmscxb2y6hgmiv35pvfy/node_modules/tsup/assets/cjs_shims.js"() {
50
+ "../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.47.0_@types+node@20.14.9__postcss@8.4.38_ts-node@10.9.2_e4wj7wuzn7kxi3mm64msznmrum/node_modules/tsup/assets/cjs_shims.js"() {
51
51
  "use strict";
52
52
  }
53
53
  });
@@ -63,4 +63,4 @@ var init_cjs_shims = __esm({
63
63
 
64
64
 
65
65
  exports.__commonJS = __commonJS; exports.__toESM = __toESM; exports.__publicField = __publicField; exports.__privateGet = __privateGet; exports.__privateAdd = __privateAdd; exports.__privateSet = __privateSet; exports.__privateMethod = __privateMethod; exports.__privateWrapper = __privateWrapper; exports.init_cjs_shims = init_cjs_shims;
66
- //# sourceMappingURL=chunk-YSPZSLSK.cjs.map
66
+ //# sourceMappingURL=chunk-QGEKR3WN.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.47.0_@types+node@20.14.7__postcss@8.4.38_ts-node@10.9.2_l77vl7pmscxb2y6hgmiv35pvfy/node_modules/tsup/assets/cjs_shims.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["// Shim globals in cjs bundle\n// There's a weird bug that esbuild will always inject importMetaUrl\n// if we export it as `const importMetaUrl = ... __filename ...`\n// But using a function will not cause this issue\n\nconst getImportMetaUrl = () =>\n typeof document === 'undefined'\n ? new URL('file:' + __filename).href\n : (document.currentScript && document.currentScript.src) ||\n new URL('main.js', document.baseURI).href\n\nexport const importMetaUrl = /* @__PURE__ */ getImportMetaUrl()\n"]}
1
+ {"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.47.0_@types+node@20.14.9__postcss@8.4.38_ts-node@10.9.2_e4wj7wuzn7kxi3mm64msznmrum/node_modules/tsup/assets/cjs_shims.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["// Shim globals in cjs bundle\n// There's a weird bug that esbuild will always inject importMetaUrl\n// if we export it as `const importMetaUrl = ... __filename ...`\n// But using a function will not cause this issue\n\nconst getImportMetaUrl = () =>\n typeof document === 'undefined'\n ? new URL('file:' + __filename).href\n : (document.currentScript && document.currentScript.src) ||\n new URL('main.js', document.baseURI).href\n\nexport const importMetaUrl = /* @__PURE__ */ getImportMetaUrl()\n"]}
@@ -1,37 +1,37 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
2
 
3
3
 
4
- var _chunk5FVZDHZFcjs = require('./chunk-5FVZDHZF.cjs');
4
+ var _chunkNPISNQZWcjs = require('./chunk-NPISNQZW.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkYSPZSLSKcjs = require('./chunk-YSPZSLSK.cjs');
10
+ var _chunkQGEKR3WNcjs = require('./chunk-QGEKR3WN.cjs');
11
11
 
12
12
  // src/utils/index.ts
13
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
13
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
14
14
 
15
15
  // src/utils/FunctionParams.ts
16
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
16
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
17
17
  var _items, _FunctionParams_static, orderItems_fn, addParams_fn;
18
18
  var _FunctionParams = class _FunctionParams {
19
19
  constructor() {
20
- _chunkYSPZSLSKcjs.__privateAdd.call(void 0, this, _items, []);
20
+ _chunkQGEKR3WNcjs.__privateAdd.call(void 0, this, _items, []);
21
21
  return this;
22
22
  }
23
23
  get items() {
24
- return _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _items).flat();
24
+ return _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _items).flat();
25
25
  }
26
26
  add(item) {
27
27
  if (!item) {
28
28
  return this;
29
29
  }
30
30
  if (Array.isArray(item)) {
31
- item.filter(Boolean).forEach((it) => _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _items).push(it));
31
+ item.filter(Boolean).forEach((it) => _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _items).push(it));
32
32
  return this;
33
33
  }
34
- _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _items).push(item);
34
+ _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _items).push(item);
35
35
  return this;
36
36
  }
37
37
  static toObject(items) {
@@ -41,9 +41,9 @@ var _FunctionParams = class _FunctionParams {
41
41
  const required = _nullishCoalesce(items.every((item) => item.required), () => ( true));
42
42
  items.forEach((item) => {
43
43
  var _a, _b;
44
- name = _chunkYSPZSLSKcjs.__privateMethod.call(void 0, _a = _FunctionParams, _FunctionParams_static, addParams_fn).call(_a, name, { ...item, type: void 0 });
44
+ name = _chunkQGEKR3WNcjs.__privateMethod.call(void 0, _a = _FunctionParams, _FunctionParams_static, addParams_fn).call(_a, name, { ...item, type: void 0 });
45
45
  if (items.some((item2) => item2.type)) {
46
- type = _chunkYSPZSLSKcjs.__privateMethod.call(void 0, _b = _FunctionParams, _FunctionParams_static, addParams_fn).call(_b, type, item);
46
+ type = _chunkQGEKR3WNcjs.__privateMethod.call(void 0, _b = _FunctionParams, _FunctionParams_static, addParams_fn).call(_b, type, item);
47
47
  }
48
48
  });
49
49
  return {
@@ -55,35 +55,35 @@ var _FunctionParams = class _FunctionParams {
55
55
  }
56
56
  static toString(items) {
57
57
  var _a;
58
- const sortedData = _chunkYSPZSLSKcjs.__privateMethod.call(void 0, _a = _FunctionParams, _FunctionParams_static, orderItems_fn).call(_a, items);
58
+ const sortedData = _chunkQGEKR3WNcjs.__privateMethod.call(void 0, _a = _FunctionParams, _FunctionParams_static, orderItems_fn).call(_a, items);
59
59
  return sortedData.reduce((acc, item) => {
60
60
  var _a2, _b, _c;
61
61
  if (Array.isArray(item)) {
62
62
  if (item.length <= 0) {
63
63
  return acc;
64
64
  }
65
- const subItems = _chunkYSPZSLSKcjs.__privateMethod.call(void 0, _a2 = _FunctionParams, _FunctionParams_static, orderItems_fn).call(_a2, item);
65
+ const subItems = _chunkQGEKR3WNcjs.__privateMethod.call(void 0, _a2 = _FunctionParams, _FunctionParams_static, orderItems_fn).call(_a2, item);
66
66
  const objectItem = _FunctionParams.toObject(subItems);
67
- return _chunkYSPZSLSKcjs.__privateMethod.call(void 0, _b = _FunctionParams, _FunctionParams_static, addParams_fn).call(_b, acc, objectItem);
67
+ return _chunkQGEKR3WNcjs.__privateMethod.call(void 0, _b = _FunctionParams, _FunctionParams_static, addParams_fn).call(_b, acc, objectItem);
68
68
  }
69
- return _chunkYSPZSLSKcjs.__privateMethod.call(void 0, _c = _FunctionParams, _FunctionParams_static, addParams_fn).call(_c, acc, item);
69
+ return _chunkQGEKR3WNcjs.__privateMethod.call(void 0, _c = _FunctionParams, _FunctionParams_static, addParams_fn).call(_c, acc, item);
70
70
  }, []).join(", ");
71
71
  }
72
72
  toObject() {
73
73
  var _a;
74
- const items = _chunkYSPZSLSKcjs.__privateMethod.call(void 0, _a = _FunctionParams, _FunctionParams_static, orderItems_fn).call(_a, _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _items)).flat();
74
+ const items = _chunkQGEKR3WNcjs.__privateMethod.call(void 0, _a = _FunctionParams, _FunctionParams_static, orderItems_fn).call(_a, _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _items)).flat();
75
75
  return _FunctionParams.toObject(items);
76
76
  }
77
77
  toString() {
78
78
  var _a;
79
- const items = _chunkYSPZSLSKcjs.__privateMethod.call(void 0, _a = _FunctionParams, _FunctionParams_static, orderItems_fn).call(_a, _chunkYSPZSLSKcjs.__privateGet.call(void 0, this, _items));
79
+ const items = _chunkQGEKR3WNcjs.__privateMethod.call(void 0, _a = _FunctionParams, _FunctionParams_static, orderItems_fn).call(_a, _chunkQGEKR3WNcjs.__privateGet.call(void 0, this, _items));
80
80
  return _FunctionParams.toString(items);
81
81
  }
82
82
  };
83
83
  _items = new WeakMap();
84
84
  _FunctionParams_static = new WeakSet();
85
85
  orderItems_fn = function(items) {
86
- return _chunk5FVZDHZFcjs.orderBy.call(void 0,
86
+ return _chunkNPISNQZWcjs.orderBy.call(void 0,
87
87
  items.filter(Boolean),
88
88
  [
89
89
  (v) => {
@@ -111,7 +111,7 @@ addParams_fn = function(acc, item) {
111
111
  acc.push(`${type}${rest.default ? ` = ${rest.default}` : ""}`);
112
112
  return acc;
113
113
  }
114
- const parameterName = name.startsWith("{") ? name : _chunk5FVZDHZFcjs.camelCase.call(void 0, name);
114
+ const parameterName = name.startsWith("{") ? name : _chunkNPISNQZWcjs.camelCase.call(void 0, name);
115
115
  if (type) {
116
116
  if (required) {
117
117
  acc.push(`${parameterName}: ${type}${rest.default ? ` = ${rest.default}` : ""}`);
@@ -123,11 +123,11 @@ addParams_fn = function(acc, item) {
123
123
  }
124
124
  return acc;
125
125
  };
126
- _chunkYSPZSLSKcjs.__privateAdd.call(void 0, _FunctionParams, _FunctionParams_static);
126
+ _chunkQGEKR3WNcjs.__privateAdd.call(void 0, _FunctionParams, _FunctionParams_static);
127
127
  var FunctionParams = _FunctionParams;
128
128
 
129
129
  // src/utils/promise.ts
130
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
130
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
131
131
  function isPromise(result) {
132
132
  return !!result && typeof _optionalChain([result, 'optionalAccess', _4 => _4.then]) === "function";
133
133
  }
@@ -139,7 +139,7 @@ function isPromiseRejectedResult(result) {
139
139
  }
140
140
 
141
141
  // src/utils/renderTemplate.ts
142
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
142
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
143
143
  function renderTemplate(template, data = void 0) {
144
144
  if (!data || !Object.keys(data).length) {
145
145
  return template.replace(/{{(.*?)}}/g, "");
@@ -164,7 +164,7 @@ function renderTemplate(template, data = void 0) {
164
164
  }
165
165
 
166
166
  // src/utils/timeout.ts
167
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
167
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
168
168
  async function timeout(ms) {
169
169
  return new Promise((resolve) => {
170
170
  setTimeout(() => {
@@ -174,7 +174,7 @@ async function timeout(ms) {
174
174
  }
175
175
 
176
176
  // src/utils/uniqueName.ts
177
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
177
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
178
178
  function getUniqueName(originalName, data) {
179
179
  let used = data[originalName] || 0;
180
180
  if (used) {
@@ -195,7 +195,7 @@ function setUniqueName(originalName, data) {
195
195
  }
196
196
 
197
197
  // src/utils/URLPath.ts
198
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
198
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
199
199
  var URLPath = class {
200
200
  constructor(path) {
201
201
  this.path = path;
@@ -262,7 +262,7 @@ var URLPath = class {
262
262
  let newPath = this.path.replaceAll("{", "${");
263
263
  if (found) {
264
264
  newPath = found.reduce((prev, curr) => {
265
- const pathParam = replacer ? replacer(_chunk5FVZDHZFcjs.camelCase.call(void 0, curr)) : _chunk5FVZDHZFcjs.camelCase.call(void 0, curr);
265
+ const pathParam = replacer ? replacer(_chunkNPISNQZWcjs.camelCase.call(void 0, curr)) : _chunkNPISNQZWcjs.camelCase.call(void 0, curr);
266
266
  const replacement = `\${${pathParam}}`;
267
267
  return prev.replace(curr, replacement);
268
268
  }, this.path);
@@ -278,7 +278,7 @@ var URLPath = class {
278
278
  const params = {};
279
279
  found.forEach((item) => {
280
280
  item = item.replaceAll("{", "").replaceAll("}", "");
281
- const pathParam = replacer ? replacer(_chunk5FVZDHZFcjs.camelCase.call(void 0, item)) : _chunk5FVZDHZFcjs.camelCase.call(void 0, item);
281
+ const pathParam = replacer ? replacer(_chunkNPISNQZWcjs.camelCase.call(void 0, item)) : _chunkNPISNQZWcjs.camelCase.call(void 0, item);
282
282
  params[pathParam] = pathParam;
283
283
  }, this.path);
284
284
  return params;
@@ -293,7 +293,7 @@ var URLPath = class {
293
293
  };
294
294
 
295
295
  // src/utils/getParser.ts
296
- _chunkYSPZSLSKcjs.init_cjs_shims.call(void 0, );
296
+ _chunkQGEKR3WNcjs.init_cjs_shims.call(void 0, );
297
297
  async function getParser(language) {
298
298
  let modulePromise;
299
299
  switch (language) {
@@ -317,4 +317,4 @@ async function getParser(language) {
317
317
 
318
318
 
319
319
  exports.FunctionParams = FunctionParams; exports.isPromise = isPromise; exports.isPromiseFulfilledResult = isPromiseFulfilledResult; exports.isPromiseRejectedResult = isPromiseRejectedResult; exports.renderTemplate = renderTemplate; exports.timeout = timeout; exports.getUniqueName = getUniqueName; exports.setUniqueName = setUniqueName; exports.URLPath = URLPath; exports.getParser = getParser;
320
- //# sourceMappingURL=chunk-4ILDTWZB.cjs.map
320
+ //# sourceMappingURL=chunk-RDHZSAKG.cjs.map