Update dependency astro-icon to v1.2.0 #23
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/astro-icon-1.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.1.5→1.2.0Release Notes
natemoo-re/astro-icon (astro-icon)
v1.2.0Compare Source
Minor Changes
#290
956817eThanks @stramel! - Bump@iconify/toolsto v5 and@iconify/utilsto v3, removing the transitiveextract-zipdependency that was flagged for a symlink path-traversal vulnerability (GHSA-jmr9-qjv8-65gv).Requires Node ≥22.12 —
@iconify/utilsv3 usesnode:util'sstyleText, which needs Node ≥20.12/21.7, but the toolchain now also builds against Astro 7 (which itself requires Node ≥22.12). Node 20 reached end-of-life in April 2026, soastro-icon'senginesfield is raised to the currently-supported floor rather than the bare minimum.#285
2e83ca0Thanks @stramel! -title/descprops now accept{ id, value }in addition to a plain string, so consumers can setidattributes on the generated<title>/<desc>elements foraria-labelledbyreferencing.Patch Changes
#291
3db45a5Thanks @stramel! - Strip thelastModifiedtimestamp from the generated local icon collection so its output is deterministic across builds, allowing Astro's incremental build cache to work as expected.#288
adb18cfThanks @stramel! - Log a warning instead of silently swallowing errors when the local icon collection fails to load, so failures during dev/build are visible instead of hidden.#287
fd5d522Thanks @stramel! - Fix icon dir watcher so newly added local icons (including files inside subfolders) are picked up without restarting the dev server#282
8904693Thanks @stramel! - Update@iconify/toolsand@iconify/utilsto resolveaxiosandundicivulnerabilities pulled in transitively.#286
6af6fcfThanks @stramel! - FixviewBoxbeing inconsistently present on<svg>elements across repeated uses of the same icon. TheviewBoxis now always kept on the<svg>element, so attributes that depend on it (such aspreserveAspectRatio) continue to work. Icons whoseviewBoxhas a non-zeromin-x/min-ykeep aviewBoxon their shared<symbol>and anchor their<use>element, so they stay positioned correctly and a per-instanceviewBoxoverride no longer leaks onto other instances of the same icon.#281
df57ce6Thanks @stramel! - Fix duplicate/incorrect icons rendering in Chromium-based browsers by rewriting internal SVG ids (e.g. gradients, clip paths) to be unique per rendered icon.#284
09177ddThanks @stramel! - FixesAstro.request.headerswarning on prerendered pages by keying the internal per-render icon cache offAstro.localsinstead ofAstro.requestConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
67293f017a463d7a0e85463d7a0e85to30fe31e81b30fe31e81btob1a92f21aeb1a92f21aeto4b02c52d6e4b02c52d6eto5c93be3c675c93be3c67to949b4b6d88949b4b6d88to8e56e2ea7f