(...args)
| 14886 | let namespacesCache; |
| 14887 | let enabledCache; |
| 14888 | function debug5(...args) { |
| 14889 | if (!debug5.enabled) { |
| 14890 | return; |
| 14891 | } |
| 14892 | const self2 = debug5; |
| 14893 | const curr = Number(/* @__PURE__ */ new Date()); |
| 14894 | const ms = curr - (prevTime || curr); |
| 14895 | self2.diff = ms; |
| 14896 | self2.prev = prevTime; |
| 14897 | self2.curr = curr; |
| 14898 | prevTime = curr; |
| 14899 | args[0] = createDebug3.coerce(args[0]); |
| 14900 | if (typeof args[0] !== "string") { |
| 14901 | args.unshift("%O"); |
| 14902 | } |
| 14903 | let index = 0; |
| 14904 | args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { |
| 14905 | if (match === "%%") { |
| 14906 | return "%"; |
| 14907 | } |
| 14908 | index++; |
| 14909 | const formatter = createDebug3.formatters[format]; |
| 14910 | if (typeof formatter === "function") { |
| 14911 | const val = args[index]; |
| 14912 | match = formatter.call(self2, val); |
| 14913 | args.splice(index, 1); |
| 14914 | index--; |
| 14915 | } |
| 14916 | return match; |
| 14917 | }); |
| 14918 | createDebug3.formatArgs.call(self2, args); |
| 14919 | const logFn = self2.log || createDebug3.log; |
| 14920 | logFn.apply(self2, args); |
| 14921 | } |
| 14922 | debug5.namespace = namespace; |
| 14923 | debug5.useColors = createDebug3.useColors(); |
| 14924 | debug5.color = createDebug3.selectColor(namespace); |
no outgoing calls
no test coverage detected
searching dependent graphs…