@svelte-vitals/core 0.43.1 → 0.45.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 +12 -1
- package/dist/chunk-BCJZO532.js +7250 -0
- package/dist/index-DbUx4tlY.d.ts +1154 -0
- package/dist/index.d.ts +1 -1953
- package/dist/index.js +9 -8473
- package/dist/internal.d.ts +867 -0
- package/dist/internal.js +1732 -0
- package/package.json +10 -5
package/README.md
CHANGED
|
@@ -9,7 +9,18 @@ This package is **mode-independent** and contains no I/O — it operates on a no
|
|
|
9
9
|
|
|
10
10
|
> Most users don't depend on this directly — install [`svelte-vitals`](https://www.npmjs.com/package/svelte-vitals) instead. This package is for building tools on top of the shared engine.
|
|
11
11
|
|
|
12
|
-
> **ESM-only** (Node
|
|
12
|
+
> **ESM-only** (Node 24.16+). Ships ES modules only; `require()` is unsupported by design.
|
|
13
|
+
|
|
14
|
+
## Entry points
|
|
15
|
+
|
|
16
|
+
| Entry | Contents | Stability |
|
|
17
|
+
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
18
|
+
| `@svelte-vitals/core` | `defineConfig` and the config types; the `JsonReport` types for reading a report; `summarize`, `hasFailureAtOrAbove`, `formatGithubReport`, `formatMarkdownReport` for rendering one and gating on it | Follows semver. For the renderers, that covers the function — not the text it returns, which stays human-readable and may change. |
|
|
19
|
+
| `@svelte-vitals/core/internal` | The engine, rules, fact collection, reporters, and scoring — what the CLI and the Vite plugin share | **No guarantee. Anything here may change in any release, including a patch.** |
|
|
20
|
+
|
|
21
|
+
Reach for `/internal` only if you accept pinning an exact version. If something there is what you
|
|
22
|
+
actually need, open an issue — the point of the split is that promoting a name into the stable
|
|
23
|
+
entry is an additive change.
|
|
13
24
|
|
|
14
25
|
## License
|
|
15
26
|
|