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 source appears mostly in maintenance mode, with no new published
updatessince v1.0.8 (2024-03-21), even though there was an upstream push on 2026-01-13 (no corresponding packaged update details were provided here). - Update cadence has been irregular and slow, with releases spaced roughly months to years apart (notably v1.0.5 to v1.0.6, v1.0.6 to v1.0.7, and v1.0.7 to v1.0.8), and none evident in the provided history close to today (2026-06-09).
AI summary generated
Recent updates
v1.0.8
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
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
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.
v1.0.5
Release v1.0.5 has no publisher-provided release notes. The code diff shows runtime behavior adjustments around how the exported trimStart function validates its receiver and how it determines which leading characters count as whitespace, plus various tooling and CI workflow updates.
v1.0.4
Release v1.0.4 contains mostly CI and metadata changes, plus a dependency bump and small test adjustments. The published release notes for v1.0.4 are effectively absent (none provided), so the changelog and diff changes are the only source of truth here.
v1.0.3
v1.0.3 primarily refactors the implementation to use `call-bind` instead of `es-abstract` for binding `String.prototype.replace`. The release also updates test tooling, CI workflows, and development dependencies, with no explicit user-facing API changes documented.
v1.0.2
Release v1.0.2 has no publisher-provided release notes. The diff shows mostly repository and tooling changes (GitHub Actions workflows, changelog generation config) plus dependency updates, including a runtime dependency bump.
v1.0.1
v1.0.1 updates the project metadata and changelog automation setup, with no documented release notes provided by the publisher. The code diff shows changes limited to CHANGELOG.md and package.json, primarily reorganizing metadata and bumping the auto-changelog dev dependency.
v1.0.0
v1.0.0 refactors the package into the es-shim API pattern for `String.prototype.trimStart`, splitting logic into `implementation`, `polyfill`, and `shim`. It also changes the module entry behavior to export a bound function (and shim helpers) rather than directly defining `String.prototype.trimStart` at load time, and it adds a comprehensive test suite and tooling metadata.
Featuresv0.1.0
Release v0.1.0 was published on 2017-12-19. No release notes or change log details were provided by the publisher, so specific developer-impacting changes cannot be determined from the provided data.