@loglayer/transport-consola 2.1.2 → 2.1.4
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/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/loglayer/loglayer/packages/transports/consola/dist/index.cjs","../src/ConsolaTransport.ts"],"names":[],"mappings":"AAAA;ACAA,gDAAsE;AAG/D,IAAM,iBAAA,EAAN,MAAA,QAA+B,yBAA+B;AAAA,EACnE,YAAA,CAAa,EAAE,QAAA,EAAU,QAAA,EAAU,IAAA,EAAM,QAAQ,CAAA,EAA4B;AAC3E,IAAA,GAAA,CAAI,KAAA,GAAQ,OAAA,EAAS;AAEnB,MAAA,QAAA,CAAS,IAAA,CAAK,IAAI,CAAA;AAAA,IACpB;AAEA,IAAA,OAAA,CAAQ,QAAA,EAAU;AAAA,MAChB,KAAK,mBAAA,CAAS,IAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,IAAA,CAAK,GAAG,QAAQ,CAAA;AAC5B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,IAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,IAAA,CAAK,GAAG,QAAQ,CAAA;AAC5B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,KAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,KAAA,CAAM,GAAG,QAAQ,CAAA;AAC7B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,KAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,KAAA,CAAM,GAAG,QAAQ,CAAA;AAC7B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,KAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,KAAA,CAAM,GAAG,QAAQ,CAAA;AAC7B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,KAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,KAAA,CAAM,GAAG,QAAQ,CAAA;AAC7B,QAAA,KAAA;AAAA,IACJ;AAEA,IAAA,OAAO,QAAA;AAAA,EACT;AACF,CAAA;ADTA;AACE;AACF,4CAAC","file":"/home/runner/work/loglayer/loglayer/packages/transports/consola/dist/index.cjs","sourcesContent":[null,"import { BaseTransport, type LogLayerTransportParams, LogLevel } from \"@loglayer/transport\";\nimport type { ConsolaInstance } from \"consola\";\n\nexport class ConsolaTransport extends BaseTransport<ConsolaInstance> {\n shipToLogger({ logLevel, messages, data, hasData }: LogLayerTransportParams) {\n if (data && hasData) {\n // library wants the data object to be the last parameter\n messages.push(data);\n }\n\n switch (logLevel) {\n case LogLevel.info:\n // @ts-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/loglayer/loglayer/packages/transports/consola/dist/index.cjs","../src/ConsolaTransport.ts"],"names":[],"mappings":"AAAA;ACAA,gDAAsE;AAG/D,IAAM,iBAAA,EAAN,MAAA,QAA+B,yBAA+B;AAAA,EACnE,YAAA,CAAa,EAAE,QAAA,EAAU,QAAA,EAAU,IAAA,EAAM,QAAQ,CAAA,EAA4B;AAC3E,IAAA,GAAA,CAAI,KAAA,GAAQ,OAAA,EAAS;AAEnB,MAAA,QAAA,CAAS,IAAA,CAAK,IAAI,CAAA;AAAA,IACpB;AAEA,IAAA,OAAA,CAAQ,QAAA,EAAU;AAAA,MAChB,KAAK,mBAAA,CAAS,IAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,IAAA,CAAK,GAAG,QAAQ,CAAA;AAC5B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,IAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,IAAA,CAAK,GAAG,QAAQ,CAAA;AAC5B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,KAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,KAAA,CAAM,GAAG,QAAQ,CAAA;AAC7B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,KAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,KAAA,CAAM,GAAG,QAAQ,CAAA;AAC7B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,KAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,KAAA,CAAM,GAAG,QAAQ,CAAA;AAC7B,QAAA,KAAA;AAAA,MACF,KAAK,mBAAA,CAAS,KAAA;AAEZ,QAAA,IAAA,CAAK,MAAA,CAAO,KAAA,CAAM,GAAG,QAAQ,CAAA;AAC7B,QAAA,KAAA;AAAA,IACJ;AAEA,IAAA,OAAO,QAAA;AAAA,EACT;AACF,CAAA;ADTA;AACE;AACF,4CAAC","file":"/home/runner/work/loglayer/loglayer/packages/transports/consola/dist/index.cjs","sourcesContent":[null,"import { BaseTransport, type LogLayerTransportParams, LogLevel } from \"@loglayer/transport\";\nimport type { ConsolaInstance } from \"consola\";\n\nexport class ConsolaTransport extends BaseTransport<ConsolaInstance> {\n shipToLogger({ logLevel, messages, data, hasData }: LogLayerTransportParams) {\n if (data && hasData) {\n // library wants the data object to be the last parameter\n messages.push(data);\n }\n\n switch (logLevel) {\n case LogLevel.info:\n // @ts-expect-error\n this.logger.info(...messages);\n break;\n case LogLevel.warn:\n // @ts-expect-error\n this.logger.warn(...messages);\n break;\n case LogLevel.error:\n // @ts-expect-error\n this.logger.error(...messages);\n break;\n case LogLevel.trace:\n // @ts-expect-error\n this.logger.trace(...messages);\n break;\n case LogLevel.debug:\n // @ts-expect-error\n this.logger.debug(...messages);\n break;\n case LogLevel.fatal:\n // @ts-expect-error\n this.logger.fatal(...messages);\n break;\n }\n\n return messages;\n }\n}\n"]}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/ConsolaTransport.ts"],"sourcesContent":["import { BaseTransport, type LogLayerTransportParams, LogLevel } from \"@loglayer/transport\";\nimport type { ConsolaInstance } from \"consola\";\n\nexport class ConsolaTransport extends BaseTransport<ConsolaInstance> {\n shipToLogger({ logLevel, messages, data, hasData }: LogLayerTransportParams) {\n if (data && hasData) {\n // library wants the data object to be the last parameter\n messages.push(data);\n }\n\n switch (logLevel) {\n case LogLevel.info:\n // @ts-
|
|
1
|
+
{"version":3,"sources":["../src/ConsolaTransport.ts"],"sourcesContent":["import { BaseTransport, type LogLayerTransportParams, LogLevel } from \"@loglayer/transport\";\nimport type { ConsolaInstance } from \"consola\";\n\nexport class ConsolaTransport extends BaseTransport<ConsolaInstance> {\n shipToLogger({ logLevel, messages, data, hasData }: LogLayerTransportParams) {\n if (data && hasData) {\n // library wants the data object to be the last parameter\n messages.push(data);\n }\n\n switch (logLevel) {\n case LogLevel.info:\n // @ts-expect-error\n this.logger.info(...messages);\n break;\n case LogLevel.warn:\n // @ts-expect-error\n this.logger.warn(...messages);\n break;\n case LogLevel.error:\n // @ts-expect-error\n this.logger.error(...messages);\n break;\n case LogLevel.trace:\n // @ts-expect-error\n this.logger.trace(...messages);\n break;\n case LogLevel.debug:\n // @ts-expect-error\n this.logger.debug(...messages);\n break;\n case LogLevel.fatal:\n // @ts-expect-error\n this.logger.fatal(...messages);\n break;\n }\n\n return messages;\n }\n}\n"],"mappings":";AAAA,SAAS,eAA6C,gBAAgB;AAG/D,IAAM,mBAAN,cAA+B,cAA+B;AAAA,EACnE,aAAa,EAAE,UAAU,UAAU,MAAM,QAAQ,GAA4B;AAC3E,QAAI,QAAQ,SAAS;AAEnB,eAAS,KAAK,IAAI;AAAA,IACpB;AAEA,YAAQ,UAAU;AAAA,MAChB,KAAK,SAAS;AAEZ,aAAK,OAAO,KAAK,GAAG,QAAQ;AAC5B;AAAA,MACF,KAAK,SAAS;AAEZ,aAAK,OAAO,KAAK,GAAG,QAAQ;AAC5B;AAAA,MACF,KAAK,SAAS;AAEZ,aAAK,OAAO,MAAM,GAAG,QAAQ;AAC7B;AAAA,MACF,KAAK,SAAS;AAEZ,aAAK,OAAO,MAAM,GAAG,QAAQ;AAC7B;AAAA,MACF,KAAK,SAAS;AAEZ,aAAK,OAAO,MAAM,GAAG,QAAQ;AAC7B;AAAA,MACF,KAAK,SAAS;AAEZ,aAAK,OAAO,MAAM,GAAG,QAAQ;AAC7B;AAAA,IACJ;AAEA,WAAO;AAAA,EACT;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loglayer/transport-consola",
|
|
3
3
|
"description": "consola transport for the LogLayer logging library.",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"transport"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@loglayer/transport": "2.
|
|
34
|
+
"@loglayer/transport": "2.3.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/node": "24.
|
|
37
|
+
"@types/node": "24.6.1",
|
|
38
38
|
"tsup": "8.5.0",
|
|
39
|
-
"typescript": "5.9.
|
|
39
|
+
"typescript": "5.9.3",
|
|
40
40
|
"vitest": "3.2.4",
|
|
41
|
-
"tsx": "4.20.
|
|
42
|
-
"loglayer": "6.
|
|
41
|
+
"tsx": "4.20.6",
|
|
42
|
+
"loglayer": "6.8.0",
|
|
43
43
|
"@internal/tsconfig": "2.1.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|