Back to Explore

jquery/esprima

GitHub
1 watchersOpen source

Last release:

Esprima is a high performance, standard-compliant ECMAScript (JavaScript) parser written in ECMAScript. It can tokenize and parse JavaScript into a syntax tree, which is useful for multipurpose code analysis and tooling such as generating or inspecting an AST. It also supports features like syntax node location tracking and experimental JSX parsing.

Project status

  • Maintenance status: The last recorded upstream push was 2023-04-16, and the most recent published update in the provided history was 4.0.1 (2018-06-16). Given the multi-year gap up to 2026-07-26, this source appears quiet, with no clear evidence of active maintenance.
  • Update cadence (apparent): Updates were comparatively clustered in 2016 to 2018 (3.1.3, 4.0.0, 4.0.1), followed by no further version updates in the provided release history after 2018. The 2023 upstream push does not show any accompanying version history here.

AI summary generated

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

Recent updates

  • 4.0.1

    Version 4.0.1 does not include any publisher release notes in the provided release_notes data. The code diff shows multiple parser and scanner behavior changes focused on AST shape, module tokenization, and edge-case grammar handling (async get/set, return arguments, yield parsing, and location column calculation).

  • 4.0.0

    Release 4.0.0 has no publisher-provided release notes. The code diff from 3.1.3 to 4.0.0 shows a broad refactor of the parser, scanner, and AST types, plus additions for module parsing, async/await, and richer JSX/AST typing.

    Features
  • 3.1.3

    Release 3.1.3 was published on 2016-12-23, but no release notes were provided by the publisher. As a result, there is no documented information about new features, fixes, or breaking changes.

  • 3.1.2

    Release 3.1.2 contains a set of parser correctness fixes, including stricter handling of import specifiers, corrections to JSX tokenization, improved JSX XHTML entity scanning, and template literal support within JSX expression containers. No release notes were provided in the release notes payload, but the repo ChangeLog lists these items.

    Breaking
  • 3.1.1

    Release 3.1.1 is a small patch update that fixes parsing of assignment expressions in export declarations, and corrects tokenization rules for hexadecimal digits. It also adds new test fixtures covering invalid hex cases and the specific export-default assignment scenario.

  • 3.1.0

    Release 3.1.0 includes multiple parser behavior changes and corresponding AST fixture updates, plus a tooling/runtime update in package.json. No publisher release notes were provided, so the documented behavior changes are inferred only from the code diff, changelog file update, and updated tests/fixtures.

    Breaking
  • 3.0.0

    Release 3.0.0 has no accompanying publisher release notes, so this analysis is based entirely on the observed code diff. The 2.7.3 to 3.0.0 change introduces a largely new TypeScript implementation with expanded parsing capabilities, including JSX support and a more structured comment and error handling pipeline.

    Features
  • 2.7.3

    Release 2.7.3 primarily adjusts the tokenizer logic and adds a regression test for block-comment followed by division (example: "/* half */ 1/2"). The release notes are missing, so the only clear changes come from the code diff itself, including CI matrix updates and version bumps.

  • 2.7.2

    Version 2.7.2 bumps the package and adjusts parser behavior and test fixtures. The code changes focus on fixing error-location handling for invalid string literals and correcting how object destructuring binding patterns set the AST "shorthand" flag.

  • 2.7.1

    Release 2.7.1 was published on 2015-12-09, but the publisher did not provide any release notes for this version. No change details are available to assess feature additions, bug fixes, breaking changes, or security updates.