Skip to content

[Snyk] Upgrade web-tree-sitter from 0.22.6 to 0.23.0 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OATEF4313
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade web-tree-sitter from 0.22.6 to 0.23.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released on 24 days ago.

Release notes
Package name: web-tree-sitter
  • 0.23.0 - 2024-08-26

    [0.23.0] - 2024-08-26

    Breaking

    • Introduce tree-sitter-language crate for grammar crates to depend on (#3069)
    • Revert interning of a sequence or choice of a single rule (#3548)
    • bindings: Use capsules in python (#3384)
    • dsl: Support other JS runtimes (#3355)

    Features

    • Add fuzz subcommand (#3385)
    • Allow external scanners to use the logger (#3204)
    • bindings: Add query constants to python
    • bindings: Add node, python, swift tests (#3178)
    • bindings: Update npm scripts (#3210)
    • cli: Bump unicode data to v15.1.0
    • cli: Add debug build flag (#3279)
    • cli: Attach helpful context when grammar.json cannot be found (#3405)
    • cli: Add --show-fields flag to test command (#3502)
    • lib: Add ts_query_end_byte_for_pattern (#3451)
    • lib: Support no_std
    • zig: Update outdated path syntax (#3383)

    Bug Fixes

    • Always reset to the first language when iterating over language attributes (#3375)
    • Better error when a supertype rule is invalid (#3400)
    • Intern a sequence or choice of a single element the same as the element itself
    • Do not "absorb" rules that consist of a single terminal if the rule is hidden (#2577)
    • bindings: Update go bindings (#3544)
    • cli: Installation via authenticated proxy (#3414)
    • cli: Dedup preceding_auxiliary_symbols (#3550)
    • dsl: Improve error message when a rule function returns undefined (#3452)
    • generate: Rename cargo.toml template (#3532)
    • go: Update parser name in binding files, add to docs (#3547)
    • lib: A null clock must have tv_nsec be 0 as well (#3372)
    • lib: Restrict pattern_map optimization when a wildcard step has an immediate first child (#3440)
    • lib: An empty root node should not precede an empty range (#3450)
    • lib: Fix api header C++ interop (#3534)
    • make: Fail properly on Windows (#3418)
    • rust: Fetch CARGO_MANIFEST_DIR at runtime in build script (#3352)
    • rust: Fix new clippy warnings (#3491)
    • test: Multi-grammar corpus tests are now in the repo root (#3342)
    • wasm: Update test

    Performance

    • Hoist out common subexpressions in satisfies_text_predicates (#3397)

    Documentation

    • Update changelog
    • Remove duplicate pr # in changelog
    • Add note for bullet
    • Fix syntax highlighting unit testing example (#3434)
    • Add tsserver annotation to example (#3460)
    • Fix tree cursor documentation (#3324)
    • Document rust library features (#3395)
    • Clean up binding & parser lists (#3443)

    Refactor

    • Remove ansi_term dependency (#3387)
    • Remove difference dependency (#3388)
    • scripts: Clean up bash scripts (#3231)

    Testing

    • Modernize scanner files (#3340)

    Build System and CI

    • deps: bump wasmtime, cc, and wasmparser (#3529
    • bindings: Use language version in soname (#3308)
    • lib: Include the minor in the soname
    • loader: Make dependencies optional (#1638)
    • swift: Declare header search path (#3474)
    • wasm: Don't minify JS (#3380)
    • wasm: Bump emscripten to 3.1.64 (#3497)
    • wasm: Support big endian machines (#3492)
    • zig: Git ignore updated Zig cache directory (#3408)

    Other

    • Swap sprintf() for snprintf() (#3430)
    • Add .build to gitignore (#3498)
    • Reset language when resetting wasm store (#3495)
    • Clone wasm store engine (#3542)
    • bindings: Fix indent & line endings (#3284)
  • 0.22.6 - 2024-05-05

    [0.22.6] — 2024-05-05

    Features

    • Improve handling of serialization buffer overflows (#3318)
    • Reverse iteration through node parents (#3214)
    • cli: Support NO_COLOR (#3299)
    • cli: Add test listing and allow users to parse a specific test number (#3067)
    • grammar: Add "inherits" field if available (#3295)

    Bug Fixes

    • Correctly load field data from wasm languages
    • Improve error message when the tree-sitter field is malformed
    • Don't error out on package.json lookup errors if --no-bindings is passed (#3323)
    • cli: Keep default cc flags in build
    • cli: Properly account for multi-grammar repos when using docker to build a wasm parser (#3337)
    • generate: Don't check arbitrarily named dirs
    • generate: Take AsRef<Path> for the path parameter to avoid clones (#3322)
    • highlight: Correct signature of ts_highlighter_add_language
    • lib: Do not return field names for extras (#3330)
    • lib: Advance the lookahead end byte by 4 when there's an invalid code point (#3305)
    • rust: Update README example (#3307)
    • rust: Use unix + wasi cfg instead of not windows for fd (#3304)
    • test: Allow newlines in between test name and attribute
    • wasm: Correct childrenFromFieldXXX method signatures (#3301)
    • xtask: Always bump every crate in tandem
    • zig: Make usable as a zig dependency (#3315)

    Documentation

    • Mention build command variables
    • Swap \s for \\s in query example
    • highlight: Typo (#3290)

    Refactor

    • tests: Migrate remaining grammar.json tests to grammar.js (#3325)

    Build System and CI

    • Add nightly rustfmt to workflow for linting (#3333)
    • Fix address sanitizer step (#3188)
    • deps: Bump cc from 1.0.92 to 1.0.94 in the cargo group (#3298)
    • deps: Bump the cargo group with 6 updates (#3313)
    • xtask: Bump build.zig.zon version when bumping versions
from web-tree-sitter GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade web-tree-sitter from 0.22.6 to 0.23.0.

See this package in npm:
web-tree-sitter

See this project in Snyk:
https://app.snyk.io/org/oatef4313-5ArwHids2AjpqTSeuy5d8u/project/0512f7c8-5bd1-42de-a61f-3872ec747f26?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants