@vmz/diagnostic 0.3.6 → 0.3.7

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 +13 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # `@vmz/diagnostic`
2
-
3
- Diagnostic layout for structured `code + args + span` rows.
4
-
5
- - Caller injects `t` / catalog (official tables live in `@vmz/vmz`)
6
- - No built-in language packs; no separate i18n package
7
- - Pretty printer: rustc/miette-style snippets when `sourceText` + `span` + `position` are wired
8
-
9
- ```ts
10
- import { formatDiagnostic } from '@vmz/diagnostic';
11
-
12
- formatDiagnostic(row, { locale: 'en-US', catalog: productCatalog });
13
- ```
1
+ # `@vmz/diagnostic`
2
+
3
+ Diagnostic layout for structured `code + args + span` rows.
4
+
5
+ - Caller injects `t` / catalog (official tables live in `@vmz/vmz`)
6
+ - No built-in language packs; no separate i18n package
7
+ - Pretty printer: rustc/miette-style snippets when `sourceText` + `span` + `position` are wired
8
+
9
+ ```ts
10
+ import { formatDiagnostic } from '@vmz/diagnostic';
11
+
12
+ formatDiagnostic(row, { locale: 'en-US', catalog: productCatalog });
13
+ ```
package/package.json CHANGED
@@ -39,5 +39,5 @@
39
39
  },
40
40
  "type": "module",
41
41
  "types": "./dist/index.d.ts",
42
- "version": "0.3.6"
42
+ "version": "0.3.7"
43
43
  }