mrs-toolbox-cli 0.0.1 → 0.0.11
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/88b0986a7186d029-atomicfu-js-ir.js +53 -72
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/{Kotlin-DateTime-library-kotlinx-datetime-js-ir.js → Kotlin-DateTime-library-kotlinx-datetime.js} +1 -1
- package/app.properties +1 -0
- package/clikt-clikt-mordant.js +245 -0
- package/clikt-clikt-mordant.js.map +1 -0
- package/clikt-clikt.js +6653 -0
- package/clikt-clikt.js.map +1 -0
- package/colormath-root-colormath.js +1670 -0
- package/colormath-root-colormath.js.map +1 -0
- package/com.mrs.platform.configuration.dto.js +11391 -9555
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +16354 -0
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-logging-js-ir.js +88 -111
- package/kotlin-logging-js-ir.js.map +1 -1
- package/kotlin-node.js +14 -5
- package/kotlin-node.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/kotlinx-html.js +8 -0
- package/kotlinx-html.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js +6098 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +5116 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3931 -3753
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +293 -302
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +3108 -3459
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +21 -27
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js +1241 -1722
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +2222 -3125
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +12 -13
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +365 -396
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +154 -150
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +749 -943
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +102 -116
- package/ktor-ktor-websockets.js.map +1 -1
- package/mordant-mordant-omnibus.js +8 -0
- package/mordant-mordant-omnibus.js.map +1 -0
- package/mordant-mordant.js +7129 -0
- package/mordant-mordant.js.map +1 -0
- package/mrs-toolbox-cli.d.ts +801 -829
- package/mrs-toolbox-cli.js +1055 -264
- package/mrs-toolbox-cli.js.map +1 -1
- package/package.json +3 -2
- package/static/demo.test.ts.txt +1 -1
- package/static/init/hooks.webpack.config.js +35 -0
- package/static/init/webpackRoot.config.js +35 -0
- package/static/mrscconfig.json +0 -1
- package/toolbox.js +14903 -12592
- package/toolbox.js.map +1 -1
- package/88b0986a7186d029-atomicfu-js-ir.js.hash +0 -1
- package/88b0986a7186d029-atomicfu-js-ir.js.map.hash +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.hash +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map.hash +0 -1
- package/clikt-clikt-js-ir.js +0 -7044
- package/clikt-clikt-js-ir.js.hash +0 -1
- package/clikt-clikt-js-ir.js.map +0 -1
- package/clikt-clikt-js-ir.js.map.hash +0 -1
- package/com.mrs.platform.configuration.dto.js.hash +0 -1
- package/com.mrs.platform.configuration.dto.js.map.hash +0 -1
- package/kotlin-js.js.hash +0 -1
- package/kotlin-js.js.map.hash +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js +0 -15789
- package/kotlin-kotlin-stdlib-js-ir.js.hash +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map.hash +0 -1
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.hash +0 -1
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map.hash +0 -1
- package/kotlin-logging-js-ir.js.hash +0 -1
- package/kotlin-logging-js-ir.js.map.hash +0 -1
- package/kotlin-node.js.hash +0 -1
- package/kotlin-node.js.map.hash +0 -1
- package/kotlin-web.js.hash +0 -1
- package/kotlin-web.js.map.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +0 -6431
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +0 -5102
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.hash +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map.hash +0 -1
- package/ktor-ktor-client-content-negotiation.js.hash +0 -1
- package/ktor-ktor-client-content-negotiation.js.map.hash +0 -1
- package/ktor-ktor-client-core.js.hash +0 -1
- package/ktor-ktor-client-core.js.map.hash +0 -1
- package/ktor-ktor-events.js.hash +0 -1
- package/ktor-ktor-events.js.map.hash +0 -1
- package/ktor-ktor-http.js.hash +0 -1
- package/ktor-ktor-http.js.map.hash +0 -1
- package/ktor-ktor-io.js.hash +0 -1
- package/ktor-ktor-io.js.map.hash +0 -1
- package/ktor-ktor-serialization-kotlinx-json.js.hash +0 -1
- package/ktor-ktor-serialization-kotlinx-json.js.map.hash +0 -1
- package/ktor-ktor-serialization-kotlinx.js.hash +0 -1
- package/ktor-ktor-serialization-kotlinx.js.map.hash +0 -1
- package/ktor-ktor-serialization.js.hash +0 -1
- package/ktor-ktor-serialization.js.map.hash +0 -1
- package/ktor-ktor-utils.js.hash +0 -1
- package/ktor-ktor-utils.js.map.hash +0 -1
- package/ktor-ktor-websocket-serialization.js.hash +0 -1
- package/ktor-ktor-websocket-serialization.js.map.hash +0 -1
- package/ktor-ktor-websockets.js.hash +0 -1
- package/ktor-ktor-websockets.js.map.hash +0 -1
- package/mrs-toolbox-cli.d.ts.hash +0 -1
- package/mrs-toolbox-cli.js.hash +0 -1
- package/mrs-toolbox-cli.js.map.hash +0 -1
- package/static/access.query.txt.hash +0 -1
- package/static/demo.test.ts.txt.hash +0 -1
- package/static/git.ignore.hash +0 -1
- package/static/graph.query.txt.hash +0 -1
- package/static/hook.ts.txt.hash +0 -1
- package/static/mrscconfig.json.hash +0 -1
- package/static/readme.md.hash +0 -1
- package/static/tsconfig.json.txt.hash +0 -1
- package/toolbox.js.hash +0 -1
- package/toolbox.js.map.hash +0 -1
- /package/{Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map → Kotlin-DateTime-library-kotlinx-datetime.js.map} +0 -0
package/kotlin-logging-js-ir.js
CHANGED
|
@@ -1,47 +1,43 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Exception_init_$Create$ = kotlin_kotlin.$_$.
|
|
5
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
6
|
-
var split = kotlin_kotlin.$_$.
|
|
7
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
8
|
-
var substringAfterLast = kotlin_kotlin.$_$.
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var Exception = kotlin_kotlin.$_$.ge;
|
|
4
|
+
var Exception_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
5
|
+
var stackTraceToString = kotlin_kotlin.$_$.sh;
|
|
6
|
+
var split = kotlin_kotlin.$_$.ze;
|
|
7
|
+
var substringBefore = kotlin_kotlin.$_$.ef;
|
|
8
|
+
var substringAfterLast = kotlin_kotlin.$_$.cf;
|
|
9
|
+
var contains = kotlin_kotlin.$_$.sd;
|
|
10
|
+
var protoOf = kotlin_kotlin.$_$.dc;
|
|
11
|
+
var initMetadataForObject = kotlin_kotlin.$_$.jb;
|
|
12
|
+
var Unit_instance = kotlin_kotlin.$_$.g5;
|
|
13
|
+
var Enum = kotlin_kotlin.$_$.hg;
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.db;
|
|
15
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
16
|
+
var toString = kotlin_kotlin.$_$.vh;
|
|
17
|
+
var Exception = kotlin_kotlin.$_$.jg;
|
|
19
18
|
//endregion
|
|
20
19
|
//region block: pre-declaration
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
setMetadataFor(KLoggerNameResolver, 'KLoggerNameResolver', objectMeta);
|
|
20
|
+
initMetadataForObject(KotlinLogging, 'KotlinLogging');
|
|
21
|
+
initMetadataForClass(Level, 'Level', VOID, Enum);
|
|
22
|
+
initMetadataForObject(DefaultErrorMessageProducer, 'DefaultErrorMessageProducer');
|
|
23
|
+
initMetadataForObject(ConsoleOutputAppender, 'ConsoleOutputAppender');
|
|
24
|
+
initMetadataForObject(DefaultMessageFormatter, 'DefaultMessageFormatter');
|
|
25
|
+
initMetadataForObject(KotlinLoggingConfiguration, 'KotlinLoggingConfiguration');
|
|
26
|
+
initMetadataForObject(KLoggerFactory, 'KLoggerFactory');
|
|
27
|
+
initMetadataForClass(KLoggerJS, 'KLoggerJS');
|
|
28
|
+
initMetadataForObject(KLoggerNameResolver, 'KLoggerNameResolver');
|
|
31
29
|
//endregion
|
|
32
30
|
function KotlinLogging() {
|
|
33
|
-
KotlinLogging_instance = this;
|
|
34
31
|
}
|
|
35
|
-
protoOf(KotlinLogging).
|
|
32
|
+
protoOf(KotlinLogging).n56 = function (func) {
|
|
36
33
|
var tmp$ret$0;
|
|
37
34
|
$l$block: {
|
|
38
35
|
// Inline function 'io.github.oshai.kotlinlogging.internal.KLoggerNameResolver.name' call
|
|
39
|
-
var tmp0_name = KLoggerNameResolver_getInstance();
|
|
40
36
|
var found = false;
|
|
41
37
|
var exception = Exception_init_$Create$();
|
|
42
|
-
var tmp0_iterator = split(stackTraceToString(exception), ['\n']).
|
|
43
|
-
while (tmp0_iterator.
|
|
44
|
-
var line = tmp0_iterator.
|
|
38
|
+
var tmp0_iterator = split(stackTraceToString(exception), ['\n']).k();
|
|
39
|
+
while (tmp0_iterator.l()) {
|
|
40
|
+
var line = tmp0_iterator.m();
|
|
45
41
|
if (found) {
|
|
46
42
|
tmp$ret$0 = substringAfterLast(substringAfterLast(substringBefore(line, '.kt'), '.'), '/');
|
|
47
43
|
break $l$block;
|
|
@@ -52,19 +48,14 @@
|
|
|
52
48
|
}
|
|
53
49
|
tmp$ret$0 = '';
|
|
54
50
|
}
|
|
55
|
-
return this.
|
|
51
|
+
return this.o56(tmp$ret$0);
|
|
56
52
|
};
|
|
57
|
-
protoOf(KotlinLogging).
|
|
58
|
-
var tmp$ret$0;
|
|
53
|
+
protoOf(KotlinLogging).o56 = function (name) {
|
|
59
54
|
// Inline function 'io.github.oshai.kotlinlogging.internal.KLoggerFactory.logger' call
|
|
60
|
-
|
|
61
|
-
tmp$ret$0 = new KLoggerJS(name);
|
|
62
|
-
return tmp$ret$0;
|
|
55
|
+
return new KLoggerJS(name);
|
|
63
56
|
};
|
|
64
57
|
var KotlinLogging_instance;
|
|
65
58
|
function KotlinLogging_getInstance() {
|
|
66
|
-
if (KotlinLogging_instance == null)
|
|
67
|
-
new KotlinLogging();
|
|
68
59
|
return KotlinLogging_instance;
|
|
69
60
|
}
|
|
70
61
|
var Level_TRACE_instance;
|
|
@@ -76,44 +67,23 @@
|
|
|
76
67
|
var Level_entriesInitialized;
|
|
77
68
|
function Level_initEntries() {
|
|
78
69
|
if (Level_entriesInitialized)
|
|
79
|
-
return
|
|
70
|
+
return Unit_instance;
|
|
80
71
|
Level_entriesInitialized = true;
|
|
81
|
-
Levels_getInstance();
|
|
82
72
|
Level_TRACE_instance = new Level('TRACE', 0, 0, 'TRACE');
|
|
83
|
-
Levels_getInstance();
|
|
84
73
|
Level_DEBUG_instance = new Level('DEBUG', 1, 10, 'DEBUG');
|
|
85
|
-
Levels_getInstance();
|
|
86
74
|
Level_INFO_instance = new Level('INFO', 2, 20, 'INFO');
|
|
87
|
-
Levels_getInstance();
|
|
88
75
|
Level_WARN_instance = new Level('WARN', 3, 30, 'WARN');
|
|
89
|
-
Levels_getInstance();
|
|
90
76
|
Level_ERROR_instance = new Level('ERROR', 4, 40, 'ERROR');
|
|
91
|
-
Levels_getInstance();
|
|
92
77
|
Level_OFF_instance = new Level('OFF', 5, 50, 'OFF');
|
|
93
78
|
}
|
|
94
79
|
function Level(name, ordinal, levelInt, levelStr) {
|
|
95
80
|
Enum.call(this, name, ordinal);
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
81
|
+
this.r56_1 = levelInt;
|
|
82
|
+
this.s56_1 = levelStr;
|
|
98
83
|
}
|
|
99
84
|
protoOf(Level).toString = function () {
|
|
100
|
-
return this.
|
|
85
|
+
return this.s56_1;
|
|
101
86
|
};
|
|
102
|
-
function Levels() {
|
|
103
|
-
Levels_instance = this;
|
|
104
|
-
this.d57_1 = 0;
|
|
105
|
-
this.e57_1 = 10;
|
|
106
|
-
this.f57_1 = 20;
|
|
107
|
-
this.g57_1 = 30;
|
|
108
|
-
this.h57_1 = 40;
|
|
109
|
-
this.i57_1 = 50;
|
|
110
|
-
}
|
|
111
|
-
var Levels_instance;
|
|
112
|
-
function Levels_getInstance() {
|
|
113
|
-
if (Levels_instance == null)
|
|
114
|
-
new Levels();
|
|
115
|
-
return Levels_instance;
|
|
116
|
-
}
|
|
117
87
|
function Level_TRACE_getInstance() {
|
|
118
88
|
Level_initEntries();
|
|
119
89
|
return Level_TRACE_instance;
|
|
@@ -139,37 +109,32 @@
|
|
|
139
109
|
return Level_OFF_instance;
|
|
140
110
|
}
|
|
141
111
|
function DefaultErrorMessageProducer() {
|
|
142
|
-
DefaultErrorMessageProducer_instance = this;
|
|
143
112
|
}
|
|
144
|
-
protoOf(DefaultErrorMessageProducer).
|
|
145
|
-
return 'Log message invocation failed: ' + e;
|
|
113
|
+
protoOf(DefaultErrorMessageProducer).t56 = function (e) {
|
|
114
|
+
return 'Log message invocation failed: ' + e.toString();
|
|
146
115
|
};
|
|
147
116
|
var DefaultErrorMessageProducer_instance;
|
|
148
117
|
function DefaultErrorMessageProducer_getInstance() {
|
|
149
|
-
if (DefaultErrorMessageProducer_instance == null)
|
|
150
|
-
new DefaultErrorMessageProducer();
|
|
151
118
|
return DefaultErrorMessageProducer_instance;
|
|
152
119
|
}
|
|
153
120
|
function ConsoleOutputAppender() {
|
|
154
|
-
ConsoleOutputAppender_instance = this;
|
|
155
121
|
}
|
|
156
|
-
protoOf(ConsoleOutputAppender).
|
|
122
|
+
protoOf(ConsoleOutputAppender).u56 = function (message) {
|
|
157
123
|
return console.info(message);
|
|
158
124
|
};
|
|
159
|
-
protoOf(ConsoleOutputAppender).
|
|
125
|
+
protoOf(ConsoleOutputAppender).v56 = function (message) {
|
|
126
|
+
return console.warn(message);
|
|
127
|
+
};
|
|
128
|
+
protoOf(ConsoleOutputAppender).w56 = function (message) {
|
|
160
129
|
return console.error(message);
|
|
161
130
|
};
|
|
162
131
|
var ConsoleOutputAppender_instance;
|
|
163
132
|
function ConsoleOutputAppender_getInstance() {
|
|
164
|
-
if (ConsoleOutputAppender_instance == null)
|
|
165
|
-
new ConsoleOutputAppender();
|
|
166
133
|
return ConsoleOutputAppender_instance;
|
|
167
134
|
}
|
|
168
135
|
function DefaultMessageFormatter() {
|
|
169
|
-
DefaultMessageFormatter_instance = this;
|
|
170
136
|
}
|
|
171
|
-
protoOf(DefaultMessageFormatter).
|
|
172
|
-
var tmp$ret$0;
|
|
137
|
+
protoOf(DefaultMessageFormatter).x56 = function (level, loggerName, msg) {
|
|
173
138
|
// Inline function 'io.github.oshai.kotlinlogging.internal.toStringSafe' call
|
|
174
139
|
var tmp;
|
|
175
140
|
try {
|
|
@@ -178,26 +143,24 @@
|
|
|
178
143
|
var tmp_0;
|
|
179
144
|
if ($p instanceof Exception) {
|
|
180
145
|
var e = $p;
|
|
181
|
-
tmp_0 =
|
|
146
|
+
tmp_0 = DefaultErrorMessageProducer_instance.t56(e);
|
|
182
147
|
} else {
|
|
183
148
|
throw $p;
|
|
184
149
|
}
|
|
185
150
|
tmp = tmp_0;
|
|
186
151
|
}
|
|
187
|
-
tmp$ret$0 = tmp;
|
|
188
|
-
return level.
|
|
152
|
+
var tmp$ret$0 = tmp;
|
|
153
|
+
return level.r2_1 + ': [' + loggerName + '] ' + tmp$ret$0;
|
|
189
154
|
};
|
|
190
155
|
var DefaultMessageFormatter_instance;
|
|
191
156
|
function DefaultMessageFormatter_getInstance() {
|
|
192
|
-
if (DefaultMessageFormatter_instance == null)
|
|
193
|
-
new DefaultMessageFormatter();
|
|
194
157
|
return DefaultMessageFormatter_instance;
|
|
195
158
|
}
|
|
196
159
|
function KotlinLoggingConfiguration() {
|
|
197
160
|
KotlinLoggingConfiguration_instance = this;
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
161
|
+
this.y56_1 = Level_INFO_getInstance();
|
|
162
|
+
this.z56_1 = ConsoleOutputAppender_instance;
|
|
163
|
+
this.a57_1 = DefaultMessageFormatter_instance;
|
|
201
164
|
}
|
|
202
165
|
var KotlinLoggingConfiguration_instance;
|
|
203
166
|
function KotlinLoggingConfiguration_getInstance() {
|
|
@@ -206,69 +169,83 @@
|
|
|
206
169
|
return KotlinLoggingConfiguration_instance;
|
|
207
170
|
}
|
|
208
171
|
function isLoggingEnabled(_this__u8e3s4) {
|
|
209
|
-
return _this__u8e3s4.
|
|
172
|
+
return _this__u8e3s4.s2_1 >= KotlinLoggingConfiguration_getInstance().y56_1.s2_1;
|
|
210
173
|
}
|
|
211
174
|
function KLoggerFactory() {
|
|
212
|
-
KLoggerFactory_instance = this;
|
|
213
175
|
}
|
|
214
176
|
var KLoggerFactory_instance;
|
|
215
177
|
function KLoggerFactory_getInstance() {
|
|
216
|
-
if (KLoggerFactory_instance == null)
|
|
217
|
-
new KLoggerFactory();
|
|
218
178
|
return KLoggerFactory_instance;
|
|
219
179
|
}
|
|
220
180
|
function logIfEnabled(_this__u8e3s4, $this, loggerName, msg, logFunction) {
|
|
221
181
|
if (isLoggingEnabled(_this__u8e3s4)) {
|
|
222
|
-
logFunction(KotlinLoggingConfiguration_getInstance().
|
|
182
|
+
logFunction(KotlinLoggingConfiguration_getInstance().a57_1.x56(_this__u8e3s4, loggerName, msg));
|
|
223
183
|
}
|
|
224
184
|
}
|
|
225
185
|
function Appender$info$ref($boundThis) {
|
|
226
186
|
var l = function (p0) {
|
|
227
|
-
$boundThis.
|
|
228
|
-
return
|
|
187
|
+
$boundThis.u56(p0);
|
|
188
|
+
return Unit_instance;
|
|
229
189
|
};
|
|
230
190
|
l.callableName = 'info';
|
|
231
191
|
return l;
|
|
232
192
|
}
|
|
193
|
+
function Appender$warn$ref($boundThis) {
|
|
194
|
+
var l = function (p0) {
|
|
195
|
+
$boundThis.v56(p0);
|
|
196
|
+
return Unit_instance;
|
|
197
|
+
};
|
|
198
|
+
l.callableName = 'warn';
|
|
199
|
+
return l;
|
|
200
|
+
}
|
|
233
201
|
function Appender$error$ref($boundThis) {
|
|
234
202
|
var l = function (p0) {
|
|
235
|
-
$boundThis.
|
|
236
|
-
return
|
|
203
|
+
$boundThis.w56(p0);
|
|
204
|
+
return Unit_instance;
|
|
237
205
|
};
|
|
238
206
|
l.callableName = 'error';
|
|
239
207
|
return l;
|
|
240
208
|
}
|
|
241
209
|
function KLoggerJS(name) {
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
}
|
|
250
|
-
protoOf(KLoggerJS).
|
|
210
|
+
this.b57_1 = name;
|
|
211
|
+
this.c57_1 = isLoggingEnabled(Level_TRACE_getInstance());
|
|
212
|
+
this.d57_1 = isLoggingEnabled(Level_DEBUG_getInstance());
|
|
213
|
+
this.e57_1 = isLoggingEnabled(Level_INFO_getInstance());
|
|
214
|
+
this.f57_1 = isLoggingEnabled(Level_WARN_getInstance());
|
|
215
|
+
this.g57_1 = isLoggingEnabled(Level_ERROR_getInstance());
|
|
216
|
+
this.h57_1 = isLoggingEnabled(Level_OFF_getInstance());
|
|
217
|
+
}
|
|
218
|
+
protoOf(KLoggerJS).i57 = function (msg) {
|
|
251
219
|
var tmp = Level_INFO_getInstance();
|
|
252
|
-
return logIfEnabled(tmp, this, this.
|
|
220
|
+
return logIfEnabled(tmp, this, this.b57_1, msg, Appender$info$ref(KotlinLoggingConfiguration_getInstance().z56_1));
|
|
221
|
+
};
|
|
222
|
+
protoOf(KLoggerJS).j57 = function (msg) {
|
|
223
|
+
var tmp = Level_WARN_getInstance();
|
|
224
|
+
return logIfEnabled(tmp, this, this.b57_1, msg, Appender$warn$ref(KotlinLoggingConfiguration_getInstance().z56_1));
|
|
253
225
|
};
|
|
254
|
-
protoOf(KLoggerJS).
|
|
226
|
+
protoOf(KLoggerJS).k57 = function (msg) {
|
|
255
227
|
var tmp = Level_ERROR_getInstance();
|
|
256
|
-
return logIfEnabled(tmp, this, this.
|
|
228
|
+
return logIfEnabled(tmp, this, this.b57_1, msg, Appender$error$ref(KotlinLoggingConfiguration_getInstance().z56_1));
|
|
257
229
|
};
|
|
258
230
|
function KLoggerNameResolver() {
|
|
259
|
-
KLoggerNameResolver_instance = this;
|
|
260
231
|
}
|
|
261
232
|
var KLoggerNameResolver_instance;
|
|
262
233
|
function KLoggerNameResolver_getInstance() {
|
|
263
|
-
if (KLoggerNameResolver_instance == null)
|
|
264
|
-
new KLoggerNameResolver();
|
|
265
234
|
return KLoggerNameResolver_instance;
|
|
266
235
|
}
|
|
236
|
+
//region block: init
|
|
237
|
+
KotlinLogging_instance = new KotlinLogging();
|
|
238
|
+
DefaultErrorMessageProducer_instance = new DefaultErrorMessageProducer();
|
|
239
|
+
ConsoleOutputAppender_instance = new ConsoleOutputAppender();
|
|
240
|
+
DefaultMessageFormatter_instance = new DefaultMessageFormatter();
|
|
241
|
+
KLoggerFactory_instance = new KLoggerFactory();
|
|
242
|
+
KLoggerNameResolver_instance = new KLoggerNameResolver();
|
|
243
|
+
//endregion
|
|
267
244
|
//region block: exports
|
|
268
245
|
_.$_$ = _.$_$ || {};
|
|
269
|
-
_.$_$.a =
|
|
246
|
+
_.$_$.a = KotlinLogging_instance;
|
|
270
247
|
//endregion
|
|
271
248
|
return _;
|
|
272
|
-
}(module.exports, require('./kotlin-kotlin-stdlib
|
|
249
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js')));
|
|
273
250
|
|
|
274
251
|
//# sourceMappingURL=kotlin-logging-js-ir.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/KotlinLogging.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerFactory.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/Level.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/internal/MessageInvoker.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/ConsoleOutputAppender.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/DefaultMessageFormatter.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingLevel.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerJS.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":["<init>","logger","func","found","exception","line","name","levelInt","levelStr","toString","getErrorLog","e","info","message","error","formatMessage","level","loggerName","msg","isLoggingEnabled","<this>","logIfEnabled","logFunction","Appender$info$ref","Appender$info$ref$lambda","Appender$error$ref","Appender$error$ref$lambda"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/KotlinLogging.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerFactory.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/Level.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/commonMain/kotlin/io/github/oshai/kotlinlogging/internal/MessageInvoker.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/ConsoleOutputAppender.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/DefaultMessageFormatter.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingLevel.kt","../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerJS.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null],"names":["<init>","logger","func","found","exception","line","name","levelInt","levelStr","toString","getErrorLog","e","info","message","warn","error","formatMessage","level","loggerName","msg","isLoggingEnabled","<this>","logIfEnabled","logFunction","Appender$info$ref","Appender$info$ref$lambda","Appender$warn$ref","Appender$warn$ref$lambda","Appender$error$ref","Appender$error$ref$lambda"],"mappings":"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"}
|
package/kotlin-node.js
CHANGED
|
@@ -2,17 +2,26 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var readdir = $module$node_fs_promises_daq1pm.readdir;
|
|
5
|
-
var
|
|
5
|
+
var readdir_0 = $module$node_fs_promises_daq1pm.readdir;
|
|
6
|
+
var stat = $module$node_fs_promises_daq1pm.stat;
|
|
7
|
+
var await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
6
8
|
//endregion
|
|
7
9
|
//region block: pre-declaration
|
|
8
10
|
//endregion
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
function readdir_1(path, options, $completion) {
|
|
12
|
+
return await_0(readdir(path, options), $completion);
|
|
13
|
+
}
|
|
14
|
+
function readdir_2(path, $completion) {
|
|
15
|
+
return await_0(readdir_0(path), $completion);
|
|
16
|
+
}
|
|
17
|
+
function stat_0(path, $completion) {
|
|
18
|
+
return await_0(stat(path), $completion);
|
|
12
19
|
}
|
|
13
20
|
//region block: exports
|
|
14
21
|
_.$_$ = _.$_$ || {};
|
|
15
|
-
_.$_$.a =
|
|
22
|
+
_.$_$.a = readdir_2;
|
|
23
|
+
_.$_$.b = readdir_1;
|
|
24
|
+
_.$_$.c = stat_0;
|
|
16
25
|
//endregion
|
|
17
26
|
return _;
|
|
18
27
|
}(module.exports, require('node:fs/promises'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js')));
|
package/kotlin-node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/readdir.kt"],"sourcesContent":[null],"names":["readdir","path","options","$completion"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/readdir.kt","../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-node/src/jsMain/generated/node/fs/stat.kt"],"sourcesContent":[null,null],"names":["readdir","path","options","$completion","stat"],"mappings":";;;;;;;;;;oBA8CQA,CACJC,I,EACAC,O,EAFIC,WAAAH,EAOJ;A,IAGQ,OAAN,QAHF,QACW,IADX,EAEc,OAFd,CAGE,c;EAAM,C;oBA/CJA,CACJC,I,EADIE,WAAAH,EAGJ;A,IAEQ,OAAN,QAFF,UACW,IADX,CAEE,c;EAAM,C;iBCRJI,CACJH,I,EADIE,WAAAC,EAGJ;A,IAEQ,OAAN,QAFF,KACW,IADX,CAEE,c;EAAM,C;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/kotlinx-html.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|