@cruglobal/godtools-shared 1.1.0-SNAPSHOT.1591 → 1.1.0-SNAPSHOT.1606
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 +45 -45
- package/Kermit-kermit.js +8 -8
- package/antlr-kotlin-antlr-kotlin-runtime.js +2972 -2972
- package/colormath-root-colormath.js +882 -882
- package/fluid-locale.js +138 -138
- package/kotlin-js.js +19 -19
- package/kotlin-kotlin-stdlib.js +183 -154
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +2 -2
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +398 -398
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2958 -2249
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +108 -108
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +23 -3
- package/kotlinx-atomicfu.js +4 -4
- package/kotlinx-coroutines-core.js +1559 -1515
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/Kermit-kermit-core.js
CHANGED
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
}(function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
15
|
+
var protoOf = kotlin_kotlin.$_$.a7;
|
|
16
16
|
var Unit_instance = kotlin_kotlin.$_$.l2;
|
|
17
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
17
|
+
var initMetadataForClass = kotlin_kotlin.$_$.l6;
|
|
18
18
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
19
19
|
var charSequenceLength = kotlin_kotlin.$_$.a6;
|
|
20
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
21
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
20
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.o6;
|
|
21
|
+
var initMetadataForObject = kotlin_kotlin.$_$.q6;
|
|
22
22
|
var VOID = kotlin_kotlin.$_$.d;
|
|
23
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
24
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
25
|
-
var Enum = kotlin_kotlin.$_$.
|
|
26
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
27
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
23
|
+
var getStringHashCode = kotlin_kotlin.$_$.j6;
|
|
24
|
+
var THROW_CCE = kotlin_kotlin.$_$.q9;
|
|
25
|
+
var Enum = kotlin_kotlin.$_$.g9;
|
|
26
|
+
var objectCreate = kotlin_kotlin.$_$.z6;
|
|
27
|
+
var stackTraceToString = kotlin_kotlin.$_$.ca;
|
|
28
28
|
//endregion
|
|
29
29
|
//region block: pre-declaration
|
|
30
30
|
initMetadataForClass(BaseLogger, 'BaseLogger');
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
return _Message___get_message__impl__3t69n4(message);
|
|
48
48
|
var sb = StringBuilder_init_$Create$();
|
|
49
49
|
if (!(severity == null)) {
|
|
50
|
-
sb.k8(this.
|
|
50
|
+
sb.k8(this.i1t(severity)).k8(' ');
|
|
51
51
|
}
|
|
52
52
|
var tmp_1;
|
|
53
53
|
var tmp_2 = tag;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
tmp_1 = false;
|
|
60
60
|
}
|
|
61
61
|
if (tmp_1) {
|
|
62
|
-
sb.k8(this.
|
|
62
|
+
sb.k8(this.j1t(tag)).k8(' ');
|
|
63
63
|
}
|
|
64
64
|
sb.k8(_Message___get_message__impl__3t69n4(message));
|
|
65
65
|
return sb.toString();
|
|
@@ -78,19 +78,19 @@
|
|
|
78
78
|
}
|
|
79
79
|
var DEFAULT_MIN_SEVERITY;
|
|
80
80
|
function BaseLogger(config) {
|
|
81
|
-
this.
|
|
81
|
+
this.c1t_1 = config;
|
|
82
82
|
}
|
|
83
|
-
protoOf(BaseLogger).
|
|
84
|
-
return this.
|
|
83
|
+
protoOf(BaseLogger).d1t = function () {
|
|
84
|
+
return this.c1t_1;
|
|
85
85
|
};
|
|
86
|
-
protoOf(BaseLogger).
|
|
86
|
+
protoOf(BaseLogger).e1t = function (severity, tag, throwable, message) {
|
|
87
87
|
// Inline function 'kotlin.collections.forEach' call
|
|
88
|
-
var tmp0_iterator = this.
|
|
88
|
+
var tmp0_iterator = this.d1t().f1t().j();
|
|
89
89
|
while (tmp0_iterator.k()) {
|
|
90
90
|
var element = tmp0_iterator.l();
|
|
91
91
|
// Inline function 'co.touchlab.kermit.BaseLogger.processLog.<anonymous>' call
|
|
92
|
-
if (element.
|
|
93
|
-
element.
|
|
92
|
+
if (element.h1t(tag, severity)) {
|
|
93
|
+
element.g1t(severity, message, tag, throwable);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
};
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
function LogWriter() {
|
|
105
105
|
}
|
|
106
|
-
protoOf(LogWriter).
|
|
106
|
+
protoOf(LogWriter).h1t = function (tag, severity) {
|
|
107
107
|
return true;
|
|
108
108
|
};
|
|
109
109
|
function MessageStringFormatter() {
|
|
@@ -129,21 +129,21 @@
|
|
|
129
129
|
function Tag__equals_impl_6ocp5g($this, other) {
|
|
130
130
|
if (!(other instanceof Tag))
|
|
131
131
|
return false;
|
|
132
|
-
if (!($this === (other instanceof Tag ? other.
|
|
132
|
+
if (!($this === (other instanceof Tag ? other.l1t_1 : THROW_CCE())))
|
|
133
133
|
return false;
|
|
134
134
|
return true;
|
|
135
135
|
}
|
|
136
136
|
function Tag(tag) {
|
|
137
|
-
this.
|
|
137
|
+
this.l1t_1 = tag;
|
|
138
138
|
}
|
|
139
139
|
protoOf(Tag).toString = function () {
|
|
140
|
-
return Tag__toString_impl_tvevk7(this.
|
|
140
|
+
return Tag__toString_impl_tvevk7(this.l1t_1);
|
|
141
141
|
};
|
|
142
142
|
protoOf(Tag).hashCode = function () {
|
|
143
|
-
return Tag__hashCode_impl_848yrc(this.
|
|
143
|
+
return Tag__hashCode_impl_848yrc(this.l1t_1);
|
|
144
144
|
};
|
|
145
145
|
protoOf(Tag).equals = function (other) {
|
|
146
|
-
return Tag__equals_impl_6ocp5g(this.
|
|
146
|
+
return Tag__equals_impl_6ocp5g(this.l1t_1, other);
|
|
147
147
|
};
|
|
148
148
|
function _Message___init__impl__p3e8y6(message) {
|
|
149
149
|
return message;
|
|
@@ -194,11 +194,11 @@
|
|
|
194
194
|
}
|
|
195
195
|
function ConsoleWriter(messageStringFormatter, console) {
|
|
196
196
|
LogWriter.call(this);
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
197
|
+
this.m1t_1 = messageStringFormatter;
|
|
198
|
+
this.n1t_1 = console;
|
|
199
199
|
}
|
|
200
|
-
protoOf(ConsoleWriter).
|
|
201
|
-
var output = this.
|
|
200
|
+
protoOf(ConsoleWriter).g1t = function (severity, message, tag, throwable) {
|
|
201
|
+
var output = this.m1t_1.k1t(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
|
|
202
202
|
if (throwable == null)
|
|
203
203
|
null;
|
|
204
204
|
else {
|
|
@@ -209,29 +209,29 @@
|
|
|
209
209
|
switch (severity.p2_1) {
|
|
210
210
|
case 5:
|
|
211
211
|
case 4:
|
|
212
|
-
this.
|
|
212
|
+
this.n1t_1.o1t(output);
|
|
213
213
|
break;
|
|
214
214
|
case 3:
|
|
215
|
-
this.
|
|
215
|
+
this.n1t_1.p1t(output);
|
|
216
216
|
break;
|
|
217
217
|
case 2:
|
|
218
|
-
this.
|
|
218
|
+
this.n1t_1.q1t(output);
|
|
219
219
|
break;
|
|
220
220
|
case 1:
|
|
221
221
|
case 0:
|
|
222
|
-
this.
|
|
222
|
+
this.n1t_1.r1t(output);
|
|
223
223
|
break;
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
function JsMutableLoggerConfig(logWriters) {
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
227
|
+
this.s1t_1 = get_DEFAULT_MIN_SEVERITY();
|
|
228
|
+
this.t1t_1 = logWriters;
|
|
229
229
|
}
|
|
230
|
-
protoOf(JsMutableLoggerConfig).
|
|
231
|
-
return this.
|
|
230
|
+
protoOf(JsMutableLoggerConfig).u1t = function () {
|
|
231
|
+
return this.s1t_1;
|
|
232
232
|
};
|
|
233
|
-
protoOf(JsMutableLoggerConfig).
|
|
234
|
-
return this.
|
|
233
|
+
protoOf(JsMutableLoggerConfig).f1t = function () {
|
|
234
|
+
return this.t1t_1;
|
|
235
235
|
};
|
|
236
236
|
function mutableLoggerConfigInit(logWriters) {
|
|
237
237
|
return new JsMutableLoggerConfig(logWriters);
|
|
@@ -242,16 +242,16 @@
|
|
|
242
242
|
}
|
|
243
243
|
function ConsoleActual() {
|
|
244
244
|
}
|
|
245
|
-
protoOf(ConsoleActual).
|
|
245
|
+
protoOf(ConsoleActual).o1t = function (output) {
|
|
246
246
|
console.error(output);
|
|
247
247
|
};
|
|
248
|
-
protoOf(ConsoleActual).
|
|
248
|
+
protoOf(ConsoleActual).p1t = function (output) {
|
|
249
249
|
console.warn(output);
|
|
250
250
|
};
|
|
251
|
-
protoOf(ConsoleActual).
|
|
251
|
+
protoOf(ConsoleActual).q1t = function (output) {
|
|
252
252
|
console.info(output);
|
|
253
253
|
};
|
|
254
|
-
protoOf(ConsoleActual).
|
|
254
|
+
protoOf(ConsoleActual).r1t = function (output) {
|
|
255
255
|
console.log(output);
|
|
256
256
|
};
|
|
257
257
|
var ConsoleActual_instance;
|
|
@@ -259,9 +259,9 @@
|
|
|
259
259
|
return ConsoleActual_instance;
|
|
260
260
|
}
|
|
261
261
|
//region block: post-declaration
|
|
262
|
-
protoOf(DefaultFormatter).
|
|
263
|
-
protoOf(DefaultFormatter).
|
|
264
|
-
protoOf(DefaultFormatter).
|
|
262
|
+
protoOf(DefaultFormatter).i1t = formatSeverity;
|
|
263
|
+
protoOf(DefaultFormatter).j1t = formatTag;
|
|
264
|
+
protoOf(DefaultFormatter).k1t = formatMessage;
|
|
265
265
|
//endregion
|
|
266
266
|
//region block: init
|
|
267
267
|
DefaultFormatter_instance = new DefaultFormatter();
|
package/Kermit-kermit.js
CHANGED
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.b;
|
|
21
21
|
var Severity_Error_getInstance = kotlin_co_touchlab_kermit_core.$_$.e;
|
|
22
22
|
var Unit_instance = kotlin_kotlin.$_$.l2;
|
|
23
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
24
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
23
|
+
var protoOf = kotlin_kotlin.$_$.a7;
|
|
24
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.m6;
|
|
25
25
|
var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
|
|
26
26
|
var VOID = kotlin_kotlin.$_$.d;
|
|
27
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
27
|
+
var initMetadataForClass = kotlin_kotlin.$_$.l6;
|
|
28
28
|
//endregion
|
|
29
29
|
//region block: pre-declaration
|
|
30
30
|
initMetadataForClass(Logger, 'Logger', VOID, BaseLogger);
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
Companion_instance = this;
|
|
35
35
|
Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
|
|
36
36
|
}
|
|
37
|
-
protoOf(Companion).
|
|
38
|
-
if (this.
|
|
37
|
+
protoOf(Companion).x1t = function (tag, throwable, message) {
|
|
38
|
+
if (this.d1t().u1t().s2(Severity_Error_getInstance()) <= 0) {
|
|
39
39
|
// Inline function 'co.touchlab.kermit.BaseLogger.log' call
|
|
40
40
|
var severity = Severity_Error_getInstance();
|
|
41
41
|
var message_0 = message();
|
|
42
|
-
if (this.
|
|
43
|
-
this.
|
|
42
|
+
if (this.d1t().u1t().s2(severity) <= 0) {
|
|
43
|
+
this.e1t(severity, tag, throwable, message_0);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
};
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
Companion_getInstance();
|
|
55
55
|
tag = tag === VOID ? '' : tag;
|
|
56
56
|
BaseLogger.call(this, config);
|
|
57
|
-
this.
|
|
57
|
+
this.z1t_1 = tag;
|
|
58
58
|
}
|
|
59
59
|
var defaultTag;
|
|
60
60
|
//region block: init
|