Will Lillis
c7c1614278
fix(xtask): trim EMSCRIPTEN_TAG arg to docker command in build-wasm
...
command
2025-04-16 18:06:48 -04:00
dependabot[bot]
d05e4ae7ff
build(deps): bump the cargo group across 1 directory with 8 updates
...
Bumps the cargo group with 8 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.16` | `1.2.17` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.46` | `4.5.47` |
| [git2](https://github.com/rust-lang/git2-rs ) | `0.20.0` | `0.20.1` |
| [log](https://github.com/rust-lang/log ) | `0.4.26` | `0.4.27` |
| [once_cell](https://github.com/matklad/once_cell ) | `1.21.0` | `1.21.1` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.18.0` | `3.19.1` |
| [widestring](https://github.com/starkat99/widestring-rs ) | `1.1.0` | `1.2.0` |
| [ureq](https://github.com/algesten/ureq ) | `3.0.8` | `3.0.10` |
Updates `cc` from 1.2.16 to 1.2.17
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.16...cc-v1.2.17 )
Updates `clap_complete` from 4.5.46 to 4.5.47
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.46...clap_complete-v4.5.47 )
Updates `git2` from 0.20.0 to 0.20.1
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.20.0...git2-0.20.1 )
Updates `log` from 0.4.26 to 0.4.27
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.26...0.4.27 )
Updates `once_cell` from 1.21.0 to 1.21.1
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.0...v1.21.1 )
Updates `tempfile` from 3.18.0 to 3.19.1
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.18.0...v3.19.1 )
Updates `widestring` from 1.1.0 to 1.2.0
- [Release notes](https://github.com/starkat99/widestring-rs/releases )
- [Changelog](https://github.com/VoidStarKat/widestring-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/starkat99/widestring-rs/compare/v1.1.0...v1.2.0 )
Updates `ureq` from 3.0.8 to 3.0.10
- [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md )
- [Commits](https://github.com/algesten/ureq/compare/3.0.8...3.0.10 )
---
updated-dependencies:
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo
- dependency-name: widestring
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo
- dependency-name: ureq
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 12:24:08 +01:00
dependabot[bot]
e08fe3b993
build(deps): bump the cargo group across 1 directory with 21 updates
...
Bumps the cargo group with 20 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.95` | `1.0.97` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.10` | `1.2.16` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.27` | `4.5.32` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.42` | `4.5.46` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.7.1` | `2.8.0` |
| [indoc](https://github.com/dtolnay/indoc ) | `2.0.5` | `2.0.6` |
| [log](https://github.com/rust-lang/log ) | `0.4.25` | `0.4.26` |
| [once_cell](https://github.com/matklad/once_cell ) | `1.20.2` | `1.21.0` |
| [rustc-hash](https://github.com/rust-lang/rustc-hash ) | `2.1.0` | `2.1.1` |
| [semver](https://github.com/dtolnay/semver ) | `1.0.25` | `1.0.26` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.217` | `1.0.219` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.137` | `1.0.140` |
| [smallbitvec](https://github.com/servo/smallbitvec ) | `2.5.3` | `2.6.0` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.15.0` | `3.18.0` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `2.0.11` | `2.0.12` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.19` | `0.8.20` |
| [unindent](https://github.com/dtolnay/indoc ) | `0.2.3` | `0.2.4` |
| [wasmparser](https://github.com/bytecodealliance/wasm-tools ) | `0.224.0` | `0.224.1` |
| [webbrowser](https://github.com/amodm/webbrowser-rs ) | `1.0.3` | `1.0.4` |
| [ureq](https://github.com/algesten/ureq ) | `3.0.0` | `3.0.8` |
Updates `anyhow` from 1.0.95 to 1.0.97
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.95...1.0.97 )
Updates `cc` from 1.2.10 to 1.2.16
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.10...cc-v1.2.16 )
Updates `clap` from 4.5.27 to 4.5.32
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.27...clap_complete-v4.5.32 )
Updates `clap_complete` from 4.5.42 to 4.5.46
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.42...clap_complete-v4.5.46 )
Updates `indexmap` from 2.7.1 to 2.8.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.7.1...2.8.0 )
Updates `indoc` from 2.0.5 to 2.0.6
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/2.0.5...2.0.6 )
Updates `log` from 0.4.25 to 0.4.26
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.25...0.4.26 )
Updates `once_cell` from 1.20.2 to 1.21.0
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.2...v1.21.0 )
Updates `rustc-hash` from 2.1.0 to 2.1.1
- [Changelog](https://github.com/rust-lang/rustc-hash/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/rustc-hash/compare/v2.1.0...v2.1.1 )
Updates `semver` from 1.0.25 to 1.0.26
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.25...1.0.26 )
Updates `serde` from 1.0.217 to 1.0.219
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.219 )
Updates `serde_derive` from 1.0.217 to 1.0.219
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.219 )
Updates `serde_json` from 1.0.137 to 1.0.140
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.137...v1.0.140 )
Updates `smallbitvec` from 2.5.3 to 2.6.0
- [Release notes](https://github.com/servo/smallbitvec/releases )
- [Commits](https://github.com/servo/smallbitvec/compare/v2.5.3...v2.6.0 )
Updates `tempfile` from 3.15.0 to 3.18.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.15.0...v3.18.0 )
Updates `thiserror` from 2.0.11 to 2.0.12
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.11...2.0.12 )
Updates `toml` from 0.8.19 to 0.8.20
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.19...toml-v0.8.20 )
Updates `unindent` from 0.2.3 to 0.2.4
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/0.2.3...0.2.4 )
Updates `wasmparser` from 0.224.0 to 0.224.1
- [Release notes](https://github.com/bytecodealliance/wasm-tools/releases )
- [Commits](https://github.com/bytecodealliance/wasm-tools/commits )
Updates `webbrowser` from 1.0.3 to 1.0.4
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v1.0.3...v1.0.4 )
Updates `ureq` from 3.0.0 to 3.0.8
- [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md )
- [Commits](https://github.com/algesten/ureq/compare/3.0.0...3.0.8 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo
- dependency-name: indoc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo
- dependency-name: rustc-hash
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: serde_derive
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: smallbitvec
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: unindent
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: wasmparser
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: ureq
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 16:43:49 +01:00
WillLillis
5985690d45
fix(xtask): error if new version supplied to bump-version is less than
...
or equal to current version
2025-03-14 09:37:25 +01:00
Max Brunsfeld
066fd77d39
Fix cases where error recovery could infinite loop ( #4257 )
...
* Rename corpus test functions to allow easy filtering by language
* Use usize for seed argument
* Avoid retaining useless stack versions when reductions merge
We found this problem when debugging an infinite loop that happened
during error recovery when using the Zig grammar. The large number of
unnecessary paused stack versions were preventing the correct recovery
strategy from being tried.
* Fix leaked lookahead token when reduction results in a merged stack
* Enable running PHP tests in CI
* Fix possible infinite loop during error recovery at EOF
* Account for external scanner state changes when detecting changed ranges in subtrees
2025-03-04 13:50:56 -08:00
Amaan Qureshi
a40265cbeb
refactor(web): rename tree-sitter.js to web-tree-sitter.js
...
This is not breaking for consumers of the web bindings, nor the
playground as both filenames will be kept in the .github.io repo
2025-02-11 22:56:50 -05:00
Amaan Qureshi
2cf18f5ac2
build: bump dependencies
2025-01-26 14:15:01 -05:00
Yuri Astrakhan
3e7721e554
chore: a few more minor lints
2025-01-23 00:10:16 -05:00
Amaan Qureshi
79244b5815
fix(web): correct builds for CJS
2025-01-21 12:36:15 -05:00
Amaan Qureshi
a4b20c1c56
feat: publish both CJS and ESM files
...
This way, users can pick whichever one works for their needs
2025-01-21 12:36:15 -05:00
Amaan Qureshi
be7716dfa7
feat(web)!: use the WASM module in the bindings, and not the other way around
...
Parser is no longer the default export, but you *must* call
`Parser.init()` before doing anything still
2025-01-21 12:36:15 -05:00
Amaan Qureshi
b1e39d2dba
fix(xtask): adapt check-wasm-exports to web changes
2025-01-21 12:36:15 -05:00
Amaan Qureshi
31ceb99603
feat: add and apply eslint config
2025-01-21 12:36:15 -05:00
Amaan Qureshi
2cae67892e
feat(web)!: rewrite the library in TypeScript
2025-01-21 12:36:15 -05:00
Will Lillis
f3259288b3
feat(xtask): add success message for wasm watchers
2025-01-20 23:28:10 -05:00
dependabot[bot]
a2f8daf38d
build(deps): bump the cargo group with 2 updates
...
Bumps the cargo group with 2 updates: [notify](https://github.com/notify-rs/notify ) and [notify-debouncer-full](https://github.com/notify-rs/notify ).
Updates `notify` from 7.0.0 to 8.0.0
- [Release notes](https://github.com/notify-rs/notify/releases )
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/notify-rs/notify/compare/notify-7.0.0...notify-8.0.0 )
Updates `notify-debouncer-full` from 0.4.0 to 0.5.0
- [Release notes](https://github.com/notify-rs/notify/releases )
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/notify-rs/notify/compare/debouncer-full-0.4.0...debouncer-full-0.5.0 )
---
updated-dependencies:
- dependency-name: notify
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: cargo
- dependency-name: notify-debouncer-full
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 01:30:21 -05:00
Amaan Qureshi
344a88c4fb
feat(lib)!: remove ts_node_child_containing_descendant
...
It was marked deprecated in 0.24
2025-01-12 22:11:30 -05:00
WillLillis
2c6f70cc57
feat(xtask): add --watch option for build-wasm and
...
`check-wasm-exports` xtask commands
2025-01-08 13:27:20 -05:00
Guilherme Soares
207ef9796e
fix(wasm): check docker presence without arguments
2025-01-08 13:27:02 -05:00
WillLillis
dcdd6ce2d2
feat(xtask): check wasm exports
2025-01-06 01:55:15 -05:00
Will Lillis
4f9869142f
fix(rust): adapt to a few new nightly lints
2024-12-28 01:17:04 -05:00
Max Brunsfeld
201b41cf11
feat: add 'reserved word' construct
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-23 03:06:32 -05:00
Amaan Qureshi
c132f1928f
fix(xtask): add emscription version in commit msg
2024-12-19 11:49:12 -05:00
Amaan Qureshi
1b1e99bf1a
feat: add xtask to bump emscripten-version
2024-12-19 08:00:51 -05:00
Amaan Qureshi
7d3dbc062d
build: bump deps
2024-12-16 01:22:58 -05:00
Riley Bruins
495fe2a6c5
feat: support querying missing nodes
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-14 14:57:36 -05:00
Amaan Qureshi
274e60a523
fix: clippy lints
2024-11-16 03:20:59 -05:00
crvdgc
15c2957993
fix(xtask): bring back language and example filter
2024-11-12 19:09:49 -05:00
ObserverOfTime
a59bc697e3
feat(xtask): let upgrade-wasmtime update Cargo.lock
2024-11-09 21:04:52 +01:00
Liu Yuxi
20aaabfd9c
fix(xtask): remove the test_flags arg if it's empty for cargo test
...
`cargo xtask test test_something` currently constructs `cargo test ''
test_something`, which errors out for `cargo test`. This fix removes
the `test_flags` string if it's empty.
2024-11-09 15:03:14 -05:00
Amaan Qureshi
c7d6fd7fa5
build: move `generate-wasm-exports-lists to xtask
2024-10-26 23:25:12 +00:00
Amaan Qureshi
c707f3ee9e
fix(xtask): correct header path
2024-10-26 17:02:00 +00:00
ObserverOfTime
1405b5555b
feat(xtask): add upgrade-wasmtime command
2024-10-11 18:49:14 -04:00
ObserverOfTime
9d2196cdbd
build(zig): add optional wasmtime dependency
...
And support compiling a shared library
2024-10-08 21:09:53 -04:00
Amaan Qureshi
dbe8bbf480
feat: move scripts to xtasks
2024-10-08 21:07:41 -04:00
Amaan Qureshi
cd81527b1b
build(xtask): ignore the language crate
2024-10-04 00:11:26 -04:00
Amaan Qureshi
c801594b85
build(xtask): only consider major and minor versions when validating the current version
2024-10-04 00:11:26 -04:00
Amaan Qureshi
f8f08210fc
build(xtask): bump cmake version in bump-version
2024-10-04 00:11:26 -04:00
Amaan Qureshi
5e5026aa73
fix(xtask): always bump every crate in tandem
2024-04-29 00:06:48 -04:00
Amaan Qureshi
c19f23f420
build(xtask): bump build.zig.zon version when bumping versions
2024-04-26 10:38:11 -04:00
Max Brunsfeld
50d0dfbee9
Always bump at least the patch version in bump xtask
...
As long as the source code has changed. Previously, the command would do
nothing if there weren't any conventional commits.
* Commit the Cargo.lock in the version bump commit.
* Simplify logic for deciding whether to bump minor or patch version.
2024-04-12 17:02:53 -07:00
Amaan Qureshi
b35efa8f33
style: format imports
2024-04-11 22:35:43 -04:00
Amaan Qureshi
5a4765ca01
style: clippy lints
2024-02-29 02:17:30 -05:00
Amaan Qureshi
4e2880407c
feat: add xtasks to assist with bumping crates
2024-02-25 13:40:03 -05:00