Back to Explore

syntax-tree/mdast-util-gfm-autolink-literal

GitHub
2 watchersOpen source

Last release:

mdast-util-gfm-autolink-literal provides mdast extensions to parse and serialize GitHub Flavored Markdown, GFM, autolink literal syntax in markdown. It plugs into mdast-util-from-markdown to add support when parsing into an mdast syntax tree, and mdast-util-to-markdown to generate the corresponding markdown when serializing the tree.

Project status

  • The upstream repo shows a recent push on 2026-06-03, which suggests the project is being actively worked on, even though the latest published update is 2.0.1 from 2024-08-19.
  • Apparent update cadence is low for published artifacts (about 22 months between 2.0.1 and the previous 2.x release), but the 2026-06-03 upstream activity hints at work that may lead to another update.

AI summary generated

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

Recent updates

  • 2.0.1

    Release 2.0.1 is a small update focused on improving the performance of the email-matching logic used for GFM autolink literals. The release notes only mention a refactor to the email regex, without calling out any behavioral or compatibility implications.

  • 2.0.0

    Release 2.0.0 modernizes the package to require Node.js 16+ and updates the public API to expose factory functions for the mdast-util extensions. It also bumps multiple major dependencies (including mdast-util-from-markdown/to-markdown and micromark character utilities) and adjusts the package’s ESM export wiring.

    BreakingFeatures
  • 1.0.3

    Release 1.0.3 includes a regex fix related to GFM autolink literal handling, plus documentation and code style refactors. The codebase was also reorganized significantly by introducing a new implementation file under lib/ and adjusting build/package configuration.

  • 1.0.2

    Release 1.0.2 makes a targeted fix to email autolinking behavior. The main logic change updates how the parser validates email address labels, specifically around cases where a label ends with digits.

  • 1.0.1

    Release 1.0.1 is described as a targeted fix to algorithm 2 for handling multiple GFM autolinks. The diff shows changes to the autolink matching behavior (regex flags) and adds a couple of new tests covering multiple autolinks.

  • 1.0.0

    Version 1.0.0 is a major refactor that converts the package to ESM, adds JSDoc-based typing, and reworks the public API around GFM autolink literal extensions. The code diff shows the main implementation moved into index.js and the package now exposes new named exports rather than the old CommonJS-style exports.

    BreakingFeatures
  • 0.1.3

    Release 0.1.3 is described as a fix to match GitHub's autolink literal algorithm. However, the code changes show a much broader update to the parsing/transformation logic used by mdast-util-gfm-autolink-literal, along with new runtime dependencies.

    Breaking
  • 0.1.2

    Release 0.1.2 makes a targeted change to markdown serialization for GFM autolink literals, specifically around URL escaping in label-related output. The release notes only mention removing URL escaping in link labels, but the diff shows a broader “label” exclusion plus supporting test coverage and CI/dev tooling updates.

    Breaking
  • 0.1.1

    Release 0.1.1 is described as a prose refactor. The code diff shows no runtime code changes, but it does include devDependency version bumps and corresponding documentation edits.

  • 0.1.0

    Release 0.1.0 was published on 2020-09-14. The provided release notes contain no documented changes, so there is no actionable information to determine new functionality, breaking changes, bug fixes, or security/performance updates.