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
- Actively maintained: The most recent upstream push and the latest published package update (v1.0.10 on 2026-06-06) are only a few days before today (2026-06-11), indicating the repo is currently active rather than dormant.
- Update cadence: There is a long gap between updates (v1.0.9 in 2024-12-11, v1.0.10 in 2026-06-06), but then activity resumes with a newer update in 2026, suggesting maintenance that can be intermittent rather than steady.
AI summary generated
Recent updates
v1.0.10
No release notes were provided by the publisher for v1.0.10. However, the code diff and changelog updates show a functional change to the trimEnd implementation, plus CI workflow permission adjustments and dependency bumps.
v1.0.9
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
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
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
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
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.
Breakingv1.0.4
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
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
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
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
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.