Update dependency @nomicfoundation/slang to v1#1139
Update dependency @nomicfoundation/slang to v1#1139renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
519a10e to
bb4db02
Compare
bb4db02 to
e7cda8b
Compare
e7cda8b to
9c3c5bb
Compare
9c3c5bb to
420a501
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
420a501 to
5229f03
Compare
5229f03 to
3aa3cdb
Compare
3aa3cdb to
af8460a
Compare
WalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.
|
af8460a to
80c6bba
Compare
80c6bba to
c8eac19
Compare
c8eac19 to
d5a0c15
Compare
This PR contains the following updates:
^0.18.3→^1.0.0Release Notes
NomicFoundation/slang (@nomicfoundation/slang)
v1.3.4Compare Source
Patch Changes
afc9f87Thanks @OmarTawfik! - Fixed a panic during constructing binding graphs, when the input has incompleteIdentifierPathexpressions.v1.3.3Compare Source
Patch Changes
#1523
27f07a8Thanks @teofr! - Removeconstant,view, andpureattributes fromUnnamedFunctionDefinition, to disambiguate fromStateVariableDefinitionthat have afunctiontype.#1526
a52001dThanks @teofr! - Fixed associativity ofAssignmentExpressionfrom left to right.#1525
7f3ea6fThanks @teofr! - Add support for Solidity0.8.34.#1502
6963419Thanks @teofr! - Fixed the old style revert calls (revert("oops!")) to be parsed as aFunctionCallExpressionrather than aRevertStatement.v1.3.2Compare Source
Patch Changes
e3f391cThanks @OmarTawfik! - Add support for Solidity0.8.32and0.8.33.v1.3.1Compare Source
Patch Changes
f03516dThanks @teofr! - Add support for Solidity0.8.31v1.3.0Compare Source
Minor Changes
#1396
d568decThanks @beta-ziliani! - Add a rewriter API, allowing the transformation of CSTs by extending theBaseRewritertype, overriding the appropriate methods (User Guide).#1440
4438fc8Thanks @OmarTawfik! - addTextIndexExtensions.zero()utility to create an index at offset zero, which is useful for creating cursors from child nodes where parent offset is not needed.#1390
6a0f598Thanks @OmarTawfik! - Add new TypeScript APIs for creating nodes and edges:NonterminalNode.create(kind: NonterminalKind, children: Edge[]): NonterminalNodeTerminalNode.create(kind: TerminalKind, text: string): TerminalNodecreateEdge(label: EdgeLabel, node: Node): EdgeEdge.createWithNonterminal(label: EdgeLabel, node: NonterminalNode): EdgeEdge.createWithTerminal(label: EdgeLabel, node: TerminalNode): EdgePatch Changes
#1424
d54a35cThanks @ggiraldez! - Resolve identifiers in assembly blocks to locally imported symbols#1388
4607e6aThanks @beta-ziliani! - Fixed the pragma grammar and CST nodes:pragma abicoder <version>:0.7.5.<version>is restricted to new keywords (v1andv2).pragma experimental <flag>:0.4.16.<flag>is restricted to be a string, or new keywords representingABIEncoderV2andSMTChecker.#1431
a62c857Thanks @OmarTawfik! - fix CST query matches to return an empty array for unmatched named captures, instead ofundefined.v1.2.1Compare Source
Patch Changes
#1377
f3b51beThanks @ggiraldez! - Bind untyped tuple deconstruction elements as references, not declarations#1335
6c3ad5dThanks @ggiraldez! - Top-levelConstantDefinitions now bind to their type and resolve extension functions called on them#1338
18be0bcThanks @ggiraldez! - Make try/catch parameters and vars in for loop initialization available in Yul#1339
f16e4b5Thanks @ggiraldez! - Fixes to the binding rules in Solidity:.lengthmember available in all static-size byte arraysmsg.senderis ofaddresstype (notpayable) until 0.5.0#1353
8e718ddThanks @ggiraldez! - Fixes to the binding rules in Solidity:bytetype have alengthmember until 0.8.0Foo.xin a method body ofFoobooltype to chain extension functions.selector)selectormember#1326
045179bThanks @ggiraldez! - Fixes to binding rules:TupleDeconstructionStatementso that their definiens is theTypedTupleMember/UntypedTupleMemberfor each variable declared.YulVariableDeclarationStatementso that their definiens is theYulIdentifierfor each variable declared.#1350
0594fe8Thanks @ggiraldez! - Fixes to bindings rules in Solidity:usingdirectives inside interfaces in Solidity < 0.7.1memorylocation specifier from types so they bind properlyvalue()andgas()legacy call options to allow chaining themnewexpressionsusingdirective with theglobalmodifier should impact the source unit's lexical scopetransfer()method works for non-payable addresses; this is a workaround for a Solidity quirk that makes it possible to doaddress(uint160(to)).transfer(amount)even after 0.5.0wrap()andunwrap()methods of a user value defined typemin()andmax()oftype()expressions for integer types to the integer type given in the expression operandmin()andmax()fortype()expressions onenumtypes should bind only after Solidity 0.8.8uint256by default; this allows correctly binding extension methods operating on literal valuesbytesis an array type and should bind thepush()andpop()methodsaddresstype on Solidity < 0.5.0thisin function methods and work as anaddresstypev1.2.0Compare Source
Minor Changes
56393d5Thanks @OmarTawfik! - add support for Solidity0.8.30Patch Changes
#1314
743d6b0Thanks @mjoerussell! - Adding missing YUL built in functions:codesize()codecopy(f, t, s)v1.1.0Compare Source
Minor Changes
#1288
2090ab8Thanks @OmarTawfik! - support Solidity0.8.29and Custom Storage Layouts:ContractDefinitionnodes will no longer have an optionalInheritanceSpecifierchild directly, but will hold a list ofContractSpecifierchildrenContractSpecifiernodes have eitherInheritanceSpecifierorStorageLayoutSpecifierchildren#1265
2312260Thanks @mjoerussell! - AddLanguageUtils::infer_language_versions(source_code) -> Version[]API, which will analyze version pragmas inside a source file, and return a list of supported language versions that they allow. This can be used to select a valid language version to use with the rest of Slang APIs. Please see the Choosing a Solidity Version guide for more information.Patch Changes
da1f863Thanks @ggiraldez! - Resolve arguments to inheritance specifiers and expressions in storage layout specifiers using the contract's parent scope.v1.0.0Compare Source
Major Changes
6de3e41Thanks @OmarTawfik! - release Slang v1 🚀🚀🚀v0.20.1Compare Source
Patch Changes
ed2cae9Thanks @OmarTawfik! - renameComparisonExpressiontoInequalityExpressionv0.20.0Compare Source
Minor Changes
#1203
a5c3b1aThanks @ggiraldez! - add separate contexts (ie. binding scopes) for Solidity and Yul built-ins#1257
9f5d8f0Thanks @OmarTawfik! - exportassertUserFileLocation()andassertBuiltInLocation()utilities from thebindingsmodule#1243
99d182fThanks @ggiraldez! - adddefinition.references()API to find all references that resolve to a definition.#1205
103b331Thanks @mjoerussell! - MakeEdge::labela required field instead of being optional.#1257
9f5d8f0Thanks @OmarTawfik! - update user guides with new binding graph and compilation APIs#1257
9f5d8f0Thanks @OmarTawfik! - exportassertNonterminalNode()andassertTerminalNode()utilities from thecstmodulePatch Changes
#1246
aea2dd0Thanks @OmarTawfik! - unreservejumpandjumpiyul keywords between0.6.0and0.8.0#1203
a5c3b1aThanks @ggiraldez! - enableaddress payablefrom 0.5.0 and removetransferbuilt-in from non-payableaddresses#1246
aea2dd0Thanks @OmarTawfik! - make sure assembly flags are only enabled starting from0.8.13#1246
aea2dd0Thanks @OmarTawfik! - enable yul'strueandfalsekeywords starting from0.6.2#1246
aea2dd0Thanks @OmarTawfik! - make suresuperandthiskeywords are unreserved before0.8.0.v0.19.0Compare Source
Minor Changes
#1156
3a82f06Thanks @OmarTawfik! - addnode.descendants()andcursor.descendants()APIs to allow iterating over all descendants of the current node in pre-order traversal.#1156
3a82f06Thanks @OmarTawfik! - fixnode.children()andparseOutput.errors()return types#1194
7a25d63Thanks @OmarTawfik! - splitparser/Parser.supportedVersions()into a newutils/LanguageFactsAPI, withallVersions(),earliestVersion(), andlatestVersion()methods.#1194
7a25d63Thanks @OmarTawfik! - expose theBingingGraphAPI to allow querying definitions/references between source files.#1156
3a82f06Thanks @OmarTawfik! - addcursor.ancestors()API to allow iterating over all ancestors of the current node, starting with the immediate parent, and moving upwards, ending with the root node.#1156
3a82f06Thanks @OmarTawfik! - addcursor.remainingNodes()API to allow iterating over all the remaining nodes in the current tree, moving in pre-order traversal, until the tree is completed.#1223
3e85a14Thanks @OmarTawfik! - splitParser.parse()API intoparse_file_contents()andparse_nonterminal().#1194
7a25d63Thanks @OmarTawfik! - add aCompilationBuilderAPI to incrementally load and resolve source files and their imports.#1223
3e85a14Thanks @OmarTawfik! - renameQuery.parse()toQuery.create(), and provide exactTextRangefor any errors it returns.#1172
6102886Thanks @beta-ziliani! - Improved error recovery, where leading trivia are always parsed and included before an erroneous terminal.#1223
3e85a14Thanks @OmarTawfik! - addTerminalKindExtensions.is_identifier()API to distinguish terminals like Solidity'sIdentifierand Yul'sYulIdentifier.#1187
6389361Thanks @beta-ziliani! - ChangeParseOutputandFile.treeto return aNonTerminalinstead of aNode.Patch Changes
#1134
cfc62f2Thanks @OmarTawfik! - removeYulPathComponentand just useYulIdentifierinstead.#1138
44a706fThanks @OmarTawfik! - addThisKeywordandSuperKeywordto the grammar, instead of parsing them as identifiers.#1134
cfc62f2Thanks @OmarTawfik! - unreserveAddressKeyword, and let it be used forMemberAccessExpression,StructMember, etc...#1154
7b9b478Thanks @beta-ziliani! - Adding support for deprecated keywordsjumpandjumpiConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.