Skip to content

Bump @profullstack/contact-form to 0.3.0; /sales rebuilds errors from codes - #259

Merged
sh1pt-actions-fleet[bot] merged 1 commit into
mainfrom
contact-form-030
Oct 29, 2026
Merged

sh1pt-actions-fleet[bot] merged 1 commit into
mainfrom
contact-form-030

Conversation

@sh1pt-actions-fleet

Copy link
Copy Markdown
Contributor

Pins @profullstack/contact-form 0.3.0 (from 0.2.0).

  • /sales shows salesContact.errorMessage(searchParams); formErrors() and the old code switch are gone (0.3.0 redirects with codes, never text).
  • use_case: minLength: 10 replaces the pattern; JSON message is now "What do you want the corpus for? is too short (10 characters at least)".
  • responses.error says the old "That did not send..." line instead of the raw error.
  • Tests: 8 in sales-contact (adds crafted ?error= and code round-trip); full suite 513 pass, the 6 failures are webhooks tests needing the CI Postgres. Build passes. Version 0.2.2.

Known limit: the DB-backed 3/hour check runs in verify, so on a no-JS post it comes back as ?error=invalid with no field and reads "Invalid submission." (the in-memory 3/hour guard limit still reads the old "several enquiries" line).

🤖 Generated with Claude Code

… codes

0.3.0 sends a plain form post back with ?error=<code>&field=&reason=, never
text, so the formErrors() allowlist (which matched message text) would show
nothing. The page now asks salesContact.errorMessage(searchParams), which
rebuilds the form's own message; a crafted ?error= gets the generic line.

- use_case: minLength 10 instead of the pattern workaround, checked in the
  browser too.
- An unexpected failure answers "That did not send. Try again, or email
  hello@rssamplifier.com." instead of the bare error.

Version 0.2.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​profullstack/​contact-form@​0.2.0 ⏵ 0.3.076 +1100100 +190100

View full report

@sh1pt-actions-fleet
sh1pt-actions-fleet Bot merged commit cea8c2e into main Oct 29, 2026
3 checks passed
@sh1pt-actions-fleet
sh1pt-actions-fleet Bot deleted the contact-form-030 branch October 29, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant