Since prebuild-install is only used during the package install phase, it should be moved to the package.json's dev dependencies. Presently the version of prebuild-install set in this package winds up using an outdated version of ansi-regex which has a DOS vulnerability. Security scanners will pick this up as a vulnerability that would otherwise be ignored if it were properly tagged as a dev dependency instead of a dependency.
Path to vulnerability:
tree-sitter@0.20.1 > prebuild-install@6.1.4 > npmlog@4.1.2 > gauge@2.7.4 > strip-ansi@3.0.1 > ansi-regex@2.1.1
https://security.snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908