公开记录
软件健康报告模式 0.30.0 · 指标 2.5.0 · 2026-08-04 01:40 UTC

janosh / svelte-toc

Sticky responsive table of contents component

TypeScript · SvelteMIT★ 125 星标⑂ 6 复刻始于 2021年5月已归档在 GitHub 上查看 ↗
类型如何判定

janosh/svelte-toc 的健康指数为 100 分中的 19 分,处于「危急」区间。 其得分最高的类别是Engineering Quality(67/100),最低的是AI Readiness(43/100)。 该仓库已归档,预计不会再有维护。

19
总分 / 100
危急

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

19
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 62 经校准后在公布的指数量表上为 69(记录校准 2026-08-02)。

所有权

Janosh Riebesell个人账户
687 关注者24 个公开仓库始于 2017年8月@periodiclabs

该仓库由个人账户拥有。相较于组织支持的项目,单一所有者项目的延续性风险更高。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
npmsvelte-toc0.7.03,2274267 天前componentheadingsnavigationsidebarsveltetable-of-contentstoc

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

66良好 · 占总体的 21%
评分方式
36/36推送新近度 — 最近一次推送于 7 天前
7.6/36提交节奏 — 52 周中有 11 周有提交
11.9/18提交量 — 最近一年 20 次提交
0/10OpenSSF Scorecard:Maintained — project is archived
所用输入
commits_last_year20
human_commit_share1
days_since_last_push7
active_weeks_last_year11

发布纪律

82优秀
评分方式
27/27有发布版本 — 已发布 22 个发布版本
27/36发布时效 — 最近一次发布版本于 164 天前
19.8/27发布节奏 — 约每 119.5 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — 无数据
所用输入
releases_count22
latest_release_tagv0.6.3
releases_from_tags
days_since_latest_release164
mean_days_between_releases119.5
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

55中等 · 占总体的 17%
评分方式
34/60星标 — 125 个星标
5.8/25复刻 — 6 个复刻
0/15关注者 — 2 位关注者
所用输入
forks6
stars125
watchers2
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

70良好
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(MIT)
18/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges5
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesgithub.com, shields.io
has_pull_request_template
评分方式
46.8/80月度下载量 — npm 合计每月 3,227 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packagessvelte-toc
dependents
ecosystemsnpm
total_downloads
monthly_downloads3,227
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

65良好 · 占总体的 23%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
1/22.5提交分布 — 头号贡献者编写了 95% 的提交
8.1/13.5贡献者广度 — 6 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 3 contributing companies or organizations -- score normalized to 10
所用输入
bus_factor1
contributors_sampled6
top_contributor_share0.954
评分方式
42/42议题解决 — 100% 的议题已关闭
26.3/30PR 接受 — 已裁定的 PR 中 43/49 已合并
0/13Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-Review — Found 0/30 approved changesets -- score normalized to 0
所用输入
merged_prs43
open_issues0
closed_issues26
prs_merged_7d0
prs_decided_7d0
prs_merged_30d1
prs_decided_30d1
issue_closed_ratio1
closed_unmerged_prs6
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):newcomer_pr_acceptance。 其余权重已重新归一化。
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
20.4/25所有者影响力 — janosh 有 687 位关注者
22.2/25既往记录 — 24 个公开仓库,账户约 8 年
所用输入
followers687
owner_typeUser
is_verified
owner_loginjanosh
public_repos24
account_age_days3,278
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — npm 上有 1 个软件包
35/35发布时效 — 最近一次发布于 67 天前
20/20版本历史 — 42 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packagessvelte-toc
ecosystemsnpm
any_deprecated
min_days_since_publish67

工程质量

基础的工程与文档实践是否到位?

67良好 · 占总体的 19%

工程实践

68良好
评分方式
24/24CI 工作流 — 4 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
0/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests — 2 out of 2 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

65良好
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点 — https://janosh.github.io/svelte-toc
10/10仓库描述
10/10主题标签 — 7 个主题标签
0/10Wiki
所用输入
topicssvelte, sveltekit, table-of-contents, component, sticky, responsive-web-design, toc
has_wiki
homepagehttps://janosh.github.io/svelte-toc
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

58中等 · 占总体的 16%

安全态势

47薄弱
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — 无数据
2.5/2.5CI-Tests — 2 out of 2 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 0/30 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 3 contributing companies or organizations -- score normalized to 10
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5许可证 — license file detected
0/7.5Maintained — project is archived
0/5Packaging — 无数据
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — 无数据
7.5/7.5Token-Permissions — GitHub workflow tokens follow principle of least privilege
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate4.7
已排除计分(无数据或不适用):branch_protection, packaging, signed_releases。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告 — 没有直接依赖携带已知公告
0/25间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告 — 没有公告带有发布日期
所用输入
sourceosv
advisories0
affected_packages0
assessed_packages4
unassessed_packages12
affected_by_severitynone
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 4 个已解析依赖与 OSV 比对。 有 12 项无法评估——没有已解析的版本、生态系统不受支持,或超出所报告的软件包清单。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

43薄弱 · 占总体的 4%
评分方式
0/45代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
27.7/40可读的提交历史 — 100 次人类提交中有 52 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
legible_history_share0.52
agent_instruction_files
agent_instruction_max_bytes
评分方式
0/18一条命令的引导启动
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查 — tsconfig.json
0/10可复现环境
0/10已体现的代理实践 — 最近 100 次提交中没有代理编写的提交
0/8自动化维护 — 未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfiles
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configstsconfig.json
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
评分方式
45/45可类型检查的代码 — TypeScript(静态类型)
55/55可控的文件大小 — 采样的 13 个源文件中有 0 个超过 60KB
所用输入
primary_languageTypeScript
largest_source_bytes48,791
source_files_sampled13
oversized_source_files0

关键数据

125GitHub 星标
6贡献者
20最近 12 个月提交数
7距最近推送天数
22发布版本数
1巴士系数(bus factor)
0开放议题
npm软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

Star 与 Fork 历史 0 ★ / 6 ⇿
0Star
6Fork
16发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

23456622022-082024-012025-06
主版本 0次版本 4修订 12

每个点涵盖 3 天。

OpenSSF Scorecard 4.7 / 10
4.7综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-08-04 01:40 UTC

10Binary-Artifactsno binaries found in the repo
不适用Branch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests2 out of 2 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
10Contributorsproject has 3 contributing companies or organizations -- score normalized to 10
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintainedproject is archived
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
不适用Signed-Releasesno releases found
10Token-PermissionsGitHub workflow tokens follow principle of least privilege
10Vulnerabilities0 existing vulnerabilities detected
全部依赖 16

来自 GitHub 依赖图的完整解析依赖集合:0 个直接依赖与 16 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
npm@playwright/test1.62.0间接
npm@sveltejs/adapter-static^3.0.10间接
npm@sveltejs/kit^2.70.1间接
npm@sveltejs/package^2.5.8间接
npm@sveltejs/vite-plugin-svelte^7.2.0间接
npm@vitest/coverage-v84.1.10间接
npm@wooorm/starry-night^3.10.0间接
npmjsdom^30.0.0间接
npmmdsvex^0.12.8间接
npmsvelte^5.56.8间接
npmsvelte-check^4.7.3间接
npmsvelte-multiselect^11.8.0间接
npmtypescript^6.0.3间接
npmvite^8.1.5间接
npmvite-plus0.2.6间接
npmvitest4.1.10间接
依赖安全公告 0

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 4 个包,其中也包含从不交付的开发与测试版本固定:0 个存在已知公告,0 个为直接依赖。 有 12 个无法评估——没有已解析的版本、生态系统不受支持,或不在所列包清单之内。

没有已知公告影响已评估的依赖。

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读
{
  "data": {
    "repo": {
      "topics": [
        "svelte",
        "sveltekit",
        "table-of-contents",
        "component",
        "sticky",
        "responsive-web-design",
        "toc"
      ],
      "is_fork": false,
      "size_kb": 585,
      "has_wiki": false,
      "homepage": "https://janosh.github.io/svelte-toc",
      "languages": {
        "CSS": 2334,
        "HTML": 705,
        "Svelte": 46220,
        "TypeScript": 71274
      },
      "pushed_at": "2026-07-27T12:16:21Z",
      "created_at": "2021-05-19T16:08:15Z",
      "owner_type": "User",
      "updated_at": "2026-07-27T12:16:44Z",
      "description": "Sticky responsive table of contents component",
      "is_archived": true,
      "is_disabled": false,
      "license_spdx": "MIT",
      "default_branch": "main",
      "license_spdx_raw": "MIT",
      "primary_language": "TypeScript",
      "significant_languages": [
        "TypeScript",
        "Svelte"
      ]
    },
    "owner": {
      "blog": "https://janosh.dev",
      "name": "Janosh Riebesell",
      "type": "User",
      "login": "janosh",
      "company": "@periodiclabs",
      "location": "San Francisco",
      "followers": 687,
      "avatar_url": "https://avatars.githubusercontent.com/u/30958850?v=4",
      "created_at": "2017-08-12T16:47:14Z",
      "is_verified": null,
      "public_repos": 24,
      "account_age_days": 3278
    },
    "license": {
      "state": "standard",
      "spdx_id": "MIT",
      "raw_spdx": "MIT",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v0.6.3",
          "kind": "patch",
          "published_at": "2026-02-20T02:31:48Z"
        },
        {
          "tag": "v0.6.2",
          "kind": "patch",
          "published_at": "2025-07-11T18:20:22Z"
        },
        {
          "tag": "v0.6.0",
          "kind": "minor",
          "published_at": "2025-04-13T23:39:33Z"
        },
        {
          "tag": "v0.5.9",
          "kind": "patch",
          "published_at": "2024-06-12T17:15:09Z"
        },
        {
          "tag": "v0.5.8",
          "kind": "patch",
          "published_at": "2024-03-21T08:48:17Z"
        },
        {
          "tag": "v0.5.7",
          "kind": "patch",
          "published_at": "2024-01-22T11:21:07Z"
        },
        {
          "tag": "v0.5.6",
          "kind": "patch",
          "published_at": "2023-09-12T09:29:44Z"
        },
        {
          "tag": "v0.5.5",
          "kind": "patch",
          "published_at": "2023-04-21T00:11:28Z"
        },
        {
          "tag": "v0.5.4",
          "kind": "patch",
          "published_at": "2023-03-17T00:23:20Z"
        },
        {
          "tag": "v0.5.3",
          "kind": "patch",
          "published_at": "2023-03-12T21:03:10Z"
        },
        {
          "tag": "v0.5.2",
          "kind": "patch",
          "published_at": "2023-01-13T00:31:07Z"
        },
        {
          "tag": "v0.5.1",
          "kind": "patch",
          "published_at": "2022-12-20T14:14:20Z"
        },
        {
          "tag": "v0.5.0",
          "kind": "minor",
          "published_at": "2022-12-04T04:51:23Z"
        },
        {
          "tag": "v0.4.1",
          "kind": "patch",
          "published_at": "2022-11-06T23:52:31Z"
        },
        {
          "tag": "v0.4.0",
          "kind": "minor",
          "published_at": "2022-09-13T21:02:04Z"
        },
        {
          "tag": "v0.3.2",
          "kind": "patch",
          "published_at": "2022-09-11T21:55:44Z"
        },
        {
          "tag": "v0.3.1",
          "kind": "patch",
          "published_at": "2022-09-10T21:57:05Z"
        },
        {
          "tag": "v0.3.0",
          "kind": "minor",
          "published_at": "2022-09-10T19:01:10Z"
        },
        {
          "tag": "v0.2.10",
          "kind": "patch",
          "published_at": "2022-07-17T17:59:14Z"
        },
        {
          "tag": "v0.2.9",
          "kind": "patch",
          "published_at": "2022-04-02T12:15:07Z"
        },
        {
          "tag": "v0.2.8",
          "kind": "patch",
          "published_at": "2022-03-23T15:34:07Z"
        },
        {
          "tag": "v0.2.7",
          "kind": "patch",
          "published_at": "2022-03-13T13:36:35Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "9ad3471773d0829d8e6d65dfb002b6420a79002a",
          "body": "Toc now ships from svelte-widgets. This repo is being archived.",
          "is_bot": false,
          "headline": "Point the readme at svelte-widgets",
          "author_name": "janosh",
          "author_login": "janosh",
          "committed_at": "2026-07-27T12:16:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "599686c6774a85c05e45e7cab79622a3bad8302f",
          "body": "… bloat removed (#77)\n\n* Drop unreferenced deps and dead config, repair the pre-commit checker\n\nacorn and abstract-syntax-tree are imported nowhere in the repo and are\nregular (not peer) deps of other packages, so nothing needs them declared\nhere. The vite preview block pinned a port for a command n\n[…]\nd: heading_visibility and the template test the\nmode for truthiness, so a threshold-only fallback to Infinity would still\ncollapse (measured identical to the h6 threshold on a representative outline).",
          "is_bot": false,
          "headline": "Repo-wide overhaul: two bug fixes, doc corrections, and ~500 lines of…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-07-27T09:11:49Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "3fe51101963adb693eb88a2df1119693fbf98ec7",
          "body": "* Update pnpm package manager.\n\n* Improve Toc interactions and cleanup tests.\n\nPreserve custom tocItem keyboard behavior, tighten mutation handling, and keep focused browser coverage while trimming redundant Playwright cases.\n\n* Tighten Toc mutation and test helpers.\n\nAvoid rebuilding heading data for body attribute changes and make focused ToC tests fail more clearly when selectors go stale.",
          "is_bot": false,
          "headline": "Improve Toc interactions and tests (#76)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-06-29T07:41:15Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f7d6bfe6e69a8206a6bdaf07c2eba6ff45796e68",
          "body": "- Wrap each ToC entry in a real <a href=\"#id\"> so middle/cmd-click, \"open in new\n  tab\" and \"copy link\" work; drop role=\"menu\"/\"menuitem\" ARIA which was wrong for\n  a navigation list. Modified clicks and interactive elements inside custom\n  tocItem snippets keep their native behavior.\n- Add autoIds \n[…]\nlse | string[].\n- Observe heading id/characterData mutations (filtered) so the ToC reacts to\n  in-place heading edits.\n- Extract pure slugify/unique-id/visibility helpers into toc-utils.ts with tests.",
          "is_bot": false,
          "headline": "Render ToC items as real anchor links with auto-generated heading IDs",
          "author_name": "janosh",
          "author_login": "janosh",
          "committed_at": "2026-06-27T10:15:45Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "d72ef73244e1194298742e61d3ba8efebc561667",
          "body": "- add npm trusted-publishing workflow (OIDC provenance via pnpm) and drop\n  the redundant release trigger from the test workflow\n- Toc: skip heading rebuilds on unrelated DOM mutations + stop observing\n  characterData; compute collapse visibility in one O(n) ancestor pass;\n  add aria-current=\"locati\n[…]\nroutes (named no-TOC list, error glyph, remove unused\n  demo_routes module)\n- migrate svelte.config.js to TypeScript (satisfies Config, static\n  package.json import, error on missing repository field)",
          "is_bot": false,
          "headline": "Add publish CI, improve Toc, and migrate config to TypeScript",
          "author_name": "janosh",
          "author_login": "janosh",
          "committed_at": "2026-06-12T23:05:00Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "5dd5a0ef34a6bd8a36de99da159c561b5f9d0afa",
          "body": "Replace the inlined oxlint config in vite.config.ts with the shared\n@janosh/vite-config (lint/fmt/build) from janosh/dotfiles. npm can't\nresolve the github: git dep (arborist dedup crash), so switch to pnpm\n(packageManager pnpm@11.5.0) and move CI to corepack + pnpm. Swap the\nephemeral svelte-check-rs for a pinned svelte-check devDep, and bump CI\nNode 22 -> 24 (LTS). Apply the lint fixes the expanded ruleset requires\nacross Toc.svelte and the test suites.",
          "is_bot": false,
          "headline": "Adopt shared @janosh/vite-config, migrate to pnpm, bump CI to Node 24",
          "author_name": "janosh",
          "author_login": "janosh",
          "committed_at": "2026-06-01T10:40:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c90f4e6bcde883cf8d9eda48b11b9cb3de1c7627",
          "body": null,
          "is_bot": false,
          "headline": "v0.7.0",
          "author_name": "janosh",
          "author_login": "janosh",
          "committed_at": "2026-05-28T10:03:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "da3962e74c7a367e15d7cdb9ddf5c78158aaf643",
          "body": "* Replace style props with element prop bags\n\nSimplify element customization with prop bags while preserving managed ToC attributes and classes.\n\n* Fix element prop bag typing and class handling\n\nUse Svelte tag-specific element attributes so prop bags accept element-specific fields, and compose stat\n[…]\ning coercion.\n\n* Consolidate Toc heading data handling\n\nReplace split heading callbacks with one getHeadingData hook and compose prop-bag event handlers so user handlers can prevent internal behavior.",
          "is_bot": false,
          "headline": "Replace style props with prop bags and heading data API (#75)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-05-28T09:55:40Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "7442de799b136908f4771c497f6ab8f5b73aa027",
          "body": "* Add configurable TOC exclusion selector\n\n* Remove titleTag API\n\nUse the existing title snippet path for custom title markup instead of a stringly typed dynamic element prop.\n\n* Handle invalid TOC selectors\n\nWarn once for invalid heading/exclusion selectors and keep the TOC empty instead of letting\n[…]\nately so same-tick open/close interactions keep their own trigger metadata.\n\n* Tighten lint coverage and cleanup tests\n\nKeep stricter lint rules enabled by simplifying affected tests and demo styling.",
          "is_bot": false,
          "headline": "Add excludeSelector, remove titleTag, rename onOpen (#74)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-05-28T08:30:58Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "1637fcc51e6f4291b28ac6402a38df7a6bed93c5",
          "body": null,
          "is_bot": false,
          "headline": "Enable pedantic linting, add staged hooks, fix all violations",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-05-21T12:43:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f23386731d814875a78342d97307ac759e0823b9",
          "body": "- Replace deno tasks/fmt/lint and ESLint with vp dev/build/test/check/lint/fmt\n- Update CI workflows from reusable deno workflows to inline npm + vp steps\n- Replace pre-commit deno/eslint hooks with vp fmt/lint hooks\n- Delete deno.jsonc and eslint.config.js\n- Add vite-plus, vite/vitest overrides, an\n[…]\n errors\n\nAdd typeAware + typeCheck to vite-plus lint config. Replace unsafe type\nassertions with querySelector<T>() generics, instanceof narrowing, and\ntype guard filters across source and test files.",
          "is_bot": false,
          "headline": "Migrate from deno + ESLint to Vite+ (vp) toolchain",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-03-18T10:36:38Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "e71dfbfeb550f9e18b814aa1272d0dc0a9100a8c",
          "body": "also bump pkg versions, remove unused abstract-syntax-tree + svelte-preprocess",
          "is_bot": false,
          "headline": "make svelte a peerDependency to avoid version conflicts (closes #73)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-03-10T21:13:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2d0269ad46fd0d683458a52b3592f0855c520882",
          "body": null,
          "is_bot": false,
          "headline": "v0.6.3",
          "author_name": "janosh",
          "author_login": "janosh",
          "committed_at": "2026-02-20T02:34:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8b7554527c19f5f0b16b5e311ec6602d47bd1b66",
          "body": "* Fix TOC list-style override and stabilize dynamic headings demo\n\n- increase TOC ordered-list selector specificity so global list styles no longer override --toc-ol-list-style\n- add a regression test that asserts the compiled TOC list selector is not wrapped in :where(...)\n- pin dynamic-headings de\n[…]\ne-off ordered-list selector test with a parameterized specificity contract test matrix\n- assert both expectations: override surfaces remain :where() and structural ordered-list rule stays non-:where()",
          "is_bot": false,
          "headline": "Prevent TOC list-style override and demo layout shifts (#72)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-02-20T02:24:03Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "50b839bdbd9b7ee2d891407f3432da4b95446500",
          "body": "* Prevent active heading flicker during smooth scroll\n\n- Add scroll_target state to track intended heading during programmatic scrolls\n- Immediately set activeHeading on click/keyboard navigation before scrollIntoView\n- Guard set_active_heading() to skip updates while scroll_target is set\n- Clear sc\n[…]\nait for smooth scroll completion in manual scroll test\n\n- Add 1200ms delay before manual scroll to ensure scrollend fires\n- Guard set_scroll_target against removed headings to prevent state corruption",
          "is_bot": false,
          "headline": "Prevent active heading flicker during smooth scroll (#70)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-01-27T17:36:26Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "e10183eb2254be2fb1656213f8d16500031e551c",
          "body": "…s (#69)\n\n* Add collapseSubheadings prop to dynamically show/hide nested TOC items\n\n- Add collapseSubheadings prop (boolean | 'h2'-'h6') to Toc component\n- When enabled, only shows children of active heading in TOC\n- Supports threshold mode ('h3', 'h4', etc.) where deeper levels expand together\n- In\n[…]\nt for a11y\n- Add --toc-indent-per-level for customizable heading indentation\n- Add --toc-li-font-size-base, --toc-li-font-size-step, --toc-li-font-size-min\n- Update indent test for new CSS calc format",
          "is_bot": false,
          "headline": "Add collapseSubheadings prop to dynamically show/hide nested TOC item…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-01-26T15:43:55Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "917cd481246fa99611e1153d3c5eade4b8a67820",
          "body": "…#68)\n\n* Add hideOnIntersect prop to auto-hide TOC when overlapping elements\n\n- New prop accepts CSS selector string or HTMLElement array\n- TOC fades out smoothly when bounding boxes overlap (desktop only)\n- Uses AABB collision detection on scroll/resize events\n- Sets aria-hidden for accessibility w\n[…]\nage from hide-on-intersect page\n- Rename CTA banner to info-banner with teal gradient\n- Fix full-bleed banners using ::before pseudo-elements\n- Add overflow-x: hidden to html for proper viewport width",
          "is_bot": false,
          "headline": "Add hideOnIntersect prop to auto-hide TOC when overlapping elements (…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-01-26T02:07:27Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "0b531d82937671c7cb2887379d1350e6a5c1b33e",
          "body": "* Migrate from mdsvexamples to svelte-multiselect/live-examples\n\n- Replace mdsvexamples with live-examples from svelte-multiselect\n- Switch syntax highlighting from Prism to starry-night (GitHub-style)\n- Remove static/prism-vsc-dark-plus.css link from app.html\n- Update svelte.config.js to use mdsvex\n[…]\nemove unused slot from readme.md\n- Simplify +page.md by removing inline Nav and extra styles\n- Remove redundant \"Back to landing page\" links (nav handles this)\n- Update example to use script lang=\"ts\"",
          "is_bot": false,
          "headline": "Migrate from mdsvexamples to svelte-multiselect/live-examples (#67)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-01-25T21:52:23Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "74117e35ab995e7e447c8111011d76c96dffa601",
          "body": "…e (#66)\n\n* Use heading-anchors from svelte-multiselect, rename props to camelCase\n\n- Replace rehype-slug and rehype-autolink-headings with heading_ids preprocessor\n  and heading_anchors attachment from svelte-multiselect\n- Remove unused SVG symbol from app.html (now provided by heading_anchors)\n- D\n[…]\nout)\n- Fix demos layout h1 title from \"Svelte MultiSelect\" to \"Svelte ToC\"\n- Fix body CSS: use flex-direction column for vertical stacking\n- Add min-height: 100vh to fill viewport with dark background",
          "is_bot": false,
          "headline": "Use heading-anchors from svelte-multiselect, rename props to camelCas…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2026-01-19T16:20:55Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "c610c9f1f7bb37c8b5f193f271b52d46aaedca57",
          "body": "… run pnpm svelte-check as pre-commit hook",
          "is_bot": false,
          "headline": "Update deps + tweak Toc component + use Nav from svelte-multiselect +…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2025-11-30T21:08:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "59c1f9e6daa34cc2f566b6e5f84f1c6ab7a97cb2",
          "body": null,
          "is_bot": false,
          "headline": "v0.6.2",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2025-07-11T18:21:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "76d0c3bad2e6988f087d7faf2a5542cc67d2c7a1",
          "body": "* swap node for deno\n\n- `.pre-commit-config.yaml` add `deno-fmt` and `deno-lint`\n- `.prettierrc.yml` remove\n- `deno.jsonc` add\n- `package.json` update deps\n\n* bump svelte-multiselect to v11.2.1",
          "is_bot": false,
          "headline": "Swap `node` for `deno` (#65)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2025-07-11T18:15:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7ffd4fa03bbe463fc40e3953a4162c1db45d774a",
          "body": "…gs (#63)\n\n* fix: `--toc-desktop-aside-margin` and `--toc-desktop-nav-margin` apply the same style to the same element\n\n* docs: Update readme.md with new style props for Toc component\n\n* refactor: Merge properties from duplicate CSS selectors\n\n* docs: `readme.md` is out of sync with `Toc.svelte`\n\nPr\n[…]\nr had a slightly different property (`font-size` -> `font`).\n\n* docs: Minor changes to `readme.md`\n\n* update package.json deps\n\n---------\n\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "Update documentation to be in sync with `Toc.svelte` and fix minor bu…",
          "author_name": "Zlendy",
          "author_login": "Zlendy",
          "committed_at": "2025-06-14T19:56:01Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "a8e9b1abbee6243652641b00cb78d94520ec98d8",
          "body": null,
          "is_bot": false,
          "headline": "v0.6.1",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2025-05-18T23:50:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "12f7cb56b31a22a6e4ec769da462feb9dc62efd2",
          "body": "aside_style aside_class nav_style nav_class title_element_style title_element_class ol_style ol_class li_style li_class open_button_style open_button_class\nplus new CSS variables for font of: toc, title, li, active li, mobile button\n\n- add `typos` pre-commit hook to catch spelling errors\n- bump pkg deps",
          "is_bot": false,
          "headline": "add many more style props to Toc component",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2025-05-18T23:47:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1ca5b3d55e0b50d75c67981402d5d9cbb3b96807",
          "body": null,
          "is_bot": false,
          "headline": "v0.6.0",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2025-04-13T18:58:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "975b966cd6fd1d59d2610fa858ba8a28670a7bf1",
          "body": "* Svelte 5 migration\n\n* update GitHub reusable workflow URL\n\n* Add tests for Toc component title and content updates\n\n- Add tests for title CSS classes\n- Add test for dynamic ToC content updates\n- Update GitHub workflow to install Playwright chromium\n\n* fix Toc.svelte not updating when route changes\n[…]\nire after page changes when component already in DOM\n\n* add /dynamic-headings demo component\n\na page component with dynamic headings that allows users to add, remove, and display headings in real-time",
          "is_bot": false,
          "headline": "Svelte 5 Migration (#61)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2025-04-13T18:54:35Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "d494a3c537a1abf7dac8038ef7bc78ef57a2d0ff",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.9",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2024-06-12T17:14:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "86060d62671b176b57bf4377a753dfdf2dca0b01",
          "body": "…olling in Chrome (#58)\n\n* ignore spurious scrollend events on page load before any actual scrolling in Chrome (#57)\r\n\r\n* update deps and migrate to eslint flat config\r\n\r\n* fix ci",
          "is_bot": false,
          "headline": "Ignore spurious `scrollend` events on page load before any actual scr…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2024-06-12T17:12:20Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ac28b74d1fceb6049171d0662282690619734f92",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.8",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2024-03-21T08:47:40Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "40f3ca8fa1be10eeccf4465779b4e7c3e55db7c0",
          "body": "…nable navigating ToC with keyboard (#55)\n\n* update deps and pre-commit\r\n\r\n* Add reactToKeys prop to Toc component and on_keydown handler to enable navigating ToC with keyboard\r\n\r\n* readme document prop reactToKeys: reactToKeys: string[] = [`ArrowDown`, `ArrowUp`, ` `, `Enter`, `Escape`, `Tab`]\r\n\r\n* new tests for ToC keyboard navigation\r\n\r\narrow keys navigate the active ToC on mobile item when open=%s\r\n\r\nEscape key closes ToC on mobile if reactToKeys=%s includes 'Escape'",
          "is_bot": false,
          "headline": "Add `reactToKeys` prop to Toc component and `on_keydown` handler to e…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2024-03-21T08:45:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8149fcc71708be014bf65e260beaf841d9a1cd14",
          "body": "…iew (#54)\n\n* When opening mobile view, scroll to the active item\r\n\r\n* Return early if nav element isn't available\r\n\r\n* update dependencies\r\n\r\n* DemoNav remove falsely copy-pasted console.error\r\n\r\n* 'subheadings are indented' simplify test DOM\r\n\r\n* reset windowWidth in between unit tests\r\n\r\nprevents\n[…]\n is in view when ToC opens on mobile\r\n\r\n* test `active heading is in into view and highlighted when opening ToC on mobile`\r\n\r\n---------\r\n\r\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "When opening ToC on mobile, ensure active ToC item is scrolled into v…",
          "author_name": "Comefled",
          "author_login": "Comefled",
          "committed_at": "2024-03-01T14:10:38Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "5db7ff08c9533ba36f79ffaab6cf94713cdc270d",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.7",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2024-01-22T11:19:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "06412975c420c36eb2c3621d003fdb076bb8aab4",
          "body": null,
          "is_bot": false,
          "headline": "expose Toc aside and nav HTMLElements for external access",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2024-01-22T10:44:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1fbc09e487f6cd002908ca109f0ec68a92a1e3c6",
          "body": "… to `keepActiveTocItemInView` (#53)\n\n* bump pre-commit and pkg deps\r\n\r\n* use scrollend event over hacky window.setTimeout(50) callback to keepActiveTocItemInView\r\n\r\n* readme document required scrollend event browser support for keepActiveTocItemInView=true\r\n\r\n* fix build by pnpm adding @sveltejs/vite-plugin-svelte and removing importsNotUsedAsValues from tsconfig.json",
          "is_bot": false,
          "headline": "Replace hacky `window.setTimeout(50)` callback with `scrollend` event…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2024-01-22T10:26:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f519ddd2f0e8ba57b9b10a9d525422d46a18e152",
          "body": "…overflow to auto` (#49)\n\n* update deps\r\n\r\n* package.json add field \"types\": \"./dist/index.d.ts\"\r\n\r\n* change default --toc-overflow: auto scroll -> auto\r\n\r\n* fix AssertionError: readme documents CSS variable 'overflow: var(--toc-overflow, auto scroll)' on line 253 which is not in Toc.svelte: expected '<script lang=\"ts\">\\n  import { onMoun…' to include 'overflow: var(--toc-overflow, auto sc…'\r\n\r\n---------\r\n\r\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "`package.json` add `\"types\": \"./dist/index.d.ts\"` and default `--toc-…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-10-10T23:13:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6e31d1caa4a4ceed5ecd62518f35b32848bbee76",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.6",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-09-12T09:27:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0a785e4d0fcaf385bc616286a7d7a7287b9c464e",
          "body": "* add prop blurParams: BlurParams | null = { duration: 200 }\r\n\r\n* test blurParams\r\n\r\n* readme.md document blurParams",
          "is_bot": false,
          "headline": "Add prop `blurParams: BlurParams | null = { duration: 200 }` (#47)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-09-10T05:49:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4cc3fa624bbd5c4c3fc0eb76275a62ffc90a0708",
          "body": "* add copy buttons to code fences\r\n\r\n* eslint pre-commit hook set --resolve-plugins-relative-to ~/.cache/pre-commit\r\n\r\n* update vitest which fixes import { onMount } from 'svelte'\r\n\r\n* bump deps and pre-commit hooks\r\n\r\n* fix failing tests from not calling requery_headings() on component import\r\n\r\n* fix prettier and npm ERR! notarget No matching version found for eslint-plugin-svelte@^4.0.0",
          "is_bot": false,
          "headline": "Copy buttons (#43)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-09-09T16:37:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4d2804942b71f7e489e6e1b8f4439b091e91c6b2",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.5",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-04-21T00:10:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7951f205ba89d566d8bf55126579cb880df731a2",
          "body": "add test 'ToC should handle custom breakpoint'\nupdate deps",
          "is_bot": false,
          "headline": "fix svelte a11y warning about <li> tabindex and role",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-04-21T00:05:27Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2d7fa2f8e1da5a601313e61dffcfa149ead2c148",
          "body": "* migrate to DRY https://github.com/janosh/workflows\n\n* npm-test-release.yml inherit secrets",
          "is_bot": false,
          "headline": "DRY GitHub Actions (#40)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-03-30T20:24:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "54c52b19b43c9fead9146567e35796157acff6a7",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.4",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-03-17T00:22:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2e8a05814865bf214dd8779feda5fdd7657c9d58",
          "body": "…ge scrolling (#39)\n\n* replace activeTocLi.scrollIntoView?.({ behavior: scrollBehavior, block: `center` })\r\n\r\nwith nav.scrollTo?.({ top: activeTocLi?.offsetTop - nav.offsetHeight / 2, behavior: `smooth` })\r\nwhich only scrolls within ToC container, not the whole page\r\n\r\n* add prop minItems: number = 0\r\n\r\ncompletely prevents the ToC from rendering if it doesn't find at least minItems matching headings on the page\r\n\r\n* document minItems prop in readme\r\n\r\n* add unit test for minItems prop",
          "is_bot": false,
          "headline": "Fix new timeout callback for keepActiveTocItemInView=true breaking pa…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-03-16T04:12:14Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "12439ade6d97e9bf1e16eefb1d1475606e86853f",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.3",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-03-12T21:01:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "05a47f4e05a8aa7bc52d98a3ee837d0e0f0f6118",
          "body": "* fix scroll to active ToC li aborting scroll from within-page links\r\n\r\n* readme document new prop scrollBehavior: 'auto' | 'smooth' = `smooth`\r\n\r\n* fix tests from vitest broken svelte/internal module resolution\r\n\r\nhttps://github.com/vitest-dev/vitest/issues/2834\r\n\r\n* clean up",
          "is_bot": false,
          "headline": "Fix ToC scroll abort (#37)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-03-12T20:59:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e2334ab977bde592e0cc42ba050ebbe07901ef66",
          "body": "fix DemoNav active route\nreplace await sleep() with svelte's await tick() in unit tests\nupdate deps",
          "is_bot": false,
          "headline": "document new CSS variables in readme",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-03-10T04:40:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "708bde1cc945196af1b42de8ce18cb1a051d7f6c",
          "body": "…examples\n\nadd src/site/DemoNav.svelte\nupdate to svelte-package v2",
          "is_bot": false,
          "headline": "add src/routes/(demos)/left-border-active-li/+page.md powered by mdsv…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-02-22T22:44:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "80d04d6dd937e2d033c873662f3f5ad0474bf774",
          "body": null,
          "is_bot": false,
          "headline": "add var(--toc-ol-list-style, none) and var(--toc-ol-padding, 0)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-02-15T14:55:54Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "28762b6d92d824fa21f05527ab2e2506d8d0a6b1",
          "body": null,
          "is_bot": false,
          "headline": "Add var(--toc-overflow, auto scroll) (#34)",
          "author_name": "Edward A. Roualdes",
          "author_login": "roualdes",
          "committed_at": "2023-02-15T14:51:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9c73ed98eed03f494c41d0e356e775eb167c1e23",
          "body": "update deps\nmove import alias from vite to svelte config\nclean up imports",
          "is_bot": false,
          "headline": "add test 'subheadings are indented'",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-01-30T00:54:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4bd4d5e55a4a491d927fc988b65839fba58c22ff",
          "body": "update deps",
          "is_bot": false,
          "headline": "tweak readme prop docs",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-01-14T23:46:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8010c0ff842758f43b9d682a4cdb08b891546fb1",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.2",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-01-13T00:30:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d73b8682138f452e1c060fcce7554ee159efd497",
          "body": "document all new CSS props in readme\nreplace svelte-github-corner with svelte-zoo\nrm pnpm-lock.yaml",
          "is_bot": false,
          "headline": "add many new CSS variables in Toc.svelte",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-01-13T00:23:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0e08608e04830c21385d9d0be42deff0d7d7c345",
          "body": "…angelog.md imports",
          "is_bot": false,
          "headline": "add vite alias $root to clean up package.json, readme|contributing|ch…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-01-07T16:03:14Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a4462b113fb166aebba733d89b2a067b4e1f91fc",
          "body": "* pre-commit autoupdate\n\nupdates:\n- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)\n- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.0 → v3.0.0-alpha.4](https://github.com/pre-commit/mirrors-prettier/compare/v3.\n[…]\nb.com/pre-commit/mirrors-eslint/compare/v8.24.0...v8.31.0)\n\n* add coverage badges to readme\n\nadd coverage update steps to contributing.md\n\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "add coverage badges to readme",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2023-01-02T22:56:58Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "b2dc5e86ad67576f3f6fe6eb969804994f9e33f6",
          "body": "split release step in test.yml into its own job",
          "is_bot": false,
          "headline": "add contributing.md",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-12-27T05:30:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6cbc1bc6244256eea0964c61329b4cac50cebd8f",
          "body": null,
          "is_bot": false,
          "headline": "add auto changelog",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-12-20T14:16:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5808c6a51db05bb42a838c491a2962600bec9a48",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.1",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-12-20T13:44:56Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f85c1403a5dcb258229cde438b83fe127bffe5e3",
          "body": null,
          "is_bot": false,
          "headline": "pnpm add -D @vitest/coverage-c8",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-12-20T13:44:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0027dd03dfda5ce0c1b1047381727d36914df0c7",
          "body": "fixes overflow at right ToC border\nupdate deps: sveltekit to v1, vite to v4",
          "is_bot": false,
          "headline": "use margin instead transform: translateX for indented ToC items",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-12-20T13:35:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5244c316a8084cd927379bdb5dbe75c81325cf2a",
          "body": null,
          "is_bot": false,
          "headline": "v0.5.0",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-12-04T04:50:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5143630e29daae00a7b09682baa50c0a447b88aa",
          "body": "* mv .github/workflows/{docs->gh-pages}.yml\r\n\r\n* overhaul error page\r\n\r\n* breaking: remove h1 from default headingSelector\r\n\r\nnow ':is(h2, h3, h4):not(.toc-exclude)'\r\n\r\n* package.json split test script into unit & e2e\r\n\r\n* breaking: hide ToC if no headings match selector\r\n\r\nadd props hideOnEmpty=tru\n[…]\nelector ' and 'issues warning if empty and warnOnEmpty=true'\r\n\r\n* try add npm login to fix release step in test.yml\r\n\r\n* add <slot name='title'>\r\n\r\n* update deps\r\n\r\n* rm pnpm from package.json scripts",
          "is_bot": false,
          "headline": "Breaking: hide ToC if empty (#30)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-12-04T04:48:30Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "e0f54f04bed5cf802b670d4aefb2a31e5f4ba3aa",
          "body": "* update deps\r\n\r\n* add .github/workflows/docs.yml\r\n\r\n* remove netlify\r\n\r\n* fix build error: the following pages contain links to /long-page#web-extensions, but no element with id=\"web-extensions\" exists on /long-page:",
          "is_bot": false,
          "headline": "Deploy docs to GitHub Pages (#29)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-11-20T05:05:57Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b6ba441f922edb39f1b8e0afc93747f996edabdc",
          "body": null,
          "is_bot": false,
          "headline": "v0.4.1",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-11-06T23:49:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "759d737b0e8ff0a10f9754dd7e95af7fe78dfb8d",
          "body": "* restrict toc>li event handler to only trigger on keyboard events if key is enter or space\r\n\r\n* add CSS var --toc-font-size\r\n\r\n* fix code blocks having different 1st line indentations\r\n\r\nneeded CSS rule: pre code { display: inline-block; }\r\n\r\n* sort CSS rules within blocks",
          "is_bot": false,
          "headline": "Only trigger keyup event handler on enter/space keys (#28)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-11-06T23:27:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "63390400093e24c97950209b742591875112b4b5",
          "body": "fix netlify build error due to missing pkg devalue",
          "is_bot": false,
          "headline": "add test 'ToC lists expected headings'",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-10-29T19:39:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "df8bd1396d5e9db755282960b533fdaac5306986",
          "body": "triggered by question in #15\nalso fix Svelte 3.52.0 warnings\n\nToc.svelte:118:12 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.\nToc.svelte:118:12 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.",
          "is_bot": false,
          "headline": "improve readme doc on CSS class toc-exclude in default heading selector",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-10-29T18:42:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "48986c59108cad672d8b557a5311588abd28771d",
          "body": "* global data-sveltekit-prefetch in app.html\r\n\r\n* yarn to pnpm\r\n\r\n* fix playwright test 'lists the right page headings'\r\n\r\nwith await page.waitForSelector(`aside.toc > nav > ul > li`)",
          "is_bot": false,
          "headline": "`yarn` to `pnpm` (#27)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-10-23T00:21:30Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "69abefcfef1b8110f2040cd3665af1a805620e3c",
          "body": "update deps\n\n[pre-commit.ci] pre-commit autoupdate (#26)\n\n* [pre-commit.ci] pre-commit autoupdate\n\nupdates:\n- [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0-alpha.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v3.0.0-alpha.0)\n- [github.com/codespell-project/codespell: v\n[…]\nmmit/mirrors-eslint: v8.19.0 → v8.24.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.19.0...v8.24.0)\n\n* codespell ignore falsy\n\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "test that readme documents no non-existent props",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-10-04T18:36:32Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "62c4fa18d1de21b2c8bf5459e0faf1239d236cef",
          "body": "fix legacy discrepancies between readme and Toc.svelte CSS vars\n\nadd --toc-li-margin CSS var",
          "is_bot": false,
          "headline": "test CSS variables in readme are in sync with actual component",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-18T21:13:01Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5e40b24ae6f5e5ee2af67749927a3157137cd2c1",
          "body": "sort props alphabetically in readme and Toc.svelte",
          "is_bot": false,
          "headline": "use code fences in readme to document prop, types and defaults",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-13T22:44:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "78732b3bbaad6cc816571494ec806a72f35c780b",
          "body": null,
          "is_bot": false,
          "headline": "v0.4.0",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-13T20:59:17Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "991527110b2e21228bea01ccd7b391c31c0358aa",
          "body": "* Toc.svelte remove unused windowHeight\r\n\r\n* breaking: rename slot tocItem to toc-item\r\n\r\n* add slot open-toc-icon\r\n\r\n<slot name=\"open-toc-icon\">\r\n  <MenuIcon width=\"1em\" />\r\n</slot>\r\n\r\n* document new/renamed slots in readme\r\n\r\n* extend readme test to also check for correct type and default value of primitive-type props\r\n\r\n* fix lines in readme offending new test\r\n\r\n* simplify readme prop doc str format",
          "is_bot": false,
          "headline": "Better readme test (#24)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-13T20:58:09Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "46107d922fee8f1e4b0045d6021933855f25a6b1",
          "body": "…nto page (#23)\n\n* refactor set_active_heading() to use nav.scrollTo() instead of activeTocLi?.scrollIntoView()\r\n\r\nlatter scrolls entire viewport, former only scrolls within ToC component\r\nalso add props\r\n- activeTocLi: HTMLLIElement | null = null\r\n- tocItems: HTMLLIElement[] = []\r\n\r\nrename prop act\n[…]\nbile-bottom, 1em)`\r\n  - `right: var(--toc-mobile-right, 1em)`\r\n\r\n* update usage of Toc.svelte on demo site\r\n\r\n* document new/renamed props tocItems, activeHeadingScrollOffset, activeTocLi and CSS vars",
          "is_bot": false,
          "headline": "Fix ToC preventing page scrolling beyond active heading when zoomed i…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-13T19:42:19Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "e97e37d666b2da555376333027afb71f38aa120d",
          "body": null,
          "is_bot": false,
          "headline": "v0.3.2",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-11T21:53:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "116b224bd05afb4e34e6ab2b79a59783bb0273e1",
          "body": "* feat: add title_tag prop to allow change html tag used for ToC title\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* fix: Delete redundant cache file\r\n\r\n* yarn add -D jsdom vitest\r\n\r\nand update existing deps\r\n\r\n* vite.config.ts set \n[…]\nt unit tests for readme, src/lib/{index.ts,Svelte.toc}\r\n\r\n* remove CI matrix strategy:\r\n\r\ndon't run tests on windows due to path issues\r\n\r\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "Add prop `titleTag` allowing to change HTML tag used for ToC title (#21)",
          "author_name": "Oskar",
          "author_login": "oskar-gmerek",
          "committed_at": "2022-09-11T21:52:24Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "38d813a2b84505a32449fc8057fb8276a6226441",
          "body": null,
          "is_bot": false,
          "headline": "v0.3.1",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-10T21:56:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5d3b49f4e979d8cf4c8b2b7dde1e22605935504c",
          "body": "* fix: exclude header of table itself by class toc-exclude\r\n\r\n* .github/workflows/test.yml only run npm publish on runner.os == 'Linux'\r\n\r\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "fix: exclude header of table itself by class toc-exclude (#20)",
          "author_name": "Oskar",
          "author_login": "oskar-gmerek",
          "committed_at": "2022-09-10T21:55:07Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fbc9a104c0ce5a4ad3785f94b6863014f9a206f2",
          "body": null,
          "is_bot": false,
          "headline": "v0.3.0",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-10T18:59:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2d62eae6fd55d705a774524b057af26bde927502",
          "body": "* drop page.subscribe from sveltekit $app/stores in favor of MutationObserver for keeping ToC in sync with page on navigation (and now also DOM insertions/node removals)\r\n\r\n* remove mentions in readme and package.json that this component works only for sveltekit sites\r\n\r\n* test ToC updates when adding/removing DOM nodes after load",
          "is_bot": false,
          "headline": "Mutation observer (#19)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-10T18:58:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1fa5f7f8a58ff7a91d27779ee7de9e8846c324f8",
          "body": null,
          "is_bot": false,
          "headline": "mv .github/workflows/{publish,test}.yml and have it run yarn test in CI",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-06T00:29:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8ee8f8ec3c0eae6b2adcda7a94b119eb2077e7ea",
          "body": null,
          "is_bot": false,
          "headline": "add playwright testing in tests/toc.test.ts",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-06T00:29:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f291349fb4ecbcd819463c3d1df7e5d8fdd966bd",
          "body": null,
          "is_bot": false,
          "headline": "update deps and address sveltekit breaking changes",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-09-06T00:29:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f0249cdba9dd6dacd71ad69eadf78e2ca27577be",
          "body": "* Fix cases where getOffsetTop(node) is returning 0\r\n\r\nHad that Issue, found solution on https://stackoverflow.com/a/59829562/10980863\r\n\r\n* vite config set server and preview port to 3000\r\n\r\n* add types to get_offset_top()\r\n\r\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "Fix cases where node.offsetTop is returning 0 (#16)",
          "author_name": "Juri Wolf",
          "author_login": "Amerlander",
          "committed_at": "2022-08-29T17:46:58Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ff077ff258a792eaa013c702c6b88c88b4983e6d",
          "body": null,
          "is_bot": false,
          "headline": "v0.2.12",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-08-24T04:53:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "22d7d056032e8a104bc116a81f0e70380f487d00",
          "body": "* Export headings and desktop and add visiblity prop\r\n\r\n- Export the array of headings\r\n- Export if desktop is active or not\r\n- Add option to disable visibility\r\n\r\nKnowing if Toc is in desktop mode enables me to change the layout according to that and change my layout to use the space without having\n[…]\nte Toc.svelte\r\n\r\nChange `visible` to `hide` since it feels more convenient\r\n\r\n* document new props headings, desktop and hide in readme\r\n\r\nCo-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>",
          "is_bot": false,
          "headline": "Export headings and desktop and add hide prop (#14)",
          "author_name": "Juri Wolf",
          "author_login": "Amerlander",
          "committed_at": "2022-08-24T02:41:57Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "c5f61aeea4c4041316989fc8c8ac313b6cce723d",
          "body": null,
          "is_bot": false,
          "headline": "v0.2.11",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-08-19T01:39:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "916f5235c25e4b6ffc9d9ad99cf8fdb35b9b11f7",
          "body": "add stackblitz readme badge",
          "is_bot": false,
          "headline": "sveltekit auto migration",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-08-19T01:37:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e16ed950cda138a98ea39f6d4f46606ba4fedad7",
          "body": null,
          "is_bot": false,
          "headline": "v0.2.10",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-07-17T17:50:27Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "eb9420ecce73736bdc796f344fd8522532199a51",
          "body": "…t` })\n\n`scrollIntoViewIfNeeded` was [never standardized](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoViewIfNeeded). While it has pretty [good browser support](https://caniuse.com/scrollintoviewifneeded) (currently at 92%), it doesn't exist in Firefox leading to error `scrollIntoViewIfNeeded is not a function`.\n\nSee also https://github.com/janosh/svelte-multiselect/issues/87.",
          "is_bot": false,
          "headline": "replace scrollIntoViewIfNeeded() with scrollIntoView({ block: `neares…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-07-17T17:45:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6d6bb2411a59e1831fcf48c45712c0612b6cbf47",
          "body": null,
          "is_bot": false,
          "headline": "update deps",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-07-17T17:40:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "271c2ad485fa460157f4ae2445b976380de8e581",
          "body": "updates:\n- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.3.0)\n- [github.com/pre-commit/mirrors-prettier: v2.6.2 → v2.7.1](https://github.com/pre-commit/mirrors-prettier/compare/v2.6.2...v2.7.1)\n- [github.com/pre-commit/mirrors-eslint: v8.12.0 → v8.19.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.12.0...v8.19.0)",
          "is_bot": false,
          "headline": "[pre-commit.ci] pre-commit autoupdate (#13)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-07-05T08:05:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0859a0879d212aafcc8c2d16405f4da9417b918b",
          "body": "updates:\r\n- [github.com/pre-commit/mirrors-prettier: v2.5.1 → v2.6.2](https://github.com/pre-commit/mirrors-prettier/compare/v2.5.1...v2.6.2)\r\n- [github.com/pre-commit/mirrors-eslint: v8.6.0 → v8.12.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.6.0...v8.12.0)",
          "is_bot": false,
          "headline": "[pre-commit.ci] pre-commit autoupdate (#11)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-04-04T16:41:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a51a43787cd3a32e05d53c59661dbf3306bce41b",
          "body": null,
          "is_bot": false,
          "headline": "v0.2.9",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-04-02T12:13:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c487b897ca33bd05b3e0abd5e8bc640923093281",
          "body": "… component initialization'",
          "is_bot": false,
          "headline": "fix page.subscribe(requery_headings) causing 'Function called outside…",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-04-02T12:13:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5c9b832ec9885b6f1a68eee9f766ee25ea98d9a0",
          "body": null,
          "is_bot": false,
          "headline": "v0.2.8",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-03-23T15:33:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f418663f735a946eb972da1b8e7da6406cefaf40",
          "body": "* replace afterNavigate() with $page.subscribe()\r\n\r\npage store imports fine from '$app/stores' even from inside components in node_modules (https://github.com/sveltejs/kit/issues/4432)\r\n\r\n* update deps",
          "is_bot": false,
          "headline": "Fix `afterNavigate()` runtime error (#10)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-03-23T15:32:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6d6152a8ebeb3db73272c688ef8a400dd8acbcd1",
          "body": null,
          "is_bot": false,
          "headline": "v0.2.7",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-03-13T13:34:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3a4d11245c0ed9eed7cbbba17e4d8772f9578fa4",
          "body": "* tsconfig bump module + target to esnext\r\n\r\n* readme add live demo link\r\n\r\n* trigger publish CI on GH release\r\n\r\n* move ToC from left to right side on landing and long page\r\n\r\n* extract CSS vars from __layout to global.css\r\n\r\n* change default headingSelector to main :where(h1, h2, h3, h4):not(.toc-exclude)\r\n\r\n* add CSS var --toc-active-padding\r\n\r\n* add CSS var --toc-active-margin and use transform translateX instead of left margin to indent lower-level ToC items",
          "is_bot": false,
          "headline": "Exclude headings with class `.toc-exclude` (#9)",
          "author_name": "Janosh Riebesell",
          "author_login": "janosh",
          "committed_at": "2022-03-13T13:28:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 22,
      "commits_last_year": 20,
      "latest_release_at": "2026-02-20T02:31:48Z",
      "latest_release_tag": "v0.6.3",
      "releases_from_tags": false,
      "days_since_last_push": 7,
      "active_weeks_last_year": 11,
      "days_since_latest_release": 164,
      "mean_days_between_releases": 119.5
    },
    "artifacts": {
      "collected": true,
      "structure": [],
      "declarations": [
        {
          "name": "svelte-toc",
          "path": "package.json",
          "tokens": [
            "npm.entry",
            "npm.peer_dependencies"
          ],
          "ecosystem": "npm"
        }
      ]
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "readme_badges": {
        "hosts": [
          "github.com",
          "shields.io"
        ],
        "total": 5,
        "header": 5,
        "collected": true,
        "has_inspect_badge": false
      },
      "has_description": true,
      "has_contributing": true,
      "health_percentage": 57,
      "has_issue_template": false,
      "has_code_of_conduct": false,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": [
        {
          "name": "svelte-toc",
          "exists": true,
          "license": "MIT",
          "keywords": [
            "component",
            "headings",
            "navigation",
            "sidebar",
            "svelte",
            "table of contents",
            "toc"
          ],
          "ecosystem": "npm",
          "categories": [],
          "matches_repo": true,
          "registry_url": "https://www.npmjs.com/package/svelte-toc",
          "declared_type": null,
          "is_deprecated": false,
          "latest_version": "0.7.0",
          "repository_url": "https://github.com/janosh/svelte-toc",
          "versions_count": 42,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": 1,
          "monthly_downloads": 3227,
          "first_published_at": "2021-05-19T15:58:54.053000Z",
          "latest_published_at": "2026-05-28T10:04:40.110000Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 67
        }
      ]
    },
    "popularity": {
      "forks": 6,
      "stars": 125,
      "watchers": 2,
      "fork_history": {
        "days": [
          {
            "date": "2022-08-24",
            "count": 1
          },
          {
            "date": "2022-08-25",
            "count": 1
          },
          {
            "date": "2022-09-11",
            "count": 1
          },
          {
            "date": "2023-02-15",
            "count": 1
          },
          {
            "date": "2024-01-10",
            "count": 1
          },
          {
            "date": "2025-06-11",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 6,
        "total_forks": 6
      },
      "star_history": null,
      "open_issues_and_prs": 0
    },
    "ai_readiness": {
      "has_nix": false,
      "example_dirs": [],
      "has_llms_txt": false,
      "has_dockerfile": false,
      "has_mcp_signal": false,
      "bootstrap_files": [],
      "api_schema_files": [],
      "has_devcontainer": false,
      "typecheck_configs": [
        "tsconfig.json"
      ],
      "toolchain_manifests": [],
      "largest_source_bytes": 48791,
      "source_files_sampled": 13,
      "oversized_source_files": 0,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "package.json"
      ],
      "advisories": {
        "error": null,
        "scope": "repository_graph",
        "source": "osv",
        "findings": [],
        "collected": true,
        "malicious": [],
        "truncated": false,
        "by_severity": {},
        "advisory_count": 0,
        "affected_count": 0,
        "assessed_count": 4,
        "malicious_count": 0,
        "assessed_package": null,
        "unassessed_count": 12,
        "direct_affected_count": 0
      },
      "ecosystems": [
        "npm"
      ],
      "dependencies": [],
      "all_dependencies": {
        "error": null,
        "source": "github-sbom",
        "packages": [
          {
            "name": "@playwright/test",
            "direct": false,
            "version": "1.62.0",
            "ecosystem": "npm"
          },
          {
            "name": "@sveltejs/adapter-static",
            "direct": false,
            "version": "^3.0.10",
            "ecosystem": "npm"
          },
          {
            "name": "@sveltejs/kit",
            "direct": false,
            "version": "^2.70.1",
            "ecosystem": "npm"
          },
          {
            "name": "@sveltejs/package",
            "direct": false,
            "version": "^2.5.8",
            "ecosystem": "npm"
          },
          {
            "name": "@sveltejs/vite-plugin-svelte",
            "direct": false,
            "version": "^7.2.0",
            "ecosystem": "npm"
          },
          {
            "name": "@vitest/coverage-v8",
            "direct": false,
            "version": "4.1.10",
            "ecosystem": "npm"
          },
          {
            "name": "@wooorm/starry-night",
            "direct": false,
            "version": "^3.10.0",
            "ecosystem": "npm"
          },
          {
            "name": "jsdom",
            "direct": false,
            "version": "^30.0.0",
            "ecosystem": "npm"
          },
          {
            "name": "mdsvex",
            "direct": false,
            "version": "^0.12.8",
            "ecosystem": "npm"
          },
          {
            "name": "svelte",
            "direct": false,
            "version": "^5.56.8",
            "ecosystem": "npm"
          },
          {
            "name": "svelte-check",
            "direct": false,
            "version": "^4.7.3",
            "ecosystem": "npm"
          },
          {
            "name": "svelte-multiselect",
            "direct": false,
            "version": "^11.8.0",
            "ecosystem": "npm"
          },
          {
            "name": "typescript",
            "direct": false,
            "version": "^6.0.3",
            "ecosystem": "npm"
          },
          {
            "name": "vite",
            "direct": false,
            "version": "^8.1.5",
            "ecosystem": "npm"
          },
          {
            "name": "vite-plus",
            "direct": false,
            "version": "0.2.6",
            "ecosystem": "npm"
          },
          {
            "name": "vitest",
            "direct": false,
            "version": "4.1.10",
            "ecosystem": "npm"
          }
        ],
        "collected": true,
        "truncated": false,
        "total_count": 16,
        "direct_count": 0,
        "indirect_count": 16
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 0,
        "merged_prs": 43,
        "open_issues": 0,
        "closed_ratio": 1,
        "closed_issues": 26,
        "closed_unmerged_prs": 6
      },
      "bus_factor": 1,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "janosh",
          "commits": 146,
          "avatar_url": "https://avatars.githubusercontent.com/u/30958850?v=4"
        },
        {
          "type": "User",
          "login": "Amerlander",
          "commits": 2,
          "avatar_url": "https://avatars.githubusercontent.com/u/3764089?v=4"
        },
        {
          "type": "User",
          "login": "oskar-gmerek",
          "commits": 2,
          "avatar_url": "https://avatars.githubusercontent.com/u/53402105?v=4"
        },
        {
          "type": "User",
          "login": "Comefled",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/161749592?v=4"
        },
        {
          "type": "User",
          "login": "roualdes",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/3252729?v=4"
        },
        {
          "type": "User",
          "login": "Zlendy",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/22578704?v=4"
        }
      ],
      "contributors_sampled": 6,
      "top_contributor_share": 0.954
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "gh-pages.yml",
        "lint.yml",
        "publish.yml",
        "test.yml"
      ],
      "has_docs_dir": false,
      "linter_configs": [],
      "has_editorconfig": false,
      "has_linter_config": false,
      "has_precommit_config": false
    },
    "security_signals": {
      "lockfiles": [],
      "scorecard": {
        "checks": [
          {
            "name": "Binary-Artifacts",
            "score": 10,
            "reason": "no binaries found in the repo",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
          },
          {
            "name": "Branch-Protection",
            "score": null,
            "reason": "internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": 10,
            "reason": "2 out of 2 merged PRs checked by a CI test -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
          },
          {
            "name": "CII-Best-Practices",
            "score": 0,
            "reason": "no effort to earn an OpenSSF best practices badge detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
          },
          {
            "name": "Code-Review",
            "score": 0,
            "reason": "Found 0/30 approved changesets -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 3 contributing companies or organizations -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
          },
          {
            "name": "Dangerous-Workflow",
            "score": 10,
            "reason": "no dangerous workflow patterns detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
          },
          {
            "name": "Dependency-Update-Tool",
            "score": 0,
            "reason": "no update tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
          },
          {
            "name": "Fuzzing",
            "score": 0,
            "reason": "project is not fuzzed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
          },
          {
            "name": "License",
            "score": 10,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 0,
            "reason": "project is archived",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": null,
            "reason": "packaging workflow not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": 0,
            "reason": "dependency not pinned by hash detected -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 0,
            "reason": "SAST tool is not run on all commits -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
          },
          {
            "name": "Security-Policy",
            "score": 0,
            "reason": "security policy file not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
          },
          {
            "name": "Signed-Releases",
            "score": null,
            "reason": "no releases found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
          },
          {
            "name": "Token-Permissions",
            "score": 10,
            "reason": "GitHub workflow tokens follow principle of least privilege",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
          },
          {
            "name": "Vulnerabilities",
            "score": 10,
            "reason": "0 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "9ad3471773d0829d8e6d65dfb002b6420a79002a",
        "ran_at": "2026-08-04T01:40:18Z",
        "aggregate_score": 4.7,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": false
    },
    "contribution_flow": {
      "collected": true,
      "recent_prs": {
        "merged_7d": 0,
        "decided_7d": 0,
        "merged_30d": 1,
        "authors_30d": 1,
        "decided_30d": 1,
        "sample_size": 49,
        "window_days": 30,
        "sample_exhausted": false,
        "authors_probed_30d": 1,
        "newcomer_merged_30d": 0,
        "bot_prs_excluded_30d": 0,
        "newcomer_authors_30d": 0,
        "newcomer_decided_30d": 0
      },
      "ci_last_run_at": "2026-07-27T12:16:57Z",
      "oldest_open_prs": [],
      "last_merged_pr_at": "2026-07-27T09:11:50Z",
      "ci_last_conclusion": "SUCCESS",
      "oldest_open_issues": []
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/janosh/svelte-toc",
    "host": "github.com",
    "name": "svelte-toc",
    "owner": "janosh"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "critical",
      "name": "Overall health",
      "note": "The weighted overall 62 is calibrated to 69 on the published index scale (record calibration 2026-08-02). Abandonment Policy applies a 40% multiplier to weighted overall health and gives it a ceiling of 19.",
      "notes": [
        {
          "code": "overall_calibration",
          "params": {
            "raw": 62,
            "calibrated": 69,
            "calibration": "2026-08-02"
          }
        },
        {
          "code": "abandonment_overall_adjustment",
          "params": {
            "cap": 19,
            "pct": 40
          }
        }
      ],
      "value": 19,
      "inputs": {
        "security": 58,
        "vitality": 66,
        "community": 55,
        "governance": 65,
        "calibration": "2026-08-02",
        "engineering": 67,
        "ai_readiness": 43,
        "abandonment_cap": 19,
        "abandonment_state": "declared",
        "weighted_overall_raw": 62,
        "abandonment_multiplier": 40,
        "weighted_overall_before_abandonment": 69,
        "overall_after_abandonment_multiplier": 28
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "good",
        "name": "Vitality",
        "value": 66,
        "weight": 0.21,
        "metrics": [
          {
            "key": "development_activity",
            "band": "moderate",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 56,
            "inputs": {
              "commits_last_year": 20,
              "human_commit_share": 1,
              "days_since_last_push": 7,
              "active_weeks_last_year": 11
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 7 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 7
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "11/52 weeks with commits",
                "points": 7.6,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 11
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "20 commits in the last year",
                "points": 11.9,
                "status": "partial",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 20
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "project is archived",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "excellent",
            "name": "Release discipline",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 82,
            "inputs": {
              "releases_count": 22,
              "latest_release_tag": "v0.6.3",
              "releases_from_tags": false,
              "days_since_latest_release": 164,
              "mean_days_between_releases": 119.5
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "22 releases published",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "releases_published",
                    "params": {
                      "count": 22
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 164 days ago",
                "points": 27,
                "status": "partial",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 164
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~119.5 days",
                "points": 19.8,
                "status": "partial",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 119.5
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "openssf_scorecard_signed_releases",
                "name": "OpenSSF Scorecard: Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              }
            ]
          },
          {
            "key": "abandonment",
            "band": "weak",
            "name": "Abandonment",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "cap": 19,
              "state": "declared",
              "guards": [],
              "signals": [],
              "red_flag": true,
              "multiplier_pct": 40,
              "declared_reason": "archived",
              "unverified_reason": null,
              "unanswered_open_prs": null,
              "unanswered_open_issues": null,
              "days_since_last_merged_pr": null,
              "days_since_last_human_commit": null,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "the repository is archived on GitHub",
                "points": 40,
                "status": "partial",
                "details": [
                  {
                    "code": "abandonment_archived",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "moderate",
        "name": "Community & Adoption",
        "value": 55,
        "weight": 0.17,
        "metrics": [
          {
            "key": "popularity",
            "band": "weak",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "forks": 6,
              "stars": 125,
              "watchers": 2,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "125 stars",
                "points": 34,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 125
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "6 forks",
                "points": 5.8,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 6
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "2 watchers",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 2
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "good",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 70,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "readme_badges": 5,
              "has_contributing": true,
              "has_issue_template": false,
              "has_code_of_conduct": false,
              "readme_badge_services": [
                "github.com",
                "shields.io"
              ],
              "has_pull_request_template": false
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 22.5,
                "status": "met",
                "details": [],
                "max_points": 22.5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "recognized license (MIT)",
                "points": 22.5,
                "status": "met",
                "details": [
                  {
                    "code": "license_standard",
                    "params": {}
                  },
                  {
                    "code": "license_spdx",
                    "params": {
                      "spdx": "MIT"
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributing_guide",
                "name": "CONTRIBUTING guide",
                "detail": null,
                "points": 18,
                "status": "met",
                "details": [],
                "max_points": 18
              },
              {
                "key": "code_of_conduct",
                "name": "Code of conduct",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 13.5
              },
              {
                "key": "issue_template",
                "name": "Issue template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.2
              },
              {
                "key": "pr_template",
                "name": "PR template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.3
              }
            ]
          },
          {
            "key": "ecosystem_adoption",
            "band": "moderate",
            "name": "Ecosystem adoption (downloads)",
            "note": "Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "registry_dependents"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 58,
            "inputs": {
              "packages": [
                "svelte-toc"
              ],
              "dependents": null,
              "ecosystems": "npm",
              "total_downloads": null,
              "monthly_downloads": 3227
            },
            "components": [
              {
                "key": "monthly_downloads",
                "name": "Monthly downloads",
                "detail": "3,227 downloads/month across npm",
                "points": 46.8,
                "status": "partial",
                "details": [
                  {
                    "code": "downloads_monthly",
                    "params": {
                      "count": 3227,
                      "ecosystems": "npm"
                    }
                  }
                ],
                "max_points": 80
              },
              {
                "key": "registry_dependents",
                "name": "Registry dependents",
                "detail": "not reported by this ecosystem",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_reported_by_this_ecosystem",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "good",
        "name": "Sustainability & Governance",
        "value": 65,
        "weight": 0.23,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "at_risk",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 28,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 6,
              "top_contributor_share": 0.954
            },
            "components": [
              {
                "key": "bus_factor",
                "name": "Bus factor",
                "detail": "1 contributor(s) cover half of all commits",
                "points": 9,
                "status": "partial",
                "details": [
                  {
                    "code": "bus_factor",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 54
              },
              {
                "key": "commit_distribution",
                "name": "Commit distribution",
                "detail": "top contributor authored 95% of commits",
                "points": 1,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 95
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "6 contributors",
                "points": 8.1,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 6
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 3 contributing companies or organizations -- score normalized to 10",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "good",
            "name": "Issue & PR responsiveness",
            "note": "Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "newcomer_pr_acceptance"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 79,
            "inputs": {
              "merged_prs": 43,
              "open_issues": 0,
              "closed_issues": 26,
              "prs_merged_7d": 0,
              "prs_decided_7d": 0,
              "prs_merged_30d": 1,
              "prs_decided_30d": 1,
              "issue_closed_ratio": 1,
              "closed_unmerged_prs": 6,
              "first_time_authors_30d": 0,
              "first_time_prs_merged_30d": 0,
              "first_time_prs_decided_30d": 0
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "100% of issues closed",
                "points": 42,
                "status": "met",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 100
                    }
                  }
                ],
                "max_points": 42
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "43/49 decided PRs merged",
                "points": 26.3,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 43,
                      "decided": 49
                    }
                  }
                ],
                "max_points": 30
              },
              {
                "key": "newcomer_pr_acceptance",
                "name": "Newcomer PR acceptance",
                "detail": "no first-time contributor's PR decided in 30d",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_newcomer_prs",
                    "params": {
                      "days": 30
                    }
                  }
                ],
                "max_points": 13
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 0/30 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "good",
            "name": "Ownership & stewardship",
            "note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "verified_domain"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 66,
            "inputs": {
              "followers": 687,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "janosh",
              "public_repos": 24,
              "account_age_days": 3278
            },
            "components": [
              {
                "key": "ownership_backing",
                "name": "Ownership backing",
                "detail": "personal (user) account",
                "points": 10,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_personal",
                    "params": {}
                  }
                ],
                "max_points": 30
              },
              {
                "key": "verified_domain",
                "name": "Verified domain",
                "detail": "not applicable to user accounts",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_applicable_to_user_accounts",
                    "params": {}
                  }
                ],
                "max_points": 20
              },
              {
                "key": "owner_reach",
                "name": "Owner reach",
                "detail": "687 followers of janosh",
                "points": 20.4,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 687,
                      "login": "janosh"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "24 public repos, account ~8 yr old",
                "points": 22.2,
                "status": "partial",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 24
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 8
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "exceptional",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "svelte-toc"
              ],
              "ecosystems": "npm",
              "any_deprecated": false,
              "min_days_since_publish": 67
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on npm",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "npm"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 67 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 67
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "42 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 42
                    }
                  }
                ],
                "max_points": 20
              },
              {
                "key": "not_deprecated",
                "name": "Not deprecated",
                "detail": "active, not deprecated or yanked",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "package_not_deprecated",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
      },
      {
        "key": "engineering",
        "band": "good",
        "name": "Engineering Quality",
        "value": 67,
        "weight": 0.19,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "good",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 68,
            "inputs": {
              "has_ci": true,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": false,
              "has_precommit_config": false
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "4 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 4
                    }
                  }
                ],
                "max_points": 24
              },
              {
                "key": "tests_present",
                "name": "Tests present",
                "detail": null,
                "points": 24,
                "status": "met",
                "details": [],
                "max_points": 24
              },
              {
                "key": "linter_config",
                "name": "Linter config",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 16
              },
              {
                "key": "pre_commit_hooks",
                "name": "Pre-commit hooks",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 9.6
              },
              {
                "key": "editorconfig",
                "name": ".editorconfig",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.4
              },
              {
                "key": "openssf_scorecard_ci_tests",
                "name": "OpenSSF Scorecard: CI-Tests",
                "detail": "2 out of 2 merged PRs checked by a CI test -- score normalized to 10",
                "points": 20,
                "status": "met",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "good",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 65,
            "inputs": {
              "topics": [
                "svelte",
                "sveltekit",
                "table-of-contents",
                "component",
                "sticky",
                "responsive-web-design",
                "toc"
              ],
              "has_wiki": false,
              "homepage": "https://janosh.github.io/svelte-toc",
              "has_readme": true,
              "has_docs_dir": false,
              "has_description": true
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 30,
                "status": "met",
                "details": [],
                "max_points": 30
              },
              {
                "key": "documentation_directory",
                "name": "Documentation directory",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": "https://janosh.github.io/svelte-toc",
                "points": 15,
                "status": "met",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": "7 topics",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "topics_count",
                    "params": {
                      "count": 7
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "moderate",
        "name": "Security",
        "value": 58,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "weak",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "branch_protection",
                    "packaging",
                    "signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 47,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 15,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 3,
              "scorecard_aggregate": 4.7
            },
            "components": [
              {
                "key": "binary_artifacts",
                "name": "Binary-Artifacts",
                "detail": "no binaries found in the repo",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "branch_protection",
                "name": "Branch-Protection",
                "detail": "internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "2 out of 2 merged PRs checked by a CI test -- score normalized to 10",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "cii_best_practices",
                "name": "CII-Best-Practices",
                "detail": "no effort to earn an OpenSSF best practices badge detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "code_review",
                "name": "Code-Review",
                "detail": "Found 0/30 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 3 contributing companies or organizations -- score normalized to 10",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "dangerous_workflow",
                "name": "Dangerous-Workflow",
                "detail": "no dangerous workflow patterns detected",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "dependency_update_tool",
                "name": "Dependency-Update-Tool",
                "detail": "no update tool detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "fuzzing",
                "name": "Fuzzing",
                "detail": "project is not fuzzed",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "license file detected",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "project is archived",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow not detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "SAST tool is not run on all commits -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "security_policy",
                "name": "Security-Policy",
                "detail": "security policy file not detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "signed_releases",
                "name": "Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "token_permissions",
                "name": "Token-Permissions",
                "detail": "GitHub workflow tokens follow principle of least privilege",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "vulnerabilities",
                "name": "Vulnerabilities",
                "detail": "0 existing vulnerabilities detected",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              }
            ]
          },
          {
            "key": "dependency_advisories",
            "band": "exceptional",
            "name": "Dependency advisories",
            "note": "Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 4 resolved dependencies against OSV; 12 could not be assessed (no resolved version, an unsupported ecosystem, or beyond the reported package list). This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "indirect_dependencies_free_of_known_advisories",
                    "no_advisories_left_outstanding"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              },
              {
                "code": "advisories_scope_repository",
                "params": {
                  "assessed": 4
                }
              },
              {
                "code": "advisories_unassessed",
                "params": {
                  "count": 12
                }
              },
              {
                "code": "advisories_repo_graph_caveat",
                "params": {}
              },
              {
                "code": "advisories_reachability",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "source": "osv",
              "advisories": 0,
              "affected_packages": 0,
              "assessed_packages": 4,
              "unassessed_packages": 12,
              "affected_by_severity": "none",
              "direct_affected_packages": 0
            },
            "components": [
              {
                "key": "direct_dependencies_free_of_known_advisories",
                "name": "Direct dependencies free of known advisories",
                "detail": "no direct dependency carries a known advisory",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "no_direct_advisories",
                    "params": {}
                  }
                ],
                "max_points": 35
              },
              {
                "key": "indirect_dependencies_free_of_known_advisories",
                "name": "Indirect dependencies free of known advisories",
                "detail": "transitive set not separable from development and test dependencies in this scope",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "advisories_scope_not_separable",
                    "params": {}
                  }
                ],
                "max_points": 25
              },
              {
                "key": "no_advisories_left_outstanding",
                "name": "No advisories left outstanding",
                "detail": "no advisory carries a publication date",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "advisories_no_publication_date",
                    "params": {}
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "malicious_dependencies",
            "band": "exceptional",
            "name": "Malicious dependencies",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "source": "osv",
              "meaning": "reported as a malicious package by the OpenSSF corpus; the remedy is removal or moving off the compromised name, never an upgrade of the same artifact. Versions the registry has since pulled are listed but not scored",
              "packages": [],
              "red_flag": false,
              "assessed_packages": 4,
              "malicious_packages": 0,
              "direct_malicious_packages": 0,
              "withdrawn_malicious_packages": 0,
              "installable_malicious_packages": 0
            },
            "components": [
              {
                "key": "no_dependency_reported_as_a_malicious_package",
                "name": "No dependency reported as a malicious package",
                "detail": "no dependency is reported as a malicious package",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "no_malicious_dependencies",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          },
          {
            "key": "high_risk_jurisdiction_exposure",
            "band": "exceptional",
            "name": "High-Risk Jurisdiction Exposure",
            "note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
            "notes": [
              {
                "code": "jurisdiction_evidence_limits",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": false,
              "exposures": [],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "commit_weight_rule": {
                "min_commits": 50,
                "min_commit_share": 0.1
              },
              "review_only_matches": 0,
              "below_threshold_exposures": [],
              "assessed_self_published_locations": 9
            },
            "components": [
              {
                "key": "policy_exposure_multiplier",
                "name": "Policy exposure multiplier",
                "detail": "no confirmed policy-scope location match",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "jurisdiction_no_match",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
      },
      {
        "key": "ai_readiness",
        "band": "weak",
        "name": "AI Readiness",
        "value": 43,
        "weight": 0.04,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "at_risk",
            "name": "Agent context & guidance",
            "note": null,
            "notes": [],
            "value": 28,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": 0.52,
              "agent_instruction_files": [],
              "agent_instruction_max_bytes": null
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": "no CLAUDE.md / AGENTS.md / editor rules",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_instructions",
                    "params": {}
                  }
                ],
                "max_points": 45
              },
              {
                "key": "machine_readable_docs_llms_txt",
                "name": "Machine-readable docs (llms.txt)",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "legible_commit_history",
                "name": "Legible commit history",
                "detail": "52 of 100 human commits state their intent (structured subject or explanatory body)",
                "points": 27.7,
                "status": "partial",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 52,
                      "sampled": 100
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "at_risk",
            "name": "Verify loop (build / test / typecheck)",
            "note": null,
            "notes": [],
            "value": 33,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [],
              "has_dockerfile": false,
              "typed_language": true,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": false,
              "typecheck_configs": [
                "tsconfig.json"
              ],
              "agent_commit_share": 0,
              "toolchain_manifests": [],
              "dependency_bot_commit_share": 0
            },
            "components": [
              {
                "key": "one_command_bootstrap",
                "name": "One-command bootstrap",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "automated_tests",
                "name": "Automated tests",
                "detail": null,
                "points": 22,
                "status": "met",
                "details": [],
                "max_points": 22
              },
              {
                "key": "lint_format_config",
                "name": "Lint / format config",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": "tsconfig.json",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "tsconfig.json"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "no agent-authored commits among the last 100",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_authored_commits",
                    "params": {
                      "sampled": 100
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "no automated dependency updates observed",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_dependency_automation",
                    "params": {}
                  }
                ],
                "max_points": 8
              },
              {
                "key": "openssf_scorecard_pinned_dependencies",
                "name": "OpenSSF Scorecard: Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "ai_code_legibility",
            "band": "exceptional",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "primary_language": "TypeScript",
              "largest_source_bytes": 48791,
              "source_files_sampled": 13,
              "oversized_source_files": 0
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "TypeScript (statically typed)",
                "points": 45,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "TypeScript"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "0/13 source files over 60KB",
                "points": 55,
                "status": "met",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 13,
                      "oversized": 0
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight: agent tooling is a real maintenance signal, but its absence must never gate the top of the scale (calibration saturates at raw 91, so 100/100 remains reachable with AI Readiness at zero)."
      }
    ],
    "classification": {
      "top": [
        "library"
      ],
      "labels": [
        "library"
      ],
      "scores": {
        "library": 17
      },
      "primary": "library",
      "evidence": [
        {
          "tier": "declared",
          "label": "library",
          "source": "npm.entry",
          "weight": 8
        },
        {
          "tier": "distribution",
          "label": "library",
          "source": "registry:npm",
          "weight": 6
        },
        {
          "tier": "declared",
          "label": "library",
          "source": "npm.peer_dependencies",
          "weight": 3
        }
      ],
      "artifacts": [
        {
          "path": "package.json",
          "labels": [
            "library"
          ],
          "ecosystem": "npm"
        }
      ],
      "confidence": "high",
      "host_extension": false,
      "runs_as_process": false,
      "consumed_by_code": true
    },
    "metrics_version": "2.5.0"
  },
  "warnings": [
    "Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token"
  ],
  "report_type": "repository",
  "generated_at": "2026-08-04T01:40:27.635439Z",
  "schema_version": "0.30.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/j/janosh/svelte-toc.svg",
  "full_name": "janosh/svelte-toc",
  "license_state": "standard",
  "license_spdx": "MIT"
}

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.5.0、模式 v0.30.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计npm.