@continuous-excellence/coupling-cli 1.1.648 → 1.1.649
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/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +24 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
//region block: polyfills
|
|
2
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
3
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
4
|
+
position = position || 0;
|
|
5
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
6
|
+
}});
|
|
7
|
+
}
|
|
2
8
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
3
9
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
4
10
|
var subjectString = this.toString();
|
|
@@ -10,12 +16,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
10
16
|
return lastIndex !== -1 && lastIndex === position;
|
|
11
17
|
}});
|
|
12
18
|
}
|
|
13
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
14
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
15
|
-
position = position || 0;
|
|
16
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
17
|
-
}});
|
|
18
|
-
}
|
|
19
19
|
//endregion
|
|
20
20
|
import { VOID3gxj6tk5isa35 as VOID } from '../js/void.mjs';
|
|
21
21
|
import { compareTo3ankvs086tmwq as compareTo } from '../js/compareTo.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/kotlin-kotlin-stdlib/kotlin/text/js/src/kotlin/text/stringJs.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/kotlin-kotlin-stdlib/kotlin/text/js/src/generated/_ComparisonsJs.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/kotlin-kotlin-stdlib/kotlin/text/js/src/kotlin/text/charJs.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["searchString","position","subjectString","lastIndex","substring","<this>","startIndex","endIndex","compareTo","other","ignoreCase","n1","n2","min","index","thisChar","otherChar","concatToString","result","char","decodeToString","throwOnInvalidSequence","encodeToByteArray","toCharArray","destination","destinationOffset","destIndex","i","compare","a","b","equals","hashCode","STRING_CASE_INSENSITIVE_ORDER$lambda","<init properties stringJs.kt>"],"mappings":";
|
|
1
|
+
{"version":3,"sources":["../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/kotlin-kotlin-stdlib/kotlin/text/js/src/kotlin/text/stringJs.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/kotlin-kotlin-stdlib/kotlin/text/js/src/generated/_ComparisonsJs.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/kotlin-kotlin-stdlib/kotlin/text/js/src/kotlin/text/charJs.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["searchString","position","subjectString","lastIndex","substring","<this>","startIndex","endIndex","compareTo","other","ignoreCase","n1","n2","min","index","thisChar","otherChar","concatToString","result","char","decodeToString","throwOnInvalidSequence","encodeToByteArray","toCharArray","destination","destinationOffset","destIndex","i","compare","a","b","equals","hashCode","STRING_CASE_INSENSITIVE_ORDER$lambda","<init properties stringJs.kt>"],"mappings":";AAoPsB,IAAI,OAAO,MAAP,CAAc,SAAd,CAAwB,UAAW,KAAI,WAA3C,C,CAAwD;A,EACpD,MAAqB,CAAd,cAA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;;;QAqO4C,sB;;QAAAC,CAtVnCC,C,EAAMC,CAsV6BF,E;;O;;;;;;;YAnW5CG,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;6CAmW+DC,CAAE,C,EAAG,CAALA,EAAA;A;EAA2C,OAA/B,YAAF,CAAE,EAAU,CAAV,EAA0B,IAA1B,C;AAAgC,C;;6CAnW3GC,CAAAA,E;;;QAmW+D,0C;oEAAA,G;;C;;;;;"}
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
} from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
8
8
|
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
9
9
|
import { DirectLoggerFactory_instance5oe6qyrhwrc1 as DirectLoggerFactory_instance } from './DirectLoggerFactory.mjs';
|
|
10
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
10
11
|
//region block: imports
|
|
11
12
|
//endregion
|
|
12
13
|
//region block: pre-declaration
|
|
@@ -41,7 +42,7 @@ function KotlinLoggingConfiguration() {
|
|
|
41
42
|
class $ {
|
|
42
43
|
constructor() {
|
|
43
44
|
KotlinLoggingConfiguration_instance = this;
|
|
44
|
-
this.a5c_1 =
|
|
45
|
+
this.a5c_1 = resolveStartupMessageDefault();
|
|
45
46
|
var tmp = this;
|
|
46
47
|
tmp.b5c_1 = new (KotlinLoggingConfiguration$direct$1())();
|
|
47
48
|
this.c5c_1 = DirectLoggerFactory_instance;
|
|
@@ -58,6 +59,28 @@ function KotlinLoggingConfiguration_getInstance() {
|
|
|
58
59
|
new (KotlinLoggingConfiguration())();
|
|
59
60
|
return KotlinLoggingConfiguration_instance;
|
|
60
61
|
}
|
|
62
|
+
function resolveStartupMessageDefault() {
|
|
63
|
+
try {
|
|
64
|
+
var tmp = typeof window !== 'undefined' && (window.KOTLIN_LOGGING_STARTUP_MESSAGE === 'false' || window.KOTLIN_LOGGING_STARTUP_MESSAGE === false);
|
|
65
|
+
var disabledInWindow = (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
|
|
66
|
+
if (disabledInWindow) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
var tmp_0 = typeof process !== 'undefined' && process.env && (process.env.KOTLIN_LOGGING_STARTUP_MESSAGE === 'false' || process.env.KOTLIN_LOGGING_STARTUP_MESSAGE === false);
|
|
70
|
+
var disabledInEnv = (!(tmp_0 == null) ? typeof tmp_0 === 'boolean' : false) ? tmp_0 : THROW_CCE();
|
|
71
|
+
if (disabledInEnv) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return true;
|
|
75
|
+
} catch ($p) {
|
|
76
|
+
if ($p instanceof Error) {
|
|
77
|
+
var e = $p;
|
|
78
|
+
return true;
|
|
79
|
+
} else {
|
|
80
|
+
throw $p;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
61
84
|
//region block: exports
|
|
62
85
|
export {
|
|
63
86
|
KotlinLoggingConfiguration_getInstance as KotlinLoggingConfiguration_getInstance1qkm2mkxywgav,
|
package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-logLevel>","<get-formatter>","<get-appender>"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../Users/runner/work/kotlin-logging/kotlin-logging/src/jsMain/kotlin/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-logLevel>","<get-formatter>","<get-appender>","resolveStartupMessageDefault","disabledInWindow","disabledInEnv","e"],"mappings":";;;;;;;;;;;;;;;;;;;QAiC2C,qC;QAQD,6CAAwC,IAAxC,C;QAQF,4C;;SAdhCA,CAAAA,EAAQ;A,QAAS,OAAT,IAAS,CAAT,K;MAAQ,C;SAQhBC,CAAAA,EAAQ;A,QAAU,OAAV,IAAU,CAAV,K;MAAS,C;SAQjBC,CAAAA,EAAQ;A,QAAS,OAAT,IAAS,CAAT,K;MAAQ,C;;;;;;;;;;;;;QAtByB,2C;kBAG7C,I;QAAA,yD;QA8CgD,yC;;;;;;;;;;;;;;qCA5EpDC,CAAAA,EAAoD;A,EAClD,IAAI;A,cAGE,OAAO,MAAO,KAAI,WADpB,KACoC,MAAsC,CAA/B,8BAA+B,KAAI,OAAQ,IAAG,MAAsC,CAA/B,8BAA+B,KAAI,KADnI,C;QADFC,mBACE,uE;IAIE,qB,CAAkB;A,MACpB,OAAO,K;IACT,C;gBAII,OAAO,OAAQ,KAAI,WAAY,IAAG,OAAH,CAAW,GAD5C,KACoD,OAA2C,CAAnC,GAAmC,CAA/B,8BAA+B,KAAI,OAAQ,IAAG,OAA2C,CAAnC,GAAmC,CAA/B,8BAA+B,KAAI,KAD7J,C;QADFC,gBACE,6E;IAIE,kB,CAAe;A,MACjB,OAAO,K;IACT,C;IAEA,OAAO,I;EACT,C;6BAAuB;A,UAAdC,M;MACP,OAAO,I;IACT,C;;;;AACF,C;;;;;"}
|