Back to Explore

component/escape-html

GitHub
3 watchersOpen source

Last release:

This JavaScript module provides an `escapeHtml` function that escapes special characters in strings so they can be safely interpolated into HTML. It replaces `"`, `'`, `&`, `<`, and `>` for use as HTML text content, and can also be used for quoted HTML attribute values.

Project status

  • The source component/escape-html appears effectively quiet, with the latest documented package updates in the provided history dating to 2015 (v1.0.3, then v1.0.2 and earlier). While the upstream shows a last push on 2022-09-16, there is no evidence here of ongoing versioned updates close to today (2026-09-10), suggesting maintenance mode or dormancy.
  • Apparent update cadence: after a series of early changes (2012-2015), there are no further version updates shown beyond v1.0.3 (2015-09-01), indicating a long gap with no regular releases.

AI summary generated

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

Recent updates

  • v1.0.3

    v1.0.3 introduces a rewritten implementation of the main escape function, along with a new benchmark script and updated README metadata. The release notes section is empty, so the documented changes are effectively unavailable.

    BreakingFeatures
  • v1.0.2

    v1.0.2 is a small packaging and metadata update for the escape-html package, with a minor internal refactor of index.js. The release notes are empty, so all changes below are derived from the code diff.

  • v1.0.1

    Release v1.0.1 was published, but the publisher did not provide any release notes. As a result, there is no documented information about new features, bug fixes, security updates, breaking changes, or migration steps in this release.

  • v1.0.0

    Release v1.0.0 updates the escape-html package. The diff indicates a behavioral change in the escaping logic and some packaging metadata adjustments, but the provided release notes are empty (none provided).

    Breaking
  • v0.0.1

    This release is version v0.0.1. No release notes were provided, so there is no documented information about new features, fixes, security updates, or breaking changes.