Commit c611249
committed
Make @fedify/uri-template default reporter a no-op
The package advertises zero runtime dependencies (in README.md,
CHANGES.md, and the empty `dependencies`/`imports` fields of
*package.json* and *deno.json*), but Template imported
`@logtape/logtape` to back the default reporter. That contradicted the
claim and caused tsdown to bundle the entire logger into *dist/*.
Drop the import and let the default reporter be a no-op. The default
`strict: true` still throws after the reporter runs, so error
visibility is preserved on the common path. Callers that opt into
non-strict mode can pass their own `report` callback (for example, one
backed by their application's logger) to observe diagnostics.
Assisted-by: Claude Code:claude-opus-4-71 parent 04be48b commit c611249
2 files changed
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 77 | + | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments