@cruglobal/godtools-shared 1.2.1-SNAPSHOT.1800 → 1.3.0-SNAPSHOT.1806
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.
- package/Kermit-kermit-core.js +36 -36
- package/Kermit-kermit.js +5 -5
- package/antlr-kotlin-antlr-kotlin-runtime.js +2922 -2922
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +547 -547
- package/fluid-locale.js +125 -125
- package/kotlin-kotlin-stdlib.js +48 -48
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +978 -393
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2075 -2075
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js +34 -563
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +151 -142
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +11 -7
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2138 -2138
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -667,41 +667,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
667
667
|
result.e(element);
|
|
668
668
|
return result;
|
|
669
669
|
}
|
|
670
|
-
function first(_this__u8e3s4) {
|
|
671
|
-
if (isInterface(_this__u8e3s4, KtList))
|
|
672
|
-
return first_0(_this__u8e3s4);
|
|
673
|
-
else {
|
|
674
|
-
var iterator = _this__u8e3s4.j();
|
|
675
|
-
if (!iterator.k())
|
|
676
|
-
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
|
|
677
|
-
return iterator.l();
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
function toList_0(_this__u8e3s4) {
|
|
681
|
-
if (isInterface(_this__u8e3s4, Collection)) {
|
|
682
|
-
var tmp;
|
|
683
|
-
switch (_this__u8e3s4.m()) {
|
|
684
|
-
case 0:
|
|
685
|
-
tmp = emptyList();
|
|
686
|
-
break;
|
|
687
|
-
case 1:
|
|
688
|
-
var tmp_0;
|
|
689
|
-
if (isInterface(_this__u8e3s4, KtList)) {
|
|
690
|
-
tmp_0 = _this__u8e3s4.o(0);
|
|
691
|
-
} else {
|
|
692
|
-
tmp_0 = _this__u8e3s4.j().l();
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
tmp = listOf(tmp_0);
|
|
696
|
-
break;
|
|
697
|
-
default:
|
|
698
|
-
tmp = toMutableList_0(_this__u8e3s4);
|
|
699
|
-
break;
|
|
700
|
-
}
|
|
701
|
-
return tmp;
|
|
702
|
-
}
|
|
703
|
-
return optimizeReadOnlyList(toMutableList_1(_this__u8e3s4));
|
|
704
|
-
}
|
|
705
670
|
function toSet_0(_this__u8e3s4) {
|
|
706
671
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
707
672
|
var tmp;
|
|
@@ -765,19 +730,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
765
730
|
function lastOrNull(_this__u8e3s4) {
|
|
766
731
|
return _this__u8e3s4.p() ? null : _this__u8e3s4.o(_this__u8e3s4.m() - 1 | 0);
|
|
767
732
|
}
|
|
768
|
-
function first_0(_this__u8e3s4) {
|
|
769
|
-
if (_this__u8e3s4.p())
|
|
770
|
-
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
771
|
-
return _this__u8e3s4.o(0);
|
|
772
|
-
}
|
|
773
|
-
function toMutableList_0(_this__u8e3s4) {
|
|
774
|
-
return ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
775
|
-
}
|
|
776
|
-
function toMutableList_1(_this__u8e3s4) {
|
|
777
|
-
if (isInterface(_this__u8e3s4, Collection))
|
|
778
|
-
return toMutableList_0(_this__u8e3s4);
|
|
779
|
-
return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
|
|
780
|
-
}
|
|
781
733
|
function toCollection_0(_this__u8e3s4, destination) {
|
|
782
734
|
var _iterator__ex2g4s = _this__u8e3s4.j();
|
|
783
735
|
while (_iterator__ex2g4s.k()) {
|
|
@@ -786,6 +738,41 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
786
738
|
}
|
|
787
739
|
return destination;
|
|
788
740
|
}
|
|
741
|
+
function toList_0(_this__u8e3s4) {
|
|
742
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
743
|
+
var tmp;
|
|
744
|
+
switch (_this__u8e3s4.m()) {
|
|
745
|
+
case 0:
|
|
746
|
+
tmp = emptyList();
|
|
747
|
+
break;
|
|
748
|
+
case 1:
|
|
749
|
+
var tmp_0;
|
|
750
|
+
if (isInterface(_this__u8e3s4, KtList)) {
|
|
751
|
+
tmp_0 = _this__u8e3s4.o(0);
|
|
752
|
+
} else {
|
|
753
|
+
tmp_0 = _this__u8e3s4.j().l();
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
tmp = listOf(tmp_0);
|
|
757
|
+
break;
|
|
758
|
+
default:
|
|
759
|
+
tmp = toMutableList_0(_this__u8e3s4);
|
|
760
|
+
break;
|
|
761
|
+
}
|
|
762
|
+
return tmp;
|
|
763
|
+
}
|
|
764
|
+
return optimizeReadOnlyList(toMutableList_1(_this__u8e3s4));
|
|
765
|
+
}
|
|
766
|
+
function first(_this__u8e3s4) {
|
|
767
|
+
if (isInterface(_this__u8e3s4, KtList))
|
|
768
|
+
return first_0(_this__u8e3s4);
|
|
769
|
+
else {
|
|
770
|
+
var iterator = _this__u8e3s4.j();
|
|
771
|
+
if (!iterator.k())
|
|
772
|
+
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
|
|
773
|
+
return iterator.l();
|
|
774
|
+
}
|
|
775
|
+
}
|
|
789
776
|
function filterNotNullTo(_this__u8e3s4, destination) {
|
|
790
777
|
var _iterator__ex2g4s = _this__u8e3s4.j();
|
|
791
778
|
while (_iterator__ex2g4s.k()) {
|
|
@@ -812,6 +799,19 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
812
799
|
sortWith_0(this_1, comparator);
|
|
813
800
|
return this_1;
|
|
814
801
|
}
|
|
802
|
+
function toMutableList_0(_this__u8e3s4) {
|
|
803
|
+
return ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
804
|
+
}
|
|
805
|
+
function toMutableList_1(_this__u8e3s4) {
|
|
806
|
+
if (isInterface(_this__u8e3s4, Collection))
|
|
807
|
+
return toMutableList_0(_this__u8e3s4);
|
|
808
|
+
return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
|
|
809
|
+
}
|
|
810
|
+
function first_0(_this__u8e3s4) {
|
|
811
|
+
if (_this__u8e3s4.p())
|
|
812
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
813
|
+
return _this__u8e3s4.o(0);
|
|
814
|
+
}
|
|
815
815
|
function single_0(_this__u8e3s4) {
|
|
816
816
|
if (isInterface(_this__u8e3s4, KtList))
|
|
817
817
|
return single_1(_this__u8e3s4);
|