Back to Explore

es-shims/String.prototype.trimEnd

GitHub
1 watchersOpen source

Last release: 12/11/2024

A JavaScript polyfill shim for `String.prototype.trimEnd` that follows the ES2019 specification. It lets developers safely call `trimEnd` even in older environments where `String.prototype.trimEnd` is not available, via a provided `shim()` method.

Project status

  • The source appears actively maintained, with an upstream push timestamp of 2026-01-13, and recent updates up through v1.0.9 (2024-12-11).
  • The apparent update cadence is slow, with the provided update history showing v1.0.7 (2023-09-07), v1.0.8 (2024-03-17), and v1.0.9 (2024-12-11), suggesting maintenance rather than rapid iteration.

AI summary generated Today

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

Recent updates

  • v1.0.9

    12/11/2024

    No release notes were provided for v1.0.9, so changes are only inferable from the commit history and the actual diff. The update primarily refactors internal dependency usage, updates dependency/devDependency versions, and adjusts CI workflow coverage and npm audit behavior.

  • v1.0.8

    3/17/2024

    v1.0.8 is a maintenance release for the string.prototype.trimEnd shim. The code changes are limited to internal implementation wiring, plus dependency and dev dependency bumps in package.json and a regenerated changelog entry.

  • v1.0.7

    9/7/2023

    Release v1.0.7 was published on 2023-09-07, but no release notes were provided by the publisher. As a result, this release cannot be analyzed for new features, breaking changes, bug fixes, or security updates based on the provided information.

  • v1.0.6

    11/7/2022

    v1.0.6 updates the package metadata, build/publish automation, and the runtime dependency `es-abstract` behavior used by `index.js`. The provided release notes claim no changes (none provided by the publisher), so the actual diff indicates multiple user-impacting packaging and potential runtime behavior updates that were not described.

  • v1.0.5

    5/3/2022

    v1.0.5 updates the String.prototype.trimEnd shim to better match spec behavior across older (ES3) engines and across Unicode whitespace rules. The functional changes mainly affect how the polyfill validates the receiver (this value) and whether U+180E (Mongolian vowel separator) is treated as trailing whitespace.

    Breaking
  • v1.0.4

    2/24/2021

    No release notes were provided for v1.0.4. The code diff shows this release is largely meta and maintenance focused (CI workflow tweaks, README/changelog updates, ignore-file changes), with a dependency bump (call-bind) and an adjustment to how the test suite triggers the shim.

  • v1.0.3

    11/22/2020

    v1.0.3 primarily updates internal implementation utilities and refreshes the test and CI tooling. The functional runtime logic appears unchanged, but the implementation now relies on the `call-bind` package instead of `es-abstract` helpers.

  • v1.0.2

    10/20/2020

    Release v1.0.2 includes only small repository-level updates and dependency bumps. No publisher release notes were provided for this version, so the changes below are inferred from the actual diff.

  • v1.0.1

    4/9/2020

    This release (v1.0.1) includes only repository and build metadata updates, plus a changelog entry. No runtime source code changes are shown in the diff, so consumer-facing behavior is likely unchanged.

  • v1.0.0

    3/30/2020

    This release is tagged v1.0.0, but no release notes were provided by the publisher. As a result, there is no documented information about new features, bug fixes, breaking changes, or migration steps in the provided data.