mrs-toolbox-cli 0.0.136 → 0.1.6

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 (39) hide show
  1. package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
  2. package/clikt-clikt-mordant.js +17 -17
  3. package/clikt-clikt-mordant.js.map +1 -1
  4. package/clikt-clikt.js +1259 -1259
  5. package/clikt-clikt.js.map +1 -1
  6. package/colormath-root-colormath.js +430 -430
  7. package/colormath-root-colormath.js.map +1 -1
  8. package/com.mrs.platform.configuration.dto.js +1692 -1886
  9. package/com.mrs.platform.configuration.dto.js.map +1 -1
  10. package/kotlin-kotlin-stdlib.js +18 -18
  11. package/kotlin-kotlin-stdlib.js.map +1 -1
  12. package/kotlin-logging-js-ir.js +34 -34
  13. package/kotlin-logging-js-ir.js.map +1 -1
  14. package/kotlin-node.js.map +1 -1
  15. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  16. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  17. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +8 -8
  18. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
  19. package/ktor-ktor-client-content-negotiation.js +125 -125
  20. package/ktor-ktor-client-content-negotiation.js.map +1 -1
  21. package/ktor-ktor-client-core.js +1411 -1411
  22. package/ktor-ktor-client-core.js.map +1 -1
  23. package/ktor-ktor-events.js +4 -4
  24. package/ktor-ktor-events.js.map +1 -1
  25. package/ktor-ktor-http.js.map +1 -1
  26. package/ktor-ktor-io.js.map +1 -1
  27. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
  28. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  29. package/ktor-ktor-serialization.js.map +1 -1
  30. package/ktor-ktor-utils.js.map +1 -1
  31. package/ktor-ktor-websockets.js.map +1 -1
  32. package/mordant-mordant.js +561 -561
  33. package/mordant-mordant.js.map +1 -1
  34. package/mrs-toolbox-cli.d.ts +1 -16
  35. package/mrs-toolbox-cli.js +206 -206
  36. package/mrs-toolbox-cli.js.map +1 -1
  37. package/package.json +1 -1
  38. package/toolbox.js +2973 -3306
  39. package/toolbox.js.map +1 -1
@@ -37,20 +37,16 @@ if (typeof Array.prototype.fill === 'undefined') {
37
37
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
38
38
  }
39
39
  });
40
+ if (typeof Math.log10 === 'undefined') {
41
+ Math.log10 = function (x) {
42
+ return Math.log(x) * Math.LOG10E;
43
+ };
44
+ }
40
45
  if (typeof Math.log2 === 'undefined') {
41
46
  Math.log2 = function (x) {
42
47
  return Math.log(x) * Math.LOG2E;
43
48
  };
44
49
  }
45
- if (typeof Math.sign === 'undefined') {
46
- Math.sign = function (x) {
47
- x = +x; // convert to a number
48
- if (x === 0 || isNaN(x)) {
49
- return Number(x);
50
- }
51
- return x > 0 ? 1 : -1;
52
- };
53
- }
54
50
  if (typeof Math.clz32 === 'undefined') {
55
51
  Math.clz32 = function (log, LN2) {
56
52
  return function (x) {
@@ -62,17 +58,15 @@ if (typeof Math.clz32 === 'undefined') {
62
58
  };
63
59
  }(Math.log, Math.LN2);
64
60
  }
65
- if (typeof Math.log10 === 'undefined') {
66
- Math.log10 = function (x) {
67
- return Math.log(x) * Math.LOG10E;
61
+ if (typeof Math.sign === 'undefined') {
62
+ Math.sign = function (x) {
63
+ x = +x; // convert to a number
64
+ if (x === 0 || isNaN(x)) {
65
+ return Number(x);
66
+ }
67
+ return x > 0 ? 1 : -1;
68
68
  };
69
69
  }
70
- if (typeof String.prototype.startsWith === 'undefined') {
71
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
72
- position = position || 0;
73
- return this.lastIndexOf(searchString, position) === position;
74
- }});
75
- }
76
70
  if (typeof String.prototype.endsWith === 'undefined') {
77
71
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
78
72
  var subjectString = this.toString();
@@ -84,6 +78,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
84
78
  return lastIndex !== -1 && lastIndex === position;
85
79
  }});
86
80
  }
81
+ if (typeof String.prototype.startsWith === 'undefined') {
82
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
83
+ position = position || 0;
84
+ return this.lastIndexOf(searchString, position) === position;
85
+ }});
86
+ }
87
87
  //endregion
88
88
  (function (_) {
89
89
  'use strict';