@flock/wirespec 0.22.7 → 0.22.8
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/clikt-clikt-mordant.mjs +39 -39
- package/colormath-root-colormath.mjs +433 -433
- package/kotlin-kotlin-stdlib.mjs +13 -13
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +6350 -6350
- package/kotlin-rgxgen.mjs +1756 -1756
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/mordant-mordant.mjs +1202 -1202
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +1123 -1418
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +1322 -1937
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +17 -17
- package/wirespec-src-compiler-emitters-typescript.mjs +23 -23
- package/wirespec-src-compiler-emitters-wirespec.mjs +44 -44
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-converter-asyncapi.mjs +447 -447
- package/wirespec-src-converter-graphql.mjs +905 -905
- package/wirespec-src-converter-openapi.mjs +332 -332
- package/wirespec-src-ide-lsp.mjs +767 -767
- package/wirespec-src-plugin-arguments.mjs +142 -142
- package/wirespec-src-plugin-cli.mjs +84 -84
- package/wirespec-src-plugin-extensions.mjs +16 -16
- package/wirespec-src-plugin-npm.mjs +7 -7
- package/wirespec-src-tools-generator.mjs +2 -2
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,11 +37,6 @@ 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.log2 === 'undefined') {
|
|
41
|
-
Math.log2 = function (x) {
|
|
42
|
-
return Math.log(x) * Math.LOG2E;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
40
|
if (typeof Math.clz32 === 'undefined') {
|
|
46
41
|
Math.clz32 = function (log, LN2) {
|
|
47
42
|
return function (x) {
|
|
@@ -53,11 +48,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
53
48
|
};
|
|
54
49
|
}(Math.log, Math.LN2);
|
|
55
50
|
}
|
|
56
|
-
if (typeof
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}});
|
|
51
|
+
if (typeof Math.log2 === 'undefined') {
|
|
52
|
+
Math.log2 = function (x) {
|
|
53
|
+
return Math.log(x) * Math.LOG2E;
|
|
54
|
+
};
|
|
61
55
|
}
|
|
62
56
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
63
57
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
@@ -70,6 +64,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
70
64
|
return lastIndex !== -1 && lastIndex === position;
|
|
71
65
|
}});
|
|
72
66
|
}
|
|
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;
|
|
@@ -951,9 +951,6 @@ function drop(_this__u8e3s4, n) {
|
|
|
951
951
|
}
|
|
952
952
|
return optimizeReadOnlyList(list);
|
|
953
953
|
}
|
|
954
|
-
function firstOrNull(_this__u8e3s4) {
|
|
955
|
-
return _this__u8e3s4.r() ? null : _this__u8e3s4.b1(0);
|
|
956
|
-
}
|
|
957
954
|
function single_0(_this__u8e3s4) {
|
|
958
955
|
var tmp;
|
|
959
956
|
switch (_this__u8e3s4.c1()) {
|
|
@@ -967,6 +964,9 @@ function single_0(_this__u8e3s4) {
|
|
|
967
964
|
}
|
|
968
965
|
return tmp;
|
|
969
966
|
}
|
|
967
|
+
function firstOrNull(_this__u8e3s4) {
|
|
968
|
+
return _this__u8e3s4.r() ? null : _this__u8e3s4.b1(0);
|
|
969
|
+
}
|
|
970
970
|
function single_1(_this__u8e3s4) {
|
|
971
971
|
if (isInterface(_this__u8e3s4, KtList))
|
|
972
972
|
return single_0(_this__u8e3s4);
|