@flock/wirespec 0.6.2 → 0.7.0

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 (37) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +309 -309
  2. package/kotlin/arrow-arrow-atomic.js +1 -1
  3. package/kotlin/arrow-arrow-continuations.js +1 -1
  4. package/kotlin/arrow-arrow-core.js +5 -5
  5. package/kotlin/kotlin-kotlin-stdlib-js-ir.js +108 -94
  6. package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  7. package/kotlin/kotlin-openapi-bindings.js +3446 -3446
  8. package/kotlin/kotlin-openapi-bindings.js.map +1 -1
  9. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1360 -1330
  10. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1122 -1113
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  13. package/kotlin/wirespec-cli.js +96 -96
  14. package/kotlin/wirespec-core.js +353 -282
  15. package/kotlin/wirespec-core.js.map +1 -1
  16. package/kotlin/wirespec-lib.js +45 -45
  17. package/kotlin/wirespec-openapi.js +1503 -1177
  18. package/kotlin/wirespec-openapi.js.map +1 -1
  19. package/package.json +1 -1
  20. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  21. package/sync-hashes/arrow-arrow-atomic.js.hash +1 -1
  22. package/sync-hashes/arrow-arrow-continuations.js.hash +1 -1
  23. package/sync-hashes/arrow-arrow-core.js.hash +1 -1
  24. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
  25. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
  26. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  27. package/sync-hashes/kotlin-openapi-bindings.js.map.hash +1 -1
  28. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  29. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  30. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  31. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +1 -1
  32. package/sync-hashes/wirespec-cli.js.hash +1 -1
  33. package/sync-hashes/wirespec-core.js.hash +1 -1
  34. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  35. package/sync-hashes/wirespec-lib.js.hash +1 -1
  36. package/sync-hashes/wirespec-openapi.js.hash +1 -1
  37. package/sync-hashes/wirespec-openapi.js.map.hash +1 -1
@@ -14,7 +14,7 @@
14
14
  //region block: imports
15
15
  var protoOf = kotlin_kotlin.$_$.t7;
16
16
  var classMeta = kotlin_kotlin.$_$.q6;
17
- var VOID = kotlin_kotlin.$_$.ya;
17
+ var VOID = kotlin_kotlin.$_$.za;
18
18
  var setMetadataFor = kotlin_kotlin.$_$.u7;
19
19
  //endregion
20
20
  //region block: pre-declaration
@@ -13,7 +13,7 @@
13
13
  'use strict';
14
14
  //region block: imports
15
15
  var classMeta = kotlin_kotlin.$_$.q6;
16
- var VOID = kotlin_kotlin.$_$.ya;
16
+ var VOID = kotlin_kotlin.$_$.za;
17
17
  var setMetadataFor = kotlin_kotlin.$_$.u7;
18
18
  //endregion
19
19
  //region block: pre-declaration
@@ -21,18 +21,18 @@
21
21
  var Unit_getInstance = kotlin_kotlin.$_$.i3;
22
22
  var protoOf = kotlin_kotlin.$_$.t7;
23
23
  var objectMeta = kotlin_kotlin.$_$.s7;
24
- var VOID = kotlin_kotlin.$_$.ya;
24
+ var VOID = kotlin_kotlin.$_$.za;
25
25
  var setMetadataFor = kotlin_kotlin.$_$.u7;
26
26
  var hashCode = kotlin_kotlin.$_$.y6;
27
- var THROW_CCE = kotlin_kotlin.$_$.y9;
27
+ var THROW_CCE = kotlin_kotlin.$_$.z9;
28
28
  var equals = kotlin_kotlin.$_$.s6;
29
29
  var classMeta = kotlin_kotlin.$_$.q6;
30
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ta;
30
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.ua;
31
31
  var AbstractList = kotlin_kotlin.$_$.j3;
32
32
  var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.f1;
33
33
  var listOf = kotlin_kotlin.$_$.i5;
34
34
  var plus = kotlin_kotlin.$_$.p5;
35
- var joinToString = kotlin_kotlin.$_$.a5;
35
+ var joinToString = kotlin_kotlin.$_$.b5;
36
36
  var Collection = kotlin_kotlin.$_$.m3;
37
37
  var asList = kotlin_kotlin.$_$.a4;
38
38
  var AtomicBoolean = kotlin_io_arrow_kt_arrow_atomic.$_$.a;
@@ -40,7 +40,7 @@
40
40
  var CancellationException = kotlin_kotlin.$_$.e6;
41
41
  var CancellationException_init_$Init$ = kotlin_kotlin.$_$.t;
42
42
  var captureStack = kotlin_kotlin.$_$.k6;
43
- var IllegalStateException = kotlin_kotlin.$_$.s9;
43
+ var IllegalStateException = kotlin_kotlin.$_$.t9;
44
44
  var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.d1;
45
45
  var interfaceMeta = kotlin_kotlin.$_$.z6;
46
46
  var ControlThrowable = kotlin_io_arrow_kt_arrow_continuations.$_$.a;
@@ -756,6 +756,9 @@ if (typeof Math.imul === 'undefined') {
756
756
  }
757
757
  return toList_0(_this__u8e3s4.s(indices.q(), indices.r() + 1 | 0));
758
758
  }
759
+ function getOrNull_0(_this__u8e3s4, index) {
760
+ return (index >= 0 ? index <= get_lastIndex_2(_this__u8e3s4) : false) ? _this__u8e3s4.h(index) : null;
761
+ }
759
762
  function singleOrNull(_this__u8e3s4) {
760
763
  return _this__u8e3s4.f() === 1 ? _this__u8e3s4.h(0) : null;
761
764
  }
@@ -3305,6 +3308,16 @@ if (typeof Math.imul === 'undefined') {
3305
3308
  requireNonNegativeLimit(limit);
3306
3309
  return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda_0(delimiters, ignoreCase));
3307
3310
  }
3311
+ function contains_5(_this__u8e3s4, other, ignoreCase) {
3312
+ ignoreCase = ignoreCase === VOID ? false : ignoreCase;
3313
+ var tmp;
3314
+ if (typeof other === 'string') {
3315
+ tmp = indexOf_5(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
3316
+ } else {
3317
+ tmp = indexOf_6(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
3318
+ }
3319
+ return tmp;
3320
+ }
3308
3321
  function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) {
3309
3322
  return function ($this$$receiver, currentIndex) {
3310
3323
  var tmp0_safe_receiver = findAnyOf($this$$receiver, $delimitersList, currentIndex, $ignoreCase, false);
@@ -7401,17 +7414,6 @@ if (typeof Math.imul === 'undefined') {
7401
7414
  function isFinite_0(_this__u8e3s4) {
7402
7415
  return !isInfinite(_this__u8e3s4) ? !isNaN_0(_this__u8e3s4) : false;
7403
7416
  }
7404
- function countTrailingZeroBits(_this__u8e3s4) {
7405
- var low = _this__u8e3s4.c1_1;
7406
- var tmp;
7407
- if (low === 0) {
7408
- IntCompanionObject_getInstance();
7409
- tmp = 32 + countTrailingZeroBits_0(_this__u8e3s4.d1_1) | 0;
7410
- } else {
7411
- tmp = countTrailingZeroBits_0(low);
7412
- }
7413
- return tmp;
7414
- }
7415
7417
  function isInfinite_0(_this__u8e3s4) {
7416
7418
  var tmp;
7417
7419
  FloatCompanionObject_getInstance();
@@ -7426,6 +7428,17 @@ if (typeof Math.imul === 'undefined') {
7426
7428
  function isNaN_1(_this__u8e3s4) {
7427
7429
  return !(_this__u8e3s4 === _this__u8e3s4);
7428
7430
  }
7431
+ function countTrailingZeroBits(_this__u8e3s4) {
7432
+ var low = _this__u8e3s4.c1_1;
7433
+ var tmp;
7434
+ if (low === 0) {
7435
+ IntCompanionObject_getInstance();
7436
+ tmp = 32 + countTrailingZeroBits_0(_this__u8e3s4.d1_1) | 0;
7437
+ } else {
7438
+ tmp = countTrailingZeroBits_0(low);
7439
+ }
7440
+ return tmp;
7441
+ }
7429
7442
  function countTrailingZeroBits_0(_this__u8e3s4) {
7430
7443
  IntCompanionObject_getInstance();
7431
7444
  var tmp$ret$0;
@@ -10631,18 +10644,6 @@ if (typeof Math.imul === 'undefined') {
10631
10644
  new Digit();
10632
10645
  return Digit_instance;
10633
10646
  }
10634
- function isLowerCaseImpl(_this__u8e3s4) {
10635
- var tmp;
10636
- if (getLetterType(_this__u8e3s4) === 1) {
10637
- tmp = true;
10638
- } else {
10639
- var tmp$ret$0;
10640
- // Inline function 'kotlin.code' call
10641
- tmp$ret$0 = Char__toInt_impl_vasixd(_this__u8e3s4);
10642
- tmp = isOtherLowercase(tmp$ret$0);
10643
- }
10644
- return tmp;
10645
- }
10646
10647
  function getLetterType(_this__u8e3s4) {
10647
10648
  var tmp$ret$0;
10648
10649
  // Inline function 'kotlin.code' call
@@ -10730,6 +10731,18 @@ if (typeof Math.imul === 'undefined') {
10730
10731
  new Letter();
10731
10732
  return Letter_instance;
10732
10733
  }
10734
+ function isLowerCaseImpl(_this__u8e3s4) {
10735
+ var tmp;
10736
+ if (getLetterType(_this__u8e3s4) === 1) {
10737
+ tmp = true;
10738
+ } else {
10739
+ var tmp$ret$0;
10740
+ // Inline function 'kotlin.code' call
10741
+ tmp$ret$0 = Char__toInt_impl_vasixd(_this__u8e3s4);
10742
+ tmp = isOtherLowercase(tmp$ret$0);
10743
+ }
10744
+ return tmp;
10745
+ }
10733
10746
  function isOtherLowercase(_this__u8e3s4) {
10734
10747
  var index = binarySearchRange(OtherLowercase_getInstance().qf_1, _this__u8e3s4);
10735
10748
  return index >= 0 ? _this__u8e3s4 < (OtherLowercase_getInstance().qf_1[index] + OtherLowercase_getInstance().rf_1[index] | 0) : false;
@@ -11344,11 +11357,11 @@ if (typeof Math.imul === 'undefined') {
11344
11357
  _.$_$.u4 = filterNotNull;
11345
11358
  _.$_$.v4 = first;
11346
11359
  _.$_$.w4 = getOrNull;
11347
- _.$_$.x4 = getValue;
11348
- _.$_$.y4 = get_indices_0;
11349
- _.$_$.z4 = get_indices;
11350
- _.$_$.a5 = joinToString_0;
11351
- _.$_$.b5 = joinToString;
11360
+ _.$_$.x4 = getOrNull_0;
11361
+ _.$_$.y4 = getValue;
11362
+ _.$_$.z4 = get_indices_0;
11363
+ _.$_$.a5 = get_indices;
11364
+ _.$_$.b5 = joinToString_0;
11352
11365
  _.$_$.c5 = get_lastIndex_1;
11353
11366
  _.$_$.d5 = get_lastIndex_2;
11354
11367
  _.$_$.e5 = lastOrNull;
@@ -11436,72 +11449,73 @@ if (typeof Math.imul === 'undefined') {
11436
11449
  _.$_$.i8 = filter;
11437
11450
  _.$_$.j8 = map;
11438
11451
  _.$_$.k8 = toSet_1;
11439
- _.$_$.l8 = dropLast;
11440
- _.$_$.m8 = drop_0;
11441
- _.$_$.n8 = endsWith;
11442
- _.$_$.o8 = equals_0;
11443
- _.$_$.p8 = indexOf_4;
11444
- _.$_$.q8 = isBlank;
11445
- _.$_$.r8 = isLowerCase;
11446
- _.$_$.s8 = lastIndexOf;
11447
- _.$_$.t8 = removePrefix;
11448
- _.$_$.u8 = single_2;
11449
- _.$_$.v8 = split_1;
11450
- _.$_$.w8 = split;
11451
- _.$_$.x8 = startsWith_1;
11452
- _.$_$.y8 = startsWith;
11453
- _.$_$.z8 = titlecase;
11454
- _.$_$.a9 = toDouble;
11455
- _.$_$.b9 = toIntOrNull;
11456
- _.$_$.c9 = toInt;
11457
- _.$_$.d9 = toLong;
11458
- _.$_$.e9 = toUByte;
11459
- _.$_$.f9 = toUInt;
11460
- _.$_$.g9 = toULong;
11461
- _.$_$.h9 = toUShort;
11462
- _.$_$.i9 = trimIndent;
11463
- _.$_$.j9 = trimMargin;
11464
- _.$_$.k9 = trimStart;
11465
- _.$_$.l9 = Duration;
11466
- _.$_$.m9 = Char;
11467
- _.$_$.n9 = DeepRecursiveFunction;
11468
- _.$_$.o9 = DeepRecursiveScope;
11469
- _.$_$.p9 = Enum;
11470
- _.$_$.q9 = Exception;
11471
- _.$_$.r9 = IllegalArgumentException;
11472
- _.$_$.s9 = IllegalStateException;
11473
- _.$_$.t9 = Long;
11474
- _.$_$.u9 = NotImplementedError;
11475
- _.$_$.v9 = Pair;
11476
- _.$_$.w9 = Result;
11477
- _.$_$.x9 = RuntimeException;
11478
- _.$_$.y9 = THROW_CCE;
11479
- _.$_$.z9 = THROW_ISE;
11480
- _.$_$.aa = Triple;
11481
- _.$_$.ba = UByteArray;
11482
- _.$_$.ca = UByte;
11483
- _.$_$.da = UIntArray;
11484
- _.$_$.ea = UInt;
11485
- _.$_$.fa = ULongArray;
11486
- _.$_$.ga = ULong;
11487
- _.$_$.ha = UShortArray;
11488
- _.$_$.ia = UShort;
11489
- _.$_$.ja = Unit;
11490
- _.$_$.ka = arrayOf;
11491
- _.$_$.la = countTrailingZeroBits;
11492
- _.$_$.ma = createFailure;
11493
- _.$_$.na = ensureNotNull;
11494
- _.$_$.oa = invoke;
11495
- _.$_$.pa = isFinite_0;
11496
- _.$_$.qa = isFinite;
11497
- _.$_$.ra = lazy;
11498
- _.$_$.sa = lazy_0;
11499
- _.$_$.ta = noWhenBranchMatchedException;
11500
- _.$_$.ua = plus_3;
11501
- _.$_$.va = throwKotlinNothingValueException;
11502
- _.$_$.wa = throwUninitializedPropertyAccessException;
11503
- _.$_$.xa = to;
11504
- _.$_$.ya = VOID;
11452
+ _.$_$.l8 = contains_5;
11453
+ _.$_$.m8 = dropLast;
11454
+ _.$_$.n8 = drop_0;
11455
+ _.$_$.o8 = endsWith;
11456
+ _.$_$.p8 = equals_0;
11457
+ _.$_$.q8 = indexOf_4;
11458
+ _.$_$.r8 = isBlank;
11459
+ _.$_$.s8 = isLowerCase;
11460
+ _.$_$.t8 = lastIndexOf;
11461
+ _.$_$.u8 = removePrefix;
11462
+ _.$_$.v8 = single_2;
11463
+ _.$_$.w8 = split_1;
11464
+ _.$_$.x8 = split;
11465
+ _.$_$.y8 = startsWith_1;
11466
+ _.$_$.z8 = startsWith;
11467
+ _.$_$.a9 = titlecase;
11468
+ _.$_$.b9 = toDouble;
11469
+ _.$_$.c9 = toIntOrNull;
11470
+ _.$_$.d9 = toInt;
11471
+ _.$_$.e9 = toLong;
11472
+ _.$_$.f9 = toUByte;
11473
+ _.$_$.g9 = toUInt;
11474
+ _.$_$.h9 = toULong;
11475
+ _.$_$.i9 = toUShort;
11476
+ _.$_$.j9 = trimIndent;
11477
+ _.$_$.k9 = trimMargin;
11478
+ _.$_$.l9 = trimStart;
11479
+ _.$_$.m9 = Duration;
11480
+ _.$_$.n9 = Char;
11481
+ _.$_$.o9 = DeepRecursiveFunction;
11482
+ _.$_$.p9 = DeepRecursiveScope;
11483
+ _.$_$.q9 = Enum;
11484
+ _.$_$.r9 = Exception;
11485
+ _.$_$.s9 = IllegalArgumentException;
11486
+ _.$_$.t9 = IllegalStateException;
11487
+ _.$_$.u9 = Long;
11488
+ _.$_$.v9 = NotImplementedError;
11489
+ _.$_$.w9 = Pair;
11490
+ _.$_$.x9 = Result;
11491
+ _.$_$.y9 = RuntimeException;
11492
+ _.$_$.z9 = THROW_CCE;
11493
+ _.$_$.aa = THROW_ISE;
11494
+ _.$_$.ba = Triple;
11495
+ _.$_$.ca = UByteArray;
11496
+ _.$_$.da = UByte;
11497
+ _.$_$.ea = UIntArray;
11498
+ _.$_$.fa = UInt;
11499
+ _.$_$.ga = ULongArray;
11500
+ _.$_$.ha = ULong;
11501
+ _.$_$.ia = UShortArray;
11502
+ _.$_$.ja = UShort;
11503
+ _.$_$.ka = Unit;
11504
+ _.$_$.la = arrayOf;
11505
+ _.$_$.ma = countTrailingZeroBits;
11506
+ _.$_$.na = createFailure;
11507
+ _.$_$.oa = ensureNotNull;
11508
+ _.$_$.pa = invoke;
11509
+ _.$_$.qa = isFinite_0;
11510
+ _.$_$.ra = isFinite;
11511
+ _.$_$.sa = lazy;
11512
+ _.$_$.ta = lazy_0;
11513
+ _.$_$.ua = noWhenBranchMatchedException;
11514
+ _.$_$.va = plus_3;
11515
+ _.$_$.wa = throwKotlinNothingValueException;
11516
+ _.$_$.xa = throwUninitializedPropertyAccessException;
11517
+ _.$_$.ya = to;
11518
+ _.$_$.za = VOID;
11505
11519
  //endregion
11506
11520
  return _;
11507
11521
  }));