Polder Drift — Design System Drift Alerts
Version updated for https://github.com/usepolder/drift to version v1.1.2.
- This action is used across all versions by 0 repositories.
Action Type
This is a Node action using Node version 20.
Go to the GitHub Marketplace to find the latest changes.
What’s Changed
Hardening release (PR #14).
Security
- Drift-table cells are sanitized: backticks, pipes, and newlines in import paths or filenames can no longer break the comment table or inject markdown rendered as authored by the bot (fork-PR comment spoofing).
Correctness
- Allowlist entries match whole path segments:
#dsno longer silently allowlists#dsx/Button; trailing-slash entries keep prefix semantics. - Packages declaring types only under the
exportsmap (root or nestedimport/require/defaultconditions) now resolve their barrel.d.ts.
Visibility
- Unparseable changed files warn instead of silently reporting zero drift, on both the head and base versions (a base parse failure now warns that drift may be reported as new).
- On GitHub, fork PRs (read-only token) get the drift report written to the workflow step summary when the comment post 403s; the failure still surfaces loudly.
No changes to detection rules, severity, suppression, or adoption math. 289 tests.