Skip to content

chore(deps-dev): bump tree-sitter-erlang from 0.0.0 to 0.17#1138

Merged
carlos-alm merged 12 commits into
mainfrom
dependabot/npm_and_yarn/tree-sitter-erlang-0.17
May 20, 2026
Merged

chore(deps-dev): bump tree-sitter-erlang from 0.0.0 to 0.17#1138
carlos-alm merged 12 commits into
mainfrom
dependabot/npm_and_yarn/tree-sitter-erlang-0.17

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 16, 2026

Bumps tree-sitter-erlang from 0.0.0 to 0.17.

Release notes

Sourced from tree-sitter-erlang's releases.

0.17

  • Convert Makefile post-processing from Ruby to Python3 and relax rustfmt check
  • Add :> (unchecked cast) operator to tree-sitter grammar
  • Fix precedence of andalso / orelse
  • Fix ?= precedence
  • Fix catch precedence for list cons
  • Use where to introduce SSR conditions

0.16

  • OTP 29 features support
    • multi-valued comprehensions EEP-78
    • native records EEP-79
    • make function application left associative

Release 0.15

  • Fix deps vulnerabilities
  • Expose highlights query in rust (@​wetneb) 0.14.0 (2025-04-08)
  • OTP 28 features support
    • based floating point literals EEP-75
    • nominal types EEP-69
    • zip generators EEP-73 0.13.0 (2025-03-11)

0.1.0

Add support for OTP 26 constructs

  • maybe
  • map comprehensions
Commits

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 show <dependency name> 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)

Bumps [tree-sitter-erlang](https://github.com/WhatsApp/tree-sitter-erlang) from 0.0.0 to 0.17.
- [Release notes](https://github.com/WhatsApp/tree-sitter-erlang/releases)
- [Commits](https://github.com/WhatsApp/tree-sitter-erlang/commits/0.17)

---
updated-dependencies:
- dependency-name: tree-sitter-erlang
  dependency-version: '0.17'
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 16, 2026
@carlos-alm
Copy link
Copy Markdown
Contributor

@greptileai

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 17, 2026

Greptile Summary

This is a routine Dependabot bump of tree-sitter-erlang from 0.0.0 (a pinned git SHA) to 0.17, bringing Erlang grammar improvements including OTP 26–29 feature support and precedence fixes.

  • The upstream package migrated from nan to node-addon-api + node-gyp-build, moving to the ABI-stable N-API interface; a nested node-addon-api@7.1.1 is installed for this package since its ^7.1.0 range is incompatible with the root's 8.5.0.
  • tree-sitter-cli (scoped to tree-sitter-erlang) bumps from 0.20.80.23.2, and a new optional peer dependency on tree-sitter: ^0.22.4 is introduced (consistent with other grammar packages in this repo).

Confidence Score: 4/5

Safe to merge once the previously identified libc discriminator issue in the Linux optional packages is resolved.

The change is limited to a dev dependency (an Erlang grammar parser), and the lock-file diff is generated by Dependabot. The open question is the libc discriminator removal flagged in the prior review — if that side-effect of the lock-file regeneration hasn't been addressed, it can cause the wrong native binary to load on Linux hosts.

package-lock.json — specifically the @optave/codegraph-linux-* optional package entries where the libc discriminator was removed in a previous regeneration.

Important Files Changed

Filename Overview
package-lock.json Bumps tree-sitter-erlang from 0.0.0 to 0.17; replaces nan with node-addon-api+node-gyp-build, upgrades nested tree-sitter-cli from 0.20.8 to 0.23.2, and adds a tree-sitter ^0.22.4 optional peer dependency.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[tree-sitter-erlang 0.0.0 → 0.17] --> B[Dropped: nan ^2.14.1]
    A --> C[Added: node-addon-api ^7.1.0]
    A --> D[Added: node-gyp-build ^4.8.0]
    A --> E[Upgraded: tree-sitter-cli 0.20.8 → 0.23.2]
    A --> F[New peer dep: tree-sitter ^0.22.4 optional]
    C --> G{Root has node-addon-api 8.5.0}
    G -- incompatible major --> H[Nested install: node-addon-api 7.1.1 under tree-sitter-erlang/node_modules]
    G -- satisfies root consumers --> I[Root node-addon-api 8.5.0 unchanged]
    D --> J[node-gyp-build 4.8.4 already in root node_modules]
Loading

Reviews (2): Last reviewed commit: "Merge branch 'main' into dependabot/npm_..." | Re-trigger Greptile

@carlos-alm
Copy link
Copy Markdown
Contributor

@greptile-apps Re: libc discriminator on @optave/codegraph-linux-* packages — verified this is pre-existing on main, not introduced by this PR:

$ git show origin/main:package-lock.json | grep -c '"libc":'
0
$ grep -c '"libc":' package-lock.json  # PR branch
0

The diff between this branch and main only touches the tree-sitter-erlang block (lines 7414–7454). The Linux optional entries are byte-identical.

The underlying issue (missing libc on the lockfile entries) is real and worth fixing, but it is out of scope for a one-line devDep bump. Tracking it in #1160 for a focused fix.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 19, 2026

Fair enough — the evidence is clear. Since the Linux optional entries are byte-identical between main and this branch, the libc concern is fully pre-existing and out of scope here. #1160 is the right place to address it.

This PR looks good to merge.

@carlos-alm
Copy link
Copy Markdown
Contributor

@greptileai

@carlos-alm carlos-alm merged commit 05630b2 into main May 20, 2026
21 checks passed
@carlos-alm carlos-alm deleted the dependabot/npm_and_yarn/tree-sitter-erlang-0.17 branch May 20, 2026 02:54
@github-actions github-actions Bot locked and limited conversation to collaborators May 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant