CI: fix dash check matching itself; npm audit fix for production advisories
CI / Test (jest) (push) Successful in 20s
CI / Lint (eslint) (push) Successful in 21s
CI / Security (npm audit) (push) Successful in 10s
CI / Deploy (push) Skipped
CI / Notify (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 21s
CI / Test (jest) (pull_request) Successful in 21s
CI / Security (npm audit) (pull_request) Successful in 7s
CI / Deploy (pull_request) Skipped
CI / Notify (pull_request) Skipped

- The dash check's own pattern contained the literal entities it searches
  for. Use &[mn]dash; so the check doesn't flag itself.
- npm audit fix (lockfile only, no major bumps): proxy-addr 2.0.8
  (critical), body-parser 2.4.0 (high), follow-redirects 1.16.3 (high,
  used by the worker through axios), qs 6.17.1, ip-address. The remaining
  glob/minimatch advisories are moderate, dev-only (jest) and need a
  breaking upgrade, so they stay below the high threshold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-22 02:04:26 -05:00
1 parent fde2c49eca
commit 6da2d15397
2 files changed
+35 -31

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
- name: No em or en dashes (house style)
run: |
# Pulse-owned files only: the vendored design system is fixed upstream.
if git grep -nP '[\x{2013}\x{2014}]|&mdash;|&ndash;|\\u201[34]|&#821[12];|&#x201[34];' \
if git grep -nP '[\x{2013}\x{2014}]|&[mn]dash;|\\u201[34]|&#821[12];|&#x201[34];' \
-- . ':!public/web_template' ':!package-lock.json'; then
echo "::error::Em or en dashes found (listed above). Use a hyphen, colon, comma or 'to'."
exit 1