@rife/logger 0.0.6-beta.10 → 0.0.6-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/common.cjs +3 -3
- package/dist/cjs/env.cjs +3 -3
- package/dist/cjs/index.cjs +7 -9
- package/dist/cjs/pino/index.cjs +125 -70
- package/dist/cjs/pino/rotate.cjs +6 -6
- package/dist/cjs/pino/worker/pino-file.cjs +3354 -0
- package/dist/cjs/pino/worker/pino-pretty.cjs +2823 -0
- package/dist/cjs/pino/worker/pino-rotate.cjs +604 -0
- package/dist/cjs/pino/worker/pino-worker.cjs +3667 -0
- package/dist/cjs/pino/worker/thread-stream.cjs +174 -0
- package/dist/cjs/test.cjs +10 -6
- package/dist/cjs/trace.cjs +4 -4
- package/dist/esm/common.mjs +2 -2
- package/dist/esm/pino/index.mjs +70 -17
- package/dist/esm/pino/rotate.mjs +3 -3
- package/dist/esm/pino/worker/pino-file.cjs +3354 -0
- package/dist/esm/pino/worker/pino-pretty.cjs +2823 -0
- package/dist/esm/pino/worker/pino-rotate.cjs +604 -0
- package/dist/esm/pino/worker/pino-worker.cjs +3667 -0
- package/dist/esm/pino/worker/thread-stream.cjs +174 -0
- package/dist/esm/test.mjs +10 -6
- package/dist/worker/pino-file.cjs +458 -626
- package/dist/worker/pino-pretty.cjs +430 -463
- package/dist/worker/pino-rotate.cjs +13 -13
- package/dist/worker/pino-worker.cjs +533 -701
- package/dist/worker/thread-stream.cjs +39 -37
- package/package.json +7 -7
- package/src/common.ts +4 -4
- package/src/pino/index.ts +122 -102
- package/src/pino/rotate.ts +32 -32
- package/src/test.ts +22 -19
- package/src/trace.ts +15 -15
- package/tsconfig.json +12 -12
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __webpack_modules__ = {
|
|
2
|
-
"../../node_modules/.pnpm/atomic-sleep@1.0.0/node_modules/atomic-sleep/index.js"
|
|
3
|
+
"../../node_modules/.pnpm/atomic-sleep@1.0.0/node_modules/atomic-sleep/index.js" (module1) {
|
|
3
4
|
"use strict";
|
|
4
|
-
if (
|
|
5
|
+
if ("u" > typeof SharedArrayBuffer && "u" > typeof Atomics) {
|
|
5
6
|
const nil = new Int32Array(new SharedArrayBuffer(4));
|
|
6
7
|
function sleep(ms) {
|
|
7
8
|
const valid = ms > 0 && ms < 1 / 0;
|
|
@@ -25,7 +26,7 @@ var __webpack_modules__ = {
|
|
|
25
26
|
module1.exports = sleep1;
|
|
26
27
|
}
|
|
27
28
|
},
|
|
28
|
-
"../../node_modules/.pnpm/dateformat@4.6.3/node_modules/dateformat/lib/dateformat.js"
|
|
29
|
+
"../../node_modules/.pnpm/dateformat@4.6.3/node_modules/dateformat/lib/dateformat.js" (module1, exports) {
|
|
29
30
|
"use strict";
|
|
30
31
|
function _typeof(obj) {
|
|
31
32
|
_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj) {
|
|
@@ -363,7 +364,7 @@ var __webpack_modules__ = {
|
|
|
363
364
|
else global1.dateFormat = dateFormat;
|
|
364
365
|
})(void 0);
|
|
365
366
|
},
|
|
366
|
-
"../../node_modules/.pnpm/end-of-stream@1.4.4/node_modules/end-of-stream/index.js"
|
|
367
|
+
"../../node_modules/.pnpm/end-of-stream@1.4.4/node_modules/end-of-stream/index.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
367
368
|
var once = __webpack_require__("../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js");
|
|
368
369
|
var noop = function() {};
|
|
369
370
|
var isRequest = function(stream) {
|
|
@@ -440,7 +441,7 @@ var __webpack_modules__ = {
|
|
|
440
441
|
};
|
|
441
442
|
module1.exports = eos;
|
|
442
443
|
},
|
|
443
|
-
"../../node_modules/.pnpm/fast-safe-stringify@2.1.1/node_modules/fast-safe-stringify/index.js"
|
|
444
|
+
"../../node_modules/.pnpm/fast-safe-stringify@2.1.1/node_modules/fast-safe-stringify/index.js" (module1) {
|
|
444
445
|
module1.exports = stringify;
|
|
445
446
|
stringify.default = stringify;
|
|
446
447
|
stringify.stable = deterministicStringify;
|
|
@@ -589,7 +590,7 @@ var __webpack_modules__ = {
|
|
|
589
590
|
};
|
|
590
591
|
}
|
|
591
592
|
},
|
|
592
|
-
"../../node_modules/.pnpm/on-exit-leak-free@2.1.2/node_modules/on-exit-leak-free/index.js"
|
|
593
|
+
"../../node_modules/.pnpm/on-exit-leak-free@2.1.2/node_modules/on-exit-leak-free/index.js" (module1) {
|
|
593
594
|
"use strict";
|
|
594
595
|
const refs = {
|
|
595
596
|
exit: [],
|
|
@@ -671,7 +672,7 @@ var __webpack_modules__ = {
|
|
|
671
672
|
unregister
|
|
672
673
|
};
|
|
673
674
|
},
|
|
674
|
-
"../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js"
|
|
675
|
+
"../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
675
676
|
var wrappy = __webpack_require__("../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js");
|
|
676
677
|
module1.exports = wrappy(once);
|
|
677
678
|
module1.exports.strict = wrappy(onceStrict);
|
|
@@ -710,7 +711,7 @@ var __webpack_modules__ = {
|
|
|
710
711
|
return f;
|
|
711
712
|
}
|
|
712
713
|
},
|
|
713
|
-
"../../node_modules/.pnpm/pino-abstract-transport@
|
|
714
|
+
"../../node_modules/.pnpm/pino-abstract-transport@3.0.0/node_modules/pino-abstract-transport/index.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
714
715
|
"use strict";
|
|
715
716
|
const metadata = Symbol.for('pino.metadata');
|
|
716
717
|
const split = __webpack_require__("../../node_modules/.pnpm/split2@4.2.0/node_modules/split2/index.js");
|
|
@@ -816,7 +817,7 @@ var __webpack_modules__ = {
|
|
|
816
817
|
process.nextTick(cb, err);
|
|
817
818
|
}
|
|
818
819
|
},
|
|
819
|
-
"../../node_modules/.pnpm/pump@3.0.2/node_modules/pump/index.js"
|
|
820
|
+
"../../node_modules/.pnpm/pump@3.0.2/node_modules/pump/index.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
820
821
|
var once = __webpack_require__("../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js");
|
|
821
822
|
var eos = __webpack_require__("../../node_modules/.pnpm/end-of-stream@1.4.4/node_modules/end-of-stream/index.js");
|
|
822
823
|
var fs;
|
|
@@ -888,91 +889,7 @@ var __webpack_modules__ = {
|
|
|
888
889
|
};
|
|
889
890
|
module1.exports = pump;
|
|
890
891
|
},
|
|
891
|
-
"../../node_modules/.pnpm/
|
|
892
|
-
"use strict";
|
|
893
|
-
const hasBuffer = 'undefined' != typeof Buffer;
|
|
894
|
-
const suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
|
|
895
|
-
const suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
|
|
896
|
-
function _parse(text, reviver, options) {
|
|
897
|
-
if (null == options) {
|
|
898
|
-
if (null !== reviver && 'object' == typeof reviver) {
|
|
899
|
-
options = reviver;
|
|
900
|
-
reviver = void 0;
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
if (hasBuffer && Buffer.isBuffer(text)) text = text.toString();
|
|
904
|
-
if (text && 0xFEFF === text.charCodeAt(0)) text = text.slice(1);
|
|
905
|
-
const obj = JSON.parse(text, reviver);
|
|
906
|
-
if (null === obj || 'object' != typeof obj) return obj;
|
|
907
|
-
const protoAction = options && options.protoAction || 'error';
|
|
908
|
-
const constructorAction = options && options.constructorAction || 'error';
|
|
909
|
-
if ('ignore' === protoAction && 'ignore' === constructorAction) return obj;
|
|
910
|
-
if ('ignore' !== protoAction && 'ignore' !== constructorAction) {
|
|
911
|
-
if (false === suspectProtoRx.test(text) && false === suspectConstructorRx.test(text)) return obj;
|
|
912
|
-
} else if ('ignore' !== protoAction && 'ignore' === constructorAction) {
|
|
913
|
-
if (false === suspectProtoRx.test(text)) return obj;
|
|
914
|
-
} else if (false === suspectConstructorRx.test(text)) return obj;
|
|
915
|
-
return filter(obj, {
|
|
916
|
-
protoAction,
|
|
917
|
-
constructorAction,
|
|
918
|
-
safe: options && options.safe
|
|
919
|
-
});
|
|
920
|
-
}
|
|
921
|
-
function filter(obj, { protoAction = 'error', constructorAction = 'error', safe } = {}) {
|
|
922
|
-
let next = [
|
|
923
|
-
obj
|
|
924
|
-
];
|
|
925
|
-
while(next.length){
|
|
926
|
-
const nodes = next;
|
|
927
|
-
next = [];
|
|
928
|
-
for (const node of nodes){
|
|
929
|
-
if ('ignore' !== protoAction && Object.prototype.hasOwnProperty.call(node, '__proto__')) {
|
|
930
|
-
if (true === safe) return null;
|
|
931
|
-
if ('error' === protoAction) throw new SyntaxError('Object contains forbidden prototype property');
|
|
932
|
-
delete node.__proto__;
|
|
933
|
-
}
|
|
934
|
-
if ('ignore' !== constructorAction && Object.prototype.hasOwnProperty.call(node, 'constructor') && Object.prototype.hasOwnProperty.call(node.constructor, 'prototype')) {
|
|
935
|
-
if (true === safe) return null;
|
|
936
|
-
if ('error' === constructorAction) throw new SyntaxError('Object contains forbidden prototype property');
|
|
937
|
-
delete node.constructor;
|
|
938
|
-
}
|
|
939
|
-
for(const key in node){
|
|
940
|
-
const value = node[key];
|
|
941
|
-
if (value && 'object' == typeof value) next.push(value);
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
return obj;
|
|
946
|
-
}
|
|
947
|
-
function parse(text, reviver, options) {
|
|
948
|
-
const stackTraceLimit = Error.stackTraceLimit;
|
|
949
|
-
Error.stackTraceLimit = 0;
|
|
950
|
-
try {
|
|
951
|
-
return _parse(text, reviver, options);
|
|
952
|
-
} finally{
|
|
953
|
-
Error.stackTraceLimit = stackTraceLimit;
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
function safeParse(text, reviver) {
|
|
957
|
-
const stackTraceLimit = Error.stackTraceLimit;
|
|
958
|
-
Error.stackTraceLimit = 0;
|
|
959
|
-
try {
|
|
960
|
-
return _parse(text, reviver, {
|
|
961
|
-
safe: true
|
|
962
|
-
});
|
|
963
|
-
} catch (_e) {
|
|
964
|
-
return null;
|
|
965
|
-
} finally{
|
|
966
|
-
Error.stackTraceLimit = stackTraceLimit;
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
module1.exports = parse;
|
|
970
|
-
module1.exports["default"] = parse;
|
|
971
|
-
module1.exports.parse = parse;
|
|
972
|
-
module1.exports.safeParse = safeParse;
|
|
973
|
-
module1.exports.scan = filter;
|
|
974
|
-
},
|
|
975
|
-
"../../node_modules/.pnpm/split2@4.2.0/node_modules/split2/index.js": function(module1, __unused_webpack_exports, __webpack_require__) {
|
|
892
|
+
"../../node_modules/.pnpm/split2@4.2.0/node_modules/split2/index.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
976
893
|
"use strict";
|
|
977
894
|
const { Transform } = __webpack_require__("stream");
|
|
978
895
|
const { StringDecoder } = __webpack_require__("string_decoder");
|
|
@@ -1060,7 +977,7 @@ var __webpack_modules__ = {
|
|
|
1060
977
|
}
|
|
1061
978
|
module1.exports = split;
|
|
1062
979
|
},
|
|
1063
|
-
"../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js"
|
|
980
|
+
"../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js" (module1) {
|
|
1064
981
|
module1.exports = wrappy;
|
|
1065
982
|
function wrappy(fn, cb) {
|
|
1066
983
|
if (fn && cb) return wrappy(fn)(cb);
|
|
@@ -1081,43 +998,51 @@ var __webpack_modules__ = {
|
|
|
1081
998
|
}
|
|
1082
999
|
}
|
|
1083
1000
|
},
|
|
1084
|
-
assert
|
|
1001
|
+
assert (module1) {
|
|
1085
1002
|
"use strict";
|
|
1086
1003
|
module1.exports = require("assert");
|
|
1087
1004
|
},
|
|
1088
|
-
events
|
|
1005
|
+
events (module1) {
|
|
1089
1006
|
"use strict";
|
|
1090
1007
|
module1.exports = require("events");
|
|
1091
1008
|
},
|
|
1092
|
-
fs
|
|
1009
|
+
fs (module1) {
|
|
1093
1010
|
"use strict";
|
|
1094
1011
|
module1.exports = require("fs");
|
|
1095
1012
|
},
|
|
1096
|
-
|
|
1013
|
+
"node:stream" (module1) {
|
|
1014
|
+
"use strict";
|
|
1015
|
+
module1.exports = require("node:stream");
|
|
1016
|
+
},
|
|
1017
|
+
"node:worker_threads" (module1) {
|
|
1018
|
+
"use strict";
|
|
1019
|
+
module1.exports = require("node:worker_threads");
|
|
1020
|
+
},
|
|
1021
|
+
path (module1) {
|
|
1097
1022
|
"use strict";
|
|
1098
1023
|
module1.exports = require("path");
|
|
1099
1024
|
},
|
|
1100
|
-
stream
|
|
1025
|
+
stream (module1) {
|
|
1101
1026
|
"use strict";
|
|
1102
1027
|
module1.exports = require("stream");
|
|
1103
1028
|
},
|
|
1104
|
-
string_decoder
|
|
1029
|
+
string_decoder (module1) {
|
|
1105
1030
|
"use strict";
|
|
1106
1031
|
module1.exports = require("string_decoder");
|
|
1107
1032
|
},
|
|
1108
|
-
tty
|
|
1033
|
+
tty (module1) {
|
|
1109
1034
|
"use strict";
|
|
1110
1035
|
module1.exports = require("tty");
|
|
1111
1036
|
},
|
|
1112
|
-
util
|
|
1037
|
+
util (module1) {
|
|
1113
1038
|
"use strict";
|
|
1114
1039
|
module1.exports = require("util");
|
|
1115
1040
|
},
|
|
1116
|
-
worker_threads
|
|
1041
|
+
worker_threads (module1) {
|
|
1117
1042
|
"use strict";
|
|
1118
1043
|
module1.exports = require("worker_threads");
|
|
1119
1044
|
},
|
|
1120
|
-
"../../node_modules/.pnpm/colorette@2.0.20/node_modules/colorette/index.cjs"
|
|
1045
|
+
"../../node_modules/.pnpm/colorette@2.0.20/node_modules/colorette/index.cjs" (__unused_rspack_module, exports, __webpack_require__) {
|
|
1121
1046
|
"use strict";
|
|
1122
1047
|
Object.defineProperty(exports, "__esModule", {
|
|
1123
1048
|
value: true
|
|
@@ -1141,7 +1066,7 @@ var __webpack_modules__ = {
|
|
|
1141
1066
|
return Object.freeze(n);
|
|
1142
1067
|
}
|
|
1143
1068
|
var tty__namespace = /*#__PURE__*/ _interopNamespace(tty);
|
|
1144
|
-
const { env = {}, argv = [], platform = "" } = "
|
|
1069
|
+
const { env = {}, argv = [], platform = "" } = "u" < typeof process ? {} : process;
|
|
1145
1070
|
const isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
|
|
1146
1071
|
const isForced = "FORCE_COLOR" in env || argv.includes("--color");
|
|
1147
1072
|
const isWindows = "win32" === platform;
|
|
@@ -1245,103 +1170,60 @@ var __webpack_modules__ = {
|
|
|
1245
1170
|
exports.yellow = yellow;
|
|
1246
1171
|
exports.yellowBright = yellowBright;
|
|
1247
1172
|
},
|
|
1248
|
-
"../../node_modules/.pnpm/fast-copy@
|
|
1173
|
+
"../../node_modules/.pnpm/fast-copy@4.0.0/node_modules/fast-copy/dist/cjs/index.cjs" (__unused_rspack_module, exports) {
|
|
1249
1174
|
"use strict";
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
});
|
|
1253
|
-
var toStringFunction = Function.prototype.toString;
|
|
1254
|
-
var create = Object.create;
|
|
1255
|
-
var toStringObject = Object.prototype.toString;
|
|
1256
|
-
var LegacyCache = function() {
|
|
1257
|
-
function LegacyCache() {
|
|
1258
|
-
this._keys = [];
|
|
1259
|
-
this._values = [];
|
|
1260
|
-
}
|
|
1261
|
-
LegacyCache.prototype.has = function(key) {
|
|
1262
|
-
return !!~this._keys.indexOf(key);
|
|
1263
|
-
};
|
|
1264
|
-
LegacyCache.prototype.get = function(key) {
|
|
1265
|
-
return this._values[this._keys.indexOf(key)];
|
|
1266
|
-
};
|
|
1267
|
-
LegacyCache.prototype.set = function(key, value) {
|
|
1268
|
-
this._keys.push(key);
|
|
1269
|
-
this._values.push(value);
|
|
1270
|
-
};
|
|
1271
|
-
return LegacyCache;
|
|
1272
|
-
}();
|
|
1273
|
-
function createCacheLegacy() {
|
|
1274
|
-
return new LegacyCache();
|
|
1275
|
-
}
|
|
1276
|
-
function createCacheModern() {
|
|
1277
|
-
return new WeakMap();
|
|
1278
|
-
}
|
|
1279
|
-
var createCache = 'undefined' != typeof WeakMap ? createCacheModern : createCacheLegacy;
|
|
1175
|
+
const toStringFunction = Function.prototype.toString;
|
|
1176
|
+
const toStringObject = Object.prototype.toString;
|
|
1280
1177
|
function getCleanClone(prototype) {
|
|
1281
|
-
if (!prototype) return create(null);
|
|
1282
|
-
|
|
1283
|
-
if (Constructor === Object) return prototype === Object.prototype ? {} : create(prototype);
|
|
1178
|
+
if (!prototype) return Object.create(null);
|
|
1179
|
+
const Constructor = prototype.constructor;
|
|
1180
|
+
if (Constructor === Object) return prototype === Object.prototype ? {} : Object.create(prototype);
|
|
1284
1181
|
if (Constructor && ~toStringFunction.call(Constructor).indexOf('[native code]')) try {
|
|
1285
1182
|
return new Constructor();
|
|
1286
1183
|
} catch (_a) {}
|
|
1287
|
-
return create(prototype);
|
|
1288
|
-
}
|
|
1289
|
-
function getRegExpFlagsLegacy(regExp) {
|
|
1290
|
-
var flags = '';
|
|
1291
|
-
if (regExp.global) flags += 'g';
|
|
1292
|
-
if (regExp.ignoreCase) flags += 'i';
|
|
1293
|
-
if (regExp.multiline) flags += 'm';
|
|
1294
|
-
if (regExp.unicode) flags += 'u';
|
|
1295
|
-
if (regExp.sticky) flags += 'y';
|
|
1296
|
-
return flags;
|
|
1297
|
-
}
|
|
1298
|
-
function getRegExpFlagsModern(regExp) {
|
|
1299
|
-
return regExp.flags;
|
|
1300
|
-
}
|
|
1301
|
-
var getRegExpFlags = 'g' === /test/g.flags ? getRegExpFlagsModern : getRegExpFlagsLegacy;
|
|
1302
|
-
function getTagLegacy(value) {
|
|
1303
|
-
var type = toStringObject.call(value);
|
|
1304
|
-
return type.substring(8, type.length - 1);
|
|
1184
|
+
return Object.create(prototype);
|
|
1305
1185
|
}
|
|
1306
|
-
function
|
|
1307
|
-
|
|
1186
|
+
function getTag(value) {
|
|
1187
|
+
const stringTag = value[Symbol.toStringTag];
|
|
1188
|
+
if (stringTag) return stringTag;
|
|
1189
|
+
const type = toStringObject.call(value);
|
|
1190
|
+
return type.substring(8, type.length - 1);
|
|
1308
1191
|
}
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1192
|
+
const { hasOwnProperty, propertyIsEnumerable } = Object.prototype;
|
|
1193
|
+
function copyOwnDescriptor(original, clone, property, state) {
|
|
1194
|
+
const ownDescriptor = Object.getOwnPropertyDescriptor(original, property) || {
|
|
1195
|
+
configurable: true,
|
|
1196
|
+
enumerable: true,
|
|
1197
|
+
value: original[property],
|
|
1198
|
+
writable: true
|
|
1199
|
+
};
|
|
1200
|
+
const descriptor = ownDescriptor.get || ownDescriptor.set ? ownDescriptor : {
|
|
1201
|
+
configurable: ownDescriptor.configurable,
|
|
1202
|
+
enumerable: ownDescriptor.enumerable,
|
|
1203
|
+
value: state.copier(ownDescriptor.value, state),
|
|
1204
|
+
writable: ownDescriptor.writable
|
|
1205
|
+
};
|
|
1206
|
+
try {
|
|
1207
|
+
Object.defineProperty(clone, property, descriptor);
|
|
1208
|
+
} catch (_a) {
|
|
1209
|
+
clone[property] = descriptor.get ? descriptor.get() : descriptor.value;
|
|
1210
|
+
}
|
|
1315
1211
|
}
|
|
1316
|
-
var getStrictProperties = SUPPORTS_SYMBOL ? getStrictPropertiesModern : getOwnPropertyNames;
|
|
1317
1212
|
function copyOwnPropertiesStrict(value, clone, state) {
|
|
1318
|
-
|
|
1319
|
-
for(
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
descriptor = getOwnPropertyDescriptor(value, property);
|
|
1323
|
-
if (!descriptor) {
|
|
1324
|
-
clone[property] = state.copier(value[property], state);
|
|
1325
|
-
continue;
|
|
1326
|
-
}
|
|
1327
|
-
if (!descriptor.get && !descriptor.set) descriptor.value = state.copier(descriptor.value, state);
|
|
1328
|
-
try {
|
|
1329
|
-
defineProperty(clone, property, descriptor);
|
|
1330
|
-
} catch (error) {
|
|
1331
|
-
clone[property] = descriptor.value;
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1213
|
+
const names = Object.getOwnPropertyNames(value);
|
|
1214
|
+
for(let index = 0; index < names.length; ++index)copyOwnDescriptor(value, clone, names[index], state);
|
|
1215
|
+
const symbols = Object.getOwnPropertySymbols(value);
|
|
1216
|
+
for(let index = 0; index < symbols.length; ++index)copyOwnDescriptor(value, clone, symbols[index], state);
|
|
1335
1217
|
return clone;
|
|
1336
1218
|
}
|
|
1337
1219
|
function copyArrayLoose(array, state) {
|
|
1338
|
-
|
|
1220
|
+
const clone = new state.Constructor();
|
|
1339
1221
|
state.cache.set(array, clone);
|
|
1340
|
-
for(
|
|
1222
|
+
for(let index = 0; index < array.length; ++index)clone[index] = state.copier(array[index], state);
|
|
1341
1223
|
return clone;
|
|
1342
1224
|
}
|
|
1343
1225
|
function copyArrayStrict(array, state) {
|
|
1344
|
-
|
|
1226
|
+
const clone = new state.Constructor();
|
|
1345
1227
|
state.cache.set(array, clone);
|
|
1346
1228
|
return copyOwnPropertiesStrict(array, clone, state);
|
|
1347
1229
|
}
|
|
@@ -1358,9 +1240,9 @@ var __webpack_modules__ = {
|
|
|
1358
1240
|
return new state.Constructor(date.getTime());
|
|
1359
1241
|
}
|
|
1360
1242
|
function copyMapLoose(map, state) {
|
|
1361
|
-
|
|
1243
|
+
const clone = new state.Constructor();
|
|
1362
1244
|
state.cache.set(map, clone);
|
|
1363
|
-
map.forEach(
|
|
1245
|
+
map.forEach((value, key)=>{
|
|
1364
1246
|
clone.set(key, state.copier(value, state));
|
|
1365
1247
|
});
|
|
1366
1248
|
return clone;
|
|
@@ -1368,26 +1250,19 @@ var __webpack_modules__ = {
|
|
|
1368
1250
|
function copyMapStrict(map, state) {
|
|
1369
1251
|
return copyOwnPropertiesStrict(map, copyMapLoose(map, state), state);
|
|
1370
1252
|
}
|
|
1371
|
-
function
|
|
1372
|
-
|
|
1253
|
+
function copyObjectLoose(object, state) {
|
|
1254
|
+
const clone = getCleanClone(state.prototype);
|
|
1373
1255
|
state.cache.set(object, clone);
|
|
1374
|
-
for(
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
var clone = getCleanClone(state.prototype);
|
|
1379
|
-
state.cache.set(object, clone);
|
|
1380
|
-
for(var key in object)if (hasOwnProperty.call(object, key)) clone[key] = state.copier(object[key], state);
|
|
1381
|
-
var symbols = getOwnPropertySymbols(object);
|
|
1382
|
-
for(var index = 0, length_3 = symbols.length, symbol = void 0; index < length_3; ++index){
|
|
1383
|
-
symbol = symbols[index];
|
|
1256
|
+
for(const key in object)if (hasOwnProperty.call(object, key)) clone[key] = state.copier(object[key], state);
|
|
1257
|
+
const symbols = Object.getOwnPropertySymbols(object);
|
|
1258
|
+
for(let index = 0; index < symbols.length; ++index){
|
|
1259
|
+
const symbol = symbols[index];
|
|
1384
1260
|
if (propertyIsEnumerable.call(object, symbol)) clone[symbol] = state.copier(object[symbol], state);
|
|
1385
1261
|
}
|
|
1386
1262
|
return clone;
|
|
1387
1263
|
}
|
|
1388
|
-
var copyObjectLoose = SUPPORTS_SYMBOL ? copyObjectLooseModern : copyObjectLooseLegacy;
|
|
1389
1264
|
function copyObjectStrict(object, state) {
|
|
1390
|
-
|
|
1265
|
+
const clone = getCleanClone(state.prototype);
|
|
1391
1266
|
state.cache.set(object, clone);
|
|
1392
1267
|
return copyOwnPropertiesStrict(object, clone, state);
|
|
1393
1268
|
}
|
|
@@ -1395,7 +1270,7 @@ var __webpack_modules__ = {
|
|
|
1395
1270
|
return new state.Constructor(primitiveObject.valueOf());
|
|
1396
1271
|
}
|
|
1397
1272
|
function copyRegExp(regExp, state) {
|
|
1398
|
-
|
|
1273
|
+
const clone = new state.Constructor(regExp.source, regExp.flags);
|
|
1399
1274
|
clone.lastIndex = regExp.lastIndex;
|
|
1400
1275
|
return clone;
|
|
1401
1276
|
}
|
|
@@ -1403,9 +1278,9 @@ var __webpack_modules__ = {
|
|
|
1403
1278
|
return value;
|
|
1404
1279
|
}
|
|
1405
1280
|
function copySetLoose(set, state) {
|
|
1406
|
-
|
|
1281
|
+
const clone = new state.Constructor();
|
|
1407
1282
|
state.cache.set(set, clone);
|
|
1408
|
-
set.forEach(
|
|
1283
|
+
set.forEach((value)=>{
|
|
1409
1284
|
clone.add(state.copier(value, state));
|
|
1410
1285
|
});
|
|
1411
1286
|
return clone;
|
|
@@ -1413,96 +1288,191 @@ var __webpack_modules__ = {
|
|
|
1413
1288
|
function copySetStrict(set, state) {
|
|
1414
1289
|
return copyOwnPropertiesStrict(set, copySetLoose(set, state), state);
|
|
1415
1290
|
}
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
object: copyObjectStrict,
|
|
1437
|
-
set: copySetStrict
|
|
1438
|
-
});
|
|
1439
|
-
function getTagSpecificCopiers(options) {
|
|
1291
|
+
function createDefaultCache() {
|
|
1292
|
+
return new WeakMap();
|
|
1293
|
+
}
|
|
1294
|
+
function getOptions({ createCache: createCacheOverride, methods: methodsOverride, strict }) {
|
|
1295
|
+
const defaultMethods = {
|
|
1296
|
+
array: strict ? copyArrayStrict : copyArrayLoose,
|
|
1297
|
+
arrayBuffer: copyArrayBuffer,
|
|
1298
|
+
blob: copyBlob,
|
|
1299
|
+
dataView: copyDataView,
|
|
1300
|
+
date: copyDate,
|
|
1301
|
+
error: copySelf,
|
|
1302
|
+
map: strict ? copyMapStrict : copyMapLoose,
|
|
1303
|
+
object: strict ? copyObjectStrict : copyObjectLoose,
|
|
1304
|
+
regExp: copyRegExp,
|
|
1305
|
+
set: strict ? copySetStrict : copySetLoose
|
|
1306
|
+
};
|
|
1307
|
+
const methods = methodsOverride ? Object.assign(defaultMethods, methodsOverride) : defaultMethods;
|
|
1308
|
+
const copiers = getTagSpecificCopiers(methods);
|
|
1309
|
+
const createCache = createCacheOverride || createDefaultCache;
|
|
1310
|
+
if (!copiers.Object || !copiers.Array) throw new Error('An object and array copier must be provided.');
|
|
1440
1311
|
return {
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1312
|
+
createCache,
|
|
1313
|
+
copiers,
|
|
1314
|
+
methods,
|
|
1315
|
+
strict: Boolean(strict)
|
|
1316
|
+
};
|
|
1317
|
+
}
|
|
1318
|
+
function getTagSpecificCopiers(methods) {
|
|
1319
|
+
return {
|
|
1320
|
+
Arguments: methods.object,
|
|
1321
|
+
Array: methods.array,
|
|
1322
|
+
ArrayBuffer: methods.arrayBuffer,
|
|
1323
|
+
Blob: methods.blob,
|
|
1445
1324
|
Boolean: copyPrimitiveWrapper,
|
|
1446
|
-
DataView:
|
|
1447
|
-
Date:
|
|
1448
|
-
Error:
|
|
1449
|
-
Float32Array:
|
|
1450
|
-
Float64Array:
|
|
1451
|
-
Int8Array:
|
|
1452
|
-
Int16Array:
|
|
1453
|
-
Int32Array:
|
|
1454
|
-
Map:
|
|
1325
|
+
DataView: methods.dataView,
|
|
1326
|
+
Date: methods.date,
|
|
1327
|
+
Error: methods.error,
|
|
1328
|
+
Float32Array: methods.arrayBuffer,
|
|
1329
|
+
Float64Array: methods.arrayBuffer,
|
|
1330
|
+
Int8Array: methods.arrayBuffer,
|
|
1331
|
+
Int16Array: methods.arrayBuffer,
|
|
1332
|
+
Int32Array: methods.arrayBuffer,
|
|
1333
|
+
Map: methods.map,
|
|
1455
1334
|
Number: copyPrimitiveWrapper,
|
|
1456
|
-
Object:
|
|
1335
|
+
Object: methods.object,
|
|
1457
1336
|
Promise: copySelf,
|
|
1458
|
-
RegExp:
|
|
1459
|
-
Set:
|
|
1337
|
+
RegExp: methods.regExp,
|
|
1338
|
+
Set: methods.set,
|
|
1460
1339
|
String: copyPrimitiveWrapper,
|
|
1461
1340
|
WeakMap: copySelf,
|
|
1462
1341
|
WeakSet: copySelf,
|
|
1463
|
-
Uint8Array:
|
|
1464
|
-
Uint8ClampedArray:
|
|
1465
|
-
Uint16Array:
|
|
1466
|
-
Uint32Array:
|
|
1467
|
-
Uint64Array:
|
|
1342
|
+
Uint8Array: methods.arrayBuffer,
|
|
1343
|
+
Uint8ClampedArray: methods.arrayBuffer,
|
|
1344
|
+
Uint16Array: methods.arrayBuffer,
|
|
1345
|
+
Uint32Array: methods.arrayBuffer,
|
|
1346
|
+
Uint64Array: methods.arrayBuffer
|
|
1468
1347
|
};
|
|
1469
1348
|
}
|
|
1470
|
-
function createCopier(options) {
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
var array = tagSpecificCopiers.Array, object = tagSpecificCopiers.Object;
|
|
1349
|
+
function createCopier(options = {}) {
|
|
1350
|
+
const { createCache, copiers } = getOptions(options);
|
|
1351
|
+
const { Array: copyArray, Object: copyObject } = copiers;
|
|
1474
1352
|
function copier(value, state) {
|
|
1475
1353
|
state.prototype = state.Constructor = void 0;
|
|
1476
1354
|
if (!value || 'object' != typeof value) return value;
|
|
1477
1355
|
if (state.cache.has(value)) return state.cache.get(value);
|
|
1478
|
-
state.prototype = getPrototypeOf(value);
|
|
1356
|
+
state.prototype = Object.getPrototypeOf(value);
|
|
1479
1357
|
state.Constructor = state.prototype && state.prototype.constructor;
|
|
1480
|
-
if (!state.Constructor || state.Constructor === Object) return
|
|
1481
|
-
if (isArray(value)) return
|
|
1482
|
-
|
|
1358
|
+
if (!state.Constructor || state.Constructor === Object) return copyObject(value, state);
|
|
1359
|
+
if (Array.isArray(value)) return copyArray(value, state);
|
|
1360
|
+
const tagSpecificCopier = copiers[getTag(value)];
|
|
1483
1361
|
if (tagSpecificCopier) return tagSpecificCopier(value, state);
|
|
1484
|
-
return 'function' == typeof value.then ? value :
|
|
1362
|
+
return 'function' == typeof value.then ? value : copyObject(value, state);
|
|
1485
1363
|
}
|
|
1486
1364
|
return function(value) {
|
|
1487
1365
|
return copier(value, {
|
|
1488
1366
|
Constructor: void 0,
|
|
1489
1367
|
cache: createCache(),
|
|
1490
|
-
copier
|
|
1368
|
+
copier,
|
|
1491
1369
|
prototype: void 0
|
|
1492
1370
|
});
|
|
1493
1371
|
};
|
|
1494
1372
|
}
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
|
|
1373
|
+
const copyStrict = createCopier({
|
|
1374
|
+
strict: true
|
|
1375
|
+
});
|
|
1376
|
+
const copy = createCopier();
|
|
1377
|
+
exports.copy = copy;
|
|
1500
1378
|
exports.copyStrict = copyStrict;
|
|
1501
1379
|
exports.createCopier = createCopier;
|
|
1502
|
-
exports.createStrictCopier = createStrictCopier;
|
|
1503
|
-
exports["default"] = index;
|
|
1504
1380
|
},
|
|
1505
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1381
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/index.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1382
|
+
"use strict";
|
|
1383
|
+
const { isColorSupported } = __webpack_require__("../../node_modules/.pnpm/colorette@2.0.20/node_modules/colorette/index.cjs");
|
|
1384
|
+
const pump = __webpack_require__("../../node_modules/.pnpm/pump@3.0.2/node_modules/pump/index.js");
|
|
1385
|
+
const { Transform } = __webpack_require__("node:stream");
|
|
1386
|
+
const abstractTransport = __webpack_require__("../../node_modules/.pnpm/pino-abstract-transport@3.0.0/node_modules/pino-abstract-transport/index.js");
|
|
1387
|
+
const colors = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/colors.js");
|
|
1388
|
+
const { ERROR_LIKE_KEYS, LEVEL_KEY, LEVEL_LABEL, MESSAGE_KEY, TIMESTAMP_KEY } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js");
|
|
1389
|
+
const { buildSafeSonicBoom, parseFactoryOptions } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/index.js");
|
|
1390
|
+
const pretty = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/pretty.js");
|
|
1391
|
+
const defaultOptions = {
|
|
1392
|
+
colorize: isColorSupported,
|
|
1393
|
+
colorizeObjects: true,
|
|
1394
|
+
crlf: false,
|
|
1395
|
+
customColors: null,
|
|
1396
|
+
customLevels: null,
|
|
1397
|
+
customPrettifiers: {},
|
|
1398
|
+
errorLikeObjectKeys: ERROR_LIKE_KEYS,
|
|
1399
|
+
errorProps: '',
|
|
1400
|
+
hideObject: false,
|
|
1401
|
+
ignore: 'hostname',
|
|
1402
|
+
include: void 0,
|
|
1403
|
+
levelFirst: false,
|
|
1404
|
+
levelKey: LEVEL_KEY,
|
|
1405
|
+
levelLabel: LEVEL_LABEL,
|
|
1406
|
+
messageFormat: null,
|
|
1407
|
+
messageKey: MESSAGE_KEY,
|
|
1408
|
+
minimumLevel: void 0,
|
|
1409
|
+
outputStream: process.stdout,
|
|
1410
|
+
singleLine: false,
|
|
1411
|
+
timestampKey: TIMESTAMP_KEY,
|
|
1412
|
+
translateTime: true,
|
|
1413
|
+
useOnlyCustomProps: true
|
|
1414
|
+
};
|
|
1415
|
+
function prettyFactory(options) {
|
|
1416
|
+
const context = parseFactoryOptions(Object.assign({}, defaultOptions, options));
|
|
1417
|
+
return pretty.bind({
|
|
1418
|
+
...context,
|
|
1419
|
+
context
|
|
1420
|
+
});
|
|
1421
|
+
}
|
|
1422
|
+
function build(opts = {}) {
|
|
1423
|
+
let pretty = prettyFactory(opts);
|
|
1424
|
+
let destination;
|
|
1425
|
+
return abstractTransport(function(source) {
|
|
1426
|
+
source.on('message', function pinoConfigListener(message) {
|
|
1427
|
+
if (!message || 'PINO_CONFIG' !== message.code) return;
|
|
1428
|
+
Object.assign(opts, {
|
|
1429
|
+
messageKey: message.config.messageKey,
|
|
1430
|
+
errorLikeObjectKeys: Array.from(new Set([
|
|
1431
|
+
...opts.errorLikeObjectKeys || ERROR_LIKE_KEYS,
|
|
1432
|
+
message.config.errorKey
|
|
1433
|
+
])),
|
|
1434
|
+
customLevels: message.config.levels.values
|
|
1435
|
+
});
|
|
1436
|
+
pretty = prettyFactory(opts);
|
|
1437
|
+
source.off('message', pinoConfigListener);
|
|
1438
|
+
});
|
|
1439
|
+
const stream = new Transform({
|
|
1440
|
+
objectMode: true,
|
|
1441
|
+
autoDestroy: true,
|
|
1442
|
+
transform (chunk, enc, cb) {
|
|
1443
|
+
const line = pretty(chunk);
|
|
1444
|
+
cb(null, line);
|
|
1445
|
+
}
|
|
1446
|
+
});
|
|
1447
|
+
destination = 'object' == typeof opts.destination && 'function' == typeof opts.destination.write ? opts.destination : buildSafeSonicBoom({
|
|
1448
|
+
dest: opts.destination || 1,
|
|
1449
|
+
append: opts.append,
|
|
1450
|
+
mkdir: opts.mkdir,
|
|
1451
|
+
sync: opts.sync
|
|
1452
|
+
});
|
|
1453
|
+
source.on('unknown', function(line) {
|
|
1454
|
+
destination.write(line + '\n');
|
|
1455
|
+
});
|
|
1456
|
+
pump(source, stream, destination);
|
|
1457
|
+
return stream;
|
|
1458
|
+
}, {
|
|
1459
|
+
parse: 'lines',
|
|
1460
|
+
close (err, cb) {
|
|
1461
|
+
destination.on('close', ()=>{
|
|
1462
|
+
cb(err);
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
});
|
|
1466
|
+
}
|
|
1467
|
+
module1.exports = build;
|
|
1468
|
+
module1.exports.build = build;
|
|
1469
|
+
module1.exports.PinoPretty = build;
|
|
1470
|
+
module1.exports.prettyFactory = prettyFactory;
|
|
1471
|
+
module1.exports.colorizerFactory = colors;
|
|
1472
|
+
module1.exports.isColorSupported = isColorSupported;
|
|
1473
|
+
module1.exports["default"] = build;
|
|
1474
|
+
},
|
|
1475
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/colors.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1506
1476
|
"use strict";
|
|
1507
1477
|
const nocolor = (input)=>input;
|
|
1508
1478
|
const plain = {
|
|
@@ -1514,14 +1484,15 @@ var __webpack_modules__ = {
|
|
|
1514
1484
|
20: nocolor,
|
|
1515
1485
|
10: nocolor,
|
|
1516
1486
|
message: nocolor,
|
|
1517
|
-
greyMessage: nocolor
|
|
1487
|
+
greyMessage: nocolor,
|
|
1488
|
+
property: nocolor
|
|
1518
1489
|
};
|
|
1519
1490
|
const { createColors } = __webpack_require__("../../node_modules/.pnpm/colorette@2.0.20/node_modules/colorette/index.cjs");
|
|
1520
|
-
const getLevelLabelData = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1491
|
+
const getLevelLabelData = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-level-label-data.js");
|
|
1521
1492
|
const availableColors = createColors({
|
|
1522
1493
|
useColor: true
|
|
1523
1494
|
});
|
|
1524
|
-
const { white, bgRed, red, yellow, green, blue, gray, cyan } = availableColors;
|
|
1495
|
+
const { white, bgRed, red, yellow, green, blue, gray, cyan, magenta } = availableColors;
|
|
1525
1496
|
const colored = {
|
|
1526
1497
|
default: white,
|
|
1527
1498
|
60: bgRed,
|
|
@@ -1531,7 +1502,8 @@ var __webpack_modules__ = {
|
|
|
1531
1502
|
20: blue,
|
|
1532
1503
|
10: gray,
|
|
1533
1504
|
message: cyan,
|
|
1534
|
-
greyMessage: gray
|
|
1505
|
+
greyMessage: gray,
|
|
1506
|
+
property: magenta
|
|
1535
1507
|
};
|
|
1536
1508
|
function resolveCustomColoredColorizer(customColors) {
|
|
1537
1509
|
return customColors.reduce(function(agg, [level, color]) {
|
|
@@ -1540,7 +1512,8 @@ var __webpack_modules__ = {
|
|
|
1540
1512
|
}, {
|
|
1541
1513
|
default: white,
|
|
1542
1514
|
message: cyan,
|
|
1543
|
-
greyMessage: gray
|
|
1515
|
+
greyMessage: gray,
|
|
1516
|
+
property: magenta
|
|
1544
1517
|
});
|
|
1545
1518
|
}
|
|
1546
1519
|
function colorizeLevel(useOnlyCustomProps) {
|
|
@@ -1556,6 +1529,7 @@ var __webpack_modules__ = {
|
|
|
1556
1529
|
};
|
|
1557
1530
|
customColoredColorizer.message = plain.message;
|
|
1558
1531
|
customColoredColorizer.greyMessage = plain.greyMessage;
|
|
1532
|
+
customColoredColorizer.property = plain.property;
|
|
1559
1533
|
customColoredColorizer.colors = createColors({
|
|
1560
1534
|
useColor: false
|
|
1561
1535
|
});
|
|
@@ -1567,6 +1541,7 @@ var __webpack_modules__ = {
|
|
|
1567
1541
|
return newColoredColorizer(level, colored, opts);
|
|
1568
1542
|
};
|
|
1569
1543
|
customColoredColorizer.message = colored.message;
|
|
1544
|
+
customColoredColorizer.property = colored.property;
|
|
1570
1545
|
customColoredColorizer.greyMessage = colored.greyMessage;
|
|
1571
1546
|
customColoredColorizer.colors = availableColors;
|
|
1572
1547
|
return customColoredColorizer;
|
|
@@ -1580,6 +1555,7 @@ var __webpack_modules__ = {
|
|
|
1580
1555
|
};
|
|
1581
1556
|
customColoredColorizer.colors = availableColors;
|
|
1582
1557
|
customColoredColorizer.message = customColoredColorizer.message || customColored.message;
|
|
1558
|
+
customColoredColorizer.property = customColoredColorizer.property || customColored.property;
|
|
1583
1559
|
customColoredColorizer.greyMessage = customColoredColorizer.greyMessage || customColored.greyMessage;
|
|
1584
1560
|
return customColoredColorizer;
|
|
1585
1561
|
}
|
|
@@ -1589,7 +1565,7 @@ var __webpack_modules__ = {
|
|
|
1589
1565
|
return plainColorizer(useOnlyCustomProps);
|
|
1590
1566
|
};
|
|
1591
1567
|
},
|
|
1592
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1568
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js" (module1) {
|
|
1593
1569
|
"use strict";
|
|
1594
1570
|
module1.exports = {
|
|
1595
1571
|
DATE_FORMAT: 'yyyy-mm-dd HH:MM:ss.l o',
|
|
@@ -1630,19 +1606,19 @@ var __webpack_modules__ = {
|
|
|
1630
1606
|
]
|
|
1631
1607
|
};
|
|
1632
1608
|
},
|
|
1633
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1609
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/pretty.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1634
1610
|
"use strict";
|
|
1635
1611
|
module1.exports = pretty;
|
|
1636
|
-
const sjs = __webpack_require__("../../node_modules/.pnpm/secure-json-parse@
|
|
1637
|
-
const isObject = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1638
|
-
const prettifyErrorLog = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1639
|
-
const prettifyLevel = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1640
|
-
const prettifyMessage = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1641
|
-
const prettifyMetadata = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1642
|
-
const prettifyObject = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1643
|
-
const prettifyTime = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1644
|
-
const filterLog = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1645
|
-
const { LEVELS, LEVEL_KEY, LEVEL_NAMES } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1612
|
+
const sjs = __webpack_require__("../../node_modules/.pnpm/secure-json-parse@4.0.0/node_modules/secure-json-parse/index.js");
|
|
1613
|
+
const isObject = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/is-object.js");
|
|
1614
|
+
const prettifyErrorLog = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-error-log.js");
|
|
1615
|
+
const prettifyLevel = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-level.js");
|
|
1616
|
+
const prettifyMessage = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-message.js");
|
|
1617
|
+
const prettifyMetadata = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-metadata.js");
|
|
1618
|
+
const prettifyObject = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-object.js");
|
|
1619
|
+
const prettifyTime = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-time.js");
|
|
1620
|
+
const filterLog = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/filter-log.js");
|
|
1621
|
+
const { LEVELS, LEVEL_KEY, LEVEL_NAMES } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js");
|
|
1646
1622
|
const jsonParser = (input)=>{
|
|
1647
1623
|
try {
|
|
1648
1624
|
return {
|
|
@@ -1729,16 +1705,16 @@ var __webpack_modules__ = {
|
|
|
1729
1705
|
return line;
|
|
1730
1706
|
}
|
|
1731
1707
|
},
|
|
1732
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1708
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/build-safe-sonic-boom.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1733
1709
|
"use strict";
|
|
1734
1710
|
module1.exports = buildSafeSonicBoom;
|
|
1735
|
-
const { isMainThread } = __webpack_require__("worker_threads");
|
|
1711
|
+
const { isMainThread } = __webpack_require__("node:worker_threads");
|
|
1736
1712
|
const SonicBoom = __webpack_require__("../../node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/index.js");
|
|
1737
|
-
const noop = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1713
|
+
const noop = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/noop.js");
|
|
1738
1714
|
function buildSafeSonicBoom(opts) {
|
|
1739
1715
|
const stream = new SonicBoom(opts);
|
|
1740
1716
|
stream.on('error', filterBrokenPipe);
|
|
1741
|
-
if (!
|
|
1717
|
+
if (!opts.sync && isMainThread) setupOnExit(stream);
|
|
1742
1718
|
return stream;
|
|
1743
1719
|
function filterBrokenPipe(err) {
|
|
1744
1720
|
if ('EPIPE' === err.code) {
|
|
@@ -1770,10 +1746,10 @@ var __webpack_modules__ = {
|
|
|
1770
1746
|
} else stream.flushSync();
|
|
1771
1747
|
}
|
|
1772
1748
|
},
|
|
1773
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1749
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/create-date.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1774
1750
|
"use strict";
|
|
1775
1751
|
module1.exports = createDate;
|
|
1776
|
-
const isValidDate = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1752
|
+
const isValidDate = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/is-valid-date.js");
|
|
1777
1753
|
function createDate(epoch) {
|
|
1778
1754
|
let date = new Date(epoch);
|
|
1779
1755
|
if (isValidDate(date)) return date;
|
|
@@ -1781,11 +1757,11 @@ var __webpack_modules__ = {
|
|
|
1781
1757
|
return date;
|
|
1782
1758
|
}
|
|
1783
1759
|
},
|
|
1784
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1760
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/delete-log-property.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1785
1761
|
"use strict";
|
|
1786
1762
|
module1.exports = deleteLogProperty;
|
|
1787
|
-
const getPropertyValue = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1788
|
-
const splitPropertyKey = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1763
|
+
const getPropertyValue = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-property-value.js");
|
|
1764
|
+
const splitPropertyKey = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/split-property-key.js");
|
|
1789
1765
|
function deleteLogProperty(log, property) {
|
|
1790
1766
|
const props = splitPropertyKey(property);
|
|
1791
1767
|
const propToDelete = props.pop();
|
|
@@ -1793,12 +1769,12 @@ var __webpack_modules__ = {
|
|
|
1793
1769
|
if (null !== log && 'object' == typeof log && Object.prototype.hasOwnProperty.call(log, propToDelete)) delete log[propToDelete];
|
|
1794
1770
|
}
|
|
1795
1771
|
},
|
|
1796
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1772
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/filter-log.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1797
1773
|
"use strict";
|
|
1798
1774
|
module1.exports = filterLog;
|
|
1799
|
-
const { createCopier } = __webpack_require__("../../node_modules/.pnpm/fast-copy@
|
|
1775
|
+
const { createCopier } = __webpack_require__("../../node_modules/.pnpm/fast-copy@4.0.0/node_modules/fast-copy/dist/cjs/index.cjs");
|
|
1800
1776
|
const fastCopy = createCopier({});
|
|
1801
|
-
const deleteLogProperty = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1777
|
+
const deleteLogProperty = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/delete-log-property.js");
|
|
1802
1778
|
function filterLog({ log, context }) {
|
|
1803
1779
|
const { ignoreKeys, includeKeys } = context;
|
|
1804
1780
|
const logCopy = fastCopy(log);
|
|
@@ -1815,13 +1791,13 @@ var __webpack_modules__ = {
|
|
|
1815
1791
|
return logCopy;
|
|
1816
1792
|
}
|
|
1817
1793
|
},
|
|
1818
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1794
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/format-time.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1819
1795
|
"use strict";
|
|
1820
1796
|
module1.exports = formatTime;
|
|
1821
|
-
const { DATE_FORMAT, DATE_FORMAT_SIMPLE } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1797
|
+
const { DATE_FORMAT, DATE_FORMAT_SIMPLE } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js");
|
|
1822
1798
|
const dateformat = __webpack_require__("../../node_modules/.pnpm/dateformat@4.6.3/node_modules/dateformat/lib/dateformat.js");
|
|
1823
|
-
const createDate = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1824
|
-
const isValidDate = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1799
|
+
const createDate = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/create-date.js");
|
|
1800
|
+
const isValidDate = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/is-valid-date.js");
|
|
1825
1801
|
function formatTime(epoch, translateTime = false) {
|
|
1826
1802
|
if (false === translateTime) return epoch;
|
|
1827
1803
|
const instant = createDate(epoch);
|
|
@@ -1837,10 +1813,10 @@ var __webpack_modules__ = {
|
|
|
1837
1813
|
return dateformat(instant, `UTC:${translateTime}`);
|
|
1838
1814
|
}
|
|
1839
1815
|
},
|
|
1840
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1816
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-level-label-data.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1841
1817
|
"use strict";
|
|
1842
1818
|
module1.exports = getLevelLabelData;
|
|
1843
|
-
const { LEVELS, LEVEL_NAMES } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1819
|
+
const { LEVELS, LEVEL_NAMES } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js");
|
|
1844
1820
|
function getLevelLabelData(useOnlyCustomProps, customLevels, customLevelNames) {
|
|
1845
1821
|
const levels = useOnlyCustomProps ? customLevels || LEVELS : Object.assign({}, LEVELS, customLevels);
|
|
1846
1822
|
const levelNames = useOnlyCustomProps ? customLevelNames || LEVEL_NAMES : Object.assign({}, LEVEL_NAMES, customLevelNames);
|
|
@@ -1854,10 +1830,10 @@ var __webpack_modules__ = {
|
|
|
1854
1830
|
};
|
|
1855
1831
|
}
|
|
1856
1832
|
},
|
|
1857
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1833
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-property-value.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1858
1834
|
"use strict";
|
|
1859
1835
|
module1.exports = getPropertyValue;
|
|
1860
|
-
const splitPropertyKey = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1836
|
+
const splitPropertyKey = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/split-property-key.js");
|
|
1861
1837
|
function getPropertyValue(obj, property) {
|
|
1862
1838
|
const props = Array.isArray(property) ? property : splitPropertyKey(property);
|
|
1863
1839
|
for (const prop of props){
|
|
@@ -1867,7 +1843,7 @@ var __webpack_modules__ = {
|
|
|
1867
1843
|
return obj;
|
|
1868
1844
|
}
|
|
1869
1845
|
},
|
|
1870
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1846
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/handle-custom-levels-names-opts.js" (module1) {
|
|
1871
1847
|
"use strict";
|
|
1872
1848
|
module1.exports = handleCustomLevelsNamesOpts;
|
|
1873
1849
|
function handleCustomLevelsNamesOpts(cLevels) {
|
|
@@ -1884,7 +1860,7 @@ var __webpack_modules__ = {
|
|
|
1884
1860
|
return {};
|
|
1885
1861
|
}
|
|
1886
1862
|
},
|
|
1887
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1863
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/handle-custom-levels-opts.js" (module1) {
|
|
1888
1864
|
"use strict";
|
|
1889
1865
|
module1.exports = handleCustomLevelsOpts;
|
|
1890
1866
|
function handleCustomLevelsOpts(cLevels) {
|
|
@@ -1905,38 +1881,38 @@ var __webpack_modules__ = {
|
|
|
1905
1881
|
return {};
|
|
1906
1882
|
}
|
|
1907
1883
|
},
|
|
1908
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1884
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/index.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1909
1885
|
"use strict";
|
|
1910
1886
|
module1.exports = {
|
|
1911
|
-
buildSafeSonicBoom: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1912
|
-
createDate: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1913
|
-
deleteLogProperty: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1914
|
-
filterLog: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1915
|
-
formatTime: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1916
|
-
getPropertyValue: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1917
|
-
handleCustomLevelsNamesOpts: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1918
|
-
handleCustomLevelsOpts: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1919
|
-
interpretConditionals: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1920
|
-
isObject: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1921
|
-
isValidDate: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1922
|
-
joinLinesWithIndentation: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1923
|
-
noop: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1924
|
-
parseFactoryOptions: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1925
|
-
prettifyErrorLog: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1926
|
-
prettifyError: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1927
|
-
prettifyLevel: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1928
|
-
prettifyMessage: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1929
|
-
prettifyMetadata: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1930
|
-
prettifyObject: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1931
|
-
prettifyTime: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1932
|
-
splitPropertyKey: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1933
|
-
getLevelLabelData: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1887
|
+
buildSafeSonicBoom: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/build-safe-sonic-boom.js"),
|
|
1888
|
+
createDate: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/create-date.js"),
|
|
1889
|
+
deleteLogProperty: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/delete-log-property.js"),
|
|
1890
|
+
filterLog: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/filter-log.js"),
|
|
1891
|
+
formatTime: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/format-time.js"),
|
|
1892
|
+
getPropertyValue: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-property-value.js"),
|
|
1893
|
+
handleCustomLevelsNamesOpts: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/handle-custom-levels-names-opts.js"),
|
|
1894
|
+
handleCustomLevelsOpts: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/handle-custom-levels-opts.js"),
|
|
1895
|
+
interpretConditionals: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/interpret-conditionals.js"),
|
|
1896
|
+
isObject: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/is-object.js"),
|
|
1897
|
+
isValidDate: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/is-valid-date.js"),
|
|
1898
|
+
joinLinesWithIndentation: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/join-lines-with-indentation.js"),
|
|
1899
|
+
noop: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/noop.js"),
|
|
1900
|
+
parseFactoryOptions: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/parse-factory-options.js"),
|
|
1901
|
+
prettifyErrorLog: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-error-log.js"),
|
|
1902
|
+
prettifyError: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-error.js"),
|
|
1903
|
+
prettifyLevel: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-level.js"),
|
|
1904
|
+
prettifyMessage: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-message.js"),
|
|
1905
|
+
prettifyMetadata: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-metadata.js"),
|
|
1906
|
+
prettifyObject: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-object.js"),
|
|
1907
|
+
prettifyTime: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-time.js"),
|
|
1908
|
+
splitPropertyKey: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/split-property-key.js"),
|
|
1909
|
+
getLevelLabelData: __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-level-label-data.js")
|
|
1934
1910
|
};
|
|
1935
1911
|
},
|
|
1936
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1912
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/interpret-conditionals.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1937
1913
|
"use strict";
|
|
1938
1914
|
module1.exports = interpretConditionals;
|
|
1939
|
-
const getPropertyValue = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1915
|
+
const getPropertyValue = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-property-value.js");
|
|
1940
1916
|
function interpretConditionals(messageFormat, log) {
|
|
1941
1917
|
messageFormat = messageFormat.replace(/{if (.*?)}(.*?){end}/g, replacer);
|
|
1942
1918
|
messageFormat = messageFormat.replace(/{if (.*?)}/g, '');
|
|
@@ -1949,21 +1925,21 @@ var __webpack_modules__ = {
|
|
|
1949
1925
|
}
|
|
1950
1926
|
}
|
|
1951
1927
|
},
|
|
1952
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1928
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/is-object.js" (module1) {
|
|
1953
1929
|
"use strict";
|
|
1954
1930
|
module1.exports = isObject;
|
|
1955
1931
|
function isObject(input) {
|
|
1956
1932
|
return '[object Object]' === Object.prototype.toString.apply(input);
|
|
1957
1933
|
}
|
|
1958
1934
|
},
|
|
1959
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1935
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/is-valid-date.js" (module1) {
|
|
1960
1936
|
"use strict";
|
|
1961
1937
|
module1.exports = isValidDate;
|
|
1962
1938
|
function isValidDate(date) {
|
|
1963
1939
|
return date instanceof Date && !Number.isNaN(date.getTime());
|
|
1964
1940
|
}
|
|
1965
1941
|
},
|
|
1966
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1942
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/join-lines-with-indentation.js" (module1) {
|
|
1967
1943
|
"use strict";
|
|
1968
1944
|
module1.exports = joinLinesWithIndentation;
|
|
1969
1945
|
function joinLinesWithIndentation({ input, ident = ' ', eol = '\n' }) {
|
|
@@ -1972,18 +1948,18 @@ var __webpack_modules__ = {
|
|
|
1972
1948
|
return lines.join(eol);
|
|
1973
1949
|
}
|
|
1974
1950
|
},
|
|
1975
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1951
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/noop.js" (module1) {
|
|
1976
1952
|
"use strict";
|
|
1977
1953
|
module1.exports = function() {};
|
|
1978
1954
|
},
|
|
1979
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
1955
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/parse-factory-options.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
1980
1956
|
"use strict";
|
|
1981
1957
|
module1.exports = parseFactoryOptions;
|
|
1982
|
-
const { LEVEL_NAMES } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1983
|
-
const colors = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1984
|
-
const handleCustomLevelsOpts = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1985
|
-
const handleCustomLevelsNamesOpts = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1986
|
-
const handleLevelLabelData = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
1958
|
+
const { LEVEL_NAMES } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js");
|
|
1959
|
+
const colors = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/colors.js");
|
|
1960
|
+
const handleCustomLevelsOpts = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/handle-custom-levels-opts.js");
|
|
1961
|
+
const handleCustomLevelsNamesOpts = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/handle-custom-levels-names-opts.js");
|
|
1962
|
+
const handleLevelLabelData = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-level-label-data.js");
|
|
1987
1963
|
function parseFactoryOptions(options) {
|
|
1988
1964
|
const EOL = options.crlf ? '\r\n' : '\n';
|
|
1989
1965
|
const IDENT = ' ';
|
|
@@ -2061,13 +2037,13 @@ var __webpack_modules__ = {
|
|
|
2061
2037
|
};
|
|
2062
2038
|
}
|
|
2063
2039
|
},
|
|
2064
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
2040
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-error-log.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
2065
2041
|
"use strict";
|
|
2066
2042
|
module1.exports = prettifyErrorLog;
|
|
2067
|
-
const { LOGGER_KEYS } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2068
|
-
const isObject = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2069
|
-
const joinLinesWithIndentation = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2070
|
-
const prettifyObject = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2043
|
+
const { LOGGER_KEYS } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js");
|
|
2044
|
+
const isObject = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/is-object.js");
|
|
2045
|
+
const joinLinesWithIndentation = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/join-lines-with-indentation.js");
|
|
2046
|
+
const prettifyObject = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-object.js");
|
|
2071
2047
|
function prettifyErrorLog({ log, context }) {
|
|
2072
2048
|
const { EOL: eol, IDENT: ident, errorProps: errorProperties, messageKey } = context;
|
|
2073
2049
|
const stack = log.stack;
|
|
@@ -2103,10 +2079,10 @@ var __webpack_modules__ = {
|
|
|
2103
2079
|
return result;
|
|
2104
2080
|
}
|
|
2105
2081
|
},
|
|
2106
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
2082
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-error.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
2107
2083
|
"use strict";
|
|
2108
2084
|
module1.exports = prettifyError;
|
|
2109
|
-
const joinLinesWithIndentation = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2085
|
+
const joinLinesWithIndentation = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/join-lines-with-indentation.js");
|
|
2110
2086
|
function prettifyError({ keyName, lines, eol, ident }) {
|
|
2111
2087
|
let result = '';
|
|
2112
2088
|
const joinedLines = joinLinesWithIndentation({
|
|
@@ -2131,10 +2107,10 @@ var __webpack_modules__ = {
|
|
|
2131
2107
|
return result;
|
|
2132
2108
|
}
|
|
2133
2109
|
},
|
|
2134
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
2110
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-level.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
2135
2111
|
"use strict";
|
|
2136
2112
|
module1.exports = prettifyLevel;
|
|
2137
|
-
const getPropertyValue = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2113
|
+
const getPropertyValue = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-property-value.js");
|
|
2138
2114
|
function prettifyLevel({ log, context }) {
|
|
2139
2115
|
const { colorizer, customLevels, customLevelNames, levelKey, getLevelLabelData } = context;
|
|
2140
2116
|
const prettifier = context.customPrettifiers?.level;
|
|
@@ -2155,12 +2131,12 @@ var __webpack_modules__ = {
|
|
|
2155
2131
|
return labelColorized;
|
|
2156
2132
|
}
|
|
2157
2133
|
},
|
|
2158
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
2134
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-message.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
2159
2135
|
"use strict";
|
|
2160
2136
|
module1.exports = prettifyMessage;
|
|
2161
|
-
const { LEVELS } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2162
|
-
const getPropertyValue = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2163
|
-
const interpretConditionals = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2137
|
+
const { LEVELS } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js");
|
|
2138
|
+
const getPropertyValue = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/get-property-value.js");
|
|
2139
|
+
const interpretConditionals = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/interpret-conditionals.js");
|
|
2164
2140
|
function prettifyMessage({ log, context }) {
|
|
2165
2141
|
const { colorizer, customLevels, levelKey, levelLabel, messageFormat, messageKey, useOnlyCustomProps } = context;
|
|
2166
2142
|
if (messageFormat && 'string' == typeof messageFormat) {
|
|
@@ -2171,7 +2147,8 @@ var __webpack_modules__ = {
|
|
|
2171
2147
|
const condition = useOnlyCustomProps ? void 0 === customLevels : void 0 === customLevels[level];
|
|
2172
2148
|
return condition ? LEVELS[level] : customLevels[level];
|
|
2173
2149
|
}
|
|
2174
|
-
|
|
2150
|
+
const value = getPropertyValue(log, p1);
|
|
2151
|
+
return void 0 !== value ? value : '';
|
|
2175
2152
|
});
|
|
2176
2153
|
return colorizer.message(message);
|
|
2177
2154
|
}
|
|
@@ -2186,7 +2163,7 @@ var __webpack_modules__ = {
|
|
|
2186
2163
|
return colorizer.message(log[messageKey]);
|
|
2187
2164
|
}
|
|
2188
2165
|
},
|
|
2189
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
2166
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-metadata.js" (module1) {
|
|
2190
2167
|
"use strict";
|
|
2191
2168
|
module1.exports = prettifyMetadata;
|
|
2192
2169
|
function prettifyMetadata({ log, context }) {
|
|
@@ -2222,13 +2199,13 @@ var __webpack_modules__ = {
|
|
|
2222
2199
|
return line;
|
|
2223
2200
|
}
|
|
2224
2201
|
},
|
|
2225
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
2202
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-object.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
2226
2203
|
"use strict";
|
|
2227
2204
|
module1.exports = prettifyObject;
|
|
2228
|
-
const { LOGGER_KEYS } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2205
|
+
const { LOGGER_KEYS } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/constants.js");
|
|
2229
2206
|
const stringifySafe = __webpack_require__("../../node_modules/.pnpm/fast-safe-stringify@2.1.1/node_modules/fast-safe-stringify/index.js");
|
|
2230
|
-
const joinLinesWithIndentation = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2231
|
-
const prettifyError = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2207
|
+
const joinLinesWithIndentation = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/join-lines-with-indentation.js");
|
|
2208
|
+
const prettifyError = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-error.js");
|
|
2232
2209
|
function prettifyObject({ log, excludeLoggerKeys = true, skipKeys = [], context }) {
|
|
2233
2210
|
const { EOL: eol, IDENT: ident, customPrettifiers, errorLikeObjectKeys: errorLikeKeys, objectColorizer, singleLine, colorizer } = context;
|
|
2234
2211
|
const keysToIgnore = [].concat(skipKeys);
|
|
@@ -2263,7 +2240,7 @@ var __webpack_modules__ = {
|
|
|
2263
2240
|
ident,
|
|
2264
2241
|
eol
|
|
2265
2242
|
});
|
|
2266
|
-
result += `${ident}${keyName}:${joinedLines.startsWith(eol) ? '' : ' '}${joinedLines}${eol}`;
|
|
2243
|
+
result += `${ident}${objectColorizer.property(keyName)}:${joinedLines.startsWith(eol) ? '' : ' '}${joinedLines}${eol}`;
|
|
2267
2244
|
});
|
|
2268
2245
|
Object.entries(errors).forEach(([keyName, keyValue])=>{
|
|
2269
2246
|
const lines = 'function' == typeof customPrettifiers[keyName] ? keyValue : stringifySafe(keyValue, null, 2);
|
|
@@ -2278,10 +2255,10 @@ var __webpack_modules__ = {
|
|
|
2278
2255
|
return result;
|
|
2279
2256
|
}
|
|
2280
2257
|
},
|
|
2281
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
2258
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/prettify-time.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
2282
2259
|
"use strict";
|
|
2283
2260
|
module1.exports = prettifyTime;
|
|
2284
|
-
const formatTime = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2261
|
+
const formatTime = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/format-time.js");
|
|
2285
2262
|
function prettifyTime({ log, context }) {
|
|
2286
2263
|
const { timestampKey, translateTime: translateFormat } = context;
|
|
2287
2264
|
const prettifier = context.customPrettifiers?.time;
|
|
@@ -2293,7 +2270,7 @@ var __webpack_modules__ = {
|
|
|
2293
2270
|
return prettifier ? prettifier(output) : `[${output}]`;
|
|
2294
2271
|
}
|
|
2295
2272
|
},
|
|
2296
|
-
"../../node_modules/.pnpm/pino-pretty@13.
|
|
2273
|
+
"../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/lib/utils/split-property-key.js" (module1) {
|
|
2297
2274
|
"use strict";
|
|
2298
2275
|
module1.exports = splitPropertyKey;
|
|
2299
2276
|
function splitPropertyKey(key) {
|
|
@@ -2322,7 +2299,91 @@ var __webpack_modules__ = {
|
|
|
2322
2299
|
return result;
|
|
2323
2300
|
}
|
|
2324
2301
|
},
|
|
2325
|
-
"../../node_modules/.pnpm/
|
|
2302
|
+
"../../node_modules/.pnpm/secure-json-parse@4.0.0/node_modules/secure-json-parse/index.js" (module1) {
|
|
2303
|
+
"use strict";
|
|
2304
|
+
const hasBuffer = "u" > typeof Buffer;
|
|
2305
|
+
const suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
|
|
2306
|
+
const suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
|
|
2307
|
+
function _parse(text, reviver, options) {
|
|
2308
|
+
if (null == options) {
|
|
2309
|
+
if (null !== reviver && 'object' == typeof reviver) {
|
|
2310
|
+
options = reviver;
|
|
2311
|
+
reviver = void 0;
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
if (hasBuffer && Buffer.isBuffer(text)) text = text.toString();
|
|
2315
|
+
if (text && 0xFEFF === text.charCodeAt(0)) text = text.slice(1);
|
|
2316
|
+
const obj = JSON.parse(text, reviver);
|
|
2317
|
+
if (null === obj || 'object' != typeof obj) return obj;
|
|
2318
|
+
const protoAction = options && options.protoAction || 'error';
|
|
2319
|
+
const constructorAction = options && options.constructorAction || 'error';
|
|
2320
|
+
if ('ignore' === protoAction && 'ignore' === constructorAction) return obj;
|
|
2321
|
+
if ('ignore' !== protoAction && 'ignore' !== constructorAction) {
|
|
2322
|
+
if (false === suspectProtoRx.test(text) && false === suspectConstructorRx.test(text)) return obj;
|
|
2323
|
+
} else if ('ignore' !== protoAction && 'ignore' === constructorAction) {
|
|
2324
|
+
if (false === suspectProtoRx.test(text)) return obj;
|
|
2325
|
+
} else if (false === suspectConstructorRx.test(text)) return obj;
|
|
2326
|
+
return filter(obj, {
|
|
2327
|
+
protoAction,
|
|
2328
|
+
constructorAction,
|
|
2329
|
+
safe: options && options.safe
|
|
2330
|
+
});
|
|
2331
|
+
}
|
|
2332
|
+
function filter(obj, { protoAction = 'error', constructorAction = 'error', safe } = {}) {
|
|
2333
|
+
let next = [
|
|
2334
|
+
obj
|
|
2335
|
+
];
|
|
2336
|
+
while(next.length){
|
|
2337
|
+
const nodes = next;
|
|
2338
|
+
next = [];
|
|
2339
|
+
for (const node of nodes){
|
|
2340
|
+
if ('ignore' !== protoAction && Object.prototype.hasOwnProperty.call(node, '__proto__')) {
|
|
2341
|
+
if (true === safe) return null;
|
|
2342
|
+
if ('error' === protoAction) throw new SyntaxError('Object contains forbidden prototype property');
|
|
2343
|
+
delete node.__proto__;
|
|
2344
|
+
}
|
|
2345
|
+
if ('ignore' !== constructorAction && Object.prototype.hasOwnProperty.call(node, 'constructor') && Object.prototype.hasOwnProperty.call(node.constructor, 'prototype')) {
|
|
2346
|
+
if (true === safe) return null;
|
|
2347
|
+
if ('error' === constructorAction) throw new SyntaxError('Object contains forbidden prototype property');
|
|
2348
|
+
delete node.constructor;
|
|
2349
|
+
}
|
|
2350
|
+
for(const key in node){
|
|
2351
|
+
const value = node[key];
|
|
2352
|
+
if (value && 'object' == typeof value) next.push(value);
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
return obj;
|
|
2357
|
+
}
|
|
2358
|
+
function parse(text, reviver, options) {
|
|
2359
|
+
const { stackTraceLimit } = Error;
|
|
2360
|
+
Error.stackTraceLimit = 0;
|
|
2361
|
+
try {
|
|
2362
|
+
return _parse(text, reviver, options);
|
|
2363
|
+
} finally{
|
|
2364
|
+
Error.stackTraceLimit = stackTraceLimit;
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
function safeParse(text, reviver) {
|
|
2368
|
+
const { stackTraceLimit } = Error;
|
|
2369
|
+
Error.stackTraceLimit = 0;
|
|
2370
|
+
try {
|
|
2371
|
+
return _parse(text, reviver, {
|
|
2372
|
+
safe: true
|
|
2373
|
+
});
|
|
2374
|
+
} catch {
|
|
2375
|
+
return;
|
|
2376
|
+
} finally{
|
|
2377
|
+
Error.stackTraceLimit = stackTraceLimit;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
module1.exports = parse;
|
|
2381
|
+
module1.exports["default"] = parse;
|
|
2382
|
+
module1.exports.parse = parse;
|
|
2383
|
+
module1.exports.safeParse = safeParse;
|
|
2384
|
+
module1.exports.scan = filter;
|
|
2385
|
+
},
|
|
2386
|
+
"../../node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/index.js" (module1, __unused_rspack_exports, __webpack_require__) {
|
|
2326
2387
|
"use strict";
|
|
2327
2388
|
const fs = __webpack_require__("fs");
|
|
2328
2389
|
const EventEmitter = __webpack_require__("events");
|
|
@@ -2746,100 +2807,6 @@ var __webpack_modules__ = {
|
|
|
2746
2807
|
SonicBoom.SonicBoom = SonicBoom;
|
|
2747
2808
|
SonicBoom.default = SonicBoom;
|
|
2748
2809
|
module1.exports = SonicBoom;
|
|
2749
|
-
},
|
|
2750
|
-
"../../node_modules/.pnpm/pino-pretty@13.0.0/node_modules/pino-pretty/index.js": function(module1, __unused_webpack_exports, __webpack_require__) {
|
|
2751
|
-
"use strict";
|
|
2752
|
-
const { isColorSupported } = __webpack_require__("../../node_modules/.pnpm/colorette@2.0.20/node_modules/colorette/index.cjs");
|
|
2753
|
-
const pump = __webpack_require__("../../node_modules/.pnpm/pump@3.0.2/node_modules/pump/index.js");
|
|
2754
|
-
const { Transform } = __webpack_require__("stream");
|
|
2755
|
-
const abstractTransport = __webpack_require__("../../node_modules/.pnpm/pino-abstract-transport@2.0.0/node_modules/pino-abstract-transport/index.js");
|
|
2756
|
-
const colors = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.0.0/node_modules/pino-pretty/lib/colors.js");
|
|
2757
|
-
const { ERROR_LIKE_KEYS, LEVEL_KEY, LEVEL_LABEL, MESSAGE_KEY, TIMESTAMP_KEY } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.0.0/node_modules/pino-pretty/lib/constants.js");
|
|
2758
|
-
const { buildSafeSonicBoom, parseFactoryOptions } = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.0.0/node_modules/pino-pretty/lib/utils/index.js");
|
|
2759
|
-
const pretty = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.0.0/node_modules/pino-pretty/lib/pretty.js");
|
|
2760
|
-
const defaultOptions = {
|
|
2761
|
-
colorize: isColorSupported,
|
|
2762
|
-
colorizeObjects: true,
|
|
2763
|
-
crlf: false,
|
|
2764
|
-
customColors: null,
|
|
2765
|
-
customLevels: null,
|
|
2766
|
-
customPrettifiers: {},
|
|
2767
|
-
errorLikeObjectKeys: ERROR_LIKE_KEYS,
|
|
2768
|
-
errorProps: '',
|
|
2769
|
-
hideObject: false,
|
|
2770
|
-
ignore: 'hostname',
|
|
2771
|
-
include: void 0,
|
|
2772
|
-
levelFirst: false,
|
|
2773
|
-
levelKey: LEVEL_KEY,
|
|
2774
|
-
levelLabel: LEVEL_LABEL,
|
|
2775
|
-
messageFormat: null,
|
|
2776
|
-
messageKey: MESSAGE_KEY,
|
|
2777
|
-
minimumLevel: void 0,
|
|
2778
|
-
outputStream: process.stdout,
|
|
2779
|
-
singleLine: false,
|
|
2780
|
-
timestampKey: TIMESTAMP_KEY,
|
|
2781
|
-
translateTime: true,
|
|
2782
|
-
useOnlyCustomProps: true
|
|
2783
|
-
};
|
|
2784
|
-
function prettyFactory(options) {
|
|
2785
|
-
const context = parseFactoryOptions(Object.assign({}, defaultOptions, options));
|
|
2786
|
-
return pretty.bind({
|
|
2787
|
-
...context,
|
|
2788
|
-
context
|
|
2789
|
-
});
|
|
2790
|
-
}
|
|
2791
|
-
function build(opts = {}) {
|
|
2792
|
-
let pretty = prettyFactory(opts);
|
|
2793
|
-
let destination;
|
|
2794
|
-
return abstractTransport(function(source) {
|
|
2795
|
-
source.on('message', function pinoConfigListener(message) {
|
|
2796
|
-
if (!message || 'PINO_CONFIG' !== message.code) return;
|
|
2797
|
-
Object.assign(opts, {
|
|
2798
|
-
messageKey: message.config.messageKey,
|
|
2799
|
-
errorLikeObjectKeys: Array.from(new Set([
|
|
2800
|
-
...opts.errorLikeObjectKeys || ERROR_LIKE_KEYS,
|
|
2801
|
-
message.config.errorKey
|
|
2802
|
-
])),
|
|
2803
|
-
customLevels: message.config.levels.values
|
|
2804
|
-
});
|
|
2805
|
-
pretty = prettyFactory(opts);
|
|
2806
|
-
source.off('message', pinoConfigListener);
|
|
2807
|
-
});
|
|
2808
|
-
const stream = new Transform({
|
|
2809
|
-
objectMode: true,
|
|
2810
|
-
autoDestroy: true,
|
|
2811
|
-
transform (chunk, enc, cb) {
|
|
2812
|
-
const line = pretty(chunk);
|
|
2813
|
-
cb(null, line);
|
|
2814
|
-
}
|
|
2815
|
-
});
|
|
2816
|
-
destination = 'object' == typeof opts.destination && 'function' == typeof opts.destination.write ? opts.destination : buildSafeSonicBoom({
|
|
2817
|
-
dest: opts.destination || 1,
|
|
2818
|
-
append: opts.append,
|
|
2819
|
-
mkdir: opts.mkdir,
|
|
2820
|
-
sync: opts.sync
|
|
2821
|
-
});
|
|
2822
|
-
source.on('unknown', function(line) {
|
|
2823
|
-
destination.write(line + '\n');
|
|
2824
|
-
});
|
|
2825
|
-
pump(source, stream, destination);
|
|
2826
|
-
return stream;
|
|
2827
|
-
}, {
|
|
2828
|
-
parse: 'lines',
|
|
2829
|
-
close (err, cb) {
|
|
2830
|
-
destination.on('close', ()=>{
|
|
2831
|
-
cb(err);
|
|
2832
|
-
});
|
|
2833
|
-
}
|
|
2834
|
-
});
|
|
2835
|
-
}
|
|
2836
|
-
module1.exports = build;
|
|
2837
|
-
module1.exports.build = build;
|
|
2838
|
-
module1.exports.PinoPretty = build;
|
|
2839
|
-
module1.exports.prettyFactory = prettyFactory;
|
|
2840
|
-
module1.exports.colorizerFactory = colors;
|
|
2841
|
-
module1.exports.isColorSupported = isColorSupported;
|
|
2842
|
-
module1.exports["default"] = build;
|
|
2843
2810
|
}
|
|
2844
2811
|
};
|
|
2845
2812
|
var __webpack_module_cache__ = {};
|
|
@@ -2852,5 +2819,5 @@ function __webpack_require__(moduleId) {
|
|
|
2852
2819
|
__webpack_modules__[moduleId](module1, module1.exports, __webpack_require__);
|
|
2853
2820
|
return module1.exports;
|
|
2854
2821
|
}
|
|
2855
|
-
var __webpack_exports__ = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.
|
|
2822
|
+
var __webpack_exports__ = __webpack_require__("../../node_modules/.pnpm/pino-pretty@13.1.3/node_modules/pino-pretty/index.js");
|
|
2856
2823
|
module.exports = __webpack_exports__;
|