PackageTrack
Sign in Get early access

mck89/peast

Peast is PHP library that generates AST for JavaScript code

v1.18.0 42M downloads/mo #536 most downloaded on Packagist mck89/peast

What this package is like to depend on

Last release 4 days ago

19 Aug 2026

Ships fairly regularly

a new release about every 3 months

Most releases are documented

notes for 41 of 52 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

52 releases · first in 2016

6 releases in the last 12 months

see the full history below

Release timeline

52 releases · Sep 2016 to Aug 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 52
  1. v1.18.0 19 Aug 2026
    Release notes
    • Added ES2026 parser with no additional features
    • Added ES2027 parser and implemented explicit resource management
    Open source →
    Release notes
    • Added ES2026 parser with no additional features
    • Added ES2027 parser and implemented explicit resource management
    Open source →
  2. v1.17.7 21 Jul 2026
    Release notes
    • Fixed deprecation warning about null array index on PHP 8.5 when parsing trailing comments
    Open source →
    Release notes
    • Fixed deprecation warning about null array index on PHP 8.5 when parsing trailing comments
    Open source →
  3. v1.17.6 24 Apr 2026
    Release notes
    • Fixed bug where single BlockStatement where wrongly expanded removing brackets
    Open source →
    Release notes
    • Fixed bug where single BlockStatement where wrongly expanded removing brackets
    Open source →
  4. v1.17.5 15 Mar 2026
    Release notes
    • Fixed bug when parsing SpreadElement followed by NewExpression between parenthesis
    Open source →
    Release notes
    • Fixed bug when parsing SpreadElement followed by NewExpression between parenthesis
    Open source →
  5. v1.17.4 10 Oct 2025
    Release notes
    • Fixed warning on PHP 8.5 when handling large numbers
    Open source →
    Release notes
    • Fixed warning on PHP 8.5 when handling large numbers
    Open source →
  6. v1.17.3 10 Oct 2025
    Release notes
    • Fixed bug where const declarations were allowed without an initializer
    Open source →
    Release notes
    • Fixed compatibility with PHP 8.5
    Open source →
  7. v1.17.2 01 Jul 2025
    Release notes
    • Fixed bug where const declarations were allowed without an initializer
    Open source →
    Release notes
    • Fixed bug where const declarations were allowed without an initializer
    Open source →
  8. v1.17.1 27 Jun 2025
    Release notes
    • Fixed bug where continue and break were allowed outside iteration and break statements
    Open source →
    Release notes
    • Fixed bug where continue and break were allowed outside iteration and break statements
    Open source →
  9. v1.17.0 07 Mar 2025
    Release notes
    • Implemented ES2025 parser with import attributes
    Open source →
    Release notes
    • Implemented ES2025 parser with import attributes
    Open source →
  10. v1.16.3 23 Jul 2024
    Release notes
    • Removed implicitly nullable parameter declarations for PHP 8.4 compatibility
    Open source →
    Release notes
    • Removed implicitly nullable parameter declarations for PHP 8.4 compatibility
    Open source →
  11. v1.16.2 05 Mar 2024
    Release notes
    • Fixed bug where a regex that started with /= raised a syntax error
    Open source →
  12. v1.16.1 14 Feb 2024
    Release notes
    • Fixed bug where, in some situations, scanner allowed invalid characters after a slash
    Open source →
  13. v1.16.0 11 Jan 2024
    Release notes
    • Implemented ES2024 parser, no new syntax features have been introduced
    • Fixed bug when parsing sequence expressions using older ES versions
    Open source →
  14. v1.15.4 12 Aug 2023
    Release notes
    • Fixed rendering of let and const inside switch cases that always require brackets
    Open source →
  15. v1.15.3 03 Aug 2023
    Release notes
    • Fixed rendering of let and const inside if, for and while that always require brackets
    Open source →
  16. v1.15.2 15 Jul 2023
    Release notes
    • Fixed bug where async keyword was lost when rendering an object async method
    Open source →
  17. v1.15.1 21 Jan 2023
    Release notes
    • Fixed bug on hashbang comment detection
    Open source →
  18. v1.15.0 13 Sep 2022
    Release notes
    • Implemented ES2022 parser with hashbang comments
    Open source →
  19. v1.14.0 01 May 2022
    Release notes
    • Implemented comments rendering
    Open source →
  20. v1.13.11 11 Jan 2022
    Release notes
    • Fixed a case of conditional expression parsed as a wrong optional chain
    Open source →
  21. v1.13.10 24 Dec 2021
    Release notes
    • Added support for php 8.1
    • Fixed parsing of multiline template literals in return statements
    Open source →
  22. v1.13.9 12 Nov 2021
    Release notes
    • Implemented parsing of arbitrary module namespace identifier names
    Open source →
  23. v1.13.8 11 Sep 2021
    Release notes
    • Fixed identifiers bug introduced in the last release
    Open source →
  24. v1.13.7 11 Sep 2021
    Release notes
    • Implemented parsing of top level await
    • Implemented parsing of #field in obj syntax
    • Implemented parsing of class static block
    • Aligned invalid octal numbers checks to the specification
    • BC break: identifier tokens' value now report their raw name, this means that unicode escape sequences are reported as they are written in the code, without converting them to their corresponding characters. Identifier nodes have a new property called rawName that contains their raw name, including unconverted unicode escape sequences, while the name property still contains the converted value as before. Renderer now prints rawName for identifiers to prevent automatic conversion of escaped keywords.
    Open source →
  25. v1.13.6 23 Aug 2021
    Release notes
    • Fixed parsing of adjacent JSX expressions
    • Implemented parsing of JSX fragments inside elements
    Open source →
  26. v1.13.5 28 Jul 2021
    Release notes
    • Fixed parsing of get and set as property names and class fields
    • Fixed parsing of dot after number with exponential notation
    Open source →
  27. v1.13.4 24 Jul 2021
    Release notes
    • Fixed bug when parsing surrogate pairs in php 7.4+
    Open source →
  28. v1.13.3 24 Jul 2021
    Release notes
    • Added support for surrogate pairs in strings and templates
    Open source →
  29. v1.13.2 14 Jul 2021
    Release notes
    • Fixed bug when parsing spread operator inside objects returned by arrow functions
    Open source →
  30. v1.13.0 22 May 2021
    Release notes
    • Implemented ES2022 parser with class fields and private class methods
    Open source →
  31. v1.12.0 08 Jan 2021
    Release notes
    • Added options array to Traverser constructor and shortcut method on nodes
    • Added Query class
    Open source →
  32. v1.11.0 09 Oct 2020
    Release notes
    • Implemented ES2021 parser with logical assignment operators and numeric separators
    Open source →
  33. v1.10.4 21 Jun 2020
    Release notes
    • Implemented parsing of coalescing operator
    • Implemented parsing of optional chaining
    • Fixed bug when parsing a semicolon on a new line after break and continue statements
    Open source →
  34. v1.10.3 03 Apr 2020
    Release notes
    • Implemented parsing of import.meta syntax
    • Implemented parsing of BigIntLiteral as objects keys
    Open source →
  35. v1.10.2 15 Mar 2020
    Release notes
    • Implemented parsing of export * as ns from "source" syntax
    • Fixed Renderer so that it won't trust computed flag in MemberExpression if property is not an Identifier
    Open source →
  36. v1.10.1 22 Dec 2019
    Release notes
    • Fixed parsing of semicolon after do-while statement
    Open source →
  37. v1.9.4 18 Oct 2019
    Release notes
    • Handled invalid UTF-8 characters in the source code by throwing an exception or replacing them with a substitution character by setting the new strictEncoding option to false
    • Fixed bug when rendering object properties with equal key and value
    Open source →
  38. v1.9.3 13 Sep 2019
    Release notes
    • Fixed another bug when rendering nested "if" statements with Compact formatter
    Open source →
  39. v1.9.2 24 May 2019
    Release notes
    • Fixed rendering of nested "if" statements with Compact formatter
    Open source →
  40. v1.9.1 16 Jan 2019
    Release notes
    • Fixed rendering of arrow functions that generates invalid code
    Open source →
  41. v1.8.1 06 Nov 2018
    Release notes
    • Fixed parsing of regular expressions by disabling scan errors inside them
    • Added LSM utility class to handle correctly punctuators and strings stop characters
    Open source →
  42. v1.9 21 Dec 2018

    Nothing published for this version

  43. v1.8 04 Jun 2018

    Nothing published for this version

  44. v1.7 25 Feb 2018

    Nothing published for this version

  45. v1.6 08 Jan 2018

    Nothing published for this version

  46. v1.5 23 Sep 2017

    Nothing published for this version

  47. v1.4 07 Mar 2017

    Nothing published for this version

  48. v1.3 14 Feb 2017

    Nothing published for this version

  49. v1.2 26 Dec 2016

    Nothing published for this version

  50. v1.10 22 Nov 2019

    Nothing published for this version

  51. v1.1 29 Oct 2016

    Nothing published for this version

  52. v1.0 11 Sep 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive