@flock/wirespec 0.19.4 → 0.19.5

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/clikt-clikt-mordant.mjs +79 -79
  2. package/clikt-clikt.mjs +1312 -1312
  3. package/clikt-clikt.mjs.map +1 -1
  4. package/colormath-root-colormath.mjs +432 -432
  5. package/kotlin-kotlin-stdlib.mjs +6 -6
  6. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  7. package/kotlin-openapi-bindings.mjs +9859 -9859
  8. package/kotlin-rgxgen.mjs +1760 -1760
  9. package/kotlinx-io-kotlinx-io-core.mjs +404 -404
  10. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1775 -1775
  11. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1479 -1479
  12. package/mordant-mordant.mjs +1192 -1192
  13. package/package.json +1 -1
  14. package/wirespec-src-compiler-emitters-java.mjs +255 -255
  15. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  16. package/wirespec-src-compiler-emitters-kotlin.mjs +140 -140
  17. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-python.mjs +187 -187
  19. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-rust.mjs +342 -342
  21. package/wirespec-src-compiler-emitters-scala.mjs +123 -123
  22. package/wirespec-src-compiler-emitters-typescript.mjs +196 -196
  23. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-wirespec.mjs +22 -22
  25. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  26. package/wirespec-src-compiler-ir.mjs +3322 -3322
  27. package/wirespec-src-compiler-lib.mjs +227 -58
  28. package/wirespec-src-compiler-lib.mjs.map +1 -1
  29. package/wirespec-src-converter-avro.mjs +480 -480
  30. package/wirespec-src-converter-openapi.mjs +344 -344
  31. package/wirespec-src-ide-lsp.mjs +1348 -1348
  32. package/wirespec-src-plugin-arguments.mjs +139 -139
  33. package/wirespec-src-plugin-cli.mjs +87 -87
  34. package/wirespec-src-plugin-npm.d.mts +39 -2
  35. package/wirespec-src-plugin-npm.mjs +21 -21
  36. package/wirespec-src-plugin-npm.mjs.map +1 -1
  37. package/wirespec-src-tools-generator.mjs +2 -2
@@ -53,6 +53,12 @@ if (typeof Math.clz32 === 'undefined') {
53
53
  };
54
54
  }(Math.log, Math.LN2);
55
55
  }
56
+ if (typeof String.prototype.startsWith === 'undefined') {
57
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
58
+ position = position || 0;
59
+ return this.lastIndexOf(searchString, position) === position;
60
+ }});
61
+ }
56
62
  if (typeof String.prototype.endsWith === 'undefined') {
57
63
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
58
64
  var subjectString = this.toString();
@@ -64,12 +70,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
64
70
  return lastIndex !== -1 && lastIndex === position;
65
71
  }});
66
72
  }
67
- if (typeof String.prototype.startsWith === 'undefined') {
68
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
69
- position = position || 0;
70
- return this.lastIndexOf(searchString, position) === position;
71
- }});
72
- }
73
73
  //endregion
74
74
  //region block: imports
75
75
  var imul_0 = Math.imul;