@squiz/db-lib 1.2.1-alpha.96 → 1.2.1-alpha.98
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/lib/assertions/assertIsNotAnEmptyString.d.ts +1 -0
- package/lib/assertions/assertIsNotAnEmptyString.spec.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +620 -331
- package/lib/index.js.map +4 -4
- package/package.json +7 -7
- package/src/Migrator.ts +1 -1
- package/src/assertions/assertIsNotAnEmptyString.spec.ts +25 -0
- package/src/assertions/assertIsNotAnEmptyString.ts +17 -0
- package/src/index.ts +1 -0
- package/tsconfig.json +5 -1
- package/tsconfig.tsbuildinfo +1 -1
package/lib/index.js
CHANGED
@@ -20,7 +20,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
20
20
|
}
|
21
21
|
return to;
|
22
22
|
};
|
23
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
25
|
+
mod
|
26
|
+
));
|
24
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
25
28
|
|
26
29
|
// node_modules/postgres-array/index.js
|
@@ -1220,14 +1223,16 @@ var require_sasl = __commonJS({
|
|
1220
1223
|
if (typeof text !== "string") {
|
1221
1224
|
throw new TypeError("SASL: attribute pairs text must be a string");
|
1222
1225
|
}
|
1223
|
-
return new Map(
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1226
|
+
return new Map(
|
1227
|
+
text.split(",").map((attrValue) => {
|
1228
|
+
if (!/^.=/.test(attrValue)) {
|
1229
|
+
throw new Error("SASL: Invalid attribute pair entry");
|
1230
|
+
}
|
1231
|
+
const name = attrValue[0];
|
1232
|
+
const value = attrValue.substring(2);
|
1233
|
+
return [name, value];
|
1234
|
+
})
|
1235
|
+
);
|
1231
1236
|
}
|
1232
1237
|
function parseServerFirstMessage(data) {
|
1233
1238
|
const attrPairs = parseAttributePairs(data);
|
@@ -1641,7 +1646,10 @@ var require_pg_connection_string = __commonJS({
|
|
1641
1646
|
var config = str.split(" ");
|
1642
1647
|
return { host: config[0], database: config[1] };
|
1643
1648
|
}
|
1644
|
-
var result = url.parse(
|
1649
|
+
var result = url.parse(
|
1650
|
+
/ |%[^a-f0-9]|%[a-f0-9][^a-f0-9]/i.test(str) ? encodeURI(str).replace(/\%25(\d\d)/g, "%$1") : str,
|
1651
|
+
true
|
1652
|
+
);
|
1645
1653
|
var config = result.query;
|
1646
1654
|
for (var k in config) {
|
1647
1655
|
if (Array.isArray(config[k])) {
|
@@ -3775,7 +3783,12 @@ var require_pg_pool = __commonJS({
|
|
3775
3783
|
this._expired.add(client);
|
3776
3784
|
const idleIndex = this._idle.findIndex((idleItem) => idleItem.client === client);
|
3777
3785
|
if (idleIndex !== -1) {
|
3778
|
-
this._acquireClient(
|
3786
|
+
this._acquireClient(
|
3787
|
+
client,
|
3788
|
+
new PendingItem((err2, client2, clientRelease) => clientRelease()),
|
3789
|
+
idleListener,
|
3790
|
+
false
|
3791
|
+
);
|
3779
3792
|
}
|
3780
3793
|
}, this.options.maxLifetimeSeconds * 1e3);
|
3781
3794
|
}
|
@@ -4010,10 +4023,13 @@ var require_query2 = __commonJS({
|
|
4010
4023
|
this.state = "new";
|
4011
4024
|
this._arrayMode = config.rowMode === "array";
|
4012
4025
|
this._emitRowEvents = false;
|
4013
|
-
this.on(
|
4014
|
-
|
4015
|
-
|
4016
|
-
|
4026
|
+
this.on(
|
4027
|
+
"newListener",
|
4028
|
+
function(event) {
|
4029
|
+
if (event === "row")
|
4030
|
+
this._emitRowEvents = true;
|
4031
|
+
}.bind(this)
|
4032
|
+
);
|
4017
4033
|
};
|
4018
4034
|
util.inherits(NativeQuery, EventEmitter);
|
4019
4035
|
var errorFieldMap = {
|
@@ -4054,10 +4070,12 @@ var require_query2 = __commonJS({
|
|
4054
4070
|
NativeQuery.prototype._getPromise = function() {
|
4055
4071
|
if (this._promise)
|
4056
4072
|
return this._promise;
|
4057
|
-
this._promise = new Promise(
|
4058
|
-
|
4059
|
-
|
4060
|
-
|
4073
|
+
this._promise = new Promise(
|
4074
|
+
function(resolve, reject) {
|
4075
|
+
this._once("end", resolve);
|
4076
|
+
this._once("error", reject);
|
4077
|
+
}.bind(this)
|
4078
|
+
);
|
4061
4079
|
return this._promise;
|
4062
4080
|
};
|
4063
4081
|
NativeQuery.prototype.submit = function(client) {
|
@@ -4422,9 +4440,9 @@ var require_lib2 = __commonJS({
|
|
4422
4440
|
}
|
4423
4441
|
});
|
4424
4442
|
|
4425
|
-
// ../logger-lib/node_modules/logform/format.js
|
4443
|
+
// ../dx-logger-lib/node_modules/logform/format.js
|
4426
4444
|
var require_format = __commonJS({
|
4427
|
-
"../logger-lib/node_modules/logform/format.js"(exports, module2) {
|
4445
|
+
"../dx-logger-lib/node_modules/logform/format.js"(exports, module2) {
|
4428
4446
|
"use strict";
|
4429
4447
|
var InvalidFormatError = class extends Error {
|
4430
4448
|
constructor(formatFn) {
|
@@ -4451,9 +4469,9 @@ Found: ${formatFn.toString().split("\n")[0]}
|
|
4451
4469
|
}
|
4452
4470
|
});
|
4453
4471
|
|
4454
|
-
// ../logger-lib/node_modules/@colors/colors/lib/styles.js
|
4472
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/styles.js
|
4455
4473
|
var require_styles = __commonJS({
|
4456
|
-
"../logger-lib/node_modules/@colors/colors/lib/styles.js"(exports, module2) {
|
4474
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/styles.js"(exports, module2) {
|
4457
4475
|
var styles = {};
|
4458
4476
|
module2["exports"] = styles;
|
4459
4477
|
var codes = {
|
@@ -4517,9 +4535,9 @@ var require_styles = __commonJS({
|
|
4517
4535
|
}
|
4518
4536
|
});
|
4519
4537
|
|
4520
|
-
// ../logger-lib/node_modules/@colors/colors/lib/system/has-flag.js
|
4538
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/system/has-flag.js
|
4521
4539
|
var require_has_flag = __commonJS({
|
4522
|
-
"../logger-lib/node_modules/@colors/colors/lib/system/has-flag.js"(exports, module2) {
|
4540
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/system/has-flag.js"(exports, module2) {
|
4523
4541
|
"use strict";
|
4524
4542
|
module2.exports = function(flag, argv) {
|
4525
4543
|
argv = argv || process.argv;
|
@@ -4531,9 +4549,9 @@ var require_has_flag = __commonJS({
|
|
4531
4549
|
}
|
4532
4550
|
});
|
4533
4551
|
|
4534
|
-
// ../logger-lib/node_modules/@colors/colors/lib/system/supports-colors.js
|
4552
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/system/supports-colors.js
|
4535
4553
|
var require_supports_colors = __commonJS({
|
4536
|
-
"../logger-lib/node_modules/@colors/colors/lib/system/supports-colors.js"(exports, module2) {
|
4554
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/system/supports-colors.js"(exports, module2) {
|
4537
4555
|
"use strict";
|
4538
4556
|
var os3 = require("os");
|
4539
4557
|
var hasFlag = require_has_flag();
|
@@ -4627,9 +4645,9 @@ var require_supports_colors = __commonJS({
|
|
4627
4645
|
}
|
4628
4646
|
});
|
4629
4647
|
|
4630
|
-
// ../logger-lib/node_modules/@colors/colors/lib/custom/trap.js
|
4648
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/custom/trap.js
|
4631
4649
|
var require_trap = __commonJS({
|
4632
|
-
"../logger-lib/node_modules/@colors/colors/lib/custom/trap.js"(exports, module2) {
|
4650
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/custom/trap.js"(exports, module2) {
|
4633
4651
|
module2["exports"] = function runTheTrap(text, options) {
|
4634
4652
|
var result = "";
|
4635
4653
|
text = text || "Run the trap, drop the bass";
|
@@ -4696,9 +4714,9 @@ var require_trap = __commonJS({
|
|
4696
4714
|
}
|
4697
4715
|
});
|
4698
4716
|
|
4699
|
-
// ../logger-lib/node_modules/@colors/colors/lib/custom/zalgo.js
|
4717
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/custom/zalgo.js
|
4700
4718
|
var require_zalgo = __commonJS({
|
4701
|
-
"../logger-lib/node_modules/@colors/colors/lib/custom/zalgo.js"(exports, module2) {
|
4719
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/custom/zalgo.js"(exports, module2) {
|
4702
4720
|
module2["exports"] = function zalgo(text, options) {
|
4703
4721
|
text = text || " he is here ";
|
4704
4722
|
var soul = {
|
@@ -4883,9 +4901,9 @@ var require_zalgo = __commonJS({
|
|
4883
4901
|
}
|
4884
4902
|
});
|
4885
4903
|
|
4886
|
-
// ../logger-lib/node_modules/@colors/colors/lib/maps/america.js
|
4904
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/maps/america.js
|
4887
4905
|
var require_america = __commonJS({
|
4888
|
-
"../logger-lib/node_modules/@colors/colors/lib/maps/america.js"(exports, module2) {
|
4906
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/maps/america.js"(exports, module2) {
|
4889
4907
|
module2["exports"] = function(colors) {
|
4890
4908
|
return function(letter, i, exploded) {
|
4891
4909
|
if (letter === " ")
|
@@ -4903,9 +4921,9 @@ var require_america = __commonJS({
|
|
4903
4921
|
}
|
4904
4922
|
});
|
4905
4923
|
|
4906
|
-
// ../logger-lib/node_modules/@colors/colors/lib/maps/zebra.js
|
4924
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/maps/zebra.js
|
4907
4925
|
var require_zebra = __commonJS({
|
4908
|
-
"../logger-lib/node_modules/@colors/colors/lib/maps/zebra.js"(exports, module2) {
|
4926
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/maps/zebra.js"(exports, module2) {
|
4909
4927
|
module2["exports"] = function(colors) {
|
4910
4928
|
return function(letter, i, exploded) {
|
4911
4929
|
return i % 2 === 0 ? letter : colors.inverse(letter);
|
@@ -4914,9 +4932,9 @@ var require_zebra = __commonJS({
|
|
4914
4932
|
}
|
4915
4933
|
});
|
4916
4934
|
|
4917
|
-
// ../logger-lib/node_modules/@colors/colors/lib/maps/rainbow.js
|
4935
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/maps/rainbow.js
|
4918
4936
|
var require_rainbow = __commonJS({
|
4919
|
-
"../logger-lib/node_modules/@colors/colors/lib/maps/rainbow.js"(exports, module2) {
|
4937
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/maps/rainbow.js"(exports, module2) {
|
4920
4938
|
module2["exports"] = function(colors) {
|
4921
4939
|
var rainbowColors = ["red", "yellow", "green", "blue", "magenta"];
|
4922
4940
|
return function(letter, i, exploded) {
|
@@ -4930,9 +4948,9 @@ var require_rainbow = __commonJS({
|
|
4930
4948
|
}
|
4931
4949
|
});
|
4932
4950
|
|
4933
|
-
// ../logger-lib/node_modules/@colors/colors/lib/maps/random.js
|
4951
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/maps/random.js
|
4934
4952
|
var require_random = __commonJS({
|
4935
|
-
"../logger-lib/node_modules/@colors/colors/lib/maps/random.js"(exports, module2) {
|
4953
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/maps/random.js"(exports, module2) {
|
4936
4954
|
module2["exports"] = function(colors) {
|
4937
4955
|
var available = [
|
4938
4956
|
"underline",
|
@@ -4960,9 +4978,9 @@ var require_random = __commonJS({
|
|
4960
4978
|
}
|
4961
4979
|
});
|
4962
4980
|
|
4963
|
-
// ../logger-lib/node_modules/@colors/colors/lib/colors.js
|
4981
|
+
// ../dx-logger-lib/node_modules/@colors/colors/lib/colors.js
|
4964
4982
|
var require_colors = __commonJS({
|
4965
|
-
"../logger-lib/node_modules/@colors/colors/lib/colors.js"(exports, module2) {
|
4983
|
+
"../dx-logger-lib/node_modules/@colors/colors/lib/colors.js"(exports, module2) {
|
4966
4984
|
var colors = {};
|
4967
4985
|
module2["exports"] = colors;
|
4968
4986
|
colors.themes = {};
|
@@ -5104,17 +5122,17 @@ var require_colors = __commonJS({
|
|
5104
5122
|
}
|
5105
5123
|
});
|
5106
5124
|
|
5107
|
-
// ../logger-lib/node_modules/@colors/colors/safe.js
|
5125
|
+
// ../dx-logger-lib/node_modules/@colors/colors/safe.js
|
5108
5126
|
var require_safe = __commonJS({
|
5109
|
-
"../logger-lib/node_modules/@colors/colors/safe.js"(exports, module2) {
|
5127
|
+
"../dx-logger-lib/node_modules/@colors/colors/safe.js"(exports, module2) {
|
5110
5128
|
var colors = require_colors();
|
5111
5129
|
module2["exports"] = colors;
|
5112
5130
|
}
|
5113
5131
|
});
|
5114
5132
|
|
5115
|
-
// ../logger-lib/node_modules/triple-beam/config/cli.js
|
5133
|
+
// ../dx-logger-lib/node_modules/triple-beam/config/cli.js
|
5116
5134
|
var require_cli = __commonJS({
|
5117
|
-
"../logger-lib/node_modules/triple-beam/config/cli.js"(exports) {
|
5135
|
+
"../dx-logger-lib/node_modules/triple-beam/config/cli.js"(exports) {
|
5118
5136
|
"use strict";
|
5119
5137
|
exports.levels = {
|
5120
5138
|
error: 0,
|
@@ -5143,9 +5161,9 @@ var require_cli = __commonJS({
|
|
5143
5161
|
}
|
5144
5162
|
});
|
5145
5163
|
|
5146
|
-
// ../logger-lib/node_modules/triple-beam/config/npm.js
|
5164
|
+
// ../dx-logger-lib/node_modules/triple-beam/config/npm.js
|
5147
5165
|
var require_npm = __commonJS({
|
5148
|
-
"../logger-lib/node_modules/triple-beam/config/npm.js"(exports) {
|
5166
|
+
"../dx-logger-lib/node_modules/triple-beam/config/npm.js"(exports) {
|
5149
5167
|
"use strict";
|
5150
5168
|
exports.levels = {
|
5151
5169
|
error: 0,
|
@@ -5168,9 +5186,9 @@ var require_npm = __commonJS({
|
|
5168
5186
|
}
|
5169
5187
|
});
|
5170
5188
|
|
5171
|
-
// ../logger-lib/node_modules/triple-beam/config/syslog.js
|
5189
|
+
// ../dx-logger-lib/node_modules/triple-beam/config/syslog.js
|
5172
5190
|
var require_syslog = __commonJS({
|
5173
|
-
"../logger-lib/node_modules/triple-beam/config/syslog.js"(exports) {
|
5191
|
+
"../dx-logger-lib/node_modules/triple-beam/config/syslog.js"(exports) {
|
5174
5192
|
"use strict";
|
5175
5193
|
exports.levels = {
|
5176
5194
|
emerg: 0,
|
@@ -5195,9 +5213,9 @@ var require_syslog = __commonJS({
|
|
5195
5213
|
}
|
5196
5214
|
});
|
5197
5215
|
|
5198
|
-
// ../logger-lib/node_modules/triple-beam/config/index.js
|
5216
|
+
// ../dx-logger-lib/node_modules/triple-beam/config/index.js
|
5199
5217
|
var require_config = __commonJS({
|
5200
|
-
"../logger-lib/node_modules/triple-beam/config/index.js"(exports) {
|
5218
|
+
"../dx-logger-lib/node_modules/triple-beam/config/index.js"(exports) {
|
5201
5219
|
"use strict";
|
5202
5220
|
Object.defineProperty(exports, "cli", {
|
5203
5221
|
value: require_cli()
|
@@ -5211,9 +5229,9 @@ var require_config = __commonJS({
|
|
5211
5229
|
}
|
5212
5230
|
});
|
5213
5231
|
|
5214
|
-
// ../logger-lib/node_modules/triple-beam/index.js
|
5232
|
+
// ../dx-logger-lib/node_modules/triple-beam/index.js
|
5215
5233
|
var require_triple_beam = __commonJS({
|
5216
|
-
"../logger-lib/node_modules/triple-beam/index.js"(exports) {
|
5234
|
+
"../dx-logger-lib/node_modules/triple-beam/index.js"(exports) {
|
5217
5235
|
"use strict";
|
5218
5236
|
Object.defineProperty(exports, "LEVEL", {
|
5219
5237
|
value: Symbol.for("level")
|
@@ -5230,9 +5248,9 @@ var require_triple_beam = __commonJS({
|
|
5230
5248
|
}
|
5231
5249
|
});
|
5232
5250
|
|
5233
|
-
// ../logger-lib/node_modules/logform/colorize.js
|
5251
|
+
// ../dx-logger-lib/node_modules/logform/colorize.js
|
5234
5252
|
var require_colorize = __commonJS({
|
5235
|
-
"../logger-lib/node_modules/logform/colorize.js"(exports, module2) {
|
5253
|
+
"../dx-logger-lib/node_modules/logform/colorize.js"(exports, module2) {
|
5236
5254
|
"use strict";
|
5237
5255
|
var colors = require_safe();
|
5238
5256
|
var { LEVEL, MESSAGE } = require_triple_beam();
|
@@ -5286,9 +5304,9 @@ var require_colorize = __commonJS({
|
|
5286
5304
|
}
|
5287
5305
|
});
|
5288
5306
|
|
5289
|
-
// ../logger-lib/node_modules/logform/levels.js
|
5307
|
+
// ../dx-logger-lib/node_modules/logform/levels.js
|
5290
5308
|
var require_levels = __commonJS({
|
5291
|
-
"../logger-lib/node_modules/logform/levels.js"(exports, module2) {
|
5309
|
+
"../dx-logger-lib/node_modules/logform/levels.js"(exports, module2) {
|
5292
5310
|
"use strict";
|
5293
5311
|
var { Colorizer } = require_colorize();
|
5294
5312
|
module2.exports = (config) => {
|
@@ -5298,9 +5316,9 @@ var require_levels = __commonJS({
|
|
5298
5316
|
}
|
5299
5317
|
});
|
5300
5318
|
|
5301
|
-
// ../logger-lib/node_modules/logform/align.js
|
5319
|
+
// ../dx-logger-lib/node_modules/logform/align.js
|
5302
5320
|
var require_align = __commonJS({
|
5303
|
-
"../logger-lib/node_modules/logform/align.js"(exports, module2) {
|
5321
|
+
"../dx-logger-lib/node_modules/logform/align.js"(exports, module2) {
|
5304
5322
|
"use strict";
|
5305
5323
|
var format = require_format();
|
5306
5324
|
module2.exports = format((info) => {
|
@@ -5310,9 +5328,9 @@ var require_align = __commonJS({
|
|
5310
5328
|
}
|
5311
5329
|
});
|
5312
5330
|
|
5313
|
-
// ../logger-lib/node_modules/logform/errors.js
|
5331
|
+
// ../dx-logger-lib/node_modules/logform/errors.js
|
5314
5332
|
var require_errors = __commonJS({
|
5315
|
-
"../logger-lib/node_modules/logform/errors.js"(exports, module2) {
|
5333
|
+
"../dx-logger-lib/node_modules/logform/errors.js"(exports, module2) {
|
5316
5334
|
"use strict";
|
5317
5335
|
var format = require_format();
|
5318
5336
|
var { LEVEL, MESSAGE } = require_triple_beam();
|
@@ -5341,9 +5359,9 @@ var require_errors = __commonJS({
|
|
5341
5359
|
}
|
5342
5360
|
});
|
5343
5361
|
|
5344
|
-
// ../logger-lib/node_modules/logform/pad-levels.js
|
5362
|
+
// ../dx-logger-lib/node_modules/logform/pad-levels.js
|
5345
5363
|
var require_pad_levels = __commonJS({
|
5346
|
-
"../logger-lib/node_modules/logform/pad-levels.js"(exports, module2) {
|
5364
|
+
"../dx-logger-lib/node_modules/logform/pad-levels.js"(exports, module2) {
|
5347
5365
|
"use strict";
|
5348
5366
|
var { configs, LEVEL, MESSAGE } = require_triple_beam();
|
5349
5367
|
var Padder = class {
|
@@ -5381,9 +5399,9 @@ var require_pad_levels = __commonJS({
|
|
5381
5399
|
}
|
5382
5400
|
});
|
5383
5401
|
|
5384
|
-
// ../logger-lib/node_modules/logform/cli.js
|
5402
|
+
// ../dx-logger-lib/node_modules/logform/cli.js
|
5385
5403
|
var require_cli2 = __commonJS({
|
5386
|
-
"../logger-lib/node_modules/logform/cli.js"(exports, module2) {
|
5404
|
+
"../dx-logger-lib/node_modules/logform/cli.js"(exports, module2) {
|
5387
5405
|
"use strict";
|
5388
5406
|
var { Colorizer } = require_colorize();
|
5389
5407
|
var { Padder } = require_pad_levels();
|
@@ -5398,7 +5416,10 @@ var require_cli2 = __commonJS({
|
|
5398
5416
|
this.options = opts;
|
5399
5417
|
}
|
5400
5418
|
transform(info, opts) {
|
5401
|
-
this.colorizer.transform(
|
5419
|
+
this.colorizer.transform(
|
5420
|
+
this.padder.transform(info, opts),
|
5421
|
+
opts
|
5422
|
+
);
|
5402
5423
|
info[MESSAGE] = `${info.level}:${info.message}`;
|
5403
5424
|
return info;
|
5404
5425
|
}
|
@@ -5408,9 +5429,9 @@ var require_cli2 = __commonJS({
|
|
5408
5429
|
}
|
5409
5430
|
});
|
5410
5431
|
|
5411
|
-
// ../logger-lib/node_modules/logform/combine.js
|
5432
|
+
// ../dx-logger-lib/node_modules/logform/combine.js
|
5412
5433
|
var require_combine = __commonJS({
|
5413
|
-
"../logger-lib/node_modules/logform/combine.js"(exports, module2) {
|
5434
|
+
"../dx-logger-lib/node_modules/logform/combine.js"(exports, module2) {
|
5414
5435
|
"use strict";
|
5415
5436
|
var format = require_format();
|
5416
5437
|
function cascade(formats) {
|
@@ -5448,9 +5469,9 @@ var require_combine = __commonJS({
|
|
5448
5469
|
}
|
5449
5470
|
});
|
5450
5471
|
|
5451
|
-
// ../logger-lib/node_modules/safe-stable-stringify/index.js
|
5472
|
+
// ../dx-logger-lib/node_modules/safe-stable-stringify/index.js
|
5452
5473
|
var require_safe_stable_stringify = __commonJS({
|
5453
|
-
"../logger-lib/node_modules/safe-stable-stringify/index.js"(exports, module2) {
|
5474
|
+
"../dx-logger-lib/node_modules/safe-stable-stringify/index.js"(exports, module2) {
|
5454
5475
|
"use strict";
|
5455
5476
|
var stringify = configure();
|
5456
5477
|
stringify.configure = configure;
|
@@ -5608,7 +5629,14 @@ var require_safe_stable_stringify = __commonJS({
|
|
5608
5629
|
}
|
5609
5630
|
return array;
|
5610
5631
|
}
|
5611
|
-
var typedArrayPrototypeGetSymbolToStringTag = Object.getOwnPropertyDescriptor(
|
5632
|
+
var typedArrayPrototypeGetSymbolToStringTag = Object.getOwnPropertyDescriptor(
|
5633
|
+
Object.getPrototypeOf(
|
5634
|
+
Object.getPrototypeOf(
|
5635
|
+
new Uint8Array()
|
5636
|
+
)
|
5637
|
+
),
|
5638
|
+
Symbol.toStringTag
|
5639
|
+
).get;
|
5612
5640
|
function isTypedArrayWithEntries(value) {
|
5613
5641
|
return typedArrayPrototypeGetSymbolToStringTag.call(value) !== void 0 && value.length !== 0;
|
5614
5642
|
}
|
@@ -6107,9 +6135,9 @@ ${originalIndentation}`;
|
|
6107
6135
|
}
|
6108
6136
|
});
|
6109
6137
|
|
6110
|
-
// ../logger-lib/node_modules/logform/json.js
|
6138
|
+
// ../dx-logger-lib/node_modules/logform/json.js
|
6111
6139
|
var require_json = __commonJS({
|
6112
|
-
"../logger-lib/node_modules/logform/json.js"(exports, module2) {
|
6140
|
+
"../dx-logger-lib/node_modules/logform/json.js"(exports, module2) {
|
6113
6141
|
"use strict";
|
6114
6142
|
var format = require_format();
|
6115
6143
|
var { MESSAGE } = require_triple_beam();
|
@@ -6127,9 +6155,9 @@ var require_json = __commonJS({
|
|
6127
6155
|
}
|
6128
6156
|
});
|
6129
6157
|
|
6130
|
-
// ../logger-lib/node_modules/logform/label.js
|
6158
|
+
// ../dx-logger-lib/node_modules/logform/label.js
|
6131
6159
|
var require_label = __commonJS({
|
6132
|
-
"../logger-lib/node_modules/logform/label.js"(exports, module2) {
|
6160
|
+
"../dx-logger-lib/node_modules/logform/label.js"(exports, module2) {
|
6133
6161
|
"use strict";
|
6134
6162
|
var format = require_format();
|
6135
6163
|
module2.exports = format((info, opts) => {
|
@@ -6143,9 +6171,9 @@ var require_label = __commonJS({
|
|
6143
6171
|
}
|
6144
6172
|
});
|
6145
6173
|
|
6146
|
-
// ../logger-lib/node_modules/logform/logstash.js
|
6174
|
+
// ../dx-logger-lib/node_modules/logform/logstash.js
|
6147
6175
|
var require_logstash = __commonJS({
|
6148
|
-
"../logger-lib/node_modules/logform/logstash.js"(exports, module2) {
|
6176
|
+
"../dx-logger-lib/node_modules/logform/logstash.js"(exports, module2) {
|
6149
6177
|
"use strict";
|
6150
6178
|
var format = require_format();
|
6151
6179
|
var { MESSAGE } = require_triple_beam();
|
@@ -6167,9 +6195,9 @@ var require_logstash = __commonJS({
|
|
6167
6195
|
}
|
6168
6196
|
});
|
6169
6197
|
|
6170
|
-
// ../logger-lib/node_modules/logform/metadata.js
|
6198
|
+
// ../dx-logger-lib/node_modules/logform/metadata.js
|
6171
6199
|
var require_metadata = __commonJS({
|
6172
|
-
"../logger-lib/node_modules/logform/metadata.js"(exports, module2) {
|
6200
|
+
"../dx-logger-lib/node_modules/logform/metadata.js"(exports, module2) {
|
6173
6201
|
"use strict";
|
6174
6202
|
var format = require_format();
|
6175
6203
|
function fillExcept(info, fillExceptKeys, metadataKey) {
|
@@ -6220,9 +6248,9 @@ var require_metadata = __commonJS({
|
|
6220
6248
|
}
|
6221
6249
|
});
|
6222
6250
|
|
6223
|
-
// ../logger-lib/node_modules/ms/index.js
|
6251
|
+
// ../dx-logger-lib/node_modules/ms/index.js
|
6224
6252
|
var require_ms = __commonJS({
|
6225
|
-
"../logger-lib/node_modules/ms/index.js"(exports, module2) {
|
6253
|
+
"../dx-logger-lib/node_modules/ms/index.js"(exports, module2) {
|
6226
6254
|
var s = 1e3;
|
6227
6255
|
var m = s * 60;
|
6228
6256
|
var h = m * 60;
|
@@ -6237,14 +6265,18 @@ var require_ms = __commonJS({
|
|
6237
6265
|
} else if (type === "number" && isFinite(val)) {
|
6238
6266
|
return options.long ? fmtLong(val) : fmtShort(val);
|
6239
6267
|
}
|
6240
|
-
throw new Error(
|
6268
|
+
throw new Error(
|
6269
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
|
6270
|
+
);
|
6241
6271
|
};
|
6242
6272
|
function parse(str) {
|
6243
6273
|
str = String(str);
|
6244
6274
|
if (str.length > 100) {
|
6245
6275
|
return;
|
6246
6276
|
}
|
6247
|
-
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
6277
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
6278
|
+
str
|
6279
|
+
);
|
6248
6280
|
if (!match) {
|
6249
6281
|
return;
|
6250
6282
|
}
|
@@ -6332,9 +6364,9 @@ var require_ms = __commonJS({
|
|
6332
6364
|
}
|
6333
6365
|
});
|
6334
6366
|
|
6335
|
-
// ../logger-lib/node_modules/logform/ms.js
|
6367
|
+
// ../dx-logger-lib/node_modules/logform/ms.js
|
6336
6368
|
var require_ms2 = __commonJS({
|
6337
|
-
"../logger-lib/node_modules/logform/ms.js"(exports, module2) {
|
6369
|
+
"../dx-logger-lib/node_modules/logform/ms.js"(exports, module2) {
|
6338
6370
|
"use strict";
|
6339
6371
|
var format = require_format();
|
6340
6372
|
var ms = require_ms();
|
@@ -6348,9 +6380,9 @@ var require_ms2 = __commonJS({
|
|
6348
6380
|
}
|
6349
6381
|
});
|
6350
6382
|
|
6351
|
-
// ../logger-lib/node_modules/logform/pretty-print.js
|
6383
|
+
// ../dx-logger-lib/node_modules/logform/pretty-print.js
|
6352
6384
|
var require_pretty_print = __commonJS({
|
6353
|
-
"../logger-lib/node_modules/logform/pretty-print.js"(exports, module2) {
|
6385
|
+
"../dx-logger-lib/node_modules/logform/pretty-print.js"(exports, module2) {
|
6354
6386
|
"use strict";
|
6355
6387
|
var inspect = require("util").inspect;
|
6356
6388
|
var format = require_format();
|
@@ -6366,9 +6398,9 @@ var require_pretty_print = __commonJS({
|
|
6366
6398
|
}
|
6367
6399
|
});
|
6368
6400
|
|
6369
|
-
// ../logger-lib/node_modules/logform/printf.js
|
6401
|
+
// ../dx-logger-lib/node_modules/logform/printf.js
|
6370
6402
|
var require_printf = __commonJS({
|
6371
|
-
"../logger-lib/node_modules/logform/printf.js"(exports, module2) {
|
6403
|
+
"../dx-logger-lib/node_modules/logform/printf.js"(exports, module2) {
|
6372
6404
|
"use strict";
|
6373
6405
|
var { MESSAGE } = require_triple_beam();
|
6374
6406
|
var Printf = class {
|
@@ -6385,9 +6417,9 @@ var require_printf = __commonJS({
|
|
6385
6417
|
}
|
6386
6418
|
});
|
6387
6419
|
|
6388
|
-
// ../logger-lib/node_modules/logform/simple.js
|
6420
|
+
// ../dx-logger-lib/node_modules/logform/simple.js
|
6389
6421
|
var require_simple = __commonJS({
|
6390
|
-
"../logger-lib/node_modules/logform/simple.js"(exports, module2) {
|
6422
|
+
"../dx-logger-lib/node_modules/logform/simple.js"(exports, module2) {
|
6391
6423
|
"use strict";
|
6392
6424
|
var format = require_format();
|
6393
6425
|
var { MESSAGE } = require_triple_beam();
|
@@ -6409,9 +6441,9 @@ var require_simple = __commonJS({
|
|
6409
6441
|
}
|
6410
6442
|
});
|
6411
6443
|
|
6412
|
-
// ../logger-lib/node_modules/logform/splat.js
|
6444
|
+
// ../dx-logger-lib/node_modules/logform/splat.js
|
6413
6445
|
var require_splat = __commonJS({
|
6414
|
-
"../logger-lib/node_modules/logform/splat.js"(exports, module2) {
|
6446
|
+
"../dx-logger-lib/node_modules/logform/splat.js"(exports, module2) {
|
6415
6447
|
"use strict";
|
6416
6448
|
var util = require("util");
|
6417
6449
|
var { SPLAT } = require_triple_beam();
|
@@ -6465,9 +6497,9 @@ var require_splat = __commonJS({
|
|
6465
6497
|
}
|
6466
6498
|
});
|
6467
6499
|
|
6468
|
-
// ../logger-lib/node_modules/fecha/lib/fecha.umd.js
|
6500
|
+
// ../dx-logger-lib/node_modules/fecha/lib/fecha.umd.js
|
6469
6501
|
var require_fecha_umd = __commonJS({
|
6470
|
-
"../logger-lib/node_modules/fecha/lib/fecha.umd.js"(exports, module2) {
|
6502
|
+
"../dx-logger-lib/node_modules/fecha/lib/fecha.umd.js"(exports, module2) {
|
6471
6503
|
(function(global2, factory) {
|
6472
6504
|
typeof exports === "object" && typeof module2 !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global2.fecha = {});
|
6473
6505
|
})(exports, function(exports2) {
|
@@ -6879,9 +6911,9 @@ var require_fecha_umd = __commonJS({
|
|
6879
6911
|
}
|
6880
6912
|
});
|
6881
6913
|
|
6882
|
-
// ../logger-lib/node_modules/logform/timestamp.js
|
6914
|
+
// ../dx-logger-lib/node_modules/logform/timestamp.js
|
6883
6915
|
var require_timestamp = __commonJS({
|
6884
|
-
"../logger-lib/node_modules/logform/timestamp.js"(exports, module2) {
|
6916
|
+
"../dx-logger-lib/node_modules/logform/timestamp.js"(exports, module2) {
|
6885
6917
|
"use strict";
|
6886
6918
|
var fecha = require_fecha_umd();
|
6887
6919
|
var format = require_format();
|
@@ -6900,9 +6932,9 @@ var require_timestamp = __commonJS({
|
|
6900
6932
|
}
|
6901
6933
|
});
|
6902
6934
|
|
6903
|
-
// ../logger-lib/node_modules/logform/uncolorize.js
|
6935
|
+
// ../dx-logger-lib/node_modules/logform/uncolorize.js
|
6904
6936
|
var require_uncolorize = __commonJS({
|
6905
|
-
"../logger-lib/node_modules/logform/uncolorize.js"(exports, module2) {
|
6937
|
+
"../dx-logger-lib/node_modules/logform/uncolorize.js"(exports, module2) {
|
6906
6938
|
"use strict";
|
6907
6939
|
var colors = require_safe();
|
6908
6940
|
var format = require_format();
|
@@ -6922,9 +6954,9 @@ var require_uncolorize = __commonJS({
|
|
6922
6954
|
}
|
6923
6955
|
});
|
6924
6956
|
|
6925
|
-
// ../logger-lib/node_modules/logform/index.js
|
6957
|
+
// ../dx-logger-lib/node_modules/logform/index.js
|
6926
6958
|
var require_logform = __commonJS({
|
6927
|
-
"../logger-lib/node_modules/logform/index.js"(exports) {
|
6959
|
+
"../dx-logger-lib/node_modules/logform/index.js"(exports) {
|
6928
6960
|
"use strict";
|
6929
6961
|
var format = exports.format = require_format();
|
6930
6962
|
exports.levels = require_levels();
|
@@ -6990,9 +7022,9 @@ var require_logform = __commonJS({
|
|
6990
7022
|
}
|
6991
7023
|
});
|
6992
7024
|
|
6993
|
-
// ../logger-lib/node_modules/winston/lib/winston/common.js
|
7025
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/common.js
|
6994
7026
|
var require_common = __commonJS({
|
6995
|
-
"../logger-lib/node_modules/winston/lib/winston/common.js"(exports) {
|
7027
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/common.js"(exports) {
|
6996
7028
|
"use strict";
|
6997
7029
|
var { format } = require("util");
|
6998
7030
|
exports.warn = {
|
@@ -7041,9 +7073,9 @@ var require_common = __commonJS({
|
|
7041
7073
|
}
|
7042
7074
|
});
|
7043
7075
|
|
7044
|
-
// ../logger-lib/node_modules/winston/package.json
|
7076
|
+
// ../dx-logger-lib/node_modules/winston/package.json
|
7045
7077
|
var require_package2 = __commonJS({
|
7046
|
-
"../logger-lib/node_modules/winston/package.json"(exports, module2) {
|
7078
|
+
"../dx-logger-lib/node_modules/winston/package.json"(exports, module2) {
|
7047
7079
|
module2.exports = {
|
7048
7080
|
name: "winston",
|
7049
7081
|
description: "A logger for just about everything.",
|
@@ -7121,23 +7153,23 @@ var require_package2 = __commonJS({
|
|
7121
7153
|
}
|
7122
7154
|
});
|
7123
7155
|
|
7124
|
-
// ../logger-lib/node_modules/util-deprecate/node.js
|
7156
|
+
// ../dx-logger-lib/node_modules/util-deprecate/node.js
|
7125
7157
|
var require_node = __commonJS({
|
7126
|
-
"../logger-lib/node_modules/util-deprecate/node.js"(exports, module2) {
|
7158
|
+
"../dx-logger-lib/node_modules/util-deprecate/node.js"(exports, module2) {
|
7127
7159
|
module2.exports = require("util").deprecate;
|
7128
7160
|
}
|
7129
7161
|
});
|
7130
7162
|
|
7131
|
-
// ../logger-lib/node_modules/readable-stream/lib/internal/streams/stream.js
|
7163
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/stream.js
|
7132
7164
|
var require_stream = __commonJS({
|
7133
|
-
"../logger-lib/node_modules/readable-stream/lib/internal/streams/stream.js"(exports, module2) {
|
7165
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/stream.js"(exports, module2) {
|
7134
7166
|
module2.exports = require("stream");
|
7135
7167
|
}
|
7136
7168
|
});
|
7137
7169
|
|
7138
|
-
// ../logger-lib/node_modules/readable-stream/lib/internal/streams/destroy.js
|
7170
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/destroy.js
|
7139
7171
|
var require_destroy = __commonJS({
|
7140
|
-
"../logger-lib/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports, module2) {
|
7172
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports, module2) {
|
7141
7173
|
"use strict";
|
7142
7174
|
function destroy(err, cb) {
|
7143
7175
|
var _this = this;
|
@@ -7228,9 +7260,9 @@ var require_destroy = __commonJS({
|
|
7228
7260
|
}
|
7229
7261
|
});
|
7230
7262
|
|
7231
|
-
// ../logger-lib/node_modules/readable-stream/errors.js
|
7263
|
+
// ../dx-logger-lib/node_modules/readable-stream/errors.js
|
7232
7264
|
var require_errors2 = __commonJS({
|
7233
|
-
"../logger-lib/node_modules/readable-stream/errors.js"(exports, module2) {
|
7265
|
+
"../dx-logger-lib/node_modules/readable-stream/errors.js"(exports, module2) {
|
7234
7266
|
"use strict";
|
7235
7267
|
var codes = {};
|
7236
7268
|
function createErrorType(code, message, Base) {
|
@@ -7328,9 +7360,9 @@ var require_errors2 = __commonJS({
|
|
7328
7360
|
}
|
7329
7361
|
});
|
7330
7362
|
|
7331
|
-
// ../logger-lib/node_modules/readable-stream/lib/internal/streams/state.js
|
7363
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/state.js
|
7332
7364
|
var require_state = __commonJS({
|
7333
|
-
"../logger-lib/node_modules/readable-stream/lib/internal/streams/state.js"(exports, module2) {
|
7365
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/state.js"(exports, module2) {
|
7334
7366
|
"use strict";
|
7335
7367
|
var ERR_INVALID_OPT_VALUE = require_errors2().codes.ERR_INVALID_OPT_VALUE;
|
7336
7368
|
function highWaterMarkFrom(options, isDuplex, duplexKey) {
|
@@ -7353,9 +7385,9 @@ var require_state = __commonJS({
|
|
7353
7385
|
}
|
7354
7386
|
});
|
7355
7387
|
|
7356
|
-
// ../logger-lib/node_modules/inherits/inherits_browser.js
|
7388
|
+
// ../dx-logger-lib/node_modules/inherits/inherits_browser.js
|
7357
7389
|
var require_inherits_browser = __commonJS({
|
7358
|
-
"../logger-lib/node_modules/inherits/inherits_browser.js"(exports, module2) {
|
7390
|
+
"../dx-logger-lib/node_modules/inherits/inherits_browser.js"(exports, module2) {
|
7359
7391
|
if (typeof Object.create === "function") {
|
7360
7392
|
module2.exports = function inherits(ctor, superCtor) {
|
7361
7393
|
if (superCtor) {
|
@@ -7385,9 +7417,9 @@ var require_inherits_browser = __commonJS({
|
|
7385
7417
|
}
|
7386
7418
|
});
|
7387
7419
|
|
7388
|
-
// ../logger-lib/node_modules/inherits/inherits.js
|
7420
|
+
// ../dx-logger-lib/node_modules/inherits/inherits.js
|
7389
7421
|
var require_inherits = __commonJS({
|
7390
|
-
"../logger-lib/node_modules/inherits/inherits.js"(exports, module2) {
|
7422
|
+
"../dx-logger-lib/node_modules/inherits/inherits.js"(exports, module2) {
|
7391
7423
|
try {
|
7392
7424
|
util = require("util");
|
7393
7425
|
if (typeof util.inherits !== "function")
|
@@ -7400,9 +7432,9 @@ var require_inherits = __commonJS({
|
|
7400
7432
|
}
|
7401
7433
|
});
|
7402
7434
|
|
7403
|
-
// ../logger-lib/node_modules/readable-stream/lib/internal/streams/buffer_list.js
|
7435
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/buffer_list.js
|
7404
7436
|
var require_buffer_list = __commonJS({
|
7405
|
-
"../logger-lib/node_modules/readable-stream/lib/internal/streams/buffer_list.js"(exports, module2) {
|
7437
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/buffer_list.js"(exports, module2) {
|
7406
7438
|
"use strict";
|
7407
7439
|
function ownKeys(object, enumerableOnly) {
|
7408
7440
|
var keys = Object.keys(object);
|
@@ -7647,9 +7679,9 @@ var require_buffer_list = __commonJS({
|
|
7647
7679
|
}
|
7648
7680
|
});
|
7649
7681
|
|
7650
|
-
// ../logger-lib/node_modules/safe-buffer/index.js
|
7682
|
+
// ../dx-logger-lib/node_modules/string_decoder/node_modules/safe-buffer/index.js
|
7651
7683
|
var require_safe_buffer = __commonJS({
|
7652
|
-
"../logger-lib/node_modules/safe-buffer/index.js"(exports, module2) {
|
7684
|
+
"../dx-logger-lib/node_modules/string_decoder/node_modules/safe-buffer/index.js"(exports, module2) {
|
7653
7685
|
var buffer = require("buffer");
|
7654
7686
|
var Buffer2 = buffer.Buffer;
|
7655
7687
|
function copyProps(src, dst) {
|
@@ -7705,9 +7737,9 @@ var require_safe_buffer = __commonJS({
|
|
7705
7737
|
}
|
7706
7738
|
});
|
7707
7739
|
|
7708
|
-
// ../logger-lib/node_modules/string_decoder/lib/string_decoder.js
|
7740
|
+
// ../dx-logger-lib/node_modules/string_decoder/lib/string_decoder.js
|
7709
7741
|
var require_string_decoder = __commonJS({
|
7710
|
-
"../logger-lib/node_modules/string_decoder/lib/string_decoder.js"(exports) {
|
7742
|
+
"../dx-logger-lib/node_modules/string_decoder/lib/string_decoder.js"(exports) {
|
7711
7743
|
"use strict";
|
7712
7744
|
var Buffer2 = require_safe_buffer().Buffer;
|
7713
7745
|
var isEncoding = Buffer2.isEncoding || function(encoding) {
|
@@ -7965,9 +7997,9 @@ var require_string_decoder = __commonJS({
|
|
7965
7997
|
}
|
7966
7998
|
});
|
7967
7999
|
|
7968
|
-
// ../logger-lib/node_modules/readable-stream/lib/internal/streams/end-of-stream.js
|
8000
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/end-of-stream.js
|
7969
8001
|
var require_end_of_stream = __commonJS({
|
7970
|
-
"../logger-lib/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(exports, module2) {
|
8002
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(exports, module2) {
|
7971
8003
|
"use strict";
|
7972
8004
|
var ERR_STREAM_PREMATURE_CLOSE = require_errors2().codes.ERR_STREAM_PREMATURE_CLOSE;
|
7973
8005
|
function once(callback) {
|
@@ -8066,9 +8098,9 @@ var require_end_of_stream = __commonJS({
|
|
8066
8098
|
}
|
8067
8099
|
});
|
8068
8100
|
|
8069
|
-
// ../logger-lib/node_modules/readable-stream/lib/internal/streams/async_iterator.js
|
8101
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/async_iterator.js
|
8070
8102
|
var require_async_iterator = __commonJS({
|
8071
|
-
"../logger-lib/node_modules/readable-stream/lib/internal/streams/async_iterator.js"(exports, module2) {
|
8103
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/async_iterator.js"(exports, module2) {
|
8072
8104
|
"use strict";
|
8073
8105
|
var _Object$setPrototypeO;
|
8074
8106
|
function _defineProperty(obj, key, value) {
|
@@ -8234,9 +8266,9 @@ var require_async_iterator = __commonJS({
|
|
8234
8266
|
}
|
8235
8267
|
});
|
8236
8268
|
|
8237
|
-
// ../logger-lib/node_modules/readable-stream/lib/internal/streams/from.js
|
8269
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/from.js
|
8238
8270
|
var require_from = __commonJS({
|
8239
|
-
"../logger-lib/node_modules/readable-stream/lib/internal/streams/from.js"(exports, module2) {
|
8271
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/from.js"(exports, module2) {
|
8240
8272
|
"use strict";
|
8241
8273
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
8242
8274
|
try {
|
@@ -8351,9 +8383,9 @@ var require_from = __commonJS({
|
|
8351
8383
|
}
|
8352
8384
|
});
|
8353
8385
|
|
8354
|
-
// ../logger-lib/node_modules/readable-stream/lib/_stream_readable.js
|
8386
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/_stream_readable.js
|
8355
8387
|
var require_stream_readable = __commonJS({
|
8356
|
-
"../logger-lib/node_modules/readable-stream/lib/_stream_readable.js"(exports, module2) {
|
8388
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/_stream_readable.js"(exports, module2) {
|
8357
8389
|
"use strict";
|
8358
8390
|
module2.exports = Readable;
|
8359
8391
|
var Duplex;
|
@@ -9134,9 +9166,9 @@ var require_stream_readable = __commonJS({
|
|
9134
9166
|
}
|
9135
9167
|
});
|
9136
9168
|
|
9137
|
-
// ../logger-lib/node_modules/readable-stream/lib/_stream_duplex.js
|
9169
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/_stream_duplex.js
|
9138
9170
|
var require_stream_duplex = __commonJS({
|
9139
|
-
"../logger-lib/node_modules/readable-stream/lib/_stream_duplex.js"(exports, module2) {
|
9171
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/_stream_duplex.js"(exports, module2) {
|
9140
9172
|
"use strict";
|
9141
9173
|
var objectKeys = Object.keys || function(obj) {
|
9142
9174
|
var keys2 = [];
|
@@ -9222,9 +9254,9 @@ var require_stream_duplex = __commonJS({
|
|
9222
9254
|
}
|
9223
9255
|
});
|
9224
9256
|
|
9225
|
-
// ../logger-lib/node_modules/readable-stream/lib/_stream_writable.js
|
9257
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/_stream_writable.js
|
9226
9258
|
var require_stream_writable = __commonJS({
|
9227
|
-
"../logger-lib/node_modules/readable-stream/lib/_stream_writable.js"(exports, module2) {
|
9259
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/_stream_writable.js"(exports, module2) {
|
9228
9260
|
"use strict";
|
9229
9261
|
module2.exports = Writable;
|
9230
9262
|
function CorkedRequest(state) {
|
@@ -9710,9 +9742,9 @@ var require_stream_writable = __commonJS({
|
|
9710
9742
|
}
|
9711
9743
|
});
|
9712
9744
|
|
9713
|
-
// ../logger-lib/node_modules/winston-transport/legacy.js
|
9745
|
+
// ../dx-logger-lib/node_modules/winston-transport/legacy.js
|
9714
9746
|
var require_legacy = __commonJS({
|
9715
|
-
"../logger-lib/node_modules/winston-transport/legacy.js"(exports, module2) {
|
9747
|
+
"../dx-logger-lib/node_modules/winston-transport/legacy.js"(exports, module2) {
|
9716
9748
|
"use strict";
|
9717
9749
|
var util = require("util");
|
9718
9750
|
var { LEVEL } = require_triple_beam();
|
@@ -9747,7 +9779,12 @@ var require_legacy = __commonJS({
|
|
9747
9779
|
LegacyTransportStream.prototype._writev = function _writev(chunks, callback) {
|
9748
9780
|
for (let i = 0; i < chunks.length; i++) {
|
9749
9781
|
if (this._accept(chunks[i])) {
|
9750
|
-
this.transport.log(
|
9782
|
+
this.transport.log(
|
9783
|
+
chunks[i].chunk[LEVEL],
|
9784
|
+
chunks[i].chunk.message,
|
9785
|
+
chunks[i].chunk,
|
9786
|
+
this._nop
|
9787
|
+
);
|
9751
9788
|
chunks[i].callback();
|
9752
9789
|
}
|
9753
9790
|
}
|
@@ -9771,9 +9808,9 @@ var require_legacy = __commonJS({
|
|
9771
9808
|
}
|
9772
9809
|
});
|
9773
9810
|
|
9774
|
-
// ../logger-lib/node_modules/winston-transport/index.js
|
9811
|
+
// ../dx-logger-lib/node_modules/winston-transport/index.js
|
9775
9812
|
var require_winston_transport = __commonJS({
|
9776
|
-
"../logger-lib/node_modules/winston-transport/index.js"(exports, module2) {
|
9813
|
+
"../dx-logger-lib/node_modules/winston-transport/index.js"(exports, module2) {
|
9777
9814
|
"use strict";
|
9778
9815
|
var util = require("util");
|
9779
9816
|
var Writable = require_stream_writable();
|
@@ -9850,7 +9887,10 @@ var require_winston_transport = __commonJS({
|
|
9850
9887
|
let errState;
|
9851
9888
|
let transformed;
|
9852
9889
|
try {
|
9853
|
-
transformed = this.format.transform(
|
9890
|
+
transformed = this.format.transform(
|
9891
|
+
Object.assign({}, chunks[i].chunk),
|
9892
|
+
this.format.options
|
9893
|
+
);
|
9854
9894
|
} catch (err) {
|
9855
9895
|
errState = err;
|
9856
9896
|
}
|
@@ -9886,9 +9926,9 @@ var require_winston_transport = __commonJS({
|
|
9886
9926
|
}
|
9887
9927
|
});
|
9888
9928
|
|
9889
|
-
// ../logger-lib/node_modules/winston/lib/winston/transports/console.js
|
9929
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/transports/console.js
|
9890
9930
|
var require_console = __commonJS({
|
9891
|
-
"../logger-lib/node_modules/winston/lib/winston/transports/console.js"(exports, module2) {
|
9931
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/transports/console.js"(exports, module2) {
|
9892
9932
|
"use strict";
|
9893
9933
|
var os3 = require("os");
|
9894
9934
|
var { LEVEL, MESSAGE } = require_triple_beam();
|
@@ -9953,9 +9993,9 @@ var require_console = __commonJS({
|
|
9953
9993
|
}
|
9954
9994
|
});
|
9955
9995
|
|
9956
|
-
// ../logger-lib/node_modules/async/internal/isArrayLike.js
|
9996
|
+
// ../dx-logger-lib/node_modules/async/internal/isArrayLike.js
|
9957
9997
|
var require_isArrayLike = __commonJS({
|
9958
|
-
"../logger-lib/node_modules/async/internal/isArrayLike.js"(exports, module2) {
|
9998
|
+
"../dx-logger-lib/node_modules/async/internal/isArrayLike.js"(exports, module2) {
|
9959
9999
|
"use strict";
|
9960
10000
|
Object.defineProperty(exports, "__esModule", {
|
9961
10001
|
value: true
|
@@ -9968,9 +10008,9 @@ var require_isArrayLike = __commonJS({
|
|
9968
10008
|
}
|
9969
10009
|
});
|
9970
10010
|
|
9971
|
-
// ../logger-lib/node_modules/async/internal/initialParams.js
|
10011
|
+
// ../dx-logger-lib/node_modules/async/internal/initialParams.js
|
9972
10012
|
var require_initialParams = __commonJS({
|
9973
|
-
"../logger-lib/node_modules/async/internal/initialParams.js"(exports, module2) {
|
10013
|
+
"../dx-logger-lib/node_modules/async/internal/initialParams.js"(exports, module2) {
|
9974
10014
|
"use strict";
|
9975
10015
|
Object.defineProperty(exports, "__esModule", {
|
9976
10016
|
value: true
|
@@ -9985,9 +10025,9 @@ var require_initialParams = __commonJS({
|
|
9985
10025
|
}
|
9986
10026
|
});
|
9987
10027
|
|
9988
|
-
// ../logger-lib/node_modules/async/internal/setImmediate.js
|
10028
|
+
// ../dx-logger-lib/node_modules/async/internal/setImmediate.js
|
9989
10029
|
var require_setImmediate = __commonJS({
|
9990
|
-
"../logger-lib/node_modules/async/internal/setImmediate.js"(exports) {
|
10030
|
+
"../dx-logger-lib/node_modules/async/internal/setImmediate.js"(exports) {
|
9991
10031
|
"use strict";
|
9992
10032
|
Object.defineProperty(exports, "__esModule", {
|
9993
10033
|
value: true
|
@@ -10017,9 +10057,9 @@ var require_setImmediate = __commonJS({
|
|
10017
10057
|
}
|
10018
10058
|
});
|
10019
10059
|
|
10020
|
-
// ../logger-lib/node_modules/async/asyncify.js
|
10060
|
+
// ../dx-logger-lib/node_modules/async/asyncify.js
|
10021
10061
|
var require_asyncify = __commonJS({
|
10022
|
-
"../logger-lib/node_modules/async/asyncify.js"(exports, module2) {
|
10062
|
+
"../dx-logger-lib/node_modules/async/asyncify.js"(exports, module2) {
|
10023
10063
|
"use strict";
|
10024
10064
|
Object.defineProperty(exports, "__esModule", {
|
10025
10065
|
value: true
|
@@ -10075,9 +10115,9 @@ var require_asyncify = __commonJS({
|
|
10075
10115
|
}
|
10076
10116
|
});
|
10077
10117
|
|
10078
|
-
// ../logger-lib/node_modules/async/internal/wrapAsync.js
|
10118
|
+
// ../dx-logger-lib/node_modules/async/internal/wrapAsync.js
|
10079
10119
|
var require_wrapAsync = __commonJS({
|
10080
|
-
"../logger-lib/node_modules/async/internal/wrapAsync.js"(exports) {
|
10120
|
+
"../dx-logger-lib/node_modules/async/internal/wrapAsync.js"(exports) {
|
10081
10121
|
"use strict";
|
10082
10122
|
Object.defineProperty(exports, "__esModule", {
|
10083
10123
|
value: true
|
@@ -10109,9 +10149,9 @@ var require_wrapAsync = __commonJS({
|
|
10109
10149
|
}
|
10110
10150
|
});
|
10111
10151
|
|
10112
|
-
// ../logger-lib/node_modules/async/internal/awaitify.js
|
10152
|
+
// ../dx-logger-lib/node_modules/async/internal/awaitify.js
|
10113
10153
|
var require_awaitify = __commonJS({
|
10114
|
-
"../logger-lib/node_modules/async/internal/awaitify.js"(exports, module2) {
|
10154
|
+
"../dx-logger-lib/node_modules/async/internal/awaitify.js"(exports, module2) {
|
10115
10155
|
"use strict";
|
10116
10156
|
Object.defineProperty(exports, "__esModule", {
|
10117
10157
|
value: true
|
@@ -10139,9 +10179,9 @@ var require_awaitify = __commonJS({
|
|
10139
10179
|
}
|
10140
10180
|
});
|
10141
10181
|
|
10142
|
-
// ../logger-lib/node_modules/async/internal/parallel.js
|
10182
|
+
// ../dx-logger-lib/node_modules/async/internal/parallel.js
|
10143
10183
|
var require_parallel = __commonJS({
|
10144
|
-
"../logger-lib/node_modules/async/internal/parallel.js"(exports, module2) {
|
10184
|
+
"../dx-logger-lib/node_modules/async/internal/parallel.js"(exports, module2) {
|
10145
10185
|
"use strict";
|
10146
10186
|
Object.defineProperty(exports, "__esModule", {
|
10147
10187
|
value: true
|
@@ -10171,9 +10211,9 @@ var require_parallel = __commonJS({
|
|
10171
10211
|
}
|
10172
10212
|
});
|
10173
10213
|
|
10174
|
-
// ../logger-lib/node_modules/async/internal/once.js
|
10214
|
+
// ../dx-logger-lib/node_modules/async/internal/once.js
|
10175
10215
|
var require_once = __commonJS({
|
10176
|
-
"../logger-lib/node_modules/async/internal/once.js"(exports, module2) {
|
10216
|
+
"../dx-logger-lib/node_modules/async/internal/once.js"(exports, module2) {
|
10177
10217
|
"use strict";
|
10178
10218
|
Object.defineProperty(exports, "__esModule", {
|
10179
10219
|
value: true
|
@@ -10194,9 +10234,9 @@ var require_once = __commonJS({
|
|
10194
10234
|
}
|
10195
10235
|
});
|
10196
10236
|
|
10197
|
-
// ../logger-lib/node_modules/async/internal/getIterator.js
|
10237
|
+
// ../dx-logger-lib/node_modules/async/internal/getIterator.js
|
10198
10238
|
var require_getIterator = __commonJS({
|
10199
|
-
"../logger-lib/node_modules/async/internal/getIterator.js"(exports, module2) {
|
10239
|
+
"../dx-logger-lib/node_modules/async/internal/getIterator.js"(exports, module2) {
|
10200
10240
|
"use strict";
|
10201
10241
|
Object.defineProperty(exports, "__esModule", {
|
10202
10242
|
value: true
|
@@ -10208,9 +10248,9 @@ var require_getIterator = __commonJS({
|
|
10208
10248
|
}
|
10209
10249
|
});
|
10210
10250
|
|
10211
|
-
// ../logger-lib/node_modules/async/internal/iterator.js
|
10251
|
+
// ../dx-logger-lib/node_modules/async/internal/iterator.js
|
10212
10252
|
var require_iterator = __commonJS({
|
10213
|
-
"../logger-lib/node_modules/async/internal/iterator.js"(exports, module2) {
|
10253
|
+
"../dx-logger-lib/node_modules/async/internal/iterator.js"(exports, module2) {
|
10214
10254
|
"use strict";
|
10215
10255
|
Object.defineProperty(exports, "__esModule", {
|
10216
10256
|
value: true
|
@@ -10263,9 +10303,9 @@ var require_iterator = __commonJS({
|
|
10263
10303
|
}
|
10264
10304
|
});
|
10265
10305
|
|
10266
|
-
// ../logger-lib/node_modules/async/internal/onlyOnce.js
|
10306
|
+
// ../dx-logger-lib/node_modules/async/internal/onlyOnce.js
|
10267
10307
|
var require_onlyOnce = __commonJS({
|
10268
|
-
"../logger-lib/node_modules/async/internal/onlyOnce.js"(exports, module2) {
|
10308
|
+
"../dx-logger-lib/node_modules/async/internal/onlyOnce.js"(exports, module2) {
|
10269
10309
|
"use strict";
|
10270
10310
|
Object.defineProperty(exports, "__esModule", {
|
10271
10311
|
value: true
|
@@ -10284,9 +10324,9 @@ var require_onlyOnce = __commonJS({
|
|
10284
10324
|
}
|
10285
10325
|
});
|
10286
10326
|
|
10287
|
-
// ../logger-lib/node_modules/async/internal/breakLoop.js
|
10327
|
+
// ../dx-logger-lib/node_modules/async/internal/breakLoop.js
|
10288
10328
|
var require_breakLoop = __commonJS({
|
10289
|
-
"../logger-lib/node_modules/async/internal/breakLoop.js"(exports, module2) {
|
10329
|
+
"../dx-logger-lib/node_modules/async/internal/breakLoop.js"(exports, module2) {
|
10290
10330
|
"use strict";
|
10291
10331
|
Object.defineProperty(exports, "__esModule", {
|
10292
10332
|
value: true
|
@@ -10297,9 +10337,9 @@ var require_breakLoop = __commonJS({
|
|
10297
10337
|
}
|
10298
10338
|
});
|
10299
10339
|
|
10300
|
-
// ../logger-lib/node_modules/async/internal/asyncEachOfLimit.js
|
10340
|
+
// ../dx-logger-lib/node_modules/async/internal/asyncEachOfLimit.js
|
10301
10341
|
var require_asyncEachOfLimit = __commonJS({
|
10302
|
-
"../logger-lib/node_modules/async/internal/asyncEachOfLimit.js"(exports, module2) {
|
10342
|
+
"../dx-logger-lib/node_modules/async/internal/asyncEachOfLimit.js"(exports, module2) {
|
10303
10343
|
"use strict";
|
10304
10344
|
Object.defineProperty(exports, "__esModule", {
|
10305
10345
|
value: true
|
@@ -10367,9 +10407,9 @@ var require_asyncEachOfLimit = __commonJS({
|
|
10367
10407
|
}
|
10368
10408
|
});
|
10369
10409
|
|
10370
|
-
// ../logger-lib/node_modules/async/internal/eachOfLimit.js
|
10410
|
+
// ../dx-logger-lib/node_modules/async/internal/eachOfLimit.js
|
10371
10411
|
var require_eachOfLimit = __commonJS({
|
10372
|
-
"../logger-lib/node_modules/async/internal/eachOfLimit.js"(exports, module2) {
|
10412
|
+
"../dx-logger-lib/node_modules/async/internal/eachOfLimit.js"(exports, module2) {
|
10373
10413
|
"use strict";
|
10374
10414
|
Object.defineProperty(exports, "__esModule", {
|
10375
10415
|
value: true
|
@@ -10448,9 +10488,9 @@ var require_eachOfLimit = __commonJS({
|
|
10448
10488
|
}
|
10449
10489
|
});
|
10450
10490
|
|
10451
|
-
// ../logger-lib/node_modules/async/eachOfLimit.js
|
10491
|
+
// ../dx-logger-lib/node_modules/async/eachOfLimit.js
|
10452
10492
|
var require_eachOfLimit2 = __commonJS({
|
10453
|
-
"../logger-lib/node_modules/async/eachOfLimit.js"(exports, module2) {
|
10493
|
+
"../dx-logger-lib/node_modules/async/eachOfLimit.js"(exports, module2) {
|
10454
10494
|
"use strict";
|
10455
10495
|
Object.defineProperty(exports, "__esModule", {
|
10456
10496
|
value: true
|
@@ -10472,9 +10512,9 @@ var require_eachOfLimit2 = __commonJS({
|
|
10472
10512
|
}
|
10473
10513
|
});
|
10474
10514
|
|
10475
|
-
// ../logger-lib/node_modules/async/eachOfSeries.js
|
10515
|
+
// ../dx-logger-lib/node_modules/async/eachOfSeries.js
|
10476
10516
|
var require_eachOfSeries = __commonJS({
|
10477
|
-
"../logger-lib/node_modules/async/eachOfSeries.js"(exports, module2) {
|
10517
|
+
"../dx-logger-lib/node_modules/async/eachOfSeries.js"(exports, module2) {
|
10478
10518
|
"use strict";
|
10479
10519
|
Object.defineProperty(exports, "__esModule", {
|
10480
10520
|
value: true
|
@@ -10494,9 +10534,9 @@ var require_eachOfSeries = __commonJS({
|
|
10494
10534
|
}
|
10495
10535
|
});
|
10496
10536
|
|
10497
|
-
// ../logger-lib/node_modules/async/series.js
|
10537
|
+
// ../dx-logger-lib/node_modules/async/series.js
|
10498
10538
|
var require_series = __commonJS({
|
10499
|
-
"../logger-lib/node_modules/async/series.js"(exports, module2) {
|
10539
|
+
"../dx-logger-lib/node_modules/async/series.js"(exports, module2) {
|
10500
10540
|
"use strict";
|
10501
10541
|
Object.defineProperty(exports, "__esModule", {
|
10502
10542
|
value: true
|
@@ -10516,9 +10556,9 @@ var require_series = __commonJS({
|
|
10516
10556
|
}
|
10517
10557
|
});
|
10518
10558
|
|
10519
|
-
// ../logger-lib/node_modules/readable-stream/lib/_stream_transform.js
|
10559
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/_stream_transform.js
|
10520
10560
|
var require_stream_transform = __commonJS({
|
10521
|
-
"../logger-lib/node_modules/readable-stream/lib/_stream_transform.js"(exports, module2) {
|
10561
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/_stream_transform.js"(exports, module2) {
|
10522
10562
|
"use strict";
|
10523
10563
|
module2.exports = Transform;
|
10524
10564
|
var _require$codes = require_errors2().codes;
|
@@ -10624,9 +10664,9 @@ var require_stream_transform = __commonJS({
|
|
10624
10664
|
}
|
10625
10665
|
});
|
10626
10666
|
|
10627
|
-
// ../logger-lib/node_modules/readable-stream/lib/_stream_passthrough.js
|
10667
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/_stream_passthrough.js
|
10628
10668
|
var require_stream_passthrough = __commonJS({
|
10629
|
-
"../logger-lib/node_modules/readable-stream/lib/_stream_passthrough.js"(exports, module2) {
|
10669
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/_stream_passthrough.js"(exports, module2) {
|
10630
10670
|
"use strict";
|
10631
10671
|
module2.exports = PassThrough;
|
10632
10672
|
var Transform = require_stream_transform();
|
@@ -10642,9 +10682,9 @@ var require_stream_passthrough = __commonJS({
|
|
10642
10682
|
}
|
10643
10683
|
});
|
10644
10684
|
|
10645
|
-
// ../logger-lib/node_modules/readable-stream/lib/internal/streams/pipeline.js
|
10685
|
+
// ../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/pipeline.js
|
10646
10686
|
var require_pipeline = __commonJS({
|
10647
|
-
"../logger-lib/node_modules/readable-stream/lib/internal/streams/pipeline.js"(exports, module2) {
|
10687
|
+
"../dx-logger-lib/node_modules/readable-stream/lib/internal/streams/pipeline.js"(exports, module2) {
|
10648
10688
|
"use strict";
|
10649
10689
|
var eos;
|
10650
10690
|
function once(callback) {
|
@@ -10741,9 +10781,9 @@ var require_pipeline = __commonJS({
|
|
10741
10781
|
}
|
10742
10782
|
});
|
10743
10783
|
|
10744
|
-
// ../logger-lib/node_modules/readable-stream/readable.js
|
10784
|
+
// ../dx-logger-lib/node_modules/readable-stream/readable.js
|
10745
10785
|
var require_readable = __commonJS({
|
10746
|
-
"../logger-lib/node_modules/readable-stream/readable.js"(exports, module2) {
|
10786
|
+
"../dx-logger-lib/node_modules/readable-stream/readable.js"(exports, module2) {
|
10747
10787
|
var Stream = require("stream");
|
10748
10788
|
if (process.env.READABLE_STREAM === "disable" && Stream) {
|
10749
10789
|
module2.exports = Stream.Readable;
|
@@ -10763,9 +10803,9 @@ var require_readable = __commonJS({
|
|
10763
10803
|
}
|
10764
10804
|
});
|
10765
10805
|
|
10766
|
-
// ../logger-lib/node_modules/@dabh/diagnostics/diagnostics.js
|
10806
|
+
// ../dx-logger-lib/node_modules/@dabh/diagnostics/diagnostics.js
|
10767
10807
|
var require_diagnostics = __commonJS({
|
10768
|
-
"../logger-lib/node_modules/@dabh/diagnostics/diagnostics.js"(exports, module2) {
|
10808
|
+
"../dx-logger-lib/node_modules/@dabh/diagnostics/diagnostics.js"(exports, module2) {
|
10769
10809
|
var adapters = [];
|
10770
10810
|
var modifiers = [];
|
10771
10811
|
var logger2 = function devnull() {
|
@@ -10792,9 +10832,11 @@ var require_diagnostics = __commonJS({
|
|
10792
10832
|
if (!async.length)
|
10793
10833
|
return false;
|
10794
10834
|
return new Promise(function pinky(resolve) {
|
10795
|
-
Promise.all(
|
10796
|
-
|
10797
|
-
|
10835
|
+
Promise.all(
|
10836
|
+
async.map(function prebind(fn) {
|
10837
|
+
return fn(namespace);
|
10838
|
+
})
|
10839
|
+
).then(function resolved(values) {
|
10798
10840
|
resolve(values.some(Boolean));
|
10799
10841
|
});
|
10800
10842
|
});
|
@@ -10859,9 +10901,9 @@ var require_diagnostics = __commonJS({
|
|
10859
10901
|
}
|
10860
10902
|
});
|
10861
10903
|
|
10862
|
-
// ../logger-lib/node_modules/@dabh/diagnostics/node/production.js
|
10904
|
+
// ../dx-logger-lib/node_modules/@dabh/diagnostics/node/production.js
|
10863
10905
|
var require_production = __commonJS({
|
10864
|
-
"../logger-lib/node_modules/@dabh/diagnostics/node/production.js"(exports, module2) {
|
10906
|
+
"../dx-logger-lib/node_modules/@dabh/diagnostics/node/production.js"(exports, module2) {
|
10865
10907
|
var create = require_diagnostics();
|
10866
10908
|
var diagnostics = create(function prod(namespace, options) {
|
10867
10909
|
options = options || {};
|
@@ -10876,9 +10918,9 @@ var require_production = __commonJS({
|
|
10876
10918
|
}
|
10877
10919
|
});
|
10878
10920
|
|
10879
|
-
// ../logger-lib/node_modules/color-name/index.js
|
10921
|
+
// ../dx-logger-lib/node_modules/color-name/index.js
|
10880
10922
|
var require_color_name = __commonJS({
|
10881
|
-
"../logger-lib/node_modules/color-name/index.js"(exports, module2) {
|
10923
|
+
"../dx-logger-lib/node_modules/color-name/index.js"(exports, module2) {
|
10882
10924
|
"use strict";
|
10883
10925
|
module2.exports = {
|
10884
10926
|
"aliceblue": [240, 248, 255],
|
@@ -11033,9 +11075,9 @@ var require_color_name = __commonJS({
|
|
11033
11075
|
}
|
11034
11076
|
});
|
11035
11077
|
|
11036
|
-
// ../logger-lib/node_modules/is-arrayish/index.js
|
11078
|
+
// ../dx-logger-lib/node_modules/simple-swizzle/node_modules/is-arrayish/index.js
|
11037
11079
|
var require_is_arrayish = __commonJS({
|
11038
|
-
"../logger-lib/node_modules/is-arrayish/index.js"(exports, module2) {
|
11080
|
+
"../dx-logger-lib/node_modules/simple-swizzle/node_modules/is-arrayish/index.js"(exports, module2) {
|
11039
11081
|
module2.exports = function isArrayish(obj) {
|
11040
11082
|
if (!obj || typeof obj === "string") {
|
11041
11083
|
return false;
|
@@ -11045,9 +11087,9 @@ var require_is_arrayish = __commonJS({
|
|
11045
11087
|
}
|
11046
11088
|
});
|
11047
11089
|
|
11048
|
-
// ../logger-lib/node_modules/simple-swizzle/index.js
|
11090
|
+
// ../dx-logger-lib/node_modules/simple-swizzle/index.js
|
11049
11091
|
var require_simple_swizzle = __commonJS({
|
11050
|
-
"../logger-lib/node_modules/simple-swizzle/index.js"(exports, module2) {
|
11092
|
+
"../dx-logger-lib/node_modules/simple-swizzle/index.js"(exports, module2) {
|
11051
11093
|
"use strict";
|
11052
11094
|
var isArrayish = require_is_arrayish();
|
11053
11095
|
var concat = Array.prototype.concat;
|
@@ -11072,9 +11114,9 @@ var require_simple_swizzle = __commonJS({
|
|
11072
11114
|
}
|
11073
11115
|
});
|
11074
11116
|
|
11075
|
-
// ../logger-lib/node_modules/color-string/index.js
|
11117
|
+
// ../dx-logger-lib/node_modules/color-string/index.js
|
11076
11118
|
var require_color_string = __commonJS({
|
11077
|
-
"../logger-lib/node_modules/color-string/index.js"(exports, module2) {
|
11119
|
+
"../dx-logger-lib/node_modules/color-string/index.js"(exports, module2) {
|
11078
11120
|
var colorNames = require_color_name();
|
11079
11121
|
var swizzle = require_simple_swizzle();
|
11080
11122
|
var hasOwnProperty = Object.hasOwnProperty;
|
@@ -11257,10 +11299,167 @@ var require_color_string = __commonJS({
|
|
11257
11299
|
}
|
11258
11300
|
});
|
11259
11301
|
|
11260
|
-
// ../logger-lib/node_modules/color-
|
11302
|
+
// ../dx-logger-lib/node_modules/color/node_modules/color-name/index.js
|
11303
|
+
var require_color_name2 = __commonJS({
|
11304
|
+
"../dx-logger-lib/node_modules/color/node_modules/color-name/index.js"(exports, module2) {
|
11305
|
+
"use strict";
|
11306
|
+
module2.exports = {
|
11307
|
+
"aliceblue": [240, 248, 255],
|
11308
|
+
"antiquewhite": [250, 235, 215],
|
11309
|
+
"aqua": [0, 255, 255],
|
11310
|
+
"aquamarine": [127, 255, 212],
|
11311
|
+
"azure": [240, 255, 255],
|
11312
|
+
"beige": [245, 245, 220],
|
11313
|
+
"bisque": [255, 228, 196],
|
11314
|
+
"black": [0, 0, 0],
|
11315
|
+
"blanchedalmond": [255, 235, 205],
|
11316
|
+
"blue": [0, 0, 255],
|
11317
|
+
"blueviolet": [138, 43, 226],
|
11318
|
+
"brown": [165, 42, 42],
|
11319
|
+
"burlywood": [222, 184, 135],
|
11320
|
+
"cadetblue": [95, 158, 160],
|
11321
|
+
"chartreuse": [127, 255, 0],
|
11322
|
+
"chocolate": [210, 105, 30],
|
11323
|
+
"coral": [255, 127, 80],
|
11324
|
+
"cornflowerblue": [100, 149, 237],
|
11325
|
+
"cornsilk": [255, 248, 220],
|
11326
|
+
"crimson": [220, 20, 60],
|
11327
|
+
"cyan": [0, 255, 255],
|
11328
|
+
"darkblue": [0, 0, 139],
|
11329
|
+
"darkcyan": [0, 139, 139],
|
11330
|
+
"darkgoldenrod": [184, 134, 11],
|
11331
|
+
"darkgray": [169, 169, 169],
|
11332
|
+
"darkgreen": [0, 100, 0],
|
11333
|
+
"darkgrey": [169, 169, 169],
|
11334
|
+
"darkkhaki": [189, 183, 107],
|
11335
|
+
"darkmagenta": [139, 0, 139],
|
11336
|
+
"darkolivegreen": [85, 107, 47],
|
11337
|
+
"darkorange": [255, 140, 0],
|
11338
|
+
"darkorchid": [153, 50, 204],
|
11339
|
+
"darkred": [139, 0, 0],
|
11340
|
+
"darksalmon": [233, 150, 122],
|
11341
|
+
"darkseagreen": [143, 188, 143],
|
11342
|
+
"darkslateblue": [72, 61, 139],
|
11343
|
+
"darkslategray": [47, 79, 79],
|
11344
|
+
"darkslategrey": [47, 79, 79],
|
11345
|
+
"darkturquoise": [0, 206, 209],
|
11346
|
+
"darkviolet": [148, 0, 211],
|
11347
|
+
"deeppink": [255, 20, 147],
|
11348
|
+
"deepskyblue": [0, 191, 255],
|
11349
|
+
"dimgray": [105, 105, 105],
|
11350
|
+
"dimgrey": [105, 105, 105],
|
11351
|
+
"dodgerblue": [30, 144, 255],
|
11352
|
+
"firebrick": [178, 34, 34],
|
11353
|
+
"floralwhite": [255, 250, 240],
|
11354
|
+
"forestgreen": [34, 139, 34],
|
11355
|
+
"fuchsia": [255, 0, 255],
|
11356
|
+
"gainsboro": [220, 220, 220],
|
11357
|
+
"ghostwhite": [248, 248, 255],
|
11358
|
+
"gold": [255, 215, 0],
|
11359
|
+
"goldenrod": [218, 165, 32],
|
11360
|
+
"gray": [128, 128, 128],
|
11361
|
+
"green": [0, 128, 0],
|
11362
|
+
"greenyellow": [173, 255, 47],
|
11363
|
+
"grey": [128, 128, 128],
|
11364
|
+
"honeydew": [240, 255, 240],
|
11365
|
+
"hotpink": [255, 105, 180],
|
11366
|
+
"indianred": [205, 92, 92],
|
11367
|
+
"indigo": [75, 0, 130],
|
11368
|
+
"ivory": [255, 255, 240],
|
11369
|
+
"khaki": [240, 230, 140],
|
11370
|
+
"lavender": [230, 230, 250],
|
11371
|
+
"lavenderblush": [255, 240, 245],
|
11372
|
+
"lawngreen": [124, 252, 0],
|
11373
|
+
"lemonchiffon": [255, 250, 205],
|
11374
|
+
"lightblue": [173, 216, 230],
|
11375
|
+
"lightcoral": [240, 128, 128],
|
11376
|
+
"lightcyan": [224, 255, 255],
|
11377
|
+
"lightgoldenrodyellow": [250, 250, 210],
|
11378
|
+
"lightgray": [211, 211, 211],
|
11379
|
+
"lightgreen": [144, 238, 144],
|
11380
|
+
"lightgrey": [211, 211, 211],
|
11381
|
+
"lightpink": [255, 182, 193],
|
11382
|
+
"lightsalmon": [255, 160, 122],
|
11383
|
+
"lightseagreen": [32, 178, 170],
|
11384
|
+
"lightskyblue": [135, 206, 250],
|
11385
|
+
"lightslategray": [119, 136, 153],
|
11386
|
+
"lightslategrey": [119, 136, 153],
|
11387
|
+
"lightsteelblue": [176, 196, 222],
|
11388
|
+
"lightyellow": [255, 255, 224],
|
11389
|
+
"lime": [0, 255, 0],
|
11390
|
+
"limegreen": [50, 205, 50],
|
11391
|
+
"linen": [250, 240, 230],
|
11392
|
+
"magenta": [255, 0, 255],
|
11393
|
+
"maroon": [128, 0, 0],
|
11394
|
+
"mediumaquamarine": [102, 205, 170],
|
11395
|
+
"mediumblue": [0, 0, 205],
|
11396
|
+
"mediumorchid": [186, 85, 211],
|
11397
|
+
"mediumpurple": [147, 112, 219],
|
11398
|
+
"mediumseagreen": [60, 179, 113],
|
11399
|
+
"mediumslateblue": [123, 104, 238],
|
11400
|
+
"mediumspringgreen": [0, 250, 154],
|
11401
|
+
"mediumturquoise": [72, 209, 204],
|
11402
|
+
"mediumvioletred": [199, 21, 133],
|
11403
|
+
"midnightblue": [25, 25, 112],
|
11404
|
+
"mintcream": [245, 255, 250],
|
11405
|
+
"mistyrose": [255, 228, 225],
|
11406
|
+
"moccasin": [255, 228, 181],
|
11407
|
+
"navajowhite": [255, 222, 173],
|
11408
|
+
"navy": [0, 0, 128],
|
11409
|
+
"oldlace": [253, 245, 230],
|
11410
|
+
"olive": [128, 128, 0],
|
11411
|
+
"olivedrab": [107, 142, 35],
|
11412
|
+
"orange": [255, 165, 0],
|
11413
|
+
"orangered": [255, 69, 0],
|
11414
|
+
"orchid": [218, 112, 214],
|
11415
|
+
"palegoldenrod": [238, 232, 170],
|
11416
|
+
"palegreen": [152, 251, 152],
|
11417
|
+
"paleturquoise": [175, 238, 238],
|
11418
|
+
"palevioletred": [219, 112, 147],
|
11419
|
+
"papayawhip": [255, 239, 213],
|
11420
|
+
"peachpuff": [255, 218, 185],
|
11421
|
+
"peru": [205, 133, 63],
|
11422
|
+
"pink": [255, 192, 203],
|
11423
|
+
"plum": [221, 160, 221],
|
11424
|
+
"powderblue": [176, 224, 230],
|
11425
|
+
"purple": [128, 0, 128],
|
11426
|
+
"rebeccapurple": [102, 51, 153],
|
11427
|
+
"red": [255, 0, 0],
|
11428
|
+
"rosybrown": [188, 143, 143],
|
11429
|
+
"royalblue": [65, 105, 225],
|
11430
|
+
"saddlebrown": [139, 69, 19],
|
11431
|
+
"salmon": [250, 128, 114],
|
11432
|
+
"sandybrown": [244, 164, 96],
|
11433
|
+
"seagreen": [46, 139, 87],
|
11434
|
+
"seashell": [255, 245, 238],
|
11435
|
+
"sienna": [160, 82, 45],
|
11436
|
+
"silver": [192, 192, 192],
|
11437
|
+
"skyblue": [135, 206, 235],
|
11438
|
+
"slateblue": [106, 90, 205],
|
11439
|
+
"slategray": [112, 128, 144],
|
11440
|
+
"slategrey": [112, 128, 144],
|
11441
|
+
"snow": [255, 250, 250],
|
11442
|
+
"springgreen": [0, 255, 127],
|
11443
|
+
"steelblue": [70, 130, 180],
|
11444
|
+
"tan": [210, 180, 140],
|
11445
|
+
"teal": [0, 128, 128],
|
11446
|
+
"thistle": [216, 191, 216],
|
11447
|
+
"tomato": [255, 99, 71],
|
11448
|
+
"turquoise": [64, 224, 208],
|
11449
|
+
"violet": [238, 130, 238],
|
11450
|
+
"wheat": [245, 222, 179],
|
11451
|
+
"white": [255, 255, 255],
|
11452
|
+
"whitesmoke": [245, 245, 245],
|
11453
|
+
"yellow": [255, 255, 0],
|
11454
|
+
"yellowgreen": [154, 205, 50]
|
11455
|
+
};
|
11456
|
+
}
|
11457
|
+
});
|
11458
|
+
|
11459
|
+
// ../dx-logger-lib/node_modules/color/node_modules/color-convert/conversions.js
|
11261
11460
|
var require_conversions = __commonJS({
|
11262
|
-
"../logger-lib/node_modules/color-convert/conversions.js"(exports, module2) {
|
11263
|
-
var cssKeywords =
|
11461
|
+
"../dx-logger-lib/node_modules/color/node_modules/color-convert/conversions.js"(exports, module2) {
|
11462
|
+
var cssKeywords = require_color_name2();
|
11264
11463
|
var reverseKeywords = {};
|
11265
11464
|
for (key in cssKeywords) {
|
11266
11465
|
if (cssKeywords.hasOwnProperty(key)) {
|
@@ -11970,9 +12169,9 @@ var require_conversions = __commonJS({
|
|
11970
12169
|
}
|
11971
12170
|
});
|
11972
12171
|
|
11973
|
-
// ../logger-lib/node_modules/color-convert/route.js
|
12172
|
+
// ../dx-logger-lib/node_modules/color/node_modules/color-convert/route.js
|
11974
12173
|
var require_route = __commonJS({
|
11975
|
-
"../logger-lib/node_modules/color-convert/route.js"(exports, module2) {
|
12174
|
+
"../dx-logger-lib/node_modules/color/node_modules/color-convert/route.js"(exports, module2) {
|
11976
12175
|
var conversions = require_conversions();
|
11977
12176
|
function buildGraph() {
|
11978
12177
|
var graph = {};
|
@@ -12038,9 +12237,9 @@ var require_route = __commonJS({
|
|
12038
12237
|
}
|
12039
12238
|
});
|
12040
12239
|
|
12041
|
-
// ../logger-lib/node_modules/color-convert/index.js
|
12240
|
+
// ../dx-logger-lib/node_modules/color/node_modules/color-convert/index.js
|
12042
12241
|
var require_color_convert = __commonJS({
|
12043
|
-
"../logger-lib/node_modules/color-convert/index.js"(exports, module2) {
|
12242
|
+
"../dx-logger-lib/node_modules/color/node_modules/color-convert/index.js"(exports, module2) {
|
12044
12243
|
var conversions = require_conversions();
|
12045
12244
|
var route = require_route();
|
12046
12245
|
var convert = {};
|
@@ -12097,9 +12296,9 @@ var require_color_convert = __commonJS({
|
|
12097
12296
|
}
|
12098
12297
|
});
|
12099
12298
|
|
12100
|
-
// ../logger-lib/node_modules/color/index.js
|
12299
|
+
// ../dx-logger-lib/node_modules/color/index.js
|
12101
12300
|
var require_color = __commonJS({
|
12102
|
-
"../logger-lib/node_modules/color/index.js"(exports, module2) {
|
12301
|
+
"../dx-logger-lib/node_modules/color/index.js"(exports, module2) {
|
12103
12302
|
"use strict";
|
12104
12303
|
var colorString = require_color_string();
|
12105
12304
|
var convert = require_color_convert();
|
@@ -12393,7 +12592,12 @@ var require_color = __commonJS({
|
|
12393
12592
|
var a = color1.alpha() - color2.alpha();
|
12394
12593
|
var w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2;
|
12395
12594
|
var w2 = 1 - w1;
|
12396
|
-
return Color.rgb(
|
12595
|
+
return Color.rgb(
|
12596
|
+
w1 * color1.red() + w2 * color2.red(),
|
12597
|
+
w1 * color1.green() + w2 * color2.green(),
|
12598
|
+
w1 * color1.blue() + w2 * color2.blue(),
|
12599
|
+
color1.alpha() * p + color2.alpha() * (1 - p)
|
12600
|
+
);
|
12397
12601
|
}
|
12398
12602
|
};
|
12399
12603
|
Object.keys(convert).forEach(function(model) {
|
@@ -12469,22 +12673,26 @@ var require_color = __commonJS({
|
|
12469
12673
|
}
|
12470
12674
|
});
|
12471
12675
|
|
12472
|
-
// ../logger-lib/node_modules/text-hex/index.js
|
12676
|
+
// ../dx-logger-lib/node_modules/text-hex/index.js
|
12473
12677
|
var require_text_hex = __commonJS({
|
12474
|
-
"../logger-lib/node_modules/text-hex/index.js"(exports, module2) {
|
12678
|
+
"../dx-logger-lib/node_modules/text-hex/index.js"(exports, module2) {
|
12475
12679
|
"use strict";
|
12476
12680
|
module2.exports = function hex(str) {
|
12477
12681
|
for (var i = 0, hash = 0; i < str.length; hash = str.charCodeAt(i++) + ((hash << 5) - hash))
|
12478
12682
|
;
|
12479
|
-
var color = Math.floor(
|
12683
|
+
var color = Math.floor(
|
12684
|
+
Math.abs(
|
12685
|
+
Math.sin(hash) * 1e4 % 1 * 16777216
|
12686
|
+
)
|
12687
|
+
).toString(16);
|
12480
12688
|
return "#" + Array(6 - color.length + 1).join("0") + color;
|
12481
12689
|
};
|
12482
12690
|
}
|
12483
12691
|
});
|
12484
12692
|
|
12485
|
-
// ../logger-lib/node_modules/colorspace/index.js
|
12693
|
+
// ../dx-logger-lib/node_modules/colorspace/index.js
|
12486
12694
|
var require_colorspace = __commonJS({
|
12487
|
-
"../logger-lib/node_modules/colorspace/index.js"(exports, module2) {
|
12695
|
+
"../dx-logger-lib/node_modules/colorspace/index.js"(exports, module2) {
|
12488
12696
|
"use strict";
|
12489
12697
|
var color = require_color();
|
12490
12698
|
var hex = require_text_hex();
|
@@ -12501,9 +12709,9 @@ var require_colorspace = __commonJS({
|
|
12501
12709
|
}
|
12502
12710
|
});
|
12503
12711
|
|
12504
|
-
// ../logger-lib/node_modules/kuler/index.js
|
12712
|
+
// ../dx-logger-lib/node_modules/kuler/index.js
|
12505
12713
|
var require_kuler = __commonJS({
|
12506
|
-
"../logger-lib/node_modules/kuler/index.js"(exports, module2) {
|
12714
|
+
"../dx-logger-lib/node_modules/kuler/index.js"(exports, module2) {
|
12507
12715
|
"use strict";
|
12508
12716
|
function Kuler(text, color) {
|
12509
12717
|
if (color)
|
@@ -12546,9 +12754,9 @@ var require_kuler = __commonJS({
|
|
12546
12754
|
}
|
12547
12755
|
});
|
12548
12756
|
|
12549
|
-
// ../logger-lib/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js
|
12757
|
+
// ../dx-logger-lib/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js
|
12550
12758
|
var require_namespace_ansi = __commonJS({
|
12551
|
-
"../logger-lib/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js"(exports, module2) {
|
12759
|
+
"../dx-logger-lib/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js"(exports, module2) {
|
12552
12760
|
var colorspace = require_colorspace();
|
12553
12761
|
var kuler = require_kuler();
|
12554
12762
|
module2.exports = function ansiModifier(args, options) {
|
@@ -12560,9 +12768,9 @@ var require_namespace_ansi = __commonJS({
|
|
12560
12768
|
}
|
12561
12769
|
});
|
12562
12770
|
|
12563
|
-
// ../logger-lib/node_modules/enabled/index.js
|
12771
|
+
// ../dx-logger-lib/node_modules/enabled/index.js
|
12564
12772
|
var require_enabled = __commonJS({
|
12565
|
-
"../logger-lib/node_modules/enabled/index.js"(exports, module2) {
|
12773
|
+
"../dx-logger-lib/node_modules/enabled/index.js"(exports, module2) {
|
12566
12774
|
"use strict";
|
12567
12775
|
module2.exports = function enabled(name, variable) {
|
12568
12776
|
if (!variable)
|
@@ -12585,9 +12793,9 @@ var require_enabled = __commonJS({
|
|
12585
12793
|
}
|
12586
12794
|
});
|
12587
12795
|
|
12588
|
-
// ../logger-lib/node_modules/@dabh/diagnostics/adapters/index.js
|
12796
|
+
// ../dx-logger-lib/node_modules/@dabh/diagnostics/adapters/index.js
|
12589
12797
|
var require_adapters = __commonJS({
|
12590
|
-
"../logger-lib/node_modules/@dabh/diagnostics/adapters/index.js"(exports, module2) {
|
12798
|
+
"../dx-logger-lib/node_modules/@dabh/diagnostics/adapters/index.js"(exports, module2) {
|
12591
12799
|
var enabled = require_enabled();
|
12592
12800
|
module2.exports = function create(fn) {
|
12593
12801
|
return function adapter(namespace) {
|
@@ -12601,9 +12809,9 @@ var require_adapters = __commonJS({
|
|
12601
12809
|
}
|
12602
12810
|
});
|
12603
12811
|
|
12604
|
-
// ../logger-lib/node_modules/@dabh/diagnostics/adapters/process.env.js
|
12812
|
+
// ../dx-logger-lib/node_modules/@dabh/diagnostics/adapters/process.env.js
|
12605
12813
|
var require_process_env = __commonJS({
|
12606
|
-
"../logger-lib/node_modules/@dabh/diagnostics/adapters/process.env.js"(exports, module2) {
|
12814
|
+
"../dx-logger-lib/node_modules/@dabh/diagnostics/adapters/process.env.js"(exports, module2) {
|
12607
12815
|
var adapter = require_adapters();
|
12608
12816
|
module2.exports = adapter(function processenv() {
|
12609
12817
|
return process.env.DEBUG || process.env.DIAGNOSTICS;
|
@@ -12611,9 +12819,9 @@ var require_process_env = __commonJS({
|
|
12611
12819
|
}
|
12612
12820
|
});
|
12613
12821
|
|
12614
|
-
// ../logger-lib/node_modules/@dabh/diagnostics/logger/console.js
|
12822
|
+
// ../dx-logger-lib/node_modules/@dabh/diagnostics/logger/console.js
|
12615
12823
|
var require_console2 = __commonJS({
|
12616
|
-
"../logger-lib/node_modules/@dabh/diagnostics/logger/console.js"(exports, module2) {
|
12824
|
+
"../dx-logger-lib/node_modules/@dabh/diagnostics/logger/console.js"(exports, module2) {
|
12617
12825
|
module2.exports = function(meta, messages) {
|
12618
12826
|
try {
|
12619
12827
|
Function.prototype.apply.call(console.log, console, messages);
|
@@ -12623,9 +12831,9 @@ var require_console2 = __commonJS({
|
|
12623
12831
|
}
|
12624
12832
|
});
|
12625
12833
|
|
12626
|
-
// ../logger-lib/node_modules/@dabh/diagnostics/node/development.js
|
12834
|
+
// ../dx-logger-lib/node_modules/@dabh/diagnostics/node/development.js
|
12627
12835
|
var require_development = __commonJS({
|
12628
|
-
"../logger-lib/node_modules/@dabh/diagnostics/node/development.js"(exports, module2) {
|
12836
|
+
"../dx-logger-lib/node_modules/@dabh/diagnostics/node/development.js"(exports, module2) {
|
12629
12837
|
var create = require_diagnostics();
|
12630
12838
|
var tty = require("tty").isatty(1);
|
12631
12839
|
var diagnostics = create(function dev(namespace, options) {
|
@@ -12646,9 +12854,9 @@ var require_development = __commonJS({
|
|
12646
12854
|
}
|
12647
12855
|
});
|
12648
12856
|
|
12649
|
-
// ../logger-lib/node_modules/@dabh/diagnostics/node/index.js
|
12857
|
+
// ../dx-logger-lib/node_modules/@dabh/diagnostics/node/index.js
|
12650
12858
|
var require_node2 = __commonJS({
|
12651
|
-
"../logger-lib/node_modules/@dabh/diagnostics/node/index.js"(exports, module2) {
|
12859
|
+
"../dx-logger-lib/node_modules/@dabh/diagnostics/node/index.js"(exports, module2) {
|
12652
12860
|
if (process.env.NODE_ENV === "production") {
|
12653
12861
|
module2.exports = require_production();
|
12654
12862
|
} else {
|
@@ -12657,9 +12865,9 @@ var require_node2 = __commonJS({
|
|
12657
12865
|
}
|
12658
12866
|
});
|
12659
12867
|
|
12660
|
-
// ../logger-lib/node_modules/winston/lib/winston/tail-file.js
|
12868
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/tail-file.js
|
12661
12869
|
var require_tail_file = __commonJS({
|
12662
|
-
"../logger-lib/node_modules/winston/lib/winston/tail-file.js"(exports, module2) {
|
12870
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/tail-file.js"(exports, module2) {
|
12663
12871
|
"use strict";
|
12664
12872
|
var fs2 = require("fs");
|
12665
12873
|
var { StringDecoder } = require("string_decoder");
|
@@ -12752,9 +12960,9 @@ var require_tail_file = __commonJS({
|
|
12752
12960
|
}
|
12753
12961
|
});
|
12754
12962
|
|
12755
|
-
// ../logger-lib/node_modules/winston/lib/winston/transports/file.js
|
12963
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/transports/file.js
|
12756
12964
|
var require_file = __commonJS({
|
12757
|
-
"../logger-lib/node_modules/winston/lib/winston/transports/file.js"(exports, module2) {
|
12965
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/transports/file.js"(exports, module2) {
|
12758
12966
|
"use strict";
|
12759
12967
|
var fs2 = require("fs");
|
12760
12968
|
var path2 = require("path");
|
@@ -13160,7 +13368,11 @@ var require_file = __commonJS({
|
|
13160
13368
|
}.bind(this, x));
|
13161
13369
|
}
|
13162
13370
|
asyncSeries(tasks, () => {
|
13163
|
-
fs2.rename(
|
13371
|
+
fs2.rename(
|
13372
|
+
path2.join(this.dirname, `${basename}${ext}`),
|
13373
|
+
path2.join(this.dirname, `${basename}1${ext}${isZipped}`),
|
13374
|
+
callback
|
13375
|
+
);
|
13164
13376
|
});
|
13165
13377
|
}
|
13166
13378
|
_createLogDirIfNotExist(dirPath) {
|
@@ -13172,9 +13384,9 @@ var require_file = __commonJS({
|
|
13172
13384
|
}
|
13173
13385
|
});
|
13174
13386
|
|
13175
|
-
// ../logger-lib/node_modules/winston/lib/winston/transports/http.js
|
13387
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/transports/http.js
|
13176
13388
|
var require_http = __commonJS({
|
13177
|
-
"../logger-lib/node_modules/winston/lib/winston/transports/http.js"(exports, module2) {
|
13389
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/transports/http.js"(exports, module2) {
|
13178
13390
|
"use strict";
|
13179
13391
|
var http = require("http");
|
13180
13392
|
var https = require("https");
|
@@ -13344,9 +13556,9 @@ var require_http = __commonJS({
|
|
13344
13556
|
}
|
13345
13557
|
});
|
13346
13558
|
|
13347
|
-
// ../logger-lib/node_modules/is-stream/index.js
|
13559
|
+
// ../dx-logger-lib/node_modules/is-stream/index.js
|
13348
13560
|
var require_is_stream = __commonJS({
|
13349
|
-
"../logger-lib/node_modules/is-stream/index.js"(exports, module2) {
|
13561
|
+
"../dx-logger-lib/node_modules/is-stream/index.js"(exports, module2) {
|
13350
13562
|
"use strict";
|
13351
13563
|
var isStream = (stream) => stream !== null && typeof stream === "object" && typeof stream.pipe === "function";
|
13352
13564
|
isStream.writable = (stream) => isStream(stream) && stream.writable !== false && typeof stream._write === "function" && typeof stream._writableState === "object";
|
@@ -13357,9 +13569,9 @@ var require_is_stream = __commonJS({
|
|
13357
13569
|
}
|
13358
13570
|
});
|
13359
13571
|
|
13360
|
-
// ../logger-lib/node_modules/winston/lib/winston/transports/stream.js
|
13572
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/transports/stream.js
|
13361
13573
|
var require_stream2 = __commonJS({
|
13362
|
-
"../logger-lib/node_modules/winston/lib/winston/transports/stream.js"(exports, module2) {
|
13574
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/transports/stream.js"(exports, module2) {
|
13363
13575
|
"use strict";
|
13364
13576
|
var isStream = require_is_stream();
|
13365
13577
|
var { MESSAGE } = require_triple_beam();
|
@@ -13395,9 +13607,9 @@ var require_stream2 = __commonJS({
|
|
13395
13607
|
}
|
13396
13608
|
});
|
13397
13609
|
|
13398
|
-
// ../logger-lib/node_modules/winston/lib/winston/transports/index.js
|
13610
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/transports/index.js
|
13399
13611
|
var require_transports = __commonJS({
|
13400
|
-
"../logger-lib/node_modules/winston/lib/winston/transports/index.js"(exports) {
|
13612
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/transports/index.js"(exports) {
|
13401
13613
|
"use strict";
|
13402
13614
|
Object.defineProperty(exports, "Console", {
|
13403
13615
|
configurable: true,
|
@@ -13430,9 +13642,9 @@ var require_transports = __commonJS({
|
|
13430
13642
|
}
|
13431
13643
|
});
|
13432
13644
|
|
13433
|
-
// ../logger-lib/node_modules/winston/lib/winston/config/index.js
|
13645
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/config/index.js
|
13434
13646
|
var require_config2 = __commonJS({
|
13435
|
-
"../logger-lib/node_modules/winston/lib/winston/config/index.js"(exports) {
|
13647
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/config/index.js"(exports) {
|
13436
13648
|
"use strict";
|
13437
13649
|
var logform = require_logform();
|
13438
13650
|
var { configs } = require_triple_beam();
|
@@ -13443,9 +13655,9 @@ var require_config2 = __commonJS({
|
|
13443
13655
|
}
|
13444
13656
|
});
|
13445
13657
|
|
13446
|
-
// ../logger-lib/node_modules/async/eachOf.js
|
13658
|
+
// ../dx-logger-lib/node_modules/async/eachOf.js
|
13447
13659
|
var require_eachOf = __commonJS({
|
13448
|
-
"../logger-lib/node_modules/async/eachOf.js"(exports, module2) {
|
13660
|
+
"../dx-logger-lib/node_modules/async/eachOf.js"(exports, module2) {
|
13449
13661
|
"use strict";
|
13450
13662
|
Object.defineProperty(exports, "__esModule", {
|
13451
13663
|
value: true
|
@@ -13501,9 +13713,9 @@ var require_eachOf = __commonJS({
|
|
13501
13713
|
}
|
13502
13714
|
});
|
13503
13715
|
|
13504
|
-
// ../logger-lib/node_modules/async/internal/withoutIndex.js
|
13716
|
+
// ../dx-logger-lib/node_modules/async/internal/withoutIndex.js
|
13505
13717
|
var require_withoutIndex = __commonJS({
|
13506
|
-
"../logger-lib/node_modules/async/internal/withoutIndex.js"(exports, module2) {
|
13718
|
+
"../dx-logger-lib/node_modules/async/internal/withoutIndex.js"(exports, module2) {
|
13507
13719
|
"use strict";
|
13508
13720
|
Object.defineProperty(exports, "__esModule", {
|
13509
13721
|
value: true
|
@@ -13516,9 +13728,9 @@ var require_withoutIndex = __commonJS({
|
|
13516
13728
|
}
|
13517
13729
|
});
|
13518
13730
|
|
13519
|
-
// ../logger-lib/node_modules/async/forEach.js
|
13731
|
+
// ../dx-logger-lib/node_modules/async/forEach.js
|
13520
13732
|
var require_forEach = __commonJS({
|
13521
|
-
"../logger-lib/node_modules/async/forEach.js"(exports, module2) {
|
13733
|
+
"../dx-logger-lib/node_modules/async/forEach.js"(exports, module2) {
|
13522
13734
|
"use strict";
|
13523
13735
|
Object.defineProperty(exports, "__esModule", {
|
13524
13736
|
value: true
|
@@ -13542,9 +13754,9 @@ var require_forEach = __commonJS({
|
|
13542
13754
|
}
|
13543
13755
|
});
|
13544
13756
|
|
13545
|
-
// ../logger-lib/node_modules/fn.name/index.js
|
13757
|
+
// ../dx-logger-lib/node_modules/fn.name/index.js
|
13546
13758
|
var require_fn = __commonJS({
|
13547
|
-
"../logger-lib/node_modules/fn.name/index.js"(exports, module2) {
|
13759
|
+
"../dx-logger-lib/node_modules/fn.name/index.js"(exports, module2) {
|
13548
13760
|
"use strict";
|
13549
13761
|
var toString = Object.prototype.toString;
|
13550
13762
|
module2.exports = function name(fn) {
|
@@ -13566,9 +13778,9 @@ var require_fn = __commonJS({
|
|
13566
13778
|
}
|
13567
13779
|
});
|
13568
13780
|
|
13569
|
-
// ../logger-lib/node_modules/one-time/index.js
|
13781
|
+
// ../dx-logger-lib/node_modules/one-time/index.js
|
13570
13782
|
var require_one_time = __commonJS({
|
13571
|
-
"../logger-lib/node_modules/one-time/index.js"(exports, module2) {
|
13783
|
+
"../dx-logger-lib/node_modules/one-time/index.js"(exports, module2) {
|
13572
13784
|
"use strict";
|
13573
13785
|
var name = require_fn();
|
13574
13786
|
module2.exports = function one(fn) {
|
@@ -13587,9 +13799,9 @@ var require_one_time = __commonJS({
|
|
13587
13799
|
}
|
13588
13800
|
});
|
13589
13801
|
|
13590
|
-
// ../logger-lib/node_modules/stack-trace/lib/stack-trace.js
|
13802
|
+
// ../dx-logger-lib/node_modules/stack-trace/lib/stack-trace.js
|
13591
13803
|
var require_stack_trace = __commonJS({
|
13592
|
-
"../logger-lib/node_modules/stack-trace/lib/stack-trace.js"(exports) {
|
13804
|
+
"../dx-logger-lib/node_modules/stack-trace/lib/stack-trace.js"(exports) {
|
13593
13805
|
exports.get = function(belowFn) {
|
13594
13806
|
var oldLimit = Error.stackTraceLimit;
|
13595
13807
|
Error.stackTraceLimit = Infinity;
|
@@ -13710,9 +13922,9 @@ var require_stack_trace = __commonJS({
|
|
13710
13922
|
}
|
13711
13923
|
});
|
13712
13924
|
|
13713
|
-
// ../logger-lib/node_modules/winston/lib/winston/exception-stream.js
|
13925
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/exception-stream.js
|
13714
13926
|
var require_exception_stream = __commonJS({
|
13715
|
-
"../logger-lib/node_modules/winston/lib/winston/exception-stream.js"(exports, module2) {
|
13927
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/exception-stream.js"(exports, module2) {
|
13716
13928
|
"use strict";
|
13717
13929
|
var { Writable } = require_readable();
|
13718
13930
|
module2.exports = class ExceptionStream extends Writable {
|
@@ -13735,9 +13947,9 @@ var require_exception_stream = __commonJS({
|
|
13735
13947
|
}
|
13736
13948
|
});
|
13737
13949
|
|
13738
|
-
// ../logger-lib/node_modules/winston/lib/winston/exception-handler.js
|
13950
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/exception-handler.js
|
13739
13951
|
var require_exception_handler = __commonJS({
|
13740
|
-
"../logger-lib/node_modules/winston/lib/winston/exception-handler.js"(exports, module2) {
|
13952
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/exception-handler.js"(exports, module2) {
|
13741
13953
|
"use strict";
|
13742
13954
|
var os3 = require("os");
|
13743
13955
|
var asyncForEach = require_forEach();
|
@@ -13882,9 +14094,9 @@ var require_exception_handler = __commonJS({
|
|
13882
14094
|
}
|
13883
14095
|
});
|
13884
14096
|
|
13885
|
-
// ../logger-lib/node_modules/winston/lib/winston/rejection-handler.js
|
14097
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/rejection-handler.js
|
13886
14098
|
var require_rejection_handler = __commonJS({
|
13887
|
-
"../logger-lib/node_modules/winston/lib/winston/rejection-handler.js"(exports, module2) {
|
14099
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/rejection-handler.js"(exports, module2) {
|
13888
14100
|
"use strict";
|
13889
14101
|
var os3 = require("os");
|
13890
14102
|
var asyncForEach = require_forEach();
|
@@ -13916,7 +14128,9 @@ var require_rejection_handler = __commonJS({
|
|
13916
14128
|
if (this.catcher) {
|
13917
14129
|
process.removeListener("unhandledRejection", this.catcher);
|
13918
14130
|
this.catcher = false;
|
13919
|
-
Array.from(this.handlers.values()).forEach(
|
14131
|
+
Array.from(this.handlers.values()).forEach(
|
14132
|
+
(wrapper) => this.logger.unpipe(wrapper)
|
14133
|
+
);
|
13920
14134
|
}
|
13921
14135
|
}
|
13922
14136
|
getAllInfo(err) {
|
@@ -14001,19 +14215,23 @@ var require_rejection_handler = __commonJS({
|
|
14001
14215
|
if (!handlers || handlers.length === 0) {
|
14002
14216
|
return process.nextTick(gracefulExit);
|
14003
14217
|
}
|
14004
|
-
asyncForEach(
|
14005
|
-
|
14006
|
-
|
14007
|
-
|
14008
|
-
|
14009
|
-
|
14010
|
-
|
14011
|
-
|
14012
|
-
|
14013
|
-
|
14014
|
-
|
14015
|
-
|
14016
|
-
|
14218
|
+
asyncForEach(
|
14219
|
+
handlers,
|
14220
|
+
(handler, next) => {
|
14221
|
+
const done = once(next);
|
14222
|
+
const transport = handler.transport || handler;
|
14223
|
+
function onDone(event) {
|
14224
|
+
return () => {
|
14225
|
+
debug(event);
|
14226
|
+
done();
|
14227
|
+
};
|
14228
|
+
}
|
14229
|
+
transport._ending = true;
|
14230
|
+
transport.once("finish", onDone("finished"));
|
14231
|
+
transport.once("error", onDone("error"));
|
14232
|
+
},
|
14233
|
+
() => doExit && gracefulExit()
|
14234
|
+
);
|
14017
14235
|
this.logger.log(info);
|
14018
14236
|
if (doExit) {
|
14019
14237
|
timeout = setTimeout(gracefulExit, 3e3);
|
@@ -14029,9 +14247,9 @@ var require_rejection_handler = __commonJS({
|
|
14029
14247
|
}
|
14030
14248
|
});
|
14031
14249
|
|
14032
|
-
// ../logger-lib/node_modules/winston/lib/winston/profiler.js
|
14250
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/profiler.js
|
14033
14251
|
var require_profiler = __commonJS({
|
14034
|
-
"../logger-lib/node_modules/winston/lib/winston/profiler.js"(exports, module2) {
|
14252
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/profiler.js"(exports, module2) {
|
14035
14253
|
"use strict";
|
14036
14254
|
module2.exports = class Profiler {
|
14037
14255
|
constructor(logger2) {
|
@@ -14055,9 +14273,9 @@ var require_profiler = __commonJS({
|
|
14055
14273
|
}
|
14056
14274
|
});
|
14057
14275
|
|
14058
|
-
// ../logger-lib/node_modules/winston/lib/winston/logger.js
|
14276
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/logger.js
|
14059
14277
|
var require_logger = __commonJS({
|
14060
|
-
"../logger-lib/node_modules/winston/lib/winston/logger.js"(exports, module2) {
|
14278
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/logger.js"(exports, module2) {
|
14061
14279
|
"use strict";
|
14062
14280
|
var { Stream, Transform } = require_readable();
|
14063
14281
|
var asyncForEach = require_forEach();
|
@@ -14080,7 +14298,11 @@ var require_logger = __commonJS({
|
|
14080
14298
|
return Object.create(logger2, {
|
14081
14299
|
write: {
|
14082
14300
|
value: function(info) {
|
14083
|
-
const infoClone = Object.assign(
|
14301
|
+
const infoClone = Object.assign(
|
14302
|
+
{},
|
14303
|
+
defaultRequestMetadata,
|
14304
|
+
info
|
14305
|
+
);
|
14084
14306
|
if (info instanceof Error) {
|
14085
14307
|
infoClone.stack = info.stack;
|
14086
14308
|
infoClone.message = info.message;
|
@@ -14130,11 +14352,13 @@ var require_logger = __commonJS({
|
|
14130
14352
|
transports.forEach((transport) => this.add(transport));
|
14131
14353
|
}
|
14132
14354
|
if (colors || emitErrs || formatters || padLevels || rewriters || stripColors) {
|
14133
|
-
throw new Error(
|
14134
|
-
|
14135
|
-
|
14136
|
-
|
14137
|
-
|
14355
|
+
throw new Error(
|
14356
|
+
[
|
14357
|
+
"{ colors, emitErrs, formatters, padLevels, rewriters, stripColors } were removed in winston@3.0.0.",
|
14358
|
+
"Use a custom winston.format(function) instead.",
|
14359
|
+
"See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md"
|
14360
|
+
].join("\n")
|
14361
|
+
);
|
14138
14362
|
}
|
14139
14363
|
if (exceptionHandlers) {
|
14140
14364
|
this.exceptions.handle(exceptionHandlers);
|
@@ -14220,7 +14444,10 @@ var require_logger = __commonJS({
|
|
14220
14444
|
console.error("[winston] Unknown logger level: %s", info[LEVEL]);
|
14221
14445
|
}
|
14222
14446
|
if (!this._readableState.pipes) {
|
14223
|
-
console.error(
|
14447
|
+
console.error(
|
14448
|
+
"[winston] Attempt to write logs with no transports, which can increase memory usage: %j",
|
14449
|
+
info
|
14450
|
+
);
|
14224
14451
|
}
|
14225
14452
|
try {
|
14226
14453
|
this.push(this.format.transform(info, this.format.options));
|
@@ -14231,17 +14458,23 @@ var require_logger = __commonJS({
|
|
14231
14458
|
}
|
14232
14459
|
_final(callback) {
|
14233
14460
|
const transports = this.transports.slice();
|
14234
|
-
asyncForEach(
|
14235
|
-
|
14236
|
-
|
14237
|
-
|
14238
|
-
|
14239
|
-
|
14461
|
+
asyncForEach(
|
14462
|
+
transports,
|
14463
|
+
(transport, next) => {
|
14464
|
+
if (!transport || transport.finished)
|
14465
|
+
return setImmediate(next);
|
14466
|
+
transport.once("finish", next);
|
14467
|
+
transport.end();
|
14468
|
+
},
|
14469
|
+
callback
|
14470
|
+
);
|
14240
14471
|
}
|
14241
14472
|
add(transport) {
|
14242
14473
|
const target = !isStream(transport) || transport.log.length > 2 ? new LegacyTransportStream({ transport }) : transport;
|
14243
14474
|
if (!target._writableState || !target._writableState.objectMode) {
|
14244
|
-
throw new Error(
|
14475
|
+
throw new Error(
|
14476
|
+
"Transports must WritableStreams in objectMode. Set { objectMode: true }."
|
14477
|
+
);
|
14245
14478
|
}
|
14246
14479
|
this._onEvent("error", target);
|
14247
14480
|
this._onEvent("warn", target);
|
@@ -14259,7 +14492,9 @@ var require_logger = __commonJS({
|
|
14259
14492
|
return this;
|
14260
14493
|
let target = transport;
|
14261
14494
|
if (!isStream(transport) || transport.log.length > 2) {
|
14262
|
-
target = this.transports.filter(
|
14495
|
+
target = this.transports.filter(
|
14496
|
+
(match) => match.transport === transport
|
14497
|
+
)[0];
|
14263
14498
|
}
|
14264
14499
|
if (target) {
|
14265
14500
|
this.unpipe(target);
|
@@ -14314,7 +14549,11 @@ var require_logger = __commonJS({
|
|
14314
14549
|
next = null;
|
14315
14550
|
});
|
14316
14551
|
}
|
14317
|
-
asyncForEach(
|
14552
|
+
asyncForEach(
|
14553
|
+
this.transports.filter((transport) => !!transport.query),
|
14554
|
+
addResults,
|
14555
|
+
() => callback(null, results)
|
14556
|
+
);
|
14318
14557
|
}
|
14319
14558
|
stream(options = {}) {
|
14320
14559
|
const out = new Stream();
|
@@ -14354,7 +14593,9 @@ var require_logger = __commonJS({
|
|
14354
14593
|
const timeEnd = this.profilers[id];
|
14355
14594
|
delete this.profilers[id];
|
14356
14595
|
if (typeof args[args.length - 2] === "function") {
|
14357
|
-
console.warn(
|
14596
|
+
console.warn(
|
14597
|
+
"Callback function no longer supported as of winston@3.0.0"
|
14598
|
+
);
|
14358
14599
|
args.pop();
|
14359
14600
|
}
|
14360
14601
|
const info = typeof args[args.length - 1] === "object" ? args.pop() : {};
|
@@ -14367,19 +14608,25 @@ var require_logger = __commonJS({
|
|
14367
14608
|
return this;
|
14368
14609
|
}
|
14369
14610
|
handleExceptions(...args) {
|
14370
|
-
console.warn(
|
14611
|
+
console.warn(
|
14612
|
+
"Deprecated: .handleExceptions() will be removed in winston@4. Use .exceptions.handle()"
|
14613
|
+
);
|
14371
14614
|
this.exceptions.handle(...args);
|
14372
14615
|
}
|
14373
14616
|
unhandleExceptions(...args) {
|
14374
|
-
console.warn(
|
14617
|
+
console.warn(
|
14618
|
+
"Deprecated: .unhandleExceptions() will be removed in winston@4. Use .exceptions.unhandle()"
|
14619
|
+
);
|
14375
14620
|
this.exceptions.unhandle(...args);
|
14376
14621
|
}
|
14377
14622
|
cli() {
|
14378
|
-
throw new Error(
|
14379
|
-
|
14380
|
-
|
14381
|
-
|
14382
|
-
|
14623
|
+
throw new Error(
|
14624
|
+
[
|
14625
|
+
"Logger.cli() was removed in winston@3.0.0",
|
14626
|
+
"Use a custom winston.formats.cli() instead.",
|
14627
|
+
"See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md"
|
14628
|
+
].join("\n")
|
14629
|
+
);
|
14383
14630
|
}
|
14384
14631
|
_onEvent(event, transport) {
|
14385
14632
|
function transportEvent(err) {
|
@@ -14418,9 +14665,9 @@ var require_logger = __commonJS({
|
|
14418
14665
|
}
|
14419
14666
|
});
|
14420
14667
|
|
14421
|
-
// ../logger-lib/node_modules/winston/lib/winston/create-logger.js
|
14668
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/create-logger.js
|
14422
14669
|
var require_create_logger = __commonJS({
|
14423
|
-
"../logger-lib/node_modules/winston/lib/winston/create-logger.js"(exports, module2) {
|
14670
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/create-logger.js"(exports, module2) {
|
14424
14671
|
"use strict";
|
14425
14672
|
var { LEVEL } = require_triple_beam();
|
14426
14673
|
var config = require_config2();
|
@@ -14468,9 +14715,9 @@ var require_create_logger = __commonJS({
|
|
14468
14715
|
}
|
14469
14716
|
});
|
14470
14717
|
|
14471
|
-
// ../logger-lib/node_modules/winston/lib/winston/container.js
|
14718
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston/container.js
|
14472
14719
|
var require_container = __commonJS({
|
14473
|
-
"../logger-lib/node_modules/winston/lib/winston/container.js"(exports, module2) {
|
14720
|
+
"../dx-logger-lib/node_modules/winston/lib/winston/container.js"(exports, module2) {
|
14474
14721
|
"use strict";
|
14475
14722
|
var createLogger = require_create_logger();
|
14476
14723
|
module2.exports = class Container {
|
@@ -14516,9 +14763,9 @@ var require_container = __commonJS({
|
|
14516
14763
|
}
|
14517
14764
|
});
|
14518
14765
|
|
14519
|
-
// ../logger-lib/node_modules/winston/lib/winston.js
|
14766
|
+
// ../dx-logger-lib/node_modules/winston/lib/winston.js
|
14520
14767
|
var require_winston = __commonJS({
|
14521
|
-
"../logger-lib/node_modules/winston/lib/winston.js"(exports) {
|
14768
|
+
"../dx-logger-lib/node_modules/winston/lib/winston.js"(exports) {
|
14522
14769
|
"use strict";
|
14523
14770
|
var logform = require_logform();
|
14524
14771
|
var { warn } = require_common();
|
@@ -14549,7 +14796,9 @@ var require_winston = __commonJS({
|
|
14549
14796
|
"unhandleRejections",
|
14550
14797
|
"configure",
|
14551
14798
|
"child"
|
14552
|
-
]).forEach(
|
14799
|
+
]).forEach(
|
14800
|
+
(method) => exports[method] = (...args) => defaultLogger[method](...args)
|
14801
|
+
);
|
14553
14802
|
Object.defineProperty(exports, "level", {
|
14554
14803
|
get() {
|
14555
14804
|
return defaultLogger.level;
|
@@ -14596,9 +14845,9 @@ var require_winston = __commonJS({
|
|
14596
14845
|
}
|
14597
14846
|
});
|
14598
14847
|
|
14599
|
-
// ../logger-lib/lib/index.js
|
14848
|
+
// ../dx-logger-lib/lib/index.js
|
14600
14849
|
var require_lib3 = __commonJS({
|
14601
|
-
"../logger-lib/lib/index.js"(exports) {
|
14850
|
+
"../dx-logger-lib/lib/index.js"(exports) {
|
14602
14851
|
"use strict";
|
14603
14852
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
14604
14853
|
return mod && mod.__esModule ? mod : { "default": mod };
|
@@ -23232,7 +23481,11 @@ var require_xmlstr2xmlnode = __commonJS({
|
|
23232
23481
|
matches[i][4] = matches[i][4].trim();
|
23233
23482
|
}
|
23234
23483
|
matches[i][4] = options.attrValueProcessor(matches[i][4], attrName);
|
23235
|
-
attrs[options.attributeNamePrefix + attrName] = parseValue(
|
23484
|
+
attrs[options.attributeNamePrefix + attrName] = parseValue(
|
23485
|
+
matches[i][4],
|
23486
|
+
options.parseAttributeValue,
|
23487
|
+
options.parseTrueNumberOnly
|
23488
|
+
);
|
23236
23489
|
} else if (options.allowBooleanAttributes) {
|
23237
23490
|
attrs[options.attributeNamePrefix + attrName] = true;
|
23238
23491
|
}
|
@@ -30683,6 +30936,7 @@ __export(src_exports, {
|
|
30683
30936
|
assertAssignWithDefaultUndefinedValue: () => assertAssignWithDefaultUndefinedValue,
|
30684
30937
|
assertIsDefined: () => assertIsDefined,
|
30685
30938
|
assertIsMapOfStringString: () => assertIsMapOfStringString,
|
30939
|
+
assertIsNotAnEmptyString: () => assertIsNotAnEmptyString,
|
30686
30940
|
assertIsObject: () => assertIsObject,
|
30687
30941
|
assertIsString: () => assertIsString,
|
30688
30942
|
getConnectionInfo: () => getConnectionInfo
|
@@ -30709,7 +30963,11 @@ var AbstractRepository = class {
|
|
30709
30963
|
async create(value, transactionClient = null) {
|
30710
30964
|
const columns = Object.keys(value).map((a) => `"${this.modelPropertyToSqlColumn[a]}"`).join(", ");
|
30711
30965
|
const values = Object.values(value).map((a, index) => `$${index + 1}`).join(", ");
|
30712
|
-
const result = await this.executeQuery(
|
30966
|
+
const result = await this.executeQuery(
|
30967
|
+
`INSERT INTO ${this.tableName} (${columns}) VALUES (${values}) RETURNING *`,
|
30968
|
+
Object.values(value),
|
30969
|
+
transactionClient
|
30970
|
+
);
|
30713
30971
|
return result[0];
|
30714
30972
|
}
|
30715
30973
|
async update(where, newValue, transactionClient = null) {
|
@@ -30717,10 +30975,14 @@ var AbstractRepository = class {
|
|
30717
30975
|
const newValues = Object.values(newValue);
|
30718
30976
|
const setString = Object.keys(newValue).map((a, index) => `"${this.modelPropertyToSqlColumn[a]}" = $${index + 1}`).join(", ");
|
30719
30977
|
const whereString = this.createWhereStringFromPartialModel(where, newValues.length);
|
30720
|
-
const result = await this.executeQuery(
|
30978
|
+
const result = await this.executeQuery(
|
30979
|
+
`UPDATE ${this.tableName}
|
30721
30980
|
SET ${setString}
|
30722
30981
|
WHERE ${whereString}
|
30723
|
-
RETURNING *`,
|
30982
|
+
RETURNING *`,
|
30983
|
+
[...Object.values(newValues), ...Object.values(whereValues)],
|
30984
|
+
transactionClient
|
30985
|
+
);
|
30724
30986
|
return result;
|
30725
30987
|
}
|
30726
30988
|
async delete(where, transactionClient = null) {
|
@@ -30766,21 +31028,30 @@ var AbstractRepository = class {
|
|
30766
31028
|
return new this.classRef(inputData);
|
30767
31029
|
}
|
30768
31030
|
async findOne(item) {
|
30769
|
-
const result = await this.executeQuery(
|
31031
|
+
const result = await this.executeQuery(
|
31032
|
+
`SELECT *
|
30770
31033
|
FROM ${this.tableName}
|
30771
31034
|
WHERE ${this.createWhereStringFromPartialModel(item)}
|
30772
|
-
LIMIT 1`,
|
31035
|
+
LIMIT 1`,
|
31036
|
+
Object.values(item)
|
31037
|
+
);
|
30773
31038
|
return result[0];
|
30774
31039
|
}
|
30775
31040
|
async find(item) {
|
30776
|
-
const result = await this.executeQuery(
|
31041
|
+
const result = await this.executeQuery(
|
31042
|
+
`SELECT *
|
30777
31043
|
FROM ${this.tableName}
|
30778
|
-
WHERE ${this.createWhereStringFromPartialModel(item)}`,
|
31044
|
+
WHERE ${this.createWhereStringFromPartialModel(item)}`,
|
31045
|
+
Object.values(item)
|
31046
|
+
);
|
30779
31047
|
return result;
|
30780
31048
|
}
|
30781
31049
|
async findAll() {
|
30782
|
-
const result = await this.executeQuery(
|
30783
|
-
|
31050
|
+
const result = await this.executeQuery(
|
31051
|
+
`SELECT *
|
31052
|
+
FROM ${this.tableName}`,
|
31053
|
+
[]
|
31054
|
+
);
|
30784
31055
|
return result;
|
30785
31056
|
}
|
30786
31057
|
};
|
@@ -30793,9 +31064,9 @@ var import_os2 = __toESM(require("os"));
|
|
30793
31064
|
var import_promises = __toESM(require("fs/promises"));
|
30794
31065
|
var import_path = __toESM(require("path"));
|
30795
31066
|
var import_os = __toESM(require("os"));
|
30796
|
-
var
|
31067
|
+
var import_dx_logger_lib = __toESM(require_lib3());
|
30797
31068
|
var MIGRATION_ADVISORY_LOCK = 4569465;
|
30798
|
-
var logger = (0,
|
31069
|
+
var logger = (0, import_dx_logger_lib.getLogger)({ name: "db-migrator", meta: { pid: process.pid, hostname: import_os.default.hostname() } });
|
30799
31070
|
var Migrator = class {
|
30800
31071
|
constructor(migrationDir, migrationList, pool) {
|
30801
31072
|
this.migrationDir = migrationDir;
|
@@ -31309,14 +31580,31 @@ function assertIsObject(val) {
|
|
31309
31580
|
}
|
31310
31581
|
}
|
31311
31582
|
|
31312
|
-
// src/assertions/
|
31583
|
+
// src/assertions/assertIsNotAnEmptyString.ts
|
31313
31584
|
var import_assert5 = require("assert");
|
31585
|
+
function assertIsNotAnEmptyString(val) {
|
31586
|
+
if (typeof val !== "string") {
|
31587
|
+
throw new import_assert5.AssertionError({
|
31588
|
+
actual: typeof val,
|
31589
|
+
expected: "string",
|
31590
|
+
message: "value is not a string"
|
31591
|
+
});
|
31592
|
+
}
|
31593
|
+
if (val.trim().length === 0) {
|
31594
|
+
throw new import_assert5.AssertionError({
|
31595
|
+
message: "string cannot be empty"
|
31596
|
+
});
|
31597
|
+
}
|
31598
|
+
}
|
31599
|
+
|
31600
|
+
// src/assertions/assertAssign.ts
|
31601
|
+
var import_assert6 = require("assert");
|
31314
31602
|
function assertAssign(value, assertionFunc, errorMessage) {
|
31315
31603
|
try {
|
31316
31604
|
assertionFunc(value);
|
31317
31605
|
} catch (e) {
|
31318
31606
|
if (errorMessage) {
|
31319
|
-
throw new
|
31607
|
+
throw new import_assert6.AssertionError({ message: errorMessage });
|
31320
31608
|
} else {
|
31321
31609
|
throw e;
|
31322
31610
|
}
|
@@ -31341,6 +31629,7 @@ function assertAssignWithDefaultUndefinedValue(value, assertionFunc, defaultValu
|
|
31341
31629
|
assertAssignWithDefaultUndefinedValue,
|
31342
31630
|
assertIsDefined,
|
31343
31631
|
assertIsMapOfStringString,
|
31632
|
+
assertIsNotAnEmptyString,
|
31344
31633
|
assertIsObject,
|
31345
31634
|
assertIsString,
|
31346
31635
|
getConnectionInfo
|