Back to Explore

es-shims/String.prototype.trimStart

GitHub
1 watchersOpen source

Last release: 3/21/2024

An ES2019-spec-compliant shim for `String.prototype.trimStart`, providing a `trimStart` function for environments where `String.prototype.trimStart` is unavailable. Useful for trimming leading whitespace in older or limited JavaScript runtimes, with a `shim()` method to patch `String.prototype` when needed.

Project status

  • The upstream repository appears actively maintained (last upstream push on 2026-01-13), though the most recent tagged updates summary provided here is v1.0.8 dated 2024-03-21.
  • The apparent update cadence is low and irregular, based on tags roughly every 1 to 1.5 years (v1.0.6 in 2022-11, v1.0.7 in 2023-09, v1.0.8 in 2024-03, with no newer tag shown in the provided list).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.8

    3/21/2024

    Release v1.0.8 bumps several dependencies and refactors the internal coercion helper import used by the polyfill. No release notes were provided, so the change intent is only visible by inspecting the commit and diff metadata.

  • v1.0.7

    9/5/2023

    v1.0.7 makes small internal updates to the trimStart polyfill implementation by switching the imported ES abstract helper to a newer spec year and bumping several dependencies. No functional changes were described in the provided release notes, and none were supplied by the publisher.

  • v1.0.6

    11/7/2022

    Release v1.0.6 was published on 2022-11-07, but the publisher did not provide any release notes. As a result, this review cannot determine what changed, whether there are breaking changes, or what developers need to migrate.