Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Peast Laravel Package

mck89/peast

Peast is a PHP 5.4+ library that parses JavaScript per the ECMAScript spec and builds an abstract syntax tree following the ESTree standard. It also supports tokenization, tree traversal, selector queries, and rendering.

View on GitHub
Deep Wiki
Context7
v.1.18.2
  • Fixed bug where BigInts in hexadecimal, octal and binary forms were rendered with an invalid suffix
v1.18.0
  • Added ES2026 parser with no additional features
  • Added ES2027 parser and implemented explicit resource management
v1.17.7
  • Fixed deprecation warning about null array index on PHP 8.5 when parsing trailing comments
v1.17.6
  • Fixed bug where single BlockStatement where wrongly expanded removing brackets
v1.17.5
  • Fixed bug when parsing SpreadElement followed by NewExpression between parenthesis
v1.17.4
  • Fixed warning on PHP 8.5 when handling large numbers
v1.17.3
  • Fixed bug where const declarations were allowed without an initializer
v1.17.2
  • Fixed bug where const declarations were allowed without an initializer
v1.17.1
  • Fixed bug where continue and break were allowed outside iteration and break statements
v1.17.0
  • Implemented ES2025 parser with import attributes
v1.16.3
  • Removed implicitly nullable parameter declarations for PHP 8.4 compatibility
v1.16.2
  • Fixed bug where a regex that started with /= raised a syntax error
v1.16.1
  • Fixed bug where, in some situations, scanner allowed invalid characters after a slash
v1.16.0
  • Implemented ES2024 parser, no new syntax features have been introduced
  • Fixed bug when parsing sequence expressions using older ES versions
v1.15.4
  • Fixed rendering of let and const inside switch cases that always require brackets
v1.15.3
  • Fixed rendering of let and const inside if, for and while that always require brackets
v1.15.2
  • Fixed bug where async keyword was lost when rendering an object async method
v1.15.1
  • Fixed bug on hashbang comment detection
v1.15.0
  • Implemented comments rendering
v1.14.0
  • Implemented comments rendering
v1.13.11
  • Fixed a case of conditional expression parsed as a wrong optional chain
v1.13.10
  • Added support for php 8.1
  • Fixed parsing of multiline template literals in return statements
v1.13.9
  • Implemented parsing of arbitrary module namespace identifier names
v1.13.8
  • Fixed identifiers bug introduced in the last release
v1.13.7
  • 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.
v1.13.6
  • Fixed parsing of adjacent JSX expressions
  • Implemented parsing of JSX fragments inside elements
v1.13.5
  • Fixed parsing of 'get' and 'set' as property names and class fields
  • Fixed parsing of dot after number with exponential notation
v1.13.4
  • Fixed bug when parsing surrogate pairs in php 7.4+
v1.13.3
  • Added support for surrogate pairs in strings and templates
v1.13.2
  • Fixed bug when parsing spread operator inside objects returned by arrow functions
v1.13.0
  • Implemented ES2022 parser with class fields and private class methods
v1.12.0
  • Added options array to Traverser constructor and shortcut method on nodes
  • Added Query class
v1.11.0
  • Implemented ES2021 parser with logical assignment operators and numeric separators
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels