logan-logger 2.1.0 → 2.2.0
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/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ Use named imports. There is no default export.
|
|
|
65
65
|
| Runtime | Import | Notes |
|
|
66
66
|
|---|---|---|
|
|
67
67
|
| Auto-detect | `logan-logger` | Also the right choice for Next.js and other isomorphic frameworks |
|
|
68
|
-
| Node.js
|
|
68
|
+
| Node.js 22.12+ | `logan-logger/node` | Adds the file transport and Morgan integration |
|
|
69
69
|
| Bun | `logan-logger/bun` | Same as Node |
|
|
70
70
|
| Browser / WebWorker | `logan-logger/browser` | CSS-styled console, performance marks, grouping |
|
|
71
71
|
| Deno | `jsr:@logan/logger` | Console; native implementation planned |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "logan-logger",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"packageManager": "pnpm@11.9.0",
|
|
5
5
|
"description": "Universal TypeScript logging library for all JavaScript runtimes",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"vitest": "^4.1.0"
|
|
123
123
|
},
|
|
124
124
|
"engines": {
|
|
125
|
-
"node": "
|
|
125
|
+
"node": ">=22.12.0"
|
|
126
126
|
},
|
|
127
127
|
"files": [
|
|
128
128
|
"dist",
|