diff --git a/CHANGELOG.md b/CHANGELOG.md index 27ce4d3..a2d3c33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to `ichava/icon-sets-sync` (formerly `ichava/maintainer-tool ### Changed +- `docs/configuration.md` and the SVG package's comments name icon-browser where they named react-icon-browser, which is retired; the browser's SVG caps live in icon-browser's `resources/js` since 2026-11-12. CHANGELOG history and the guard in `syncscript_test.go` that names the retired path are unchanged. - `release.yml` calls simtabi/.github's shared `go-release.yml` at its `v1.0.0` release (`767e0c0`), pinned as `@ # v1.0.0` so Dependabot can advance the commit and the tag comment together. The release adds optional inputs only (`node-version` among them) and changes nothing a caller passes. ## [0.1.0] - 2026-11-13 diff --git a/docs/configuration.md b/docs/configuration.md index c272105..11d8ac4 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -235,7 +235,7 @@ through with a warning. `report_only` writes nothing and is never refused. A document over 4,500,000 bytes or 30,000 elements is refused before it builds a tree. It is treated like an unparseable file: counted and left as it was. The caps are the `MaxBytes` and `MaxNodes` fields on the -policy, and match react-icon-browser's and core's; the pack SVGs measure at most 1.0 MB and 6,741 elements. +policy, and match icon-browser's browser (formerly react-icon-browser) and core's; the pack SVGs measure at most 1.0 MB and 6,741 elements. ## Download and extraction limits diff --git a/src/internal/core/svg/policy.go b/src/internal/core/svg/policy.go index 2b6cb86..5ed4db7 100644 --- a/src/internal/core/svg/policy.go +++ b/src/internal/core/svg/policy.go @@ -23,8 +23,9 @@ import ( // largest file is 1,053,328 bytes and the largest has 6,741 elements, so these // are about 4.3x and 4.5x the observed maximum. // -// They match react-icon-browser's AppConfig.limits (svgMaxChars 4,500,000, -// svgMaxNodes 30,000, react-icon-browser#197) and core's caps, so this tool +// They match the browser's AppConfig.limits (svgMaxChars 4,500,000, +// svgMaxNodes 30,000, set in react-icon-browser#197; the browser lives in +// icon-browser's resources/js since 2026-11-12) and core's caps, so this tool // never accepts an SVG that a consumer rejects. Change all three together. const ( DefaultMaxBytes = 4_500_000 diff --git a/src/internal/core/svg/vectors_test.go b/src/internal/core/svg/vectors_test.go index a3d295d..44039a3 100644 --- a/src/internal/core/svg/vectors_test.go +++ b/src/internal/core/svg/vectors_test.go @@ -8,7 +8,7 @@ import ( ) // testdata/presentation-vectors.json is the vector table every sanitiser in -// the ecosystem runs: byte-identical here and in core, react-icon-browser and +// the ecosystem runs: byte-identical here and in core, icon-browser and // js-icon-components. It is the only copy of these rows here: its first 27 // were an inline Go table, removed once every one of them was confirmed in // this file. This test runs the whole shared file, including the marker rows