Back to Explore

es-shims/Function.prototype.name

GitHub
1 watchersOpen source

Last release: 12/20/2024

An ES2015 spec-compliant shim for Function.prototype.name that provides a shim method to add Function.prototype.name when it is unavailable. Useful for JavaScript environments that need `function.name` support in an ES5-supported setup, especially when ES5 getters are available.

Project status

  • Actively maintained, with recent updates on 2024-12-15 (v1.1.7) and 2024-12-20 (v1.1.8), and an upstream intent described as an ES6 spec-compliant Function.prototype.name sham.
  • Update cadence appears intermittent, showing a small burst of activity in mid December 2024 (v1.1.7 to v1.1.8 within about a week), then a longer gap back to the prior documented update (v1.1.6 in 2023-08-28).

AI summary generated Today

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

Recent updates

  • v1.1.8

    12/20/2024

    v1.1.8 updates the package version and adjusts CI workflow permissions. In the library code, it refactors how the internal callBound helper is imported by switching from `call-bind/callBound` to the `call-bound` dependency.

  • v1.1.7

    12/15/2024

    Release v1.1.7 updates the project test workflows and refactors the runtime implementation to use direct helper packages (`is-callable` and `hasown`) instead of `es-abstract` internals. It also bumps several dependencies and devDependencies, including `call-bind` and `define-properties`. No publisher release notes were provided for this version.

  • v1.1.6

    8/28/2023

    Release v1.1.6 was published on 2023-08-28, but no release notes were provided by the publisher. As a result, there is no documented information available about new features, fixes, breaking changes, or other upgrade-relevant changes in this release.