@cruglobal/godtools-shared 1.0.2-SNAPSHOT.1545 → 1.0.2-SNAPSHOT.1548
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 +49 -49
- package/Kermit-kermit.js +11 -11
- package/antlr-kotlin-antlr-kotlin-runtime.js +3756 -3463
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +875 -875
- package/fluid-locale.js +154 -154
- package/kotlin-js.js +138 -5
- package/kotlin-js.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +623 -516
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +542 -431
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2105 -2096
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +119 -119
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +2 -0
- package/kotlinx-atomicfu.js +20 -20
- package/kotlinx-coroutines-core.js +2147 -2147
- package/package.json +1 -1
package/Kermit-kermit-core.js
CHANGED
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
}(this, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
16
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
17
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
18
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
19
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
20
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
21
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
15
|
+
var protoOf = kotlin_kotlin.$_$.t6;
|
|
16
|
+
var Unit_instance = kotlin_kotlin.$_$.o2;
|
|
17
|
+
var classMeta = kotlin_kotlin.$_$.y5;
|
|
18
|
+
var setMetadataFor = kotlin_kotlin.$_$.u6;
|
|
19
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
20
|
+
var charSequenceLength = kotlin_kotlin.$_$.x5;
|
|
21
|
+
var interfaceMeta = kotlin_kotlin.$_$.i6;
|
|
22
|
+
var objectMeta = kotlin_kotlin.$_$.s6;
|
|
23
23
|
var VOID = kotlin_kotlin.$_$.d;
|
|
24
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
25
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
26
|
-
var Enum = kotlin_kotlin.$_$.
|
|
27
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
28
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
24
|
+
var getStringHashCode = kotlin_kotlin.$_$.g6;
|
|
25
|
+
var THROW_CCE = kotlin_kotlin.$_$.i9;
|
|
26
|
+
var Enum = kotlin_kotlin.$_$.y8;
|
|
27
|
+
var objectCreate = kotlin_kotlin.$_$.r6;
|
|
28
|
+
var stackTraceToString = kotlin_kotlin.$_$.t9;
|
|
29
29
|
//endregion
|
|
30
30
|
//region block: pre-declaration
|
|
31
31
|
setMetadataFor(BaseLogger, 'BaseLogger', classMeta);
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
return _Message___get_message__impl__3t69n4(message);
|
|
49
49
|
var sb = StringBuilder_init_$Create$();
|
|
50
50
|
if (!(severity == null)) {
|
|
51
|
-
sb.m5(this.
|
|
51
|
+
sb.m5(this.n1r(severity)).m5(' ');
|
|
52
52
|
}
|
|
53
53
|
var tmp_1;
|
|
54
54
|
var tmp_2 = tag;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
tmp_1 = false;
|
|
61
61
|
}
|
|
62
62
|
if (tmp_1) {
|
|
63
|
-
sb.m5(this.
|
|
63
|
+
sb.m5(this.o1r(tag)).m5(' ');
|
|
64
64
|
}
|
|
65
65
|
sb.m5(_Message___get_message__impl__3t69n4(message));
|
|
66
66
|
return sb.toString();
|
|
@@ -79,19 +79,19 @@
|
|
|
79
79
|
}
|
|
80
80
|
var DEFAULT_MIN_SEVERITY;
|
|
81
81
|
function BaseLogger(config) {
|
|
82
|
-
this.
|
|
82
|
+
this.h1r_1 = config;
|
|
83
83
|
}
|
|
84
|
-
protoOf(BaseLogger).
|
|
85
|
-
return this.
|
|
84
|
+
protoOf(BaseLogger).i1r = function () {
|
|
85
|
+
return this.h1r_1;
|
|
86
86
|
};
|
|
87
|
-
protoOf(BaseLogger).
|
|
87
|
+
protoOf(BaseLogger).j1r = function (severity, tag, throwable, message) {
|
|
88
88
|
// Inline function 'kotlin.collections.forEach' call
|
|
89
|
-
var tmp0_iterator = this.
|
|
89
|
+
var tmp0_iterator = this.i1r().k1r().s();
|
|
90
90
|
while (tmp0_iterator.t()) {
|
|
91
91
|
var element = tmp0_iterator.u();
|
|
92
92
|
// Inline function 'co.touchlab.kermit.BaseLogger.processLog.<anonymous>' call
|
|
93
|
-
if (element.
|
|
94
|
-
element.
|
|
93
|
+
if (element.m1r(tag, severity)) {
|
|
94
|
+
element.l1r(severity, message, tag, throwable);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
};
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
}
|
|
105
105
|
function LogWriter() {
|
|
106
106
|
}
|
|
107
|
-
protoOf(LogWriter).
|
|
107
|
+
protoOf(LogWriter).m1r = function (tag, severity) {
|
|
108
108
|
return true;
|
|
109
109
|
};
|
|
110
110
|
function MessageStringFormatter() {
|
|
@@ -130,21 +130,21 @@
|
|
|
130
130
|
function Tag__equals_impl_6ocp5g($this, other) {
|
|
131
131
|
if (!(other instanceof Tag))
|
|
132
132
|
return false;
|
|
133
|
-
if (!($this === (other instanceof Tag ? other.
|
|
133
|
+
if (!($this === (other instanceof Tag ? other.q1r_1 : THROW_CCE())))
|
|
134
134
|
return false;
|
|
135
135
|
return true;
|
|
136
136
|
}
|
|
137
137
|
function Tag(tag) {
|
|
138
|
-
this.
|
|
138
|
+
this.q1r_1 = tag;
|
|
139
139
|
}
|
|
140
140
|
protoOf(Tag).toString = function () {
|
|
141
|
-
return Tag__toString_impl_tvevk7(this.
|
|
141
|
+
return Tag__toString_impl_tvevk7(this.q1r_1);
|
|
142
142
|
};
|
|
143
143
|
protoOf(Tag).hashCode = function () {
|
|
144
|
-
return Tag__hashCode_impl_848yrc(this.
|
|
144
|
+
return Tag__hashCode_impl_848yrc(this.q1r_1);
|
|
145
145
|
};
|
|
146
146
|
protoOf(Tag).equals = function (other) {
|
|
147
|
-
return Tag__equals_impl_6ocp5g(this.
|
|
147
|
+
return Tag__equals_impl_6ocp5g(this.q1r_1, other);
|
|
148
148
|
};
|
|
149
149
|
function _Message___init__impl__p3e8y6(message) {
|
|
150
150
|
return message;
|
|
@@ -195,11 +195,11 @@
|
|
|
195
195
|
}
|
|
196
196
|
function ConsoleWriter(messageStringFormatter, console) {
|
|
197
197
|
LogWriter.call(this);
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
198
|
+
this.r1r_1 = messageStringFormatter;
|
|
199
|
+
this.s1r_1 = console;
|
|
200
200
|
}
|
|
201
|
-
protoOf(ConsoleWriter).
|
|
202
|
-
var output = this.
|
|
201
|
+
protoOf(ConsoleWriter).l1r = function (severity, message, tag, throwable) {
|
|
202
|
+
var output = this.r1r_1.p1r(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
|
|
203
203
|
if (throwable == null)
|
|
204
204
|
null;
|
|
205
205
|
else {
|
|
@@ -210,29 +210,29 @@
|
|
|
210
210
|
switch (severity.a9_1) {
|
|
211
211
|
case 5:
|
|
212
212
|
case 4:
|
|
213
|
-
this.
|
|
213
|
+
this.s1r_1.t1r(output);
|
|
214
214
|
break;
|
|
215
215
|
case 3:
|
|
216
|
-
this.
|
|
216
|
+
this.s1r_1.u1r(output);
|
|
217
217
|
break;
|
|
218
218
|
case 2:
|
|
219
|
-
this.
|
|
219
|
+
this.s1r_1.v1r(output);
|
|
220
220
|
break;
|
|
221
221
|
case 1:
|
|
222
222
|
case 0:
|
|
223
|
-
this.
|
|
223
|
+
this.s1r_1.w1r(output);
|
|
224
224
|
break;
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
function JsMutableLoggerConfig(logWriters) {
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
228
|
+
this.x1r_1 = get_DEFAULT_MIN_SEVERITY();
|
|
229
|
+
this.y1r_1 = logWriters;
|
|
230
230
|
}
|
|
231
|
-
protoOf(JsMutableLoggerConfig).
|
|
232
|
-
return this.
|
|
231
|
+
protoOf(JsMutableLoggerConfig).z1r = function () {
|
|
232
|
+
return this.x1r_1;
|
|
233
233
|
};
|
|
234
|
-
protoOf(JsMutableLoggerConfig).
|
|
235
|
-
return this.
|
|
234
|
+
protoOf(JsMutableLoggerConfig).k1r = function () {
|
|
235
|
+
return this.y1r_1;
|
|
236
236
|
};
|
|
237
237
|
function mutableLoggerConfigInit(logWriters) {
|
|
238
238
|
return new JsMutableLoggerConfig(logWriters);
|
|
@@ -243,16 +243,16 @@
|
|
|
243
243
|
}
|
|
244
244
|
function ConsoleActual() {
|
|
245
245
|
}
|
|
246
|
-
protoOf(ConsoleActual).
|
|
246
|
+
protoOf(ConsoleActual).t1r = function (output) {
|
|
247
247
|
console.error(output);
|
|
248
248
|
};
|
|
249
|
-
protoOf(ConsoleActual).
|
|
249
|
+
protoOf(ConsoleActual).u1r = function (output) {
|
|
250
250
|
console.warn(output);
|
|
251
251
|
};
|
|
252
|
-
protoOf(ConsoleActual).
|
|
252
|
+
protoOf(ConsoleActual).v1r = function (output) {
|
|
253
253
|
console.info(output);
|
|
254
254
|
};
|
|
255
|
-
protoOf(ConsoleActual).
|
|
255
|
+
protoOf(ConsoleActual).w1r = function (output) {
|
|
256
256
|
console.log(output);
|
|
257
257
|
};
|
|
258
258
|
var ConsoleActual_instance;
|
|
@@ -260,9 +260,9 @@
|
|
|
260
260
|
return ConsoleActual_instance;
|
|
261
261
|
}
|
|
262
262
|
//region block: post-declaration
|
|
263
|
-
protoOf(DefaultFormatter).
|
|
264
|
-
protoOf(DefaultFormatter).
|
|
265
|
-
protoOf(DefaultFormatter).
|
|
263
|
+
protoOf(DefaultFormatter).n1r = formatSeverity;
|
|
264
|
+
protoOf(DefaultFormatter).o1r = formatTag;
|
|
265
|
+
protoOf(DefaultFormatter).p1r = formatMessage;
|
|
266
266
|
//endregion
|
|
267
267
|
//region block: init
|
|
268
268
|
DefaultFormatter_instance = new DefaultFormatter();
|
package/Kermit-kermit.js
CHANGED
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var platformLogWriter = kotlin_co_touchlab_kermit_core.$_$.c;
|
|
19
|
-
var listOf = kotlin_kotlin.$_$.
|
|
19
|
+
var listOf = kotlin_kotlin.$_$.h4;
|
|
20
20
|
var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.b;
|
|
21
21
|
var Severity_Error_getInstance = kotlin_co_touchlab_kermit_core.$_$.e;
|
|
22
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
23
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
24
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
25
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
22
|
+
var Unit_instance = kotlin_kotlin.$_$.o2;
|
|
23
|
+
var protoOf = kotlin_kotlin.$_$.t6;
|
|
24
|
+
var objectMeta = kotlin_kotlin.$_$.s6;
|
|
25
|
+
var setMetadataFor = kotlin_kotlin.$_$.u6;
|
|
26
26
|
var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.d;
|
|
28
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
28
|
+
var classMeta = kotlin_kotlin.$_$.y5;
|
|
29
29
|
//endregion
|
|
30
30
|
//region block: pre-declaration
|
|
31
31
|
setMetadataFor(Logger, 'Logger', classMeta, BaseLogger);
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
Companion_instance = this;
|
|
36
36
|
Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
|
|
37
37
|
}
|
|
38
|
-
protoOf(Companion).
|
|
39
|
-
if (this.
|
|
38
|
+
protoOf(Companion).c1s = function (tag, throwable, message) {
|
|
39
|
+
if (this.i1r().z1r().b9(Severity_Error_getInstance()) <= 0) {
|
|
40
40
|
// Inline function 'co.touchlab.kermit.BaseLogger.log' call
|
|
41
41
|
var severity = Severity_Error_getInstance();
|
|
42
42
|
var message_0 = message();
|
|
43
|
-
if (this.
|
|
44
|
-
this.
|
|
43
|
+
if (this.i1r().z1r().b9(severity) <= 0) {
|
|
44
|
+
this.j1r(severity, tag, throwable, message_0);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
Companion_getInstance();
|
|
56
56
|
tag = tag === VOID ? '' : tag;
|
|
57
57
|
BaseLogger.call(this, config);
|
|
58
|
-
this.
|
|
58
|
+
this.e1s_1 = tag;
|
|
59
59
|
}
|
|
60
60
|
var defaultTag;
|
|
61
61
|
//region block: init
|