Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `@<commit> # 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
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions src/internal/core/svg/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/internal/core/svg/vectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading