@flock/wirespec 0.20.0-RC.8 → 0.20.0-RC.9

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 (33) hide show
  1. package/clikt-clikt-mordant.mjs +39 -39
  2. package/colormath-root-colormath.mjs +433 -433
  3. package/kotlin-kotlin-stdlib.mjs +6 -6
  4. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  5. package/kotlin-openapi-bindings.mjs +10106 -10106
  6. package/kotlin-rgxgen.mjs +1760 -1760
  7. package/kotlinx-io-kotlinx-io-core.mjs +404 -404
  8. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1802 -1802
  9. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1469 -1469
  10. package/mordant-mordant.mjs +1198 -1198
  11. package/package.json +1 -1
  12. package/wirespec-src-compiler-core.mjs +1 -1
  13. package/wirespec-src-compiler-emitters-java.mjs +242 -242
  14. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  15. package/wirespec-src-compiler-emitters-kotlin.mjs +139 -139
  16. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  17. package/wirespec-src-compiler-emitters-python.mjs +229 -229
  18. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  19. package/wirespec-src-compiler-emitters-rust.mjs +331 -331
  20. package/wirespec-src-compiler-emitters-scala.mjs +119 -119
  21. package/wirespec-src-compiler-emitters-typescript.mjs +230 -230
  22. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  23. package/wirespec-src-compiler-emitters-wirespec.mjs +20 -20
  24. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  25. package/wirespec-src-compiler-ir.mjs +3533 -3195
  26. package/wirespec-src-compiler-ir.mjs.map +1 -1
  27. package/wirespec-src-converter-avro.mjs +479 -479
  28. package/wirespec-src-converter-openapi.mjs +340 -340
  29. package/wirespec-src-ide-lsp.mjs +1352 -1352
  30. package/wirespec-src-plugin-arguments.mjs +136 -136
  31. package/wirespec-src-plugin-cli.mjs +84 -84
  32. package/wirespec-src-plugin-npm.mjs +18 -18
  33. package/wirespec-src-tools-generator.mjs +2 -2
@@ -53,6 +53,12 @@ if (typeof Math.log2 === 'undefined') {
53
53
  return Math.log(x) * Math.LOG2E;
54
54
  };
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;