Back to Explore

es-shims/Function.prototype.name

GitHub
1 updates · last 90 days2 watchersOpen source

Last release:

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

  • The source appears actively maintained, with a recent upstream push on 2026-06-11 and a new version (v1.2.0) published the same day, including changelog updates and code changes (notably TypeScript typings plus internal refactors and dependency wiring).
  • The update cadence looks irregular: there is a long gap from v1.1.8 (2024-12-20) to v1.2.0 (2026-06-11), after earlier multi-year intervals between prior updates.

AI summary generated

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

Recent updates

  • v1.2.0

    The GitHub release v1.2.0 has no release description notes. The repository CHANGELOG was updated to indicate mainly TypeScript typings were added, along with internal refactors and dependency updates. The code diff confirms runtime-related changes to how the exported function is wired, plus swaps in several environment detection and error utility dependencies.

  • v1.1.8

    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

    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

    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.

  • v1.1.5

    Release v1.1.5 has no publisher-provided release notes, but the code diff shows dependency updates (notably es-abstract), a change to npm publishing scripts for npm 7+, and CI workflow adjustments (switching from ljharb/actions/node/run to ljharb/actions/node/install, plus adding codecov). There are also changes to coverage configuration reporting via .nycrc.

  • v1.1.4

    v1.1.4 includes mostly maintenance changes (CI workflow tweaks, npm packaging ignore rules, and dependency bumps). No publisher release notes were provided, so the functional impact must be inferred from the code diff.

  • v1.1.3

    Release v1.1.3 updates internal implementations to use the call-bind package, and bumps several core polyfill dependencies (es-abstract, functions-have-names). It also migrates and modernizes the test setup to GitHub Actions and adds nyc coverage reporting, along with some CI workflow/security adjustments. No publisher release notes were provided in the release feed, but CHANGELOG.md in the diff documents the intended dependency and CI/test changes.

  • v1.1.2

    No release notes were provided by the publisher for v1.1.2. The change set is primarily an internal refactor to use es-abstract helpers, along with dependency bumps and CI/test configuration updates.

  • v1.1.1

    Release v1.1.1 does not include any published release notes in the provided data. The code diff shows a refactor that replaces the local Function.prototype.name feature-detection helper with the external functions-have-names package, along with multiple dependency and tooling updates.

  • v1.1.0

    This release updates the function.prototype.name shim to v1.1.0. The documented changes (via CHANGELOG.md) include adding a new `auto` entry point and bumping `function-bind`, plus updates to dev/test tooling and Node versions used in CI.

    Features
  • v1.0.3

    Release v1.0.3 was published on 2017-07-21, but no release notes or change description were provided by the publisher. As a result, there is no documented information here about new features, fixes, breaking changes, or dependency updates.