mrs-toolbox-cli 0.0.131 → 0.0.133

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.
@@ -42,6 +42,11 @@ if (typeof Math.log2 === 'undefined') {
42
42
  return Math.log(x) * Math.LOG2E;
43
43
  };
44
44
  }
45
+ if (typeof Math.log10 === 'undefined') {
46
+ Math.log10 = function (x) {
47
+ return Math.log(x) * Math.LOG10E;
48
+ };
49
+ }
45
50
  if (typeof Math.clz32 === 'undefined') {
46
51
  Math.clz32 = function (log, LN2) {
47
52
  return function (x) {
@@ -62,10 +67,11 @@ if (typeof Math.sign === 'undefined') {
62
67
  return x > 0 ? 1 : -1;
63
68
  };
64
69
  }
65
- if (typeof Math.log10 === 'undefined') {
66
- Math.log10 = function (x) {
67
- return Math.log(x) * Math.LOG10E;
68
- };
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
+ }});
69
75
  }
70
76
  if (typeof String.prototype.endsWith === 'undefined') {
71
77
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -78,12 +84,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
78
84
  return lastIndex !== -1 && lastIndex === position;
79
85
  }});
80
86
  }
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';
@@ -112,8 +112,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
112
112
  initMetadataForInterface(KtList, 'List', VOID, VOID, [Collection]);
113
113
  initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
114
114
  initMetadataForInterface(MutableIterable, 'MutableIterable');
115
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
116
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
115
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
116
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
117
117
  initMetadataForInterface(Entry, 'Entry');
118
118
  function asJsReadonlyMapView() {
119
119
  return createJsReadonlyMapViewFrom(this);
@@ -140,7 +140,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
140
140
  initMetadataForObject(Letter, 'Letter');
141
141
  initMetadataForObject(OtherLowercase, 'OtherLowercase');
142
142
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
143
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
143
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
144
144
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
145
145
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
146
146
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -153,7 +153,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
153
153
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
154
154
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
155
155
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
156
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
156
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
157
157
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
158
158
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
159
159
  initMetadataForClass(HashMapKeysDefault$iterator$1);