Closed Xanewok closed 7 months ago
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|
npm/@nomicfoundation/slang@0.13.1 | filesystem, shell | +9 |
54.4 MB | nomic-foundation-publisher |
🚮 Removed packages: npm/@nomicfoundation/slang@0.10.1
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: No coverage uploaded for pull request base (
development@614c921
). Click here to learn what that means.:exclamation: Current head ff03ab3 differs from pull request most recent head afa6931. Consider uploading reports for the commit afa6931 to get more accurate results
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I wanted to focus on the upgrading the version with the least amount of changes to facilitate the review.
One change that I introduced is that I introduced CST node name checks in the
SymbolVisitor
to better convey which node we want to match, e.g.name
node in the StateVariableDeclaration (instead of a possible second identifier in the= ...
init part). Some CST node ranges were changed, so I had to modify the snapshot data.Next step should probably include migrating to queries for both perf and completeness' sake (i.e.
FunctionDefinition>FunctionName
that can be eitherIdentifier
or a keyword).It's worth noting that this version correctly parses contextual keywords (like
from
) and supports parsing EVM built-ins, so it should parse correctly a lot more code than the previous 0.10 version.Part of https://github.com/NomicFoundation/slang/issues/639