@flock/wirespec 0.5.0 → 0.6.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 (29) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +294 -294
  2. package/kotlin/kotlin-kotlin-stdlib-js-ir.js +6 -6
  3. package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  4. package/kotlin/kotlin-openapi-bindings.js +3633 -3633
  5. package/kotlin/kotlin-openapi-bindings.js.map +1 -1
  6. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1238 -1238
  7. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  8. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +979 -979
  9. package/kotlin/wirespec-cli.js +80 -80
  10. package/kotlin/wirespec-core.js +525 -268
  11. package/kotlin/wirespec-core.js.map +1 -1
  12. package/kotlin/wirespec-lib.js +38 -38
  13. package/kotlin/wirespec-openapi.js +720 -626
  14. package/kotlin/wirespec-openapi.js.map +1 -1
  15. package/package.json +1 -1
  16. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  17. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
  18. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
  19. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  20. package/sync-hashes/kotlin-openapi-bindings.js.map.hash +1 -1
  21. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  22. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  23. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  24. package/sync-hashes/wirespec-cli.js.hash +1 -1
  25. package/sync-hashes/wirespec-core.js.hash +1 -1
  26. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  27. package/sync-hashes/wirespec-lib.js.hash +1 -1
  28. package/sync-hashes/wirespec-openapi.js.hash +1 -1
  29. package/sync-hashes/wirespec-openapi.js.map.hash +1 -1
@@ -15,6 +15,12 @@ if (typeof Math.clz32 === 'undefined') {
15
15
  };
16
16
  }(Math.log, Math.LN2);
17
17
  }
18
+ if (typeof String.prototype.startsWith === 'undefined') {
19
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
20
+ position = position || 0;
21
+ return this.lastIndexOf(searchString, position) === position;
22
+ }});
23
+ }
18
24
  if (typeof String.prototype.endsWith === 'undefined') {
19
25
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
20
26
  var subjectString = this.toString();
@@ -26,12 +32,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
26
32
  return lastIndex !== -1 && lastIndex === position;
27
33
  }});
28
34
  }
29
- if (typeof String.prototype.startsWith === 'undefined') {
30
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
31
- position = position || 0;
32
- return this.lastIndexOf(searchString, position) === position;
33
- }});
34
- }
35
35
  if (typeof Math.imul === 'undefined') {
36
36
  Math.imul = function imul(a, b) {
37
37
  return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;