colorino 0.12.0 → 0.12.2

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  Colorino automatically adapts its palette to your terminal or browser DevTools theme, and degrades colors gracefully so your logs stay readable and on‑brand even in limited environments
6
6
 
7
+ ![Demo](https://github.com/simwai/colorino/blob/master/demo-ps.png?raw=true)
8
+
7
9
  # <a id="0"></a><a id="0"></a>
8
10
 
9
11
  - [Why use Colorino?](#1)
@@ -324,7 +326,7 @@ export function createContextLogger(
324
326
  const logger = Object.create(base) as Colorino // Object.create uses `base` as the prototype.
325
327
 
326
328
  // ...and override only what you need.
327
- Object.assign(logger, { // Object.assign copies these methods onto `logger`. [web:346]
329
+ Object.assign(logger, { // Object.assign copies these methods onto `logger`.
328
330
  info(...args: unknown[]) {
329
331
  base.info(`[${getCallerContext()}]`, ...args)
330
332
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "colorino",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "A super simple colorized logger that gets the most out of your terminal",
5
5
  "type": "module",
6
6
  "license": "MIT",