@flock/wirespec 0.17.7 → 0.17.12

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 (35) hide show
  1. package/clikt-clikt.mjs +1159 -1159
  2. package/colormath-root-colormath.mjs +425 -425
  3. package/kotlin-kotlin-stdlib.mjs +13 -13
  4. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  5. package/kotlin-openapi-bindings.mjs +2604 -2452
  6. package/kotlin-openapi-bindings.mjs.map +1 -1
  7. package/kotlin-rgxgen.mjs +1767 -1767
  8. package/kotlinx-io-kotlinx-io-core.mjs +380 -380
  9. package/markdown.mjs +1879 -1879
  10. package/mordant-mordant.mjs +1630 -1630
  11. package/package.json +1 -1
  12. package/wirespec-src-compiler-core.mjs +3936 -3920
  13. package/wirespec-src-compiler-core.mjs.map +1 -1
  14. package/wirespec-src-compiler-emitters-java.mjs +310 -310
  15. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  16. package/wirespec-src-compiler-emitters-kotlin.mjs +211 -211
  17. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-python.mjs +279 -279
  19. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-typescript.mjs +261 -262
  21. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-wirespec.mjs +133 -100
  23. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  24. package/wirespec-src-compiler-lib.mjs +367 -367
  25. package/wirespec-src-compiler-lib.mjs.map +1 -1
  26. package/wirespec-src-converter-avro.mjs +316 -316
  27. package/wirespec-src-converter-avro.mjs.map +1 -1
  28. package/wirespec-src-converter-openapi.mjs +2161 -2276
  29. package/wirespec-src-converter-openapi.mjs.map +1 -1
  30. package/wirespec-src-plugin-arguments.mjs +139 -139
  31. package/wirespec-src-plugin-cli.mjs +78 -78
  32. package/wirespec-src-plugin-cli.mjs.map +1 -1
  33. package/wirespec-src-plugin-npm.mjs +40 -40
  34. package/wirespec-src-tools-generator.mjs +46 -46
  35. package/wirespec-src-tools-generator.mjs.map +1 -1
@@ -48,15 +48,21 @@ if (typeof Math.clz32 === 'undefined') {
48
48
  };
49
49
  }(Math.log, Math.LN2);
50
50
  }
51
+ if (typeof Math.log2 === 'undefined') {
52
+ Math.log2 = function (x) {
53
+ return Math.log(x) * Math.LOG2E;
54
+ };
55
+ }
51
56
  if (typeof Math.log10 === 'undefined') {
52
57
  Math.log10 = function (x) {
53
58
  return Math.log(x) * Math.LOG10E;
54
59
  };
55
60
  }
56
- if (typeof Math.log2 === 'undefined') {
57
- Math.log2 = function (x) {
58
- return Math.log(x) * Math.LOG2E;
59
- };
61
+ if (typeof String.prototype.startsWith === 'undefined') {
62
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
63
+ position = position || 0;
64
+ return this.lastIndexOf(searchString, position) === position;
65
+ }});
60
66
  }
61
67
  if (typeof String.prototype.endsWith === 'undefined') {
62
68
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -69,12 +75,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
69
75
  return lastIndex !== -1 && lastIndex === position;
70
76
  }});
71
77
  }
72
- if (typeof String.prototype.startsWith === 'undefined') {
73
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
74
- position = position || 0;
75
- return this.lastIndexOf(searchString, position) === position;
76
- }});
77
- }
78
78
  //endregion
79
79
  //region block: imports
80
80
  var imul_0 = Math.imul;
@@ -100,8 +100,8 @@ initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
100
100
  initMetadataForInterface(Entry, 'Entry');
101
101
  initMetadataForInterface(KtMap, 'Map');
102
102
  initMetadataForInterface(MutableIterable, 'MutableIterable');
103
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
104
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
103
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
104
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
105
105
  initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
106
106
  initMetadataForCompanion(Companion_0);
107
107
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
@@ -121,7 +121,7 @@ initMetadataForObject(Letter, 'Letter');
121
121
  initMetadataForObject(OtherLowercase, 'OtherLowercase');
122
122
  initMetadataForInterface(Comparator, 'Comparator');
123
123
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
124
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
124
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
125
125
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
126
126
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
127
127
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);