@cruglobal/godtools-shared 0.9.3-SNAPSHOT.1474 → 0.9.3-SNAPSHOT.1484

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main": "kotlin-mpp-godtools-tool-parser-publishing-npm.js",
3
3
  "types": "kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts",
4
- "version": "0.9.3-SNAPSHOT.1474",
4
+ "version": "0.9.3-SNAPSHOT.1484",
5
5
  "name": "@cruglobal/godtools-shared",
6
6
  "dependencies": {
7
7
  "format-util": "^1.0.5",
@@ -1,176 +0,0 @@
1
- (function (root, factory) {
2
- if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
- else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
- else {
7
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
8
- throw new Error("Error loading module 'Napier-napier-js-ir'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Napier-napier-js-ir'.");
9
- }
10
- root['Napier-napier-js-ir'] = factory(typeof this['Napier-napier-js-ir'] === 'undefined' ? {} : this['Napier-napier-js-ir'], this['kotlin-kotlin-stdlib']);
11
- }
12
- }(this, function (_, kotlin_kotlin) {
13
- 'use strict';
14
- //region block: imports
15
- var Unit_instance = kotlin_kotlin.$_$.m2;
16
- var Enum = kotlin_kotlin.$_$.r8;
17
- var protoOf = kotlin_kotlin.$_$.n6;
18
- var classMeta = kotlin_kotlin.$_$.s5;
19
- var setMetadataFor = kotlin_kotlin.$_$.o6;
20
- var Collection = kotlin_kotlin.$_$.p2;
21
- var isInterface = kotlin_kotlin.$_$.f6;
22
- var objectMeta = kotlin_kotlin.$_$.m6;
23
- var emptyList = kotlin_kotlin.$_$.i3;
24
- var objectCreate = kotlin_kotlin.$_$.l6;
25
- var AbstractList = kotlin_kotlin.$_$.n2;
26
- var THROW_CCE = kotlin_kotlin.$_$.b9;
27
- var VOID = kotlin_kotlin.$_$.c;
28
- //endregion
29
- //region block: pre-declaration
30
- setMetadataFor(LogLevel, 'LogLevel', classMeta, Enum);
31
- setMetadataFor(Napier, 'Napier', objectMeta);
32
- setMetadataFor(AtomicMutableList, 'AtomicMutableList', classMeta, AbstractList, VOID, AtomicMutableList_init_$Create$);
33
- setMetadataFor(AtomicRef, 'AtomicRef', classMeta);
34
- //endregion
35
- var LogLevel_VERBOSE_instance;
36
- var LogLevel_DEBUG_instance;
37
- var LogLevel_INFO_instance;
38
- var LogLevel_WARNING_instance;
39
- var LogLevel_ERROR_instance;
40
- var LogLevel_ASSERT_instance;
41
- var LogLevel_entriesInitialized;
42
- function LogLevel_initEntries() {
43
- if (LogLevel_entriesInitialized)
44
- return Unit_instance;
45
- LogLevel_entriesInitialized = true;
46
- LogLevel_VERBOSE_instance = new LogLevel('VERBOSE', 0);
47
- LogLevel_DEBUG_instance = new LogLevel('DEBUG', 1);
48
- LogLevel_INFO_instance = new LogLevel('INFO', 2);
49
- LogLevel_WARNING_instance = new LogLevel('WARNING', 3);
50
- LogLevel_ERROR_instance = new LogLevel('ERROR', 4);
51
- LogLevel_ASSERT_instance = new LogLevel('ASSERT', 5);
52
- }
53
- function LogLevel(name, ordinal) {
54
- Enum.call(this, name, ordinal);
55
- }
56
- function LogLevel_DEBUG_getInstance() {
57
- LogLevel_initEntries();
58
- return LogLevel_DEBUG_instance;
59
- }
60
- function LogLevel_ERROR_getInstance() {
61
- LogLevel_initEntries();
62
- return LogLevel_ERROR_instance;
63
- }
64
- function Napier() {
65
- Napier_instance = this;
66
- this.r1q_1 = AtomicMutableList_init_$Create$();
67
- }
68
- protoOf(Napier).s1q = function (priority, tag) {
69
- var tmp$ret$0;
70
- $l$block_0: {
71
- // Inline function 'kotlin.collections.any' call
72
- var this_0 = this.r1q_1;
73
- var tmp;
74
- if (isInterface(this_0, Collection)) {
75
- tmp = this_0.x();
76
- } else {
77
- tmp = false;
78
- }
79
- if (tmp) {
80
- tmp$ret$0 = false;
81
- break $l$block_0;
82
- }
83
- var tmp0_iterator = this_0.s();
84
- while (tmp0_iterator.t()) {
85
- var element = tmp0_iterator.u();
86
- // Inline function 'io.github.aakira.napier.Napier.isEnable.<anonymous>' call
87
- if (element.s1q(priority, tag)) {
88
- tmp$ret$0 = true;
89
- break $l$block_0;
90
- }
91
- }
92
- tmp$ret$0 = false;
93
- }
94
- return tmp$ret$0;
95
- };
96
- protoOf(Napier).t1q = function (priority, tag, throwable, message) {
97
- // Inline function 'kotlin.collections.forEach' call
98
- var tmp0_iterator = this.r1q_1.s();
99
- while (tmp0_iterator.t()) {
100
- var element = tmp0_iterator.u();
101
- // Inline function 'io.github.aakira.napier.Napier.rawLog.<anonymous>' call
102
- element.t1q(priority, tag, throwable, message);
103
- }
104
- };
105
- protoOf(Napier).u1q = function (message, throwable, tag) {
106
- this.v1q(LogLevel_DEBUG_getInstance(), tag, throwable, message);
107
- };
108
- protoOf(Napier).w1q = function (message, throwable, tag) {
109
- this.v1q(LogLevel_ERROR_getInstance(), tag, throwable, message);
110
- };
111
- protoOf(Napier).x1q = function (throwable, tag, message) {
112
- this.v1q(LogLevel_ERROR_getInstance(), tag, throwable, message());
113
- };
114
- protoOf(Napier).v1q = function (priority, tag, throwable, message) {
115
- if (this.s1q(priority, tag)) {
116
- this.t1q(priority, tag, throwable, message);
117
- }
118
- };
119
- var Napier_instance;
120
- function Napier_getInstance() {
121
- if (Napier_instance == null)
122
- new Napier();
123
- return Napier_instance;
124
- }
125
- function AtomicMutableList_init_$Init$($this) {
126
- // Inline function 'kotlin.collections.listOf' call
127
- var tmp$ret$0 = emptyList();
128
- AtomicMutableList.call($this, tmp$ret$0);
129
- return $this;
130
- }
131
- function AtomicMutableList_init_$Create$() {
132
- return AtomicMutableList_init_$Init$(objectCreate(protoOf(AtomicMutableList)));
133
- }
134
- function AtomicMutableList(value) {
135
- AbstractList.call(this);
136
- this.y1q_1 = new AtomicRef(value);
137
- }
138
- protoOf(AtomicMutableList).l = function () {
139
- return this.y1q_1.z1q_1.l();
140
- };
141
- protoOf(AtomicMutableList).x = function () {
142
- return this.y1q_1.z1q_1.x();
143
- };
144
- protoOf(AtomicMutableList).be = function (element) {
145
- return this.y1q_1.z1q_1.v(element);
146
- };
147
- protoOf(AtomicMutableList).v = function (element) {
148
- if (!(element == null ? true : !(element == null)))
149
- return false;
150
- return this.be((element == null ? true : !(element == null)) ? element : THROW_CCE());
151
- };
152
- protoOf(AtomicMutableList).b1 = function (index) {
153
- return this.y1q_1.z1q_1.b1(index);
154
- };
155
- protoOf(AtomicMutableList).a1r = function (element) {
156
- return this.y1q_1.z1q_1.t1(element);
157
- };
158
- protoOf(AtomicMutableList).t1 = function (element) {
159
- if (!(element == null ? true : !(element == null)))
160
- return -1;
161
- return this.a1r((element == null ? true : !(element == null)) ? element : THROW_CCE());
162
- };
163
- protoOf(AtomicMutableList).s = function () {
164
- return this.y1q_1.z1q_1.s();
165
- };
166
- function AtomicRef(value) {
167
- this.z1q_1 = value;
168
- }
169
- //region block: exports
170
- _.$_$ = _.$_$ || {};
171
- _.$_$.a = Napier_getInstance;
172
- //endregion
173
- return _;
174
- }));
175
-
176
- //# sourceMappingURL=Napier-napier-js-ir.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/commonMain/kotlin/io/github/aakira/napier/LogLevel.kt","../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/commonMain/kotlin/io/github/aakira/napier/Napier.kt","common/src/generated/_Collections.kt","../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/commonMain/kotlin/io/github/aakira/napier/atomic/AtomicMutableList.kt","src/kotlin/collections/Collections.kt","../../../../../../../../../../../../../Users/akira.aratani/mpp/Napier/napier/src/jsMain/kotlin/io/github/aakira/napier/atomic/AtomicRef.kt"],"sourcesContent":[null,null,null,null,null,null],"names":["<init>","isEnable","priority","tag","element","rawLog","throwable","message","d","e","log","AtomicMutableList_init_$Init$","AtomicMutableList_init_$Create$","value","<get-size>","isEmpty","contains","get","index","indexOf","iterator"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAEKA,C,aAAAA,EAAL;A;EAAA,C;;;;;;;;;iBCuCAA,CAAAA,EAAA;A;IAE4B,8C;EAF5B,C;iCAQIC,CAAaC,Q,EAAoBC,GAAjCF,EAAiD;A;;;mBCGuB,I,CAAA,K;;MA8pDpE,oC;cAAsB,U;;cAAA,K;;MAA1B,Q;QAAqC,YAAO,K;;;UAC5B,0B;aAAA,iB,EAAhB;A,YAAKG,UAAW,iB;;QAAM,IDh+Csp+C,OAlMxm+C,KAAS,QAAT,EAAmB,GAAnB,CCkqD9C,C;UAAwB,YAAO,I;;;MAAG,C;MACxD,YAAO,K;;IDnqDsF,OAAlC,S;EAAiC,C;iCAGnFC,CAAWH,Q,EAAoBC,G,EAAcG,S,EAAuBC,OAApEF,EAAsF;A;QC0wD/E,gBAhwDX,IAgwDW,CAhwDX,KAgwDW,I;WAAA,iB,EAAhB;A,UAAKD,UAAW,iB;;MD3kDq0lD,OA9L1zlD,KAAO,QAAP,EAAiB,GAAjB,EAAsB,SAAtB,EAAiC,OAAjC,C;ICywDS,C;EDxwDpC,C;iCAqDAI,CAAMD,O,EAAiBD,S,EAA8BH,GAArDK,EAA0E;A,IACtE,uCAAoB,GAApB,EAAyB,SAAzB,EAAoC,OAApC,C;EACJ,C;iCA0CAC,CAAMF,O,EAAiBD,S,EAA8BH,GAArDM,EAA0E;A,IACtE,uCAAoB,GAApB,EAAyB,SAAzB,EAAoC,OAApC,C;EACJ,C;iCASAA,CAAMH,S,EAA8BH,G,EAAqBI,OAAzDE,EAAgF;A,IAC5E,uCAAoB,GAApB,EAAyB,SAAzB,EAAoC,SAApC,C;EACJ,C;iC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