[RFC]: Add Validation Wrapper package for replace-after in @stdlib/string

Offen
#16,599 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@autistic-avenger arbeitet bereits daran.

Seit 11.11.2026.

  • #16600 von @autistic-avenger — offen

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
javascript, node.js
Bereich
backend

Rechercherichtung

Read the existing @stdlib/string/base/replace-after and replace-before base and wrapper packages to understand the matching package structure and input validation. The issue gives no file paths or tests; identify the corresponding tests from those packages. Done means a validated @stdlib/string/replace-after wrapper is available, with coverage for its inputs.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Description

While investigating #16547, I noticed that @stdlib/string/base/replace-after has no corresponding @stdlib/string/replace-after package, while replace-before has both a base package and a matching wrapper.

This wrapper validates the inputs and lets people use the @stdlib/string/base/replaceAfter package easily and safely.

Related Issues

Related issues #16547

Questions

No.

Other

No.

Checklist
  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.
Vorherrschende Sprache
JavaScript
Sterne
6k
Forks
1.3k
Ø Merge
1 T. 21 Std.
Gemergte PRs (30 T.)
224

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus stdlib-js/stdlib

Alle Issues in stdlib-js/stdlib

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.