Repository navigation
v1.1.1
Patch release rolling up dependency updates, compat fixes, and cleanup since v1.1.0.
Dependencies
- Update all devDependencies, including Jest 30, ESLint 10,
@rollup/plugin-commonjs29,actions/checkout6,markdownlint-cli0.48,size-limit12,rimraf6. - Replace
standard-versionwith the maintainedcommit-and-tag-versionfork (resolves a transitiveconventional-commits-filterpeer-dep conflict with commitlint 20 that was breakingnpm ci). - Drop
@afixt/a11y-assertdevDep. The package was unpublished from the npm registry, causingnpm installto fail with 404s on transitive@afixt/afixt-tests.
Tests
- Remove
test/accessibility-e2e.test.jsandtest/accessibility-regression.test.js(fully dependent on the removed a11y-assert package). - Strip keyboard utility assertions from
test/accessibility.test.jsandtest/banner.test.js. - Fix
test/subdomain-sync.test.jsunder JSDOM 26, which makeswindow.locationnon-configurable. Introduce acurrentHostnameconfig override insrc/js/subdomain-sync.js(used byisAllowedDomainandgetSyncStatus) so tests can inject hostnames without mutatingwindow.location.
Quality
- Resolve all ESLint warnings (1 error + 116 warnings → 0). Disable
no-consoleglobally since the library uses console intentionally for[Cookie Banner]developer-facing logs; widenno-unused-varsto accept_-prefixed variables. - Fix real lint issues:
no-prototype-builtinsinbanner.js, useless setter returns and empty catch binding incookie-blocker.js, deadhasAnyTrackingConsentcomputation inhandleConsentChange. - Run Prettier across the codebase.
Full diff: v1.1.0...v1.1.1