securesauce / precli

Precaution CLI
https://precli.readthedocs.io/
Other
7 stars 2 forks source link

Bump tree-sitter from 0.21.3 to 0.22.3 #466

Open dependabot[bot] opened 1 month ago

dependabot[bot] commented 1 month ago

Bumps tree-sitter from 0.21.3 to 0.22.3.

Release notes

Sourced from tree-sitter's releases.

v0.22.3

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.22.2...v0.22.3

v0.22.2

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.22.1...v0.22.2

v0.22.1

Full Changelog: https://github.com/tree-sitter/py-tree-sitter/compare/v0.22.0...v0.22.1

v0.22.0

Breaking changes are marked with !.

Additions:

  • LANGUAGE_VERSION
  • MIN_COMPATIBLE_LANGUAGE_VERSION
  • Point(row, column)
  • Language.__repr__()
  • Language.__eq__(): checks ptr
  • Language.__int__(): returns ptr
  • Language.__index__(): returns ptr
  • Language.__hash__(): returns ptr
  • Node.__str__(): returns the S-expression
  • TreeCursor.goto_first_child_for_point(point)
  • TreeCursor.__copy__(): returns copy()
  • Query(language, source)
  • Parser(language, included_ranges, timeout_micros)
  • Parser.language (getter + setter)
  • Parser.included_ranges (getter + setter)
  • Parser.timeout_micros (getter + setter)
  • Range.__hash__()

Deprecations:

  • Node.sexp(): use str()
  • Tree.text: use root_node.text
  • TreeCursor.goto_first_child_for_point(row, column): use goto_first_child_for_point(point)
  • LookaheadIterator.reset(language, state): use reset_state(state, language)
  • Parser.set_language(language): use Parser(language) or language setter
  • Parser.set_included_ranges(ranges): use included_ranges setter
  • Parser.set_timeout_micros(timeout): use timeout_micros setter

Removals:

  • Language(path, name) !
  • Language.build_library(...) !
  • Language.name !
  • Language.lib
  • Language.language_id: use int()

... (truncated)

Commits
  • 2c0a6ee chore: release 0.22.3
  • 8042a8f refactor: remove unnecessary header files
  • d694939 fix: more 32bit issues
  • 85e4948 fix(language): use uintptr_t
  • a82d764 build: include header files in sdist
  • 79df26e chore: release 0.22.1
  • 0feea2e fix(range): validate input
  • 9cc8445 fix(node): use full count in field_name_for_child
  • 839d783 refactor(node): don't expose internal function
  • 54f923a fix(tree): return None if node is null
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)